/* Kariyad.com — town discovery theme */
/* Noto Sans / Noto Sans Malayalam (OFL): static/fonts/noto-OFL.txt */

@font-face {
  font-family: "Noto Sans Malayalam";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/noto-sans-malayalam-regular.woff2") format("woff2");
  unicode-range: U+0D00-0D7F, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 400;
  font-display: optional;
  src: url("../fonts/noto-sans-regular.woff2") format("woff2");
  unicode-range: U+0020-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC;
}

:root {
  --color-bg: #f6f4ed;
  --color-surface: #fffef9;
  --color-text: #202d25;
  --color-text-muted: #687168;
  --color-border: #dcded2;
  --color-primary: #315c45;
  --color-primary-dark: #234331;
  --color-primary-soft: #d7e4a5;
  --color-lime: #d7e4a5;
  --color-accent: #d56a42;
  --color-footer: #f6f4ed;
  --font-display: "Noto Sans Malayalam", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Noto Sans Malayalam", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  --font-serif: "Noto Sans Malayalam", "Noto Sans", ui-sans-serif, system-ui, sans-serif;
  --radius: 4px;
  --radius-pill: 4px;
  --font-optical-nudge: 0.06em;
  --shadow: none;
  --shadow-sm: none;
  --max: 1120px;
  --header-h: 68px;
  --cat-shops: #e11d48;
  --cat-food: #ea580c;
  --cat-clinics: #0d9488;
  --cat-education: #7c3aed;
  --cat-services: #ca8a04;
  --cat-transport: #2563eb;
  --cat-businesses: #15803d;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  line-height: 1.35;
  font-weight: 600;
  font-synthesis: none;
  letter-spacing: 0;
  margin: 0 0 0.5em;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

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

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-h);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--header-h);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  flex-shrink: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.brand__mark img {
  width: 40px;
  height: 40px;
  display: block;
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--color-text);
  line-height: 1.25;
}

.brand__tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: var(--font-display);
}

.nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
}

.nav a {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  position: relative;
  padding: 0.25rem 0;
}

.nav a:hover,
.nav a.is-active {
  color: var(--color-primary);
}

.nav a.is-active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--color-primary);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--color-text);
}

.icon-btn:hover {
  background: var(--color-bg);
}

.icon-btn svg {
  width: 20px;
  height: 20px;
}

.lang-switch {
  display: flex;
  gap: 0.15rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-switch a {
  padding: 0.35rem 0.55rem;
  border-radius: 6px;
  color: var(--color-text-muted);
  text-decoration: none;
}

.lang-switch a.is-active {
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1;
  padding: calc(0.65rem + var(--font-optical-nudge)) 1.15rem 0.65rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  display: block;
  flex-shrink: 0;
  translate: 0 calc(var(--font-optical-nudge) * -1);
}

.btn--primary {
  background: var(--color-primary);
  color: #fff;
}

.btn--primary:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--color-text);
}

.btn--outline {
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
}

.btn--add {
  display: none;
}

.nav-toggle {
  display: grid;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .btn--add {
    display: inline-flex;
  }
  .nav-toggle {
    display: none;
  }
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--color-surface);
  padding: 1.5rem;
  z-index: 40;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav a {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-text);
  text-decoration: none;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--color-text);
  background: var(--color-bg);
  overflow: hidden;
  isolation: isolate;
}

.hero__bg {
  display: none;
}

@keyframes hero-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}

.hero__content {
  width: min(100% - 2rem, 720px);
  padding: 3rem 0 4rem;
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  font-weight: 500;
  margin-bottom: 0.75rem;
  color: var(--color-text);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero h1 span {
  color: var(--color-primary);
}

.hero__sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--color-text-muted);
  margin: 0 auto 1.75rem;
  max-width: 36em;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.4rem 0.4rem 0.4rem 1.1rem;
  box-shadow: none;
  max-width: 560px;
  margin: 0 auto;
}

.search-bar svg {
  width: 20px;
  height: 20px;
  color: var(--color-text-muted);
  flex-shrink: 0;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font: inherit;
  font-size: 0.95rem;
  color: var(--color-text);
  background: transparent;
  min-width: 0;
}

.search-bar .btn {
  flex-shrink: 0;
  padding: calc(0.7rem + var(--font-optical-nudge)) 1.35rem 0.7rem;
}

/* —— Category strip —— */
.cat-strip {
  background: var(--color-surface);
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--color-border);
}

.cat-strip__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 88px;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 400;
  text-align: center;
  transition: transform 0.2s ease;
}

.cat-item:hover {
  text-decoration: none;
  transform: translateY(-4px);
}

.cat-item__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: #e7eed4;
  box-shadow: none;
}

.cat-item__icon svg {
  width: 24px;
  height: 24px;
}

.cat-item--more .cat-item__icon {
  background: var(--color-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

/* —— Sections —— */
.section {
  padding: 3rem 0;
}

.section__title {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin-bottom: 1.25rem;
}

.section--white {
  background: var(--color-surface);
}

/* —— Map + categories —— */
.map-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 900px) {
  .map-grid {
    grid-template-columns: 1.4fr 1fr;
    align-items: start;
  }
}

.map-panel {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.map-panel__head {
  padding: 1rem 1.15rem;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.map-embed {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #e6e9d8;
  flex: 1;
}

.map-embed__slot,
.map-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-embed__boot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  background:
    linear-gradient(180deg, rgba(255, 254, 249, 0.2), rgba(49, 92, 69, 0.08)),
    #e6e9d8;
  color: var(--color-primary-dark);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
}

.map-embed__boot svg {
  width: 28px;
  height: 28px;
}

.map-embed__boot:hover,
.map-embed__boot:focus-visible {
  background:
    linear-gradient(180deg, rgba(255, 254, 249, 0.35), rgba(49, 92, 69, 0.14)),
    #e6e9d8;
}

.map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--color-border);
  background: #fbfaf5;
}

