:root {
  --snow-ink: #111111;
  --snow-paper: #ffffff;
  --snow-mist: #f4f3f0;
  --snow-stone: #6b6a67;
  --snow-line: rgba(17, 17, 17, 0.16);
  --snow-line-dark: rgba(255, 255, 255, 0.18);
  --snow-shell: 1200px;
  --snow-article: 760px;
  --snow-header-height: 86px;
  --global-palette1: #111111;
  --global-palette2: #444444;
  --global-palette3: #111111;
  --global-palette4: #444444;
  --global-palette5: #f5f5f5;
  --global-palette6: #eeeeee;
  --global-palette7: #ffffff;
  --global-palette8: #f5f5f5;
  --global-palette9: #eeeeee;
  --global-palette-btn-bg: #111111;
  --global-palette-btn-bg-hover: #333333;
  --global-palette-btn: #ffffff;
  --snow-serif: "Playfair Display", Georgia, serif;
  --snow-sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  --global-palette1: #111111;
  --global-palette2: #2d2d2d;
  --global-palette3: #111111;
  --global-palette4: #4a4a4a;
  --global-palette5: #f5f5f3;
  --global-palette6: #ececea;
  --global-palette7: #ffffff;
  --global-palette8: #f7f7f5;
  --global-palette9: #eeeeec;
  --global-palette-btn-bg: #111111;
  --global-palette-btn-bg-hover: #333333;
  --global-palette-btn: #ffffff;
  margin: 0;
  color: var(--snow-ink);
  background: var(--snow-paper);
  font-family: var(--snow-serif);
  font-size: 1.0625rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

.snow-entry-content--legacy {
  --global-palette1: #111111;
  --global-palette2: #2d2d2d;
  --global-palette3: #111111;
  --global-palette4: #4a4a4a;
  --global-palette5: #f5f5f3;
  --global-palette6: #ececea;
  --global-palette7: #ffffff;
  --global-palette8: #f7f7f5;
  --global-palette9: #eeeeec;
  --global-palette-btn-bg: #111111;
  --global-palette-btn-bg-hover: #333333;
  --global-palette-btn: #ffffff;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute !important;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
}

.screen-reader-text:focus,
.snow-skip-link:focus {
  z-index: 100000;
  top: 12px;
  left: 12px;
  clip: auto;
  width: auto;
  height: auto;
  padding: 0.8rem 1rem;
  color: var(--snow-paper);
  background: var(--snow-ink);
  font-family: var(--snow-sans);
  font-size: 0.8rem;
}

.snow-contact {
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  border-top: 1px solid var(--snow-line);
}

.snow-contact-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.75rem;
  font-family: var(--snow-sans);
}

.snow-contact-form p {
  margin: 0;
}

.snow-contact-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.snow-contact-form input[type="text"],
.snow-contact-form input[type="email"],
.snow-contact-form textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  color: var(--snow-ink);
  background: var(--snow-paper);
  border: 1px solid rgba(17, 17, 17, 0.34);
  border-radius: 0;
}

.snow-contact-form textarea {
  resize: vertical;
}

.snow-contact-form input:focus,
.snow-contact-form textarea:focus {
  border-color: var(--snow-ink);
  outline: 2px solid var(--snow-ink);
  outline-offset: 2px;
}

.snow-contact-form__privacy {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.65rem;
}

.snow-contact-form__privacy input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.18rem;
}

.snow-contact-form__privacy label {
  margin: 0;
  font-weight: 400;
}

.snow-contact-form__note {
  color: var(--snow-stone);
  font-size: 0.84rem;
}

.snow-contact__status {
  margin: 1rem 0 0;
  padding: 0.85rem 1rem;
  border: 1px solid currentColor;
  font-family: var(--snow-sans);
  font-size: 0.92rem;
}

.snow-contact__status--success {
  color: #1f5c36;
  background: #f1f8f3;
}

.snow-contact__status--error {
  color: #7a201d;
  background: #fff4f3;
}

