/*
Theme Name: Bhagwat Eight
Theme URI: https://bhgwat.com/
Author: bhgwat.com
Author URI: https://bhgwat.com/
Description: A minimal, image-led editorial theme for Bhagwat Mahapuran stories, inspired by the approved Eight portfolio concept.
Version: 1.3.13
Requires at least: 6.2
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: bhgwat-eight
Tags: blog, news, photography, two-columns, custom-logo, custom-menu, featured-images, translation-ready, rtl-language-support
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root {
  --bh-ink: #17120d;
  --bh-muted: #766e66;
  --bh-line: rgba(64, 50, 36, .13);
  --bh-soft: #f6f4f0;
  --bh-yellow: #f4c542;
  --bh-saffron: #e56818;
  --bh-white: #fff;
  --bh-content: 760px;
  --bh-page: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bh-soft); }
body {
  margin: 0;
  overflow-x: hidden;
  color: var(--bh-ink);
  background: var(--bh-white);
  font-family: "Heebo", Arial, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open,
body.filters-open,
body.search-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible {
  outline: 2px solid var(--bh-saffron);
  outline-offset: 4px;
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.screen-reader-text:focus {
  top: 12px;
  left: 12px;
  z-index: 9999;
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip: auto;
  background: var(--bh-white);
  color: var(--bh-ink);
}

.site-page {
  min-height: 100vh;
  background: var(--bh-white);
  transition: opacity .35s ease, transform .55s cubic-bezier(.22, .7, .22, 1);
}
.bh-container { width: min(calc(100% - 60px), var(--bh-page)); margin-inline: auto; }
.bh-reading-width { width: min(calc(100% - 42px), var(--bh-content)); margin-inline: auto; }

.layout-guide {
  position: fixed;
  inset-block: 0;
  z-index: 20;
  width: 1px;
  background: var(--bh-line);
  pointer-events: none;
}
.layout-guide.g1 { left: calc(50% - 600px); }
.layout-guide.g2 { left: calc(50% - 300px); }
.layout-guide.g3 { left: 50%; }
.layout-guide.g4 { left: calc(50% + 300px); }
.layout-guide.g5 { left: calc(50% + 600px); }

.site-header {
  position: relative;
  z-index: 40;
  padding: 20px 0;
  background: #0f0d0b;
  color: var(--bh-white);
  transition: opacity .28s ease, transform .38s cubic-bezier(.22, .7, .22, 1), background .3s ease;
}
.header-spacer { display: none; }
body.header-floating .header-spacer { display: block; }
body.header-over-image:not(.header-floating) .site-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  background: transparent;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
body.header-over-image.header-floating .header-spacer { display: none; }
body.header-floating .site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 70;
  opacity: 0;
  transform: translateY(-105%);
  background: #0f0d0b;
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  box-shadow: 0 16px 36px rgba(0, 0, 0, .12);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  pointer-events: none;
}
body.header-floating .site-header { padding: 6px 0; }
body.header-floating .header-grid { min-height: 0; }
body.header-floating .custom-logo-link,
body.header-floating .brand-fallback { width: 46px; height: 52px; }
body.header-floating.header-scrolling .site-header,
body.header-floating.menu-open .site-header {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.header-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; }
.site-branding { justify-self: start; line-height: 0; }
.custom-logo-link,
.brand-fallback { display: block; width: 86px; height: 96px; transition: width .3s ease, height .3s ease; }
.custom-logo,
.brand-fallback img { width: 100%; height: 100%; object-fit: contain; }
.brand-fallback-text {
  display: grid;
  place-content: center;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  line-height: 1;
}

.primary-menu,
.primary-menu ul { margin: 0; padding: 0; list-style: none; }
.primary-menu { display: flex; justify-content: center; gap: 28px; }
.primary-menu li { position: relative; }
.primary-menu a,
.header-action,
.language-switcher a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 0;
  background: transparent;
  color: var(--bh-white);
  font-size: 14px;
  font-weight: 400;
  cursor: pointer;
}
.primary-menu > li > a::after,
.language-switcher > li > a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  background: var(--bh-saffron);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .3s ease;
}
.primary-menu > li:hover > a::after,
.primary-menu > .current-menu-item > a::after,
.primary-menu > .current-menu-ancestor > a::after,
.language-switcher > li:hover > a::after { transform: scaleX(1); transform-origin: left; }
.primary-menu .sub-menu {
  position: absolute;
  top: calc(100% + 5px);
  left: -22px;
  z-index: 50;
  min-width: 220px;
  padding: 14px 0;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-8px);
  background: #0f0d0b;
  box-shadow: 0 20px 45px rgba(33, 24, 15, .1);
  transition: .25s ease;
}
.primary-menu .sub-menu .sub-menu { top: 0; left: 100%; }
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { visibility: visible; opacity: 1; transform: none; }
.primary-menu .sub-menu a { min-height: 0; display: block; padding: 9px 22px; font-size: 12px; }
.primary-menu .sub-menu a:hover { color: var(--bh-saffron); }

.header-tools { justify-self: end; display: flex; align-items: center; gap: 20px; }
.header-action { gap: 8px; padding: 0; }
.header-action svg { width: 18px; height: 18px; }
.language-switcher { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.language-switcher a { font-size: 12px; }
.language-switcher img { display: none; }
.menu-toggle { display: none; width: 46px; height: 34px; padding: 0; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 46px; height: 1px; margin: 8px 0; background: var(--bh-white); transition: transform .3s ease, opacity .3s ease; }

.page-hero { padding: 85px 0 105px; text-align: center; }
.page-hero-inner { max-width: 720px; margin: auto; }
.page-kicker { display: block; margin-bottom: 18px; color: var(--bh-saffron); font-size: 11px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.page-title {
  margin: 0 0 28px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(56px, 7vw, 92px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
.page-intro { margin: 0; color: var(--bh-muted); font-size: 18px; line-height: 1.7; }
.page-intro p { margin: 0; }

.home-featured { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: end; overflow: hidden; background: var(--bh-ink); color: var(--bh-white); }
.home-featured-media { position: absolute; inset: 0; }
.home-featured-media::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18, 14, 10, .18) 0%, rgba(18, 14, 10, .04) 62%, transparent 100%), linear-gradient(0deg, rgba(18, 14, 10, .28) 0%, transparent 58%); content: ""; }
.home-featured-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.66) saturate(.94); }
.home-featured-content { position: relative; z-index: 1; padding-top: 90px; padding-bottom: 74px; }
.home-featured-kicker, .section-eyebrow { display: block; color: var(--bh-yellow); font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.home-featured h1 { max-width: 900px; margin: 15px 0 20px; font-family: "Playfair Display", Georgia, serif; font-size: 72px; font-weight: 400; line-height: 1.03; }
.home-featured h1 a { color: inherit; }
.home-featured-content > p { max-width: 590px; margin: 0 0 27px; color: rgba(255,255,255,.72); font-size: 16px; line-height: 1.7; }
.featured-read-link { display: inline-flex; gap: 15px; align-items: center; padding-bottom: 6px; border-bottom: 1px solid rgba(255,255,255,.58); color: var(--bh-white); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.featured-read-link span { color: var(--bh-yellow); font-size: 18px; transition: transform .25s ease; }.featured-read-link:hover span { transform: translateX(5px); }
.home-stories { padding: 104px 0 55px; }
.section-heading-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(260px, .65fr); gap: 70px; align-items: end; padding-bottom: 54px; }
.section-heading-row h2 { margin: 10px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: 54px; font-weight: 400; line-height: 1.05; }
.section-heading-row > p { max-width: 430px; margin: 0; color: var(--bh-muted); font-size: 14px; line-height: 1.75; }
.section-eyebrow { color: var(--bh-saffron); }

.filter-toolbar { min-height: 64px; display: flex; align-items: flex-start; }
.bh-button,
.filter-trigger,
.wp-element-button,
.wp-block-button__link,
input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--bh-ink);
  border-radius: 0;
  background: var(--bh-ink);
  color: var(--bh-white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
.bh-button:hover,
.filter-trigger:hover,
.wp-element-button:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover { border-color: var(--bh-saffron); background: var(--bh-saffron); color: var(--bh-white); }
.bh-button.is-outline { background: transparent; color: var(--bh-ink); }

.story-toolbar { min-height: 74px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.grid-switcher { display: inline-flex; border: 1px solid var(--bh-line); }
.grid-switch { min-height: 46px; display: inline-flex; gap: 9px; align-items: center; padding: 0 15px; border: 0; border-right: 1px solid var(--bh-line); background: transparent; color: var(--bh-muted); font: 500 10px/1 "Heebo", Arial, sans-serif; text-transform: uppercase; cursor: pointer; }
.grid-switch:last-child { border-right: 0; }.grid-switch.active { background: var(--bh-ink); color: var(--bh-white); }
.grid-glyph { width: 17px; height: 13px; display: grid; gap: 2px; }.grid-glyph-two { grid-template-columns: repeat(2, 1fr); }.grid-glyph-three { grid-template-columns: repeat(3, 1fr); }.grid-glyph i { display: block; border: 1px solid currentColor; }
.story-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 62px 60px; }
.story-grid[data-columns="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 28px; }
.story-card { min-width: 0; padding-bottom: 0; opacity: .22; transform: translateY(18px); transition: opacity .8s ease, transform .8s ease; }
.story-card.in-view { opacity: 1; transform: none; }
.story-card[hidden] { display: none; }
.story-image { position: relative; overflow: hidden; aspect-ratio: 1.23 / 1; background: var(--bh-saffron); }
.story-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .7s cubic-bezier(.22, .7, .22, 1); }
.story-placeholder { width: 100%; height: 100%; display: grid; place-items: center; padding: 30px; background: var(--bh-soft); color: var(--bh-muted); font-family: "Playfair Display", Georgia, serif; font-size: 30px; text-align: center; }
.story-arrow { position: absolute; top: 23px; left: -34px; z-index: 2; color: var(--bh-white); font-size: 34px; opacity: 0; transition: left .3s ease, opacity .3s ease; }
.story-caption { padding: 20px 20px 0; text-align: center; }
.story-caption h2 { margin: 0 0 10px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(24px, 2.2vw, 31px); font-weight: 400; line-height: 1.2; transition: color .3s ease; }
.story-meta { margin: 0; color: var(--bh-muted); font-size: 13px; }
.story-card:hover .story-image img { opacity: .24; transform: scale(1.015); }
.story-card:hover .story-arrow { left: 25px; opacity: 1; }
.story-card:hover h2 { color: var(--bh-saffron); }
.story-grid[data-columns="3"] .story-caption { padding-inline: 8px; }.story-grid[data-columns="3"] .story-caption h2 { font-size: 25px; }

.editorial-section { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: clamp(60px, 8vh, 100px) 0 clamp(70px, 9vh, 110px); background: var(--bh-soft); }
.editorial-section > .bh-container { width: min(calc(100% - 60px), var(--bh-page)); }
.editorial-section .section-heading-row { padding-bottom: clamp(32px, 5vh, 54px); }
.editorial-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 42px; }
.editorial-card { min-width: 0; }
.editorial-image { position: relative; aspect-ratio: 1 / 1.08; overflow: hidden; margin-bottom: 24px; background: var(--bh-ink); }
.editorial-image img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease, transform .65s ease; }
.editorial-image span { position: absolute; right: 20px; bottom: 14px; color: var(--bh-white); font-size: 29px; opacity: 0; transform: translateX(-8px); transition: opacity .3s ease, transform .3s ease; }
.editorial-card h3 { margin: 9px 0 13px; font-family: "Playfair Display", Georgia, serif; font-size: 29px; font-weight: 400; line-height: 1.2; }
.editorial-excerpt { margin: 0; color: var(--bh-muted); font-size: 14px; line-height: 1.7; }
.editorial-card:hover img { opacity: .48; transform: scale(1.018); }.editorial-card:hover .editorial-image span { opacity: 1; transform: none; }.editorial-card:hover h3 { color: var(--bh-saffron); }
.pathways-section { padding: 100px 0 0; }
.pathways-section > .section-heading-row { width: min(calc(100% - 60px), var(--bh-page)); margin-inline: auto; }
.pathways-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pathway-card { position: relative; min-height: 470px; overflow: hidden; background: var(--bh-ink); color: var(--bh-white); }
.pathway-card img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.56) saturate(.82); transition: filter .4s ease, transform .75s ease; }
.pathway-card > span { position: absolute; right: 40px; bottom: 38px; left: 40px; font-family: "Playfair Display", Georgia, serif; font-size: 42px; line-height: 1; }
.pathway-card small { display: block; margin-bottom: 13px; color: var(--bh-yellow); font-family: "Heebo", Arial, sans-serif; font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.pathway-card:hover img { filter: brightness(.42) saturate(.9); transform: scale(1.025); }

.filter-overlay,
.search-overlay { position: fixed; inset: 0; z-index: 100; visibility: hidden; opacity: 0; pointer-events: none; transition: opacity .35s ease, visibility .35s ease; }
.filter-overlay.is-open,
.search-overlay.is-open { visibility: visible; opacity: 1; pointer-events: auto; }
.filter-overlay { background: rgba(255, 255, 255, .88); }
.filter-panel { width: min(100%, 440px); height: 100%; display: grid; align-content: center; padding: 80px 60px; background: rgba(255, 255, 255, .97); transform: translateX(-45px); transition: transform .45s ease; }
.filter-overlay.is-open .filter-panel { transform: none; }
.overlay-close { position: absolute; top: 28px; right: 28px; width: 48px; height: 48px; border: 0; background: transparent; color: var(--bh-ink); font-size: 32px; font-weight: 300; cursor: pointer; }
.filter-list { margin: 0; padding: 0; list-style: none; }
.filter-list button { padding: 3px 0; border: 0; background: transparent; color: var(--bh-muted); font-size: clamp(32px, 4vw, 52px); font-weight: 300; line-height: 1.25; opacity: .45; cursor: pointer; transition: color .25s ease, opacity .25s ease, transform .25s ease; }
.filter-list button:hover,
.filter-list button.active { color: var(--bh-saffron); opacity: 1; transform: translateX(8px); }
body.filters-open .site-page { opacity: .5; transform: scale(.58) translateY(-13%); }
.search-overlay { display: grid; place-items: center; padding: 30px; background: rgba(23, 18, 13, .97); }
.search-overlay .overlay-close { color: var(--bh-white); }
.overlay-search-form { width: min(720px, 100%); display: flex; border-bottom: 1px solid rgba(255, 255, 255, .42); }
.overlay-search-form input { flex: 1; min-width: 0; padding: 18px 0; border: 0; outline: 0; background: transparent; color: var(--bh-white); font-family: "Playfair Display", Georgia, serif; font-size: clamp(28px, 5vw, 56px); }
.overlay-search-form input::placeholder { color: rgba(255, 255, 255, .45); }
.overlay-search-form button { border: 0; background: transparent; color: var(--bh-yellow); font-size: 34px; cursor: pointer; }

.single-header { padding: 80px 0 55px; text-align: center; }
.single-header .page-title { max-width: 980px; margin-inline: auto; font-size: clamp(48px, 6.5vw, 84px); }
.entry-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--bh-muted); font-size: 13px; }
.entry-meta a:hover { color: var(--bh-saffron); }
.single-featured { width: 100%; max-height: 82vh; overflow: hidden; margin: 0; background: var(--bh-soft); }
.single-featured img { width: 100%; max-height: 82vh; object-fit: cover; }
.reading-progress { position: fixed; top: 0; left: 0; z-index: 120; width: 0; height: 3px; background: var(--bh-saffron); }

.entry-layout { display: grid; grid-template-columns: minmax(0, 1fr) 240px; gap: 80px; padding: 85px 0; }
.entry-content { min-width: 0; font-family: "Playfair Display", Georgia, serif; font-size: 20px; line-height: 1.85; }
.entry-content > * { max-width: var(--bh-content); margin-right: auto; margin-left: auto; }
.entry-content > .alignwide { max-width: 1040px; }
.entry-content > .alignfull { width: 100vw; max-width: none; margin-left: calc(50% - 50vw); }
.entry-content p { margin-top: 0; margin-bottom: 1.55em; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { margin-top: 1.8em; margin-bottom: .7em; font-family: "Playfair Display", Georgia, serif; font-weight: 400; line-height: 1.2; }
.entry-content h2 { font-size: 42px; }.entry-content h3 { font-size: 32px; }.entry-content h4 { font-size: 25px; }
.entry-content a { color: var(--bh-saffron); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content blockquote { margin-top: 2em; margin-bottom: 2em; padding: 25px 0 25px 34px; border-left: 2px solid var(--bh-saffron); color: var(--bh-muted); font-size: 1.2em; font-style: italic; }
.entry-content blockquote p:last-child { margin-bottom: 0; }
.entry-content figure { margin-top: 2.2em; margin-bottom: 2.2em; }
.entry-content figcaption { margin-top: 10px; color: var(--bh-muted); font-family: "Heebo", Arial, sans-serif; font-size: 12px; text-align: center; }
.entry-content ul,
.entry-content ol { padding-left: 1.3em; }
.entry-content table { width: 100%; border-collapse: collapse; font-family: "Heebo", Arial, sans-serif; font-size: 15px; }
.entry-content th,
.entry-content td { padding: 14px; border: 1px solid var(--bh-line); text-align: left; }
.entry-content pre { overflow: auto; padding: 20px; background: var(--bh-soft); font-size: 14px; }
.entry-aside { border-left: 1px solid var(--bh-line); }
.entry-aside-inner { position: sticky; top: 32px; padding-left: 30px; }
.aside-label { display: block; margin-bottom: 14px; color: var(--bh-saffron); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.aside-categories,
.aside-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.aside-categories a,
.aside-tags a { padding: 5px 9px; border: 1px solid var(--bh-line); font-size: 11px; }
.aside-categories a:hover,
.aside-tags a:hover { border-color: var(--bh-saffron); color: var(--bh-saffron); }

.post-footer { padding: 0 0 70px; }
.post-navigation { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--bh-line); border-bottom: 1px solid var(--bh-line); }
.post-navigation a { min-height: 150px; display: grid; align-content: center; padding: 30px; }
.post-navigation .nav-next { border-left: 1px solid var(--bh-line); text-align: right; }
.post-navigation .nav-subtitle { color: var(--bh-muted); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; }
.post-navigation .nav-title { margin-top: 8px; font-family: "Playfair Display", Georgia, serif; font-size: 22px; line-height: 1.3; }
.post-navigation a:hover .nav-title { color: var(--bh-saffron); }

.related-stories { padding: 40px 0 90px; }
.section-title { margin: 0 0 40px; font-family: "Playfair Display", Georgia, serif; font-size: 42px; font-weight: 400; text-align: center; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.related-card .story-image { aspect-ratio: 4 / 3; }
.related-card h3 { margin: 14px 0 5px; font-family: "Playfair Display", Georgia, serif; font-size: 22px; font-weight: 400; line-height: 1.25; }
.related-card:hover h3 { color: var(--bh-saffron); }

.page-content-shell { padding: 0 0 90px; }
.page-featured { width: 100%; max-height: 72vh; overflow: hidden; margin: 0 0 75px; }
.page-featured img { width: 100%; max-height: 72vh; object-fit: cover; }
.standard-page-content { font-family: "Playfair Display", Georgia, serif; font-size: 19px; line-height: 1.85; }
.standard-page-content h2,
.standard-page-content h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 400; line-height: 1.25; }
.standard-page-content h2 { font-size: 42px; }.standard-page-content h3 { font-size: 31px; }

.pagination { display: flex; justify-content: center; gap: 4px; padding: 25px 0 90px; }
.pagination .page-numbers { min-width: 45px; height: 45px; display: grid; place-items: center; border: 1px solid var(--bh-line); font-size: 13px; }
.pagination .current,
.pagination a:hover { border-color: var(--bh-ink); background: var(--bh-ink); color: var(--bh-white); }

.comments-area { padding: 60px 0 90px; border-top: 1px solid var(--bh-line); }
.comments-title,
.comment-reply-title { font-family: "Playfair Display", Georgia, serif; font-size: 36px; font-weight: 400; }
.comment-list { padding: 0; list-style: none; }
.comment-list .children { list-style: none; }
.comment-body { margin-bottom: 20px; padding: 24px; background: var(--bh-soft); }
.comment-meta { font-size: 13px; }.comment-content { margin-top: 16px; }
.comment-form label { display: block; margin-bottom: 6px; font-size: 12px; font-weight: 500; }
.comment-form input:not([type="submit"]),
.comment-form textarea,
.search-form-page input { width: 100%; padding: 14px; border: 1px solid var(--bh-line); border-radius: 0; background: var(--bh-white); }
.comment-form textarea { min-height: 160px; }

.empty-state { max-width: 640px; margin: 0 auto; padding: 40px 0 110px; text-align: center; }
.empty-state p { color: var(--bh-muted); }
.search-form-page { display: flex; gap: 10px; margin-top: 30px; }
.search-form-page label { flex: 1; }
.not-found-hero { min-height: 62vh; display: grid; place-items: center; text-align: center; }
.not-found-code { display: block; color: var(--bh-saffron); font-family: "Playfair Display", Georgia, serif; font-size: 110px; line-height: 1; }

.inner-image-hero { position: relative; min-height: 590px; display: grid; align-items: end; overflow: hidden; background: var(--bh-ink); color: var(--bh-white); }
.inner-image-hero-media { position: absolute; inset: 0; }.inner-image-hero-media::after { position: absolute; inset: 0; background: rgba(15,13,11,.42); content: ""; }
.inner-image-hero-media img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.68) saturate(.82); }
.inner-image-hero-content { position: relative; z-index: 1; padding-top: 100px; padding-bottom: 70px; }
.inner-image-hero-content > span { color: var(--bh-yellow); font-size: 10px; font-weight: 500; letter-spacing: .15em; text-transform: uppercase; }
.inner-image-hero-content h1 { max-width: 900px; margin: 14px 0 18px; font-family: "Playfair Display", Georgia, serif; font-size: 74px; font-weight: 400; line-height: 1; }
.inner-image-hero-content p { max-width: 600px; margin: 0; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.65; }
.about-opening, .contact-intro { padding: 104px 0; }
.about-opening-grid, .contact-intro-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr); gap: 100px; }
.about-opening h2, .contact-intro h2 { max-width: 680px; margin: 14px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: 52px; font-weight: 400; line-height: 1.1; }
.about-copy p, .contact-intro-grid > p { margin: 0; color: var(--bh-muted); font-size: 16px; line-height: 1.85; }.about-copy p + p { margin-top: 22px; }
.about-wide-image { width: 100%; height: 100vh; height: 100svh; margin: 0; overflow: hidden; }.about-wide-image img { width: 100%; height: 100%; object-fit: cover; }
.about-principles { padding: 104px 0 116px; }
.principles-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--bh-line); border-bottom: 1px solid var(--bh-line); }
.principles-grid > div { min-height: 270px; padding: 34px 38px 38px 0; border-right: 1px solid var(--bh-line); }.principles-grid > div + div { padding-left: 38px; }.principles-grid > div:last-child { padding-right: 0; border-right: 0; }
.principles-grid span { color: var(--bh-saffron); font-size: 11px; }.principles-grid h3 { margin: 50px 0 14px; font-family: "Playfair Display", Georgia, serif; font-size: 29px; font-weight: 400; }.principles-grid p { margin: 0; color: var(--bh-muted); font-size: 14px; line-height: 1.75; }
.about-editor-content { max-width: var(--bh-content); margin: 90px auto 0; }
.contact-intro { border-bottom: 1px solid var(--bh-line); }.contact-intro-grid { align-items: end; }.contact-intro-grid > p { max-width: 480px; }
.contact-main { padding: 100px 0 120px; }.contact-main-grid { display: grid; grid-template-columns: minmax(240px, .7fr) minmax(0, 1.3fr); gap: 100px; }
.contact-details { border-top: 1px solid var(--bh-ink); }.contact-details > div { padding: 25px 0; border-bottom: 1px solid var(--bh-line); }.contact-details span { display: block; margin-bottom: 8px; color: var(--bh-saffron); font-size: 10px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }.contact-details a, .contact-details p { margin: 0; color: var(--bh-ink); font-family: "Playfair Display", Georgia, serif; font-size: 22px; }
.contact-form-area { min-width: 0; }.contact-form-area > :first-child { margin-top: 0; }.contact-form-area label { display: block; color: var(--bh-muted); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.contact-form-area input:not([type="submit"]), .contact-form-area textarea, .contact-form-area select { width: 100%; min-height: 52px; margin-top: 8px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--bh-line); border-radius: 0; outline: 0; background: transparent; color: var(--bh-ink); font: 400 18px/1.4 "Playfair Display", Georgia, serif; }.contact-form-area textarea { min-height: 150px; resize: vertical; }.contact-form-area input:focus, .contact-form-area textarea:focus { border-color: var(--bh-saffron); }.contact-form-area p { margin: 0 0 28px; }

.site-footer { position: relative; overflow: hidden; padding: 84px 0 0; background: var(--bh-ink); color: var(--bh-white); }
.footer-lead { display: grid; grid-template-columns: 116px minmax(0, 1fr) minmax(240px, 340px); gap: 36px; align-items: center; padding-bottom: 72px; }
.footer-emblem { width: 96px; height: 112px; display: block; }
.footer-emblem img { width: 100%; height: 100%; object-fit: contain; }
.footer-eyebrow, .footer-label { display: block; color: var(--bh-yellow); font-size: 10px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; }
.footer-statement h2 { max-width: 700px; margin: 12px 0 0; font-family: "Playfair Display", Georgia, serif; font-size: 54px; font-weight: 400; line-height: 1.04; }
.footer-intro { margin: 0; color: rgba(255,255,255,.56); font-size: 15px; line-height: 1.75; }
.footer-directory { display: grid; grid-template-columns: 1.15fr 1fr .85fr 1.5fr; border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.footer-group { min-height: 214px; padding: 34px 28px 34px 0; border-right: 1px solid rgba(255,255,255,.15); }
.footer-group + .footer-group { padding-left: 28px; }
.footer-group:last-child { padding-right: 0; border-right: 0; }
.footer-group ul { margin: 20px 0 0; padding: 0; list-style: none; }
.footer-group li + li { margin-top: 7px; }
.footer-group a { color: rgba(255,255,255,.78); font-size: 14px; }
.footer-group a:hover { color: var(--bh-yellow); }
.footer-widget, .footer-widget p { margin: 20px 0 0; }
.footer-widget-title { display: none; }
.footer-languages { display: grid; gap: 7px; }
.footer-email { display: inline-flex; gap: 8px; align-items: center; margin-top: 20px; color: var(--bh-white) !important; font-family: "Playfair Display", Georgia, serif; font-size: 22px !important; }
.footer-email span { color: var(--bh-yellow); font-family: "Heebo", Arial, sans-serif; font-size: 15px; }
.footer-contact p { max-width: 290px; margin: 18px 0 0; color: rgba(255,255,255,.48); font-size: 13px; line-height: 1.7; }
.footer-wordmark { width: min(1200px, calc(100% - 60px)); margin: 18px auto -16px; overflow: hidden; color: rgba(255,255,255,.06); font-family: "Playfair Display", Georgia, serif; font-size: 146px; line-height: .95; text-align: center; white-space: nowrap; }
.footer-utility { min-height: 74px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; border-top: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.42); font-size: 11px; }
.footer-utility p { margin: 0; }
.footer-devanagari { color: rgba(255,255,255,.64); letter-spacing: .08em; }
.footer-back-top { width: 36px; height: 36px; display: grid; place-items: center; justify-self: end; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--bh-white); font-size: 15px; }
.footer-back-top:hover { border-color: var(--bh-yellow); color: var(--bh-yellow); }

.books-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 50px 0; background: var(--bh-line); border: 1px solid var(--bh-line); }
.book-item { min-height: 210px; display: grid; align-content: end; padding: 28px; background: var(--bh-white); }
.book-item span { color: var(--bh-saffron); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }
.book-item h3 { margin: 10px 0 0; font-size: 25px; }

@media (max-width: 1240px) {
  .layout-guide.g1, .layout-guide.g5 { display: none; }
  .layout-guide.g2 { left: 25%; }.layout-guide.g4 { left: 75%; }
}
@media (min-width: 981px) {
  .editorial-image { height: clamp(235px, 34vh, 360px); aspect-ratio: auto; }
}
@media (max-width: 980px) {
  body.header-over-image:not(.header-floating) .site-header {
    position: relative;
    background: #0f0d0b;
    border-bottom-color: rgba(255, 255, 255, .1);
  }
  body.header-over-image.header-floating .header-spacer { display: block; }
  body.header-floating .site-header {
    background: #0f0d0b;
    border-bottom-color: rgba(255, 255, 255, .1);
    box-shadow: 0 8px 22px rgba(0, 0, 0, .16);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .site-header { padding: 12px 0; }
  .header-grid { position: relative; min-height: 90px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; text-align: center; }
  .site-branding { grid-column: 1; justify-self: start; display: block; }
  .custom-logo-link, .brand-fallback { width: 82px; height: 90px; }
  .menu-toggle { position: absolute; top: 50%; left: 50%; z-index: 82; width: 36px; height: 28px; display: block; margin: 0; transform: translate(-50%, -50%); }
  .menu-toggle span { width: 36px; margin: 6px 0; }
  .primary-menu { position: fixed; inset: 0; z-index: 80; flex-direction: column; align-items: center; justify-content: center; gap: 2px; padding: 100px 30px 60px; overflow: auto; background: var(--bh-ink); visibility: hidden; opacity: 0; transform: translateY(-18px); transition: opacity .3s ease, transform .3s ease, visibility .3s ease; }
  .primary-menu.is-open { visibility: visible; opacity: 1; transform: none; }
  .primary-menu a { color: var(--bh-white); font-family: "Playfair Display", Georgia, serif; font-size: 30px; }
  .primary-menu .sub-menu { position: static; display: none; min-width: 0; padding: 0; background: transparent; box-shadow: none; visibility: visible; opacity: 1; transform: none; }
  .primary-menu .menu-item-has-children.is-expanded > .sub-menu { display: block; }
  .primary-menu .sub-menu a { color: rgba(255,255,255,.65); font-family: "Heebo", Arial, sans-serif; font-size: 14px; text-align: center; }
  .header-tools { position: absolute; top: 50%; right: 0; transform: translateY(-50%); }
  .language-switcher, .header-action span { display: none; }
  .menu-toggle.is-open { position: fixed; top: 34px; left: 50%; z-index: 90; margin: 0; transform: translateX(-50%); }
  .menu-toggle.is-open span { background: var(--bh-white); }.menu-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }.menu-toggle.is-open span:nth-child(2) { opacity: 0; }.menu-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .entry-layout { grid-template-columns: 1fr; gap: 40px; padding-top: 60px; }
  .entry-aside { border-top: 1px solid var(--bh-line); border-left: 0; }.entry-aside-inner { position: static; padding: 28px 0 0; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
  .home-featured h1 { font-size: 58px; }.section-heading-row { gap: 40px; }.section-heading-row h2 { font-size: 48px; }
  .story-grid[data-columns="3"] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px 40px; }
  .editorial-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.editorial-card:last-child { grid-column: 1 / -1; max-width: calc(50% - 21px); }
  .pathway-card { min-height: 390px; }.pathway-card > span { right: 25px; bottom: 28px; left: 25px; font-size: 34px; }
  .about-opening-grid, .contact-intro-grid, .contact-main-grid { gap: 50px; }.about-opening h2, .contact-intro h2 { font-size: 46px; }.principles-grid { grid-template-columns: 1fr 1fr; }.principles-grid > div:nth-child(2) { border-right: 0; }.principles-grid > div:last-child { grid-column: 1 / -1; padding-left: 0; border-top: 1px solid var(--bh-line); }
  .footer-lead { grid-template-columns: 92px 1fr; }.footer-emblem { width: 78px; height: 94px; }.footer-intro { grid-column: 2; max-width: 560px; }.footer-statement h2 { font-size: 46px; }
  .footer-directory { grid-template-columns: repeat(2, 1fr); }.footer-group:nth-child(2) { border-right: 0; }.footer-group:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.15); }.footer-group:nth-child(3) { padding-left: 0; }.footer-wordmark { font-size: 110px; }
  .books-showcase { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .bh-container { width: calc(100% - 36px); }.layout-guide.g2 { left: 18px; }.layout-guide.g4 { right: 18px; left: auto; }
  .page-hero { padding: 52px 12px 70px; }.page-title { font-size: 55px; }.page-intro { font-size: 16px; }
  .filter-toolbar { min-height: 58px; }.filter-trigger { min-height: 44px; min-width: 100px; }
  .home-featured { min-height: max(610px, 100svh); }.home-featured-content { padding-bottom: 48px; }.home-featured h1 { font-size: 43px; line-height: 1.06; }.home-featured-content > p { font-size: 14px; }.home-stories, .editorial-section, .pathways-section { padding-top: 72px; }.editorial-section > .bh-container { width: calc(100% - 36px); }.section-heading-row { display: block; padding-bottom: 38px; }.section-heading-row h2 { font-size: 42px; }.section-heading-row > p { margin-top: 20px; }.story-toolbar { min-height: 66px; }.grid-switcher { display: none; }
  .story-grid, .story-grid[data-columns="3"] { grid-template-columns: 1fr; gap: 44px; }.story-card:nth-child(n) { padding: 0; }.story-image { aspect-ratio: 1.12 / 1; }.story-caption { padding: 15px 8px 0; }.story-caption h2, .story-grid[data-columns="3"] .story-caption h2 { font-size: 26px; }.story-card:hover .story-image img { opacity: 1; transform: none; }.story-arrow { display: none; }
  .editorial-grid { grid-template-columns: 1fr; gap: 46px; }.editorial-card:last-child { grid-column: auto; max-width: none; }.editorial-image { aspect-ratio: 1.18 / 1; }.pathways-grid { grid-template-columns: 1fr; }.pathway-card { min-height: 360px; }
  .inner-image-hero { min-height: 520px; }.inner-image-hero-content { padding-bottom: 48px; }.inner-image-hero-content h1 { font-size: 50px; }.inner-image-hero-content p { font-size: 15px; }.about-opening, .contact-intro { padding: 72px 0; }.about-opening-grid, .contact-intro-grid, .contact-main-grid { grid-template-columns: 1fr; gap: 35px; }.about-opening h2, .contact-intro h2 { font-size: 40px; }.about-wide-image { height: 100vh; height: 100svh; }.about-principles, .contact-main { padding: 72px 0 80px; }.principles-grid { grid-template-columns: 1fr; }.principles-grid > div, .principles-grid > div + div, .principles-grid > div:last-child { min-height: 0; padding: 28px 0 32px; border-right: 0; border-bottom: 1px solid var(--bh-line); }.principles-grid > div:last-child { grid-column: auto; border-top: 0; border-bottom: 0; }.principles-grid h3 { margin-top: 28px; }.contact-details a, .contact-details p { font-size: 20px; }
  .filter-panel { width: 100%; padding: 80px 38px; text-align: center; }.filter-list button { font-size: 38px; }body.filters-open .site-page { transform: scale(.72); }
  .single-header { padding: 48px 0 38px; }.single-header .page-title { font-size: 48px; }.entry-meta { font-size: 12px; }.single-featured img { min-height: 270px; }
  .entry-layout { padding: 48px 0; }.entry-content { font-size: 18px; line-height: 1.75; }.entry-content h2 { font-size: 34px; }.entry-content h3 { font-size: 28px; }
  .post-navigation { grid-template-columns: 1fr; }.post-navigation .nav-next { border-top: 1px solid var(--bh-line); border-left: 0; }.post-navigation a { min-height: 120px; }
  .related-grid { grid-template-columns: 1fr; }.related-stories { padding-bottom: 60px; }.section-title { font-size: 36px; }
  .site-footer { padding-top: 58px; }.footer-lead { display: block; padding-bottom: 48px; }.footer-emblem { width: 74px; height: 88px; margin-bottom: 28px; }.footer-statement h2 { font-size: 42px; line-height: 1.08; }.footer-intro { max-width: 100%; margin-top: 24px; overflow-wrap: anywhere; }
  .footer-directory { grid-template-columns: 1fr; }.footer-group, .footer-group + .footer-group, .footer-group:nth-child(2), .footer-group:nth-child(3), .footer-group:nth-child(4) { min-height: 0; padding: 27px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }.footer-group:last-child { border-bottom: 0; }.footer-group ul, .footer-languages { display: flex; flex-wrap: wrap; gap: 8px 22px; }.footer-group li + li { margin-top: 0; }.footer-email { font-size: 20px !important; overflow-wrap: anywhere; }.footer-contact p { display: none; }.footer-wordmark { width: calc(100% - 36px); margin-top: 24px; font-size: 62px; }.footer-utility { min-height: 110px; grid-template-columns: 1fr auto; gap: 10px; }.footer-devanagari { grid-row: 2; }.footer-back-top { grid-column: 2; grid-row: 1 / span 2; }
  .books-showcase { grid-template-columns: 1fr; }.search-form-page { display: grid; }
}
html[lang^="hi"] body,
body.language-hi {
  font-family: "Noto Sans Devanagari", "Heebo", Arial, sans-serif;
  font-weight: 400;
}
html[lang^="hi"] h1,
html[lang^="hi"] h2,
html[lang^="hi"] h3,
html[lang^="hi"] h4,
html[lang^="hi"] .page-title,
html[lang^="hi"] .footer-statement h2,
body.language-hi h1,
body.language-hi h2,
body.language-hi h3,
body.language-hi h4,
body.language-hi .page-title,
body.language-hi .footer-statement h2 {
  font-family: "Noto Serif Devanagari", "Noto Sans Devanagari", Georgia, serif;
  font-weight: 500;
  line-height: 1.18;
}
html[lang^="hi"] .home-featured h1,
body.language-hi .home-featured h1 { font-weight: 500; line-height: 1.18; }
html[lang^="hi"] .primary-menu a,
html[lang^="hi"] .header-action,
html[lang^="hi"] .language-switcher a,
body.language-hi .primary-menu a,
body.language-hi .header-action,
body.language-hi .language-switcher a {
  font-family: "Noto Sans Devanagari", "Heebo", Arial, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
html[lang^="hi"] .language-switcher a,
body.language-hi .language-switcher a { font-size: 14px; }
html[lang^="hi"] .story-meta,
html[lang^="hi"] .page-kicker,
html[lang^="hi"] .section-eyebrow,
body.language-hi .story-meta,
body.language-hi .page-kicker,
body.language-hi .section-eyebrow { font-family: "Noto Sans Devanagari", "Heebo", Arial, sans-serif; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
