/* istomedica.gr - one stylesheet. Tokens from the old Avada site (source/design.json, --awb-color1..8):
   white #fff, light #f5f5f5, grey #eeeeef, green #95d241, blue #43aed6, text #666, dark #3b4251 / #2b313c.
   Contrast fixes (audit.md): white text sits on --blue-ink (#1a6d90, 5.8:1; 5.0:1 as text on grey) instead of #43aed6 (2.5:1); blue
   link text on --blue-ink; green text (active menu item) on --green-ink (#4a7811); hero photos get a blue scrim. */
@font-face { font-family: Ubuntu; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/ubuntu-300-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: Ubuntu; font-style: normal; font-weight: 300; font-display: swap; src: url(/assets/fonts/ubuntu-300-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Ubuntu; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ubuntu-400-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: Ubuntu; font-style: normal; font-weight: 400; font-display: swap; src: url(/assets/fonts/ubuntu-400-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Ubuntu; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/ubuntu-400i-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: Ubuntu; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/ubuntu-400i-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Ubuntu; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ubuntu-500-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: Ubuntu; font-style: normal; font-weight: 500; font-display: swap; src: url(/assets/fonts/ubuntu-500-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Ubuntu; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/ubuntu-700-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: Ubuntu; font-style: normal; font-weight: 700; font-display: swap; src: url(/assets/fonts/ubuntu-700-latin.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --white: #fff; --light: #f5f5f5; --grey: #eeeeef; --line: #dcdcde;
  --green: #95d241; --green-ink: #4a7811;
  --blue: #43aed6; --blue-ink: #1a6d90;
  --text: #666; --text-strong: #3b4251; --dark: #2b313c;
  --font: Ubuntu, "Segoe UI", Arial, sans-serif;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --wide: 1170px; --measure: 35rem; --gutter: 20px; --radius: 2px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: var(--s5); }
body { margin: 0; font: 400 1rem/1.75 var(--font); color: var(--text); background: var(--grey); }
img { max-width: 100%; height: auto; }
a { color: var(--blue-ink); }
a:hover { color: var(--text-strong); }
:focus-visible { outline: 3px solid var(--blue-ink); outline-offset: 2px; }
h1, h2, h3, h4 { font-family: var(--font); color: var(--text-strong); line-height: 1.25; margin: 0 0 var(--s4); }
h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 1.5rem; font-weight: 500; }
h3 { font-size: 1.25rem; font-weight: 500; }
h4 { font-size: 1.0625rem; font-weight: 700; }
p, ul, ol, table, details { margin: 0 0 var(--s4); }
.wrap { width: min(var(--wide), 100% - 2 * var(--gutter)); margin-inline: auto; }
.narrow { max-width: 52rem; }
.visually-hidden, .visually-hidden-title h1 { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; z-index: 30; padding: var(--s2) var(--s4); background: var(--white); }
.skip:focus { left: var(--s4); top: var(--s2); }

/* buttons */
.btn, .cms-form__submit { display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); min-height: 44px; padding: var(--s2) var(--s5);
  font: 500 .875rem/1.3 var(--font); letter-spacing: .04em; text-transform: uppercase; text-decoration: none; text-align: center;
  color: var(--white); background: var(--blue-ink); border: 0; border-radius: var(--radius); cursor: pointer; }
.btn:hover, .cms-form__submit:hover { color: var(--white); background: var(--text-strong); }
.btn-large { padding: var(--s3) var(--s6); font-size: 1rem; }
.btn-small { min-height: 44px; padding: var(--s2) var(--s4); font-size: .8125rem; }
span.btn { cursor: default; }
.btn-row { margin: var(--s5) 0; }

/* header */
.topbar { background: var(--grey); font-size: .8125rem; }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s4); min-height: 48px; }
.topbar-contact { display: flex; flex-wrap: wrap; gap: var(--s1) var(--s6); margin: 0; padding: 0; list-style: none; }
.topbar-contact li { display: flex; align-items: center; gap: var(--s2); }
.topbar-contact img { width: 10px; height: auto; }
.topbar-contact a { color: var(--text); text-decoration: none; display: inline-block; padding-block: var(--s2); }
.topbar-contact a:hover { color: var(--blue-ink); }
.lang-switch { display: flex; align-items: stretch; border: 1px solid var(--line); background: var(--white); }
.lang-switch > * { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 var(--s3); font-size: .8125rem; color: var(--text-strong); text-decoration: none; }
.lang-cur { font-weight: 700; background: var(--grey); }
.lang-switch a:hover { color: var(--blue-ink); }
.mainbar { background: var(--white); }
.mainbar-in { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); min-height: 96px; }
.logo { display: block; padding-block: var(--s3); }
.logo img { display: block; width: 213px; height: auto; }
.menu-toggle { display: none; }
.menu { display: flex; flex-wrap: wrap; margin: 0; padding: 0; list-style: none; }
.menu-item { position: relative; }
.menu-item > a, .menu-label { display: flex; align-items: center; min-height: 44px; padding: var(--s3) var(--s3); font-size: .9375rem; color: var(--text); text-decoration: none; border-left: 2px solid transparent; cursor: pointer; }
.menu-item.has-sub > a::after, .menu-item.has-sub > .menu-label::after { content: ""; width: 6px; height: 6px; margin-left: var(--s2); border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-2px) rotate(45deg); }
.menu-item > a:hover, .menu-label:hover { color: var(--green-ink); }
.menu-item > a[aria-current], .menu-item:has(.sub-menu [aria-current]) > :is(a, .menu-label) { color: var(--green-ink); border-left-color: var(--green); border-right: 2px solid var(--green); }
.sub-menu { position: absolute; z-index: 20; top: 100%; left: 0; min-width: 240px; margin: 0; padding: var(--s2) 0; list-style: none; background: var(--white); border-top: 3px solid var(--green); box-shadow: 0 4px 12px rgb(0 0 0 / .08); visibility: hidden; opacity: 0; }
.menu-item:nth-last-child(-n+2) > .sub-menu { left: auto; right: 0; }
.menu-item:hover > .sub-menu, .menu-item:focus-within > .sub-menu { visibility: visible; opacity: 1; }
.sub-menu a { display: block; padding: var(--s3) var(--s5); font-size: .875rem; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--grey); }
.sub-menu a:hover, .sub-menu a[aria-current] { color: var(--green-ink); }