.snow-contact__website {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.snow-entry-content table {
  display: block;
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  border-collapse: collapse;
  -webkit-overflow-scrolling: touch;
}

.snow-skip-link {
  position: fixed;
  top: -200px;
  left: 12px;
}

.snow-shell {
  width: min(calc(100% - 64px), var(--snow-shell));
  margin-inline: auto;
}

.snow-shell--article {
  max-width: var(--snow-article);
}

.snow-shell--wide {
  max-width: var(--snow-shell);
}

.snow-main {
  min-height: 60vh;
}

.snow-header {
  position: relative;
  z-index: 100;
  width: 100%;
  color: var(--snow-ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--snow-line);
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.home .snow-header {
  position: absolute;
  color: var(--snow-paper);
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.home .snow-header.is-scrolled {
  position: fixed;
  color: var(--snow-ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--snow-line);
  backdrop-filter: blur(14px);
}

.snow-legacy-hero-page .snow-header {
  position: absolute;
  color: var(--snow-paper);
  background: transparent;
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.snow-legacy-hero-page .snow-header.is-scrolled {
  position: fixed;
  color: var(--snow-ink);
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--snow-line);
  backdrop-filter: blur(14px);
}

.snow-header__inner {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto 36px;
  align-items: center;
  min-height: var(--snow-header-height);
  gap: 2rem;
}

.snow-brand {
  min-width: 0;
}

.snow-brand a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
}

.snow-brand__text {
  font-family: var(--snow-serif);
  font-size: clamp(1.5rem, 2.5vw, 2.15rem);
  line-height: 1;
}

.snow-brand .custom-logo {
  width: auto;
  max-width: 245px;
  max-height: 48px;
  object-fit: contain;
  object-position: left center;
}

.home .snow-header:not(.is-scrolled) .custom-logo {
  filter: brightness(0) invert(1);
}

.snow-legacy-hero-page .snow-header:not(.is-scrolled) .custom-logo {
  filter: brightness(0) invert(1);
}

.snow-nav .menu,
.snow-menu-fallback,
.snow-footer-menu {
  display: flex;
  align-items: center;
  gap: clamp(1.15rem, 2.2vw, 2.4rem);
  margin: 0;
  padding: 0;
  list-style: none;
}

.snow-nav li {
  position: relative;
}

.snow-nav a {
  display: block;
  padding: 0.45rem 0;
  color: inherit;
  font-family: var(--snow-sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.snow-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

.snow-nav a:hover::after,
.snow-nav .current-menu-item > a::after,
.snow-nav .current_page_item > a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.snow-nav .sub-menu {
  position: absolute;
  top: 100%;
  left: -1rem;
  display: none;
  min-width: 220px;
  margin: 0;
  padding: 0.7rem 1rem;
  color: var(--snow-ink);
  background: var(--snow-paper);
  border: 1px solid var(--snow-line);
  list-style: none;
}

.snow-nav li:hover > .sub-menu,
.snow-nav li:focus-within > .sub-menu {
  display: block;
}

.snow-search-link {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  color: inherit;
}

.snow-search-link svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.5;
}

.snow-menu-toggle {
  display: none;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.snow-menu-toggle__label {
  font-family: var(--snow-sans);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.snow-menu-toggle__icon {
  position: relative;
  display: block;
  width: 24px;
  height: 16px;
}

.snow-menu-toggle__icon i {
  position: absolute;
  left: 0;
  width: 24px;
  height: 1px;
  background: currentColor;
  transition: transform 180ms ease, top 180ms ease;
}

.snow-menu-toggle__icon i:first-child { top: 3px; }
.snow-menu-toggle__icon i:last-child { top: 12px; }
.snow-menu-toggle[aria-expanded="true"] .snow-menu-toggle__icon i:first-child { top: 8px; transform: rotate(45deg); }
.snow-menu-toggle[aria-expanded="true"] .snow-menu-toggle__icon i:last-child { top: 8px; transform: rotate(-45deg); }

.snow-hero {
  position: relative;
  display: grid;
  min-height: 738px;
  place-items: center;
  color: var(--snow-paper);
  background-color: #29343a;
  background-image: var(--snow-hero-image, linear-gradient(135deg, #59666d, #192125));
  background-position: center;
  background-size: cover;
}

.snow-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 8, 10, 0.22) 0%, rgba(5, 8, 10, 0.12) 36%, rgba(5, 8, 10, 0.7) 100%);
}

.snow-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: 9rem 6rem;
  text-align: center;
}

.snow-hero h1 {
  max-width: 900px;
  margin: 0 0 1rem;
  font-size: clamp(3.5rem, 6vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.95;
}

.snow-hero__dek {
  max-width: 650px;
  margin: 0 0 2rem;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  line-height: 1.45;
}

.snow-eyebrow {
  margin: 0 0 1.1rem;
  font-family: var(--snow-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  line-height: 1.3;
  text-transform: uppercase;
}

.snow-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0.75rem 1.15rem;
  color: var(--snow-paper);
  background: var(--snow-ink);
  border: 1px solid var(--snow-ink);
  font-family: var(--snow-sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
}

.snow-button:hover {
  color: var(--snow-ink);
  background: transparent;
}

.snow-button--light {
  color: var(--snow-paper);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.85);
}

.snow-button--light:hover {
  color: var(--snow-ink);
  background: var(--snow-paper);
}

.snow-section {
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.snow-section__header {
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.snow-section__header h2 {
  max-width: 980px;
  margin: 0;
  font-size: 2.25rem;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.25;
}

.snow-archive-header h1,
.snow-page__header h1,
.snow-article__header h1,
.snow-not-found h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.04;
}

.snow-editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 32px;
  min-height: 532px;
}

.snow-editorial-grid .snow-card--lead {
  grid-row: 1 / 3;
}

.snow-card {
  position: relative;
  min-width: 0;
}

.snow-card__media {
  display: block;
  overflow: hidden;
  background: #dbe3e6;
}

.snow-card__media img,
.snow-featured__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.snow-card:hover .snow-card__media img,
.snow-featured:hover .snow-featured__media img {
  transform: scale(1.025);
}

.snow-card__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.05), transparent 55%),
    linear-gradient(160deg, #94a5ab, #263239);
}

.snow-card--lead,
.snow-card--overlay {
  overflow: hidden;
  color: var(--snow-paper);
  background: #263239;
}

.snow-card--lead .snow-card__media,
.snow-card--overlay .snow-card__media {
  position: absolute;
  inset: 0;
}

.snow-card--lead::after,
.snow-card--overlay::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 8, 11, 0.05), rgba(3, 8, 11, 0.75));
  content: "";
  pointer-events: none;
}

