:root {
  --bg: #f4f6f3;
  --bg-soft: #edf3f0;
  --surface: rgba(255, 255, 255, 0.9);
  --surface-strong: #ffffff;
  --text: #17242b;
  --ink: #17242b;
  --muted: #52636c;
  --line: rgba(23, 36, 43, 0.13);
  --sunrise: #b84327;
  --sunrise-deep: #93331f;
  --sunset: #a93a23;
  --gold: #f0c46f;
  --sea: #0b6578;
  --sea-deep: #10434e;
  --forest: #426a5a;
  --shadow-sm: 0 8px 24px rgba(23, 36, 43, 0.08);
  --shadow: 0 18px 52px rgba(23, 36, 43, 0.12);
  --radius-xl: 16px;
  --radius-lg: 8px;
  --radius-md: 6px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #eef3f1 0, #f8faf8 24rem, #ffffff 100%);
  line-height: 1.7;
}

h1,
h2,
h3,
.navbar-brand,
.eyebrow,
.section-kicker {
  font-family: "Fraunces", serif;
}

a {
  text-decoration: none;
}

main:focus {
  outline: 0;
}

a,
button,
input,
select,
textarea {
  outline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--gold);
  box-shadow: 0 0 0 5px rgba(23, 36, 43, 0.88);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1100;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  color: #fff;
  background: var(--sea-deep);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  color: #fff;
  transform: translateY(0);
}

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

.page-main {
  padding-top: 5.75rem;
}

.nav-inline-form {
  margin: 0;
}

.custom-nav {
  padding: 1rem 0;
  background: rgba(15, 29, 35, 0.18);
  backdrop-filter: blur(18px);
  transition: background 0.3s ease;
}

.custom-nav.nav-solid,
.custom-nav.nav-scrolled {
  background: rgba(21, 34, 41, 0.96);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08);
}

.custom-nav .navbar-brand,
.custom-nav .nav-link {
  color: #fff;
}

.navbar-brand {
  min-height: 2.5rem;
}

.custom-nav .nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-weight: 600;
  opacity: 0.88;
}

.custom-nav .nav-link:hover,
.custom-nav .nav-link:focus,
.custom-nav .nav-link.active {
  opacity: 1;
  color: #fff;
}

.custom-nav .nav-link.active {
  position: relative;
  text-decoration: none;
}

.custom-nav .nav-link.active::after {
  position: absolute;
  right: 0.5rem;
  bottom: 0.25rem;
  left: 0.5rem;
  height: 2px;
  background: var(--gold);
  content: "";
}

.custom-nav .navbar-toggler-icon {
  filter: invert(1) saturate(0) brightness(2);
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--sunrise));
  color: #1f1a16;
  font-weight: 800;
  font-size: 1rem;
}

.btn-sunrise {
  border: 1px solid var(--sunrise);
  color: #fff;
  background: var(--sunrise);
  box-shadow: 0 10px 24px rgba(147, 51, 31, 0.22);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: var(--radius-md);
  font-weight: 700;
}

.btn-sm {
  min-height: 2.5rem;
}

.btn-sunrise:hover,
.btn-sunrise:focus {
  color: #fff;
  border-color: var(--sunrise-deep);
  background: var(--sunrise-deep);
}

.hero-section {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(50rem, 94svh);
  padding: 8rem 0 4rem;
  color: #fff;
  overflow: hidden;
  background-image:
    linear-gradient(100deg, rgba(12, 24, 29, 0.9) 0%, rgba(12, 24, 29, 0.68) 48%, rgba(12, 24, 29, 0.28) 100%),
    image-set(
      url("/images/hero-coast-1600.avif") type("image/avif"),
      url("/images/hero-coast-1600.webp") type("image/webp"),
      url("/images/hero-coast.jpg") type("image/jpeg")
    );
  background-position: center, center 56%;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-section > .container {
  width: 100%;
}

.hero-content {
  max-width: 52rem;
}

.eyebrow,
.section-kicker {
  display: inline-block;
  font-size: 1rem;
  letter-spacing: 0;
  color: var(--gold);
  margin-bottom: 1rem;
}

.section-kicker {
  color: var(--sunrise-deep);
}

.section-kicker.light {
  color: #f6d99f;
}

.hero-title {
  font-weight: 700;
  line-height: 1.02;
  max-width: 12ch;
  margin-bottom: 0.65rem;
  animation: slideUp 0.8s ease both;
}

.display-3.hero-title {
  font-size: 4rem;
}

.hero-lede {
  max-width: 22ch;
  margin-bottom: 1rem;
  color: #fff;
  font-family: "Fraunces", serif;
  font-size: 2.4rem;
  font-weight: 600;
  line-height: 1.12;
  animation: slideUp 0.9s ease both;
}

.hero-copy {
  max-width: 40rem;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
  animation: slideUp 1s ease both;
}

.hero-actions {
  animation: slideUp 1.1s ease both;
}

.hero-feature {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.85rem 1rem;
  max-width: 50rem;
  margin-top: 2rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.26);
  border-bottom: 1px solid rgba(255, 255, 255, 0.26);
  color: #fff;
  animation: slideUp 1.2s ease both;
}

.hero-feature:hover,
.hero-feature:focus {
  color: #fff;
}

.hero-feature-label {
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-feature-title {
  overflow: hidden;
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hero-feature-meta {
  display: inline-flex;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.85rem;
  white-space: nowrap;
}

.hero-metrics {
  margin-top: 2rem;
  animation: slideUp 1.2s ease both;
}

.metric-card,
.hero-panel,
.story-card,
.destination-panel,
.mood-card,
.planner-board,
.sidebar-card,
.postcard,
.feature-cta-card,
.page-highlight,
.destination-spotlight,
.admin-card,
.sidebar-panel,
.faq-card,
.status-banner,
.stat-box {
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-sm);
}

.metric-card {
  padding: 1rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.metric-card strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
}

.metric-card span {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.94rem;
}

.hero-panel {
  padding: 2rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 250, 244, 0.92);
  color: var(--text);
  transform: translateY(18px);
  animation: slideUp 1s ease 0.2s both;
}

