/*
 Theme Name: GeneratePress Child (Alles over Wenen)
 Theme URI: https://allesoverwenen.nl/
 Description: Child theme for GeneratePress with unified buttons, callouts, compare blocks, tables and Vienna-specific UI components.
 Author: Vincent / Alles over Wenen
 Template: generatepress
 Version: 1.1.0
 Text Domain: generatepress-child
*/

/* ==================================================
   0) Design tokens / variabelen
================================================== */
:root {
  /* Brand */
  --brand: #b21010;
  --brand-hover: #8e0d0d;
  --brand-contrast: #ffffff;
  --brand-soft: #fff3f5;
  --brand-soft-border: #ffd6dc;

  /* Neutrals */
  --text: #222222;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --surface: #ffffff;
  --surface-muted: #f5f5f5;
  --surface-soft: #fafafa;
  --ring: rgba(0, 0, 0, 0.08);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 2px 6px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.04);

  /* Callouts */
  --callout-blue-bg: #f0f7ff;
  --callout-blue-border: #cfe2ff;
  --callout-green-bg: #f2fbf6;
  --callout-green-border: #cfead9;
  --callout-beige-bg: #fbf8f2;
  --callout-beige-border: #e7dbc2;
  --callout-warn-bg: #fff6f6;
  --callout-warn-border: #f3c3c3;
  --callout-brand-bg: #fff3f5;
  --callout-brand-border: #ffd6dc;

  /* Compare */
  --aow-compare-border: #e6e6e6;
  --aow-compare-bg: #ffffff;
  --aow-compare-ok: #2e7d32;
  --aow-compare-no: #c62828;

  /* Pros / cons */
  --vs-pros-bg: hsl(140 60% 96%);
  --vs-pros-accent: hsl(142 45% 32%);
  --vs-cons-bg: hsl(0 85% 97%);
  --vs-cons-accent: hsl(0 70% 40%);
  --vs-text: hsl(220 15% 20%);

  /* Tables */
  --tbl-border: 1px solid #e5e7eb;
  --tbl-bg: #ffffff;
  --tbl-bg-alt: #fafafa;
  --tbl-head-bg: #f5f5f5;
  --tbl-text: #111827;
  --tbl-muted: #6b7280;
  --tbl-accent: #b30000;
  --tbl-radius: 10px;
  --tbl-pad-y: 12px;
  --tbl-pad-x: 16px;
  --tbl-font-size: 16px;
  --tbl-line-height: 1.5;

  /* Vienna transport */
  --u1: #e31e24;
  --u2: #7c4d9e;
  --u3: #f08a00;
  --u4: #009640;
  --u6: #8a5a2b;

  --vienna-tip-bg: #f7f3ea;
  --vienna-tip-border: #c8a96b;
}

@media (prefers-color-scheme: dark) {
  :root {
    --tbl-border: 1px solid #2f3237;
    --tbl-bg: #17191d;
    --tbl-bg-alt: #1d2024;
    --tbl-head-bg: #202329;
    --tbl-text: #e5e7eb;
    --tbl-muted: #9ca3af;
    --tbl-accent: #ff4d4d;
  }
}

