/**
* Template Name: Story
* Template URL: https://bootstrapmade.com/story-bootstrap-blog-template/
* Updated: Aug 11 2025 with Bootstrap v5.3.7
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

@charset "UTF-8";

/*--------------------------------------------------------------
# Font & Color Variables
# Help: https://bootstrapmade.com/color-system/
--------------------------------------------------------------*/
/* Fonts */
:root {
  --default-font: "Roboto",  system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --heading-font: "Montserrat",  sans-serif;
  --nav-font: "Raleway",  sans-serif;
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root { 
  --background-color: #ffffff; /* Background color for the entire website, including individual sections */
  --default-color: #212529; /* Default color used for the majority of the text content across the entire website */
  --heading-color: #2d465e; /* Color for headings, subheadings and title throughout the website */
  --accent-color: #2986cc; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
  --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
  --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
  --nav-color: #000000;  /* The default color of the main navmenu links */
  --nav-hover-color: #2986cc; /* Applied to main navmenu links when they are hovered over or active */
  --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
  --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
  --nav-dropdown-color: #212529; /* Used for navigation links of the dropdown items in the navigation menu. */
  --nav-dropdown-hover-color: #2986cc; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */

.light-background {
  --background-color: #f0f1f2;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
  scroll-behavior: smooth;
}

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

/* PHP Email Form Messages
------------------------------*/
.php-email-form .error-message {
  display: none;
  background: #df1529;
  color: #ffffff;
  text-align: left;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .sent-message {
  display: none;
  color: #ffffff;
  background: #059652;
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
  font-weight: 600;
}

.php-email-form .loading {
  display: none;
  background: var(--surface-color);
  text-align: center;
  padding: 15px;
  margin-bottom: 24px;
}

.php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid var(--accent-color);
  border-top-color: var(--surface-color);
  animation: php-email-form-loading 1s linear infinite;
}

@keyframes php-email-form-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 15px 0;
  transition: all 0.5s;
  z-index: 997;
}

.header .logo {
  line-height: 1;
}

.header .logo img {
  max-height: 36px;
  margin-right: 8px;
}

.header .logo h1 {
  font-size: 30px;
  margin: 0;
  font-weight: 700;
  color: var(--heading-color);
}

.header .header-social-links {
  padding-right: 15px;
}

.header .header-social-links a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding-left: 6px;
  display: inline-block;
  transition: 0.3s;
  font-size: 16px;
}

.header .header-social-links a:hover {
  color: var(--accent-color);
}

.header .header-social-links a i {
  line-height: 0px;
}

@media (max-width: 1200px) {
  .header .logo {
    order: 1;
  }

  .header .header-social-links {
    order: 2;
  }

  .header .navmenu {
    order: 3;
  }
}

.scrolled .header {
  box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Navmenu - Desktop */
@media (min-width: 1200px) {
  .navmenu {
    padding: 0;
  }

  .navmenu ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
  }

  .navmenu li {
    position: relative;
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-color);
    padding: 18px 15px;
    font-size: 16px;
    font-family: var(--nav-font);
    font-weight: 400;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    transition: 0.3s;
  }

  .navmenu li:last-child a {
    padding-right: 0;
  }

  .navmenu li:hover>a,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-hover-color);
  }

  .navmenu .dropdown ul {
    margin: 0;
    padding: 10px 0;
    background: var(--nav-dropdown-background-color);
    display: block;
    position: absolute;
    visibility: hidden;
    left: 14px;
    top: 130%;
    opacity: 0;
    transition: 0.3s;
    border-radius: 4px;
    z-index: 99;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu .dropdown ul li {
    min-width: 200px;
  }

  .navmenu .dropdown ul a {
    padding: 10px 20px;
    font-size: 15px;
    text-transform: none;
    color: var(--nav-dropdown-color);
  }

  .navmenu .dropdown ul a i {
    font-size: 12px;
  }

  .navmenu .dropdown ul a:hover,
  .navmenu .dropdown ul .active:hover,
  .navmenu .dropdown ul li:hover>a {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
  }

  .navmenu .dropdown .dropdown ul {
    top: 0;
    left: -90%;
    visibility: hidden;
  }

  .navmenu .dropdown .dropdown:hover>ul {
    opacity: 1;
    top: 0;
    left: -100%;
    visibility: visible;
  }
}

/* Navmenu - Mobile */
@media (max-width: 1199px) {
  .mobile-nav-toggle {
    background-color: color-mix(in srgb, var(--default-color) 10%, white 15%);
    color: var(--nav-color);
    font-size: 24px;
    line-height: 0;
    margin-right: 10px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: color 0.2s;
  }

  .mobile-nav-toggle:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu {
    padding: 0;
    z-index: 9997;
  }

  .navmenu ul {
    display: none;
    list-style: none;
    position: absolute;
    inset: 60px 20px 20px 20px;
    padding: 10px 0;
    margin: 0;
    border-radius: 6px;
    background-color: var(--nav-mobile-background-color);
    overflow-y: auto;
    transition: 0.3s;
    z-index: 9998;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
  }

  .navmenu a,
  .navmenu a:focus {
    color: var(--nav-dropdown-color);
    padding: 10px 20px;
    font-family: var(--nav-font);
    font-size: 17px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    white-space: nowrap;
    transition: 0.3s;
  }

  .navmenu a i,
  .navmenu a:focus i {
    font-size: 12px;
    line-height: 0;
    margin-left: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: 0.3s;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  }

  .navmenu a i:hover,
  .navmenu a:focus i:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
  }

  .navmenu a:hover,
  .navmenu .active,
  .navmenu .active:focus {
    color: var(--nav-dropdown-hover-color);
  }

  .navmenu .active i,
  .navmenu .active:focus i {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    transform: rotate(180deg);
  }

  .navmenu .dropdown ul {
    position: static;
    display: none;
    z-index: 99;
    padding: 10px 0;
    margin: 10px 20px;
    background-color: var(--nav-dropdown-background-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    box-shadow: none;
    transition: all 0.5s ease-in-out;
  }

  .navmenu .dropdown ul ul {
    background-color: rgba(33, 37, 41, 0.1);
  }

  .navmenu .dropdown>.dropdown-active {
    display: block;
    background-color: rgba(33, 37, 41, 0.03);
  }

  .mobile-nav-active {
    overflow: hidden;
  }

  .mobile-nav-active .mobile-nav-toggle {
    color: #fff;
    position: absolute;
    font-size: 32px;
    top: 15px;
    right: 15px;
    margin-right: 0;
    z-index: 9999;
  }

  .mobile-nav-active .navmenu {
    position: fixed;
    overflow: hidden;
    inset: 0;
    background: rgba(33, 37, 41, 0.8);
    transition: 0.3s;
  }

  .mobile-nav-active .navmenu>ul {
    display: block;
  }
}

/*--------------------------------------------------------------
# Global Footer
--------------------------------------------------------------*/
.footer {
  color: var(--default-color);
  background: var(--background-color);
  font-size: 15px;
  padding: 80px 0 0;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-brand h1,
.footer .footer-brand .logo {
  margin: 0;
  line-height: 1;
  font-weight: 300;
}

.footer .footer-brand h1 .sitename,
.footer .footer-brand .logo .sitename {
  font-family: var(--heading-font);
  font-size: 26px;
  letter-spacing: 0.8px;
  color: var(--heading-color);
}

.footer .footer-brand .tagline {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
  margin: 12px 0 0;
}

.footer .social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer .social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background-color: transparent;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

.footer .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
  border-color: var(--accent-color);
}

.footer .social-links a i {
  font-size: 16px;
}

.footer .footer-links-grid h5 {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 20px;
  font-family: var(--heading-font);
  letter-spacing: 0.5px;
}

.footer .footer-links-grid ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer .footer-links-grid ul li {
  margin-bottom: 12px;
}

.footer .footer-links-grid ul li a {
  color: color-mix(in srgb, var(--default-color), transparent 25%);
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 10px;
}

.footer .footer-links-grid ul li a::before {
  content: "→";
  position: absolute;
  left: 0;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--accent-color);
}

.footer .footer-links-grid ul li a:hover {
  color: var(--accent-color);
  padding-left: 16px;
}

.footer .footer-links-grid ul li a:hover::before {
  opacity: 1;
}

.footer .footer-cta h5 {
  color: var(--heading-color);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 18px;
  font-family: var(--heading-font);
}

.footer .footer-cta .btn-outline {
  background: transparent;
  color: var(--heading-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 70%);
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  border-radius: 4px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.footer .footer-cta .btn-outline:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
}

.footer .footer-bottom {
  margin-top: 60px;
  padding: 25px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.footer .footer-bottom .footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .footer .footer-bottom .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.footer .footer-bottom .footer-bottom-content p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 300;
}

.footer .footer-bottom .footer-bottom-content p .sitename {
  color: var(--heading-color);
  font-weight: 500;
}

.footer .footer-bottom .footer-bottom-content .credits {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.footer .footer-bottom .footer-bottom-content .credits a {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 400;
}

.footer .footer-bottom .footer-bottom-content .credits a:hover {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .footer .footer-links-grid {
    margin-bottom: 30px;
  }

  .footer .footer-cta {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 0 0;
  }

  .footer .row {
    text-align: center;
  }

  .footer .footer-brand,
  .footer .footer-links-grid,
  .footer .footer-cta {
    margin-bottom: 40px;
  }

  .footer .footer-links-grid .col-6 {
    margin-bottom: 30px;
  }

  .footer .footer-links-grid h5 {
    text-align: left;
  }

  .footer .footer-links-grid ul {
    text-align: left;
    display: inline-block;
  }
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  overflow: hidden;
  background: var(--background-color);
  transition: all 0.6s ease-out;
}

#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #ffffff;
  border-color: var(--accent-color) transparent var(--accent-color) transparent;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: animate-preloader 1.5s linear infinite;
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: -15px;
  z-index: 99999;
  background-color: var(--accent-color);
  width: 44px;
  height: 44px;
  border-radius: 50px;
  transition: all 0.4s;
}

.scroll-top i {
  font-size: 24px;
  color: var(--contrast-color);
  line-height: 0;
}

.scroll-top:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  color: var(--contrast-color);
}

.scroll-top.active {
  visibility: visible;
  opacity: 1;
  bottom: 15px;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
  color: var(--default-color);
  background-color: var(--background-color);
  position: relative;
}

.page-title .heading {
  padding: 80px 0;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.page-title .heading h1 {
  font-size: 38px;
  font-weight: 700;
}

.page-title nav {
  background-color: color-mix(in srgb, var(--default-color), transparent 96%);
  padding: 20px 0;
}

.page-title nav ol {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-weight: 400;
}

.page-title nav ol li+li {
  padding-left: 10px;
}

.page-title nav ol li+li::before {
  content: "/";
  display: inline-block;
  padding-right: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  padding: 60px 0;
  scroll-margin-top: 90px;
  overflow: clip;
}

@media (max-width: 1199px) {

  section,
  .section {
    scroll-margin-top: 66px;
  }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
  text-align: center;
  padding: 30px 0;
  margin-bottom: 30px;
  position: relative;
}

.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding-bottom: 0;
  position: relative;
  z-index: 2;
}

.section-title span {
  position: absolute;
  top: 4px;
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  left: 0;
  right: 0;
  z-index: 1;
  font-weight: 700;
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}

@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

  .section-title span {
    font-size: 38px;
  }
}

/*--------------------------------------------------------------
# Blog Hero Section
--------------------------------------------------------------*/
.blog-hero {
  padding: 0;
}

.blog-hero .blog-hero-slider {
  position: relative;
  overflow: hidden;
}

.blog-hero .blog-hero-item {
  position: relative;
  height: 80vh;
  min-height: 600px;
}

.blog-hero .blog-hero-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-hero .blog-hero-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
}

.blog-hero .blog-hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  padding: 60px;
  color: var(--contrast-color);
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.blog-hero .blog-hero-content .category {
  display: inline-block;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  padding: 6px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-hero .blog-hero-content h1 {
  color: var(--contrast-color);
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
}

@media (max-width: 991px) {
  .blog-hero .blog-hero-content h1 {
    font-size: 36px;
  }
}

@media (max-width: 767px) {
  .blog-hero .blog-hero-content h1 {
    font-size: 28px;
  }
}

.blog-hero .blog-hero-content .meta {
  margin-bottom: 30px;
  font-size: 14px;
}

.blog-hero .blog-hero-content .meta span {
  display: inline-block;
  margin-right: 20px;
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

.blog-hero .blog-hero-content .meta span:last-child {
  margin-right: 0;
}

.blog-hero .blog-hero-content .meta span a {
  color: var(--contrast-color);
  font-weight: 600;
}

.blog-hero .blog-hero-content .meta span a:hover {
  color: var(--accent-color);
}

@media (max-width: 767px) {
  .blog-hero .blog-hero-content .meta span {
    display: block;
    margin: 0 0 10px 0;
  }
}

.blog-hero .blog-hero-content .read-more {
  display: inline-flex;
  align-items: center;
  color: var(--contrast-color);
  font-weight: 500;
}

.blog-hero .blog-hero-content .read-more i {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.blog-hero .blog-hero-content .read-more:hover {
  color: var(--accent-color);
}

.blog-hero .blog-hero-content .read-more:hover i {
  transform: translateX(5px);
}

@media (max-width: 767px) {
  .blog-hero .blog-hero-content {
    padding: 30px;
  }
}

/*--------------------------------------------------------------
# Featured Posts Section
--------------------------------------------------------------*/
.featured-posts {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
}

.featured-posts .blog-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: all 0.4s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.featured-posts .blog-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.featured-posts .blog-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.featured-posts .blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.featured-posts .blog-image .category-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--accent-color);
  color: var(--contrast-color);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
}

.featured-posts .blog-image:hover img {
  transform: scale(1.05);
}

.featured-posts .blog-content {
  padding: 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .featured-posts .blog-content {
    padding: 25px;
  }
}

.featured-posts .author-info {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.featured-posts .author-info .author-avatar {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
}

.featured-posts .author-info .author-details {
  display: flex;
  flex-direction: column;
}

.featured-posts .author-info .author-details .author-name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 14px;
  margin-bottom: 2px;
}

.featured-posts .author-info .author-details .publish-date {
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.featured-posts h3 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 15px;
  color: var(--heading-color);
}

@media (max-width: 768px) {
  .featured-posts h3 {
    font-size: 18px;
  }
}

.featured-posts h3 a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.featured-posts h3 a:hover {
  color: var(--accent-color);
}

.featured-posts p {
  font-size: 15px;
  line-height: 1.6;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  margin-bottom: 25px;
  flex: 1;
}

.featured-posts .blog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 576px) {
  .featured-posts .blog-footer {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
}

.featured-posts .reading-time {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.featured-posts .reading-time i {
  margin-right: 5px;
  font-size: 14px;
}

.featured-posts .btn-read-more {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #000 10%));
  color: var(--contrast-color);
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.featured-posts .btn-read-more span {
  margin-right: 8px;
}

.featured-posts .btn-read-more i {
  font-size: 12px;
  transition: transform 0.3s ease;
}

.featured-posts .btn-read-more:hover {
  transform: translateX(5px);
  background: linear-gradient(45deg, color-mix(in srgb, var(--accent-color), #000 10%), var(--accent-color));
  color: var(--contrast-color);
}

.featured-posts .btn-read-more:hover i {
  transform: translateX(3px);
}

@media (max-width: 576px) {
  .featured-posts .btn-read-more {
    align-self: flex-end;
  }
}

/*--------------------------------------------------------------
# Category Section Section
--------------------------------------------------------------*/
.category-section .hero-post {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-section .hero-post:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.category-section .hero-post .post-img img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

.category-section .hero-post .post-content {
  padding: 30px;
}

.category-section .hero-post .author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.category-section .hero-post .author-info .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 3px solid var(--accent-color);
}

.category-section .hero-post .author-info .author-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.category-section .hero-post .author-info .author-name {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 14px;
}

.category-section .hero-post .author-info .post-date {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.category-section .hero-post .post-title {
  font-size: 28px;
  line-height: 1.3;
  margin-bottom: 15px;
}

.category-section .hero-post .post-title a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.category-section .hero-post .post-title a:hover {
  color: var(--accent-color);
}

.category-section .hero-post .post-excerpt {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
  margin-bottom: 20px;
}

.category-section .hero-post .post-stats {
  display: flex;
  gap: 20px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.category-section .hero-post .post-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.category-section .hero-post .post-stats i {
  color: var(--accent-color);
}

.category-section .sidebar-posts {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.category-section .sidebar-post {
  display: flex;
  gap: 15px;
  padding: 20px;
  background: var(--surface-color);
  border-radius: 15px;
  border-left: 4px solid var(--accent-color);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-section .sidebar-post:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 92%);
}

.category-section .sidebar-post .post-img {
  flex: 0 0 80px;
}

.category-section .sidebar-post .post-img img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 12px;
}

.category-section .sidebar-post .post-content {
  flex: 1;
}

.category-section .sidebar-post .post-category {
  display: inline-block;
  background: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
  padding: 4px 10px;
  border-radius: 15px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.category-section .sidebar-post .title {
  font-size: 14px;
  line-height: 1.4;
  margin-bottom: 8px;
}

.category-section .sidebar-post .title a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.category-section .sidebar-post .title a:hover {
  color: var(--accent-color);
}

.category-section .sidebar-post .post-meta {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.category-section .posts-grid {
  margin-top: 50px;
}

.category-section .grid-post {
  background: var(--surface-color);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.category-section .grid-post:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px color-mix(in srgb, var(--default-color), transparent 88%);
}

.category-section .grid-post:hover .post-img img {
  transform: scale(1.05);
}

.category-section .grid-post .post-img {
  position: relative;
  overflow: hidden;
}

.category-section .grid-post .post-img img {
  width: 100%;
  aspect-ratio: 16/11;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.category-section .grid-post .post-img .post-overlay {
  position: absolute;
  top: 20px;
  left: 20px;
}

.category-section .grid-post .post-img .category-tag {
  background: var(--surface-color);
  color: var(--accent-color);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  box-shadow: 0 4px 15px color-mix(in srgb, var(--default-color), transparent 90%);
}

.category-section .grid-post .post-content {
  padding: 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.category-section .grid-post .title {
  font-size: 18px;
  line-height: 1.4;
  margin-bottom: 12px;
}

.category-section .grid-post .title a {
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.category-section .grid-post .title a:hover {
  color: var(--accent-color);
}

.category-section .grid-post .excerpt {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  line-height: 1.6;
  margin-bottom: 20px;
  flex: 1;
}

.category-section .grid-post .post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 15px;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.category-section .grid-post .author-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-section .grid-post .author-info .author-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--accent-color), transparent 70%);
}

.category-section .grid-post .author-info .author-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--heading-color);
}

.category-section .grid-post .read-time {
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-weight: 500;
}

@media (max-width: 992px) {
  .category-section .hero-post .post-title {
    font-size: 24px;
  }

  .category-section .hero-post .post-content {
    padding: 25px;
  }

  .category-section .sidebar-posts {
    margin-top: 30px;
  }
}

@media (max-width: 768px) {
  .category-section .hero-post .post-title {
    font-size: 20px;
  }

  .category-section .hero-post .post-content {
    padding: 20px;
  }

  .category-section .hero-post .author-info .author-avatar {
    width: 40px;
    height: 40px;
  }

  .category-section .sidebar-post {
    padding: 15px;
  }

  .category-section .sidebar-post .post-img img {
    width: 60px;
    height: 60px;
  }

  .category-section .sidebar-post .title {
    font-size: 13px;
  }

  .category-section .grid-post .title {
    font-size: 16px;
  }

  .category-section .grid-post .post-content {
    padding: 20px;
  }
}

/*--------------------------------------------------------------
# Latest Posts Section
--------------------------------------------------------------*/
.latest-posts {
  --card-radius: 14px;
  --soft-border: color-mix(in srgb, var(--default-color), transparent 85%);
  --soft-shadow: 0 12px 30px color-mix(in srgb, var(--default-color), transparent 92%);
}

.latest-posts .featured-post {
  border-radius: var(--card-radius);
  overflow: hidden;
  position: relative;
  min-height: 420px;
  background-color: var(--surface-color);
  box-shadow: var(--soft-shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.latest-posts .featured-post .featured-media {
  height: 100%;
}

.latest-posts .featured-post .featured-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  transition: transform 0.4s ease;
  display: block;
}

.latest-posts .featured-post .featured-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, color-mix(in srgb, var(--default-color), transparent 70%) 5%, color-mix(in srgb, var(--default-color), transparent 85%) 40%, transparent 75%);
  pointer-events: none;
}

.latest-posts .featured-post .featured-content {
  position: absolute;
  inset-inline: 20px;
  bottom: 18px;
  color: var(--contrast-color);
  z-index: 2;
}

.latest-posts .featured-post .featured-content .date-badge {
  position: absolute;
  top: -14px;
  left: 0;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 8px;
  padding: 8px 10px;
  text-align: center;
  box-shadow: var(--soft-shadow);
}

.latest-posts .featured-post .featured-content .date-badge .day {
  display: block;
  font-weight: 800;
  font-size: 20px;
  line-height: 1;
}

.latest-posts .featured-post .featured-content .date-badge .mon {
  display: block;
  font-size: 12px;
  opacity: 0.95;
}

.latest-posts .featured-post .featured-content .cat-badge {
  margin-left: 72px;
  margin-bottom: 10px;
}

.latest-posts .featured-post .featured-content .title {
  font-size: 28px;
  line-height: 1.25;
  font-weight: 700;
  margin: 4px 0 10px 72px;
  color: var(--contrast-color);
}

.latest-posts .featured-post .featured-content .excerpt {
  margin: 0 0 14px 72px;
  color: color-mix(in srgb, var(--contrast-color), transparent 10%);
}

.latest-posts .featured-post .featured-content .meta {
  margin-left: 72px;
  margin-bottom: 10px;
}

.latest-posts .featured-post .featured-content .meta i {
  color: var(--accent-color);
  font-size: 16px;
}

.latest-posts .featured-post .featured-content .meta span {
  font-size: 14px;
  color: color-mix(in srgb, var(--contrast-color), transparent 10%);
}

.latest-posts .featured-post .featured-content .meta .sep {
  color: color-mix(in srgb, var(--contrast-color), transparent 20%);
}

.latest-posts .featured-post .featured-content .readmore {
  margin-left: 72px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--contrast-color), transparent 60%);
  color: var(--contrast-color);
  transition: 0.3s;
}

.latest-posts .featured-post .featured-content .readmore i {
  font-size: 16px;
}

.latest-posts .featured-post .featured-content .readmore:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--contrast-color);
}

.latest-posts .featured-post:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px color-mix(in srgb, var(--default-color), transparent 88%);
}

.latest-posts .featured-post:hover .featured-media img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .latest-posts .featured-post {
    min-height: 360px;
  }

  .latest-posts .featured-post .featured-content .title {
    font-size: 22px;
  }
}

.latest-posts .compact-post {
  background-color: var(--surface-color);
  border: 1px solid var(--soft-border);
  border-radius: var(--card-radius);
  padding: 14px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 16px;
  align-items: center;
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.latest-posts .compact-post .thumb img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 10px;
  display: block;
  transition: transform 0.3s ease;
}

.latest-posts .compact-post .content .meta {
  margin-bottom: 6px;
  font-size: 13px;
  color: color-mix(in srgb, var(--default-color), transparent 45%);
}

.latest-posts .compact-post .content .meta .date,
.latest-posts .compact-post .content .meta .category {
  white-space: nowrap;
}

.latest-posts .compact-post .content .meta .dot {
  margin-inline: 6px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.latest-posts .compact-post .content .title {
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
  margin: 0 0 8px 0;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.latest-posts .compact-post .content .readmore {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: color-mix(in srgb, var(--heading-color), transparent 20%);
  transition: color 0.3s ease, transform 0.3s ease;
}

.latest-posts .compact-post .content .readmore i {
  font-size: 16px;
}

.latest-posts .compact-post:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 30%);
  box-shadow: var(--soft-shadow);
  transform: translateY(-2px);
}

.latest-posts .compact-post:hover .content .title,
.latest-posts .compact-post:hover .content .readmore {
  color: var(--accent-color);
}

.latest-posts .compact-post:hover .thumb img {
  transform: scale(1.03);
}

@media (max-width: 576px) {
  .latest-posts .compact-post {
    grid-template-columns: 90px 1fr;
  }
}

.latest-posts .card-post {
  background-color: var(--surface-color);
  border: 1px solid var(--soft-border);
  border-radius: var(--card-radius);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
}

.latest-posts .card-post .post-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
  display: block;
}

.latest-posts .card-post .content {
  padding: 18px;
}

.latest-posts .card-post .content .meta {
  margin-bottom: 10px;
}

.latest-posts .card-post .content .meta i {
  color: var(--accent-color);
  font-size: 16px;
}

.latest-posts .card-post .content .meta span {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.latest-posts .card-post .content .title {
  font-size: 20px;
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--heading-color);
  transition: color 0.3s ease;
}

.latest-posts .card-post .content .readmore {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 40%);
  color: var(--accent-color);
  transition: 0.3s;
}

.latest-posts .card-post .content .readmore i {
  font-size: 16px;
}

.latest-posts .card-post .content .readmore:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: var(--accent-color);
}

.latest-posts .card-post:hover {
  border-color: color-mix(in srgb, var(--accent-color), transparent 25%);
  box-shadow: var(--soft-shadow);
  transform: translateY(-3px);
}

.latest-posts .card-post:hover .post-img img {
  transform: scale(1.06);
}

.latest-posts .card-post:hover .content .title {
  color: var(--accent-color);
}

@media (max-width: 576px) {
  .latest-posts .card-post .post-img img {
    height: 190px;
  }
}

.latest-posts .cat-badge {
  display: inline-block;
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1;
  border-radius: 999px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  color: var(--accent-color);
}

.latest-posts .cat-badge.inverse {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Category Postst Section
--------------------------------------------------------------*/
.category-postst article {
  height: 100%;
}

.category-postst .post-img {
  max-height: 440px;
  overflow: hidden;
}

.category-postst .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 5px 0;
}

.category-postst .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.category-postst .title a:hover {
  color: var(--accent-color);
}

.category-postst .meta-top {
  margin-top: 10px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.category-postst .meta-top ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  align-items: center;
  padding: 0;
  margin: 0;
}

.category-postst .meta-top i {
  font-size: 24px;
  line-height: 0;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

.category-postst .meta-top a {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  display: inline-block;
  line-height: 1;
}

/*--------------------------------------------------------------
# Pagination 2 Section
--------------------------------------------------------------*/
.pagination-2 {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-2 ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-2 li {
  margin: 0 5px;
  transition: 0.3s;
}

.pagination-2 li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.pagination-2 li a.active,
.pagination-2 li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pagination-2 li a.active a,
.pagination-2 li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Blog Details Section
--------------------------------------------------------------*/
.blog-details .article-hero {
  position: relative;
  height: 70vh;
  min-height: 600px;
  margin: -60px -15px 4rem;
  border-radius: 0 0 24px 24px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .blog-details .article-hero {
    height: 60vh;
    min-height: 500px;
    margin: -60px -15px 3rem;
  }
}

.blog-details .article-hero .hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.blog-details .article-hero .hero-background .hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-details .article-hero .hero-background .hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%);
}

.blog-details .article-hero .hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  color: white;
  text-align: center;
}

.blog-details .article-hero .hero-content .category-badges {
  margin-bottom: 1.5rem;
}

.blog-details .article-hero .hero-content .category-badges .badge {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  margin: 0 0.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 25px;
  font-size: 0.9rem;
  font-weight: 500;
}

.blog-details .article-hero .hero-content h1 {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  color: white;
}

@media (max-width: 768px) {
  .blog-details .article-hero .hero-content h1 {
    font-size: 2.5rem;
  }
}

.blog-details .article-hero .hero-content .hero-excerpt {
  font-size: 1.2rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.9);
}

.blog-details .article-hero .hero-content .author-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.blog-details .article-hero .hero-content .author-meta .author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.blog-details .article-hero .hero-content .author-meta .author-details {
  text-align: left;
}

.blog-details .article-hero .hero-content .author-meta .author-details h4 {
  margin: 0;
  color: white;
  font-size: 1.1rem;
}

.blog-details .article-hero .hero-content .author-meta .author-details span {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.blog-details .article-hero .hero-content .author-meta .article-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}

.blog-details .article-hero .hero-content .author-meta .article-stats span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

@media (max-width: 768px) {
  .blog-details .article-hero .hero-content .author-meta {
    flex-direction: column;
    text-align: center;
  }

  .blog-details .article-hero .hero-content .author-meta .author-details {
    text-align: center;
  }
}

.blog-details .article-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

@media (max-width: 992px) {
  .blog-details .article-body {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 992px) {
  .blog-details .article-body .sidebar-navigation {
    order: 2;
  }
}

.blog-details .article-body .sidebar-navigation .nav-sticky {
  position: sticky;
  top: 100px;
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.blog-details .article-body .sidebar-navigation .nav-sticky h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--heading-color);
}