.filter-chip {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  padding: calc(0.35rem + var(--font-optical-nudge)) 0.75rem 0.35rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text-muted);
  cursor: pointer;
  text-decoration: none;
}

.filter-chip:hover,
.filter-chip.is-active {
  text-decoration: none;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
}

.filter-chip__dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 0.35rem;
  translate: 0 calc(var(--font-optical-nudge) * -1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.45);
}

.map-page-link {
  margin: 0;
  padding: 0.65rem 1rem 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.map-page-link a {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.map-page-link svg {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
  translate: 0 calc(var(--font-optical-nudge) * -1);
}

.map-panel > .map-page-link:last-child {
  padding-bottom: 0.85rem;
}

.map-page {
  padding-top: 1.25rem;
}

.map-legend {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  background: var(--color-surface);
}

.place-map {
  height: min(72vh, 760px);
  min-height: 420px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  background: #e6e9d8;
}

.place-map .maplibregl-popup-content {
  padding: 0.8rem 2rem 0.85rem 0.9rem;
  border-radius: 12px;
  box-shadow: var(--shadow);
  font-family: var(--font-body);
}

.place-map .maplibregl-popup-close-button {
  font-size: 1.25rem;
  padding: 0.15rem 0.4rem;
  color: var(--color-text-muted);
}

.map-popup__title {
  display: block;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.35;
  margin-bottom: 0.35rem;
  color: var(--color-text);
}

.map-popup__cat {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.01em;
  padding: 0.5em 0.85em 0.32em;
  border-radius: var(--radius-pill);
}

.map-popup__sub,
.map-popup__addr {
  margin: 0.35rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.4;
}

.map-popup__addr {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.map-popup__actions {
  display: flex;
  gap: 0.85rem;
  margin-top: 0.65rem;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.popular-list {
  background: var(--color-surface);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  padding: 1.15rem;
}

.popular-list h3 {
  font-size: 1.05rem;
  margin-bottom: 1rem;
}

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

.popular-list li + li {
  border-top: 1px solid var(--color-border);
}

.popular-list a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 0.15rem;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.15s;
}

.popular-list a:hover {
  opacity: 0.85;
}

.popular-list__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: #e7eed4;
  flex-shrink: 0;
}

.popular-list__icon svg {
  width: 18px;
  height: 18px;
}

.popular-list__meta {
  flex: 1;
  min-width: 0;
}

.popular-list__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
}

.popular-list__count {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* —— Place cards —— */
.place-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}

.place-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.place-card:hover {
  transform: translateY(-3px);
  border-color: #9bab8b;
}

.place-card__media {
  position: relative;
  aspect-ratio: 16 / 11;
  background: #e6e9d8;
  overflow: hidden;
}

.place-card__media-link {
  display: block;
  width: 100%;
  height: 100%;
  color: inherit;
}

.place-card__media-link:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--color-primary);
}

.place-card__media img,
.place-card__placeholder {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-card__placeholder {
  background: linear-gradient(135deg, #c8ddd0, #a8c4b4);
}

.place-card__fav {
  position: absolute;
  top: 0.65rem;
  right: 0.65rem;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  color: var(--color-text-muted);
  border: none;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease, background 0.15s ease;
}

.place-card__fav:hover {
  color: var(--color-accent);
  transform: scale(1.06);
}

.place-card__fav:focus-visible,
.place-detail__fav:focus-visible,
.place-detail__share:focus-visible,
.article__share:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary);
}

.place-card__fav.is-active,
.place-detail__fav.is-active {
  color: var(--color-accent);
}

.place-card__fav.is-active svg,
.place-detail__fav.is-active svg {
  fill: currentColor;
}

.place-card__fav svg,
.place-detail__fav svg,
.place-detail__share svg,
.article__share svg {
  width: 16px;
  height: 16px;
}

.place-detail__fav svg,
.place-detail__share svg,
.article__share svg {
  display: block;
  flex-shrink: 0;
  translate: 0 calc(var(--font-optical-nudge) * -1);
}

.place-card__tag {
  position: absolute;
  left: 0.65rem;
  bottom: 0.65rem;
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.5em 0.9em;
  border-radius: var(--radius-pill);
  color: #fffef9;
  background: var(--color-primary);
  pointer-events: none;
}

.place-card__body {
  padding: 0.9rem 1rem 1.1rem;
}

.place-card__title {
  font-size: 1.05rem;
  margin: 0 0 0.2rem;
}

.place-card__title a {
  color: inherit;
  text-decoration: none;
}

.place-card__title a:hover {
  color: var(--color-primary-dark);
}

.place-card__sub {
  display: block;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin: 0;
}

a.place-card__sub,
a.place-detail__sub,
a.map-popup__sub {
  text-decoration: none;
}

a.place-card__sub:hover,
a.place-detail__sub:hover,
a.map-popup__sub:hover {
  color: var(--color-primary-dark);
}

.place-card__actions {
  display: flex;
  align-items: stretch;
  gap: 0.4rem;
  margin-top: 0.7rem;
}

.place-card__sub + .place-card__actions {
  margin-top: 0.55rem;
}

.place-card__action {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 0;
  min-height: 2.15rem;
  padding: calc(0.3rem + var(--font-optical-nudge)) 0.5rem 0.3rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.place-card__action:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  text-decoration: none;
}