/* ==================================================
   1) Basis / reset
================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ==================================================
   2) Rank Math TOC
================================================== */
.rank-math-toc-container {
  background-color: #f5f5f5;
  border-radius: 5px;
  padding: 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.rmtoc-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.rmtoc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.rmtoc-list-item {
  margin-bottom: 5px;
}

.rmtoc-link {
  color: #333333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.rmtoc-link:hover {
  color: #e74c3c;
}

.rmtoc-current-section {
  font-weight: 700;
}

/* ==================================================
   3) Mega menu (desktop)
================================================== */
@media (min-width: 1099px) {
  nav .main-nav .mega-menu {
    position: static;
  }

  nav .main-nav .mega-menu > ul {
    position: absolute;
    width: 100%;
    left: 0 !important;
    display: flex;
    flex-wrap: wrap;
    padding: 20px 0 20px 5px;
  }

  nav .main-nav .mega-menu > ul > li {
    display: inline-block;
    width: 25%;
    vertical-align: top;
  }

  nav .main-nav .mega-menu > ul > li > a {
    font-weight: 400;
    font-size: 16px;
  }

  nav .main-nav .mega-menu.mega-menu-col-2 > ul > li {
    width: 50%;
  }

  nav .main-nav .mega-menu.mega-menu-col-3 > ul > li {
    width: 33.3333%;
  }

  nav .main-nav .mega-menu.mega-menu-col-5 > ul > li {
    width: 20%;
  }

  nav .main-nav .mega-menu ul .sub-menu {
    position: static;
    display: block;
    opacity: 1;
    visibility: visible;
    width: 100%;
    box-shadow: none;
    left: 0;
    height: auto;
    pointer-events: auto;
    transform: scale(1);
  }

  nav .main-nav .mega-menu ul.toggled-on .sub-menu {
    pointer-events: auto;
  }

  nav .main-nav .mega-menu .sub-menu .menu-item-has-children .dropdown-menu-toggle {
    display: none;
  }
}

/* ==================================================
   4) Layout: sidebar & content
================================================== */
@media (min-width: 769px) {
  .site-content {
    display: flex;
  }

  .inside-right-sidebar {
    height: 100%;
  }

  .inside-right-sidebar aside:last-child {
    position: sticky;
    top: 70px;
  }
}

/* ==================================================
   5) Rank Math FAQ
================================================== */
#rank-math-faq {
  background: #f3f4f5;
  border-radius: 5px;
  padding: 25px 15px;
}

.rank-math-list-item {
  overflow: hidden;
  background: #ffffff;
  border-radius: 5px;
  margin-bottom: 15px;
  padding: 15px 15px 20px;
  box-shadow: 0 0 10px #d9d9d9, 0 0 40px #ffffff;
}

.rank-math-question {
  border-bottom: 1px solid #f0f4f8;
  padding-bottom: 0.825rem;
  margin-bottom: 0.825rem;
  position: relative;
  padding-right: 40px;
}

/* ==================================================
   6) Banner animatie
================================================== */
.banner {
  position: fixed;
  right: 0;
  bottom: 0;
  transform: translateY(100vh);
  animation: banner-fade-in 1s 1s ease-in forwards;
}

@keyframes banner-fade-in {
  0% {
    transform: translateY(100vh);
  }

  100% {
    transform: translateY(0);
  }
}

.close-btn {
  position: absolute;
  top: 12px;
  right: 12px;
}

.hide-me {
  display: none;
}

/* ==================================================
   7) Reactieformulier
================================================== */
#respond {
  background: #fbfbfb;
  padding: 0 10px;
}

#respond input[type="text"],
#respond textarea {
  transition: all 0.3s ease-in-out;
  outline: none;
  padding: 3px 0 3px 3px;
  margin: 5px 1px 3px 0;
  border: 1px solid #dddddd;
}

#respond input[type="text"]:focus,
#respond input[type="email"]:focus,
#respond input[type="url"]:focus,
#respond textarea:focus {
  box-shadow: 0 0 5px rgba(81, 203, 238, 1);
  border: 2px solid rgba(81, 203, 238, 1);
}

/* ==================================================
   8) Legacy infoblok
================================================== */
.infoblok {
  width: 100%;
  margin-bottom: 15px;
  padding: 15px;
  border: 2px dashed #c50606 !important;
  border-radius: 15px;
  background-color: #f7f4ef !important;
}

/* ==================================================
   9) Buttons
================================================== */
.gb-button {
  display: inline-block !important;
  padding: 12px 24px !important;
  border: none !important;
  border-radius: var(--radius-sm) !important;
  background-color: var(--brand) !important;
  color: var(--brand-contrast) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: background-color 0.3s ease !important;
}