.blog-details .article-body .sidebar-navigation .nav-sticky h3 i {
  color: var(--accent-color);
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li {
  margin-bottom: 0.75rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link {
  display: block;
  padding: 0.5rem 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  text-decoration: none;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  position: relative;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 0;
  background: var(--accent-color);
  border-radius: 2px;
  transform: translateY(-50%);
  transition: all 0.3s ease;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link:hover,
.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link.active {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding-left: 1.5rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link:hover::before,
.blog-details .article-body .sidebar-navigation .nav-sticky .content-nav li .nav-link.active::before {
  height: 20px;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .reading-progress {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 1.5rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .reading-progress .progress-bar {
  width: 100%;
  height: 4px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .reading-progress .progress-bar .progress-fill {
  height: 100%;
  background: var(--accent-color);
  width: 25%;
  transition: width 0.3s ease;
}

.blog-details .article-body .sidebar-navigation .nav-sticky .reading-progress .progress-text {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

@media (max-width: 992px) {
  .blog-details .article-body .main-content {
    order: 1;
  }
}

.blog-details .article-body .main-content .content-block {
  margin-bottom: 4rem;
  padding-bottom: 2rem;
}

.blog-details .article-body .main-content .content-block:not(:last-child) {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

.blog-details .article-body .main-content .content-block h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--heading-color);
}

.blog-details .article-body .main-content .content-block h2 i {
  color: var(--accent-color);
  font-size: 1.5rem;
}

.blog-details .article-body .main-content .content-block .intro-text .lead-paragraph {
  font-size: 1.3rem;
  line-height: 1.7;
  color: var(--heading-color);
  margin-bottom: 1.5rem;
}

.blog-details .article-body .main-content .content-block .intro-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.blog-details .article-body .main-content .content-block .featured-quote {
  background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
  border-radius: 16px;
  padding: 3rem;
  margin: 3rem 0;
  position: relative;
}

.blog-details .article-body .main-content .content-block .featured-quote .quote-icon {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 60px;
  height: 60px;
  background: var(--accent-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-details .article-body .main-content .content-block .featured-quote .quote-icon i {
  font-size: 1.5rem;
  color: var(--contrast-color);
}

.blog-details .article-body .main-content .content-block .featured-quote blockquote {
  margin: 0;
}

.blog-details .article-body .main-content .content-block .featured-quote blockquote p {
  font-size: 1.4rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--heading-color);
  margin-bottom: 1rem;
}

.blog-details .article-body .main-content .content-block .featured-quote blockquote footer {
  font-size: 1rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-style: normal;
}

.blog-details .article-body .main-content .content-block .content-with-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-body .main-content .content-block .content-with-media {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-details .article-body .main-content .content-block .content-with-media .media-element .content-image {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.blog-details .article-body .main-content .content-block .content-with-media .media-element .image-caption {
  text-align: center;
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-top: 0.75rem;
}

.blog-details .article-body .main-content .content-block .content-with-media .stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

@media (max-width: 576px) {
  .blog-details .article-body .main-content .content-block .content-with-media .stats-grid {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-body .main-content .content-block .content-with-media .stats-grid .stat-item {
  text-align: center;
  padding: 1.5rem;
  background: var(--surface-color);
  border-radius: 12px;
}

.blog-details .article-body .main-content .content-block .content-with-media .stats-grid .stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--accent-color);
  display: block;
  margin-bottom: 0.5rem;
}

.blog-details .article-body .main-content .content-block .content-with-media .stats-grid .stat-item .stat-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-body .main-content .content-block .feature-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-body .main-content .content-block .feature-cards {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card .card-icon {
  width: 70px;
  height: 70px;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card .card-icon i {
  font-size: 1.8rem;
  color: var(--accent-color);
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card h3 {
  color: var(--heading-color);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.blog-details .article-body .main-content .content-block .feature-cards .feature-card p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.blog-details .article-body .main-content .content-block .split-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-body .main-content .content-block .split-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-benefits {
  margin-top: 2rem;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-benefits .benefit-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-benefits .benefit-item i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-benefits .benefit-item span {
  color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .dashboard-header h4 {
  margin: 0;
  color: var(--heading-color);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .dashboard-header .status-indicator {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 500;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .dashboard-header .status-indicator.online {
  background: color-mix(in srgb, #22c55e, transparent 90%);
  color: #22c55e;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .vital-signs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .vital-signs .vital-item {
  padding: 1rem;
  background: color-mix(in srgb, var(--accent-color), transparent 95%);
  border-radius: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .vital-signs .vital-item .vital-label {
  font-size: 0.9rem;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}

.blog-details .article-body .main-content .content-block .split-content .monitoring-dashboard .vital-signs .vital-item .vital-value {
  font-weight: 600;
  color: var(--heading-color);
}

.blog-details .article-body .main-content .content-block .challenges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 2rem 0;
}

@media (max-width: 768px) {
  .blog-details .article-body .main-content .content-block .challenges-grid {
    grid-template-columns: 1fr;
  }
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card {
  background: var(--surface-color);
  border-radius: 16px;
  padding: 2rem;
  border-left: 4px solid var(--accent-color);
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card .challenge-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card .challenge-header i {
  font-size: 1.5rem;
  color: var(--accent-color);
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card .challenge-header h3 {
  margin: 0;
  color: var(--heading-color);
  font-size: 1.2rem;
}

.blog-details .article-body .main-content .content-block .challenges-grid .challenge-card p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  line-height: 1.6;
}

.blog-details .article-body .main-content .content-block .future-outlook {
  margin: 3rem 0;
}

.blog-details .article-body .main-content .content-block .future-outlook .outlook-item {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--surface-color);
  border-radius: 16px;
}

.blog-details .article-body .main-content .content-block .future-outlook .outlook-item .outlook-number {
  font-size: 2rem;
  font-weight: bold;
  color: var(--accent-color);
  min-width: 80px;
}

.blog-details .article-body .main-content .content-block .future-outlook .outlook-item .outlook-content h4 {
  margin: 0 0 0.5rem;
  color: var(--heading-color);
}

.blog-details .article-body .main-content .content-block .future-outlook .outlook-item .outlook-content p {
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.blog-details .article-actions {
  background: var(--surface-color);
  border-radius: 20px;
  padding: 3rem;
  margin-top: 4rem;
}

.blog-details .article-actions .engagement-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .blog-details .article-actions .engagement-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-details .article-actions .engagement-section h3 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.blog-details .article-actions .engagement-section .share-options {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-details .article-actions .engagement-section .share-options .share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 30px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-details .article-actions .engagement-section .share-options .share-btn:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-details .article-actions .engagement-section .share-options .share-btn.twitter:hover {
  background: #1DA1F2;
}

.blog-details .article-actions .engagement-section .share-options .share-btn.facebook:hover {
  background: #4267B2;
}

.blog-details .article-actions .engagement-section .share-options .share-btn.linkedin:hover {
  background: #0077B5;
}

.blog-details .article-actions .engagement-section .share-options .share-btn.email:hover {
  background: #34495e;
}

.blog-details .article-actions .engagement-section .reaction-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.blog-details .article-actions .engagement-section .reaction-buttons .reaction-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  border: none;
  border-radius: 30px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-details .article-actions .engagement-section .reaction-buttons .reaction-btn .count {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.2rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.blog-details .article-actions .engagement-section .reaction-buttons .reaction-btn:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
}

.blog-details .article-actions .topic-tags {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding-top: 2rem;
}

.blog-details .article-actions .topic-tags h3 {
  color: var(--heading-color);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.blog-details .article-actions .topic-tags .tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.blog-details .article-actions .topic-tags .tag-cloud .topic-tag {
  padding: 0.5rem 1.2rem;
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 25px;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-details .article-actions .topic-tags .tag-cloud .topic-tag:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Blog Author Section
--------------------------------------------------------------*/
.blog-author .author-card {
  background-color: var(--surface-color);
  border-radius: 16px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.blog-author .author-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent-color), transparent 85%) 0%, transparent 70%);
  opacity: 0.6;
  z-index: 0;
}

.blog-author .author-header {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

@media (max-width: 767.98px) {
  .blog-author .author-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.5rem;
  }
}

.blog-author .author-image-container {
  position: relative;
  flex-shrink: 0;
}

.blog-author .author-image-container .author-image {
  width: 180px;
  height: 180px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.blog-author .author-image-container .expertise-tags {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  width: max-content;
}

.blog-author .author-image-container .expertise-tags span {
  background: var(--surface-color);
  color: var(--accent-color);
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
}

.blog-author .author-intro {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-author .author-intro .name-block {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .blog-author .author-intro .name-block {
    justify-content: center;
  }
}

.blog-author .author-intro .name-block .author-name {
  font-size: 1.75rem;
  margin: 0;
  color: var(--heading-color);
  font-weight: 700;
}

.blog-author .author-intro .name-block .verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 90%), color-mix(in srgb, var(--accent-color), transparent 70%));
  color: var(--accent-color);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
}

.blog-author .author-intro .name-block .verified-badge i {
  font-size: 1rem;
}

.blog-author .author-intro .author-tagline {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 1.1rem;
  line-height: 1.5;
  margin: 0;
}

.blog-author .author-content {
  position: relative;
  z-index: 1;
}

.blog-author .author-content .content-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
  .blog-author .author-content .content-row {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.blog-author .author-content .bio-section .bio-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--default-color);
  margin-bottom: 1.5rem;
}

.blog-author .author-content .bio-section .author-metrics {
  display: flex;
  gap: 1.5rem;
}

@media (max-width: 767.98px) {
  .blog-author .author-content .bio-section .author-metrics {
    justify-content: center;
  }
}

.blog-author .author-content .bio-section .author-metrics .metric {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  font-size: 0.95rem;
}

.blog-author .author-content .bio-section .author-metrics .metric i {
  color: var(--accent-color);
  font-size: 1.1rem;
}

.blog-author .author-content .featured-posts h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--heading-color);
}

.blog-author .author-content .featured-posts .post-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.blog-author .author-content .featured-posts .post-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.blog-author .author-content .featured-posts .post-list li i {
  color: var(--accent-color);
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.blog-author .author-content .featured-posts .post-list li span {
  color: var(--default-color);
  font-size: 0.95rem;
  line-height: 1.4;
}

.blog-author .author-content .featured-posts .post-list li:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
}

.blog-author .author-content .featured-posts .post-list li:hover i {
  transform: translateX(3px);
}

.blog-author .author-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

@media (max-width: 767.98px) {
  .blog-author .author-footer {
    flex-direction: column;
    gap: 1.5rem;
  }
}

.blog-author .author-footer .connect-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

@media (max-width: 767.98px) {
  .blog-author .author-footer .connect-links {
    justify-content: center;
  }
}

.blog-author .author-footer .connect-links .social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  background-color: color-mix(in srgb, var(--default-color), transparent 95%);
  color: var(--default-color);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.blog-author .author-footer .connect-links .social-link i {
  font-size: 1rem;
}

.blog-author .author-footer .connect-links .social-link:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-2px);
}

.blog-author .author-footer .subscribe-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border-radius: 25px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.blog-author .author-footer .subscribe-button i {
  transition: transform 0.3s ease;
}

.blog-author .author-footer .subscribe-button:hover {
  background-color: var(--heading-color);
}

.blog-author .author-footer .subscribe-button:hover i {
  transform: rotate(15deg);
}

/*--------------------------------------------------------------
# Blog Comments Section
--------------------------------------------------------------*/
.blog-comments .comments-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}

.blog-comments .comments-header .title {
  color: var(--heading-color);
  font-size: 32px;
  font-weight: 700;
  font-family: var(--heading-font);
  margin: 0;
}

.blog-comments .comments-header .comments-stats {
  background: color-mix(in srgb, var(--default-color), transparent 95%);
  padding: 8px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.blog-comments .comments-header .comments-stats .count {
  font-size: 18px;
  font-weight: 700;
}

.blog-comments .comments-header .comments-stats .label {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-comments .comments-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.blog-comments .comment-thread {
  position: relative;
}

.blog-comments .comment-thread:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 25px;
  top: 80px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--accent-color), transparent 40%), color-mix(in srgb, var(--accent-color), transparent 90%));
  z-index: 0;
}

@media (min-width: 768px) {
  .blog-comments .comment-thread:not(:last-child)::after {
    left: 35px;
  }
}

.blog-comments .comment-box {
  position: relative;
  transition: all 0.3s ease;
}

.blog-comments .comment-box.reply {
  margin-left: 50px;
  margin-top: 25px;
}

@media (min-width: 768px) {
  .blog-comments .comment-box.reply {
    margin-left: 70px;
  }
}

.blog-comments .comment-wrapper {
  display: flex;
  gap: 20px;
  position: relative;
}

.blog-comments .avatar-wrapper {
  position: relative;
  flex-shrink: 0;
}

.blog-comments .avatar-wrapper img {
  width: 50px;
  height: 50px;
  border-radius: 15px;
  object-fit: cover;
  border: 3px solid var(--surface-color);
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
}

@media (min-width: 768px) {
  .blog-comments .avatar-wrapper img {
    width: 70px;
    height: 70px;
  }
}

.blog-comments .avatar-wrapper img:hover {
  transform: scale(1.05);
}

.blog-comments .avatar-wrapper .status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #4CAF50;
  border: 2px solid var(--surface-color);
  z-index: 1;
}

.blog-comments .comment-content {
  flex: 1;
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.blog-comments .comment-content:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
}

.blog-comments .comment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
}

.blog-comments .comment-header .user-info h4 {
  color: var(--heading-color);
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 5px;
}

.blog-comments .comment-header .user-info .time-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.blog-comments .comment-header .user-info .time-badge i {
  font-size: 13px;
}

.blog-comments .comment-header .engagement .likes {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
  border-radius: 20px;
  color: var(--accent-color);
  font-size: 14px;
  font-weight: 500;
}

.blog-comments .comment-header .engagement .likes i {
  font-size: 13px;
}

.blog-comments .comment-body p {
  color: var(--default-color);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.blog-comments .comment-actions {
  display: flex;
  gap: 15px;
}

.blog-comments .comment-actions .action-btn {
  background: none;
  border: none;
  padding: 8px 15px;
  border-radius: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn i {
  font-size: 15px;
  transition: all 0.3s ease;
}

.blog-comments .comment-actions .action-btn:hover {
  color: var(--accent-color);
  background-color: color-mix(in srgb, var(--accent-color), transparent 92%);
}

.blog-comments .comment-actions .action-btn:hover.like-btn i {
  transform: scale(1.2);
  color: #ff4b6e;
}

.blog-comments .comment-actions .action-btn:hover.reply-btn i {
  transform: translateX(-3px);
}

.blog-comments .comment-actions .action-btn:hover.share-btn i {
  transform: translateY(-2px);
}

.blog-comments .comment-actions .action-btn.like-btn.active {
  color: #ff4b6e;
}

.blog-comments .replies-container {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

@media (max-width: 768px) {
  .blog-comments .comments-header {
    margin-bottom: 30px;
  }

  .blog-comments .comments-header .title {
    font-size: 24px;
  }

  .blog-comments .comments-header .comments-stats {
    padding: 6px 15px;
  }

  .blog-comments .comments-header .comments-stats .count {
    font-size: 20px;
  }

  .blog-comments .comments-header .comments-stats .label {
    font-size: 12px;
  }

  .blog-comments .comment-content {
    padding: 20px;
  }

  .blog-comments .comment-header .user-info h4 {
    font-size: 16px;
  }

  .blog-comments .comment-header .user-info .time-badge {
    font-size: 13px;
  }

  .blog-comments .comment-body p {
    font-size: 14px;
  }

  .blog-comments .comment-actions .action-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
}

/*--------------------------------------------------------------
# Blog Comment Form Section
--------------------------------------------------------------*/
.blog-comment-form {
  max-width: 900px;
  margin: 0 auto 0 auto;
  padding-top: 30px;
}

.blog-comment-form form {
  padding: 30px;
  background-color: var(--surface-color);
  border-radius: 15px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.blog-comment-form .section-header {
  text-align: center;
  margin-bottom: 30px;
}

.blog-comment-form .section-header h3 {
  font-size: 28px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
}

.blog-comment-form .section-header h3:after {
  content: "";
  position: absolute;
  display: block;
  width: 50px;
  height: 3px;
  background: var(--accent-color);
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.blog-comment-form .section-header p {
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  font-size: 15px;
  margin: 0;
}

.blog-comment-form .form-group {
  margin-bottom: 20px;
}

.blog-comment-form .form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--heading-color);
  font-size: 14px;
}

.blog-comment-form .form-group .form-control {
  height: 48px;
  padding: 10px 15px;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  font-size: 14px;
  transition: all 0.3s ease-in-out;
}

.blog-comment-form .form-group .form-control:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.blog-comment-form .form-group .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 70%);
}

.blog-comment-form .form-group .form-control:hover:not(:focus) {
  border-color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.blog-comment-form .form-group textarea.form-control {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.blog-comment-form .btn-submit {
  padding: 12px 32px;
  border-radius: 50px;
  background: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  font-size: 16px;
  font-weight: 500;
  transition: 0.3s;
  position: relative;
  overflow: hidden;
}

.blog-comment-form .btn-submit:hover {
  background: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px color-mix(in srgb, var(--accent-color), transparent 70%);
}

.blog-comment-form .btn-submit:active {
  transform: translateY(0);
  box-shadow: none;
}

@media (max-width: 768px) {
  .blog-comment-form {
    padding: 20px;
  }

  .blog-comment-form .section-header h3 {
    font-size: 24px;
  }

  .blog-comment-form .btn-submit {
    width: 100%;
    padding: 12px 20px;
  }
}

/*--------------------------------------------------------------
# Author Profile Section
--------------------------------------------------------------*/
.author-profile .author-card {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.author-profile .author-card .author-image {
  text-align: center;
  margin-bottom: 1.5rem;
}

.author-profile .author-card .author-image img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
}

.author-profile .author-card .author-info {
  text-align: center;
}

.author-profile .author-card .author-info h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.author-profile .author-card .author-info .designation {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  font-size: 0.95rem;
  margin-bottom: 1rem;
}

.author-profile .author-card .author-info .author-bio {
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.author-profile .author-card .author-stats {
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 1rem 0;
}

.author-profile .author-card .author-stats .stat-item h4 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  color: var(--accent-color);
}

.author-profile .author-card .author-stats .stat-item p {
  font-size: 0.85rem;
  margin: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.author-profile .author-card .social-links {
  margin-top: 1.5rem;
}

.author-profile .author-card .social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  border-radius: 50%;
  margin: 0 0.5rem;
  transition: all 0.3s ease;
}

.author-profile .author-card .social-links a:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  transform: translateY(-3px);
}

.author-profile .author-card .social-links a i {
  font-size: 1rem;
}

.author-profile .author-content {
  background-color: var(--surface-color);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  height: 100%;
}

.author-profile .author-content .content-header {
  margin-bottom: 1.5rem;
}

.author-profile .author-content .content-header h3 {
  font-size: 1.75rem;
  margin-bottom: 0;
}

.author-profile .author-content .content-body p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.author-profile .author-content .content-body .expertise-areas h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.author-profile .author-content .content-body .expertise-areas .tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.author-profile .author-content .content-body .expertise-areas .tags span {
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.author-profile .author-content .content-body .expertise-areas .tags span:hover {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.author-profile .author-content .content-body .featured-articles h4 {
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
}

.author-profile .author-content .content-body .featured-articles .article-card {
  background-color: var(--background-color);
  border-radius: 10px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.author-profile .author-content .content-body .featured-articles .article-card:hover {
  transform: translateY(-5px);
}

.author-profile .author-content .content-body .featured-articles .article-card .article-img {
  height: 200px;
  overflow: hidden;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-img:hover img {
  transform: scale(1.1);
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details {
  padding: 1.25rem;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details .post-category {
  display: inline-block;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details h5 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details h5 a {
  color: var(--heading-color);
  text-decoration: none;
  transition: color 0.3s ease;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details h5 a:hover {
  color: var(--accent-color);
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details .post-meta {
  font-size: 0.85rem;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details .post-meta span {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
}

.author-profile .author-content .content-body .featured-articles .article-card .article-details .post-meta span i {
  margin-right: 0.35rem;
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .author-profile .author-card {
    margin-bottom: 2rem;
  }
}

@media (max-width: 767.98px) {
  .author-profile .featured-articles .article-card {
    margin-bottom: 1.5rem;
  }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about .about-img {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 0 45px rgba(0, 0, 0, 0.08);
}

.about .about-img img {
  border-radius: 20px;
}

.about .experience-badge {
  position: absolute;
  bottom: -30px;
  left: 20px;
  background-color: var(--surface-color);
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 160px;
}

.about .experience-badge h2 {
  font-size: 3.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  color: var(--accent-color);
}

.about .experience-badge p {
  margin: 5px 0 0;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--heading-color);
}

.about .projects-badge {
  position: absolute;
  top: 40px;
  right: 0;
  background-color: var(--accent-color);
  padding: 20px;
  border-radius: 10px 0 0 10px;
  text-align: center;
  min-width: 160px;
}

.about .projects-badge h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0;
  line-height: 1;
  color: var(--contrast-color);
}

.about .projects-badge p {
  margin: 5px 0 0;
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--contrast-color);
}

.about .feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.about .feature-item .feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.about .feature-item .feature-icon i {
  font-size: 28px;
  color: var(--accent-color);
}

.about .feature-item .feature-content h4 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.about .feature-item .feature-content p {
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.about .check-list {
  list-style: none;
  padding: 0;
  margin: 30px 0;
}

.about .check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 25%);
}

.about .check-list li i {
  color: var(--accent-color);
  font-size: 1.2rem;
}

.about .btn-primary {
  background-color: var(--accent-color);
  border: none;
  padding: 15px 38px;
  font-weight: 500;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--contrast-color);
  transition: all 0.3s ease;
}

.about .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 20%);
  transform: translateY(-2px);
}

@media (max-width: 991.98px) {
  .about .experience-badge {
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px;
    min-width: 140px;
  }

  .about .experience-badge h2 {
    font-size: 2.8rem;
  }

  .about .experience-badge p {
    font-size: 0.8rem;
  }

  .about .projects-badge {
    top: 15px;
    right: 15px;
    padding: 15px;
    min-width: 140px;
    border-radius: 10px;
  }

  .about .projects-badge h2 {
    font-size: 2rem;
  }

  .about .projects-badge p {
    font-size: 0.75rem;
  }
}

@media (max-width: 575.98px) {
  .about .experience-badge {
    padding: 12px;
    min-width: 120px;
  }

  .about .experience-badge h2 {
    font-size: 2.2rem;
  }

  .about .experience-badge p {
    font-size: 0.75rem;
  }

  .about .projects-badge {
    padding: 12px;
    min-width: 120px;
  }

  .about .projects-badge h2 {
    font-size: 1.8rem;
  }

  .about .projects-badge p {
    font-size: 0.7rem;
  }
}

/*--------------------------------------------------------------
# Team Section
--------------------------------------------------------------*/
.team .team-member {
  position: relative;
  background-color: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s;
  border: 2px solid color-mix(in srgb, var(--default-color), transparent 90%);
  height: 100%;
}

.team .team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px color-mix(in srgb, var(--accent-color), transparent 80%);
  border-color: var(--accent-color);
}

.team .team-member:hover .member-image:before {
  opacity: 1;
}

.team .team-member:hover .member-image img {
  transform: scale(1.1);
}

.team .team-member:hover .social-overlay {
  transform: translateY(0);
  opacity: 1;
}

.team .team-member:hover .member-info h4 {
  color: var(--accent-color);
}

.team .member-image {
  position: relative;
  height: 280px;
  overflow: hidden;
}

.team .member-image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 50%) 100%);
  opacity: 0;
  transition: 0.4s;
  z-index: 1;
}

.team .member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.team .social-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 30px 20px 20px;
  transform: translateY(100%);
  opacity: 0;
  transition: 0.4s;
  z-index: 2;
}

.team .social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.team .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: var(--contrast-color);
  font-size: 18px;
  transition: 0.3s;
}

.team .social-icons a:hover {
  background-color: var(--contrast-color);
  color: var(--accent-color);
  transform: scale(1.1);
}

.team .member-info {
  padding: 25px 20px 30px;
  text-align: center;
  position: relative;
}

.team .member-info:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-color) 0%, color-mix(in srgb, var(--accent-color), transparent 60%) 100%);
  border-radius: 2px;
}

.team .member-info h4 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--heading-color);
  transition: 0.3s;
}

.team .member-info span {
  display: block;
  font-size: 15px;
  font-weight: 500;
  color: var(--accent-color);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.team .member-info p {
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 0;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
}

@media (max-width: 768px) {
  .team .team-member {
    margin-bottom: 30px;
  }

  .team .team-member .member-image {
    height: 250px;
  }

  .team .team-member .member-info {
    padding: 20px 15px 25px;
  }

  .team .team-member .member-info h4 {
    font-size: 20px;
  }

  .team .team-member .member-info p {
    font-size: 14px;
  }
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .container {
  max-width: 1280px;
}

.contact .contact-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 992px) {
  .contact .contact-wrapper {
    grid-template-columns: 38% 62%;
    gap: 30px;
  }
}

.contact .contact-info-panel {
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #1a4372 40%));
  color: var(--contrast-color);
  border-radius: 20px;
  padding: 40px 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.contact .contact-info-panel .contact-info-header {
  margin-bottom: 30px;
}

.contact .contact-info-panel .contact-info-header h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .contact-info-panel .contact-info-header p {
  font-size: 15px;
  opacity: 0.85;
  line-height: 1.6;
}

.contact .contact-info-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: auto;
}

@media (min-width: 576px) and (max-width: 991px) {
  .contact .contact-info-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact .info-card {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}

.contact .info-card:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
}

.contact .info-card .icon-container {
  width: 45px;
  height: 45px;
  flex-shrink: 0;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .info-card .icon-container i {
  font-size: 20px;
  color: var(--contrast-color);
}

.contact .info-card .card-content h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 5px;
  color: var(--contrast-color);
}

.contact .info-card .card-content p {
  font-size: 14px;
  margin-bottom: 0;
  opacity: 0.8;
}

.contact .social-links-panel {
  margin-top: 35px;
}

.contact .social-links-panel h5 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.contact .social-links-panel .social-icons {
  display: flex;
  gap: 12px;
}

.contact .social-links-panel .social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.15);
  color: var(--contrast-color);
  font-size: 18px;
  transition: all 0.3s ease;
}

.contact .social-links-panel .social-icons a:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-5px);
}

.contact .contact-form-panel {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact .map-container {
  width: 100%;
  height: 280px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.contact .form-container {
  background-color: var(--surface-color);
  border-radius: 20px;
  padding: 35px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.06);
}

.contact .form-container h3 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  background: linear-gradient(120deg, var(--heading-color), color-mix(in srgb, var(--heading-color), var(--accent-color) 30%));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}

.contact .form-container p {
  font-size: 15px;
  color: color-mix(in srgb, var(--default-color), transparent 15%);
  margin-bottom: 25px;
}

.contact .form-container .form-floating {
  margin-bottom: 20px;
}

.contact .form-container .form-floating .form-control {
  border-radius: 12px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  padding: 24px 20px 8px 20px;
  height: calc(3.5rem + 3px);
  background-color: var(--surface-color);
  color: var(--default-color);
  transition: all 0.3s ease;
}

.contact .form-container .form-floating .form-control:focus {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent-color), transparent 85%);
  border-color: color-mix(in srgb, var(--accent-color), transparent 40%);
  background-color: var(--surface-color);
}

.contact .form-container .form-floating .form-control::placeholder {
  color: transparent;
}

.contact .form-container .form-floating label {
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  padding: 1rem 1.25rem 2.5rem 1.25rem;
}

.contact .form-container .form-floating label::after {
  background-color: transparent;
}

