:root {
  --accent: #d65050;
  --accent-dark: #b73d3d;
  --navy: #00102e;
  --navy-soft: #233452;
  --muted: #737c8c;
  --bg: #fcfff2;
  --white: #ffffff;
  --black: #000000;
  --border: #dde2ea;
  --shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.68;
  color: var(--navy-soft);
  background-color: var(--bg);
}

.site {
  background: linear-gradient(rgba(252,255,242,0.72), rgba(252,255,242,0.86)), var(--bg-image, var(--site-bg-image, none)) center top / cover no-repeat fixed;
  min-height: 100vh;
}

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

iframe {
  border: 0;
}

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

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  z-index: 9999;
  background: var(--white);
  color: var(--black);
  padding: 10px 14px;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

.site-header {
  position: relative;
  z-index: 1000;
  background: #000;
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.site-branding {
  flex: 0 1 auto;
  min-width: 0;
}

.site-title {
  display: inline-block;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--white);
}

.site-title:hover {
  color: var(--white);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}

.site-nav {
  flex: 0 0 auto;
}

.menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu a {
  display: inline-block;
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 0;
}

.menu a:hover,
.menu a.active {
  color: var(--accent);
}

.search-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--white);
}

.search-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.search-link:hover {
  color: var(--white);
}

.hero {
  height: 130px;
  background: transparent;
}

.hero-overlay {
  display: none;
}

.page-wrap {
  padding: 60px 0 100px;
  background: transparent;
}


.page-wrap {
  padding: 20px 0 100px;
  margin-top: -40px;
  background: transparent;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 40px;
  align-items: start;
}

.content-area,
.sidebar {
  min-width: 0;
}

.post-card,
.widget {
  background: var(--white);
  box-shadow: var(--shadow);
}

.post-card {
  padding: 34px;
}

.article-header,
.entry-header {
  margin-bottom: 24px;
}

.article-header h1,
.entry-header h1 {
  margin: 0;
  color: var(--navy);
  font-size: 66px;
  line-height: 1.08;
  font-weight: 700;
}

.article-content h2,
.entry-content h2 {
  margin: 38px 0 16px;
  color: var(--navy);
  font-size: 38px;
  line-height: 1.18;
}

.article-content h3,
.entry-content h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.article-content p,
.entry-content p {
  margin: 0 0 18px;
}

.article-content strong,
.entry-content strong {
  color: var(--navy);
}

.article-image,
.featured-image {
  margin: 30px 0 10px;
}

.article-image img,
.featured-image img {
  width: 100%;
}

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.widget {
  padding: 30px;
}

.widget-title {
  margin: 0 0 22px;
  padding-bottom: 12px;
  position: relative;
  color: var(--navy);
  font-size: 32px;
  line-height: 1.2;
}

.widget-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 82px;
  height: 4px;
  background: var(--accent);
}

.widget-list {
  margin: 0;
  padding-left: 22px;
}

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

.contact-list {
  padding-left: 18px;
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
  background: #111;
}

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

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

.info-box {
  border: 1px solid var(--border);
  padding: 22px;
  background: #fbfcff;
}

.info-box p {
  margin: 0;
}

.contact-form {
  margin-top: 14px;
}

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

.form-group {
  margin-bottom: 18px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--navy);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy-soft);
  padding: 14px 16px;
  font: inherit;
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(214, 80, 80, 0.12);
}

textarea {
  resize: vertical;
  min-height: 180px;
}

.btn {
  display: inline-block;
  border: 0;
  background: var(--accent);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 26px;
  cursor: pointer;
}

.btn:hover {
  background: var(--accent-dark);
  color: var(--white);
}

.site-footer {
  background: #000;
  color: var(--white);
  text-align: center;
}

.site-info {
  padding: 24px 0;
  font-size: 15px;
}

.go-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
  border-radius: 2px;
  font-size: 22px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
}

.go-top:hover {
  background: var(--accent-dark);
  color: var(--white);
}

@media (max-width: 1200px) {
  .article-header h1,
.entry-header h1 {
    font-size: 56px;
  }
}

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

  .sidebar {
    order: 2;
  }

  .content-area {
    order: 1;
  }
}