.place-card__action--wa {
  color: #0e6b60;
  background: color-mix(in srgb, #25d366 16%, white);
  border-color: transparent;
}

.place-card__action--wa:hover {
  background: #25d366;
  border-color: #25d366;
  color: #fff;
}

.place-card__action svg {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
  translate: 0 calc(var(--font-optical-nudge) * -1);
}

/* —— News + CTA —— */
.news-cta-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 800px) {
  .news-cta-grid {
    grid-template-columns: 1.2fr 1fr;
    align-items: start;
  }
}

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

.news-item {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.news-item:first-child {
  padding-top: 0;
}

.news-item__thumb {
  width: 88px;
  height: 72px;
  border-radius: 8px;
  overflow: hidden;
  background: #e6e9d8;
}

.news-item__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-item__date {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  font-family: var(--font-display);
}

.news-item__title {
  font-size: 1rem;
  margin: 0.15rem 0 0.35rem;
}

.news-item__title a {
  color: inherit;
  text-decoration: none;
}

.news-item__title a:hover {
  color: var(--color-primary-dark);
}

.news-item__excerpt {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin: 0;
}

.cta-card {
  background: var(--color-primary-soft);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  border: 1px solid #c5d48a;
  text-align: center;
}

.cta-card__art {
  width: 120px;
  height: 80px;
  margin: 0 auto 1rem;
  color: var(--color-primary-dark);
  opacity: 0.7;
}

.cta-card h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.cta-card .btn {
  margin-bottom: 1.25rem;
}

.cta-points {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem 1.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  font-family: var(--font-display);
  color: var(--color-text-muted);
}

.cta-points li {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.cta-points svg {
  width: 14px;
  height: 14px;
  color: var(--color-primary);
  display: block;
  flex-shrink: 0;
  translate: 0 calc(var(--font-optical-nudge) * -1);
}

/* —— Page chrome —— */
.page-hero {
  padding: 2.5rem 0 1.5rem;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
}

.page-hero h1 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
}

.page-hero__en {
  margin-top: 0.2rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
}

.page-hero p {
  color: var(--color-text-muted);
  margin: 0;
  max-width: 40em;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1.5rem;
}

.toolbar .search-bar {
  margin: 0;
  flex: 1;
  min-width: 200px;
  max-width: none;
  border: 1px solid var(--color-border);
  box-shadow: none;
}

.toolbar .place-chips {
  border: none;
  padding: 0;
  background: transparent;
}

.search-status {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 0.75rem;
  margin: 2rem 0 0;
}

.pagination__pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.pagination__btn,
.pagination__num {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  min-height: 2.25rem;
  padding: calc(0.3rem + var(--font-optical-nudge)) 0.75rem 0.3rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.pagination__num {
  min-width: 2.25rem;
  justify-content: center;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.pagination__btn:hover,
.pagination__num:hover {
  text-decoration: none;
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
}

.pagination__num.is-current {
  border-color: var(--color-primary);
  background: var(--color-primary);
  color: #fff;
}

.pagination__btn.is-disabled {
  opacity: 0.45;
  cursor: default;
}

.pagination__gap {
  color: var(--color-text-muted);
  padding: 0 0.15rem;
}

/* —— Place single —— */
.place-detail {
  --place-rail: 340px;
  --place-gap: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.35rem 0 3rem;
}

.place-detail__head h1 {
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  margin: 0;
}

.place-detail__back {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: 0.92rem;
}

.place-detail__back a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.place-detail__back a:hover {
  color: var(--color-primary-dark);
}

.place-detail__en {
  margin: 0.2rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.place-detail__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.85rem;
  margin-top: 0.8rem;
}

.place-detail__sub {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.place-detail__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-left: auto;
}

.place-detail__fav,
.place-detail__share,
.article__share {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 2rem;
  padding: calc(0.3rem + var(--font-optical-nudge)) 0.75rem 0.3rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-surface);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.place-detail__fav:hover,
.place-detail__share:hover,
.article__share:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.place-detail__fav span,
.place-detail__share span,
.article__share span {
  display: none;
}
@media (min-width: 700px) {
  .place-detail__fav span,
  .place-detail__share span,
  .article__share span {
    display: block;
  }
}

.place-mosaic--solo .place-carousel__viewport {
  aspect-ratio: 2.05 / 1;
  max-height: 460px;
}

.place-mosaic__cell {
  display: none;
  position: relative;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: #e6e9d8;
  cursor: zoom-in;
}

.place-mosaic__cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-mosaic__cell:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 3px var(--color-primary);
}

.place-mosaic__more {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(8, 16, 12, 0.46);
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

@media (min-width: 800px) {
  .place-mosaic--multi,
  .place-mosaic--duo {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 0.4rem;
    height: min(440px, 48vw);
    border-radius: var(--radius);
    overflow: hidden;
  }

  .place-mosaic--multi {
    grid-template-rows: 1fr 1fr;
  }

  .place-mosaic--multi .place-carousel,
  .place-mosaic--duo .place-carousel {
    display: flex;
    flex-direction: column;
    grid-row: 1 / -1;
    min-width: 0;
    min-height: 0;
  }

  .place-mosaic--multi .place-carousel__stage,
  .place-mosaic--duo .place-carousel__stage,
  .place-mosaic--multi .place-carousel__viewport,
  .place-mosaic--duo .place-carousel__viewport {
    height: 100%;
    min-height: 0;
  }

  .place-mosaic--multi .place-carousel__viewport,
  .place-mosaic--duo .place-carousel__viewport {
    aspect-ratio: auto;
    border-radius: 0;
  }

  .place-mosaic .place-carousel__nav,
  .place-mosaic .place-carousel__thumbs,
  .place-mosaic .place-carousel__count {
    display: none;
  }

  .place-mosaic__cell {
    display: block;
  }
}

@media (min-width: 900px) {
  .place-mosaic--multi,
  .place-mosaic--duo {
    grid-template-columns: minmax(0, 1fr) var(--place-rail);
    gap: var(--place-gap);
  }
}

.place-detail__body {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.place-detail__story {
  margin: 0;
  min-width: 0;
}

.place-detail__panel {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.35rem 1.25rem 0.5rem;
  box-shadow: var(--shadow-sm);
}

.place-detail__panel .place-meta-list li > div {
  min-width: 0;
}

.place-meta-list__value {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.2rem;
  min-width: 0;
}

.place-meta-list__value a {
  overflow-wrap: anywhere;
}

.place-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  padding: 0.85rem 0;
}

.place-actions + .place-meta-list {
  border-top: 1px solid var(--color-border);
}

.place-action {
  flex: 1 1 calc(50% - 0.4rem);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.35rem;
  padding: calc(0.35rem + var(--font-optical-nudge)) 0.6rem 0.35rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.place-action:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  text-decoration: none;
}

.place-action--wa {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
  border-color: transparent;
}

.place-action--wa:hover {
  background: var(--color-primary);
  color: #fff;
}

.place-action svg {
  width: 15px;
  height: 15px;
  display: block;
  flex-shrink: 0;
  translate: 0 calc(var(--font-optical-nudge) * -1);
}

@media (min-width: 900px) {
  .place-detail__body--split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) var(--place-rail);
    grid-template-rows: auto minmax(280px, 1fr);
    align-items: stretch;
    column-gap: var(--place-gap);
    row-gap: 1.25rem;
  }

  .place-detail__body--split .place-detail__story {
    grid-column: 1;
    grid-row: 1;
  }

  .place-detail__body--split .place-detail__map {
    grid-column: 1;
    grid-row: 2;
    aspect-ratio: auto;
    height: 100%;
    min-height: 280px;
  }

  .place-detail__body--split:not(:has(.place-detail__story)) .place-detail__map {
    grid-row: 1 / span 2;
  }

  .place-detail__body--split .place-detail__panel {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: start;
    position: sticky;
    top: calc(var(--header-h) + 1rem);
  }
}

.place-detail__media {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 2.05 / 1;
  max-height: 460px;
  background: #e6e9d8;
}

.place-detail__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.place-carousel__stage {
  position: relative;
}

.place-carousel__viewport {
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background: #e6e9d8;
  cursor: zoom-in;
  outline: none;
}

.place-carousel__viewport:focus-visible {
  box-shadow: 0 0 0 3px var(--color-primary-soft), 0 0 0 5px var(--color-primary);
}

.place-carousel__track {
  display: flex;
  height: 100%;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}

.place-carousel__slide {
  flex: 0 0 100%;
  height: 100%;
}

.place-carousel__slide img,
.place-carousel__thumb img {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}

.place-carousel__nav,
.lightbox__nav,
.lightbox__close {
  border: 0;
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.94);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.place-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.4rem;
  height: 2.4rem;
  margin-top: -1.2rem;
  border-radius: 50%;
}

