/* maxillofacial.gr — shared styles. Colours, font and layout follow the WordPress site (www.maxillofacial.gr). */

@font-face {
  font-family: "Advent Pro";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/adventpro-greek.woff2) format("woff2");
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF;
}
@font-face {
  font-family: "Advent Pro";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/adventpro-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Advent Pro";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/adventpro-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #3F7FBF;          /* header, footer bar, icons */
  --blue-dark: #2F6299;
  --blue-soft: #E8F0F8;
  --text: #333333;
  --menu-text: #33373D;     /* dropdown menu */
  --muted: #777777;
  --line: #DDDDDD;
  --stage: #222222;         /* background behind photos in the case viewers */
  --font: "Advent Pro", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1140px;
  --gutter: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 18px; font-weight: 300; line-height: 1.5; color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
svg { flex: none; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { color: var(--text); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; }
h1 { font-size: 23px; }
h2 { font-size: 22px; }
h3 { font-size: 21px; }
h4 { font-size: 20px; }
h5 { font-size: 19px; }
h6 { font-size: 18px; }
p { margin: 0 0 .9em; }
strong, b { font-weight: 700; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: #fff; color: var(--text); padding: 10px 16px; }
.skip-link:focus { top: 12px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Header (blue bar, white logo, white menu) ---------- */
.site-header { background: var(--blue); border-top: 4px solid var(--blue); position: relative; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 141px; padding-top: 4px; padding-bottom: 4px; }
.brand { flex: none; display: block; }
.brand img { width: 224px; height: auto; }
.menu-toggle { display: none; }
.nav { display: flex; align-items: center; }
.menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li + li::before { content: ""; height: 16px; border-left: 2px dotted #fff; }
.menu > li > a { position: relative; display: block; padding: 13px 20px; font-size: 20px; font-weight: 400; color: rgba(255, 255, 255, .73); text-decoration: none; transition: color .2s; }
.menu > li > a:hover, .menu > li > a[aria-current="page"], .menu > li.is-current > a { color: #fff; }
.menu > li > a[aria-current="page"]::after, .menu > li.is-current > a::after { content: ""; position: absolute; left: 20px; right: 20px; bottom: 6px; height: 2px; background: #fff; }
.sub-toggle { display: none; }
.menu > li.has-sub > a { padding-right: 34px; }
.has-sub > a::before { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; margin-top: -6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.sub-menu { list-style: none; margin: 0; padding: 0; position: absolute; top: 100%; left: 0; z-index: 60; min-width: 300px; background: #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .15); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.sub-menu a { display: block; padding: 10px 20px; font-size: 18px; font-weight: 400; color: var(--menu-text); text-decoration: none; line-height: 1.3; }
.sub-menu a:hover, .sub-menu a[aria-current="page"] { background: var(--blue); color: #fff; }
.menu-cta { margin-left: 8px; }
.menu > li.menu-cta::before { display: none; }
.menu > li.menu-cta > a { color: #fff; border: 1px solid #fff; border-radius: 3px; padding: 8px 16px; font-size: 18px; }
.menu > li.menu-cta > a:hover { background: #fff; color: var(--blue); }

@media (max-width: 1100px) {
  .menu > li > a { padding: 13px 13px; }
  .menu > li.has-sub > a { padding-right: 28px; }
  .has-sub > a::before { right: 11px; }
  .menu > li > a[aria-current="page"]::after, .menu > li.is-current > a::after { left: 13px; right: 13px; }
}

/* Tablet and mobile: logo centred, menu button underneath, white drop-down list */
@media (max-width: 1024px) {
  .header-inner { flex-direction: column; justify-content: center; gap: 10px; min-height: 0; padding-top: 8px; padding-bottom: 12px; }
  .brand img { width: 168px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 0; border-radius: 3px; background: rgba(0, 0, 0, .12); color: #fff; cursor: pointer; }
  .menu-toggle svg { width: 24px; height: 24px; }
  .nav { display: none; width: calc(100% + 2 * var(--gutter)); margin: 0 calc(var(--gutter) * -1) -12px; background: #fff; }
  .nav.is-open { display: block; }
  .menu { display: block; padding: 6px 0; }
  .menu > li { display: block; }
  .menu > li + li::before { display: none; }
  .menu > li > a, .menu > li.menu-cta > a { padding: 10px 20px; font-size: 18px; color: var(--menu-text); border: 0; border-radius: 0; }
  .menu > li > a:hover, .menu > li > a[aria-current="page"], .menu > li.is-current > a { color: #fff; background: var(--blue); }
  .menu > li > a[aria-current="page"]::after, .menu > li.is-current > a::after, .has-sub > a::before { display: none; }
  .menu-cta { margin: 0; }
  .menu > li.menu-cta > a { color: var(--blue); font-weight: 700; }
  .menu > li.has-sub > a { padding-right: 60px; }
  .sub-toggle { display: inline-flex; align-items: center; justify-content: center; position: absolute; right: 8px; top: 2px; width: 40px; height: 40px; border: 0; background: none; color: inherit; cursor: pointer; }
  .has-sub.is-current > .sub-toggle { color: #fff; }
  .sub-toggle svg { width: 20px; height: 20px; transition: transform .2s; }
  .sub-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
  .sub-menu { position: static; min-width: 0; box-shadow: none; visibility: visible; opacity: 1; transform: none; display: none; padding-left: 16px; }
  .has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu { display: none; }
  .has-sub.is-open > .sub-menu { display: block; }
}

/* ---------- Coloured title bar of each page ---------- */
.page-band { background: var(--band, var(--blue)); color: #fff; padding: 20px 0; text-align: right; }
.page-band h1 { color: #fff; font-size: 23px; margin: 0 0 8px; }
.band-sub { color: #fff; font-size: 19px; font-weight: 700; line-height: 1.2; margin: 0; }
.page-band--case { padding: 14px 0; }
.page-band--case h1 { font-size: 19px; margin: 0; }

/* ---------- Page content ---------- */
.article { padding-top: 24px; padding-bottom: 24px; }
.article-section { margin-bottom: 36px; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li { margin-bottom: .3em; }
.prose h2 { margin-top: .6em; }
.prose h3 { margin: 1.2em 0 .5em; }

/* Single figures inside text */
.figure { margin: 24px 0; }
.figure img { max-height: 560px; width: auto; max-width: 100%; }
.figure figcaption { font-size: 16px; font-style: italic; margin-top: 8px; line-height: 1.4; }
.figure--center { text-align: center; }
.figure--center img { margin-inline: auto; }
.figure-pair { display: grid; grid-template-columns: var(--pair-cols, repeat(2, minmax(0, 1fr))); gap: 20px; margin: 24px 0; }  /* --pair-cols: widths to match the photos' shapes */
.figure-pair .figure { margin: 0; }
.figure-pair .figure img { width: 100%; max-height: none; }
.figure-pair--center { max-width: 760px; margin-left: auto; margin-right: auto; }
.figure-pair--center figcaption { text-align: center; }
/* the same white cards as the photo rows (.gallery--row) */
.figure-pair--cards { align-items: stretch; }
.figure-pair--cards .figure { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 8px 8px 10px; box-shadow: 0 2px 8px rgba(20, 40, 70, .07); transition: box-shadow .2s, transform .2s; }
.figure-pair--cards .figure:hover { box-shadow: 0 6px 18px rgba(20, 40, 70, .14); transform: translateY(-2px); }
.figure-pair--cards img { border-radius: 6px; }
.figure-pair--cards figcaption { text-align: center; }
@media (max-width: 560px) { .figure-pair { grid-template-columns: 1fr; } }
.figure--right { float: right; width: 260px; margin: 4px 0 16px 32px; text-align: center; }
.figure--right img { max-height: 380px; }
.figure--right.figure--small { width: 190px; }
@media (max-width: 560px) { .figure--right.figure--small { width: 120px; margin-left: 14px; } }
.figure--right ~ ul, .figure--right ~ ol { display: flow-root; }
.figure--right ~ h2, .figure--right ~ h3 { clear: both; }
.prose::after { content: ""; display: table; clear: both; }
@media (max-width: 560px) { .figure--right { width: 150px; margin-left: 18px; } .figure--right img { max-height: 240px; } }
/* same, floated left; the next list (a sub-heading) starts below the photo */
.figure--left { float: left; width: fit-content; max-width: 45%; margin: 4px 32px 16px 0; text-align: center; }
.figure--left img { max-height: 380px; }
.figure--left ~ ul, .figure--left ~ ol, .figure--left ~ h2, .figure--left ~ h3 { clear: both; }
@media (max-width: 560px) { .figure--left { max-width: 40%; margin-right: 18px; } .figure--left img { max-height: 240px; } }

/* Tiles: homepage, list of treatments, implant cases (image, centred title, text) */
.home-intro { display: grid; grid-template-columns: 224px 1fr; gap: 30px; align-items: start; padding-top: 24px; padding-bottom: 24px; }
.home-photo { width: 224px; }
.home-sig { width: 231px; margin-top: 4px; }
.home-tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 10px; padding-bottom: 40px; }
.tile a { display: block; }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .2s; }
.tile a:hover img { opacity: .85; }
.tile h5 { text-align: center; margin: 20px 0 12px; }
@media (max-width: 1024px) { .home-tiles { grid-template-columns: repeat(2, 1fr); gap: 30px 16px; } }
@media (max-width: 640px) {
  .home-intro { grid-template-columns: 1fr; justify-items: center; gap: 16px; }
  .home-intro > div { justify-self: stretch; }
  .home-photo { width: 200px; }
  .home-tiles { grid-template-columns: 1fr; }
}

.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 10px; margin: 24px 0; }
.feature-grid--cases { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.feature-grid.feature-grid--two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 30px; }  /* two big cards, as on /mronj/ */
@media (max-width: 480px) { .feature-grid.feature-grid--two { grid-template-columns: 1fr; } }
.feature { display: block; text-decoration: none; color: var(--text); }
.feature img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: opacity .2s; }
.feature:hover { color: var(--blue); }
.feature:hover img { opacity: .85; }
.feature-body { padding-top: 14px; text-align: center; }
.feature h3 { font-size: 19px; margin: 0 0 8px; color: inherit; }
.feature p { font-size: 18px; text-align: left; color: var(--text); }
@media (max-width: 1024px) { .feature-grid { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; } }
@media (max-width: 480px) { .feature-grid { grid-template-columns: 1fr; } }

/* Clinics as plain text (contact page, clinics page) */
.clinic-info { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.clinic-info h3 { font-size: 18px; margin-bottom: 12px; }
.clinic-info p { margin: 0 0 12px; }
@media (max-width: 640px) { .clinic-info { grid-template-columns: 1fr; } }
.btn.map-btn { margin-top: 4px; background: #fff; color: var(--blue); border: 2px solid var(--blue); border-radius: 999px; padding: 0 22px; }
.btn.map-btn:hover { background: var(--blue); color: #fff; }
.map-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 18px 0 0; }

/* Photo gallery (clinics) */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin: 20px 0 8px; }
.gallery .slide { margin: 0; }
.gallery .slide-media { aspect-ratio: 4 / 3; overflow: hidden; max-height: none; background: #f2f2f2; }
.gallery .slide-media img { object-fit: cover; transition: opacity .2s; }
.gallery .slide-media:hover img { opacity: .85; }
.gallery figcaption { display: none; }
.gallery--captions figcaption { display: block; font-size: 16px; font-style: italic; line-height: 1.35; padding: 6px 2px 0; text-align: center; }
.gallery--square .slide-media { aspect-ratio: 1; }
/* text beside photos (old site: top of /cysts_of_the_jaws/); stacked on phones */
.split { display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); gap: 28px; align-items: start; margin-bottom: 8px; }
.split--media-left { grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); }
.split .gallery--row { margin-top: 4px; }
.split--tall-media { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }  /* text with a tall photo beside it (/temporomandibular_joint/) */
.figure--split { margin: 4px 0 0; }
.figure--split img { width: 100%; max-height: none; border-radius: 6px; }
@media (max-width: 760px) { .split, .split--media-left, .split--tall-media { grid-template-columns: 1fr; gap: 8px; } .split--media-left .prose { order: -1; } }
/* photo rows as on the old site: a fixed number per row, whole photos (not cropped), caption under each */
.gallery--row { grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr)); align-items: stretch; }
/* every photo area the same shape (4:3); the whole photo fits inside (never cropped) */
.gallery--row .slide-media { aspect-ratio: 4 / 3; background: none; cursor: zoom-in; }
.gallery--row .slide-media img { width: 100%; height: 100%; object-fit: contain; }
.gallery--portrait .slide-media { aspect-ratio: 3 / 4; }  /* rows of portrait photos only (set by build.py) */
/* each photo in a white card: thin border, soft shadow, rounded corners, caption inside */
.gallery--row .slide { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 8px 8px 10px; box-shadow: 0 2px 8px rgba(20, 40, 70, .07); transition: box-shadow .2s, transform .2s; }
.gallery--row .slide:hover { box-shadow: 0 6px 18px rgba(20, 40, 70, .14); transform: translateY(-2px); }
.gallery--row .slide-media { border-radius: 6px; overflow: hidden; }
.gallery--row { gap: 14px; }
/* captions sit on the photo: they show when the pointer is over the card; on touch screens only in the lightbox */
.gallery--row .slide { position: relative; padding: 8px; display: flex; flex-direction: column; justify-content: center; }
.gallery--row .slide figcaption { position: absolute; inset: 8px; margin: 0; padding: 10px 12px; border-radius: 6px; overflow: hidden;
  display: flex; align-items: center; justify-content: center; background: rgba(15, 25, 40, .8); color: #fff; font-size: 14px; line-height: 1.35; text-align: center;
  opacity: 0; transition: opacity .2s; pointer-events: none; }
.gallery--row .slide:hover figcaption { opacity: 1; }
@media (hover: none) { .gallery--row .slide figcaption { display: none; } }
/* on tablets and phones each row becomes a swipe carousel (two photos at a time on tablets, one on phones,
   the next one peeking at the edge); the caption sits under the photo again, since there is no hover */
@media (max-width: 900px) {
  .gallery.gallery--row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-right: -16px; padding: 2px 16px 8px 2px; }
  .gallery.gallery--row::-webkit-scrollbar { display: none; }
  .gallery--row .slide { flex: 0 0 44%; scroll-snap-align: start; justify-content: flex-start; padding: 8px 8px 10px; }
  .gallery--row .slide:hover { transform: none; }
  .gallery--row .slide figcaption, .gallery--row .slide:hover figcaption { display: block; position: static; inset: auto; opacity: 1; background: none; color: inherit; padding: 8px 4px 0; font-size: 15px; }
}
@media (max-width: 640px) { .gallery--row .slide { flex-basis: 82%; } }
}
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr 1fr; gap: 8px; } }
/* Carousel: three photos in view, arrows (or swipe) reveal the rest */
.carousel { position: relative; margin: 20px 0 8px; }
.gallery--carousel { display: flex; gap: 12px; margin: 0; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery--carousel::-webkit-scrollbar { display: none; }
.gallery--carousel .slide { flex: 0 0 calc((100% - 24px) / 3); scroll-snap-align: start; cursor: zoom-in; }
.carousel-btn { position: absolute; top: 50%; width: 44px; height: 44px; margin-top: -22px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, .92); color: var(--blue); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .25); cursor: pointer; transition: opacity .2s; }
.carousel-btn svg { width: 24px; height: 24px; }
.carousel-btn--prev { left: 10px; }
.carousel-btn--next { right: 10px; }
.carousel-btn[disabled] { opacity: 0; pointer-events: none; }
/* Instagram posts (build.py {{instagram}}): each opens its post */
.insta-rule { border: 0; border-top: 1px solid var(--line); margin: 32px 0 24px; }
.insta-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.insta-grid a { display: block; aspect-ratio: 1; overflow: hidden; background: #f2f2f2; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.insta-grid a:hover img { opacity: .85; }
@media (max-width: 560px) { .insta-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
.insta-more { margin: 20px 0 24px; text-align: center; }
@media (max-width: 860px) { .gallery--carousel .slide { flex-basis: calc((100% - 12px) / 2); } }
@media (max-width: 560px) { .gallery--carousel { gap: 8px; } .gallery--carousel .slide { flex-basis: 85%; } .carousel-btn { width: 38px; height: 38px; margin-top: -19px; } }

/* CV */
.cv-photo { max-width: 360px; aspect-ratio: 675 / 1200; object-fit: cover; }
.cv-intro { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 40px; align-items: center; margin-bottom: 32px; }
.cv-photo { width: 100%; }
.cv-logos { max-width: none; }
.cv-logos .logo-list { margin: 0 !important; grid-template-columns: repeat(2, 1fr); gap: 4px 28px; }
.cv-bio { max-width: none; }
@media (max-width: 1024px) { .cv-logos .logo-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .cv-intro { grid-template-columns: 1fr; } .cv-photo { justify-self: center; max-width: 280px; } }
.cv-logos .figure img, .prose .figure img[src*="clinics"] { max-width: 520px; }
.scholar { width: 180px; }
.center { text-align: center; }
.center img { margin-inline: auto; }
.logo-list { list-style: none; padding: 0 !important; margin: 24px 0 32px !important; display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.logo-list li { display: flex; align-items: center; gap: 16px; padding: 10px 0 !important; margin: 0 !important; line-height: 1.4; }
.logo-list img { width: 48px; height: 48px; object-fit: contain; flex: none; }
@media (max-width: 860px) { .cv-photo { max-width: 280px; } }

/* ---------- Case card with steps in time ---------- */
.cases { display: grid; gap: 28px; margin: 28px 0 8px; }
.case { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; max-width: 980px; }
.case-head { padding: 16px 20px 4px; display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.case-head h3 { margin: 0; font-size: 20px; }
.case-tag { font-size: 15px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--blue); white-space: nowrap; }

.steps { position: relative; display: flex; overflow-x: auto; scrollbar-width: none; padding: 12px 20px 14px; margin: 0; list-style: none; scroll-padding-inline: 20px; }
.steps::-webkit-scrollbar { display: none; }
.steps li { flex: 1 0 auto; min-width: 84px; position: relative; }
.steps li::before { content: ""; position: absolute; top: 9px; left: 0; right: 0; height: 2px; background: var(--line); }
.steps li:first-child::before { left: 50%; }
.steps li:last-child::before { right: 50%; }
.steps li.is-past::before, .steps li.is-active::before { background: var(--blue); }
.steps li.is-active::before { right: 50%; }
.steps li.is-active:first-child::before { display: none; }
.step { position: relative; display: flex; flex-direction: column; align-items: center; gap: 6px; width: 100%; padding: 0 6px; background: none; border: 0; cursor: pointer; font: 400 16px/1.2 var(--font); color: var(--muted); text-align: center; }
.step-dot { width: 20px; height: 20px; border-radius: 999px; background: #fff; border: 2px solid #ccc; position: relative; z-index: 1; transition: transform .15s, background .15s, border-color .15s; }
.step:hover { color: var(--text); }
.step:hover .step-dot { border-color: var(--blue); }
.is-past .step-dot { background: var(--blue); border-color: var(--blue); }
.is-past .step { color: var(--text); }
.step[aria-selected="true"] { color: var(--text); font-weight: 700; }
.step[aria-selected="true"] .step-dot { background: #fff; border: 6px solid var(--blue); transform: scale(1.1); }
.step-label { white-space: nowrap; }

.stage { position: relative; background: #fff; }  /* white, not dark bars, beside photos narrower than the viewer */
.track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.track::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; margin: 0; display: flex; flex-direction: column; }
.slide-media { position: relative; aspect-ratio: var(--ar, 16 / 10); max-height: min(58vh, 540px); width: 100%; display: flex; align-items: center; justify-content: center; cursor: zoom-in; }
.slide-media img { width: 100%; height: 100%; object-fit: contain; }
.slide.is-entering .slide-media img, .slide.is-entering figcaption { animation: fade-in .28s ease-out; }
@keyframes fade-in { from { opacity: 0; } to { opacity: 1; } }
.slide figcaption { flex: 1; background: #fff; padding: 14px 20px 4px; font-size: 17px; line-height: 1.45; min-height: 4.2em; }  /* flex: fills the slide, so a short caption leaves no dark band */
.slide figcaption b { font-weight: 700; margin-right: 6px; }
.case--plain .slide figcaption { text-align: center; }
.case--plain { margin-left: auto; margin-right: auto; }
.case--center { margin-left: auto; margin-right: auto; }  /* the implant (and MRONJ) case pages: the carousel in the middle of the page */
.stage-nav { position: absolute; top: calc((100% - 4.2em - 18px) / 2); transform: translateY(-50%); width: 42px; height: 42px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92); color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .25); transition: opacity .15s; }
.stage-nav svg { width: 20px; height: 20px; }
.stage-nav--prev { left: 12px; }
.stage-nav--next { right: 12px; }
.stage-nav:disabled { opacity: 0; pointer-events: none; }
/* thumbnail strip under the photo (implant case pages): the current one has a blue frame */
.thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 12px 20px 4px; scrollbar-width: thin; scroll-padding-inline: 20px; }
.thumb { flex: 0 0 auto; width: 96px; aspect-ratio: 4 / 3; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; background: #eee; cursor: pointer; opacity: .65; transition: opacity .2s, border-color .2s; }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb:hover { opacity: 1; }
.thumb.is-active { border-color: var(--blue); opacity: 1; }
/* centred when they all fit; when they overflow the strip still scrolls from the first one (auto margins, not justify-content) */
.thumb:first-child { margin-left: auto; }
.thumb:last-child { margin-right: auto; }
@media (max-width: 560px) { .thumbs { padding: 10px 12px 2px; gap: 6px; } .thumb { width: 72px; } }
.case-foot { display: flex; align-items: center; justify-content: space-between; padding: 6px 20px 14px; font-size: 15px; color: var(--muted); }
.counter { font-variant-numeric: tabular-nums; }
.zoom-hint { display: inline-flex; align-items: center; gap: 6px; }
.zoom-hint svg { width: 14px; height: 14px; }
@media (max-width: 640px) {
  .case { margin-left: calc(var(--gutter) * -1 + 8px); margin-right: calc(var(--gutter) * -1 + 8px); }
  .case-head { padding: 14px 14px 4px; }
  .steps { padding: 12px 6px 12px; scroll-padding-inline: 14px; }
  .steps li { min-width: 76px; }
  .step { font-size: 15px; }
  .slide figcaption { padding: 12px 14px 2px; font-size: 16px; }
  .case-foot { padding: 6px 14px 12px; }
  .stage-nav { width: 38px; height: 38px; }
  .stage-nav--prev { left: 8px; }
  .stage-nav--next { right: 8px; }
  .zoom-hint span { display: none; }
}
.no-js .stage-nav { display: none; }

/* Keratocyst protocol: numbered steps */
.protocol { list-style: none; margin: 28px 0; padding: 0; counter-reset: p; max-width: 820px; }
.protocol li { counter-increment: p; position: relative; padding: 0 0 22px 58px; }
.protocol li::before { content: counter(p); position: absolute; left: 0; top: -2px; width: 38px; height: 38px; border-radius: 999px; background: var(--blue); color: #fff; font-weight: 700; font-size: 19px; display: flex; align-items: center; justify-content: center; }
.protocol li::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 4px; width: 2px; background: var(--line); }
.protocol li:last-child { padding-bottom: 0; }
.protocol li:last-child::after { display: none; }
.protocol strong { display: block; font-weight: 700; }
.protocol .when { display: block; font-size: 16px; font-weight: 700; color: var(--blue); }

/* Before / after drag slider */
.compare { position: relative; aspect-ratio: var(--ar, 1); max-height: min(70vh, 640px); margin: 0 auto; background: var(--stage); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: ew-resize; }
.compare-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.compare-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: #fff; box-shadow: 0 0 0 1px rgba(0, 0, 0, .2), 0 0 12px rgba(0, 0, 0, .35); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 999px; background: #fff; color: var(--text); display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .3); transition: transform .15s; }
.compare-knob svg { width: 16px; height: 16px; margin: 0 -2px; }
.compare.is-dragging .compare-knob { transform: scale(1.08); background: var(--blue); color: #fff; }
.compare-label { position: absolute; top: 12px; padding: 3px 10px; border-radius: 3px; background: rgba(0, 0, 0, .6); color: #fff; font-size: 15px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; pointer-events: none; }
/* the labels follow the line: «PREOP» just left of it, «POSTOP» just right of it, each inside its photo's clip */
.compare-after-labels { position: absolute; inset: 0; clip-path: inset(0 0 0 var(--pos)); pointer-events: none; }
.compare-label { white-space: nowrap; }
.compare-label--before { right: calc(100% - var(--pos) + 12px); }
.compare-label--after { left: calc(var(--pos) + 12px); }
.compare-range { position: absolute; inset: auto 0 0 0; width: 100%; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
.compare:has(.compare-range:focus-visible) .compare-knob { outline: 2px solid var(--blue); outline-offset: 3px; }
.case--compare { max-width: 760px; }
.cases:has(> .case--compare + .case--compare) { grid-template-columns: repeat(auto-fill, minmax(min(100%, 420px), 1fr)); }
.cases > .case--compare { max-width: none; }

/* Our own videos (muted loop while on screen) */
.figure--video video { display: block; width: 100%; height: auto; max-width: 720px; background: var(--stage); }
.figure--tall video { width: auto; max-width: min(100%, 380px); max-height: 75vh; }
.video-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 24px 0; }
.video-row .figure { margin: 0; }
/* three videos filling the width together; one under the other on phones */
.video-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-row--3 video { max-width: none; }
@media (max-width: 640px) { .video-row--3 { grid-template-columns: 1fr; } }
/* Video on the left, a case on the right; below it two cases side by side (stacked on mobile) */
.media-case { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 24px; align-items: start; margin: 28px 0 0; }
.media-case > .figure { margin: 0; }
.media-case .figure--tall video { width: 100%; max-width: none; max-height: none; }
.media-case > .cases { margin: 0; }
.cases--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-top: 24px; }
.media-case .case, .cases--pair .case { max-width: none; }
.cases--pair > .case--plain { margin-left: 0; margin-right: 0; }
.cases--pair > .case:last-child:nth-child(odd) { grid-column: 1 / -1; }  /* an odd last carousel takes the whole width under the pairs */
/* side-by-side sliders: the title rows line up, so both photos start and end at the same height */
.cases--pair .case--compare, .cases:has(> .case--compare + .case--compare) > .case--compare { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 0; }
.cases--pair .case--compare .case-head, .cases:has(> .case--compare + .case--compare) > .case--compare .case-head { flex-direction: column; flex-wrap: nowrap; align-items: flex-start; justify-content: flex-start; padding-bottom: 12px; }
.cases--pair .case--compare .compare, .cases:has(> .case--compare + .case--compare) > .case--compare .compare { width: 100%; align-self: start; }
@media (max-width: 860px) {
  .media-case { grid-template-columns: 1fr; }
  .media-case .figure--tall video { width: auto; max-width: min(100%, 380px); max-height: 75vh; margin: 0 auto; }
  .cases--pair { grid-template-columns: 1fr; }
}

/* YouTube link cards (nothing from Google is embedded) */
.video-card { display: flex; flex-direction: column; max-width: 560px; margin: 24px 0; border: 1px solid var(--line); text-decoration: none; color: var(--text); background: #fff; }
.video-card:hover { color: var(--blue); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--stage); }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 999px; background: rgba(0, 0, 0, .7); transition: background .2s; }
.video-play::after { content: ""; position: absolute; left: 26px; top: 20px; border-style: solid; border-width: 12px 0 12px 19px; border-color: transparent transparent transparent #fff; }
.video-card:hover .video-play { background: var(--blue); }
.video-text { padding: 12px 16px 14px; display: flex; flex-direction: column; gap: 2px; }
.video-text small { font-size: 15px; font-weight: 700; color: var(--blue); }
.video-text strong { font-weight: 700; line-height: 1.3; }
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; margin: 24px 0; }
.videos .video-card { margin: 0; max-width: none; }
/* two videos filling the width side by side; one under the other on phones */
.videos--wide { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 640px) { .videos--wide { grid-template-columns: 1fr; } }
/* one video across the whole width, at the top of a page (no text bar, as on the old site) */
.video-hero .video-card { max-width: none; margin: 0 0 24px; border: 0; }
.video-hero .video-thumb { aspect-ratio: auto; }  /* the whole thumbnail, whatever its shape */
.video-hero .video-thumb img { position: static; height: auto; }
.cases + .video-hero { margin-top: 28px; }
.video-hero--own-play .video-play { display: none; }  /* the thumbnail has its own play button */
.video-hero .video-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
/* red box with a link to another page (old site: «Έγκλειστοι Σωφρονιστήρες» on /oral_surgery/) */
.promo { background: #E45A5A; color: #fff; border-radius: 50px; text-align: center; padding: 20px 20px 28px; margin: 24px 0; }
.promo p { margin: 0; font-weight: 300; line-height: 1.3; }
.promo-title { font-size: 39px; margin-bottom: 18px !important; }
.promo-text { font-size: 29px; margin-top: 22px !important; }
.promo img { width: 300px; max-width: 100%; border-radius: 30px; margin: 0 auto; }
@media (max-width: 640px) { .promo { border-radius: 30px; } .promo-title { font-size: 28px; } .promo-text { font-size: 21px; } }
.figure--full img { width: 100%; max-height: none; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); margin-top: 24px; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: center; padding-top: 30px; padding-bottom: 30px; }
.footer-info { text-align: center; }
/* social: blue outline like the Google Maps buttons; fills navy (the CV band colour) on hover */
.social { display: flex; justify-content: center; gap: 12px; margin-top: 20px; }
.footer-info .social a { width: 56px; height: 56px; border-radius: 999px; display: inline-flex; align-items: center; justify-content: center; color: var(--blue); border: 2px solid var(--blue); transition: color .2s, border-color .2s, background .2s; }
.footer-info .social a:hover { color: #fff; background: #191858; border-color: #191858; }
.social svg { width: 26px; height: 26px; stroke-width: 1.6; }
.footer-name { font-size: 19px; font-weight: 700; margin: 0 0 6px; }
.footer-role { font-size: 18px; font-weight: 700; margin: 0 0 16px; }
.footer-info p:last-of-type { margin: 0; }
.footer-info a { color: var(--text); text-decoration: none; }
.footer-info a:hover { color: var(--blue); }
.footer-logos img { width: 100%; max-width: 566px; margin: 0 auto 10px; }
.footer-bar { background: var(--blue); color: #C8D5DC; font-size: 16px; text-align: center; }
.footer-bar p { margin: 0; padding-top: 12px; padding-bottom: 12px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; } .social { gap: 10px; } }

/* Fixed icons on the right (clinics, booking, back to top), as on the old site */

/* ---------- Booking ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 3px; font: 700 17px/1 var(--font); text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap; transition: background .15s, color .15s, border-color .15s; }
.btn svg { width: 18px; height: 18px; }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-dark); color: #fff; }
.btn--ghost { background: #fff; color: var(--text); border-color: #bbb; }
.btn--ghost:hover { border-color: var(--text); color: var(--text); }
.btn--sm { min-height: 40px; padding: 0 14px; font-size: 16px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* Booking bar at the bottom on mobile */
.mobile-cta { display: none; }
@media (max-width: 1024px) {
  .mobile-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 48; padding: 8px 16px calc(8px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
  .mobile-cta .btn { flex: 1; }
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom)); }
}

.booking { width: min(600px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 0; border: 0; border-radius: 4px; box-shadow: 0 10px 40px rgba(0, 0, 0, .3); color: var(--text); background: #fff; overflow: auto; font-family: var(--font); }
.booking::backdrop { background: rgba(0, 0, 0, .5); }
.booking-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 20px 20px 6px; }
.booking-head h2 { font-size: 23px; margin: 0 0 4px; }
.booking-head p { margin: 0; color: var(--muted); }
.icon-btn { width: 40px; height: 40px; border-radius: 999px; border: 0; background: #f0f0f0; color: var(--text); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex: none; }
.icon-btn:hover { background: #e2e2e2; }
.icon-btn svg { width: 20px; height: 20px; }
.booking-body { padding: 14px 20px 20px; display: grid; gap: 12px; }
.clinic-card { border: 1px solid var(--line); padding: 16px; }
.clinic-card h3 { font-size: 19px; margin: 0 0 4px; display: flex; align-items: center; gap: 8px; }
.clinic-card h3 svg { color: var(--blue); }
.clinic-card address { font-style: normal; line-height: 1.45; margin-bottom: 12px; }
.clinic-card .btn { flex: 1 1 auto; }
.booking-foot { padding: 0 20px 20px; color: var(--muted); }
@media (max-width: 560px) {
  .booking { width: 100vw; max-width: 100vw; margin: auto 0 0; max-height: 92dvh; border-radius: 4px 4px 0 0; }
  .booking-head, .booking-body, .booking-foot { padding-left: 16px; padding-right: 16px; }
  .booking-foot { padding-bottom: calc(20px + env(safe-area-inset-bottom)); }
}

/* Lightbox */
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(10, 10, 10, .96); color: #fff; font-family: var(--font); }
.lightbox::backdrop { background: rgba(10, 10, 10, .96); }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; font-size: 16px; color: rgba(255, 255, 255, .7); }
.lb-top .icon-btn { background: rgba(255, 255, 255, .12); color: #fff; }
.lb-top .icon-btn:hover { background: rgba(255, 255, 255, .22); }
.lb-img { min-height: 0; display: flex; align-items: center; justify-content: center; padding: 0 56px; position: relative; touch-action: pan-y pinch-zoom; }
.lb-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-cap { padding: 12px 20px calc(16px + env(safe-area-inset-bottom)); text-align: center; max-width: 820px; margin: 0 auto; color: rgba(255, 255, 255, .9); font-size: 17px; line-height: 1.45; }
.lb-cap b { color: #fff; margin-right: 6px; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .14); color: #fff; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.lb-nav:hover { background: rgba(255, 255, 255, .26); }
.lb-nav svg { width: 22px; height: 22px; }
.lb-nav--prev { left: 8px; }
.lb-nav--next { right: 8px; }
.lb-nav:disabled { opacity: .25; cursor: default; }
@media (max-width: 640px) { .lb-img { padding: 0; } .lb-nav { top: auto; bottom: 8px; transform: none; } }
/* photos one under the other next to a video (/head_and_neck_infections/) */
.media-case .gallery--stack { margin: 0; }
@media (min-width: 901px) { .gallery.gallery--stack { grid-template-columns: 1fr; } }
@media (min-width: 861px) { .media-case--even { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); } }  /* video and the stacked photos end at about the same height */
/* /sleep_apnea/: photos with their paragraph under them; three sliders in one row */
.figure-pair--text figcaption { margin: 10px 6px 2px; font-size: 15px; line-height: 1.55; }  /* a paragraph as the caption, inside the frame */
.cases.cases--three, .cases.cases--three:has(> .case--compare + .case--compare) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cases--three > .case--compare { display: block; }
@media (max-width: 760px) { .cases.cases--three, .cases.cases--three:has(> .case--compare + .case--compare) { grid-template-columns: 1fr; } }
/* two photos and one caption in a single white frame (/sleep_apnea/) */
.figure-group { background: #fff; border: 1px solid #e3e6ea; border-radius: 10px; padding: 8px 8px 10px; box-shadow: 0 2px 8px rgba(20, 40, 70, .07); margin: 24px 0; }
.figure-group-imgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.figure-group-imgs img { width: 100%; max-height: none; border-radius: 6px; }
.figure-group figcaption { text-align: center; margin: 10px 6px 2px; font-size: 15px; line-height: 1.55; }
@media (max-width: 560px) { .figure-group-imgs { grid-template-columns: 1fr; } }
.figure-group > .cases { margin: 0; }
.figure-group .case--compare { border: 0; border-radius: 6px; }
.figure-group .compare-img { width: 100%; height: 100%; max-height: none; max-width: none; }  /* not the .figure img limit */
@media (max-width: 760px) { .figure-group .cases--three { max-width: 440px; margin-left: auto; margin-right: auto; } }
/* /cosmeticfacialsurgery/: the caption sits on the photo; 3 photos a row on desktop, 2 on tablet, 1 on mobile */
.gallery.gallery--overlay { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gallery--overlay .slide { position: relative; border-radius: 8px; overflow: hidden; }
.gallery.gallery--captions.gallery--overlay figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 28px 12px 12px; color: #fff; font-style: normal; font-weight: 600; font-size: 18px; letter-spacing: .02em; text-align: center; background: linear-gradient(to top, rgba(10, 20, 40, .72), rgba(10, 20, 40, 0)); pointer-events: none; }
@media (max-width: 900px) { .gallery.gallery--overlay { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery.gallery--overlay { grid-template-columns: 1fr; } }
/* three YouTube videos across the whole width (one under the other on mobile) */
.videos.videos--three { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 560px) { .videos.videos--three { grid-template-columns: 1fr; } }
/* desktop (a mouse): the caption appears on hover; touch screens keep it always visible */
@media (hover: hover) and (pointer: fine) {
  .gallery.gallery--captions.gallery--overlay figcaption { opacity: 0; transition: opacity .2s; }
  .gallery.gallery--captions.gallery--overlay .slide:hover figcaption, .gallery.gallery--captions.gallery--overlay .slide:focus-within figcaption { opacity: 1; }
}
/* /patient_information/: the title sits on the photo, shown on hover with a mouse, always on touch screens */
.feature-grid--overlay .feature { position: relative; border-radius: 8px; overflow: hidden; }
.feature-grid--overlay .feature img { display: block; }
.feature-grid--overlay .feature-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 32px 12px 12px; background: linear-gradient(to top, rgba(10, 20, 40, .75), rgba(10, 20, 40, 0)); pointer-events: none; }
.feature-grid--overlay .feature h3, .feature-grid--overlay .feature:hover h3 { color: #fff; margin: 0; font-size: 18px; line-height: 1.3; }
.feature-grid--overlay .feature:hover img { opacity: 1; }
@media (hover: hover) and (pointer: fine) {
  .feature-grid--overlay .feature-body { opacity: 0; transition: opacity .2s; }
  .feature-grid--overlay .feature:hover .feature-body, .feature-grid--overlay .feature:focus-visible .feature-body { opacity: 1; }
}
/* /contactus/: the outline of the prefecture beside each clinic */
.clinic-nomos { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 16px; align-items: center; }
.nomos-map { width: 100%; height: auto; }
@media (max-width: 900px) and (min-width: 641px) { .clinic-nomos { grid-template-columns: 1fr; } .nomos-map { max-width: 180px; } }
@media (max-width: 380px) { .clinic-nomos { grid-template-columns: minmax(0, 1fr) 110px; } }
/* the "Επικοινωνία" window: the prefecture outline on the right of each clinic card */
.clinic-card { display: grid; grid-template-columns: minmax(0, 1fr) 120px; gap: 14px; align-items: center; }
.clinic-card .nomos-map { width: 100%; height: auto; }
@media (max-width: 420px) { .clinic-card { grid-template-columns: minmax(0, 1fr) 84px; gap: 10px; } }