.hero-panel-top,
.board-heading,
.story-meta,
.footer-links,
.footer-meta,
.story-footer,
.article-meta,
.destination-inline-info,
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.hero-panel h2,
.section-title,
.story-card h3,
.mood-card h3,
.planner-step h3,
.page-highlight h2,
.destination-spotlight h2,
.faq-card h3,
.article-block h2 {
  font-family: "Fraunces", serif;
}

.hero-panel h2,
.page-highlight h2 {
  font-size: 2.2rem;
  margin: 1rem 0;
}

.hero-panel p,
.section-copy,
.story-body p,
.planner-step p,
.mood-card p,
.postcard p,
.footer-copy,
.page-highlight p,
.destination-spotlight p,
.faq-card p,
.article-content p,
.table-sub {
  color: var(--muted);
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.chip-light {
  background: rgba(240, 106, 70, 0.12);
  color: var(--sunrise-deep);
}

.chip-dark {
  background: rgba(31, 42, 51, 0.08);
  color: var(--text);
}

.hero-panel-date {
  color: var(--muted);
  font-weight: 700;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.5rem;
  font-weight: 800;
  color: var(--sunrise);
}

.text-link::after {
  content: "->";
  transition: transform 0.25s ease;
}

.text-link:hover::after,
.text-link:focus::after {
  transform: translateX(4px);
}

.text-link.dark,
.card-title-link,
.destination-story-links a,
.breadcrumbs a,
.footer-meta a,
.footer-links a {
  color: var(--sea);
}

.card-title-link,
.destination-story-links a,
.breadcrumbs a,
.footer-meta a,
.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
}

.card-title-link:hover,
.destination-story-links a:hover,
.footer-meta a:hover,
.footer-links a:hover,
.breadcrumbs a:hover {
  color: var(--sea-deep);
}

.card-title-link {
  overflow-wrap: anywhere;
}

.mini-route {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(31, 42, 51, 0.1);
}

.route-label,
.story-meta,
.postcard-tag,
.step-index,
.article-meta,
.breadcrumbs {
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.78rem;
  font-weight: 800;
}

.section-shell {
  padding: 5rem 0;
}

.intro-strip {
  padding: 3.75rem 0;
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: 3rem;
  line-height: 1.08;
  margin-bottom: 1rem;
}

.page-hero {
  padding: 2.75rem 0 3.5rem;
}

.page-title {
  max-width: 13ch;
}

.page-copy {
  max-width: 42rem;
}

.page-highlight,
.destination-spotlight,
.admin-card,
.sidebar-panel,
.faq-card,
.status-banner,
.stat-box {
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid rgba(31, 42, 51, 0.06);
}

.destination-spotlight {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.destination-spotlight-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.destination-spotlight-body > .text-link {
  margin-top: auto !important;
  padding-top: 1rem;
}

.page-highlight {
  padding: 1.8rem;
  border-left: 3px solid var(--sunrise);
  box-shadow: var(--shadow-sm);
}

.not-found-hero {
  padding-bottom: 3rem;
}

.not-found-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 0.9fr);
  gap: 2rem;
  align-items: stretch;
}

.not-found-path {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.25rem 0 1.25rem;
  color: var(--muted);
  font-weight: 700;
}

.not-found-path code {
  color: var(--sea-deep);
  white-space: normal;
  overflow-wrap: anywhere;
}

.not-found-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.not-found-search {
  display: grid;
  align-content: start;
  gap: 1rem;
  padding: 1.8rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-sm);
}

.not-found-search h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.not-found-search-form {
  display: grid;
  gap: 0.55rem;
}

.not-found-search-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem;
}

.not-found-quick-links {
  display: grid;
  gap: 0.6rem;
  padding-top: 0.25rem;
}

.not-found-quick-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
}

.not-found-quick-links a,
.not-found-destination {
  color: var(--sea);
  font-weight: 800;
  text-decoration: none;
}

.not-found-quick-links a:hover,
.not-found-quick-links a:focus,
.not-found-destination:hover,
.not-found-destination:focus {
  color: var(--sea-deep);
}

.not-found-destinations {
  margin-top: 4rem;
}

.not-found-destination-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.not-found-destination {
  display: grid;
  gap: 0.35rem;
  min-height: 7rem;
  padding: 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.76);
}

.not-found-destination span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.not-found-destination strong {
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 1.45rem;
  line-height: 1.12;
}

.content-filters {
  margin: 0 0 1.5rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-sm);
}

#story-results,
#destination-results {
  scroll-margin-top: 6.5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
}

.section-inline-copy {
  max-width: 30rem;
}

.alt-surface {
  border-top: 1px solid rgba(11, 101, 120, 0.1);
  border-bottom: 1px solid rgba(11, 101, 120, 0.1);
  background: var(--bg-soft);
}

.story-card,
.destination-panel,
.mood-card,
.planner-board,
.sidebar-card,
.postcard {
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--surface-strong);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.story-card:hover,
.story-card:focus-within,
.mood-card:hover,
.mood-card:focus-within,
.destination-spotlight:hover,
.destination-spotlight:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.story-image,
.destination-spotlight-image,
.article-image {
  width: 100%;
  object-fit: cover;
}

.story-image {
  height: 100%;
  transition: transform 0.35s ease;
}

.story-image-link {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--bg-soft);
}

.story-image-link:hover .story-image,
.story-image-link:focus .story-image {
  transform: scale(1.025);
}