.gb-button:hover {
  background-color: var(--brand-hover) !important;
}

/* CTA op link zelf */
a.aoo-cta,
.wp-block-button .aoo-cta,
.wp-element-button.aoo-cta,
.gb-button.aoo-cta {
  display: inline-block;
  padding: 0.75em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background-color: var(--brand) !important;
  color: var(--brand-contrast) !important;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.3s ease, transform 0.2s ease, color 0.2s ease;
}

a.aoo-cta:hover,
.wp-block-button .aoo-cta:hover,
.wp-element-button.aoo-cta:hover,
.gb-button.aoo-cta:hover {
  background-color: var(--brand-hover) !important;
  color: var(--brand-contrast) !important;
  transform: translateY(-2px);
}

a.aoo-cta:visited {
  color: var(--brand-contrast) !important;
}

a.aoo-cta:focus-visible {
  outline: 2px solid var(--brand-soft-border);
  outline-offset: 2px;
}

/* CTA legacy container */
.aoo-cta a,
.aoo-cta .wp-block-button__link {
  display: inline-block;
  padding: 0.75em 1.5em;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  background-color: var(--brand) !important;
  color: var(--brand-contrast) !important;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none !important;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.aoo-cta a:hover,
.aoo-cta .wp-block-button__link:hover {
  background-color: var(--brand-hover) !important;
  color: var(--brand-contrast) !important;
  transform: translateY(-2px);
}

/* Outline variant */
a.aoo-cta--outline,
.wp-block-button .aoo-cta--outline,
.gb-button.aoo-cta--outline {
  background: transparent !important;
  color: var(--brand) !important;
  border: 2px solid var(--brand) !important;
}

a.aoo-cta--outline:hover,
.wp-block-button .aoo-cta--outline:hover,
.gb-button.aoo-cta--outline:hover {
  background: var(--brand) !important;
  color: var(--brand-contrast) !important;
}

/* ==================================================
   10) Callouts
================================================== */
.aoo-callout {
  position: relative;
  margin: 2rem 0;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--ring);
  border-radius: var(--radius-lg);
  background: #ffffff;
  box-shadow: var(--shadow-md);
  line-height: 1.6;
}

.aoo-callout p {
  margin-bottom: 1rem;
}

.aoo-callout .wp-block-buttons,
.aoo-callout .aoo-cta {
  margin-top: 0.75rem;
}

.aoo-callout h2,
.aoo-callout h3 {
  margin: 0 0 0.5rem;
  font-weight: 700;
}

.aoo-callout--brand {
  background: var(--callout-brand-bg);
  border-color: var(--callout-brand-border);
}

.aoo-callout--blue {
  background: var(--callout-blue-bg);
  border-color: var(--callout-blue-border);
}

.aoo-callout--green {
  background: var(--callout-green-bg);
  border-color: var(--callout-green-border);
}

.aoo-callout--beige {
  background: var(--callout-beige-bg);
  border-color: var(--callout-beige-border);
}

.aoo-callout--warn {
  background: var(--callout-warn-bg);
  border-color: var(--callout-warn-border);
}

/* ==================================================
   10b) Shared panels / cards
   veilig toegevoegd voor nieuwe componenten
================================================== */
.aow-panel {
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
}

.aow-panel--shadow {
  box-shadow: var(--shadow-md);
}

.aow-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

/* ==================================================
   10c) Note boxes
   huidige aoo-tip-box / aoo-info-box blijven werken
================================================== */
.aoo-note-box,
.aoo-tip-box,
.aoo-info-box {
  margin: 1.5rem 0;
  padding: 1rem 1.1rem;
  border: 1px solid;
  border-radius: var(--radius-lg);
  line-height: 1.65;
}

.aoo-note-box strong,
.aoo-tip-box strong,
.aoo-info-box strong {
  color: var(--text);
}

