/* Modern refresh layer for Dumlupinar 30 No'lu ASM */
:root {
  --color-ink: #172f45;
  --color-muted: #60707d;
  --color-line: #d9e2ea;
  --color-bg: #f2f5f8;
  --color-surface: #ffffff;
  --color-teal: #0b9f99;
  --color-teal-dark: #08736f;
  --color-blue: #174a73;
  --color-blue-dark: #0f3556;
  --color-red: #c9252d;
  --color-cyan: #6ee7df;
  --color-green: #6aa84f;
  --color-coral: #f17852;
  --shadow-soft: 0 24px 60px rgba(18, 49, 60, 0.12);
  --shadow-card: 0 14px 34px rgba(18, 49, 60, 0.09);
  --shadow-glow: 0 18px 44px rgba(14, 167, 161, 0.18);
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  color: var(--color-ink);
  background-color: var(--color-bg);
  background-image: linear-gradient(180deg, #f6f8fa 0%, var(--color-bg) 36%, #ffffff 100%) !important;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body a {
  color: var(--color-teal-dark);
}

body a:hover,
body a:focus {
  color: var(--color-coral);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

#wrap {
  width: 100%;
  max-width: none;
  border-top: 0;
  padding-top: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.container {
  width: min(1160px, calc(100% - 40px));
  max-width: 1160px;
}

#header {
  width: 100%;
  max-width: none;
  background: #ffffff;
  border-bottom: 0;
  box-shadow: 0 16px 34px rgba(23, 47, 69, 0.08);
  backdrop-filter: none;
  margin-bottom: 0;
  position: sticky;
  top: 0;
  z-index: 900;
}

#header-top {
  width: min(1160px, calc(100% - 40px));
  max-width: 1160px;
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

#header-top .one-half,
#header-top .one-half.column-last {
  float: none;
  width: auto;
  max-width: none;
  margin-right: 0;
}

#logo {
  float: none;
  margin: 0;
}

#logo a,
#logo a img {
  display: block;
}

#logo a img {
  max-height: 86px;
  width: auto;
}

.gov-topbar {
  background: #f0f2f4;
  border-bottom: 1px solid #d6dde5;
  color: #33495d;
  font-size: 13px;
}

.gov-topbar-inner {
  width: min(1160px, calc(100% - 40px));
  min-height: 40px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.gov-topbar-language,
.gov-topbar-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.gov-topbar-language span,
.gov-topbar-links a {
  color: #273d52;
  font-weight: 600;
  line-height: 1.2;
}

.gov-topbar-links a:hover,
.gov-topbar-links a:focus {
  color: var(--color-red);
}

#header-top .one-half:first-child {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gov-identity-copy {
  display: grid;
  gap: 3px;
  padding-left: 16px;
  border-left: 1px solid var(--color-line);
}

.gov-identity-copy span {
  color: var(--color-red);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.gov-identity-copy strong {
  color: var(--color-blue-dark);
  font-size: 18px;
  line-height: 1.18;
}

#header .contact-info {
  float: none;
  margin-top: 0;
}

#header .contact-info p {
  float: none;
  margin: 0;
  font-size: 13px;
}

#header .contact-info.cafferson {
  margin-right: 18px;
}

#header .contact-info.cafferson img {
  max-height: 52px;
  width: auto;
}

#header .contact-info.cafferson a {
  display: block;
  padding: 6px;
  background: #ffffff;
  border: 1px solid rgba(14, 167, 161, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(18, 49, 60, 0.06);
}

#header-top .contact-info:not(.cafferson) p {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px 0 36px;
  background-color: #ffffff;
  border: 1px solid rgba(14, 167, 161, 0.14);
  border-radius: var(--radius);
  box-shadow: 0 10px 24px rgba(18, 49, 60, 0.06);
  background-position: 14px center;
}

#header-top .one-half.column-last {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

#navbar {
  width: 100%;
  max-width: none;
  height: auto;
  min-height: 56px;
  margin: 0;
  border: 0;
  background: var(--color-blue);
  border-radius: 0;
  filter: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 0;
  box-shadow: none;
}

#nav {
  float: none;
  height: auto;
  position: static;
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

