* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  overflow-wrap: anywhere;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

img,
picture,
iframe,
video {
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a,
button,
input,
textarea,
select {
  transition: color var(--transition), background-color var(--transition), border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid var(--brand-cyan-dark);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 200;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: var(--paper);
  background: var(--ink);
  transform: translateY(-150%);
}

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

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

.site-header {
  position: relative;
  z-index: 80;
  background: var(--paper);
}

.top-strip {
  color: #0a2930;
  background: var(--brand-cyan);
  font-size: 0.82rem;
  font-weight: 650;
}

.top-strip-inner {
  min-height: 38px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.top-strip p {
  margin: 0;
  text-align: center;
}

.social-links,
.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.social-links a,
.footer-socials a {
  font-size: 0.8rem;
  font-weight: 750;
}

.social-links a:hover,
.footer-socials a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.brand-row {
  min-height: 124px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 4vw, 58px);
  padding-block: 16px;
}

.brand {
  display: block;
  width: 100px;
}

.brand img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.brand-statement {
  margin: 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.15rem, 2.2vw, 1.6rem);
  font-weight: 700;
  line-height: 1.35;
}

.brand-statement span {
  color: var(--brand-cyan-dark);
}

.header-actions {
  grid-column: 3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-button,
.menu-toggle {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--paper);
}

.icon-button:hover,
.menu-toggle:hover {
  border-color: var(--brand-cyan);
  background: var(--brand-cyan-soft);
}

.search-toggle > span:first-child {
  font-size: 1.8rem;
  line-height: 1;
  transform: rotate(-15deg);
}

.menu-toggle {
  display: none;
}

.menu-toggle > span:first-child,
.menu-toggle > span:first-child::before,
.menu-toggle > span:first-child::after {
  width: 21px;
  height: 2px;
  display: block;
  border-radius: 2px;
  background: currentColor;
  content: "";
}

.menu-toggle > span:first-child {
  position: relative;
  transition: background-color 180ms ease;
}

.menu-toggle > span:first-child::before {
  position: absolute;
  top: -7px;
  transition: top 180ms ease, transform 180ms ease;
}

.menu-toggle > span:first-child::after {
  position: absolute;
  top: 7px;
  transition: top 180ms ease, transform 180ms ease;
}

.header-search-panel {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.header-search {
  display: grid;
  grid-template-columns: 150px minmax(0, 720px);
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.header-search > label {
  font-weight: 800;
}

.header-search > div,
.search-page-form {
  display: flex;
}

.header-search input,
.search-page-form input {
  min-width: 0;
  flex: 1;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  padding: 12px 14px;
  color: var(--ink);
  background: var(--paper);
}

.header-search button,
.search-page-form button,
.button {
  border: 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 20px;
  color: var(--paper);
  background: var(--brand-cyan-dark);
  font-weight: 800;
}

.header-search button:hover,
.search-page-form button:hover,
.button:hover {
  color: var(--ink);
  background: var(--brand-lime);
}

.main-navigation {
  position: sticky;
  top: 0;
  z-index: 90;
  border-block: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 7px 18px rgba(20, 33, 38, 0.05);
  backdrop-filter: blur(12px);
}

.primary-menu,
.submenu,
.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  min-height: 54px;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
}

.primary-menu > li.mobile-menu-search {
  display: none;
}

.primary-menu > li {
  position: relative;
  display: flex;
}

.primary-menu > li > a,
.nav-group-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 14px 22px 12px;
  border: 0;
  border-bottom: 3px solid transparent;
  color: var(--ink);
  background: transparent;
  font-size: 0.96rem;
  font-weight: 800;
  white-space: nowrap;
}

.primary-menu > li > a:hover,
.primary-menu > li > a[aria-current="page"],
.nav-group-toggle:hover,
.primary-menu > li.is-current > .nav-group-toggle {
  color: var(--brand-cyan-dark);
  border-bottom-color: var(--brand-lime);
}

.submenu {
  position: absolute;
  top: calc(100% + 1px);
  left: 50%;
  min-width: 220px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: var(--paper);
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}

.has-children:hover > .submenu,
.has-children:focus-within > .submenu,
.has-children.is-open > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-weight: 650;
}