.aoo-tip-box {
  background: #fff8e8;
  border-color: #f2d48a;
}

.aoo-info-box {
  background: var(--brand-soft);
  border-color: var(--brand-soft-border);
}

/* ==================================================
   11) Compare block
================================================== */
.aow-compare {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--aow-compare-border);
  border-radius: var(--radius-lg);
  background: var(--aow-compare-bg);
}

.aow-compare--accent {
  border-color: transparent;
}

.aow-compare--accent::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 1.5px solid var(--brand);
  border-radius: var(--radius-lg);
  box-sizing: border-box;
  pointer-events: none;
}

.aow-compare__header {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px clamp(16px, 3vw, 28px);
  border-bottom: 1px solid var(--aow-compare-border);
}

.aow-compare__header:first-child {
  border-right: 1px solid var(--aow-compare-border);
}

.aow-compare__title {
  margin: 0;
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
}

.aow-compare__image {
  max-width: 140px;
  height: auto;
  border-radius: 8px;
}

.aow-compare__row {
  display: contents;
}

.aow-compare__label,
.aow-compare__cell {
  padding: 14px clamp(14px, 2.5vw, 24px);
  border-top: 1px solid var(--aow-compare-border);
}

.aow-compare__label {
  grid-column: 1 / -1;
  font-weight: 700;
  color: #222222;
  background: #f6f6f6;
}

@media (min-width: 820px) {
  .aow-compare {
    grid-template-columns: 260px 1fr 1fr;
  }

  .aow-compare__header:first-child {
    grid-column: 2;
    border-right: none;
  }

  .aow-compare__header:nth-of-type(2) {
    grid-column: 3;
  }

  .aow-compare__label {
    grid-column: 1;
    background: #fafafa;
  }

  .aow-compare__cell:nth-of-type(2) {
    border-left: 1px solid var(--aow-compare-border);
  }
}

.aow-icon {
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.5rem;
  vertical-align: -2px;
  color: currentColor;
  flex-shrink: 0;
}

.aow-icon.ok {
  color: var(--aow-compare-ok);
}

.aow-icon.no {
  color: var(--aow-compare-no);
}

.aow-compare__row--cta .aow-compare__label {
  background: transparent;
}

.aow-compare__row--cta .aow-compare__cell {
  padding-block: 20px;
  text-align: center;
}

.aow-compare__row--cta .aoo-cta {
  width: 100%;
  max-width: 420px;
}

@media (max-width: 819px) {
  .aow-compare__label,
  .aow-compare__cell {
    padding: 12px 16px;
  }
}

/* ==================================================
   12) Pros / cons blokken
================================================== */
.vs-wrap {
  display: grid;
  gap: 1rem;
}

@media (min-width: 860px) {
  .vs-wrap {
    grid-template-columns: 1fr 1fr;
  }
}

.vs-block {
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-xl);
}

.vs-block h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.05rem, 1.1vw + 0.9rem, 1.25rem);
  font-weight: 700;
  color: var(--vs-text);
}

.vs-list {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.vs-item {
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.45;
  color: var(--vs-text);
}

.vs-item::before {
  content: "";
  width: 28px;
  height: 28px;
  background-size: cover;
  border-radius: 50%;
  flex-shrink: 0;
}

.vs-block.pros {
  background: var(--vs-pros-bg);
}

.vs-block.pros .vs-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='%231d7c43'/><path d='M12 6v12M6 12h12' stroke='white' stroke-width='2' stroke-linecap='round'/></svg>");
}

.vs-block.cons {
  background: var(--vs-cons-bg);
}

.vs-block.cons .vs-item::before {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='12' fill='%23b21010'/><path d='M6 12h12' stroke='white' stroke-width='2' stroke-linecap='round'/></svg>");
}

/* ==================================================
   13) Tables
================================================== */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border: var(--tbl-border);
  border-radius: var(--tbl-radius);
  background: var(--tbl-bg);
}

