:root {
  --amigo-bg: #f3f0ea;
  --amigo-panel: #ffffff;
  --amigo-panel-soft: #f7f3eb;
  --amigo-text: #202227;
  --amigo-muted: #5a6472;
  --amigo-border: #d9dde4;
  --amigo-dark: #0f1723;
  --amigo-primary: #ff5a3d;
  --amigo-primary-deep: #d9482f;
  --amigo-accent: #c98b2d;
  --amigo-radius-lg: 22px;
  --amigo-radius-md: 18px;
  --amigo-shadow: 0 18px 40px rgba(15, 23, 35, 0.08);
  --amigo-container: 1280px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--amigo-text);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.55), transparent 28%),
    linear-gradient(180deg, #f7f1e8 0%, #f6f7fb 24%, #f3f5f9 100%);
  font-family: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.96rem;
  line-height: 1.68;
  letter-spacing: -0.008em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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

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

h1,
h2,
h3,
h4,
.brand-name {
  font-family: "Playfair Display", "Iowan Old Style", "Times New Roman", serif;
  line-height: 1.06;
  letter-spacing: -0.024em;
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

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

::placeholder {
  color: #6b7787;
  opacity: 1;
}

p {
  margin: 0 0 1rem;
}

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

body.nav-open {
  overflow: hidden;
}

.topbar {
  background: linear-gradient(90deg, #09131f 0%, #102132 52%, #0b1825 100%);
  color: rgba(255, 255, 255, 0.86);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.55rem 1rem;
  padding: 0.55rem 0;
}

.topbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
}

.topbar__copy,
.topbar__link {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topbar__link:hover {
  opacity: 0.82;
}

.topbar__link--muted {
  color: rgba(255, 255, 255, 0.62);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(217, 221, 228, 0.9);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.9rem;
  padding: 0.7rem 0;
  position: relative;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
}

.brand-block--with-logo {
  flex: 0 0 auto;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 3.4rem;
}

.brand-logo img {
  max-height: 3rem;
  width: auto;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
}

.brand-logo .custom-logo-link,
.footer-brand__logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.brand-name {
  font-size: 1.35rem;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.22rem;
  width: 3rem;
  height: 3rem;
  border: 1px solid rgba(15, 23, 35, 0.12);
  background: #fff;
  border-radius: 999px;
  padding: 0;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(15, 23, 35, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(15, 23, 35, 0.18);
  box-shadow: 0 14px 36px rgba(15, 23, 35, 0.12);
}

.menu-toggle__line {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--amigo-dark);
}

.menu-panel {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  margin-left: auto;
  min-width: 0;
}

.menu-panel__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  width: 100%;
}

.primary-nav {
  display: flex;
  justify-content: center;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex: 0 0 auto;
}

.nav-link-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.66rem 0.95rem;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amigo-muted);
  border: 1px solid transparent;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav-link-secondary:hover {
  background: #f4f6f8;
  border-color: rgba(15, 23, 35, 0.08);
  color: var(--amigo-text);
}

.primary-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu > li {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.1rem;
}

.primary-menu > li > a {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: #31404f;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.primary-menu > .menu-item-has-children > a::after {
  content: "";
  width: 0.38rem;
  height: 0.38rem;
  margin-left: 0.38rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.primary-menu > li > a:hover,
.primary-menu .current-menu-item > a,
.primary-menu .current_page_item > a {
  background: #f3f6f8;
  color: var(--amigo-text);
  transform: translateY(-1px);
}

.submenu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #667385;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.submenu-toggle::before {
  content: "";
  width: 0.46rem;
  height: 0.46rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-top: -0.15rem;
}

.submenu-toggle:hover,
.primary-menu > li:hover > .submenu-toggle,
.primary-menu > li:focus-within > .submenu-toggle,
.primary-menu > li.is-open > .submenu-toggle {
  background: #f3f6f8;
  color: var(--amigo-text);
}

.primary-menu > li.is-open > .submenu-toggle::before {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}

.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 0.8rem);
  left: 0;
  min-width: 17rem;
  list-style: none;
  margin: 0;
  padding: 0.7rem;
  display: grid;
  gap: 0.35rem;
  border-radius: 20px;
  border: 1px solid rgba(217, 221, 228, 0.95);
  background: rgba(255, 255, 255, 0.985);
  box-shadow: 0 22px 55px rgba(15, 23, 35, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  z-index: 30;
}

