/* ============================================================
   Klinik Marik — Stylesheet v2
   Layout: sidebar sinistra + contenuto destra
   Palette: Navy #1b3b70 | Red #c8202f | Cream #f7f3ee
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 15px;
  color: #2a2a2a;
  background: #f0ebe0;  /* canvas overrides this at runtime */
  line-height: 1.65;
}

a { color: #c8202f; text-decoration: none; }
a:hover { text-decoration: underline; color: #8f0f1f; }

img { border: 0; display: block; }

/* ============================================================
   PAGE WRAPPER
   ============================================================ */
#page-wrapper {
  max-width: 980px;
  margin: 0 auto;
  background: #f7f3ee;
  border-left: 2px solid #c8202f;
  border-right: 2px solid #c8202f;
  min-height: 100vh;
  box-shadow: 0 0 40px rgba(0,0,0,0.5);
}

/* ============================================================
   HEADER BAND
   ============================================================ */
#site-header {
  background: #1b3b70;
  border-bottom: 4px solid #c8202f;
  padding: 0;
  display: flex;
  align-items: stretch;
}
#site-header .header-logo-cell {
  background: #f7f3ee;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 4px solid #c8202f;
  width: 160px;
  flex-shrink: 0;
}
#site-header .header-logo-cell a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 6px;
}
#site-header .header-logo-cell img {
  width: 100%;
  max-width: 148px;
  height: auto;
  display: block;
}
#site-header .header-title-cell {
  flex: 1;
  padding: 6px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.clinic-name {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 32px;
  color: #ffffff;
  letter-spacing: 4px;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1;
  text-align: center;
}
.clinic-name span { color: #f0b0b0; }
.clinic-tagline {
  font-size: 12px;
  color: #a8c0e0;
  letter-spacing: 2px;
  margin-top: 6px;
  font-style: italic;
}
.clinic-tagline-red {
  font-size: 11px;
  color: #f0b0b0;
  letter-spacing: 1.5px;
  margin-top: 2px;
  font-style: italic;
}
#site-header .header-lang-cell {
  background: #162f5a;
  padding: 10px 16px;
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  justify-content: space-between;
  border-left: 1px solid #2a5298;
  min-width: 100px;
}
.header-email-small {
  font-size: 11px;
  color: #8aaac8;
  text-align: right;
}
.header-email-small a { color: #a8c8e8; }

/* Language toggle */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-toggle .sep { color: #3a5a90; font-size: 12px; }
.lang-btn {
  background: transparent;
  color: #8aaac8;
  border: 1px solid #3a5a90;
  padding: 3px 10px;
  font-size: 12px;
  font-family: Arial, Helvetica, sans-serif;
  cursor: pointer;
  letter-spacing: 0.5px;
}
.lang-btn:hover { background: #c8202f; border-color: #c8202f; color: #fff; }
.lang-btn.active { background: #c8202f; border-color: #c8202f; color: #fff; font-weight: bold; }

/* ============================================================
   BODY ROW  (sidebar + content)
   ============================================================ */
#body-row {
  display: flex;
  align-items: flex-start;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
#sidebar {
  width: 220px;
  flex-shrink: 0;
  background: #1b3b70;
  border-right: 3px solid #c8202f;
  min-height: 600px;
}

/* Sidebar nav */
#sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
  border-bottom: 2px solid #c8202f;
}
#sidebar-nav li {
  border-bottom: 1px solid #2a5298;
}
#sidebar-nav li a {
  display: block;
  color: #c8d8f0;
  padding: 11px 16px 11px 20px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
  border-left: 4px solid transparent;
}
#sidebar-nav li a:hover,
#sidebar-nav li a.active {
  background: #c8202f;
  color: #ffffff;
  border-left-color: #ffffff;
  text-decoration: none;
}