.submenu a:hover,
.submenu a[aria-current="page"] {
  color: var(--brand-cyan-dark);
  background: var(--brand-cyan-soft);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 84;
  border: 0;
  background: rgba(20, 33, 38, 0.58);
}

.preview-notice {
  padding: 10px 20px;
  color: #563f00;
  background: #fff2bd;
  text-align: center;
  font-weight: 800;
}

.alert,
.form-message {
  padding: 12px 15px;
  border-radius: var(--radius-sm);
}

.alert {
  margin-top: 20px;
}

.success {
  color: var(--success);
  background: #e5f6ed;
}

.error {
  color: var(--danger);
  background: #fdeaea;
}

.header-billboard {
  width: min(100%, 760px);
  justify-self: center;
}

.banner-slot {
  position: relative;
}

.advertisement-label {
  display: block;
  margin-bottom: 5px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.carousel {
  position: relative;
  min-width: 0;
}

.carousel-track,
.carousel-slide,
.carousel-slide > a,
.carousel-slide picture {
  display: block;
  min-width: 0;
}

.banner-carousel {
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.banner-carousel img {
  display: block;
  width: 100%;
  object-fit: cover;
}

.banner-slot--header_billboard .banner-carousel img {
  aspect-ratio: 728 / 90;
}

.banner-slot--home_promo .banner-carousel img {
  aspect-ratio: 2200 / 876;
}

.banner-slot--home_inline .banner-carousel img {
  max-height: 210px;
  aspect-ratio: 6 / 1;
}

.banner-slot--article_sidebar .banner-carousel img {
  aspect-ratio: 6 / 5;
}

.carousel-controls {
  position: absolute;
  right: 8px;
  bottom: 8px;
  left: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  pointer-events: none;
}

.carousel-controls button {
  pointer-events: auto;
}

.carousel-prev,
.carousel-next,
.carousel-pause {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(20, 33, 38, 0.76);
  font-size: 1.15rem;
  line-height: 1;
}

.carousel-prev:hover,
.carousel-next:hover,
.carousel-pause:hover {
  color: var(--ink);
  background: var(--brand-lime);
}

.carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.carousel-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid var(--paper);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

.carousel-dots button.active {
  width: 24px;
  border-radius: 99px;
  background: var(--paper);
}

.banner-slot--header_billboard .carousel-controls {
  right: 5px;
  bottom: 5px;
  left: auto;
}

.banner-slot--header_billboard .carousel-prev,
.banner-slot--header_billboard .carousel-next,
.banner-slot--header_billboard .carousel-pause,
.banner-slot--header_billboard .carousel-dots {
  display: none;
}

.home-lead {
  display: grid;
  grid-template-columns: minmax(0, 2.05fr) minmax(300px, 0.95fr);
  gap: 34px;
  padding-top: 42px;
}

.lead-stories,
.focus-panel {
  min-width: 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  padding-bottom: 13px;
  border-bottom: 1px solid var(--line);
}

.section-heading > div {
  position: relative;
  padding-left: 15px;
}

.section-heading > div::before {
  position: absolute;
  top: 3px;
  bottom: 3px;
  left: 0;
  width: 4px;
  border-radius: 5px;
  background: linear-gradient(var(--brand-cyan) 50%, var(--brand-lime) 50%);
  content: "";
}

.section-heading h1,
.section-heading h2 {
  margin: 1px 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  line-height: 1.15;
}

.section-heading > a {
  padding-bottom: 2px;
  color: var(--brand-cyan-dark);
  font-size: 0.9rem;
  font-weight: 800;
  white-space: nowrap;
}

.section-heading > a span {
  display: inline-block;
  margin-left: 6px;
}

.section-heading > a:hover span {
  transform: translateX(3px);
}

.section-heading--compact {
  margin-bottom: 16px;
}

.section-heading--compact h1,
.section-heading--compact h2 {
  font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.section-kicker {
  display: block;
  color: var(--brand-cyan-dark);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.story-carousel {
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--ink);
  box-shadow: var(--shadow-md);
}

.lead-slide,
.lead-slide > a {
  position: relative;
  min-height: 470px;
}

.lead-slide img,
.lead-slide .image-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lead-slide > a::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(10, 22, 26, 0.92) 100%);
  content: "";
}

.lead-overlay {
  position: absolute;
  right: 28px;
  bottom: 70px;
  left: 28px;
  z-index: 2;
  display: grid;
  gap: 10px;
  color: var(--paper);
}

.lead-overlay > strong {
  max-width: 850px;
  font-family: var(--font-editorial);
  font-size: clamp(1.75rem, 4vw, 3rem);
  line-height: 1.18;
  text-wrap: balance;
}

.lead-overlay small {
  font-size: 0.82rem;
  font-weight: 650;
}

.category-label {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 99px;
  color: var(--ink);
  background: var(--brand-lime);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.2;
}

.focus-panel {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.focus-list {
  display: grid;
  gap: 18px;
}

.post-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: var(--paper);
}

.post-card-image {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--surface);
}