ul#navlist {
  display: flex;
  align-items: center;
  gap: 0;
  margin: 0;
}

ul#navlist li {
  float: none;
  min-width: 0;
  position: relative;
}

ul#navlist li a {
  border: 0;
  box-shadow: none;
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  min-height: 56px;
  padding: 18px 17px;
  border-radius: 0;
  background: transparent;
  position: relative;
  transition: background-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

ul#navlist li a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

ul#navlist li.current > a,
.no-touch ul#navlist li a:hover,
ul#navlist li a.selected {
  color: #ffffff;
  background: var(--color-blue-dark) !important;
  border-color: transparent !important;
  box-shadow: inset 0 -3px 0 var(--color-red);
  transform: none;
}

ul#navlist li.current > a::after,
.no-touch ul#navlist li a:hover::after,
ul#navlist li a.selected::after {
  opacity: 0.5;
  transform: scaleX(1);
}

.ddsubmenustyle li a {
  background-color: var(--color-blue-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0;
  color: #ffffff;
  font-size: 13px;
  padding: 12px 15px;
}

.ddsubmenustyle {
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: 0 18px 36px rgba(23, 47, 69, 0.22);
  overflow: hidden;
}

.gov-menu-toggle,
.gov-mobile-panel {
  display: none;
}

#search-form {
  display: none;
}

.tinynav {
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  color: var(--color-ink);
  min-height: 48px;
  padding: 0 44px 0 14px;
  width: 100%;
  background-color: #ffffff;
  background-image: linear-gradient(45deg, transparent 50%, var(--color-teal-dark) 50%), linear-gradient(135deg, var(--color-teal-dark) 50%, transparent 50%);
  background-position: calc(100% - 22px) 20px, calc(100% - 15px) 20px;
  background-repeat: no-repeat;
  background-size: 7px 7px, 7px 7px;
  box-shadow: 0 8px 22px rgba(18, 49, 60, 0.08);
  font-weight: 700;
  appearance: none;
  -moz-appearance: none;
  -webkit-appearance: none;
}

.tinynav:focus {
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(15, 159, 154, 0.16);
}

#content.container {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 255, 255, 0.9)),
    var(--color-surface);
  border: 1px solid #dfe7ee;
  box-shadow: var(--shadow-soft);
  border-radius: var(--radius);
  margin-top: 34px;
  padding: 34px;
}

.gov-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: -6px 0 26px;
  padding: 0 0 16px;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-muted);
  font-size: 13px;
  font-weight: 700;
}

.gov-breadcrumb a {
  color: var(--color-blue);
}

.gov-breadcrumb span {
  color: #9aa9b5;
}

.gov-breadcrumb strong {
  color: var(--color-ink);
}

#content.container section {
  margin-bottom: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color-ink);
  letter-spacing: 0;
}

#content h4 {
  color: var(--color-blue);
  font-size: 20px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

p {
  color: var(--color-muted);
  overflow-wrap: anywhere;
}

hr {
  background-color: var(--color-line);
  color: var(--color-line);
  margin: 28px 0;
}

.infobox {
  border: 1px solid #dfe7ee;
  background: #f8fbfd;
  border-radius: var(--radius);
  color: var(--color-ink);
  margin-bottom: 24px;
}

.infobox-inner {
  padding: 22px;
}

.infobox p {
  color: var(--color-ink);
  font-size: 15px;
  margin-bottom: 0;
}

.iconbox {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-height: 132px;
  padding: 22px 14px 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.iconbox:hover {
  border-color: rgba(23, 74, 115, 0.35);
  box-shadow: 0 16px 34px rgba(18, 49, 60, 0.12);
  transform: translateY(-2px);
}

.iconbox h4 {
  margin-bottom: 0;
}

.iconbox h4 a {
  color: var(--color-ink);
  display: block;
  font-size: 15px;
}

.iconbox h4 a:hover {
  color: var(--color-teal-dark);
}

span.iconbox-icon {
  margin-left: auto;
  margin-right: auto;
}

.table {
  color: var(--color-ink);
  font-size: 14px;
}

.table > thead > tr > th,
.table > tbody > tr > th,
.table > tfoot > tr > th,
.table > thead > tr > td,
.table > tbody > tr > td,
.table > tfoot > tr > td {
  border-color: var(--color-line);
  vertical-align: middle;
}

.table-striped > tbody > tr:nth-of-type(odd) {
  background-color: #f6f8fa;
}

#map_canvas {
  display: block;
  width: 100% !important;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius);
  box-shadow: 0 18px 44px rgba(18, 49, 60, 0.13);
  min-height: 420px;
}

