/* Owner's explicit list styling: real ul/li markers, including About the clinic. */
.page-main .content-section ul {
  list-style: disc outside !important;
  padding-left: 1.5em !important;
  margin: 22px 0;
}
.page-main .content-section ol {
  list-style: decimal outside !important;
  padding-left: 2.35em !important;
  margin: 22px 0;
}
.page-main .content-section ul > li,
.page-main .content-section ol > li {
  display: list-item !important;
  padding-left: .3em;
  margin: 10px 0;
}
.page-main .content-section ul > li::marker {
  color: #6eb100;
  font-size: 1.1em;
}
.page-main .content-section ul > li::before { content: none !important; }
.page-main .content-section ol > li {
  position: relative;
  min-height: 1.55em;
}
.page-main .content-section ol > li::marker { content: ""; }
.page-main .content-section ol > li::before {
  content: counter(list-item);
  content: counter(list-item) / "";
  position: absolute;
  top: .05em;
  inset-inline-start: -2.05em;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  inline-size: 1.7em;
  block-size: 1.7em;
  border: 1.5px solid #6eb100;
  border-radius: 50%;
  color: #527f00;
  font-size: .9em;
  font-weight: 600;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.page-layout > .page-main { min-width: 0; }
.editorial-table { min-width: 0; max-width: 100%; margin: 26px 0; overflow-x: auto; }
.editorial-table table { width: 100%; min-width: 520px; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.editorial-table table[data-columns="2"] { min-width: 0; }
.editorial-table:focus-visible { outline: 2px solid #648f2b; outline-offset: 4px; }
.editorial-table caption { text-align: left; font-size: 14px; color: #52624c; margin-bottom: 12px; }
.editorial-table th,.editorial-table td { text-align: left; vertical-align: top; padding: 15px 17px; border: 1px solid #d6e1c6; overflow-wrap: normal; }
.editorial-table tbody th { width: 30%; }
.editorial-table thead th { background: #eaf3dd; color: #20382d; font-weight: 600; }
.editorial-table tbody th { font-weight: 600; }
.page-main .content-section h3:not(.faq-question) { margin: 27px 0 14px; }
@media(max-width:600px) {
  .editorial-table table { font-size: 14px; }
  .editorial-table th,.editorial-table td { padding: 10px 9px; }
}

/* Keep the card footer aligned at the bottom of each grid row. */
.service-card .card-body > .card-end { margin-top: auto; }
.service-page-card .card-body { min-width: 0; overflow-wrap: anywhere; }
.service-page-card .card-price { white-space: normal; }
.service-page-card .card-price-amount { white-space: nowrap; }

/* Cards for the new resources use typography to fit both service and article grids. */
.catalog .service-card.text-card,.related-grid .service-card.text-card{display:flex}
.service-card.text-card .card-body{background:linear-gradient(150deg,#f6f8ef,#e9f0de);min-height:172px}
.service-card.text-card h3{color:#203e2d}
.page-hero .place-name{white-space:nowrap}
.inpatient-welcome.text-welcome{display:block}
.inpatient-welcome.text-welcome .inpatient-welcome-copy{max-width:740px}
.inpatient-welcome-image.service-welcome-image { object-position: 48% 57%; }
@media (max-width: 680px) {
  .inpatient-welcome-image.service-welcome-image { object-position: center 61%; }
  .inpatient-welcome-image.service-welcome-image[src$="service-narkolog-na-dom.webp"] { object-position: center 48%; }
}
@media (min-width: 681px) {
  .inpatient-welcome-image.service-welcome-image[src$="service-narkolog-na-dom.webp"] { object-position: 45.5% 57%; }
}

/* Homepage FAQ and regional banner. */
#region.section { padding-block-end: 0; }
#region + #faq.section { padding-block-start: clamp(32px, 4vw, 54px); }
#faq .faq-layout {
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
#faq .faq-layout > .faq-intro { max-width: none; }
#faq .faq-intro > .muted { max-width: none; }
#faq .faq-list { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 768px) {
  #faq .faq-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.home-region-banner {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  overflow: hidden;
  border: 1px solid #d4e1bd;
  border-radius: 20px;
  background: linear-gradient(110deg, #f8faef, #eef4df);
}
.home-region-visual {
  position: relative;
  min-height: 100%;
}
.home-region-visual img,
.home-region-visual::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.home-region-visual img {
  display: block;
  object-fit: cover;
  object-position: left center;
}
.home-region-visual::after {
  content: "";
  background: linear-gradient(90deg, transparent 62%, #f5f8e9);
}
.home-region-copy {
  position: relative;
  padding: clamp(20px, 3vw, 38px) clamp(20px, 3vw, 40px) clamp(20px, 3vw, 38px) 18px;
}
.home-region-copy h2 {
  margin: 0 0 8px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.1;
}
.home-region-copy h2 span { white-space: nowrap; }
.home-region-copy p { margin: 0 0 14px; }
.home-region-cities {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.home-region-city {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 5px 12px;
  border: 1px solid #cbdcaa;
  border-radius: 999px;
  background: #fbfdf6;
  color: #244231;
  font-size: 14px;
  text-decoration: none;
}
.home-region-city:hover { background: #eaf3dd; }
.home-region-city:focus-visible { outline: 2px solid #527f00; outline-offset: 2px; }
@media (max-width: 767px) {
  .home-region-banner { grid-template-columns: minmax(0, 1fr); }
  .home-region-visual { min-height: clamp(138px, 36vw, 210px); }
  .home-region-visual::after {
    background: linear-gradient(180deg, transparent 72%, #f6f9ea);
  }
  .home-region-copy { padding: 16px 18px 20px; }
  .home-region-cities { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-region-city { justify-content: center; padding-inline: 6px; font-size: 13px; }
}
    
/* Advice and emergency actions on the alcohol symptoms article. */
.alcohol-symptoms-page .alcohol-advice-sidebar > .btn { margin-block-start: 16px; }
.alcohol-symptoms-page .alcohol-urgent {
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid #d6e2c1;
  border-radius: 15px;
  background: #f4f8ec;
}
.alcohol-symptoms-page .alcohol-urgent > h2 { margin-top: 0; }
.alcohol-symptoms-page .alcohol-urgent-call { margin-block-start: 10px; }
.alcohol-symptoms-page .alcohol-urgent > p:last-child { margin-bottom: 0; }
