:root {
  --accent: #2690ff;
  --accent-strong: #0f6bff;
  --accent-soft: #6bc5ff;
  --accent-violet: #8f74ff;
  --bubble-a: rgba(38, 144, 255, 0.22);
  --bubble-b: rgba(143, 116, 255, 0.18);
  --text: #233047;
  --text-soft: #5f6f86;
  --heading: #091a33;
  --line: rgba(9, 26, 51, 0.12);
  --line-strong: rgba(9, 26, 51, 0.2);
  --bg: #d9e3ef;
  --card: rgba(255, 255, 255, 0.84);
  --card-strong: rgba(255, 255, 255, 0.94);
  --header: rgba(3, 11, 24, 0.88);
  --footer: #040b16;
  --shadow-sm: 0 12px 28px rgba(3, 18, 38, 0.12);
  --shadow-md: 0 24px 58px rgba(3, 18, 38, 0.16);
  --shadow-lg: 0 34px 84px rgba(3, 18, 38, 0.2);
  --radius-sm: 16px;
  --radius-md: 24px;
  --radius-lg: 32px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  background-image: var(--bg-image, url("https://westernfundamentalism.com/wp-content/uploads/2026/01/grainy-noise-gradient-background-seamlessly-transi-2025-06-16-22-19-41-utc.jpg"));
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  pointer-events: none;
  z-index: 0;
}

body::before {
  top: -180px;
  right: -120px;
  width: 460px;
  height: 460px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bubble-a) 0%, rgba(38, 144, 255, 0) 68%);
  filter: blur(10px);
}

body::after {
  bottom: -220px;
  left: -140px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--bubble-b) 0%, rgba(143, 116, 255, 0) 70%);
  filter: blur(18px);
}

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

button,
input,
textarea {
  font: inherit;
}

a {
  color: var(--heading);
  text-decoration: none;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

a:hover {
  color: var(--accent-strong);
}

:focus-visible {
  outline: 3px solid rgba(38, 144, 255, 0.32);
  outline-offset: 3px;
}

.ccd3b7,
.ccd3b35 {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.ccd3b35:focus {
  background-color: #f1f1f1;
  border-radius: 8px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.25);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  left: 10px;
  line-height: normal;
  padding: 14px 18px;
  top: 10px;
  width: auto;
  z-index: 100000;
}

.ccd3b31 {
  position: relative;
  z-index: 1;
  width: min(var(--container), calc(100% - 34px));
  margin: 0 auto;
}

.ccd3b27 {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
  transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(3, 11, 24, 0.94);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24);
}

.site-header.is-condensed .ccd3b3 {
  min-height: 76px;
}

.ccd3b3 {
  position: relative;
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 92px;
  transition: min-height 0.3s ease;
}

.ccd3b20 {
  min-width: 0;
}

.ccd3b22 {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: clamp(28px, 2.2vw, 36px);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
}

.ccd3b22::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  box-shadow: 0 0 0 8px rgba(38, 144, 255, 0.14);
  flex: 0 0 auto;
}

.ccd3b22:hover,
.ccd3b22:visited {
  color: #fff;
}

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  margin-left: auto;
}

.primary-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid transparent;
  letter-spacing: 0.01em;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-strong));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.primary-nav a.ccd3b17,
