/*
Theme Name: Apocrifa Magazine Test
Description: Isolated GeneratePress child-theme test for the Apocrifa magazine article-cover layout.
Author: Antiquity & Absurdity Literary Society
Template: generatepress
Version: 1.0.8-test
Text Domain: apocrifa-child
*/

/* GeneratePress loads this stylesheet once, after its own styles.
   No imports, PHP overrides, duplicate parent styles or !important rules.
   Palette: Appearance > Customize > Colors > Global Colors.
   Typography: Appearance > Customize > Typography.
*/

/* Header/navigation/footer rules not provided by native layout controls. */
.site-header,
.main-navigation {
    border-bottom: 2px solid var(--apocrifa-gold);
}
.site-footer {
    border-top: 2px solid var(--apocrifa-gold);
}

/* Active-item weight/underline are configured in native Typography.
   current-menu-parent/current-post-parent cover single posts: the menu item of the
   post category must look active too (bold AND underlined), not just bold. */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a,
.main-navigation .current-menu-parent > a,
.main-navigation .current-post-parent > a,
.main-navigation .current-post-ancestor > a {
    text-decoration: underline;
    text-underline-offset: 5px;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--apocrifa-gold);
}

/* The Polylang switcher is a menu item too: never show it as the active page. */
.main-navigation .pll-parent-menu-item > a {
    text-decoration: none;
}

/* Blockquote decoration, scoped to article/page content. */
.entry-content blockquote {
    background: var(--apocrifa-quote-background);
    border-left: 4px solid var(--apocrifa-ink);
    color: var(--apocrifa-quote-text);
    padding: 15px 22px;
    margin: 22px 0;
}

/* Search-only appearance: native Forms controls would also change Contact. */
.search-form .search-field {
    background: var(--apocrifa-night-deep);
    border: 1px solid var(--apocrifa-search-border);
    color: var(--apocrifa-search-text);
    border-radius: 12px;
    padding: 6px 12px;
}

/* Recent-post block only; do not recolor links in unrelated widgets. */
.wp-block-latest-posts {
    list-style: none;
    margin: 0;
}
.wp-block-latest-posts li {
    padding: 9px 0;
    border-bottom: 1px dotted var(--apocrifa-list-border);
}
.wp-block-latest-posts a {
    color: var(--apocrifa-list-text);
}
.wp-block-latest-posts a:hover {
    color: var(--apocrifa-list-hover);
}
.wp-block-latest-posts__post-date {
    display: block;
    color: var(--apocrifa-list-date);
    margin-top: 3px;
}

/* Keep wide comparison tables inside the mobile article column. */
@media (max-width: 768px) {
    .entry-content table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }
}

/* Reference layout: native settings control fonts, colors, padding,
   thumbnail dimensions, excerpt length and sidebar width. */
:is(.blog, .archive) .site-main article > .inside-article {
    border-radius: 14px;
    box-shadow: 0 6px 20px rgb(0 0 0 / 6%);
}
.sidebar .widget {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgb(0 0 0 / 6%);
}
:is(.blog, .archive) .entry-summary .read-more-container {
    margin-top: 18px;
    text-align: right;
}
:is(.blog, .archive) .entry-summary .read-more {
    padding: 8px 13px;
    border-radius: 7px;
}
/* Links are dark blue with no underline, so the underline returns on hover
   to keep them recognisable inside dark text. */
.entry-content a:hover,
.entry-summary a:hover,
.page-content a:hover,
.entry-meta a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* The sidebar field must fit the longer oracle placeholder. */
.sidebar .wp-block-search__input {
    font-size: 13px;
    padding: 7px 9px;
}
.sidebar .wp-block-search__button {
    padding: 6px 14px;
}

/* Light relief on buttons: no native box-shadow control. */
button,
input[type="submit"],
.button,
a.button,
.wp-block-search__button,
.read-more {
    box-shadow: 0 2px 5px rgb(7 22 32 / 28%);
}
button:hover,
input[type="submit"]:hover,
.button:hover,
a.button:hover,
.wp-block-search__button:hover,
.read-more:hover {
    box-shadow: 0 1px 3px rgb(7 22 32 / 34%);
}
.sidebar .wp-block-latest-posts li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}
/* Listing cards are arranged by the magazine grid rules at the end of this file. */

/* Date and category on one line under the title: no native control for this.
   GeneratePress hides meta icons inside the entry header, so re-enable them here. */
.entry-header .entry-meta .gp-icon {
    display: inline-flex;
    margin-right: 0;
}
.entry-header .entry-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 10px;
    margin-top: 7px;
}
.entry-header .entry-meta .posted-on,
.entry-header .entry-meta .cat-links {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
}
.entry-header .entry-meta .icon-date svg {
    display: block;
    width: 1.25em;
    height: 1.25em;
    color: inherit;
    flex: 0 0 auto;
    transform: translateY(-2px);
}
.entry-header .entry-meta .cat-prefix {
    text-transform: lowercase;
    letter-spacing: 0;
    opacity: 0.8;
}

/* ---- Language switcher inside the header, right of the site title ---- */
.inside-header {
    position: relative;
}
.apocrifa-topbar__inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
}
.apocrifa-lang {
    position: relative;
}
.apocrifa-lang__current {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 8px 4px;
    color: #f4efe4;
    cursor: pointer;
    list-style: none;
    font-size: 15px;
    letter-spacing: 0.05em;
    line-height: 1;
}
.apocrifa-lang__current::-webkit-details-marker {
    display: none;
}
.apocrifa-lang__globe {
    color: var(--apocrifa-gold);
}
.apocrifa-lang__code {
    font-weight: 700;
}
.apocrifa-lang__caret {
    font-size: 11px;
    color: var(--apocrifa-logo-tone);
}
.apocrifa-lang:hover .apocrifa-lang__current,
.apocrifa-lang[open] .apocrifa-lang__current {
    color: var(--apocrifa-gold);
}
.apocrifa-lang__list {
    position: absolute;
    right: 0;
    top: 100%;
    z-index: 120;
    margin: 0;
    padding: 5px 0;
    min-width: 205px;
    list-style: none;
    font-size: 15px;
    background: #f4efe4;
    border: 1px solid #d9d2c2;
    border-radius: 3px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}
