:root{
  --bg:#ffffff;
  --panel:#ffffff;
  --card:#ffffff;
  --text:#0b2c6f;        /* main text blue */
  --muted:#3f5ea8;       /* softer blue for secondary text */
  --border:rgba(11,44,111,0.14);
  --brand:#1e6bff;       /* accent blue */
  --brand-soft:#eaf1ff;  /* light blue background */
}

/* =====================
   RESET + BASE
===================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}


body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial;
  background:var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:var(--brand);text-decoration:none}
a:hover{text-decoration:underline}

/* =====================
   LAYOUT
===================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

/* =====================
   HEADER / NAVBAR
===================== */
.site-header{
  position:sticky;
  top:0;
  background:rgba(255,255,255,0.92);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
  z-index:10;
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:78px;
  gap:18px;
}

.brand{
  font-weight:800;
  letter-spacing:0.2px;
  color:var(--text);
}

.nav ul{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  gap:22px;
  align-items:center;
}

.nav a{
  color:var(--text);
  font-weight:600;
  text-decoration:none;
  padding:10px 10px;
  border-radius:10px;
}

.nav a:hover{
  background:var(--brand-soft);
  text-decoration:none;
}

/* WP adds these classes automatically */
.nav .current-menu-item > a,
.nav .current_page_item > a{
  color:var(--brand);
  background:var(--brand-soft);
}

/* =====================
   NAVIGATION
===================== */
.nav-list {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-list a {
  text-decoration: none;
  font-weight: 500;
  color: var(--blue-dark);
}

.nav-list a:hover {
  color: var(--blue-main);
}

/* =====================
   TYPOGRAPHY
===================== */
h1, h2, h3 {
  margin: 0 0 16px;
  color: var(--blue-dark);
  line-height: 1.2;
}

h2 {
  font-size: 36px;
}

p {
  max-width: 70ch;
}

/* =====================
   GRID + CARDS
===================== */
.grid {
  display: grid;
  gap: 24px;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 900px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px){
  .hero{
    padding: 48px 0;
  }
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  align-items: center;
  padding: 18px;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  box-shadow: 0 10px 30px rgba(11,44,111,0.06);
}

.card:hover{
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(11,44,111,0.10);
  border-color: rgba(30,107,255,0.35);
}
.card-title{
  margin-top: 18px;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.card .muted{
  margin-top: 4px;
  color: var(--muted);
  text-align: center;
  font-weight: 600;
  font-size: 14px;
}


/* =====================
   AVATAR / IMAGE
===================== */
.avatar {
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--blue-soft);
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* ===== About ===== */
.section-about h2{
  margin-bottom: 18px;
}

.about-grid{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: start;
}

@media (max-width: 900px){
  .about-grid{
    grid-template-columns: 1fr;
  }
}

.about-text{
  max-width: 65ch;
}

.about-text p{
  margin-bottom: 14px;
  line-height: 1.7;
}

/* Right side highlights */
.about-highlights{
  display: grid;
  gap: 16px;
}

.highlight-card{
  background: f4f6f8;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
}

.highlight-number{
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--text);
}

.highlight-label{
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}
/* =====================
   BUTTONS
===================== */
.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
}

.btn-primary {
  background: var(--blue-main);
  color: white;
}

.btn-primary:hover {
  background: #1558d6;
}

.btn-secondary{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid rgba(30,107,255,0.25);
  background: rgba(30,107,255,0.08);
  color: var(--brand);
  font-weight: 700;
  text-decoration:none;
}

.btn-secondary:hover{
  background: rgba(30,107,255,0.14);
  border-color: rgba(30,107,255,0.40);
  text-decoration:none;
}

/* =====================
   FOOTER
===================== */
.site-footer {
  background: var(--blue-dark);
  color: white;
  padding: 48px 0;
}
.hero-stats{
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.stat{
  padding:12px 14px;
  border:1px solid var(--border);
  border-radius:14px;
  background:#fff;
  min-width:160px;
}

.stat-num{
  font-size:22px;
  font-weight:900;
  color:var(--text);
}

.stat-label{
  color:var(--muted);
  font-weight:600;
  margin-top:4px;
}
.hero{
  min-height: calc(100vh - 78px); /* header height */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.hero-title{
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--text);
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:var(--text);
  font-weight:800;
  letter-spacing:.2px;
}

.brand-logo{
  height: 75px;   /* adjust size */
  width:auto;
  display:block;
}

.brand-text{
  font-size:20px;
  color:var(--text);
}
@media (max-width: 600px){
  .brand-text{ font-size:16px; }
  .brand-logo{ height:34px; }
}
.section-collage .collage-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:24px;
  margin-bottom:18px;
}

