/* ============================================================
   DokThuis Theme — Bootstrap 5 override & custom styles
   Huisartsenpraktijk DokThuis  |  dokthuis.nl
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS Custom Properties
   ---------------------------------------------------------- */
:root {
  --dt-primary: #00a3c8;
  --dt-primary-dark: #004861;
  --dt-primary-hover: #0e8eab;
  --dt-bg: #ffffff;
  --dt-bg-alt: #f8f9fb;
  --dt-text: #333333;
  --dt-heading: #222222;
  --dt-muted: #666666;
  --dt-border: #eeeeee;
  --dt-footer-bg: #0d3545;
  --dt-footer-text: #b8cdd8;
  --dt-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  --dt-radius: 4px;
  --dt-transition: 0.25s ease;
}

/* ----------------------------------------------------------
   2. General / Reset
   ---------------------------------------------------------- */
body {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--dt-text);
  background-color: var(--dt-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  color: var(--dt-heading);
  margin-bottom: 0.75rem;
}

a {
  color: var(--dt-primary);
  text-decoration: none;
  transition: color var(--dt-transition);
}
a:hover,
a:focus {
  color: var(--dt-primary-hover);
  text-decoration: underline;
}

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

section {
  padding: 4rem 0;
}
section.bg-alt {
  background-color: var(--dt-bg-alt);
}

.section-title {
  margin-bottom: 2.5rem;
  text-align: center;
}
.section-title h2 {
  font-size: 2rem;
  color: var(--dt-primary-dark);
}
.section-title p {
  color: var(--dt-muted);
  max-width: 640px;
  margin: 0.5rem auto 0;
}

/* ----------------------------------------------------------
   3. Top Bar
   ---------------------------------------------------------- */
.top-bar {
  background: linear-gradient(135deg, var(--dt-primary) 0%, var(--dt-primary-dark) 100%);
  color: #ffffff;
  font-size: 0.85rem;
  height: 40px;
  display: flex;
  align-items: center;
}
.top-bar a,
.top-bar span {
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  line-height: 40px;
  height: 40px;
}
.top-bar a {
  opacity: 0.9;
}
.top-bar a:hover {
  opacity: 1;
  color: #ffffff;
  text-decoration: none;
}
.top-bar .fas {
  font-size: 0.8rem;
}
.top-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.top-bar__mgn-link {
  display: inline-flex;
  align-items: center;
  opacity: 0.85;
  transition: opacity var(--dt-transition);
}
.top-bar__mgn-link:hover {
  opacity: 1;
}
.top-bar__mgn-logo {
  height: 18px;
  width: auto;
}

/* ----------------------------------------------------------
   4. Header / Navbar
   ---------------------------------------------------------- */
