/* ============================================================
   FCS Grid Blog — Global Stylesheet
   ============================================================ */

/* ============================================================
   LOCAL FONTS
   ============================================================ */

/* Montserrat */
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/montserrat-thin-webfont.woff2') format('woff2'),
       url('fonts/montserrat/montserrat-thin-webfont.woff') format('woff');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/montserrat-extralight-webfont.woff2') format('woff2'),
       url('fonts/montserrat/montserrat-extralight-webfont.woff') format('woff');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/montserrat-light-webfont.woff2') format('woff2'),
       url('fonts/montserrat/montserrat-light-webfont.woff') format('woff');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/montserrat-regular-webfont.woff2') format('woff2'),
       url('fonts/montserrat/montserrat-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/montserrat-medium-webfont.woff2') format('woff2'),
       url('fonts/montserrat/montserrat-medium-webfont.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/montserrat-semibold-webfont.woff2') format('woff2'),
       url('fonts/montserrat/montserrat-semibold-webfont.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/montserrat-bold-webfont.woff2') format('woff2'),
       url('fonts/montserrat/montserrat-bold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/montserrat-extrabold-webfont.woff2') format('woff2'),
       url('fonts/montserrat/montserrat-extrabold-webfont.woff') format('woff');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Montserrat';
  src: url('fonts/montserrat/montserrat-black-webfont.woff2') format('woff2'),
       url('fonts/montserrat/montserrat-black-webfont.woff') format('woff');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Lora */
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora/lora-regular-webfont.woff2') format('woff2'),
       url('fonts/lora/lora-regular-webfont.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora/lora-italic-webfont.woff2') format('woff2'),
       url('fonts/lora/lora-italic-webfont.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora/lora-bold-webfont.woff2') format('woff2'),
       url('fonts/lora/lora-bold-webfont.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Lora';
  src: url('fonts/lora/lora-bolditalic-webfont.woff2') format('woff2'),
       url('fonts/lora/lora-bolditalic-webfont.woff') format('woff');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* Bebas Neue — fallback via Google Fonts (sem arquivo local) */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* ============================================================
   RESET & CUSTOM PROPERTIES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold:       #eeac1d;
  --gold-light: #ffe018;
  --red: #ff2424;
  --red-light: #fd3e3e;
  --dark:       #0a0a0a;
  --dark2:      #111111;
  --dark3:      #1a1a1a;
  --dark4:      #222222;
  --text:       #b0b0b0;
  --text-light: #ccc;
  --radius:     6px;
  --max-width:  1200px;
  --transition: 0.3s ease;

  /* Font stacks */
  --font-display: 'Bebas Neue', 'Montserrat', sans-serif;
  --font-ui:      'Montserrat', sans-serif;
  --font-body:    'Lora', Georgia, serif;
}

html {
  scroll-behavior: smooth;
  font-size: 10px;
}

body {
  background: var(--dark);
  overflow-x: hidden;
  font-family: var(--font-ui);
  font-size: 1.6rem;
  color: var(--text);
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: #fff;
  letter-spacing: 0.05em;
}