.snow-card--lead .snow-card__content,
.snow-card--overlay .snow-card__content {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 0;
  left: 0;
  padding: clamp(1.4rem, 3vw, 2.5rem);
}

.snow-card--lead .snow-card__title,
.snow-card--overlay .snow-card__title {
  margin: 0;
  font-size: clamp(1.65rem, 2.5vw, 1.875rem);
  line-height: 1.08;
}

.snow-card--overlay .snow-card__title {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
}

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

.snow-card--lead .snow-meta,
.snow-card--overlay .snow-meta {
  display: none;
}

.snow-card--lead .snow-text-link,
.snow-card--overlay .snow-text-link,
.snow-card--lead .snow-card__excerpt,
.snow-card--overlay .snow-card__excerpt {
  display: none;
}

.snow-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--snow-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.snow-meta__category {
  color: inherit;
  text-decoration: none;
}

.snow-meta time {
  opacity: 0.7;
}

.snow-meta time::before {
  margin-right: 0.7rem;
  content: "—";
}

.snow-meta__author {
  color: inherit;
  text-decoration: none;
}

.snow-meta__author::before {
  margin-right: 0.7rem;
  content: "—";
}

.snow-section--dark {
  color: var(--snow-paper);
  background: var(--snow-ink);
}

.snow-section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.snow-section-tile {
  display: block;
  color: inherit;
  text-decoration: none;
}

