/**
 * Modern Variant — Visual Style Layer
 * File Version: 1.0.1
 * File Date: 2026-03-10
 */
 /* =====================================================================
   MODERN VARIANT — Visual Style Layer
   ---------------------------------------------------------------------
   MARK: 01) Base Background
   MARK: 02) Layer Stacking (Z-Index Model)
   MARK: 03) Navbar Polish
   MARK: 04) Banner (Window Behind Content)
   MARK: 05) Banner Responsive Scaling
   MARK: 06) Window Overlap
   MARK: 07) Full Layout Styling
   MARK: 08) Cards
   MARK: 09) Centered Layout Styling
   MARK: 10) Editorial Hero Typography
   MARK: 11) Breadcrumbs
   MARK: 12) Footer Styles
   MARK: 14) Sidebar
   MARK: 15) Sidebar Widgets
   MARK: 16) Single Post
   MARK: 17) Comments
===================================================================== */


/* =====================================================================
   MARK: 01) Base Background
===================================================================== */

body {
  background: #f9fafb;
}


/* =====================================================================
   MARK: 02) Layer Stacking (Z-Index Model)
===================================================================== */

/*
  IMPORTANT:
  - The banner lives INSIDE .gbm-site-header
  - So we must NOT give the whole header a z-index
  - Only the navbar gets elevation
*/

/* Banner = lowest layer */
.gbm-site-banner {
  position: relative;
  z-index: 1;
}

/* Main content always above banner */
.gbm-main {
  position: relative;
  z-index: 2;
}

/* Navbar only (not header) sits above everything */
.gbm-site-header .navbar {
  position: relative;
  z-index: 3;
}


/* =====================================================================
   MARK: 03) Navbar Polish
===================================================================== */

.gbm-site-header .navbar {
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}

/* Optional accent divider */
.gbm-site-header .navbar::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 4px;
  background: var(--gbm-site-primary);
}

/* Navbar slim strip */

.gbm-action-strip {
  background: var(--gbm-site-primary);
}

.gbm-action-strip__link {
  /* background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 2px 6px rgba(0,0,0,.08); */
  /* padding: 0.2rem 0.6rem;
  margin: 0.1rem 0; */
  color: rgb(255, 255, 255);
  border-radius: 12px;
}

.gbm-action-strip__sep {
  color: rgba(255, 255, 255, 0.5);
}

/* .gbm-action-strip__link:hover {
  color: rgba(255, 255, 255, 0.9);
} */


/* =====================================================================
   MARK: 04) Banner (Window Behind Content)
===================================================================== */

.gbm-site-banner__img {
  display: none;
}

.gbm-site-banner > .container-fluid {
  height: 100%;
}

.gbm-site-banner__link {
  display: block;
  height: 100%;
}