.site-header {
  background-color: var(--dt-bg);
  box-shadow: none;
  transition: box-shadow var(--dt-transition), padding var(--dt-transition);
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-header.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.site-header .navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.site-header.scrolled .navbar {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-brand img {
  height: 40px;
  width: 180px;
  object-fit: contain;
}

.navbar-nav .nav-link {
  color: var(--dt-text);
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  transition: color var(--dt-transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--dt-primary);
}

.navbar-nav .dropdown-menu {
  border: 1px solid var(--dt-border);
  border-radius: var(--dt-radius);
  box-shadow: var(--dt-shadow);
  padding: 0.5rem 0;
}
.navbar-nav .dropdown-item {
  font-size: 0.9rem;
  padding: 0.45rem 1.25rem;
}
.navbar-nav .dropdown-item:hover {
  background-color: var(--dt-bg-alt);
  color: var(--dt-primary);
}

/* ----------------------------------------------------------
   4b. Alert Banner (homepage important messages)
   ---------------------------------------------------------- */
.alert-banner {
  background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
  border-bottom: 3px solid #f0c040;
  padding: 1.25rem 0;
}
.alert-banner__inner {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.alert-banner__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #f0c040;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  margin-top: 0.1rem;
}
.alert-banner__content {
  flex-grow: 1;
}
.alert-banner__content p {
  margin-bottom: 0.5rem;
  font-size: 0.93rem;
  color: #5a4e00;
  line-height: 1.6;
  max-width: none !important;
}
.alert-banner__content p:last-child {
  margin-bottom: 0;
}
.alert-banner__content p:first-child {
  font-weight: 600;
  font-size: 1rem;
  color: #3d3400;
}
.alert-banner__content a {
  color: var(--dt-primary-dark);
  font-weight: 600;
}
.alert-banner__content a:hover {
  color: var(--dt-primary);
}
.alert-banner__content ul {
  padding-left: 0;
  list-style: none;
}
.alert-banner__content ul li::before {
  background-color: #f0c040;
}

/* ----------------------------------------------------------
   5. Hero Section
   ---------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background-color: var(--dt-primary-dark);
  overflow: hidden;
}
.hero__image {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  left: auto;
  width: 70%;
  background-size: cover;
  background-position: center left;
  background-repeat: no-repeat;
  mask-image: linear-gradient(to right, transparent 0%, black 30%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%);
}
.hero__image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 50, 0.5);
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.hero__content h1 {
  font-size: 2.75rem;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 1rem;
}
.hero__content h1 span {
  color: var(--dt-primary);
}
.hero__content p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.15rem;
  margin-bottom: 1.5rem;
}
.hero__content .btn {
  font-weight: 600;
}

/* ----------------------------------------------------------
   5b. Info Bar (below hero)
   ---------------------------------------------------------- */
.info-bar {
  position: relative;
  z-index: 3;
}
.info-bar__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.4rem 1.5rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.9rem;
}
.info-bar__item:last-child {
  border-right: none;
}
.info-bar__item i {
  flex-shrink: 0;
  opacity: 0.8;
  height: calc(0.95rem * 1.5);
  display: inline-flex;
  align-items: center;
}
.info-bar__item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.info-bar__item span {
  opacity: 0.85;
  font-size: 0.85rem;
}

/* ----------------------------------------------------------
   5c. Service Cards (homepage)
   ---------------------------------------------------------- */
.service-card {
  background: var(--dt-bg);
  border: 1px solid var(--dt-border);
  border-radius: var(--dt-radius);
  padding: 2rem 1.75rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  transition: box-shadow var(--dt-transition), border-color var(--dt-transition), transform var(--dt-transition);
}
.service-card:hover {
  box-shadow: var(--dt-shadow);
  border-color: var(--dt-primary);
  transform: translateY(-3px);
  text-decoration: none;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 163, 200, 0.1);
  color: var(--dt-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.25rem;
  transition: background var(--dt-transition), color var(--dt-transition);
}
.service-card:hover .service-card__icon {
  background: var(--dt-primary);
  color: #ffffff;
}

.service-card__title {
  font-size: 1.05rem;
  color: var(--dt-heading);
  margin-bottom: 0;
  flex-grow: 1;
}
.service-card:hover .service-card__title {
  color: var(--dt-primary);
}

.service-card__arrow {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  color: var(--dt-border);
  transition: color var(--dt-transition), transform var(--dt-transition);
}
.service-card:hover .service-card__arrow {
  color: var(--dt-primary);
  transform: translateX(3px);
}

/* ----------------------------------------------------------
   5d. News Card enhancements
   ---------------------------------------------------------- */
a.news-card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
}
a.news-card:hover {
  text-decoration: none;
}
.news-card__image {
  overflow: hidden;
  border-radius: var(--dt-radius) var(--dt-radius) 0 0;
}
.news-card__image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
a.news-card:hover .news-card__image img {
  transform: scale(1.05);
}
.news-card__read-more {
  color: var(--dt-primary);
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: auto;
  padding-top: 0.5rem;
}

/* ----------------------------------------------------------
   5e. CTA Section
   ---------------------------------------------------------- */
.cta-section h2 {
  font-size: 1.75rem;
}
.cta-section p {
  font-size: 1.1rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* ----------------------------------------------------------
   5f. Body content / lead text
   ---------------------------------------------------------- */
.lead-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--dt-text);
}
.lead-text p {
  margin-bottom: 1rem;
}

/* ----------------------------------------------------------
   5g. Page Banner (content pages header)
   ---------------------------------------------------------- */