.contact .form-container .btn-submit {
  background: linear-gradient(145deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #1a4372 30%));
  color: var(--contrast-color);
  border: none;
  padding: 15px 25px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact .form-container .btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 20px color-mix(in srgb, var(--accent-color), transparent 75%);
}

.contact .form-container .btn-submit i {
  transition: transform 0.3s ease;
}

.contact .form-container .btn-submit:hover i {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .contact .contact-info-panel {
    padding: 30px 25px;
  }

  .contact .form-container {
    padding: 30px 25px;
  }
}

@media (max-width: 576px) {
  .contact .social-links-panel .social-icons {
    flex-wrap: wrap;
  }
}

/*--------------------------------------------------------------
# Search Results Posts Section
--------------------------------------------------------------*/
.search-results-posts article {
  background-color: var(--surface-color);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  padding: 30px;
  height: 100%;
  border-radius: 10px;
  overflow: hidden;
}

.search-results-posts .post-img {
  max-height: 240px;
  margin: -30px -30px 15px -30px;
  overflow: hidden;
}

.search-results-posts .post-category {
  font-size: 16px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 10px;
}

.search-results-posts .title {
  font-size: 20px;
  font-weight: 700;
  padding: 0;
  margin: 0 0 20px 0;
}

.search-results-posts .title a {
  color: var(--heading-color);
  transition: 0.3s;
}

.search-results-posts .title a:hover {
  color: var(--accent-color);
}

.search-results-posts .post-author-img {
  width: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.search-results-posts .post-author {
  font-weight: 600;
  margin-bottom: 5px;
}

.search-results-posts .post-date {
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
  margin-bottom: 0;
}

/*--------------------------------------------------------------
# Pagination 3 Section
--------------------------------------------------------------*/
.pagination-3 {
  padding-top: 0;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pagination-3 ul {
  display: flex;
  padding: 0;
  margin: 0;
  list-style: none;
}

.pagination-3 li {
  margin: 0 5px;
  transition: 0.3s;
}

.pagination-3 li a {
  color: var(--accent-color);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--accent-color);
}

.pagination-3 li a.active,
.pagination-3 li a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.pagination-3 li a.active a,
.pagination-3 li a:hover a {
  color: var(--contrast-color);
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
  /* Add your styles here */
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
  padding: 80px 0;
  margin: 0 auto;
}

.error-404 .error-icon {
  font-size: 5rem;
  color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-code {
  font-size: clamp(6rem, 15vw, 12rem);
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 10%);
  font-family: var(--heading-font);
  line-height: 1;
}

.error-404 .error-title {
  font-size: 2rem;
  color: var(--heading-color);
  font-weight: 600;
}

.error-404 .error-text {
  font-size: 1.1rem;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  max-width: 600px;
  margin: 0 auto;
}

.error-404 .search-box {
  max-width: 500px;
  margin: 0 auto;
}

.error-404 .search-box .input-group {
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.error-404 .search-box .form-control {
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  color: var(--default-color);
  background-color: var(--surface-color);
  border-radius: 50px;
}

.error-404 .search-box .form-control:focus {
  box-shadow: none;
  border-color: var(--accent-color);
}

.error-404 .search-box .form-control::placeholder {
  color: color-mix(in srgb, var(--default-color), transparent 60%);
}

.error-404 .search-box .search-btn {
  background-color: var(--accent-color);
  color: var(--contrast-color);
  border: none;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.error-404 .search-box .search-btn:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
}

.error-404 .error-action .btn-primary {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  background-color: var(--accent-color);
  border: none;
  color: var(--contrast-color);
  border-radius: 50px;
  transition: all 0.3s ease;
}

.error-404 .error-action .btn-primary:hover {
  background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .error-404 {
    padding: 60px 0;
  }

  .error-404 .error-code {
    font-size: clamp(4rem, 12vw, 8rem);
  }

  .error-404 .error-title {
    font-size: 1.5rem;
  }

  .error-404 .error-text {
    font-size: 1rem;
    padding: 0 20px;
  }

  .error-404 .search-box {
    margin: 0 20px;
  }
}

/*--------------------------------------------------------------
# Widgets
--------------------------------------------------------------*/
.widgets-container {
  margin: 60px 0 30px 0;
}

.widget-title {
  color: var(--heading-color);
  font-size: 20px;
  font-weight: 600;
  padding: 0 0 10px 0;
  margin: 0 0 20px 0;
  position: relative;
}

.widget-title:before {
  content: "";
  position: absolute;
  display: block;
  height: 2px;
  background: color-mix(in srgb, var(--default-color), transparent 90%);
  left: 0;
  right: 0;
  bottom: 1px;
}

.widget-title:after {
  content: "";
  position: absolute;
  display: block;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  left: 0;
  bottom: 1px;
}

.widget-item {
  margin-bottom: 40px;
}

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

.search-widget form {
  background: var(--background-color);
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 75%);
  padding: 3px 10px;
  position: relative;
  border-radius: 50px;
  transition: 0.3s;
}

.search-widget form input[type=text] {
  border: 0;
  padding: 4px 10px;
  border-radius: 4px;
  width: calc(100% - 40px);
  background-color: var(--background-color);
  color: var(--default-color);
}

.search-widget form input[type=text]:focus {
  outline: none;
}

.search-widget form button {
  background: none;
  color: var(--default-color);
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  font-size: 16px;
  padding: 0 16px;
  transition: 0.3s;
  line-height: 0;
}

.search-widget form button i {
  line-height: 0;
}

.search-widget form button:hover {
  color: var(--accent-color);
}

.search-widget form:is(:focus-within) {
  border-color: var(--accent-color);
}

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

.categories-widget ul li {
  padding-bottom: 10px;
}

.categories-widget ul li:last-child {
  padding-bottom: 0;
}

.categories-widget ul a {
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  transition: 0.3s;
}

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

.categories-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
  font-size: 14px;
}

.recent-posts-widget .post-item {
  display: flex;
  margin-bottom: 15px;
}

.recent-posts-widget .post-item:last-child {
  margin-bottom: 0;
}

.recent-posts-widget .post-item img {
  width: 80px;
  margin-right: 15px;
}

.recent-posts-widget .post-item h4 {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 5px;
}

.recent-posts-widget .post-item h4 a {
  color: var(--default-color);
  transition: 0.3s;
}

.recent-posts-widget .post-item h4 a:hover {
  color: var(--accent-color);
}

.recent-posts-widget .post-item time {
  display: block;
  font-style: italic;
  font-size: 14px;
  color: color-mix(in srgb, var(--default-color), transparent 50%);
}

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

.tags-widget ul li {
  display: inline-block;
}

.tags-widget ul a {
  background-color: color-mix(in srgb, var(--default-color), transparent 94%);
  color: color-mix(in srgb, var(--default-color), transparent 30%);
  border-radius: 50px;
  font-size: 14px;
  padding: 5px 15px;
  margin: 0 6px 8px 0;
  display: inline-block;
  transition: 0.3s;
}

.tags-widget ul a:hover {
  background: var(--accent-color);
  color: var(--contrast-color);
}

.tags-widget ul a span {
  padding-left: 5px;
  color: color-mix(in srgb, var(--default-color), transparent 60%);
  font-size: 14px;
}

/* =========================================================
   OLEJAK EXPERIMENT THEME
========================================================= */
:root {
  --olejak-bg: #101418;
  --olejak-bg-deep: #0c1013;
  --olejak-bg-ink: #0d1114;
  --olejak-bg-soft: #171d22;
  --olejak-surface: #20272d;
  --olejak-surface-deep: #090909;
  --olejak-surface-ink: #07090b;
  --olejak-text: #f2eadc;
  --olejak-muted: #b9afa0;
  --olejak-accent: #b96a45;
  --olejak-clay: #b45230;
  --olejak-light: #d6b56d;
  --olejak-border: rgba(242, 234, 220, 0.14);
  --olejak-shadow-soft: rgba(0, 0, 0, 0.2);
  --olejak-shadow-card: rgba(0, 0, 0, 0.28);
  --olejak-light-wash: rgba(242, 234, 220, 0.032);
}

body.index-page {
  --background-color: var(--olejak-bg);
  --default-color: var(--olejak-text);
  --heading-color: var(--olejak-text);
  --accent-color: var(--olejak-accent);
  --surface-color: var(--olejak-surface);
  --contrast-color: var(--olejak-bg);
  --nav-color: var(--olejak-text);
  --nav-hover-color: var(--olejak-light);
  --nav-mobile-background-color: var(--olejak-bg-soft);
  --nav-dropdown-background-color: var(--olejak-surface);
  --nav-dropdown-color: var(--olejak-text);
  --nav-dropdown-hover-color: var(--olejak-light);
}

body.olejak-light-mode {
  --olejak-bg: #f4f6f3;
  --olejak-bg-deep: #e7ecef;
  --olejak-bg-ink: #f8f9f5;
  --olejak-bg-soft: #eef1ec;
  --olejak-surface: #f8f9f5;
  --olejak-surface-deep: #eef1ec;
  --olejak-surface-ink: #e1e7e4;
  --olejak-text: #171715;
  --olejak-muted: #535a55;
  --olejak-border: rgba(83, 90, 85, 0.24);
  --olejak-shadow-soft: rgba(39, 49, 51, 0.10);
  --olejak-shadow-card: rgba(39, 49, 51, 0.14);
  --olejak-light-wash: rgba(231, 236, 239, 0.42);
  --olejak-cool-wash: rgba(163, 206, 241, 0.08);
  --olejak-blue-depth: rgba(39, 76, 119, 0.10);
  --olejak-action: #ff5d73;
  --olejak-action-hover: #c9344b;
  --olejak-action-soft: rgba(255, 93, 115, 0.10);
  --olejak-action-border: rgba(255, 93, 115, 0.38);
  --background-color: var(--olejak-bg);
  --default-color: var(--olejak-text);
  --heading-color: var(--olejak-text);
  --surface-color: var(--olejak-surface);
  --contrast-color: var(--olejak-text);
  --nav-color: var(--olejak-text);
  --nav-hover-color: #274C77;
  --nav-mobile-background-color: var(--olejak-bg-ink);
  --nav-dropdown-background-color: var(--olejak-surface);
  --nav-dropdown-color: var(--olejak-text);
  --nav-dropdown-hover-color: #274C77;
}

body {
  background:
    radial-gradient(circle at 22% 0%, rgba(214, 181, 109, 0.12), transparent 32rem),
    linear-gradient(180deg, var(--olejak-bg) 0%, var(--olejak-bg-deep) 100%);
}

body,
.main {
  color: var(--olejak-text);
}

.main {
  background:
    linear-gradient(180deg, rgba(16, 20, 24, 0.98) 0%, rgba(16, 20, 24, 0.94) 38%, rgba(23, 29, 34, 0.98) 100%);
}

.index-page .header {
  border-bottom: 1px solid var(--olejak-border);
  padding: 12px 0;
}

@media (min-width: 1200px) {
  .index-page .navmenu a,
  .index-page .navmenu a:focus {
    padding-top: 15px;
    padding-bottom: 15px;
  }
}

.olejak-hero {
  --olejak-pen-background: rgb(16, 20, 24);
  --olejak-pen-black: rgb(242, 234, 220);
  --olejak-pen-dark-gray: rgb(185, 175, 160);
  --olejak-pen-light-gray: rgb(32, 39, 45);
  --olejak-pen-white: rgb(16, 20, 24);
  --olejak-light-gradient: radial-gradient(ellipse at 50% 50%, var(--olejak-pen-white) 0%, var(--olejak-pen-white) 0%, var(--olejak-pen-background) 0%, var(--olejak-pen-background) 100%);
  position: relative;
  isolation: isolate;
  min-height: clamp(540px, 74vh, 760px);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(4.5rem, 8vh, 6.75rem) 0 clamp(4rem, 7vh, 6rem);
  background:
    radial-gradient(circle at 74% 24%, rgba(214, 181, 109, 0.24), transparent 18rem),
    radial-gradient(circle at 18% 82%, rgba(185, 106, 69, 0.13), transparent 24rem),
    linear-gradient(135deg, #0b0f12 0%, var(--olejak-bg) 44%, var(--olejak-bg-soft) 100%);
  border-bottom: 1px solid var(--olejak-border);
}

.olejak-light-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: var(--olejak-light-gradient);
}

.olejak-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(102deg, transparent 0 48%, rgba(214, 181, 109, 0.1) 49%, transparent 58%),
    repeating-linear-gradient(90deg, rgba(242, 234, 220, 0.08) 0 1px, transparent 1px 74px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 32%, rgba(0, 0, 0, 0.36));
  opacity: 0.7;
}

.olejak-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.54), transparent 34%, rgba(0, 0, 0, 0.32)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.4), transparent 24%, rgba(0, 0, 0, 0.22));
}

.olejak-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(330px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: center;
}

.olejak-hero-content {
  max-width: 920px;
  min-width: 0;
}

.olejak-hero-cover {
  justify-self: center;
}

/* ==========================================
   HERO 3D BOOK — bk-book static model (scoped)
   ========================================== */
#olejak-hero .bk-book {
  --bk-w: 276px;
  --bk-h: 398px;
  --bk-depth: 40px;
  --bk-scale: 1.44;
  --bk-y: 9.25rem;
  --bk-spine: #89221B;
  --bk-page: #F5F5F5;
  --bk-back: #4e1512;

  position: relative;
  width: var(--bk-w);
  height: var(--bk-h);
  transform: translateY(var(--bk-y)) scale(var(--bk-scale));
  transform-origin: center right;
  filter:
    drop-shadow(0 30px 58px rgba(0, 0, 0, 0.46))
    drop-shadow(0 12px 22px rgba(0, 0, 0, 0.28));
}

#olejak-hero .bk-front,
#olejak-hero .bk-back,
#olejak-hero .bk-right,
#olejak-hero .bk-left {
  position: absolute;
  top: 0;
}

#olejak-hero .bk-front {
  inset: 0;
  z-index: 5;
}

#olejak-hero .bk-cover,
#olejak-hero .bk-cover-back {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 8px 4px 4px 8px;
}

#olejak-hero .bk-cover {
  background: #111;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.08) inset,
    0 0 0 1px rgba(0, 0, 0, 0.28);
}

#olejak-hero .bk-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.02) 13%, rgba(255, 255, 255, 0.08) 34%, rgba(0, 0, 0, 0.14) 100%),
    radial-gradient(110% 90% at 18% 8%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 55%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

#olejak-hero .bk-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#olejak-hero .bk-cover-back {
  display: none;
}

#olejak-hero .bk-back {
  width: 18px;
  height: calc(var(--bk-h) - 10px);
  right: -24px;
  top: 5px;
  z-index: 1;
  border-radius: 0 7px 7px 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(255, 255, 255, 0.04)),
    var(--bk-back);
  box-shadow: 10px 0 18px rgba(0, 0, 0, 0.18) inset;
}

#olejak-hero .bk-right {
  right: -32px;
  width: 34px;
  height: calc(var(--bk-h) - 14px);
  top: 7px;
  z-index: 3;
  border-radius: 0 7px 7px 0;
  background:
    repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0 1px, transparent 1px 5px),
    linear-gradient(90deg, #fffdf6 0%, var(--bk-page) 38%, #d8d2c6 100%);
  box-shadow:
    14px 0 18px rgba(0, 0, 0, 0.18) inset,
    -4px 0 8px rgba(0, 0, 0, 0.18) inset,
    0 0 0 1px rgba(0, 0, 0, 0.12);
}

#olejak-hero .bk-left {
  right: -8px;
  width: 12px;
  height: var(--bk-h);
  z-index: 4;
  border-radius: 0 4px 4px 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.42), rgba(255, 255, 255, 0.08)),
    var(--bk-spine);
  box-shadow:
    -6px 0 10px rgba(0, 0, 0, 0.22) inset,
    0 0 0 1px rgba(0, 0, 0, 0.18);
}

.olejak-eyebrow {
  margin: 0 0 24px;
  color: var(--olejak-light);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.olejak-hero h1 {
  max-width: 920px;
  margin: 0;
  color: var(--olejak-pen-black);
  font-family: var(--heading-font);
  font-size: clamp(2.35rem, 5.35vw, 5.15rem);
  font-weight: 700;
  line-height: 1;
}

.olejak-deck {
  max-width: 710px;
  margin: 30px 0 0;
  color: var(--olejak-pen-dark-gray);
  font-size: clamp(1.08rem, 1.7vw, 1.34rem);
  line-height: 1.75;
}

.olejak-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 42px;
}

#olejak-hero.olejak-hero { min-height: clamp(480px, 64vh, 640px); padding-top: clamp(1.5rem, 2.75vh, 2.75rem); padding-bottom: clamp(2rem, 3.25vh, 3.25rem); }

#olejak-hero .olejak-hero-grid {
  grid-template-columns: minmax(380px, 0.96fr) minmax(0, 1.04fr);
  gap: clamp(3rem, 6vw, 6rem);
  align-items: start;
  padding-top: clamp(0.25rem, 1vh, 0.75rem);
}

#olejak-hero .olejak-hero-cover {
  align-self: start;
  justify-self: center;
  position: relative;
  margin-top: clamp(1.5rem, 3.5vh, 3.25rem);
}

#olejak-hero .book-cover.libro {
  --book-scale: 1.44;
  transform:
    translateY(9.25rem)
    scale(var(--book-scale))
    scaleX(var(--book-squash-x))
    scaleY(var(--book-squash-y));
}

#olejak-hero .olejak-hero-content h1 {
  font-size: clamp(2rem, 4.1vw, 4.05rem);
  line-height: 0.96;
  margin-bottom: clamp(1rem, 2vh, 1.65rem);
}

#olejak-hero .olejak-deck {
  margin: 0;
}

#olejak-hero .olejak-hero-actions {
  margin-top: clamp(1.35rem, 2.35vh, 1.85rem);
}

.olejak-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  border: 1px solid var(--olejak-border);
  border-radius: 3px;
  color: var(--olejak-text);
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.2;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.olejak-light-system {
  display: inline-flex;
  margin: 0 0 28px;
}

.olejak-inner-light-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 14px 8px 10px;
  border: 1px solid color-mix(in srgb, var(--olejak-pen-black), transparent 84%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--olejak-pen-background), transparent 14%);
  color: var(--olejak-pen-black);
  font: 700 0.78rem/1.2 var(--default-font);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(16, 20, 24, 0.24), 0 14px 36px rgba(0, 0, 0, 0.16);
  transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.olejak-inner-light-toggle:hover {
  border-color: color-mix(in srgb, var(--olejak-pen-black), transparent 62%);
  transform: translateY(-1px);
}

.olejak-inner-light-toggle:focus-visible {
  outline: 2px solid var(--olejak-light);
  outline-offset: 3px;
}

.olejak-inner-light-source {
  display: block;
  width: 16px;
  height: 16px;
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 32%);
  border-radius: 999px;
  background:
    radial-gradient(circle at 50% 50%, var(--olejak-light) 0 14%, rgba(214, 181, 109, 0.48) 15% 42%, rgba(214, 181, 109, 0.1) 43% 100%);
  box-shadow:
    0 0 0 4px rgba(214, 181, 109, 0.06),
    0 0 18px rgba(214, 181, 109, 0.26);
  flex: 0 0 auto;
}

.olejak-inner-light-text {
  color: var(--olejak-pen-black);
  white-space: nowrap;
}

.olejak-inner-light-toggle[aria-pressed="true"] .olejak-inner-light-source {
  background:
    radial-gradient(circle at 50% 50%, #fffaf0 0 20%, var(--olejak-light) 21% 54%, rgba(214, 181, 109, 0.2) 55% 100%);
  box-shadow:
    0 0 0 5px rgba(214, 181, 109, 0.1),
    0 0 28px rgba(214, 181, 109, 0.42);
}

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

.olejak-btn-primary {
  background: var(--olejak-accent);
  border-color: color-mix(in srgb, var(--olejak-accent), var(--olejak-text) 18%);
  color: #140f0d;
}

.olejak-btn-primary:hover {
  background: color-mix(in srgb, var(--olejak-accent), var(--olejak-light) 22%);
  color: #140f0d;
}

.olejak-btn-secondary {
  background: rgba(32, 39, 45, 0.58);
  color: var(--olejak-text);
}

.olejak-btn-secondary:hover {
  background: rgba(242, 234, 220, 0.1);
  border-color: rgba(242, 234, 220, 0.3);
  color: var(--olejak-text);
}

.blog-hero,
.featured-posts,
.category-section,
.latest-posts {
  background-color: var(--olejak-bg-soft);
  color: var(--olejak-text);
}

@media (max-width: 1199px) {
  .olejak-hero {
    min-height: auto;
    padding: clamp(4rem, 7vh, 5.5rem) 0 clamp(3.75rem, 6vh, 5rem);
  }

  .olejak-hero-grid {
    grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1fr);
    gap: clamp(40px, 6vw, 68px);
  }

  #olejak-hero .olejak-hero-content h1 {
    font-size: clamp(2rem, 4.45vw, 3.45rem);
    line-height: 0.98;
  }

  #olejak-hero .bk-book {
    --bk-scale: 1.24;
  }
}

@media (max-width: 1100px) {
  #olejak-hero .bk-book {
    display: none !important;
  }

  #olejak-hero .olejak-hero-cover {
    display: none;
  }

  #olejak-hero .olejak-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  #olejak-hero .olejak-hero-content {
    max-width: 880px;
    justify-self: center;
  }
}

@media (max-width: 767px) {
  .olejak-hero {
    padding: 82px 0 64px;
  }

  .olejak-hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    align-items: start;
  }

  .olejak-hero-content {
    width: 100%;
  }

  .olejak-hero::before {
    background:
      linear-gradient(108deg, transparent 0 42%, rgba(214, 181, 109, 0.11) 43%, transparent 62%),
      repeating-linear-gradient(90deg, rgba(242, 234, 220, 0.07) 0 1px, transparent 1px 50px),
      linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 42%, rgba(0, 0, 0, 0.36));
  }

  .olejak-eyebrow {
    margin-bottom: 18px;
    font-size: 0.72rem;
  }

  .olejak-hero h1 {
    font-size: clamp(2.35rem, 12vw, 3.85rem);
    line-height: 1.04;
  }

  .olejak-deck {
    margin-top: 24px;
    font-size: 1rem;
    line-height: 1.65;
  }

  .olejak-hero-actions {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  #olejak-hero .olejak-hero-actions {
    margin-top: 34px;
  }

  .olejak-btn {
    width: 100%;
  }

  .olejak-light-system,
  .olejak-inner-light-toggle {
    width: 100%;
  }

  .olejak-light-system {
    margin-bottom: 22px;
  }
}

/* =========================================================
   OLEJAK EXPLORE HERO EXPERIMENT
========================================================= */
.olejak-witness-way {
  position: relative;
  overflow: hidden;
  min-height: 88vh;
  padding: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 181, 109, 0.1), transparent 34rem),
    linear-gradient(180deg, #0c1013 0%, var(--olejak-bg) 100%);
  color: var(--olejak-text);
  border-top: 1px solid var(--olejak-border);
  border-bottom: 1px solid var(--olejak-border);
}

.olejak-witness-way-shell {
  position: relative;
  min-height: inherit;
  display: grid;
  grid-template-rows: auto minmax(34rem, 1fr);
  align-content: end;
  gap: 18px;
  padding: clamp(24px, 4vw, 48px);
}

.olejak-witness-way-kicker {
  position: relative;
  z-index: 4;
  width: fit-content;
  margin: 0;
  color: var(--olejak-light);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.olejak-witness-way-panels {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  min-height: clamp(34rem, 72vh, 52rem);
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid var(--olejak-border);
  box-shadow: 0 28px 84px rgba(0, 0, 0, 0.34);
}

.olejak-witness-way-panel {
  min-width: 0;
  min-height: inherit;
  opacity: 0;
  transform: translateY(28px);
  animation: olejakWitnessWayPanelIn 720ms ease forwards;
}

.olejak-witness-way-panel:nth-child(1) {
  animation-delay: 80ms;
}

.olejak-witness-way-panel:nth-child(2) {
  animation-delay: 180ms;
}

.olejak-witness-way-panel:nth-child(3) {
  animation-delay: 280ms;
}

.olejak-witness-way-panel:nth-child(4) {
  animation-delay: 380ms;
}

.olejak-witness-way-panel-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
  border: 0;
  border-right: 1px solid var(--olejak-border);
  color: var(--olejak-text);
  background: var(--olejak-surface);
}

.olejak-witness-way-panel:last-child .olejak-witness-way-panel-link {
  border-right: 0;
}

.olejak-witness-way-panel-link::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.38) 0%, rgba(0, 0, 0, 0.12) 42%, rgba(0, 0, 0, 0.28) 100%),
    linear-gradient(90deg, rgba(16, 20, 24, 0.18), transparent 42%, rgba(16, 20, 24, 0.12));
  pointer-events: none;
}

.olejak-witness-way-panel-link::after {
  content: "";
  position: absolute;
  left: 26px;
  right: 26px;
  top: clamp(105px, 15vh, 150px);
  z-index: 2;
  height: 2px;
  background: color-mix(in srgb, var(--olejak-light), transparent 62%);
  transform: scaleX(0.18);
  transform-origin: left center;
  transition: transform 0.35s ease, background-color 0.35s ease, box-shadow 0.35s ease;
}

.olejak-witness-way-panel-link:hover,
.olejak-witness-way-panel-link:focus-visible {
  color: var(--olejak-text);
}

.olejak-witness-way-panel-link:focus-visible {
  outline: 2px solid var(--olejak-light);
  outline-offset: 4px;
}

.olejak-witness-way-panel-link:hover::before,
.olejak-witness-way-panel-link:focus-visible::before {
  opacity: 0.68;
}

.olejak-witness-way-panel-link:hover::after,
.olejak-witness-way-panel-link:focus-visible::after {
  background: var(--olejak-light);
  transform: scaleX(1);
  box-shadow: 0 0 22px rgba(214, 181, 109, 0.24);
}

.olejak-witness-way-panel-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  min-height: inherit;
  background-image:
    var(--olejak-panel-image),
    radial-gradient(circle at 50% 30%, rgba(214, 181, 109, 0.1), transparent 32rem),
    linear-gradient(135deg, #1b2228, #0e1215);
  background-position:
    var(--olejak-panel-position, center),
    center,
    center;
  background-size:
    cover,
    cover,
    cover;
  background-repeat: no-repeat;
  filter: none;
  transform: scale(1.02);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.olejak-witness-way-panel:nth-child(1) .olejak-witness-way-panel-media {
  background-image:
    url("../img/witness/olejak-witness-01-book.webp"),
    radial-gradient(circle at 50% 30%, rgba(214, 181, 109, 0.1), transparent 32rem),
    linear-gradient(135deg, #1b2228, #0e1215);
}

.olejak-witness-way-panel:nth-child(2) .olejak-witness-way-panel-media {
  background-image:
    url("../img/witness/olejak-witness-02-sentence.webp"),
    radial-gradient(circle at 50% 30%, rgba(214, 181, 109, 0.1), transparent 32rem),
    linear-gradient(135deg, #1b2228, #0e1215);
}

.olejak-witness-way-panel:nth-child(3) .olejak-witness-way-panel-media {
  background-image:
    url("../img/witness/olejak-witness-03-inside-jail.webp"),
    radial-gradient(circle at 50% 30%, rgba(214, 181, 109, 0.1), transparent 32rem),
    linear-gradient(135deg, #1b2228, #0e1215);
}

.olejak-witness-way-panel:nth-child(4) .olejak-witness-way-panel-media {
  background-image:
    url("../img/witness/olejak-witness-04-widens.webp"),
    radial-gradient(circle at 50% 30%, rgba(214, 181, 109, 0.1), transparent 32rem),
    linear-gradient(135deg, #1b2228, #0e1215);
}

.olejak-witness-way-panel-link:hover .olejak-witness-way-panel-media,
.olejak-witness-way-panel-link:focus-visible .olejak-witness-way-panel-media {
  filter: grayscale(0.18) brightness(0.94) contrast(1.02);
  transform: scale(1.075);
}

.olejak-witness-way-panel-content {
  position: relative;
  z-index: 3;
  display: grid;
  gap: 10px;
  width: 100%;
  min-height: clamp(128px, 18vh, 176px);
  padding: 28px 26px 34px;
  background:
    linear-gradient(180deg, rgba(16, 20, 24, 0.76), rgba(16, 20, 24, 0.34) 76%, transparent);
  transition: background-color 0.35s ease, transform 0.35s ease;
}

.olejak-witness-way-panel-link:hover .olejak-witness-way-panel-content,
.olejak-witness-way-panel-link:focus-visible .olejak-witness-way-panel-content {
  background:
    linear-gradient(180deg, rgba(16, 20, 24, 0.88), rgba(16, 20, 24, 0.46) 76%, transparent);
}

.olejak-witness-way-title {
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(1.5rem, 2vw, 2.35rem);
  font-weight: 700;
  line-height: 1.04;
  transition: color 0.35s ease;
}

.olejak-witness-way-line {
  max-width: 18rem;
  color: color-mix(in srgb, var(--olejak-muted), transparent 8%);
  font-size: 0.95rem;
  line-height: 1.55;
  opacity: 0.82;
  transition: color 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.olejak-witness-way-panel-link:hover .olejak-witness-way-title,
.olejak-witness-way-panel-link:focus-visible .olejak-witness-way-title {
  color: var(--olejak-light);
}

.olejak-witness-way-panel-link:hover .olejak-witness-way-line,
.olejak-witness-way-panel-link:focus-visible .olejak-witness-way-line {
  color: var(--olejak-text);
  opacity: 1;
  transform: translateY(2px);
}

.olejak-witness-way-word {
  position: absolute;
  z-index: 3;
  left: clamp(10px, 2vw, 32px);
  right: -8vw;
  bottom: -0.17em;
  margin: 0;
  color: rgba(242, 234, 220, 0.1);
  font-family: var(--heading-font);
  font-size: clamp(8rem, 18vw, 20rem);
  font-weight: 800;
  line-height: 0.72;
  mix-blend-mode: screen;
  opacity: 0.62;
  pointer-events: none;
}

@keyframes olejakWitnessWayPanelIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1199px) {
  .olejak-witness-way {
    min-height: auto;
  }

  .olejak-witness-way-shell {
    min-height: auto;
  }

  .olejak-witness-way-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: auto;
  }

  .olejak-witness-way-panel-link {
    min-height: clamp(22rem, 42vh, 32rem);
  }

  .olejak-witness-way-panel:nth-child(2) .olejak-witness-way-panel-link {
    border-right: 0;
  }

  .olejak-witness-way-panel:nth-child(1) .olejak-witness-way-panel-link,
  .olejak-witness-way-panel:nth-child(2) .olejak-witness-way-panel-link {
    border-bottom: 1px solid var(--olejak-border);
  }
}

@media (max-width: 767px) {
  .olejak-witness-way-shell {
    min-height: auto;
    padding: 38px 18px;
  }

  .olejak-witness-way-panels {
    grid-template-columns: 1fr;
  }

  .olejak-witness-way-panel-link {
    min-height: clamp(18rem, 58vh, 24rem);
    border-right: 0;
    border-bottom: 1px solid var(--olejak-border);
  }

  .olejak-witness-way-panel-content {
    min-height: 128px;
    padding: 24px 20px 34px;
  }

  .olejak-witness-way-word {
    left: 12px;
    right: -20vw;
    top: auto;
    bottom: auto;
    bottom: -0.08em;
    font-size: clamp(4.2rem, 25vw, 8rem);
    opacity: 0.42;
  }
}

@media (prefers-reduced-motion: reduce) {
  .olejak-witness-way * {
    animation: none !important;
    transition-duration: 0.01ms !important;
  }
}

/* =========================================================
   OLEJAK HOMEPAGE, PLACEHOLDER PAGES, AND FOOTER
========================================================= */
.olejak-section-kicker {
  margin: 0 0 14px;
  color: var(--olejak-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
}

.olejak-home-section,
.olejak-page-hero,
.olejak-page-content {
  background:
    radial-gradient(circle at 12% 8%, rgba(214, 181, 109, 0.09), transparent 26rem),
    linear-gradient(180deg, var(--olejak-bg) 0%, var(--olejak-bg-ink) 100%);
  color: var(--olejak-text);
  border-bottom: 1px solid var(--olejak-border);
}

.olejak-home-section {
  padding: clamp(72px, 9vw, 126px) 0;
}

.olejak-home-section-alt {
  background:
    radial-gradient(circle at 84% 16%, rgba(180, 82, 48, 0.12), transparent 28rem),
    linear-gradient(180deg, var(--olejak-bg-deep) 0%, var(--olejak-bg-soft) 100%);
}

.olejak-home-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.olejak-home-copy {
  max-width: 760px;
}

.olejak-home-copy h2,
.olejak-home-buy h2,
.olejak-page-hero h1 {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.olejak-home-copy h2,
.olejak-home-buy h2 {
  font-size: clamp(2.15rem, 4.2vw, 4.6rem);
}

.olejak-home-copy p,
.olejak-home-buy p,
.olejak-page-hero p,
.olejak-page-grid p {
  color: var(--olejak-muted);
  font-size: 1.05rem;
  line-height: 1.72;
}

.olejak-home-copy p:not(.olejak-section-kicker),
.olejak-home-buy p:not(.olejak-section-kicker) {
  max-width: 66ch;
  margin: 24px 0 0;
  font-size: clamp(1.04rem, 0.99rem + 0.2vw, 1.16rem);
  line-height: 1.78;
}

.olejak-link-button,
.olejak-disabled-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-transform: uppercase;
}

.olejak-link-button {
  margin-top: 30px;
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 25%);
  background: rgba(214, 181, 109, 0.1);
  color: var(--olejak-text);
}

.olejak-link-button-secondary {
  border-color: color-mix(in srgb, var(--olejak-light), transparent 62%);
  background: rgba(32, 39, 45, 0.34);
  color: color-mix(in srgb, var(--olejak-text), transparent 8%);
}

.olejak-link-button:hover,
.olejak-link-button:focus-visible {
  background: var(--olejak-light);
  color: var(--olejak-bg);
}

.olejak-link-button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--olejak-light), transparent 18%);
  outline-offset: 3px;
}

.olejak-link-button-secondary:hover,
.olejak-link-button-secondary:focus-visible {
  border-color: color-mix(in srgb, var(--olejak-light), transparent 38%);
  background: rgba(214, 181, 109, 0.12);
  color: var(--olejak-text);
}

.olejak-disabled-button {
  border: 1px solid color-mix(in srgb, var(--olejak-muted), transparent 55%);
  background: rgba(242, 234, 220, 0.06);
  color: color-mix(in srgb, var(--olejak-muted), transparent 10%);
}

.olejak-home-note,
.olejak-home-card-grid article,
.olejak-page-grid article {
  border: 1px solid var(--olejak-border);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(242, 234, 220, 0.07), rgba(242, 234, 220, 0.025));
  box-shadow: 0 24px 70px var(--olejak-shadow-soft);
}

.olejak-home-note {
  padding: clamp(28px, 4vw, 44px);
}

.olejak-home-note h3,
.olejak-home-card-grid h3,
.olejak-page-grid h2,
.olejak-footer-links h5 {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-weight: 800;
  line-height: 1.12;
}

.olejak-home-note p {
  margin: 16px 0 0;
  color: var(--olejak-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.olejak-quote-carousel {
  position: relative;
  align-self: stretch;
  display: grid;
  gap: 24px;
  min-height: clamp(390px, 34vw, 470px);
  padding: clamp(32px, 4.4vw, 48px);
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 72%);
  border-radius: 4px;
  background:
    linear-gradient(180deg, var(--olejak-light-wash), rgba(242, 234, 220, 0.014)),
    rgba(12, 15, 16, 0.88);
  box-shadow:
    0 24px 64px var(--olejak-shadow-card),
    0 0 34px rgba(214, 181, 109, 0.035);
  overflow: hidden;
  isolation: isolate;
}

.olejak-quote-carousel::before,
.olejak-quote-carousel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.olejak-quote-carousel::before {
  inset: 16px;
  border: 1px solid rgba(242, 234, 220, 0.042);
  z-index: -1;
}

.olejak-quote-carousel::after {
  right: -18%;
  bottom: -28%;
  width: 46%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(214, 181, 109, 0.034);
  filter: blur(42px);
  z-index: -2;
}

.olejak-quote-carousel--witness {
  min-height: clamp(430px, 37vw, 520px);
  border-color: color-mix(in srgb, var(--olejak-clay), transparent 70%);
  background:
    linear-gradient(90deg, rgba(214, 181, 109, 0.045), transparent 34%),
    linear-gradient(180deg, rgba(242, 234, 220, 0.026), rgba(242, 234, 220, 0.012)),
    rgba(11, 14, 15, 0.9);
  box-shadow:
    0 24px 64px var(--olejak-shadow-card),
    0 0 32px rgba(180, 82, 48, 0.035);
}

.olejak-quote-carousel--witness::before {
  border-color: rgba(214, 181, 109, 0.05);
}

.olejak-quote-carousel--witness::after {
  top: 10%;
  right: -28%;
  bottom: auto;
  width: 58%;
  background: rgba(242, 234, 220, 0.025);
  filter: blur(48px);
}

.olejak-book-reviews-section {
  padding-top: clamp(62px, 7vw, 92px);
}

.olejak-book-reviews-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.58fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}