.place-carousel__nav--prev { left: 0.65rem; }
.place-carousel__nav--next { right: 0.65rem; }

.place-carousel__nav:hover,
.lightbox__nav:hover,
.lightbox__close:hover {
  background: #fff;
}

.place-carousel__count,
.lightbox__count {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.place-carousel__count {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  z-index: 2;
  line-height: 1;
  padding: calc(0.2rem + var(--font-optical-nudge)) 0.55rem 0.2rem;
  border-radius: var(--radius-pill);
  color: #fff;
  background: rgba(15, 23, 32, 0.62);
}

.place-carousel__thumbs {
  display: flex;
  gap: 0.45rem;
  margin-top: 0.55rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 0.15rem;
}

.place-carousel__thumb {
  flex: 0 0 4.35rem;
  height: 3.15rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 0.45rem;
  overflow: hidden;
  background: #e6e9d8;
  cursor: pointer;
  scroll-snap-align: start;
}

.place-carousel__thumb.is-active {
  border-color: var(--color-primary);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(8, 12, 16, 0.9);
  cursor: zoom-out;
}

.lightbox__figure {
  position: relative;
  z-index: 1;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 0.75rem;
  pointer-events: none;
}

.lightbox__img {
  max-width: min(1080px, calc(100vw - 7rem));
  max-height: calc(100vh - 7rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: scale(0.96);
  transition: opacity 0.32s ease, transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.lightbox.is-open .lightbox__img.is-shown {
  opacity: 1;
  transform: scale(1);
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
}

.lightbox__close {
  top: 1rem;
  right: 1rem;
  width: 2.6rem;
  height: 2.6rem;
}

.lightbox__nav {
  top: 50%;
  width: 2.8rem;
  height: 2.8rem;
  margin-top: -1.4rem;
}

.lightbox__nav--prev { left: 1rem; }
.lightbox__nav--next { right: 1rem; }

.lightbox__count {
  color: rgba(255, 255, 255, 0.88);
}

body.lightbox-open {
  overflow: hidden;
}

@media (max-width: 640px) {
  .lightbox__img {
    max-width: calc(100vw - 1.5rem);
    max-height: calc(100vh - 8rem);
  }

  .lightbox__nav--prev { left: 0.4rem; }
  .lightbox__nav--next { right: 0.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  .place-carousel__track,
  .lightbox,
  .lightbox__img {
    transition: none;
  }
}

.place-detail__tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  padding: 0.5em 0.95em;
  border-radius: var(--radius-pill);
  color: #fffef9;
  background: var(--color-primary);
}

.place-meta-list {
  list-style: none;
  margin: 1.25rem 0 0;
  padding: 0;
}

.place-meta-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.95rem;
}

.place-meta-list svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.hours {
  flex: 1;
  min-width: 0;
}

.hours__plain {
  margin: 0.15rem 0 0;
}

.hours__status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0 0 0 0.4rem;
  padding: 0.36rem 0.6rem 0.18rem 0.45rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
}

.hours__status::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
  translate: 0 calc(var(--font-optical-nudge) * -1);
}

