/* ==========================================================================
   DropRugby V4 — diseño editorial sobrio, negro/blanco/gris.
   Estética de diario deportivo: mucho blanco, tipografía serif de titular,
   bordes finos, animaciones suaves. Nada de gradientes exagerados.
   ========================================================================== */

:root {
  --ink-black: #0a0a0a;
  --ink-black-strong: #000000;
  --paper: #ffffff;
  --ink: #151515;
  --muted: #666666;
  --muted-light: #8a8a8a;
  --line: #dcdcdc;
  --line-soft: #ececec;
  --surface: #f4f4f4;
  --surface-strong: #eeeeee;
  --white: #fff;
  --serif: "Bree Serif", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --max: 1120px;
  --radius: 2px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  overflow-x: hidden;
  background-color: var(--paper);
  /* Siluetas de rugby de fondo — muy sutiles, apenas perceptibles */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='420' viewBox='0 0 420 420'%3E%3Cg fill='none' stroke='%23e2e2e2' stroke-width='2.2' opacity='.75'%3E%3Cellipse cx='65' cy='72' rx='30' ry='17' transform='rotate(-28 65 72)'/%3E%3Cpath d='M42 74l44-5M59 58l10 29'/%3E%3Cpath d='M315 36v64M350 36v64M315 38h35'/%3E%3Cpath d='M332 100v28M303 128h58'/%3E%3Ccircle cx='332' cy='145' r='8'/%3E%3Cpath d='M332 153l-10 27M332 153l13 24M322 180l-15 14M345 177l15 8'/%3E%3Cellipse cx='95' cy='310' rx='27' ry='15' transform='rotate(22 95 310)'/%3E%3Cpath d='M74 301l41 18M91 295l-2 30'/%3E%3Cpath d='M270 255c14 0 24 11 24 24v18h-7v-18c0-10-7-17-17-17s-17 7-17 17v18h-7v-18c0-13 11-24 24-24z'/%3E%3Cpath d='M246 297h48'/%3E%3C/g%3E%3Cg fill='%23e6e6e6' opacity='.55'%3E%3Cellipse cx='205' cy='190' rx='9' ry='5' transform='rotate(-25 205 190)'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 420px 420px;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.topline { height: 4px; background: var(--ink-black); }
.eyebrow, .category { font-size: 10px; font-weight: 700; letter-spacing: 1.6px; margin: 0 0 13px; color: var(--ink-black); }

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header { background: var(--ink-black); color: white; position: sticky; top: 0; z-index: 40; }
.header-inner { max-width: var(--max); margin: auto; min-height: 118px; display: flex; align-items: center; justify-content: space-between; gap: 26px; padding: 20px 30px; }
.brand { display: flex; align-items: center; gap: 14px; }
.brand-name { font-size: 25px; font-weight: 700; letter-spacing: 1px; font-style: italic; }
.brand-name span { font-weight: 500; }
.brand-tagline { font-family: var(--serif); font-size: 10px; margin-top: 3px; opacity: .85; }

.logo-mark {
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.main-nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.main-nav a, .mobile-nav a { font-size: 11px; font-weight: 700; letter-spacing: 1px; position: relative; padding: 6px 0; white-space: nowrap; }
.main-nav a::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 1px; background: white; transition: width .25s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav a.active { opacity: 1; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.search-btn { background: none; border: 1px solid rgba(255,255,255,.35); color: white; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s, transform .2s; }
.search-btn:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.search-btn svg { width: 15px; height: 15px; }

.social-links { display: flex; gap: 8px; align-items: center; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 9px 12px; border: 1px solid rgba(255,255,255,.35); color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .7px; transition: all .2s ease; white-space: nowrap; }
.social-btn:hover { background: #fff; color: #000; transform: translateY(-2px); }

.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.menu-btn span { display: block; width: 22px; height: 1px; background: white; margin: 6px; transition: transform .2s, opacity .2s; }
.mobile-nav { display: none; }
.mobile-nav.open { display: flex; }
.mobile-nav { flex-direction: column; gap: 4px; padding: 6px 24px 22px; border-top: 1px solid rgba(255,255,255,.15); }
.mobile-nav a { padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.mobile-nav .mobile-social { display: flex; gap: 10px; padding-top: 14px; }

/* Search overlay */
.search-overlay { position: fixed; inset: 0; background: rgba(6,6,6,.94); z-index: 100; display: none; padding: 90px 24px; }
.search-overlay.open { display: block; }
.search-overlay-inner { max-width: 700px; margin: auto; }
.search-close { position: absolute; top: 26px; right: 30px; background: none; border: 0; color: white; font-size: 26px; cursor: pointer; line-height: 1; }
.search-overlay input { width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.4); color: white; font-family: var(--serif); font-size: 30px; padding: 10px 2px; outline: 0; }
.search-overlay input::placeholder { color: rgba(255,255,255,.4); }
.search-hint { color: rgba(255,255,255,.45); font-size: 11px; letter-spacing: .5px; margin-top: 14px; }
.search-results { margin-top: 30px; max-height: 55vh; overflow-y: auto; }
.search-result { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.search-result .category { color: #9a9a9a; }
.search-result h3 { font-family: var(--serif); font-weight: 400; color: white; font-size: 19px; margin: 0; }
.search-empty { color: rgba(255,255,255,.5); font-size: 13px; padding: 20px 0; }

main { max-width: var(--max); margin: auto; padding: 0 30px; }
main.full-bleed { padding: 0; }

/* ==========================================================================
   HERO / TOP STORY
   ========================================================================== */
.hero { display: grid; grid-template-columns: .9fr 1.35fr; gap: 50px; padding: 80px 0 70px; align-items: center; }
.hero h1 { font-family: var(--serif); font-size: clamp(40px, 5vw, 62px); line-height: 1.05; font-weight: 400; margin: 0 0 20px; }
.hero h1 em { color: var(--ink-black); font-style: italic; }
.hero-text { max-width: 430px; color: var(--muted); line-height: 1.7; font-size: 15px; margin-bottom: 28px; }
.button { display: inline-flex; gap: 22px; align-items: center; background: var(--ink-black); color: white; padding: 14px 18px; font-size: 11px; font-weight: 700; letter-spacing: .7px; transition: transform .25s, background .25s; border: 1px solid var(--ink-black); }
.button:hover { transform: translateY(-3px); background: var(--ink-black-strong); }
.button.button-outline { background: transparent; color: var(--ink-black); }
.button.button-outline:hover { background: var(--ink-black); color: white; }
.button span { font-size: 17px; font-weight: 400; }

.hero-image, .story-image, .article-cover, .ph-image { background-size: cover; background-position: center; position: relative; background-color: #1a1a1a; }
.hero-image { min-height: 480px; }

/* Placeholder "photo" tones — reemplazar por fotografías reales cuando estén disponibles */
.img-tone-1 { background-image: linear-gradient(125deg, #101010, #565656 48%, #c4c4c4 49%, #3a3a3a 50%, #060606); }
.img-tone-2 { background-image: linear-gradient(135deg, #131313, #5e5e5e 45%, #c8c8c8 46%, #3d3d3d 48%, #0a0a0a); }
.img-tone-3 { background-image: linear-gradient(140deg, #141414, #626262 42%, #c0c0c0 43%, #3a3a3a 48%, #070707); }
.img-tone-4 { background-image: linear-gradient(130deg, #202020, #7a7a7a 50%, #d4d4d4 51%, #3f3f3f); }
.img-tone-5 { background-image: linear-gradient(150deg, #0d0d0d, #4c4c4c 46%, #bcbcbc 47%, #2e2e2e 52%, #050505); }
.img-tone-1::before, .img-tone-2::before, .img-tone-3::before, .img-tone-4::before, .img-tone-5::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(72deg, transparent 0 18px, rgba(255,255,255,.07) 19px 20px);
  mix-blend-mode: screen;
}
.img-pumas-1 { background-image: linear-gradient(125deg, #101010, #565656 48%, #c4c4c4 49%, #3a3a3a 50%, #060606); }
.img-pumas-2 { background-image: linear-gradient(135deg, #131313, #5e5e5e 45%, #c8c8c8 46%, #3d3d3d 48%, #0a0a0a); }
.img-superrugby-1 { background-image: linear-gradient(140deg, #141414, #626262 42%, #c0c0c0 43%, #3a3a3a 48%, #070707); }
.img-superrugby-2 { background-image: linear-gradient(130deg, #202020, #7a7a7a 50%, #d4d4d4 51%, #3f3f3f); }
.img-urbatop14-1 { background-image: linear-gradient(150deg, #0d0d0d, #4c4c4c 46%, #bcbcbc 47%, #2e2e2e 52%, #050505); }
.img-urbatop14-2 { background-image: linear-gradient(120deg, #161616, #595959 47%, #cacaca 48%, #3b3b3b 53%, #080808); }
.img-urba-1 { background-image: linear-gradient(145deg, #111111, #545454 44%, #c6c6c6 45%, #363636 51%, #050505); }
.img-urba-2 { background-image: linear-gradient(160deg, #0f0f0f, #4f4f4f 49%, #c2c2c2 50%, #313131 54%, #060606); }
.img-pumas-1::before, .img-pumas-2::before, .img-superrugby-1::before, .img-superrugby-2::before,
.img-urbatop14-1::before, .img-urbatop14-2::before, .img-urba-1::before, .img-urba-2::before {
  content: ""; position: absolute; inset: 0;
  background: repeating-linear-gradient(72deg, transparent 0 18px, rgba(255,255,255,.07) 19px 20px);
  mix-blend-mode: screen;
}

.image-overlay { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.72), transparent 65%); }
.hero-card-caption { position: absolute; left: 28px; right: 28px; bottom: 26px; color: white; }
.hero-card-caption span { font-size: 9px; letter-spacing: 1.8px; font-weight: 700; }
.hero-card-caption h2 { font-family: var(--serif); font-size: 27px; line-height: 1.25; font-weight: 400; max-width: 620px; margin: 8px 0 0; }

/* ==========================================================================
   SECTIONS / STORY GRIDS
   ========================================================================== */
.section { padding: 65px 0; }
.section-heading { display: flex; align-items: center; gap: 25px; margin-bottom: 32px; }
.section-heading h2 { font-family: var(--serif); font-size: 30px; font-weight: 400; margin: 0; }
.section-line { height: 1px; background: var(--ink-black); flex: 1; margin-top: 12px; }
.section-heading-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 32px; flex-wrap: wrap; }
.section-more { font-size: 11px; font-weight: 700; letter-spacing: .8px; border-bottom: 1px solid var(--ink-black); padding-bottom: 3px; white-space: nowrap; }
.section-more:hover { opacity: .6; }

.stories-grid { display: grid; grid-template-columns: 1.65fr 1fr 1fr; gap: 22px; }
.story-image { display: block; height: 260px; }
.story-featured .story-image { height: 380px; }
.story-body { padding-top: 16px; }
.story h3 { font-family: var(--serif); font-weight: 400; font-size: 20px; line-height: 1.3; margin: 0 0 10px; }
.story-featured h3 { font-size: 27px; }
.story h3 a:hover { opacity: .65; }
.story p:not(.category) { color: var(--muted); font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
.meta { font-size: 9px; letter-spacing: 1px; color: #8f8f8f; }

.category-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.mini-story .story-image { height: 165px; }
.mini-story .story-body { padding-top: 13px; }
.mini-story h3 { font-size: 16px; }

.quote-band { background: var(--ink-black); color: white; margin: 40px 0 0; }
.quote-inner { max-width: 850px; margin: auto; padding: 85px 30px; text-align: center; }
.quote-mark { font-family: var(--serif); font-size: 66px; line-height: 0; opacity: .4; }
blockquote { font-family: var(--serif); font-size: 28px; line-height: 1.5; font-style: italic; margin: 22px 0; }
.quote-inner p { font-size: 9px; letter-spacing: 2px; opacity: .7; }

.latest-list { border-top: 1px solid var(--line); }
.latest-item { display: grid; grid-template-columns: 66px 1fr 30px; gap: 24px; align-items: center; padding: 26px 0; border-bottom: 1px solid var(--line); transition: padding .25s; }
.latest-item:hover { padding-left: 12px; }
.latest-number { font-family: var(--serif); font-size: 17px; color: #a2a2a2; }
.latest-item h3 { font-family: var(--serif); font-weight: 400; font-size: 21px; margin: 0 0 6px; }
.latest-item p:not(.category) { color: var(--muted); margin: 0; font-size: 13px; }
.arrow { font-size: 19px; }

/* ==========================================================================
   NEWSLETTER
   ========================================================================== */
.newsletter { margin: 65px 0; padding: 50px; background: var(--surface); display: flex; align-items: center; justify-content: space-between; gap: 45px; }
.newsletter h2 { font-family: var(--serif); font-weight: 400; font-size: 30px; line-height: 1.25; margin: 0; }
.newsletter-form { display: grid; grid-template-columns: 1fr auto; width: 420px; }
.newsletter-form input { border: 0; border-bottom: 1px solid var(--ink-black); background: transparent; padding: 14px 5px; font: 14px var(--sans); outline: 0; }
.newsletter-form button { border: 0; background: var(--ink-black); color: white; padding: 0 20px; font-weight: 700; cursor: pointer; }
.newsletter-form small { grid-column: 1/-1; padding-top: 10px; color: var(--muted); font-size: 10px; }
.submitted input { opacity: .5; }
.submitted button::after { content: " ✓"; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--ink-black-strong); color: white; padding: 55px max(30px, calc((100vw - var(--max))/2)); display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-brand p { color: #b7b7b7; font-size: 12px; max-width: 260px; }
.footer-links { display: flex; gap: 22px; font-size: 11px; align-items: center; flex-wrap: wrap; }
.footer-links a:hover { text-decoration: underline; }
.footer-socials { display: flex; gap: 8px; }
.copyright { color: #8a8a8a; font-size: 10px; align-self: flex-end; }

/* ==========================================================================
   CATEGORY PAGES
   ========================================================================== */
.category-header { padding: 65px 0 35px; border-bottom: 1px solid var(--line); }
.category-header h1 { font-family: var(--serif); font-size: clamp(38px, 5vw, 54px); font-weight: 400; margin: 8px 0 12px; }
.category-header .intro { color: var(--muted); max-width: 620px; line-height: 1.7; font-size: 14px; }

.breadcrumbs { font-size: 10px; letter-spacing: .5px; color: var(--muted-light); padding: 22px 0 0; }
.breadcrumbs a:hover { color: var(--ink-black); text-decoration: underline; }
.breadcrumbs span { margin: 0 6px; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; padding: 26px 0; }
.filter-chip { border: 1px solid var(--ink-black); background: transparent; padding: 9px 16px; font-size: 10px; font-weight: 700; letter-spacing: .8px; cursor: pointer; transition: all .2s; color: var(--ink); }
.filter-chip:hover { background: var(--surface); }
.filter-chip.active { background: var(--ink-black); color: white; }

.date-filter-bar { display: flex; gap: 10px; flex-wrap: wrap; padding: 0 0 30px; }
.date-chip { border: 1px solid var(--line); background: transparent; padding: 8px 15px; font-size: 10px; font-weight: 700; letter-spacing: .6px; cursor: pointer; color: var(--muted); transition: all .2s; }
.date-chip:hover { border-color: var(--ink-black); color: var(--ink-black); }
.date-chip.active { background: var(--ink-black); border-color: var(--ink-black); color: white; }

.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 22px; padding-bottom: 60px; }
.category-grid .story-image { height: 210px; }
.empty-state { padding: 60px 0; text-align: center; color: var(--muted); font-size: 14px; }

/* ==========================================================================
   ARTICLE PAGE
   ========================================================================== */
.article-page { max-width: 900px; }
.article-header { padding: 55px 0 40px; text-align: center; }
.back-link { display: inline-block; color: var(--ink-black); font-size: 11px; font-weight: 700; margin-bottom: 40px; border-bottom: 1px solid var(--ink-black); padding-bottom: 2px; }
.back-link:hover { opacity: .6; }
.article-header h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 58px); line-height: 1.08; font-weight: 400; max-width: 850px; margin: 0 auto 20px; }
.article-deck { max-width: 700px; margin: 0 auto 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.article-meta { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; font-size: 9px; letter-spacing: 1px; color: #838383; }
.article-cover { height: 460px; margin-bottom: 50px; }
.article-content { max-width: 680px; margin: auto; padding-bottom: 30px; }
.article-content p { font-family: var(--serif); font-size: 16px; line-height: 1.9; color: #232323; }
.article-content .lead { font-size: 20px; line-height: 1.7; }
.article-content h2 { font-family: var(--serif); font-size: 28px; font-weight: 400; margin: 44px 0 14px; color: var(--ink-black); }
.article-content blockquote { color: var(--ink-black); border-left: 3px solid var(--ink-black); padding: 8px 0 8px 24px; margin: 38px 0; font-size: 22px; }
.article-note { margin-top: 45px; padding: 16px 18px; background: var(--surface); font: 11px/1.6 var(--sans); color: #5a5a5a; border-left: 3px solid var(--ink-black); }

.article-photo { width: 100%; margin: 34px 0 44px; }
.article-photo img { width: 100%; display: block; max-height: 520px; object-fit: cover; }
.photo-caption { font: 10px/1.5 var(--sans); color: #777; padding-top: 8px; }

.share-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 40px 0; margin: 30px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.share-bar span.label { font-size: 10px; font-weight: 700; letter-spacing: .8px; color: var(--muted); }
.share-btn { border: 1px solid var(--ink-black); padding: 9px 14px; font-size: 10px; font-weight: 700; letter-spacing: .6px; transition: all .2s; }
.share-btn:hover { background: var(--ink-black); color: white; }

.article-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 35px 0 20px; max-width: 900px; margin: auto; }
.article-nav a { border: 1px solid var(--line); padding: 20px; display: block; transition: border-color .2s; }
.article-nav a:hover { border-color: var(--ink-black); }
.article-nav .nav-label { font-size: 9px; font-weight: 700; letter-spacing: 1px; color: var(--muted-light); margin-bottom: 8px; display: block; }
.article-nav .nav-title { font-family: var(--serif); font-size: 16px; line-height: 1.35; }
.article-nav .next-article { text-align: right; }

.related-section { max-width: 900px; margin: 40px auto 0; padding-top: 40px; border-top: 1px solid var(--line); }
.related-section h2 { font-family: var(--serif); font-weight: 400; font-size: 24px; margin: 0 0 24px; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-bottom: 70px; }
.related-grid .story-image { height: 150px; }
.related-grid h3 { font-size: 15px; }

.ad-slot { max-width: 900px; margin: 40px auto; padding: 14px; text-align: center; border: 1px dashed var(--line); color: var(--muted-light); font-size: 9px; letter-spacing: 1px; }

/* ==========================================================================
   IMAGES — no clickeables
   ========================================================================== */
.photo-not-clickable { display: block; position: relative; overflow: hidden; cursor: default; }
.photo-not-clickable img, .photo-not-clickable.ph-image { transition: transform .5s ease; }
.story-image:hover img, .article-cover:hover, .story-image.ph-image:hover { transform: scale(1.02); }
.ph-image { display: block; width: 100%; height: 100%; }

/* ==========================================================================
   CALENDAR PAGE
   ========================================================================== */
.calendar-hero { padding: 55px 0 25px; }
.calendar-hero h1 { font-family: var(--serif); font-size: clamp(36px, 5vw, 50px); font-weight: 400; margin: 8px 0 10px; }
.calendar-hero .intro { color: var(--muted); max-width: 600px; font-size: 14px; line-height: 1.7; }

.calendar-controls { display: flex; flex-wrap: wrap; gap: 24px; padding: 20px 0 10px; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.competition-select { display: flex; gap: 8px; flex-wrap: wrap; }
.day-nav { display: flex; align-items: center; gap: 14px; }
.day-nav-btn { border: 1px solid var(--ink-black); background: transparent; width: 34px; height: 34px; cursor: pointer; font-size: 15px; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.day-nav-btn:hover { background: var(--surface); }
.day-nav-today { border: 1px solid var(--ink-black); background: var(--ink-black); color: white; padding: 0 16px; height: 34px; font-size: 10px; font-weight: 700; letter-spacing: .8px; cursor: pointer; }

.calendar-list { padding-bottom: 70px; }
.day-block { margin-bottom: 34px; }
.day-block-header { display: flex; align-items: center; gap: 14px; background: var(--ink-black); color: white; padding: 14px 18px; margin-bottom: 0; }
.day-block-header .dow { font-size: 10px; font-weight: 700; letter-spacing: 1.3px; }
.day-block-header .full-date { font-family: var(--serif); font-size: 15px; }

.competition-block { border: 1px solid var(--line); border-top: 0; }
.competition-block + .competition-block { border-top: 1px solid var(--line); }
.competition-name { font-size: 10px; font-weight: 700; letter-spacing: 1.4px; padding: 14px 18px; background: var(--surface); border-bottom: 1px solid var(--line); }
.match-row { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 13px 18px; border-bottom: 1px solid var(--line-soft); font-size: 13px; transition: background .15s; }
.match-row:last-child { border-bottom: 0; }
.match-row:hover { background: #fafafa; }
.match-time { font-weight: 700; font-family: var(--serif); font-size: 14px; }
.match-teams { font-weight: 600; }
.match-channel { color: var(--muted); font-size: 10px; letter-spacing: .5px; text-align: right; white-space: nowrap; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-page { max-width: 760px; margin: auto; padding: 75px 0 100px; }
.contact-page h1 { font-family: var(--serif); font-size: 52px; font-weight: 400; margin: 0 0 16px; }
.contact-page .intro { color: var(--muted); line-height: 1.8; max-width: 620px; }
.contact-box { margin-top: 42px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; }
.contact-box .label { font-size: 9px; letter-spacing: 1.5px; font-weight: 700; }
.contact-email { display: inline-block; font-family: var(--serif); font-size: 26px; margin-top: 10px; }
.contact-email:hover { text-decoration: underline; }
.contact-socials { margin-top: 32px; display: flex; gap: 10px; flex-wrap: wrap; }
.contact-socials a { border: 1px solid var(--ink-black); padding: 12px 16px; font-size: 10px; font-weight: 700; letter-spacing: .8px; }
.contact-socials a:hover { background: var(--ink-black); color: white; }

/* ==========================================================================
   REVEAL ANIMATIONS
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1140px) {
  .header-inner { padding: 20px 24px; }
}
@media (max-width: 900px) {
  .header-inner { min-height: 84px; padding: 16px 20px; }
  .main-nav, .header-actions .social-links { display: none; }
  .menu-btn { display: block; }
  .hero { grid-template-columns: 1fr; padding-top: 45px; gap: 32px; }
  .hero-image { min-height: 380px; }
  .stories-grid, .category-cards, .category-grid { grid-template-columns: 1fr 1fr; }
  .story-featured { grid-column: 1/-1; }
  .story-featured .story-image { height: 340px; }
  .quote-band { margin-top: 15px; }
  .newsletter { flex-direction: column; align-items: flex-start; padding: 36px 24px; }
  .newsletter-form { width: 100%; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .calendar-controls { flex-direction: column; align-items: flex-start; gap: 16px; }
  .match-row { grid-template-columns: 46px 1fr auto; padding: 12px 14px; font-size: 12px; }
}
@media (max-width: 620px) {
  main { padding: 0 20px; }
  .header-inner { padding: 14px 16px; }
  .brand-name { font-size: 20px; }
  .brand-tagline { display: none; }
  .logo-mark { width: 40px; height: 40px; }
  .hero h1 { font-size: 36px; }
  .stories-grid, .category-cards, .category-grid, .related-grid { grid-template-columns: 1fr; }
  .section { padding: 45px 0; }
  .latest-item { grid-template-columns: 34px 1fr 18px; gap: 10px; }
  .latest-item h3 { font-size: 18px; }
  .article-header { padding-top: 40px; }
  .article-meta { gap: 8px 14px; }
  .article-cover { height: 260px; }
  .article-content .lead { font-size: 17px; }
  .article-nav { grid-template-columns: 1fr; }
  .newsletter-form { grid-template-columns: 1fr; gap: 10px; }
  .newsletter-form button { min-height: 45px; }
  .footer { padding-left: 20px; padding-right: 20px; }
  .footer-links { width: 100%; }
  .quote-inner { padding: 55px 18px; }
  blockquote { font-size: 21px; }
  .match-row { grid-template-columns: 40px 1fr; }
  .match-channel { grid-column: 1/-1; text-align: left; padding-left: 40px; margin-top: -6px; }
  .search-overlay { padding: 70px 18px; }
  .search-overlay input { font-size: 22px; }
}
.story-image img,.hero-image img{width:100%;height:100%;object-fit:cover;display:block}


/* ================================
   MOBILE - POSTS DEL INICIO
   ================================ */

@media (max-width: 768px) {

  /* Grillas de noticias */
  .stories-grid,
  .category-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    width: 100%;
  }

  /* Evita que las tarjetas se salgan de la pantalla */
  .story-card,
  .category-card {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }

  /* Imágenes de las noticias */
  .story-card img,
  .category-card img,
  .story-image,
  .category-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
  }

  /* Si las imágenes son divs con background */
  .story-card .ph-image,
  .category-card .ph-image {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Evita textos que empujen las tarjetas */
  .story-card *,
  .category-card * {
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Títulos */
  .story-card h2,
  .story-card h3,
  .category-card h2,
  .category-card h3 {
    overflow-wrap: break-word;
    word-break: normal;
  }
}