.page-banner {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--dt-primary-dark);
  padding: 2.5rem 0;
  min-height: 180px;
  display: flex;
  align-items: flex-end;
}
.page-banner__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 30, 50, 0.65);
}
.page-banner__content {
  position: relative;
  z-index: 2;
}
.page-banner__content h1 {
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 0;
  margin-top: 0.5rem;
}
.page-banner .breadcrumb-nav {
  padding: 0;
}
.page-banner .breadcrumb-nav .container {
  padding: 0;
  max-width: none;
}
.page-banner .breadcrumb {
  margin-bottom: 0.25rem;
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item.text-muted {
  color: rgba(255, 255, 255, 0.7) !important;
}
.page-banner .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
}
.page-banner .breadcrumb-item a:hover {
  color: #ffffff;
}
.page-banner .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.95);
}
.page-banner .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.5);
}

/* ----------------------------------------------------------
   5h. Body Content — RTE content styling (all pages)
   ---------------------------------------------------------- */

/* Sub-headings from RTE */
.body-content h2 {
  font-size: 1.45rem;
  color: var(--dt-primary-dark);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--dt-primary);
  display: inline-block;
}
.body-content h2:first-child {
  margin-top: 0;
}
.body-content h3 {
  font-size: 1.2rem;
  color: var(--dt-primary-dark);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

/* Paragraphs */
.body-content p {
  margin-bottom: 1.15rem;
  max-width: 75ch;
  line-height: 1.85;
}
.body-content p:last-child {
  margin-bottom: 0;
}

/* Unordered lists */
.body-content ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}
.body-content ul li {
  position: relative;
  padding-left: 1.75rem;
  margin-bottom: 0.65rem;
  line-height: 1.75;
}
.body-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--dt-primary);
}
.body-content ul li strong {
  color: var(--dt-heading);
}

/* Ordered lists */
.body-content ol {
  padding-left: 1.75rem;
  margin-bottom: 1.5rem;
}
.body-content ol li {
  margin-bottom: 0.65rem;
  line-height: 1.75;
  padding-left: 0.25rem;
}

/* Images in RTE content */
.body-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--dt-radius);
  margin: 1rem 0;
}
.body-content img.float-left,
.body-content img[style*="float: left"],
.body-content img[style*="float:left"] {
  float: left;
  margin: 0.25rem 1.5rem 1rem 0;
  max-width: 280px;
}
.body-content img.float-right,
.body-content img[style*="float: right"],
.body-content img[style*="float:right"] {
  float: right;
  margin: 0.25rem 0 1rem 1.5rem;
  max-width: 280px;
}
@media (max-width: 575.98px) {
  .body-content img.float-left,
  .body-content img[style*="float: left"],
  .body-content img[style*="float:left"],
  .body-content img.float-right,
  .body-content img[style*="float: right"],
  .body-content img[style*="float:right"] {
    float: none !important;
    display: block;
    max-width: 100%;
    margin: 1rem auto;
  }
}

/* Links */
.body-content a {
  color: var(--dt-primary-dark);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--dt-primary);
  text-underline-offset: 3px;
  transition: color var(--dt-transition), text-decoration-color var(--dt-transition);
}
.body-content a:hover,
.body-content a:focus {
  color: var(--dt-primary);
  text-decoration-color: var(--dt-primary);
}

/* Highlight / tip boxes (use in RTE with class on a div) */
.body-content .highlight-box {
  background: rgba(0, 163, 200, 0.08);
  border-left: 4px solid var(--dt-primary);
  border-radius: 0 var(--dt-radius) var(--dt-radius) 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
}
.body-content .highlight-box p:last-child {
  margin-bottom: 0;
}
.body-content .highlight-box a {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 767.98px) {
  .page-banner {
    min-height: 140px;
    padding: 1.5rem 0;
  }
  .page-banner__content h1 {
    font-size: 1.75rem;
  }
  .body-content h2 {
    font-size: 1.3rem;
    margin-top: 2rem;
  }
  .body-content h3 {
    font-size: 1.1rem;
  }
  .body-content p {
    max-width: none;
  }
}

/* ----------------------------------------------------------
   6. Buttons (Bootstrap overrides)
   ---------------------------------------------------------- */
.btn-primary {
  background-color: var(--dt-primary);
  border-color: var(--dt-primary);
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--dt-primary-hover);
  border-color: var(--dt-primary-hover);
}
.btn-outline-primary {
  color: var(--dt-primary);
  border-color: var(--dt-primary);
}
.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--dt-primary);
  border-color: var(--dt-primary);
  color: #ffffff;
}

