/*
Theme Name: Twenty Twenty-Three
Theme URI: https://wordpress.org/themes/twentytwentythree
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Three is designed to take advantage of the new design tools introduced in WordPress 6.1. With a clean, blank base as a starting point, this default theme includes ten diverse style variations created by members of the WordPress community. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Requires at least: 6.1
Tested up to: 6.7
Requires PHP: 5.6
Version: 1.6
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
Text Domain: twentytwentythree
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/
/* Base Header Styling */
.site-header {
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid #111111; /* Sharp minimalist border */
}

/* Flexbox Container to push Logo left and Nav right */
.header-container {
    max-width: 1400px; /* Aligns with your theme canvas */
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Typography for the Logo */
.site-logo a {
    font-family: monospace; /* Or your custom sans-serif font */
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-decoration: none;
    color: #111111;
}

/* Navigation Layout */
.site-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 30px; /* Even spacing between links */
}

/* Navigation Links */
.site-navigation a {
    font-family: monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #111111;
    transition: opacity 0.2s ease;
}

/* Elegant Hover Effect */
.site-navigation a:hover {
    opacity: 0.5;
}

/* Base Footer Styling */
.site-footer {
    width: 100%;
    background-color: #ffffff;
    border-top: 1px solid #111111; /* Sharp top border to frame the site */
    margin-top: 100px; /* Forces generous whitespace below your page content */
}

/* Flexbox Container */
.footer-container {
    max-width: 1400px; /* Matches header alignment precisely */
    margin: 0 auto;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Credits Typography */
.footer-credits p {
    font-family: monospace;
    font-size: 0.8rem;
    color: #666666; /* Subtle muted gray for secondary text */
    margin: 0;
    letter-spacing: 0.05em;
}

/* Footer Links Layout */
.footer-meta ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}

/* Footer Links Typography */
.footer-meta a {
    font-family: monospace;
    font-size: 0.8rem;
    text-transform: uppercase;
    text-decoration: none;
    color: #111111;
    transition: opacity 0.2s ease;
}

.footer-meta a:hover {
    opacity: 0.5;
}

/* ═══════════════════════════════════════════════════
   ERRÁTICAS — Main Content Canvas
   Defensive layout shell between header and footer
   ═══════════════════════════════════════════════════ */

.erraticas-main-canvas {
    width: 100%;
    min-height: 100vh;
    margin: 0;
    padding: 0;
    background-color: var(--wp--preset--color--base, #FAFAFA);
    color: var(--wp--preset--color--contrast, #111111);
    font-family: var(--wp--preset--font-family--system-font);
    position: relative;
    overflow-x: clip;
}

.erraticas-content-frame {
    width: 100%;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 40px;
    padding-right: 40px;
}

@media (max-width: 768px) {
    .erraticas-content-frame {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* ═══════════════════════════════════════════════════
   ERRÁTICAS — Dossier Stack Slider
   Centered image stack with hard-cut loop
   ═══════════════════════════════════════════════════ */

.dossier-stack-slider {
    position: sticky;
    top: 0;
    z-index: 1;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background-color: #ffffff;
}

.dossier-stack-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    z-index: 0;
}

.dossier-stack-slide.is-active {
    opacity: 1;
    z-index: 1;
}

.dossier-stack-slide img {
    display: block;
    width: 42vw;
    height: 92vh;
    object-fit: cover;
}

@media (max-width: 768px) {
    .dossier-stack-slide img {
        width: 52vw;
        height: 45vh;
        object-fit: contain;
    }
}

/* ═══════════════════════════════════════════════════
   ERRÁTICAS — Media Stack Slide
   Marquee + 2-column video/YouTube — scrolls over hero
   ═══════════════════════════════════════════════════ */

.dossier-media-stack-slide {
    position: sticky;
    top: 0;
    z-index: 2;
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #ffffff;
}

/* ── Marquee ── */

.dossier-marquee {
    width: 100%;
    overflow: hidden;
    padding: 14px 0;
    border-bottom: 1px solid #111111;
    white-space: nowrap;
    flex-shrink: 0;
}

.dossier-marquee-track {
    display: inline-flex;
    animation: dossier-marquee 20s linear infinite;
}

.dossier-marquee-track span {
    font-family: monospace;
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    color: var(--wp--preset--color--contrast, #111111);
}

.dossier-marquee-track span strong {
    font-weight: 700;
    text-transform: uppercase;
}

@keyframes dossier-marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ── Media Grid ── */

.dossier-media-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    flex: 1;
    min-height: 0;
}

.dossier-media-col {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    min-height: 0;
}

.dossier-media-col video,
.dossier-media-col iframe {
    display: block;
    flex: 1;
    min-height: 0;
    width: 100%;
    object-fit: cover;
    border: none;
}

.dossier-media-caption {
    flex-shrink: 0;
    padding: 10px 8px;
}

.dossier-media-caption p {
    font-family: monospace;
    font-size: 0.8rem;
    letter-spacing: 0.04em;
    color: var(--wp--preset--color--contrast, #111111);
    margin: 0;
}

@media (max-width: 768px) {
    .dossier-media-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .dossier-media-col {
        min-height: 40vh;
    }
}