.hours__status--open {
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
}

.hours__status--soon {
  color: var(--color-accent);
  background: #f6e6df;
}

.hours__status--closed {
  color: var(--color-text-muted);
  background: #eceae2;
}

.hours__week {
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.12rem;
}

.place-meta-list .hours__week li {
  display: grid;
  grid-template-columns: 2.4rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  margin: 0;
  padding: 0.28rem 0.5rem;
  border: 0;
  border-radius: 8px;
  font-size: 0.92rem;
}

.hours__week li.is-today {
  background: var(--color-primary-soft);
  font-weight: 700;
}

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

.hours__week li.is-today .hours__day {
  color: var(--color-primary-dark);
}

.hours__time {
  text-align: right;
}

.hours__time.is-closed {
  color: var(--color-text-muted);
  font-weight: 500;
}

.place-detail__panel .place-meta-list {
  margin-top: 0;
}

.place-detail__panel .place-meta-list li:first-child {
  border-top: 0;
}

.place-detail__map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--color-border);
  aspect-ratio: 16 / 10;
  min-height: 220px;
  position: relative;
  background: #e6e9d8;
}

.place-detail__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.prose {
  max-width: 42em;
}

.article .prose {
  max-width: none;
}

.prose > :first-child {
  margin-top: 0;
}

.prose > :last-child {
  margin-bottom: 0;
}

.prose p {
  margin: 0 0 1em;
}

.prose h2,
.prose h3,
.prose h4 {
  color: var(--color-primary-dark);
}

.prose h2 {
  font-size: 1.4rem;
  margin: 1.75rem 0 0.7rem;
}

.prose h3 {
  font-size: 1.15rem;
  margin: 1.4rem 0 0.5rem;
}

.prose h4 {
  font-size: 1.05rem;
  margin: 1.2rem 0 0.4rem;
}

.prose ul,
.prose ol {
  margin: 0 0 1.15rem;
  padding-left: 1.35rem;
}

.prose li {
  margin: 0.28rem 0;
}

.prose li > ul,
.prose li > ol {
  margin: 0.2rem 0 0.35rem;
}

.prose a {
  text-decoration: underline;
  text-underline-offset: 0.16em;
  text-decoration-thickness: 1px;
}

.prose hr {
  border: 0;
  height: 1px;
  background: var(--color-border);
  margin: 1.75rem 0;
}

.prose blockquote {
  margin: 1.25rem 0 1.4rem;
  padding: 0.9rem 1.15rem 0.85rem 1.2rem;
  border-left: 4px solid var(--color-primary);
  background: color-mix(in srgb, var(--color-lime) 42%, var(--color-surface));
  border-radius: 0 var(--radius) var(--radius) 0;
}

.prose blockquote p:last-child {
  margin-bottom: 0;
}

.prose blockquote cite,
.prose blockquote footer {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-style: normal;
}

.prose figure {
  margin: 1.25rem 0 1.5rem;
}

.prose figcaption {
  margin-top: 0.45rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  text-align: center;
}

.prose img,
.prose video {
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

.prose p img,
.prose p video {
  margin: 0.2rem 0 0.4rem;
}

.prose iframe,
.prose video {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 0;
  border-radius: var(--radius);
  background: #1f2a24;
}

.prose iframe[src*="youtube"],
.prose iframe[src*="youtu.be"],
.prose iframe[src*="youtube-nocookie"],
.prose iframe[src*="vimeo"],
.prose video {
  aspect-ratio: 16 / 9;
  height: auto;
  margin: 1.15rem 0 1.4rem;
}

.prose p:has(> iframe),
.prose p:has(> video) {
  margin: 0;
}

.prose code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.88em;
  background: #eef0e4;
  padding: 0.12em 0.35em;
  border-radius: 3px;
}

.prose pre {
  overflow-x: auto;
  background: #1f2a24;
  color: #f6f4ed;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  margin: 1.15rem 0 1.4rem;
  font-size: 0.88rem;
  line-height: 1.5;
}

.prose pre code {
  background: none;
  padding: 0;
  color: inherit;
}

.prose-table {
  margin: 1.25rem 0 1.5rem;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.prose-table:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  line-height: 1.45;
}

.prose-table table {
  margin: 0;
  min-width: 36rem;
}

.prose caption {
  caption-side: bottom;
  padding: 0.65rem 0.85rem 0.75rem;
  text-align: left;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.prose thead th {
  background: var(--color-primary);
  color: #fffef9;
  font-weight: 700;
  text-align: left;
  padding: 0.7rem 0.85rem 0.55rem;
  white-space: nowrap;
}

.prose tbody td {
  padding: 0.55rem 0.85rem 0.5rem;
  border-top: 1px solid var(--color-border);
  vertical-align: top;
}

.prose tbody tr:nth-child(even) {
  background: #f3f4ea;
}

.prose > table {
  display: block;
  overflow-x: auto;
  width: max-content;
  max-width: 100%;
  min-width: 100%;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-surface);
}

