@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Oswald:wght@700&family=League+Gothic&family=Gabarito:wght@900&display=swap');

:root {
    --primary: #00aaff;
    --black: #000000;
    --white: #ffffff;
    --paper: #ffffff;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Texture Overlay */
html::after {
    content: "";
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url('../../base-body-overlay.gif');
    background-repeat: repeat;
    opacity: 0.05;
    z-index: 1100;
    pointer-events: none;
}

body {
    background-color: var(--paper);
    color: var(--black);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, .editorial-title {
    font-family: var(--font-heading);
    text-transform: uppercase;
    line-height: 0.9;
    letter-spacing: -0.05em;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Controlled Chaos Utilities */
.rotate-1 { transform: rotate(1deg); }
.rotate--1 { transform: rotate(-1deg); }
.rotate-2 { transform: rotate(2deg); }
.rotate--2 { transform: rotate(-2deg); }

/* Editorial Elements */
.sticker {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-transform: uppercase;
    transform: rotate(-2deg);
}

.box-shadow-heavy {
    box-shadow: 10px 10px 0px var(--black);
}

.paper-tear {
    mask-image: url("data:image/svg+xml,%3Csvg width='100' height='10' viewBox='0 0 100 10' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 10 Q 5 0 10 10 T 20 10 T 30 10 T 40 10 T 50 10 T 60 10 T 70 10 T 80 10 T 90 10 T 100 10' fill='black'/%3E%3C/svg%3E");
    mask-size: 100px 10px;
    mask-repeat: repeat-x;
}

/* Layout Blocks */
.hero-section {
    position: relative;
    padding: 50px 0 0 0;
}

.article-card {
    padding: 20px;
    background: transparent;
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.article-card h2 {
    font-size: 3.5rem;
    margin-top: 5px;
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .article-card h2 {
        font-size: 2.45rem; /* ~30% smaller than 3.5rem */
    }
}

.article-card:hover {
    transform: scale(1.02) rotate(1deg);
}

/* Grid Variety */
.editorial-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 30px;
    padding: 50px 0;
}

.col-span-full { grid-column: span 12; }
.col-span-8 { grid-column: span 8; }
.col-span-4 { grid-column: span 4; }
.col-span-6 { grid-column: span 6; }

/* Blue Highlight Row Patterns */
.row-container.blue-row {
    z-index: 5;
    margin-left: -20px;
    margin-right: -20px;
}

.row-container.blue-row .article-card {
    background: transparent !important;
    box-shadow: none !important;
}

.row-container.blue-row .article-card img {
    border: 3px solid var(--black);
    box-shadow: 10px 10px 0px rgba(0,0,0,0.2);
}

.row-container.blue-row .editorial-title,
.row-container.blue-row h2 a {
    color: var(--black);
}

.row-container.blue-row .article-card .sticker {
    background: var(--white) !important;
    color: var(--black) !important;
}

.black-banner-block {
    padding: 80px 40px;
}

@media (max-width: 768px) {
    .black-banner-block {
        padding: 40px 15px;
    }
}

@media (max-width: 768px) {
    .col-span-8, .col-span-4, .col-span-6 {
        grid-column: span 12;
    }
}

/* Visibility Utilities */
.desktop-only { display: flex; }
.mobile-only { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: flex !important; }
}

/* Sidebar Drawer */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    z-index: 1500;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--white);
    border-left: 5px solid var(--black);
    padding: 100px 40px;
    transition: 0.4s cubic-bezier(0.19, 1, 0.22, 1);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.side-drawer.active {
    right: 0;
}

.side-drawer a {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    text-transform: uppercase;
    transition: 0.2s;
}

.side-drawer a:hover {
    color: var(--primary);
    transform: translateX(10px);
}

/* Burger Button */
.burger-btn {
    width: 40px;
    height: 30px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    justify-content: space-between;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2100;
}

@media (max-width: 768px) {
    .burger-btn { display: flex; }
}

.burger-btn span {
    display: block;
    width: 100%;
    height: 4px;
    background: var(--black);
    transition: 0.3s;
}

.burger-btn.active span:nth-child(1) {
    transform: translateY(13px) rotate(45deg);
}
.burger-btn.active span:nth-child(2) {
    opacity: 0;
}
.burger-btn.active span:nth-child(3) {
    transform: translateY(-13px) rotate(-45deg);
}

/* Rotation Utility Classes */
.rotate-1 { transform: rotate(1.2deg); }
/* Editorial Content Classes */
.blog-content img, .editorial-img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 3.5rem !important;
    border: 3px solid black !important;
    max-width: 100% !important;
    height: auto !important;
    background: white;
    box-sizing: border-box !important;
    cursor: zoom-in;
    transition: transform 0.3s ease;
    box-shadow: 10px 10px 0px rgba(0,0,0,0.05); /* Subtle shadow for depth */
}

.blog-content img:hover, .editorial-img:hover {
    transform: scale(1.01) !important;
}

/* Common Rotation Utilities */
.rotate-1 { transform: rotate(1.2deg); }
.rotate--1 { transform: rotate(-1.2deg); }
.rotate-2 { transform: rotate(2.4deg); }
.rotate--2 { transform: rotate(-2.4deg); }

@media (max-width: 768px) {
    .editorial-img { margin-bottom: 2rem; border-width: 2px; }
}

@media (max-width: 768px) {
    .header-nav {
        justify-content: center !important;
    }
}
/* Lite YouTube Utility Classes */
.youtube-facade {
    position: relative;
    cursor: pointer;
    background: #000;
    margin-bottom: 30px;
    border: 5px solid black;
    aspect-ratio: 16/9;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.youtube-facade img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.8;
    transition: 0.3s;
}

.youtube-facade:hover img {
    opacity: 1;
    transform: scale(1.02);
}

.youtube-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 68px;
    height: 48px;
    background: rgba(255, 0, 0, 0.9);
    border-radius: 12% / 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.2s cubic-bezier(0, 0, 0.2, 1);
    z-index: 2;
    pointer-events: none;
}

.youtube-play-btn svg {
    width: 25px;
    height: 25px;
}

.youtube-facade:hover .youtube-play-btn {
    background: #FF0000;
}

.youtube-facade iframe {
    width: 100%;
    height: 100%;
    border: none;
}