.story-card {
  display: flex;
  flex-direction: column;
}

.story-body,
.destination-spotlight-body {
  padding: 1.6rem;
}

.story-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.story-body > p {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.story-meta {
  color: var(--sunrise-deep);
  margin-bottom: 0.85rem;
}

.story-card h3 {
  font-size: 1.7rem;
  line-height: 1.2;
  margin-bottom: 0.85rem;
}

.story-footer {
  margin-top: auto;
  padding-top: 1.25rem;
  flex-wrap: wrap;
  font-size: 0.94rem;
  color: var(--muted);
}

.empty-state {
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.empty-state h3 {
  font-family: "Fraunces", serif;
  margin-bottom: 0.75rem;
}

.empty-state p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.pagination-shell {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

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

.pagination-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pagination-ellipsis {
  display: inline-grid;
  place-items: center;
  min-width: 2rem;
  color: var(--muted);
  font-weight: 800;
}

.destination-panel {
  padding: 0 1.5rem 0 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.destination-list {
  display: grid;
  gap: 1rem;
  margin-top: 1.75rem;
}

.destination-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.destination-item:hover,
.destination-item:focus {
  color: var(--text);
  border-color: rgba(11, 101, 120, 0.36);
  background: #fff;
}

.destination-item strong {
  display: block;
  margin-bottom: 0.2rem;
}

.destination-item small {
  display: block;
  color: var(--muted);
}

.destination-item-arrow {
  color: var(--sea) !important;
  font-size: 1.2rem;
  font-weight: 800;
  transition: transform 0.2s ease;
}

.destination-item:hover .destination-item-arrow,
.destination-item:focus .destination-item-arrow {
  transform: translateX(3px);
}

.mood-card {
  padding: 1.8rem;
  border-top: 3px solid rgba(11, 101, 120, 0.44);
  background: rgba(255, 255, 255, 0.86);
}

.mood-number {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--sea);
  font-weight: 800;
}

.planner-board {
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.planner-step {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  height: 100%;
}

.step-index {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--sunrise-deep);
}

.sidebar-card {
  padding: 2rem;
  background:
    linear-gradient(135deg, rgba(14, 99, 122, 0.92), rgba(18, 65, 79, 0.92));
  color: #fff;
}

.sidebar-card .section-kicker,
.sidebar-card .section-title,
.sidebar-card .toolkit-list,
.reader-meta strong,
.reader-meta span {
  color: #fff;
}

.toolkit-list {
  padding-left: 1.1rem;
  margin: 1.5rem 0;
}

.toolkit-list li {
  margin-bottom: 0.8rem;
}

.reader-quote {
  margin: 1.75rem 0 1rem;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.12);
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.9);
}

.reader-meta span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
}

.postcard-section {
  background: transparent;
}

.postcard {
  padding: 1.25rem 0;
  min-height: 100%;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.postcard.warm {
  background: transparent;
}

.postcard.cool {
  background: transparent;
}

.postcard-tag {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--forest);
}

.feature-cta-card {
  padding: 2.2rem;
  border-radius: var(--radius-xl);
  background: #173a44;
}

.admin-form {
  display: grid;
  gap: 0.9rem;
}

.article-shell {
  padding-bottom: 3rem;
}

.breadcrumbs {
  margin-bottom: 1.5rem;
  color: var(--muted);
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumb-list li + li::before {
  margin-right: 0.5rem;
  color: rgba(82, 99, 108, 0.62);
  content: "/";
}

.breadcrumb-list li[aria-current="page"] {
  color: var(--muted);
}

.breadcrumbs a,
.footer-meta a,
.footer-links a,
.destination-story-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
}

.article-hero {
  margin-bottom: 4rem;
}

.preview-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  margin: 1.25rem 0 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(246, 197, 109, 0.36);
  background: rgba(255, 248, 232, 0.92);
  box-shadow: var(--shadow);
}

.preview-banner strong {
  display: block;
  font-size: 1.1rem;
}

.preview-banner p {
  margin: 0.2rem 0 0;
  color: var(--muted);
}

.article-title {
  max-width: 15ch;
}

.article-copy {
  max-width: 44rem;
}

.article-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  color: var(--muted);
}

.article-meta > * {
  display: inline-flex;
  align-items: center;
}

.article-meta > * + *::before {
  width: 3px;
  height: 3px;
  margin-right: 1rem;
  border-radius: 50%;
  background: currentColor;
  content: "";
}

.article-image {
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: var(--radius-xl);
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.destination-detail-hero {
  margin-bottom: 3rem;
  padding: 1rem 0;
}

.destination-detail-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 24px 70px rgba(38, 33, 27, 0.18);
}

.destination-overview h2 {
  font-family: "Fraunces", serif;
  font-size: 2.35rem;
  margin: 0.7rem 0 0.85rem;
}

.destination-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.destination-fact {
  min-height: 8rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.68);
}

.destination-fact span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.destination-fact strong {
  display: block;
  color: var(--text);
  font-family: "Fraunces", serif;
  font-size: 1.35rem;
  line-height: 1.18;
}

.destination-story-section {
  margin-top: 3rem;
}

.destination-story-grid {
  margin-top: 1.5rem;
}

.trust-page .page-title {
  max-width: 13ch;
}

.trust-hero {
  padding-top: 0;
}

.trust-summary h2,
.trust-section h2 {
  font-family: "Fraunces", serif;
}

.trust-content {
  display: grid;
  gap: 1.25rem;
}

.trust-section {
  padding: 1.6rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
}

.trust-section h2 {
  margin-bottom: 0.9rem;
  font-size: 1.7rem;
}

.trust-section p,
.trust-section li {
  color: var(--muted);
  font-size: 1.02rem;
}

.trust-section p:last-child,
.trust-section ul:last-child {
  margin-bottom: 0;
}