.olejak-book-reviews-copy {
  max-width: 520px;
}

.olejak-book-reviews-copy h2 {
  max-width: 8.5em;
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(2rem, 3.9vw, 4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.06;
}

.olejak-book-reviews-copy p:not(.olejak-section-kicker) {
  max-width: 68ch;
  margin: 20px 0 0;
  color: var(--olejak-muted);
  font-size: clamp(1.02rem, 0.98rem + 0.18vw, 1.12rem);
  line-height: 1.75;
}

.olejak-book-reviews-carousel-wrap {
  min-width: 0;
}

.olejak-book-reviews-carousel-wrap .olejak-quote-carousel {
  width: 100%;
  max-width: 760px;
  margin: 0;
}

.olejak-book-reviews-section .olejak-quote-carousel--reviews {
  min-height: clamp(430px, 34vw, 510px);
}

.olejak-book-reviews-section .olejak-quote-carousel--reviews .olejak-quote-track,
.olejak-book-reviews-section .olejak-quote-carousel--reviews .olejak-quote-card {
  min-height: clamp(305px, 26vw, 370px);
}

.olejak-book-reviews-section .olejak-quote-carousel--reviews .olejak-quote-card {
  align-content: center;
  gap: clamp(18px, 2.4vw, 26px);
}

.olejak-book-reviews-section .olejak-quote-carousel--reviews .olejak-quote-text p {
  max-width: 42em;
  font-size: clamp(1.08rem, 1.03rem + 0.44vw, 1.45rem);
  font-weight: 600;
  line-height: 1.52;
}

.olejak-review-note {
  color: var(--olejak-muted);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}

.olejak-quote-track {
  position: relative;
  display: grid;
  min-height: clamp(270px, 25vw, 330px);
}

.olejak-quote-card {
  display: grid;
  align-content: center;
  gap: clamp(20px, 3vw, 30px);
  min-height: clamp(270px, 25vw, 330px);
  margin: 0;
}

.olejak-quote-card + .olejak-quote-card {
  display: none;
}

.olejak-quote-carousel.is-ready .olejak-quote-card {
  display: grid;
  grid-area: 1 / 1;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 360ms ease,
    transform 360ms ease;
}

.olejak-quote-carousel.is-ready .olejak-quote-card:not(.is-active) {
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  visibility: hidden;
}

.olejak-quote-text {
  margin: 0;
}

.olejak-quote-text p {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(1.42rem, 2.15vw, 2.08rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.23;
}

.olejak-quote-name {
  display: flex;
  align-items: center;
  gap: 13px;
  color: var(--olejak-light);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.4;
  text-transform: uppercase;
}

.olejak-quote-name::before {
  content: "";
  display: block;
  width: 36px;
  height: 1px;
  background: color-mix(in srgb, var(--olejak-light), transparent 26%);
}

.olejak-witness-card-kicker {
  margin: 0;
  color: var(--olejak-light);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-quote-carousel--witness .olejak-quote-card {
  gap: clamp(16px, 2.4vw, 24px);
  min-height: clamp(310px, 28vw, 380px);
}

.olejak-quote-carousel--witness .olejak-quote-track {
  min-height: clamp(310px, 28vw, 380px);
}

.olejak-quote-carousel--witness .olejak-quote-text p {
  font-size: clamp(1.25rem, 1.8vw, 1.78rem);
  line-height: 1.3;
}

.olejak-quote-carousel--witness .olejak-quote-name {
  color: color-mix(in srgb, var(--olejak-text), transparent 18%);
  font-size: 0.76rem;
  font-style: normal;
}

.olejak-quote-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 40px;
}

.olejak-quote-prev,
.olejak-quote-next,
.olejak-quote-dots button {
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 74%);
  background: rgba(8, 10, 11, 0.58);
  color: var(--olejak-text);
}

.olejak-quote-prev,
.olejak-quote-next {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 1rem;
  line-height: 1;
}

.olejak-quote-dots {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  max-width: 150px;
}

.olejak-quote-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 50%;
  opacity: 0.52;
}

.olejak-quote-prev:hover,
.olejak-quote-prev:focus-visible,
.olejak-quote-next:hover,
.olejak-quote-next:focus-visible,
.olejak-quote-dots button:hover,
.olejak-quote-dots button:focus-visible,
.olejak-quote-dots button.is-active {
  border-color: color-mix(in srgb, var(--olejak-light), transparent 34%);
  background: rgba(214, 181, 109, 0.11);
  color: var(--olejak-light);
  opacity: 1;
}

.olejak-quote-prev:focus-visible,
.olejak-quote-next:focus-visible,
.olejak-quote-dots button:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--olejak-light), transparent 18%);
  outline-offset: 3px;
}

.olejak-speaking-form-card {
  align-self: center;
  padding: clamp(24px, 3.4vw, 40px);
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 72%);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(242, 234, 220, 0.034), rgba(242, 234, 220, 0.014)),
    rgba(11, 14, 15, 0.9);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.26),
    0 0 30px rgba(214, 181, 109, 0.032);
}

.olejak-speaking-form-card h3 {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(1.55rem, 2.2vw, 2.1rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.olejak-speaking-form-card > p {
  margin: 12px 0 0;
  color: var(--olejak-muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.olejak-speaking-form {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

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

.olejak-form-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.olejak-form-field-full {
  grid-column: 1 / -1;
}

.olejak-form-field label,
.olejak-form-checkbox {
  color: color-mix(in srgb, var(--olejak-text), transparent 12%);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-form-field label span {
  color: var(--olejak-light);
}

.olejak-form-field input,
.olejak-form-field select,
.olejak-form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(242, 234, 220, 0.16);
  border-radius: 4px;
  background: rgba(6, 8, 9, 0.62);
  color: var(--olejak-text);
  font: inherit;
  font-size: 0.96rem;
  line-height: 1.4;
  padding: 12px;
  transition:
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.olejak-form-field textarea {
  min-height: 128px;
  resize: vertical;
}

.olejak-form-field select {
  appearance: auto;
}

.olejak-form-field input::placeholder,
.olejak-form-field textarea::placeholder {
  color: color-mix(in srgb, var(--olejak-muted), transparent 28%);
}

.olejak-form-field input:focus,
.olejak-form-field select:focus,
.olejak-form-field textarea:focus {
  border-color: color-mix(in srgb, var(--olejak-light), transparent 28%);
  background: rgba(8, 11, 12, 0.82);
  box-shadow: 0 0 0 3px rgba(214, 181, 109, 0.13);
  outline: 0;
}

.olejak-form-checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  text-transform: none;
  letter-spacing: 0;
  cursor: pointer;
}

.olejak-form-checkbox input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--olejak-light);
}

.olejak-speaking-form .olejak-link-button {
  justify-self: start;
  margin-top: 0;
}

.olejak-form-note {
  margin: -4px 0 0;
  color: color-mix(in srgb, var(--olejak-muted), transparent 10%);
  font-size: 0.84rem;
  line-height: 1.5;
}

.olejak-home-card-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.olejak-home-card-grid article,
.olejak-page-grid article {
  padding: 26px;
}

.olejak-home-card-grid p {
  margin: 12px 0 0;
  color: var(--olejak-muted);
  line-height: 1.65;
}

.olejak-home-buy {
  max-width: 840px;
}

.olejak-buy-section {
  background:
    radial-gradient(circle at 50% 8%, rgba(214, 181, 109, 0.075), transparent 30rem),
    linear-gradient(180deg, var(--olejak-bg-deep) 0%, var(--olejak-bg) 100%);
}

.olejak-buy-section .olejak-home-buy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.olejak-buy-section .olejak-home-buy p {
  margin-right: auto;
  margin-left: auto;
}

.olejak-purchase-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(32px, 5vw, 56px);
}

.olejak-purchase-card {
  position: relative;
  display: grid;
  grid-template-rows: auto auto auto 1fr auto;
  gap: 16px;
  min-width: 0;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 72%);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(242, 234, 220, 0.038), rgba(242, 234, 220, 0.014)),
    rgba(11, 14, 15, 0.92);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.25),
    0 0 28px rgba(214, 181, 109, 0.032);
}

.olejak-purchase-card::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(242, 234, 220, 0.04);
  pointer-events: none;
}

.olejak-purchase-icon {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto;
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 58%);
  border-radius: 50%;
  background: rgba(214, 181, 109, 0.09);
  color: var(--olejak-light);
  font-size: 1.35rem;
  line-height: 1;
}

.olejak-purchase-icon-letter {
  font-family: var(--heading-font);
  font-weight: 800;
}

.olejak-purchase-heading {
  text-align: center;
}

.olejak-purchase-retailer {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.1;
}

.olejak-purchase-format {
  margin: 9px 0 0;
  color: var(--olejak-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-purchase-price {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(2.25rem, 4vw, 3.3rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
}

.olejak-purchase-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  color: var(--olejak-muted);
  font-size: 0.95rem;
  line-height: 1.48;
  list-style: none;
}

.olejak-purchase-list li {
  position: relative;
  padding-left: 18px;
}

.olejak-purchase-list li::before {
  content: "";
  position: absolute;
  top: 0.68em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--olejak-accent), var(--olejak-light) 30%);
}

.olejak-purchase-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 20px;
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 28%);
  border-radius: 4px;
  background: rgba(214, 181, 109, 0.13);
  color: var(--olejak-text);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.olejak-purchase-link:hover,
.olejak-purchase-link:focus-visible {
  background: var(--olejak-light);
  color: var(--olejak-bg);
}

.olejak-purchase-link:focus-visible {
  outline: 2px solid color-mix(in srgb, var(--olejak-light), transparent 18%);
  outline-offset: 3px;
}

.olejak-purchase-meta,
.olejak-purchase-note {
  max-width: 920px;
  margin-right: auto;
  margin-left: auto;
}

.olejak-purchase-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 42px);
  color: color-mix(in srgb, var(--olejak-text), transparent 16%);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.45;
  text-transform: uppercase;
}

.olejak-purchase-meta span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.olejak-purchase-meta span + span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: color-mix(in srgb, var(--olejak-light), transparent 35%);
}

.olejak-purchase-note {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--olejak-border);
  text-align: center;
}

.olejak-purchase-note p {
  margin: 0;
  color: var(--olejak-muted);
  font-size: 0.95rem;
  line-height: 1.65;
}

.olejak-home-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 32px;
}

.olejak-home-actions .olejak-link-button {
  margin-top: 0;
}

.olejak-filtered-light-section {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.olejak-filtered-light-section::before,
.olejak-filtered-light-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.olejak-filtered-light-section .container {
  position: relative;
  z-index: 2;
}

.olejak-light--media-window::before {
  background:
    radial-gradient(ellipse at 78% 36%, rgba(214, 181, 109, 0.11), transparent 22rem),
    linear-gradient(112deg, transparent 0 48%, rgba(242, 234, 220, 0.04) 58%, transparent 78%);
  opacity: 0.78;
}

.olejak-light--media-window::after {
  left: 52%;
  width: 48%;
  background:
    linear-gradient(180deg, transparent 0%, rgba(214, 181, 109, 0.045) 38%, transparent 76%);
  opacity: 0.7;
  transform: skewX(-10deg);
}

.olejak-light--inside-slats::before {
  background:
    linear-gradient(103deg, transparent 0 54%, rgba(242, 234, 220, 0.04) 55% 57%, transparent 58% 100%),
    linear-gradient(103deg, transparent 0 62%, rgba(214, 181, 109, 0.045) 63% 66%, transparent 67% 100%),
    radial-gradient(ellipse at 74% 58%, rgba(214, 181, 109, 0.055), transparent 24rem);
  opacity: 0.78;
}

.olejak-light--inside-slats::after {
  right: -16%;
  bottom: 8%;
  left: auto;
  width: 48%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(214, 181, 109, 0.045);
  filter: blur(48px);
  opacity: 0.78;
}

.olejak-light--widening-field::before {
  background:
    radial-gradient(ellipse at 58% 38%, rgba(214, 181, 109, 0.1), transparent 34rem),
    radial-gradient(ellipse at 35% 74%, rgba(242, 234, 220, 0.045), transparent 32rem);
  opacity: 0.88;
}

.olejak-light--widening-field::after {
  background:
    linear-gradient(90deg, transparent 0%, rgba(214, 181, 109, 0.042) 38%, rgba(242, 234, 220, 0.03) 54%, transparent 82%);
  opacity: 0.72;
}

.olejak-light--community::before {
  background:
    radial-gradient(ellipse at 76% 52%, rgba(214, 181, 109, 0.105), transparent 25rem),
    radial-gradient(ellipse at 86% 18%, rgba(185, 106, 69, 0.07), transparent 20rem);
  opacity: 0.82;
}

.olejak-light--community::after {
  left: 50%;
  width: 50%;
  background:
    linear-gradient(110deg, transparent 0 22%, rgba(242, 234, 220, 0.035) 42%, transparent 72%);
  opacity: 0.64;
  transform: skewX(-8deg);
}

.olejak-light--book-counter::before {
  background:
    radial-gradient(ellipse at 50% 20%, rgba(214, 181, 109, 0.095), transparent 34rem),
    linear-gradient(180deg, rgba(242, 234, 220, 0.035), transparent 42%);
  opacity: 0.82;
}

.olejak-light--book-counter::after {
  top: 36%;
  background:
    linear-gradient(90deg, transparent 4%, rgba(214, 181, 109, 0.032) 22%, transparent 42%, rgba(242, 234, 220, 0.026) 62%, transparent 86%);
  opacity: 0.7;
}

#about-the-book-preview {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 44%, rgba(214, 181, 109, 0.09), transparent 24rem),
    radial-gradient(ellipse at 50% 100%, rgba(242, 234, 220, 0.055), transparent 34rem),
    linear-gradient(180deg, var(--olejak-bg) 0%, var(--olejak-bg-ink) 100%);
}

#about-the-book-preview::before,
#about-the-book-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

#about-the-book-preview::before {
  z-index: -2;
  background:
    radial-gradient(ellipse at 76% 42%, rgba(214, 181, 109, 0.16), transparent 22rem),
    radial-gradient(ellipse at 58% 88%, rgba(242, 234, 220, 0.08), transparent 30rem);
}

#about-the-book-preview::after {
  z-index: -1;
  width: 54%;
  left: 46%;
  background:
    linear-gradient(112deg, transparent 0 18%, rgba(214, 181, 109, 0.075) 36%, transparent 68%);
  transform: skewX(-12deg);
  opacity: 0.72;
}

#about-the-book-preview .container {
  position: relative;
  z-index: 1;
}

#about-the-book-preview .olejak-home-split {
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.58fr);
}

#about-the-book-preview .olejak-home-copy p:not(.olejak-section-kicker) {
  max-width: min(680px, 66ch);
}

.olejak-book-feature {
  justify-self: center;
  width: min(100%, 360px);
}

.olejak-book-feature-cover {
  position: relative;
  width: min(100%, 300px);
  margin: 0 auto;
  border-radius: 4px;
  background: var(--olejak-surface-deep);
  box-shadow:
    -14px 18px 0 rgba(0, 0, 0, 0.26),
    0 28px 78px rgba(0, 0, 0, 0.42),
    0 0 70px rgba(214, 181, 109, 0.12);
}

.olejak-book-feature-cover::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -12px;
  width: 13px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.76), rgba(255, 255, 255, 0.05)),
    var(--olejak-surface-deep);
  box-shadow:
    6px 0 12px rgba(0, 0, 0, 0.34) inset,
    0 0 0 1px rgba(255, 255, 255, 0.035);
}

.olejak-book-feature-cover img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}

.olejak-book-feature-meta {
  display: grid;
  gap: 0;
  margin: 32px 0 0;
  padding: 0;
  border-top: 1px solid var(--olejak-border);
  border-bottom: 1px solid var(--olejak-border);
}

.olejak-book-feature-meta div {
  display: grid;
  grid-template-columns: minmax(92px, 0.45fr) minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(242, 234, 220, 0.09);
}

.olejak-book-feature-meta div:last-child {
  border-bottom: 0;
}

.olejak-book-feature-meta dt,
.olejak-book-feature-meta dd {
  margin: 0;
  line-height: 1.35;
}

.olejak-book-feature-meta dt {
  color: var(--olejak-light);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.olejak-book-feature-meta dd {
  color: var(--olejak-text);
  font-size: 0.96rem;
}

.olejak-media-card {
  display: grid;
  gap: 16px;
  align-self: center;
  min-width: 0;
  padding: clamp(16px, 2vw, 24px);
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 74%);
  border-radius: 4px;
  background:
    radial-gradient(circle at 80% 10%, rgba(214, 181, 109, 0.1), transparent 18rem),
    linear-gradient(180deg, rgba(242, 234, 220, 0.065), rgba(242, 234, 220, 0.025));
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.olejak-video-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  width: 100%;
  border-radius: 4px;
  background:
    radial-gradient(circle at 50% 42%, rgba(214, 181, 109, 0.12), transparent 16rem),
    var(--olejak-surface-ink);
}

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

.olejak-media-caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  justify-content: space-between;
  margin: 0;
  color: var(--olejak-muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.olejak-media-caption span:first-child {
  color: var(--olejak-text);
  font-weight: 700;
}

.olejak-press-links {
  display: grid;
  gap: 0;
  margin-top: 2px;
  border-top: 1px solid var(--olejak-border);
}

.olejak-press-links h3 {
  margin: 18px 0 6px;
  color: var(--olejak-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-press-link {
  display: block;
  padding: 9px 0;
  border-bottom: 1px solid rgba(242, 234, 220, 0.08);
  color: color-mix(in srgb, var(--olejak-text), transparent 15%);
  font-size: 0.92rem;
  line-height: 1.35;
}

.olejak-press-link:last-child {
  border-bottom: 0;
}

.olejak-press-link:hover,
.olejak-press-link:focus-visible {
  color: var(--olejak-light);
}

.olejak-page-hero {
  padding: clamp(92px, 12vw, 152px) 0 clamp(70px, 9vw, 112px);
}

.olejak-page-hero .container {
  max-width: 920px;
}

.olejak-page-hero h1 {
  font-size: clamp(2.6rem, 6vw, 5.9rem);
}

.olejak-page-hero p {
  max-width: 720px;
  margin: 22px 0 0;
}

.olejak-page-content {
  padding: clamp(62px, 8vw, 112px) 0;
}

.olejak-page-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.olejak-page-grid p {
  margin: 14px 0 0;
}

/* OLEJAK ABOUT THE BOOK PAGE */
.olejak-book-page-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.olejak-book-page-hero .container {
  max-width: 1180px;
}

.olejak-book-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.62fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

.olejak-book-hero-copy {
  max-width: 760px;
}

.olejak-book-page-hero h1 {
  max-width: 820px;
}

.olejak-book-subtitle {
  margin: 18px 0 0;
  color: var(--olejak-light);
  font-family: var(--heading-font);
  font-size: clamp(1.15rem, 1.4vw, 1.45rem);
  font-weight: 800;
  line-height: 1.25;
}

.olejak-book-hero-feature {
  justify-self: center;
  width: min(100%, 460px);
}

.olejak-book-hero-cover-frame {
  width: min(100%, 400px);
  box-shadow:
    -18px 22px 0 rgba(0, 0, 0, 0.24),
    0 34px 92px rgba(0, 0, 0, 0.46),
    0 0 74px rgba(214, 181, 109, 0.1);
}

.olejak-book-hero-cover-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  border-radius: 4px;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 18%, rgba(248, 250, 244, 0.08) 42%, transparent 78%),
    radial-gradient(90% 70% at 22% 8%, rgba(248, 250, 244, 0.12), transparent 58%);
  mix-blend-mode: screen;
  opacity: 0.72;
}

.olejak-book-prose {
  max-width: 860px;
}

.olejak-book-prose p:not(.olejak-section-kicker) + p:not(.olejak-section-kicker) {
  margin-top: 18px;
}

.olejak-book-section-header {
  max-width: 760px;
}

.olejak-book-section-header h2 {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.04;
}

.olejak-book-section-header p:not(.olejak-section-kicker) {
  max-width: 66ch;
  margin: 24px 0 0;
  color: var(--olejak-muted);
  font-size: clamp(1.04rem, 0.99rem + 0.2vw, 1.16rem);
  line-height: 1.78;
}

.olejak-weekend-outline-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.4vw, 32px);
  margin-top: clamp(32px, 5vw, 56px);
}

.olejak-weekend-card,
.olejak-excerpt-panel,
.olejak-book-details-panel {
  border: 1px solid var(--olejak-border);
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(242, 234, 220, 0.07), rgba(242, 234, 220, 0.025));
  box-shadow: 0 24px 70px var(--olejak-shadow-soft);
}

.olejak-weekend-card {
  padding: clamp(24px, 3vw, 32px);
}

.olejak-weekend-label,
.olejak-excerpt-label {
  margin: 0 0 12px;
  color: var(--olejak-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-weekend-card h3 {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 1.18;
}

.olejak-excerpt-panel,
.olejak-book-details-panel {
  max-width: 860px;
  margin-top: clamp(32px, 5vw, 56px);
  padding: clamp(28px, 4vw, 44px);
}

.olejak-excerpt-panel p:not(.olejak-excerpt-label) {
  max-width: 62ch;
  margin: 0;
  color: var(--olejak-muted);
  font-size: clamp(1.04rem, 0.99rem + 0.2vw, 1.16rem);
  line-height: 1.78;
}

.olejak-book-details-panel .olejak-book-feature-meta {
  margin-top: 28px;
}

.olejak-footer {
  padding: 56px 0 28px;
  background: var(--olejak-surface-ink);
  color: var(--olejak-text);
  border-top: 1px solid var(--olejak-border);
}

.olejak-footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.1fr) repeat(3, minmax(140px, 0.7fr));
  gap: clamp(28px, 5vw, 64px);
}

.olejak-footer-brand .logo {
  color: var(--olejak-text);
}

.olejak-footer-brand .sitename {
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: 1.45rem;
  font-weight: 800;
}

.olejak-footer-brand p,
.olejak-footer-bottom p {
  margin: 0;
  color: var(--olejak-muted);
  line-height: 1.65;
}

.olejak-footer-links {
  display: grid;
  gap: 10px;
  align-content: start;
}

.olejak-footer-links h5 {
  margin-bottom: 4px;
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.olejak-footer-links a {
  color: color-mix(in srgb, var(--olejak-muted), transparent 5%);
  font-size: 0.95rem;
}

.olejak-footer-links a:hover,
.olejak-footer-links a:focus-visible {
  color: var(--olejak-light);
}

.olejak-footer-bottom {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--olejak-border);
}

/* =========================================================
   OLEJAK GLOBAL LIGHT MODE
========================================================= */
body.olejak-light-mode {
  background: var(--olejak-bg);
}

body.olejak-light-mode .main {
  background: var(--olejak-bg);
}

body.olejak-light-mode .header {
  background: rgba(248, 249, 245, 0.94);
  border-bottom: 1px solid var(--olejak-border);
  box-shadow: 0 10px 30px var(--olejak-shadow-soft);
}

body.olejak-light-mode .olejak-hero {
  border-bottom-color: var(--olejak-border);
}

body.olejak-light-mode .olejak-hero::before {
  opacity: 0.48;
}

body.olejak-light-mode .olejak-hero::after {
  opacity: 0.24;
}

body.olejak-light-mode .olejak-inner-light-source,
body.olejak-light-mode .olejak-inner-light-toggle[aria-pressed="true"] .olejak-inner-light-source {
  border-color: #274C77;
  background: #274C77;
  box-shadow:
    0 0 0 4px rgba(39, 76, 119, 0.08),
    0 0 18px rgba(39, 76, 119, 0.22);
}

body.olejak-light-mode .olejak-home-section,
body.olejak-light-mode .olejak-page-hero,
body.olejak-light-mode .olejak-page-content {
  background: var(--olejak-bg);
  color: var(--olejak-text);
  border-bottom-color: var(--olejak-border);
}

body.olejak-light-mode .olejak-home-section-alt {
  background: var(--olejak-bg-soft);
}

body.olejak-light-mode #about-the-book-preview {
  background: #f4f6f3;
}

body.olejak-light-mode #peace-witness-preview {
  background: #eef2ef;
}

body.olejak-light-mode #the-men-inside-preview {
  background: #f8f9f5;
}

body.olejak-light-mode #witness-widens-preview {
  background: #eef2ef;
}

body.olejak-light-mode #speaking-preview {
  background: #f4f6f3;
}

body.olejak-light-mode #buy-book-preview {
  background: #f8f9f5;
}

body.olejak-light-mode #about-the-book-preview::before {
  background: none;
  box-shadow: none;
  filter: none;
  opacity: 0;
}

body.olejak-light-mode #about-the-book-preview::after {
  background: none;
  box-shadow: none;
  filter: none;
  opacity: 0;
}

body.olejak-light-mode .olejak-filtered-light-section::before {
  background: none;
  box-shadow: none;
  filter: none;
  opacity: 0;
  mix-blend-mode: normal;
}

body.olejak-light-mode .olejak-filtered-light-section::after {
  background: none;
  box-shadow: none;
  filter: none;
  opacity: 0;
}

body.olejak-light-mode .olejak-light--book-table::before,
body.olejak-light-mode .olejak-light--book-table::after,
body.olejak-light-mode .olejak-light--media-window::before,
body.olejak-light-mode .olejak-light--media-window::after,
body.olejak-light-mode .olejak-light--inside-slats::before,
body.olejak-light-mode .olejak-light--inside-slats::after,
body.olejak-light-mode .olejak-light--widening-field::before,
body.olejak-light-mode .olejak-light--widening-field::after,
body.olejak-light-mode .olejak-light--community::before,
body.olejak-light-mode .olejak-light--community::after,
body.olejak-light-mode .olejak-light--book-counter::before,
body.olejak-light-mode .olejak-light--book-counter::after {
  background: none;
  box-shadow: none;
  filter: none;
  opacity: 0;
}

body.olejak-light-mode .olejak-home-note,
body.olejak-light-mode .olejak-home-card-grid article,
body.olejak-light-mode .olejak-page-grid article,
body.olejak-light-mode .olejak-weekend-card,
body.olejak-light-mode .olejak-excerpt-panel,
body.olejak-light-mode .olejak-book-details-panel,
body.olejak-light-mode .olejak-quote-carousel,
body.olejak-light-mode .olejak-speaking-form-card,
body.olejak-light-mode .olejak-purchase-card,
body.olejak-light-mode .olejak-media-card {
  border-color: var(--olejak-border);
  background:
    linear-gradient(180deg, var(--olejak-surface), var(--olejak-surface-deep));
  box-shadow:
    0 24px 64px var(--olejak-shadow-card),
    0 0 24px var(--olejak-cool-wash);
}

body.olejak-light-mode .olejak-quote-carousel--witness {
  border-color: var(--olejak-border);
  background:
    linear-gradient(180deg, var(--olejak-surface), var(--olejak-surface-deep));
}

body.olejak-light-mode .olejak-quote-carousel::before,
body.olejak-light-mode .olejak-purchase-card::before {
  border-color: rgba(72, 84, 85, 0.13);
}

body.olejak-light-mode .olejak-quote-prev,
body.olejak-light-mode .olejak-quote-next,
body.olejak-light-mode .olejak-quote-dots button {
  border-color: color-mix(in srgb, var(--olejak-action), transparent 62%);
  background: rgba(248, 250, 244, 0.56);
  color: var(--olejak-text);
}

body.olejak-light-mode .olejak-quote-prev:hover,
body.olejak-light-mode .olejak-quote-prev:focus-visible,
body.olejak-light-mode .olejak-quote-next:hover,
body.olejak-light-mode .olejak-quote-next:focus-visible,
body.olejak-light-mode .olejak-quote-dots button:hover,
body.olejak-light-mode .olejak-quote-dots button:focus-visible,
body.olejak-light-mode .olejak-quote-dots button.is-active {
  background: var(--olejak-action-soft);
  color: var(--olejak-action-hover);
}