.primary-nav a:hover,
.primary-nav a:focus-visible {
  background: linear-gradient(135deg, rgba(38, 144, 255, 0.18), rgba(143, 116, 255, 0.14));
  border-color: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.primary-nav a.ccd3b17::after,
.primary-nav a:hover::after,
.primary-nav a:focus-visible::after {
  transform: scaleX(1);
}

.header-search {
  position: relative;
  width: 214px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.header-search:focus-within {
  transform: translateY(-1px);
  border-color: rgba(38, 144, 255, 0.32);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
}

.header-search.is-success {
  border-color: rgba(38, 144, 255, 0.4);
  box-shadow: 0 0 0 4px rgba(38, 144, 255, 0.12), 0 18px 34px rgba(0, 0, 0, 0.14);
}

.header-search.is-empty {
  animation: searchShake 0.42s ease;
}

.header-search input {
  width: 100%;
  height: 100%;
  border: 0;
  padding: 0 54px 0 16px;
  font-size: 15px;
  color: var(--heading);
  background: transparent;
  outline: none;
}

.header-search input::placeholder {
  color: #6b7690;
}

.header-search button {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 40px;
  height: 40px;
  border: 0;
  padding: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  cursor: pointer;
  box-shadow: 0 10px 20px rgba(15, 107, 255, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-search button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(15, 107, 255, 0.34);
}

.header-search button svg {
  width: 18px;
  height: 18px;
}

.menu-toggle {
  position: relative;
  display: none;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: #fff;
  margin-left: auto;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 12px 30px rgba(0, 0, 0, 0.18);
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.menu-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, 0.22);
}

.menu-toggle span {
  position: absolute;
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  transition: transform 0.26s ease, opacity 0.26s ease, top 0.26s ease;
}

.menu-toggle span:nth-child(1) {
  top: 20px;
}

.menu-toggle span:nth-child(2) {
  top: 28px;
}

.menu-toggle span:nth-child(3) {
  top: 36px;
}

.menu-toggle .ccd3b12 {
  width: auto;
  height: auto;
  background: none;
  opacity: 0;
  pointer-events: none;
}

.menu-toggle.is-active span:nth-child(1) {
  top: 28px;
  transform: rotate(45deg);
}

.menu-toggle.is-active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active span:nth-child(3) {
  top: 28px;
  transform: rotate(-45deg);
}
.menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 1500;
  background: rgba(3, 11, 24, 0.18);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.menu-scrim.visible {
  opacity: 1;
  pointer-events: none;
}

body.nav-open {
  overflow: hidden;
}

.ccd3b5 {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
  padding: 34px 0 28px;
}

.ccd3b44 {
  min-width: 0;
}

.site-main,
.widget {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: var(--card);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.site-main::before,
.widget::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  padding: 1px;
  background: linear-gradient(135deg, rgba(38, 144, 255, 0.18), rgba(255, 255, 255, 0.08), rgba(143, 116, 255, 0.15));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.site-main {
  padding: clamp(24px, 3vw, 40px);
  overflow: hidden;
}

.entry-header {
  position: relative;
  margin-bottom: 20px;
}

.entry-header::after {
  content: "";
  display: block;
  width: 86px;
  height: 4px;
  margin-top: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-strong));
}

.ccd3b61,
.ccd3b38 {
  max-width: 16ch;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.05em;
  color: var(--heading);
  margin: 0;
}

.article-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
}

.ccd3b24 {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 18px 22px;
  border-radius: 999px;
  border: 1px solid rgba(9, 26, 51, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(244, 248, 255, 0.9));
  box-shadow: var(--shadow-sm);
  color: var(--text-soft);
  font-size: clamp(15px, 1.7vw, 18px);
  text-align: center;
}

.ccd3b24 strong {
  color: var(--heading);
  font-size: clamp(17px, 1.9vw, 21px);
  margin-right: 10px;
}

.entry-content {
  counter-reset: section-count;
}

.entry-content > * {
  position: relative;
}

.entry-content p {
  max-width: 72ch;
  margin: 0 0 22px;
  font-size: clamp(18px, 1.7vw, 20px);
  line-height: 1.95;
  color: var(--text);
}

.entry-content > p:first-of-type {
  position: relative;
  max-width: 68ch;
  margin-top: 4px;
}

.entry-content > p:first-of-type::first-letter {
  float: left;
  color: var(--accent-strong);
  font-size: clamp(68px, 8vw, 92px);
  line-height: 0.86;
  font-weight: 800;
  margin: 12px 16px 0 0;
}

.entry-content strong {
  font-weight: 800;
  color: var(--heading);
}

.entry-content h2 {
  counter-increment: section-count;
  max-width: 24ch;
  color: var(--heading);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -0.04em;
  margin: 42px 0 18px;
  padding-top: 14px;
}

.entry-content h2::before {
  content: counter(section-count, decimal-leading-zero);
  display: block;
  margin-bottom: 12px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
}

.ccd3b16 {
  position: relative;
  margin: 34px 0 30px;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ccd3b16::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(9, 26, 51, 0.08) 100%);
  pointer-events: none;
}

