﻿/* Каменогорская областная клиническая больница — стили */
:root {
  --primary: #0066a1;
  --primary-dark: #004d7a;
  --primary-light: #e8f4fa;
  --accent: #c41e3a;
  --text: #333;
  --text-muted: #666;
  --border: #d0d8de;
  --bg: #f5f7f9;
  --white: #fff;
  --shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  --font: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Top bar */
.top-bar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 13px;
  padding: 8px 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.top-bar a {
  color: var(--white);
}

.top-bar__phones a {
  margin-left: 16px;
}

.accessibility-link {
  opacity: 0.9;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  gap: 20px;
  flex-wrap: wrap;
}

.logo-block {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}

.logo-block:hover {
  text-decoration: none;
}

.logo-emblem {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 3px solid #ffd700;
}

.logo-emblem svg {
  width: 44px;
  height: 44px;
  fill: var(--white);
}

.logo-text h1 {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--primary-dark);
  line-height: 1.3;
}

.logo-text p {
  margin: 4px 0 0;
  font-size: 13px;
  color: var(--text-muted);
}

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

.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  text-decoration: none;
  transition: background 0.2s;
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
}

.btn-primary:hover {
  background: #a01830;
  color: var(--white);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary-light);
}

/* Navigation */
.main-nav {
  background: var(--primary);
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

.nav-list > li {
  position: relative;
}

.nav-list > li > a {
  display: block;
  padding: 14px 16px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.nav-list > li > a:hover,
.nav-list > li.active > a {
  background: var(--primary-dark);
  text-decoration: none;
}

.nav-list > li.has-dropdown:hover .dropdown {
  display: block;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 280px;
  background: var(--white);
  box-shadow: var(--shadow);
  z-index: 100;
  border: 1px solid var(--border);
}

.dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
}

.dropdown a:hover {
  background: var(--primary-light);
  text-decoration: none;
}

.dropdown-sublink {
  padding-left: 32px !important;
  font-size: 13px;
  background: #f8fafb;
  color: var(--text-muted);
}

.dropdown-sublink:hover {
  color: var(--primary);
}

.nav-special a {
  background: transparent;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: var(--primary-dark);
  color: var(--white);
  border: none;
  padding: 12px 16px;
  width: 100%;
  font-size: 16px;
  cursor: pointer;
}

/* Intro banner (PKKB-style) */
.intro-banner {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}

.intro-banner__inner {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 24px;
  align-items: center;
}

.intro-banner h2 {
  margin: 0 0 8px;
  font-size: 20px;
  color: var(--primary-dark);
  font-weight: 700;
}

.intro-banner p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.intro-banner__img {
  border-radius: 6px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.intro-banner__img img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Department layout */
.dept-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.dept-sidebar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  position: sticky;
  top: 12px;
}

.dept-sidebar h3 {
  margin: 0;
  padding: 14px 18px;
  background: var(--primary-light);
  font-size: 15px;
  color: var(--primary-dark);
  border-bottom: 1px solid var(--border);
}

.dept-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dept-sidebar a {
  display: block;
  padding: 12px 18px;
  color: var(--text);
  font-size: 14px;
  border-bottom: 1px solid var(--border);
  text-decoration: none;
  line-height: 1.35;
}

.dept-sidebar a:hover {
  background: var(--primary-light);
  color: var(--primary);
  text-decoration: none;
}

.dept-sidebar li.active a {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
  border-left: 3px solid var(--primary);
  padding-left: 15px;
}

.dept-content .content-block {
  margin-bottom: 20px;
}

.content-block--muted {
  background: #fafbfc;
}

/* Registry */
.registry-note {
  font-size: 13px;
  color: var(--text-muted);
  margin: 0 0 12px;
}

.registry-footnote {
  font-size: 13px;
  color: var(--text-muted);
  margin: 12px 0 0;
}

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

.registry-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  background: var(--white);
}