.museum-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--tbl-bg);
  color: var(--tbl-text);
  font-size: var(--tbl-font-size);
  line-height: var(--tbl-line-height);
}

.museum-table thead th {
  padding: var(--tbl-pad-y) var(--tbl-pad-x);
  border-bottom: var(--tbl-border);
  background: var(--tbl-head-bg);
  text-align: left;
  font-weight: 600;
  white-space: nowrap;
}

.museum-table th,
.museum-table td {
  padding: var(--tbl-pad-y) var(--tbl-pad-x);
  border-bottom: var(--tbl-border);
  vertical-align: middle;
}

.museum-table--striped tbody tr:nth-child(even) td {
  background: var(--tbl-bg-alt);
}

.museum-table--compact th,
.museum-table--compact td {
  padding: 8px 12px;
  font-size: 0.95em;
}

.museum-table .is-num {
  text-align: right;
  white-space: nowrap;
}

.museum-table .action-link {
  color: var(--tbl-accent);
  font-weight: 600;
  text-decoration: none;
}

.museum-table .action-link:hover,
.museum-table .action-link:focus {
  text-decoration: underline;
}

.museum-table caption {
  caption-side: top;
  padding: 8px 0 12px;
  text-align: left;
  font-weight: 600;
}

.table-note {
  margin-top: 8px;
  font-size: 0.925em;
  color: var(--tbl-muted);
}

@media (max-width: 640px) {
  .museum-table th,
  .museum-table td {
    padding: 10px 12px;
  }
}

/* ==================================================
   14) Vienna metro components
================================================== */
.vienna-metro-stations {
  padding-left: 1.2rem;
}

.vienna-metro-stations li {
  margin-bottom: 0.65rem;
}

.u1-badge,
.u2-badge,
.u3-badge,
.u4-badge,
.u6-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.35rem;
  height: 2rem;
  padding: 0 0.55rem;
  border-radius: var(--radius-pill);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  vertical-align: middle;
  position: relative;
  top: -1px;
  box-shadow: var(--shadow-sm);
}

.u1-badge {
  background: var(--u1);
}

.u2-badge {
  background: var(--u2);
}

.u3-badge {
  background: var(--u3);
}

.u4-badge {
  background: var(--u4);
}

.u6-badge {
  background: var(--u6);
}

.vienna-tip-box {
  margin: 1.5rem 0;
  padding: 1.25rem 1.25rem 1rem;
  border-left: 4px solid var(--vienna-tip-border);
  border-radius: var(--radius-md);
  background: var(--vienna-tip-bg);
}

.vienna-tip-box h2,
.vienna-tip-box h3 {
  margin-top: 0;
  margin-bottom: 0.75rem;
}

/* ==================================================
   15) Misc
================================================== */
.copyright-blok {
  padding: 10px;
  border: 1px solid #cccccc;
  background-color: #f5f5f5;
  color: #333333;
  font-size: 0.75em;
}

.aow-choice-guide {
  margin: 2rem 0;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  background: #fafafa;
}

.aow-choice-guide h2 {
  margin-bottom: 0.5rem;
}

.aow-choice-guide p {
  margin-bottom: 0.9rem;
}

.aow-choice-guide__list {
  margin: 0;
  padding-left: 1.2rem;
}

.aow-choice-guide__list li {
  margin-bottom: 0.55rem;
}

/* ==========================================
   Ticket table – responsive + recommended row
========================================== */
.aow-ticket-table .is-recommended td {
  background: #fff7e8;
}

.aow-ticket-table .is-recommended td:first-child {
  position: relative;
}

.aow-ticket-table .is-recommended td:first-child::before {
  content: "Aanrader";
  display: inline-block;
  margin-right: 0.6rem;
  padding: 0.2rem 0.5rem;
  border-radius: 999px;
  background: #b21010;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  vertical-align: middle;
}

