/*
Theme Name: SeaWorld
Theme URI: https://seaworld.gr/
Author: SeaWorld
Description: Custom WordPress theme for SeaWorld Diving Centers.
Version: 1.9.9
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: seaworld
*/

:root {
  --ink: #071823;
  --deep: #052c3d;
  --ocean: #007c91;
  --reef: #00a79d;
  --accent: #ffffff;
  --mist: #eef7f8;
  --foam: #ffffff;
  --muted: #5c7280;
  --line: rgba(7, 24, 35, 0.12);
  --shadow: 0 18px 45px rgba(7, 24, 35, 0.14);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: hidden; scroll-behavior: smooth; }
body { max-width: 100%; margin: 0; overflow-x: hidden; color: var(--ink); font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.65; background: var(--foam); }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img, iframe, video, canvas, svg { display: block; max-width: 100%; }

.site-header { position: fixed; z-index: 20; inset: 0 0 auto; overflow: visible; background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(16px); border-bottom: 1px solid rgba(7, 24, 35, 0.1); box-shadow: 0 10px 30px rgba(7, 24, 35, 0.08); }
body.admin-bar .site-header { top: 32px; }
.header-inner { width: min(var(--max), calc(100% - 40px)); min-height: 78px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.brand { min-width: 0; display: inline-flex; align-items: center; text-decoration: none; }
.brand img { width: auto; max-width: min(310px, 38vw); height: 64px; object-fit: contain; }
.main-nav { position: fixed; z-index: 21; top: 0; right: max(20px, calc((100vw - var(--max)) / 2)); height: 78px; display: flex; align-items: center; gap: 22px; }
body.admin-bar .main-nav { top: 32px; }
.main-nav li { list-style: none; }
.main-nav a { color: rgba(7, 24, 35, 0.82); font-size: 0.86rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.main-nav a:hover, .main-nav a:focus { color: var(--ocean); }
.main-nav .lang-switch { display: inline-flex; align-items: center; gap: 6px; padding: 7px 9px; color: var(--deep); background: rgba(0, 124, 145, 0.08); border: 1px solid rgba(0, 124, 145, 0.18); border-radius: 4px; }
.main-nav .lang-switch span { font-size: 1rem; line-height: 1; }
.main-nav .lang-switch strong { font-size: 0.72rem; line-height: 1; }
.main-nav .lang-switch:hover, .main-nav .lang-switch:focus { color: var(--ocean); background: rgba(0, 167, 157, 0.14); }
.nav-toggle { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; color: var(--deep); background: rgba(0, 124, 145, 0.08); border: 1px solid rgba(0, 124, 145, 0.2); border-radius: 4px; cursor: pointer; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { width: 20px; height: 2px; display: block; background: currentColor; content: ""; }
.nav-toggle span { position: relative; }
.nav-toggle span::before, .nav-toggle span::after { position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }

.hero { min-height: 82vh; display: grid; align-items: end; color: var(--foam); background: linear-gradient(180deg, rgba(5, 44, 61, 0.42), rgba(5, 44, 61, 0.78)), var(--hero-image, linear-gradient(135deg, var(--deep), var(--ocean))) center / cover; }
.hero-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; padding: 140px 0 56px; }
.eyebrow { margin: 0 0 14px; color: var(--muted); font-size: 0.86rem; font-weight: 900; text-transform: uppercase; }
.hero .eyebrow, .intro-panel .eyebrow, .contact .eyebrow, .excellence .eyebrow { color: var(--foam) !important; }
.hero h1, .section-title h2, .center-copy h3, .contact h2, .award-copy h2 { margin: 0; line-height: 1.04; letter-spacing: 0; }
.hero h1 { max-width: 860px; font-size: clamp(3rem, 8vw, 6.6rem); }
.hero-copy { max-width: 760px; margin: 22px 0 0; color: rgba(255, 255, 255, 0.9); font-size: clamp(1rem, 1.7vw, 1.22rem); }
.hero-actions, .contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.button { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; padding: 12px 18px; border: 1px solid transparent; border-radius: 4px; font-weight: 900; text-decoration: none; }
.button.primary { color: var(--deep); background: var(--foam); }
.button.secondary { color: var(--foam); border-color: rgba(255, 255, 255, 0.56); }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; margin-top: 44px; background: rgba(255, 255, 255, 0.18); }
.hero-stat { min-height: 112px; padding: 20px; background: rgba(5, 44, 61, 0.68); }
.hero-stat strong { display: block; color: var(--accent); font-size: clamp(1.25rem, 2vw, 2rem); line-height: 1.08; }
.hero-stat span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.82); font-weight: 800; }