.section-collage .collage-head p{
  max-width:70ch;
}

.collage-grid{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:14px;
}

.collage-item{
  margin:0;
  border:1px solid var(--border);
  border-radius:16px;
  overflow:hidden;
  background:var(--brand-soft);
  min-height:160px;
}

.collage-item img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.collage-item:nth-child(1){ grid-column:span 7; grid-row:span 2; min-height:340px; }
.collage-item:nth-child(2){ grid-column:span 5; }
.collage-item:nth-child(3){ grid-column:span 5; }
.collage-item:nth-child(4){ grid-column:span 4; }
.collage-item:nth-child(5){ grid-column:span 8; }

@media (max-width: 900px){
  .collage-grid{ grid-template-columns:repeat(6, 1fr); }
  .collage-item:nth-child(1){ grid-column:span 6; }
  .collage-item:nth-child(2),
  .collage-item:nth-child(3),
  .collage-item:nth-child(4),
  .collage-item:nth-child(5){ grid-column:span 3; }
}

@media (max-width: 600px){
  .collage-grid{ grid-template-columns:1fr; }
  .collage-item{ grid-column:span 1 !important; min-height:220px; }
}
/* ===== Executive Board section ===== */
.section-board h2{
  text-align:center;
  font-size: clamp(28px, 3vw, 44px);
  letter-spacing:.6px;
  margin-bottom: 28px;
}