.contact-info p,
.contact-info a {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: normal;
}

.location-map {
  margin-top: 28px;
  padding: 24px;
  background: #ffffff;
  border: 1px solid rgba(14, 167, 161, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
}

.location-map p {
  font-size: 16px;
  font-weight: 700;
}

#footer {
  background: linear-gradient(180deg, #20547d, var(--color-blue-dark));
  border-top: 0;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 56px;
}

#footer .container {
  width: min(1160px, calc(100% - 40px));
}

#footer h4 {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 15px;
  margin-bottom: 18px;
  padding-bottom: 10px;
}

#footer p,
#footer a {
  color: rgba(255, 255, 255, 0.76);
}

#footer a:hover {
  color: #ffffff;
}

#footer-top {
  padding: 38px 0 26px;
}

#footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.64);
}

#footer-bottom p {
  color: rgba(255, 255, 255, 0.64);
}

#footer-nav ul {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px 16px;
}

#footer-nav ul li {
  padding-right: 0;
}

/* Homepage */
.home-modern {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  margin-top: 0 !important;
  padding: 0 !important;
}

.modern-hero {
  position: relative;
  width: min(1160px, calc(100% - 40px));
  margin: 30px auto 0;
  background: transparent;
  overflow: visible;
}

.hero-video-shell {
  position: relative;
  min-height: clamp(220px, 52vw, 620px);
  background:
    linear-gradient(135deg, rgba(14, 167, 161, 0.18), rgba(31, 111, 159, 0.12)),
    #0d2f39;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(18, 49, 60, 0.18);
  overflow: hidden;
}

.hero-video-shell::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26), inset 0 -1px 0 rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.hero-video-shell.is-video-ready {
  min-height: 0;
}