.primary-menu .sub-menu a {
  width: 100%;
  justify-content: flex-start;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
  font-size: 0.88rem;
  background: transparent;
}

.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu .current-menu-item > a {
  background: #f4f6f8;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu,
.primary-menu li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-cta,
.button,
button,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
  text-align: center;
  white-space: normal;
  max-width: 100%;
  text-decoration: none;
}

.nav-cta,
.button--primary,
.search-submit {
  background: var(--amigo-primary);
  color: #fff;
  padding: 0.72rem 1rem;
  box-shadow: 0 10px 24px rgba(255, 90, 61, 0.14);
}

.nav-cta:hover,
.button--primary:hover,
.search-submit:hover {
  background: var(--amigo-primary-deep);
  transform: translateY(-1px);
}

.button--secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.74rem 1rem;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.74rem 1rem;
}

.hero-copy__actions .button,
.featured-story__actions .button,
.single-hero__actions .button,
.single-actions .button,
.cookie-consent__button,
.sidebar-form__submit,
.nav-actions .nav-cta {
  min-width: 0;
  flex: 0 1 auto;
}

.hero-band {
  padding: 3.35rem 0 2.2rem;
}

.hero-band__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: stretch;
}

.hero-copy,
.hero-card,
.post-card,
.sidebar-card,
.single-body-card,
.page-card,
.footer-panel,
.empty-state {
  border-radius: var(--amigo-radius-lg);
  border: 1px solid var(--amigo-border);
  box-shadow: var(--amigo-shadow);
}

.hero-copy {
  background: linear-gradient(145deg, #0f1723 0%, #173247 100%);
  color: #fff;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero-copy::after {
  content: "";
  position: absolute;
  inset: auto -8% -22% auto;
  width: 16rem;
  height: 16rem;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 90, 61, 0.32), rgba(255, 90, 61, 0));
}

.hero-copy h1 {
  margin: 0.55rem 0 1rem;
  font-size: clamp(2.05rem, 4vw, 3.7rem);
}

.hero-copy p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.8);
  max-width: 42rem;
}

.hero-copy__actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-copy__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.hero-copy__chips span,
.post-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2rem;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow,
.footer-eyebrow,
.sidebar-eyebrow,
.hero-card__label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.28em;
}

.eyebrow {
  color: var(--amigo-primary);
}

.hero-card {
  background:
    radial-gradient(circle at top right, rgba(201, 139, 45, 0.16), transparent 34%),
    linear-gradient(180deg, #f7f3eb 0%, #ffffff 100%);
  padding: 1.8rem;
  border: 1px solid rgba(217, 221, 228, 0.95);
  box-shadow: 0 20px 44px rgba(15, 23, 35, 0.08);
}

.hero-card__title {
  margin: 0.9rem 0 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.22;
}

.hero-copy h1 {
  max-width: 20ch;
  font-size: clamp(1.95rem, 2.9vw, 3rem);
}

.hero-copy > p:not(.eyebrow) {
  max-width: 42rem;
  color: #526072;
  font-size: 0.98rem;
  line-height: 1.72;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-top: 1.35rem;
}

.hero-metric {
  border-radius: 18px;
  padding: 1rem;
  background: rgba(15, 23, 35, 0.04);
}

.hero-metric strong {
  display: block;
  font-size: 1.2rem;
  color: var(--amigo-dark);
}

.hero-metric span {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--amigo-muted);
}

.hero-band--compact {
  padding-top: 2.5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.7fr);
  gap: 1.5rem;
  padding-bottom: 4rem;
}

.posts-grid {
  display: grid;
  gap: 1.5rem;
}

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

.journal-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.4rem;
  padding: 0.3rem 0 0.1rem;
}

.journal-section-heading h2 {
  margin: 0.45rem 0 0;
  font-size: clamp(1.35rem, 2.25vw, 1.8rem);
}

.journal-section-heading a {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amigo-primary);
}

.featured-story {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.92fr);
  gap: 1.3rem;
  padding: 1.1rem;
  border-radius: var(--amigo-radius-lg);
  border: 1px solid var(--amigo-border);
  background:
    radial-gradient(circle at right top, rgba(201, 139, 45, 0.15), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 243, 235, 0.9) 100%);
  box-shadow: var(--amigo-shadow);
  overflow: hidden;
  position: relative;
}