@media (max-width: 820px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-title {
    font-size: 24px;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
    gap: 14px;
  }

  .menu {
    justify-content: flex-start;
    gap: 18px;
    flex-wrap: wrap;
  }

  .menu a {
    font-size: 12px;
  }

  .hero {
    height: 260px;
  }

  .post-card {
    padding: 28px;
  }

  .article-header h1,
.entry-header h1 {
    font-size: 44px;
  }

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

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

  .page-wrap {
    padding: 28px 0 70px;
  }

  .hero {
    height: 180px;
  }

  .widget,
  .post-card {
    padding: 20px;
  }

  .site-title {
    font-size: 20px;
  }

  .menu a {
    font-size: 12px;
  }

  .article-header h1,
.entry-header h1 {
    font-size: 34px;
  }

  .article-content h2,
.entry-content h2 {
    font-size: 28px;
  }

  .widget-title {
    font-size: 24px;
  }
}

body {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top left, rgba(255,255,255,0.18), transparent 32%),
    radial-gradient(circle at top right, rgba(214,80,80,0.12), transparent 26%);
  z-index: 0;
}

#page {
  position: relative;
  z-index: 1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(0, 0, 0, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.18), transparent);
}

.site-title,
.menu a,
.search-link,
.btn,
.go-top,
.post-card,
.widget,
.info-box,
input,
textarea,
.article-image img,
.featured-image img {
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.25s ease, background-color 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.menu a {
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu a:hover::after,
.menu a.active::after,
.menu a[aria-current="page"]::after {
  transform: scaleX(1);
  opacity: 1;
}

.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0));
}

.post-card,
.widget {
  border: 1px solid rgba(221, 226, 234, 0.72);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.post-card:hover,
.widget:hover {
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.12);
}

.entry-content > * {
  max-width: 100%;
}

.entry-content p,
.widget-list li,
.contact-list li,
input,
textarea {
  font-size: 17px;
}

.article-image,
.featured-image {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.12);
}

.article-image img:hover,
.featured-image img:hover {
  transform: scale(1.03);
}

.sidebar .widget:first-child {
  position: sticky;
  top: 96px;
}

.info-box {
  border-radius: 16px;
}

.info-box:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.08);
}

input,
textarea {
  border-radius: 14px;
}

.btn {
  border-radius: 999px;
  box-shadow: 0 14px 26px rgba(214, 80, 80, 0.22);
}

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

.go-top {
  border-radius: 999px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
}

.go-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(20px);
}

.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 2000;
  background: transparent;
  pointer-events: none;
}

.scroll-progress-bar {
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--accent), #ff9a7c);
  box-shadow: 0 0 18px rgba(214, 80, 80, 0.45);
}

.search-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 90px 20px 20px;
  background: rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.search-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-panel {
  width: min(760px, 100%);
  background: #fff;
  color: var(--navy-soft);
  border-radius: 22px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transform: translateY(-16px) scale(0.98);
  transition: transform 0.25s ease;
}

.search-overlay.open .search-panel {
  transform: translateY(0) scale(1);
}

.search-panel-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
}

.search-panel-header input {
  border: 0;
  box-shadow: none;
  padding: 0;
  font-size: 18px;
}

.search-close {
  flex: 0 0 auto;
  border: 0;
  background: #f2f4f8;
  color: var(--navy);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
}

.search-results {
  max-height: min(60vh, 560px);
  overflow: auto;
  padding: 8px;
}

.search-result-item {
  display: block;
  padding: 16px;
  border-radius: 16px;
  color: inherit;
}

.search-result-item:hover,
.search-result-item.active-result {
  background: #f7f9fc;
  color: inherit;
}

.search-result-item strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
}

.search-result-item span {
  color: var(--muted);
  font-size: 14px;
}

.search-empty {
  padding: 26px 20px 28px;
  color: var(--muted);
}

.toast-message {
  position: fixed;
  right: 20px;
  bottom: 80px;
  z-index: 3200;
  min-width: 240px;
  max-width: min(420px, calc(100% - 40px));
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(0, 16, 46, 0.94);
  color: #fff;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-message.show {
  opacity: 1;
  transform: translateY(0);
}

body.search-open {
  overflow: hidden;
}

@media (max-width: 1100px) {
  .sidebar .widget:first-child {
    position: static;
  }
}

@media (max-width: 820px) {
  .site-header {
    position: relative;
  }

  .header-right {
    align-items: center;
  }

  .search-panel-header {
    padding: 16px;
  }
}

@media (max-width: 575px) {
  .entry-content p,
  .widget-list li,
  .contact-list li,
  input,
  textarea {
    font-size: 16px;
  }

  .search-overlay {
    padding-top: 70px;
  }

  .search-panel {
    border-radius: 18px;
  }
}

:root {
  --scroll-progress: 0%;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.38);
  --dark-bg: #07111f;
  --dark-card: #101b2d;
  --dark-text: #dbe5f7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top right, rgba(214, 80, 80, 0.12), transparent 30%),
    radial-gradient(circle at left 20%, rgba(35, 52, 82, 0.14), transparent 25%);
  z-index: -1;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-title,
