/* Página de post em largura total. */

.faf-custom-single {
    margin: 0;
    background: #fff;
    color: var(--faf-ink);
}

.faf-single-page {
    padding: 42px 0 86px;
}

.faf-single-article {
    width: 100%;
}

.faf-single-header {
    padding-top: 10px;
    padding-bottom: 30px;
}

.faf-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 28px;
    color: #777;
    font-size: 12px;
}

.faf-breadcrumb a:hover {
    color: var(--faf-accent);
}

.faf-single-title {
    max-width: 1180px;
    margin: 15px 0 18px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(42px, 5.2vw, 76px);
    font-weight: 800;
    line-height: 1.01;
    letter-spacing: -.045em;
    text-wrap: balance;
}

.faf-single-deck {
    max-width: 1080px;
    margin: 0 0 26px;
    color: #5f5f5f;
    font-size: clamp(18px, 1.7vw, 24px);
    line-height: 1.5;
}

.faf-single-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px 34px;
    padding-top: 20px;
    border-top: 1px solid var(--faf-line);
}

.faf-single-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.faf-single-author img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.faf-single-author div,
.faf-single-date {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.faf-single-author span,
.faf-single-date span {
    color: #898989;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.faf-single-author strong,
.faf-single-date time {
    color: #222;
    font-size: 13px;
    font-weight: 700;
}

.faf-single-hero {
    margin-top: 6px;
    margin-bottom: 42px;
}

.faf-single-hero-image {
    width: 100%;
    max-height: 760px;
    border-radius: var(--faf-radius);
    object-fit: cover;
}

.faf-single-hero figcaption {
    margin-top: 9px;
    color: #777;
    font-size: 11px;
    line-height: 1.5;
}

.faf-single-layout {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 38px;
    align-items: start;
}

.faf-share-rail {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.faf-share-rail > span {
    margin-bottom: 3px;
    color: #777;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.faf-share-rail a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid var(--faf-line);
    border-radius: 2px;
    background: #fff;
    font-size: 11px;
    font-weight: 800;
    transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.faf-share-rail a:hover {
    border-color: #111;
    background: #111;
    color: #fff;
}

.faf-single-main {
    min-width: 0;
    width: 100%;
}

.faf-single-content {
    width: 100%;
    max-width: none;
    color: #222;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 1.55vw, 21px);
    line-height: 1.82;
}

.faf-single-content > *:first-child {
    margin-top: 0;
}

.faf-single-content p,
.faf-single-content ul,
.faf-single-content ol,
.faf-single-content blockquote,
.faf-single-content table,
.faf-single-content figure,
.faf-single-content .wp-block-group,
.faf-single-content .wp-block-columns,
.faf-single-content .wp-block-cover,
.faf-single-content .wp-block-embed {
    max-width: none;
}

.faf-single-content p {
    margin: 0 0 1.45em;
}

.faf-single-content h2,
.faf-single-content h3,
.faf-single-content h4 {
    margin: 1.55em 0 .65em;
    color: #111;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.18;
    letter-spacing: -.025em;
}

.faf-single-content h2 {
    font-size: clamp(29px, 3vw, 43px);
}

.faf-single-content h3 {
    font-size: clamp(24px, 2.4vw, 34px);
}

.faf-single-content a {
    color: var(--faf-accent);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.faf-single-content img,
.faf-single-content video,
.faf-single-content iframe {
    max-width: 100%;
}

.faf-single-content figure,
.faf-single-content .wp-block-image {
    margin: 2em 0;
}

.faf-single-content figure img,
.faf-single-content .wp-block-image img {
    width: 100%;
    height: auto;
}

.faf-single-content figcaption {
    color: #777;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
    line-height: 1.5;
}

.faf-single-content blockquote {
    margin: 2em 0;
    padding: 10px 0 10px 28px;
    border-left: 5px solid var(--faf-accent);
    color: #333;
    font-size: 1.2em;
    font-style: italic;
}

.faf-single-content ul,
.faf-single-content ol {
    margin: 0 0 1.5em;
    padding-left: 1.25em;
}

.faf-single-content table {
    width: 100%;
    margin: 2em 0;
    border-collapse: collapse;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 14px;
}

.faf-single-content th,
.faf-single-content td {
    padding: 12px;
    border: 1px solid var(--faf-line);
    text-align: left;
}

.faf-single-content .alignwide,
.faf-single-content .alignfull {
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
}

.faf-page-links,
.faf-post-tags {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 36px;
    padding-top: 22px;
    border-top: 1px solid var(--faf-line);
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 12px;
}

.faf-post-tags a {
    display: inline-flex;
    padding: 7px 10px;
    border: 1px solid var(--faf-line);
    border-radius: 2px;
}

.faf-post-tags a:hover {
    border-color: var(--faf-accent);
    color: var(--faf-accent);
}

.faf-post-navigation {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid var(--faf-line);
}

.faf-post-navigation > div:last-child {
    text-align: right;
}

.faf-post-navigation span {
    display: block;
    margin-bottom: 7px;
    color: #888;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .075em;
    text-transform: uppercase;
}

.faf-post-navigation a {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.faf-post-navigation a:hover {
    color: var(--faf-accent);
}

.faf-related {
    margin-top: 76px;
    padding-top: 44px;
    border-top: 1px solid var(--faf-line);
}

.faf-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.faf-related-image {
    display: block;
    aspect-ratio: 1.5 / 1;
    overflow: hidden;
    border-radius: var(--faf-radius);
    background: #171717;
}

.faf-related-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.faf-related-card:hover img {
    transform: scale(1.035);
}

.faf-related-card .faf-category {
    min-height: auto;
    margin-top: 14px;
    padding: 0;
    background: transparent;
    color: var(--faf-accent) !important;
}

.faf-related-card h3 {
    margin: 7px 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 22px;
    line-height: 1.18;
}

.faf-related-card time {
    color: #888;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.faf-comments {
    margin-top: 58px;
    padding-top: 44px;
    border-top: 1px solid var(--faf-line);
}

@media (max-width: 900px) {
    .faf-single-layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .faf-share-rail {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
    }

    .faf-share-rail > span {
        width: 100%;
    }

    .faf-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .faf-single-page {
        padding: 22px 0 58px;
    }

    .faf-single-header {
        padding-bottom: 22px;
    }

    .faf-breadcrumb {
        margin-bottom: 20px;
        font-size: 11px;
    }

    .faf-single-title {
        margin-top: 12px;
        font-size: clamp(34px, 10vw, 48px);
        line-height: 1.04;
    }

    .faf-single-deck {
        font-size: 18px;
    }

    .faf-single-meta {
        align-items: flex-start;
        gap: 16px 22px;
    }

    .faf-single-hero {
        margin-bottom: 28px;
    }

    .faf-single-hero-image {
        max-height: none;
        border-radius: 0;
    }

    .faf-single-content {
        font-size: 18px;
        line-height: 1.75;
    }

    .faf-post-navigation {
        grid-template-columns: 1fr;
    }

    .faf-post-navigation > div:last-child {
        text-align: left;
    }

    .faf-related {
        margin-top: 56px;
    }

    .faf-related-grid {
        grid-template-columns: 1fr;
    }
}


/* ==========================================================
 * v5 — correção definitiva da página de post em largura ampla.
 * As regras abaixo têm especificidade maior para neutralizar
 * limites de largura herdados do Foxiz principal.
 * ========================================================== */
body.faf-custom-single,
body.faf-custom-single #page,
body.faf-custom-single .site,
body.faf-custom-single .site-wrap,
body.faf-custom-single .main-site-outer,
body.faf-custom-single .site-content {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.faf-custom-single .faf-single-page {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding-top: 34px;
}

body.faf-custom-single .faf-single-page .faf-container {
    width: calc(100% - 48px) !important;
    max-width: 1560px !important;
    margin-right: auto !important;
    margin-left: auto !important;
}

body.faf-custom-single .faf-single-header {
    width: calc(100% - 48px) !important;
    max-width: 1560px !important;
}

body.faf-custom-single .faf-single-title {
    width: 100% !important;
    max-width: none !important;
    font-size: clamp(38px, 4.1vw, 64px);
    line-height: 1.03;
    letter-spacing: -.035em;
}

body.faf-custom-single .faf-single-deck {
    width: 100% !important;
    max-width: 1280px !important;
}

body.faf-custom-single .faf-single-hero {
    width: calc(100% - 48px) !important;
    max-width: 1560px !important;
}

body.faf-custom-single .faf-single-hero-image {
    width: 100% !important;
    max-width: none !important;
    max-height: 860px;
}

body.faf-custom-single .faf-single-layout {
    width: calc(100% - 48px) !important;
    max-width: 1560px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
}

body.faf-custom-single .faf-share-rail {
    position: static !important;
    width: 100%;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--faf-line);
}

body.faf-custom-single .faf-share-rail > span {
    width: auto;
    margin: 0 5px 0 0;
}

body.faf-custom-single .faf-share-rail a {
    min-height: 36px;
}

body.faf-custom-single .faf-single-main,
body.faf-custom-single .faf-single-content,
body.faf-custom-single .entry-content {
    width: 100% !important;
    max-width: none !important;
    margin-right: 0 !important;
    margin-left: 0 !important;
}

body.faf-custom-single .faf-single-content > p,
body.faf-custom-single .faf-single-content > ul,
body.faf-custom-single .faf-single-content > ol,
body.faf-custom-single .faf-single-content > blockquote,
body.faf-custom-single .faf-single-content > h2,
body.faf-custom-single .faf-single-content > h3,
body.faf-custom-single .faf-single-content > h4 {
    width: 100% !important;
    max-width: none !important;
}

/* Evita que o menu quebre em três linhas em notebooks. */
@media (min-width: 901px) and (max-width: 1220px) {
    body.faf-custom-single .faf-primary-nav .faf-menu,
    body.faf-custom-single .faf-primary-nav > ul {
        gap: 14px;
    }

    body.faf-custom-single .faf-primary-nav a {
        font-size: 11px;
        letter-spacing: .025em;
        white-space: nowrap;
    }
}

@media (max-width: 680px) {
    body.faf-custom-single .faf-single-page .faf-container,
    body.faf-custom-single .faf-single-header,
    body.faf-custom-single .faf-single-hero,
    body.faf-custom-single .faf-single-layout {
        width: calc(100% - 28px) !important;
    }

    body.faf-custom-single .faf-single-title {
        font-size: clamp(32px, 10vw, 46px);
    }
}