.hero-video {
  display: block;
  width: 100% !important;
  max-width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: contain;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.hero-video-shell .mejs-container,
.hero-video-shell .mejs-inner,
.hero-video-shell .mejs-mediaelement {
  width: 100% !important;
  max-width: 100%;
}

.care-signal-strip {
  width: min(1100px, calc(100% - 64px));
  margin: -26px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(14, 167, 161, 0.16);
  border-radius: var(--radius);
  box-shadow: 0 18px 42px rgba(18, 49, 60, 0.12);
  backdrop-filter: blur(14px);
}

.care-signal-strip article {
  min-width: 0;
  padding: 14px 16px;
  border-right: 1px solid var(--color-line);
}

.care-signal-strip article:last-child {
  border-right: 0;
}

.care-signal-strip span {
  display: block;
  color: var(--color-muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.care-signal-strip strong {
  color: var(--color-ink);
  display: block;
  font-size: 15px;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero-video-shell.is-video-loading .hero-video {
  opacity: 0;
}

.hero-video-loader {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background:
    radial-gradient(circle at 50% 42%, rgba(24, 184, 176, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(8, 115, 111, 0.92), rgba(13, 47, 57, 0.96));
  color: #ffffff;
  opacity: 1;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.hero-video-shell.is-video-ready .hero-video-loader,
.hero-video-shell.is-video-error .hero-video-loader {
  opacity: 0;
  visibility: hidden;
}

.syringe-loader {
  position: relative;
  width: min(270px, 72vw);
  height: 72px;
}

.syringe-body {
  position: absolute;
  left: 52px;
  top: 22px;
  width: calc(100% - 112px);
  height: 28px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.14);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.syringe-body::before,
.syringe-body::after {
  content: "";
  position: absolute;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.55);
}

.syringe-body::before {
  left: 33%;
}

.syringe-body::after {
  right: 33%;
}

.syringe-fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #70efe7, #0f9f9a);
  transform: translateX(-100%);
  animation: syringe-fill 1.8s ease-in-out infinite;
}

.syringe-plunger {
  position: absolute;
  left: 14px;
  top: 31px;
  width: 42px;
  height: 10px;
  border-radius: 999px 0 0 999px;
  background: rgba(255, 255, 255, 0.9);
  animation: syringe-plunger 1.8s ease-in-out infinite;
}

.syringe-plunger::before {
  content: "";
  position: absolute;
  left: -12px;
  top: -13px;
  width: 12px;
  height: 36px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.9);
}

.syringe-tip {
  position: absolute;
  right: 38px;
  top: 27px;
  width: 22px;
  height: 18px;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: rgba(255, 255, 255, 0.9);
}

.syringe-needle {
  position: absolute;
  right: 10px;
  top: 35px;
  width: 32px;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
}

.hero-loading-text {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

@keyframes syringe-fill {
  0% {
    transform: translateX(-100%);
  }

  64%,
  100% {
    transform: translateX(0);
  }
}

@keyframes syringe-plunger {
  0% {
    transform: translateX(0);
  }

  64%,
  100% {
    transform: translateX(40px);
  }
}

.hero-copy {
  max-width: 660px;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #b8f0e9;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.hero-copy h1 {
  color: #ffffff;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 18px;
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
  line-height: 1.65;
  max-width: 620px;
  margin-bottom: 28px;
  overflow-wrap: break-word;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.modern-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1;
}

.modern-button.primary {
  color: #ffffff;
  background: var(--color-teal);
}

.modern-button.secondary {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.modern-button:hover,
.modern-button:focus {
  color: #ffffff;
  background: var(--color-coral);
}

.address-alert {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.address-alert.is-visible {
  display: flex;
}

.address-alert-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 49, 60, 0.62);
  backdrop-filter: blur(5px);
}

.address-alert-panel {
  box-sizing: border-box;
  position: relative;
  width: min(520px, 100%);
  background: #ffffff;
  border: 1px solid rgba(15, 159, 154, 0.18);
  border-radius: var(--radius);
  box-shadow: 0 28px 70px rgba(18, 49, 60, 0.28);
  padding: 30px;
}

.address-alert-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  background: #ffffff;
  color: var(--color-ink);
  font-size: 24px;
  line-height: 1;
}

.address-alert-close:hover,
.address-alert-close:focus {
  background: var(--color-teal);
  color: #ffffff;
}

.address-alert-label {
  display: inline-flex;
  color: var(--color-teal-dark);
  background: #e8f6f5;
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
  padding: 7px 10px;
  text-transform: uppercase;
}

.address-alert h2 {
  color: var(--color-ink);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.18;
  margin: 0 40px 12px 0;
}

.address-alert p {
  color: var(--color-muted);
  font-size: 16px;
  margin-bottom: 18px;
}

.address-alert-location {
  color: var(--color-ink);
  background: #f4faf9;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 20px;
  padding: 16px;
}

.address-alert-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.address-alert-actions .modern-button {
  border: 0;
  cursor: pointer;
}

.address-alert-actions .modern-button.secondary {
  color: var(--color-ink);
  background: #eef4f4;
}

.address-alert-actions .modern-button.secondary:hover,
.address-alert-actions .modern-button.secondary:focus {
  color: #ffffff;
  background: var(--color-coral);
}

.address-alert-open {
  overflow: hidden;
}

.home-section {
  width: min(1160px, calc(100% - 40px));
  margin: 36px auto 0;
}

.home-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.home-panel {
  position: relative;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(14, 167, 161, 0.14);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 28px;
  overflow: hidden;
}

.home-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-red), var(--color-blue), var(--color-teal));
}

.home-panel h2,
.home-panel h3 {
  color: var(--color-ink);
  font-size: 24px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0 0 14px;
}

.home-panel p {
  font-size: 15px;
  margin-bottom: 0;
}

.hours-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--color-line);
  padding-bottom: 10px;
}

.hours-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.hours-row strong {
  color: var(--color-ink);
}

.hours-row span {
  color: var(--color-teal-dark);
  font-weight: 800;
  text-align: right;
}