.section-board .grid{
  gap: 28px;
}
.section-board .card{
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-board .btn-secondary{
  display: inline-flex;
  margin: 12px auto 0;
}
.section-board .card a.btn-secondary{
  margin: 12px auto 0;
}
.countdown{
  margin-top:12px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:10px 12px;
  border-radius:12px;
  font-weight:700;
  background: #f4f6f8;
  border: 1px solid rgba(0,51,102,0.18);
}

.countdown .cd-label{
  color: var(--muted);
  font-weight:600;
}

.countdown .cd-time{
  color: var(--text);
  font-variant-numeric: tabular-nums;
}

.countdown.is-live{
  background: rgba(30,107,255,0.12);
}
/* ===== Contact ===== */
/* ===== Contact ===== */
.section-contact h2{ text-align:center; }

.contact-grid{
margin-top: 24px;
display:grid;
grid-template-columns: 1.2fr .8fr;
gap: 24px;
}

@media (max-width: 900px){
.contact-grid{ grid-template-columns: 1fr; }
}

.contact-card{
background: var(--card);
border: 1px solid var(--border);
border-radius: 18px;
padding: 22px;
box-shadow: 0 10px 30px rgba(11,44,111,0.06);
}

.contact-title{
margin-bottom: 8px;
color: var(--text);
font-weight: 900;
}

.contact-list{
list-style:none;
padding:0;
margin: 14px 0 0;
display:flex;
flex-direction:column;
gap: 10px;
}

/* ACTION ROW: Send Email left, icons right (perfectly aligned) */
.contact-cta-row{
margin-top: 16px;
display:flex;
align-items:center;
justify-content:space-between;
gap: 14px;
flex-wrap: wrap;
}

.contact-actions{
display:flex;
gap: 12px;
align-items:center;
margin: 0; /* remove old margin-top conflicts */
}

/* Social icon buttons */
.social-btn{
width: 44px;
height: 44px;
border-radius: 12px;
display: inline-flex;
align-items: center;
justify-content: center;
background: var(--brand-soft);
border: 1px solid var(--border);
transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.social-btn svg{
width: 22px;
height: 22px;
fill: var(--brand);
}

.social-btn:hover{
background: rgba(30,107,255,0.15);
border-color: rgba(30,107,255,0.35);
transform: translateY(-2px);
}

/* Map container */
.map-embed{
margin-top: 16px;
border-radius: 16px;
overflow: hidden;            /* round the iframe corners */
border: 1px solid var(--border);
}

.map-embed iframe{
display:block;
width:100%;
height:280px;
border:0;
}

/* Mobile: stack button + icons nicely */
@media (max-width: 520px){
.contact-cta-row{
  align-items: stretch;
}
.contact-cta-row .btn{
  width: 100%;
  text-align: center;
}
.contact-actions{
  justify-content: flex-start;
}
}
/* ===== Footer ===== */
.site-footer{
  background:#fff;
  border-top: 1px solid var(--border);
  padding: 28px 0 18px;
}

.footer-inner{
  display:grid;
  grid-template-columns: 1.4fr 1fr 0.8fr;
  gap: 26px;
  align-items:start;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

@media (max-width: 900px){
  .footer-inner{
    grid-template-columns: 1fr;
  }
}
/* === Footer backup layout (phones left, emails right, centered) === */

.footer-backup-grid{
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(160px, 1fr));
  gap: 28px;
  justify-content: center;
  max-width: 420px;
}

.footer-backup-col{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-title{
  font-weight: 800;
  font-size: 13px;
  color: var(--text);
  margin-bottom: 2px;
}

.footer-stack{
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-link{
  color: var(--brand);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
}

.footer-link:hover{
  text-decoration: underline;
}

/* Mobile: stack phones & emails */
@media (max-width: 600px){
  .footer-backup-grid{
    grid-template-columns: 1fr;
    gap: 16px;
  }
}
.footer-brand{
  font-weight: 900;
  color: var(--text);
  font-size: 16px;
}

.footer-muted{
  color: var(--muted);
  font-weight: 600;
  font-size: 13px;
}

.footer-title{
  margin-top: 14px;
  font-weight: 800;
  color: var(--text);
  font-size: 13px;
  letter-spacing: .2px;
}

.footer-backup{
  margin-top: 10px;
}

.footer-stack{
  margin-top: 6px;
  display:flex;
  flex-direction:column;
  gap: 6px;
}

.footer-link{
  color: var(--brand);
  font-weight: 700;
  text-decoration:none;
}

.footer-link:hover{
  text-decoration: underline;
}

.footer-menu{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-direction:column;
  gap: 10px;
}

.footer-menu a{
  color: var(--text);
  text-decoration:none;
  font-weight: 800;
}

.footer-menu a:hover{
  color: var(--brand);
}

.footer-right{
  display:flex;
  justify-content:flex-end;
}

@media (max-width: 900px){
  .footer-right{ justify-content:flex-start; }
}

.footer-designed{
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

.footer-designed strong{
  color: var(--text);
}

.footer-bottom{
  padding-top: 14px;
  display:flex;
  justify-content:center;
  text-align:center;
}
/* ===== EUROAVIA Network Cards ===== */
.section-network{
  padding: 80px 0;
}

.network-heading{
  text-align:center;
  font-size: clamp(30px, 4vw, 48px);
  margin-bottom: 34px;
  color: var(--text);
  font-weight: 900;
}

.network-cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.network-card{
  background: #f7fafc;
  border-radius: 18px;
  padding: 34px 26px;
  text-align:center;
  border: 1px solid rgba(11,44,111,0.10);
}

.network-icon{
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display:grid;
  place-items:center;
}

.network-icon svg{
  width: 64px;
  height: 64px;
  fill: #0b2c6f;
}

.network-value{
  font-size: 28px;
  font-weight: 900;
  color: #222;
  margin-bottom: 6px;
}

.network-label{
  font-size: 20px;
  color: #3a3a3a;
  font-weight: 500;
}

@media (max-width: 900px){
  .network-cards{ grid-template-columns: 1fr; }
}
.footer-backup{
margin-top: 12px;
display: grid;
gap: 4px;
}

.footer-link{
font-weight: 700;
text-decoration: none;
}

.footer-link:hover{
text-decoration: underline;
}

.footer-credits{
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
}

.footer-credits strong{
  color: var(--text);
  font-weight: 800;
}

/* Mobile: center align */
@media (max-width: 700px){
  .footer-credits{
    align-items: center;
    text-align: center;
  }
}
  /* FoWo page */
section[class*="fowo"]{
  padding: 96px 0;
}

section[class*="fowo"] h2{
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  margin-bottom: 24px;
  color: var(--text);
}
.fowo-hero{ padding: 90px 0 40px; }
/* ===== FoWo Hero ===== */
.fowo-hero{
  padding: 120px 0 80px;
  text-align: center;
}

.fowo-title{
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 900;
  margin-bottom: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
}

.fowo-lead{
  font-size: clamp(18px, 2.4vw, 26px);
  font-weight: 700;
  line-height: 1.5;
  max-width: 75ch;
  margin: 0 auto 22px;
  color: var(--text);
}

.fowo-hero .muted{
  font-size: 17px;
  line-height: 1.8;
  max-width: 90ch;
  margin: 0 auto;
  color: var(--muted);
}

.fowo-hero-actions{
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.fowo-hero-actions .btn{
  font-size: 18px;
  padding: 14px 34px;
}
.fowo-cards-grid{
display:grid;
grid-template-columns: repeat(2, 1fr);
gap: 18px;
}
@media (max-width: 900px){ .fowo-cards-grid{ grid-template-columns: 1fr; } }

.fowo-card{
background: var(--card);
border: 1px solid var(--border);
border-radius: 18px;
padding: 18px;
box-shadow: 0 10px 30px rgba(11,44,111,0.06);
}
.fowo-card h3{ margin-top:0; }
.fowo-card ul{ margin: 10px 0 0; padding-left: 18px; }

.fowo-center{ display:flex; justify-content:center; }

.fowo-block h2{ text-align:center; margin-bottom: 10px; }
.fowo-block .muted{ text-align:center; margin: 0 auto; }

.fowo-acc-grid{
margin-top: 18px;
display:grid;
grid-template-columns: 1.1fr .9fr;
gap: 18px;
}
@media (max-width: 900px){ .fowo-acc-grid{ grid-template-columns: 1fr; } }

.fowo-links{ display:flex; gap: 10px; flex-wrap:wrap; margin-bottom: 10px; }

.fowo-gallery{
display:grid;
grid-template-columns: 1fr 1fr;
gap: 12px;
}
.fowo-gallery .fowo-img{
border-radius: 16px;
overflow:hidden;
border: 1px solid var(--border);
background: var(--brand-soft);
min-height: 140px;
}
.fowo-gallery .fowo-img:nth-child(3){ grid-column: 1 / -1; min-height: 180px; }
.fowo-gallery img{ width:100%; height:100%; object-fit:cover; display:block; }

.fowo-coming-soon{
  max-width: 1000px;
  width: 100%;
  opacity: 0.95;
}

/* ===== FoWo Sponsors ===== */
.fowo-sponsors-grid{
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 22px;
}

@media (max-width: 1000px){
.fowo-sponsors-grid{ grid-template-columns: 1fr; }
}

.fowo-sponsor-card{
background: #fff;
border: 1px solid rgba(11,44,111,0.10);
border-radius: 18px;
padding: 26px 22px;
text-align: center;
box-shadow: 0 18px 50px rgba(11,44,111,0.10);
}

.fowo-sponsor-tier{
font-size: 34px;
font-weight: 900;
color: var(--text);
margin-bottom: 10px;
}

.fowo-sponsor-subtitle{
font-size: 18px;
font-weight: 700;
color: rgba(0,0,0,0.75);
margin-bottom: 18px;
}

.fowo-sponsor-logo{
display: grid;
place-items: center;
margin: 0 auto 18px;
}

.fowo-sponsor-logo img{
width: 100%;
max-width: 360px;
border-radius: 14px;
display: block;
box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

.fowo-sponsor-logo-fallback{
width: 100%;
max-width: 360px;
border-radius: 14px;
padding: 50px 18px;
background: var(--brand-soft);
border: 1px solid var(--border);
font-weight: 800;
color: var(--text);
}

.fowo-sponsor-cta{
display: inline-block;
margin-top: 6px;
font-weight: 800;
text-decoration: none;
color: var(--text);
}

.fowo-sponsor-cta:hover{
color: var(--brand);
}
.fowo-pdf iframe{
width: 100%;
height: 720px;
}

@media (max-width: 900px){
.fowo-pdf iframe{
  height: 520px;
}
}

/* ===== PDF Viewer (Schedule + Survival) ===== */
.fowo-pdf-viewer{
max-width: 1100px;
width: 100%;
margin: 0 auto;
border-radius: 16px;
overflow: hidden;
border: 1px solid var(--border);
box-shadow: 0 12px 30px rgba(0,0,0,0.08);
background: #fff;
}

.fowo-pdf-viewer iframe{
width: 100%;
height: 780px;
border: 0;
display: block;
}

@media (max-width: 900px){
.fowo-pdf-viewer iframe{
  height: 520px;
}
}

@media (max-width: 600px){
.fowo-pdf-viewer iframe{
  height: 400px;
}
}
/* ============================
 FoWo Accommodation (Aligned / Cleaner)
 ============================ */

 .fowo-block .container{
  max-width: 1120px;
}

/* Better grid proportions + top alignment */
.fowo-acc-grid{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 28px;
  align-items: start;
}

@media (max-width: 900px){
  .fowo-acc-grid{ grid-template-columns: 1fr; }
}

/* Left side becomes a neat stacked card layout */
.fowo-acc-left{
  display: grid;
  gap: 14px;
}

/* Make title + address visually aligned and consistent */
.fowo-acc-title{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: var(--text);
}

.fowo-acc-address{
  margin: 0;
  line-height: 1.6;
}

/* Buttons row aligned + equal sizing */
.fowo-links{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
}

.fowo-links .btn{
  background: #f4f6f8 !important;
  color: #003366 !important;
  border: 1px solid rgba(0, 51, 102, .18) !important;
  border-radius: 12px;
  padding: 10px 16px;
  font-weight: 800;
  min-height: 42px;            /* same height */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.fowo-links .btn:hover{
  background: #003366 !important;
  color: #f4f6f8 !important;
  border-color: #003366 !important;
  transform: translateY(-1px);
}

/* Map aligned and styled like a real card */
.fowo-map{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--brand-soft);
  box-shadow: 0 10px 26px rgba(11,44,111,0.08);
}

.fowo-map iframe{
  width: 100%;
  height: 260px;
  border: 0;
  display: block;
}

/* “What’s Included” also aligned and cleaner */
.fowo-acc-left h4{
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 900;
  color: var(--text);
}

.fowo-acc-left ul{
  margin: 0;
  padding-left: 18px;
}

.fowo-acc-left li{
  margin: 6px 0;
  line-height: 1.5;
}

/* Right side: give gallery a consistent top alignment and better image sizing */
.fowo-acc-right{
  display: grid;
  align-content: start;
}

/* Gallery layout */
.fowo-gallery{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

/* Images: consistent radius + border + shadow */
.fowo-gallery .fowo-img{
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--brand-soft);
  box-shadow: 0 12px 28px rgba(11,44,111,0.10);
  min-height: 170px;
}

/* Third image full width and taller (more premium look) */
.fowo-gallery .fowo-img:nth-child(3){
  grid-column: 1 / -1;
  min-height: 260px;
}

.fowo-gallery img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* ===== Global Button Theme Override ===== */
.btn{
background: #f4f6f8 !important;
color: #003366 !important;
border: 1px solid rgba(0, 51, 102, .18) !important;
border-radius: 12px;
padding: 10px 16px;
font-weight: 800;
min-height: 42px;
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
transition: transform .15s ease, background .15s ease, color .15s ease, border-color .15s ease;
}

.btn:hover{
background: #003366 !important;
color: #f4f6f8 !important;
border-color: #003366 !important;
transform: translateY(-1px);
}

/* If you have .btn-primary / .btn-secondary, force them too */
.btn-primary,
.btn-secondary{
background: #f4f6f8 !important;
color: #003366 !important;
border: 1px solid rgba(0, 51, 102, .18) !important;
}

.btn-primary:hover,
.btn-secondary:hover{
background: #003366 !important;
color: #f4f6f8 !important;
border-color: #003366 !important;
}
/* ===== FoWo Cards: alignment + equal height ===== */

/* reduce the huge vertical gap between hero text and cards */
.fowo-cards{
padding-top: 30px !important;   /* was too large because of section padding */
}

/* cleaner grid spacing */
.fowo-cards-grid{
margin-top: 24px;
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 22px;
align-items: stretch; /* forces equal-height cards */
}

@media (max-width: 900px){
.fowo-cards-grid{
  grid-template-columns: 1fr;
}
}

/* card layout: make every card identical structure */
.fowo-card{
display: flex;
flex-direction: column;
justify-content: space-between; /* keeps bottoms aligned */
min-height: 150px;              /* makes short cards not look tiny */
padding: 22px;
border-radius: 18px;
}

/* consistent title spacing */
.fowo-card h3{
margin: 0 0 10px;
font-size: 18px;
font-weight: 900;
color: var(--text);
}

/* consistent text */
.fowo-card p,
.fowo-card .muted,
.fowo-card li{
font-size: 15px;
line-height: 1.65;
}

/* if some cards contain lists, normalize spacing */
.fowo-card ul{
margin: 10px 0 0;
padding-left: 18px;
}

/* optional: align all card text to left, while section heading stays centered */
.fowo-cards .fowo-card{
text-align: left;
}
.network-icon svg{
width: 56px;
height: 56px;
display: block;
}

.network-icon .network-svg .net-dot{
fill: #003366;
}

.network-icon .network-svg .net-line{
stroke: #003366;
stroke-width: 2.4;
stroke-linecap: round;
}

.network-cta {
margin-top: 32px;
display: flex;
justify-content: center;
}

.network-cta .btn {
background: #003366;
justify-content: center;
color: #f4f6f8;
padding: 14px 36px;
font-weight: 800;
border-radius: 14px;
text-decoration: none;
transition: all 0.25s ease;
}

.network-cta .btn:hover {
background: #001f3f;
transform: translateY(-2px);
}
.fowo-intro {
text-align: center;
}

.fowo-intro-lead {
font-size: 20px;
font-weight: 700;
max-width: 70ch;
margin: 0 auto 14px;
color: var(--text);
}

.fowo-intro-text {
font-size: 16px;
max-width: 80ch;
margin: 0 auto 28px;
color: var(--muted);
}

.fowo-intro-actions {
display: flex;
justify-content: center;
gap: 16px;
flex-wrap: wrap;
}

.fowo-intro-actions .btn-secondary {
background: #f4f6f8;
color: #003366;
border-radius: 14px;
padding: 12px 28px;
font-weight: 700;
}

.fowo-intro-actions .btn-secondary:hover {
background: #003366;
color: #f4f6f8;
}

.fowo-intro-actions .btn-outline {
border: 2px solid #003366;
color: #003366;
padding: 12px 28px;
border-radius: 14px;
font-weight: 700;
text-decoration: none;
}

.fowo-intro-actions .btn-outline:hover {
background: #003366;
color: #f4f6f8;
}
.network-cta {
margin-top: 32px;
width: 100%;
display: flex;
justify-content: center;
align-items: center;
grid-column: 1 / -1; 
}

.network-cta .btn {
background: #003366;
color: #f4f6f8;
padding: 16px 44px;
font-weight: 800;
font-size: 15px;
border-radius: 14px;
text-decoration: none;
min-width: 240px;
text-align: center;
box-shadow: 0 12px 28px rgba(0, 51, 102, 0.25);
transition: all 0.25s ease;
}

.network-cta .btn:hover {
background: #001f3f;
transform: translateY(-3px);
box-shadow: 0 18px 40px rgba(0, 31, 63, 0.35);
}
.network-icon svg {
width: 44px;
height: 44px;
color: #003366;
}
.network-icon {
display: flex;
justify-content: center;
align-items: center;
}
.ln-btn{
display: inline-flex;
align-items: center;
justify-content: center;
width: 44px;
height: 38px;
border-radius: 12px;
background: #f4f6f8;
border: 1px solid rgba(0,51,102,0.18);
transition: all .2s ease;
margin-top: 10px;
}

.ln-btn svg{
width: 20px;
height: 20px;
fill: #003366;
display: block;
}

.ln-btn:hover{
background: #003366;
transform: translateY(-2px);
}

.ln-btn:hover svg{
fill: #f4f6f8;
}

/* ===== Event Popup Modal ===== */
#event-popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(11, 44, 111, 0.85);
backdrop-filter: blur(8px);
z-index: 9999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}

#event-popup {
background: white;
border-radius: 24px;
max-width: 900px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
position: relative;
box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
animation: slideUp 0.3s ease;
}

@keyframes slideUp {
from {
  opacity: 0;
  transform: translateY(30px);
}
to {
  opacity: 1;
  transform: translateY(0);
}
}

#event-popup-content {
padding: 40px;
}

#event-popup-close {
position: sticky;
top: 20px;
right: 20px;
float: right;
width: 44px;
height: 44px;
border: none;
background: rgba(11, 44, 111, 0.08);
border-radius: 50%;
font-size: 28px;
line-height: 1;
cursor: pointer;
color: var(--text);
font-weight: 300;
transition: all 0.2s ease;
z-index: 10;
}

#event-popup-close:hover {
background: var(--text);
color: white;
transform: rotate(90deg);
}

#popup-event-title {
margin: 0 0 10px;
font-size: clamp(24px, 4vw, 36px);
color: var(--text);
}

#popup-event-date {
font-size: 16px;
font-weight: 600;
margin-bottom: 24px;
}

