/* ══════════════════════════════════════════
   THEME DEFINITIONS — CSS custom properties
   ══════════════════════════════════════════ */

/* 1. Bałtycki Bursztyn */
.amber {
  --bg: #F7F3ED;
  --card: #FFFFFF;
  --card-border: #E8DFD0;
  --card-radius: 10px;
  --badge-radius: 50px;
  --nav-bg: #0C1E3C;
  --nav-text: #F7F3ED;
  --primary: #0C1E3C;
  --accent: #D4922A;
  --accent-hover: #b87b1a;
  --text: #2D3436;
  --text-secondary: #4d5659;
  --heading-font: 'DM Serif Display', Georgia, serif;
  --body-font: 'Inter', system-ui, sans-serif;
  --hero-bg: linear-gradient(160deg, rgba(12,30,60,0.78) 0%, rgba(26,63,107,0.72) 100%),
              url('img/osowa-hery.jpg') center/cover no-repeat;
}
.amber .utility-bar { background: #0C1E3C; color: rgba(247,243,237,0.75); border-bottom: 1px solid rgba(255,255,255,0.08); }
.amber .emergency-strip { background: #fdf3e3; color: #A0523C; }
.amber .qc-icon { background: #fdf3e3; color: #D4922A; }
.amber .badge { background: #fdf3e3; color: #D4922A; }
.amber footer { background: #0C1E3C; color: rgba(247,243,237,0.85); }
/* Decorative amber line */
.amber .hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #D4922A, transparent);
}

/* 2. Nordycka Jasność */
.nordic {
  --bg: #FAFBFA;
  --card: #FFFFFF;
  --card-border: #E5E7E3;
  --card-radius: 8px;
  --badge-radius: 4px;
  --nav-bg: #FAFBFA;
  --nav-text: #2C3E50;
  --primary: #2C3E50;
  --accent: #2A7F8E;
  --accent-hover: #1f6570;
  --text: #2C3E50;
  --text-secondary: #5F6B7A;
  --heading-font: 'Inter', system-ui, sans-serif;
  --body-font: 'Inter', system-ui, sans-serif;
  --hero-bg: linear-gradient(160deg, rgba(239,241,237,0.82) 0%, rgba(240,242,238,0.76) 100%),
              url('img/gdansk-molo.jpg') center/cover no-repeat;
}
.nordic .utility-bar { background: #F0F2EE; color: #5F6B7A; border-bottom: 1px solid #E5E7E3; }
.nordic nav { border-bottom: 1px solid #E5E7E3; }
.nordic .hero { color: #2C3E50; padding: 48px var(--edge-pad); }
.nordic .hero h1 { font-size: 34px; }
.nordic .hero p { color: #5F6B7A; opacity: 1; }
.nordic .btn-primary { border-radius: 6px; }
.nordic .btn-secondary { color: #2C3E50; border-color: #E5E7E3; background: #fff; border-radius: 6px; }
.nordic .btn-secondary:hover { background: #F0F2EE; }
.nordic .emergency-strip { background: #fef2f0; color: #c0392b; }
.nordic .qc-icon { background: #E8F3F0; color: #2A7F8E; }
.nordic .badge { background: #E8F3F0; color: #2A7F8E; }
.nordic footer { background: #F0F2EE; color: #5F6B7A; border-top: 1px solid #E5E7E3; }
.nordic .footer-bottom { border-color: #E5E7E3; }
/* Flat — minimal hover */
.nordic .quick-card:hover { box-shadow: none; transform: none; border-color: #2A7F8E; }
.nordic .announcement-item:hover { box-shadow: none; border-color: #2A7F8E; }
/* Teal active nav indicator */
.nordic .nav-links a:first-child { border-bottom: 2px solid #2A7F8E; padding-bottom: 2px; opacity: 1; }

/* 3. Zielona Wspólnota */
.green {
  --bg: #FAFAF5;
  --card: #FFFFFF;
  --card-border: #ddd8cc;
  --card-radius: 12px;
  --badge-radius: 50px;
  --nav-bg: #2D5F3E;
  --nav-text: #FAFAF5;
  --primary: #2D5F3E;
  --accent: #C27B4F;
  --accent-hover: #a8653c;
  --text: #2C3E2D;
  --text-secondary: #4a5f4a;
  --heading-font: 'Lora', Georgia, serif;
  --body-font: 'Source Sans 3', system-ui, sans-serif;
  --hero-bg: linear-gradient(160deg, rgba(45,95,62,0.78) 0%, rgba(61,122,82,0.72) 100%),
              url('img/osowa-daru-pomorza.jpg') center/cover no-repeat;
}
.green .utility-bar { background: #2D5F3E; color: rgba(250,250,245,0.75); border-bottom: 1px solid rgba(255,255,255,0.1); }
.green .emergency-strip { background: #fef9e7; color: #856404; }
.green .qc-icon { background: #eaf3eb; color: #2D5F3E; }
.green .badge { background: #eaf3eb; color: #2D5F3E; }
.green footer { background: #2D5F3E; color: rgba(250,250,245,0.85); }
/* Green left border on cards */
.green .quick-card { border-left: 3px solid #8FAE8B; }
/* Organic wave at bottom of hero */
.green .hero {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 20px), 50% 100%, 0 calc(100% - 20px));
  padding-bottom: 72px;
}

/* 4. Nowoczesna Instytucja */
.modern {
  --bg: #FAF8F5;
  --card: #FFFFFF;
  --card-border: #E0D5C5;
  --card-radius: 10px;
  --badge-radius: 50px;
  --nav-bg: #1E3A5F;
  --nav-text: #FAF8F5;
  --primary: #1E3A5F;
  --accent: #2B7A78;
  --accent-hover: #1f5d5b;
  --text: #1C2833;
  --text-secondary: #566061;
  --heading-font: 'Montserrat', system-ui, sans-serif;
  --body-font: 'Source Sans 3', system-ui, sans-serif;
  --hero-bg: linear-gradient(160deg, rgba(30,58,95,0.78) 0%, rgba(42,80,128,0.72) 100%),
              url('img/osowa-hery.jpg') center/cover no-repeat;
}
.modern .utility-bar { background: #1E3A5F; color: rgba(250,248,245,0.75); border-bottom: 1px solid rgba(255,255,255,0.08); }
.modern .emergency-strip { background: #fdf3e3; color: #A47B5C; }
.modern .qc-icon { background: #e6f0ef; color: #2B7A78; }
.modern .badge { background: #e6f0ef; color: #2B7A78; }
.modern footer { background: #1E3A5F; color: rgba(250,248,245,0.85); }
/* Split hero: left-aligned text */
.modern .hero { text-align: left; }
.modern .hero h1 { max-width: 650px; }
.modern .hero p { max-width: 550px; }
.modern .hero-actions { justify-content: flex-start; }
/* Geometric decoration */
.modern .hero::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
  border: 40px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.modern .hero::after {
  content: '';
  position: absolute;
  right: 60px;
  bottom: -20px;
  width: 200px;
  height: 200px;
  border: 30px solid rgba(255,255,255,0.03);
  border-radius: 50%;
}
/* Photo promo banner */
.modern .photo-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}
.modern .photo-banner-content {
  background: #1E3A5F;
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modern .photo-banner-content h2 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.modern .photo-banner-content p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 16px;
}
.modern .photo-banner-content a {
  color: #D4A843;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.modern .photo-banner-content a:hover { text-decoration: underline; }
.modern .photo-banner-img {
  background-size: cover;
  background-position: center;
  min-height: 200px;
  background-color: rgba(30, 58, 95, 0.3);
  background-blend-mode: overlay;
  filter: brightness(1.15) saturate(1.3);
}

/* 4b. Nowoczesna Instytucja — wariant Gov */
.modern-gov {
  --bg: #FAF8F5;
  --card: #FFFFFF;
  --card-border: #E0D5C5;
  --card-radius: 10px;
  --badge-radius: 50px;
  --nav-bg: #1E3A5F;
  --nav-text: #FAF8F5;
  --primary: #1E3A5F;
  --accent: #CC3344;
  --accent-hover: #A82838;
  --text: #1C2833;
  --text-secondary: #566061;
  --heading-font: 'Montserrat', system-ui, sans-serif;
  --body-font: 'Source Sans 3', system-ui, sans-serif;
  --hero-bg: linear-gradient(160deg, rgba(30,58,95,0.78) 0%, rgba(42,80,128,0.72) 100%),
              url('img/osowa-orfeusza.jpg') center/cover no-repeat;
}
.modern-gov .utility-bar { background: #1E3A5F; color: rgba(250,248,245,0.75); border-bottom: 1px solid rgba(255,255,255,0.08); }
.modern-gov .emergency-strip { background: #fde8e8; color: #A82838; border-left: 4px solid #CC3344; }
.modern-gov .qc-icon { background: #eef2f7; color: #1E3A5F; }
.modern-gov .badge { background: #fde8e8; color: #CC3344; }
.modern-gov .badge-pin { background: #fde8e8 !important; color: #CC3344 !important; }
.modern-gov footer { background: #1E3A5F; color: rgba(250,248,245,0.85); }
/* Split hero: left-aligned text */
.modern-gov .hero { text-align: left; }
.modern-gov .hero h1 { max-width: 650px; }
.modern-gov .hero p { max-width: 550px; }
.modern-gov .hero-actions { justify-content: flex-start; }
/* Geometric decoration */
.modern-gov .hero::before {
  content: '';
  position: absolute;
  right: -40px;
  top: -40px;
  width: 300px;
  height: 300px;
  border: 40px solid rgba(255,255,255,0.04);
  border-radius: 50%;
}
.modern-gov .hero::after {
  content: '';
  position: absolute;
  right: 60px;
  bottom: -20px;
  width: 200px;
  height: 200px;
  border: 30px solid rgba(255,255,255,0.03);
  border-radius: 50%;
}
/* Photo promo banner — red variant */
.modern-gov .photo-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
}
.modern-gov .photo-banner-content {
  background: #1E3A5F;
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.modern-gov .photo-banner-content h2 {
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}
.modern-gov .photo-banner-content p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 16px;
}
.modern-gov .photo-banner-content a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  background: #CC3344;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  align-self: flex-start;
  transition: background 0.2s;
}
.modern-gov .photo-banner-content a:hover { background: #A82838; }
.modern-gov .photo-banner-img {
  background-size: cover;
  background-position: center;
  min-height: 200px;
  background-color: rgba(30, 58, 95, 0.3);
  background-blend-mode: overlay;
  filter: brightness(1.15) saturate(1.3);
}
/* Red accent on section links */
.modern-gov .section-header a { color: #CC3344; }
/* Red left border on cards — muted, active on hover */
.modern-gov .quick-card { border-left: 3px solid rgba(204,51,68,0.25); transition: border-color 0.2s; }
.modern-gov .quick-card:hover { border-left-color: #CC3344; }

/* 5. Gov.pl Instytucjonalny */
.govpl {
  --bg: #FFFFFF;
  --card: #FFFFFF;
  --card-border: #D0D5DD;
  --card-radius: 0;
  --badge-radius: 2px;
  --nav-bg: #FFFFFF;
  --nav-text: #1A1A1A;
  --primary: #0052A5;
  --accent: #0052A5;
  --accent-hover: #003D7A;
  --text: #1A1A1A;
  --text-secondary: #4A4A4A;
  --heading-font: 'Inter', system-ui, sans-serif;
  --body-font: 'Inter', system-ui, sans-serif;
  --hero-bg: linear-gradient(160deg, rgba(0,82,165,0.89) 0%, rgba(0,61,122,0.86) 100%),
              url('img/osowa-blizniat.jpg') center/cover no-repeat;
}
.govpl .utility-bar { background: #F5F7FA; color: #4A4A4A; border-bottom: 1px solid #D0D5DD; }
.govpl nav { border-bottom: 2px solid #0052A5; box-shadow: 0 1px 3px rgba(0,0,0,0.08); padding: 0 32px; }
.govpl .nav-logo { color: #0052A5; }
.govpl .nav-links { gap: 20px; }
.govpl .nav-links a { text-transform: uppercase; font-size: 13px; letter-spacing: 0.05em; font-weight: 600; opacity: 1; color: #1A1A1A; }
.govpl .btn-primary { background: #fff; color: #0052A5; border-radius: 0; font-weight: 700; }
.govpl .btn-primary:hover { background: #e8f0fa; }
.govpl .btn-secondary { border-radius: 0; }
.govpl .hero-search input { border-radius: 0; border-color: rgba(255,255,255,0.5); }
.govpl .hero-search button { border-radius: 0; background: #CC3344; color: #fff; font-weight: 700; }
.govpl .hero-search button:hover { background: #A82838; }
.govpl .emergency-strip { background: #fde8e8; color: #A82838; border-left: 4px solid #CC3344; }
.govpl .qc-icon { background: #e8f0fa; color: #0052A5; border-radius: 0; }
.govpl .badge { background: #e8f0fa; color: #0052A5; }
.govpl .badge-pin { background: #fde8e8 !important; color: #CC3344 !important; }
.govpl footer { background: #0052A5; color: rgba(255,255,255,0.8); }
.govpl .footer-bottom { border-color: rgba(255,255,255,0.2); }
/* Red login link */
.govpl .govpl-login { font-weight: 600; color: #CC3344 !important; }
.govpl .govpl-login:hover { color: #A82838 !important; }
/* Utility bar bottom */
.govpl .govpl-utilbar { border-bottom: 1px solid #D0D5DD; }

/* Godło in nav */
.govpl .nav-godlo {
  height: 28px;
  width: auto;
  margin-right: 10px;
  vertical-align: middle;
}

/* Hero with photo background */
.govpl .govpl-hero {
  /* hero bg handled by --hero-bg variable */
}

/* Promo banner — gov.pl featured block */
.govpl .promo-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1100px;
  margin: 32px auto;
  padding: 0;
  overflow: hidden;
}
.govpl .promo-content {
  background: #0052A5;
  color: #fff;
  padding: 40px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.govpl .promo-content h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}
.govpl .promo-content p {
  font-size: 15px;
  line-height: 1.7;
  opacity: 0.9;
  margin-bottom: 20px;
}
.govpl .promo-cta {
  display: inline-block;
  background: #CC3344;
  color: #fff;
  border: 2px solid #CC3344;
  padding: 12px 28px;
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  font-family: var(--body-font);
  align-self: flex-start;
  transition: all 0.2s;
}
.govpl .promo-cta:hover { background: #A82838; border-color: #A82838; }
.govpl .promo-photo {
  background-size: cover;
  background-position: center;
  min-height: 220px;
  background-color: rgba(30, 58, 95, 0.3);
  background-blend-mode: overlay;
  filter: brightness(1.15) saturate(1.3);
}

/* Benefits row — like gov.pl "Korzyści dla ciebie" */
.govpl .govpl-benefits-section {
  background: #F5F7FA;
  max-width: 100%;
  padding: 40px var(--edge-pad);
}
.govpl .govpl-benefits-section .section-title {
  max-width: 1100px;
  margin: 0 auto 24px;
}
.govpl .govpl-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 1100px;
  margin: 0 auto;
}
.govpl .govpl-benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.govpl .govpl-benefit-icon {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}
.govpl .govpl-benefit h4 {
  font-size: 17px;
  font-weight: 700;
  color: #0052A5;
  margin-bottom: 6px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.govpl .govpl-benefit p {
  font-size: 15px;
  color: #4A4A4A;
  line-height: 1.6;
}

/* Announcements full-width section */
.govpl .govpl-announcements-section { padding: 48px var(--edge-pad); }

/* Blue accent on category tabs */
.govpl .category-tabs button.active { border-bottom-color: #0052A5; color: #0052A5; }
/* Blue line on section titles */
.govpl .section-title { border-left: 4px solid #0052A5; padding-left: 12px; }

/* Richer govpl cards */
.govpl .govpl-card {
  padding: 28px;
  border-left: 4px solid #0052A5;
  transition: all 0.25s;
}
.govpl .govpl-card:hover {
  border-left-color: #003D7A;
  background: #F5F7FA;
}
.govpl .govpl-card h3 { font-size: 17px; margin-bottom: 8px; }
.govpl .govpl-card p { font-size: 15px; line-height: 1.65; }
.govpl .govpl-card .qc-icon {
  width: 48px;
  height: 48px;
  font-size: 22px;
  margin-bottom: 16px;
}
/* Alternate section background */
.govpl .announcement-item { background: #fff; }
.govpl .announcement-item:hover { background: #F5F7FA; }

/* 6. Gdańsk Morski */
.gdansk {
  --bg: #F8F9FB;
  --card: #FFFFFF;
  --card-border: #D7D7D7;
  --card-radius: 6px;
  --badge-radius: 50px;
  --nav-bg: #001E43;
  --nav-text: #FFFFFF;
  --primary: #001E43;
  --accent: #D4A843;
  --accent-hover: #b8912e;
  --text: #1C1C1C;
  --text-secondary: #555555;
  --heading-font: 'Source Sans 3', system-ui, sans-serif;
  --body-font: 'Source Sans 3', system-ui, sans-serif;
  --hero-bg: linear-gradient(160deg, rgba(0,30,67,0.75) 0%, rgba(14,72,143,0.68) 100%),
              url('img/gdansk-motlawa.jpg') center/cover no-repeat;
}
.gdansk .utility-bar { background: #001E43; color: rgba(255,255,255,0.75); border-bottom: 1px solid rgba(255,255,255,0.08); }
.gdansk nav { box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.gdansk .emergency-strip { background: #fdf6e3; color: #996d1e; }
.gdansk .qc-icon { background: #fdf6e3; color: #D4A843; }
.gdansk .badge { background: #fdf6e3; color: #996d1e; }
.gdansk footer { background: #001E43; color: rgba(255,255,255,0.85); }
/* Gdańsk city logo in footer */
.gdansk .footer-gdansk-logo,
.gdansk-dark .footer-gdansk-logo {
  height: 40px;
  width: auto;
  margin-bottom: 12px;
  opacity: 0.7;
}
.gdansk-dark .footer-gdansk-logo {
  filter: brightness(1.3);
}
/* Gold accents */
.gdansk .quick-card { border-top: 3px solid #D4A843; }
.gdansk footer { border-top: 3px solid #D4A843; }
/* Gold hero underline */
.gdansk .hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, #D4A843 50%, transparent 90%);
}

/* 6-dark. Gdańsk Morski — tryb ciemny */
.gdansk-dark {
  --bg: #0a1628;
  --card: #132035;
  --card-border: #1e3350;
  --card-radius: 6px;
  --badge-radius: 50px;
  --nav-bg: #060e1c;
  --nav-text: #e0e6ed;
  --primary: #D4A843;
  --accent: #D4A843;
  --accent-hover: #e6bc5a;
  --text: #d0d6de;
  --text-secondary: #8a95a5;
  --heading-font: 'Source Sans 3', system-ui, sans-serif;
  --body-font: 'Source Sans 3', system-ui, sans-serif;
  --hero-bg: linear-gradient(160deg, rgba(6,14,28,0.78) 0%, rgba(13,31,58,0.72) 100%),
              url('img/gdansk-motlawa.jpg') center/cover no-repeat;
}
.gdansk-dark .utility-bar { background: #060e1c; color: rgba(255,255,255,0.65); border-bottom: 1px solid rgba(255,255,255,0.06); }
.gdansk-dark nav { box-shadow: 0 5px 15px rgba(0,0,0,0.4); }
.gdansk-dark .emergency-strip { background: #1a1505; color: #D4A843; }
.gdansk-dark .qc-icon { background: rgba(212,168,67,0.12); color: #D4A843; }
.gdansk-dark .badge { background: rgba(212,168,67,0.15); color: #D4A843; }
.gdansk-dark .quick-card { border-top: 3px solid #D4A843; }
.gdansk-dark .quick-card:hover { box-shadow: 0 6px 24px rgba(0,0,0,0.3); }
.gdansk-dark .info-bar { background: #0f1a2d; border-color: #1e3350; }
.gdansk-dark footer { background: #060e1c; color: rgba(255,255,255,0.75); border-top: 3px solid #D4A843; }
.gdansk-dark .footer-bottom { border-color: rgba(255,255,255,0.08); }
.gdansk-dark .hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent 10%, #D4A843 50%, transparent 90%);
}

/* 7. Europejski Civic — nowoczesny design system */
.civic {
  --bg: #F7F9FC;
  --card: #FFFFFF;
  --card-border: #E2E8F0;
  --card-radius: 8px;
  --badge-radius: 6px;
  --nav-bg: #1A2744;
  --nav-text: #FFFFFF;
  --primary: #1A2744;
  --accent: #2563EB;
  --accent-hover: #1D4ED8;
  --text: #1E293B;
  --text-secondary: #475569;
  --heading-font: 'Inter', system-ui, sans-serif;
  --body-font: 'Inter', system-ui, sans-serif;
  --hero-bg: linear-gradient(160deg, rgba(26,39,68,0.78) 0%, rgba(37,99,235,0.72) 100%),
              url('img/osowa-blizniat.jpg') center/cover no-repeat;
}
.civic .utility-bar { background: #F1F5F9; color: #475569; border-bottom: 1px solid #E2E8F0; }
.civic .nav-links a { opacity: 1; }
/* Hero — modern left-aligned, content aligned with sections */
.civic .hero { text-align: left; }
.civic .civic-hero-inner { max-width: 1060px; margin: 0 auto; }
.civic .hero h1 { font-size: 34px; max-width: 650px; font-weight: 800; letter-spacing: -0.02em; }
.civic .hero p { font-size: 18px; max-width: 550px; }
.civic .hero-actions { justify-content: flex-start; }
/* Modern button — no 3D, clean shadow */
.civic .btn-primary {
  background: #fff;
  color: #2563EB;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  padding: 14px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.civic .btn-primary:hover { background: #F1F5F9; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,0,0,0.12); }
.civic .btn-secondary { border-radius: 8px; border-color: rgba(255,255,255,0.4); }
.civic .section { max-width: 1060px; }
.civic .section-title { font-size: 24px; font-weight: 800; letter-spacing: -0.01em; }
/* Emergency — subtle */
.civic .emergency-strip { background: #FEF2F2; color: #B91C1C; border-top: 2px solid #FECACA; }
.civic .qc-icon { background: #EFF6FF; color: #2563EB; }
/* Modern cards with hover elevation */
.civic .quick-card {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: all 0.25s;
}
.civic .quick-card:hover {
  box-shadow: 0 8px 25px rgba(37,99,235,0.1);
  border-color: #2563EB;
  transform: translateY(-4px);
}
.civic .quick-card h3 { color: #2563EB; }
/* Announcements — modern */
.civic .announcement-item {
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  transition: all 0.2s;
}
.civic .announcement-item:hover {
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(37,99,235,0.08);
}
.civic .badge { background: #EFF6FF; color: #2563EB; }
.civic .badge-pin { background: #FEF3C7 !important; color: #92400E !important; }
/* Larger text for accessibility */
.civic .announcement-item h4 { font-size: 18px; }
.civic .announcement-item p { font-size: 15px; }
.civic .section-header a { font-size: 15px; color: #2563EB; font-weight: 600; }
.civic .quick-card p { font-size: 15px; }
/* Info bar */
.civic .info-bar { background: #fff; border-color: #E2E8F0; }
/* Footer — modern, not 10px border */
.civic footer { background: #1A2744; color: rgba(255,255,255,0.85); }
.civic .footer-inner { max-width: 1060px; }
.civic .info-grid { max-width: 1060px; }
.civic .footer-bottom { border-color: rgba(255,255,255,0.12); }
/* Breadcrumbs modern */
.civic .breadcrumbs { font-size: 14px; }
.civic .breadcrumbs a { color: #2563EB; }

/* ══════════════════════════════════════════
   MOBILE PREVIEW — theme-specific overrides
   ══════════════════════════════════════════ */

/* Gov.pl mobile */
.mobile-preview .govpl nav { padding: 0 16px; }
.mobile-preview .govpl .promo-banner {
  grid-template-columns: 1fr;
}
.mobile-preview .govpl .promo-content {
  padding: 28px 20px;
}
.mobile-preview .govpl .promo-content h2 { font-size: 20px; }
.mobile-preview .govpl .promo-photo {
  min-height: 160px;
}
.mobile-preview .govpl .govpl-benefits {
  grid-template-columns: 1fr;
  gap: 20px;
}
.mobile-preview .govpl .govpl-benefits-section {
  padding: 28px 16px;
}
.mobile-preview .govpl .hero h1 { font-size: 22px; }

/* Modern mobile — reset left-align */
.mobile-preview .modern .hero { text-align: center; }
.mobile-preview .modern .hero h1 { max-width: 100%; }
.mobile-preview .modern .hero p { max-width: 100%; }
.mobile-preview .modern .hero-actions { justify-content: center; }

/* Civic mobile — reset left-align */
.mobile-preview .civic .hero { text-align: center; }
.mobile-preview .civic .hero h1 { max-width: 100%; font-size: 24px; }
.mobile-preview .civic .hero p { max-width: 100%; }
.mobile-preview .civic .hero-actions { justify-content: center; }
.mobile-preview .civic .section { max-width: 100%; }

/* Nordic mobile */
.mobile-preview .nordic .hero { padding: 36px 16px; }
.mobile-preview .nordic .hero h1 { font-size: 24px; }

/* Gdansk mobile */
.mobile-preview .gdansk .hero h1,
.mobile-preview .gdansk-dark .hero h1 { font-size: 24px; }

/* Modern photo banner mobile */
.mobile-preview .modern .photo-banner,
.mobile-preview .modern-gov .photo-banner { grid-template-columns: 1fr; }
.mobile-preview .modern .photo-banner-content,
.mobile-preview .modern-gov .photo-banner-content { padding: 28px 20px; }
.mobile-preview .modern .photo-banner-img,
.mobile-preview .modern-gov .photo-banner-img { min-height: 140px; }

/* Modern-gov mobile — reset left-align */
.mobile-preview .modern-gov .hero { text-align: center; }
.mobile-preview .modern-gov .hero h1 { max-width: 100%; }
.mobile-preview .modern-gov .hero p { max-width: 100%; }
.mobile-preview .modern-gov .hero-actions { justify-content: center; }