body.olejak-light-mode .olejak-media-card {
  background:
    linear-gradient(180deg, var(--olejak-surface), var(--olejak-surface-deep));
  border-color: color-mix(in srgb, #6096BA, var(--olejak-border) 72%);
  box-shadow:
    0 24px 64px var(--olejak-shadow-card),
    0 0 24px var(--olejak-blue-depth);
}

body.olejak-light-mode .olejak-video-frame {
  background:
    linear-gradient(180deg, rgba(39, 76, 119, 0.12), rgba(39, 76, 119, 0.2)),
    #17212b;
}

body.olejak-light-mode .olejak-form-field input,
body.olejak-light-mode .olejak-form-field select,
body.olejak-light-mode .olejak-form-field textarea {
  border-color: rgba(72, 84, 85, 0.24);
  background: rgba(248, 250, 244, 0.62);
  color: var(--olejak-text);
}

body.olejak-light-mode .olejak-form-field input::placeholder,
body.olejak-light-mode .olejak-form-field textarea::placeholder {
  color: color-mix(in srgb, var(--olejak-muted), transparent 20%);
}

body.olejak-light-mode .olejak-form-field input:focus,
body.olejak-light-mode .olejak-form-field select:focus,
body.olejak-light-mode .olejak-form-field textarea:focus {
  border-color: color-mix(in srgb, var(--olejak-action), transparent 24%);
  background: rgba(248, 250, 244, 0.86);
  box-shadow: 0 0 0 3px rgba(255, 93, 115, 0.18);
}

body.olejak-light-mode .olejak-link-button,
body.olejak-light-mode .olejak-purchase-link {
  border-color: var(--olejak-action);
  background: var(--olejak-action);
  color: #f8faf4;
  box-shadow: 0 10px 24px rgba(39, 49, 51, 0.10);
}

body.olejak-light-mode .olejak-link-button:hover,
body.olejak-light-mode .olejak-link-button:focus-visible,
body.olejak-light-mode .olejak-purchase-link:hover,
body.olejak-light-mode .olejak-purchase-link:focus-visible {
  background: var(--olejak-action-hover);
  border-color: var(--olejak-action-hover);
  color: #f8faf4;
}

body.olejak-light-mode .olejak-link-button-secondary {
  border-color: var(--olejak-border);
  background: var(--olejak-surface);
  color: var(--olejak-text);
  box-shadow: none;
}

body.olejak-light-mode .olejak-link-button-secondary:hover,
body.olejak-light-mode .olejak-link-button-secondary:focus-visible {
  color: var(--olejak-text);
  border-color: color-mix(in srgb, var(--olejak-muted), transparent 48%);
  background: var(--olejak-surface-deep);
}

body.olejak-light-mode .olejak-btn-primary {
  background: var(--olejak-action);
  border-color: var(--olejak-action-hover);
  color: #f8faf4;
}

body.olejak-light-mode .olejak-btn-primary:hover,
body.olejak-light-mode .olejak-btn-primary:focus-visible {
  background: var(--olejak-action-hover);
  border-color: var(--olejak-action-hover);
  color: #f8faf4;
}

body.olejak-light-mode .olejak-btn-primary:focus-visible,
body.olejak-light-mode .olejak-btn-secondary:focus-visible,
body.olejak-light-mode .olejak-link-button:focus-visible,
body.olejak-light-mode .olejak-link-button-secondary:focus-visible,
body.olejak-light-mode .olejak-purchase-link:focus-visible {
  outline-color: rgba(255, 93, 115, 0.42);
}

body.olejak-light-mode .olejak-btn-secondary {
  background: rgba(248, 250, 244, 0.52);
  color: var(--olejak-text);
}

body.olejak-light-mode .olejak-btn-secondary:hover {
  background: var(--olejak-surface-deep);
  border-color: color-mix(in srgb, var(--olejak-muted), transparent 48%);
  color: var(--olejak-text);
}

body.olejak-light-mode .olejak-eyebrow,
body.olejak-light-mode .olejak-section-kicker,
body.olejak-light-mode .olejak-witness-card-kicker,
body.olejak-light-mode .olejak-book-subtitle,
body.olejak-light-mode .olejak-weekend-label,
body.olejak-light-mode .olejak-excerpt-label,
body.olejak-light-mode .olejak-press-links h3 {
  color: #274C77;
}

body.olejak-light-mode .olejak-book-feature-meta dt,
body.olejak-light-mode .olejak-purchase-format {
  color: var(--olejak-muted);
}

body.olejak-light-mode .olejak-quote-name,
body.olejak-light-mode .olejak-quote-carousel--witness .olejak-quote-name {
  color: var(--olejak-muted);
}

body.olejak-light-mode .olejak-quote-name::before {
  background: var(--olejak-border);
}

body.olejak-light-mode .olejak-book-feature-meta {
  border-top-color: var(--olejak-border);
  border-bottom-color: var(--olejak-border);
}

body.olejak-light-mode .olejak-book-feature-meta div {
  border-bottom-color: var(--olejak-border);
}

body.olejak-light-mode .olejak-form-field label span {
  color: var(--olejak-muted);
}

body.olejak-light-mode .olejak-press-link {
  border-bottom-color: var(--olejak-border);
  color: color-mix(in srgb, var(--olejak-text), transparent 16%);
}

body.olejak-light-mode .olejak-press-link:hover,
body.olejak-light-mode .olejak-press-link:focus-visible {
  color: var(--olejak-text);
}

body.olejak-light-mode .olejak-purchase-icon {
  border-color: var(--olejak-border);
  background: var(--olejak-surface);
  color: var(--olejak-muted);
}

body.olejak-light-mode .olejak-purchase-list li::before,
body.olejak-light-mode .olejak-purchase-meta span + span::before {
  background: var(--olejak-muted);
}

body.olejak-light-mode .olejak-purchase-meta,
body.olejak-light-mode .olejak-purchase-meta span {
  color: var(--olejak-muted);
}

body.olejak-light-mode .olejak-book-feature-cover {
  background: #2b2118;
  box-shadow:
    -14px 18px 0 rgba(39, 49, 51, 0.16),
    0 28px 78px rgba(39, 49, 51, 0.24),
    0 0 42px var(--olejak-blue-depth);
}

body.olejak-light-mode .olejak-book-feature-cover::before {
  background:
    linear-gradient(90deg, rgba(43, 33, 24, 0.7), rgba(248, 250, 244, 0.1)),
    #2b2118;
}

body.olejak-light-mode .olejak-book-hero-cover-frame {
  background: #172331;
  box-shadow:
    -18px 22px 0 rgba(39, 49, 51, 0.12),
    0 34px 88px rgba(39, 49, 51, 0.2),
    0 0 52px var(--olejak-blue-depth);
}

body.olejak-light-mode .olejak-book-hero-cover-frame::before {
  background:
    linear-gradient(90deg, rgba(23, 35, 49, 0.82), rgba(248, 250, 244, 0.12)),
    #172331;
}

body.olejak-light-mode .olejak-book-hero-cover-frame::after {
  background:
    linear-gradient(90deg, rgba(23, 35, 49, 0.22), transparent 18%, rgba(248, 250, 244, 0.16) 42%, transparent 78%),
    radial-gradient(90% 70% at 22% 8%, rgba(231, 236, 239, 0.3), transparent 58%);
  opacity: 0.58;
}

body.olejak-light-mode .olejak-footer {
  background:
    linear-gradient(180deg, #274C77 0%, #172331 100%);
  color: #f8faf4;
  border-top-color: rgba(248, 250, 244, 0.18);
}

body.olejak-light-mode .olejak-footer-brand .logo,
body.olejak-light-mode .olejak-footer-brand .sitename,
body.olejak-light-mode .olejak-footer-links h5 {
  color: #f8faf4;
}

body.olejak-light-mode .olejak-footer-brand p,
body.olejak-light-mode .olejak-footer-bottom p,
body.olejak-light-mode .olejak-footer-links a {
  color: rgba(248, 250, 244, 0.76);
}

body.olejak-light-mode .olejak-footer-links a:hover,
body.olejak-light-mode .olejak-footer-links a:focus-visible {
  color: #A3CEF1;
}

@media (max-width: 991px) {
  .olejak-home-split,
  .olejak-book-reviews-layout,
  .olejak-book-hero-grid,
  .olejak-page-grid,
  .olejak-footer-grid {
    grid-template-columns: 1fr;
  }

  .olejak-weekend-outline-grid {
    grid-template-columns: 1fr;
  }

  .olejak-book-hero-feature {
    justify-self: start;
  }

  .olejak-home-section {
    padding: 68px 0;
  }

  .olejak-filtered-light-section::before {
    opacity: 0.58;
  }

  .olejak-filtered-light-section::after {
    opacity: 0.42;
  }

  .olejak-light--media-window::before,
  .olejak-light--community::before {
    background:
      radial-gradient(ellipse at 62% 70%, rgba(214, 181, 109, 0.08), transparent 22rem);
  }

  .olejak-light--inside-slats::before {
    background:
      linear-gradient(106deg, transparent 0 54%, rgba(214, 181, 109, 0.036) 55% 58%, transparent 59% 100%),
      radial-gradient(ellipse at 58% 72%, rgba(214, 181, 109, 0.04), transparent 22rem);
  }

  .olejak-light--widening-field::before,
  .olejak-light--book-counter::before {
    background:
      radial-gradient(ellipse at 50% 24%, rgba(214, 181, 109, 0.075), transparent 28rem);
  }

  #about-the-book-preview .olejak-home-split {
    grid-template-columns: 1fr;
  }

  #about-the-book-preview::after {
    width: 86%;
    left: 18%;
    opacity: 0.48;
  }

  .olejak-home-copy h2,
  .olejak-home-buy h2 {
    font-size: clamp(2rem, 8vw, 3.3rem);
  }

  .olejak-book-feature {
    justify-self: start;
    width: min(100%, 320px);
  }

  .olejak-book-reviews-copy {
    max-width: 680px;
  }

  .olejak-book-reviews-copy h2 {
    max-width: 10.5em;
  }

  .olejak-book-reviews-carousel-wrap .olejak-quote-carousel {
    max-width: 100%;
  }

  .olejak-quote-carousel {
    align-self: auto;
    min-height: 380px;
  }

  .olejak-quote-carousel--witness {
    min-height: 430px;
  }

  .olejak-speaking-form-card {
    align-self: auto;
  }

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

@media (max-width: 575px) {
  .olejak-filtered-light-section::before {
    opacity: 0.42;
  }

  .olejak-filtered-light-section::after {
    opacity: 0.24;
  }

  .olejak-light--media-window::after,
  .olejak-light--community::after,
  .olejak-light--book-counter::after {
    display: none;
  }

  .olejak-light--inside-slats::before {
    background:
      radial-gradient(ellipse at 52% 72%, rgba(214, 181, 109, 0.055), transparent 20rem);
  }

  .olejak-light--inside-slats::after {
    opacity: 0.34;
  }

  #about-the-book-preview::before {
    background:
      radial-gradient(ellipse at 54% 72%, rgba(214, 181, 109, 0.12), transparent 20rem);
  }

  #about-the-book-preview::after {
    opacity: 0.28;
  }

  .olejak-link-button,
  .olejak-disabled-button {
    width: 100%;
  }

  .olejak-home-actions {
    display: grid;
  }

  .olejak-book-reviews-layout {
    gap: 30px;
  }

  .olejak-book-reviews-copy h2 {
    font-size: clamp(2rem, 8vw, 3.2rem);
  }

  .olejak-quote-carousel {
    min-height: 390px;
    padding: 28px 24px 24px;
  }

  .olejak-quote-track,
  .olejak-quote-card {
    min-height: 280px;
  }

  .olejak-quote-text p {
    font-size: clamp(1.3rem, 7.2vw, 1.72rem);
  }

  .olejak-quote-controls {
    justify-content: center;
  }

  .olejak-quote-carousel--witness {
    min-height: 430px;
  }

  .olejak-quote-carousel--witness .olejak-quote-track,
  .olejak-quote-carousel--witness .olejak-quote-card {
    min-height: 315px;
  }

  .olejak-quote-carousel--witness .olejak-quote-text p {
    font-size: clamp(1.18rem, 6.2vw, 1.5rem);
  }

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

  .olejak-speaking-form .olejak-link-button {
    width: 100%;
  }

  .olejak-purchase-grid {
    grid-template-columns: 1fr;
  }

  .olejak-purchase-meta {
    display: grid;
  }

  .olejak-purchase-meta span {
    justify-content: center;
  }

  .olejak-purchase-meta span + span::before {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .olejak-quote-carousel.is-ready .olejak-quote-card {
    transition: none;
    transform: none;
  }

  .olejak-quote-carousel.is-ready .olejak-quote-card:not(.is-active) {
    transform: none;
  }
}

/* =========================================================
   OLEJAK HERO — Approved responsive tuning
   Consolidated after visual experiment cleanup
   Purpose:
   - preserve the stable dark literary hero
   - keep CTAs under the text column
   - keep the book visually balanced across desktop widths
   - hide the book before it competes with copy
   - retain only the simple left spine treatment
========================================================= */

/* Hide failed faux-3D depth pieces from earlier book experiments */
#olejak-hero .bk-back,
#olejak-hero .bk-right,
#olejak-hero .bk-cover-back {
  display: none !important;
}

/* Stable simple left book spine */
#olejak-hero .bk-left {
  display: block !important;
  position: absolute;
  top: 0;
  left: -14px;
  right: auto;
  width: 16px;
  height: var(--bk-h);
  z-index: 4;
  border-radius: 0 !important;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(255, 255, 255, 0.05)),
    rgb(8, 8, 8);
  box-shadow:
    6px 0 12px rgba(0, 0, 0, 0.34) inset,
    0 0 0 1px rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

/* Keep the visible cover front crisp and square on the left edge */
#olejak-hero .bk-front,
#olejak-hero .bk-front > div,
#olejak-hero .bk-cover,
#olejak-hero .bk-cover img {
  border-top-left-radius: 0 !important;
  border-bottom-left-radius: 0 !important;
}

/* Base desktop book tuning */
#olejak-hero .bk-book {
  --bk-x: 0rem;
  --bk-y: 8rem;
  --bk-scale: 1.68;
  transform:
    translate(var(--bk-x), var(--bk-y))
    scale(var(--bk-scale));
}

/* Very large desktop */
@media (min-width: 1501px) {
  #olejak-hero .olejak-hero-grid {
    gap: clamp(2rem, 3vw, 4rem);
  }

  #olejak-hero .olejak-hero-cover {
    margin-left: 0;
  }

  #olejak-hero .bk-book {
    --bk-x: 7rem;
    --bk-scale: 1.68;
    --bk-y: 8rem;
  }
}

/* Standard / medium desktop around 1400–1500px */
@media (min-width: 1201px) and (max-width: 1500px) {
  #olejak-hero .olejak-hero-grid {
    gap: clamp(1.25rem, 2vw, 2.75rem);
    grid-template-columns: minmax(420px, 0.85fr) minmax(0, 1.15fr);
  }

  #olejak-hero .olejak-hero-cover {
    margin-left: 0;
  }

  #olejak-hero .olejak-hero-content h1 {
    font-size: clamp(1.9rem, 3.15vw, 3.15rem);
  }

  #olejak-hero .bk-book {
    --bk-x: 1rem;
    --bk-y: 1.25rem;
    --bk-scale: 1.3;
  }
}

/* Laptop / smaller desktop */
@media (min-width: 1101px) and (max-width: 1200px) {
  #olejak-hero .olejak-hero-grid {
    gap: clamp(1rem, 1.75vw, 2rem);
    grid-template-columns: minmax(300px, 0.7fr) minmax(0, 1.3fr);
  }

  #olejak-hero .olejak-hero-cover {
    margin-left: 0;
  }

  #olejak-hero .olejak-hero-content h1 {
    font-size: clamp(1.85rem, 3.35vw, 2.8rem);
  }

  #olejak-hero .bk-book {
    --bk-x: 1rem;
    --bk-y: 2.75rem;
    --bk-scale: 0.96;
  }
}

/* Hide the book before it competes with the text layout */
@media (max-width: 1100px) {
  #olejak-hero .olejak-hero-cover {
    display: none !important;
  }
}

/* Way of Witness: keep images subdued until hover */
.olejak-witness-way-panel-link::before {
  background:
    linear-gradient(180deg, rgba(4, 6, 8, 0.74) 0%, rgba(4, 6, 8, 0.56) 42%, rgba(4, 6, 8, 0.72) 100%),
    linear-gradient(90deg, rgba(16, 20, 24, 0.38), transparent 42%, rgba(16, 20, 24, 0.32)) !important;
  transition: background 0.45s ease, opacity 0.45s ease;
}

.olejak-witness-way-panel-media {
  filter: grayscale(0.18) brightness(0.72) contrast(1.08) saturate(0.94);
  transition: filter 0.45s ease, transform 0.45s ease;
}

.olejak-witness-way-panel-link:hover::before,
.olejak-witness-way-panel-link:focus-visible::before {
  background:
    linear-gradient(180deg, rgba(4, 6, 8, 0.42) 0%, rgba(4, 6, 8, 0.16) 44%, rgba(4, 6, 8, 0.38) 100%),
    linear-gradient(90deg, rgba(16, 20, 24, 0.16), transparent 44%, rgba(16, 20, 24, 0.12)) !important;
}

.olejak-witness-way-panel-link:hover .olejak-witness-way-panel-media,
.olejak-witness-way-panel-link:focus-visible .olejak-witness-way-panel-media {
  filter: grayscale(0.05) brightness(0.98) contrast(1.04) saturate(1.08);
  transform: scale(1.04);
}

/* Light mode: primary action buttons use soft white text at rest */
body.olejak-light-mode .olejak-link-button,
body.olejak-light-mode .olejak-purchase-link,
body.olejak-light-mode .olejak-form-submit,
body.olejak-light-mode .olejak-btn-primary {
  color: #fff7f5;
}

/* Light mode: secondary buttons keep dark readable text */
body.olejak-light-mode .olejak-link-button.olejak-link-button-secondary,
body.olejak-light-mode .olejak-link-button-secondary {
  color: var(--olejak-text);
}

/* Speaking form: center the submit CTA */
.olejak-speaking-form .olejak-form-submit,
.olejak-speaking-form button[type="submit"] {
  align-self: center;
  margin-inline: auto;
}

/* About the Book page: hero spacing and prose readability polish */
.olejak-book-page-hero {
  padding-top: clamp(4.5rem, 5.5vw, 6.5rem);
}

.olejak-book-page-hero .olejak-book-hero-copy > p:not(.olejak-section-kicker):not(.olejak-book-subtitle) {
  font-size: clamp(1.04rem, 0.99rem + 0.2vw, 1.16rem);
  line-height: 1.78;
  max-width: 66ch;
}

/* About the Book page: stronger hero lead readability after visual review */
.olejak-book-page-hero .olejak-book-hero-copy > p:not(.olejak-section-kicker):not(.olejak-book-subtitle) {
  font-size: clamp(1.12rem, 1.04rem + 0.35vw, 1.32rem);
  line-height: 1.72;
  max-width: 64ch;
}

/* About the Book page: Weekend outline progressive reveal */
.olejak-weekend-outline-grid:not(.is-expanded) .olejak-weekend-card:nth-child(n + 7) {
  display: none;
}

.olejak-weekend-outline-actions {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.olejak-weekend-toggle {
  min-width: min(100%, 220px);
  justify-content: center;
}

@media (max-width: 640px) {
  .olejak-weekend-outline-actions {
    margin-top: 32px;
  }

  .olejak-weekend-toggle {
    width: 100%;
  }
}

/* About the Book page: excerpt reader */
.olejak-reader-shell {
  position: relative;
  margin-top: 48px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 12%);
  border-radius: 4px;
  background:
    linear-gradient(145deg, color-mix(in srgb, var(--olejak-surface), transparent 0%), color-mix(in srgb, var(--olejak-surface-deep), transparent 10%));
  box-shadow: 0 20px 50px var(--olejak-shadow-card);
}

.olejak-reader-stage {
  position: relative;
  overflow: hidden;
}

.olejak-reader-spread {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.olejak-reader-spread[hidden] {
  display: none !important;
}

.olejak-reader-page {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2.75rem);
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 20%);
  border-radius: 4px;
  background: color-mix(in srgb, var(--olejak-bg-ink), var(--olejak-surface) 34%);
  color: var(--olejak-text);
}

.olejak-reader-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  padding-bottom: 12px;
  border-bottom: 1px solid color-mix(in srgb, var(--olejak-border), transparent 16%);
  color: var(--olejak-muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-reader-page p {
  margin: 0 0 1.15rem;
  color: var(--olejak-text);
  font-size: clamp(1.02rem, 0.98rem + 0.15vw, 1.12rem);
  line-height: 1.74;
}

.olejak-reader-page blockquote {
  margin: 1.25rem 0;
  padding-left: 1.25rem;
  border-left: 2px solid var(--olejak-gold);
}

.olejak-reader-arrows {
  position: absolute;
  inset: 50% 12px auto 12px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  transform: translateY(-50%);
}

.olejak-reader-arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 16%);
  border-radius: 999px;
  background: color-mix(in srgb, var(--olejak-bg), transparent 8%);
  color: var(--olejak-text);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.olejak-reader-arrow:hover,
.olejak-reader-arrow:focus-visible {
  background: var(--olejak-action);
  border-color: var(--olejak-action);
  color: #fff7f5;
  transform: translateY(-1px);
  outline: none;
}

body.olejak-light-mode .olejak-reader-shell {
  background: var(--olejak-surface);
  border-color: var(--olejak-border);
  box-shadow: 0 18px 44px var(--olejak-shadow-soft);
}

body.olejak-light-mode .olejak-reader-page {
  background: var(--olejak-bg-ink);
  border-color: var(--olejak-border);
}

body.olejak-light-mode .olejak-reader-page-head {
  color: var(--olejak-muted);
  border-bottom-color: var(--olejak-border);
}

body.olejak-light-mode .olejak-reader-page blockquote {
  border-left-color: #274C77;
}

body.olejak-light-mode .olejak-reader-arrow {
  background: var(--olejak-surface);
  border-color: var(--olejak-border);
  color: #274C77;
}

body.olejak-light-mode .olejak-reader-arrow:hover,
body.olejak-light-mode .olejak-reader-arrow:focus-visible {
  background: var(--olejak-action);
  border-color: var(--olejak-action);
  color: #fff7f5;
}

@media (max-width: 767px) {
  .olejak-reader-shell {
    padding: 16px;
  }

  .olejak-reader-spread {
    grid-template-columns: 1fr;
  }

  .olejak-reader-page {
    min-height: 460px;
    padding: 24px;
  }

  .olejak-reader-page:not(.is-mobile-active) {
    display: none;
  }

  .olejak-reader-arrows {
    inset: auto 16px 16px 16px;
    transform: none;
  }
}

/* About the Book page: excerpt reader book feel + stable page height */
.olejak-reader-shell {
  max-width: 1380px;
  margin-inline: auto;
  padding: clamp(2rem, 3.4vw, 3rem);
}

.olejak-reader-stage {
  isolation: isolate;
}

.olejak-reader-spread {
  position: relative;
  align-items: stretch;
  gap: clamp(1rem, 2vw, 1.75rem);
}

.olejak-reader-spread::before {
  content: "";
  position: absolute;
  top: 2%;
  bottom: 2%;
  left: 50%;
  width: 1px;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--olejak-border), transparent 5%),
    transparent
  );
  box-shadow:
    -10px 0 24px color-mix(in srgb, var(--olejak-shadow-soft), transparent 25%),
    10px 0 24px color-mix(in srgb, var(--olejak-shadow-soft), transparent 25%);
  transform: translateX(-50%);
  pointer-events: none;
}

.olejak-reader-page {
  min-height: clamp(660px, 72vh, 820px);
  max-height: clamp(660px, 72vh, 820px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  box-shadow:
    inset 0 0 0 1px color-mix(in srgb, var(--olejak-light), transparent 94%),
    0 14px 28px color-mix(in srgb, var(--olejak-shadow-soft), transparent 22%);
}

.olejak-reader-page:first-child {
  border-radius: 4px 2px 2px 4px;
}

.olejak-reader-page:last-child {
  border-radius: 2px 4px 4px 2px;
}

.olejak-reader-page p {
  max-width: 60ch;
}

body.olejak-light-mode .olejak-reader-spread::before {
  background: linear-gradient(
    to bottom,
    transparent,
    color-mix(in srgb, var(--olejak-border), transparent 0%),
    transparent
  );
  box-shadow:
    -12px 0 26px rgba(39, 76, 119, 0.08),
    12px 0 26px rgba(39, 76, 119, 0.08);
}

body.olejak-light-mode .olejak-reader-page {
  background:
    linear-gradient(90deg, rgba(39, 76, 119, 0.025), transparent 14%),
    var(--olejak-bg-ink);
  box-shadow:
    inset 0 0 0 1px rgba(83, 90, 85, 0.08),
    0 14px 30px rgba(39, 49, 51, 0.08);
}

@media (max-width: 767px) {
  .olejak-reader-spread::before {
    display: none;
  }

  .olejak-reader-page {
    min-height: clamp(620px, 78vh, 760px);
    max-height: clamp(620px, 78vh, 760px);
  }
}

/* About the Book page: excerpt-reader scrollbar fix */
@media (min-width: 768px) {
  #excerpt .olejak-reader-page {
    max-height: none;
    overflow: hidden;
    overscroll-behavior: auto;
    scrollbar-width: none;
  }

  #excerpt .olejak-reader-page::-webkit-scrollbar {
    display: none;
  }
}

/* About the Book page: compact purchase cards on final reader page */
.olejak-reader-purchase {
  margin-top: auto;
  padding-top: 24px;
}

.olejak-reader-purchase-kicker {
  margin: 0 0 8px;
  color: var(--olejak-gold);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.3;
  text-transform: uppercase;
}

.olejak-reader-purchase h3 {
  margin: 0;
  color: var(--olejak-text);
  font-size: clamp(1.65rem, 2.1vw, 2.25rem);
  line-height: 1.08;
}

.olejak-reader-purchase-note {
  margin: 12px 0 24px;
  color: var(--olejak-muted);
  font-size: clamp(0.98rem, 0.95rem + 0.12vw, 1.06rem);
  line-height: 1.62;
}

.olejak-reader-purchase-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.olejak-reader-purchase-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 14%);
  border-radius: 4px;
  background: color-mix(in srgb, var(--olejak-surface), transparent 8%);
  color: var(--olejak-text);
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.olejak-reader-purchase-card span {
  font-size: 0.78rem;
}

.olejak-reader-purchase-card strong {
  color: var(--olejak-gold);
  font-size: 0.96rem;
}

.olejak-reader-purchase-card:hover,
.olejak-reader-purchase-card:focus-visible {
  background: var(--olejak-action);
  border-color: var(--olejak-action);
  color: #fff7f5;
  transform: translateY(-1px);
  outline: none;
}

.olejak-reader-purchase-card:hover strong,
.olejak-reader-purchase-card:focus-visible strong {
  color: #fff7f5;
}

body.olejak-light-mode .olejak-reader-purchase-kicker {
  color: #274C77;
}

body.olejak-light-mode .olejak-reader-purchase-card {
  background: var(--olejak-surface);
  border-color: var(--olejak-border);
  color: var(--olejak-text);
}

body.olejak-light-mode .olejak-reader-purchase-card strong {
  color: #274C77;
}

body.olejak-light-mode .olejak-reader-purchase-card:hover,
body.olejak-light-mode .olejak-reader-purchase-card:focus-visible {
  background: var(--olejak-action);
  border-color: var(--olejak-action);
  color: #fff7f5;
}

body.olejak-light-mode .olejak-reader-purchase-card:hover strong,
body.olejak-light-mode .olejak-reader-purchase-card:focus-visible strong {
  color: #fff7f5;
}

/* About the Book page: final reader purchase panel top alignment */
.olejak-reader-purchase {
  margin-top: 0;
  padding-top: 0;
}

.olejak-reader-purchase-kicker {
  margin-bottom: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
}

/* About the Book page: speaking invitation section */
.olejak-book-invite-section {
  border-top: 1px solid color-mix(in srgb, var(--olejak-border), transparent 20%);
}

.olejak-book-invite-section .olejak-speaking-copy p em {
  color: var(--olejak-light);
}

body.olejak-light-mode .olejak-book-invite-section {
  border-top-color: var(--olejak-border);
}

body.olejak-light-mode .olejak-book-invite-section .olejak-speaking-copy p em {
  color: var(--olejak-text);
}

/* About the Book page: invite section two-column layout */
.olejak-book-invite-section .olejak-speaking-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: clamp(3rem, 5vw, 5rem);
}

.olejak-book-invite-section .olejak-speaking-copy {
  max-width: 620px;
}

.olejak-book-invite-section .olejak-speaking-copy h2 {
  max-width: 10.75em;
}

.olejak-book-invite-section .olejak-speaking-form-card {
  width: 100%;
  max-width: none;
  justify-self: stretch;
  align-self: start;
}

@media (max-width: 1100px) {
  .olejak-book-invite-section .olejak-speaking-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .olejak-book-invite-section .olejak-speaking-copy,
  .olejak-book-invite-section .olejak-speaking-copy h2 {
    max-width: 760px;
  }
}

/* Forms: hide honeypot anti-spam field from human visitors */
.olejak-hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* =========================================================
   OLEJAK SPEAKING PAGE RECODE
========================================================= */
.olejak-speaking-hero-copy h1 {
  max-width: 11.2em;
}

.olejak-speaking-lead {
  max-width: 66ch;
  margin: 22px 0 0;
  color: var(--olejak-muted);
  font-size: clamp(1.04rem, 0.99rem + 0.2vw, 1.16rem);
  line-height: 1.78;
}

.olejak-speaking-overview-panel {
  align-self: start;
  max-width: none;
  margin-top: 0;
}

.olejak-speaking-overview-panel h2 {
  margin: 8px 0 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(1.35rem, 1.7vw, 1.9rem);
  font-weight: 800;
  line-height: 1.12;
}

.olejak-speaking-overview-list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.olejak-speaking-overview-list li {
  position: relative;
  padding-left: 20px;
  color: var(--olejak-muted);
  line-height: 1.7;
}

.olejak-speaking-overview-list li + li {
  margin-top: 10px;
}

.olejak-speaking-overview-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--olejak-light);
}

.olejak-speaking-card-grid,
.olejak-speaking-topic-grid,
.olejak-speaking-format-grid {
  display: grid;
  gap: 24px;
  margin-top: clamp(32px, 5vw, 56px);
}

.olejak-speaking-card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

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

.olejak-speaking-topic-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.olejak-speaking-topic-number {
  display: inline-flex;
  color: var(--olejak-light);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-speaking-topic-card h3,
.olejak-speaking-format-grid h3 {
  margin: 0;
}

.olejak-speaking-topic-card p,
.olejak-speaking-format-grid p {
  margin: 0;
}

body.olejak-light-mode .olejak-speaking-overview-list li::before,
body.olejak-light-mode .olejak-speaking-topic-number {
  background: #274C77;
  color: #274C77;
}

body.olejak-light-mode .olejak-speaking-topic-number {
  background: transparent;
}

body.olejak-light-mode .olejak-speaking-overview-panel h2 {
  color: var(--olejak-text);
}

@media (max-width: 991px) {
  .olejak-speaking-card-grid,
  .olejak-speaking-topic-grid {
    grid-template-columns: 1fr;
  }

  .olejak-speaking-hero-copy h1 {
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .olejak-speaking-card-grid,
  .olejak-speaking-topic-grid,
  .olejak-speaking-format-grid {
    gap: 16px;
  }
}

/* Speaking page: hero layout */
#speaking-hero.olejak-book-page-hero {
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(44px, 5vw, 76px);
}

#speaking-hero .container {
  max-width: 1320px;
}

#speaking-hero .olejak-book-hero-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.72fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}

#speaking-hero .olejak-speaking-hero-copy {
  width: 100%;
  max-width: none;
  margin-top: clamp(-28px, -2.2vw, -14px);
  padding-top: 0;
}

#speaking-hero .olejak-speaking-hero-copy h1 {
  max-width: 12em;
  font-size: clamp(3rem, 4.15vw, 4.85rem);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 18px;
}

#speaking-hero .olejak-speaking-lead {
  max-width: 72ch;
  margin-top: 0;
  margin-bottom: 20px;
  font-size: clamp(1.02rem, 0.96rem + 0.22vw, 1.14rem);
  line-height: 1.68;
}

#speaking-hero .olejak-home-actions {
  margin-top: 0;
}

#speaking-hero .olejak-speaking-hero-art {
  justify-self: start;
  width: min(100%, 360px);
  margin-left: 0;
  transform: none;
}

@media (max-width: 1199px) {
  #speaking-hero .olejak-book-hero-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.7fr);
    gap: clamp(24px, 3vw, 40px);
  }

  #speaking-hero .olejak-speaking-hero-copy h1 {
    font-size: clamp(2.85rem, 4.8vw, 4.2rem);
    max-width: 12em;
  }

  #speaking-hero .olejak-speaking-hero-art {
    width: min(100%, 330px);
  }
}

@media (max-width: 991px) {
  #speaking-hero.olejak-book-page-hero {
    padding-top: clamp(36px, 7vw, 60px);
  }

  #speaking-hero .olejak-book-hero-grid {
    grid-template-columns: 1fr;
  }

  #speaking-hero .olejak-speaking-hero-copy {
    margin-top: 0;
  }

  #speaking-hero .olejak-speaking-hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 9vw, 4.25rem);
  }

  #speaking-hero .olejak-speaking-hero-art {
    justify-self: center;
    width: min(100%, 320px);
  }
}

/* Speaking page: Conversation Formats editorial module */
#conversation-formats .container {
  max-width: 1280px;
}

#conversation-formats .olejak-speaking-formats-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: clamp(48px, 5vw, 72px);
  margin-bottom: 0;
}

#conversation-formats .olejak-speaking-formats-copy {
  max-width: 640px;
  margin: 0;
}

#conversation-formats .olejak-speaking-formats-copy h2 {
  max-width: 11.5em;
  font-size: clamp(3rem, 4.35vw, 4.9rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 20px;
}