.quick-link-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.quick-link-card {
  position: relative;
  min-height: 148px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 253, 253, 0.98)),
    #ffffff;
  border: 1px solid rgba(14, 167, 161, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 22px;
  color: var(--color-ink);
  overflow: hidden;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-link-card::before {
  content: "";
  position: absolute;
  right: 16px;
  top: 16px;
  width: 34px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-red), var(--color-blue));
  opacity: 0.65;
}

.quick-link-card:hover,
.quick-link-card:focus {
  transform: translateY(-3px);
  box-shadow: 0 22px 46px rgba(18, 49, 60, 0.14);
  border-color: rgba(15, 159, 154, 0.45);
  color: var(--color-ink);
}

.quick-link-card img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 18px;
  padding: 7px;
  background: #eef9f8;
  border-radius: var(--radius);
}

.quick-link-card strong {
  color: var(--color-ink);
  display: block;
  font-size: 16px;
  line-height: 1.25;
}

.quick-link-card span {
  color: var(--color-muted);
  display: block;
  font-size: 13px;
  margin-top: 8px;
}

.service-highlight {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-highlight article {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(14, 167, 161, 0.15);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 24px;
  overflow: hidden;
}

.service-highlight article::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, var(--color-red), var(--color-blue));
}

.service-highlight h3 {
  color: var(--color-ink);
  font-size: 18px;
  font-weight: 800;
  margin: 0 0 10px;
}

.service-highlight p {
  margin-bottom: 0;
}

/* Staff and hours pages */
.staff-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.staff-card {
  background: #ffffff;
  border: 1px solid var(--color-line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  min-height: 210px;
  padding: 26px 18px;
  text-align: center;
}

.staff-card.featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 22px;
  text-align: left;
}

.staff-avatar {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e8f6f5;
  color: var(--color-teal-dark);
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 18px;
}

.staff-card.featured .staff-avatar {
  margin-bottom: 0;
}

.staff-card h4 {
  color: var(--color-ink) !important;
  font-size: 18px !important;
  font-weight: 800;
  margin-bottom: 8px;
}

.staff-card p {
  margin-bottom: 0;
}

.page-lead {
  max-width: 780px;
  margin-bottom: 28px;
  overflow-wrap: anywhere;
}

.page-lead h2 {
  font-size: 30px;
  font-weight: 800;
  margin: 0 0 12px;
}

.page-lead p {
  font-size: 16px;
}

.hours-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.hours-summary-card {
  background: #eef9f8;
  border: 1px solid rgba(15, 159, 154, 0.18);
  border-radius: var(--radius);
  padding: 22px;
}

.hours-summary-card strong {
  color: var(--color-ink);
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
}

.hours-summary-card span {
  color: var(--color-teal-dark);
  display: block;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.2;
}

.modern-table-wrap {
  overflow-x: auto;
}

.modern-table {
  min-width: 640px;
}

