@import url('https://fonts.googleapis.com/css2?family=Mynerve&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --bg-top: #f2e6c5;
  --band-yellow: rgba(246, 211, 101, 0.6);
  --band-solid: #f0cf62;
  --board-light: #eedcb5;
  --board-dark: #b88761;
  --burgundy: #5e1916;
  --burgundy-light: #7a2620;
  --teal: #2f5d5a;
  --text-dark: #2b2b2b;
  --text-muted: #6b645a;
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.65);
  --shadow: 0 15px 35px rgba(0,0,0,0.15);
  --radius: 10px;
  --drawer-w: 300px;
  --header-h: 84px;
  --display: 'Mynerve', cursive;
  --body: 'Inter', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--body); color: var(--text-dark); font-size: 1rem; background: linear-gradient(160deg, #f7f3ea 0%, #eceeec 55%, #e7ebe8 100%); min-height: 100vh; }
h1, h2, h3, h4, .menu-opt, .top-bar .title, .crumbs { font-family: var(--display); }
img { max-width: 100%; }
button { font-family: inherit; }
:focus-visible { outline: 3px solid var(--burgundy); outline-offset: 2px; }

/* DRAWER */
.drawer { position: fixed; top: 0; left: 0; bottom: 0; width: var(--drawer-w); z-index: 1200; background: var(--board-light); border-right: 4px solid #333; box-shadow: 6px 0 30px rgba(0,0,0,0.18); overflow: hidden; }
.drawer-inner { position: relative; width: 100%; height: 100%; }
.board-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(8, 1fr); grid-auto-rows: calc(var(--drawer-w) / 8); }
.board-grid .sq { position: relative; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; }
.board-grid .sq.dark { background: var(--board-dark); }
.piece-w { color: #fff; text-shadow: 0 1px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 2px 2px 4px rgba(0,0,0,0.5); }
.piece-b { color: #111; text-shadow: 0 2px 3px rgba(255,255,255,0.45); }
.menu-band { position: absolute; left: 0; width: 100%; top: 50%; transform: translateY(-50%); max-height: calc(100% - 20px); overflow-y: auto; background: var(--band-yellow); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); border-top: 1px solid rgba(255,255,255,0.6); border-bottom: 1px solid rgba(255,255,255,0.6); box-shadow: 0 8px 26px rgba(0,0,0,0.16); display: flex; flex-direction: column; z-index: 5; }
.menu-opt { display: flex; align-items: center; gap: 12px; background: none; border: none; border-left: 5px solid transparent; padding: 12px 16px 12px 58px; cursor: pointer; text-align: left; font-size: 1.28rem; font-weight: 700; color: #33251f; letter-spacing: 0.3px; transition: background .18s, color .18s, border-color .18s; }
.menu-opt i { font-size: 1rem; opacity: .7; width: 20px; text-align: center; }
.menu-opt:hover { background: rgba(255,255,255,0.55); color: var(--burgundy); }
.menu-opt.active { background: var(--burgundy); color: #fff; border-left-color: var(--band-solid); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.15); }
.menu-opt.active i { opacity: 1; color: var(--band-solid); }
#jumping-knight { position: absolute; left: 10px; width: 40px; height: 40px; top: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.9rem; color: #fff; text-shadow: 0 1px 0 #000, 0 -1px 0 #000, 1px 0 0 #000, -1px 0 0 #000, 0 8px 12px rgba(0,0,0,0.55); transition: top .55s cubic-bezier(0.34, 1.4, 0.64, 1), transform .3s ease; pointer-events: none; z-index: 20; }
.drawer-toggle { display: none; position: fixed; top: 14px; left: 14px; z-index: 1400; width: 46px; height: 46px; border-radius: 12px; border: none; cursor: pointer; background: var(--burgundy); color: #fff; font-size: 1.2rem; box-shadow: 0 6px 18px rgba(0,0,0,0.25); }
.drawer-backdrop { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1100; }
.drawer-backdrop.visible { display: block; }

/* SHELL & TOP BAR */
.shell { margin-left: var(--drawer-w); min-height: 100vh; display: flex; flex-direction: column; }
.top-bar { position: fixed; top: 0; left: var(--drawer-w); right: 0; z-index: 900; height: var(--header-h); background: rgba(242,230,197,0.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.6); box-shadow: 0 4px 20px rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: space-between; padding: 0 5%; }
.top-bar .title { font-size: 1.7rem; font-weight: 700; line-height: 1.15; cursor: pointer; color: var(--text-dark); }
.top-bar .socials { display: flex; gap: 14px; align-items: center; }
.top-bar .socials span { font-family: var(--display); font-size: 1.05rem; }
.social-icon { color: var(--text-dark); font-size: 1.5rem; text-decoration: none; transition: .2s; }
.social-icon.fb:hover { color: #1877F2; transform: scale(1.1); }
.social-icon.ig:hover { color: #E1306C; transform: scale(1.1); }
.content { flex: 1; padding: calc(var(--header-h) + 14px) 5% 60px; max-width: 1150px; width: 100%; margin: 0 auto; }
.bottom-bar { background: rgba(238,240,238,0.9); border-top: 1px solid rgba(255,255,255,0.6); padding: 16px 5%; font-size: .92rem; color: var(--text-muted); display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
#page-fader { position: fixed; inset: 0; background: #eef0ee; z-index: 9999; opacity: 0; visibility: hidden; transition: .28s ease-in-out; }
#page-fader.active { opacity: 1; visibility: visible; }

/* BREADCRUMB */
.crumbs { display: none; align-items: center; justify-content: flex-start; gap: 9px; flex-wrap: wrap; margin-bottom: 6px; font-size: 1.05rem; color: var(--text-muted); }
.crumbs.visible { display: flex; }
.crumbs button { background: none; border: none; cursor: pointer; font-family: var(--display); font-size: 1.15rem; color: var(--burgundy); border-bottom: 2px solid rgba(94,25,22,.35); padding: 0 0 1px; }
.crumbs button:hover { border-bottom-color: var(--burgundy); }
.crumbs .sep { opacity: .5; }
.crumbs .current { color: var(--text-dark); font-weight: 600; }

/* SECTIONS & TITLES */
.view-section { display: none; }
.view-section.active { display: block; }
.page-title { font-size: 2.5rem; color: var(--burgundy); text-align: center; margin: 0 0 26px; display: flex; align-items: center; justify-content: center; gap: 14px; }
.page-title i { font-size: 1.8rem; opacity: .6; }
.sub-head { font-size: 1.6rem; color: var(--text-dark); margin: 34px 0 16px; }
.section-note { color: var(--text-muted); font-size: .92rem; margin-top: 16px; }
.section-note a { color: var(--burgundy); font-weight: 600; }
.empty-note { color: var(--text-muted); font-style: italic; }
.card { background: var(--glass-bg); backdrop-filter: blur(10px); border: 1px solid var(--glass-border); padding: 22px; border-radius: var(--radius); box-shadow: 0 8px 20px rgba(0,0,0,0.06); }
.card h3 { font-size: 1.5rem; margin-top: 8px; }
.card p { font-size: .98rem; color: #4d4d4d; margin-top: 8px; line-height: 1.55; }

/* GRIDS */
.grid-2, .grid-3 { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.grid-2 > * { flex: 0 1 calc(50% - 10px); min-width: 290px; max-width: 450px; }
.grid-3 > * { flex: 0 1 calc(33.333% - 14px); min-width: 270px; max-width: 380px; }

/* FILTERS */
.filter-bar { margin-bottom: 25px; display: flex; justify-content: flex-end; }
.filter-bar select { padding: 10px 16px; border-radius: 8px; border: 1px solid var(--glass-border); font-family: var(--body); font-weight: 600; background: var(--glass-bg); color: var(--text-dark); outline: none; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }

/* HERO */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 0; background: var(--glass-bg); border: 1px solid var(--glass-border); border-left: 6px solid var(--burgundy); border-radius: 14px; overflow: hidden; box-shadow: 0 10px 28px rgba(0,0,0,0.07); }
.hero-text { padding: 26px 30px; display: flex; flex-direction: column; justify-content: center; }
.hero h1 { font-size: 3rem; color: var(--burgundy); line-height: 1.05; margin-bottom: 10px; }
.hero p { font-size: 1.02rem; line-height: 1.55; color: #444; max-width: 52ch; }
.hero-photo { position: relative; min-height: 210px; background-color: var(--board-light); background-size: cover; background-position: center; display: flex; align-items: center; justify-content: center; font-size: 4.5rem; color: rgba(94,25,22,.25); background-image: linear-gradient(45deg, rgba(184,135,97,.55) 25%, transparent 25%, transparent 75%, rgba(184,135,97,.55) 75%), linear-gradient(45deg, rgba(184,135,97,.55) 25%, transparent 25%, transparent 75%, rgba(184,135,97,.55) 75%); background-size: 64px 64px; background-position: 0 0, 32px 32px; }
.hero-photo.has-photo { background-size: cover; font-size: 0; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.btn-primary, .btn-ghost { border-radius: 8px; padding: 11px 18px; font-weight: 600; font-size: .95rem; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: .2s; }
.btn-primary { background: var(--burgundy); color: #fff; border: 1px solid var(--burgundy); }
.btn-primary:hover { background: var(--burgundy-light); }
.btn-ghost { background: transparent; color: var(--burgundy); border: 1px solid rgba(94,25,22,.4); }
.btn-ghost:hover { background: rgba(94,25,22,.07); }

/* HOME CAROUSELS */
.titled-section { margin-top: 42px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 2px solid rgba(94,25,22,.18); padding-bottom: 8px; margin-bottom: 20px; }
.section-head h2 { font-size: 2rem; color: var(--burgundy); display: flex; align-items: center; gap: 12px; }
.section-head h2 i { font-size: 1.3rem; opacity: .6; }
.head-tools { display: flex; align-items: center; gap: 8px; }
.car-arrow { width: 34px; height: 34px; border-radius: 50%; cursor: pointer; background: #fff; border: 1px solid var(--glass-border); color: var(--burgundy); font-size: .8rem; box-shadow: 0 4px 12px rgba(0,0,0,0.06); transition: .2s; }
.car-arrow:hover { background: var(--burgundy); color: #fff; }

.carousel { display: flex; gap: 20px; overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; padding: 4px 2px 10px; scrollbar-width: none; width: 100%; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > :first-child { margin-left: auto; }
.carousel > :last-child { margin-right: auto; }
.carousel > * { flex: 0 0 clamp(260px, 32%, 340px); scroll-snap-align: start; }
.carousel .empty-note { flex: 1 1 auto; margin: 0 auto; text-align: center; }

.see-more { background: none; border: none; cursor: pointer; color: var(--burgundy); font-weight: 600; font-size: .95rem; display: inline-flex; align-items: center; gap: 8px; }
.see-more:hover { color: var(--burgundy-light); }
.see-more i { transition: transform .2s; }
.see-more:hover i { transform: translateX(4px); }

/* HOME MINI CARDS */
.history-mini h3 { font-size: 1.4rem; margin: 10px 0 4px; }
.link-mini { display: flex; flex-direction: column; gap: 6px; text-decoration: none; color: var(--text-dark); border-left: 5px solid var(--band-solid); transition: .2s; }
.link-mini:hover { border-left-color: var(--burgundy); }
.link-mini i { font-size: 1.4rem; color: var(--burgundy); }
.link-mini strong { font-size: 1.05rem; }
.link-mini small { color: var(--text-muted); font-size: .88rem; line-height: 1.4; }
.promo-card { display: grid; grid-template-columns: 1fr 200px; align-items: center; gap: 20px; background: var(--glass-bg); border: 1px solid var(--glass-border); border-left: 6px solid var(--burgundy); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,0.06); }
.promo-text { padding: 24px 26px; }
.promo-text h3 { font-size: 1.6rem; margin-bottom: 8px; }
.promo-text p { color: #4d4d4d; line-height: 1.55; margin-bottom: 16px; max-width: 60ch; }
.promo-board { align-self: stretch; display: flex; align-items: center; justify-content: center; font-size: 3.4rem; color: rgba(94,25,22,.3); background-color: var(--board-light); background-image: linear-gradient(45deg, rgba(184,135,97,.55) 25%, transparent 25%, transparent 75%, rgba(184,135,97,.55) 75%), linear-gradient(45deg, rgba(184,135,97,.55) 25%, transparent 25%, transparent 75%, rgba(184,135,97,.55) 75%); background-size: 50px 50px; background-position: 0 0, 25px 25px; }

.team-cat-card { background: var(--bg); border: none; border-radius: 14px; padding: 34px 20px; color: #fff; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.15); transition: transform 0.25s ease, box-shadow 0.25s ease; min-height: 220px; justify-content: center; }
.team-cat-card:hover { transform: translateY(-6px); box-shadow: 0 14px 28px rgba(0,0,0,0.25); }
.team-cat-card i { font-size: 3.2rem; margin-bottom: 6px; text-shadow: 0 4px 10px rgba(0,0,0,0.2); }
.team-cat-card h3 { font-size: 1.6rem; color: #fff; margin: 0; text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.team-cat-card p { color: rgba(255,255,255,0.95); font-size: 1rem; margin: 0; }

/* POST CARDS & WIDE CARDS */
.wide-list { display: flex; flex-direction: column; gap: 20px; }
.wide-card { display: grid; grid-template-columns: 210px 1fr; gap: 22px; align-items: stretch; background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; overflow: hidden; box-shadow: 0 8px 22px rgba(0,0,0,0.06); cursor: pointer; text-align: left; width: 100%; transition: box-shadow .2s, border-color .2s; }
.wide-card:hover { box-shadow: 0 14px 30px rgba(0,0,0,0.12); border-color: rgba(94,25,22,.35); }
.wide-card.no-image { grid-template-columns: 1fr; }
.wide-card .thumb { background: #ded4c0 center/cover no-repeat; min-height: 150px; }
.wide-card .thumb.placeholder { display: flex; align-items: center; justify-content: center; color: rgba(94,25,22,.35); font-size: 2.6rem; }
.wide-card .body { padding: 22px 24px 22px 0; }
.wide-card.no-image .body { padding: 22px 24px; }
.wide-card h3 { font-size: 1.55rem; margin: 8px 0 6px; color: var(--text-dark); }
.wide-card p { color: #4d4d4d; line-height: 1.55; font-size: .98rem; }
.wide-card .read-link { display: inline-block; margin-top: 12px; color: var(--burgundy); font-weight: 600; font-size: .93rem; }
.wide-card.featured { grid-template-columns: 280px 1fr; }
.wide-card.featured h3 { font-size: 1.9rem; }
.news-date-badge { display: inline-block; background: var(--band-yellow); color: #3a2f0c; padding: 3px 10px; border-radius: 4px; font-weight: 700; font-size: .82rem; font-family: var(--body); }

.post-card { cursor: pointer; text-align: left; width: 100%; display: block; transition: box-shadow .2s, border-color .2s; }
.post-card:hover { box-shadow: 0 14px 30px rgba(0,0,0,0.12); border-color: rgba(94,25,22,.35); }
.post-card img { width: 100%; height: 190px; object-fit: cover; object-position: center top; border-radius: 8px; margin-bottom: 10px; }

/* GALLERY */
.gallery-img-card { padding: 0; overflow: hidden; }
.gallery-img-card img { width: 100%; height: 220px; object-fit: cover; object-position: center top; border-radius: 8px; display: block; cursor: pointer; transition: transform 0.3s ease; margin-bottom: 0; }
.gallery-img-card:hover img { transform: scale(1.03); }
.gal-caption { font-size: 0.95rem; color: var(--text-muted); margin-top: 12px; text-align: center; font-style: italic; }

.lightbox { position: fixed; inset: 0; background: rgba(0, 0, 0, 0.9); z-index: 99999; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity 0.3s ease; }
.lightbox.active { opacity: 1; visibility: visible; }
.lightbox-close { position: absolute; top: 20px; right: 35px; color: #fff; font-size: 3rem; cursor: pointer; user-select: none; transition: color 0.2s; z-index: 10; }
.lightbox-close:hover { color: var(--band-solid); }
.lightbox img { max-width: 90vw; max-height: 80vh; border-radius: 8px; box-shadow: 0 10px 40px rgba(0,0,0,0.5); object-fit: contain; }
.lightbox-caption { color: #ddd; margin-top: 18px; font-size: 1.1rem; text-align: center; max-width: 800px; padding: 0 15px; }

/* ACADEMY */
.schedule-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 26px; }
.class-card { background: var(--glass-bg); border: 1px solid var(--glass-border); border-top: 6px solid var(--burgundy); border-radius: 14px; padding: 30px 28px; box-shadow: 0 10px 26px rgba(0,0,0,0.07); display: flex; flex-direction: column; gap: 14px; min-height: 230px; }
.class-card h3 { font-size: 1.9rem; color: var(--burgundy); line-height: 1.15; }
.class-card .days { font-size: 1.05rem; font-weight: 600; color: var(--teal); display: flex; align-items: center; gap: 8px; }
.class-card .hours { margin-top: auto; font-family: var(--body); font-size: 2.1rem; font-weight: 700; color: var(--text-dark); letter-spacing: -1px; }
.class-card .extra { font-size: .95rem; color: var(--text-muted); }

/* TOURNAMENTS */
.tournament-card-ribbon { border-left: 6px solid var(--burgundy); }
.tournament-card-ribbon .meta { display: flex; align-items: center; gap: 8px; color: var(--text-muted); font-size: .95rem; margin-top: 8px; }
.tourn-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-weight: 600; color: var(--burgundy); text-decoration: none; }
.tourn-link:hover { color: var(--burgundy-light); }

/* TEAM: COACHES, BOARD, MATCHES */
.subtabs-row { display: flex; gap: 10px; margin-bottom: 26px; flex-wrap: wrap; justify-content: center; }
.subtab-btn { background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 9px 18px; border-radius: 30px; cursor: pointer; font-size: .95rem; font-weight: 600; color: var(--text-muted); transition: .2s; }
.subtab-btn:hover { color: var(--burgundy); }
.subtab-btn.active { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.subtab-panel { display: none; }
.subtab-panel.active { display: block; }
.players-embed-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--glass-border); box-shadow: 0 8px 24px rgba(0,0,0,0.08); background: #fff; }
.players-embed-wrap iframe { width: 100%; height: 700px; border: none; display: block; }

.coach-card-hz { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 12px; padding: 20px; display: flex; gap: 20px; align-items: flex-start; text-align: left; box-shadow: 0 8px 20px rgba(0,0,0,0.06); transition: .2s; }
.coach-card-hz:hover { box-shadow: 0 12px 28px rgba(0,0,0,0.1); transform: translateY(-3px); }
.coach-img { flex: 0 0 130px; }
.coach-img img { width: 100%; height: 150px; object-fit: cover; border-radius: 10px; }
.coach-info { flex: 1; min-width: 0; }
.coach-info h3 { margin: 0 0 8px; font-size: 1.5rem; color: var(--burgundy); }
.coach-hours { display: inline-flex; align-items: center; gap: 6px; font-size: 0.9rem; font-weight: 600; color: var(--teal); background: rgba(47, 93, 90, 0.1); padding: 4px 10px; border-radius: 6px; margin-bottom: 12px; }
.coach-info p { margin: 0; font-size: 0.95rem; line-height: 1.6; color: #4d4d4d; }

.match-card-new { background: linear-gradient(135deg, #fff, #fdfcfa); border: 1px solid var(--glass-border); border-radius: 12px; padding: 20px 26px; display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; box-shadow: 0 6px 18px rgba(0,0,0,0.05); position: relative; overflow: hidden; }
.match-card-new::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 6px; background: var(--teal); }
.match-info { display: flex; flex-direction: column; gap: 6px; }
.match-info h3 { margin: 0; font-size: 1.4rem; }
.match-meta { display: flex; align-items: center; gap: 12px; font-size: 0.9rem; color: var(--text-muted); }
.match-score { font-size: 1.8rem; font-weight: 800; color: var(--teal); background: rgba(47,93,90,0.08); padding: 6px 16px; border-radius: 8px; }

.board-card-new { background: #fff; border: 1px solid var(--glass-border); border-left: 5px solid var(--board-dark); padding: 20px 24px; border-radius: 10px; text-align: left; box-shadow: 0 6px 16px rgba(0,0,0,0.04); display: flex; flex-direction: column; justify-content: center; }
.board-card-new .role { font-size: 0.85rem; text-transform: uppercase; font-weight: 700; color: var(--text-muted); letter-spacing: 1px; margin-bottom: 6px; }
.board-card-new h3 { margin: 0; font-size: 1.4rem; color: var(--text-dark); }

/* HISTORY */
.history-intro { border-left: 6px solid var(--band-solid); margin-bottom: 26px; }
.history-intro h3 { margin-top: 0; }
.years-bar { display: flex; align-items: center; gap: 10px; margin-bottom: 26px; }
.years-strip { display: flex; gap: 10px; overflow-x: auto; scroll-behavior: smooth; padding: 4px 2px; scrollbar-width: none; }
.years-strip::-webkit-scrollbar { display: none; }
.year-tab { flex: 0 0 auto; background: var(--glass-bg); border: 1px solid var(--glass-border); padding: 8px 18px; border-radius: 8px; cursor: pointer; font-family: var(--body); font-weight: 600; font-size: 1rem; color: var(--text-muted); transition: .2s; }
.year-tab:hover { color: var(--burgundy); border-color: rgba(94,25,22,.35); }
.year-tab.active { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.year-arrow { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 50%; cursor: pointer; background: #fff; border: 1px solid var(--glass-border); color: var(--burgundy); font-size: .9rem; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.year-arrow:hover { background: var(--burgundy); color: #fff; }
.timeline { position: relative; padding-left: 38px; }
.timeline::before { content: ''; position: absolute; left: 10px; top: 6px; bottom: 6px; width: 2px; background: linear-gradient(var(--burgundy), rgba(94,25,22,0.12)); }
.timeline-entry { position: relative; margin-bottom: 28px; }
.timeline-entry::before { content: ''; position: absolute; left: -32px; top: 8px; width: 13px; height: 13px; background: var(--burgundy); border-radius: 50%; border: 3px solid #fff; box-shadow: 0 0 0 2px var(--burgundy); }
.timeline-entry .year-badge { display: inline-block; background: var(--burgundy); color: #fff; padding: 3px 12px; border-radius: 20px; font-weight: 700; font-size: .9rem; font-family: var(--body); }
.timeline-entry h3 { font-size: 1.6rem; margin: 8px 0 4px; }
.timeline-entry p { line-height: 1.6; color: #4d4d4d; }
.timeline-entry img { width: 100%; max-width: 420px; border-radius: 10px; margin-top: 12px; box-shadow: 0 8px 20px rgba(0,0,0,0.1); }

/* LINKS */
.link-list { display: flex; flex-direction: column; gap: 14px; }
.links-group { margin-top: 30px; }
.links-group h3 { font-size: 1.7rem; color: var(--burgundy); margin-bottom: 14px; border-bottom: 2px solid rgba(94,25,22,.15); padding-bottom: 6px; }
.link-card { display: flex; align-items: center; gap: 16px; text-decoration: none; color: var(--text-dark); background: var(--glass-bg); border: 1px solid var(--glass-border); border-left: 5px solid var(--band-solid); border-radius: 10px; padding: 16px 20px; box-shadow: 0 6px 16px rgba(0,0,0,0.05); transition: .2s; }
.link-card:hover { border-left-color: var(--burgundy); transform: translateX(4px); }
.link-card .icon { font-size: 1.3rem; color: var(--burgundy); width: 26px; text-align: center; }
.link-card .txt strong { display: block; font-size: 1.05rem; font-weight: 600; }
.link-card .txt small { color: var(--text-muted); font-size: .88rem; }
.link-card .go { margin-left: auto; color: var(--burgundy); }

/* ΕΠΙΚΟΙΝΩΝΙΑ & ΕΓΚΑΤΑΣΤΑΣΕΙΣ */
.contact-page-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; }
.contact-details { display: flex; flex-direction: column; gap: 20px; }
.contact-item-card { text-align: center; }
.contact-item-card i { font-size: 1.8rem; color: var(--burgundy); margin-bottom: 10px; display: block; }
.contact-item-card h4 { font-size: 1.3rem; margin-bottom: 6px; }
.contact-item-card p, .contact-item-card a { color: #555; text-decoration: none; }
.facilities-section { background: var(--glass-bg); border: 1px solid var(--glass-border); border-radius: 16px; padding: 30px; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.fac-title { margin-top: 0; font-size: 1.8rem; color: var(--burgundy); display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.fac-title i { opacity: 0.7; }
.fac-desc { color: #4d4d4d; line-height: 1.6; margin-bottom: 20px; }
.facilities-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.facilities-gallery img { width: 100%; height: 140px; object-fit: cover; border-radius: 8px; cursor: pointer; transition: transform 0.2s; }
.facilities-gallery img:hover { transform: scale(1.02); }
.map-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; background: var(--teal); color: #fff; text-decoration: none; padding: 14px 24px; border-radius: 12px; font-weight: 600; margin-top: 10px; width: 100%; transition: .2s; }
.map-btn:hover { background: #244845; }

/* DETAIL PAGE (ΑΡΘΡΟ / ΝΕΟ) */
.post { max-width: 78ch; margin: 0 auto; }
.post .page-title { text-align: center; }
.post-meta { display: flex; align-items: center; justify-content: center; gap: 15px; margin-bottom: 25px; flex-wrap: wrap; }
.author-badge { color: var(--teal); font-size: 0.95rem; display: flex; align-items: center; gap: 6px; }
.post-body { font-size: 1.05rem; line-height: 1.75; color: #3d3d3d; }
.post-body p { margin-bottom: 14px; }
.back-btn { margin-top: 30px; background: var(--burgundy); color: #fff; border: none; padding: 10px 18px; border-radius: 8px; font-weight: 600; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.back-btn:hover { background: var(--burgundy-light); }
.post-gallery-wrap { position: relative; background: transparent !important; border-radius: 12px; overflow: hidden; margin: 25px 0; display: flex; justify-content: center; align-items: center; }
.post-gallery-wrap img { max-height: 400px !important; width: auto !important; object-fit: contain; margin: 0 auto; display: block; }
.post-gal-btn { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(0,0,0,0.5); color: #fff; border: none; width: 44px; height: 44px; border-radius: 50%; font-size: 1.2rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.2s; z-index: 2; }
.post-gal-btn:hover { background: var(--burgundy); }
.post-gal-btn.prev { left: 10px; }
.post-gal-btn.next { right: 10px; }
.post-gal-dots { position: absolute; bottom: 15px; width: 100%; display: flex; justify-content: center; gap: 8px; z-index: 2; }
.post-gal-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); transition: 0.2s; }
.post-gal-dots .dot.active { background: #fff; transform: scale(1.2); }

/* ΠΑΙΞΕ ΣΚΑΚΙ */
.play-layout { display: grid; grid-template-columns: 1fr 290px; gap: 30px; align-items: start; }
.chess-board-col { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.clocks { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; max-width: 520px; }
.clock-box { background: var(--text-dark); color: #fff; padding: 9px 16px; border-radius: 8px; font-weight: 700; font-size: 1.15rem; display: flex; align-items: center; gap: 8px; min-width: 106px; justify-content: center; }
.clock-box.light { background: #4a4238; }
.chess-status { font-size: 1rem; font-weight: 600; color: var(--burgundy); text-align: center; }
#chess-board { width: 100%; max-width: 520px; }
.moves-log { width: 100%; max-width: 520px; min-height: 44px; font-size: .9rem; color: var(--text-muted); background: rgba(255,255,255,.5); border: 1px solid var(--glass-border); border-radius: 8px; padding: 10px 12px; line-height: 1.7; word-break: break-word; }
.highlight-sq { box-shadow: inset 0 0 0 4px rgba(94, 25, 22, 0.7) !important; }
#chess-board.theme-classic .white-1e1d7 { background-color: #f0d9b5 !important; }
#chess-board.theme-classic .black-3c85d { background-color: #b58863 !important; }
#chess-board.theme-wood .white-1e1d7 { background-color: #eedcb5 !important; }
#chess-board.theme-wood .black-3c85d { background-color: #8a5a34 !important; }
#chess-board.theme-blue .white-1e1d7 { background-color: #dee3e6 !important; }
#chess-board.theme-blue .black-3c85d { background-color: #4b7399 !important; }
#chess-board.theme-green .white-1e1d7 { background-color: #eeeed2 !important; }
#chess-board.theme-green .black-3c85d { background-color: #769656 !important; }
.chess-controls-col { display: flex; flex-direction: column; gap: 16px; }
.control-group label { display: block; font-weight: 600; margin-bottom: 7px; font-size: .88rem; color: var(--text-dark); }
.control-group select { width: 100%; padding: 10px 12px; border-radius: 8px; border: 1px solid #ccc; font-size: .95rem; font-family: var(--body); background: #fff; }
.color-choice, .theme-choice { display: flex; gap: 8px; flex-wrap: wrap; }
.color-btn, .theme-btn { flex: 1; min-width: 70px; padding: 9px 8px; border-radius: 8px; border: 1px solid #ccc; background: #fff; cursor: pointer; font-size: .85rem; font-weight: 600; transition: .2s; }
.color-btn.active, .theme-btn.active { background: var(--burgundy); color: #fff; border-color: var(--burgundy); }
.chess-play-btn, .chess-flip-btn { padding: 12px; border-radius: 10px; border: none; cursor: pointer; font-weight: 600; font-size: .93rem; display: flex; align-items: center; justify-content: center; gap: 8px; transition: .2s; }
.chess-play-btn { background: var(--burgundy); color: #fff; }
.chess-play-btn:hover { background: var(--burgundy-light); }
.chess-flip-btn { background: transparent; border: 1px solid #ccc; color: var(--text-dark); }
.chess-flip-btn:hover { border-color: var(--burgundy); color: var(--burgundy); }
.ext-play { margin-top: 8px; padding-top: 18px; border-top: 1px dashed rgba(0,0,0,.18); display: flex; flex-direction: column; gap: 10px; }
.ext-play p { font-size: .9rem; color: var(--text-muted); line-height: 1.5; }
.ext-play small { font-size: .8rem; color: var(--text-muted); }
.ext-btn { display: flex; align-items: center; gap: 8px; padding: 11px 14px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .9rem; color: #fff; transition: .2s; }
.ext-btn.lichess { background: #4a4a4a; }
.ext-btn.lichess:hover { background: #2f2f2f; }
.ext-btn.dotcom { background: #6a9a3b; }
.ext-btn.dotcom:hover { background: #557c2f; }

.pagination-area { text-align: center; margin-top: 30px; }
.load-more-btn { font-size: 1.05rem; padding: 12px 24px; border-radius: 30px; border-width: 2px; }
.old-site-link { display: inline-flex; align-items: center; gap: 6px; background: var(--burgundy); color: #fff; text-decoration: none; font-family: var(--body); font-size: 0.85rem; font-weight: 600; padding: 6px 14px; border-radius: 20px; transition: background 0.2s ease, transform 0.2s ease; margin-right: 12px; }
.old-site-link:hover { background: var(--burgundy-light); transform: translateY(-1px); color: #fff; }
.old-site-link i { font-size: 0.8rem; }
.mobile-only { display: none !important; }

/* RESPONSIVE */
@media (max-width: 1100px) {
  :root { --drawer-w: 250px; }
  .menu-opt { font-size: 1.15rem; padding-left: 50px; }
  .wide-card, .wide-card.featured { grid-template-columns: 160px 1fr; }
  .play-layout { grid-template-columns: 1fr; }
  .contact-page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 820px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex !important; }
  .drawer { transform: translateX(-100%); transition: transform .3s ease; width: 270px; }
  .drawer.open { transform: translateX(0); }
  .drawer-toggle { display: block; }
  .shell { margin-left: 0; }
  .top-bar { left: 0; padding-left: 74px; height: 74px; }
  :root { --header-h: 74px; }
  .top-bar .title { font-size: 1.25rem; }
  .top-bar .socials span { display: none; }
  .content { padding-left: 5%; padding-right: 5%; }
  .page-title { font-size: 1.9rem; }
  .hero h1 { font-size: 2rem; }
  .wide-card, .wide-card.featured { grid-template-columns: 1fr; }
  .hero { grid-template-columns: 1fr; }
  .promo-card { grid-template-columns: 1fr; }
  .promo-board { min-height: 120px; }
  .hero h1 { font-size: 2.1rem; }
  .hero-photo { min-height: 170px; order: -1; }
  .section-head { flex-wrap: wrap; }
  .carousel > * { flex: 0 0 80%; }
  .wide-card .body { padding: 20px; }
  .wide-card .thumb { min-height: 180px; }
  .bottom-bar { flex-direction: column; text-align: center; }
  .match-card-new { flex-direction: column; align-items: flex-start; }
  .match-score { align-self: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

html { -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
.shell, .content, .view-section, .top-bar { max-width: 100%; }
iframe { max-width: 100%; }
.schedule-grid  { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.top-bar { gap: 12px; padding-left: max(5%, env(safe-area-inset-left)); padding-right: max(5%, env(safe-area-inset-right)); }
.top-bar .title { flex: 1 1 auto; min-width: 0; line-height: 1.15; overflow-wrap: anywhere; }
.top-bar .socials { flex: 0 0 auto; flex-wrap: nowrap; }

@media (max-width: 820px) {
  :root { --header-h: 68px; }
  .drawer { width: min(84vw, 280px); }
  .menu-opt { font-size: 1.1rem; padding: 11px 14px 11px 48px; }
  .drawer-toggle { display: flex; align-items: center; justify-content: center; top: 11px; left: 10px; width: 46px; height: 46px; font-size: 1.15rem; }
  .top-bar { height: var(--header-h); padding: 0 12px 0 66px; gap: 10px; }
  .top-bar .title { font-size: 1.02rem; }
  .top-bar .socials { gap: 10px; }
  .social-icon { font-size: 1.3rem; }
  .content { padding-left: 16px; padding-right: 16px; padding-bottom: 46px; }
  .page-title { font-size: clamp(1.5rem, 6vw, 1.9rem); flex-wrap: wrap; }
  .section-head h2 { font-size: 1.55rem; }
  .sub-head { font-size: 1.3rem; }
  .hero-text { padding: 22px 20px; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.1rem); }
  .hero p { font-size: .97rem; }
  .carousel > * { flex: 0 0 min(86%, 300px); }
  .car-arrow { width: 38px; height: 38px; }
  .wide-card h3, .wide-card.featured h3 { font-size: 1.35rem; }
  .class-card { padding: 22px 18px; min-height: 0; }
  .class-card h3 { font-size: 1.5rem; }
  .class-card .hours { font-size: 1.7rem; }
  .link-card { padding: 14px; gap: 12px; }
  .link-card:hover { transform: none; }
  .subtabs-row { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
  .subtabs-row::-webkit-scrollbar { display: none; }
  .subtab-btn { flex: 0 0 auto; }
  .players-embed-wrap iframe { height: 68vh; min-height: 420px; }
  .timeline { padding-left: 26px; }
  .timeline::before { left: 5px; }
  .timeline-entry::before { left: -27px; }
  .timeline-entry h3 { font-size: 1.35rem; }
  .lightbox img { max-width: 94vw; max-height: 70vh; }
  .lightbox-close { top: 6px; right: 14px; font-size: 2.4rem; }
  .lightbox-caption { font-size: .95rem; }
  .post-gallery-wrap img { max-height: 280px !important; }
  .clocks { flex-wrap: wrap; justify-content: center; }
  .chess-status { order: 3; flex: 1 0 100%; }
  .filter-bar select { width: 100%; }
  .bottom-bar { padding-bottom: calc(16px + env(safe-area-inset-bottom)); }
}

@media (max-width: 600px) {
  .coach-card-hz { flex-direction: column; align-items: center; text-align: center; }
  .coach-img { flex: none; width: 100%; max-width: 220px; }
  .coach-img img { height: 200px; }
}

@media (max-width: 480px) {
  .drawer-toggle { width: 42px; height: 42px; top: 13px; left: 8px; }
  .top-bar { padding-left: 60px; padding-right: 10px; gap: 8px; }
  .top-bar .title { font-size: .92rem; }
  .top-bar .socials { gap: 9px; }
  .social-icon { font-size: 1.15rem; }
  .content { padding-left: 14px; padding-right: 14px; }
  .carousel > * { flex: 0 0 90%; }
  .hero-photo { min-height: 150px; }
  .players-embed-wrap iframe { height: 62vh; min-height: 360px; }
  .class-card .hours { font-size: 1.5rem; }
}

@media (max-height: 480px) and (orientation: landscape) {
  .menu-band { max-height: 100%; }
  .menu-opt { padding-top: 8px; padding-bottom: 8px; font-size: 1rem; }
  .players-embed-wrap iframe { height: 80vh; min-height: 300px; }
}

/* ============================================================
   ΣΥΜΜΕΤΡΙΑ ΣΤΙΣ ΦΩΤΟΓΡΑΦΙΕΣ
   ------------------------------------------------------------
   ΤΟ ΠΡΟΒΛΗΜΑ: οι φωτογραφίες έμπαιναν με όποιες διαστάσεις είχε
   το αρχείο. Δύο κάρτες δίπλα-δίπλα έβγαιναν με διαφορετικό ύψος,
   και στο καρουζέλ το πλαίσιο «αναπηδούσε» σε κάθε επόμενη κάρτα
   επειδή η επόμενη εικόνα ήταν άλλου σχήματος.

   Η ΛΥΣΗ: κάθε θέση εικόνας έχει ΣΤΑΘΕΡΗ αναλογία. Ό,τι κι αν
   ανεβάσει ο σύλλογος — κάθετη φωτογραφία από κινητό, πανοραμική
   από μηχανή — κόβεται στο κέντρο και γεμίζει το ίδιο πλαίσιο.
   Τίποτα δεν παραμορφώνεται· απλώς δεν φαίνονται οι άκρες.
   ============================================================ */

/* Οι κάρτες του καρουζέλ και των πλεγμάτων: ίδιο ύψος όλες. */
.carousel,
.grid-2,
.grid-3 { align-items: stretch; }

.carousel > *,
.grid-2 > *,
.grid-3 > * { display: flex; flex-direction: column; }

/* Η εικόνα της κάρτας: πάντα 16:10. */
.post-card img {
  aspect-ratio: 16 / 10;
  height: auto;
  width: 100%;
  object-fit: cover;
  object-position: center;
}

/* ------------------------------------------------------------
   Η ΦΑΡΔΙΑ ΚΑΡΤΑ ΤΩΝ ΝΕΩΝ

   ΤΟ ΛΑΘΟΣ: η μικρογραφία είχε «σταθερή αναλογία 4:3» ΚΑΙ ύψος
   όσο η κάρτα. Όταν ο τίτλος έπιανε δύο σειρές, η κάρτα ψήλωνε,
   και η αναλογία ΦΑΡΔΑΙΝΕ τη φωτογραφία για να τη διατηρήσει.
   Η φωτογραφία ξεχείλιζε από τη στήλη της και το κείμενο
   τυπωνόταν από πάνω της. Γι' αυτό η μία κάρτα έδειχνε σωστά
   και η επόμενη χάλια.

   Η ΛΥΣΗ: όλες οι κάρτες έχουν το ΙΔΙΟ ύψος. Η φωτογραφία
   γεμίζει ακριβώς τη στήλη της — ποτέ πιο φαρδιά. Ο τίτλος
   κόβεται στις 2 σειρές και το κείμενο στις 3, ώστε καμία
   κάρτα να μην μπορεί να ψηλώσει πάνω από τις άλλες.
   ------------------------------------------------------------ */
.wide-card {
  align-items: stretch;
  min-height: 188px;
}

.wide-card.featured { min-height: 236px; }

.wide-card .thumb {
  aspect-ratio: auto;          /* ΑΥΤΟ ήταν που φάρδαινε την εικόνα */
  width: 100%;
  height: 100%;
  min-height: 100%;
  align-self: stretch;
}

/* Η στήλη του κειμένου δεν επιτρέπεται να ξεχειλίσει στη διπλανή. */
.wide-card .body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  overflow: hidden;
}

.wide-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.wide-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.wide-card.featured p { -webkit-line-clamp: 4; line-clamp: 4; }

/* Σε στενή οθόνη η κάρτα γίνεται μία στήλη: η φωτογραφία από
   πάνω, το κείμενο από κάτω. Εκεί το σταθερό ύψος δεν έχει νόημα. */
@media (max-width: 820px) {
  .wide-card,
  .wide-card.featured { min-height: 0; }

  .wide-card .thumb {
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 0;
  }

  .wide-card p { -webkit-line-clamp: 4; line-clamp: 4; }
}

/* Οι φωτογραφίες του άλμπουμ: τετράγωνο πλαίσιο, ώστε το πλέγμα
   να μένει ευθυγραμμισμένο ακόμα και με ανάμεικτα σχήματα. */
.gallery-img-card img {
  aspect-ratio: 1 / 1;
  height: auto;
}

/* Οι προπονητές: ίδιο μέγεθος προσώπου σε όλους. */
.coach-img img {
  aspect-ratio: 3 / 4;
  height: auto;
}

/* Η εικόνα της ιστορίας. */
.timeline-entry img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

/* Η σελίδα μιας δημοσίευσης ρυθμίζεται παρακάτω, στην ενότητα 7. */


/* ============================================================
   6. Η ΣΕΛΙΔΑ «ΕΠΙΚΟΙΝΩΝΙΑ» — ΛΙΓΟΤΕΡΟΣ ΧΩΡΟΣ ΣΤΑ ΣΤΟΙΧΕΙΑ
   ------------------------------------------------------------
   ΤΟ ΠΡΟΒΛΗΜΑ: διεύθυνση, τηλέφωνο και email έπιαναν τρεις
   τεράστιες κάρτες τη μία κάτω από την άλλη. Ο επισκέπτης που
   ήθελε να στείλει μήνυμα δεν έβλεπε καν ότι υπάρχει φόρμα —
   έπρεπε να κατέβει με το ποντίκι για να την ανακαλύψει.

   Η ΛΥΣΗ: τα στοιχεία γίνονται τρεις σφιχτές γραμμές (εικονίδιο
   αριστερά, τιμή δεξιά) και η φόρμα ανεβαίνει ΔΙΠΛΑ τους. Ό,τι
   χρειάζεται κάποιος για να επικοινωνήσει είναι πλέον μαζί,
   χωρίς κύλιση.
   ============================================================ */

.contact-quick {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 26px;
}

.cq-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  gap: 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  transition: border-color .18s, box-shadow .18s;
}

a.cq-item:hover {
  border-color: rgba(94, 25, 22, .4);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .07);
}

.cq-item > i {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(94, 25, 22, .07);
  color: var(--burgundy);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cq-text { min-width: 0; }

.cq-label {
  display: block;
  font-size: .72rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 700;
  color: #6b5f52;
  margin-bottom: 1px;
}

.cq-value {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

a.cq-item:hover .cq-value { color: var(--burgundy); }

/* Οι ώρες λειτουργίας μπορεί να είναι πολλές σειρές. */
.cq-item.cq-hours { align-items: start; }
.cq-item.cq-hours > i { margin-top: 2px; }
.cq-item.cq-hours .cq-value { font-weight: 500; font-size: .96rem; }

/* Οι εγκαταστάσεις: πιο μαζεμένες από πριν. */
.contact-page-layout { display: block; }
.facilities-section { padding: 24px; }
.fac-title { font-size: 1.45rem; margin-bottom: 10px; }
.fac-desc { font-size: .97rem; margin-bottom: 16px; }

/* ΔΥΟ ΣΤΗΛΕΣ: στοιχεία + χώρος αριστερά, η φόρμα δεξιά.
   Έτσι η φόρμα φαίνεται ολόκληρη με το που ανοίγει η σελίδα. */
@media (min-width: 981px) {
  /* ΠΡΟΣΟΧΗ ΣΤΟ «.active».
     Γραμμένο σκέτο «#contact { display: grid }», ο κανόνας αυτός
     νικούσε το «.view-section { display: none }» που κρύβει τις
     σελίδες που δεν βλέπεις — επειδή το # μετράει βαρύτερα από
     την τελεία. Αποτέλεσμα: η Επικοινωνία ήταν ΠΑΝΤΑ ανοιχτή και
     σκέπαζε όποια σελίδα κι αν άνοιγε ο επισκέπτης.
     Το «.active» το περιορίζει στη στιγμή που όντως φαίνεται. */
  #contact.view-section.active {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 38px;
    align-items: start;
  }

  #contact > .page-title { grid-column: 1 / -1; }
  #contact > #data-contact { grid-column: 1; grid-row: 2; }

  #contact > #contact-form-wrap {
    grid-column: 2;
    grid-row: 2;
    margin-top: 0;
    position: sticky;
    top: 96px;
  }

  /* Σε δύο στήλες η φόρμα είναι στενή: τα πεδία πάνε το ένα
     κάτω από το άλλο αντί για δύο-δύο. Και μαζεύουμε τον αέρα
     στην κορυφή της, ώστε να χωράει ολόκληρη — μέχρι και το
     κουμπί «Αποστολή» — χωρίς ο επισκέπτης να κατεβάσει τη
     σελίδα για να καταλάβει ότι υπάρχει φόρμα. */
  #contact .cf-grid { grid-template-columns: 1fr; gap: 12px; }
  #contact #cf-message { min-height: 104px; }
  #contact .contact-form-card { padding: 22px 24px 24px; }
  #contact .cf-title { font-size: 1.3rem; margin-bottom: 4px; }
  #contact .cf-intro { font-size: .9rem; margin-bottom: 14px; }
}


/* ============================================================
   7. ΙΣΕΣ ΚΑΡΤΕΣ — ΜΕ ΤΟ ΠΛΑΙΣΙΟ ΤΟΥΣ
   ------------------------------------------------------------
   Δοκιμάσαμε τις κάρτες χωρίς κουτί, πάνω στην επιφάνεια. Το
   κουτί κερδίζει: ξεχωρίζει πού τελειώνει η μία δημοσίευση και
   πού αρχίζει η άλλη, και η σελίδα διαβάζεται πιο ήρεμα.

   Αυτό που κρατάμε από εκείνη τη δοκιμή είναι η ΣΥΜΜΕΤΡΙΑ: ίδιο
   ύψος φωτογραφίας παντού, ίδιος αριθμός σειρών σε τίτλο και
   περίληψη, ίδιο ύψος κάρτας.
   ============================================================ */

/* Η φωτογραφία: ίδιο πλάτος στήλης × ίδια αναλογία = ίδιο ύψος,
   ό,τι σχήματος αρχείο κι αν ανεβάσει ο σύλλογος. Το «height»
   μπαίνει ρητά σε auto για να μη μείνει παλιό σταθερό ύψος και
   ακυρώσει την αναλογία. */
.post-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  min-height: 0;
  max-height: none;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: transform .25s ease;
}

/* Το κίτρινο σημαδάκι της ημερομηνίας δεν τεντώνεται: η κάρτα
   είναι στήλη και χωρίς αυτό θα έπιανε όλο το πλάτος. */
.post-card .news-date-badge { align-self: flex-start; }

/* Ίδιος αριθμός σειρών σε όλες τις κάρτες, ώστε να κλείνουν στο
   ίδιο ύψος ακόμα κι όταν η μία ανακοίνωση έχει τριπλάσιο τίτλο. */
.post-card h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.3rem;
  line-height: 1.3;
  margin-top: 8px;
}

.post-card p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card:hover h3 { color: var(--burgundy); }
.post-card h3 { transition: color .18s; }

/* ------------------------------------------------------------
   Η ΣΕΛΙΔΑ ΜΙΑΣ ΔΗΜΟΣΙΕΥΣΗΣ

   Εδώ η φωτογραφία ΔΕΝ κόβεται: ο επισκέπτης ήρθε να τη δει
   ολόκληρη. Μια σκακιστική θέση κομμένη στις άκρες είναι άχρηστη.

   ΤΟ ΠΡΟΒΛΗΜΑ ΗΤΑΝ ΔΙΠΛΟ:
   1. Ο χώρος είχε γκρι φόντο, που έμοιαζε με άσχημο πλαίσιο γύρω
      από μικρές φωτογραφίες.
   2. Το ύψος του άλλαζε σε κάθε φωτογραφία, οπότε με τα βελάκια
      η σελίδα αναπηδούσε.

   ΛΥΣΗ: ο χώρος έχει ΣΤΑΘΕΡΟ ύψος και είναι εντελώς διαφανής.
   Η φωτογραφία μπαίνει στο κέντρο του με «scale-down»: μικραίνει
   αν δεν χωράει, αλλά ΔΕΝ μεγεθύνεται ποτέ πέρα από το φυσικό
   της μέγεθος — άρα δεν θολώνει. Ό,τι περισσεύει γύρω της είναι
   η ίδια η επιφάνεια του site, άρα δεν φαίνεται τίποτα.
   ------------------------------------------------------------ */
.post-gallery-wrap {
  background: none !important;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  height: clamp(260px, 40vw, 430px);
  min-height: 0;
  max-height: none;
}

.post-gallery-wrap img {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: scale-down;
  border-radius: 10px;
}

@media (max-width: 820px) {
  .post-gallery-wrap { height: clamp(210px, 58vw, 320px); }
}

/* Οι κουκκίδες κάτω από τη φωτογραφία, όχι πάνω της: σε ψηλή
   εικόνα έπεφταν μέσα στο κάδρο. Και σκούρες πια, γιατί χωρίς
   πλαίσιο κάθονται στην ανοιχτόχρωμη επιφάνεια του site —
   λευκές κουκκίδες εκεί δεν φαίνονταν καθόλου. */
.post-gallery-wrap {
  box-sizing: border-box;
  padding-bottom: 26px;
}

.post-gal-dots { bottom: 2px; }
.post-gal-dots .dot { background: rgba(94, 25, 22, .22); }
.post-gal-dots .dot.active { background: var(--burgundy); }