.trust-section ul {
  display: grid;
  gap: 0.65rem;
  padding-left: 1.2rem;
}

.trust-link-list {
  display: grid;
  gap: 0.7rem;
}

.trust-link-list a {
  color: var(--sea);
  font-weight: 800;
}

.article-content {
  display: grid;
  gap: 2rem;
  max-width: 68ch;
}

.article-block h2 {
  margin-bottom: 0.9rem;
  font-size: 1.9rem;
}

.article-block p {
  margin-bottom: 1rem;
  font-size: 1.08rem;
  line-height: 1.85;
}

.article-content a,
.faq-card a {
  color: var(--sea-deep);
  font-weight: 700;
  text-decoration-color: rgba(14, 99, 122, 0.35);
  text-decoration-line: underline;
  text-decoration-thickness: 0.12em;
  text-underline-offset: 0.18em;
}

.article-content a:hover,
.article-content a:focus,
.faq-card a:hover,
.faq-card a:focus {
  color: var(--sunset);
  text-decoration-color: currentColor;
}

.article-sidebar {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 992px) {
  .article-sidebar {
    position: sticky;
    top: 7rem;
  }
}

.sidebar-panel {
  padding: 1.5rem;
}

.detail-list {
  margin: 0;
  padding-left: 1rem;
}

.detail-list li {
  margin-bottom: 0.75rem;
  color: var(--muted);
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.8rem;
  border-radius: 999px;
  background: rgba(14, 99, 122, 0.08);
  color: var(--sea-deep);
  font-weight: 700;
  font-size: 0.92rem;
}

.faq-section,
.related-section {
  margin-top: 4rem;
}

.article-pagination {
  margin-top: 3rem;
}