.ccd3b16 img {
  width: 100%;
  min-height: 100%;
  transform: scale(1.01);
  transition: transform 0.8s ease, filter 0.5s ease;
}

.ccd3b16:hover img {
  transform: scale(1.05);
  filter: saturate(1.05);
}

.sidebar {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 20px;
}

.widget {
  margin: 0;
  padding: 22px;
  line-height: 1.5;
}

.widget-title {
  color: var(--heading);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
}

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

.widget li {
  margin-bottom: 14px;
}

.widget li:last-child {
  margin-bottom: 0;
}

.widget a {
  color: var(--text);
}

.widget a:hover {
  color: var(--accent-strong);
}

.ccd3b4 ul {
  display: grid;
  gap: 10px;
}

.ccd3b4 a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(245, 249, 255, 0.85);
  border: 1px solid rgba(9, 26, 51, 0.08);
}

.ccd3b4 a::before {
  content: "•";
  color: var(--accent-strong);
  font-size: 18px;
}

.widget-outline .page-outline {
  display: grid;
  gap: 10px;
}

.widget-outline a {
  display: block;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(245, 249, 255, 0.82);
  border: 1px solid rgba(9, 26, 51, 0.08);
  font-weight: 700;
}

.widget-outline a.is-active,
.widget-outline a:hover {
  color: var(--heading);
  border-color: rgba(38, 144, 255, 0.3);
  background: linear-gradient(135deg, rgba(38, 144, 255, 0.16), rgba(143, 116, 255, 0.1));
  transform: translateX(4px);
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  box-shadow: var(--shadow-sm);
}

.video-frame::before {
  content: "Insight clip";
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(3, 11, 24, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

.ccd3b46 {
  margin-top: 18px;
  padding-bottom: 20px;
}

#site-bottom {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(4, 11, 22, 0.94), rgba(4, 11, 22, 0.98));
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  text-align: center;
  padding: 22px 0;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
}

#site-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(38, 144, 255, 0.18), rgba(143, 116, 255, 0.08), rgba(38, 144, 255, 0.18));
  opacity: 0.7;
  pointer-events: none;
}

.ccd3b30 {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
  letter-spacing: 0.03em;
}

.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  text-decoration: none;
  box-shadow: 0 16px 34px rgba(15, 107, 255, 0.28);
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.back-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.back-top:hover {
  color: #fff;
  box-shadow: 0 20px 40px rgba(15, 107, 255, 0.32);
  transform: translateY(-3px) scale(1.02);
}

.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 80;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--accent-soft), var(--accent-strong), var(--accent-violet));
  transform: scaleX(0);
  transform-origin: left center;
}

.search-highlight {
  padding: 0.08em 0.2em;
  border-radius: 0.4em;
  background: rgba(38, 144, 255, 0.18);
  color: var(--heading);
  box-shadow: 0 0 0 1px rgba(38, 144, 255, 0.16);
}