.post-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 500ms ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.035);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  color: var(--ink);
  background: linear-gradient(135deg, var(--brand-cyan-soft), var(--brand-lime-soft));
  text-align: center;
}

.image-placeholder strong,
.image-placeholder span {
  display: block;
  font-family: Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 0.95;
}

.image-placeholder span {
  color: var(--brand-cyan-dark);
}

.post-card-body {
  min-width: 0;
  padding-top: 13px;
}

.post-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 650;
}

.post-card h3 {
  margin: 8px 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(1.1rem, 1.7vw, 1.32rem);
  line-height: 1.38;
}

.post-card h3 a:hover {
  color: var(--brand-cyan-dark);
}

.post-card p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.post-card--compact {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  background: transparent;
}

.post-card--compact:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.post-card--compact .post-card-image {
  aspect-ratio: 4 / 3;
}

.post-card--compact .post-card-body {
  padding-top: 0;
}

.post-card--compact h3 {
  display: -webkit-box;
  margin-top: 6px;
  overflow: hidden;
  font-size: 1rem;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.post-card--compact .category-label {
  padding: 0;
  min-height: auto;
  color: var(--brand-cyan-dark);
  background: transparent;
}

.home-promo-wrap,
.home-inline-ad {
  padding-top: 34px;
}

.home-promo-wrap .banner-slot,
.home-inline-ad .banner-slot {
  max-width: 1100px;
  margin-inline: auto;
}

.home-intro {
  margin-top: 34px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: var(--brand-cyan-soft);
}

.content-section {
  padding-block: 58px 18px;
}

.editorial-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 26px;
}

.editorial-grid > .post-card--lead {
  grid-column: span 7;
  grid-row: span 2;
}

.editorial-grid > .post-card--lead .post-card-image {
  aspect-ratio: var(--section-lead-ratio, 16 / 11);
}

.category-section--dining { --section-lead-ratio: 4 / 3; }
.category-section--lifestyle { --section-lead-ratio: 3 / 2; }
.category-section--property { --section-lead-ratio: 16 / 10; }
.category-section--video { --section-lead-ratio: 16 / 9; }

.category-section--video .post-card-image {
  position: relative;
}

.category-section--video .post-card-image::after {
  content: "▶";
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: rgba(20, 33, 38, 0.82);
  font-size: 0.78rem;
}

.editorial-grid > .post-card--lead h3 {
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  line-height: 1.24;
}

.editorial-grid > .post-card--horizontal {
  grid-column: span 5;
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 17px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.editorial-grid > .post-card--horizontal .post-card-image {
  aspect-ratio: 4 / 3;
}

.editorial-grid > .post-card--horizontal .post-card-body {
  padding-top: 0;
}

.editorial-grid > .post-card--standard {
  grid-column: span 6;
}

.editorial-grid > .post-card:nth-child(4),
.editorial-grid > .post-card:nth-child(5) {
  grid-column: span 6;
}

.category-section--lead-right .post-card--lead {
  grid-column: 6 / span 7;
  grid-row: 1 / span 2;
}

.category-section--lead-right .post-card--horizontal {
  grid-column: 1 / span 5;
}

.category-section--lead-right .post-card:nth-child(4) {
  grid-column: span 6;
}

.category-section--lead-right .post-card:nth-child(5) {
  grid-column: span 6;
}

.page-hero {
  position: relative;
  overflow: hidden;
  margin-bottom: 46px;
  padding: 58px 0 54px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(120deg, var(--surface), var(--brand-cyan-soft));
}

.page-hero::after {
  position: absolute;
  top: -90px;
  right: -60px;
  width: 230px;
  height: 230px;
  border: 38px solid rgba(139, 207, 47, 0.2);
  border-radius: 50%;
  content: "";
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  margin: 7px 0 0;
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 5vw, 3.7rem);
  line-height: 1.12;
  text-wrap: balance;
}