#popup-event-gallery {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 14px;
margin: 24px 0;
}

#popup-event-gallery img {
width: 100%;
height: 200px;
object-fit: cover;
border-radius: 14px;
border: 1px solid var(--border);
cursor: pointer;
transition: transform 0.2s ease;
}

#popup-event-gallery img:hover {
transform: scale(1.05);
}

#popup-event-explanation {
font-size: 16px;
line-height: 1.7;
color: var(--text);
white-space: pre-wrap;
}

/* Make past event cards clickable */
.event-card.has-popup {
transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.event-card.has-popup:hover {
transform: translateY(-4px);
box-shadow: 0 18px 50px rgba(11, 44, 111, 0.15);
}

@media (max-width: 768px) {
#event-popup-content {
  padding: 24px;
}

#popup-event-gallery {
  grid-template-columns: 1fr;
}

#popup-event-gallery img {
  height: 250px;
}
}
/* ===== Past Event Modal ===== */
html.modal-open, html.modal-open body {
overflow: hidden;
}

.event-modal {
position: fixed;
inset: 0;
z-index: 9999;
display: none;
}

.event-modal.is-open {
display: block;
}

.event-modal__overlay {
position: absolute;
inset: 0;
background: rgba(0,0,0,0.55);
}

.event-modal__dialog {
position: relative;
width: min(980px, calc(100% - 28px));
margin: 6vh auto;
background: #fff;
border-radius: 18px;
overflow: hidden;
box-shadow: 0 30px 80px rgba(0,0,0,0.35);
border: 1px solid rgba(0,0,0,0.06);
}