.post-nav-card {
  display: block;
  height: 100%;
  padding: 1.4rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.post-nav-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.post-nav-card h2 {
  font-family: "Fraunces", serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-nav-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.faq-title {
  margin-bottom: 1.5rem;
}

.faq-grid {
  display: grid;
  gap: 1rem;
}

.faq-card {
  padding: 1.4rem;
}

.destination-spotlight-image {
  height: 100%;
}

.destination-image-link {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg-soft);
}

.destination-inline-info {
  justify-content: flex-start;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.95rem;
  margin: 1rem 0;
}

.destination-story-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.destination-more {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.destination-related-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.destination-related-card {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  align-items: center;
  padding: 0.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.78);
  color: var(--text);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.destination-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.destination-related-card img {
  width: 7rem;
  height: 5.2rem;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.destination-related-card strong,
.destination-related-card small {
  display: block;
}

.destination-related-card small {
  margin-top: 0.35rem;
  color: var(--muted);
}

.admin-hero {
  padding-bottom: 2.5rem;
}

.admin-toolbar,
.admin-card-header,
.table-actions,
.editor-actions {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.admin-card-header {
  justify-content: space-between;
}

.admin-toolbar {
  margin-top: 1.5rem;
}

.admin-subnav {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  overflow-x: auto;
  border-bottom: 1px solid var(--line);
  scrollbar-width: thin;
}

.admin-subnav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
  min-height: 2.9rem;
  padding: 0.7rem 0.15rem;
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.admin-subnav-link:hover,
.admin-subnav-link:focus-visible,
.admin-subnav-link.active {
  color: var(--sea-deep);
}

.admin-subnav-link.active::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: var(--sunrise);
  content: "";
}

.admin-subnav-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.55rem;
  height: 1.55rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: rgba(14, 99, 122, 0.1);
  color: var(--sea-deep);
  font-size: 0.78rem;
  line-height: 1;
}

.workflow-strip,
.editor-workflow-strip {
  display: grid;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.workflow-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.editor-workflow-strip {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.workflow-step,
.editor-workflow-strip span {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.76);
}

.workflow-step {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1rem;
}

.workflow-index {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  height: 2rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: var(--sunrise);
  color: #fff;
  font-weight: 900;
  line-height: 1;
  text-align: center;
}

.workflow-step strong,
.workflow-step span:not(.workflow-index) {
  display: block;
}

.workflow-step strong {
  color: var(--text);
  line-height: 1.2;
}

.workflow-step span:not(.workflow-index) {
  color: var(--muted);
  font-size: 0.88rem;
}

.editor-workflow-strip span {
  display: block;
  padding: 0.75rem 0.85rem;
  color: var(--sea-deep);
  font-weight: 800;
  text-align: center;
}

.admin-filters {
  margin: 1.5rem 0 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.74);
}

.admin-filter-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0.9rem;
  align-items: end;
}

.admin-filter-search {
  grid-column: span 7;
}

.admin-filter-sort {
  grid-column: span 5;
}

.admin-filter-compact {
  grid-column: span 2;
}

.admin-filter-category {
  grid-column: span 3;
}

.admin-filter-actions {
  display: grid;
  gap: 0.6rem;
}

.admin-filter-grid > .admin-filter-actions {
  grid-column: span 3;
}

.admin-filter-actions-inline {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.admin-filter-actions-inline .btn {
  min-width: 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(10.5rem, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.stat-box {
  padding: 1.3rem 1.4rem;
}

.stat-box strong {
  display: block;
  font-size: 1.7rem;
}

.stat-box span {
  color: var(--muted);
}

.stat-box.attention {
  border-color: rgba(214, 83, 51, 0.18);
  background: rgba(184, 67, 39, 0.07);
}

.stat-box.attention strong {
  color: #8d3722;
}

.stat-box.ready {
  border-color: rgba(66, 106, 90, 0.22);
  background: rgba(66, 106, 90, 0.08);
}

.stat-box.ready strong {
  color: #1a614a;
}

.admin-card {
  padding: 1.6rem;
}

.admin-card + .admin-card {
  margin-top: 1.5rem;
}

.priority-card {
  margin-bottom: 1.5rem;
}

.editor-card .admin-card-header {
  margin-bottom: 1.35rem;
}

.editor-section {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.editor-section-header {
  margin-bottom: 1rem;
}

.editor-section-header .admin-title {
  margin-bottom: 0.35rem;
}

.editor-section.ai-card,
.editor-section.quality-card,
.editor-section.save-section {
  padding: 1.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
}

.save-section {
  padding: 1.25rem;
  border-color: rgba(66, 106, 90, 0.2);
  background: rgba(66, 106, 90, 0.08);
}

.ai-card {
  background: rgba(255, 248, 232, 0.76);
}

.batch-draft-card {
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
}

.ai-step-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.quality-card {
  background: rgba(235, 246, 247, 0.9);
}

.quality-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.quality-score {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 7rem;
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(31, 42, 51, 0.1);
  background: rgba(95, 109, 119, 0.1);
  color: var(--sea-deep);
  text-align: center;
}

.quality-score strong {
  display: block;
  font-family: "Fraunces", serif;
  font-size: 2.25rem;
  line-height: 1;
}

.quality-score span {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.quality-score.good {
  background: rgba(66, 106, 90, 0.14);
  color: #1a614a;
}

.quality-score.warn {
  background: rgba(246, 197, 109, 0.22);
  color: #815215;
}

.quality-score.poor {
  background: rgba(214, 83, 51, 0.12);
  color: #8d3722;
}

.quality-summary {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.1rem;
  color: var(--muted);
}

.quality-summary strong {
  color: var(--text);
  font-size: 1.08rem;
}

.quality-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.quality-metrics div {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  background: rgba(255, 250, 244, 0.78);
  border: 1px solid var(--line);
}

.quality-metrics strong {
  display: block;
  color: var(--sea-deep);
  font-size: 1.35rem;
  line-height: 1.2;
}

.quality-metrics span {
  color: var(--muted);
  font-size: 0.85rem;
}

.quality-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.8fr);
  gap: 1.2rem;
  margin-top: 1.35rem;
}

.quality-grid h3 {
  margin-bottom: 0.75rem;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.quality-recommendations,
.quality-rules {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.quality-recommendations li,
.quality-rules li {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.66);
}

.quality-recommendations li {
  padding: 0.75rem 0.85rem;
  color: var(--muted);
}

.quality-recommendations li.complete {
  color: #1a614a;
  background: rgba(66, 106, 90, 0.12);
}

.quality-rules li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.65rem 0.75rem;
}

.quality-rules li.passed {
  border-color: rgba(66, 106, 90, 0.25);
  background: rgba(66, 106, 90, 0.1);
}

.quality-rules li.todo {
  border-color: rgba(246, 197, 109, 0.38);
  background: rgba(246, 197, 109, 0.13);
}

.quality-rules span {
  color: var(--text);
}

.quality-rules strong {
  color: var(--sea-deep);
  white-space: nowrap;
}

.internal-link-panel {
  margin-top: 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.internal-link-panel h3 {
  margin-bottom: 0.35rem;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
}

.internal-link-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.internal-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(14, 99, 122, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.68);
}

.internal-link-card.linked {
  border-color: rgba(66, 106, 90, 0.25);
  background: rgba(66, 106, 90, 0.1);
}

.internal-link-card strong,
.internal-link-card span,
.internal-link-card small,
.internal-link-card code {
  display: block;
}

.internal-link-card strong {
  color: var(--text);
}

.internal-link-card span,
.internal-link-card small {
  color: var(--muted);
  font-size: 0.88rem;
}

.internal-link-card code {
  margin-top: 0.4rem;
  color: var(--sea-deep);
  white-space: normal;
}

.internal-link-card .btn {
  flex: 0 0 auto;
}

.internal-link-empty {
  padding: 0.85rem 0.95rem;
  border: 1px dashed rgba(14, 99, 122, 0.25);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 250, 244, 0.56);
}

.admin-divider {
  margin: 1.5rem 0;
  border: 0;
  border-top: 1px solid var(--line);
}

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

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(95, 109, 119, 0.12);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
}

.status-pill.published {
  border-color: rgba(66, 106, 90, 0.25);
  background: rgba(66, 106, 90, 0.13);
  color: #1a614a;
}

.status-pill.draft {
  border-color: rgba(246, 197, 109, 0.45);
  background: rgba(246, 197, 109, 0.18);
  color: #815215;
}

.status-pill.scheduled {
  border-color: rgba(14, 99, 122, 0.25);
  background: rgba(14, 99, 122, 0.12);
  color: var(--sea);
}

.quality-pill {
  display: inline-grid;
  min-width: 6.75rem;
  gap: 0.1rem;
  padding: 0.55rem 0.65rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(95, 109, 119, 0.1);
}

.quality-pill strong {
  color: var(--sea-deep);
  font-size: 1.05rem;
  line-height: 1;
}

.quality-pill span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
}

.quality-pill.good {
  border-color: rgba(66, 106, 90, 0.25);
  background: rgba(66, 106, 90, 0.12);
}

.quality-pill.good strong,
.quality-pill.good span {
  color: #1a614a;
}

.quality-pill.warn {
  border-color: rgba(246, 197, 109, 0.4);
  background: rgba(246, 197, 109, 0.17);
}

.quality-pill.warn strong,
.quality-pill.warn span {
  color: #815215;
}

.quality-pill.poor {
  border-color: rgba(214, 83, 51, 0.2);
  background: rgba(214, 83, 51, 0.1);
}

.quality-pill.poor strong,
.quality-pill.poor span {
  color: #8d3722;
}

.quality-pill.compact {
  gap: 0.3rem;
  min-width: 0;
  padding: 0.3rem 0.55rem;
}

.quality-pill.compact strong {
  font-size: 0.92rem;
}

.quality-pill.compact span {
  font-size: 0.68rem;
}

.attention-card {
  background: rgba(255, 248, 232, 0.82);
}

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

.attention-list-grid {
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
}

.attention-item {
  padding: 1rem;
  border: 1px solid rgba(31, 42, 51, 0.1);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.72);
}

