/* ── ViterboMedievale – global frontend overrides ── */

/* On mobile: slicknav handles nav — hide the off-canvas toggle */
@media (max-width: 1024px) {
    #off-canvas-toggle { display: none; }
}

/* On desktop: horizontal main nav is enough — hide the off-canvas toggle */
@media (min-width: 1025px) {
    #off-canvas-toggle { display: none; }
}

.bottom {
    margin-top: 2rem;
    padding: 2rem 1.5rem;
}

@media (max-width: 575px) {
    .tagline { letter-spacing: 0.08em; font-size: 0.65rem; }
    .tagline::before, .tagline::after { display: none; }
}

.drop-cap {
    float: left;
    font-family: "UnifrakturMaguntia", "Cinzel Decorative", "Cinzel",
                 "Cormorant Garamond", "EB Garamond", Georgia, serif;
    font-size: 4.5rem;
    line-height: 0.75;
    font-weight: 700;
    padding: 0.1em 0.18em 0.06em 0.1em;
    margin: 0.05em 0.22em 0 0;
    border: 2px solid;
}

/* Off-canvas sidebar: sub-menus collapsed by default, toggled on tap */
#sidebar-wrapper .sub-menu {
    display: none;
    margin-left: 1rem;
    padding-left: 0;
}
#sidebar-wrapper .sub-menu.open {
    display: block;
}
#sidebar-wrapper .sidebar-submenu-toggle {
    float: right;
    cursor: pointer;
    padding: 0 0.4rem;
    font-size: 0.75rem;
    line-height: inherit;
    transition: transform 0.2s;
    display: inline-block;
}
#sidebar-wrapper .menu-item-has-children.open > a .sidebar-submenu-toggle {
    transform: rotate(180deg);
}

/* Manifesto / article blockquotes */
blockquote {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Article image captions — 25% smaller than body text */
figcaption {
    font-size: 0.71em;
}

/* Responsive images inside article body.
   CKEditor writes inline width+height; on mobile override the fixed height
   so images scale correctly instead of stretching vertically. */
@media (max-width: 767px) {
    .entry-content img {
        max-width: 100%;
        height: auto !important;
    }
}