.registry-table th,
.registry-table td {
  padding: 12px 14px;
  border: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.registry-table th {
  background: var(--primary);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
}

.registry-table tbody tr:nth-child(even) {
  background: #f9fbfc;
}

.registry-table tbody tr:hover {
  background: var(--primary-light);
}

.registry-link {
  font-weight: 500;
}

.info-table--registry td:first-child {
  width: 38%;
  font-weight: 600;
  background: var(--primary-light);
}

.patient-card__header {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.patient-card__header h2 {
  margin: 0 0 6px;
  font-size: 20px;
  color: var(--primary-dark);
}

.patient-card__meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
}

.patient-placeholder {
  margin-top: 24px;
  padding: 18px 20px;
  background: var(--primary-light);
  border-radius: 6px;
  border-left: 4px solid var(--primary);
}

.patient-placeholder h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.patient-placeholder p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

.patient-photos {
  margin-top: 24px;
}

.patient-photos h3 {
  margin: 0 0 16px;
  font-size: 17px;
  color: var(--primary-dark);
}

.patient-photos__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.patient-photos__item {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
}

.patient-photos__item img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.patient-photos__item figcaption {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-dark);
  background: var(--primary-light);
  border-top: 1px solid var(--border);
}

/* Icon cards (patient info) */
.card--icon a {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
}

.card--icon .card-icon-img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  object-fit: contain;
}

.card--icon h3 {
  font-size: 14px;
  line-height: 1.3;
}

/* Hero */
.hero {
  position: relative;
  background: linear-gradient(rgba(0, 45, 80, 0.72), rgba(0, 77, 122, 0.65)),
    url("../img/hero-hospital.jpg") center/cover no-repeat;
  color: var(--white);
  padding: 80px 0 90px;
  text-align: center;
  min-height: 340px;
  display: flex;
  align-items: center;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 700;
}

.hero p {
  margin: 0;
  font-size: 17px;
  opacity: 0.95;
  max-width: 700px;
  margin-inline: auto;
}

/* Sections */
.section {
  padding: 40px 0;
}

.section-alt {
  background: var(--white);
}