.page-hero p {
  max-width: 720px;
  margin: 15px 0 0;
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.82rem;
}

.breadcrumbs a:hover {
  color: var(--brand-cyan-dark);
}

.archive-layout {
  padding-bottom: 78px;
}

.archive-list,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 38px 26px;
}

.archive-list .empty-state {
  grid-column: 1 / -1;
}

.search-layout .search-page-form {
  max-width: 720px;
  margin: -16px auto 44px;
  box-shadow: var(--shadow-sm);
}

.empty-state {
  min-height: 180px;
  display: grid;
  place-content: center;
  padding: 30px;
  border: 1px dashed #bdd0d3;
  border-radius: var(--radius-lg);
  color: var(--muted);
  background: var(--surface);
  text-align: center;
}

.empty-state strong {
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 1.35rem;
}

.empty-state p {
  margin: 6px 0 0;
}

.pagination ul {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  padding: 48px 0 0;
  list-style: none;
}

.pagination a {
  min-width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding-inline: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 750;
}

.pagination a:hover,
.pagination a.current {
  color: var(--paper);
  border-color: var(--brand-cyan-dark);
  background: var(--brand-cyan-dark);
}

.article-page {
  padding-top: 50px;
}

.article-header {
  max-width: 980px;
  text-align: center;
}

.article-header .breadcrumbs {
  justify-content: center;
}