.event-modal__close {
position: absolute;
top: 10px;
right: 12px;
width: 42px;
height: 42px;
border-radius: 12px;
border: 1px solid rgba(0,0,0,0.12);
background: #fff;
font-size: 26px;
line-height: 40px;
cursor: pointer;
}

.event-modal__media img {
width: 100%;
height: 340px;
object-fit: cover;
display: block;
}

.event-modal__content {
padding: 18px 22px 22px;
}

.event-modal__content h3 {
margin: 0 0 6px;
font-size: 26px;
font-weight: 900;
color: var(--text);
}

.event-modal__meta {
font-weight: 700;
color: rgba(0,0,0,0.6);
margin-bottom: 10px;
}

.event-modal__excerpt {
margin-bottom: 10px;
}

.event-modal__body {
margin-top: 10px;
}

.event-modal__actions {
margin-top: 18px;
display: flex;
justify-content: center;
}

/* Past event cards are buttons now */
.event-card-btn {
text-align: left;
border: 0;
background: transparent;
padding: 0;
cursor: pointer;
}
#event-popup-close{
z-index: 20;
pointer-events: auto;
}
#event-popup{
position: relative;
}
#event-popup-overlay{
z-index: 9999;
}
#popup-event-actions{
display: none;            /* JS açacak */
margin-top: 18px;
padding-top: 14px;
border-top: 1px solid rgba(11,44,111,0.12);
}
#popup-event-actions .btn{
min-width: 220px;
}

/* ===== FoWo Custom Sections ===== */
.fowo-custom-section{
padding: 72px 0;
}

.fowo-custom-content{
max-width: 900px;
margin: 0 auto;
font-size: 16px;
line-height: 1.8;
color: var(--text);
}

.fowo-custom-content p{
margin-bottom: 14px;
max-width: 100%;
}

.fowo-custom-content ul,
.fowo-custom-content ol{
margin: 10px 0 14px;
padding-left: 22px;
}

.fowo-custom-content li{
margin-bottom: 6px;
line-height: 1.7;
}