.gbm-site-banner {
  height: 280px;

  background-image: var(--gbm-banner-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  box-shadow:
    inset 0 -14px 40px rgba(0,0,0,.55),
    0 18px 40px rgba(0,0,0,.18);
}

/* .gbm-site-banner__img {
  display: block;
  width: 100%;
  height: auto;
}

.gbm-site-banner {
  height: auto;
  background-image: none;
  box-shadow: none;
} */

/* =====================================================================
   MARK: 05) Banner Responsive Scaling
===================================================================== */

@media (max-width: 1200px) { .gbm-site-banner { height: 200px; } }
@media (max-width: 992px)  { .gbm-site-banner { height: 160px; } }
@media (max-width: 768px)  { .gbm-site-banner { height: 130px; } }
@media (max-width: 480px)  {
  .gbm-site-banner {
    height: 100px;
    background-position: center 35%;
  }
}


/* =====================================================================
   MARK: 06) Window Overlap
===================================================================== */

/* Pull page upward into banner */
.gbm-main {
  margin-top: -5px;
}

@media (max-width: 768px) {
  .gbm-main { margin-top: -5px; }
}

@media (max-width: 480px) {
  .gbm-main { margin-top: 0px; }
}


/* =====================================================================
   MARK: 07) Full Layout Styling
===================================================================== */

/* Hero = gray label band */
.gbm-layout-full .gbm-page-hero {
  background: #f3f5f7;
  /* background: #fafafa; */
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.gbm-page-hero {
  background: #f3f5f7;
  /* background: #fafafa; */
  padding-top: 2.5rem;
  padding-bottom: 1.25rem;
  border-top: 1px solid rgba(0,0,0,.06);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

/* Body = white file sheet */
.gbm-layout-full .gbm-page-body {
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
  /* border-radius: 25px;
  margin-top: -10px; */
}

/* =====================================================================
   MARK: 08) Cards
===================================================================== */

/* Card polish (modern look) */
.gbm-card--post {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gbm-card--post:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(0,0,0,0.10);
}

/* =====================================================================
   MARK: 09) Centered Layout Styling
===================================================================== */

.gbm-layout-centered .gbm-page {
  background: #ffffff;
  padding:2rem;
  border-radius: 14px;
  box-shadow:
    0 30px 70px rgba(0,0,0,.18),
    0 0 0 1px rgba(0,0,0,.04);
}


/* =====================================================================
   MARK: 10) Editorial Hero Typography
===================================================================== */

/* Full layout title */
.gbm-layout-full .gbm-page-title {
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  text-transform: none;

  font-size: clamp(1.9rem, 2.6vw, 3.1rem);
}

/* Centered layout title */
.gbm-layout-centered .gbm-page-title {
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin-bottom: 0.75rem;
  text-transform: none;

  font-size: clamp(1.6rem, 2.1vw, 2.25rem);
}

/* Limit title line width */
.gbm-page-header {
  max-width: 70ch;
}

/* Optional subtitle / excerpt */
.gbm-page-subtitle,
.gbm-page-excerpt {
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 1.05rem;
  line-height: 1.55;
  color: rgba(0,0,0,.68);
}

/* Edit link — subtle */
.gbm-edit-link {
  margin-top: 0.25rem;
  color: rgba(0,0,0,.55);
}

.gbm-edit-link a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px dotted rgba(0,0,0,.35);
}

.gbm-edit-link a:hover {
  border-bottom-style: solid;
}

/* =====================================================================
   MARK: 11) Breadcrumbs
===================================================================== */

.gbm-breadcrumbs,
.gbm-breadcrumbs li {
  margin-bottom: 0.2rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

.gbm-breadcrumbs__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.gbm-breadcrumbs__item {
  display: flex;
  align-items: center;
  color: rgba(0,0,0,.48);
}

/* separator */
.gbm-breadcrumbs__item:not(:last-child)::after {
  content: "|";
  margin: 0 0.25rem;
  color: rgba(0,0,0,.25);
}

/* links */
.gbm-breadcrumbs__link {
  color: rgba(0, 0, 0, 0.65);
  text-decoration: none;
}

.gbm-breadcrumbs__link:hover {
  text-decoration: underline;
}

/* current page */
.gbm-breadcrumbs__current {
  color: rgba(0, 0, 0, 0.85);
  font-weight: 500;
}

/* =====================================================================
   MARK: 12) Footer Styles
===================================================================== */

/* .gbm-site-footer__main {
  padding: 3rem 0;
  background: #fff;
  color: rgba(29, 29, 29, 0.86);
} */

/* =====================================================================
   MARK: 13) Images + Media
===================================================================== */

/* =====================================================================
   MARK: 14) Sidebar
===================================================================== */

/* Sidebar polish (modern) */
.gbm-sidebar .widget {
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

/* =====================================================================
   MARK: 15) Sidebar Widgets
===================================================================== */

/* =====================================================================
   MARK: 16) Single Post
===================================================================== */

/* Single Post (Modern Polish) */

/* Single Post Hero */
.gbm-page-hero--single {
  background: #f4f4f4;
  padding: 3rem 0 2.5rem;
  margin-bottom: var(--gbm-space-xl);
}

.gbm-page-hero--single .gbm-hero-title {
  margin: 0.5rem 0 0.25rem;
}

.gbm-page-hero--single .gbm-hero-kicker {
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(0,0,0,0.55);
}

/* Softer, more “paper” look */
.gbm-article {
  border-radius: 16px;
  box-shadow: 0 14px 48px rgba(0,0,0,0.08);
}

/* Give the featured image a modern finish */
.gbm-article__featured img {
  border-radius: 14px;
}

/* Slightly nicer byline rhythm */
.gbm-article__meta--byline {
  letter-spacing: 0.01em;
}

/* Tags: more pill-like */
.gbm-article__tags a {
  background: rgba(0,0,0,0.03);
}

/* Prev/Next: subtle “card-like” link feel */
.gbm-article__nav a {
  display: inline-block;
  padding: 0.6rem 0.85rem;
  border: 1px solid rgba(0,0,0,0.10);
  border-radius: 12px;
  background: rgba(0,0,0,0.02);
  text-decoration: none;
}

.gbm-article__nav a:hover {
  background: rgba(0,0,0,0.05);
  text-decoration: none;
}

/* Hero breadcrumbs */
.gbm-hero-breadcrumbs {
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
}

.gbm-hero-breadcrumbs a {
  text-decoration: none;
  color: rgba(0,0,0,0.6);
}

.gbm-hero-breadcrumbs a:hover {
  text-decoration: underline;
}

.gbm-hero-breadcrumbs span {
  color: rgba(0,0,0,0.45);
}

/* =====================================================================
   MARK: 17) Comments
===================================================================== */

/* Card shell */
 .comment-card {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: var(--gbm-space-md);
  padding: var(--gbm-space-lg);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.10);
  border-radius: 14px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.06);
}

/* ======================= */
/* MARK: Experimental Code */
/* ======================= */

.gbm-books--layout {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  padding: 2rem 0;
  background: #f3f4f5
}

.gbm-books--grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}

/* .gbm-books--grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
} */

.gbm-books--item {
  /* padding: 1.25rem 1.25rem 1rem; */
  display: flex;
  flex-direction: column;
  border-radius: 14px;
  gap: 0.75rem;
  flex: 1 1 auto;
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
}

.gbm-books__image {
  width: 100%;
  aspect-ratio: 2 / 3;      /* book-cover ratio; tweak if needed */
  overflow: hidden;
}

.gbm-books__image a {
  display: flex;
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
}

.gbm-books__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;        /* crops to fill */
  display: block;
  border-radius: 14px;
}

.gbm-books__body {
  background: #fff;
  padding: 1rem;
  border-radius: 14px;
}

@media screen and (max-width: 1200px) {
  .gbm-books--grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }
}

@media screen and (max-width: 768px) {
  .gbm-books--grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 2fr));
  }

  /* .gbm-books__image {
    max-width: 150px;
  } */
}

@media screen and (max-width: 480px) {
  .gbm-books--grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* Testing ad styles */

.gbm-full-bleed__image {
  box-shadow: 0 10px 30px rgba(0,0,0,0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

a > .gbm-full-bleed__image:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 42px rgba(0,0,0,0.10);
}

/* TESTING */
html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}
/* TESTING */