.article-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.article-categories a,
.article-tags a {
  display: inline-flex;
  padding: 5px 10px;
  border-radius: 99px;
  color: var(--ink);
  background: var(--brand-lime-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.article-categories a:hover,
.article-tags a:hover {
  background: var(--brand-lime);
}

.article-header h1 {
  max-width: 960px;
  margin: 18px auto;
  font-family: var(--font-editorial);
  font-size: clamp(2.15rem, 5.5vw, 4.4rem);
  line-height: 1.13;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.article-deck {
  max-width: 780px;
  margin: 0 auto 18px;
  color: var(--ink-soft);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
}

.article-meta {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.article-meta span {
  color: var(--ink);
  font-weight: 800;
}

.article-featured {
  max-width: 1120px;
  margin: 40px auto 46px;
}

.article-featured img {
  width: 100%;
  max-height: 700px;
  display: block;
  border-radius: var(--radius-lg);
  object-fit: cover;
  box-shadow: var(--shadow-sm);
}

.article-featured .image-placeholder {
  width: 100%;
  min-height: clamp(280px, 48vw, 620px);
  border-radius: var(--radius-lg);
}

.article-layout {
  display: grid;
  grid-template-columns: 54px minmax(0, 760px) minmax(220px, 300px);
  align-items: start;
  justify-content: center;
  gap: 34px;
}

.article-main-column {
  min-width: 0;
}

.share-rail {
  position: sticky;
  top: 84px;
  display: grid;
  justify-items: center;
  gap: 9px;
}

.share-rail > span {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.share-rail a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--brand-cyan-dark);
  background: var(--paper);
  font-weight: 900;
}

.share-rail a:hover {
  color: var(--ink);
  border-color: var(--brand-lime);
  background: var(--brand-lime);
}

.article-sidebar {
  position: sticky;
  top: 84px;
}

.article-body,
.rich-content {
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.8;
}

.article-body {
  font-size: 1.125rem;
}

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

.rich-content h2,
.rich-content h3,
.rich-content h4 {
  margin: 1.8em 0 0.65em;
  color: var(--ink);
  font-family: var(--font-editorial);
  line-height: 1.32;
}

.rich-content h2 {
  font-size: clamp(1.55rem, 3vw, 2rem);
}

.rich-content h3 {
  font-size: clamp(1.3rem, 2.3vw, 1.6rem);
}

.rich-content p,
.rich-content ul,
.rich-content ol,
.rich-content blockquote {
  margin-block: 1.15em;
}

.rich-content a {
  color: var(--brand-cyan-dark);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.rich-content img {
  width: auto;
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

.rich-content > *,
.rich-content .wp-caption,
.rich-content .wp-block-image,
.rich-content .wp-block-embed,
.rich-content .wp-block-video {
  max-width: 100% !important;
}

.rich-content .aligncenter {
  display: block;
  margin-inline: auto;
}

.rich-content .alignleft {
  float: left;
  margin: 0.45em 1.4em 1em 0;
}

.rich-content .alignright {
  float: right;
  margin: 0.45em 0 1em 1.4em;
}

.rich-content figure {
  max-width: 100%;
  margin: 1.8em auto;
}

.rich-content figcaption,
.rich-content .wp-caption-text {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.rich-content iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border: 0;
}

.rich-content video {
  width: 100%;
  height: auto;
}

.rich-content pre,
.rich-content code {
  max-width: 100%;
  overflow-x: auto;
}

.rich-content pre {
  padding: 16px;
  border-radius: var(--radius-sm);
  background: var(--surface);
  white-space: pre;
}

.rich-content .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.rich-content .gallery-item {
  width: auto !important;
  margin: 0 !important;
}

.rich-content table {
  width: 100%;
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.rich-content th,
.rich-content td {
  min-width: 130px;
  padding: 10px;
  border: 1px solid var(--line);
  text-align: left;
}

.rich-content blockquote {
  margin-inline: 0;
  padding: 3px 0 3px 24px;
  border-left: 4px solid var(--brand-lime);
  color: var(--ink);
  font-family: var(--font-editorial);
  font-size: 1.18rem;
}

.article-tags {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.article-tags > strong {
  display: block;
  margin-bottom: 12px;
}

.article-tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.article-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 42px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.article-navigation a {
  display: grid;
  gap: 5px;
}

.article-navigation a:last-child {
  text-align: right;
}

.article-navigation span {
  color: var(--brand-cyan-dark);
  font-size: 0.78rem;
  font-weight: 850;
}

.article-navigation strong {
  font-family: var(--font-editorial);
  line-height: 1.4;
}

.article-navigation a:hover strong {
  color: var(--brand-cyan-dark);
}

.related-section {
  padding-top: 70px;
}

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

.page-content {
  max-width: 860px;
  padding-bottom: 80px;
}

.page-featured {
  width: 100%;
  margin-bottom: 34px;
  border-radius: var(--radius-lg);
}

.page-content > .image-placeholder {
  width: 100%;
  min-height: 320px;
  margin-bottom: 34px;
  border-radius: var(--radius-lg);
}

.page-section {
  margin-top: 38px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.inquiry-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.8fr);
  gap: clamp(38px, 7vw, 90px);
  align-items: start;
  padding-bottom: 80px;
}

.form-panel,
.comment-form {
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}

.form-panel h2,
.comment-form h3 {
  margin: 5px 0 24px;
  font-family: var(--font-editorial);
  font-size: 1.65rem;
}

.form-panel label,
.comment-form label {
  display: block;
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}

.form-panel input,
.form-panel textarea,
.comment-form input,
.comment-form textarea {
  width: 100%;
  display: block;
  margin-top: 6px;
  padding: 11px 12px;
  border: 1px solid #b7c8cb;
  border-radius: var(--radius-sm);
  color: var(--ink);
  background: var(--paper);
}

.form-panel input:focus,
.form-panel textarea:focus,
.comment-form input:focus,
.comment-form textarea:focus {
  border-color: var(--brand-cyan-dark);
  box-shadow: 0 0 0 3px rgba(17, 181, 211, 0.16);
  outline: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.button {
  display: inline-flex;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.form-note {
  color: var(--muted);
  font-size: 0.82rem;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

.comments {
  max-width: 860px;
  padding-block: 76px 90px;
}

.comments > h2 {
  margin: 0 0 28px;
  font-family: var(--font-editorial);
  font-size: 2rem;
}

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

.comment-list li {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.comment-list header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.comment-list time {
  color: var(--muted);
  font-size: 0.78rem;
}

.comment-form {
  margin-top: 34px;
}

.not-found {
  min-height: 58vh;
  display: grid;
  justify-items: center;
  align-content: center;
  padding-block: 80px;
  text-align: center;
}

.error-code {
  color: var(--brand-cyan);
  font-family: Arial, sans-serif;
  font-size: clamp(5rem, 16vw, 10rem);
  font-weight: 950;
  letter-spacing: -0.08em;
  line-height: 0.85;
}

.not-found h1 {
  margin: 18px 0 6px;
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.not-found p {
  margin: 0;
  color: var(--muted);
}

.not-found-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 28px;
}

.text-link {
  color: var(--brand-cyan-dark);
  font-weight: 800;
}

.site-footer {
  margin-top: 64px;
  color: #d6e1e3;
  background: var(--ink);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr 0.75fr 1.65fr;
  gap: clamp(28px, 5vw, 62px);
  padding-block: 64px;
}

.site-footer h2 {
  margin: 0 0 18px;
  color: var(--paper);
  font-family: var(--font-editorial);
  font-size: 1.2rem;
}

.footer-about p,
.footer-newsletter > p {
  color: #aebdc1;
  font-size: 0.9rem;
}

.footer-logo {
  width: 95px;
  height: 95px;
  display: block;
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  background: var(--paper);
}

.footer-contact {
  color: var(--brand-cyan);
  font-weight: 750;
}

.site-footer li + li {
  margin-top: 9px;
}

.site-footer nav a {
  color: #aebdc1;
  font-size: 0.9rem;
}

.site-footer nav a:hover {
  color: var(--brand-lime);
}

.footer-newsletter .section-kicker {
  color: var(--brand-lime);
}

.newsletter-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form label {
  min-width: 0;
}

.newsletter-form label > span {
  display: block;
  margin-bottom: 5px;
  color: #d6e1e3;
  font-size: 0.75rem;
  font-weight: 700;
}

.newsletter-form input {
  width: 100%;
  min-width: 0;
  padding: 10px;
  border: 1px solid #415259;
  border-radius: var(--radius-sm);
  color: var(--paper);
  background: #213137;
}

.newsletter-email,
.newsletter-form button {
  grid-column: 1 / -1;
}

.newsletter-form button {
  border: 0;
  border-radius: var(--radius-sm);
  padding: 11px 16px;
  color: var(--ink);
  background: var(--brand-lime);
  font-weight: 900;
}

.newsletter-form button:hover {
  background: var(--brand-cyan);
}

.footer-socials {
  margin-top: 20px;
}

.footer-socials a {
  color: var(--brand-cyan);
}

.footer-bottom {
  border-top: 1px solid #34464c;
  color: #8fa2a7;
  font-size: 0.78rem;
}

.footer-bottom .container {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom a:hover {
  color: var(--brand-lime);
}

.whatsapp-button {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  padding: 11px 16px;
  border-radius: 99px;
  color: var(--paper);
  background: #168a4b;
  box-shadow: var(--shadow-md);
  font-size: 0.85rem;
  font-weight: 850;
}

.whatsapp-button:hover {
  transform: translateY(-2px);
}

@media (max-width: 1199px) {
  .primary-menu {
    gap: 0;
  }

  .primary-menu > li > a,
  .nav-group-toggle {
    padding-inline: 17px;
  }

  .home-lead {
    grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr);
    gap: 24px;
  }

  .story-carousel,
  .lead-slide,
  .lead-slide > a {
    min-height: 430px;
  }

  .article-layout {
    grid-template-columns: 46px minmax(0, 720px) minmax(200px, 260px);
    gap: 24px;
  }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 1.4fr;
  }
}

@media (max-width: 899px) {
  .container {
    width: min(calc(100% - 36px), var(--max-width));
  }

  .top-strip-inner {
    grid-template-columns: auto 1fr;
  }

  .top-strip p {
    text-align: right;
  }

  .top-strip .social-links {
    display: none;
  }

  .brand-row {
    min-height: 100px;
    grid-template-columns: 80px minmax(0, 1fr) auto;
    gap: 20px;
  }

  .brand {
    width: 76px;
  }

  .brand-statement {
    font-size: 1.1rem;
  }

  .header-billboard {
    max-width: 520px;
  }

  .menu-toggle {
    display: grid;
  }

  body.nav-open .menu-toggle {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 110;
    border-color: var(--brand-cyan);
    background: var(--paper);
    box-shadow: var(--shadow-md);
  }

  body.nav-open .menu-toggle > span:first-child {
    background: transparent;
  }

  body.nav-open .menu-toggle > span:first-child::before,
  body.nav-open .menu-toggle > span:first-child::after {
    top: 0;
  }

  body.nav-open .menu-toggle > span:first-child::before {
    transform: rotate(45deg);
  }

  body.nav-open .menu-toggle > span:first-child::after {
    transform: rotate(-45deg);
  }

  /*
   * backdrop-filter 會為 position: fixed 的子元素建立 containing block，令手機版
   * 抽屜式選單及遮罩被困在導覽列內（只剩導覽列高度，看起來像整個選單消失）。
   * 手機版不需要這層毛玻璃，直接關掉。
   */
  .site-header,
  .main-navigation {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .main-navigation {
    position: relative;
    z-index: 85;
    border: 0;
    box-shadow: none;
  }

  .nav-backdrop {
    right: min(88vw, 390px);
  }

  .primary-menu {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    width: min(88vw, 390px);
    display: block;
    padding: 86px 22px 30px;
    overflow-y: auto;
    background: var(--paper);
    box-shadow: var(--shadow-md);
    clip-path: inset(0 0 0 100%);
    visibility: hidden;
    transition: clip-path 250ms ease, visibility 250ms ease;
  }

  .primary-menu.is-open {
    visibility: visible;
    clip-path: inset(0);
  }

  .primary-menu > li {
    display: block;
    border-bottom: 1px solid var(--line);
  }

  .primary-menu > li.mobile-menu-search {
    display: block;
    padding: 0 0 18px;
    border-bottom: 2px solid var(--ink);
  }

  .mobile-menu-search label {
    display: block;
    margin-bottom: 7px;
    color: var(--muted);
    font-size: 0.75rem;
    font-weight: 800;
  }

  .mobile-menu-search form > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .mobile-menu-search input,
  .mobile-menu-search button {
    min-height: 44px;
    border: 1px solid var(--line);
  }

  .mobile-menu-search input {
    min-width: 0;
    padding: 9px 11px;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  }

  .mobile-menu-search button {
    padding-inline: 14px;
    border-color: var(--brand-cyan-dark);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--paper);
    background: var(--brand-cyan-dark);
    font-weight: 800;
  }

  .primary-menu > li > a,
  .nav-group-toggle {
    width: 100%;
    justify-content: space-between;
    padding: 15px 4px;
    border-bottom: 0;
    font-size: 1rem;
  }

  .primary-menu > li > a[aria-current="page"],
  .primary-menu > li.is-current > .nav-group-toggle {
    color: var(--brand-cyan-dark);
  }

  .submenu {
    position: static;
    min-width: 0;
    display: none;
    padding: 0 0 12px 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-children:hover > .submenu,
  .has-children:focus-within > .submenu {
    display: none;
  }

  /*
   * 桌面版展開時用 translate(-50%, 0) 置中浮層，該規則的 specificity 高於上面的
   * .submenu { transform: none }，手機版若不一併覆寫，子選單會被推出抽屜左方
   * （只剩一段空白）。手機版是流內清單，不需要任何位移。
   */
  .has-children.is-open > .submenu {
    display: block;
    transform: none;
  }

  .home-lead {
    grid-template-columns: 1fr;
  }

  .story-carousel,
  .lead-slide,
  .lead-slide > a {
    min-height: 450px;
  }

  .focus-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .post-card--compact {
    display: block;
    padding-bottom: 0;
    border-bottom: 0;
  }

  .post-card--compact .post-card-body {
    padding-top: 10px;
  }

  .editorial-grid > .post-card--lead,
  .category-section--lead-right .post-card--lead {
    grid-column: 1 / span 7;
  }

  .editorial-grid > .post-card--horizontal,
  .category-section--lead-right .post-card--horizontal {
    grid-column: 8 / span 5;
    display: block;
  }

  .editorial-grid > .post-card:nth-child(4),
  .editorial-grid > .post-card:nth-child(5),
  .category-section--lead-right .post-card:nth-child(4),
  .category-section--lead-right .post-card:nth-child(5) {
    grid-column: span 6;
  }

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

  .article-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .article-main-column { order: 1; }

  .share-rail {
    order: 2;
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .article-sidebar {
    order: 3;
    position: static;
    max-width: 420px;
    margin-inline: auto;
  }

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

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

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

@media (max-width: 639px) {
  .container {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .top-strip-inner {
    min-height: 34px;
    grid-template-columns: 1fr;
  }

  .top-strip time {
    display: none;
  }

  .top-strip p {
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .brand-row {
    min-height: 86px;
    grid-template-columns: 66px 1fr auto;
    gap: 14px;
  }

  .brand {
    width: 62px;
  }

  .brand-statement {
    font-size: 0.95rem;
  }

  .brand-statement span {
    display: none;
  }

  .header-billboard {
    display: none;
  }

  .header-billboard.has-mobile-creative {
    grid-row: 2;
    grid-column: 1 / -1;
    width: 100%;
    max-width: none;
    display: block;
  }

  .header-billboard.has-mobile-creative .banner-carousel img {
    aspect-ratio: 32 / 9;
  }

  .icon-button,
  .menu-toggle {
    width: 42px;
    height: 42px;
  }

  .header-search {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .home-lead {
    padding-top: 28px;
  }

  .section-heading {
    gap: 12px;
  }

  .section-heading h1,
  .section-heading h2 {
    font-size: 1.55rem;
  }

  .section-heading > a {
    font-size: 0.78rem;
  }

  .story-carousel,
  .lead-slide,
  .lead-slide > a {
    min-height: 390px;
  }

  .lead-overlay {
    right: 18px;
    bottom: 64px;
    left: 18px;
  }

  .lead-overlay > strong {
    font-size: 1.65rem;
  }

  .focus-panel {
    padding: 16px;
  }

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

  .post-card--compact {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .home-promo-wrap {
    padding-top: 26px;
  }

  .banner-slot--home_promo .banner-carousel img,
  .banner-slot--home_inline .banner-carousel img {
    aspect-ratio: 16 / 7;
  }

  .home-intro {
    margin-top: 26px;
    padding: 20px;
  }

  .content-section {
    padding-block: 44px 8px;
  }

  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .editorial-grid > .post-card--lead,
  .editorial-grid > .post-card--horizontal,
  .editorial-grid > .post-card--standard,
  .editorial-grid > .post-card:nth-child(4),
  .editorial-grid > .post-card:nth-child(5),
  .category-section--lead-right .post-card--lead,
  .category-section--lead-right .post-card--horizontal,
  .category-section--lead-right .post-card:nth-child(4),
  .category-section--lead-right .post-card:nth-child(5) {
    grid-column: auto;
    grid-row: auto;
  }

  .editorial-grid > .post-card--horizontal {
    display: grid;
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 14px;
  }

  .editorial-grid > .post-card--horizontal .post-card-body {
    padding-top: 0;
  }

  .page-hero {
    margin-bottom: 34px;
    padding: 38px 0;
  }

  .page-hero h1 {
    font-size: 2.15rem;
  }

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

  .article-page {
    padding-top: 34px;
  }

  .article-header h1 {
    font-size: 2.25rem;
  }

  .article-featured {
    width: 100%;
    margin: 30px 0 34px;
  }

  .article-featured img {
    border-radius: 0;
  }

  .article-body {
    font-size: 1.06rem;
  }

  .rich-content .alignleft,
  .rich-content .alignright {
    float: none;
    margin-inline: auto;
  }

  .article-navigation {
    grid-template-columns: 1fr;
  }

  .article-navigation a:last-child {
    text-align: left;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .not-found-actions {
    flex-direction: column;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    padding-block: 48px;
  }

  .footer-bottom .container {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 14px;
  }
}

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

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

@media print {
  .top-strip,
  .header-actions,
  .main-navigation,
  .header-billboard,
  .share-rail,
  .article-sidebar,
  .related-section,
  .comments,
  .site-footer,
  .whatsapp-button {
    display: none !important;
  }

  .article-layout {
    display: block;
  }

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