/* ----------------------------------------------------------
   7. Team Section & Cards
   ---------------------------------------------------------- */
.team-section .section-title {
  margin-bottom: 2rem;
}

.team-card {
  background: var(--dt-bg);
  border: 1px solid var(--dt-border);
  border-radius: var(--dt-radius);
  text-align: center;
  transition: box-shadow var(--dt-transition), transform var(--dt-transition);
  height: 100%;
  overflow: hidden;
}
.team-card:hover {
  box-shadow: var(--dt-shadow);
  transform: translateY(-3px);
}

.team-card__photo-wrapper {
  padding: 2rem 2rem 0;
}
.team-card__photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--dt-primary);
}
.team-card__photo-placeholder {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(0, 163, 200, 0.08);
  color: var(--dt-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 3px solid var(--dt-border);
}

.team-card__body {
  padding: 1.25rem 2rem 2rem;
}
.team-card__name {
  font-size: 1.15rem;
  color: var(--dt-primary-dark);
  margin-bottom: 0.25rem;
  font-weight: 700;
}
.team-card__role {
  font-size: 0.88rem;
  color: var(--dt-primary);
  font-weight: 500;
  margin-bottom: 0.75rem;
}
.team-card__description {
  font-size: 0.9rem;
  color: var(--dt-muted);
  margin-bottom: 0;
  line-height: 1.6;
}

/* ----------------------------------------------------------
   8. News List & Overview
   ---------------------------------------------------------- */

/* Featured article (first/newest) */
.news-featured .row {
  transition: box-shadow var(--dt-transition), transform var(--dt-transition);
}
.news-featured:hover .row {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}
.news-featured h3 {
  font-size: 1.5rem;
}

/* List items (remaining articles) */
.news-list-item {
  border-bottom: 1px solid var(--dt-border);
  transition: background var(--dt-transition);
}
.news-list-item:last-child {
  border-bottom: none;
}
.news-list-item:hover {
  background: var(--dt-bg-alt);
}
.news-list-item:hover h5 {
  color: var(--dt-primary);
}
.news-list-item__date {
  width: 56px;
}

/* Year group headings */
.news-year-heading {
  font-size: 1.3rem;
  color: var(--dt-primary-dark);
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--dt-primary);
  display: inline-block;
  margin-bottom: 0.5rem;
}

/* News cards (used on homepage) */
.news-card {
  background: var(--dt-bg);
  border: 1px solid var(--dt-border);
  border-radius: var(--dt-radius);
  overflow: hidden;
  transition: box-shadow var(--dt-transition);
  height: 100%;
}
.news-card:hover {
  box-shadow: var(--dt-shadow);
}

.news-card__body {
  padding: 1.5rem;
}
.news-card__date {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--dt-primary);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.news-card__title {
  font-size: 1.1rem;
  color: var(--dt-heading);
  margin-bottom: 0.5rem;
}
.news-card__summary {
  font-size: 0.92rem;
  color: var(--dt-muted);
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   9. FAQ Accordion
   ---------------------------------------------------------- */
.accordion-item {
  border: 1px solid var(--dt-border);
  margin-bottom: 0.5rem;
  border-radius: var(--dt-radius) !important;
  overflow: hidden;
}
.accordion-button {
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--dt-heading);
  background-color: var(--dt-bg);
  padding: 1rem 1.25rem;
}
.accordion-button:not(.collapsed) {
  color: var(--dt-primary);
  background-color: var(--dt-bg-alt);
  box-shadow: none;
}
.accordion-button:focus {
  box-shadow: 0 0 0 0.2rem rgba(0, 163, 200, 0.25);
  border-color: var(--dt-primary);
}
.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300a3c8' viewBox='0 0 16 16'%3E%3Cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}
.accordion-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--dt-text);
}

/* ----------------------------------------------------------
   10. Agenda / Events
   ---------------------------------------------------------- */
.event-card {
  background: var(--dt-bg);
  border: 1px solid var(--dt-border);
  border-radius: var(--dt-radius);
  padding: 1.5rem;
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  transition: box-shadow var(--dt-transition);
  margin-bottom: 1rem;
}
.event-card:hover {
  box-shadow: var(--dt-shadow);
}