.attention-item-header,
.attention-meta,
.attention-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.attention-item-header div > strong,
.attention-item-header div > span {
  display: block;
}

.attention-item-header div > strong {
  color: var(--text);
  line-height: 1.25;
}

.attention-item-header div > span {
  color: var(--muted);
  font-size: 0.88rem;
}

.attention-count {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 2rem;
  aspect-ratio: 1;
  border-radius: 999px;
  background: rgba(214, 83, 51, 0.12);
  color: #8d3722;
  font-weight: 900;
}

.attention-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.attention-issues {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.1rem;
  margin: 0.8rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.attention-actions {
  justify-content: flex-start;
}

.attention-empty {
  display: grid;
  gap: 0.25rem;
  margin-top: 1rem;
  padding: 0.95rem;
  border: 1px solid rgba(66, 106, 90, 0.2);
  border-radius: var(--radius-md);
  background: rgba(66, 106, 90, 0.1);
}

.attention-empty strong {
  color: #1a614a;
}

.attention-empty span {
  color: var(--muted);
}

.admin-form .form-control,
.admin-form .form-check-input {
  border-radius: 14px;
}

.admin-form .row {
  margin-right: 0;
  margin-left: 0;
}

.admin-form .form-check-input {
  flex: 0 0 2rem;
  width: 2rem;
  height: 2rem;
  margin: 0;
}

.admin-form .form-check {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 2.75rem;
  padding-left: 0;
}

.admin-form .form-check-label {
  padding: 0.15rem 0;
}

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

.generation-feedback {
  margin: 1rem 0 0;
  min-height: 1.5rem;
  font-size: 0.95rem;
}

.generation-feedback.success {
  color: #1a614a;
}

.generation-feedback.error {
  color: #8d3722;
}

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

.ai-snapshot-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  margin-top: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(14, 99, 122, 0.2);
  background: rgba(14, 99, 122, 0.08);
}

.ai-snapshot-status p {
  color: var(--muted);
  font-size: 0.9rem;
}

.ai-snapshot-actions {
  display: flex;
  gap: 0.65rem;
  flex: 0 0 auto;
  flex-wrap: wrap;
}

.code-like {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas,
    "Liberation Mono", "Courier New", monospace;
}

.cover-preview {
  display: grid;
  gap: 0.7rem;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.72);
  color: var(--sea-deep);
}

.cover-preview-image {
  width: 100%;
  height: 8.5rem;
  object-fit: cover;
  border-radius: 12px;
}

.cover-preview-label {
  font-size: 0.82rem;
  color: var(--muted);
  word-break: break-all;
}

.status-banner {
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
}

.status-banner.success {
  background: rgba(31, 122, 91, 0.12);
  border-color: rgba(31, 122, 91, 0.2);
  color: #1a614a;
}

.status-banner.error {
  background: rgba(214, 83, 51, 0.12);
  border-color: rgba(214, 83, 51, 0.2);
  color: #8d3722;
}

.warning-panel {
  padding: 1.3rem 1.4rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(246, 197, 109, 0.35);
  background: rgba(246, 197, 109, 0.18);
}

.warning-panel h2 {
  margin-bottom: 0.9rem;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
}

.warning-panel.compact {
  margin-top: 1.25rem;
}

.draft-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(14, 99, 122, 0.2);
  background: rgba(14, 99, 122, 0.08);
}

.draft-status p {
  color: var(--muted);
}

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

.admin-table th {
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0;
}

.content-library-card .table-responsive {
  padding-bottom: 0.15rem;
}

.content-library-card .admin-table {
  table-layout: fixed;
  min-width: 100%;
}

.content-library-card .admin-table th,
.content-library-card .admin-table td {
  overflow-wrap: anywhere;
}

.content-library-card .admin-table th:nth-child(1) {
  width: 23%;
}

.content-library-card .admin-table th:nth-child(2) {
  width: 9%;
}

.content-library-card .admin-table th:nth-child(3) {
  width: 13%;
}

.content-library-card .admin-table th:nth-child(4) {
  width: 12%;
}

.content-library-card .admin-table th:nth-child(5) {
  width: 11%;
}

.content-library-card .admin-table th:nth-child(6) {
  width: 17%;
}

.content-library-card .admin-table th:nth-child(7) {
  width: 15%;
}

.table-sub {
  font-size: 0.9rem;
}

.table-actions form {
  margin: 0;
}

.table-actions .btn-sm,
.attention-actions .btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.5rem;
}

.content-library-card .table-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.4rem;
}

.content-library-card .table-actions form,
.content-library-card .table-actions .btn {
  width: 100%;
}

.content-library-card .table-actions .btn-sm {
  min-height: 2.25rem;
  padding: 0.4rem 0.45rem;
  font-size: 0.78rem;
  overflow-wrap: normal;
  white-space: nowrap;
}


.audit-list {
  display: grid;
  gap: 0.9rem;
}

.audit-item {
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.audit-item strong {
  display: block;
  font-size: 0.98rem;
}

.audit-item span {
  display: block;
  color: var(--muted);
  font-size: 0.92rem;
}

.audit-summary {
  margin-top: 0.25rem;
  color: var(--ink) !important;
}

.audit-meta,
.audit-target {
  margin-top: 0.35rem;
}

.activity-filter-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(12rem, 1fr) minmax(14rem, 0.9fr);
  gap: 0.9rem;
  align-items: end;
}