a {
  color: var(--red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover { color: var(--red-light); }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ============================================================
   SCROLLBAR
   ============================================================ */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ============================================================
   NAVBAR
   ============================================================ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 40px;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: all var(--transition);
}

#navbar.scrolled {
  background: rgba(10, 10, 10, 0.98);
  border-bottom-color: rgba(238, 29, 29, 0.3);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  height: 100%;
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

/* Nav links — centered */
.nav-links {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #888;
  transition: color var(--transition);
}

.nav-links a:hover { color: #fff; }
.nav-links a.active { color: var(--red); }

/* Social icons */
.nav-social {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-social a,
.footer-social a {
  color: #555;
  display: flex;
  align-items: center;
  transition: color var(--transition), transform var(--transition);
}

.nav-social a:hover,
.footer-social a:hover {
  color: var(--red);
  transform: translateY(-2px);
}

.nav-social a svg,
.footer-social a svg {
  display: block;
}

/* SoundCloud icon via external mask */
.icon-sc {
  display: block;
  width: 20px;
  height: 18px;
  background-color: #555;
  -webkit-mask-image: url('https://cdn.simpleicons.org/soundcloud/white');
  mask-image: url('https://cdn.simpleicons.org/soundcloud/white');
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  transition: background-color var(--transition), transform var(--transition);
}

.nav-social a:hover .icon-sc,
.footer-social a:hover .icon-sc {
  background-color: var(--red);
}

.mobile-social a:hover .icon-sc {
  background-color: var(--red);
}

/* Mobile social — larger icon-sc */
.mobile-social .icon-sc {
  width: 22px;
  height: 20px;
  background-color: #888;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 2px;
  background: #fff;
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
#mobile-menu {
  display: none;
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.98);
  z-index: 999;
  padding: 24px 40px 32px;
  border-bottom: 1px solid rgba(238, 172, 29, 0.2);
}

#mobile-menu.open { display: block; }

#mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

#mobile-menu ul a {
  font-family: var(--font-ui);
  font-size: 1.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #ccc;
}

#mobile-menu ul a:hover { color: var(--red); }

.mobile-social {
  display: flex;
  gap: 20px;
  margin-top: 24px;
}

.mobile-social a { color: #888; font-size: 2rem; }
.mobile-social a:hover { color: var(--red); }

/* Subtitle tag — red bordered label */
.post-subtitle,
.post-card-subtitle {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--red);
  border: 1px solid var(--red);
  padding: 0.4rem 1.2rem;
  box-shadow: 0 0 8px rgba(238, 172, 29, 0.25), inset 0 0 8px rgba(238, 172, 29, 0.04);
  width: fit-content;
}

/* ============================================================
   HERO — Latest post (dynamic, BeatStars style)
   ============================================================ */
.hero-latest {
  width: 100%;
  min-height: calc(100vh - 60px);
  margin-top: 60px;
  display: flex;
  align-items: center;
  background: var(--dark);
  position: relative;
  overflow: hidden;
}

/* Subtle background glow */
.hero-latest::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 30% 50%, rgba(238,172,29,0.04) 0%, transparent 65%);
  pointer-events: none;
}

.hero-latest-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 6rem;
  width: 100%;
  padding: 8rem 0;
}

/* LEFT — text */
.hero-latest-text {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-latest-meta {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #555;
}

.hero-latest-meta strong {
  color: var(--red);
  font-weight: 700;
}

.hero-latest-title {
  font-family: var(--font-ui);
  font-size: clamp(3.2rem, 4.5vw, 5.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #fff;
  text-transform: none;
}

.hero-latest-excerpt {
  font-family: var(--font-ui);
  font-size: 1.5rem;
  font-weight: 400;
  color: #777;
  line-height: 1.7;
  max-width: 480px;
}

/* "Read More" link — underline style like BeatStars */
.hero-latest-link {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
  border-bottom: 2px solid #fff;
  padding-bottom: 0.2rem;
  width: fit-content;
  transition: color var(--transition), border-color var(--transition);
}

.hero-latest-link::after {
  content: '→';
  font-size: 1.2rem;
  transition: transform var(--transition);
}

.hero-latest-link:hover {
  color: var(--red);
  border-color: var(--red);
}

.hero-latest-link:hover::after {
  transform: translateX(4px);
}

/* RIGHT — cover image */
.hero-latest-cover {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.06);
}

.hero-latest-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-latest-cover:hover img {
  transform: scale(1.03);
}

/* Placeholder when no cover image */
.hero-latest-cover-placeholder {
  width: 100%;
  height: 100%;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
}

/* Skeleton loading state */
.hero-latest-skeleton .hero-latest-title,
.hero-latest-skeleton .hero-latest-excerpt,
.hero-latest-skeleton .hero-latest-meta {
  background: var(--dark3);
  color: transparent;
  border-radius: 4px;
  animation: shimmer 1.4s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { opacity: 0.4; }
  50%       { opacity: 0.8; }
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* post.html — main with top padding for fixed navbar */
main {
  flex: 1;
  padding-top: calc(60px + 6rem);
  padding-bottom: 8rem;
}

/* index.html — posts section comes after hero */
#posts-section {
  padding-top: 6rem;
  padding-bottom: 8rem;
  flex: 1;
}

/* ============================================================
   SECTION HEADER
   ============================================================ */
.section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(238, 172, 29, 0.12);
}

