/*
Theme Name: Criminology Learning Hub
Theme URI: https://example.com
Author: Criminology Learning Hub
Description: Custom theme for the Criminology Learning Hub educational platform — criminology, psychology, sociology, criminal law and justice studies content.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: clh
*/

/* ==========================================================================
   Design tokens
   ========================================================================== */
:root{
  --brown-dark: #3D2314;
  --brown-deep: #1A0E0B;
  --lavender: #B28DFF;
  --lavender-soft: #D8C7F5;
  --gold: #D4A373;
  --bg-light: #F8F5F2;
  --text-main: #2D2D2D;
  --white: #FFFFFF;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-card: 0 4px 16px rgba(61,35,20,0.08);
  --shadow-card-hover: 0 10px 28px rgba(61,35,20,0.14);
  --container-w: 1140px;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */
*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin:0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img{ max-width:100%; height:auto; display:block; }
a{ color: var(--brown-dark); text-decoration:none; }
a:hover{ color: var(--gold); }
ul{ list-style:none; margin:0; padding:0; }
h1,h2,h3,h4{ font-family: var(--font-heading); color: var(--brown-deep); margin: 0 0 16px; line-height:1.2; }
h1{ font-size:56px; }
h2{ font-size:40px; }
h3{ font-size:26px; }
p{ margin:0 0 16px; }
button{ font-family: var(--font-body); cursor:pointer; }

:focus-visible{
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}
.clh-skip-link{
  position:absolute; left:-9999px; top:auto; z-index:10000; background:var(--brown-deep); color:#fff;
  padding:12px 20px; border-radius:0 0 8px 0;
}
.clh-skip-link:focus{ left:0; top:0; }

/* ==========================================================================
   Layout helpers
   ========================================================================== */
.clh-section{ padding: 90px 0; }
.clh-section--tight{ padding: 60px 0; }
.clh-container{ max-width: var(--container-w); margin: 0 auto; padding: 0 24px; }
.clh-bg-light{ background: var(--bg-light); }
.clh-bg-white{ background: var(--white); }
.clh-bg-dark{ background: var(--brown-deep); color: var(--white); }
.clh-flex{ display:flex; flex-wrap:wrap; gap:32px; }
.clh-grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:32px; }
.clh-grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.clh-grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
.clh-eyebrow{ color: var(--gold); font-weight:600; letter-spacing:.02em; margin-bottom:8px; display:block; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.clh-btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 14px 28px; border-radius: var(--radius-sm);
  font-weight:600; font-size:15px; border:2px solid transparent;
  transition: all .2s ease; white-space:nowrap;
}
.clh-btn--solid{ background: var(--brown-dark); color: var(--white); }
.clh-btn--solid:hover{ background: var(--brown-deep); color:var(--white); }
.clh-btn--outline{ border-color: var(--brown-dark); color: var(--brown-dark); background:transparent; }
.clh-btn--outline:hover{ background: var(--brown-dark); color: var(--white); }
.clh-btn--lavender{ background: var(--lavender); color: var(--brown-deep); }
.clh-btn--lavender:hover{ background: var(--lavender-soft); color: var(--brown-deep); }
.clh-header .clh-btn{ padding:11px 17px; border-radius:999px; font-size:13px; gap:8px; box-shadow:0 6px 18px rgba(178,141,255,.22); }
.clh-header .clh-btn span{ font-size:17px; line-height:1; transition:transform .2s ease; }
.clh-header .clh-btn:hover span{ transform:translateX(3px); }

/* ==========================================================================
   Header
   ========================================================================== */