/* heroes */
.hero { position: relative; display: grid; align-items: center; min-height: 400px; color: var(--white); text-align: center; overflow: hidden;
  background: var(--blue-ink) var(--bg) center / cover no-repeat; }
.hero::before { content: ""; position: absolute; inset: 0; background: rgb(18 84 112 / .45); }
.hero-in { position: relative; padding-block: var(--s8); }
.hero h1 { color: var(--white); margin: 0; text-shadow: 0 1px 3px rgb(0 0 0 / .35); }
.hero-page { min-height: 400px; }
.hero-video { min-height: 560px; background: var(--dark); }
.hero-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-video::before { z-index: 1; background: rgb(18 40 60 / .4); }
.hero-video .hero-in { z-index: 2; }
.hero-video h1 { max-width: 34ch; margin: 0 auto var(--s5); }
.page-title { padding-top: var(--s8); }
.page-title h1 { color: var(--blue-ink); font-size: 1.875rem; font-weight: 500; }

/* page body: white cards on grey, thin coloured top rule as the old site */
.page-body { padding: var(--s8) 0 var(--s8); }
.card { margin-bottom: var(--s6); padding: var(--s7) var(--s8); background: var(--white); border-top: 5px solid var(--blue); }
.card.accent-green { border-top-color: var(--green); }
.card.accent-none { border-top-color: var(--white); }
.card.has-side { display: grid; grid-template-columns: max-content 1fr; gap: var(--s7); align-items: start; }
.card-side img { display: block; max-width: 300px; }
.text-block { margin-bottom: var(--s6); }
.prose > * { max-width: var(--measure); margin-inline: auto; }
.prose > p.media, .prose > .table-wrap, .prose > p:has(> img:only-child) { max-width: 100%; }
.card.has-side .prose > * { margin-inline: 0; }
.prose h2 { margin-top: var(--s6); }
.prose h3, .prose h4 { margin-top: var(--s5); }
.prose > :first-child, .prose > :first-child > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose li { margin-bottom: var(--s2); }
.prose img { display: block; margin: var(--s5) auto; }
.prose p.media { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }
.prose p.media img { margin: 0; }
.prose p:not(.media) > img { margin-bottom: var(--s3); }
.table-wrap { overflow-x: auto; margin: 0 0 var(--s5); }
.table-wrap table { border-collapse: collapse; min-width: 100%; font-size: .9375rem; }
.table-wrap th, .table-wrap td { padding: var(--s2) var(--s3); border: 1px solid var(--line); text-align: left; vertical-align: top; }
.table-wrap th { color: var(--text-strong); background: var(--light); }
.checklist { list-style: none; padding: 0; }
.checklist li { position: relative; padding-left: var(--s6); }
.checklist li::before { content: ""; position: absolute; left: var(--s1); top: .45em; width: 7px; height: 12px; border: solid var(--green-ink); border-width: 0 3px 3px 0; transform: rotate(45deg); }
.checklist p { margin: 0; }