.modern-table thead th {
  background: var(--color-ink);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.modern-table td:first-child,
.modern-table th:first-child {
  font-weight: 800;
}

@media only screen and (max-width: 991px) {
  #header {
    position: static;
  }

  #header-top {
    align-items: flex-start;
  }

  .home-intro-grid,
  .service-highlight,
  .hours-summary {
    grid-template-columns: 1fr;
  }

  .quick-link-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .care-signal-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .care-signal-strip article:nth-child(2n) {
    border-right: 0;
  }

  .staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media only screen and (max-width: 767px) {
  body {
    font-size: 14px;
  }

  .container,
  #header-top,
  #footer .container,
  .home-section,
  .care-signal-strip,
  .modern-hero {
    width: min(calc(100vw - 28px), 1160px);
  }

  .gov-topbar-inner {
    width: min(calc(100vw - 28px), 1160px);
    justify-content: center;
  }

  .gov-topbar-language {
    display: none;
  }

  #header-top {
    display: block;
    padding: 16px 0;
    text-align: center;
  }

  #header-top .one-half:first-child {
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  #header-top .one-half.column-last {
    display: block;
    margin-top: 12px;
    text-align: center;
  }

  .gov-identity-copy {
    padding-left: 0;
    border-left: 0;
    text-align: center;
  }

  .gov-identity-copy strong {
    font-size: 15px;
  }

  #header .contact-info {
    display: inline-block;
    max-width: calc(100vw - 44px);
  }

  #header .contact-info p {
    font-size: 12px;
  }

  #header-top .contact-info:not(.cafferson) p {
    max-width: calc(100vw - 44px);
    padding-right: 10px;
  }

  #logo,
  #logo a,
  #logo img {
    display: block;
  }

  #logo a img {
    max-height: 62px;
    margin: 0 auto;
  }

  #navbar {
    width: 100%;
    max-width: none;
    min-height: auto;
    margin-bottom: 0;
    padding: 10px 0;
    display: block;
  }

  #nav {
    display: none;
  }

  .js .tinynav {
    display: none !important;
  }

  .gov-menu-toggle {
    position: relative;
    width: min(calc(100vw - 28px), 1160px);
    min-height: 48px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0;
    padding: 0 16px 0 54px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius);
    background: var(--color-blue-dark);
    color: #ffffff;
    font-weight: 800;
  }

  .gov-menu-toggle span {
    position: absolute;
    left: 18px;
    width: 20px;
    height: 2px;
    display: block;
    border-radius: 999px;
    background: #ffffff;
  }

  .gov-menu-toggle span:nth-child(1) {
    top: 16px;
  }

  .gov-menu-toggle span:nth-child(2) {
    top: 23px;
  }

  .gov-menu-toggle span:nth-child(3) {
    top: 30px;
  }

  .gov-menu-toggle strong {
    margin-left: 0;
  }

  .gov-mobile-panel {
    width: min(calc(100vw - 28px), 1160px);
    margin: 10px auto 0;
    display: none;
    background: #ffffff;
    border-radius: var(--radius);
    box-shadow: 0 18px 36px rgba(23, 47, 69, 0.22);
    overflow: hidden;
  }

  .gov-menu-open .gov-mobile-panel {
    display: block;
  }

  .gov-mobile-panel ul,
  .gov-mobile-panel li,
  .gov-mobile-panel .ddsubmenustyle {
    width: 100% !important;
    min-width: 0 !important;
    display: block !important;
    position: static !important;
    visibility: visible !important;
    left: auto !important;
    top: auto !important;
    margin: 0;
    padding: 0;
    box-shadow: none;
    border-radius: 0;
  }

  .gov-mobile-panel .gov-submenu[hidden] {
    display: none !important;
  }

  .gov-mobile-panel li.has-submenu {
    position: relative !important;
  }

  .gov-mobile-panel li a {
    min-height: 46px;
    display: flex;
    align-items: center;
    padding: 13px 16px;
    border-bottom: 1px solid var(--color-line);
    background: #ffffff !important;
    color: var(--color-ink) !important;
    font-weight: 800;
  }

  .gov-mobile-panel li.has-submenu > a {
    padding-right: 58px;
  }

  .gov-submenu-toggle {
    position: absolute;
    top: 0;
    right: 0;
    width: 48px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-left: 1px solid var(--color-line);
    border-bottom: 1px solid var(--color-line);
    background: #f7fafc;
    color: var(--color-blue);
  }

  .gov-submenu-toggle span {
    position: relative;
    width: 14px;
    height: 14px;
    display: block;
  }

  .gov-submenu-toggle span::before,
  .gov-submenu-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    width: 14px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform 0.18s ease;
  }

  .gov-submenu-toggle span::after {
    transform: rotate(90deg);
  }

  .gov-mobile-panel li.is-submenu-open > .gov-submenu-toggle {
    background: var(--color-blue);
    color: #ffffff;
  }

  .gov-mobile-panel li.is-submenu-open > .gov-submenu-toggle span::after {
    transform: rotate(0deg);
  }

  .gov-mobile-panel li ul li a {
    padding-left: 30px;
    background: #f6f8fa !important;
    color: var(--color-muted) !important;
    font-size: 13px;
  }

  .address-alert {
    align-items: flex-end;
    padding: 14px;
  }

  .address-alert-panel {
    width: calc(100vw - 44px);
    max-width: calc(100vw - 44px);
    padding: 24px 18px 18px;
  }

  .address-alert h2 {
    font-size: 24px;
  }

  .address-alert-location {
    font-size: 15px;
  }

  .address-alert-actions .modern-button {
    width: 100%;
  }

  #content.container {
    margin-top: 22px;
    padding: 22px 16px;
    width: calc(100vw - 28px);
    max-width: calc(100vw - 28px);
  }

  #content.container .row {
    margin-left: 0;
    margin-right: 0;
  }

  #content.container .page-lead {
    max-width: 100%;
  }

  #content.container .page-lead p {
    max-width: 31ch;
  }

  #content.container [class*="col-"] {
    float: none;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    width: 100%;
  }

  #content.container h4 {
    font-size: 18px;
    max-width: 28ch;
    margin-left: auto;
    margin-right: auto;
  }

  #content.container .contact-info {
    max-width: 100%;
  }

  #content.container .contact-info p,
  #content.container .contact-info a {
    max-width: 32ch;
  }

  #content.container .contact-info br {
    display: none;
  }

  #map_canvas {
    height: 360px;
  }

  .modern-hero {
    margin-top: 14px;
  }

  .care-signal-strip {
    margin-top: 14px;
    padding: 8px;
  }

  .care-signal-strip article {
    padding: 12px;
  }

  .hero-video {
    width: 100%;
    margin-left: 0;
    max-height: none;
  }

  .home-intro-grid,
  .quick-link-grid,
  .service-highlight,
  .staff-grid {
    grid-template-columns: 1fr;
  }

  .home-panel,
  .quick-link-card,
  .service-highlight article,
  .staff-card {
    padding: 20px;
  }

  .staff-card.featured {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .staff-card.featured .staff-avatar {
    margin: 0 auto 18px;
  }

  .modern-table {
    min-width: 0;
  }

  .modern-table,
  .modern-table thead,
  .modern-table tbody,
  .modern-table tfoot,
  .modern-table tr,
  .modern-table th,
  .modern-table td {
    display: block;
    width: 100%;
  }

  .modern-table thead {
    display: none;
  }

  .modern-table tbody tr,
  .modern-table tfoot tr {
    background: #ffffff;
    border: 1px solid var(--color-line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-card);
    margin-bottom: 12px;
    overflow: hidden;
  }

  .modern-table > tbody > tr > td,
  .modern-table > tfoot > tr > td {
    display: grid;
    align-items: center;
    grid-template-columns: 116px minmax(0, 1fr);
    gap: 14px;
    border: 0;
    border-bottom: 1px solid var(--color-line);
    min-width: 0;
    overflow-wrap: anywhere;
    text-align: left;
    white-space: normal;
  }

  .modern-table > tbody > tr > td:last-child,
  .modern-table > tfoot > tr > td:last-child {
    border-bottom: 0;
  }

  .modern-table tbody td:before,
  .modern-table tfoot td:before {
    color: var(--color-ink);
    content: "";
    font-weight: 800;
    text-align: left;
  }

  .modern-table tbody td:nth-child(1):before {
    content: "Gün";
  }

  .modern-table tbody td:nth-child(2):before {
    content: "Sabah";
  }

  .modern-table tbody td:nth-child(3):before {
    content: "Öğle Arası";
  }

  .modern-table tbody td:nth-child(4):before {
    content: "Öğleden Sonra";
  }

  .modern-table tbody td:nth-child(5):before {
    content: "Aktif Mesai";
  }

.modern-table tfoot td:nth-child(1):before {
    content: "Toplam";
  }

  #footer-nav ul {
    justify-content: flex-start;
  }
}

@media only screen and (max-width: 479px) {
  .container,
  #header-top,
  .gov-topbar-inner,
  #footer .container,
  .home-section,
  .care-signal-strip,
  .modern-hero {
    width: min(calc(100vw - 22px), 1160px);
  }

  .gov-menu-toggle,
  .gov-mobile-panel {
    width: min(calc(100vw - 22px), 1160px);
  }

  #content.container {
    width: calc(100vw - 22px);
    max-width: calc(100vw - 22px);
  }

  .home-panel h2,
  .home-panel h3,
  .page-lead h2 {
    font-size: 24px;
  }

  .care-signal-strip {
    grid-template-columns: 1fr;
  }

  .care-signal-strip article {
    border-right: 0;
    border-bottom: 1px solid var(--color-line);
  }

  .care-signal-strip article:last-child {
    border-bottom: 0;
  }
}