.featured-story::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, var(--amigo-primary), var(--amigo-accent));
}

.featured-story__content {
  display: grid;
  align-content: center;
  gap: 0.95rem;
  padding: 0.45rem 0.35rem 0.45rem 0.8rem;
}

.featured-story__title {
  margin: 0;
  font-size: clamp(1.68rem, 2.5vw, 2.35rem);
  line-height: 1.08;
}

.featured-story__excerpt {
  color: var(--amigo-muted);
  max-width: 40rem;
  font-size: 0.98rem;
  line-height: 1.74;
}

.featured-story__media {
  min-height: 100%;
}

.featured-story__media img {
  width: 100%;
  height: 100%;
  min-height: 18rem;
  border-radius: calc(var(--amigo-radius-lg) - 6px);
  object-fit: cover;
}

.featured-story__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.featured-story__ghost {
  background: #fff;
  color: var(--amigo-text);
  border: 1px solid var(--amigo-border);
  box-shadow: none;
}

.post-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.9);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(217, 221, 228, 0.9);
  border-radius: 22px;
  box-shadow: 0 14px 34px rgba(15, 23, 35, 0.06);
}

.post-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(15, 23, 35, 0.12);
}

.post-card__media img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card__body {
  display: grid;
  align-content: start;
  gap: 0.7rem;
  padding: 1.25rem;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  color: var(--amigo-muted);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.post-pill {
  background: rgba(255, 90, 61, 0.12);
  border-color: rgba(255, 90, 61, 0.12);
  color: var(--amigo-primary);
}

.post-card__title {
  margin: 0;
  font-size: clamp(1.12rem, 1.45vw, 1.42rem);
  font-weight: 600;
  line-height: 1.14;
}

.post-card__title a:hover,
.post-card__link:hover,
.sidebar-list a:hover,
.footer-menu a:hover,
.footer-links a:hover {
  color: var(--amigo-primary);
}

.post-card__excerpt {
  color: var(--amigo-muted);
  font-size: 0.95rem;
  line-height: 1.72;
}

.post-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-top: 0.3rem;
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.24em;
}

.post-card__link::after {
  content: "→";
}

.sidebar-stack {
  display: grid;
  gap: 1rem;
  align-content: start;
  position: sticky;
  top: 7rem;
}

.sidebar-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 35, 0.06);
}

.sidebar-card--form {
  background:
    radial-gradient(circle at top right, rgba(255, 90, 61, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8f4ed 100%);
}

.sidebar-card--soft {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94) 0%, rgba(249, 246, 240, 0.96) 100%);
}

.sidebar-card--notice {
  border-width: 1px;
}

.sidebar-card--notice-success {
  background: #edf8f1;
  border-color: #9ed1ad;
}

.sidebar-card--notice-error {
  background: #fff3f1;
  border-color: #efb3ab;
}

.sidebar-card h2,
.sidebar-card h3 {
  margin: 0 0 0.8rem;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.14;
}

.sidebar-card p {
  color: var(--amigo-muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.sidebar-card--dark {
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 26%),
    radial-gradient(circle at bottom left, rgba(255, 90, 61, 0.18), transparent 32%),
    linear-gradient(145deg, #081b35 0%, #0b2447 58%, #123d7b 140%);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 62px rgba(8, 27, 53, 0.22);
}

.sidebar-card--dark p {
  color: rgba(255, 255, 255, 0.76);
}

.sidebar-form {
  display: grid;
  gap: 0.85rem;
}

.sidebar-form__field {
  display: grid;
  gap: 0.4rem;
}

.sidebar-form__field span {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amigo-muted);
}

.sidebar-form__field input,
.sidebar-form__field textarea {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--amigo-border);
  background: rgba(255, 255, 255, 0.96);
  padding: 0.9rem 1rem;
  font: inherit;
  color: var(--amigo-text);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.sidebar-form__field input:focus,
.sidebar-form__field textarea:focus,
.search-field:focus {
  outline: none;
  border-color: rgba(255, 90, 61, 0.34);
  box-shadow: 0 0 0 4px rgba(255, 90, 61, 0.12);
  background: #fff;
}

.sidebar-form__field textarea {
  resize: vertical;
  min-height: 120px;
}

.sidebar-form__submit {
  width: 100%;
}

.sidebar-list,
.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.8rem;
}