.clh-header{
  position: sticky; top:0; z-index:999;
  background:rgba(255,255,255,.96);
  height:82px; display:flex; align-items:center;
  border-bottom:1px solid rgba(61,35,20,.08);
  box-shadow:0 8px 28px rgba(26,14,11,.06);
  backdrop-filter:blur(12px); -webkit-backdrop-filter:blur(12px);
}
.clh-header__inner{ display:flex; align-items:center; justify-content:space-between; width:100%; gap:28px; }
.clh-brand-wrap{ display:flex; align-items:center; gap:14px; min-width:260px; }
.clh-logo{ font-family:var(--font-heading); font-size:23px; font-weight:700; color:var(--brown-deep); line-height:1.05; letter-spacing:-.02em; }
.clh-logo span{ color:var(--lavender); }
.clh-logo img{ max-height:52px; width:auto; }
.clh-brand-subtitle{ font-size:10px; line-height:1.25; letter-spacing:.08em; text-transform:uppercase; color:#7b7067; max-width:145px; }
.clh-nav{ display:flex; flex:1; justify-content:center; align-items:center; }
.clh-menu{ display:flex; gap:28px; align-items:center; list-style:none; margin:0; padding:0; }
.clh-menu li{ position:relative; }
.clh-menu > li > a{ font-weight:600; font-size:14px; color: var(--text-main); position:relative; padding:4px 0; display:inline-block; }
.clh-menu > li > a::after{
  content:''; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background: var(--gold); transition: width .25s ease;
}
.clh-menu > li > a:hover::after, .clh-menu > li.current-menu-item > a::after{ width:100%; }

/* Desktop dropdown submenu — scoped to .clh-nav only, so these rules
   (position:absolute, hover-reveal, etc.) never leak into the mobile
   drawer menu, which also carries the .clh-menu class. */
.clh-nav .clh-menu .sub-menu{
  list-style:none; margin:0; padding:10px 0; position:absolute; top:100%; left:0;
  background:#fff; min-width:220px; border-radius: var(--radius-sm); box-shadow: var(--shadow-card-hover);
  opacity:0; visibility:hidden; transform:translateY(6px); transition:all .2s ease; z-index:200;
}
.clh-nav .clh-menu li:hover > .sub-menu, .clh-nav .clh-menu li:focus-within > .sub-menu{ opacity:1; visibility:visible; transform:translateY(0); }
.clh-nav .clh-menu .sub-menu li{ width:100%; }
.clh-nav .clh-menu .sub-menu a{ display:block; padding:10px 20px; color: var(--text-main); font-size:14px; }
.clh-nav .clh-menu .sub-menu a:hover{ background: var(--bg-light); color: var(--brown-dark); }
.clh-nav .clh-menu li.menu-item-has-children > a::before{
  content:'▾'; display:inline-block; margin-left:6px; font-size:11px; opacity:.6;
}
.clh-header__actions{ display:flex; align-items:center; gap:10px; }
.clh-search-toggle, .clh-menu-toggle{
  background:none; border:none; color: var(--brown-dark); display:flex; align-items:center; justify-content:center;
  width:38px; height:38px; border-radius:50%; transition: background .2s ease, color .2s ease; cursor:pointer;
}
.clh-search-toggle:hover, .clh-menu-toggle:hover{ background: var(--bg-light); color: var(--lavender); }
.clh-menu-toggle{ display:none; }

/* Animated hamburger (3 lines -> X) */
.clh-hamburger{ position:relative; width:20px; height:16px; display:inline-block; }
.clh-hamburger span{
  position:absolute; left:0; width:100%; height:2px; border-radius:2px;
  background: var(--brown-dark); transition: transform .3s ease, opacity .2s ease, top .3s ease;
}
.clh-hamburger span:nth-child(1){ top:0; }
.clh-hamburger span:nth-child(2){ top:7px; }
.clh-hamburger span:nth-child(3){ top:14px; }
.clh-menu-toggle.is-active .clh-hamburger span:nth-child(1){ top:7px; transform:rotate(45deg); }
.clh-menu-toggle.is-active .clh-hamburger span:nth-child(2){ opacity:0; }
.clh-menu-toggle.is-active .clh-hamburger span:nth-child(3){ top:7px; transform:rotate(-45deg); }

/* Backdrop behind the mobile nav panel */
.clh-mobile-nav-backdrop{
  position:fixed; inset:0; background: rgba(26,14,11,.55);
  z-index:1150; opacity:0; visibility:hidden; transition: opacity .3s ease;
}
.clh-mobile-nav-backdrop.is-open{ opacity:1; visibility:visible; }

/* Prevent background scroll while mobile nav is open */
body.clh-no-scroll{ overflow:hidden; }

.clh-search-overlay{
  position: fixed; inset:0; background: rgba(26,14,11,0.96);
  display:flex; align-items:flex-start; justify-content:center; padding-top:130px;
  z-index: 1100; opacity:0; visibility:hidden; transition: opacity .25s ease;
}
.clh-search-overlay.is-open{ opacity:1; visibility:visible; }
.clh-search-overlay form{ width:90%; max-width:600px; display:flex; box-shadow: 0 20px 50px rgba(0,0,0,.4); border-radius: var(--radius-sm); overflow:hidden; }
.clh-search-overlay input[type="search"]{
  flex:1; padding:18px 22px; border:none; font-size:17px; font-family:var(--font-body); color: var(--text-main);
}
.clh-search-overlay input[type="search"]::placeholder{ color:#9c9184; }
.clh-search-overlay input[type="search"]:focus{ outline:none; }
.clh-search-overlay button{
  padding:0 26px; border:none; background: var(--lavender); font-weight:600; color: var(--brown-deep);
  display:flex; align-items:center; gap:8px; transition: background .2s ease; cursor:pointer;
}
.clh-search-overlay button:hover{ background: var(--lavender-soft); }
.clh-search-close{
  position:absolute; top:32px; right:32px; background:none; border:none;
  color: var(--white); display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%; transition: background .2s ease; cursor:pointer;
}
.clh-search-close:hover{ background: rgba(255,255,255,.1); }

/* ==========================================================================
   Hero
   ========================================================================== */
.clh-hero{ padding: 90px 0; background: var(--bg-light); position:relative; overflow:hidden; }
.clh-hero::before{
  content:''; position:absolute; width:520px; height:520px; border-radius:50%;
  background: radial-gradient(circle, var(--lavender-soft) 0%, transparent 70%);
  top:-160px; right:-160px; opacity:.7;
}
.clh-hero__grid{ display:grid; grid-template-columns: 1.1fr .9fr; gap:56px; align-items:center; position:relative; z-index:1; }
.clh-hero__tagline{ color: var(--lavender); font-weight:600; font-size:20px; margin-bottom:12px; display:block; }
.clh-hero h1{ margin-bottom:20px; }
.clh-hero p.clh-hero__sub{ font-size:18px; max-width:480px; margin-bottom:32px; }
.clh-hero__actions{ display:flex; gap:16px; flex-wrap:wrap; }
.clh-hero__image{ border-radius: var(--radius-lg); overflow:hidden; box-shadow: var(--shadow-card-hover); }

/* ==========================================================================
   Subject cards
   ========================================================================== */
.clh-card{
  background: var(--white); border-radius: var(--radius-md); padding:32px 28px;
  box-shadow: var(--shadow-card); transition: transform .2s ease, box-shadow .2s ease;
}
.clh-card:hover{ transform: translateY(-4px); box-shadow: var(--shadow-card-hover); }
.clh-card__icon{
  width:56px; height:56px; border-radius:50%; background: var(--lavender-soft);
  display:flex; align-items:center; justify-content:center; font-size:24px; margin-bottom:20px;
}
.clh-card h3{ font-size:22px; margin-bottom:10px; }
.clh-card__link{ font-weight:600; color: var(--brown-dark); }

/* ==========================================================================
   Pillars
   ========================================================================== */
.clh-pillar{
  border-top:4px solid var(--brown-dark); padding:28px 24px; background: var(--white);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-card);
}
.clh-pillar h3{ font-size:20px; }

/* ==========================================================================
   Articles
   ========================================================================== */
.clh-article-card{ background:var(--white); border-radius:var(--radius-md); overflow:hidden; box-shadow: var(--shadow-card); transition: box-shadow .2s ease; display:flex; flex-direction:column; height:100%; }
.clh-article-card:hover{ box-shadow: var(--shadow-card-hover); }
.clh-article-card__img{ aspect-ratio: 16/9; overflow:hidden; background: var(--bg-light); }
.clh-article-card__img img{ width:100%; height:100%; object-fit:cover; transition: transform .3s ease; }
.clh-article-card:hover .clh-article-card__img img{ transform: scale(1.03); }
.clh-article-card__body{ padding:22px 24px; flex:1; display:flex; flex-direction:column; }
.clh-pill{
  display:inline-block; background: var(--lavender-soft); color: var(--brown-deep);
  font-size:12px; font-weight:600; padding:4px 12px; border-radius:20px; margin-bottom:12px; width:fit-content;
}
.clh-article-card h3{
  font-size:20px; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.clh-article-card__body p{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; flex:1;
}
.clh-byline{ display:flex; align-items:center; gap:10px; font-size:13px; color:#6b6259; margin-top:16px; }
.clh-byline img{ width:28px; height:28px; border-radius:50%; object-fit:cover; }

/* Grid rows stretch equally so cards in the same row match height */
.clh-grid-3 > a, .clh-grid-3 > div{ height:100%; }

/* Pagination */
.pagination, .nav-links{ display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.pagination .page-numbers, .nav-links .page-numbers{
  display:inline-flex; align-items:center; justify-content:center; min-width:40px; height:40px;
  padding:0 12px; border-radius: var(--radius-sm); background: var(--white); color: var(--brown-dark);
  font-weight:600; font-size:14px; box-shadow: var(--shadow-card); transition: all .2s ease;
}
.pagination .page-numbers.current, .nav-links .page-numbers.current{ background: var(--brown-dark); color: var(--white); }
.pagination .page-numbers:hover, .nav-links .page-numbers:hover{ background: var(--lavender-soft); }

/* ==========================================================================
   Single article
   ========================================================================== */
.clh-article-header{ max-width:760px; margin:0 auto 32px; text-align:left; }
.clh-article-meta{ display:flex; flex-wrap:wrap; gap:6px 18px; font-size:14px; color:#6b6259; margin:20px 0; }
.clh-article-meta strong{ color: var(--text-main); }
.clh-article-featured{ border-radius: var(--radius-lg); overflow:hidden; margin-bottom:40px; }
.clh-article-body{ max-width:760px; margin:0 auto; font-size:18px; }
.clh-article-body h2{ font-size:30px; margin-top:40px; }
.clh-article-body h3{ margin-top:28px; }

.clh-article-body ul,
.clh-article-body ol {
  list-style: revert;
  margin: 0 0 16px 1.4em;
  padding: 0;
}

.clh-article-body ul {
  list-style-type: disc;
}

.clh-article-body ol {
  list-style-type: decimal;
}

.clh-article-body li {
  margin-bottom: 8px;
}

.clh-reviewer-box{
  max-width:760px; margin:40px auto 0; padding:24px; background:var(--bg-light);
  border-radius: var(--radius-md); display:flex; gap:18px; align-items:flex-start;
}
.clh-reviewer-box img{ width:56px; height:56px; border-radius:50%; object-fit:cover; }

/* ==========================================================================
   CTA
   ========================================================================== */
.clh-cta{
  background: linear-gradient(135deg, var(--brown-dark), var(--brown-deep));
  color: var(--white); text-align:center; padding:80px 0;
}
.clh-cta__inner{ max-width:700px; margin:0 auto; }
.clh-cta h2{ color: var(--white); }

/* ==========================================================================
   Footer
   ========================================================================== */
.clh-footer{ background: var(--brown-deep); color: rgba(255,255,255,.85); padding:70px 0 0; }
.clh-footer h4{ color: var(--white); font-family:var(--font-body); font-size:14px; letter-spacing:.04em; margin-bottom:20px; }
.clh-footer a{ color: rgba(255,255,255,.75); }
.clh-footer a:hover{ color: var(--lavender); }
.clh-footer li{ margin-bottom:10px; }
.clh-footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1fr; gap:40px; padding-bottom:50px; }
.clh-footer-contact-list{ list-style:none; margin:0; padding:0; }
.clh-footer-contact-list li{ margin-bottom:14px; }
.clh-footer-contact-list a{ display:inline-flex; align-items:center; gap:10px; color:rgba(255,255,255,.85); font-size:14px; }
.clh-footer-contact-list a:hover{ color:var(--lavender); }
.clh-footer-contact-list svg{ flex:0 0 auto; color:var(--lavender); }
.clh-footer-month-year{ display:inline-flex; align-items:center; gap:10px; color:rgba(255,255,255,.6); font-size:14px; }
.clh-footer-contact-extra{ margin-top:10px; }
.clh-footer-bottom{
  border-top:1px solid rgba(255,255,255,.1); padding:22px 0; display:flex; justify-content:space-between;
  flex-wrap:wrap; gap:12px; font-size:13px;
}
.clh-social{ display:flex; gap:12px; margin-top:18px; }
.clh-social a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }

/* ==========================================================================
   Articles page hero (matches Home/Subjects/About/Contact/Resources style)
   ========================================================================== */
.clh-articles-hero{
  position:relative; overflow:hidden; color:#fff; text-align:center;
  background:
    linear-gradient(110deg, rgba(26,14,11,.93) 40%, rgba(61,35,20,.75) 100%),
    url('https://images.unsplash.com/photo-1495446815901-a7297e633e8d?q=80&w=1600&auto=format&fit=crop') center/cover no-repeat;
  padding:70px 60px 110px;
}
.clh-articles-eyebrow{
  display:inline-flex; align-items:center; gap:10px; color:var(--lavender-soft); font-weight:600;
  font-size:13px; letter-spacing:.1em; text-transform:uppercase; margin-bottom:16px;
}
.clh-articles-eyebrow .line{ width:32px; height:1px; background:var(--lavender-soft); opacity:.6; }
.clh-articles-hero h1{
  font-family:'Playfair Display', Georgia, serif; font-size:42px; text-transform:uppercase; margin:0 0 16px; color:#fff;
}
.clh-articles-hero h1 span{ color:var(--lavender); }
.clh-articles-hero p{ max-width:560px; margin:0 auto; color:rgba(255,255,255,.85); font-size:16px; line-height:1.7; }
.clh-articles-wave{ position:absolute; bottom:-2px; left:0; width:100%; line-height:0; }
.clh-articles-wave svg{ width:100%; height:auto; display:block; }

.clh-articles-search{
  max-width:520px; margin:32px auto 0; display:flex; background:#fff; border-radius:8px; overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.2);
}
.clh-articles-search input{
  flex:1; border:none; padding:14px 18px; font-family:'Poppins',sans-serif; font-size:14px; color:var(--text-main);
}
.clh-articles-search input:focus{ outline:none; }
.clh-articles-search button{
  background:var(--lavender); border:none; padding:0 22px; font-weight:600; color:var(--brown-deep); cursor:pointer;
}
@media (max-width: 1024px){
  h1{ font-size:44px; }
  h2{ font-size:34px; }
  .clh-header{ height:70px; }
  .clh-logo{ font-size:19px; }
  .clh-brand-subtitle{ display:none; }
  .clh-brand-wrap{ min-width:auto; }
  .clh-logo img{ max-height:42px !important; }
  .clh-nav{ display:none; }
  .clh-menu-toggle{ display:block; }
  .clh-hero__grid{ grid-template-columns:1fr; }
  .clh-hero__image{ order:-1; }
  .clh-grid-3{ grid-template-columns:repeat(2,1fr); }
  .clh-grid-4{ grid-template-columns:repeat(2,1fr); }
  .clh-grid-2{ grid-template-columns:1fr; }
  .clh-footer-grid{ grid-template-columns:1fr 1fr; }
  .clh-section{ padding:65px 0; }
  .clh-search-overlay{ padding-top:100px; }
}
@media (max-width: 767px){
  h1{ font-size:34px; }
  h2{ font-size:28px; }
  .clh-header{ height:60px; }
  .clh-header__inner{ gap:8px; }
  .clh-logo{ font-size:15px; white-space:nowrap; }
  .clh-brand-wrap{ gap:8px; }
  .clh-logo img{ max-height:34px !important; }
  .clh-header__actions{ gap:8px; }
  .clh-header__actions .clh-btn{ display:none; } /* hide "Explore Subjects" pill on phones, keep it in the mobile nav panel instead */
  .clh-search-toggle, .clh-menu-toggle{ width:34px; height:34px; }
  .clh-search-toggle svg, .clh-menu-toggle svg{ width:18px; height:18px; }
  .clh-grid-3, .clh-grid-4{ grid-template-columns:1fr; }
  .clh-footer-grid{ grid-template-columns:1fr; }
  .clh-hero{ padding:56px 0; }
  .clh-hero__actions .clh-btn{ width:100%; }
  .clh-section{ padding:48px 0; }
  .clh-article-body{ font-size:16px; }

  /* Search overlay: compact on phones */
  .clh-search-overlay{ padding-top:88px; align-items:flex-start; }
  .clh-search-overlay form{ width:92%; flex-direction:column; border-radius:12px; }
  .clh-search-overlay input[type="search"]{ font-size:15px; padding:14px 16px; width:100%; }
  .clh-search-overlay button{ width:100%; justify-content:center; padding:14px 0; }
  .clh-search-close{ top:20px; right:16px; width:36px; height:36px; }
  .clh-search-close svg{ width:20px; height:20px; }
}
@media (max-width: 380px){
  .clh-logo{ font-size:13px; }
  .clh-logo img{ max-height:28px !important; }
}

/* Mobile nav panel */
.clh-mobile-nav{
  position:fixed; top:0; right:-100%; width:85%; max-width:340px; height:100%;
  background: var(--brown-deep); z-index:1200; padding:32px 24px; transition:right .35s cubic-bezier(.25,.8,.25,1);
  overflow-y:auto; box-shadow: -8px 0 30px rgba(0,0,0,.25);
}
.clh-mobile-nav.is-open{ right:0; }
.clh-mobile-nav-close{ background:none; border:none; color:var(--white); font-size:26px; margin-bottom:20px; }

.clh-menu--mobile{ list-style:none; margin:0; padding:0; width:100%; }
.clh-menu--mobile li{ border-bottom:1px solid rgba(255,255,255,.08); }
.clh-menu--mobile > li > a{ display:block; color:var(--white); font-size:18px; padding:14px 0; }
.clh-menu--mobile .menu-item-has-children{ position:relative; }
.clh-menu--mobile .menu-item-has-children > a{ padding-right:44px; }
.clh-mobile-submenu-toggle{
  position:absolute; right:0; top:5px; background:none; border:none; color:var(--white);
  font-size:20px; width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  transition: transform .25s ease;
}
.clh-mobile-submenu-toggle.is-open{ transform:rotate(180deg); }
.clh-menu--mobile .sub-menu{
  list-style:none; margin:0 0 10px; padding:0; max-height:0; overflow:hidden; transition:max-height .3s ease;
}
.clh-menu--mobile .sub-menu.is-open{ max-height:600px; }
.clh-menu--mobile .sub-menu li{ border-bottom:none; }
.clh-menu--mobile .sub-menu a{ display:block; color:rgba(255,255,255,.75); font-size:15px; padding:10px 0 10px 16px; }
.clh-menu--mobile .sub-menu a:hover{ color:var(--lavender-soft); }

/* ==========================================================================
   Header polish / responsive navigation override
   ========================================================================== */
.clh-header{height:84px;background:rgba(255,255,255,.98);border-bottom:1px solid rgba(26,14,11,.09);box-shadow:0 4px 22px rgba(26,14,11,.06);}
.clh-header__inner{max-width:1240px;gap:24px;}
.clh-brand-wrap{flex:0 0 auto;min-width:310px;gap:13px;}
.clh-logo{display:flex;align-items:center;white-space:nowrap;font-size:24px;}
.clh-logo__first{color:var(--brown-deep);}
.clh-logo__accent{color:var(--lavender);}
.clh-brand-subtitle{max-width:145px;}
.clh-nav{flex:1 1 auto;min-width:0;}
.clh-menu{display:flex !important;align-items:center;justify-content:center;gap:26px !important;list-style:none !important;margin:0 !important;padding:0 !important;}
.clh-menu > li{display:block !important;margin:0 !important;padding:0 !important;}
.clh-menu > li > a{display:inline-flex !important;align-items:center;white-space:nowrap;font-size:14px;font-weight:600;color:var(--text-main) !important;padding:7px 0 !important;transition:color .2s ease,transform .2s ease;}
.clh-menu > li > a:hover,.clh-menu > li.current-menu-item > a,.clh-menu > li.current_page_item > a{color:var(--brown-deep) !important;transform:translateY(-1px);}
.clh-menu > li > a::after{bottom:0;height:2px;}
.clh-header__actions{flex:0 0 auto;gap:9px;}
.clh-header-explore{min-height:42px;padding:10px 18px !important;}
.clh-search-toggle{color:var(--brown-deep);}
.clh-search-toggle:hover{background:var(--bg-light);color:var(--brown-deep);}

/* Mobile drawer: all menu text stays white, including hover/focus/active states. */
.clh-mobile-nav{width:min(88vw,380px);background:linear-gradient(180deg,#1a0e0b 0%,#120907 100%);padding:24px 24px 32px;}
.clh-mobile-nav__top{display:flex;align-items:center;justify-content:space-between;padding-bottom:20px;border-bottom:1px solid rgba(255,255,255,.12);margin-bottom:10px;}
.clh-mobile-nav__title{font-family:var(--font-heading);font-size:25px;font-weight:700;color:#fff;}
.clh-mobile-nav-close{display:flex;align-items:center;justify-content:center;width:42px;height:42px;margin:0;border-radius:50%;color:#fff;background:rgba(255,255,255,.08);}
.clh-mobile-nav-close:hover,.clh-mobile-nav-close:focus{color:#fff;background:rgba(255,255,255,.16);}
.clh-menu--mobile{display:block !important;width:100%;}
.clh-menu--mobile li{display:block !important;border-bottom:1px solid rgba(255,255,255,.10);}
.clh-menu--mobile > li > a{display:flex !important;align-items:center;width:100%;min-height:54px;color:#fff !important;background:transparent !important;font-size:17px;font-weight:600;padding:14px 38px 14px 4px !important;transition:padding-left .2s ease,background .2s ease !important;}
.clh-menu--mobile > li > a:hover,.clh-menu--mobile > li > a:focus,.clh-menu--mobile > li.current-menu-item > a,.clh-menu--mobile > li.current_page_item > a{color:#fff !important;background:rgba(178,141,255,.13) !important;padding-left:12px !important;}
.clh-menu--mobile > li > a::after{display:none !important;}
.clh-menu--mobile .sub-menu{background:rgba(255,255,255,.035);}
.clh-menu--mobile .sub-menu a,.clh-menu--mobile .sub-menu a:hover,.clh-menu--mobile .sub-menu a:focus{color:#fff !important;}
.clh-menu--mobile .sub-menu a{padding-left:18px !important;}
.clh-mobile-submenu-toggle,.clh-mobile-submenu-toggle:hover,.clh-mobile-submenu-toggle:focus{color:#fff !important;}
.clh-mobile-explore{display:flex;width:100%;margin-top:26px;min-height:48px;}

@media (max-width:1100px){
  .clh-brand-wrap{min-width:250px;}
  .clh-menu{gap:18px !important;}
  .clh-menu > li > a{font-size:13px;}
}
@media (max-width:1024px){
  .clh-header{height:72px;}
  .clh-header__inner{gap:12px;}
  .clh-brand-wrap{min-width:0;flex:1 1 auto;}
  .clh-logo{font-size:21px;}
  .clh-brand-subtitle{display:none;}
  .clh-nav{display:none !important;}
  .clh-header-explore{display:none;}
  .clh-menu-toggle{display:flex !important;}
}
@media (max-width:767px){
  .clh-header{height:64px;}
  .clh-header__inner{padding-left:16px;padding-right:16px;}
  .clh-logo{font-size:18px;}
  .clh-search-toggle,.clh-menu-toggle{width:38px;height:38px;}
  .clh-hamburger{width:21px;}
  .clh-mobile-nav{padding-left:20px;padding-right:20px;}
}
@media (max-width:380px){
  .clh-logo{font-size:16px;}
  .clh-header__inner{padding-left:12px;padding-right:12px;}
}