.article {
  padding: 2rem 0 3rem;
  max-width: 760px;
}

.article__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.6rem 0.85rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  font-family: var(--font-display);
  margin-bottom: 1.5rem;
}

.article__meta-info {
  margin: 0;
}

.article__share {
  margin-left: auto;
}

.article__cover {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 21 / 10;
  background: #e6e9d8;
}

.article__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* —— Forms —— */
.form {
  max-width: 640px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.form label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.form .field {
  margin-bottom: 1rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.form textarea {
  min-height: 110px;
  resize: vertical;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  outline: 2px solid var(--color-primary-soft);
  border-color: var(--color-primary);
}

.form select:disabled {
  color: var(--color-text-muted);
  background: var(--color-bg);
}

.form-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.25rem;
}

.form-section + .form-section {
  margin-top: 0.35rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--color-border);
}

.form-note {
  margin: -0.2rem 0 0.9rem;
  color: var(--color-text-muted);
  font-size: 0.92rem;
}

.captcha {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.captcha__q {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  white-space: nowrap;
}

.captcha input {
  max-width: 6.5rem;
}

.form-row {
  display: grid;
  gap: 0 0.75rem;
}

.req {
  color: var(--color-accent);
  font-weight: 700;
  text-decoration: none;
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--color-accent);
}

.field__error {
  margin: 0.35rem 0 0;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
}

.field__error[hidden] {
  display: none;
}

@media (min-width: 700px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

.form-success {
  display: none;
  padding: 1rem;
  background: var(--color-primary-soft);
  border-radius: 8px;
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 1rem;
}

.form-success.is-visible {
  display: block;
}

.listing-help {
  background: #e7eed4;
  border-bottom: 1px solid var(--color-border);
  padding: 1.35rem 0;
  margin-bottom: 2.5rem;
}

.listing-help__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.listing-help__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-lime);
}

.listing-help__copy {
  flex: 1 1 16rem;
  min-width: 0;
}

.listing-help__copy h2 {
  margin: 0;
  font-size: 1.15rem;
}

.listing-help__copy p {
  margin: 0.2rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.listing-help__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.listing-help__actions .btn {
  min-height: 2.6rem;
}

.place-report {
  margin:-.25rem 0 0
}
.place-report button {
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.2rem 0;
  border:0;
  background:0 0;
  color:var(--color-text-muted);
  font:inherit;
  font-size:.92rem;
  cursor:pointer
}
.place-report button:hover {
  color:var(--color-primary-dark)
}
.place-report svg {
  width:16px;
  height:16px
}

.comments {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--color-border);
}

.place-detail > .comments {
  margin-top: 0.5rem;
  max-width: 760px;
}

.comments h2 {
  margin: 0;
  font-size: 1.2rem;
}

.comments__lead {
  margin: 0.35rem 0 1.1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

#echothread {
  min-height: 8rem;
}

.dialog {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  align-items: end;
  justify-items: center;
}

.dialog[hidden] {
  display: none;
}

.dialog__backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  padding: 0;
  background: rgba(32, 45, 37, 0.48);
  opacity: 0;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

.dialog__panel:focus {
  outline: none;
}