.activity-list {
  margin-top: 0.25rem;
}

.activity-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.activity-item-header code {
  color: var(--muted);
  font-size: 0.78rem;
  overflow-wrap: anywhere;
}

.admin-pagination {
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.admin-empty-state {
  margin-top: 1rem;
}

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

.trash-library-card .table-responsive {
  margin-top: 1.25rem;
}

.trash-library-card .admin-table {
  margin-bottom: 0;
}

.trash-library-card .admin-table th:first-child {
  width: 32%;
}

.trash-library-card .admin-table form {
  margin: 0;
}

.auth-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(20rem, 28rem);
  gap: 2rem;
  align-items: start;
}

.auth-card {
  padding: 1.8rem;
  border-radius: var(--radius-xl);
  background: var(--surface-strong);
  box-shadow: var(--shadow);
  border: 1px solid rgba(31, 42, 51, 0.08);
}

.default-credentials {
  display: grid;
  gap: 0.35rem;
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-radius: var(--radius-md);
  background: rgba(14, 99, 122, 0.08);
  color: var(--sea-deep);
}

.default-credentials code {
  color: inherit;
}

.delete-post-form {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid rgba(214, 83, 51, 0.2);
  border-radius: var(--radius-md);
  background: rgba(214, 83, 51, 0.06);
}

.site-footer {
  padding: 2rem 0 3rem;
  background: #162028;
  margin-top: 3rem;
}

.footer-nav + .footer-nav {
  margin-top: 1.1rem;
}

.footer-heading {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.68);
  max-width: 28rem;
}

.footer-links,
.footer-meta {
  justify-content: flex-start;
  flex-wrap: wrap;
}

.footer-policy-links {
  margin-top: 0.85rem;
  font-size: 0.9rem;
}

.footer-links a,
.footer-meta a,
.footer-bottom {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.footer-bottom {
  margin-top: 1.6rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
  font-size: 0.92rem;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 991.98px) {
  .custom-nav {
    background: rgba(21, 34, 41, 0.96);
  }

  .custom-nav .navbar-collapse {
    margin-top: 1rem;
    padding: 1rem 1.1rem;
    border-radius: var(--radius-lg);
    background: #152229;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow);
  }

  .custom-nav .nav-link {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }

  .custom-nav .nav-link.active::after {
    right: auto;
    bottom: 0.45rem;
    left: 0;
    width: 2px;
    height: calc(100% - 0.9rem);
  }

  .hero-section {
    min-height: min(46rem, 94svh);
    padding: 7.5rem 0 3.5rem;
    background-position: 60% center;
  }

  .hero-title,
  .page-title,
  .article-title {
    max-width: none;
  }

  .display-3.hero-title {
    font-size: 3.5rem;
  }

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

  .section-title {
    font-size: 2.6rem;
  }

  .hero-panel {
    transform: none;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editor-workflow-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .destination-related-list {
    grid-template-columns: 1fr;
  }

  .auth-shell {
    grid-template-columns: 1fr;
  }

  .destination-panel {
    padding-right: 0;
  }

  .not-found-layout {
    grid-template-columns: 1fr;
  }

  .not-found-destination-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-filter-search,
  .admin-filter-sort,
  .admin-filter-compact,
  .admin-filter-category {
    grid-column: auto;
  }

  .admin-filter-grid > .admin-filter-actions {
    grid-column: 1 / -1;
  }

  .activity-filter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .activity-filter-grid > :first-child {
    grid-column: 1 / -1;
  }

  .content-library-card .table-responsive,
  .admin-table-card .table-responsive {
    overflow: visible;
  }

  .content-library-card .admin-table,
  .content-library-card .admin-table tbody,
  .content-library-card .admin-table tr,
  .content-library-card .admin-table td,
  .admin-table-card .admin-table,
  .admin-table-card .admin-table tbody,
  .admin-table-card .admin-table tr,
  .admin-table-card .admin-table td {
    display: block;
    width: 100%;
  }

  .content-library-card .admin-table,
  .admin-table-card .admin-table {
    margin-bottom: 0;
    min-width: 0;
    table-layout: auto;
  }

  .content-library-card .admin-table thead,
  .admin-table-card .admin-table thead {
    display: none;
  }

  .content-library-card .admin-table tbody,
  .admin-table-card .admin-table tbody {
    display: grid;
    gap: 1rem;
  }

  .content-library-card .admin-table tr,
  .admin-table-card .admin-table tr {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.74);
  }

  .content-library-card .admin-table td,
  .admin-table-card .admin-table td {
    padding: 0.65rem 0;
    border: 0;
  }

  .content-library-card .admin-table td + td,
  .admin-table-card .admin-table td + td {
    border-top: 1px solid rgba(95, 109, 119, 0.14);
  }

  .content-library-card .admin-table td::before,
  .admin-table-card .admin-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 0.3rem;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
  }

  .content-library-card .admin-table td[data-label="Title"],
  .admin-table-card .admin-table td[data-label="Title"] {
    padding-top: 0;
  }

  .content-library-card .admin-table td[data-label="Actions"],
  .admin-table-card .admin-table td[data-label="Action"] {
    padding-bottom: 0;
  }

  .content-library-card .admin-table td[data-label="SEO URL"] a {
    display: inline-flex;
    align-items: center;
    min-height: 2.75rem;
    overflow-wrap: anywhere;
  }

  .content-library-card .quality-pill {
    min-width: 0;
  }

  .content-library-card .table-actions,
  .content-library-card .table-actions form,
  .content-library-card .table-actions .btn {
    width: 100%;
  }

  .admin-table-card .admin-table form,
  .admin-table-card .admin-table .btn {
    width: 100%;
  }
}