.event-card__date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  background: var(--dt-primary);
  color: #ffffff;
  border-radius: var(--dt-radius);
  padding: 0.6rem 0.5rem;
  line-height: 1.2;
}
.event-card__date-day {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
}
.event-card__date-month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-card__info h5 {
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
}
.event-card__time {
  font-size: 0.85rem;
  color: var(--dt-muted);
}
.event-card__desc {
  font-size: 0.92rem;
  color: var(--dt-text);
  margin-top: 0.35rem;
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   11. Contact Page
   ---------------------------------------------------------- */
.contact-info h5 {
  color: var(--dt-primary-dark);
  margin-top: 1.5rem;
}
.contact-info h5:first-child {
  margin-top: 0;
}
.contact-info p {
  margin-bottom: 0.25rem;
}

.opening-hours {
  font-size: 0.93rem;
  line-height: 1.6;
}
.opening-hours table {
  width: 100%;
  border-collapse: collapse;
}
.opening-hours th,
.opening-hours td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--dt-border);
  font-size: 0.93rem;
  vertical-align: top;
}
.opening-hours tr:last-child th,
.opening-hours tr:last-child td {
  border-bottom: none;
}
.opening-hours th {
  font-weight: 600;
  color: var(--dt-heading);
  white-space: nowrap;
  width: 1%;
  padding-right: 1.5rem;
}
.opening-hours td {
  color: var(--dt-text);
}
.opening-hours p:last-child {
  margin-bottom: 0;
}
.opening-hours small,
.opening-hours .footnote {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.82rem;
  color: var(--dt-muted);
  font-style: italic;
}

/* Compact variant for info bar */
.opening-hours--infobar {
  font-size: 0.85rem;
  line-height: 1.4;
}
.opening-hours--infobar table {
  width: auto;
}
.opening-hours--infobar th,
.opening-hours--infobar td {
  color: #ffffff;
  border-bottom: none;
  padding: 0.2rem 0;
  font-size: 0.85rem;
}
.opening-hours--infobar th {
  color: #ffffff;
  font-weight: 400;
  padding-right: 1rem;
}
.opening-hours--infobar small {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  margin-top: 0.3rem;
}
.opening-hours--infobar a {
  color: #ffffff;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  text-underline-offset: 2px;
}
.opening-hours--infobar a:hover {
  color: #ffffff;
  text-decoration-color: #ffffff;
}
.opening-hours--infobar p {
  color: #ffffff;
  margin-bottom: 0.3rem;
}
.opening-hours--infobar p:last-child {
  margin-bottom: 0;
}

/* ----------------------------------------------------------
   12. Footer
   ---------------------------------------------------------- */
.site-footer {
  background-color: var(--dt-footer-bg);
  color: var(--dt-footer-text);
  padding: 3.5rem 0 0;
  font-size: 0.92rem;
  line-height: 1.8;
}

.site-footer h5 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.6rem;
}
.site-footer h5::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 2px;
  background: var(--dt-primary);
}

.site-footer a {
  color: var(--dt-footer-text);
  text-decoration: none;
  transition: color var(--dt-transition);
}
.site-footer a:hover {
  color: #ffffff;
}

.footer-site-url {
  font-size: 0.85rem;
  opacity: 0.6;
}

/* RTE content within footer columns */
.footer-rte ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-rte ul li {
  margin-bottom: 0.4rem;
  padding-left: 1rem;
  position: relative;
}
.footer-rte ul li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--dt-primary);
  font-weight: 700;
}
.footer-rte p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.footer-rte p:last-child {
  margin-bottom: 0;
}
.footer-rte a {
  color: var(--dt-footer-text);
}
.footer-rte a:hover {
  color: #ffffff;
}
.footer-rte strong {
  color: rgba(255, 255, 255, 0.85);
}

/* Legacy non-RTE footer lists */
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-footer ul li {
  margin-bottom: 0.35rem;
}