.apocrifa-lang__item a {
    display: flex;
    gap: 12px;
    padding: 8px 16px;
    color: #2a2f35;
    text-decoration: none;
}
.apocrifa-lang__item a:hover,
.apocrifa-lang__item a:focus {
    background: rgba(201, 162, 75, 0.18);
    color: #11323e;
}
.apocrifa-lang__item.is-current a {
    background: rgba(201, 162, 75, 0.18);
}
.apocrifa-lang__abbr {
    min-width: 28px;
    font-weight: 700;
    color: #163a5f;
}
/* On phones the branding stacks: keep the switcher pinned top right. */
@media (max-width: 768px) {
    .apocrifa-topbar__inner {
        position: absolute;
        top: 8px;
        right: 10px;
        margin: 0;
    }
    .site-branding-container {
        padding-right: 54px;
    }
}

/* ---- Indicator bar under the post title ---- */
.apocrifa-ind {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 26px;
    margin: 6px 0 0;
    padding: 8px 0;
    clear: both;
    border-top: 1px solid #d9d2c2;
    border-bottom: 1px solid #d9d2c2;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
.apocrifa-ind__item {
    display: inline-flex;
    flex-direction: column;
    justify-content: flex-start;
}
.apocrifa-ind__time {
    flex-direction: row;
    align-items: center;
    align-self: center;
    gap: 6px;
    color: #2a2f35;
}
.apocrifa-ind__clock {
    color: var(--apocrifa-ink);
}
.apocrifa-ind__key {
    display: block;
    margin-bottom: 4px;
    color: #5b6670;
    font-size: 10px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    line-height: 1;
}
.apocrifa-ind__value {
    font-size: 13px;
    font-weight: 600;
    color: #2a2f35;
    line-height: 1;
}
.apocrifa-ind__gauge {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    height: 15px;
}
.apocrifa-ind__gauge i {
    display: inline-block;
    width: 5px;
    border-radius: 1px;
    background: #ddd4bd;
}
.apocrifa-ind__gauge i.is-on {
    background: var(--apocrifa-gold);
}
.apocrifa-ind__gauge i:nth-child(1) { height: 7px; }
.apocrifa-ind__gauge i:nth-child(2) { height: 9.5px; }
.apocrifa-ind__gauge i:nth-child(3) { height: 12px; }
.apocrifa-ind__gauge i:nth-child(4) { height: 15px; }
@media (max-width: 480px) {
    .apocrifa-ind {
        gap: 18px;
    }
}

/* Tighter spacing around the featured image on single posts. */
.single .featured-image.page-header-image-single {
    margin-top: 10px;
    margin-bottom: 10px;
}
body.post-image-aligned-right .featured-image.page-header-image-single {
    margin-left: 24px;
}
.single .entry-content > :first-child {
    margin-top: 12px;
}
/* Single views and stand-alone pages: the ivory blocks that frame content carry the same
   corners the listing cards already have, so the article body stops being the only square
   block on the page. Nothing inside reaches the edges - the closing band has a border-top,
   the gauge bar is transparent - so no overflow clip here; add one only if an align-wide
   image ever becomes the first or last child of the block. */
:is(.single, .page, .search, .error404) .site-main :is(.inside-article, .comments-area, .paging-navigation) {
    border-radius: 14px;
}
/* Wording under the satire gauge. */
.apocrifa-ind__sub {
    display: block;
    margin-top: 5px;
    color: #5b6670;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.2;
}

/* ---- Footnotes, encyclopaedia style ---- */
.apocrifa-notes-title {
    margin: 30px 0 8px;
    padding-bottom: 5px;
    border-bottom: 1px solid #d9d2c2;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 20px;
    font-weight: 400;
    color: #11323e;
}
.entry-content ol.wp-block-footnotes {
    margin: 0;
    padding-left: 1.5em;
    font-size: 0.82em;
    line-height: 1.5;
    color: #39424a;
}
.entry-content ol.wp-block-footnotes li {
    margin-bottom: 5px;
    padding-left: 2px;
}
.entry-content ol.wp-block-footnotes li::marker {
    color: #5b6670;
}
.apocrifa-note-ref {
    font-style: italic;
}
.entry-content ol.wp-block-footnotes a {
    text-decoration: none;
}

/* Slightly tighter paragraph rhythm. */
.entry-content p,
.page-content p {
    margin-bottom: 1.15em;
}

/* Footnote markers: bold number in the text, discreet arrow back from the note. */
.entry-content sup.fn a {
    font-weight: 700;
    text-decoration: none;
}
.entry-content ol.wp-block-footnotes li > a[href*="-link"] {
    margin-left: 4px;
    font-weight: 700;
    text-decoration: none;
}

/* ---------------------------------------------------------------------------
   End of article: share, tags, continue with. Added 09/10/2026.
   The Altervista share widget is hidden here: delete the first rule to get it
   back (Facebook, X, Pinterest with brand colours).
   --------------------------------------------------------------------------- */
.av-social-share {
    display: none;
}

.apocrifa-end {
    margin-top: 2.2em;
}
.apocrifa-end__row,
.apocrifa-end__block {
    border-top: 1px solid var(--apocrifa-gold);
    padding-top: 0.9em;
    margin-top: 1.4em;
}
.apocrifa-end__label {
    display: block;
    font-size: 0.72em;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.75;
    margin-bottom: 0.7em;
}

/* Share row: label left, buttons right, stacked on narrow screens. */
.apocrifa-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.6em;
}
.apocrifa-share .apocrifa-end__label {
    margin-bottom: 0;
}
.apocrifa-share__links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4em;
}
.apocrifa-btn {
    display: inline-block;
    border: 1px solid var(--apocrifa-gold);
    background: none;
    border-radius: 2px;
    padding: 0.32em 0.85em;
    font-size: 0.82em;
    font-family: inherit;
    line-height: 1.6;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}