/* accordions (old Avada toggles) */
details { border-bottom: 1px solid var(--grey); }
summary { display: flex; align-items: center; gap: var(--s3); min-height: 44px; padding: var(--s2) 0; color: var(--blue-ink); font-size: 1.0625rem; cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary::before { content: "+"; width: 1em; font-weight: 700; color: var(--blue-ink); }
details[open] > summary::before { content: "\2013"; }
.details-body { padding: var(--s2) 0 var(--s4); }

/* pop-up texts (old Avada modals): native popover, no script */
.modal-link { display: inline-block; min-height: 44px; min-width: 44px; margin-block: -12px; padding: 12px 0 0; font: inherit; color: var(--blue-ink); background: none; border: 0; border-bottom: 1px dashed currentColor; cursor: pointer; }
h3 .modal-link { font-weight: inherit; }
[popover].modal { width: min(52rem, 100% - 2 * var(--gutter)); max-height: 85vh; overflow: auto; padding: var(--s6) var(--s7); color: var(--text); background: var(--white); border: 0; border-top: 5px solid var(--blue); box-shadow: 0 10px 40px rgb(0 0 0 / .3); }
[popover].modal::backdrop { background: rgb(0 0 0 / .5); }
.modal-close { min-height: 44px; margin-top: var(--s4); padding: var(--s2) var(--s5); font: inherit; color: var(--white); background: var(--blue-ink); border: 0; border-radius: var(--radius); cursor: pointer; }
.modal:not(:popover-open) { display: none; }

/* team (the lab) */
.team { display: grid; grid-template-columns: 1fr 2fr; gap: var(--s6); margin-block: var(--s7); }
.team-title { font-size: 1.25rem; font-weight: 700; padding-top: var(--s4); }
.team-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); margin: 0; padding: 0; list-style: none; }
.member { padding: var(--s4); background: var(--white); border: 1px solid var(--grey); }
.member img { display: block; width: 100%; aspect-ratio: 300 / 221; object-fit: cover; background: var(--light); margin-bottom: var(--s4); }
.member h3 { font-size: 1rem; font-weight: 700; margin-bottom: var(--s2); }
.member p { margin: 0; font-size: .875rem; line-height: 1.6; }