@media (max-width: 760px) {
  .aow-ticket-table thead {
    display: none;
  }

  .aow-ticket-table,
  .aow-ticket-table tbody,
  .aow-ticket-table tr,
  .aow-ticket-table td {
    display: block;
    width: 100%;
  }

  .aow-ticket-table tr {
    margin-bottom: 1rem;
    border-bottom: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--tbl-bg);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  }

  .aow-ticket-table td {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    text-align: left !important;
    border-bottom: 1px solid #ececec;
  }

  .aow-ticket-table td:last-child {
    border-bottom: 0;
  }

  .aow-ticket-table td::before {
    content: attr(data-label);
    font-weight: 700;
    color: #444;
  }

  .aow-ticket-table .is-recommended td:first-child::before {
    content: attr(data-label);
    margin-right: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #444;
    font-size: inherit;
    font-weight: 700;
  }

  .aow-ticket-table .is-recommended td:first-child strong::before {
    content: "Aanrader";
    display: inline-block;
    margin-right: 0.5rem;
    padding: 0.18rem 0.45rem;
    border-radius: 999px;
    background: #b21010;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    vertical-align: middle;
  }
}

/* ==================================================
   Prater page - metro access block
================================================== */
.metro-access {
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--surface-soft);
  box-shadow: var(--shadow-md);
}

.metro-access__intro {
  margin: 0 0 1rem;
  color: var(--text);
  font-weight: 700;
}

.metro-stop {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 0;
  border-top: 1px solid var(--border);
}

.metro-stop:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.metro-stop:last-of-type {
  padding-bottom: 0;
}

.metro-stop__lines {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  min-width: 96px;
}

.metro-stop__content {
  flex: 1;
  min-width: 0;
}