.footer-menu a {
  color: var(--amigo-text);
  font-weight: 700;
}

.widget-title {
  margin: 0 0 0.8rem;
  font-size: 1.2rem;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(217, 221, 228, 0.95);
  background:
    radial-gradient(circle at top right, rgba(201, 139, 45, 0.12), transparent 36%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, #f8f4ed 100%);
  box-shadow: 0 18px 36px rgba(15, 23, 35, 0.06);
}

.search-form__field {
  position: relative;
  display: block;
  min-width: 0;
}

.search-form__icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  display: inline-flex;
  width: 1.05rem;
  height: 1.05rem;
  transform: translateY(-50%);
  color: #758192;
  pointer-events: none;
}

.search-form__icon svg {
  width: 100%;
  height: 100%;
}

.search-field {
  width: 100%;
  min-width: 0;
  border-radius: 18px;
  border: 1px solid rgba(217, 221, 228, 0.92);
  background: rgba(255, 255, 255, 0.92);
  padding: 1rem 1rem 1rem 2.9rem;
  font: inherit;
  color: var(--amigo-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.search-field::placeholder {
  color: #7a8697;
}

.search-submit {
  min-width: 7.75rem;
  min-height: 3.35rem;
  border: 0;
  border-radius: 18px;
  padding: 0.9rem 1.25rem;
  background: linear-gradient(135deg, var(--amigo-primary) 0%, #ef6b45 100%);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  box-shadow: 0 18px 32px rgba(217, 72, 47, 0.2);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.search-submit:hover,
.search-submit:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 24px 38px rgba(217, 72, 47, 0.28);
  filter: saturate(1.04);
}

.search-submit:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 90, 61, 0.14), 0 24px 38px rgba(217, 72, 47, 0.22);
}

.single-hero,
.page-card {
  padding-top: 2.75rem;
}

.single-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 1.5rem;
  align-items: center;
  padding-bottom: 1.5rem;
}

.single-hero__copy,
.single-hero__media {
  min-width: 0;
}

.single-hero--page {
  grid-template-columns: 1fr;
}

.single-hero h1 {
  margin: 0.65rem 0 1rem;
  font-size: clamp(2.05rem, 4.1vw, 3.85rem);
  font-weight: 600;
}

.single-hero__media img {
  border-radius: var(--amigo-radius-lg);
  box-shadow: var(--amigo-shadow);
  aspect-ratio: 4 / 3;
  object-fit: cover;
  width: 100%;
}

.single-body-card,
.page-card {
  background: rgba(255, 255, 255, 0.92);
  padding: 1.6rem;
}

.single-intro {
  margin-bottom: 1.35rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(180deg, #f8f4ec 0%, #ffffff 100%);
  border: 1px solid var(--amigo-border);
}

.single-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.35rem;
}

.single-hero__ghost {
  background: #fff;
  color: var(--amigo-text);
  border: 1px solid var(--amigo-border);
  box-shadow: none;
}