.section-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.section-eyebrow {
  font-family: var(--font-ui);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #555;
}

.section-title {
  font-size: 3.6rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

.section-title span { color: var(--red); }

.section-count {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================================
   POSTS GRID — BeatStars style, 3 columns
   ============================================================ */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.4rem;
}

/* ============================================================
   POST CARD
   ============================================================ */
.post-card {
  background: transparent;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border: none;
}

/* Cover wrap — image with overlay on hover */
.post-card-cover-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--dark3);
}

.post-card-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.88);
  transition: transform 0.5s ease, filter 0.5s ease;
}

.post-card:hover .post-card-cover {
  transform: scale(1.05);
  filter: brightness(0.88);
}

/* Grey overlay on hover */
.post-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(180, 180, 180, 0.08);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 1;
  pointer-events: none;
}

.post-card:hover::before {
  opacity: 1;
}

.post-card-cover-meta {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.2rem;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  z-index: 1;
}

.post-card-cover-tag {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
}

.post-card-cover-date {
  font-family: var(--font-ui);
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.55);
}

/* Placeholder when no cover */
.post-card-cover-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--dark3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* Body — just title below image */
.post-card-body {
  padding: 1.4rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.post-card-title {
  font-family: var(--font-ui);
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: #fff;
}

/* Hide excerpt and old meta in grid cards */
.post-card-excerpt,
.post-card-meta,
.post-card-tags {
  display: none;
}

/* ============================================================
   STATES
   ============================================================ */
.loading {
  text-align: center;
  color: #555;
  padding: 6rem 0;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.empty {
  text-align: center;
  color: #555;
  padding: 6rem 0;
  font-size: 1.4rem;
}

/* ============================================================
   POST ARTICLE PAGE
   ============================================================ */
.post-article {
  max-width: 780px;
  margin: 0 auto;
}

.post-header { margin-bottom: 4rem; }

.post-header .post-card-tags { margin-bottom: 1.6rem; }

.post-header h1 {
  font-size: clamp(4rem, 7vw, 7rem);
  line-height: 1;
  letter-spacing: 0.04em;
  margin-bottom: 2rem;
}

.post-header .post-meta {
  display: flex;
  align-items: center;
  gap: 2rem;
  font-size: 1.3rem;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-wrap: wrap;
}

.post-header .post-meta span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  
}

.post-cover {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  margin-bottom: 4rem;
  border: 1px solid rgba(238, 172, 29, 0.15);
}

/* Post body typography — Lora for readability */
.post-body {
  font-family: var(--font-body);
  font-size: 1.7rem;
  line-height: 1.9;
  color: var(--text);
}

.post-body h2 {
  font-family: var(--font-display);
  font-size: 3.6rem;
  margin: 4rem 0 1.6rem;
  letter-spacing: 0.04em;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(238, 172, 29, 0.2);
}

.post-body h3 {
  font-family: var(--font-display);
  font-size: 2.4rem;
  margin: 3rem 0 1.2rem;
  color: var(--red-light);
}

.post-body p { margin-bottom: 2rem; }

.post-body ul,
.post-body ol {
  margin: 0 0 2rem 2.4rem;
}

.post-body li { margin-bottom: 0.6rem; }

.post-body blockquote {
  border-left: 3px solid var(--red);
  padding: 1.2rem 2rem;
  margin: 2.4rem 0;
  background: var(--dark3);
  color: #888;
  font-style: italic;
  font-size: 1.8rem;
}

.post-body code {
  background: var(--dark3);
  border: 1px solid rgba(238, 172, 29, 0.2);
  padding: 0.15em 0.5em;
  font-size: 0.85em;
  font-family: 'Cascadia Code', 'Fira Code', monospace;
  color: var(--red-light);
}

.post-body pre {
  background: var(--dark2);
  border: 1px solid rgba(238, 172, 29, 0.15);
  border-left: 3px solid var(--red);
  padding: 2rem 2.4rem;
  overflow-x: auto;
  margin-bottom: 2.4rem;
}

.post-body pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 1.4rem;
  color: #ccc;
}