.snow-section-tile__image {
  display: block;
  overflow: hidden;
  aspect-ratio: 328 / 285;
  background-color: #263239;
  background-image: var(--snow-card-image, linear-gradient(145deg, #91a5ad, #1c272d));
  background-position: center;
  background-size: cover;
  transition: filter 250ms ease, transform 250ms ease;
}

.snow-section-tile:hover .snow-section-tile__image {
  filter: brightness(1.08);
  transform: translateY(-4px);
}

.snow-section-tile__label {
  display: block;
  padding: 1.25rem 0 0;
  font-family: var(--snow-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.snow-featured__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 8rem);
}

.snow-featured__media {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background: var(--snow-mist);
}

.snow-featured__content h2 {
  margin: 0 0 1.2rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.snow-featured__content h2 a {
  text-decoration: none;
}

.snow-featured__excerpt {
  margin-bottom: 1.8rem;
  color: #3f3e3c;
  font-size: 1.15rem;
}

.snow-featured__excerpt p {
  margin: 0;
}

.snow-featured .snow-button {
  color: var(--snow-ink);
  background: var(--snow-paper);
  border-color: var(--snow-ink);
}

.snow-featured .snow-button:hover {
  color: var(--snow-paper);
  background: var(--snow-ink);
}

.snow-latest {
  border-bottom: 1px solid var(--snow-line-dark);
}

.snow-latest__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
  padding-top: 3rem;
  border-top: 1px solid var(--snow-line-dark);
}

.snow-card--dark .snow-card__media {
  margin-bottom: 1.5rem;
  aspect-ratio: 4 / 3;
}

.snow-card--dark .snow-card__title,
.snow-card--standard .snow-card__title {
  margin: 0.8rem 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.15;
}

.snow-card--dark .snow-card__excerpt,
.snow-card--standard .snow-card__excerpt {
  color: currentColor;
  opacity: 0.72;
  font-size: 0.98rem;
  font-style: italic;
}

.snow-card__excerpt p {
  margin: 0;
}

.snow-text-link {
  display: inline-flex;
  margin-top: 1rem;
  font-family: var(--snow-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.snow-archive-header,
.snow-page__header,
.snow-article__header {
  padding-top: clamp(5rem, 10vw, 9rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.snow-shell--single-hero {
  max-width: 900px;
}

.snow-article__lead {
  padding-bottom: clamp(3rem, 6vw, 5rem);
  color: var(--snow-paper);
  background: #111;
}

.snow-article__lead .snow-article__header {
  text-align: center;
}

.snow-article__lead .snow-article__header h1 {
  font-size: clamp(2.5rem, 4vw, 2.875rem);
}

.snow-article__lead .snow-meta {
  justify-content: center;
}

.snow-article__lead .snow-article__dek {
  margin-inline: auto;
  color: #cfcfcf;
}

.snow-archive-header__description,
.snow-article__dek {
  max-width: 700px;
  margin-top: 1.5rem;
  color: var(--snow-stone);
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.55;
}

.snow-archive-header__description p,
.snow-article__dek p {
  margin: 0;
}

.snow-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(3rem, 6vw, 6rem) 2rem;
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.snow-card--standard .snow-card__media {
  margin-bottom: 1.2rem;
  aspect-ratio: 4 / 3;
}

.snow-article__hero,
.snow-page__hero {
  margin-top: 0;
  margin-bottom: clamp(3rem, 7vw, 6rem);
}

.snow-article__hero img,
.snow-page__hero img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
}

.snow-article__lead .snow-article__hero {
  margin-bottom: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
}

.snow-article__lead .snow-article__hero img {
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.snow-article__hero figcaption {
  margin-top: 0.65rem;
  color: var(--snow-stone);
  font-family: var(--snow-sans);
  font-size: 0.7rem;
}

.snow-entry-content {
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.snow-entry-content--legacy {
  width: 100%;
  max-width: none;
  padding-bottom: 0;
}

.snow-entry-content--legacy > .kb-row-layout-wrap,
.snow-entry-content--legacy > .wp-block-kadence-rowlayout,
.snow-entry-content--legacy > .wp-block-group.alignfull {
  margin-bottom: 0;
}

.snow-entry-content--legacy .kt-row-column-wrap.kb-theme-content-width {
  width: min(calc(100% - 64px), var(--snow-shell)) !important;
  max-width: var(--snow-shell) !important;
}

.snow-entry-content > * {
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.snow-entry-content > h2,
.snow-entry-content > h3,
.snow-entry-content > h4 {
  margin-top: 2.8em;
  margin-bottom: 0.8em;
  line-height: 1.14;
}

.snow-entry-content > h2 { font-size: clamp(2rem, 4vw, 3rem); }
.snow-entry-content > h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); }

.snow-entry-content p,
.snow-entry-content li {
  font-size: 1.12rem;
}

.snow-entry-content a {
  text-decoration: underline;
}

.snow-entry-content blockquote {
  margin-inline: 0;
  padding: 0.25rem 0 0.25rem clamp(1.25rem, 4vw, 2.5rem);
  border-left: 2px solid var(--snow-ink);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-style: italic;
  line-height: 1.35;
}

.snow-entry-content .alignwide {
  width: min(var(--snow-shell), calc(100vw - 64px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.snow-entry-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.snow-entry-content .wp-block-image img,
.snow-entry-content .wp-block-gallery img {
  width: 100%;
}

/* Kadence Blocks remains an allowed legacy renderer inside article/page content. */
.snow-entry-content .kb-row-layout-wrap.alignfull,
.snow-entry-content .wp-block-kadence-rowlayout.alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.snow-entry-content .kb-row-layout-wrap.alignwide,
.snow-entry-content .wp-block-kadence-rowlayout.alignwide {
  width: min(var(--snow-shell), calc(100vw - 64px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

/* Legacy Snow Edition blocks formerly supplied by Kadence Additional CSS. */
.snow-entry-content p,
.snow-entry-content li {
  line-height: 1.7;
}

.snow-entry-content li {
  margin-bottom: 10px;
}

.snow-entry-content h2 { line-height: 1.25; }
.snow-entry-content h3 { line-height: 1.35; }

.snow-entry-content figcaption {
  margin-top: 6px;
  color: #666666;
  font-family: var(--snow-sans);
  font-size: 13px;
}

.snow-entry-content--legacy .se-hero {
  position: relative;
  min-height: 82vh;
  overflow: hidden;
}

.snow-entry-content--legacy .se-hero-img {
  position: absolute;
  z-index: 1;
  inset: 0;
}

.snow-entry-content--legacy .se-hero-img img:not([src*=".svg"]) {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.snow-entry-content--legacy .se-hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 82vh;
  padding: 0 24px;
  text-align: center;
}

.snow-entry-content--legacy .se-hero-content * {
  color: #ffffff;
}

.snow-entry-content--legacy .se-japan-band { background: #050505; }

.snow-entry-content--legacy .se-japan-card,
.snow-entry-content--legacy .se-south-card {
  position: relative;
  overflow: hidden;
  height: auto !important;
  min-height: unset !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: cover !important;
}

.snow-entry-content--legacy .se-japan-card { aspect-ratio: 2 / 3; }
.snow-entry-content--legacy .se-south-card { aspect-ratio: 3 / 4; }
.snow-entry-content--legacy .se-south-band { background: #f7f7f5; }

.snow-entry-content--legacy .se-japan-card .kt-inside-inner-col,
.snow-entry-content--legacy .se-south-card .kt-inside-inner-col {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  height: 100% !important;
  min-height: 100% !important;
}

.snow-entry-content--legacy .se-japan-eyebrow {
  transform: translateY(16px);
}

.snow-entry-content--legacy .se-atlas-ver-todos {
  display: inline-block;
  color: #111111 !important;
  font-family: var(--snow-sans) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  text-decoration: underline !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.snow-entry-content--legacy .se-dest-card,
.snow-entry-content--legacy .se-exp-card,
.snow-entry-content--legacy .se-exp-card .kt-inside-inner-col {
  position: relative !important;
  overflow: hidden !important;
}

.snow-entry-content--legacy .se-dest-card::after,
.snow-entry-content--legacy .se-exp-card .kt-inside-inner-col::before {
  position: absolute !important;
  z-index: 1 !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.74), rgba(0, 0, 0, 0.38) 32%, rgba(0, 0, 0, 0.08) 70%, transparent) !important;
  content: "" !important;
  pointer-events: none !important;
}

.snow-entry-content--legacy .se-dest-card .kt-inside-inner-col > *,
.snow-entry-content--legacy .se-exp-card .kt-inside-inner-col > * {
  position: relative !important;
  z-index: 2 !important;
}

.snow-entry-content--legacy .se-exp-card .kt-adv-heading,
.snow-entry-content--legacy .se-exp-card .wp-block-kadence-advancedheading,
.snow-entry-content--legacy .se-exp-card p {
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.85) !important;
}

.snow-entry-content--legacy .se-exp-card-small .kt-inside-inner-col::before {
  background: linear-gradient(to top, rgba(0, 0, 0, 0.82), rgba(0, 0, 0, 0.58) 30%, transparent 72%) !important;
}

.snow-entry-content--legacy .se-no-hover-button .kb-button,
.snow-entry-content--legacy .se-no-hover-button .kb-button:hover,
.snow-entry-content--legacy .se-no-hover-button .kb-button:focus,
.snow-entry-content--legacy .se-no-hover-button .kb-button:active,
.snow-entry-content--legacy .se-no-hover-button .kb-button:visited {
  color: #111111 !important;
  background: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}

.snow-entry-content .wp-block-button__link {
  font-family: var(--snow-sans) !important;
}

.single-post .snow-entry-content > p a:not(.wp-element-button):not(.wp-block-button__link),
.single-post .snow-entry-content > ul a:not(.wp-element-button):not(.wp-block-button__link),
.single-post .snow-entry-content > ol a:not(.wp-element-button):not(.wp-block-button__link) {
  color: #9a6a2f;
  text-decoration: underline;
  text-decoration-color: rgba(154, 106, 47, 0.75);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.single-post .snow-entry-content a.link-important {
  color: #8a5724;
  font-weight: 600;
  text-decoration-color: rgba(138, 87, 36, 0.9);
}

.single-post .snow-entry-content a.link-important:hover,
.single-post .snow-entry-content a.link-important:focus-visible,
.single-post .snow-entry-content a.link-cta:hover,
.single-post .snow-entry-content a.link-cta:focus-visible {
  color: #5f3814;
  text-decoration-color: #5f3814;
}

.single-post .snow-entry-content > p a.link-cta {
  color: #9a6a2f;
  font-weight: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(154, 106, 47, 0.75);
  border-bottom: 0;
}

.single-post .snow-entry-content > p:has(> a.link-cta:only-child) > a.link-cta {
  padding-bottom: 2px;
  color: #8a5724;
  border-bottom: 1px solid rgba(138, 87, 36, 0.75);
  font-weight: 600;
  text-decoration: none;
}

.snow-related {
  padding-block: clamp(4.5rem, 8vw, 7rem);
}

.snow-related__header {
  margin-bottom: 2.5rem;
}

.snow-related__header h2 {
  margin: 0;
  font-size: 2.25rem;
  font-weight: 500;
  line-height: 1.25;
}

.snow-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 5rem);
}

.snow-article__footer {
  padding-bottom: clamp(5rem, 10vw, 9rem);
}

.snow-author-box {
  margin-bottom: 3rem;
  padding: 2rem;
  background: var(--snow-mist);
  border-top: 1px solid var(--snow-line);
}

.snow-author-box h2 {
  margin: 0.25rem 0 0.75rem;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.snow-author-box h2 a {
  text-decoration: none;
}

.snow-author-box > p:last-child {
  margin-bottom: 0;
  color: var(--snow-stone);
  font-family: var(--snow-sans);
  font-size: 0.92rem;
}

.snow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
  font-family: var(--snow-sans);
  font-size: 0.72rem;
  text-transform: uppercase;
}

.snow-tags a {
  padding: 0.4rem 0.65rem;
  border: 1px solid var(--snow-line);
  text-decoration: none;
}

.snow-post-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--snow-line);
}

.snow-post-nav > div:last-child {
  text-align: right;
}

.snow-post-nav a {
  display: inline-flex;
  flex-direction: column;
  text-decoration: none;
}

.snow-post-nav span {
  margin-bottom: 0.4rem;
  color: var(--snow-stone);
  font-family: var(--snow-sans);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.snow-pagination {
  padding-bottom: 6rem;
  font-family: var(--snow-sans);
  font-size: 0.78rem;
}

.snow-pagination .nav-links {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.snow-pagination .page-numbers {
  display: grid;
  min-width: 38px;
  min-height: 38px;
  padding: 0.5rem;
  border: 1px solid var(--snow-line);
  place-items: center;
  text-decoration: none;
}

.snow-pagination .current {
  color: var(--snow-paper);
  background: var(--snow-ink);
}

.snow-search-form {
  display: flex;
  max-width: 650px;
  margin-top: 2rem;
}

.snow-search-form label {
  flex: 1;
}

.snow-search-form__field {
  width: 100%;
  height: 48px;
  padding: 0.75rem 1rem;
  color: var(--snow-ink);
  background: var(--snow-paper);
  border: 1px solid var(--snow-ink);
  border-radius: 0;
  font-family: var(--snow-sans);
  font-size: 0.85rem;
}

.snow-search-form .snow-button {
  min-width: 110px;
}

.snow-empty {
  grid-column: 1 / -1;
  padding: 4rem 0 7rem;
}

.snow-empty h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.snow-not-found {
  padding-top: clamp(7rem, 14vw, 12rem);
  padding-bottom: clamp(7rem, 14vw, 12rem);
}

.snow-not-found > p:not(.snow-eyebrow) {
  max-width: 580px;
  color: var(--snow-stone);
  font-size: 1.2rem;
}

.snow-not-found .snow-text-link {
  margin-top: 2rem;
}

.snow-footer {
  color: var(--snow-paper);
  background: #090909;
}

.snow-footer__grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(3, minmax(130px, 0.75fr)) 1fr;
  gap: clamp(3rem, 7vw, 7rem);
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.snow-footer__brand > a {
  font-size: clamp(2rem, 3vw, 2.8rem);
  text-decoration: none;
}

.snow-footer__brand p,
.snow-footer__note > p:not(.snow-eyebrow) {
  max-width: 380px;
  color: rgba(255, 255, 255, 0.66);
}

.snow-footer h2 {
  margin: 0 0 1.2rem;
  font-family: var(--snow-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.snow-footer-menu,
.snow-footer .snow-menu-fallback {
  display: grid;
  gap: 0.45rem;
}

.snow-footer-menu {
  margin: 0;
  padding: 0;
  list-style: none;
}

.snow-footer-menu a,
.snow-footer .snow-menu-fallback a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.snow-footer-menu a:hover,
.snow-footer .snow-menu-fallback a:hover {
  color: var(--snow-paper);
}

.snow-footer__note .snow-button {
  margin-top: 1rem;
}

.snow-footer__legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: 1.5rem;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid var(--snow-line-dark);
  font-family: var(--snow-sans);
  font-size: 0.68rem;
}

.snow-footer__legal p {
  margin: 0;
}

.snow-footer__legal a {
  color: inherit;
}

@media (max-width: 900px) {
  :root { --snow-header-height: 72px; }

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

  .snow-header__inner {
    grid-template-columns: 1fr auto auto;
    gap: 1rem;
  }

  .snow-menu-toggle {
    display: flex;
  }

  .snow-js .snow-nav {
    position: fixed;
    z-index: 110;
    top: var(--snow-header-height);
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    width: 100vw;
    height: calc(100dvh - var(--snow-header-height));
    max-height: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 3rem 32px;
    color: var(--snow-paper);
    background: var(--snow-ink);
  }

  .snow-js .snow-nav.is-open {
    display: block;
  }

  .snow-js .admin-bar .snow-nav {
    top: calc(var(--snow-header-height) + 32px);
    height: calc(100dvh - var(--snow-header-height) - 32px);
  }

  .snow-nav .menu,
  .snow-nav .snow-menu-fallback {
    display: grid;
    align-items: start;
    gap: 0;
  }

  .snow-nav a {
    padding: 1rem 0;
    border-bottom: 1px solid var(--snow-line-dark);
    font-family: var(--snow-serif);
    font-size: clamp(1.7rem, 5vw, 2.6rem);
    font-weight: 500;
    letter-spacing: 0;
    text-transform: none;
  }

  .snow-nav a::after { display: none; }

  .snow-nav .sub-menu {
    position: static;
    display: block;
    padding: 0 0 0 1rem;
    color: inherit;
    background: transparent;
    border: 0;
  }

  .snow-nav .sub-menu a { font-size: 1.25rem; }

  .snow-editorial-grid {
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.8fr);
    gap: 18px;
    min-height: 0;
  }

  .snow-section-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 18px;
  }

  .snow-section-tile__image { aspect-ratio: 328 / 285; }

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

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

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

  .snow-footer__brand {
    grid-column: 1 / -1;
  }
}

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

  .snow-brand .custom-logo {
    max-width: 185px;
    max-height: 38px;
  }

  .snow-search-link { display: none; }

  .snow-header__inner {
    grid-template-columns: 1fr auto;
  }

  .snow-hero {
    min-height: 100svh;
  }

  .snow-hero__content {
    padding-block: 9rem 4.5rem;
  }

  .snow-hero h1 {
    font-size: clamp(3.25rem, 15vw, 4.5rem);
  }

  .snow-article__lead .snow-article__hero {
    aspect-ratio: 4 / 3;
  }

  .snow-article__header h1 {
    font-size: clamp(2.5rem, 11.8vw, 2.875rem);
  }

  .snow-section {
    padding-block: 4.5rem;
  }

  .snow-editorial-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(360px, 45vh) repeat(2, minmax(250px, 32vh));
    min-height: 0;
  }

  .snow-editorial-grid .snow-card--lead {
    grid-row: auto;
  }

  .snow-card--lead .snow-card__title,
  .snow-card--overlay .snow-card__title {
    font-size: clamp(1.7rem, 8vw, 2.7rem);
  }

  .snow-section-grid,
  .snow-latest__grid,
  .snow-archive-grid,
  .snow-featured__grid,
  .snow-post-nav {
    grid-template-columns: 1fr;
  }

  .snow-section-grid {
    gap: 2.6rem;
  }

  .snow-section-tile__image { aspect-ratio: 3 / 2; }

  .snow-section-tile__label {
    text-align: left;
  }

  .snow-featured__grid {
    gap: 2.5rem;
  }

  .snow-featured__content {
    padding-inline: 0.25rem;
  }

  .snow-latest__grid {
    gap: 4rem;
  }

  .snow-archive-grid {
    gap: 4rem;
  }

  .snow-entry-content .alignwide,
  .snow-entry-content .kb-row-layout-wrap.alignwide,
  .snow-entry-content .wp-block-kadence-rowlayout.alignwide {
    width: calc(100vw - 36px);
  }

  .snow-entry-content--legacy .se-hero,
  .snow-entry-content--legacy .se-hero-content {
    min-height: 100svh;
  }

  .snow-entry-content--legacy .se-hero-content {
    justify-content: center;
    padding: 80px 24px 120px;
    transform: translateY(-8%);
  }

  .snow-post-nav > div:last-child {
    text-align: left;
  }

  .snow-search-form {
    display: grid;
    gap: 0.75rem;
  }

  .snow-search-form .snow-button {
    width: 100%;
  }

  .snow-footer__grid {
    gap: 2.75rem 1.25rem;
  }

  .snow-footer__brand {
    grid-column: 1 / -1;
  }

  .snow-footer__legal {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.4rem;
  }

  .snow-related__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 782px) {
  .snow-js .admin-bar .snow-nav {
    top: calc(var(--snow-header-height) + 46px);
    height: calc(100dvh - var(--snow-header-height) - 46px);
  }
}

@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;
  }
}