.single-body {
  font-size: 1.03rem;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.single-body h2,
.single-body h3,
.single-body h4 {
  margin-top: 1.7em;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.single-body p,
.single-body li {
  color: #334150;
}

.article-summary {
  margin-bottom: 1.35rem;
  padding: 1.15rem 1.2rem;
  border: 1px solid rgba(15, 23, 35, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(255, 90, 61, 0.08), transparent 32%),
    linear-gradient(180deg, rgba(249, 246, 240, 0.92) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.article-summary__eyebrow {
  margin: 0;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.article-summary__text {
  margin: 0.7rem 0 0;
  color: var(--amigo-dark);
  font-size: 1rem;
  line-height: 1.72;
}

.article-summary__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.article-summary__fact {
  padding: 0.85rem 0.95rem;
  border-radius: 18px;
  background: rgba(15, 23, 35, 0.04);
}

.article-summary__fact span {
  display: block;
  color: var(--amigo-muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.article-summary__fact strong {
  display: block;
  margin-top: 0.35rem;
  color: var(--amigo-dark);
  font-size: 0.92rem;
  line-height: 1.45;
}

.article-summary__note {
  margin: 1rem 0 0;
  color: var(--amigo-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.single-body > * {
  max-width: 100%;
}

.single-body ul,
.single-body ol {
  padding-left: 1.35rem;
}

.single-body img,
.single-body iframe,
.single-body video,
.single-body table,
.single-body pre {
  max-width: 100%;
}

.single-body img {
  height: auto;
  border-radius: 18px;
}

.single-body iframe,
.single-body table {
  display: block;
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single-body pre,
.single-body code {
  overflow-wrap: anywhere;
}

.single-body pre {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.single-body iframe {
  min-height: 16rem;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tag-row a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  border: 1px solid rgba(217, 221, 228, 0.95);
  background: rgba(247, 243, 235, 0.95);
  color: #465363;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.tag-row a:hover,
.tag-row a:focus-visible {
  color: var(--amigo-primary);
  border-color: rgba(255, 90, 61, 0.24);
}

.single-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--amigo-border);
}

.pagination-wrap {
  padding-top: 0.5rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.nav-links .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.75rem;
  min-height: 2.75rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--amigo-border);
  border-radius: 999px;
  background: #fff;
  font-weight: 700;
}

.nav-links .current {
  background: var(--amigo-dark);
  color: #fff;
  border-color: var(--amigo-dark);
}

.site-footer {
  border-top: 1px solid rgba(217, 221, 228, 0.9);
  background: linear-gradient(180deg, #f6f2ea 0%, #f2eee6 100%);
}

.site-footer__intro,
.site-footer__bottom {
  border-top: 1px solid rgba(217, 221, 228, 0.85);
}

.site-footer__intro {
  border-top: 0;
  border-bottom: 1px solid rgba(217, 221, 228, 0.85);
}

.footer-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 1.8rem;
  padding: 2.6rem 0;
}

.footer-intro__copy h2 {
  margin: 0.55rem 0 0.8rem;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.footer-intro__copy p:last-child {
  max-width: 39rem;
  color: var(--amigo-muted);
}

.footer-support-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 1.35rem;
  border-radius: 22px;
  background: linear-gradient(180deg, #0f1723 0%, #172535 100%);
  color: #fff;
  box-shadow: var(--amigo-shadow);
}

.footer-support-card__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.56);
}

.footer-support-card__title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
}

.footer-support-card__lines {
  display: grid;
  gap: 0.45rem;
  list-style: none;
  margin: 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
}

.footer-support-card__lines li {
  margin: 0;
  padding-left: 1rem;
  position: relative;
}

.footer-support-card__lines li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68rem;
  width: 0.34rem;
  height: 0.34rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.site-footer__main {
  background: transparent;
}

.footer-main {
  display: grid;
  grid-template-columns: minmax(240px, 0.82fr) minmax(0, 1.18fr);
  gap: 1.8rem;
  padding: 2rem 0;
}

.footer-brand {
  display: grid;
  align-content: start;
  gap: 0.75rem;
  padding: 1.45rem;
  padding-right: 1.3rem;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.64);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.04);
  backdrop-filter: blur(8px);
}

.footer-brand__logo img {
  max-height: 3rem;
  width: auto;
}

.footer-brand__eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--amigo-primary);
}

.footer-brand__description {
  color: #4e5a69;
}

.footer-brand__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 0.1rem;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 16px;
  border: 1px solid rgba(217, 221, 228, 0.9);
  color: #4e5a69;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-socials a:hover {
  border-color: rgba(255, 90, 61, 0.35);
  color: var(--amigo-primary);
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

.footer-socials svg {
  width: 1rem;
  height: 1rem;
  fill: currentColor;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.2rem;
}

.footer-column h3 {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #667282;
}

.footer-column__links {
  list-style: none;
  margin: 0.8rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

.footer-column__links a {
  color: #465363;
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-column__links a:hover {
  color: var(--amigo-primary);
}

.footer-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem 1rem;
  padding: 0.95rem 0 1.1rem;
  color: var(--amigo-muted);
  font-size: 0.82rem;
}

.footer-bottom p {
  margin: 0;
}

.footer-links a {
  font-weight: 700;
}

.cookie-consent {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
}

.cookie-consent.is-hidden {
  display: none;
}

.cookie-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem 1.25rem;
  align-items: center;
  max-width: min(960px, calc(100vw - 2rem));
  margin: 0 auto;
  padding: 1rem 1.1rem;
  border-radius: 22px;
  border: 1px solid rgba(217, 221, 228, 0.95);
  background: rgba(15, 23, 35, 0.94);
  box-shadow: 0 22px 48px rgba(15, 23, 35, 0.18);
  color: #fff;
}

.cookie-consent__title {
  margin: 0 0 0.3rem;
  font-size: 1rem;
  font-weight: 800;
}

.cookie-consent__text {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
}

.cookie-consent__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.cookie-consent__link {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.74);
}

.cookie-consent__button {
  min-width: 7.25rem;
}

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

@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex;
  }

  .menu-panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 0;
    right: 0;
    z-index: 45;
    display: none;
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(217, 221, 228, 0.95);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 22px 48px rgba(15, 23, 35, 0.14);
  }

  .menu-panel.is-open {
    display: flex;
  }

  .menu-panel__inner {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.1rem;
  }

  .primary-nav {
    justify-content: stretch;
  }

  .primary-menu {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
  }

  .submenu-toggle {
    display: inline-flex;
  }

  .primary-menu > li {
    flex-wrap: wrap;
    align-items: stretch;
    border-bottom: 1px solid rgba(217, 221, 228, 0.7);
    padding-bottom: 0.4rem;
  }

  .primary-menu > li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
  }

  .primary-menu .sub-menu {
    position: static;
    min-width: 0;
    margin-top: 0.25rem;
    padding: 0.15rem 0 0.45rem 1rem;
    border: 0;
    box-shadow: none;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    width: 100%;
    flex-basis: 100%;
  }

  .primary-menu .menu-item-has-children.is-open > .sub-menu {
    display: grid;
  }

  .primary-menu > li > a {
    flex: 1 1 auto;
    padding-left: 0;
    padding-right: 0;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  .primary-menu > .menu-item-has-children > a::after {
    display: none;
  }

  .submenu-toggle {
    margin-left: auto;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .nav-link-secondary,
  .nav-cta {
    justify-content: center;
  }

  .hero-band__inner,
  .content-grid,
  .single-hero,
  .featured-story,
  .footer-intro,
  .footer-main {
    grid-template-columns: 1fr;
  }

  .hero-band {
    padding: 2.4rem 0 1.7rem;
  }

  .featured-story {
    padding: 1rem;
    gap: 1rem;
  }

  .featured-story__content {
    padding: 0.25rem 0.15rem 0.25rem 0.35rem;
  }

  .featured-story__media img,
  .post-card__media img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .single-hero {
    gap: 1rem;
    padding-top: 1.4rem;
    padding-bottom: 1rem;
  }

  .single-hero__media {
    order: -1;
  }

  .single-hero h1 {
    font-size: clamp(2rem, 7vw, 3.2rem);
  }

  .single-body-card {
    padding: 1.3rem;
  }

  .sidebar-stack {
    position: static;
    top: auto;
  }

  .posts-grid--cards {
    grid-template-columns: 1fr;
  }

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

  .search-form {
    grid-template-columns: 1fr;
  }

  .search-submit {
    width: 100%;
  }

  .cookie-consent__inner {
    grid-template-columns: 1fr;
  }

  .cookie-consent__actions {
    justify-content: flex-start;
  }

  .topbar__actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--amigo-container), calc(100% - 1.2rem));
  }

  .hero-copy,
  .hero-card,
  .post-card__body,
  .sidebar-card,
  .single-body-card,
  .page-card,
  .footer-support-card,
  .footer-brand {
    padding: 1.2rem;
  }

  body.nav-open {
    overflow: hidden;
  }

  .topbar__inner {
    justify-content: center;
    text-align: center;
  }

  .topbar__actions,
  .hero-copy__actions,
  .hero-copy__chips,
  .single-hero__actions {
    justify-content: center;
  }

  .topbar__actions {
    width: 100%;
    gap: 0.45rem 0.7rem;
  }

  .hero-band {
    padding: 1.9rem 0 1.2rem;
  }

  .featured-story,
  .post-card {
    border-radius: 20px;
  }

  .featured-story__actions,
  .hero-copy__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .featured-story__actions .button,
  .hero-copy__actions .button {
    width: 100%;
  }

  .featured-story__title {
    font-size: 1.45rem;
  }

  .post-card__body {
    gap: 0.6rem;
  }

  .single-breadcrumbs,
  .post-meta {
    gap: 0.45rem 0.7rem;
    font-size: 0.68rem;
    letter-spacing: 0.14em;
  }

  .single-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .single-hero__actions .button {
    width: 100%;
  }

  .single-body {
    font-size: 0.98rem;
  }

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

  .single-hero__copy {
    text-align: left;
  }

  .single-body h2,
  .single-body h3,
  .single-body h4 {
    line-height: 1.18;
  }

  .single-body iframe {
    min-height: 13rem;
  }

  .tag-row {
    justify-content: flex-start;
  }

  .single-footer {
    align-items: stretch;
  }

  .single-footer .single-actions,
  .single-footer .single-actions .button {
    width: 100%;
  }

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

  .hero-copy h1 {
    max-width: none;
  }

  .cookie-consent {
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
  }

  .cookie-consent__inner {
    padding: 0.95rem 1rem;
  }

  .nav-row {
    min-height: 4.3rem;
    gap: 0.8rem;
  }

  .brand-tag {
    display: none;
  }

  .brand-logo img {
    max-height: 2.35rem;
  }

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

  .author-card {
    gap: 0.85rem;
    padding: 1rem;
  }

  .single-hero__media img {
    aspect-ratio: 16 / 11;
  }

  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

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

  .footer-intro {
    padding: 1.8rem 0;
  }

  .footer-main {
    padding: 1.6rem 0;
  }
}