/* Sidebar info boxes */
.sidebar-block {
  background: #162f5a;
  border-bottom: 1px solid #2a5298;
  padding: 14px 16px;
}
.sidebar-block-title {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #c8202f;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: bold;
  margin-bottom: 8px;
  padding-bottom: 5px;
  border-bottom: 1px solid #2a5298;
}
.sidebar-block p {
  font-size: 12px;
  color: #a0b8d0;
  line-height: 1.8;
  font-family: Arial, Helvetica, sans-serif;
}
.sidebar-block a { color: #d8e8f8; }
.sidebar-block a:hover { color: #fff; text-decoration: none; }

/* ============================================================
   MAIN CONTENT
   ============================================================ */
#main-content {
  flex: 1;
  min-width: 0;
  background: #f7f3ee;
}

/* Page title bar */
.page-title-bar {
  background: #e8e2d8;
  border-bottom: 2px solid #c0b8a8;
  padding: 14px 22px 12px;
}
.page-title-bar h2 {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 20px;
  color: #1b3b70;
  font-weight: bold;
  letter-spacing: 1px;
}
.page-title-bar .breadcrumb {
  font-size: 11px;
  color: #888;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 3px;
}
.page-title-bar .breadcrumb a { color: #666; }

/* Content area */
.content-area {
  padding: 22px 26px 36px;
}

/* Section heading */
.section-heading {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 18px;
  color: #1b3b70;
  border-bottom: 1px solid #c8202f;
  padding-bottom: 5px;
  margin-bottom: 14px;
  margin-top: 28px;
}
.section-heading:first-child { margin-top: 0; }

hr.divider {
  border: none;
  border-top: 1px solid #c8c0b0;
  margin: 22px 0;
}

/* ============================================================
   HOME PAGE — Hero strip inside content
   ============================================================ */
.home-banner {
  background: #1b3b70;
  color: #fff;
  padding: 22px 26px 18px;
  border-bottom: 3px solid #c8202f;
  text-align: left;
}
.home-banner h2 {
  font-size: 22px;
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: normal;
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.home-banner p {
  font-size: 13px;
  color: #b0c8e8;
  font-family: Arial, Helvetica, sans-serif;
}

/* Home quick info boxes */
.quick-info-row {
  display: flex;
  border-bottom: 2px solid #c8c0b0;
}
.quick-info-cell {
  flex: 1;
  padding: 16px 18px;
  border-right: 1px solid #c8c0b0;
  background: #f0ece4;
  font-family: Arial, Helvetica, sans-serif;
}
.quick-info-cell:last-child { border-right: none; }
.quick-info-cell h4 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #c8202f;
  margin-bottom: 6px;
  font-family: Arial, Helvetica, sans-serif;
}
.quick-info-cell p {
  font-size: 13px;
  color: #444;
  line-height: 1.7;
}
.quick-info-cell a { color: #1b3b70; }

/* Welcome box */
.welcome-text {
  font-size: 15px;
  color: #333;
  line-height: 1.75;
  margin-bottom: 14px;
}
.read-more-link {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #1b3b70;
  font-weight: bold;
}

/* ============================================================
   SERVICES PAGE
   ============================================================ */
.service-group-title {
  background: #1b3b70;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 7px 12px;
  margin-bottom: 0;
}
.service-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.service-table td {
  padding: 11px 14px;
  border: 1px solid #d0c8b8;
  vertical-align: top;
  font-size: 14px;
  color: #333;
  background: #faf8f4;
}
.service-table tr:nth-child(even) td { background: #f2ede4; }
.service-table td.svc-name {
  width: 42%;
  font-weight: bold;
  color: #1b3b70;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
}
.service-table td.svc-sub {
  font-size: 12px;
  font-style: italic;
  color: #c8202f;
  font-family: Arial, sans-serif;
  padding-top: 2px;
  display: block;
  font-weight: normal;
}
.service-table td.svc-desc {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-intro {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 14px;
}
.mv-box {
  border: 1px solid #c8c0b0;
  margin-bottom: 14px;
  background: #faf8f4;
}
.mv-box-header {
  background: #1b3b70;
  color: #fff;
  padding: 8px 14px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.mv-box-body {
  padding: 14px 16px;
  font-size: 14px;
  color: #444;
  line-height: 1.75;
}
.values-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.value-tag {
  background: #1b3b70;
  color: #fff;
  padding: 7px 16px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.value-tag span {
  display: block;
  font-size: 11px;
  color: #b0c8e8;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 1px;
  font-style: italic;
}
.commitment-list {
  list-style: none;
  padding: 0;
  margin-top: 8px;
}
.commitment-list li {
  padding: 8px 0 8px 18px;
  border-bottom: 1px solid #e0d8c8;
  font-size: 14px;
  color: #333;
  position: relative;
  font-family: Arial, Helvetica, sans-serif;
}
.commitment-list li::before {
  content: "\25B6";
  color: #c8202f;
  font-size: 9px;
  position: absolute;
  left: 0;
  top: 11px;
}
.commitment-list li:last-child { border-bottom: none; }

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-email-big {
  background: #f0ece4;
  border: 1px solid #c8c0b0;
  border-left: 5px solid #1b3b70;
  padding: 18px 20px;
  margin-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
}
.contact-email-big .label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 4px;
}
.contact-email-big a {
  font-size: 20px;
  color: #1b3b70;
  font-weight: bold;
  letter-spacing: 1px;
}
.contact-email-big .note {
  font-size: 12px;
  color: #777;
  margin-top: 6px;
  font-style: italic;
}
.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-family: Arial, Helvetica, sans-serif;
}
.hours-table td {
  padding: 8px 12px;
  border: 1px solid #d0c8b8;
  font-size: 13px;
  color: #444;
  background: #faf8f4;
}
.hours-table tr:nth-child(even) td { background: #f2ede4; }
.hours-table td:first-child { font-weight: bold; color: #1b3b70; width: 55%; }

/* Contact form */
.contact-form { margin-top: 10px; }
.contact-form label {
  display: block;
  font-size: 13px;
  color: #444;
  margin-bottom: 3px;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: bold;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 1px solid #b8b0a0;
  padding: 8px 10px;
  font-size: 14px;
  font-family: Arial, Helvetica, sans-serif;
  color: #333;
  background: #fffdf9;
  margin-bottom: 14px;
  outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus { border-color: #1b3b70; }
.contact-form textarea { height: 100px; resize: vertical; }
.btn-submit {
  background: #1b3b70;
  color: #fff;
  border: none;
  padding: 9px 26px;
  font-size: 13px;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
}
.btn-submit:hover { background: #c8202f; }
.form-note {
  font-size: 12px;
  color: #888;
  margin-top: 8px;
  font-style: italic;
  font-family: Arial, sans-serif;
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  background: #111e38;
  border-top: 3px solid #c8202f;
  padding: 16px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
#site-footer .footer-brand {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 15px;
  color: #fff;
  letter-spacing: 2px;
}
#site-footer .footer-brand span { color: #c8202f; }
#site-footer .footer-copy {
  font-size: 11px;
  color: #5a7090;
  font-family: Arial, Helvetica, sans-serif;
}
.footer-lang {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 680px) {
  #site-header { flex-direction: column; }
  #site-header .header-logo-cell { width: 100%; border-right: none; border-bottom: 2px solid #c8202f; }
  #site-header .header-logo-cell img { max-width: 200px; margin: 0 auto; }
  #site-header .header-lang-cell { flex-direction: row; justify-content: space-between; align-items: center; min-width: unset; }
  #body-row { flex-direction: column; }
  #sidebar { width: 100%; min-height: unset; border-right: none; border-bottom: 3px solid #c8202f; }
  .quick-info-row { flex-direction: column; }
  .quick-info-cell { border-right: none; border-bottom: 1px solid #c8c0b0; }
  #site-footer { flex-direction: column; text-align: center; }
  .clinic-name { font-size: 22px; }
}