.search-hit-focus {
  animation: highlightPulse 1.2s ease;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-main {
  padding: clamp(24px, 3vw, 40px);
}

.ccd3b15 {
  margin-bottom: 24px;
}

.contact-main .ccd3b61,
.ccd3b38 {
  max-width: none;
  font-size: clamp(42px, 6vw, 70px);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.contact-form .form-group {
  margin: 0;
}

.ccd3b21 {
  grid-column: span 1;
}

.ccd3b8 {
  grid-column: 1 / -1;
}

.contact-form label {
  display: block;
  margin: 0 0 10px;
  color: var(--heading);
  font-size: 15px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.contact-form input,
.contact-form textarea {
  display: block;
  width: 100%;
  border: 1px solid rgba(9, 26, 51, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--heading);
  padding: 16px 18px;
  box-shadow: 0 12px 24px rgba(3, 18, 38, 0.06);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.contact-form input {
  min-height: 58px;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(38, 144, 255, 0.34);
  box-shadow: 0 0 0 4px rgba(38, 144, 255, 0.12), 0 18px 30px rgba(3, 18, 38, 0.08);
  transform: translateY(-1px);
}

.contact-form input.is-invalid,
.contact-form textarea.is-invalid {
  border-color: rgba(225, 79, 79, 0.38);
  box-shadow: 0 0 0 4px rgba(225, 79, 79, 0.12);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 54px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.01em;
  padding: 0 24px;
  cursor: pointer;
  box-shadow: 0 16px 28px rgba(15, 107, 255, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.contact-submit:hover {
  transform: translateY(-2px);
  filter: saturate(1.06);
  box-shadow: 0 18px 34px rgba(15, 107, 255, 0.28);
}

.form-status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(245, 249, 255, 0.92);
  border: 1px solid rgba(9, 26, 51, 0.08);
  color: var(--text-soft);
  font-weight: 600;
}

.form-status.is-error {
  color: #9a2631;
  background: rgba(255, 240, 240, 0.96);
  border-color: rgba(225, 79, 79, 0.18);
}

.form-status.is-success {
  color: #165849;
  background: rgba(237, 251, 244, 0.96);
  border-color: rgba(40, 170, 122, 0.18);
}

@keyframes searchShake {
  0%,
  100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-4px);
  }
  50% {
    transform: translateX(4px);
  }
  75% {
    transform: translateX(-2px);
  }
}

@keyframes highlightPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(38, 144, 255, 0.24);
  }
  100% {
    box-shadow: 0 0 0 14px rgba(38, 144, 255, 0);
  }
}

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

  .ccd3b61,
.ccd3b38 {
    max-width: 14ch;
  }
}

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

  .sidebar {
    position: relative;
    top: auto;
  }
}

