/* cosmeticfacialsurgery.gr — static rebuild of the WordPress/Elementor site (Hello Elementor theme), autumn 2026.
   Colours, sizes and spacing are those of the old site: white page, centred logo, menu with dividers,
   1px rules between sections, Roboto text in #7A7A7A. */
@font-face { font-family: Roboto; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-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: Roboto; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url(../fonts/roboto-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; }
@font-face { font-family: Roboto; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/roboto-italic-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: Roboto; font-style: italic; font-weight: 400; font-display: swap;
  src: url(../fonts/roboto-italic-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 {
  --text: #7A7A7A;        /* Elementor "text" colour: every text block */
  --ink: #333;            /* theme body text (the plain WordPress page /blephinstructions/) */
  --menu-active: #0A0A0A;
  --pointer: #858885;     /* menu underline, mobile menu highlight */
  --system: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #fff; color: var(--ink); font: 16px/1.5 var(--system); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; border: 0; vertical-align: middle; }
a { color: #c36; text-decoration: none; }
a:hover { color: #336; }
p { margin: 0 0 .9rem; }
h1, h2, h3, h4, h5, h6 { margin: .5rem 0 1rem; font-weight: 500; line-height: 1.2; color: inherit; }
h1 { font-size: 2.5rem; } h3 { font-size: 1.75rem; } h4 { font-size: 1.5rem; } h5 { font-size: 1.25rem; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: #fff; padding: 8px 12px; }
.skip-link:focus { left: 8px; }
.wrap { max-width: 1140px; margin: 0 auto; }
@media (max-width: 1160px) { .wrap { margin: 0 10px; } }

/* rules between sections (Elementor dividers: 2px + 1px line + 2px) */
.rule { border: 0; border-top: 1px solid #000; margin: 22px 0 33px; }
.rule--header { border-color: #615F5F; max-width: 1120px; margin: 32px auto 32px; }
@media (max-width: 1160px) { .rule--header { margin-left: 20px; margin-right: 20px; } }

/* ---------------------------------------------------------------- header */
.site-header { text-align: center; padding-top: 10px; }
.brand { display: block; width: 300px; margin: 0 auto; }
.brand img { width: 300px; display: block; }
.nav { margin-top: 20px; font-family: Roboto, sans-serif; }
.menu, .sub-menu { list-style: none; margin: 0; padding: 0; }
.menu { display: inline-flex; align-items: center; }
.menu > li { position: relative; display: flex; align-items: center; }
.menu > li:not(:last-child)::after { content: ""; align-self: center; height: 16px; border-left: 2px solid var(--text); }
.menu a { display: block; color: var(--text); }
.menu > li > a { position: relative; padding: 13px 20px; line-height: 20px; }
.menu > li > a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--pointer); opacity: 0; transition: opacity .3s; }
.menu > li > a:hover, .menu > li > a:focus-visible, .menu > li > a[aria-current], .has-sub:hover > a { color: var(--menu-active); }
.menu > li > a:hover::after, .menu > li > a[aria-current]::after, .has-sub:hover > a::after { opacity: 1; }
.has-sub > a { padding-right: 36px !important; }
.sub-toggle { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); background: none; border: 0; padding: 4px; color: var(--text); cursor: pointer; line-height: 0; }
.has-sub:hover .sub-toggle { color: var(--menu-active); }
.sub-menu { position: absolute; top: 100%; left: 0; min-width: 12em; background: #fff; text-align: left; z-index: 20;
  box-shadow: 0 2px 8px rgba(0,0,0,.08); visibility: hidden; opacity: 0; transition: opacity .2s; }
.has-sub:hover > .sub-menu, .has-sub:focus-within > .sub-menu, .has-sub.is-open > .sub-menu { visibility: visible; opacity: 1; }
.sub-menu a { padding: 13px 20px; font-size: 16px; line-height: 20px; color: #33373D; white-space: nowrap; }
.sub-menu a:hover, .sub-menu a:focus-visible { background: var(--pointer); color: #fff; }
.menu-toggle { display: none; margin: 20px auto 0; background: rgba(0,0,0,.05); color: #33373D; border: 0; border-radius: 3px; padding: 5.5px; cursor: pointer; line-height: 0; }
.menu-toggle svg { width: 22px; height: 22px; }

@media (max-width: 1024px) {
  .menu-toggle { display: inline-block; }
  .nav { display: none; margin-top: 10px; }
  .nav.is-open { display: block; }
  .menu { display: block; text-align: left; max-width: 535px; margin: 0 auto; }
  .menu > li { display: block; }
  .menu > li:not(:last-child)::after { display: none; }
  .menu a, .menu > li > a { color: #33373D; font-size: 13px; padding: 13px 20px; }
  .menu > li > a::after { display: none; }
  .menu > li > a[aria-current], .menu a:hover { background: var(--pointer); color: #fff; }
  .has-sub > a { padding-right: 20px !important; display: inline-block !important; }
  .sub-toggle { position: static; transform: none; display: inline-block; vertical-align: middle; color: #33373D; }
  .sub-menu { position: static; display: none; visibility: visible; opacity: 1; box-shadow: none; }
  .has-sub.is-open > .sub-menu { display: block; }
  .sub-menu a { padding-left: 40px; white-space: normal; font-size: 13px; }
  .rule--header { margin-top: 42px; }
}
@media (max-width: 767px) { .menu { max-width: none; margin: 0 40px; } }

/* ---------------------------------------------------------------- text (Elementor text widgets) */
.txt { display: flow-root; font-family: Roboto, sans-serif; color: var(--text); }
.txt a { color: #c36; }
main { padding-bottom: 0; }
.site-footer { text-align: center; font-family: Roboto, sans-serif; color: var(--text); padding-bottom: 20px; }
.site-footer .rule { margin: 22px 0 23px; }
.site-footer p { margin: 0 0 14.4px; }
.site-footer p:last-child { margin: 0; }
.cols { display: flex; gap: 20px; }
.cols > * { flex: 1 1 0; min-width: 0; }
@media (max-width: 767px) { .cols { flex-direction: column; } }

/* ---------------------------------------------------------------- home */
.hero img { display: block; width: 100%; }
.circles { padding: 0 10px 8px; }
.circles figure { margin: 0; text-align: center; }
.circles a { display: block; }
.circles img { display: block; width: 100%; }
.circles figcaption { margin-top: 0; font: italic 16px/1.4 Roboto, sans-serif; color: var(--text); }
.videos { padding: 10px 20px 19px; }
.videos + .rule { margin-bottom: 38px; }
.page-home .site-footer .rule { margin-top: 36px; }
.videos img { display: block; width: 100%; }

/* Instagram feed, as the Smash Balloon plugin showed it */
.insta { font-family: Roboto, sans-serif; padding-bottom: 10px; }
.insta-head { display: flex; align-items: center; gap: 0; padding: 12px 0; color: #c36; }
.insta-head:hover { color: #c36; }
.insta-head img { width: 80px; height: 80px; border-radius: 50%; margin-right: 18px; }
.insta-name { display: block; font-size: 20px; font-weight: 500; line-height: 28px; }
.insta-bio { display: block; font-size: 14px; line-height: 1.4; margin-top: 4px; }
.insta-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; padding: 12px 0; }
.insta-item { display: block; aspect-ratio: 1; overflow: hidden; }
.insta-item[hidden] { display: none; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.insta-item:hover img { opacity: .85; }
.insta-foot { text-align: center; margin: 0; }
.insta-btn { display: inline-flex; align-items: center; gap: 6px; margin: 5px 5px 0; padding: 7px 14px; border: 0; border-radius: 4px;
  font: 13px/1.5 Roboto, sans-serif; color: #fff; cursor: pointer; vertical-align: top; }
.insta-btn svg { width: 15px; height: 15px; }
.insta-btn--more { background: #333; }
.insta-btn--follow { background: #408BD1; }
.insta-btn:hover { color: #fff; box-shadow: inset 0 0 0 100px rgba(255,255,255,.15); }
/* Smash Balloon: 4 columns, 2 on tablets (up to 800px), 1 on phones (up to 480px) */
@media (max-width: 800px) { .insta-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .insta-grid { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- procedures: square photos, title on hover */
.page-title { margin: 8px 0 16px; text-align: center; }
.page-procedures .grid3 { margin-top: 30px; }
.page-procedures .site-footer .rule { margin-top: 30px; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0 10px; }
@media (max-width: 767px) { .grid3 { grid-template-columns: 1fr; } }
.tile { margin: 0; }
.tile .slide-media { position: relative; display: block; aspect-ratio: 1; overflow: hidden; cursor: pointer; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile figcaption { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; text-align: center;
  font: 600 16px/1.3 Roboto, sans-serif; color: #fff; background: rgba(0,0,0,0); opacity: 0;
  transition: background-color .8s, opacity .8s; }
.tile .slide-media:hover figcaption, .tile .slide-media:focus-visible figcaption { background: rgba(0,0,0,.5); opacity: 1; }

/* ---------------------------------------------------------------- the specialty */
.page-thespecialty main > * + * { margin-top: 20px; }
.spec-img { text-align: center; }
.spec-img img { width: 662px; }

/* ---------------------------------------------------------------- the doctor */
.cv-head h3, .cv-head h4, .cv-head h5 { margin: 8px 0 16px; }
.cv-head { max-width: 501px; }
.cv-cols { display: flex; gap: 20px; padding: 0 20px; margin-top: 41px; align-items: flex-start; }
.cv-cols > :first-child { flex: 0 0 29.94%; }
.cv-cols > :not(:first-child) { flex: 0 0 31.5%; }
.cv-photo img { display: block; width: 100%; }
.cv-table { border-collapse: collapse; width: 100%; margin-bottom: 15px; font-size: .9em; line-height: 1.5; }
.cv-table td { padding: 15px; vertical-align: top; }
.cv-table td:first-child { width: 1%; }
.cv-table img { width: 31px; max-width: none; height: auto; }
.cv-table--light img { width: 40px; }
.cv-table--light { font-family: "Advent Pro Normal", sans-serif; font-weight: 300; }
.cv-text { padding: 0 10px; margin-top: 50px; }
.cv-btn { margin: 30px 0 0; }
.btn-cv { display: inline-block; padding: 12px 24px; border-radius: 12px; background: #5A5C5A; color: #fff;
  font: 500 15px/1 Roboto, sans-serif; }
.txt .btn-cv, .btn-cv:hover, .btn-cv:focus { color: #fff; }
@media (max-width: 767px) {
  .cv-cols { flex-direction: column; padding: 10px 0; }
  .cv-cols > * { flex: 1 1 auto !important; width: 100%; }
  .cv-text { padding: 0; }
}

/* ---------------------------------------------------------------- practices: photo carousels, maps */
.carousel-box { position: relative; margin: 0 10px; }
.carousel-track { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; height: 500px; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track .slide { flex: 0 0 calc((100% - 20px) / 3); scroll-snap-align: start; margin: 0; height: 100%; }
.carousel-track .slide-media { height: 100%; cursor: pointer; }
.carousel-track img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-track figcaption { display: none; }
.carousel-arrow { position: absolute; top: 250px; transform: translateY(-50%); z-index: 2; background: none; border: 0; padding: 4px; color: rgba(238,238,238,.9); cursor: pointer; line-height: 0; }
.carousel-arrow svg { width: 26px; height: 26px; stroke-width: 3; filter: drop-shadow(0 0 2px rgba(0,0,0,.3)); }
.carousel-arrow--prev { left: 20px; } .carousel-arrow--next { right: 20px; }
.carousel-dots { position: absolute; left: 10px; right: 10px; bottom: 10px; display: flex; justify-content: center; gap: 12px; }
.carousel-dots button { width: 6px; height: 6px; border-radius: 50%; padding: 0; border: 0; background: #000; opacity: .2; cursor: pointer; }
.carousel-dots button[aria-current="true"] { opacity: 1; }
@media (max-width: 1024px) { .carousel-track .slide { flex-basis: calc((100% - 10px) / 2); } }
@media (max-width: 767px) { .carousel-track .slide { flex-basis: 100%; } }
.map { display: block; width: 100%; height: 450px; border: 0; }
.spacer-15 { height: 15px; } .spacer-25 { height: 25px; }
/* the practices page: Elementor's 20px between widgets, 10px container padding */
.page-thepractices main > * + * { margin-top: 20px; }
.page-thepractices .practice-title, .page-thepractices .practice-where { padding: 0 10px; }
.page-thepractices .practice-title h3 { margin-bottom: 16px; }
.page-thepractices .spacer-15 + .practice-title { margin-top: 30px; }
.page-thepractices .carousel-box + .practice-title, .page-thepractices .carousel-box + .spacer-25, .page-thepractices .practice-map + .spacer-25 { margin-top: 40px; }
.page-thepractices .practice-map { width: calc(100% - 20px); margin-left: 10px; margin-right: 10px; }
.page-thepractices + .site-footer .rule, .page-thepractices .site-footer .rule { margin-top: 30px; }
.practice-where a, .contact-row a { color: inherit; }
.practices-text ul { margin: 0 0 .9rem; padding-left: 40px; }

/* ---------------------------------------------------------------- contact */
.contact-row { display: flex; gap: 20px; padding: 10px; }
.contact-row > :first-child { flex: 0 0 calc(33.333% - 13px); }
.contact-row > :last-child { flex: 1 1 0; }
.contact-row .map { height: 300px; }
.contact-row h4 { margin-top: 8px; }
.contact-row + .contact-row { margin-top: 20px; }
@media (max-width: 767px) { .contact-row { flex-direction: column; padding: 10px 0; } }

/* ---------------------------------------------------------------- plain page (theme template) */
.page-plain { color: var(--ink); }
.page-plain h1 { margin: -2px 0 1rem; }
.page-plain ul { padding-left: 40px; margin: 0; }
.page-blephinstructions .site-footer .rule { margin-top: 10px; }

/* ---------------------------------------------------------------- lightbox (shared with the maxillofacial build) */
.lightbox { padding: 0; border: 0; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; background: rgba(0,0,0,.92); color: #fff; }
.lightbox::backdrop { background: rgba(0,0,0,.6); }
.lightbox[open] { display: flex; flex-direction: column; }
.lb-top { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; font: 14px Roboto, sans-serif; }
.lb-img { position: relative; flex: 1; display: flex; align-items: center; justify-content: center; min-height: 0; }
.lb-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lb-cap { text-align: center; padding: 10px 16px 18px; margin: 0; font: 15px Roboto, sans-serif; min-height: 1em; }
.lb-cap:empty { display: none; }
.icon-btn, .lb-nav { background: none; border: 0; color: #fff; cursor: pointer; padding: 8px; line-height: 0; }
.lb-nav { position: absolute; top: 50%; transform: translateY(-50%); }
.lb-nav svg { width: 34px; height: 34px; }
.lb-nav--prev { left: 6px; } .lb-nav--next { right: 6px; }
.lb-nav:disabled { opacity: .25; cursor: default; }
.insta-btn[hidden] { display: none; }