.single-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1rem;
  color: var(--muted, #64748b);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.single-breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.single-breadcrumbs a:hover,
.single-breadcrumbs a:focus-visible {
  color: var(--primary, #0f766e);
}

.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
  margin: 1.5rem 0 0;
  padding: 1.2rem;
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 1.25rem;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.96), rgba(255, 255, 255, 1));
}

.author-card__avatar {
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 999px;
  object-fit: cover;
}

.author-card__eyebrow {
  margin: 0;
  color: #0f766e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.author-card__name {
  margin: 0.3rem 0 0;
  font-size: 1.2rem;
}

.author-card__meta {
  margin: 0.3rem 0 0;
  color: #475569;
  font-size: 0.92rem;
  font-weight: 600;
}

.author-card__bio {
  margin: 0.65rem 0 0;
  color: #475569;
  line-height: 1.7;
}

@media (max-width: 720px) {
  .author-card {
    grid-template-columns: 1fr;
  }

  .author-card__avatar {
    width: 3.75rem;
    height: 3.75rem;
  }

}

.guide-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(280px, 0.88fr);
  gap: 1.4rem;
  align-items: stretch;
  margin-top: 2rem;
  margin-bottom: 1.4rem;
}

.guide-hero__copy,
.guide-hero__support {
  border: 1px solid rgba(217, 221, 228, 0.84);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 235, 0.86));
  box-shadow: 0 18px 42px rgba(15, 23, 35, 0.07);
}