.dialog__panel {
  position: relative;
  width: min(100%, 560px);
  max-height: min(92dvh, 760px);
  overflow: auto;
  margin: 0;
  padding: 1.15rem 1.15rem 1.25rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px 16px 0 0;
  box-shadow: 0 18px 50px rgba(32, 45, 37, 0.18);
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.dialog.is-open .dialog__backdrop {
  opacity: 1;
}

.dialog.is-open .dialog__panel {
  opacity: 1;
  transform: none;
}

.dialog__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.dialog__head h2 {
  margin: 0;
  font-size: 1.45rem;
}

.dialog__about {
  margin: 0.15rem 0 0;
  color: var(--color-text-muted);
  font-family: var(--font-display);
  font-size: 0.95rem;
}

.dialog__intro {
  margin: 0.75rem 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.dialog__close {
  display: grid;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-text);
  cursor: pointer;
}

.dialog .form {
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.dialog .form label span,
.form label span {
  font-weight: 500;
  color: var(--color-text-muted);
}

.choice-grid {
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.choice-grid legend {
  width: 100%;
  margin-bottom: 0.55rem;
  padding: 0;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.choice {
  display: inline-flex;
  align-items: center;
  padding: calc(0.45rem + var(--font-optical-nudge)) 0.75rem 0.45rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  background: var(--color-bg);
  color: var(--color-text);
  font: inherit;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.choice:hover {
  border-color: var(--color-primary);
}

.choice[aria-pressed="true"] {
  background: var(--color-primary-soft);
  border-color: transparent;
  color: var(--color-primary-dark);
}

.choice:focus-visible,
.dialog__close:focus-visible,
.listing-help__actions .btn:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.dialog__row {
  display: grid;
  gap: 0 0.75rem;
}

.dialog__alert {
  margin: 0 0 0.85rem;
  color: var(--color-accent);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.dialog__alert[hidden] {
  display: none;
}

.dialog__actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.dialog__actions .btn--primary {
  min-width: 9rem;
}

body.dialog-open {
  overflow: hidden;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 1.25rem;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: min(calc(100% - 2rem), 420px);
  margin: 0;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  background: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 12px 32px rgba(32, 45, 37, 0.22);
  opacity: 0;
  transform: translateX(-50%) translateY(0.75rem);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast[hidden] {
  display: none;
}

.toast.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.toast.is-error {
  background: #6d3a2e;
}

.toast::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--color-primary-soft);
}

.toast.is-error::before {
  background: #f0b7a6;
}

@media (min-width: 700px) {
  .dialog {
    align-items: center;
    padding: 1.5rem;
  }

  .dialog__panel {
    border-radius: 16px;
    padding: 1.35rem 1.4rem 1.4rem;
  }

  .dialog__row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dialog__backdrop,
  .dialog__panel,
  .toast {
    transition: none;
  }
}

.category-index {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.subcat-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.25rem;
}

.toolbar + .subcat-links {
  margin-top: -0.5rem;
}

.subcat-group + .subcat-group {
  margin-top: 1.5rem;
}

.subcat-group h2 {
  font-size: 1.15rem;
  margin: 0 0 0.75rem;
}

.category-tile {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.category-tile:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.category-tile__icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: #e7eed4;
}

.category-tile__icon svg {
  width: 22px;
  height: 22px;
}

.category-tile__name {
  font-family: var(--font-display);
  font-weight: 700;
}

.category-tile__count {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

/* —— Footer —— */
.site-footer {
  background: var(--color-footer);
  color: var(--color-text-muted);
  padding: 2.5rem 0 1.5rem;
  border-top: 1px solid var(--color-border);
}

.site-footer:has(.listing-help) {
  padding-top: 0;
}

.site-footer a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--color-text);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer .brand__name {
  color: var(--color-text);
}

.site-footer .brand__tagline {
  color: var(--color-text-muted);
}

.site-footer .brand__mark {
  background: transparent;
}

.footer-col h4 {
  color: var(--color-text);
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 1.5rem;
}

.footer-col li {
  break-inside: avoid;
  margin-bottom: 0.45rem;
}

.social {
  display: flex;
  gap: 0.65rem;
}

.social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-primary);
  display: grid;
  place-items: center;
}

.social a:hover {
  background: var(--color-primary);
  color: var(--color-surface);
  text-decoration: none;
}

.social svg {
  width: 18px;
  height: 18px;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  justify-content: space-between;
  color: var(--color-text-muted);
}

/* —— Nearby essentials —— */
.nearby-home {
  background: #e7eed4;
  border-top: 1px solid var(--color-border);
  padding: 3rem 0 3.25rem;
}

.nearby-home__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-bottom: 1.75rem;
}

.nearby-home__head h2 {
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  margin: 0;
}

.nearby-home__head p {
  margin: 0.4rem 0 0;
  max-width: 38em;
  color: var(--color-text-muted);
}

.nearby-home__head a {
  display: inline-flex;
  align-items: center;
  gap: 0.15rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.nearby-home__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.25rem 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nearby-home__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 96px;
  text-align: center;
  text-decoration: none;
  color: var(--color-text);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  transition: transform 0.2s ease;
}

.nearby-home__item:hover {
  text-decoration: none;
  transform: translateY(-4px);
}

.nearby-home__icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--color-primary-dark);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
}

.nearby-home__icon svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 640px) {
  .nearby-home__head {
    flex-direction: column;
    align-items: flex-start;
  }
}

.nearby-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
}

.nearby-group {
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.nearby-group + .nearby-group {
  margin-top: 2.25rem;
}

.nearby-group__title {
  font-size: 1.35rem;
  margin: 0 0 0.35rem;
}

.nearby-group__lead {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  max-width: 42em;
}

.nearby-grid {
  display: grid;
  gap: 0.85rem;
}

.nearby-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.05rem 0.35rem;
  scroll-margin-top: calc(var(--header-h) + 0.75rem);
}

.nearby-card__head {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.nearby-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--color-primary);
  background: #e7eed4;
}

.nearby-card__name {
  font-size: 1.05rem;
  margin: 0;
  line-height: 1.3;
}

.nearby-card__en {
  margin: 0.1rem 0 0;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.nearby-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.75rem;
  margin: 0.75rem 0 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}

.nearby-card__address,
.nearby-card__phones {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  margin: 0.55rem 0 0;
  color: var(--color-text);
  font-size: 0.9rem;
}

.nearby-card__address svg,
.nearby-card__phones svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--color-text-muted);
}

.nearby-card__phones span {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem 0.75rem;
}

.nearby-card .place-actions {
  margin-top: 0.35rem;
}

@media (min-width: 720px) {
  .nearby-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* —— 404 —— */
.error-page {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--color-bg);
  overflow: hidden;
}

.error-page__content {
  width: min(100% - 2rem, 640px);
  padding: 3.5rem 0 3rem;
}

.error-page__code {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--color-primary);
  opacity: 0.28;
}

.error-page h1 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  margin-bottom: 0.65rem;
  letter-spacing: -0.03em;
}

.error-page__sub {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: var(--color-text-muted);
  margin: 0 auto 1.75rem;
  max-width: 34em;
}

.error-page .search-bar {
  margin-bottom: 1.5rem;
}

.error-page__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
}

.error-page__ghost {
  border: 1px solid var(--color-border);
  background: var(--color-surface);
}

.error-page__ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary-dark);
  background: var(--color-primary-soft);
}

