/*
Theme Name: FEDEORO
Theme URI: https://fedeoro.org/
Author: FEDEORO
Description: Tema institucional creado a medida para la Federación Deportiva Provincial de El Oro.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: fedeoro-deportes
*/

:root {
  --fedeoro-navy: #00542a;
  --fedeoro-blue: #008c41;
  --fedeoro-gold: #e7c43d;
  --fedeoro-gold-light: #fff078;
  --fedeoro-ink: #063c22;
  --fedeoro-muted: #637465;
  --fedeoro-cloud: #f4f8f2;
  --fedeoro-white: #ffffff;
  --fedeoro-line: rgba(0, 84, 42, .14);
  --fedeoro-display: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  --fedeoro-body: "DM Sans", Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --fedeoro-radius: 22px;
  --fedeoro-shadow: 0 20px 50px rgba(0, 84, 42, .14);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--fedeoro-ink);
  background: var(--fedeoro-white);
  font-family: var(--fedeoro-body);
  font-size: 16px;
  line-height: 1.6;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.screen-reader-text { clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; word-wrap: normal !important; }
.screen-reader-text:focus { background: #fff; clip: auto !important; clip-path: none; color: var(--fedeoro-navy); display: block; height: auto; left: 5px; padding: 12px 16px; top: 5px; width: auto; z-index: 100000; }
.site-shell { overflow: hidden; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.topbar { background: var(--fedeoro-navy); color: rgba(255,255,255,.82); font-size: .78rem; letter-spacing: .04em; }
.topbar__content { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.topbar__links { display: inline-flex; align-items: center; gap: 15px; }
.topbar a { color: var(--fedeoro-gold-light); font-weight: 700; }
.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--fedeoro-line); }
.header__content { min-height: 82px; display: flex; align-items: center; gap: 14px; }
.custom-logo-link { display: block; line-height: 0; }
.custom-logo { width: auto; max-height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: var(--fedeoro-navy); font-size: 1.35rem; font-weight: 900; letter-spacing: -.055em; }
.brand__logo { width: 64px; height: 64px; display: block; object-fit: cover; object-position: center 34%; border-radius: 15px; filter: drop-shadow(0 5px 8px rgba(0, 46, 22, .17)); }
.brand__name { letter-spacing: -.055em; }
.menu-toggle { display: none; border: 0; background: transparent; color: var(--fedeoro-navy); cursor: pointer; font-size: 1.7rem; padding: 8px; }
.primary-nav { margin-left: auto; }
.primary-nav .menu { display: flex; align-items: center; list-style: none; margin: 0; padding: 0; gap: 1px; }
.primary-nav .menu > li { position: relative; }
.primary-nav a, .menu-parent { color: var(--fedeoro-ink); font-size: .73rem; font-weight: 900; letter-spacing: .025em; text-transform: uppercase; }
.primary-nav .menu > li > a, .menu-parent { display: inline-flex; align-items: center; gap: 5px; padding: 16px 8px; border: 0; background: transparent; cursor: pointer; }
.menu-parent span { color: var(--fedeoro-blue); font-size: 1rem; line-height: .5; transition: transform .2s ease; }
.menu-item-has-children:hover > .menu-parent span, .menu-item-has-children.is-open > .menu-parent span { transform: rotate(180deg); }
.primary-nav a:hover, .primary-nav .current-menu-item > a, .menu-parent:hover { color: var(--fedeoro-blue); }
.sub-menu { display: none; position: absolute; top: calc(100% - 3px); left: 0; z-index: 30; width: max-content; min-width: 225px; max-width: 285px; margin: 0; padding: 9px; list-style: none; border: 1px solid var(--fedeoro-line); border-radius: 0 0 14px 14px; background: var(--fedeoro-white); box-shadow: 0 18px 35px rgba(0,84,42,.15); }
.menu-item-has-children:hover > .sub-menu, .menu-item-has-children:focus-within > .sub-menu, .menu-item-has-children.is-open > .sub-menu { display: block; }
.sub-menu a, .menu-placeholder { display: block; padding: 9px 11px; border-radius: 7px; color: var(--fedeoro-ink); font-size: .77rem; font-weight: 700; letter-spacing: 0; text-align: left; text-transform: none; white-space: normal; }
.sub-menu a:hover { background: var(--fedeoro-cloud); color: var(--fedeoro-blue); }
.menu-placeholder { color: var(--fedeoro-muted); cursor: default; }
.admin-system-button { display: inline-flex; align-items: center; gap: 7px; flex: 0 0 auto; max-width: 190px; padding: 9px 12px; border-radius: 10px; background: var(--fedeoro-navy); box-shadow: 0 7px 18px rgba(0,84,42,.18); color: var(--fedeoro-white); font-size: .61rem; font-weight: 900; letter-spacing: .055em; line-height: 1.15; text-transform: uppercase; transition: background .2s ease, transform .2s ease; }
.admin-system-button:hover { background: var(--fedeoro-blue); transform: translateY(-1px); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 51px; padding: 0 23px; border: 1px solid transparent; border-radius: 999px; font-size: .88rem; font-weight: 900; letter-spacing: .025em; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button--gold { background: var(--fedeoro-gold); box-shadow: 0 12px 25px rgba(231,196,61,.28); color: var(--fedeoro-navy); }
.button--gold:hover { background: var(--fedeoro-gold-light); }
.button--light { color: var(--fedeoro-white); border-color: rgba(255,255,255,.38); }
.button--light:hover { background: var(--fedeoro-white); color: var(--fedeoro-navy); }
.button--blue { background: var(--fedeoro-blue); color: var(--fedeoro-white); }

.hero { position: relative; isolation: isolate; min-height: 675px; display: grid; align-items: center; color: var(--fedeoro-white); background: radial-gradient(circle at 77% 25%, rgba(0,154,71,.9) 0 2%, transparent 27%), linear-gradient(118deg, #003619 0%, #00632f 51%, #008c41 100%); }
.hero::before { content: ""; position: absolute; z-index: -1; inset: 0; opacity: .42; background-image: linear-gradient(115deg, transparent 0 48%, rgba(255,255,255,.09) 48% 50%, transparent 50% 100%), repeating-linear-gradient(90deg, rgba(255,255,255,.06) 0 1px, transparent 1px 76px); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 610px; height: 610px; right: -150px; bottom: -300px; border-radius: 50%; border: 100px solid rgba(231,196,61,.95); box-shadow: 0 0 0 35px rgba(255,255,255,.05); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr); align-items: center; gap: 58px; padding: 90px 0 100px; }
.eyebrow { margin: 0 0 17px; color: var(--fedeoro-gold-light); font-size: .76rem; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 700px; margin: 0; font-family: var(--fedeoro-display); font-size: clamp(3.5rem, 8vw, 7.2rem); font-weight: 400; letter-spacing: .005em; line-height: .86; text-transform: uppercase; }
.hero h1 em { color: var(--fedeoro-gold); font-style: normal; }
.hero__copy { max-width: 540px; margin: 25px 0 31px; color: rgba(255,255,255,.8); font-size: 1.05rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { min-height: 400px; position: relative; }
.hero__crest { position: absolute; inset: 23px 7% auto auto; width: min(340px, 100%); aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: linear-gradient(145deg, rgba(255,255,255,.15), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 18px rgba(255,255,255,.05); }
.hero__crest::before { content: ""; position: absolute; inset: 21px; border: 1px solid rgba(231,196,61,.65); border-radius: 50%; }
.hero__crest img { position: relative; z-index: 1; width: 176px; height: 176px; object-fit: cover; object-position: center 34%; border-radius: 35% 35% 42% 42%; filter: drop-shadow(0 16px 22px rgba(0,0,0,.28)); }
.hero__crest small { position: absolute; bottom: 61px; color: var(--fedeoro-white); font-size: .7rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.hero__tag { position: absolute; right: 0; bottom: 42px; display: flex; align-items: center; gap: 12px; width: 230px; padding: 16px 19px; background: rgba(255,255,255,.97); border-radius: 13px; box-shadow: 0 15px 35px rgba(0,0,0,.17); color: var(--fedeoro-navy); font-size: .82rem; font-weight: 900; }
.hero__tag b { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--fedeoro-gold); font-family: var(--fedeoro-display); font-size: 1.2rem; }

.intro-strip { position: relative; margin-top: -43px; z-index: 3; }
.intro-strip__content { display: grid; grid-template-columns: repeat(3, 1fr); overflow: hidden; border-radius: 14px; background: var(--fedeoro-white); box-shadow: var(--fedeoro-shadow); }
.intro-strip__item { min-height: 112px; display: flex; align-items: center; gap: 16px; padding: 25px 30px; border-right: 1px solid var(--fedeoro-line); }
.intro-strip__item:last-child { border: 0; }
.intro-strip__icon { flex: 0 0 42px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: rgba(231,196,61,.26); color: var(--fedeoro-navy); font-family: var(--fedeoro-display); font-size: 1.25rem; }
.intro-strip__item strong { display: block; font-size: .92rem; line-height: 1.25; }
.intro-strip__item span { display: block; margin-top: 4px; color: var(--fedeoro-muted); font-size: .78rem; }

.section { padding: 108px 0; }
.section--cloud { background: var(--fedeoro-cloud); }
.section--navy { color: var(--fedeoro-white); background: var(--fedeoro-navy); }
.section-heading { max-width: 675px; margin-bottom: 42px; }
.section-heading--row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 30px; }
.section-heading .eyebrow { color: var(--fedeoro-blue); }
.section--navy .eyebrow { color: var(--fedeoro-gold-light); }
.section-heading h2 { max-width: 650px; margin: 0; font-family: var(--fedeoro-display); font-size: clamp(2.7rem, 5.3vw, 4.65rem); font-weight: 400; letter-spacing: .01em; line-height: .92; text-transform: uppercase; }
.section-heading p:not(.eyebrow) { max-width: 560px; margin: 18px 0 0; color: var(--fedeoro-muted); }
.section--navy .section-heading p:not(.eyebrow) { color: rgba(255,255,255,.7); }
.text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--fedeoro-blue); font-size: .87rem; font-weight: 900; }
.text-link::after { content: "→"; font-size: 1.1rem; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(3px); }

.sports-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sport-card { min-height: 275px; position: relative; display: flex; flex-direction: column; justify-content: end; overflow: hidden; padding: 25px; background: var(--fedeoro-white); border-radius: var(--fedeoro-radius); box-shadow: 0 10px 35px rgba(0,84,42,.09); transition: transform .22s ease, background .22s ease; }
.sport-card:hover { background: var(--fedeoro-navy); color: var(--fedeoro-white); transform: translateY(-7px); }
.sport-card__number { position: absolute; top: 17px; right: 19px; color: rgba(0,84,42,.1); font-family: var(--fedeoro-display); font-size: 6.8rem; line-height: .8; transition: color .22s ease; }
.sport-card:hover .sport-card__number { color: rgba(255,255,255,.09); }
.sport-card__glyph { width: 52px; height: 52px; position: absolute; top: 27px; left: 25px; display: grid; place-items: center; border-radius: 50%; background: var(--fedeoro-gold); color: var(--fedeoro-navy); font-size: 1.45rem; font-weight: 900; }
.sport-card h3 { position: relative; z-index: 1; margin: 0 0 7px; font-family: var(--fedeoro-display); font-size: 2rem; font-weight: 400; letter-spacing: .02em; text-transform: uppercase; }
.sport-card p { position: relative; z-index: 1; margin: 0; color: var(--fedeoro-muted); font-size: .81rem; }
.sport-card:hover p { color: rgba(255,255,255,.65); }

.agenda { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 55px; align-items: center; }
.agenda__window { min-height: 430px; position: relative; display: grid; place-items: center; overflow: hidden; border-radius: var(--fedeoro-radius); background: linear-gradient(135deg, #0f4ba9, #071d49 73%); }
.agenda__window::before { content: ""; position: absolute; width: 360px; height: 360px; top: -105px; left: -85px; border: 45px solid var(--fedeoro-gold); border-radius: 50%; }
.agenda__window::after { content: "EL ORO"; position: absolute; bottom: 13px; right: -12px; color: rgba(255,255,255,.06); font-family: var(--fedeoro-display); font-size: 8rem; letter-spacing: .02em; }
.agenda__window-content { z-index: 1; max-width: 300px; padding: 35px; text-align: center; color: var(--fedeoro-white); }
.agenda__window-content strong { display: block; color: var(--fedeoro-gold-light); font-family: var(--fedeoro-display); font-size: 5rem; font-weight: 400; line-height: .85; }
.agenda__window-content span { display: block; margin-top: 9px; font-size: .77rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.agenda__window-content p { margin: 19px 0 0; color: rgba(255,255,255,.76); font-size: .87rem; }
.event-list { list-style: none; margin: 0; padding: 0; }
.event-list__item { display: grid; grid-template-columns: 68px 1fr auto; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.event-list__item:first-child { border-top: 1px solid rgba(255,255,255,.15); }
.event-date { text-align: center; }
.event-date b { display: block; color: var(--fedeoro-gold); font-family: var(--fedeoro-display); font-size: 2.45rem; font-weight: 400; line-height: .8; }
.event-date span { display: block; margin-top: 7px; color: rgba(255,255,255,.6); font-size: .67rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.event-list h3 { margin: 0; font-size: .98rem; line-height: 1.32; }
.event-list p { margin: 4px 0 0; color: rgba(255,255,255,.58); font-size: .78rem; }
.event-arrow { color: var(--fedeoro-gold); font-size: 1.45rem; }
.empty-events { padding: 25px; border: 1px dashed rgba(255,255,255,.35); border-radius: 12px; color: rgba(255,255,255,.7); }

.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 23px; }
.news-card { display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--fedeoro-line); border-radius: 18px; background: var(--fedeoro-white); }
.news-card__image { min-height: 190px; display: block; overflow: hidden; background: linear-gradient(135deg, var(--fedeoro-navy), var(--fedeoro-blue)); }
.news-card__image img { width: 100%; height: 230px; display: block; object-fit: cover; transition: transform .25s ease; }
.news-card:hover .news-card__image img { transform: scale(1.04); }
.news-card__placeholder { height: 100%; min-height: 190px; position: relative; background: linear-gradient(135deg, var(--fedeoro-blue), var(--fedeoro-navy)); }
.news-card__placeholder::after { content: "FEDEORO"; position: absolute; right: -6px; bottom: -10px; color: rgba(255,255,255,.1); font-family: var(--fedeoro-display); font-size: 4rem; }
.news-card__body { display: flex; flex: 1; flex-direction: column; padding: 23px; }
.news-card__meta { color: var(--fedeoro-blue); font-size: .69rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.news-card h3 { margin: 10px 0 13px; font-size: 1.1rem; line-height: 1.35; }
.news-card h3 a:hover { color: var(--fedeoro-blue); }
.news-card p { margin: 0 0 18px; color: var(--fedeoro-muted); font-size: .84rem; }
.news-card .text-link { margin-top: auto; }
.empty-news { grid-column: 1 / -1; padding: 35px; border: 1px dashed var(--fedeoro-line); border-radius: 16px; color: var(--fedeoro-muted); }

.cta { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 52px; border-radius: var(--fedeoro-radius); background: linear-gradient(118deg, var(--fedeoro-gold) 0 41%, #ffd86c 41% 100%); color: var(--fedeoro-navy); }
.cta h2 { max-width: 660px; margin: 0; font-family: var(--fedeoro-display); font-size: clamp(2.4rem, 4.5vw, 4rem); font-weight: 400; line-height: .92; text-transform: uppercase; }
.cta p { max-width: 610px; margin: 13px 0 0; font-size: .94rem; }
.cta .button { background: var(--fedeoro-navy); color: var(--fedeoro-white); }

.site-footer { background: #003619; color: rgba(255,255,255,.74); }
.footer__content { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 65px; padding: 78px 0 48px; }
.site-footer .brand { color: var(--fedeoro-white); }
.footer__about p { max-width: 330px; margin: 20px 0 0; font-size: .86rem; }
.footer__title { margin: 4px 0 17px; color: var(--fedeoro-white); font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; }
.footer__menu { list-style: none; margin: 0; padding: 0; }
.footer__menu li { margin: 9px 0; }
.footer__menu a, .footer__contact a { font-size: .85rem; }
.footer__menu a:hover, .footer__contact a:hover { color: var(--fedeoro-gold); }
.footer__contact p { margin: 0 0 12px; font-size: .85rem; }
.footer__bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255,255,255,.11); font-size: .74rem; }
.footer__legal { display: inline-flex; flex-wrap: wrap; gap: 5px; }
.footer__legal a:hover { color: var(--fedeoro-gold); }

.page-header { padding: 95px 0 75px; background: linear-gradient(120deg, #071d49, #0d3d91); color: var(--fedeoro-white); }
.page-header h1 { margin: 0; font-family: var(--fedeoro-display); font-size: clamp(3rem, 7vw, 5.4rem); font-weight: 400; line-height: .9; text-transform: uppercase; }
.content-area { padding: 75px 0; }
.content-area .entry-content { max-width: 800px; }
.content-area h1, .content-area h2, .content-area h3 { color: var(--fedeoro-navy); }
.content-area h2 { font-size: 1.6rem; }
.post-list { display: grid; gap: 25px; }
.post-list article { padding: 26px; border: 1px solid var(--fedeoro-line); border-radius: 15px; }
.post-list h2 { margin: 0 0 8px; font-size: 1.45rem; }
.post-list .entry-meta { color: var(--fedeoro-muted); font-size: .8rem; }

@media (max-width: 900px) {
  .header__content { min-height: 72px; justify-content: space-between; }
  .menu-toggle { display: block; }
  .admin-system-button { display: none; }
  .primary-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; padding: 17px 20px 23px; background: var(--fedeoro-white); border-bottom: 1px solid var(--fedeoro-line); box-shadow: 0 13px 22px rgba(0,84,42,.08); }
  .primary-nav.is-open { display: block; }
  .primary-nav .menu { align-items: stretch; flex-direction: column; gap: 0; }
  .primary-nav .menu > li { border-bottom: 1px solid var(--fedeoro-line); }
  .primary-nav .menu > li > a, .menu-parent { display: flex; width: 100%; justify-content: space-between; padding: 12px 0; }
  .sub-menu { position: static; width: auto; max-width: none; margin: 0 0 12px; padding: 4px 0 6px; border: 0; border-left: 2px solid var(--fedeoro-gold); border-radius: 0; box-shadow: none; }
  .menu-item-has-children:hover > .sub-menu { display: none; }
  .menu-item-has-children.is-open > .sub-menu { display: block; }
  .hero { min-height: auto; }
  .hero__grid { grid-template-columns: 1fr; gap: 0; padding: 80px 0 68px; }
  .hero__art { display: none; }
  .intro-strip__content { grid-template-columns: 1fr; }
  .intro-strip__item { min-height: 86px; border-right: 0; border-bottom: 1px solid var(--fedeoro-line); }
  .sports-grid { grid-template-columns: repeat(2, 1fr); }
  .agenda { grid-template-columns: 1fr; gap: 35px; }
  .news-grid { grid-template-columns: 1fr; max-width: 570px; }
  .footer__content { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer__about { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .container { width: min(100% - 30px, 1180px); }
  .topbar__content { justify-content: center; min-height: 34px; }
  .topbar__content > span:first-child { display: none; }
  .topbar__links { flex-wrap: wrap; gap: 5px 13px; }
  .hero__grid { padding: 68px 0 78px; }
  .hero h1 { font-size: clamp(3.45rem, 18vw, 5.3rem); }
  .hero__copy { font-size: .96rem; }
  .intro-strip { margin-top: -30px; }
  .intro-strip__item { padding: 19px 20px; }
  .section { padding: 74px 0; }
  .section-heading { margin-bottom: 30px; }
  .section-heading--row { display: block; }
  .section-heading--row .text-link { margin-top: 18px; }
  .section-heading h2 { font-size: 2.7rem; }
  .sports-grid { grid-template-columns: 1fr; }
  .sport-card { min-height: 220px; }
  .event-list__item { grid-template-columns: 56px 1fr 18px; gap: 13px; }
  .cta { grid-template-columns: 1fr; padding: 34px 27px; }
  .cta .button { justify-self: start; }
  .footer__content { grid-template-columns: 1fr; gap: 28px; padding-top: 59px; }
  .footer__about { grid-column: auto; }
	.footer__bottom { align-items: flex-start; flex-direction: column; }
  .page-header { padding: 65px 0 55px; }
}

/* Portada institucional */
.home-hero { position: relative; overflow: hidden; color: var(--fedeoro-white); background: linear-gradient(118deg, #003619 0%, #00542a 56%, #008c41 100%); }
.home-hero::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(90deg, rgba(255,255,255,.045) 0 1px, transparent 1px 72px); }
.home-hero__grid { position: relative; z-index: 1; min-height: 620px; display: grid; grid-template-columns: minmax(0, 1.03fr) minmax(330px, .97fr); gap: 44px; align-items: stretch; }
.home-hero__content { align-self: center; padding: 95px 0 110px; }
.home-hero h1 { max-width: 690px; margin: 0; font-family: var(--fedeoro-display); font-size: clamp(3.6rem, 6.3vw, 6.2rem); font-weight: 400; letter-spacing: .008em; line-height: .89; text-transform: uppercase; }
.home-hero h1 em { color: var(--fedeoro-gold); font-style: normal; }
.home-hero__copy { max-width: 515px; margin: 25px 0 31px; color: rgba(255,255,255,.86); font-size: 1.08rem; }
.home-hero__visual { position: relative; min-height: 620px; overflow: hidden; background: linear-gradient(0deg, rgba(0,54,25,.52), rgba(0,54,25,.05)), var(--hero-image, url('assets/deportista-destacado.jpg')) center / cover no-repeat; clip-path: polygon(14% 0, 100% 0, 100% 100%, 0 100%); }
.home-hero__visual::after { content: ""; position: absolute; width: 340px; height: 340px; right: -135px; bottom: -138px; border: 48px solid var(--fedeoro-gold); border-radius: 50%; opacity: .93; }
.home-hero__visual-label { position: absolute; left: 12%; bottom: 51px; z-index: 1; display: grid; color: var(--fedeoro-white); text-transform: uppercase; }
.home-hero__visual-label span { color: var(--fedeoro-gold-light); font-size: .75rem; font-weight: 900; letter-spacing: .19em; }
.home-hero__visual-label strong { font-family: var(--fedeoro-display); font-size: 3.2rem; font-weight: 400; letter-spacing: .04em; line-height: .9; }
.social-pills { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-top: 34px; color: rgba(255,255,255,.66); font-size: .76rem; font-weight: 700; }
.social-pills a { padding: 5px 10px; border: 1px solid rgba(255,255,255,.32); border-radius: 999px; color: var(--fedeoro-white); }
.social-pills a:hover { border-color: var(--fedeoro-gold); color: var(--fedeoro-gold-light); }

.quick-access { position: relative; z-index: 2; margin-top: -37px; }
.quick-access__grid { display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; border-radius: 15px; background: var(--fedeoro-white); box-shadow: var(--fedeoro-shadow); }
.quick-card { min-height: 125px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 13px; padding: 22px; border-right: 1px solid var(--fedeoro-line); color: var(--fedeoro-ink); font-size: .89rem; font-weight: 900; line-height: 1.22; }
.quick-card:last-child { border: 0; }
.quick-card:hover { background: var(--fedeoro-cloud); color: var(--fedeoro-blue); }
.quick-card__icon { font-size: 1.55rem; }
.quick-card b { color: var(--fedeoro-blue); font-size: 1.35rem; }
.quick-card--system { background: var(--fedeoro-navy); color: var(--fedeoro-white); }
.quick-card--system b { color: var(--fedeoro-gold); }
.quick-card--system:hover { background: var(--fedeoro-blue); color: var(--fedeoro-white); }
.section--news { padding-top: 126px; }

.institution { display: grid; grid-template-columns: minmax(290px, .86fr) minmax(0, 1.14fr); gap: 9%; align-items: center; }
.institution__visual { min-height: 420px; display: grid; place-items: center; position: relative; overflow: hidden; border-radius: var(--fedeoro-radius); background: linear-gradient(145deg, #003619, #008c41); }
.institution__visual::before, .institution__visual::after { content: ""; position: absolute; border-radius: 50%; }
.institution__visual::before { width: 360px; height: 360px; top: -135px; left: -110px; border: 38px solid rgba(231,196,61,.86); }
.institution__visual::after { width: 240px; height: 240px; right: -105px; bottom: -100px; border: 26px solid rgba(255,255,255,.14); }
.institution__visual img { position: relative; z-index: 1; width: min(245px, 63%); height: auto; filter: drop-shadow(0 22px 24px rgba(0,0,0,.25)); }
.institution__copy h2, .tv-feature h2 { margin: 0; font-family: var(--fedeoro-display); font-size: clamp(2.9rem, 5vw, 4.5rem); font-weight: 400; line-height: .92; text-transform: uppercase; }
.institution__copy > p:not(.eyebrow), .tv-feature > div > p:not(.eyebrow) { max-width: 595px; margin: 21px 0 28px; color: var(--fedeoro-muted); }
.section-note { max-width: 225px; color: var(--fedeoro-muted); font-size: .76rem; line-height: 1.45; }
.disciplines-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.discipline-card { min-height: 185px; position: relative; display: flex; align-items: end; overflow: hidden; padding: 21px; border-radius: 16px; color: var(--fedeoro-white); background: linear-gradient(145deg, #004220, #008c41); }
.discipline-card::before { content: ""; position: absolute; inset: 0; opacity: .48; background: linear-gradient(135deg, transparent 0 47%, rgba(255,255,255,.17) 47% 49%, transparent 49% 100%), repeating-linear-gradient(90deg, rgba(255,255,255,.08) 0 1px, transparent 1px 37px); }
.discipline-card:nth-child(2n) { background: linear-gradient(145deg, #006b35, #0fa356); }
.discipline-card:nth-child(3n) { background: linear-gradient(145deg, #004220, #006f3a); }
.discipline-card.has-image::before { z-index: 1; opacity: 1; background: linear-gradient(0deg, rgba(0,54,25,.86), rgba(0,54,25,.08)); }
.discipline-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.discipline-card span { position: absolute; top: 14px; right: 17px; color: rgba(255,255,255,.48); font-family: var(--fedeoro-display); font-size: 2.3rem; }
.discipline-card span { z-index: 2; }
.discipline-card__copy { position: relative; z-index: 2; }
.discipline-card h3 { margin: 0; font-family: var(--fedeoro-display); font-size: 2rem; font-weight: 400; letter-spacing: .02em; line-height: .9; text-transform: uppercase; }
.discipline-card h3 a:hover { color: var(--fedeoro-gold-light); }
.discipline-card p { margin: 8px 0 0; color: rgba(255,255,255,.75); font-size: .74rem; line-height: 1.35; }
.section-action { margin-top: 32px; text-align: center; }

.section--games { position: relative; overflow: hidden; color: var(--fedeoro-white); background: #003619; }
.section--games::before { content: ""; position: absolute; inset: 0; opacity: .5; background: radial-gradient(circle at 91% 20%, rgba(231,196,61,.48) 0 1%, transparent 23%), linear-gradient(127deg, transparent 0 52%, rgba(255,255,255,.07) 52% 54%, transparent 54% 100%); }
.games-feature { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(300px, .9fr); gap: 80px; align-items: center; }
.games-feature h2 { margin: 0; font-family: var(--fedeoro-display); font-size: clamp(3.3rem, 6.4vw, 5.7rem); font-weight: 400; line-height: .86; text-transform: uppercase; }
.games-feature > div > strong { display: block; margin-top: 9px; color: var(--fedeoro-gold); font-size: .98rem; letter-spacing: .2em; text-transform: uppercase; }
.games-feature > div > p { max-width: 570px; margin: 22px 0 0; color: rgba(255,255,255,.72); }
.games-feature__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }
.games-feature__links a, .games-feature__links span { padding: 19px; border: 1px solid rgba(255,255,255,.24); border-radius: 12px; color: var(--fedeoro-white); font-size: .84rem; font-weight: 900; text-align: center; text-transform: uppercase; }
.games-feature__links span { opacity: .58; cursor: default; }
.games-feature__links a:hover { border-color: var(--fedeoro-gold); background: var(--fedeoro-gold); color: var(--fedeoro-navy); }

.athletes-grid { display: grid; grid-template-columns: 1.26fr .87fr .87fr; gap: 18px; }
.athlete-card { min-height: 310px; position: relative; display: flex; flex-direction: column; justify-content: space-between; overflow: hidden; padding: 28px; border-radius: 18px; background: var(--fedeoro-white); box-shadow: 0 10px 30px rgba(0,84,42,.08); }
.athlete-card--featured { color: var(--fedeoro-white); background: linear-gradient(0deg, rgba(0,54,25,.87), rgba(0,54,25,.14)), url('assets/deportista-destacado.jpg') center / cover no-repeat; }
.athlete-card.has-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,54,25,.88), rgba(0,54,25,.12)); }
.athlete-card__image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.athlete-card__copy, .athlete-card__label { position: relative; z-index: 1; }
.athlete-card.has-image { color: var(--fedeoro-white); }
.athlete-card__label { align-self: start; padding: 6px 10px; border-radius: 999px; background: var(--fedeoro-gold); color: var(--fedeoro-navy); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.athlete-card h3 { margin: 0 0 7px; font-family: var(--fedeoro-display); font-size: 2.25rem; font-weight: 400; line-height: .9; text-transform: uppercase; }
.athlete-card p { margin: 0; color: var(--fedeoro-muted); font-size: .84rem; }
.athlete-card--featured p, .athlete-card.has-image p { color: rgba(255,255,255,.78); }
.athlete-card h3 a:hover { color: var(--fedeoro-gold-light); }

.documents-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.document-card { min-height: 220px; position: relative; display: flex; flex-direction: column; justify-content: end; padding: 24px; border: 1px solid var(--fedeoro-line); border-radius: 16px; background: var(--fedeoro-white); }
.document-card:not(.document-card--pending):hover { background: var(--fedeoro-navy); border-color: var(--fedeoro-navy); color: var(--fedeoro-white); transform: translateY(-4px); }
.document-card > span { position: absolute; top: 20px; right: 21px; color: var(--fedeoro-blue); font-size: 1.4rem; }
.document-card h3 { margin: 0 0 9px; font-size: 1rem; line-height: 1.2; }
.document-card p { margin: 0; color: var(--fedeoro-muted); font-size: .78rem; line-height: 1.45; }
.document-card:hover p { color: rgba(255,255,255,.7); }
.document-card--pending { opacity: .75; }

.section--gallery { background: var(--fedeoro-cloud); }
.gallery-links { display: flex; flex-wrap: wrap; gap: 19px; }
.gallery-mosaic { display: grid; grid-template-columns: 1.5fr 1fr 1fr; grid-template-rows: 185px 185px; gap: 14px; }
.gallery-mosaic > div { min-height: 150px; border-radius: 14px; background: linear-gradient(145deg, #00632f, #008c41); }
.gallery-mosaic > div:nth-child(2) { background: linear-gradient(145deg, #e7c43d, #a58208); }
.gallery-mosaic > div:nth-child(3) { background: linear-gradient(145deg, #004220, #006c34); }
.gallery-mosaic > div:nth-child(4) { background: linear-gradient(145deg, #0d7d42, #00a34c); }
.gallery-mosaic > div:nth-child(5) { background: linear-gradient(145deg, #e7c43d, #075128); }
.gallery-mosaic__feature { grid-row: span 2; position: relative; background: linear-gradient(0deg, rgba(0,54,25,.48), rgba(0,54,25,.03)), url('assets/deportista-destacado.jpg') center / cover no-repeat !important; }
.gallery-mosaic__feature::after { content: "FEDEORO"; position: absolute; right: 18px; bottom: 12px; color: rgba(255,255,255,.82); font-family: var(--fedeoro-display); font-size: 2rem; letter-spacing: .04em; }
.gallery-mosaic--dynamic .gallery-card { min-height: 150px; position: relative; overflow: hidden; border-radius: 14px; background: linear-gradient(145deg, #00632f, #008c41); }
.gallery-mosaic--dynamic .gallery-card--feature { grid-row: span 2; }
.gallery-card a { height: 100%; display: block; color: var(--fedeoro-white); }
.gallery-card img { width: 100%; height: 100%; display: block; object-fit: cover; }
.gallery-card a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,54,25,.8), transparent 62%); }
.gallery-card div { position: absolute; z-index: 1; right: 17px; bottom: 15px; left: 17px; }
.gallery-card span { color: var(--fedeoro-gold-light); font-size: .65rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.gallery-card h3 { margin: 3px 0 0; font-family: var(--fedeoro-display); font-size: 1.65rem; font-weight: 400; line-height: .9; text-transform: uppercase; }

.section--tv { color: var(--fedeoro-white); background: linear-gradient(118deg, #003619, #006c34); }
.section--tv .eyebrow { color: var(--fedeoro-gold-light); }
.section--tv .tv-feature > div > p { color: rgba(255,255,255,.7); }
.tv-feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .86fr); gap: 9%; align-items: center; }
.tv-feature__screen { min-height: 295px; display: grid; place-content: center; justify-items: center; gap: 13px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); border-radius: var(--fedeoro-radius); background: radial-gradient(circle at center, rgba(231,196,61,.23) 0 1%, transparent 38%), linear-gradient(135deg, rgba(255,255,255,.13), rgba(255,255,255,.02)); }
.tv-feature__screen span { width: 72px; height: 72px; display: grid; place-items: center; padding-left: 4px; border-radius: 50%; background: var(--fedeoro-gold); color: var(--fedeoro-navy); font-size: 1.4rem; }
.tv-feature__screen small { font-size: .72rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }

@media (max-width: 900px) {
  .home-hero__grid, .institution, .games-feature, .tv-feature { grid-template-columns: 1fr; }
  .home-hero__grid { min-height: auto; }
  .home-hero__content { padding: 80px 0 70px; }
  .home-hero__visual { min-height: 390px; clip-path: none; }
  .quick-access__grid { grid-template-columns: repeat(2, 1fr); }
  .quick-card:nth-child(2) { border-right: 0; }
  .quick-card:nth-child(-n+2) { border-bottom: 1px solid var(--fedeoro-line); }
  .section--news { padding-top: 102px; }
  .institution, .games-feature, .tv-feature { gap: 38px; }
  .disciplines-grid, .documents-grid { grid-template-columns: repeat(2, 1fr); }
  .athletes-grid { grid-template-columns: 1fr 1fr; }
  .athlete-card--featured { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .home-hero__content { padding: 72px 0 57px; }
  .home-hero h1 { font-size: clamp(3.25rem, 16vw, 4.8rem); }
  .home-hero__visual { min-height: 300px; }
  .home-hero__visual-label { left: 9%; bottom: 31px; }
  .quick-access { margin-top: -20px; }
  .quick-access__grid { grid-template-columns: 1fr; }
  .quick-card, .quick-card:nth-child(2), .quick-card:nth-child(-n+2) { min-height: 85px; border-right: 0; border-bottom: 1px solid var(--fedeoro-line); }
  .quick-card:last-child { border-bottom: 0; }
  .section--news { padding-top: 84px; }
  .institution__visual { min-height: 290px; }
  .disciplines-grid, .documents-grid { grid-template-columns: 1fr; }
  .discipline-card { min-height: 145px; }
  .games-feature__links { grid-template-columns: 1fr; }
  .athletes-grid { grid-template-columns: 1fr; }
  .gallery-mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 190px 115px 115px; }
  .gallery-mosaic__feature { grid-column: 1 / -1; grid-row: auto; }
  .gallery-mosaic--dynamic .gallery-card--feature { grid-column: 1 / -1; grid-row: auto; }
  .gallery-links { margin-top: 18px; }
}