.guide-hero__copy {
  padding: 2.25rem 2.4rem;
}

.guide-hero__copy h1 {
  margin: 0;
  font-size: clamp(2.25rem, 3.8vw, 4rem);
}

.guide-hero__intro {
  max-width: 46rem;
  margin: 1rem 0 0;
  font-size: 1rem;
  color: var(--amigo-muted);
}

.guide-hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.guide-hero__chips span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.52rem 0.82rem;
  background: rgba(15, 23, 35, 0.06);
  color: var(--amigo-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-hero__support {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.85rem;
  padding: 1.7rem 1.65rem;
}

.guide-support__eyebrow,
.guide-sidebar-card__eyebrow {
  margin: 0;
  color: var(--amigo-primary);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.guide-hero__support h2 {
  margin: 0;
  font-size: 1.55rem;
}

.guide-hero__support p {
  margin: 0;
  color: var(--amigo-muted);
}

.guide-support__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.25rem;
}

.guide-support__workflow {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.2rem;
}

.guide-support-step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.8rem;
  align-items: start;
  padding: 0.9rem 0.95rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-support-step__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f2649;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-support-step h3 {
  margin: 0;
  font-size: 1rem;
}

.guide-support-step p {
  margin: 0.3rem 0 0;
  font-size: 0.88rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.74);
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1.4rem;
  margin-bottom: 3rem;
}