#conversation-formats .olejak-speaking-formats-copy p:not(.olejak-eyebrow):not(.olejak-section-kicker) {
  max-width: 58ch;
  margin-top: 0;
  font-size: clamp(1.04rem, 0.99rem + 0.18vw, 1.15rem);
  line-height: 1.7;
}

#conversation-formats .olejak-speaking-formats-art {
  justify-self: end;
  width: min(100%, 540px);
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
}

#conversation-formats .olejak-speaking-formats-art img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  object-fit: cover;
  object-position: center;
}

#conversation-formats .olejak-speaking-format-grid {
  margin-top: clamp(48px, 5vw, 64px);
}

@media (max-width: 1199px) {
  #conversation-formats .olejak-speaking-formats-intro {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
    gap: clamp(36px, 4vw, 56px);
  }

  #conversation-formats .olejak-speaking-formats-copy h2 {
    font-size: clamp(2.75rem, 4.8vw, 4.15rem);
    max-width: 12em;
  }

  #conversation-formats .olejak-speaking-formats-art {
    width: min(100%, 480px);
  }
}

@media (max-width: 991px) {
  #conversation-formats .olejak-speaking-formats-intro {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  #conversation-formats .olejak-speaking-formats-copy {
    max-width: 680px;
  }

  #conversation-formats .olejak-speaking-formats-copy h2 {
    max-width: 100%;
    font-size: clamp(2.45rem, 8vw, 3.8rem);
  }

  #conversation-formats .olejak-speaking-formats-art {
    justify-self: start;
    width: min(100%, 560px);
  }

  #conversation-formats .olejak-speaking-formats-art img {
    aspect-ratio: 4 / 3;
  }

  #conversation-formats .olejak-speaking-format-grid {
    margin-top: 40px;
  }
}

/* Speaking page: CTA card inside Conversation Formats grid */
#conversation-formats .olejak-speaking-format-cta-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  background:
    radial-gradient(circle at 18% 12%, rgba(163, 206, 241, 0.32), transparent 38%),
    linear-gradient(135deg, rgba(231, 236, 239, 0.96), rgba(255, 255, 255, 0.78));
  border-color: rgba(39, 76, 119, 0.2);
  box-shadow: 0 22px 56px rgba(39, 76, 119, 0.14);
}

#conversation-formats .olejak-speaking-format-cta-card .olejak-section-kicker {
  margin-bottom: 0.85rem;
  color: #274c77;
}

#conversation-formats .olejak-speaking-format-cta-card h3 {
  margin-bottom: 0.75rem;
}

#conversation-formats .olejak-speaking-format-cta-card .olejak-button {
  align-self: flex-start;
  margin-top: 1.2rem;
}

/* Speaking page: make Conversation Formats CTA use the open grid space */
#conversation-formats .olejak-speaking-format-cta-card {
  grid-column: span 3;
  min-height: 280px;
  padding: clamp(2rem, 4vw, 3rem);
}

#conversation-formats .olejak-speaking-format-cta-card h3 {
  max-width: 12ch;
  font-size: clamp(2rem, 3vw, 3.75rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

#conversation-formats .olejak-speaking-format-cta-card p:not(.olejak-section-kicker) {
  max-width: 52ch;
}

#conversation-formats .olejak-speaking-format-cta-card .olejak-button {
  margin-top: 1.35rem;
}

@media (max-width: 1199px) {
  #conversation-formats .olejak-speaking-format-cta-card {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  #conversation-formats .olejak-speaking-format-cta-card {
    grid-column: auto;
    min-height: auto;
  }

  #conversation-formats .olejak-speaking-format-cta-card h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
}

/* Speaking page: align CTA card with format-card system */
#conversation-formats .olejak-speaking-format-cta-card {
  grid-column: span 3;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 3vw, 2.75rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(163, 206, 241, 0.16), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(231, 236, 239, 0.74));
  border: 1px solid rgba(39, 76, 119, 0.14);
  box-shadow: 0 26px 70px rgba(20, 30, 38, 0.11);
}

#conversation-formats .olejak-speaking-format-cta-card .olejak-section-kicker {
  margin: 0 0 0.85rem;
  color: #274c77;
}

#conversation-formats .olejak-speaking-format-cta-card h3 {
  max-width: 12ch;
  margin: 0 0 0.85rem;
  font-size: clamp(2.15rem, 3.2vw, 3.65rem);
  line-height: 0.95;
  letter-spacing: -0.045em;
}

#conversation-formats .olejak-speaking-format-cta-card p:not(.olejak-section-kicker) {
  max-width: 54ch;
  margin-bottom: 0;
}

#conversation-formats .olejak-speaking-format-cta-card .olejak-button {
  align-self: flex-start;
  margin-top: 1.35rem;
  padding: 0.82rem 1.15rem;
  border-radius: 999px;
  background: #274c77;
  color: #fff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(39, 76, 119, 0.18);
}

#conversation-formats .olejak-speaking-format-cta-card .olejak-button:hover,
#conversation-formats .olejak-speaking-format-cta-card .olejak-button:focus-visible {
  background: #1f3e62;
  color: #fff;
}

@media (max-width: 1199px) {
  #conversation-formats .olejak-speaking-format-cta-card {
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  #conversation-formats .olejak-speaking-format-cta-card {
    grid-column: auto;
    min-height: auto;
  }

  #conversation-formats .olejak-speaking-format-cta-card h3 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }
}

/* Speaking page: theme-aware CTA card in Conversation Formats grid */

/* Default / dark mode */
#conversation-formats .olejak-speaking-format-cta-card {
  background:
    radial-gradient(circle at 14% 8%, rgba(96, 150, 186, 0.18), transparent 36%),
    linear-gradient(135deg, rgba(33, 38, 43, 0.96), rgba(17, 22, 26, 0.94)) !important;
  border-color: rgba(231, 236, 239, 0.16) !important;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.34) !important;
}

#conversation-formats .olejak-speaking-format-cta-card .olejak-section-kicker {
  color: #a3cef1 !important;
}

#conversation-formats .olejak-speaking-format-cta-card h3 {
  color: #f4ecdc !important;
}

#conversation-formats .olejak-speaking-format-cta-card p:not(.olejak-section-kicker) {
  color: rgba(244, 236, 220, 0.82) !important;
}

#conversation-formats .olejak-speaking-format-cta-card .olejak-button {
  background: #a3cef1 !important;
  color: #10161a !important;
  box-shadow: 0 16px 38px rgba(96, 150, 186, 0.22) !important;
}

#conversation-formats .olejak-speaking-format-cta-card .olejak-button:hover,
#conversation-formats .olejak-speaking-format-cta-card .olejak-button:focus-visible {
  background: #e7ecef !important;
  color: #10161a !important;
}

/* Light mode */
body.olejak-light-mode #conversation-formats .olejak-speaking-format-cta-card {
  background:
    radial-gradient(circle at 12% 0%, rgba(163, 206, 241, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 236, 239, 0.76)) !important;
  border-color: rgba(39, 76, 119, 0.14) !important;
  box-shadow: 0 26px 70px rgba(20, 30, 38, 0.11) !important;
}

body.olejak-light-mode #conversation-formats .olejak-speaking-format-cta-card .olejak-section-kicker {
  color: #274c77 !important;
}

body.olejak-light-mode #conversation-formats .olejak-speaking-format-cta-card h3 {
  color: #10161a !important;
}

body.olejak-light-mode #conversation-formats .olejak-speaking-format-cta-card p:not(.olejak-section-kicker) {
  color: rgba(16, 22, 26, 0.78) !important;
}

body.olejak-light-mode #conversation-formats .olejak-speaking-format-cta-card .olejak-button {
  background: #274c77 !important;
  color: #ffffff !important;
  box-shadow: 0 14px 34px rgba(39, 76, 119, 0.18) !important;
}

body.olejak-light-mode #conversation-formats .olejak-speaking-format-cta-card .olejak-button:hover,
body.olejak-light-mode #conversation-formats .olejak-speaking-format-cta-card .olejak-button:focus-visible {
  background: #1f3e62 !important;
  color: #ffffff !important;
}

/* =========================================================
   OLEJAK PEACE WITNESS EDITORIAL REBUILD
========================================================= */
.olejak-peace-story {
  --olejak-peace-article-width: 66ch;
  --olejak-peace-wide-width: 1184px;
  --olejak-peace-section-pad: clamp(72px, 8vw, 120px);
  --olejak-peace-prose-color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 42%);
  --olejak-peace-prose-strong: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 22%);
}

.olejak-peace-hero,
.olejak-peace-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--olejak-border);
}

.olejak-peace-hero {
  padding: clamp(72px, 9vw, 136px) 0 clamp(64px, 8vw, 112px);
  background:
    radial-gradient(circle at 78% 18%, rgba(214, 181, 109, 0.12), transparent 22rem),
    linear-gradient(180deg, var(--olejak-bg-deep) 0%, var(--olejak-bg) 100%);
}

.olejak-peace-section {
  padding: var(--olejak-peace-section-pad) 0;
  background: var(--olejak-bg);
}

.olejak-peace-section--quiet {
  background:
    radial-gradient(circle at 12% 10%, rgba(214, 181, 109, 0.055), transparent 22rem),
    var(--olejak-bg-soft);
}

.olejak-peace-section--dark {
  background:
    radial-gradient(circle at 86% 16%, rgba(214, 181, 109, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--olejak-bg-deep) 0%, var(--olejak-bg-soft) 100%);
}

.olejak-peace-hero-grid,
.olejak-peace-feature-lede,
.olejak-peace-sidebar-layout {
  max-width: var(--olejak-peace-wide-width);
  margin-inline: auto;
}

.olejak-peace-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.38fr);
  align-items: end;
  gap: clamp(40px, 6vw, 88px);
}

.olejak-peace-hero-copy {
  max-width: 840px;
}

.olejak-peace-hero h1,
.olejak-peace-section h2,
.olejak-peace-closing-shell h2 {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0;
}

.olejak-peace-hero h1 {
  max-width: 10.5em;
  font-size: clamp(3.1rem, 6.2vw, 6.4rem);
  line-height: 1;
}

.olejak-peace-section h2,
.olejak-peace-closing-shell h2 {
  max-width: 11.5em;
  font-size: clamp(2.25rem, 4vw, 4.4rem);
  line-height: 1.04;
}

.olejak-peace-deck,
.olejak-peace-lead {
  max-width: 64ch;
  margin: 24px 0 0;
  color: var(--olejak-peace-prose-strong);
  font-size: clamp(1.16rem, 1.06rem + 0.38vw, 1.36rem);
  font-weight: 400;
  line-height: 1.62;
}

.olejak-peace-article-prose {
  max-width: var(--olejak-peace-article-width);
  margin-inline: auto;
}

.olejak-peace-article-prose > .olejak-eyebrow,
.olejak-peace-section-heading > .olejak-eyebrow {
  margin-bottom: 14px;
}

.olejak-peace-article-prose > h2 + p,
.olejak-peace-article-prose > .olejak-eyebrow + h2 + p {
  margin-top: 24px;
}

.olejak-peace-article-prose p:not(.olejak-eyebrow),
.olejak-peace-closing-shell > p {
  max-width: var(--olejak-peace-article-width);
  margin: 0;
  color: var(--olejak-peace-prose-color);
  font-size: clamp(1.125rem, 1.08rem + 0.16vw, 1.2rem);
  font-weight: 400;
  line-height: 1.68;
  letter-spacing: 0;
  text-wrap: pretty;
}

.olejak-peace-article-prose p:not(.olejak-eyebrow) + p:not(.olejak-eyebrow) {
  margin-top: 1.05em;
}

.olejak-peace-article-prose p:not(.olejak-eyebrow):first-of-type {
  color: var(--olejak-peace-prose-strong);
}

.olejak-peace-feature-lede {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
  margin-bottom: clamp(40px, 5vw, 64px);
}

.olejak-peace-feature-lede--narrow-figure {
  grid-template-columns: minmax(0, 1fr) minmax(240px, 0.42fr);
}

.olejak-peace-section-heading {
  max-width: 720px;
}

.olejak-peace-figure {
  width: 100%;
  max-width: 520px;
  margin: 0;
  justify-self: end;
}

.olejak-peace-figure--threshold {
  max-width: 360px;
}

.olejak-peace-figure-surface {
  position: relative;
  min-height: clamp(232px, 24vw, 360px);
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 74%);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(242, 234, 220, 0.075), rgba(242, 234, 220, 0.022)),
    rgba(11, 14, 15, 0.88);
  box-shadow:
    0 22px 58px var(--olejak-shadow-card),
    0 0 24px rgba(214, 181, 109, 0.04);
  overflow: hidden;
  isolation: isolate;
}

.olejak-peace-figure-surface::before,
.olejak-peace-figure-surface::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.olejak-peace-figure-surface::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(214, 181, 109, 0.15), transparent 11rem),
    radial-gradient(circle at 78% 84%, rgba(242, 234, 220, 0.08), transparent 12rem);
}

.olejak-peace-figure--desk .olejak-peace-figure-surface {
  aspect-ratio: 4 / 3;
}

.olejak-peace-figure--desk .olejak-peace-figure-surface::after {
  background:
    linear-gradient(105deg, transparent 0 34%, rgba(242, 234, 220, 0.12) 34% 36%, transparent 36% 100%),
    linear-gradient(180deg, transparent 0 52%, rgba(214, 181, 109, 0.14) 52% 54%, transparent 54% 100%);
}

.olejak-peace-figure--threshold .olejak-peace-figure-surface {
  aspect-ratio: 1 / 1;
  min-height: clamp(232px, 24vw, 336px);
}

.olejak-peace-figure--threshold .olejak-peace-figure-surface::after {
  background:
    linear-gradient(90deg, rgba(242, 234, 220, 0.06) 0 3%, transparent 3% 12%, rgba(242, 234, 220, 0.08) 12% 14%, transparent 14% 24%, rgba(242, 234, 220, 0.06) 24% 28%, transparent 28% 100%),
    linear-gradient(180deg, rgba(214, 181, 109, 0.07), transparent 28%);
}

.olejak-peace-figure figcaption {
  margin-top: 12px;
  color: color-mix(in srgb, var(--olejak-muted), transparent 10%);
  font-size: 0.84rem;
  line-height: 1.55;
}

.olejak-peace-sidebar-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--olejak-peace-article-width)) minmax(240px, 0.36fr);
  align-items: start;
  gap: clamp(40px, 5vw, 72px);
}

.olejak-peace-sidebar-layout .olejak-peace-article-prose {
  margin-inline: 0;
}

.olejak-peace-side-note {
  position: sticky;
  top: 96px;
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 76%);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(242, 234, 220, 0.055), rgba(242, 234, 220, 0.02)),
    rgba(12, 15, 16, 0.86);
  box-shadow: 0 20px 52px var(--olejak-shadow-soft);
}

.olejak-peace-side-note h3 {
  margin: 0 0 16px;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(1.28rem, 1.6vw, 1.72rem);
  font-weight: 800;
  line-height: 1.12;
}

.olejak-peace-side-note p {
  margin: 0;
  color: color-mix(in srgb, var(--olejak-muted), transparent 4%);
  font-size: 0.98rem;
  line-height: 1.65;
}

.olejak-peace-side-note p + p {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--olejak-border), transparent 10%);
}

.olejak-peace-quote {
  margin: 0;
}

.olejak-peace-quote p {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0;
}

.olejak-peace-quote cite {
  display: block;
  margin-top: 14px;
  color: var(--olejak-light);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-peace-quote-rail {
  align-self: end;
  padding: 24px;
  border-left: 1px solid color-mix(in srgb, var(--olejak-light), transparent 58%);
  background: linear-gradient(90deg, rgba(242, 234, 220, 0.04), transparent);
}

.olejak-peace-quote--rail p {
  font-size: clamp(1.18rem, 1.3vw, 1.54rem);
  line-height: 1.28;
}

.olejak-peace-quote-rail > p {
  margin: 18px 0 0;
  color: var(--olejak-muted);
  font-size: 0.98rem;
  line-height: 1.62;
}

.olejak-peace-pullquote {
  max-width: 980px;
  margin: 0 auto clamp(40px, 5vw, 64px);
}

.olejak-peace-quote--major {
  text-align: center;
}

.olejak-peace-quote--major p {
  font-size: clamp(2.35rem, 5vw, 5.4rem);
  line-height: 1.02;
}

.olejak-peace-quote--inline {
  max-width: 760px;
  margin-top: clamp(40px, 5vw, 64px);
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-left: 24px;
  border-left: 2px solid color-mix(in srgb, var(--olejak-light), transparent 28%);
}

.olejak-peace-quote--inline p,
.olejak-peace-quote--offset p {
  font-size: clamp(1.7rem, 2.6vw, 2.7rem);
  line-height: 1.1;
}

.olejak-peace-quote--offset {
  max-width: 820px;
  margin: clamp(48px, 6vw, 72px) auto;
  padding: clamp(24px, 3vw, 32px) 0;
  border-top: 1px solid color-mix(in srgb, var(--olejak-light), transparent 74%);
  border-bottom: 1px solid color-mix(in srgb, var(--olejak-light), transparent 74%);
}

.olejak-peace-practice-list,
.olejak-peace-theme-list {
  max-width: 980px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  padding: 0;
  list-style: none;
}

.olejak-peace-practice-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.olejak-peace-practice-list li {
  padding: 22px;
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 10%);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(242, 234, 220, 0.04), rgba(242, 234, 220, 0.016)),
    rgba(12, 15, 16, 0.72);
}

.olejak-peace-practice-list strong,
.olejak-peace-theme-label {
  display: block;
  color: var(--olejak-text);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-peace-practice-list span {
  display: block;
  margin-top: 12px;
  color: var(--olejak-peace-prose-color);
  font-size: 1.02rem;
  line-height: 1.62;
}

.olejak-peace-theme-list {
  display: grid;
  gap: 0;
  counter-reset: peace-theme;
  border-top: 1px solid color-mix(in srgb, var(--olejak-border), transparent 8%);
}

.olejak-peace-theme-list li {
  display: grid;
  grid-template-columns: minmax(160px, 0.35fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 48px);
  padding: 24px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--olejak-border), transparent 8%);
  counter-increment: peace-theme;
}

.olejak-peace-theme-label::before {
  content: counter(peace-theme, decimal-leading-zero) " / ";
  color: var(--olejak-light);
}

.olejak-peace-theme-list p {
  max-width: 58ch;
  margin: 0;
  color: var(--olejak-peace-prose-color);
  font-size: clamp(1.05rem, 1rem + 0.14vw, 1.14rem);
  line-height: 1.66;
}

.olejak-peace-closing {
  padding-bottom: clamp(84px, 10vw, 144px);
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 181, 109, 0.09), transparent 24rem),
    var(--olejak-bg);
}

.olejak-peace-closing-shell {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.olejak-peace-closing-shell h2 {
  margin-inline: auto;
}

.olejak-peace-closing-shell > p {
  margin: 24px auto 0;
}

.olejak-peace-closing-shell .olejak-home-actions {
  justify-content: center;
}

body.olejak-light-mode .olejak-peace-hero,
body.olejak-light-mode .olejak-peace-section,
body.olejak-light-mode .olejak-peace-closing {
  background: var(--olejak-bg);
  border-bottom-color: var(--olejak-border);
}

body.olejak-light-mode .olejak-peace-section--quiet {
  background: var(--olejak-bg-soft);
}

body.olejak-light-mode .olejak-peace-section--dark {
  background:
    radial-gradient(circle at 86% 16%, rgba(39, 76, 119, 0.08), transparent 24rem),
    linear-gradient(180deg, var(--olejak-surface) 0%, var(--olejak-surface-deep) 100%);
}

body.olejak-light-mode .olejak-peace-deck,
body.olejak-light-mode .olejak-peace-lead,
body.olejak-light-mode .olejak-peace-article-prose p:not(.olejak-eyebrow):first-of-type {
  color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 24%);
}

body.olejak-light-mode .olejak-peace-article-prose p:not(.olejak-eyebrow),
body.olejak-light-mode .olejak-peace-closing-shell > p,
body.olejak-light-mode .olejak-peace-theme-list p,
body.olejak-light-mode .olejak-peace-practice-list span,
body.olejak-light-mode .olejak-peace-quote-rail > p {
  color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 44%);
}

body.olejak-light-mode .olejak-peace-figure-surface,
body.olejak-light-mode .olejak-peace-side-note,
body.olejak-light-mode .olejak-peace-practice-list li {
  border-color: color-mix(in srgb, var(--olejak-border), transparent 8%);
  background:
    linear-gradient(180deg, rgba(248, 249, 245, 0.92), rgba(231, 236, 239, 0.68));
  box-shadow:
    0 24px 64px var(--olejak-shadow-card),
    0 0 24px var(--olejak-cool-wash);
}

body.olejak-light-mode .olejak-peace-figure-surface::before {
  background:
    radial-gradient(circle at 18% 16%, rgba(39, 76, 119, 0.16), transparent 11rem),
    radial-gradient(circle at 78% 84%, rgba(163, 206, 241, 0.24), transparent 12rem);
}

body.olejak-light-mode .olejak-peace-figure--desk .olejak-peace-figure-surface::after {
  background:
    linear-gradient(105deg, transparent 0 34%, rgba(39, 76, 119, 0.08) 34% 36%, transparent 36% 100%),
    linear-gradient(180deg, transparent 0 52%, rgba(255, 93, 115, 0.12) 52% 54%, transparent 54% 100%);
}

body.olejak-light-mode .olejak-peace-figure--threshold .olejak-peace-figure-surface::after {
  background:
    linear-gradient(90deg, rgba(39, 76, 119, 0.08) 0 3%, transparent 3% 12%, rgba(39, 76, 119, 0.1) 12% 14%, transparent 14% 24%, rgba(39, 76, 119, 0.08) 24% 28%, transparent 28% 100%),
    linear-gradient(180deg, rgba(39, 76, 119, 0.06), transparent 28%);
}

body.olejak-light-mode .olejak-peace-quote cite,
body.olejak-light-mode .olejak-peace-theme-label::before,
body.olejak-light-mode .olejak-peace-figure figcaption {
  color: #274c77;
}

body.olejak-light-mode .olejak-peace-quote-rail {
  border-left-color: color-mix(in srgb, #274c77, transparent 54%);
  background: linear-gradient(90deg, rgba(39, 76, 119, 0.055), transparent);
}

body.olejak-light-mode .olejak-peace-quote--inline {
  border-left-color: color-mix(in srgb, #274c77, transparent 30%);
}

body.olejak-light-mode .olejak-peace-quote--offset,
body.olejak-light-mode .olejak-peace-theme-list,
body.olejak-light-mode .olejak-peace-theme-list li {
  border-color: color-mix(in srgb, var(--olejak-border), transparent 8%);
}

@media (max-width: 991px) {
  .olejak-peace-hero-grid,
  .olejak-peace-feature-lede,
  .olejak-peace-feature-lede--narrow-figure,
  .olejak-peace-sidebar-layout {
    grid-template-columns: 1fr;
  }

  .olejak-peace-quote-rail,
  .olejak-peace-side-note {
    position: static;
    max-width: var(--olejak-peace-article-width);
  }

  .olejak-peace-figure {
    max-width: 100%;
    justify-self: stretch;
  }

  .olejak-peace-practice-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .olejak-peace-hero,
  .olejak-peace-section {
    padding-top: clamp(56px, 12vw, 80px);
    padding-bottom: clamp(56px, 12vw, 80px);
  }

  .olejak-peace-hero h1 {
    font-size: clamp(2.55rem, 12vw, 4rem);
    line-height: 1.04;
  }

  .olejak-peace-section h2,
  .olejak-peace-closing-shell h2 {
    font-size: clamp(2.05rem, 9vw, 3.2rem);
    line-height: 1.06;
  }

  .olejak-peace-article-prose p:not(.olejak-eyebrow),
  .olejak-peace-closing-shell > p {
    font-size: 1.0625rem;
    line-height: 1.7;
  }

  .olejak-peace-theme-list li {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* Peace Witness page: balanced hero fix after quote-rail rollback */
#peace-witness-hero .olejak-peace-hero-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(420px, 520px);
  align-items: start;
  gap: clamp(48px, 6vw, 88px);
}

#peace-witness-hero .olejak-peace-hero-copy {
  max-width: 760px;
}

#peace-witness-hero .olejak-peace-hero-copy h1 {
  font-size: clamp(4.25rem, 7vw, 7.4rem);
  line-height: 0.98;
  max-width: 8.7em;
}

#peace-witness-hero .olejak-peace-quote-rail {
  width: 100%;
  max-width: 520px;
  justify-self: end;
  align-self: start;
  padding: 28px 32px;
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--olejak-surface), var(--olejak-bg) 38%),
      color-mix(in srgb, var(--olejak-surface), var(--olejak-bg) 52%)
    );
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 10%);
  border-left: 1px solid color-mix(in srgb, var(--olejak-border), transparent 10%);
}

#peace-witness-hero .olejak-peace-quote--rail p {
  font-size: clamp(1.12rem, 1.25vw, 1.42rem);
  line-height: 1.28;
  letter-spacing: -0.008em;
}

#peace-witness-hero .olejak-peace-quote-rail > p {
  font-size: clamp(0.88rem, 0.84rem + 0.12vw, 0.98rem);
  line-height: 1.55;
}

body.olejak-light-mode #peace-witness-hero .olejak-peace-quote-rail {
  background:
    linear-gradient(
      135deg,
      color-mix(in srgb, var(--olejak-bg), #ffffff 26%),
      color-mix(in srgb, var(--olejak-bg), #ffffff 12%)
    );
  border-color: color-mix(in srgb, var(--olejak-border), transparent 0%);
  box-shadow: 0 18px 46px color-mix(in srgb, var(--olejak-shadow-card), transparent 10%);
}

@media (max-width: 991px) {
  #peace-witness-hero .olejak-peace-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #peace-witness-hero .olejak-peace-hero-copy h1 {
    font-size: clamp(3rem, 11vw, 5.4rem);
    max-width: 100%;
  }

  #peace-witness-hero .olejak-peace-quote-rail {
    max-width: 680px;
    justify-self: stretch;
  }

  #peace-witness-hero .olejak-peace-quote--rail p {
    font-size: clamp(1.05rem, 4.2vw, 1.32rem);
  }
}

@media (max-width: 640px) {
  #peace-witness-hero .olejak-peace-hero-copy h1 {
    font-size: clamp(2.55rem, 13vw, 3.85rem);
    line-height: 1.03;
  }
}

/* Peace Witness page: kill oversized hero headline */
#peace-witness-hero .olejak-peace-hero-copy h1 {
  font-size: clamp(3.1rem, 4.9vw, 5.6rem) !important;
  line-height: 1.02 !important;
  max-width: 9.8em !important;
  letter-spacing: -0.045em !important;
}

@media (max-width: 991px) {
  #peace-witness-hero .olejak-peace-hero-copy h1 {
    font-size: clamp(2.7rem, 8.5vw, 4.6rem) !important;
    line-height: 1.04 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  #peace-witness-hero .olejak-peace-hero-copy h1 {
    font-size: clamp(2.25rem, 10vw, 3.35rem) !important;
  }
}

/* Peace Witness page: actual editorial hero headline scale */
#peace-witness-hero .olejak-peace-hero-copy h1 {
  font-size: clamp(2.8rem, 4.05vw, 4.85rem) !important;
  line-height: 1.04 !important;
  max-width: 10.8em !important;
  letter-spacing: -0.04em !important;
}

#peace-witness-hero .olejak-peace-hero-copy {
  max-width: 720px !important;
}

@media (max-width: 991px) {
  #peace-witness-hero .olejak-peace-hero-copy h1 {
    font-size: clamp(2.45rem, 7.5vw, 4rem) !important;
    line-height: 1.05 !important;
    max-width: 100% !important;
  }
}

@media (max-width: 640px) {
  #peace-witness-hero .olejak-peace-hero-copy h1 {
    font-size: clamp(2.15rem, 9.5vw, 3.15rem) !important;
    line-height: 1.07 !important;
  }
}

/* Peace Witness page: MAKE IT STOP — readable editorial hero reset */
#peace-witness-hero .olejak-peace-hero-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 500px) !important;
  align-items: center !important;
  gap: clamp(40px, 5vw, 72px) !important;
}

#peace-witness-hero .olejak-peace-hero-copy {
  max-width: 680px !important;
}

#peace-witness-hero .olejak-peace-hero-copy h1 {
  font-size: clamp(2.65rem, 3.55vw, 4.25rem) !important;
  line-height: 1.08 !important;
  letter-spacing: -0.035em !important;
  max-width: 12.5em !important;
  margin-bottom: 24px !important;
}

#peace-witness-hero .olejak-peace-hero-copy p:not(.olejak-eyebrow):not(.olejak-section-kicker) {
  max-width: 62ch !important;
  font-size: clamp(1.08rem, 1rem + 0.24vw, 1.22rem) !important;
  line-height: 1.68 !important;
}

#peace-witness-hero .olejak-peace-quote-rail {
  width: 100% !important;
  max-width: 500px !important;
  padding: 28px 32px !important;
  align-self: center !important;
  justify-self: end !important;
}

#peace-witness-hero .olejak-peace-quote--rail p {
  font-size: clamp(1.05rem, 1.08vw, 1.28rem) !important;
  line-height: 1.3 !important;
  letter-spacing: -0.006em !important;
}

@media (max-width: 991px) {
  #peace-witness-hero .olejak-peace-hero-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }

  #peace-witness-hero .olejak-peace-hero-copy h1 {
    font-size: clamp(2.35rem, 7vw, 3.75rem) !important;
    line-height: 1.08 !important;
    max-width: 100% !important;
  }

  #peace-witness-hero .olejak-peace-quote-rail {
    justify-self: stretch !important;
    max-width: 680px !important;
  }
}

@media (max-width: 640px) {
  #peace-witness-hero .olejak-peace-hero-copy h1 {
    font-size: clamp(2.05rem, 9vw, 3rem) !important;
  }
}

/* Peace Witness page: real image inside editorial figure */
.olejak-peace-figure--image {
  overflow: hidden;
}

.olejak-peace-figure--image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: inherit;
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 8%);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--olejak-shadow-card), transparent 8%);
}

.olejak-peace-figure--image .olejak-peace-figure-surface {
  display: none;
}

.olejak-peace-figure--image figcaption {
  margin-top: 12px;
}

/* Peace Witness page: balance tax-papers figure with editorial headline */
#the-check-he-could-not-write .olejak-peace-figure--image {
  width: min(100%, 640px);
  justify-self: end;
  align-self: center;
}

#the-check-he-could-not-write .olejak-peace-figure--image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

#the-check-he-could-not-write .olejak-peace-figure--image figcaption {
  max-width: 46ch;
  margin-top: 16px;
  color: var(--olejak-muted);
  font-size: clamp(0.92rem, 0.86rem + 0.16vw, 1rem);
  line-height: 1.55;
}

body.olejak-light-mode #the-check-he-could-not-write .olejak-peace-figure--image figcaption {
  color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 48%);
}

@media (min-width: 992px) {
  #the-check-he-could-not-write .olejak-peace-feature-lede,
  #the-check-he-could-not-write .olejak-peace-feature-grid,
  #the-check-he-could-not-write .olejak-peace-media-grid {
    align-items: center;
  }
}

@media (max-width: 991px) {
  #the-check-he-could-not-write .olejak-peace-figure--image {
    width: 100%;
    justify-self: stretch;
  }
}