.error-page__hint {
  margin: 0 0 1.25rem;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

/* —— Gallery —— */
.gallery-grid {
  columns: 2;
  column-gap: 0.85rem;
}

@media (min-width: 720px) {
  .gallery-grid {
    columns: 3;
    column-gap: 1.1rem;
  }
}

@media (min-width: 1020px) {
  .gallery-grid {
    columns: 4;
  }
}

.gallery-item {
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 0.85rem;
  display: block;
  width: 100%;
}

.gallery-item[hidden] {
  display: none;
}

@media (min-width: 720px) {
  .gallery-item {
    margin-bottom: 1.1rem;
  }
}

.gallery-tile {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #e6e9d8;
  cursor: zoom-in;
}

.gallery-item--reel .gallery-tile {
  aspect-ratio: 9 / 16;
  cursor: pointer;
}

.gallery-tile img {
  width: 100%;
  height: auto;
  max-width: none;
  display: block;
  vertical-align: top;
}

.gallery-tile video {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}

@supports (grid-template-rows: masonry) {
  .gallery-grid {
    display: grid;
    columns: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: masonry;
    gap: 0.85rem;
  }

  .gallery-item {
    margin-bottom: 0;
  }

  @media (min-width: 720px) {
    .gallery-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 1.1rem;
    }
  }

  @media (min-width: 1020px) {
    .gallery-grid {
      grid-template-columns: repeat(4, minmax(0, 1fr));
    }
  }
}

.gallery-tile__ig {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--color-primary);
  background: linear-gradient(160deg, #f6f4ed, #d7e4a5);
}

.gallery-tile__play {
  position: absolute;
  inset: auto auto 0.7rem 0.7rem;
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(15, 23, 32, 0.62);
  pointer-events: none;
}

.gallery-tile__badge {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: calc(0.2rem + var(--font-optical-nudge)) 0.5rem 0.2rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  color: #fff;
  background: rgba(15, 23, 32, 0.62);
  pointer-events: none;
}

.gallery-tile__badge svg {
  width: 14px;
  height: 14px;
}

.gallery-item__caption {
  margin: 0.45rem 0 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
}

.lightbox__video,
.lightbox__embed {
  position: relative;
  z-index: 1;
  pointer-events: auto;
  border: 0;
  border-radius: 10px;
  background: #000;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.lightbox__video {
  max-width: min(420px, calc(100vw - 3rem));
  max-height: calc(100vh - 7rem);
  width: auto;
  height: auto;
}

.lightbox__embed {
  width: min(400px, calc(100vw - 2rem));
  height: min(720px, calc(100vh - 7rem));
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Bold faces (were fonts-bold.css). */
/* SemiBold files stand in for both 600 and 700 so headings never
   synthesize a bold from the regular face. */
@font-face {
  font-family: "Noto Sans Malayalam";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/noto-sans-malayalam-semibold.woff2") format("woff2");
  unicode-range: U+0D00-0D7F, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Noto Sans Malayalam";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-sans-malayalam-semibold.woff2") format("woff2");
  unicode-range: U+0D00-0D7F, U+200C-200D, U+25CC;
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/noto-sans-semibold.woff2") format("woff2");
  unicode-range: U+0020-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC;
}

@font-face {
  font-family: "Noto Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/noto-sans-semibold.woff2") format("woff2");
  unicode-range: U+0020-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC;
}

/* WordPress comments and Turnstile (were wp.css). */
.comment-list,
.comment-list .children {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list {
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.comment-list .children {
  margin-top: 0.9rem;
  padding-left: 0.9rem;
  border-left: 2px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.comment__card {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  column-gap: 0.85rem;
  row-gap: 0.2rem;
  padding: 0.95rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.comment__avatar {
  grid-column: 1;
  grid-row: 1 / -1;
  align-self: start;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--color-primary-soft);
  color: var(--color-primary-dark);
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1;
}

.comment__meta,
.comment__awaiting,
.comment__content,
.comment__reply {
  grid-column: 2;
}

.comment__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.65rem;
  min-width: 0;
}

.comment__author {
  font-weight: 600;
}

.comment__author a {
  color: inherit;
}

.comment__date {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

.comment__awaiting {
  margin: 0.15rem 0 0;
  color: var(--color-accent);
  font-size: 0.88rem;
}

.comment__content {
  min-width: 0;
}

.comment__content p {
  margin: 0.35rem 0 0;
}

.comment__content p:first-child {
  margin-top: 0.15rem;
}

.comment__reply {
  margin: 0.45rem 0 0;
}

.comment__reply a {
  font-size: 0.88rem;
  font-weight: 600;
}

.comments .comment-respond {
  margin-top: 0.25rem;
}

.comments .comment-reply-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.85rem;
  margin: 0 0 0.85rem;
  font-size: 1.05rem;
}

.comments .comment-reply-title small {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
}

.comments .form {
  max-width: none;
}

.comments .form-submit {
  margin: 0.35rem 0 0;
}

.comments .form-submit .btn {
  width: auto;
}

.comments .logged-in-as {
  margin: 0 0 1rem;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.comment-form-cookies-consent {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0 0 1rem;
}

.comment-form-cookies-consent input {
  width: auto;
  margin-top: 0.3rem;
  flex-shrink: 0;
}

.comment-form-cookies-consent label {
  margin: 0;
  font-weight: 400;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.comments__closed {
  margin: 0;
  color: var(--color-text-muted);
}

.comments .comment-navigation,
.comments .pagination {
  margin: 0 0 1.5rem;
}

.field--turnstile {
  min-height: 65px;
}

.field--turnstile.is-invalid {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 4px;
}

@media (max-width: 560px) {
  .comment-list .children {
    padding-left: 0.65rem;
  }

  .comment__card {
    grid-template-columns: 2rem minmax(0, 1fr);
    padding: 0.8rem 0.85rem;
  }

  .comment__avatar {
    width: 2rem;
    height: 2rem;
    font-size: 0.85rem;
  }
}