/* home */
.band { padding-block: var(--s9); background: var(--grey) var(--bg, none) center / cover no-repeat; text-align: center; }
.band-title { font-size: 2.5rem; font-weight: 700; }
.note { max-width: 36rem; margin: 0 auto var(--s8); padding: var(--s5); color: var(--text-strong); background: #f8e7e7; border: 1px solid #decccc; }
.exam-list { display: grid; gap: var(--s3); max-width: 440px; margin: 0 auto; padding: 0; list-style: none; }
.exam-list li:last-child { margin-top: var(--s6); }
.exam-link { display: flex; align-items: center; justify-content: center; gap: var(--s3); min-height: 56px; padding: var(--s3) var(--s5); font-size: 1.125rem; color: var(--text); text-decoration: none; background: var(--white); }
a.exam-link:hover { color: var(--white); background: var(--blue-ink); }
.exam-list li:first-child .exam-link { color: var(--white); background: var(--blue-ink); }
.exam-ico { width: 18px; height: 18px; background: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
.ico-microscope { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 2h4v2h-1v8h-2V4H9V2Zm-1 11h6v2H8v-2Zm8.5-4.5A6.5 6.5 0 0 1 17 20H4v2h16v-2h-1.2a8.5 8.5 0 0 0-1.6-11.9l-.7.4ZM6 18h8v1H6v-1Z'/%3E%3C/svg%3E"); }
.ico-flask { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 2h8v2h-1v5.3l5.6 9.4A2.2 2.2 0 0 1 18.7 22H5.3a2.2 2.2 0 0 1-1.9-3.3L9 9.3V4H8V2Zm3 2v5.9L8.2 15h7.6L13 9.9V4h-2Z'/%3E%3C/svg%3E"); }
.ico-dna { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 2h2c0 3 2 4.5 4 6s4 3.5 4 6.5V22h-2c0-3-2-4.5-4-6s-4-3.5-4-6.5V2Zm10 0h2v1.5c0 2.6-1.4 4.4-3 5.8l-1.4-1.2C15 7 16 5.7 16 3.5V2ZM8 20.5c0-2.6 1.4-4.4 3-5.8l1.4 1.2C11 17 10 18.3 10 20.5V22H8v-1.5ZM9 5h6v2H9V5Zm0 12h6v2H9v-2Z'/%3E%3C/svg%3E"); }
.ico-vial { --ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M15.6 2.2 21.8 8.4l-1.4 1.4-.7-.7-9.9 9.9a3.5 3.5 0 0 1-5-5l9.9-9.9-.7-.7 1.6-1.2Zm.6 3.2L12.6 9h5.6l1.3-1.3-3.3-2.3Z'/%3E%3C/svg%3E"); }
.band-about { position: relative; color: var(--white); }
.band-about::before { content: ""; position: absolute; inset: 0; background: rgb(18 84 112 / .55); }
.band-about .wrap { position: relative; }
.band-about p { max-width: var(--measure); margin-inline: auto; }
.band-about .band-title { color: var(--white); }
.about-logos { display: block; width: 182px; margin: var(--s6) auto 0; }
.band-features { padding-block: var(--s8); }
.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; background: var(--white); border-top: 5px solid var(--blue); }
.feature { padding: var(--s7) var(--s5); border-right: 1px solid var(--grey); }
.feature:last-child { border-right: 0; }
.feature img { display: block; width: 39px; margin: 0 auto var(--s4); }
.feature p:first-of-type { font-size: 1.25rem; color: var(--text-strong); }
.band-news { background-image: none; }

/* post cards (home + news list) */
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s7) var(--s6); margin: 0; padding: 0; list-style: none; text-align: left; }
.post-card { position: relative; padding-block: var(--s4); border-top: 1px solid var(--blue); border-bottom: 1px solid var(--blue); }
.post-card-img { display: block; width: 100%; max-width: 368px; margin-bottom: var(--s5); }
.post-card h3 { font-size: 1rem; font-weight: 700; line-height: 1.5; }
.post-card h3 a { display: block; min-height: 44px; color: var(--blue-ink); text-decoration: none; }
.post-card h3 a::after { content: ""; position: absolute; inset: 0; }
.post-card h3 a:hover { text-decoration: underline; }
.post-card-more { margin: 0; font-size: .8125rem; color: var(--blue-ink); }
.news-card { padding: var(--s7); }

/* posts */
.post-title { padding-top: var(--s7); }
.post-card-body { border-top-color: var(--white); }
.post-nav { display: flex; gap: var(--s4); justify-content: flex-end; padding-bottom: var(--s7); }
.post-nav a { display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; padding-inline: var(--s2); color: var(--text); text-decoration: none; font-size: .875rem; }
.post-nav a:hover { color: var(--blue-ink); }

/* map and click-to-load embeds (old theme privacy placeholders) */
.consent-embed { display: grid; place-content: center; justify-items: center; gap: var(--s4); min-height: 300px; padding: var(--s6); text-align: center; background: #e2e2e4; }
.consent-embed p { margin: 0; color: var(--text-strong); }
.consent-embed iframe { width: 100%; height: 100%; min-height: 300px; border: 0; }
.consent-embed.is-loaded { display: block; padding: 0; }
.map { min-height: 400px; }
.map.is-loaded iframe { height: 400px; }
.prose .consent-embed { aspect-ratio: 16 / 9; min-height: 0; max-width: 600px; margin: 0 auto var(--s5); }
.prose .consent-embed iframe { min-height: 0; }

/* contact */
.contact-grid { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s8); padding-block: var(--s8); }
.contact-info .checklist li::before { display: none; }
.contact-info .checklist li { padding-left: 0; margin-bottom: var(--s5); }
.prose a { overflow-wrap: anywhere; }
.prose p, .prose li { overflow-wrap: break-word; }
.checklist li > p > a, .contact-info a { display: inline-flex; align-items: center; min-height: 44px; }
.cms-form { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s5); }
.cms-form__note, .cms-form__field--textarea, .cms-form__actions, .cms-form__status { grid-column: 1 / -1; }
.cms-form__field { margin-bottom: var(--s5); }
.cms-form__field label { display: block; margin-bottom: var(--s1); font-size: .9375rem; }
.cms-form__req { color: var(--text-strong); }
.cms-form input:not([type="checkbox"]), .cms-form textarea { width: 100%; min-height: 44px; padding: var(--s2) var(--s3); font: inherit; color: var(--text-strong); background: var(--white); border: 1px solid #7aa33a; border-radius: var(--radius); }
.cms-form textarea { min-height: 140px; }
.cms-form [data-invalid] :is(input, textarea) { border-color: #b00020; }
.cms-form__error { margin: var(--s1) 0 0; color: #b00020; font-size: .875rem; }
.cms-form__submit { background: var(--green-ink); }
.cms-form__submit:disabled { opacity: .6; cursor: progress; }
.cms-form__status:empty { margin: 0; }
.cms-form__status[data-state="success"] { color: var(--green-ink); }
.cms-form__status[data-state="error"] { color: #b00020; }

/* footer */
.molecules { height: 140px; background: var(--grey) url(/images/2022_02_bg2.webp) center bottom / 1920px auto repeat-x; }
.site-footer { background: var(--white); font-size: .875rem; }
.footer-in { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s6); padding-block: var(--s7); }
.footer-logo { display: block; width: 158px; margin-bottom: var(--s5); }
.footer-contact, .footer-social, .footer-nav ul { margin: 0 0 var(--s4); padding: 0; list-style: none; }
.footer-contact li { display: flex; gap: var(--s2); }
.footer-contact a, .footer-nav a { display: inline-block; padding-block: var(--s1); color: var(--text); text-decoration: none; }
.footer-contact a:hover, .footer-nav a:hover { color: var(--blue-ink); }
.ico { flex: 0 0 auto; width: 14px; height: 14px; margin-top: .55em; fill: var(--green-ink); }
.footer-social { display: flex; gap: var(--s2); }
.footer-social a { display: block; padding: 3px; }
.footer-social img { display: block; width: 38px; height: 38px; }
.footer-nav li a { letter-spacing: .03em; }
.footer-nav a[aria-current] { color: var(--blue-ink); }
.footer-badges { display: block; width: 120px; margin-top: var(--s4); }
.footer-title { margin-bottom: var(--s4); font-size: .9375rem; font-weight: 500; color: var(--blue-ink); text-transform: capitalize; }
.hours { width: 100%; border-collapse: collapse; }
.hours th { padding: var(--s1) var(--s4) var(--s1) 0; text-align: left; font-weight: 700; color: var(--text-strong); }
.hours td { padding: var(--s1) 0; }
.footer-bottom { padding-block: var(--s5); background: var(--grey); font-size: .8125rem; }
.footer-bottom p { margin: 0; }
.footer-bottom a { color: var(--text); text-decoration: none; display: inline-block; padding-block: var(--s2); }

/* consent bar (old theme privacy bar) */
.consent { position: fixed; inset: auto 0 0; z-index: 40; color: #d6d8dc; background: var(--dark); font-size: .8125rem; }
.consent-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--s3) var(--s5); padding-block: var(--s3); }
.consent-text { margin: 0; }
.consent-more { min-height: 44px; padding: 0 var(--s1); font: inherit; color: #b8e07e; background: none; border: 0; text-decoration: underline; cursor: pointer; }
.consent-actions { display: flex; gap: var(--s3); }
.consent-panel { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s5); padding-block: var(--s4); }
.consent-panel[hidden] { display: none; }
.consent-panel .btn { justify-self: start; }
.consent-h { margin: 0 0 var(--s2); font-weight: 700; color: var(--white); }
.consent-h input { width: 18px; height: 18px; vertical-align: -3px; }
.consent-panel ul { margin: 0; padding-left: var(--s5); }

/* tablet and phone (old breakpoints 1024 and 755) */
@media (max-width: 1024px) {
  .mainbar-in { min-height: 80px; }
  .menu-toggle { display: inline-flex; align-items: center; gap: var(--s2); min-height: 44px; padding: 0 var(--s4); font: inherit; color: var(--text-strong); background: var(--grey); border: 0; cursor: pointer; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; background: currentColor; }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; } .menu-bars::after { top: 6px; }
  .mainbar-in { flex-wrap: wrap; }
  .main-nav { display: none; flex-basis: 100%; padding-bottom: var(--s4); }
  .main-nav.is-open { display: block; }
  .menu { display: block; }
  .menu-item > a, .menu-label { border-left: 0; border-bottom: 1px solid var(--grey); }
  .menu-item > a[aria-current] { border-right: 0; }
  .sub-menu { position: static; visibility: visible; opacity: 1; box-shadow: none; border-top: 0; padding: 0 0 0 var(--s5); }
  .footer-in { grid-template-columns: 1fr 1fr; }
  .card { padding: var(--s6) var(--s6); }
}
@media (max-width: 755px) {
  :root { --gutter: 16px; }
  .logo img { width: 150px; }
  h1, .band-title { font-size: 1.875rem; }
  .topbar-in { flex-wrap: wrap; padding-block: var(--s2); }
  .topbar-contact { flex-direction: column; gap: 0; }
  .hero, .hero-page { min-height: 340px; }
  .hero-video { min-height: 440px; }
  .band { padding-block: var(--s8); }
  .band-about { min-height: 600px; }
  .card { width: 100%; padding: var(--s5) var(--s4); }
  .topbar-contact a, .footer-contact a, .footer-nav a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 0; }
  .card.has-side, .team, .contact-grid, .consent-panel { grid-template-columns: 1fr; }
  .card.has-side { gap: var(--s5); }
  .team { gap: var(--s4); }
  .team-list { grid-template-columns: 1fr; }
  .features, .post-grid, .footer-in { grid-template-columns: 1fr; }
  .feature { border-right: 0; border-bottom: 1px solid var(--grey); }
  .cms-form { grid-template-columns: 1fr; }
  .consent-in { justify-content: flex-start; }
  [popover].modal { padding: var(--s5) var(--s4); }
}