.section { padding: 48px 0; }
.section.alt { background: var(--mist); }
.wrap { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.section-title { max-width: 1040px; margin-bottom: 28px; }
.section-title h2, .contact h2, .award-copy h2 { font-size: clamp(2rem, 3.4vw, 3.45rem); overflow-wrap: normal; word-break: normal; }
.section-title p, .contact-lead { margin: 16px 0 0; color: var(--muted); font-size: 1.08rem; }
.section .section-title .eyebrow, .section.alt .eyebrow, .legacy-feature .eyebrow { color: var(--muted) !important; }

.legacy-feature { padding: 48px 0; background: var(--mist); }
.award { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 38px; align-items: center; }
.award-image img { width: 100%; height: auto; object-fit: contain; }
.award-copy { padding: 34px; border-left: 6px solid rgba(0, 167, 157, 0.45); }
.award-copy p { color: var(--muted); }
.legacy-mini-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.legacy-mini-points span { padding: 8px 10px; color: var(--deep); background: rgba(0, 167, 157, 0.12); border: 1px solid rgba(0, 167, 157, 0.22); border-radius: 4px; font-size: 0.8rem; font-weight: 900; }

.intro-grid { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.intro-panel { padding: 36px; color: var(--foam); background: var(--deep); }
.intro-panel h2 { margin: 0 0 16px; font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.08; }
.intro-panel p { margin: 0; color: rgba(255, 255, 255, 0.84); }
#centers { padding-bottom: 32px; }
.section.cdc-home-section { padding: 0 0 32px; }
.cdc-home-feature { display: grid; grid-template-columns: minmax(230px, 0.65fr) minmax(0, 1.35fr); gap: clamp(28px, 5vw, 68px); align-items: center; margin-top: 0; padding: clamp(28px, 5vw, 58px); color: var(--foam); background: linear-gradient(135deg, var(--deep), #075d72); border: 1px solid rgba(255, 255, 255, 0.14); box-shadow: var(--shadow); }
.cdc-home-logo { min-height: 220px; display: flex; align-items: center; justify-content: center; padding: 28px; background: var(--foam); border-radius: 4px; text-decoration: none; transition: transform 0.25s ease; }
.cdc-home-logo:hover, .cdc-home-logo:focus { transform: translateY(-3px); }
.cdc-home-logo img { width: 100%; max-width: 390px; max-height: 180px; object-fit: contain; }
.cdc-home-copy h2 { max-width: 780px; margin: 4px 0 0; color: var(--foam); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.04; }
.cdc-home-copy > p:not(.eyebrow) { max-width: 760px; margin: 18px 0 24px; color: rgba(255, 255, 255, 0.82); }
.cdc-home-copy .button.primary { color: var(--deep); background: var(--foam); }
.cdc-home-copy .button.primary:hover, .cdc-home-copy .button.primary:focus { color: var(--foam); background: var(--ocean); }
.partner-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.cert-card { grid-column: 1 / -1; background: var(--foam); border: 1px solid var(--line); }
.cert-card summary { position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; gap: 22px; align-items: center; padding: 22px 62px 22px 24px; cursor: pointer; list-style: none; }
.cert-card summary::-webkit-details-marker { display: none; }
.cert-card summary::after { content: "+"; position: absolute; right: 24px; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; color: var(--foam); background: var(--deep); border-radius: 50%; font-size: 1.35rem; font-weight: 900; line-height: 1; }
.cert-card[open] summary::after { content: "\2212"; font-size: 1.45rem; padding-bottom: 2px; }
.cert-card img { width: 100%; max-height: 128px; object-fit: contain; }
.cert-card strong { display: block; color: var(--deep); font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.12; }
.cert-card em { display: block; margin-top: 8px; color: var(--muted); font-size: 0.98rem; font-style: normal; line-height: 1.45; }
.cert-content { padding: 0 28px 26px 216px; }
.cert-card p { margin: 0 0 12px; color: var(--muted); font-size: 0.98rem; line-height: 1.65; }
.cert-card p:last-child { margin-bottom: 0; }
.partner-logo { min-height: 138px; display: flex; align-items: center; justify-content: center; padding: 12px; background: var(--foam); border: 1px solid var(--line); }
.partner-logo img { max-height: 106px; width: 100%; object-fit: contain; }

.centers { display: grid; gap: 38px; }
.center-map { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr); gap: 0; overflow: hidden; background: var(--foam); border: 1px solid var(--line); box-shadow: var(--shadow); }
.seaworld-map { min-height: 470px; overflow: hidden; background: #b9dce7; }
.seaworld-map .leaflet-tile-pane { filter: saturate(1.04) contrast(1.03) brightness(0.98); }
.seaworld-map .leaflet-control-zoom { border: 0; box-shadow: var(--shadow); }
.seaworld-map .leaflet-control-zoom a { color: var(--deep); border: 0; }
.seaworld-map .leaflet-popup-content-wrapper { color: var(--ink); border-radius: 4px; box-shadow: 0 18px 38px rgba(7, 24, 35, 0.2); }
.seaworld-map .leaflet-popup-content { min-width: 190px; margin: 14px; font-family: Arial, Helvetica, sans-serif; }
.seaworld-map .leaflet-popup-content strong { display: block; margin-bottom: 8px; line-height: 1.2; }
.sw-popup-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.seaworld-map .leaflet-popup-content a, .seaworld-map .leaflet-popup-content span { display: inline-flex; padding: 7px 9px; color: var(--foam); background: var(--deep); border-radius: 4px; font-size: 0.76rem; font-weight: 900; text-decoration: none; text-transform: uppercase; }
.seaworld-map .leaflet-popup-content span { color: var(--muted); background: var(--mist); }
.sw-map-marker { width: 20px; height: 20px; display: block; background: var(--reef); border: 4px solid var(--foam); border-radius: 50%; box-shadow: 0 0 0 8px rgba(0, 167, 157, 0.24), 0 14px 24px rgba(7, 24, 35, 0.26); }
.map-points { display: grid; gap: 1px; background: var(--line); }
.map-point { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 22px; color: var(--ink); background: var(--foam); }
.map-points strong { font-size: 1rem; line-height: 1.2; }
.map-actions { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.map-actions a, .map-actions span { min-width: 92px; padding: 8px 10px; color: var(--foam); background: var(--ocean); border-radius: 4px; font-size: 0.78rem; font-weight: 900; text-align: center; text-decoration: none; text-transform: uppercase; }
.map-actions a:hover, .map-actions a:focus { color: var(--deep); background: var(--foam); outline: 2px solid var(--ocean); outline-offset: 2px; }
.map-actions .is-disabled { color: var(--muted); background: var(--mist); }
.center { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); overflow: hidden; background: var(--foam); border: 1px solid var(--line); box-shadow: var(--shadow); }
.center:nth-child(even) { grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr); }
.center:nth-child(even) .center-media { order: 2; }
.center-media { display: block; overflow: hidden; }
.center-media img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; transition: transform 0.45s ease; }
.center-media:hover img { transform: scale(1.035); }
.center-placeholder { min-height: 430px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; padding: 42px; background: linear-gradient(135deg, #ffffff, var(--mist)); }
.center-placeholder img { width: min(86%, 420px); height: auto; min-height: 0; object-fit: contain; }
.center-placeholder span { display: inline-flex; padding: 9px 12px; color: var(--foam); background: var(--deep); border-radius: 4px; font-size: 0.82rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.center-copy { min-width: 0; padding: clamp(26px, 4vw, 54px); }
.center-copy h3 { font-size: clamp(1.6rem, 3vw, 2.7rem); }
.center-copy p { margin: 18px 0 0; color: var(--muted); }
.center-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 8px 10px; color: var(--deep); background: #e5f4f3; border-radius: 4px; font-size: 0.8rem; font-weight: 900; line-height: 1.15; }
.center-link { display: inline-flex; align-items: center; min-height: 34px; padding: 8px 12px; color: var(--foam); background: var(--deep); border-radius: 4px; font-size: 0.8rem; font-weight: 900; text-decoration: none; }
.center-link:hover, .center-link:focus { background: var(--ocean); }

.services-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
#services { padding: 32px 0 36px; }
#services .section-title { margin-bottom: 30px; }
.service { min-height: 205px; padding: 24px; color: var(--foam); background: var(--deep); }
.service:nth-child(2), .service:nth-child(3) { background: var(--ocean); }
.service:nth-child(4) { background: #006f74; }
.service strong { display: block; margin-bottom: 14px; font-size: 1.1rem; line-height: 1.2; }
.service p { margin: 0; }

#gallery { padding-top: 36px; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.gallery-item { position: relative; margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--mist); }
.gallery-item img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; object-fit: cover; object-position: center; }

.honorary { background: var(--foam); }
.honorary { padding-bottom: 34px; }
#about { padding-top: 34px; }
.honorary-title { max-width: 1120px; text-align: center; }
.honorary-title h2 { max-width: 980px; margin-right: auto; margin-left: auto; font-size: clamp(2.35rem, 4.6vw, 4.7rem); line-height: 0.96; }
.honorary-title h2 span { display: block; }
.honorary-title h2 span + span { margin-top: 6px; font-size: 0.82em; }
.honorary-title p { max-width: 1040px; margin-right: auto; margin-left: auto; }
.honorary-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.honorary-grid img { width: 100%; height: 360px; object-fit: cover; box-shadow: var(--shadow); }

.excellence { position: relative; overflow: hidden; color: var(--foam); background: linear-gradient(90deg, rgba(4, 16, 24, 0.92), rgba(5, 44, 61, 0.7), rgba(0, 124, 145, 0.52)), var(--excellence-image, linear-gradient(135deg, var(--deep), var(--ocean))) center / cover; }
.excellence::before { position: absolute; inset: 0; display: block; pointer-events: none; background: linear-gradient(180deg, rgba(4, 16, 24, 0.2), rgba(4, 16, 24, 0.78)); content: ""; }
.excellence .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.72fr); gap: clamp(34px, 5vw, 72px); align-items: center; min-height: 520px; }
.excellence-header { max-width: 720px; }
.excellence h2 { max-width: 720px; margin: 0; font-size: clamp(2.5rem, 5vw, 5.15rem); line-height: 1; }
body.lang-el .excellence h2 { max-width: 680px; font-size: clamp(2.35rem, 4.05vw, 4.15rem); line-height: 1.04; }
.excellence .eyebrow { margin-bottom: 18px; }
.excellence-lead { max-width: 660px; margin: 28px 0 0; padding-left: 20px; color: rgba(255, 255, 255, 0.9); border-left: 4px solid rgba(255, 255, 255, 0.48); font-size: clamp(1.08rem, 1.45vw, 1.34rem); font-weight: 760; line-height: 1.45; }
.excellence-copy { display: grid; gap: 0; padding: clamp(26px, 4vw, 44px); background: rgba(5, 44, 61, 0.76); border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 4px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28); backdrop-filter: blur(10px); }
.excellence-copy p { margin: 0; padding: 22px 0; color: rgba(255, 255, 255, 0.9); border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 1.04rem; }
.excellence-copy p:first-child { padding-top: 0; border-top: 0; }
.excellence-copy p:last-child { padding-bottom: 0; }

.contact { background: var(--ink); color: var(--foam); }
.contact .wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 44px; }
.contact-lead { color: rgba(255, 255, 255, 0.7); }
.contact-callout { margin: 28px 0 0; max-width: 520px; padding: 16px 18px; color: rgba(255, 255, 255, 0.92); background: linear-gradient(135deg, rgba(0, 124, 145, 0.22), rgba(0, 167, 157, 0.12)); border: 1px solid rgba(255, 255, 255, 0.18); border-left: 4px solid rgba(255, 255, 255, 0.72); border-radius: 4px; font-size: 1rem; font-weight: 800; line-height: 1.45; }
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-card { padding: 24px; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.12); }
.contact-card h3 { margin: 0 0 12px; font-size: 1.1rem; }
.contact-card p { margin: 0; color: rgba(255, 255, 255, 0.75); }
.contact-card a { color: var(--accent); overflow-wrap: anywhere; text-decoration: none; }
.contact-card .whatsapp-phone { display: inline-flex; align-items: center; gap: 10px; }
.contact-card .whatsapp-phone img { width: 82px; height: auto; max-height: 20px; flex: 0 0 auto; object-fit: contain; }
.site-footer { padding: 26px 0; color: rgba(255, 255, 255, 0.64); background: #041018; }
.footer-inner { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.socials { display: flex; gap: 14px; }
.socials a { color: var(--foam); text-decoration: none; }

@media (min-width: 981px) {
  .hero-inner > .eyebrow,
  .hero-inner > h1,
  .hero-inner > .hero-copy,
  .hero-inner > .hero-actions {
    width: min(100%, 860px);
    max-width: 860px;
    margin-right: 0;
    margin-left: auto;
  }

  .hero-inner > .hero-copy {
    padding-right: 100px;
  }
}

@media (max-width: 980px) {
  .nav-toggle { position: relative; z-index: 31; display: inline-flex; }
  .main-nav { position: fixed; z-index: 9999; top: 78px; right: 0; left: 0; width: 100vw; max-width: 100vw; height: auto !important; max-height: min(460px, calc(100vh - 78px)); display: none; padding: 16px 22px 22px; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; overflow-x: hidden; overflow-y: auto; background: #ffffff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); box-shadow: 0 28px 80px rgba(7, 24, 35, 0.22); -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
  .main-nav a { display: flex; width: 100%; min-height: 48px; align-items: center; justify-content: flex-start; padding: 12px 0; color: var(--ink); border-bottom: 1px solid rgba(7, 24, 35, 0.08); font-size: 0.98rem; line-height: 1.2; }
  .main-nav .lang-switch { width: max-content; margin-top: 14px; padding: 8px 10px; border-bottom: 0; }
  body.admin-bar .main-nav { top: 110px; height: auto !important; max-height: min(460px, calc(100vh - 110px)); }
  body.menu-open .main-nav { display: flex; }
  body.menu-open .main-nav { display: flex !important; visibility: visible !important; opacity: 1 !important; }
  .hero-stats, .intro-grid, .award, .center-map, .cdc-home-feature, .excellence .wrap, .contact .wrap { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .partner-strip { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .excellence .wrap { min-height: auto; }
  .center, .center:nth-child(even) { grid-template-columns: 1fr; }
  .center:nth-child(even) .center-media { order: 0; }
  .services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-title h2, .contact h2, .award-copy h2 { font-size: clamp(2rem, 7vw, 3rem); }
  body.lang-el .excellence h2 { font-size: clamp(2.25rem, 7vw, 3.35rem); }
  body.lang-el .honorary-title h2 { line-height: 1.05; }
  body.lang-el .honorary-title h2 span + span { margin-top: 10px; line-height: 1.08; }
}

@media (max-width: 680px) {
  main, .site-footer, .section, .hero, .legacy-feature, .excellence, .contact { max-width: 100vw; overflow-x: clip; }
  .site-header { max-width: 100vw; overflow: visible; }
  .header-inner, .wrap, .hero-inner, .footer-inner { width: min(100% - 28px, var(--max)); }
  .brand img { width: auto; max-width: 210px; height: 54px; }
  .hero { min-height: 78vh; }
  .hero h1 { font-size: clamp(2.65rem, 15vw, 4.7rem); overflow-wrap: break-word; }
  .hero-stats, .services-grid, .contact-grid, .honorary-grid { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-stats, .hero-stat, .service, .center-map, .center, .contact-card, .excellence-copy, .map-point { min-width: 0; }
  .partner-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cert-card summary { grid-template-columns: 1fr; gap: 16px; padding: 22px 58px 22px 22px; }
  .cert-card img { max-width: 220px; max-height: 118px; }
  .cert-content { padding: 0 22px 22px; }
  .cert-card p { font-size: 0.94rem; line-height: 1.58; }
  .cdc-home-feature { gap: 24px; padding: 24px; }
  .cdc-home-logo { min-height: 170px; padding: 22px; }
  .cdc-home-copy h2 { font-size: clamp(2rem, 10vw, 2.8rem); }
  .section { padding: 36px 0; }
  #services { padding-bottom: 28px; }
  #gallery { padding-top: 28px; }
  .section-title { max-width: 100%; }
  .section-title h2, .contact h2, .award-copy h2 { font-size: clamp(2rem, 11vw, 2.8rem); }
  body.lang-el .excellence h2 { font-size: clamp(2rem, 10vw, 2.75rem); }
  body.lang-el .honorary-title h2 { max-width: 100%; font-size: clamp(2.1rem, 10vw, 3rem); line-height: 1.1; }
  body.lang-el .honorary-title h2 span + span { margin-top: 12px; font-size: 0.78em; line-height: 1.1; }
  .partner-logo { min-height: 130px; }
  .partner-logo img { max-height: 96px; }
  .seaworld-map { min-height: 340px; }
  .map-point { padding: 18px; flex-wrap: wrap; }
  .map-actions a, .map-actions span { min-width: 0; }
  .center-media img { min-height: 270px; }
  .center-placeholder { min-height: 270px; padding: 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .excellence-copy { padding: 22px; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .socials { justify-content: center; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .main-nav { top: 124px; height: auto !important; max-height: min(460px, calc(100vh - 124px)); }
}
