/* TIV Article Outro — appended to single posts */

/* --- Affiliate Disclosure (v1.6) --- */
.tiv-affiliate-disclosure {
    background: #faf6f3;
    border-left: 3px solid #e59875;
    padding: 0.85rem 1rem;
    margin: 1.25rem 0 1.75rem;
    font-size: 0.88em;
    line-height: 1.55;
    color: #555;
    border-radius: 2px;
}

.tiv-affiliate-disclosure strong {
    color: #2d5e3e;
    font-weight: 600;
}

.tiv-outro {
    max-width: 720px;
    margin: 3rem auto 1rem;
    text-align: center;
}

.tiv-outro-divider {
    border: 0;
    border-top: 1px solid #eee;
    margin: 2.5rem 0;
}

.tiv-outro-title {
    color: #e59875;
    margin: 1.5rem 0 1rem;
}

.tiv-outro p {
    font-size: 0.95em;
    line-height: 1.6;
    margin: 0.75rem 0;
}

.tiv-outro-guests {
    font-size: 0.92em !important;
    color: #555;
    max-width: 600px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.tiv-outro-guests a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: #e59875;
    text-underline-offset: 2px;
}
.tiv-outro-guests a:hover {
    color: #e59875;
}

.tiv-outro-trust {
    font-size: 0.82em !important;
    color: #888;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    margin-top: 1.25rem !important;
}

.tiv-outro-partners-line {
    font-size: 0.92em !important;
    color: #555;
    margin-top: 1.5rem !important;
}
.tiv-outro-partners-line a {
    color: #e59875;
    text-decoration: none;
}
.tiv-outro-partners-line a:hover {
    text-decoration: underline;
}

.tiv-outro-buttons {
    display: flex !important;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center !important;
    align-items: center;
    margin: 1rem auto 1.5rem !important;
    text-align: center;
    width: 100%;
}

.tiv-outro-btn {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    background: #e59875;
    color: #fff !important;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: background 0.15s;
}
.tiv-outro-btn:hover,
.tiv-outro-btn:focus {
    background: #c97e5c;
}

.tiv-outro-video {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 1.5rem auto;
    aspect-ratio: 16 / 9;
}
.tiv-outro-video iframe {
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 6px;
}

.tiv-outro-bmc {
    margin: 1rem auto 1.5rem;
    text-align: center !important;
    display: flex;
    justify-content: center;
}
.tiv-outro-bmc-btn {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    background: #f8decd;
    color: #000 !important;
    border: 1px solid #000;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

.tiv-outro-thanks {
    font-size: 1.05em;
}

.tiv-outro-socials {
    list-style: none;
    padding: 0;
    margin: 1rem 0 1.5rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem 0.75rem;
}
.tiv-outro-socials li {
    margin: 0;
}
.tiv-outro-socials a {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border: 1px solid #e5e5e5;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.85em;
    color: #555;
    transition: border-color 0.15s, color 0.15s;
}
.tiv-outro-socials a:hover,
.tiv-outro-socials a:focus {
    border-color: #e59875;
    color: #e59875;
}

/* Author box */
.tiv-author-box {
    display: flex;
    gap: 1.25rem;
    max-width: 720px;
    margin: 2rem auto;
    padding: 1.5rem;
    background: #faf6f3;
    border-radius: 10px;
    align-items: flex-start;
}
.tiv-author-avatar {
    border-radius: 50%;
    flex-shrink: 0;
    width: 96px;
    height: 96px;
}
.tiv-author-content {
    flex: 1;
    min-width: 0;
}
.tiv-author-name {
    margin: 0 0 0.5rem;
    color: #e59875;
}
.tiv-author-bio {
    font-size: 0.92em;
    line-height: 1.55;
    margin: 0 0 0.6rem;
}
.tiv-author-link {
    display: inline-block;
    color: #e59875;
    text-decoration: none;
    font-size: 0.88em;
    font-weight: 500;
}
.tiv-author-link:hover,
.tiv-author-link:focus {
    text-decoration: underline;
}

/* Inline ads injected into the_content */
.tiv-inline-ad {
    margin: 2rem 0;
    text-align: center;
}
.tiv-inline-ad:empty {
    display: none;
}

/* Mobile */
@media (max-width: 600px) {
    .tiv-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .tiv-author-content {
        text-align: center;
    }
    .tiv-outro-buttons {
        flex-direction: column;
        align-items: center !important;
    }
    .tiv-outro-btn {
        width: 100%;
        max-width: 280px;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