@media (max-width: 980px) {
  .ccd3b3 {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    min-height: 88px;
    padding: 14px 0;
  }

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

  .primary-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    z-index: 45;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 14px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    background: rgba(3, 11, 24, 0.96);
    box-shadow: 0 24px 54px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease;
  }

  .primary-nav.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-nav a {
    justify-content: flex-start;
    width: 100%;
    min-height: 48px;
    padding: 0 16px;
  }

  .primary-nav a::after {
    left: 16px;
    right: 16px;
  }

  .header-search {
    grid-column: 1 / -1;
    width: 100%;
  }

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

  .entry-content p {
    font-size: 18px;
  }

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

  .ccd3b21,
  .ccd3b8,
  .form-status {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll;
  }

  .ccd3b31 {
    width: min(var(--container), calc(100% - 20px));
  }

  .ccd3b22 {
    font-size: 22px;
    gap: 10px;
  }

  .ccd3b22::before {
    width: 12px;
    height: 12px;
    box-shadow: 0 0 0 6px rgba(38, 144, 255, 0.14);
  }

  .menu-toggle {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .menu-toggle span:nth-child(1) {
    top: 18px;
  }

  .menu-toggle span:nth-child(2) {
    top: 25px;
  }

  .menu-toggle span:nth-child(3) {
    top: 32px;
  }

  .menu-toggle.is-active span:nth-child(1),
  .menu-toggle.is-active span:nth-child(3) {
    top: 25px;
  }

  .ccd3b61,
.ccd3b38 {
    max-width: none;
    font-size: clamp(30px, 10vw, 46px);
  }

  .entry-header::after {
    width: 72px;
  }

  .entry-content p {
    font-size: 17px;
    line-height: 1.85;
  }

  .entry-content > p:first-of-type::first-letter {
    font-size: 64px;
    margin: 10px 12px 0 0;
  }

  .entry-content h2 {
    font-size: clamp(25px, 8vw, 34px);
    margin-top: 34px;
  }

  .site-main,
  .widget,
  .contact-main {
    padding: 20px;
    border-radius: 26px;
  }

  .widget {
    padding: 18px;
  }

  .ccd3b24 {
    min-height: 66px;
    padding: 14px 18px;
  }

  .header-search {
    height: 46px;
    border-radius: 14px;
  }

  .header-search button {
    width: 38px;
    height: 38px;
  }

  .back-top {
    right: 14px;
    bottom: 16px;
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .contact-submit {
    width: 100%;
  }
}

/* WF Sample 25 TikTok sidebar fix — scoped only to video widgets. */
.widget-video.is-tiktok-video,
.widget-video:has(iframe[src*="tiktok.com"]),
.widget-video:has(iframe[src*="tiktokcdn.com"]) {
  padding: 14px !important;
  overflow: visible !important;
}

.widget-video.is-tiktok-video .video-frame,
.widget-video:has(iframe[src*="tiktok.com"]) .video-frame,
.widget-video:has(iframe[src*="tiktokcdn.com"]) .video-frame {
  aspect-ratio: 9 / 16 !important;
  height: min(78vh, 760px) !important;
  min-height: 560px !important;
  max-height: 820px !important;
  border-radius: 24px !important;
  background: #000 !important;
  box-shadow: 0 22px 54px rgba(3, 18, 38, 0.24) !important;
}

.widget-video.is-tiktok-video .video-frame::before,
.widget-video:has(iframe[src*="tiktok.com"]) .video-frame::before,
.widget-video:has(iframe[src*="tiktokcdn.com"]) .video-frame::before {
  display: none !important;
  content: none !important;
}

.widget-video.is-tiktok-video .video-frame iframe,
.widget-video:has(iframe[src*="tiktok.com"]) .video-frame iframe,
.widget-video:has(iframe[src*="tiktokcdn.com"]) .video-frame iframe {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 100% !important;
  max-height: none !important;
  border: 0 !important;
}

.widget-video.is-wide-video .video-frame,
.widget-video:not(.is-tiktok-video):not(:has(iframe[src*="tiktok.com"])):not(:has(iframe[src*="tiktokcdn.com"])) .video-frame {
  aspect-ratio: 16 / 9;
}

/* Safety: never allow JS reveal effects to make generated article text disappear. */
.reveal,
.reveal.is-visible {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 1024px) {
  .widget-video.is-tiktok-video,
  .widget-video:has(iframe[src*="tiktok.com"]),
  .widget-video:has(iframe[src*="tiktokcdn.com"]) {
    max-width: 430px !important;
    margin-inline: auto !important;
  }

  .widget-video.is-tiktok-video .video-frame,
  .widget-video:has(iframe[src*="tiktok.com"]) .video-frame,
  .widget-video:has(iframe[src*="tiktokcdn.com"]) .video-frame {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 9 / 16 !important;
  }
}

@media (max-width: 520px) {
  .widget-video.is-tiktok-video,
  .widget-video:has(iframe[src*="tiktok.com"]),
  .widget-video:has(iframe[src*="tiktokcdn.com"]) {
    padding: 10px !important;
  }

  .widget-video.is-tiktok-video .video-frame,
  .widget-video:has(iframe[src*="tiktok.com"]) .video-frame,
  .widget-video:has(iframe[src*="tiktokcdn.com"]) .video-frame {
    border-radius: 18px !important;
  }
}



/* Generated theme override */
:root{
  --wf-accent:#365691;
  --wf-light-box-1:#f3f5f8;
  --wf-light-box-2:#fafbfc;
  --wf-light-box-3:#f0f2f7;
  --wf-light-box-4:#fbfcfd;
  --wf-panel-bg:linear-gradient(145deg,#f3f5f8,#fafbfc);
  --wf-panel-border:#e1e6ef;
  --wf-panel-shadow:0 20px 56px rgba(54,86,145,0.1);
  --wf-site-title-bg:#f0f2f7;
  --wf-site-title-border:#e1e6ef;
  --wf-search-bg:#fbfcfd;
  --wf-scroll-start:rgba(54,86,145,0.96);
  --wf-scroll-end:rgba(54,86,145,0.24);
}
body{color:#364153;background-color:#e6ebf3 !important;}
body.custom-background{background-color:#e6ebf3 !important;}
#page.site,.site-header{background:transparent !important;}
#main.wrapper{background:#fff !important;border-color:#e1e6ef !important;box-shadow:0 18px 42px rgba(54,86,145,0.12);}
#primary.ccd3b5,#content,article.page.ccd3b11{background:transparent !important;}
.ccd3b32 a,.ccd3b38,.widget-title,.ccd3b9,h1,h2,h3,h4{color:#192338;}
a{color:#365691;}
a:hover,.ccd3b54 li a:hover,.ccd3b54 li.current-menu-item a{color:#2e497b;}
.ccd3b48,.ccd3b1,.ccd3b58{background:#2b4473;color:#ffffff;}
.ccd3b58:hover,.ccd3b1:hover{background:#365691;}
.widget,.ccd3b60,.ccd3b41,main article{border-color:#e1e6ef;background:var(--wf-light-box-1) !important;background-image:none !important;opacity:1 !important;box-shadow:0 12px 28px rgba(54,86,145,0.1);}
.ccd3b51,.ccd3b23,.ccd3b45,.ccd3b6,.ccd3b13{border-color:#e1e6ef;background:var(--wf-light-box-2) !important;background-image:none !important;opacity:1 !important;box-shadow:0 12px 28px rgba(54,86,145,0.1);}
.ccd3b10,#top-bar,#main-nav{border-color:#e1e6ef;background:var(--wf-light-box-3) !important;background-image:none !important;opacity:1 !important;box-shadow:0 12px 28px rgba(54,86,145,0.1);}
article.page,.ccd3b34,.ccd3b11{border-color:#e1e6ef;background:var(--wf-light-box-4) !important;background-image:none !important;opacity:1 !important;box-shadow:0 12px 28px rgba(54,86,145,0.1);}
#colophon,.ccd3b30{background:#203356;color:#ffffff;}
.entry-content h2{border-left:4px solid #365691;padding-left:12px;}
.entry-content .ccd3b43{margin:24px 0 28px;}
.entry-content .ccd3b43 figure{margin:0 auto;max-width:1024px;}
.entry-content .ccd3b43 img{display:block;width:100%;max-width:1024px;height:auto;aspect-ratio:1024 / 683;object-fit:cover;border:4px solid #ffffff;box-shadow:0 8px 22px rgba(0,0,0,.08);}
.generated-video-frame{display:block;width:100%;max-width:100%;aspect-ratio:560 / 315;height:auto;min-height:240px;border:0;border-radius:8px;background:#000;}
.ccd3b40{width:min(100%,420px) !important;max-width:100% !important;height:740px !important;aspect-ratio:9 / 16 !important;margin:0 auto;}
.ccd3b39 .generated-video-frame{margin:0 auto;}
.ccd3b49{margin:12px 0 0;font-size:14px;}
.ccd3b49 a{font-weight:700;text-decoration:underline;}
/* WF final opaque text container override start */
:root{--wf-final-box-1:#f5f3ff;--wf-final-box-2:#eef2ff;--wf-final-box-3:#fff7ed;--wf-final-box-4:#f8fafc;--wf-final-text:#334155;--wf-final-title:#111827;--wf-final-muted:#475569;--wf-final-border:rgba(15,23,42,.14);--wf-final-shadow:rgba(15,23,42,.10);}\nhtml body article,html body main article,html body main > section,html body main > div,html body [role="main"] article,html body [role="main"] section,html body [role="main"] > div,html body :where(article,section,div,aside)[class*="article"],html body :where(article,section,div,aside)[class*="Article"],html body :where(article,section,div,aside)[class*="content"],html body :where(article,section,div,aside)[class*="Content"],html body :where(article,section,div,aside)[class*="entry"],html body :where(article,section,div,aside)[class*="Entry"],html body :where(article,section,div,aside)[class*="post"],html body :where(article,section,div,aside)[class*="Post"],html body :where(article,section,div,aside)[class*="card"],html body :where(article,section,div,aside)[class*="Card"],html body :where(article,section,div,aside)[class*="panel"],html body :where(article,section,div,aside)[class*="Panel"],html body :where(article,section,div,aside)[class*="box"],html body :where(article,section,div,aside)[class*="Box"],html body :where(article,section,div,aside)[class*="widget"],html body :where(article,section,div,aside)[class*="Widget"],html body .content-card,html body .article-card,html body .post-card,html body .page-card,html body .contact-card,html body .contact-panel,html body .widget,html body section.widget,html body aside.widget,html body .sidebar .widget{background:var(--wf-final-box-1) !important;background-color:var(--wf-final-box-1) !important;background-image:none !important;opacity:1 !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;color:var(--wf-final-text) !important;border:1px solid var(--wf-final-border) !important;box-shadow:0 18px 42px var(--wf-final-shadow) !important;}\nhtml body main > section:nth-of-type(2n),html body main > div:nth-of-type(2n),html body article:nth-of-type(2n),html body :where(article,section,div,aside)[class*="card"]:nth-of-type(2n),html body :where(article,section,div,aside)[class*="panel"]:nth-of-type(2n),html body :where(article,section,div,aside)[class*="content"]:nth-of-type(2n),html body .widget:nth-of-type(2n){background:var(--wf-final-box-2) !important;background-color:var(--wf-final-box-2) !important;background-image:none !important;}\nhtml body main > section:nth-of-type(3n),html body main > div:nth-of-type(3n),html body article:nth-of-type(3n),html body :where(article,section,div,aside)[class*="card"]:nth-of-type(3n),html body :where(article,section,div,aside)[class*="panel"]:nth-of-type(3n),html body :where(article,section,div,aside)[class*="content"]:nth-of-type(3n),html body .widget:nth-of-type(3n){background:var(--wf-final-box-3) !important;background-color:var(--wf-final-box-3) !important;background-image:none !important;}\nhtml body article.page,html body .post,html body .hentry{background:var(--wf-final-box-4) !important;background-color:var(--wf-final-box-4) !important;background-image:none !important;opacity:1 !important;color:var(--wf-final-text) !important;}\nhtml body article :where(.entry-content,.post-content,.article-body,.article-content,.content,.copy,.text),html body main :where(.entry-content,.post-content,.article-body,.article-content,.content,.copy,.text),html body :where(article,section,div,aside)[class*="card"] :where(.entry-content,.post-content,.article-body,.article-content,.content,.copy,.text),html body :where(article,section,div,aside)[class*="panel"] :where(.entry-content,.post-content,.article-body,.article-content,.content,.copy,.text){background:transparent !important;background-image:none !important;opacity:1 !important;box-shadow:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;}\nhtml body article::before,html body article::after,html body main > section::before,html body main > section::after,html body main > div::before,html body main > div::after,html body :where(article,section,div,aside)[class*="card"]::before,html body :where(article,section,div,aside)[class*="card"]::after,html body :where(article,section,div,aside)[class*="panel"]::before,html body :where(article,section,div,aside)[class*="panel"]::after,html body :where(article,section,div,aside)[class*="content"]::before,html body :where(article,section,div,aside)[class*="content"]::after{background:transparent !important;background-image:none !important;opacity:0 !important;box-shadow:none !important;backdrop-filter:none !important;-webkit-backdrop-filter:none !important;pointer-events:none !important;}\nhtml body article :where(p,li,span,div,blockquote,small,strong,em),html body main > section :where(p,li,span,div,blockquote,small,strong,em),html body main > div :where(p,li,span,div,blockquote,small,strong,em),html body :where(article,section,div,aside)[class*="card"] :where(p,li,span,div,blockquote,small,strong,em),html body :where(article,section,div,aside)[class*="panel"] :where(p,li,span,div,blockquote,small,strong,em),html body :where(article,section,div,aside)[class*="content"] :where(p,li,span,div,blockquote,small,strong,em),html body .widget :where(p,li,span,div,blockquote,small,strong,em){color:var(--wf-final-text) !important;}\nhtml body article :where(h1,h2,h3,h4,h5,h6),html body main > section :where(h1,h2,h3,h4,h5,h6),html body main > div :where(h1,h2,h3,h4,h5,h6),html body :where(article,section,div,aside)[class*="card"] :where(h1,h2,h3,h4,h5,h6),html body :where(article,section,div,aside)[class*="panel"] :where(h1,h2,h3,h4,h5,h6),html body :where(article,section,div,aside)[class*="content"] :where(h1,h2,h3,h4,h5,h6),html body .widget :where(h1,h2,h3,h4,h5,h6){color:var(--wf-final-title) !important;}\nhtml body article a,html body main > section a,html body main > div a,html body :where(article,section,div,aside)[class*="card"] a,html body :where(article,section,div,aside)[class*="panel"] a,html body :where(article,section,div,aside)[class*="content"] a,html body .widget a{color:var(--wf-accent, var(--accent, #2563eb)) !important;}\nhtml body article small,html body article .muted,html body main > section small,html body main > section .muted,html body main > div small,html body main > div .muted,html body .widget small,html body .widget .muted{color:var(--wf-final-muted) !important;}\n/* WF final opaque text container override end */