.guide-main__inner {
  padding: 2rem 2.1rem;
}

.guide-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-sidebar-card {
  border: 1px solid rgba(217, 221, 228, 0.88);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 34px rgba(15, 23, 35, 0.06);
  padding: 1.2rem 1.15rem;
}

.guide-sidebar-list,
.guide-sidebar-stack {
  display: grid;
  gap: 0.85rem;
  margin: 0.95rem 0 0;
}

.guide-sidebar-list {
  list-style: none;
  padding: 0;
}

.guide-sidebar-list li.is-sub {
  padding-left: 0.9rem;
}

.guide-sidebar-list a {
  color: var(--amigo-dark);
  font-size: 0.92rem;
  font-weight: 700;
}

.guide-sidebar-link {
  border-top: 1px solid rgba(217, 221, 228, 0.78);
  padding-top: 0.85rem;
}

.guide-sidebar-link:first-child {
  border-top: 0;
  padding-top: 0;
}

.guide-sidebar-link h3 {
  margin: 0;
  font-size: 1rem;
}

.guide-sidebar-link p {
  margin: 0.4rem 0 0;
  font-size: 0.88rem;
  color: var(--amigo-muted);
}

.guide-prose {
  display: grid;
  gap: 1.35rem;
}

.guide-lead {
  margin: 0;
  font-size: 1.08rem;
  color: var(--amigo-dark);
}

.guide-section {
  display: grid;
  gap: 0.95rem;
}

.guide-section h2 {
  margin: 0;
  font-size: 1.6rem;
}

.guide-section--facts {
  gap: 0;
}

.guide-fact-grid,
.guide-card-grid {
  display: grid;
  gap: 0.95rem;
}

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

.guide-fact-card,
.guide-resource-card,
.guide-callout,
.guide-hero-media {
  border: 1px solid rgba(217, 221, 228, 0.88);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 235, 0.88));
}

.guide-fact-card {
  padding: 1rem 1rem 1.05rem;
}

.guide-fact-card span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amigo-muted);
}

.guide-fact-card strong {
  font-size: 1rem;
  line-height: 1.45;
}

.guide-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.guide-resource-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 1.1rem 1.15rem;
}

.guide-resource-card__eyebrow {
  margin: 0;
  color: var(--amigo-accent);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.guide-resource-card h3 {
  margin: 0;
  font-size: 1.22rem;
}

.guide-resource-card p {
  margin: 0;
  color: var(--amigo-muted);
}

.guide-resource-card a {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--amigo-primary);
}

.guide-callout {
  padding: 1rem 1rem 1.05rem;
}

.guide-callout strong {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amigo-dark);
}

.guide-callout p {
  margin: 0;
  color: var(--amigo-muted);
}

.guide-hero-media {
  overflow: hidden;
  padding: 0;
}

.guide-hero-media img {
  width: 100%;
  max-height: 28rem;
  object-fit: cover;
}

.guide-checklist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.guide-checklist li {
  position: relative;
  padding-left: 1.6rem;
}

.guide-checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 999px;
  background: var(--amigo-primary);
  box-shadow: 0 0 0 5px rgba(255, 90, 61, 0.14);
}

.guide-checklist--tips li::before {
  background: var(--amigo-accent);
  box-shadow: 0 0 0 5px rgba(201, 139, 45, 0.14);
}

.guide-main .single-body h2,
.guide-main .single-body h3,
.guide-main .single-body h4 {
  scroll-margin-top: 6rem;
}

.guide-followup {
  display: grid;
  gap: 1rem;
  margin-top: 1.8rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(217, 221, 228, 0.88);
}

.guide-followup__header {
  display: grid;
  gap: 0.45rem;
}

.guide-followup__header h2 {
  margin: 0;
  font-size: 1.55rem;
}

.guide-followup__header p:last-child {
  margin: 0;
  color: var(--amigo-muted);
}

@media (max-width: 1120px) {
  .guide-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .guide-sidebar {
    order: -1;
  }
}

@media (max-width: 860px) {
  .guide-hero {
    grid-template-columns: 1fr;
  }

  .guide-hero__copy,
  .guide-hero__support,
  .guide-main__inner {
    padding: 1.45rem 1.25rem;
  }

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