/*
Theme Name: MysticVora
Theme URI: https://example.com/mysticvora
Author: MysticVora
Description: A Bootstrap-powered mystical knowledge theme inspired by sacred symbols, astrology, tarot, and ancient wisdom.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: mysticvora
*/

:root {
  --mv-ink: #252333;
  --mv-muted: #6f6a61;
  --mv-gold: #b99552;
  --mv-gold-dark: #8b6b31;
  --mv-line: #e7dcc8;
  --mv-paper: #fbf8ef;
  --mv-white: #fffdf8;
  --mv-shadow: 0 14px 32px rgba(79, 61, 30, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  margin: 0;
  color: var(--mv-ink);
  background:
    radial-gradient(circle at 4% 68%, rgba(185, 149, 82, 0.12), transparent 20%),
    radial-gradient(circle at 96% 65%, rgba(185, 149, 82, 0.1), transparent 18%),
    #fbf8ef;
  font-family: "Inter", Arial, sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.32;
  background-image:
    linear-gradient(rgba(185, 149, 82, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(185, 149, 82, 0.05) 1px, transparent 1px);
  background-size: 44px 44px;
}

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

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

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

.container {
  max-width: 1280px;
}

.font-serif,
.brand-title,
.hero-title,
.category-hero h1,
.section-title,
.card-title,
.featured-title,
.sidebar-panel h2,
.sidebar-panel h3,
.popular-number,
.popular-list a,
.number-card strong,
.footer-brand {
  font-family: "Cormorant Garamond", Georgia, serif;
}

.top-notice {
  min-height: 38px;
  color: rgba(248, 240, 219, 0.86);
  border-bottom: 1px solid rgba(218, 185, 118, 0.18);
  background: #0d141d;
  font-size: 14px;
}

.top-notice .notice-icon {
  color: var(--mv-gold);
  font-size: 18px;
}

.site-header {
  position: relative;
  z-index: 999;
  border-bottom: 1px solid rgba(218, 185, 118, 0.13);
  background: rgba(11, 18, 27, 0.96);
  backdrop-filter: blur(18px);
  transition: background-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

body.has-fixed-header {
  padding-top: 0;
}

.site-header-placeholder {
  display: none;
  height: var(--mv-header-height, 82px);
}

.site-header-placeholder.is-active {
  display: block;
}

.site-header.is-fixed {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 999;
  animation: mysticvoraHeaderDrop 0.22s ease both;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
}

@keyframes mysticvoraHeaderDrop {
  from {
    transform: translateY(-12px);
  }

  to {
    transform: translateY(0);
  }
}

body.admin-bar .site-header.is-fixed {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-header.is-fixed {
    top: 46px;
  }
}

.brand {
  gap: 13px;
}

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

.custom-logo {
  width: auto;
  max-width: 230px;
  max-height: 72px;
  object-fit: cover;
}

.brand-mark {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  color: #d8b978;
  border: 1px solid rgba(216, 185, 120, 0.34);
  border-radius: 50%;
  font-size: 32px;
  background: rgba(255, 255, 255, 0.04);
}

.brand-title {
  display: block;
  color: rgba(255, 248, 232, 0.94);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 0.85;
}

.brand-subtitle {
  display: block;
  color: rgba(255, 248, 232, 0.94);
  font-size: 18px;
  letter-spacing: 0.35em;
  line-height: 1;
}

.navbar {
  min-height: 82px;
}

.navbar-toggler {
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(216, 185, 120, 0.46);
  border-radius: 4px;
  box-shadow: none;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(216, 185, 120, 0.24);
}

.navbar-toggler-icon {
  width: 1.35em;
  height: 1.35em;
  margin: 0;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 248, 232, 0.96%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  background-position: center;
}

.navbar-toggler[aria-expanded="true"] {
  border-color: rgba(216, 185, 120, 0.72);
  background: rgba(216, 185, 120, 0.1);
}

.header-mobile-actions {
  margin-left: auto;
  margin-right: 12px;
}

.navbar-nav {
  gap: 22px;
}

.navbar .nav-link,
.navbar-nav a {
  display: block;
  padding: 8px 0;
  color: rgba(255, 248, 232, 0.92);
  font-size: 15px;
  font-weight: 600;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus,
.navbar-nav a:hover,
.navbar-nav a:focus {
  color: #e0bd75;
}

.navbar-nav .dropdown-menu {
  min-width: 190px;
  margin-top: 0;
  padding: 6px;
  border: 1px solid rgba(216, 185, 120, 0.34);
  border-radius: 4px;
  background: #101722;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32);
}

.navbar-nav > .menu-item {
  position: relative;
}

.navbar-nav .dropdown-item {
  padding: 8px 12px;
  color: rgba(255, 248, 232, 0.88);
  border-radius: 3px;
  font-size: 14px;
  line-height: 1.25;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item:focus,
.navbar-nav .dropdown-item.active {
  color: #e0bd75;
  background: rgba(216, 185, 120, 0.1);
}

.navbar-nav .dropdown-toggle::after {
  margin-left: 6px;
  vertical-align: 0.12em;
}

@media (min-width: 992px) {
  .navbar-nav > .dropdown > .dropdown-menu {
    top: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
  }

  .navbar-nav .dropdown:hover > .dropdown-menu,
  .navbar-nav .dropdown:focus-within > .dropdown-menu {
    display: block;
  }

  .navbar-nav > .dropdown > .dropdown-menu::after {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 12px;
  }

  .navbar-nav > .dropdown > .dropdown-menu::before {
    content: "";
    position: absolute;
    top: -6px;
    left: 50%;
    width: 10px;
    height: 10px;
    border-left: 1px solid rgba(216, 185, 120, 0.34);
    border-top: 1px solid rgba(216, 185, 120, 0.34);
    background: #101722;
    transform: translateX(-50%) rotate(45deg);
  }
}

.header-tool {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: rgba(255, 248, 232, 0.92);
  background: transparent;
  font-size: 20px;
}

.search-icon {
  position: relative;
  width: 15px;
  height: 15px;
  display: block;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.search-icon::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -2px;
  background: currentColor;
  border-radius: 999px;
  transform: rotate(45deg);
  transform-origin: center;
}

.header-search-panel {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 49;
  width: 100%;
}

.header-search-form {
  max-width: 560px;
  margin-left: auto;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 16px 0;
}

.header-search-form span {
  display: grid;
  place-items: center;
  color: #d8b978;
  font-size: 20px;
  line-height: 1;
}

.header-search-form input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  color: rgba(255, 248, 232, 0.96);
  border: 1px solid rgba(216, 185, 120, 0.24);
  border-radius: 4px;
  outline: none;
  background: rgba(255, 255, 255, 0.06);
}

.header-search-form input::placeholder {
  color: rgba(255, 248, 232, 0.54);
}

.header-search-form input:focus {
  border-color: rgba(216, 185, 120, 0.68);
  box-shadow: 0 0 0 3px rgba(216, 185, 120, 0.16);
}

.header-search-form button {
  height: 46px;
  padding: 0 16px;
  color: #08101a;
  border: 1px solid var(--mv-gold);
  border-radius: 4px;
  background: #d8b978;
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--mv-line);
  background:
    linear-gradient(90deg, rgba(251, 248, 239, 0.99) 0%, rgba(251, 248, 239, 0.87) 45%, rgba(251, 248, 239, 0.2) 74%),
    var(--mv-hero-image, url("assets/images/hero.jpg")) right center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(0deg, var(--mv-paper), rgba(251, 248, 239, 0));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 575px;
  padding: 56px 0;
}

.hero-title {
  margin: 0;
  color: #292832;
  font-size: clamp(54px, 5.2vw, 76px);
  font-weight: 500;
  line-height: 0.98;
}

.hero-copy {
  max-width: 515px;
  margin: 24px 0 26px;
  color: #444146;
  font-size: 18px;
  line-height: 1.7;
}

.btn-mv-gold,
.btn-mv-outline {
  min-height: 48px;
  padding: 0 28px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 4px;
  font-size: 15px;
  font-weight: 700;
}

.btn-mv-gold {
  color: #fff;
  border: 1px solid var(--mv-gold);
  background: linear-gradient(135deg, #cba86a, #a88343);
}

.btn-mv-outline {
  color: var(--mv-ink);
  border: 1px solid var(--mv-line);
  background: rgba(255, 253, 248, 0.74);
}

.section {
  padding: 24px 0 0;
}

.section-header {
  margin-bottom: 14px;
}

.section-title {
  margin: 0;
  color: #2a2630;
  font-size: 34px;
  font-weight: 600;
  line-height: 1.1;
}

.view-link {
  color: var(--mv-gold-dark);
  font-size: 14px;
  font-weight: 700;
}

.category-card,
.article-card,
.number-card,
.path-card,
.symbol-card {
  height: 100%;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 8px 22px rgba(79, 61, 30, 0.06);
}

.category-card {
  min-height: 236px;
  padding: 26px 18px 18px;
  text-align: center;
}

.category-icon {
  width: 92px;
  height: 82px;
  margin: 0 auto 13px;
  display: grid;
  place-items: center;
  color: var(--mv-gold);
  border: 1px solid rgba(185, 149, 82, 0.32);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.72);
  font-size: 46px;
}

.category-number {
  display: block;
  margin-bottom: 8px;
  color: #746288;
  font-size: 48px;
  font-weight: 500;
  line-height: 1;
}

.category-card-image {
  width: 92px;
  height: 82px;
  margin: 0 auto 13px;
  object-fit: cover;
}

.category-card.has-number .category-icon {
  width: 64px;
  height: 58px;
  margin-bottom: 11px;
  font-size: 30px;
}

.category-card .card-title {
  display: block;
  margin-bottom: 6px;
  font-size: 26px;
  font-weight: 600;
}

.category-card p,
.number-card p,
.path-card p,
.symbol-card p {
  color: var(--mv-muted);
  font-size: 14px;
  line-height: 1.45;
}

.mini-link {
  color: var(--mv-gold-dark);
  font-size: 14px;
  font-weight: 700;
}

.article-card {
  overflow: hidden;
}

.article-card img {
  width: 100%;
  display: block;
  aspect-ratio: 700 / 467;
  height: auto;
  object-fit: cover;
  background: #f7f2e8;
}

.article-body {
  padding: 12px 16px 14px;
}

.article-kicker {
  display: inline-block;
  margin-top: -34px;
  padding: 4px 10px;
  color: #6f5625;
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid rgba(185, 149, 82, 0.28);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.article-card .card-title {
  display: block;
  margin: 8px 0 8px;
  color: #2b2730;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
}

.article-card p {
  margin: 0 0 12px;
  color: var(--mv-muted);
  font-size: 14px;
  line-height: 1.42;
}

.article-meta {
  color: var(--mv-muted);
  font-size: 12px;
}

.number-card {
  min-height: 160px;
  padding: 15px 16px 14px;
  text-align: center;
}

.number-card strong {
  display: block;
  color: #746288;
  font-size: 50px;
  font-weight: 500;
  line-height: 1;
}

.number-symbol {
  color: var(--mv-gold);
  font-size: 32px;
  line-height: 1;
}

.path-card {
  min-height: 132px;
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.path-icon {
  width: 96px;
  height: 96px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--mv-gold);
  border: 1px solid var(--mv-line);
  border-radius: 50%;
  font-size: 52px;
}

.path-card img {
  width: 76px;
  height: 112px;
  object-fit: cover;
  border: 1px solid var(--mv-line);
  border-radius: 4px;
}

.path-card .card-title {
  display: block;
  margin-bottom: 6px;
  color: #2b2730;
  font-size: 22px;
  font-weight: 600;
}

.symbol-card {
  min-height: 158px;
  padding: 16px 12px 14px;
  text-align: center;
}

.symbol-card .card-title {
  display: block;
  margin-bottom: 5px;
  color: #2b2730;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.08;
}

.symbol-card p {
  margin-bottom: 0;
  font-size: 13px;
  line-height: 1.25;
}

.symbol-image-wrap,
.symbol-icon {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
}

.symbol-icon {
  color: var(--mv-gold);
  font-size: 64px;
  line-height: 1;
}

.symbol-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

body.category {
  background: #f7f2e8;
}

.category-hero {
  min-height: 350px;
  display: flex;
  align-items: center;
  color: #fff7e7;
  border-bottom: 2px solid rgba(194, 154, 79, 0.65);
  background:
    linear-gradient(90deg, rgba(10, 16, 24, 0.96) 0%, rgba(10, 16, 24, 0.84) 46%, rgba(10, 16, 24, 0.32) 100%),
    var(--mv-category-hero) right center / cover no-repeat;
}

.category-breadcrumb {
  max-width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  overflow-x: auto;
  overflow-y: hidden;
  -ms-overflow-style: none;
  scrollbar-width: none;
  color: rgba(255, 248, 232, 0.65);
  font-size: 14px;
  white-space: nowrap;
}

.category-breadcrumb::-webkit-scrollbar {
  display: none;
}

.category-breadcrumb > * {
  flex: 0 0 auto;
}

.category-breadcrumb a {
  color: rgba(255, 248, 232, 0.72);
}

.category-hero h1 {
  margin: 0 0 14px;
  color: #fff7e7;
  font-size: 68px;
  line-height: 0.95;
}

.category-hero p {
  max-width: 610px;
  margin: 0;
  color: rgba(255, 248, 232, 0.9);
  font-size: 17px;
  line-height: 1.6;
}

.category-archive {
  position: relative;
  z-index: 2;
  padding-top: 0;
}

.category-featured {
  margin-top: -48px;
  display: grid;
  grid-template-columns: minmax(240px, 390px) 1fr;
  gap: 28px;
  padding: 14px;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(72, 57, 31, 0.08);
}

.featured-thumb img {
  width: 100%;
  display: block;
  aspect-ratio: 700 / 467;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #f7f2e8;
}

.featured-body {
  padding: 18px 10px 10px 0;
}

.featured-title {
  display: block;
  margin: 14px 0 12px;
  color: #2b2730;
  font-size: 35px;
  font-weight: 600;
  line-height: 1.05;
}

.featured-body p {
  max-width: 560px;
  color: var(--mv-muted);
  font-size: 15px;
  line-height: 1.55;
}

.category-topic-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
  margin: 24px 0;
}

.category-topic-pill {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #3b342c;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.72);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  font-weight: 600;
}

.category-topic-pill span {
  color: var(--mv-gold);
  font-size: 26px;
}

.archive-toolbar {
  margin-bottom: 18px;
}

.archive-toolbar .section-title {
  margin: 0;
  font-size: 30px;
}

.archive-toolbar span {
  color: var(--mv-muted);
  font-size: 14px;
}

.archive-sort {
  min-width: 110px;
  height: 42px;
  color: #5c4a2f;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.8);
  font-weight: 700;
}

.category-article-card {
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 8px 22px rgba(79, 61, 30, 0.05);
}

.category-card-media {
  position: relative;
}

.category-card-media .article-kicker {
  position: absolute;
  left: 10px;
  bottom: 8px;
  z-index: 2;
  margin: 0;
  padding: 3px 8px;
  border: 1px solid rgba(185, 149, 82, 0.34);
  border-radius: 2px;
  background: rgba(255, 253, 248, 0.88);
}

.category-article-card img {
  width: 100%;
  display: block;
  aspect-ratio: 700 / 467;
  height: auto;
  object-fit: contain;
  background: #f7f2e8;
}

.category-article-card .card-title {
  display: block;
  margin: 8px 0;
  color: #2b2730;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.08;
}

.category-article-card p {
  color: var(--mv-muted);
  font-size: 14px;
  line-height: 1.42;
}

.category-sidebar {
  align-content: start;
  align-self: start;
  padding-top: 26px;
}

.site-sidebar-inner {
  display: grid;
  gap: 14px;
  align-content: start;
}

@media (min-width: 1200px) {
  .site-sidebar-inner {
    position: sticky;
    top: 112px;
    height: max-content;
  }

  body.admin-bar .site-sidebar-inner {
    top: 144px;
  }
}

.sidebar-panel {
  padding: 18px;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: rgba(255, 253, 248, 0.82);
  box-shadow: 0 8px 22px rgba(79, 61, 30, 0.05);
}

.sidebar-panel h2 {
  margin: 0 0 14px;
  color: #3a2f27;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

.sidebar-panel h3 {
  margin: 12px 0 6px;
  color: #3a2f27;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.15;
}

.sidebar-panel p {
  color: var(--mv-muted);
  font-size: 14px;
  line-height: 1.45;
}

.popular-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.popular-list li {
  display: grid;
  grid-template-columns: 20px 50px 1fr;
  gap: 10px;
  align-items: center;
}

.popular-number {
  color: #8b6b2d;
  font-size: 18px;
  line-height: 1;
}

.popular-list img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.popular-list a {
  color: #2b2730;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.16;
}

.recent-post-list li {
  grid-template-columns: 50px 1fr;
}

.recent-post-list span {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.recent-post-list small {
  color: var(--mv-muted);
  font-size: 12px;
  line-height: 1.2;
}

.sidebar-wide-img {
  width: 100%;
  display: block;
  aspect-ratio: 700 / 467;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  background: #f7f2e8;
}

.related-topic-list {
  display: grid;
  gap: 8px;
}

.related-topic-list a {
  min-height: 38px;
  display: grid;
  grid-template-columns: 24px 1fr 20px;
  align-items: center;
  padding: 8px 10px;
  color: #3a2f27;
  border: 1px solid rgba(218, 185, 118, 0.25);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.6);
  font-size: 14px;
  font-weight: 700;
}

.related-topic-list span {
  color: var(--mv-gold);
}

.sacred-symbol-panel {
  text-align: center;
}

.sacred-symbol-icon {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  margin: 8px auto;
  color: var(--mv-gold);
  border: 2px solid rgba(185, 149, 82, 0.42);
  border-radius: 50%;
  font-size: 66px;
}

.sacred-symbol-image {
  width: 112px;
  height: 112px;
  display: block;
  margin: 8px auto;
  padding: 14px;
  object-fit: contain;
  border: 2px solid rgba(185, 149, 82, 0.42);
  border-radius: 50%;
}

.category-pagination {
  margin-top: 28px;
}

.category-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.category-pagination .page-numbers {
  min-width: 38px;
  height: 38px;
  display: inline-grid;
  place-items: center;
  color: #5b5148;
  border: 1px solid var(--mv-line);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.78);
  font-weight: 700;
}

.category-pagination .page-numbers.current {
  color: #fff;
  border-color: #b99345;
  background: #b99345;
}

.single-hero {
  min-height: 360px;
  display: flex;
  align-items: center;
  color: #fff7e7;
  border-bottom: 2px solid rgba(194, 154, 79, 0.65);
  background:
    linear-gradient(90deg, rgba(10, 16, 24, 0.96) 0%, rgba(10, 16, 24, 0.86) 48%, rgba(10, 16, 24, 0.28) 100%),
    var(--mv-single-hero) right center / cover no-repeat;
}

.single-hero h1 {
  max-width: 860px;
  margin: 0 0 14px;
  color: #fff7e7;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 62px;
  font-weight: 600;
  line-height: 1.02;
}

.single-hero p {
  max-width: 860px;
  margin: 10px 0 0;
  color: rgba(255, 248, 232, 0.88);
  font-size: 15px;
  line-height: 1.55;
}

.single-meta {
  color: rgba(255, 248, 232, 0.82);
  font-size: 13px;
}

.single-category-pill {
  padding: 4px 10px;
  color: #d8b978;
  border: 1px solid rgba(216, 185, 120, 0.34);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.single-number-badge {
  min-width: 42px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0 10px;
  color: #0d141d;
  border: 1px solid rgba(216, 185, 120, 0.55);
  border-radius: 4px;
  background: #d8b978;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.single-body-section {
  position: relative;
  z-index: 2;
  padding-top: 24px;
  padding-bottom: 28px;
}

.single-featured-image {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(72, 57, 31, 0.08);
}

.single-featured-image img {
  width: 100%;
  display: block;
  aspect-ratio: 700 / 467;
  height: auto;
  object-fit: contain;
  background: #f7f2e8;
}

.single-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  padding-top: 26px;
}

.single-content {
  min-width: 0;
  color: #2b2730;
  font-size: 16px;
  line-height: 1.78;
  overflow-wrap: anywhere;
}

.single-content p {
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.single-page,
.single-page .row,
.single-page article,
.single-content-grid {
  min-width: 0;
}

.single-content img,
.single-content iframe,
.single-content video,
.single-content embed,
.single-content object {
  width: auto;
  max-width: 100%;
  height: auto;
}

.single-content figure,
.single-content .wp-block-image,
.single-content .wp-caption,
.single-content .aligncenter,
.single-content .alignleft,
.single-content .alignright,
.single-content .alignwide,
.single-content .alignfull {
  max-width: 100%;
}

.single-content figure.aligncenter,
.single-content .wp-caption.aligncenter,
.single-content .wp-block-image.aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.single-content figure,
.single-content .wp-block-image,
.single-content .wp-caption {
  overflow: hidden;
}

.single-content .wp-caption-text,
.single-content figcaption {
  text-align: center;
}

.single-content .wp-caption img,
.single-content .wp-block-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.single-content pre {
  max-width: 100%;
  overflow-x: auto;
  white-space: pre-wrap;
}

.single-content code {
  white-space: break-spaces;
}

.single-content > p:first-child::first-letter {
  float: left;
  margin: 6px 9px 0 0;
  color: #9d7434;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 70px;
  line-height: 0.78;
}

.single-content h2,
.single-content h3 {
  margin: 28px 0 10px;
  color: #2b2730;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  line-height: 1.15;
}

.single-content h2 {
  font-size: 34px;
}

.single-content h3 {
  font-size: 27px;
}

.single-content ul,
.single-content ol {
  padding-left: 22px;
}

.single-content table {
  width: 100%;
  max-width: 100%;
  margin: 22px 0;
  border: 1px solid var(--mv-line);
  background: rgba(255, 253, 248, 0.72);
}

.single-content th,
.single-content td {
  padding: 10px 14px;
  border: 1px solid var(--mv-line);
}

.author-card {
  padding: 18px;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(79, 61, 30, 0.05);
}

.single-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--mv-muted);
  font-size: 13px;
}

.single-tags a {
  padding: 6px 12px;
  color: var(--mv-muted);
  border: 1px solid var(--mv-line);
  border-radius: 4px;
  background: rgba(255, 253, 248, 0.72);
}

.author-card {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 18px;
}

.author-card img {
  border-radius: 50%;
}

.author-card span {
  color: var(--mv-muted);
  font-size: 12px;
}

.author-card h2 {
  margin: 2px 0 4px;
  color: #2b2730;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 24px;
  font-weight: 600;
}

.author-card p {
  margin: 0;
  color: var(--mv-muted);
  font-size: 13px;
  line-height: 1.45;
}

.related-articles {
  margin-top: 24px;
}

.page-content-card {
  padding: 26px;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(79, 61, 30, 0.05);
}

.page-header {
  margin-bottom: 18px;
}

.page-featured-image {
  margin: 0 0 22px;
  overflow: hidden;
  border: 1px solid var(--mv-line);
  border-radius: 5px;
}

.page-featured-image img {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
}

.site-footer {
  margin-top: 24px;
  padding: 26px 0 10px;
  color: rgba(248, 240, 219, 0.82);
  border-top: 2px solid rgba(194, 154, 79, 0.72);
  background:
    linear-gradient(90deg, rgba(7, 13, 23, 0.78), rgba(7, 13, 23, 0.62) 58%, rgba(7, 13, 23, 0.25)),
    url("assets/images/footer-bg.png") center / cover no-repeat,
    linear-gradient(90deg, #0d141d 0%, #101824 48%, #0a1018 100%);
  box-shadow: inset 0 1px 0 rgba(255, 238, 190, 0.16);
}

.site-footer.has-custom-footer-bg {
  background:
    linear-gradient(90deg, rgba(7, 13, 23, 0.78), rgba(7, 13, 23, 0.62) 58%, rgba(7, 13, 23, 0.25)),
    var(--mv-footer-bg-image) center / cover no-repeat;
}

.footer-widget-grid {
  display: grid;
  gap: 24px;
}

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

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

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

.footer-widget-count-4 {
  grid-template-columns: 1.18fr 1fr 1fr 1.18fr;
}

.footer-widget-count-5 {
  grid-template-columns: 1.35fr 1fr 1fr 1fr 1.35fr;
}

.footer-widget-column {
  min-width: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(218, 185, 118, 0.14);
}

.footer-widget-column:first-child {
  padding-left: 0;
  border-left: 0;
}

.footer-brand {
  display: block;
  color: #d6b36f;
  font-size: 25px;
  letter-spacing: 0.12em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(214, 179, 111, 0.18);
}

.footer-copy,
.footer-links a,
.footer-widget,
.footer-widget p,
.footer-widget li,
.footer-widget a,
.moon-card p,
.copyright {
  color: rgba(248, 240, 219, 0.68);
  font-size: 13px;
  line-height: 1.55;
}

.footer-heading {
  color: #d8b978;
  font-size: 15px;
  font-weight: 800;
}

.footer-links a {
  display: block;
  margin-bottom: 3px;
}

.footer-widget {
  margin: 0;
}

.footer-widget ul,
.footer-widget ol {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.footer-widget li {
  margin-bottom: 3px;
}

.footer-widget img {
  height: auto;
}

.site-footer a {
  color: rgba(248, 240, 219, 0.76);
}

.site-footer a:hover {
  color: #e4c983;
}

.social-dot {
  width: 26px;
  height: 26px;
  display: inline-grid;
  place-items: center;
  margin-right: 8px;
  color: #d8b978;
  border: 1px solid rgba(216, 185, 120, 0.3);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-size: 12px;
}

.moon-card {
  min-height: 135px;
  padding-right: 115px;
}

.moon-card strong,
.moon-card .mini-link {
  color: #d8b978;
}

.copyright {
  padding-top: 8px;
  border-top: 1px solid rgba(218, 185, 118, 0.12);
}

@media (max-width: 991px) {
  .footer-widget-count-2,
  .footer-widget-count-3,
  .footer-widget-count-4,
  .footer-widget-count-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-widget-column:first-child {
    grid-column: 1 / -1;
    padding-left: 0;
    border-left: 0;
  }

  .footer-widget-column:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .navbar {
    min-height: auto;
    padding: 16px 0;
  }

  .navbar-nav {
    gap: 8px;
    margin-top: 14px;
  }

  .hero {
    min-height: 0;
  }

  .hero-title {
    font-size: 50px;
  }

  .category-hero {
    min-height: 260px;
  }

  .category-hero h1 {
    font-size: 52px;
  }

  .category-featured {
    grid-template-columns: 1fr;
  }

  .single-hero {
    min-height: 290px;
  }

  .single-hero h1 {
    font-size: 46px;
  }

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

  .single-featured-image,
  .single-content figure,
  .single-content .wp-block-image,
  .single-content .wp-caption {
    width: 100%;
    max-width: 100%;
  }

  .single-featured-image img,
  .single-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
  }

  .single-content table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .featured-body {
    padding: 0 4px 6px;
  }

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

@media (max-width: 575px) {
  .footer-widget-count-2,
  .footer-widget-count-3,
  .footer-widget-count-4,
  .footer-widget-count-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .footer-widget-column:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .brand-mark {
    width: 48px;
    height: 48px;
    font-size: 26px;
  }

  .brand-title {
    font-size: 25px;
  }

  .brand-subtitle {
    font-size: 14px;
  }

  .navbar {
    min-height: 68px;
  }

  .header-tool,
  .navbar-toggler {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
  }

  .header-tool {
    color: rgba(255, 248, 232, 0.96);
    border: 1px solid rgba(216, 185, 120, 0.36);
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.04);
  }

  .header-search-form {
    max-width: none;
    margin-left: 0;
    grid-template-columns: 22px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .header-search-form button {
    width: auto;
    padding: 0 12px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-copy {
    font-size: 16px;
  }

  .btn-mv-gold,
  .btn-mv-outline {
    min-height: 48px;
    padding: 0 14px;
  }

  .path-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .symbol-card {
    min-height: auto;
    display: grid !important;
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 12px;
    text-align: left;
  }

  .symbol-image-wrap,
  .symbol-icon {
    width: 70px;
    height: 70px;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .symbol-icon {
    font-size: 54px;
  }

  .symbol-card .card-title,
  .symbol-card p {
    grid-column: 2;
  }

  .symbol-card .card-title {
    align-self: end;
    font-size: 17px;
    line-height: 1.12;
  }

  .symbol-card p {
    align-self: start;
  }

  .category-hero h1 {
    font-size: 42px;
  }

  .single-hero h1 {
    font-size: 38px;
  }

  .category-hero p {
    font-size: 15px;
  }

  .author-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-title {
    font-size: 28px;
  }

  .category-topic-row {
    grid-template-columns: 1fr;
  }

  .archive-toolbar .section-title {
    font-size: 26px;
  }

  .category-pagination .nav-links {
    gap: 6px;
  }
}

@media (max-width: 389px) {
  .footer-widget-grid,
  .footer-widget-count-2,
  .footer-widget-count-3,
  .footer-widget-count-4,
  .footer-widget-count-5 {
    grid-template-columns: 1fr;
  }

  .footer-widget-column {
    padding-left: 0;
    border-left: 0;
  }
}