.menu a,
.search-link {
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

.menu a {
  position: relative;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.28s ease;
}

.menu a:hover::after,
.menu a.active::after { transform: scaleX(1); }

.post-card,
.widget,
.info-box {
  border-radius: 20px;
  border: 1px solid rgba(0, 16, 46, 0.08);
  box-shadow: 0 20px 50px rgba(3, 13, 32, 0.10), 0 2px 12px rgba(3, 13, 32, 0.05);
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.post-card:hover,
.widget:hover,
.info-box:hover {
  box-shadow: 0 28px 65px rgba(3, 13, 32, 0.16), 0 4px 18px rgba(3, 13, 32, 0.08);
  border-color: rgba(214, 80, 80, 0.18);
}

.post-card {
  position: relative;
  overflow: hidden;
}

.post-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), rgba(214, 80, 80, 0.15));
}

.entry-content h2,
.article-content h3,
.entry-content h3 {
  position: relative;
  scroll-margin-top: 100px;
}

.heading-anchor {
  margin-left: 10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(214, 80, 80, 0.10);
  color: var(--accent);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-2px);
  transition: opacity 0.22s ease, transform 0.22s ease, background-color 0.22s ease;
}

.entry-content h2:hover .heading-anchor,
.entry-content h3:hover .heading-anchor { opacity: 1; }
.heading-anchor:hover { background: rgba(214, 80, 80, 0.18); transform: translateY(-4px); }

.reading-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.reading-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(35, 52, 82, 0.06);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.article-image,
.featured-image {
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 22px 44px rgba(4, 14, 34, 0.16);
}

.featured-image img,
.entry-content img {
  transition: transform 0.6s ease, filter 0.35s ease;
  cursor: zoom-in;
}

.featured-image:hover img,
.entry-content img:hover { transform: scale(1.04); }

.section-nav {
  list-style: none;
  padding-left: 0;
}
.section-nav li { margin-bottom: 10px; }
.section-nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  color: var(--navy-soft);
  background: rgba(35, 52, 82, 0.04);
}
.section-nav a.active,
.section-nav a:hover {
  background: rgba(214, 80, 80, 0.10);
  color: var(--accent-dark);
}

.search-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 8vh 18px 18px;
  background: rgba(2, 8, 18, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 1200;
}
.search-overlay.open { opacity: 1; visibility: visible; }
.search-panel {
  width: min(760px, 100%);
  background: rgba(255, 255, 255, 0.94);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 28px 90px rgba(3, 13, 32, 0.28);
  padding: 18px;
}
.search-panel-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  margin-bottom: 8px;
}
.search-close {
  width: 50px;
  border: 0;
  border-radius: 14px;
  background: rgba(35, 52, 82, 0.08);
  color: var(--navy);
  cursor: pointer;
}
.search-shortcut,
.char-count {
  color: var(--muted);
  font-size: 13px;
}
.search-results {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}
.search-result-item {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(35, 52, 82, 0.04);
  border: 1px solid transparent;
}
.search-result-item strong,
.search-result-item span { display: block; }
.search-result-item span { margin-top: 4px; color: var(--muted); }
.search-result-item:hover,
.search-result-item.active-result {
  border-color: rgba(214, 80, 80, 0.18);
  background: rgba(214, 80, 80, 0.08);
}

.quick-actions {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 10px;
  z-index: 1100;
}
.qa-btn {
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  box-shadow: 0 16px 40px rgba(3, 13, 32, 0.16);
  cursor: pointer;
  font-size: 18px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.qa-btn:hover { transform: translateY(-3px); box-shadow: 0 20px 46px rgba(3, 13, 32, 0.22); }

.go-top {
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  border-radius: 16px;
  transition: opacity 0.28s ease, visibility 0.28s ease, transform 0.28s ease, background-color 0.22s ease;
}
.go-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  z-index: 1300;
}
.scroll-progress-bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--accent), #ff8d8d, var(--navy));
  box-shadow: 0 0 16px rgba(214, 80, 80, 0.36);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-on-scroll.revealed {
  opacity: 1;
  transform: translateY(0);
}

.toast-message {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(18px);
  background: rgba(7, 17, 31, 0.92);
  color: #fff;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 18px 40px rgba(2, 8, 18, 0.28);
  opacity: 0;
  z-index: 1300;
  transition: opacity 0.24s ease, transform 0.24s ease;
}
.toast-message.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.image-lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(5, 10, 18, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.24s ease, visibility 0.24s ease;
  z-index: 1400;
}
.image-lightbox.open { opacity: 1; visibility: visible; }
.lightbox-image {
  max-width: min(92vw, 1180px);
  max-height: 82vh;
  border-radius: 18px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.45);
}
.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
}