.metro-stop__name {
  display: block;
  margin: 0 0 0.2rem;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.metro-stop__text {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

@media (max-width: 767px) {
  .metro-access {
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .metro-stop {
    flex-direction: column;
    gap: 0.7rem;
  }

  .metro-stop__lines {
    min-width: 0;
  }

  .metro-stop__text {
    font-size: 0.96rem;
    line-height: 1.55;
  }
}

/* ==================================================
   Festivals en evenementen in Wenen
   scoped, zodat andere pagina's niet geraakt worden
================================================== */
.aoo-event-guide {
  margin: 0;
}

.aoo-event-guide section {
  margin: 0 0 2.5rem;
}

.aoo-event-guide h2 {
  margin: 0 0 1rem;
  font-size: clamp(1.5rem, 2vw, 1.9rem);
  line-height: 1.25;
}

.aoo-event-guide h3 {
  margin: 1.6rem 0 0.75rem;
  font-size: clamp(1.15rem, 1.5vw, 1.35rem);
  line-height: 1.35;
}

.aoo-event-guide p {
  margin: 0 0 1rem;
}

.aoo-event-guide ul {
  margin: 1rem 0 0;
  padding-left: 1.2rem;
}

.aoo-event-guide ul li {
  margin: 0 0 0.65rem;
  line-height: 1.6;
}

/* Intro */
.aoo-event-guide .aoo-page-intro {
  margin: 0 0 2rem;
}

.aoo-event-guide .aoo-page-intro p:last-child {
  margin-bottom: 0;
}

/* Panel family */
.aoo-event-guide .aoo-decision-block,
.aoo-event-guide .aoo-related-links {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, #fcfcfc 0%, #f7f7f7 100%);
  box-shadow: var(--shadow-md);
}

.aoo-event-guide .aoo-decision-block {
  margin: 2rem 0;
}

.aoo-event-guide .aoo-related-links {
  margin-top: 3rem;
}

.aoo-event-guide .aoo-decision-block h2,
.aoo-event-guide .aoo-related-links h2 {
  margin-top: 0;
}

/* Decision grid */
.aoo-event-guide .aoo-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.aoo-event-guide .aoo-decision-card {
  position: relative;
  padding: 1.1rem 1.05rem 1rem;
  border: 1px solid rgba(178, 16, 16, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.aoo-event-guide .aoo-decision-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand) 0%, #d85b5b 100%);
}

.aoo-event-guide .aoo-decision-card strong {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--text);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.aoo-event-guide .aoo-decision-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
  line-height: 1.6;
}
/* Mobile */
@media (max-width: 768px) {
  .aoo-event-guide section {
    margin: 0 0 2rem;
  }

  .aoo-event-guide .aoo-decision-grid {
    grid-template-columns: 1fr;
  }

  .aoo-event-guide .aoo-decision-block,
  .aoo-event-guide .aoo-related-links,
  .aoo-event-guide .aoo-conclusion {
    padding: 1rem;
    border-radius: var(--radius-lg);
  }

  .aoo-event-guide .aoo-decision-card {
    padding: 0.9rem;
  }
}
/* ==================================================
   Decision block – robuuste versie zonder wrapper
================================================== */
.aoo-decision-block {
  margin: 2rem 0;
  padding: 1.4rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--radius-xl, 18px);
  background: linear-gradient(180deg, #fcfcfc 0%, #f7f7f7 100%);
  box-shadow: var(--shadow-md, 0 2px 6px rgba(0, 0, 0, 0.05));
}

.aoo-decision-block > h2 {
  margin: 0 0 1rem;
}

.aoo-decision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.aoo-decision-card {
  position: relative;
  padding: 1.1rem 1.05rem 1rem;
  border: 1px solid rgba(178, 16, 16, 0.08);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.aoo-decision-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand, #b21010) 0%, #d85b5b 100%);
}

.aoo-decision-card strong {
  display: block;
  margin: 0 0 0.45rem;
  color: var(--text, #222222);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.aoo-decision-card p {
  margin: 0;
  color: var(--text-muted, #6b7280);
  font-size: 0.96rem;
  line-height: 1.6;
}

.aoo-decision-card--featured {
  border-color: rgba(178, 16, 16, 0.18);
  background: linear-gradient(180deg, #fff8f8 0%, #ffffff 100%);
}

.aoo-decision-card--featured::before {
  height: 5px;
}

@media (max-width: 768px) {
  .aoo-decision-block {
    padding: 1rem;
    border-radius: var(--radius-lg, 14px);
  }

  .aoo-decision-grid {
    grid-template-columns: 1fr;
  }

  .aoo-decision-card {
    padding: 1rem 0.95rem 0.9rem;
    border-radius: 14px;
  }

  .aoo-decision-card strong {
    font-size: 1rem;
  }
}
/* ==================================================
   Related links – robuuste versie zonder wrapper
================================================== */
.aoo-related-links {
  margin: 3rem 0 2rem;
  padding: 1.35rem 1.4rem;
  border: 1px solid var(--border, #e5e7eb);
  border-radius: var(--radius-xl, 18px);
  background: linear-gradient(180deg, #fcfcfc 0%, #f7f7f7 100%);
  box-shadow: var(--shadow-md, 0 2px 6px rgba(0, 0, 0, 0.05));
}

.aoo-related-links h2 {
  margin: 0 0 1rem;
}

.aoo-related-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.aoo-related-links li + li {
  margin-top: 0.7rem;
}

.aoo-related-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--brand, #b21010);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.5;
}

.aoo-related-links a::before {
  content: "→";
  color: var(--brand, #b21010);
  font-weight: 700;
  transition: transform 0.2s ease;
}

.aoo-related-links a:hover,
.aoo-related-links a:focus {
  color: var(--brand-hover, #8e0d0d);
  text-decoration: underline;
}

.aoo-related-links a:hover::before,
.aoo-related-links a:focus::before {
  transform: translateX(2px);
}

@media (max-width: 768px) {
  .aoo-related-links {
    margin: 2.2rem 0 1.5rem;
    padding: 1rem;
    border-radius: var(--radius-lg, 14px);
  }
}