@media (max-width: 767.98px) {
  .section-shell {
    padding: 3.75rem 0;
  }

  .page-main {
    padding-top: 5.5rem;
  }

  .hero-section {
    min-height: auto;
    padding: 6.75rem 0 2.75rem;
    background-image:
      linear-gradient(100deg, rgba(12, 24, 29, 0.9) 0%, rgba(12, 24, 29, 0.68) 62%, rgba(12, 24, 29, 0.36) 100%),
      image-set(
        url("/images/hero-coast-768.avif") type("image/avif"),
        url("/images/hero-coast-768.webp") type("image/webp"),
        url("/images/hero-coast.jpg") type("image/jpeg")
      );
    background-position: center, 58% center;
  }

  .hero-copy {
    font-size: 1rem;
    line-height: 1.65;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .hero-feature {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.45rem 0.75rem;
    margin-top: 1.5rem;
    padding: 0.85rem 0;
  }

  .hero-feature-label {
    grid-column: 1;
    grid-row: 1;
  }

  .hero-feature-meta {
    grid-column: 2;
    grid-row: 1;
  }

  .hero-feature-title {
    grid-column: 1 / -1;
    grid-row: 2;
    line-height: 1.35;
    white-space: normal;
  }

  .page-hero {
    padding: 1.75rem 0 2.75rem;
  }

  .content-layout-row {
    --bs-gutter-x: 1.5rem;
  }

  .article-hero-row {
    --bs-gutter-x: 1.5rem;
  }

  .text-link,
  .breadcrumbs a,
  .footer-meta a,
  .footer-links a,
  .destination-story-links a {
    min-height: 2.75rem;
  }

  .display-3.hero-title {
    font-size: 2.85rem;
  }

  .hero-lede {
    font-size: 1.85rem;
  }

  .section-title {
    font-size: 2.25rem;
  }

  .section-title.admin-title {
    font-size: 1.75rem;
  }

  .hero-panel,
  .planner-board,
  .sidebar-card,
  .feature-cta-card,
  .page-highlight,
  .destination-detail-hero,
  .admin-card {
    padding: 1.5rem;
  }

  .story-image,
  .destination-spotlight-image {
    height: 100%;
  }

  .destination-detail-image {
    aspect-ratio: 4 / 3;
  }

  .destination-fact-grid {
    grid-template-columns: 1fr;
  }

  .destination-related-card {
    grid-template-columns: 5.5rem 1fr;
  }

  .destination-related-card img {
    width: 5.5rem;
    height: 4.5rem;
  }

  .board-heading,
  .hero-panel-top,
  .preview-banner,
  .destination-inline-info,
  .footer-bottom,
  .quality-card-header,
  .quality-summary,
  .admin-card-header,
  .ai-snapshot-status,
  .draft-status {
    flex-direction: column;
    align-items: flex-start;
  }

  .story-footer,
  .article-meta {
    align-items: center;
    gap: 0.55rem 0.9rem;
  }

  .article-meta > * + *::before {
    margin-right: 0.9rem;
  }

  .page-highlight h2 {
    font-size: 1.65rem;
  }

  .listing-highlight p {
    display: none;
  }

  .listing-highlight,
  .blog-intro-copy {
    display: none;
  }

  .article-hero {
    margin-bottom: 3rem;
  }

  .article-block p {
    font-size: 1.02rem;
    line-height: 1.8;
  }

  .pagination-shell {
    align-items: flex-start;
    flex-direction: column;
  }

  .pagination-links {
    gap: 0.5rem;
  }

  .admin-subnav {
    gap: 1.1rem;
  }

  .admin-filter-grid,
  .activity-filter-grid {
    grid-template-columns: 1fr;
  }

  .admin-filter-grid > *,
  .admin-filter-grid > .admin-filter-actions,
  .activity-filter-grid > :first-child {
    grid-column: 1;
  }

  .activity-item-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.35rem;
  }

  .empty-state-actions,
  .empty-state-actions .btn {
    width: 100%;
  }

  .delete-post-form {
    align-items: stretch;
    flex-direction: column;
  }

  .delete-post-form .btn {
    width: 100%;
  }

  .ai-snapshot-actions {
    width: 100%;
  }

  .ai-snapshot-actions .btn {
    flex: 1 1 12rem;
  }

  .quality-score {
    width: 6rem;
  }

  .quality-metrics,
  .quality-grid {
    grid-template-columns: 1fr;
  }

  .editor-workflow-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .workflow-step,
  .editor-workflow-strip span {
    padding: 0.75rem;
  }

  .editor-workflow-strip span {
    text-align: left;
  }

  .attention-list-grid {
    grid-template-columns: 1fr;
  }

  .not-found-search-row,
  .not-found-destination-grid {
    grid-template-columns: 1fr;
  }

  .not-found-actions,
  .not-found-actions .btn,
  .not-found-search-row .btn {
    width: 100%;
  }

  .save-section .editor-actions,
  .save-section .btn,
  .draft-status-actions,
  .draft-status-actions .btn {
    width: 100%;
  }

  .internal-link-card {
    align-items: stretch;
    flex-direction: column;
  }

  .internal-link-card .btn {
    width: 100%;
  }
}

@media (max-width: 479.98px) and (max-height: 650px) {
  .hero-section {
    padding: 5.75rem 0 2rem;
  }

  .hero-section .eyebrow {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
  }

  .hero-lede {
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
  }

  .hero-copy,
  .hero-feature {
    display: none;
  }

  .hero-actions {
    gap: 0.65rem !important;
  }

  .hero-actions .btn {
    min-height: 2.6rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .story-card:hover,
  .story-card:focus-within,
  .mood-card:hover,
  .mood-card:focus-within,
  .destination-spotlight:hover,
  .destination-spotlight:focus-within,
  .post-nav-card:hover,
  .destination-related-card:hover {
    transform: none;
  }
}