.input-error {
  border-color: #d65050 !important;
  box-shadow: 0 0 0 4px rgba(214, 80, 80, 0.12) !important;
}

body.theme-dark {
  color: var(--dark-text);
  background: var(--dark-bg);
}
body.theme-dark .site-header,
body.theme-dark .site-footer { background: rgba(4, 10, 18, 0.88); }
body.theme-dark .post-card,
body.theme-dark .widget,
body.theme-dark .info-box,
body.theme-dark .search-panel,
body.theme-dark .qa-btn {
  background: rgba(16, 27, 45, 0.95);
  color: var(--dark-text);
  border-color: rgba(255, 255, 255, 0.08);
}
body.theme-dark .article-header h1,
body.theme-dark .entry-header h1,
body.theme-dark .article-content h2,
body.theme-dark .entry-content h2,
body.theme-dark .article-content h3,
body.theme-dark .entry-content h3,
body.theme-dark label,
body.theme-dark .widget-title,
body.theme-dark .site-title,
body.theme-dark .reading-meta span,
body.theme-dark .search-close,
body.theme-dark .search-link,
body.theme-dark .qa-btn,
body.theme-dark a:not(.menu a) { color: #edf4ff; }
body.theme-dark .section-nav a,
body.theme-dark .search-result-item,
body.theme-dark .reading-meta span { background: rgba(255,255,255,0.05); }
body.theme-dark input,
body.theme-dark textarea {
  background: rgba(255,255,255,0.03);
  color: #fff;
  border-color: rgba(255,255,255,0.12);
}

@media (max-width: 900px) {
  .quick-actions {
    top: auto;
    bottom: 84px;
    right: 14px;
    transform: none;
  }

  .menu {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
  }
  .menu::-webkit-scrollbar { display: none; }
}

@media (max-width: 575px) {
  .search-panel { padding: 14px; border-radius: 18px; }
  .search-panel-header { grid-template-columns: 1fr 44px; }
  .quick-actions { gap: 8px; }
  .qa-btn, .go-top { width: 42px; height: 42px; border-radius: 14px; }
  .reading-meta { gap: 8px; }
  .reading-meta span { font-size: 12px; padding: 0 12px; }
  .heading-anchor { opacity: 1; width: 30px; height: 30px; }
}


/* Alternating text reveal directions */
.reveal-on-scroll.reveal-from-left {
  transform: translate3d(-48px, 0, 0);
}

.reveal-on-scroll.reveal-from-right {
  transform: translate3d(48px, 0, 0);
}

.reveal-on-scroll.revealed.reveal-from-left,
.reveal-on-scroll.revealed.reveal-from-right {
  transform: translate3d(0, 0, 0);
}


.site.has-site-bg {
  background: linear-gradient(rgba(252,255,242,0.72), rgba(252,255,242,0.86)), var(--site-bg-image) center top / cover no-repeat fixed;
}

.article-image.is-hidden,
.featured-image.is-hidden {
  display: none;
}


/* Generator compatibility */
.site-body { min-height: 100%; }
.article-content,
.contact-card { color: inherit; }
.article-content img,
.contact-card img { max-width: 100%; height: auto; }
.post-image,
.article-image { margin: 30px 0 10px; }
.post-image img,
.article-image img { border-radius: 18px; box-shadow: 0 12px 28px rgba(0,0,0,0.10); }
.layout{
  grid-template-columns: 320px minmax(0, 1fr);
  grid-template-areas: "sidebar content";
}

.layout > .sidebar{
  grid-area: sidebar;
}

.layout > .content-area{
  grid-area: content;
}

@media (max-width: 1100px){
  .layout{
    grid-template-columns: 1fr;
    grid-template-areas:
      "content"
      "sidebar";
  }
}
/* ===== Mobile burger navigation fix ===== */
.site-header,
.header-inner,
.header-right {
  position: relative;
}

.mobile-nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, opacity .2s ease;
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  background: rgba(255,255,255,.08);
  transform: translateY(-1px);
}

.mobile-nav-toggle .mobile-nav-icon {
  position: relative;
  display: block;
  width: 22px;
  height: 16px;
}

.mobile-nav-toggle .mobile-nav-icon::before,
.mobile-nav-toggle .mobile-nav-icon::after,
.mobile-nav-toggle .mobile-nav-line {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2.5px;
  border-radius: 999px;
  background: currentColor;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}