.post-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.post-body a:hover { color: var(--red-light); }

.post-body img {
  margin: 2.4rem 0;
  border: 1px solid rgba(238, 172, 29, 0.15);
}

.post-body hr {
  border: none;
  border-top: 1px solid rgba(238, 172, 29, 0.15);
  margin: 4rem 0;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 60px 0 0;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px;
}

/* Top row: brand left, social right */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 4rem;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

/* Brand block */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  max-width: 280px;
}

.footer-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.footer-tagline {
  font-family: var(--font-ui);
  font-size: 1.35rem;
  color: #555;
  line-height: 1.7;
}

/* Social column */
.footer-social-col {
  min-width: 160px;
}

.footer-col-title {
  font-family: var(--font-ui);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #fff;
  margin-bottom: 1.8rem;
}

.footer-social-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.footer-social-list a {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-family: var(--font-ui);
  font-size: 1.4rem;
  font-weight: 500;
  color: #666;
  transition: color var(--transition);
}

.footer-social-list a:hover {
  color: #fff;
}

.footer-social-list a svg {
  flex-shrink: 0;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-social-list a:hover svg {
  opacity: 1;
}

.footer-social-list .icon-sc {
  width: 16px;
  height: 16px;
  background-color: #666;
  flex-shrink: 0;
  transition: background-color var(--transition);
}

.footer-social-list a:hover .icon-sc {
  background-color: #fff;
}

/* Bottom bar */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  gap: 16px;
}

.footer-copy {
  font-family: var(--font-ui);
  font-size: 1.2rem;
  color: #444;
}

.footer-copy a {
  color: #555;
  transition: color var(--transition);
}

.footer-copy a:hover { color: #fff; }

.back-top {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 1.4rem;
  transition: all var(--transition);
  cursor: pointer;
  flex-shrink: 0;
}

.back-top:hover {
  border-color: #fff;
  color: #fff;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-latest {
    min-height: auto;
  }

  .hero-latest-inner {
    grid-template-columns: 1fr;
    gap: 3.2rem;
    padding: 4rem 0;
  }

  .hero-latest-cover {
    aspect-ratio: 16/9;
    order: -1;
  }

  .hero-latest-title {
    font-size: clamp(2.8rem, 7vw, 4rem);
  }

  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  #navbar { padding: 0 20px; }

  .nav-links  { display: none; }
  .nav-social { display: none; }
  .hamburger  { display: flex; }

  .container { padding: 0 20px; }

  .hero-latest {
    min-height: auto;
  }

  .hero-latest-inner {
    grid-template-columns: 1fr;
    gap: 2.4rem;
    padding: 3rem 0;
  }

  .hero-latest-cover {
    aspect-ratio: 16/9;
    order: -1;
  }

  .hero-latest-title {
    font-size: clamp(2.4rem, 8vw, 3.6rem);
  }

  .hero-latest-excerpt {
    font-size: 1.4rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 2.4rem;
  }

  .footer-inner { padding: 0 20px; }

  footer { padding: 40px 0 0; }

  .footer-top {
    flex-direction: column;
    gap: 3.2rem;
    padding-bottom: 32px;
  }

  .footer-brand { max-width: 100%; }
}