.apocrifa-btn:hover,
.apocrifa-btn:focus-visible {
    background: var(--apocrifa-gold);
    color: var(--apocrifa-night-deep);
}
.apocrifa-copy.is-copied {
    background: var(--apocrifa-gold);
    color: var(--apocrifa-night-deep);
}

/* Tag pills. */
.apocrifa-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4em;
}
.apocrifa-tag {
    display: inline-block;
    border: 1px solid var(--apocrifa-list-border, #d9d2c2);
    border-radius: 12px;
    padding: 0.22em 0.75em;
    font-size: 0.8em;
    line-height: 1.7;
    text-decoration: none;
}
.apocrifa-tag:hover,
.apocrifa-tag:focus-visible {
    border-color: var(--apocrifa-gold);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.apocrifa-tags__more {
    display: inline;
}
.apocrifa-tags__more summary {
    display: inline-block;
    font-size: 0.8em;
    opacity: 0.75;
    cursor: pointer;
    padding: 0.22em 0.4em;
}
.apocrifa-tags__more[open] summary {
    display: none;
}
.apocrifa-tags__rest {
    display: contents;
}

/* Image tools: native share + Pinterest, bottom right corner of the image. */
.entry-content .apocrifa-pinnable {
    position: relative;
    display: inline-block;
    max-width: 100%;
    line-height: 0;
}
/* The zoom link holds the image: without display:block it collapses to a
   twenty-pixel strip and the picture, which overflows it, is no longer
   clickable. It applies everywhere, the opening image included. */
.apocrifa-zoom {
    display: block;
    line-height: 0;
    box-shadow: none;
    text-decoration: none;
    max-width: 100%;
}
.apocrifa-imgtools {
    position: absolute;
    right: 10px;
    bottom: 10px;
    z-index: 2;
    display: flex;
    gap: 6px;
    line-height: 0;
}
.apocrifa-imgbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(86, 92, 100, 0.82);
    color: #fff;
    text-decoration: none;
    cursor: pointer;
}
.apocrifa-imgbtn svg {
    width: 19px;
    height: 19px;
}
.apocrifa-imgbtn:hover,
.apocrifa-imgbtn:focus-visible {
    background: var(--apocrifa-gold);
    color: var(--apocrifa-night-deep, #16212e);
}

/* The native sheet exists on phones only: JS adds is-available where it works. */
.apocrifa-native {
    display: none;
}
.apocrifa-native.is-available {
    display: inline-flex;
}

/* Default widths of the two image slots. The slot keeps the size the layout was designed around
   (300px in the article header, ~294px in the listing card, which the grid already enforces), while
   the uploaded file is free to carry the extra pixels a dense screen needs. No-op on everything
   published today: all 20 featured images are 300px wide, no content image exceeds 700px. */
.single .featured-image.page-header-image-single img {
    width: 300px;
    max-width: 100%;
    height: auto;
}

 /* Postilla: la rubrica del sito, la carta nel laterale destro sopra «Cerca». Il contenitore è un
.widget del tema (bianco, 22 px di respiro, raggio 12, ombra morbida), quindi si allinea da sé agli
altri blocchi. Sopra ha una placca color paglia con il nome della rubrica e sotto la fascia color paglia con
la via per l'archivio: le due fasce fanno paio, e la carta è un oggetto chiaro chiuso fra due nastri. La frase è in Georgia e non è detto che sia una citazione: se è una battuta il
blocco non ha virgolette né bordo, se è una citazione il cite arriva da solo. .apocrifa-postilla--larga
è la stessa carta larga e centrata, per l'articolo o per una pagina: lì il contenitore non c'è, quindi
si dà da sola fondo, ombra e rientri. Le date in coda sono spente di default (le rimette il widget, o
data="1" nello shortcode). */
.apocrifa-postilla {
    position: relative;
    text-align: left;
}
/* Testata: la F, placca color paglia. La D (fascia #0b1f2a con le lettere #f4efe4, i due colori di
   .site-header) era montata e reggeva sulla carta bianca, ma non sul sito: il fondo pagina è
   body{background-color:#0b1f2a}, lo stesso blu della fascia, quindi il bordo superiore della carta
   spariva e l'avorio sembrava fuori dal riquadro. Qui la placca prende il #f7f2e6 della fascia in coda
   e le lettere #0b1f2a dell'intestazione al rovescio: su qualunque fondo la carta resta un rettangolo
   chiaro con due nastri. Le maiuscole sono spaziate come le etichette degli altri blocchi del laterale,
   il capello d'oro da 2 px sotto è lo stesso che sta sopra l'intestazione e sopra il piè di pagina.
   Le altre prove (G nome nudo, H occhiello, I D cerchiata d'oro, L fascia avorio col sigillo) restano in
   blog/anteprime/postilla-testata-su-scuro.html: è questa regola sola che si scambia. */
.apocrifa-postilla__nastro {
    margin: -22px -22px 15px;
    padding: 9px 16px 8px;
    background: #f7f2e6;
    border-bottom: 2px solid var(--apocrifa-gold);
    border-radius: 12px 12px 0 0;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #0b1f2a;
}
/* Un hashtag è una parola sola e lunga: nella sidebar il testo della carta ha ~206 px (container
   1120, sidebar 26 %, 22 px di respiro per parte) e «#MancavanoSoloNoveAnniEUnCavalloImbottitoDiAchei»
   di caratteri ne conta 47, che a 17 px di Georgia fanno ~400. Senza questo la carta si sfonda e il
   blog va in scroll orizzontale; con break-word l'hashtag si spezza dove serve, come fa il web. */
.apocrifa-postilla__frase {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 17px;
    line-height: 1.52;
    overflow-wrap: break-word;
    word-break: normal;
}
.apocrifa-postilla__frase > * {
    margin: 0 0 10px;
}
.apocrifa-postilla__frase > *:last-child {
    margin-bottom: 0;
}
.apocrifa-postilla .wp-block-quote,
.apocrifa-postilla blockquote {
    background: none;
    border-left: 0;
    margin: 0 0 10px;
    padding: 0;
    font-size: inherit;
}
.apocrifa-postilla .wp-block-quote p,
.apocrifa-postilla blockquote p {
    margin: 0 0 8px;
}
.apocrifa-postilla cite {
    display: block;
    margin-top: 9px;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 11.5px;
    font-style: normal;
    letter-spacing: 0.04em;
    color: #6c6152;
}
.apocrifa-postilla__coda {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 15px -22px -22px;
    padding: 9px 22px;
    background: #f7f2e6;
    border-top: 1px dotted #d9d2c2;
    border-radius: 0 0 12px 12px;
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 10.5px;
    line-height: 1.3;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.apocrifa-postilla__coda a {
    color: #7a6a3f;
    text-decoration: none;
    border-bottom: 1px solid rgba(201, 162, 75, 0.55);
}
.apocrifa-postilla__coda a:hover,
.apocrifa-postilla__coda a:focus-visible {
    color: var(--apocrifa-ink);
    border-bottom-color: var(--apocrifa-gold);
}
.apocrifa-postilla__coda time {
    color: #9a8f79;
    white-space: nowrap;
}
.apocrifa-postilla--larga {
    clear: both;
    max-width: 470px;
    margin: 46px auto 8px;
    padding-bottom: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgb(0 0 0 / 6%);
}
.apocrifa-postilla--larga .apocrifa-postilla__nastro {
    margin: 0 0 15px;
    border-radius: 12px 12px 0 0;
}
.apocrifa-postilla--larga .apocrifa-postilla__frase {
    padding: 0 22px;
}
.apocrifa-postilla--larga .apocrifa-postilla__coda {
    margin: 15px 0 0;
}
@media (max-width: 768px) {
    .apocrifa-postilla--larga {
        max-width: none;
        margin-top: 30px;
    }
    .apocrifa-postilla__frase {
        font-size: 16.5px;
    }
}

/* Optional caption for the main featured image; absent media captions produce no markup. */
.single .featured-image.page-header-image-single .apocrifa-featured-figure {
    display: block;
    /* Keep the caption aligned with the full-size native image slot. */
    width: 100%;
    max-width: 700px;
    margin: 0;
}
.single .featured-image.page-header-image-single .apocrifa-featured-image-caption {
    display: block;
    box-sizing: border-box;
    width: 100%;
    margin: 7px 0 0;
    color: #6c6152;
    font-size: 12px;
    line-height: 1.45;
    text-align: left;
}
.single .featured-image.page-header-image-single .apocrifa-featured-image-caption a {
    color: inherit;
    text-underline-offset: 2px;
}


/* Single featured image: natural aspect ratio, centered, no crop or upscaling. */
body.single-post .featured-image.page-header-image-single {
    float: none;
    clear: both;
    display: block;
    width: 100%;
    max-width: 700px;
    margin: 12px auto 26px;
}
body.single-post .featured-image.page-header-image-single img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto;
}
body.single-post .featured-image.page-header-image-single .apocrifa-featured-figure {
    width: 100%;
    max-width: 700px;
    margin: 0 auto;
}

/* Magazine test: remove the sidebar column while keeping all widget data intact. */
body.no-sidebar .site-content .content-area {
    width: 100%;
}
body.no-sidebar .sidebar {
    display: none;
}

/* Compact editorial wordmark: logo at left, title above the uppercase subtitle. */
.site-header .inside-header {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    text-align: left;
}
.site-header .site-branding-container {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-width: 0;
    text-align: left;
}
.site-header .site-logo {
    flex: 0 0 auto;
    margin-right: 14px;
}
.site-header .site-branding {
    min-width: 0;
    text-align: left;
}
.site-header .main-title {
    margin: 0;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.4vw, 29px);
    line-height: 1.08;
    letter-spacing: 0.01em;
}
.site-header .main-title a {
    color: inherit;
}
.site-header .main-title strong {
    font-weight: 700;
}
.site-header .main-title em {
    font-style: italic;
    font-weight: 400;
}
.site-header .site-description {
    display: block;
    max-width: 580px;
    margin: 5px 0 0;
    color: var(--apocrifa-logo-tone);
    font-family: Montserrat, system-ui, sans-serif;
    font-size: 10px;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    white-space: normal;
}
.apocrifa-topbar__inner {
    flex: 0 0 auto;
    margin-left: auto;
    align-self: center;
}

/* Postilla after the first home-page article: photographic banner, no decorative quote marks. */
.apocrifa-postilla--rivista {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 280px;
    margin: 30px 0;
    padding: 36px clamp(24px, 5vw, 64px);
    overflow: hidden;
    border-radius: 12px;
    background-color: #b7e4e9;
    background-image: linear-gradient(90deg, rgb(244 239 228 / 12%), rgb(244 239 228 / 3%)), url("assets/postilla-banner-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: left 46%;
    color: #1c2128;
    box-shadow: 0 6px 20px rgb(0 0 0 / 8%);
}
.apocrifa-postilla--rivista .apocrifa-postilla__nastro {
    display: none;
}
.apocrifa-postilla--rivista .apocrifa-postilla__frase {
    position: relative;
    z-index: 1;
    width: min(820px, 82%);
    margin: 0 0 0 14%;
    padding: 0;
    color: #1c2128;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.65vw, 32px);
    line-height: 1.42;
    overflow-wrap: break-word;
}
.apocrifa-postilla--rivista .apocrifa-postilla__frase > * {
    margin: 0;
}
.apocrifa-postilla--rivista .apocrifa-postilla__frase blockquote,
.apocrifa-postilla--rivista .apocrifa-postilla__frase .wp-block-quote {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-style: normal;
    quotes: none;
}
.apocrifa-postilla--rivista .apocrifa-postilla__frase blockquote::before,
.apocrifa-postilla--rivista .apocrifa-postilla__frase blockquote::after,
.apocrifa-postilla--rivista .apocrifa-postilla__frase .wp-block-quote::before,
.apocrifa-postilla--rivista .apocrifa-postilla__frase .wp-block-quote::after {
    content: none;
}
.apocrifa-postilla--rivista .apocrifa-postilla__frase cite,
.apocrifa-postilla--rivista .apocrifa-postilla__frase footer {
    display: block;
    margin: 14px 0 0;
    color: var(--apocrifa-ink);
    font-family: Montserrat, system-ui, sans-serif;
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    line-height: 1.45;
    text-align: right;
}

/* Requested footer copy and wordmark. */
.site-info {
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 13px;
    letter-spacing: normal;
    line-height: 1.55;
    text-transform: none;
}
.apocrifa-magazine-footer {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}
.apocrifa-magazine-footer p {
    margin: 0;
}
.apocrifa-magazine-footer p.apocrifa-magazine-footer__brand {
    margin: 0 0 8px;
    color: #f4efe4;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 2.5vw, 29px);
    letter-spacing: 0.015em;
    line-height: 1.2;
}
.apocrifa-magazine-footer__brand em {
    color: var(--apocrifa-gold);
    font-weight: 400;
}
.apocrifa-magazine-footer p.apocrifa-magazine-footer__description {
    max-width: 720px;
    margin: 0 auto 8px;
    color: #b9c8d0;
    font-size: 13px;
    line-height: 1.6;
}
.apocrifa-magazine-footer__copyright,
.apocrifa-magazine-footer__signature {
    color: #b9c8d0;
    font-size: 11px;
    letter-spacing: 0.04em;
}
.apocrifa-magazine-footer__privacy {
    margin-left: 0.2em;
    letter-spacing: normal;
    text-transform: none;
}
.apocrifa-magazine-footer__privacy a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.apocrifa-magazine-footer__privacy a:hover,
.apocrifa-magazine-footer__privacy a:focus {
    color: var(--apocrifa-gold);
}
.apocrifa-magazine-footer p.apocrifa-magazine-footer__signature {
    margin: 4px 0 0;
}
.apocrifa-magazine-footer__heart {
    display: inline-block;
    width: 14px;
    height: 14px;
    margin-left: 4px;
    fill: var(--apocrifa-gold);
    vertical-align: -2px;
}

@media (max-width: 768px) {
    .site-header .inside-header {
        justify-content: flex-start;
        gap: 10px;
        padding: 14px 18px;
        text-align: left;
    }
    .site-header .site-branding-container {
        width: 100%;
        max-width: 100%;
        padding-right: 54px;
    }
    .site-header .site-logo {
        margin-right: 10px;
    }
    .site-header .site-logo .header-image {
        max-width: 44px;
        height: auto;
    }
    .site-header .main-title {
        font-size: clamp(18px, 5.1vw, 21px);
    }
    .site-header .site-description {
        margin-top: 4px;
        font-size: 8px;
        line-height: 1.35;
        letter-spacing: 0.055em;
    }
    .apocrifa-topbar__inner {
        position: absolute;
        top: 8px;
        right: 10px;
        margin: 0;
    }
    .apocrifa-postilla--rivista {
        min-height: 0;
        align-items: flex-end;
        padding: 150px 18px 18px;
        background-size: auto 170px;
        background-position: left top;
        background-color: #b7e4e9;
    }
    .apocrifa-postilla--rivista .apocrifa-postilla__frase {
        width: 100%;
        margin: 0;
        padding: 14px 16px;
        border-radius: 8px;
        background: rgb(244 239 228 / 82%);
        font-size: 22px;
        line-height: 1.38;
    }
    .apocrifa-magazine-footer__description {
        font-size: 12px;
    }
}

/* --------------------------------------------------------------------------
   Magazine home: Postilla, one full-width hero, then six editorial cards.
   Images use a uniform 16:9 window with object-fit:contain (no crop/deformation).
   WordPress still supplies native srcset/sizes from each attachment.
   -------------------------------------------------------------------------- */
body.home.blog .site-main {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 24px;
}
body.home.blog .site-main > .apocrifa-postilla--rivista {
    grid-column: 1 / -1;
    margin: 0 0 4px;
}
body.home.blog .site-main > article {
    min-width: 0;
    margin: 0;
}
body.home.blog .site-main > article:first-of-type {
    grid-column: 1 / -1;
}
body.home.blog .site-main > article > .inside-article {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-width: 0;
    padding: 0;
    overflow: hidden;
}
body.home.blog .site-main > article > .inside-article::before,
body.home.blog .site-main > article > .inside-article::after {
    display: none;
}
body.home.blog .site-main > article > .inside-article > .post-image {
    order: 0;
    display: block;
    float: none;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    border-radius: 0;
    background: #f4efe4;
}
body.home.blog .site-main > article > .inside-article > .post-image > a {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
}
body.home.blog .site-main > article > .inside-article > .post-image img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0;
}
body.home.blog .site-main > article > .inside-article > .entry-header {
    order: 1;
    margin: 17px 22px 0;
}
body.home.blog .site-main > article > .inside-article > .entry-summary {
    order: 2;
    display: flex;
    flex: 1 0 auto;
    flex-direction: column;
    margin: 10px 22px 21px;
    min-width: 0;
}
body.home.blog .site-main > article > .inside-article > .entry-summary p:last-child {
    margin-bottom: 0;
}
body.home.blog .site-main > article > .inside-article > .entry-summary .read-more-container {
    margin-top: auto;
    padding-top: 15px;
}
body.home.blog .site-main > article > .inside-article > .entry-meta {
    order: 3;
    margin: 0 22px 18px;
}
body.home.blog .site-main > article .entry-title {
    font-size: clamp(19px, 1.7vw, 23px);
    line-height: 1.2;
}
body.home.blog .site-main > article:first-of-type .entry-title {
    font-size: clamp(27px, 3.2vw, 42px);
    line-height: 1.08;
}
body.home.blog .site-main > article:first-of-type > .inside-article > .entry-header {
    margin: 24px 30px 0;
}
body.home.blog .site-main > article:first-of-type > .inside-article > .entry-summary {
    margin: 13px 30px 27px;
    font-size: 1.05em;
    line-height: 1.65;
}
body.home.blog .site-main > article:first-of-type > .inside-article > .entry-meta {
    margin: 0 30px 22px;
}
body.home.blog .site-main > article .entry-meta {
    font-size: 11px;
}
body.home.blog .site-main > .paging-navigation,
body.home.blog .site-main > .page-header {
    grid-column: 1 / -1;
}

@media (min-width: 769px) and (max-width: 1050px) {
    body.home.blog .site-main {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }
}
@media (max-width: 768px) {
    body.home.blog .site-main {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    body.home.blog .site-main > article:first-of-type {
        grid-column: 1;
    }
    body.home.blog .site-main > article > .inside-article > .entry-header {
        margin: 15px 17px 0;
    }
    body.home.blog .site-main > article > .inside-article > .entry-summary {
        margin: 9px 17px 18px;
    }
    body.home.blog .site-main > article > .inside-article > .entry-meta {
        margin: 0 17px 16px;
    }
    body.home.blog .site-main > article:first-of-type > .inside-article > .entry-header {
        margin: 17px 19px 0;
    }
    body.home.blog .site-main > article:first-of-type > .inside-article > .entry-summary {
        margin: 10px 19px 19px;
    }
    body.home.blog .site-main > article:first-of-type > .inside-article > .entry-meta {
        margin: 0 19px 17px;
    }
}

/* Static Postilla after the home hero: full-bleed pool photo and a translucent glass panel. */
body.home.blog .site-main > .apocrifa-postilla--home {
    grid-column: 1 / -1;
    width: 100vw;
    max-width: 100vw;
    margin-top: 0;
    margin-right: calc(50% - 50vw);
    margin-bottom: 4px;
    margin-left: calc(50% - 50vw);
}
.apocrifa-postilla--home {
    box-sizing: border-box;
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: clamp(560px, 50vw, 700px);
    padding: 42px clamp(18px, 4vw, 64px);
    overflow: hidden;
    border-radius: 0;
    background-color: #45b4c4;
    background-image: linear-gradient(180deg, rgb(4 88 104 / 9%), rgb(4 88 104 / 18%)), url("assets/postilla-banner-bg.jpg");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center 48%;
    color: #fff;
    box-shadow: none;
    text-align: center;
}
.apocrifa-postilla--home .apocrifa-postilla__glass-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: min(100%, 1160px);
    min-height: 550px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 82px) clamp(26px, 5vw, 72px) 30px;
    border: 1px solid rgb(255 255 255 / 54%);
    border-radius: 36px;
    background: rgb(78 181 194 / 34%);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 44px rgb(0 45 56 / 24%), inset 0 1px 0 rgb(255 255 255 / 32%);
}
.apocrifa-postilla--home .apocrifa-postilla__header {
    margin: 0 0 clamp(24px, 3.2vw, 42px);
    padding: 0;
    color: #fff;
    font-family: Montserrat, system-ui, sans-serif;
    font-size: clamp(14px, 1.8vw, 22px);
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.025em;
    text-align: center;
    text-shadow: 0 1px 7px rgb(0 43 52 / 60%);
    text-transform: uppercase;
}
.apocrifa-postilla--home .apocrifa-postilla__frase {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1020px;
    margin: 0 auto;
    padding: 0;
    color: #fff;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(30px, 3.6vw, 52px);
    font-weight: 400;
    line-height: 1.16;
    text-align: left;
    text-shadow: 0 3px 11px rgb(0 35 43 / 58%), 0 1px 2px rgb(0 0 0 / 22%);
    overflow-wrap: break-word;
}
.apocrifa-postilla--home .apocrifa-postilla__frase > * {
    margin: 0;
}
.apocrifa-postilla--home .apocrifa-postilla__frase > * + * {
    margin-top: 0.08em;
}
.apocrifa-postilla--home .apocrifa-postilla__frase p {
    margin: 0;
}
.apocrifa-postilla--home .apocrifa-postilla__frase p + p {
    margin-top: 0.08em;
}
.apocrifa-postilla--home .apocrifa-postilla__frase blockquote,
.apocrifa-postilla--home .apocrifa-postilla__frase .wp-block-quote {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
    font-style: normal;
    quotes: none;
}
.apocrifa-postilla--home .apocrifa-postilla__frase em,
.apocrifa-postilla--home .apocrifa-postilla__frase i {
    font-style: normal;
}
.apocrifa-postilla--home .apocrifa-postilla__frase blockquote::before,
.apocrifa-postilla--home .apocrifa-postilla__frase blockquote::after,
.apocrifa-postilla--home .apocrifa-postilla__frase .wp-block-quote::before,
.apocrifa-postilla--home .apocrifa-postilla__frase .wp-block-quote::after {
    content: none;
}
.apocrifa-postilla--home .apocrifa-postilla__frase cite,
.apocrifa-postilla--home .apocrifa-postilla__frase footer {
    display: block;
    margin: 18px auto 0;
    color: #fff;
    font-family: Montserrat, system-ui, sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    font-style: normal;
    font-weight: 400;
    line-height: 1.45;
    text-align: center;
    text-shadow: 0 1px 7px rgb(0 43 52 / 60%);
}
.apocrifa-postilla--home .apocrifa-postilla__ornament {
    position: relative;
    display: block;
    width: min(260px, 45%);
    height: 1px;
    flex: 0 0 auto;
    margin: clamp(22px, 2.6vw, 34px) auto 20px;
    background: linear-gradient(90deg, transparent, rgb(255 255 255 / 82%) 24%, rgb(255 255 255 / 82%) 76%, transparent);
}
.apocrifa-postilla--home .apocrifa-postilla__ornament::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    border: 1px solid rgb(255 255 255 / 92%);
    background: rgb(80 176 190 / 88%);
    box-shadow: 0 0 8px rgb(0 43 52 / 45%);
    content: "";
    transform: translate(-50%, -50%) rotate(45deg);
}
.apocrifa-postilla--home .apocrifa-postilla__attribution {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 22px;
    margin: 0;
    color: #fff;
    font-family: Montserrat, system-ui, sans-serif;
    font-size: clamp(14px, 1.5vw, 18px);
    line-height: 1.45;
    text-align: center;
    text-shadow: 0 1px 7px rgb(0 43 52 / 60%);
}
.apocrifa-postilla--home .apocrifa-postilla__attribution cite {
    margin: 0;
    color: inherit;
    font-size: inherit;
    font-style: normal;
    font-weight: 400;
}
.apocrifa-postilla--home .apocrifa-postilla__hashtags {
    color: inherit;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 1.05em;
    overflow-wrap: anywhere;
}
.apocrifa-postilla--home .apocrifa-postilla__hashtags a {
    color: inherit;
    border-bottom: 1px solid rgb(255 255 255 / 58%);
    text-decoration: none;
    text-shadow: 0 1px 7px rgb(0 43 52 / 60%);
}
.apocrifa-postilla--home .apocrifa-postilla__hashtags a:hover,
.apocrifa-postilla--home .apocrifa-postilla__hashtags a:focus-visible {
    color: inherit;
    border-bottom-color: transparent;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.apocrifa-postilla--home .apocrifa-postilla__hashtags a:focus-visible {
    outline: 2px solid var(--apocrifa-gold, #c9a24b);
    outline-offset: 4px;
}
.apocrifa-postilla--home .apocrifa-postilla__home-footer {
    display: flex;
    width: 100%;
    justify-content: flex-end;
    margin-top: auto;
    padding-top: 34px;
}
.apocrifa-postilla--home .apocrifa-postilla__archive-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    color: #7a6a3f;
    border-bottom: 1px solid rgb(201 162 75 / 62%);
    font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-decoration: none;
    text-transform: uppercase;
    text-shadow: 0 1px 3px rgb(255 255 255 / 62%);
}
.apocrifa-postilla--home .apocrifa-postilla__archive-link:hover,
.apocrifa-postilla--home .apocrifa-postilla__archive-link:focus-visible {
    color: var(--apocrifa-ink, #172a31);
    border-bottom-color: var(--apocrifa-gold, #c9a24b);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.apocrifa-postilla--home .apocrifa-postilla__archive-link:focus-visible {
    outline: 3px solid var(--apocrifa-gold, #c9a24b);
    outline-offset: 4px;
}

@media (max-width: 768px) {
    .apocrifa-postilla--home {
        min-height: 470px;
        padding: 20px 14px;
        background-position: center center;
    }
    .apocrifa-postilla--home .apocrifa-postilla__glass-card {
        min-height: 430px;
        padding: 40px 22px 24px;
        border-radius: 28px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__header {
        margin-bottom: 25px;
        font-size: 14px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__frase {
        font-size: clamp(25px, 5vw, 29px);
        line-height: 1.2;
        text-align: left;
    }
    .apocrifa-postilla--home .apocrifa-postilla__ornament {
        width: min(220px, 62%);
        margin: 24px auto 18px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__attribution {
        gap: 7px 14px;
        font-size: 14px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__home-footer {
        padding-top: 28px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__archive-link {
        font-size: 11px;
    }
}
@media (max-width: 560px) {
    .apocrifa-postilla--home {
        min-height: 430px;
        padding: 18px 12px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__glass-card {
        min-height: 390px;
        padding: 38px 17px 22px;
        border-radius: 24px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__header {
        margin-bottom: 20px;
        font-size: 13px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__frase {
        font-size: clamp(24px, 6.1vw, 27px);
        line-height: 1.22;
        text-align: left;
    }
    .apocrifa-postilla--home .apocrifa-postilla__attribution {
        gap: 6px 12px;
        font-size: 14px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__home-footer {
        padding-top: 24px;
    }
    .apocrifa-postilla--home .apocrifa-postilla__archive-link {
        font-size: 11px;
        letter-spacing: 0.1em;
    }
}

/* Article header and reading column inspired by the supplied single-post reference. */
body.single-post .site-main > article > .inside-article {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
    padding: clamp(22px, 4vw, 48px);
}
.apocrifa-single-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin: 0 0 28px;
    padding-bottom: 12px;
    border-bottom: 1px solid #d9d2c2;
    font: 600 12px/1.4 Montserrat, system-ui, sans-serif;
}
.apocrifa-single-topline a {
    color: #31414a;
    text-decoration: none;
}
.apocrifa-single-topline a:hover,
.apocrifa-single-topline a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 3px;
}
body.single-post .entry-header .entry-title {
    max-width: 860px;
    margin-right: auto;
    margin-left: auto;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 400;
    line-height: 1.08;
    letter-spacing: -0.018em;
}
body.single-post .entry-header .entry-meta {
    justify-content: flex-start;
    margin-top: 13px;
}
/* The byline prefix is lowercase in the markup; don't let global entry-meta uppercase it. */
body.single-post .entry-header .entry-meta .byline,
body.single-post .entry-header .entry-meta .byline .author,
body.single-post .entry-header .entry-meta .byline .author a {
    text-transform: none;
}
.apocrifa-single-subtitle {
    max-width: 760px;
    margin: 18px auto 25px;
    color: #4b4b47;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(18px, 2.1vw, 22px);
    font-style: italic;
    line-height: 1.55;
}
.apocrifa-single-subtitle p:last-child {
    margin-bottom: 0;
}
body.single-post .featured-image.page-header-image-single {
    max-width: 900px;
    margin: 18px auto 30px;
}
body.single-post .featured-image.page-header-image-single img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
}
body.single-post .entry-content {
    max-width: 760px;
    margin-right: auto;
    margin-left: auto;
    font-size: 17px;
    line-height: 1.78;
}

/* Related articles use native featured-image srcset in the same no-crop 16:9 window. */
.apocrifa-related {
    margin: 42px 0 12px;
    padding-top: 24px;
    border-top: 1px solid var(--apocrifa-gold);
}
.apocrifa-related__title {
    margin: 0 0 20px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 400;
}
.apocrifa-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    align-items: stretch;
    gap: 18px;
}
.apocrifa-related__item {
    display: flex;
    min-width: 0;
}
.apocrifa-related__card {
    display: flex;
    width: 100%;
    height: 100%;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    min-width: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #f7f2e6;
    box-shadow: 0 4px 16px rgb(0 0 0 / 7%);
    color: inherit;
    text-decoration: none;
}
.apocrifa-related__media {
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
    background: #f4efe4;
}
.apocrifa-related__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.apocrifa-related__text {
    display: block;
    flex: 1 0 auto;
    align-self: stretch;
    padding: 15px 16px 17px;
    text-align: left;
}
.apocrifa-related__card-title {
    display: block;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 18px;
    line-height: 1.25;
}
.apocrifa-related__excerpt {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    line-height: 1.5;
    opacity: 0.8;
}
.apocrifa-related__card:hover .apocrifa-related__card-title,
.apocrifa-related__card:focus-visible .apocrifa-related__card-title {
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Cookie controls: keep Complianz right and move GeneratePress back-to-top left. */
#cmplz-manage-consent .cmplz-manage-consent {
    box-sizing: border-box;
    display: inline-flex;
    min-height: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
}
.generate-back-to-top {
    right: auto;
    left: 30px;
}

@media (max-width: 768px) {
    .apocrifa-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    body.single-post .site-main > article > .inside-article {
        padding: 20px;
    }
}
@media (max-width: 560px) {
    .apocrifa-related__grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .apocrifa-single-topline {
        font-size: 11px;
    }
    body.single-post .entry-content {
        font-size: 16px;
    }
    .generate-back-to-top {
        left: 16px;
    }
}


/* Magazine cards: top-anchor contain images and provide an editorial reading CTA. */
body.home.blog .site-main > article > .inside-article > .post-image img,
.apocrifa-related__media img {
    object-position: top center;
}
body.home.blog .site-main > article > .inside-article > footer.entry-meta {
    display: none;
}
body.home.blog .site-main > article > .inside-article > .apocrifa-card-footer {
    order: 4;
    flex: 0 0 auto;
    min-width: 0;
    margin: 0 22px 18px;
}
body.home.blog .site-main > article:first-of-type > .inside-article > .apocrifa-card-footer {
    margin: 0 30px 22px;
}
.apocrifa-card-footer__divider {
    display: block;
    width: 100%;
    height: 0;
    margin: 0 0 13px;
    border: 0;
    border-top: 1px solid var(--apocrifa-gold);
}
.apocrifa-card-footer__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px 16px;
}
.apocrifa-card-footer__reading {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #4b5960;
    font: 500 12px/1.4 Montserrat, system-ui, sans-serif;
}
.apocrifa-card-footer__reading .apocrifa-ind__clock {
    display: block;
    flex: 0 0 14px;
}
.apocrifa-card-footer__link {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 13px;
    border: 1px solid #0b1f2a;
    border-radius: 7px;
    background: #0b1f2a;
    color: #f4efe4;
    font: 700 13px/1.4 Montserrat, system-ui, sans-serif;
    letter-spacing: 0.04em;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 2px 5px rgb(7 22 32 / 28%);
    transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}
.apocrifa-card-footer__link:hover,
.apocrifa-card-footer__link:focus-visible {
    border-color: #1b4958;
    background: #1b4958;
    color: #f4efe4;
    text-decoration: underline;
    text-underline-offset: 3px;
    box-shadow: 0 1px 3px rgb(7 22 32 / 34%);
}
.apocrifa-card-footer__link:focus-visible {
    outline: 3px solid var(--apocrifa-gold, #c9a24b);
    outline-offset: 3px;
}
@media (max-width: 768px) {
    body.home.blog .site-main > article > .inside-article > .apocrifa-card-footer {
        margin: 0 17px 16px;
    }
    body.home.blog .site-main > article:first-of-type > .inside-article > .apocrifa-card-footer {
        margin: 0 19px 17px;
    }
    .apocrifa-card-footer__row {
        gap: 9px 12px;
    }
}

/* The archive palette is also applied to links inside .inside-article; this more-specific rule
   keeps the light CTA label legible on the dark home-card button in every state. */
.inside-article .apocrifa-card-footer__link,
.inside-article .apocrifa-card-footer__link:hover,
.inside-article .apocrifa-card-footer__link:focus-visible {
    color: #f4efe4;
}

/* === Montserrat self-hosted, aggiunto 24/10 (Argo): font variabile 400-700, file in /fonts/.
     Blocco spostato qui dal CSS aggiuntivo per avere tutto il CSS del tema in un file solo. === */
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/montserrat-latin.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:'Montserrat';font-style:normal;font-weight:400 700;font-display:swap;src:url(/fonts/montserrat-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
.main-navigation .menu-toggle,.main-navigation a{font-family:'Montserrat',sans-serif;font-weight:700}
.site-description,.entry-meta,.site-info{font-family:'Montserrat',sans-serif;font-weight:400}