/* Bottom bar */
.footer-bottom {
  margin-top: 2.5rem;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a {
  color: rgba(255, 255, 255, 0.45);
}
.footer-bottom a:hover {
  color: #ffffff;
}

/* ----------------------------------------------------------
   13. Cookie Banner
   ---------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(46, 47, 51, 0.96);
  color: #ffffff;
  padding: 1.25rem 0;
  font-size: 0.9rem;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.2);
  display: none;
}
.cookie-banner.show {
  display: block;
}

.cookie-banner h5 {
  color: #ffffff;
}
.cookie-banner p {
  margin-bottom: 0.75rem;
}

.cookie-banner .btn {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
}
.cookie-banner .btn-outline-light {
  border-color: rgba(255, 255, 255, 0.5);
}
.cookie-banner .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}
.cookie-banner .btn-link {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
}
.cookie-banner .btn-link:hover {
  color: #ffffff;
}

.cookie-settings-panel {
  display: none;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.cookie-settings-panel.show {
  display: block;
}
.cookie-settings-panel .form-check {
  margin-bottom: 0.5rem;
}
.cookie-settings-panel .form-check-label {
  font-size: 0.88rem;
}

/* ----------------------------------------------------------
   14. Breadcrumbs
   ---------------------------------------------------------- */
.breadcrumb-wrapper {
  padding: 0.75rem 0;
  background: var(--dt-bg-alt);
  border-bottom: 1px solid var(--dt-border);
}

.breadcrumb {
  margin-bottom: 0;
  font-size: 0.82rem;
  background: transparent;
  padding: 0;
}
.breadcrumb-item a {
  color: var(--dt-muted);
}
.breadcrumb-item a:hover {
  color: var(--dt-primary);
}
.breadcrumb-item.active {
  color: var(--dt-text);
}
.breadcrumb-item + .breadcrumb-item::before {
  content: '\203A';
  color: var(--dt-muted);
}

/* ----------------------------------------------------------
   15. Utility Classes
   ---------------------------------------------------------- */
.text-primary-dark {
  color: var(--dt-primary-dark) !important;
}
.bg-primary-gradient {
  background: linear-gradient(135deg, var(--dt-primary) 0%, var(--dt-primary-dark) 100%);
}

/* ----------------------------------------------------------
   16. Responsive
   ---------------------------------------------------------- */
@media (max-width: 991.98px) {
  .offcanvas-nav .nav-link {
    font-size: 1.05rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--dt-border);
  }

  .hero {
    min-height: 360px;
  }
  .hero__content h1 {
    font-size: 2rem;
  }

  section {
    padding: 3rem 0;
  }

  .info-bar__item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    padding: 1rem 1.25rem;
  }
  .info-bar__item:last-child {
    border-bottom: none;
  }

  .cta-section h2 {
    font-size: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .top-bar {
    font-size: 0.78rem;
    height: 36px;
  }
  .top-bar__right {
    display: none;
  }

  .hero {
    min-height: 280px;
  }
  .hero__image {
    width: 85%;
    mask-image: linear-gradient(to right, transparent 0%, black 15%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%);
  }
  .hero__content h1 {
    font-size: 1.65rem;
  }
  .hero__content p {
    font-size: 1rem;
  }

  .team-card__photo-wrapper {
    padding: 1.5rem 1.5rem 0;
  }
  .team-card__photo,
  .team-card__photo-placeholder {
    width: 110px;
    height: 110px;
  }
  .team-card__body {
    padding: 1rem 1.5rem 1.5rem;
  }

  .event-card {
    flex-direction: column;
  }
  .event-card__date {
    width: auto;
    display: inline-flex;
    gap: 0.4rem;
    align-items: baseline;
    padding: 0.4rem 0.9rem;
  }

  section {
    padding: 2.25rem 0;
  }
  .section-title h2 {
    font-size: 1.55rem;
  }

  .site-footer .row > [class*='col-'] {
    margin-bottom: 2rem;
  }

  .service-card {
    padding: 1.5rem 1.25rem;
  }
  .service-card__icon {
    width: 44px;
    height: 44px;
    font-size: 1rem;
    margin-bottom: 1rem;
  }

  .info-bar__item {
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
  }
}

@media (max-width: 575.98px) {
  .hero__content h1 {
    font-size: 1.4rem;
  }

  .contact-info,
  .opening-hours {
    margin-bottom: 2rem;
  }

  .hero__content .btn-lg {
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem;
  }
}