/* Peace Witness page: enlarge tax-papers image only */
#the-check-he-could-not-write .olejak-peace-feature-lede {
  grid-template-columns: minmax(0, 0.9fr) minmax(520px, 0.9fr) !important;
  column-gap: clamp(48px, 6vw, 88px) !important;
}

#the-check-he-could-not-write .olejak-peace-figure--image {
  width: min(100%, 760px) !important;
  max-width: 760px !important;
  justify-self: end !important;
}

#the-check-he-could-not-write .olejak-peace-figure--image img {
  width: 100% !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
}

@media (max-width: 991px) {
  #the-check-he-could-not-write .olejak-peace-feature-lede {
    grid-template-columns: 1fr !important;
  }

  #the-check-he-could-not-write .olejak-peace-figure--image {
    width: 100% !important;
    max-width: none !important;
    justify-self: stretch !important;
  }
}

/* Peace Witness page: repeated real-image editorial pattern */
.olejak-peace-feature-lede > .olejak-peace-article-prose {
  margin-inline: 0;
}

.olejak-peace-feature-lede > .olejak-peace-figure--image {
  width: min(100%, 760px);
  max-width: 760px;
  justify-self: end;
  align-self: center;
}

.olejak-peace-feature-lede > .olejak-peace-figure--image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center;
}

.olejak-peace-figure--image figcaption,
#the-check-he-could-not-write .olejak-peace-figure--image figcaption {
  display: block;
  width: 100%;
  max-width: none;
  margin-top: 16px;
  color: var(--olejak-muted);
  font-size: clamp(0.92rem, 0.86rem + 0.16vw, 1rem);
  line-height: 1.56;
}

.olejak-peace-side-note {
  max-width: min(100%, 980px);
  margin: clamp(24px, 4vw, 40px) auto 0;
}

body.olejak-light-mode .olejak-peace-figure--image figcaption,
body.olejak-light-mode #the-check-he-could-not-write .olejak-peace-figure--image figcaption {
  color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 48%);
}

@media (max-width: 991px) {
  .olejak-peace-feature-lede > .olejak-peace-figure--image {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
}

/* Peace Witness page: reduce only the peace testimony pull quote */
.olejak-peace-quote--testimony-small p {
  font-size: clamp(1.45rem, 2.25vw, 2.15rem) !important;
  line-height: 1.12 !important;
}

.olejak-peace-quote--testimony-small cite {
  font-size: 0.76rem !important;
}

@media (max-width: 640px) {
  .olejak-peace-quote--testimony-small p {
    font-size: clamp(1.28rem, 7vw, 1.75rem) !important;
    line-height: 1.18 !important;
  }
}

/* Peace Witness: clean up real image border treatment */
.olejak-peace-figure--image {
  border: 0;
  background: transparent;
}

.olejak-peace-figure--image img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  outline: 0;
  border-radius: 0;
  box-shadow: 0 24px 70px rgba(20, 30, 38, 0.12);
}

body.olejak-light-mode .olejak-peace-figure--image img {
  box-shadow: 0 24px 70px rgba(20, 30, 38, 0.12);
}

.olejak-peace-figure--image figcaption {
  margin-top: 1rem;
}

/* Peace Witness page: small figure CTA */
.olejak-peace-figure-button {
  margin-top: 16px;
  padding: 0.68rem 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

/* Peace Witness page: center small figure CTA */
.olejak-peace-figure-button {
  display: table;
  margin-left: auto;
  margin-right: auto;
}

/* Peace Witness page: center figure CTA text on button midline */
.olejak-peace-figure-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  min-height: 48px;
}

/* Peace Witness page: truly center figure CTA under image */
.olejak-peace-figure-button {
  display: flex;
  width: fit-content;
  max-width: 100%;
  margin: 16px auto 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* =========================================================
   OLEJAK INNER LIGHT PAGE
========================================================= */
.olejak-inner-light-story {
  --olejak-inner-light-article-width: 66ch;
  --olejak-inner-light-wide-width: 1120px;
  --olejak-inner-light-section-pad: clamp(72px, 8vw, 112px);
  --olejak-inner-light-prose-color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 42%);
  --olejak-inner-light-prose-strong: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 22%);
}

.olejak-inner-light-hero,
.olejak-inner-light-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--olejak-border);
}

.olejak-inner-light-hero {
  padding: clamp(72px, 8vw, 120px) 0 clamp(64px, 7vw, 104px);
  background:
    radial-gradient(circle at 78% 20%, rgba(214, 181, 109, 0.1), transparent 22rem),
    linear-gradient(180deg, var(--olejak-bg-deep) 0%, var(--olejak-bg) 100%);
}

.olejak-inner-light-section {
  padding: var(--olejak-inner-light-section-pad) 0;
  background: var(--olejak-bg);
}

.olejak-inner-light-section--quiet {
  background:
    radial-gradient(circle at 12% 10%, rgba(214, 181, 109, 0.045), transparent 22rem),
    var(--olejak-bg-soft);
}

.olejak-inner-light-section--dark {
  background:
    radial-gradient(circle at 84% 16%, rgba(214, 181, 109, 0.07), transparent 24rem),
    linear-gradient(180deg, var(--olejak-bg-deep) 0%, var(--olejak-bg-soft) 100%);
}

.olejak-inner-light-hero-grid,
.olejak-inner-light-feature {
  max-width: var(--olejak-inner-light-wide-width);
  margin-inline: auto;
}

.olejak-inner-light-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 440px);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.olejak-inner-light-hero-copy {
  max-width: 720px;
}

.olejak-inner-light-hero h1,
.olejak-inner-light-section h2,
.olejak-inner-light-closing-shell h2 {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0;
}

.olejak-inner-light-hero h1 {
  max-width: 11.2em;
  font-size: clamp(2.65rem, 3.9vw, 4.65rem);
  line-height: 1.06;
}

.olejak-inner-light-section h2,
.olejak-inner-light-closing-shell h2 {
  max-width: 12em;
  font-size: clamp(2.1rem, 3.4vw, 3.85rem);
  line-height: 1.06;
}

.olejak-inner-light-deck {
  max-width: 62ch;
  margin: 24px 0 0;
  color: var(--olejak-inner-light-prose-strong);
  font-size: clamp(1.1rem, 1.04rem + 0.22vw, 1.24rem);
  line-height: 1.68;
}

.olejak-inner-light-quote-rail {
  width: 100%;
  max-width: 440px;
  justify-self: end;
  padding: clamp(24px, 3vw, 32px);
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 8%);
  border-left: 1px solid color-mix(in srgb, var(--olejak-light), transparent 46%);
  border-radius: 6px;
  background:
    linear-gradient(135deg, color-mix(in srgb, var(--olejak-surface), var(--olejak-bg) 36%), color-mix(in srgb, var(--olejak-surface), var(--olejak-bg) 52%));
  box-shadow: 0 20px 52px var(--olejak-shadow-soft);
}

.olejak-inner-light-quote-rail blockquote {
  margin: 0;
}

.olejak-inner-light-quote-rail p,
.olejak-inner-light-pullquote p {
  margin: 0;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: 0;
}

.olejak-inner-light-quote-rail p {
  font-size: clamp(1.06rem, 1.02rem + 0.2vw, 1.24rem);
  line-height: 1.34;
}

.olejak-inner-light-quote-rail cite,
.olejak-inner-light-pullquote cite {
  display: block;
  margin-top: 14px;
  color: var(--olejak-light);
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-inner-light-article-prose {
  max-width: var(--olejak-inner-light-article-width);
  margin-inline: auto;
}

.olejak-inner-light-article-prose > .olejak-eyebrow {
  margin-bottom: 14px;
}

.olejak-inner-light-article-prose > h2 + p,
.olejak-inner-light-article-prose > .olejak-eyebrow + h2 + p {
  margin-top: 24px;
}

.olejak-inner-light-article-prose p:not(.olejak-eyebrow),
.olejak-inner-light-closing-shell > p {
  max-width: var(--olejak-inner-light-article-width);
  margin: 0;
  color: var(--olejak-inner-light-prose-color);
  font-size: clamp(1.09rem, 1.04rem + 0.15vw, 1.17rem);
  font-weight: 400;
  line-height: 1.72;
  letter-spacing: 0;
  text-wrap: pretty;
}

.olejak-inner-light-article-prose p:not(.olejak-eyebrow) + p:not(.olejak-eyebrow) {
  margin-top: 1.05em;
}

.olejak-inner-light-article-prose p:not(.olejak-eyebrow):first-of-type {
  color: var(--olejak-inner-light-prose-strong);
}

.olejak-inner-light-feature {
  display: grid;
  grid-template-columns: minmax(0, var(--olejak-inner-light-article-width)) minmax(240px, 0.38fr);
  align-items: center;
  gap: clamp(40px, 5vw, 72px);
}

.olejak-inner-light-feature .olejak-inner-light-article-prose {
  margin-inline: 0;
}

.olejak-inner-light-side-note {
  padding: 24px;
  border: 1px solid color-mix(in srgb, var(--olejak-light), transparent 76%);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(242, 234, 220, 0.052), rgba(242, 234, 220, 0.018)),
    rgba(12, 15, 16, 0.8);
  box-shadow: 0 18px 48px var(--olejak-shadow-soft);
}

.olejak-inner-light-side-note p {
  margin: 0;
  color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 26%);
  font-family: var(--heading-font);
  font-size: clamp(1.12rem, 1.05rem + 0.28vw, 1.32rem);
  font-weight: 800;
  line-height: 1.28;
}

.olejak-inner-light-pullquote {
  max-width: 780px;
  margin: clamp(40px, 5vw, 64px) auto 0;
  padding: clamp(24px, 3vw, 32px) 0;
  border-top: 1px solid color-mix(in srgb, var(--olejak-light), transparent 74%);
  border-bottom: 1px solid color-mix(in srgb, var(--olejak-light), transparent 74%);
}

.olejak-inner-light-pullquote p {
  font-size: clamp(1.55rem, 2.3vw, 2.45rem);
  line-height: 1.12;
}

.olejak-inner-light-label-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  margin-top: clamp(32px, 5vw, 56px);
}

.olejak-inner-light-label-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.olejak-inner-light-label-card h3,
.olejak-inner-light-label-card p {
  margin: 0;
}

.olejak-inner-light-label-card p {
  color: var(--olejak-inner-light-prose-color);
  font-size: 1rem;
  line-height: 1.62;
}

.olejak-inner-light-closing {
  padding-bottom: clamp(84px, 10vw, 136px);
  background:
    radial-gradient(circle at 50% 0%, rgba(214, 181, 109, 0.075), transparent 24rem),
    var(--olejak-bg);
}

.olejak-inner-light-closing-shell {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.olejak-inner-light-closing-shell h2 {
  margin-inline: auto;
}

.olejak-inner-light-closing-shell > p {
  margin: 24px auto 0;
}

.olejak-inner-light-closing-shell .olejak-home-actions {
  justify-content: center;
}

body.olejak-light-mode .olejak-inner-light-hero,
body.olejak-light-mode .olejak-inner-light-section,
body.olejak-light-mode .olejak-inner-light-closing {
  background: var(--olejak-bg);
  border-bottom-color: var(--olejak-border);
}

body.olejak-light-mode .olejak-inner-light-section--quiet {
  background: var(--olejak-bg-soft);
}

body.olejak-light-mode .olejak-inner-light-section--dark {
  background:
    radial-gradient(circle at 84% 16%, rgba(39, 76, 119, 0.07), transparent 24rem),
    linear-gradient(180deg, var(--olejak-surface) 0%, var(--olejak-surface-deep) 100%);
}

body.olejak-light-mode .olejak-inner-light-deck,
body.olejak-light-mode .olejak-inner-light-article-prose p:not(.olejak-eyebrow):first-of-type {
  color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 24%);
}

body.olejak-light-mode .olejak-inner-light-article-prose p:not(.olejak-eyebrow),
body.olejak-light-mode .olejak-inner-light-closing-shell > p,
body.olejak-light-mode .olejak-inner-light-label-card p {
  color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 44%);
}

body.olejak-light-mode .olejak-inner-light-quote-rail,
body.olejak-light-mode .olejak-inner-light-side-note,
body.olejak-light-mode .olejak-inner-light-label-card {
  border-color: color-mix(in srgb, var(--olejak-border), transparent 8%);
  background:
    linear-gradient(180deg, rgba(248, 249, 245, 0.92), rgba(231, 236, 239, 0.68));
  box-shadow:
    0 24px 64px var(--olejak-shadow-card),
    0 0 24px var(--olejak-cool-wash);
}

body.olejak-light-mode .olejak-inner-light-quote-rail {
  border-left-color: color-mix(in srgb, #274c77, transparent 54%);
}

body.olejak-light-mode .olejak-inner-light-quote-rail cite,
body.olejak-light-mode .olejak-inner-light-pullquote cite {
  color: #274c77;
}

body.olejak-light-mode .olejak-inner-light-side-note p {
  color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 22%);
}

body.olejak-light-mode .olejak-inner-light-pullquote {
  border-color: color-mix(in srgb, var(--olejak-border), transparent 8%);
}

@media (max-width: 991px) {
  .olejak-inner-light-hero-grid,
  .olejak-inner-light-feature {
    grid-template-columns: 1fr;
  }

  .olejak-inner-light-quote-rail,
  .olejak-inner-light-side-note {
    max-width: var(--olejak-inner-light-article-width);
    justify-self: stretch;
  }

  .olejak-inner-light-label-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .olejak-inner-light-hero,
  .olejak-inner-light-section {
    padding-top: clamp(56px, 12vw, 80px);
    padding-bottom: clamp(56px, 12vw, 80px);
  }

  .olejak-inner-light-hero h1 {
    font-size: clamp(2.2rem, 9.5vw, 3.15rem);
    line-height: 1.08;
  }

  .olejak-inner-light-section h2,
  .olejak-inner-light-closing-shell h2 {
    font-size: clamp(2rem, 8vw, 2.8rem);
    line-height: 1.08;
  }

  .olejak-inner-light-article-prose p:not(.olejak-eyebrow),
  .olejak-inner-light-closing-shell > p {
    font-size: 1.0625rem;
    line-height: 1.72;
  }

  .olejak-inner-light-label-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* Inner Light page: That of God image companion */
#what-inner-light-means .olejak-inner-light-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

#what-inner-light-means .olejak-inner-light-article-prose {
  max-width: 66ch;
}

.olejak-inner-light-figure {
  margin: 0;
}

.olejak-inner-light-figure--image {
  width: min(100%, 520px);
  justify-self: end;
}

.olejak-inner-light-figure--image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 10%);
  box-shadow: 0 18px 44px color-mix(in srgb, var(--olejak-shadow-card), transparent 10%);
}

.olejak-inner-light-figure--image figcaption {
  width: 100%;
  max-width: none;
  margin-top: 16px;
  color: var(--olejak-muted);
  font-size: clamp(0.94rem, 0.9rem + 0.14vw, 1rem);
  line-height: 1.55;
}

body.olejak-light-mode .olejak-inner-light-figure--image figcaption {
  color: color-mix(in srgb, var(--olejak-text), var(--olejak-muted) 46%);
}

@media (max-width: 991px) {
  #what-inner-light-means .olejak-inner-light-feature {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .olejak-inner-light-figure--image {
    width: min(100%, 620px);
    justify-self: start;
  }

  .olejak-inner-light-figure--image img {
    aspect-ratio: 4 / 3;
  }
}

/* Inner Light page: Peace testimony image-left variation */
#from-belief-to-refusal .olejak-inner-light-feature--image-left {
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.08fr);
  align-items: center;
}

#from-belief-to-refusal .olejak-inner-light-feature--image-left .olejak-inner-light-article-prose {
  max-width: 66ch;
}

#from-belief-to-refusal .olejak-inner-light-figure--peace-testimony {
  width: min(100%, 520px);
  justify-self: start;
}

#from-belief-to-refusal .olejak-inner-light-figure--peace-testimony img {
  aspect-ratio: 5 / 4;
  object-position: center;
}

#from-belief-to-refusal .olejak-inner-light-figure--peace-testimony figcaption {
  width: 100%;
  max-width: none;
}

@media (max-width: 991px) {
  #from-belief-to-refusal .olejak-inner-light-feature--image-left {
    grid-template-columns: 1fr;
  }

  #from-belief-to-refusal .olejak-inner-light-figure--peace-testimony {
    width: min(100%, 620px);
    justify-self: start;
  }

  #from-belief-to-refusal .olejak-inner-light-figure--peace-testimony img {
    aspect-ratio: 4 / 3;
  }
}

/* Inner Light page: Quaker lineage image-left variation */
#quaker-lineage .olejak-inner-light-feature--image-left {
  grid-template-columns: minmax(340px, 0.72fr) minmax(0, 1.08fr);
  align-items: center;
}

#quaker-lineage .olejak-inner-light-feature--image-left .olejak-inner-light-article-prose {
  max-width: 66ch;
}

#quaker-lineage .olejak-inner-light-figure--quaker-lineage {
  width: min(100%, 520px);
  justify-self: start;
}

#quaker-lineage .olejak-inner-light-figure--quaker-lineage img {
  aspect-ratio: 4 / 5;
  object-position: center;
}

#quaker-lineage .olejak-inner-light-figure--quaker-lineage figcaption {
  width: 100%;
  max-width: none;
}

@media (max-width: 991px) {
  #quaker-lineage .olejak-inner-light-feature--image-left {
    grid-template-columns: 1fr;
  }

  #quaker-lineage .olejak-inner-light-figure--quaker-lineage {
    width: min(100%, 620px);
    justify-self: start;
  }

  #quaker-lineage .olejak-inner-light-figure--quaker-lineage img {
    aspect-ratio: 4 / 3;
  }
}

/* Inner Light page: closing book cover module */
#light-in-a-place-built-to-dim-it .olejak-inner-light-book-closing {
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-panel {
  justify-self: center;
  width: min(100%, 360px);
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-cover {
  margin: 0;
  padding: clamp(18px, 2vw, 28px);
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 8%);
  border-radius: 6px;
  background:
    radial-gradient(circle at 18% 12%, color-mix(in srgb, var(--olejak-gold), transparent 82%), transparent 9rem),
    linear-gradient(145deg, color-mix(in srgb, var(--olejak-surface), var(--olejak-bg) 28%), color-mix(in srgb, var(--olejak-surface-deep), var(--olejak-bg) 10%));
  box-shadow: 0 28px 70px color-mix(in srgb, var(--olejak-shadow-card), transparent 2%);
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-cover img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
  box-shadow: 0 18px 42px color-mix(in srgb, var(--olejak-shadow-card), transparent 6%);
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-actions {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-actions .olejak-link-button {
  width: 100%;
  justify-content: center;
  text-align: center;
}

body.olejak-light-mode #light-in-a-place-built-to-dim-it .olejak-inner-light-book-cover {
  background:
    radial-gradient(circle at 18% 12%, rgba(39, 76, 119, 0.08), transparent 9rem),
    linear-gradient(145deg, color-mix(in srgb, var(--olejak-bg), #ffffff 18%), color-mix(in srgb, var(--olejak-bg), #ffffff 4%));
  border-color: color-mix(in srgb, var(--olejak-border), transparent 0%);
}

@media (max-width: 991px) {
  #light-in-a-place-built-to-dim-it .olejak-inner-light-book-closing {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #light-in-a-place-built-to-dim-it .olejak-inner-light-book-panel {
    justify-self: start;
    width: min(100%, 320px);
  }
}

/* Inner Light page: enlarge closing book cover and tighten actions */
#light-in-a-place-built-to-dim-it .olejak-inner-light-book-panel {
  width: min(100%, 430px);
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-cover {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-cover img {
  width: min(100%, 430px);
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 28px 70px color-mix(in srgb, var(--olejak-shadow-card), transparent 4%);
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-actions {
  gap: 10px;
  margin-top: 18px;
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-actions .olejak-link-button {
  min-height: 48px;
}

body.olejak-light-mode #light-in-a-place-built-to-dim-it .olejak-inner-light-book-cover {
  background: transparent;
  border: 0;
  box-shadow: none;
}

@media (max-width: 991px) {
  #light-in-a-place-built-to-dim-it .olejak-inner-light-book-panel {
    width: min(100%, 360px);
  }

  #light-in-a-place-built-to-dim-it .olejak-inner-light-book-cover img {
    width: min(100%, 360px);
  }
}

/* Inner Light page: tighten closing book module composition */
#light-in-a-place-built-to-dim-it .olejak-inner-light-book-closing {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  grid-template-columns: minmax(320px, 430px) minmax(0, 620px);
  gap: clamp(32px, 4vw, 56px);
  justify-content: center;
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-panel {
  justify-self: end;
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-article-prose {
  justify-self: start;
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-actions {
  gap: 8px;
  margin-top: 14px;
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-actions .olejak-link-button {
  min-height: 46px;
  padding-top: 0.78rem;
  padding-bottom: 0.78rem;
}

@media (max-width: 991px) {
  #light-in-a-place-built-to-dim-it .olejak-inner-light-book-closing {
    max-width: 720px;
    grid-template-columns: 1fr;
    gap: 40px;
    justify-content: start;
  }

  #light-in-a-place-built-to-dim-it .olejak-inner-light-book-panel,
  #light-in-a-place-built-to-dim-it .olejak-inner-light-article-prose {
    justify-self: start;
  }

  #light-in-a-place-built-to-dim-it .olejak-inner-light-book-actions {
    gap: 8px;
    margin-top: 14px;
  }
}

/* Inner Light page: tighten vertical gap between closing book buttons */
#light-in-a-place-built-to-dim-it .olejak-inner-light-book-actions {
  gap: 4px;
}

#light-in-a-place-built-to-dim-it .olejak-inner-light-book-actions .olejak-link-button {
  margin-top: 0;
  margin-bottom: 0;
}

/* Inner Light page: SPICE intro image companion */
#spice-in-practice .olejak-inner-light-feature--spice {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

#spice-in-practice .olejak-inner-light-feature--spice .olejak-inner-light-article-prose {
  max-width: 66ch;
}

#spice-in-practice .olejak-inner-light-figure--spice {
  width: min(100%, 520px);
  justify-self: end;
}

#spice-in-practice .olejak-inner-light-figure--spice img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

#spice-in-practice .olejak-inner-light-figure--spice figcaption {
  width: 100%;
  max-width: none;
}

@media (max-width: 991px) {
  #spice-in-practice .olejak-inner-light-feature--spice {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #spice-in-practice .olejak-inner-light-figure--spice {
    width: min(100%, 620px);
    justify-self: start;
  }

  #spice-in-practice .olejak-inner-light-figure--spice img {
    aspect-ratio: 4 / 3;
  }
}

/* Inner Light page: SPICE intro image companion, actual section fallback */
.olejak-inner-light-feature--spice {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

.olejak-inner-light-feature--spice .olejak-inner-light-article-prose {
  max-width: 66ch;
}

.olejak-inner-light-figure--spice {
  width: min(100%, 520px);
  justify-self: end;
}

.olejak-inner-light-figure--spice img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

.olejak-inner-light-figure--spice figcaption {
  width: 100%;
  max-width: none;
}

@media (max-width: 991px) {
  .olejak-inner-light-feature--spice {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .olejak-inner-light-figure--spice {
    width: min(100%, 620px);
    justify-self: start;
  }

  .olejak-inner-light-figure--spice img {
    aspect-ratio: 4 / 3;
  }
}

/* Inner Light page: SPICE intro image beside real SPICE header */
#beyond-labels .olejak-inner-light-feature--spice {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  margin-bottom: clamp(40px, 5vw, 64px);
}

#beyond-labels .olejak-inner-light-feature--spice .olejak-book-section-header {
  max-width: 66ch;
  margin: 0;
}

#beyond-labels .olejak-inner-light-figure--spice {
  width: min(100%, 520px);
  justify-self: end;
}

#beyond-labels .olejak-inner-light-figure--spice img {
  aspect-ratio: 5 / 4;
  object-fit: cover;
  object-position: center;
}

#beyond-labels .olejak-inner-light-figure--spice figcaption {
  width: 100%;
  max-width: none;
}

@media (max-width: 991px) {
  #beyond-labels .olejak-inner-light-feature--spice {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  #beyond-labels .olejak-inner-light-figure--spice {
    width: min(100%, 620px);
    justify-self: start;
  }

  #beyond-labels .olejak-inner-light-figure--spice img {
    aspect-ratio: 4 / 3;
  }
}

/* Speaking page: full-color primary hero CTA */
#speaking-hero .olejak-speaking-primary-cta {
  background: var(--olejak-action, #ff5d73);
  border-color: var(--olejak-action, #ff5d73);
  color: #f8f9f5;
  box-shadow: 0 18px 40px rgba(255, 93, 115, 0.20);
}

#speaking-hero .olejak-speaking-primary-cta:hover,
#speaking-hero .olejak-speaking-primary-cta:focus-visible {
  background: var(--olejak-action-hover, #c9344b);
  border-color: var(--olejak-action-hover, #c9344b);
  color: #f8f9f5;
  transform: translateY(-1px);
}

body:not(.olejak-light-mode) #speaking-hero .olejak-speaking-primary-cta {
  background: linear-gradient(135deg, #ff5d73, #c9344b);
  border-color: rgba(255, 93, 115, 0.72);
  color: #fff7f2;
  box-shadow: 0 20px 44px rgba(255, 93, 115, 0.18);
}

body:not(.olejak-light-mode) #speaking-hero .olejak-speaking-primary-cta:hover,
body:not(.olejak-light-mode) #speaking-hero .olejak-speaking-primary-cta:focus-visible {
  background: linear-gradient(135deg, #ff7588, #d83d55);
  border-color: rgba(255, 117, 136, 0.86);
  color: #fff7f2;
}

/* Speaking page: hero image height and overall viewport balance */
#speaking-hero.olejak-book-page-hero {
  min-height: auto;
  padding-top: clamp(28px, 3.5vw, 52px);
  padding-bottom: clamp(32px, 4vw, 56px);
}

#speaking-hero .olejak-book-hero-grid {
  align-items: start;
}

#speaking-hero .olejak-speaking-hero-art {
  align-self: start;
  height: min(74vh, 760px);
  min-height: 520px;
  overflow: hidden;
}

#speaking-hero .olejak-speaking-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

@media (max-width: 1199px) {
  #speaking-hero .olejak-speaking-hero-art {
    height: min(68vh, 640px);
    min-height: 460px;
  }
}

@media (max-width: 991px) {
  #speaking-hero .olejak-speaking-hero-art {
    height: auto;
    min-height: 0;
  }

  #speaking-hero .olejak-speaking-hero-art img {
    height: auto;
    object-fit: contain;
    object-position: center;
  }
}

/* Speaking page: hero image landscape crop */
#speaking-hero .olejak-speaking-hero-art {
  width: min(100%, 520px);
  height: auto;
  min-height: 0;
  aspect-ratio: 5 / 4;
  overflow: hidden;
}

#speaking-hero .olejak-speaking-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 54%;
}

@media (max-width: 1199px) {
  #speaking-hero .olejak-speaking-hero-art {
    width: min(100%, 460px);
    height: auto;
    min-height: 0;
    aspect-ratio: 5 / 4;
  }
}

@media (max-width: 991px) {
  #speaking-hero .olejak-speaking-hero-art {
    width: min(100%, 620px);
    aspect-ratio: 4 / 3;
  }

  #speaking-hero .olejak-speaking-hero-art img {
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}

/* Speaking page: hero image portrait but wider */
#speaking-hero .olejak-speaking-hero-art {
  width: min(100%, 500px);
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  justify-self: start;
}

#speaking-hero .olejak-speaking-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
}

@media (max-width: 1199px) {
  #speaking-hero .olejak-speaking-hero-art {
    width: min(100%, 440px);
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 991px) {
  #speaking-hero .olejak-speaking-hero-art {
    width: min(100%, 620px);
    aspect-ratio: 4 / 3;
  }
}

/* Speaking page: enlarge hero image after portrait aspect correction */
#speaking-hero .olejak-book-hero-grid {
  grid-template-columns: minmax(0, 1.35fr) minmax(520px, 0.82fr);
}

#speaking-hero .olejak-speaking-hero-art {
  width: min(100%, 620px);
  aspect-ratio: 4 / 5;
  justify-self: start;
}

@media (max-width: 1199px) {
  #speaking-hero .olejak-book-hero-grid {
    grid-template-columns: minmax(0, 1.25fr) minmax(440px, 0.82fr);
  }

  #speaking-hero .olejak-speaking-hero-art {
    width: min(100%, 540px);
  }
}

@media (max-width: 991px) {
  #speaking-hero .olejak-book-hero-grid {
    grid-template-columns: 1fr;
  }

  #speaking-hero .olejak-speaking-hero-art {
    width: min(100%, 620px);
    aspect-ratio: 4 / 3;
    justify-self: center;
  }
}

/* Speaking page: make Invite Joseph CTAs solid everywhere */
.speaking-page a.olejak-link-button[href="#invite-joseph"],
#speaking-hero a.olejak-link-button[href="#invite-joseph"],
#who-this-is-for a.olejak-link-button[href="#invite-joseph"],
#conversation-formats a.olejak-link-button[href="#invite-joseph"] {
  background: var(--olejak-action, #ff5d73);
  border-color: var(--olejak-action, #ff5d73);
  color: #f8f9f5;
  box-shadow: 0 18px 40px rgba(255, 93, 115, 0.20);
}

.speaking-page a.olejak-link-button[href="#invite-joseph"]:hover,
.speaking-page a.olejak-link-button[href="#invite-joseph"]:focus-visible,
#speaking-hero a.olejak-link-button[href="#invite-joseph"]:hover,
#speaking-hero a.olejak-link-button[href="#invite-joseph"]:focus-visible,
#who-this-is-for a.olejak-link-button[href="#invite-joseph"]:hover,
#who-this-is-for a.olejak-link-button[href="#invite-joseph"]:focus-visible,
#conversation-formats a.olejak-link-button[href="#invite-joseph"]:hover,
#conversation-formats a.olejak-link-button[href="#invite-joseph"]:focus-visible {
  background: var(--olejak-action-hover, #c9344b);
  border-color: var(--olejak-action-hover, #c9344b);
  color: #f8f9f5;
  transform: translateY(-1px);
}

body:not(.olejak-light-mode) .speaking-page a.olejak-link-button[href="#invite-joseph"],
body:not(.olejak-light-mode) #speaking-hero a.olejak-link-button[href="#invite-joseph"],
body:not(.olejak-light-mode) #who-this-is-for a.olejak-link-button[href="#invite-joseph"],
body:not(.olejak-light-mode) #conversation-formats a.olejak-link-button[href="#invite-joseph"] {
  background: linear-gradient(135deg, #ff5d73, #c9344b);
  border-color: rgba(255, 93, 115, 0.72);
  color: #fff7f2;
  box-shadow: 0 20px 44px rgba(255, 93, 115, 0.18);
}

/* Speaking page: make Speaking Topics Invite Joseph CTA solid */
#speaking-topics a.olejak-link-button[href="#invite-joseph"] {
  background: var(--olejak-action, #ff5d73) !important;
  border-color: var(--olejak-action, #ff5d73) !important;
  color: #f8f9f5 !important;
  box-shadow: 0 18px 40px rgba(255, 93, 115, 0.20);
}

#speaking-topics a.olejak-link-button[href="#invite-joseph"]:hover,
#speaking-topics a.olejak-link-button[href="#invite-joseph"]:focus-visible {
  background: var(--olejak-action-hover, #c9344b) !important;
  border-color: var(--olejak-action-hover, #c9344b) !important;
  color: #f8f9f5 !important;
  transform: translateY(-1px);
}

body:not(.olejak-light-mode) #speaking-topics a.olejak-link-button[href="#invite-joseph"] {
  background: linear-gradient(135deg, #ff5d73, #c9344b) !important;
  border-color: rgba(255, 93, 115, 0.72) !important;
  color: #fff7f2 !important;
  box-shadow: 0 20px 44px rgba(255, 93, 115, 0.18);
}

/* Speaking page: slightly reduce Conversation Formats headline */
#conversation-formats .olejak-speaking-formats-copy h2 {
  font-size: clamp(2.75rem, 4.05vw, 4.45rem);
  line-height: 1.03;
  max-width: 12em;
}

@media (max-width: 1199px) {
  #conversation-formats .olejak-speaking-formats-copy h2 {
    font-size: clamp(2.55rem, 4.35vw, 3.85rem);
    max-width: 12em;
  }
}

/* Contact page: reduce invite headline wrapping */
#contact-inquiry .olejak-speaking-copy h1,
#contact-inquiry .olejak-speaking-copy h2 {
  max-width: 10.5em;
  font-size: clamp(3.15rem, 5.25vw, 5.85rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

#contact-inquiry .olejak-speaking-copy {
  max-width: 680px;
}

@media (max-width: 1199px) {
  #contact-inquiry .olejak-speaking-copy h1,
  #contact-inquiry .olejak-speaking-copy h2 {
    max-width: 11em;
    font-size: clamp(2.85rem, 5.6vw, 4.85rem);
  }
}

@media (max-width: 991px) {
  #contact-inquiry .olejak-speaking-copy h1,
  #contact-inquiry .olejak-speaking-copy h2 {
    max-width: 100%;
    font-size: clamp(2.7rem, 9vw, 4.2rem);
  }
}