.mobile-nav-toggle .mobile-nav-icon::before { top: 0; }
.mobile-nav-toggle .mobile-nav-line { top: 6.75px; }
.mobile-nav-toggle .mobile-nav-icon::after { top: 13.5px; }

body.mobile-nav-open .mobile-nav-toggle .mobile-nav-icon::before {
  top: 6.75px;
  transform: rotate(45deg);
}

body.mobile-nav-open .mobile-nav-toggle .mobile-nav-line {
  opacity: 0;
}

body.mobile-nav-open .mobile-nav-toggle .mobile-nav-icon::after {
  top: 6.75px;
  transform: rotate(-45deg);
}

@media (max-width: 820px) {
  .header-inner {
    min-height: 72px;
    padding: 14px 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }

  .site-branding {
    flex: 1 1 auto;
    min-width: 0;
  }

  .header-right {
    width: auto;
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 10px;
    margin-left: auto;
  }

  .mobile-nav-toggle {
    display: inline-flex;
    order: 1;
  }

  .search-link {
    order: 2;
    width: 40px;
    height: 40px;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    width: min(280px, calc(100vw - 20px));
    padding: 12px;
    background: rgba(8, 8, 8, 0.98);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    box-shadow: 0 18px 48px rgba(0,0,0,.30);
    z-index: 1200;
  }

  body.mobile-nav-open .site-nav {
    display: block;
  }

  .menu {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 8px;
    flex-wrap: nowrap;
    overflow: visible;
    padding-bottom: 0;
  }

  .menu a {
    display: block;
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    line-height: 1.2;
    background: rgba(255,255,255,.04);
    border-radius: 12px;
  }

  .menu a:hover,
  .menu a.active,
  .menu a[aria-current="page"] {
    background: rgba(255,255,255,.10);
  }

  .menu a::after {
    display: none;
  }
}

@media (max-width: 575px) {
  .site-nav {
    width: calc(100vw - 20px);
    right: -2px;
  }

  .site-title {
    font-size: 18px;
  }
}

/* Website Factory Sample 16 generated override */
:root{
  --accent: #4565a0;
  --accent-dark: #395383;
  --navy: #1a2539;
  --navy-soft: #374253;
  --muted: #8b919b;
  --bg: #ebf0f8;
  --border: #dee3ee;
  --shadow: 0 18px 42px rgba(26,37,57,0.14);
}
body{background-color:var(--bg);color:var(--navy-soft);}
.site{background:linear-gradient(rgba(255,255,255,0.8),rgba(255,255,255,0.8)), var(--bg-image, var(--site-bg-image, none)) center top / cover no-repeat fixed;}
.site-header{background:#263959;box-shadow:0 12px 26px rgba(69,101,160,0.1);}
.site-footer{background:#253656;}
.site-title,.menu a,.search-link{color:#fff;}
.menu a:hover,.menu a.active,.widget-list a:hover,.widget-list a.active,.section-nav a:hover,.section-nav a.active,.search-link:hover,.site a:hover{color:var(--accent);}
.post-card,.widget,.search-panel,.quick-actions,.image-lightbox .lightbox-image{border:1px solid rgba(69,101,160,0.1);box-shadow:var(--shadow);}
.article-header h1,.article-content h2,.entry-content h2,.article-content h3,.entry-content h3,.widget-title{color:var(--navy);}
.article-content strong,.entry-content strong{color:var(--navy);}
.article-image img,.featured-image img{border:1px solid rgba(69,101,160,0.18);box-shadow:0 14px 34px rgba(69,101,160,0.1);}
.go-top,.btn,.contact-form button,.contact-form button[type="submit"],.mobile-nav-toggle,.qa-btn,.search-close{background:var(--accent);color:#ffffff;border:1px solid var(--accent);}
.go-top:hover,.btn:hover,.contact-form button:hover,.contact-form button[type="submit"]:hover,.mobile-nav-toggle:hover,.qa-btn:hover,.search-close:hover{background:var(--accent-dark);border-color:var(--accent-dark);color:#ffffff;}
.search-result-item:hover,.search-result-item.active-result{border-color:var(--accent);background:rgba(69,101,160,0.07);}
.reading-meta span,.char-count,.search-shortcut{color:var(--muted);}
.contact-form input:focus,.contact-form textarea:focus,.search-input:focus{outline:none;border-color:var(--accent);box-shadow:0 0 0 3px rgba(69,101,160,0.1);}
.input-error{border-color:var(--accent) !important;box-shadow:0 0 0 3px rgba(69,101,160,0.1) !important;}
@media (max-width: 820px){.site{background-attachment:scroll;}.mobile-nav-toggle{display:inline-flex;align-items:center;justify-content:center;}}
