/* Generated from frontend templates. Keep selectors in sync with template classes. */

/* Base: websites2/webelements/templates/frontend/base_myhomepage.html */
    :root {
      --ink: #121417;
      --muted: #4b5563;
      --accent: #f4a261;
      --accent-strong: #e76f51;
      --sea: #1f6f78;
      --surface: #ffffff;
      --surface-soft: #f7f3ee;
      --surface-accent: #f3efe9;
      --page-bg-start: #fdf6ee;
      --page-bg-mid: #f5f4f0;
      --page-bg-end: #e6efee;
      --nav-surface: rgba(255, 255, 255, 0.75);
      --panel-border: rgba(15, 23, 42, 0.06);
      --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
      --radius-lg: 28px;
      --radius-md: 18px;
      --radius-sm: 12px;
    }

    html[data-theme="dark"] {
      --ink: #e5e7eb;
      --muted: #bcc6d4;
      --accent: #f6be82;
      --accent-strong: #f28b72;
      --sea: #58a6b0;
      --surface: #141b29;
      --surface-soft: #1c2536;
      --surface-accent: #202c3f;
      --page-bg-start: #0d1320;
      --page-bg-mid: #111a2b;
      --page-bg-end: #0f202a;
      --nav-surface: rgba(18, 27, 41, 0.85);
      --panel-border: rgba(148, 163, 184, 0.25);
      --shadow: 0 22px 45px rgba(0, 0, 0, 0.45);
    }

    body {
      font-family: "Sora", "Helvetica Neue", Arial, sans-serif;
      color: var(--ink);
      background: radial-gradient(circle at top left, var(--page-bg-start) 0%, var(--page-bg-mid) 45%, var(--page-bg-end) 100%);
      min-height: 100vh;
    }

    h1, h2, h3, h4 {
      font-family: "Fraunces", "Georgia", serif;
      color: var(--ink);
    }

    a {
      color: inherit;
    }

    .page-shell {
      max-width: 1180px;
      margin: 0 auto;
      padding: 0 1.5rem 4rem;
      position: relative;
    }

    .page-shell::before,
    .page-shell::after {
      content: "";
      position: absolute;
      border-radius: 50%;
      filter: blur(0px);
      z-index: -1;
    }

    .page-shell::before {
      width: 260px;
      height: 260px;
      top: 80px;
      right: -60px;
      background: radial-gradient(circle, rgba(244, 162, 97, 0.35), transparent 70%);
    }

    .page-shell::after {
      width: 320px;
      height: 320px;
      bottom: 120px;
      left: -80px;
      background: radial-gradient(circle, rgba(31, 111, 120, 0.25), transparent 70%);
    }

    .site-header {
      padding: 2rem 0 1.5rem;
      position: sticky;
      top: 0;
      z-index: 10;
      backdrop-filter: blur(12px);
    }

    .site-nav {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      background: var(--nav-surface);
      border-radius: 999px;
      padding: 0.6rem 1.4rem;
      box-shadow: var(--shadow);
      border: 1px solid var(--panel-border);
    }

    .brand {
      font-size: 1.1rem;
      font-weight: 600;
      letter-spacing: 0.04em;
      text-decoration: none;
      text-transform: uppercase;
    }

    .nav-links {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 0.85rem;
      list-style: none;
      margin: 0;
      padding: 0;
      font-size: 0.95rem;
    }

    .nav-links a {
      text-decoration: none;
      padding: 0.35rem 0.6rem;
      border-radius: 999px;
      transition: background 0.2s ease;
    }

    .nav-links a:hover {
      background: rgba(31, 111, 120, 0.12);
    }

    .nav-cta {
      background: var(--sea);
      color: #fff;
      padding: 0.55rem 1.1rem;
      border-radius: 999px;
      text-decoration: none;
      font-weight: 600;
      white-space: nowrap;
    }

    .hero {
      margin-top: 1.5rem;
    }

    .hero-grid {
      display: grid;
      gap: 2.5rem;
      align-items: center;
    }

    @media (min-width: 992px) {
      .hero-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      }
    }

    .eyebrow {
      text-transform: uppercase;
      letter-spacing: 0.3em;
      font-size: 0.7rem;
      color: var(--muted);
      font-weight: 600;
    }

    .hero-title {
      font-size: clamp(2.6rem, 4vw, 4rem);
      margin: 0.5rem 0 0.8rem;
    }

    .hero-subtitle {
      font-size: 1.2rem;
      color: var(--muted);
      margin-bottom: 0.7rem;
    }

    .hero-lead {
      font-size: 1.05rem;
      line-height: 1.7;
      color: var(--muted);
      margin-bottom: 1.6rem;
    }

    .hero-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 0.75rem;
    }

    .btn-primary-custom {
      background: var(--accent-strong);
      border: none;
      color: #fff;
      padding: 0.7rem 1.4rem;
      border-radius: 999px;
      font-weight: 600;
      text-decoration: none;
      box-shadow: 0 10px 25px rgba(231, 111, 81, 0.3);
    }

    .btn-outline-custom {
      border: 1px solid var(--panel-border);
      color: var(--ink);
      padding: 0.7rem 1.4rem;
      border-radius: 999px;
      font-weight: 600;
      text-decoration: none;
      background: var(--surface);
    }

    .hero-card {
      background: var(--surface);
      border-radius: var(--radius-lg);
      padding: 2rem;
      box-shadow: var(--shadow);
      border: 1px solid var(--panel-border);
      position: relative;
      overflow: hidden;
    }

    .hero-card::after {
      content: "";
      position: absolute;
      inset: 0;
      background: linear-gradient(140deg, rgba(31, 111, 120, 0.08), transparent 55%);
      pointer-events: none;
    }

    .portrait {
      border-radius: 22px;
      width: 100%;
      max-height: 340px;
      object-fit: cover;
      display: block;
      margin-bottom: 1.4rem;
    }

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

    .stat {
      background: var(--surface-soft);
      border-radius: var(--radius-sm);
      padding: 0.8rem 1rem;
    }

    .stat-value {
      font-size: 1.4rem;
      font-weight: 700;
      display: block;
    }

    .stat-label {
      font-size: 0.85rem;
      color: var(--muted);
    }

    .content-section {
      margin-top: 3rem;
    }

    .section-header {
      display: flex;
      flex-direction: column;
      gap: 0.4rem;
      margin-bottom: 1.5rem;
    }

    .section-title {
      font-size: 2rem;
      margin: 0;
    }

    .section-subtitle {
      color: var(--muted);
      margin: 0;
      max-width: 620px;
    }

    .section-grid {
      display: grid;
      gap: 1.5rem;
    }

    @media (min-width: 992px) {
      .section-grid {
        grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
      }
    }

    .panel {
      background: var(--surface);
      border-radius: var(--radius-md);
      padding: 1.8rem;
      box-shadow: var(--shadow);
      border: 1px solid var(--panel-border);
    }

    .panel p {
      color: var(--muted);
      line-height: 1.7;
    }

    .card-grid {
      display: grid;
      gap: 1.2rem;
    }

    @media (min-width: 992px) {
      .card-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
    }

    .info-card {
      background: var(--surface-accent);
      border-radius: var(--radius-md);
      padding: 1.4rem;
      border: 1px solid var(--panel-border);
      min-height: 180px;
    }

    .info-card h4 {
      margin-top: 0;
      margin-bottom: 0.6rem;
    }

    .timeline {
      display: grid;
      gap: 1rem;
    }

    .timeline-item {
      border-left: 2px solid rgba(31, 111, 120, 0.35);
      padding-left: 1rem;
    }

    .timeline-item h4 {
      margin: 0 0 0.3rem;
    }

    .timeline-item p {
      margin: 0;
    }

    .cta-panel {
      margin-top: 3rem;
      background: linear-gradient(135deg, rgba(31, 111, 120, 0.9), rgba(244, 162, 97, 0.85));
      color: #fff;
      border-radius: var(--radius-lg);
      padding: 2.4rem;
      box-shadow: var(--shadow);
      position: relative;
      overflow: hidden;
    }

    .cta-panel h3 {
      color: #fff;
      margin-bottom: 0.6rem;
    }

    .cta-panel a {
      color: #fff;
      text-decoration: underline;
    }

    .footer {
      margin-top: 4rem;
      padding-top: 2rem;
      border-top: 1px solid var(--panel-border);
      color: var(--muted);
      font-size: 0.9rem;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      gap: 1rem;
    }

    .theme-toggle {
      border: 1px solid var(--panel-border);
      background: var(--surface);
      color: var(--ink);
      border-radius: 999px;
      padding: 0.35rem 0.8rem;
      font-size: 0.9rem;
      line-height: 1;
      cursor: pointer;
    }

    .theme-toggle:hover,
    .theme-toggle:focus-visible {
      background: var(--surface-soft);
      outline: none;
    }

    @media (max-width: 768px) {
      .site-nav {
        flex-direction: column;
        align-items: flex-start;
      }

      .nav-cta {
        width: 100%;
        text-align: center;
      }
    }