/* Contact page: final smaller invite headline correction */
#contact-inquiry .olejak-speaking-copy h1,
#contact-inquiry .olejak-speaking-copy h2 {
  max-width: 12em;
  font-size: clamp(2.85rem, 4.35vw, 4.65rem);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

#contact-inquiry .olejak-speaking-copy {
  max-width: 760px;
}

@media (max-width: 1199px) {
  #contact-inquiry .olejak-speaking-copy h1,
  #contact-inquiry .olejak-speaking-copy h2 {
    max-width: 12em;
    font-size: clamp(2.6rem, 4.7vw, 4rem);
  }
}

@media (max-width: 991px) {
  #contact-inquiry .olejak-speaking-copy h1,
  #contact-inquiry .olejak-speaking-copy h2 {
    max-width: 100%;
    font-size: clamp(2.45rem, 8vw, 3.7rem);
  }
}

/* Contact page: lift single form section for smaller screens */
#contact-inquiry.olejak-book-invite-section,
#contact-inquiry.olejak-speaking-section {
  padding-top: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(40px, 5vw, 72px);
}

#contact-inquiry .olejak-light-system {
  margin-bottom: 24px;
}

#contact-inquiry .olejak-speaking-grid {
  align-items: start;
  transform: translateY(-24px);
}

#contact-inquiry .olejak-speaking-form-card {
  margin-top: 0;
}

@media (max-width: 1199px) {
  #contact-inquiry.olejak-book-invite-section,
  #contact-inquiry.olejak-speaking-section {
    padding-top: clamp(24px, 3vw, 40px);
  }

  #contact-inquiry .olejak-speaking-grid {
    transform: translateY(-16px);
  }
}

@media (max-width: 991px) {
  #contact-inquiry .olejak-speaking-grid {
    transform: none;
  }

  #contact-inquiry.olejak-book-invite-section,
  #contact-inquiry.olejak-speaking-section {
    padding-top: 32px;
  }
}

/* Peace Witness page: final hero lift and above-fold balance */
#peace-witness-hero.olejak-peace-hero {
  padding-top: clamp(28px, 3.5vw, 52px) !important;
  padding-bottom: clamp(36px, 4.5vw, 64px) !important;
}

#peace-witness-hero .olejak-peace-hero-grid {
  align-items: start !important;
  transform: translateY(-24px);
}

#peace-witness-hero .olejak-peace-hero-copy {
  padding-top: 0 !important;
}

#peace-witness-hero .olejak-light-system {
  margin-bottom: 24px !important;
}

#peace-witness-hero .olejak-peace-hero-copy h1 {
  font-size: clamp(2.45rem, 3.15vw, 3.85rem) !important;
  line-height: 1.06 !important;
  max-width: 13.5em !important;
  margin-bottom: 20px !important;
}

#peace-witness-hero .olejak-peace-hero-copy p:not(.olejak-eyebrow):not(.olejak-section-kicker) {
  max-width: 66ch !important;
  font-size: clamp(1.02rem, 0.98rem + 0.18vw, 1.14rem) !important;
  line-height: 1.64 !important;
}

#peace-witness-hero .olejak-peace-quote-rail {
  margin-top: 0 !important;
  align-self: start !important;
}

@media (max-width: 1199px) {
  #peace-witness-hero .olejak-peace-hero-grid {
    transform: translateY(-16px);
  }

  #peace-witness-hero .olejak-peace-hero-copy h1 {
    font-size: clamp(2.35rem, 4.4vw, 3.45rem) !important;
  }
}

@media (max-width: 991px) {
  #peace-witness-hero .olejak-peace-hero-grid {
    transform: none;
  }

  #peace-witness-hero.olejak-peace-hero {
    padding-top: 32px !important;
  }

  #peace-witness-hero .olejak-peace-hero-copy h1 {
    max-width: 100% !important;
  }
}

/* About the Book page: hero balance */
#book-hero.olejak-book-page-hero {
  padding-top: clamp(40px, 4.5vw, 72px);
  padding-bottom: clamp(48px, 5vw, 80px);
}

#book-hero .container {
  max-width: 1280px;
}

#book-hero .olejak-book-hero-grid {
  grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
  gap: clamp(40px, 5vw, 72px);
  align-items: start;
}

#book-hero .olejak-book-hero-copy {
  max-width: 780px;
}

#book-hero .olejak-book-hero-copy h1 {
  max-width: 12.5em;
  font-size: clamp(3rem, 4.55vw, 5rem);
  line-height: 1.02;
  letter-spacing: 0;
  margin-bottom: 18px;
}

#book-hero .olejak-book-hero-copy > p:not(.olejak-section-kicker):not(.olejak-book-subtitle) {
  max-width: 64ch;
  line-height: 1.68;
}

#book-hero .olejak-book-hero-feature {
  justify-self: center;
  width: min(100%, 540px);
}

#book-hero .olejak-book-hero-cover-frame {
  width: min(100%, 500px);
}

#book-hero .olejak-book-hero-cover-frame img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1199px) {
  #book-hero .olejak-book-hero-grid {
    grid-template-columns: minmax(0, 1.12fr) minmax(330px, 0.8fr);
    gap: clamp(32px, 4vw, 56px);
  }

  #book-hero .olejak-book-hero-copy h1 {
    max-width: 12em;
    font-size: clamp(2.8rem, 5vw, 4.35rem);
  }

  #book-hero .olejak-book-hero-feature {
    width: min(100%, 480px);
  }

  #book-hero .olejak-book-hero-cover-frame {
    width: min(100%, 440px);
  }
}

@media (max-width: 991px) {
  #book-hero .olejak-book-hero-grid {
    grid-template-columns: 1fr;
  }

  #book-hero .olejak-book-hero-copy,
  #book-hero .olejak-book-hero-copy h1 {
    max-width: 100%;
  }

  #book-hero .olejak-book-hero-copy h1 {
    font-size: clamp(2.55rem, 8vw, 4rem);
  }

  #book-hero .olejak-book-hero-feature {
    justify-self: start;
    width: min(100%, 420px);
  }

  #book-hero .olejak-book-hero-cover-frame {
    width: min(100%, 390px);
  }
}

/* Inner Light page: lift hero content for smaller screens */
#inner-light-hero.olejak-inner-light-hero,
#quaker-witness-inner-light-hero.olejak-inner-light-hero {
  padding-top: clamp(28px, 3.5vw, 52px) !important;
  padding-bottom: clamp(36px, 4.5vw, 64px) !important;
}

#inner-light-hero .olejak-light-system,
#quaker-witness-inner-light-hero .olejak-light-system {
  margin-bottom: 24px !important;
}

#inner-light-hero .olejak-inner-light-hero-grid,
#quaker-witness-inner-light-hero .olejak-inner-light-hero-grid {
  align-items: start !important;
  transform: translateY(-24px);
}

#inner-light-hero .olejak-inner-light-hero-copy,
#quaker-witness-inner-light-hero .olejak-inner-light-hero-copy {
  padding-top: 0 !important;
}

#inner-light-hero .olejak-inner-light-hero-copy h1,
#quaker-witness-inner-light-hero .olejak-inner-light-hero-copy h1 {
  font-size: clamp(3rem, 4.6vw, 5.25rem) !important;
  line-height: 1.02 !important;
  max-width: 12em !important;
  margin-bottom: 20px !important;
}

#inner-light-hero .olejak-inner-light-deck,
#quaker-witness-inner-light-hero .olejak-inner-light-deck {
  max-width: 68ch !important;
  font-size: clamp(1.04rem, 0.99rem + 0.18vw, 1.16rem) !important;
  line-height: 1.68 !important;
}

#inner-light-hero .olejak-inner-light-quote-rail,
#quaker-witness-inner-light-hero .olejak-inner-light-quote-rail {
  margin-top: 0 !important;
  align-self: start !important;
}

@media (max-width: 1199px) {
  #inner-light-hero .olejak-inner-light-hero-grid,
  #quaker-witness-inner-light-hero .olejak-inner-light-hero-grid {
    transform: translateY(-16px);
  }

  #inner-light-hero .olejak-inner-light-hero-copy h1,
  #quaker-witness-inner-light-hero .olejak-inner-light-hero-copy h1 {
    font-size: clamp(2.75rem, 5.4vw, 4.45rem) !important;
  }
}

@media (max-width: 991px) {
  #inner-light-hero .olejak-inner-light-hero-grid,
  #quaker-witness-inner-light-hero .olejak-inner-light-hero-grid {
    transform: none;
  }

  #inner-light-hero.olejak-inner-light-hero,
  #quaker-witness-inner-light-hero.olejak-inner-light-hero {
    padding-top: 32px !important;
  }

  #inner-light-hero .olejak-inner-light-hero-copy h1,
  #quaker-witness-inner-light-hero .olejak-inner-light-hero-copy h1 {
    max-width: 100% !important;
    font-size: clamp(2.6rem, 8.5vw, 4.1rem) !important;
  }
}

/* About the Book page: About Joseph Olejak */
.olejak-book-about-joseph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--olejak-gold), transparent 88%), transparent 16rem),
    linear-gradient(180deg, color-mix(in srgb, var(--olejak-bg), var(--olejak-surface) 10%), var(--olejak-bg));
}

.olejak-book-about-joseph-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 0.72fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
}

.olejak-book-about-joseph-figure {
  margin: 0;
  justify-self: center;
  width: min(100%, 420px);
}

.olejak-book-about-joseph-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  border: 1px solid color-mix(in srgb, var(--olejak-border), transparent 10%);
  box-shadow: 0 28px 70px color-mix(in srgb, var(--olejak-shadow-card), transparent 6%);
}

.olejak-book-about-joseph-copy {
  max-width: 68ch;
}

.olejak-book-about-joseph-copy h2 {
  max-width: 11em;
  margin: 0 0 20px;
  color: var(--olejak-text);
  font-family: var(--heading-font);
  font-size: clamp(2.25rem, 3.25vw, 3.65rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0;
}

.olejak-book-about-joseph-copy p:not(.olejak-eyebrow) {
  max-width: 66ch;
  font-size: clamp(1.04rem, 0.99rem + 0.2vw, 1.16rem);
  line-height: 1.78;
}

body.olejak-light-mode .olejak-book-about-joseph {
  background:
    radial-gradient(circle at 18% 18%, rgba(39, 76, 119, 0.08), transparent 16rem),
    linear-gradient(180deg, color-mix(in srgb, var(--olejak-bg), #E7ECEF 24%), var(--olejak-bg));
}

@media (max-width: 991px) {
  .olejak-book-about-joseph-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .olejak-book-about-joseph-figure {
    justify-self: start;
    width: min(100%, 360px);
  }

  .olejak-book-about-joseph-copy h2 {
    max-width: 100%;
    font-size: clamp(2.15rem, 7vw, 3.35rem);
  }
}

/* Resources page: guided reading path */
.olejak-resources-page .olejak-page-hero .container {
  max-width: 980px;
}

.olejak-resource-section .olejak-book-section-header {
  max-width: 820px;
}

.olejak-resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: clamp(32px, 5vw, 56px);
}

.olejak-resource-card {
  display: grid;
  align-content: start;
  gap: 12px;
}

.olejak-resource-card h3,
.olejak-resource-card p {
  margin: 0;
}

.olejak-resource-label,
.olejak-resource-source,
.olejak-resource-status {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-resource-label {
  color: var(--olejak-light);
}

.olejak-resource-source {
  color: color-mix(in srgb, var(--olejak-muted), var(--olejak-light) 20%);
}

.olejak-resource-card p:not(.olejak-resource-label):not(.olejak-resource-source):not(.olejak-resource-status) {
  color: var(--olejak-muted);
  font-size: 1rem;
  line-height: 1.68;
}

.olejak-resource-link,
.olejak-resource-status {
  margin-top: 4px;
  padding-top: 12px;
  border-top: 1px solid color-mix(in srgb, var(--olejak-border), transparent 18%);
}

.olejak-resource-link {
  color: var(--olejak-light);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1.35;
  text-transform: uppercase;
}

.olejak-resource-link:hover,
.olejak-resource-link:focus-visible {
  color: var(--olejak-text);
}

.olejak-resource-status {
  color: color-mix(in srgb, var(--olejak-muted), transparent 8%);
}

body.olejak-light-mode .olejak-resource-label,
body.olejak-light-mode .olejak-resource-link {
  color: #274C77;
}

body.olejak-light-mode .olejak-resource-link:hover,
body.olejak-light-mode .olejak-resource-link:focus-visible {
  color: var(--olejak-action-hover);
}

body.olejak-light-mode .olejak-resource-link,
body.olejak-light-mode .olejak-resource-status {
  border-top-color: var(--olejak-border);
}

/* First chapter invitation modal */
.olejak-first-chapter-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  display: flex;
  justify-content: center;
  padding: 1rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 260ms ease, transform 320ms ease;
}

.olejak-first-chapter-modal.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.olejak-first-chapter-panel {
  position: relative;
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(220px, 0.85fr) minmax(320px, 1.35fr);
  gap: 1.25rem;
  align-items: center;
  padding: 1.1rem;
  border: 1px solid rgba(42, 31, 21, 0.14);
  border-radius: 22px;
  background: rgba(255, 252, 245, 0.96);
  box-shadow: 0 22px 70px rgba(33, 24, 16, 0.18);
  backdrop-filter: blur(14px);
}

.olejak-first-chapter-copy h2 {
  margin: 0.15rem 0 0.35rem;
  font-size: clamp(1.25rem, 2vw, 1.75rem);
}

.olejak-first-chapter-copy p:last-child {
  margin-bottom: 0;
}

.olejak-first-chapter-close {
  position: absolute;
  top: 0.65rem;
  right: 0.75rem;
  width: 2rem;
  height: 2rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.olejak-first-chapter-close:hover,
.olejak-first-chapter-close:focus {
  background: rgba(42, 31, 21, 0.08);
}

.olejak-first-chapter-form {
  display: grid;
  gap: 0.85rem;
}

.olejak-first-chapter-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.olejak-first-chapter-form label span {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.85rem;
  font-weight: 700;
}

.olejak-first-chapter-form input[type="text"],
.olejak-first-chapter-form input[type="email"] {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid rgba(42, 31, 21, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: inherit;
}

.olejak-first-chapter-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.55rem;
  align-items: start;
  margin: 0;
}

.olejak-first-chapter-consent input {
  margin-top: 0.25rem;
}

.olejak-first-chapter-consent span {
  margin: 0;
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.45;
}

.olejak-first-chapter-note {
  margin: 0;
  font-size: 0.88rem;
}

@media (max-width: 767px) {
  .olejak-first-chapter-modal {
    padding: 0.75rem;
  }

  .olejak-first-chapter-panel {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 1.1rem;
    border-radius: 18px;
  }

  .olejak-first-chapter-fields {
    grid-template-columns: 1fr;
  }
}

/* First chapter invitation modal — slim dark revision */
.olejak-first-chapter-modal {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9998;
  display: flex;
  justify-content: center;
  padding: 0.85rem 1rem;
  pointer-events: none;
  opacity: 0;
  transform: translateY(110%);
  transition: opacity 260ms ease, transform 320ms ease;
}

.olejak-first-chapter-modal.is-visible {
  pointer-events: auto;
  opacity: 1;
  transform: translateY(0);
}

.olejak-first-chapter-panel {
  position: relative;
  width: min(1120px, calc(100% - 1rem));
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(560px, 1.28fr);
  gap: 1.15rem;
  align-items: center;
  padding: 0.95rem 1.1rem;
  border: 1px solid rgba(214, 177, 105, 0.34);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(20, 22, 22, 0.98), rgba(9, 13, 13, 0.96)),
    #101313;
  color: #f7efe2;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(14px);
}

.olejak-first-chapter-copy {
  padding-right: 0.35rem;
}

.olejak-first-chapter-copy .olejak-section-kicker {
  margin-bottom: 0.2rem;
  color: #d9b56f;
}

.olejak-first-chapter-copy h2 {
  margin: 0 0 0.25rem;
  color: #fff5e5;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.05;
}

.olejak-first-chapter-copy p {
  margin: 0;
  max-width: 26rem;
  color: rgba(247, 239, 226, 0.78);
  font-size: 0.92rem;
  line-height: 1.45;
}

.olejak-first-chapter-close {
  position: absolute;
  top: 0.45rem;
  right: 0.55rem;
  width: 1.85rem;
  height: 1.85rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(247, 239, 226, 0.72);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.olejak-first-chapter-close:hover,
.olejak-first-chapter-close:focus {
  background: rgba(255, 255, 255, 0.08);
  color: #fff5e5;
}

.olejak-first-chapter-form {
  display: grid;
  gap: 0.55rem;
}

.olejak-first-chapter-row {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(190px, 1.15fr) auto;
  gap: 0.65rem;
  align-items: end;
}

.olejak-first-chapter-form label {
  margin: 0;
}

.olejak-first-chapter-form label span {
  display: block;
  margin-bottom: 0.25rem;
  color: rgba(247, 239, 226, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.olejak-first-chapter-form input[type="text"],
.olejak-first-chapter-form input[type="email"] {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid rgba(214, 177, 105, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff5e5;
  outline: none;
}

.olejak-first-chapter-form input[type="text"]::placeholder,
.olejak-first-chapter-form input[type="email"]::placeholder {
  color: rgba(247, 239, 226, 0.48);
}

.olejak-first-chapter-form input[type="text"]:focus,
.olejak-first-chapter-form input[type="email"]:focus {
  border-color: rgba(214, 177, 105, 0.72);
  box-shadow: 0 0 0 3px rgba(214, 177, 105, 0.14);
}

.olejak-first-chapter-row .olejak-btn {
  min-height: 2.8rem;
  white-space: nowrap;
  padding-inline: 1.25rem;
}

.olejak-first-chapter-consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.45rem;
  align-items: start;
  margin: 0;
}

.olejak-first-chapter-consent input {
  margin-top: 0.22rem;
  accent-color: #c27045;
}

.olejak-first-chapter-consent span {
  margin: 0;
  color: rgba(247, 239, 226, 0.68);
  font-size: 0.78rem;
  font-weight: 400;
  line-height: 1.35;
  letter-spacing: 0;
  text-transform: none;
}

.olejak-first-chapter-note {
  margin: 0;
  color: rgba(247, 239, 226, 0.78);
  font-size: 0.82rem;
}

/* Light-mode safety variants */
body.olejak-light-mode .olejak-first-chapter-panel,
body.is-light .olejak-first-chapter-panel,
body.light-mode .olejak-first-chapter-panel,
.olejak-light-mode .olejak-first-chapter-panel,
.is-light .olejak-first-chapter-panel,
.light-mode .olejak-first-chapter-panel {
  background:
    linear-gradient(135deg, rgba(255, 251, 243, 0.98), rgba(246, 238, 224, 0.96)),
    #fff8ed;
  color: #241b14;
  border-color: rgba(92, 66, 39, 0.2);
  box-shadow: 0 22px 80px rgba(38, 29, 19, 0.2);
}

body.olejak-light-mode .olejak-first-chapter-copy h2,
body.is-light .olejak-first-chapter-copy h2,
body.light-mode .olejak-first-chapter-copy h2,
.olejak-light-mode .olejak-first-chapter-copy h2,
.is-light .olejak-first-chapter-copy h2,
.light-mode .olejak-first-chapter-copy h2 {
  color: #241b14;
}

body.olejak-light-mode .olejak-first-chapter-copy p,
body.is-light .olejak-first-chapter-copy p,
body.light-mode .olejak-first-chapter-copy p,
.olejak-light-mode .olejak-first-chapter-copy p,
.is-light .olejak-first-chapter-copy p,
.light-mode .olejak-first-chapter-copy p,
body.olejak-light-mode .olejak-first-chapter-consent span,
body.is-light .olejak-first-chapter-consent span,
body.light-mode .olejak-first-chapter-consent span,
.olejak-light-mode .olejak-first-chapter-consent span,
.is-light .olejak-first-chapter-consent span,
.light-mode .olejak-first-chapter-consent span {
  color: rgba(36, 27, 20, 0.72);
}

body.olejak-light-mode .olejak-first-chapter-form label span,
body.is-light .olejak-first-chapter-form label span,
body.light-mode .olejak-first-chapter-form label span,
.olejak-light-mode .olejak-first-chapter-form label span,
.is-light .olejak-first-chapter-form label span,
.light-mode .olejak-first-chapter-form label span {
  color: rgba(36, 27, 20, 0.62);
}

body.olejak-light-mode .olejak-first-chapter-form input[type="text"],
body.olejak-light-mode .olejak-first-chapter-form input[type="email"],
body.is-light .olejak-first-chapter-form input[type="text"],
body.is-light .olejak-first-chapter-form input[type="email"],
body.light-mode .olejak-first-chapter-form input[type="text"],
body.light-mode .olejak-first-chapter-form input[type="email"],
.olejak-light-mode .olejak-first-chapter-form input[type="text"],
.olejak-light-mode .olejak-first-chapter-form input[type="email"],
.is-light .olejak-first-chapter-form input[type="text"],
.is-light .olejak-first-chapter-form input[type="email"],
.light-mode .olejak-first-chapter-form input[type="text"],
.light-mode .olejak-first-chapter-form input[type="email"] {
  background: rgba(255, 255, 255, 0.78);
  border-color: rgba(92, 66, 39, 0.2);
  color: #241b14;
}

body.olejak-light-mode .olejak-first-chapter-close,
body.is-light .olejak-first-chapter-close,
body.light-mode .olejak-first-chapter-close,
.olejak-light-mode .olejak-first-chapter-close,
.is-light .olejak-first-chapter-close,
.light-mode .olejak-first-chapter-close {
  color: rgba(36, 27, 20, 0.62);
}

@media (max-width: 940px) {
  .olejak-first-chapter-panel {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .olejak-first-chapter-copy p {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .olejak-first-chapter-modal {
    padding: 0.7rem;
  }

  .olejak-first-chapter-panel {
    width: 100%;
    padding: 1rem;
    border-radius: 16px;
  }

  .olejak-first-chapter-row {
    grid-template-columns: 1fr;
  }

  .olejak-first-chapter-row .olejak-btn {
    width: 100%;
  }
}

/* First chapter modal refinement: clearer hierarchy and compact form */
.olejak-first-chapter-copy .olejak-section-kicker {
  margin-bottom: 0.28rem;
  font-size: 0.68rem;
  line-height: 1;
  letter-spacing: 0.12em;
}

.olejak-first-chapter-copy h2 {
  font-family: var(--heading-font);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.olejak-first-chapter-copy p {
  font-weight: 400;
}

.olejak-first-chapter-row {
  align-items: center;
}

.olejak-first-chapter-form label span.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.olejak-first-chapter-form input[type="text"],
.olejak-first-chapter-form input[type="email"] {
  font-size: 0.92rem;
}

.olejak-first-chapter-form input[type="text"]::placeholder,
.olejak-first-chapter-form input[type="email"]::placeholder {
  color: rgba(247, 239, 226, 0.62);
  opacity: 1;
}

.olejak-first-chapter-consent {
  align-items: center;
}

.olejak-first-chapter-consent input {
  margin-top: 0;
}

.olejak-first-chapter-consent span {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

body.olejak-light-mode .olejak-first-chapter-form input[type="text"]::placeholder,
body.olejak-light-mode .olejak-first-chapter-form input[type="email"]::placeholder,
body.is-light .olejak-first-chapter-form input[type="text"]::placeholder,
body.is-light .olejak-first-chapter-form input[type="email"]::placeholder,
body.light-mode .olejak-first-chapter-form input[type="text"]::placeholder,
body.light-mode .olejak-first-chapter-form input[type="email"]::placeholder,
.olejak-light-mode .olejak-first-chapter-form input[type="text"]::placeholder,
.olejak-light-mode .olejak-first-chapter-form input[type="email"]::placeholder,
.is-light .olejak-first-chapter-form input[type="text"]::placeholder,
.is-light .olejak-first-chapter-form input[type="email"]::placeholder,
.light-mode .olejak-first-chapter-form input[type="text"]::placeholder,
.light-mode .olejak-first-chapter-form input[type="email"]::placeholder {
  color: rgba(36, 27, 20, 0.56);
}

/* First chapter modal refinement: wider panel and close-button clearance */
.olejak-first-chapter-panel {
  width: min(1240px, calc(100% - 1rem));
  grid-template-columns: minmax(260px, 0.65fr) minmax(720px, 1.35fr);
  padding-right: 3.35rem;
}

.olejak-first-chapter-row {
  grid-template-columns: minmax(190px, 1fr) minmax(250px, 1.15fr) minmax(128px, 150px);
}

.olejak-first-chapter-row .olejak-btn {
  width: 100%;
  max-width: 150px;
  justify-self: end;
  padding-inline: 1rem;
}

.olejak-first-chapter-close {
  top: 0.55rem;
  right: 0.7rem;
  z-index: 2;
}

@media (max-width: 940px) {
  .olejak-first-chapter-panel {
    width: min(100%, calc(100% - 1rem));
    grid-template-columns: 1fr;
    padding-right: 2.85rem;
  }

  .olejak-first-chapter-row {
    grid-template-columns: minmax(160px, 1fr) minmax(190px, 1.15fr) minmax(120px, 140px);
  }
}

@media (max-width: 720px) {
  .olejak-first-chapter-panel {
    padding-right: 1rem;
  }

  .olejak-first-chapter-row {
    grid-template-columns: 1fr;
  }

  .olejak-first-chapter-row .olejak-btn {
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }
}

/* First chapter modal refinement: consent checkbox alignment */
.olejak-first-chapter-consent {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1.25;
}

.olejak-first-chapter-consent input[type="checkbox"] {
  flex: 0 0 auto;
  width: 0.95rem;
  height: 0.95rem;
  margin: 0;
  transform: translateY(0);
}

.olejak-first-chapter-consent span {
  display: inline;
  margin: 0;
  color: rgba(247, 239, 226, 0.72);
  font-size: 0.8rem;
  font-weight: 400 !important;
  line-height: 1.25;
  letter-spacing: 0;
  text-transform: none;
}

body.olejak-light-mode .olejak-first-chapter-consent span,
body.is-light .olejak-first-chapter-consent span,
body.light-mode .olejak-first-chapter-consent span,
.olejak-light-mode .olejak-first-chapter-consent span,
.is-light .olejak-first-chapter-consent span,
.light-mode .olejak-first-chapter-consent span {
  color: rgba(36, 27, 20, 0.72);
  font-weight: 400 !important;
}

/* About the Book page hero: slightly narrow cover while preserving height */
#book-hero .olejak-book-hero-cover-frame {
  transform: scaleX(0.94);
  transform-origin: center center;
}

/* About the Book page: reduce final invite headline size */
.olejak-book-invite-section .olejak-speaking-copy h2 {
  font-size: clamp(3.4rem, 5.2vw, 6.1rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

@media (max-width: 991px) {
  .olejak-book-invite-section .olejak-speaking-copy h2 {
    font-size: clamp(2.8rem, 8vw, 4.4rem);
  }
}

/* About the Book page: corrected smaller final invite headline */
.olejak-book-invite-section .olejak-speaking-copy h2,
body.olejak-light-mode .olejak-book-invite-section .olejak-speaking-copy h2 {
  font-size: clamp(2.9rem, 4.2vw, 4.85rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 8.5em;
}

@media (max-width: 991px) {
  .olejak-book-invite-section .olejak-speaking-copy h2,
  body.olejak-light-mode .olejak-book-invite-section .olejak-speaking-copy h2 {
    font-size: clamp(2.35rem, 7vw, 3.6rem);
    max-width: 9em;
  }
}

/* Inner Light page: center and strengthen hero quote card */
#inner-light-hero .olejak-inner-light-hero-grid,
#quaker-witness-inner-light-hero .olejak-inner-light-hero-grid {
  align-items: center;
}

#inner-light-hero .olejak-inner-light-quote-rail,
#quaker-witness-inner-light-hero .olejak-inner-light-quote-rail {
  align-self: center;
  justify-self: center;
  max-width: 560px;
  padding: clamp(2rem, 3vw, 2.75rem);
}

#inner-light-hero .olejak-inner-light-quote-rail p,
#quaker-witness-inner-light-hero .olejak-inner-light-quote-rail p {
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

#inner-light-hero .olejak-inner-light-quote-rail cite,
#quaker-witness-inner-light-hero .olejak-inner-light-quote-rail cite {
  display: block;
  margin-top: 1.2rem;
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 991px) {
  #inner-light-hero .olejak-inner-light-quote-rail,
  #quaker-witness-inner-light-hero .olejak-inner-light-quote-rail {
    justify-self: stretch;
    max-width: none;
  }

  #inner-light-hero .olejak-inner-light-quote-rail p,
  #quaker-witness-inner-light-hero .olejak-inner-light-quote-rail p {
    font-size: clamp(1.2rem, 5vw, 1.65rem);
  }
}

/* Inner Light page: lower hero quote card for better midline balance */
#inner-light-hero .olejak-inner-light-quote-rail,
#quaker-witness-inner-light-hero .olejak-inner-light-quote-rail {
  transform: translateY(3.5rem);
}

@media (max-width: 991px) {
  #inner-light-hero .olejak-inner-light-quote-rail,
  #quaker-witness-inner-light-hero .olejak-inner-light-quote-rail {
    transform: translateY(0);
  }
}
