/* Costa de la Luz — zand, zee, lucht */
:root {
  --sand: #f4ead8;
  --sand-deep: #e8dcc4;
  --sky: #c8e3ef;
  --sky-deep: #7eb8d2;
  --ink: #1c2a33;
  --muted: #5a6b75;
  --card: #fffef9;
  --accent: #2d6a7e;
  --accent-soft: #e4f2f6;
  --border: rgba(28, 42, 51, 0.12);
  --shadow: 0 8px 28px rgba(28, 42, 51, 0.08);
  --radius: 14px;
  --font: "Georgia", "Times New Roman", serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --nav-height: 42px;
  /* Same resort photo as login overlay */
  --tui-hero-photo: url("https://cdn.tui.be/img/static/im1000/08400/08459/08459P.JPG");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--ink);
  background: linear-gradient(180deg, var(--sand) 0%, var(--sand-deep) 40%, #fff 100%);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--ink);
  color: #fff;
  z-index: 100;
}

.skip-link:focus {
  left: 0.5rem;
  outline: 2px solid var(--sky-deep);
}

.hero {
  background-color: var(--sky-deep);
  background-image:
    linear-gradient(
      165deg,
      rgba(255, 254, 249, 0.9) 0%,
      rgba(232, 244, 248, 0.72) 42%,
      rgba(126, 184, 210, 0.5) 100%
    ),
    var(--tui-hero-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #0f2329;
  padding: 2.5rem 1.25rem 3rem;
}

.hero__inner {
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

.hero__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.9;
}

.hero h1 {
  margin: 0 0 0.5rem;
  font-family: var(--font);
  font-size: clamp(2.25rem, 5vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero__date {
  margin: 0 0 1.75rem;
  font-size: 1.1rem;
}

.hero__tz {
  font-size: 0.92em;
  font-weight: 500;
  color: rgba(15, 35, 41, 0.75);
}

.countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.countdown__unit {
  min-width: 4.5rem;
  padding: 0.85rem 1rem;
  background: rgba(255, 255, 255, 0.82);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.countdown__value {
  display: block;
  font-size: 1.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.countdown__label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 254, 249, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  min-height: var(--nav-height);
}

.site-nav__inner {
  position: relative;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0.32rem 0.65rem;
}

/* Hamburger — hidden on wider viewports */
.site-nav__toggle {
  display: none;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.65rem;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.site-nav__toggle:hover {
  border-color: var(--accent);
}

.site-nav__toggle:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 2px;
}

.site-nav__toggle-bars {
  width: 1.05rem;
  height: 0.65rem;
  flex-shrink: 0;
  background:
    linear-gradient(currentColor, currentColor) 0 0 / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 50% / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat;
  border-radius: 1px;
}

/* Desktop / tablet: wrapped row, no horizontal scroll */
.site-nav__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.38rem;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

/* Room for the user chip (absolute, top-right) so links do not sit under it */
body[data-user] .site-nav__inner {
  padding-right: 10rem;
}

.site-nav a {
  flex-shrink: 0;
  font-size: 0.74rem;
  color: var(--accent);
  text-decoration: none;
  padding: 0.22rem 0.48rem;
  border-radius: 999px;
  border: 1px solid transparent;
}

@media (max-width: 767px) {
  .site-nav__toggle {
    display: inline-flex;
    order: 1;
  }

  .site-nav__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    padding: 0.45rem 0.65rem;
  }

  body[data-user] .site-nav__inner {
    padding-right: 0.65rem;
  }

  .nav-user-chip {
    position: static;
    transform: none;
    margin-left: auto;
    order: 2;
    max-width: min(12.5rem, calc(100% - 9rem));
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .site-nav__links {
    display: none;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    order: 3;
    width: 100%;
    flex-basis: 100%;
    gap: 0.15rem;
    padding: 0.5rem 0 0.15rem;
    margin-top: 0.15rem;
    border-top: 1px solid var(--border);
    justify-content: flex-start;
  }

  .site-nav--open .site-nav__links {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    text-align: left;
    border-radius: 10px;
    padding: 0.5rem 0.65rem;
    font-size: 0.88rem;
  }
}

.site-nav a:hover {
  background: var(--accent-soft);
  border-color: var(--border);
}

.site-nav a:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 2px;
}

main {
  max-width: 1040px;
  margin: 0 auto;
  padding-bottom: 3rem;
}

.section {
  padding: 2.5rem 1.5rem;
}

@media (max-width: 480px) {
  .section {
    padding: 1.75rem 1rem;
  }
}

.section--alt {
  background: rgba(255, 255, 255, 0.55);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section__inner {
  max-width: 840px;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 1rem;
  font-family: var(--font);
  font-size: 1.75rem;
  color: #0f2329;
}

.section h3 {
  margin: 1.5rem 0 0.5rem;
  font-size: 1.15rem;
  color: #1a3540;
}

.section p {
  margin: 0 0 1rem;
  color: var(--ink);
}

.section ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
}

.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 1.35rem;
  margin-bottom: 0.75rem;
}

.countdown {
  margin-top: 0.5rem;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.5rem;
  height: 0.5rem;
  background: var(--sky-deep);
  border-radius: 50%;
}

.photo-gallery {
  display: grid;
  gap: 1rem;
  margin: 1.5rem 0 0.5rem;
}

@media (min-width: 640px) {
  .photo-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 960px) {
  .photo-gallery {
    grid-template-columns: repeat(3, 1fr);
  }
}

.photo-gallery__item {
  margin: 0;
  background: var(--card);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.photo-gallery__item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

@media (min-width: 640px) {
  .photo-gallery__item img {
    height: 220px;
  }
}

.photo-gallery__item figcaption {
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--muted);
}

.photo-gallery__item figcaption a {
  color: var(--accent);
  font-weight: 600;
}

.gallery-attribution {
  margin: 0 0 1.5rem;
}

.beach-grid {
  display: grid;
  gap: 0.85rem;
  margin: 1rem 0 1.5rem;
}

@media (min-width: 700px) {
  .beach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.beach-card h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  color: #1a3540;
}

.beach-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}

.venue-grid {
  display: grid;
  gap: 1rem;
  margin: 0.85rem 0 1.5rem;
}

@media (min-width: 720px) {
  .venue-grid:not(.venue-grid--narrow) {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 720px) {
  .venue-grid--narrow {
    grid-template-columns: repeat(2, 1fr);
  }
}

.venue-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.venue-card__photo {
  margin: -1.1rem -1.15rem 0.85rem;
}

.venue-card__photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.venue-card__photo-credit {
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--muted);
  padding: 0.4rem 0.65rem;
  background: rgba(28, 42, 51, 0.05);
  border-top: 1px solid var(--border);
}

.venue-card__photo-credit a {
  color: var(--accent);
  font-weight: 600;
}

.venue-card h4 {
  margin: 0 0 0.25rem;
  font-size: 1.08rem;
  color: #1a3540;
}

.venue-card__meta {
  margin: 0 0 0.5rem;
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 600;
}

.venue-card p:not(.venue-card__meta):not(.venue-card__reviews) {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.venue-card__reviews {
  margin: 0 0 0.75rem !important;
}

.venue-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.venue-link {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent) !important;
  background: var(--accent-soft);
  border-radius: 8px;
  text-decoration: none;
  border: 1px solid var(--border);
}

.venue-link:hover {
  text-decoration: none;
  filter: brightness(0.97);
}

.howto-box {
  margin: 1.25rem 0 1.75rem;
  padding: 1rem 1.15rem;
  background: var(--accent-soft);
  border: 1px solid rgba(45, 106, 126, 0.28);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.howto-box__title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #1a3540;
}

.howto-box__list {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.howto-box__list li {
  margin-bottom: 0.45rem;
}

.route-detail {
  margin: 0 0 1.35rem;
  padding: 1rem 1.15rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.route-detail h4 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  color: #1a3540;
}

.route-detail p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.route-detail p:last-child {
  margin-bottom: 0;
}

.route-detail__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-size: 0.88rem !important;
  margin-top: 0.35rem !important;
}

.route-detail__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.komoot-card--inline {
  width: 100%;
  max-width: 28rem;
  min-height: unset;
}

.komoot-grid--single {
  margin-top: 0.65rem;
}

@media (min-width: 700px) {
  .komoot-grid--single {
    grid-template-columns: 1fr;
    max-width: 24rem;
  }
}

.card-grid {
  display: grid;
  gap: 1rem;
  margin-top: 1.25rem;
}

@media (min-width: 640px) {
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

.card--highlight {
  border-color: rgba(45, 106, 126, 0.35);
  background: linear-gradient(145deg, #fffef9, var(--accent-soft));
}

.card h3 {
  margin-top: 0;
}

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

.link-list li {
  margin-bottom: 0.5rem;
}

.link-list a,
.card > a {
  color: var(--accent);
  font-weight: 600;
}

.link-list a:hover,
.card > a:hover {
  text-decoration: underline;
}

.link-list--inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1rem;
  background: var(--accent);
  color: #fff !important;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

.btn:hover {
  filter: brightness(1.06);
  text-decoration: none;
}

.komoot-grid {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

@media (min-width: 700px) {
  .komoot-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.komoot-card {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ff5c39 0%, #ff8a5c 100%);
  color: #fff !important;
  text-decoration: none;
  font-weight: 600;
  min-height: 5.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.komoot-card:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  text-decoration: none;
}

.komoot-card:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 2px;
}

.komoot-card__title {
  font-size: 1rem;
  line-height: 1.35;
}

.komoot-card__meta {
  font-size: 0.8rem;
  font-weight: 500;
  opacity: 0.95;
}

.weather-panel {
  margin: 1rem 0 1.5rem;
  padding: 1.35rem 1.25rem 1.5rem;
  background: linear-gradient(165deg, #f8fcfe 0%, var(--card) 55%, #eef6f9 100%);
  border-radius: var(--radius);
  border: 1px solid rgba(45, 106, 126, 0.2);
  box-shadow: var(--shadow);
}

.weather-panel__loading {
  margin: 0;
  color: var(--muted);
}

.weather-panel__error {
  margin: 0;
  color: #a32;
  font-weight: 600;
}

/* ——— Current conditions ——— */
.weather-current-root {
  margin: 0 0 1.35rem;
}

.weather-current-card {
  display: grid;
  gap: 1rem;
  padding: 1.15rem 1.2rem;
  background: linear-gradient(135deg, #fff 0%, #f0f7fa 100%);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 4px 20px rgba(45, 106, 126, 0.08);
}

.weather-current-card__main {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.weather-current-card__icon {
  font-size: 3.25rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

.weather-current-card__temp {
  display: block;
  font-size: clamp(2.5rem, 6vw, 3.25rem);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.03em;
  color: #0f2329;
  line-height: 1;
}

.weather-current-card__cond {
  margin: 0.25rem 0 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--accent);
}

.weather-current-card__feel {
  margin: 0.2rem 0 0;
  font-size: 0.92rem;
  color: var(--muted);
}

.weather-stat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 0.65rem;
}

.weather-stat-grid li {
  margin: 0;
  padding: 0.55rem 0.65rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 0.82rem;
}

.weather-stat-grid .weather-stat__label {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.weather-stat-grid .weather-stat__val {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: #0f2329;
}

.weather-uv-bar {
  height: 6px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}

.weather-uv-bar__fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6bcf7f 0%, #e8d44d 40%, #e8944a 72%, #d94a4a 100%);
  transition: width 0.45s ease;
}

/* ——— Daily strip ——— */
.weather-daily__title {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  color: #1a3540;
}

.weather-daily__hint {
  margin: 0 0 0.75rem;
}

.weather-daily-strip {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 0.65rem;
  margin: 0 -0.25rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
}

.weather-day-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: 8.65rem;
  padding: 0.75rem 0.65rem 0.85rem;
  background: linear-gradient(180deg, #fff 0%, #f5fafc 100%);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(28, 42, 51, 0.06);
  display: grid;
  gap: 0.35rem;
  text-align: center;
  font-size: 0.78rem;
}

.weather-day-card__dow {
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.weather-day-card__date {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: -0.15rem;
}

.weather-day-card__emoji {
  font-size: 1.85rem;
  line-height: 1;
  margin: 0.15rem 0;
}

.weather-day-card__temps {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.weather-day-card__hi {
  font-size: 1.15rem;
  font-weight: 800;
  color: #c45c28;
}

.weather-day-card__lo {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2d6a7e;
}

.weather-day-card__meta {
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.35;
}

.weather-day-card__uv {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 0.1rem;
}

.weather-day-card__uv-track {
  flex: 1;
  max-width: 4rem;
  height: 4px;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}

.weather-day-card__uv-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #6bcf7f, #e8944a, #d94a4a);
}

.weather-day-card__uv-num {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 0.72rem;
  min-width: 1.25rem;
}

@media (min-width: 720px) {
  .weather-daily-strip {
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
    justify-content: center;
  }

  .weather-day-card {
    width: 7.6rem;
  }

  .weather-daily__hint {
    display: none;
  }
}

.muted {
  color: var(--muted);
}

.small {
  font-size: 0.9rem;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.footer {
  background: #0f2329;
  color: rgba(255, 255, 255, 0.88);
  padding: 1.75rem 1.25rem;
  font-size: 0.9rem;
}

.footer__inner {
  max-width: 840px;
  margin: 0 auto;
}

.footer code {
  font-size: 0.85em;
  background: rgba(255, 255, 255, 0.12);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}

.footer__credit {
  margin: 1.1rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.footer__credit-label {
  display: inline-block;
  margin-right: 0.4rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.72rem;
}

.footer__brand {
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  transition: color 0.15s, border-color 0.15s;
}

.footer__brand:hover {
  color: #c8e3ef;
  border-bottom-color: #c8e3ef;
}

.footer__brand:focus-visible {
  outline: 2px solid #c8e3ef;
  outline-offset: 3px;
  border-radius: 2px;
}

@media print {
  .site-nav,
  .countdown,
  .weather-panel,
  .skip-link {
    display: none !important;
  }

  .hero {
    background: none;
    color: #000;
    padding: 1rem 0;
  }

  body {
    background: #fff;
    font-size: 11pt;
  }
}

/* ===== Login overlay ===== */
.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: #1a3a45;
  background-image:
    linear-gradient(
      160deg,
      rgba(15, 35, 41, 0.72) 0%,
      rgba(45, 106, 126, 0.55) 45%,
      rgba(15, 35, 41, 0.65) 100%
    ),
    var(--tui-hero-photo);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.login-overlay.hidden {
  display: none;
}

.login-card {
  background: var(--card);
  border-radius: 20px;
  padding: 2.25rem 2rem 2rem;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(15, 35, 41, 0.22);
  text-align: center;
}

.login-card__eyebrow {
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.login-card__title {
  font-family: var(--font);
  font-size: 1.9rem;
  font-weight: 700;
  color: #0f2329;
  margin: 0 0 0.3rem;
  letter-spacing: -0.02em;
}

.login-card__sub {
  font-size: 0.93rem;
  color: var(--muted);
  margin: 0 0 1.75rem;
}

.login-user-row {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.login-user-btn {
  flex: 1;
  padding: 0.75rem 0.5rem;
  border: 2px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.login-user-btn__avatar {
  font-size: 1.6rem;
  line-height: 1;
}

.login-user-btn:hover {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.login-user-btn.selected {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.login-pw-wrap {
  position: relative;
  margin-bottom: 1rem;
}

.login-pw-input {
  width: 100%;
  padding: 0.7rem 2.8rem 0.7rem 0.9rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  box-sizing: border-box;
}

.login-pw-input:focus {
  outline: 2px solid var(--sky-deep);
  outline-offset: 1px;
}

.login-pw-toggle {
  position: absolute;
  right: 0.7rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.05rem;
  color: var(--muted);
  padding: 0.2rem;
  line-height: 1;
}

.login-submit-btn {
  width: 100%;
  padding: 0.75rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.15s;
  letter-spacing: 0.01em;
}

.login-submit-btn:hover {
  filter: brightness(1.08);
}

.login-submit-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.login-error {
  margin: 0.75rem 0 0;
  font-size: 0.87rem;
  color: #b33;
  font-weight: 600;
  min-height: 1.2em;
}

.login-footer {
  margin-top: 1.5rem;
  font-size: 0.78rem;
  color: var(--muted);
}

/* ===== User chip in nav ===== */
.nav-user-chip {
  position: absolute;
  top: 50%;
  right: 0.65rem;
  transform: translateY(-50%);
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 0.32rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--accent);
  padding: 0.22rem 0.52rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--accent-soft);
  white-space: nowrap;
}

.nav-logout-btn {
  background: none;
  border: none;
  font-size: 0.72rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  font-family: var(--font-sans);
}

.nav-logout-btn:hover {
  color: #a33;
}

/* Blur page content while login is showing */
body.login-active > *:not(.login-overlay) {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

/* ===== Scroll-spy active nav ===== */
.site-nav a.active {
  background: var(--accent);
  color: #fff !important;
  border-color: transparent;
}

/* ===== Paklijst (packing checklist) ===== */
.checklist-progress {
  margin: 1rem 0 1.5rem;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.checklist-progress__label {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.progress-bar-track {
  height: 8px;
  background: var(--accent-soft);
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
  transition: width 0.35s ease;
  width: 0%;
}

.pack-category {
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.pack-category__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.pack-category__head h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #1a3540;
  flex: 1;
  min-width: 0;
}

.pack-category-add {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 1px solid var(--accent);
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, transform 0.12s;
}

.pack-category-add:hover {
  background: var(--accent);
  color: #fff;
}

.pack-category-add:focus-visible {
  outline: 2px solid var(--sky-deep);
  outline-offset: 2px;
}

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

@media (min-width: 600px) {
  .pack-list {
    grid-template-columns: repeat(2, 1fr);
  }
}

.pack-list li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.3rem 0.5rem;
  border-radius: 8px;
  transition: background 0.12s;
}

.pack-list li:hover {
  background: var(--accent-soft);
}

.pack-list input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.pack-row-label {
  font-size: 0.91rem;
  cursor: pointer;
  color: var(--ink);
  transition: color 0.15s;
  flex: 1;
  min-width: 0;
}

.pack-list li.pack-checked .pack-row-label {
  color: var(--muted);
  text-decoration: line-through;
}

.pack-actions {
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  align-items: center;
}

.pack-reset-btn {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--card);
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.pack-reset-btn:hover {
  background: #fdf0ef;
  color: #a33;
  border-color: #d9a;
}

.pack-summary {
  font-size: 0.88rem;
  color: var(--muted);
}

.pack-row {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pack-row__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
}

.pack-row-edit,
.pack-row .pack-row-del {
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.pack-row-edit:hover {
  background: rgba(45, 106, 126, 0.12);
  color: var(--accent);
}

.pack-row-edit:disabled {
  opacity: 0.45;
  cursor: default;
}

.pack-row .pack-row-del:hover {
  background: #fde8e8;
  color: #a33;
}

.pack-row-edit-input {
  flex: 1;
  min-width: 0;
  padding: 0.28rem 0.45rem;
  font-size: 0.91rem;
  border: 1px solid var(--accent);
  border-radius: 8px;
  font-family: var(--font-sans);
  color: var(--ink);
}

.baggage-add-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  background: var(--card);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.baggage-add-cat {
  min-width: 11rem;
  padding: 0.4rem 0.55rem;
  font-size: 0.88rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.baggage-add-text {
  flex: 1 1 160px;
  min-width: 140px;
  padding: 0.4rem 0.65rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.baggage-add-btn {
  padding: 0.45rem 0.95rem;
  font-size: 0.85rem;
  font-weight: 600;
  border: none;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  cursor: pointer;
  transition: filter 0.15s;
}

.baggage-add-btn:hover {
  filter: brightness(1.06);
}

.sync-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.75rem 0 0.35rem;
}

.sync-btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  transition: background 0.12s, filter 0.12s;
}

.sync-btn:hover {
  background: var(--accent-soft);
}

.sync-btn--primary {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.sync-btn--primary:hover {
  filter: brightness(1.06);
}

.sync-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sync-status {
  margin: 0.5rem 0 0;
  min-height: 1.25em;
}

.shopping-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin: 0.75rem 0 1rem;
}

.shopping-input {
  flex: 1 1 200px;
  min-width: 160px;
  padding: 0.45rem 0.7rem;
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
}

.shopping-add-btn,
.shopping-clear-btn {
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  transition: background 0.12s;
}

.shopping-add-btn {
  background: var(--accent);
  color: #fff;
  border-color: transparent;
}

.shopping-add-btn:hover {
  filter: brightness(1.06);
}

.shopping-clear-btn:hover {
  background: #fdf0ef;
  border-color: #d9a;
  color: #a33;
}

.shopping-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.shopping-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0.65rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: background 0.12s;
}

.shopping-item:hover {
  background: var(--accent-soft);
}

.shopping-check {
  width: 1rem;
  height: 1rem;
  accent-color: var(--accent);
  flex-shrink: 0;
  cursor: pointer;
}

.shopping-text {
  flex: 1;
  font-size: 0.92rem;
  color: var(--ink);
}

.shopping-item--done .shopping-text {
  color: var(--muted);
  text-decoration: line-through;
}

.shopping-del {
  flex-shrink: 0;
  width: 1.65rem;
  height: 1.65rem;
  padding: 0;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}

.shopping-del:hover {
  background: #fde8e8;
  color: #a33;
}

/* ===== Blog / Familie-updates ===== */
.blog-post {
  margin: 0 0 1.25rem;
  padding: 1.25rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.blog-post--pinned {
  border-color: rgba(45, 106, 126, 0.35);
  background: linear-gradient(145deg, #fffef9, var(--accent-soft));
}

.blog-post__meta {
  font-size: 0.79rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin: 0 0 0.45rem;
}

.blog-post__title {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  color: #0f2329;
}

.blog-post p {
  font-size: 0.95rem;
  margin: 0 0 0.6rem;
}

.blog-post p:last-child {
  margin-bottom: 0;
}

.note-area {
  margin-top: 2rem;
  padding: 1.35rem;
  background: var(--accent-soft);
  border: 1px solid rgba(45, 106, 126, 0.25);
  border-radius: var(--radius);
}

.note-area__title {
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
  color: #1a3540;
}

.note-form {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.note-form__name,
.note-form__text {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.note-form__text {
  min-height: 80px;
  resize: vertical;
}

.note-form__name:focus,
.note-form__text:focus {
  outline: 2px solid var(--sky-deep);
  outline-offset: 1px;
}

.note-form__submit {
  align-self: flex-start;
  padding: 0.5rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
}

.note-form__submit:hover {
  filter: brightness(1.08);
}

.note-list {
  margin: 1.1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.note-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  position: relative;
}

.note-item__header {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  flex-wrap: wrap;
  margin-bottom: 0.3rem;
}

.note-item__author {
  font-weight: 700;
  font-size: 0.86rem;
  color: var(--accent);
}

.note-item__date {
  font-size: 0.78rem;
  color: var(--muted);
}

.note-item__text {
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.55;
  white-space: pre-wrap;
  padding-right: 1.5rem;
}

.note-item__delete {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  font-size: 0.8rem;
  color: var(--muted);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0.2rem 0.3rem;
  line-height: 1;
  border-radius: 4px;
}

.note-item__delete:hover {
  color: #a33;
  background: #fdf0ef;
}

.note-empty {
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
  margin: 0.5rem 0 0;
}

/* ===== DAG-VOOR-DAG PLANNER ===== */

.day-planner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(13rem, 1fr));
  gap: 1rem;
  margin-top: 1.25rem;
}

.day-card {
  background: var(--card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem 0.9rem;
  cursor: pointer;
  transition: box-shadow 0.18s, border-color 0.18s, transform 0.12s;
  position: relative;
  overflow: hidden;
}

.day-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--sky-deep);
  transform: translateY(-2px);
}

.day-card--has-notes {
  border-left: 4px solid var(--accent);
}

.day-card__badge {
  position: absolute;
  top: 0.55rem;
  right: 0.65rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.day-card--special .day-card__badge {
  background: #fef3cd;
  color: #856404;
}

.day-card__daynum {
  font-family: var(--font);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  margin-bottom: 0.15rem;
}

.day-card__weekday {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.day-card__date {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.day-card__preview {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.45;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-style: italic;
}

.day-card__empty {
  font-size: 0.82rem;
  color: #bbb;
  font-style: italic;
}

/* Detail panel */
.day-detail-panel {
  margin-top: 1.5rem;
  background: var(--card);
  border: 1.5px solid var(--sky-deep);
  border-radius: var(--radius);
  padding: 1.25rem 1.4rem;
  box-shadow: var(--shadow);
}

.day-detail-panel.hidden {
  display: none;
}

.day-detail-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.9rem;
  gap: 0.75rem;
}

.day-detail-panel__title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.day-detail-panel__close {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  color: var(--muted);
  padding: 0.3rem 0.5rem;
  border-radius: 6px;
  line-height: 1;
}

.day-detail-panel__close:hover {
  background: var(--sand-deep);
  color: var(--ink);
}

.day-detail-textarea {
  width: 100%;
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.55;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.day-detail-textarea:focus {
  outline: 2px solid var(--sky-deep);
  outline-offset: 1px;
}

.day-detail-panel__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.65rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.day-detail-panel__chars {
  font-size: 0.78rem;
  color: var(--muted);
}

.day-detail-save-btn {
  padding: 0.45rem 1.1rem;
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: filter 0.15s;
}

.day-detail-save-btn:hover {
  filter: brightness(1.1);
}

.day-detail-save-btn.saved {
  background: #2d7a3c;
}

/* Day detail — other user's notes */
.day-detail-others {
  margin-bottom: 0.75rem;
}

.day-detail-other {
  background: var(--accent-soft);
  border: 1px solid rgba(45, 106, 126, 0.15);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--ink);
  line-height: 1.5;
}

.day-detail-other strong {
  color: var(--accent);
}

/* Blog post title override (already defined above; this ensures new posts match) */
.blog-post__title {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

/* ===== SPAANSE ZINNEN ===== */

.phrase-group {
  margin-bottom: 1.75rem;
}

.phrase-group__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.phrase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.65rem;
}

.phrase-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  cursor: pointer;
  transition: box-shadow 0.15s, border-color 0.15s;
  user-select: none;
}

.phrase-card:hover,
.phrase-card:focus {
  box-shadow: 0 4px 14px rgba(28, 42, 51, 0.1);
  border-color: var(--sky-deep);
  outline: none;
}

.phrase-card.open {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.phrase-card__nl {
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 0.25rem;
}

.phrase-card__es {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--ink);
}

.phrase-card__tip {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: var(--accent);
  font-style: italic;
  border-top: 1px dashed var(--border);
  padding-top: 0.35rem;
}

.phrase-card__tip.hidden {
  display: none;
}

/* ===== KLIMAATGRID ===== */
.climate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 0.85rem;
  margin: 1rem 0 1.25rem;
}

.climate-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-align: center;
  box-shadow: var(--shadow);
}

.climate-card__icon {
  font-size: 1.6rem;
  line-height: 1;
}

.climate-card__label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-top: 0.1rem;
}

.climate-card__val {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}

.climate-card__sub {
  font-size: 0.78rem;
  color: var(--muted);
}

.climate-details {
  background: var(--accent-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1.1rem;
  margin-bottom: 1.5rem;
}

.climate-details__summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--accent);
  font-size: 0.95rem;
  list-style: none;
}

.climate-details__summary::-webkit-details-marker {
  display: none;
}

.climate-details__body {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.climate-details__body p { margin: 0 0 0.65rem; }
.climate-details__body ul { padding-left: 1.4rem; margin: 0 0 0.65rem; }
.climate-details__body li { margin-bottom: 0.4rem; }

/* ===== APP LIJST ===== */
.app-list {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.app-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.app-item__icon {
  font-size: 1.5rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ===== ZON & GOLDEN HOUR TABEL ===== */
.sun-grid {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  margin: 1rem 0 0.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  box-shadow: var(--shadow);
}

.sun-grid__row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 1.25fr) minmax(5.5rem, 0.9fr) minmax(8.5rem, 1.35fr) minmax(8.5rem, 1.35fr) minmax(5.5rem, 0.9fr);
  align-items: center;
  border-top: 1px solid var(--border);
  min-width: 36rem;
}

.sun-grid__row:first-child {
  border-top: 0;
}

.sun-grid__row--head {
  background: var(--accent-soft, #f3eed9);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--accent, #b8823e);
}

.sun-grid__row--today {
  background: linear-gradient(
    90deg,
    rgba(255, 214, 112, 0.22),
    rgba(255, 214, 112, 0.05)
  );
  box-shadow: inset 3px 0 0 #f5a623;
}

.sun-grid__cell {
  padding: 0.6rem 0.75rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.sun-grid__cell--head {
  padding: 0.55rem 0.75rem;
}

.sun-grid__cell--day {
  font-weight: 600;
  color: var(--ink, #333);
}

.sun-cell__icon {
  font-size: 1rem;
  line-height: 1;
  flex-shrink: 0;
}

.sun-cell__val {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

@media (max-width: 700px) {
  .sun-grid {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 10px;
    scrollbar-width: thin;
  }
}

/* ===== WISHLIST / BUCKET LIST ===== */
.wishlist-add {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 1.2rem 0 1rem;
  box-shadow: var(--shadow);
}

.wishlist-add__row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: stretch;
}

.wishlist-add__select,
.wishlist-add__input {
  flex: 1 1 140px;
  min-width: 0;
  padding: 0.55rem 0.7rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
}

.wishlist-add__input {
  flex: 2 1 240px;
}

.wishlist-add__select:focus,
.wishlist-add__input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}

.wishlist-add__btn {
  padding: 0.55rem 1.1rem;
  border: none;
  background: var(--accent);
  color: var(--card);
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  flex: 0 0 auto;
}

.wishlist-add__btn:hover {
  filter: brightness(0.95);
}

.wishlist-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.wishlist-filter {
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--ink);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.wishlist-filter:hover {
  border-color: var(--accent);
}

.wishlist-filter--active {
  background: var(--accent);
  color: var(--card);
  border-color: var(--accent);
}

.wishlist-stats {
  margin-left: auto;
  font-size: 0.85rem;
  color: var(--muted);
}

.wishlist-mount {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wishlist-empty {
  color: var(--muted);
  text-align: center;
  padding: 1.2rem;
  margin: 0;
  font-style: italic;
  background: var(--accent-soft);
  border-radius: var(--radius);
}

.wishlist-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.7rem;
  align-items: flex-start;
  padding: 0.7rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--card);
  box-shadow: 0 2px 8px rgba(28, 42, 51, 0.04);
  transition: opacity 0.15s, border-color 0.15s;
}

.wishlist-item--must {
  border-left: 4px solid #d4884a;
}

.wishlist-item--want {
  border-left: 4px solid var(--accent);
}

.wishlist-item--maybe {
  border-left: 4px solid #8aa8b5;
}

.wishlist-item--done {
  opacity: 0.6;
  background: var(--accent-soft);
}

.wishlist-item--done .wishlist-item__text {
  text-decoration: line-through;
}

.wishlist-check {
  margin-top: 0.15rem;
  width: 20px;
  height: 20px;
  cursor: pointer;
  accent-color: var(--accent);
}

.wishlist-item__body {
  min-width: 0;
}

.wishlist-item__text {
  margin: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--ink);
  word-break: break-word;
}

.wishlist-item__meta {
  margin-top: 0.35rem;
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.6rem;
}

.wishlist-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem 0.5rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.75rem;
}

.wishlist-badge--must {
  background: #fbe6cf;
  color: #9e5b1d;
}

.wishlist-badge--maybe {
  background: #eef3f6;
  color: #546d78;
}

.wishlist-item__del {
  background: none;
  border: none;
  font-size: 1.1rem;
  color: var(--muted);
  cursor: pointer;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  line-height: 1;
  align-self: flex-start;
}

.wishlist-item__del:hover {
  background: rgba(212, 136, 136, 0.15);
  color: #a94442;
}

@media (max-width: 540px) {
  .wishlist-add__btn {
    width: 100%;
  }
  .wishlist-stats {
    width: 100%;
    margin-left: 0;
  }
}

/* ===== GLOBAL MOBILE REFINEMENTS ===== */
@media (max-width: 480px) {
  body {
    font-size: 1rem;
    line-height: 1.6;
  }

  .section h2 {
    font-size: 1.45rem;
  }

  .section h3 {
    font-size: 1.05rem;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero__date {
    font-size: 0.9rem;
  }

  .countdown__value {
    font-size: 1.6rem;
  }

  .card {
    padding: 0.9rem 1rem;
  }

  .blog-post {
    padding: 1rem;
  }

  .note-area {
    padding: 1rem;
  }

  .day-detail-panel {
    padding: 1rem;
  }

  .day-planner-grid {
    grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
    gap: 0.65rem;
  }

  .day-card {
    padding: 0.75rem 0.85rem 0.7rem;
  }

  .day-card__daynum {
    font-size: 1.5rem;
  }

  .weather-panel {
    padding: 1rem;
  }

  .beach-card,
  .komoot-card {
    padding: 0.85rem;
  }
}