/* Partial: websites2/webelements/templates/frontend/partials/lead_capture_widget.html */
.lead-capture {
  margin: 2rem auto 2.5rem;
  max-width: 1200px;
  padding: 0 1.25rem;
}

.lead-capture:focus,
.lead-capture:focus-visible {
  outline: none;
}

.lead-capture__inner {
  border: 1px solid var(--panel-border, rgba(15, 23, 42, 0.12));
  box-shadow: var(--panel-shadow, 0 16px 35px rgba(15, 23, 42, 0.12));
  border-radius: 1.25rem;
  background: var(--surface, #fff);
  padding: 1.5rem;
}

.lead-capture__title {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.lead-capture__text {
  margin-bottom: 1rem;
  color: var(--muted-ink, #4f5664);
}

.lead-capture__form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.lead-capture__label {
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

.lead-capture__grid {
  display: grid;
  gap: 0.85rem;
  grid-template-columns: minmax(0, 1fr);
}

.lead-capture__error {
  color: #b00020;
  font-size: 0.92rem;
}

.lead-capture__button {
  align-self: flex-start;
  border: 0;
  border-radius: 999px;
  background: var(--accent-strong, #f77f00);
  color: #fff;
  font-weight: 600;
  padding: 0.6rem 1rem;
}

.lead-capture__preview {
  border: 1px solid var(--panel-border, rgba(15, 23, 42, 0.12));
  background: var(--surface-soft, #f4f5f7);
  border-radius: 0.8rem;
  padding: 0.75rem;
  font-size: 0.95rem;
}

.lead-comments {
  margin-top: 1.8rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--panel-border, rgba(15, 23, 42, 0.12));
}

.lead-comments__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.95rem;
}

.lead-comments__title {
  margin: 0;
  font-size: 1.05rem;
  color: var(--ink, #0c0c0d);
}

.lead-comments__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  background: rgba(247, 127, 0, 0.14);
  color: var(--accent-strong, #f77f00);
}

.lead-comments__list {
  display: grid;
  gap: 0.8rem;
}

.lead-comment-card {
  border: 1px solid var(--panel-border, rgba(15, 23, 42, 0.12));
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--surface, #fff), var(--surface-soft-2, #f8f9fb));
  padding: 0.9rem 1rem;
}

.lead-comment-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem;
  margin-bottom: 0.45rem;
}

.lead-comment-card__author {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(255, 183, 3, 0.18);
  color: #7a4b00;
}

.lead-comment-card__time {
  font-size: 0.82rem;
  color: var(--muted-ink, #4f5664);
}

.lead-comment-card__text {
  margin: 0;
  color: var(--ink, #0c0c0d);
  line-height: 1.55;
  white-space: normal;
}

@media (min-width: 860px) {
  .lead-capture__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Shared page: news_detail.html */
.news-entry-page {
  display: grid;
  gap: 1.5rem;
}
.news-entry-hero,
.news-entry-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  box-shadow: var(--shadow);
}
.news-entry-hero {
  padding: clamp(1.5rem, 3vw, 2.4rem);
}
.news-entry-kicker {
  margin: 0 0 0.8rem;
  color: var(--brand);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}
.news-entry-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.news-entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}
.news-entry-card {
  padding: clamp(1.25rem, 2vw, 2rem);
}
.news-entry-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
}
.news-entry-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: var(--surface-soft);
}
.news-entry-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.news-entry-gallery figcaption {
  padding: 0.75rem 0.9rem;
  color: var(--muted);
  font-size: 0.9rem;
}
.news-entry-richtext,
.news-entry-richtext p,
.news-entry-richtext li {
  color: var(--ink);
  line-height: 1.75;
}
.news-entry-richtext > *:first-child {
  margin-top: 0;
}
.news-entry-richtext > *:last-child {
  margin-bottom: 0;
}

/* Template: websites2/webelements/templates/frontend/homepage_myhomepage_cv.html */
  .nav-cta {
    display: none;
  }

/* Shared utilities extracted from static template attributes. */
.share-icon {
  font-size: 1.5em;
}

.panel--muted-flat {
  box-shadow: none;
  background: var(--surface-soft);
}

.cv-hero-image {
  border-radius: 10px;
}

.tourbook-navbar-collapse {
  position: relative;
  left: 20px;
}

.tourbook-attribute-icon-image {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.tourbook-fact-icon {
  font-size: 1.5em;
}