.section-title {
  margin: 0 0 24px;
  font-size: 22px;
  color: var(--primary-dark);
  border-bottom: 2px solid var(--primary);
  padding-bottom: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title a {
  font-size: 14px;
  font-weight: normal;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.card a {
  display: block;
  padding: 20px;
  color: var(--text);
  text-decoration: none;
}

.card a:hover {
  text-decoration: none;
  color: var(--primary);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-size: 24px;
}

.card h3 {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
}

.card--image a {
  padding: 0;
}

.card--image .card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  display: block;
}

.card--image .card-body {
  padding: 14px 16px;
}

.card--image h3 {
  font-size: 14px;
}

/* Banner slider */
.banner-section {
  padding: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.banner-slider {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.banner-slide {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.banner-slide:hover img {
  transform: scale(1.04);
}

.banner-slide__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
  color: var(--white);
  padding: 30px 16px 12px;
  font-size: 13px;
  font-weight: 600;
}

/* About block */
.about-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.about-block img {
  width: 100%;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.stat-item {
  background: var(--primary-light);
  padding: 16px;
  border-radius: 6px;
  text-align: center;
}

.stat-item strong {
  display: block;
  font-size: 26px;
  color: var(--primary-dark);
}

.stat-item span {
  font-size: 13px;
  color: var(--text-muted);
}

/* News */
.news-list {
  display: grid;
  gap: 16px;
}

.news-item {
  display: flex;
  gap: 0;
  padding: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  align-items: stretch;
  overflow: hidden;
}

.news-thumb {
  width: 200px;
  min-height: 120px;
  flex-shrink: 0;
  object-fit: cover;
}

.news-item .news-date {
  margin: 16px 0 16px 16px;
  align-self: flex-start;
}

.news-item .news-content {
  padding: 16px;
  flex: 1;
}

/* Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.photo-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.2s;
}

.photo-gallery img:hover {
  opacity: 0.85;
}

/* Badges row */
.badges-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: center;
  padding: 24px 0;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
}

.badge-item img {
  height: 36px;
  width: auto;
}

/* Map block */
.map-block {
  background: #e8eef2;
  border-radius: 6px;
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.map-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
}

.map-block span {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 14px;
}

/* Page images */
.content-img {
  float: right;
  max-width: 320px;
  margin: 0 0 16px 24px;
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.content-img-left {
  float: left;
  margin: 0 24px 16px 0;
}


.news-date {
  flex-shrink: 0;
  background: var(--primary);
  color: var(--white);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 13px;
  text-align: center;
  min-width: 70px;
}

.news-date span {
  display: block;
  font-size: 20px;
  font-weight: 700;
}

.news-content h3 {
  margin: 0 0 6px;
  font-size: 16px;
}

.news-content h3 a {
  color: var(--text);
}

.news-content h3 a:hover {
  color: var(--primary);
}

.news-content p {
  margin: 0;
  font-size: 14px;
  color: var(--text-muted);
}

/* Info table */
.info-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border);
}

.info-table td {
  padding: 14px 18px;
  border: 1px solid var(--border);
  vertical-align: top;
}

.info-table td:first-child {
  font-weight: 600;
  background: var(--primary-light);
  width: 35%;
}

/* Page content */
.page-header {
  background: var(--primary-light);
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
}

.page-header h1 {
  margin: 0;
  font-size: 26px;
  color: var(--primary-dark);
}

.breadcrumbs {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.breadcrumbs a {
  color: var(--primary);
}

.page-content {
  padding: 30px 0 50px;
}

.page-content .content-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 24px 28px;
  margin-bottom: 20px;
}

.page-content h2 {
  color: var(--primary-dark);
  font-size: 20px;
  margin-top: 0;
}

.page-content h3 {
  color: var(--primary);
  font-size: 17px;
}

.page-content ul,
.page-content ol {
  padding-left: 24px;
}

/* Footer */
.site-footer {
  background: #2c3e50;
  color: #bdc3c7;
  padding: 40px 0 20px;
  font-size: 14px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}

.footer-grid h4 {
  color: var(--white);
  margin: 0 0 14px;
  font-size: 15px;
}

.footer-grid p,
.footer-grid ul {
  margin: 0;
}

.footer-grid ul {
  list-style: none;
  padding: 0;
}

.footer-grid li {
  margin-bottom: 6px;
}

.footer-grid a {
  color: #bdc3c7;
}

.footer-grid a:hover {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid #3d5166;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 3px solid var(--primary);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 16px 20px;
  z-index: 1000;
  display: none;
}

.cookie-banner.visible {
  display: block;
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-banner p {
  margin: 0;
  font-size: 13px;
  flex: 1;
}

.gos-widget {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 99;
}

.gos-widget a {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 14px;
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--text);
  text-decoration: none;
}

.gos-widget a:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.gos-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #0066b3, #e31e24);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 11px;
}

/* Search overlay */
.search-box {
  display: none;
  padding: 10px 0;
  background: var(--primary-light);
}

.search-box.visible {
  display: block;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 4px;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 992px) {
  .nav-toggle {
    display: block;
  }

  .nav-list {
    display: none;
    flex-direction: column;
    width: 100%;
  }

  .nav-list.open {
    display: flex;
  }

  .nav-list > li {
    width: 100%;
  }

  .nav-list > li > a {
    white-space: normal;
  }

  .has-dropdown > a::after {
    content: " ▾";
    float: right;
    opacity: 0.7;
  }

  .has-dropdown.dropdown-open > a::after {
    content: " ▴";
  }

  .dropdown {
    position: static;
    display: none;
    box-shadow: none;
    border: none;
    background: var(--primary-dark);
    min-width: 0;
  }

  .has-dropdown.dropdown-open .dropdown {
    display: block;
  }

  .dropdown a {
    color: rgba(255, 255, 255, 0.92);
    padding: 10px 16px 10px 28px;
    border-color: rgba(255, 255, 255, 0.12);
    background: transparent;
    font-size: 13px;
  }

  .dropdown a:hover {
    background: rgba(0, 0, 0, 0.18);
    color: var(--white);
  }

  .dropdown-sublink {
    padding-left: 40px !important;
    background: transparent !important;
    color: rgba(255, 255, 255, 0.88) !important;
    font-size: 12px;
    line-height: 1.4;
  }

  .dropdown-sublink:hover {
    color: var(--white) !important;
    background: rgba(0, 0, 0, 0.18) !important;
  }

  .hero {
    padding: 48px 0 56px;
    min-height: 240px;
  }

  .hero h2 {
    font-size: 22px;
  }

  .hero p {
    font-size: 15px;
  }

  .banner-slider {
    grid-template-columns: 1fr;
  }

  .banner-slide {
    height: 180px;
  }

  .about-block {
    grid-template-columns: 1fr;
  }

  .intro-banner__inner {
    grid-template-columns: 1fr;
  }

  .intro-banner h2 {
    font-size: 17px;
  }

  .dept-layout {
    grid-template-columns: 1fr;
  }

  .dept-sidebar {
    position: static;
  }

  .patient-photos__grid {
    grid-template-columns: 1fr;
  }

  .patient-photos__item img {
    height: 280px;
  }

  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .news-item {
    flex-direction: column;
  }

  .news-thumb {
    width: 100%;
    height: 160px;
    min-height: 0;
  }

  .news-item .news-date {
    margin: 12px 12px 0;
    align-self: flex-start;
  }

  .news-item .news-content {
    padding: 12px 16px 16px;
  }

  .content-img,
  .content-img-left {
    float: none;
    max-width: 100%;
    width: 100%;
    margin: 0 0 16px;
    display: block;
  }

  .header-main {
    flex-direction: column;
    align-items: stretch;
  }

  .header-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .header-actions .btn {
    flex: 1;
    text-align: center;
    min-width: 120px;
  }

  .logo-text h1 {
    font-size: 16px;
  }

  .logo-emblem {
    width: 56px;
    height: 56px;
  }

  .logo-emblem svg {
    width: 34px;
    height: 34px;
  }

  .section-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    font-size: 20px;
  }

  .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  }

  .page-header {
    padding: 20px 0;
  }

  .page-header h1 {
    font-size: 21px;
    line-height: 1.3;
  }

  .page-content .content-block {
    padding: 18px 16px;
  }

  .info-table td:first-child {
    width: auto;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .gos-widget {
    right: 12px;
    bottom: 90px;
    max-width: calc(100% - 24px);
  }

  .gos-widget a {
    font-size: 12px;
    padding: 8px 10px;
  }
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }

  .container {
    padding: 0 14px;
  }

  .top-bar {
    font-size: 12px;
  }

  .top-bar .container {
    flex-direction: column;
    text-align: center;
  }

  .top-bar__phones {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 12px;
  }

  .top-bar__phones a {
    margin: 0;
  }

  .hero h2 {
    font-size: 18px;
  }

  .hero p {
    font-size: 14px;
  }

  .section {
    padding: 28px 0;
  }

  .cards-grid,
  .cards-grid--icons {
    grid-template-columns: 1fr;
  }

  .card--icon a {
    padding: 14px;
  }

  .about-stats {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .stat-item strong {
    font-size: 22px;
  }

  .photo-gallery {
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .photo-gallery img {
    height: 110px;
  }

  .badges-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 16px 0;
  }

  .badge-item {
    justify-content: flex-start;
  }

  .info-table:not(.info-table--registry),
  .info-table:not(.info-table--registry) tbody,
  .info-table:not(.info-table--registry) tr,
  .info-table:not(.info-table--registry) td {
    display: block;
    width: 100%;
  }

  .info-table:not(.info-table--registry) tr {
    margin-bottom: 12px;
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
  }

  .info-table:not(.info-table--registry) td {
    border: none;
    border-bottom: 1px solid var(--border);
    padding: 10px 12px;
  }

  .info-table:not(.info-table--registry) td:last-child {
    border-bottom: none;
  }

  .table-wrap {
    margin: 0 -4px;
  }

  .registry-table {
    font-size: 12px;
  }

  .registry-table th,
  .registry-table td {
    padding: 8px 10px;
  }

  .breadcrumbs {
    font-size: 12px;
    line-height: 1.5;
    word-break: break-word;
  }

  .page-header h1 {
    font-size: 18px;
  }

  .patient-card__header h2 {
    font-size: 17px;
    line-height: 1.35;
  }

  .cookie-banner .container {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-banner .btn {
    width: 100%;
    text-align: center;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form .btn {
    width: 100%;
  }

  .map-block {
    height: 200px;
  }

  .map-block span {
    font-size: 12px;
    padding: 8px 12px;
    max-width: 90%;
    text-align: center;
  }

  .gos-widget {
    right: 8px;
    bottom: 110px;
  }

  .gos-widget a span {
    display: none;
  }

  .banner-slide {
    height: 150px;
  }

  .banner-slide__caption {
    font-size: 12px;
    padding: 24px 12px 10px;
  }
}
