/*
Theme Name: Hearts and Roses Mentorship Academy
Theme URI: https://heartsandroses.org
Author: Hearts and Roses Academy
Author URI: https://heartsandroses.org
Description: A warm, empowering WordPress theme for Hearts and Roses Mentorship Academy — built with care, mentorship values, and full Elementor Free compatibility. Features dark/light mode, WhatsApp chat, scroll-to-top, gallery, blog, and comprehensive admin options panel.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hearts-and-roses
Tags: mentorship, education, nonprofit, elementor, dark-mode, whatsapp, gallery, blog, responsive
*/

/* =============================================
   CSS CUSTOM PROPERTIES (THEME VARIABLES)
   ============================================= */
:root {
  /* Primary Palette — Purple & Gold brand */
  --har-primary:        #7B2D8B;
  --har-primary-dark:   #5A1F66;
  --har-primary-light:  #9C3FB5;
  --har-secondary:      #6B2177;
  --har-accent:         #C9A84C;
  --har-accent-light:   #E8CC80;

  /* Brand tones */
  --har-rose:           #9B2EA8;
  --har-rose-soft:      #F5EAF8;
  --har-heart:          #7B2D8B;

  /* Neutral Light Mode */
  --har-bg:             #FDFAFF;
  --har-bg-alt:         #F8F0FC;
  --har-bg-card:        #FFFFFF;
  --har-surface:        #F8F0FC;
  --har-text:           #1A0A1F;
  --har-heading:        #0D0410;
  --har-text-muted:     #5C4A6B;
  --har-text-light:     #8B7A9E;
  --har-border:         #E8D5F0;
  --har-shadow:         rgba(123, 45, 139, 0.12);

  /* Typography */
  --har-font-display:   'Playfair Display', Georgia, serif;
  --har-font-body:      'Lato', 'Helvetica Neue', sans-serif;
  --har-font-accent:    'Dancing Script', cursive;
  --har-font-mono:      'Courier New', monospace;

  /* Sizing */
  --har-radius:         12px;
  --har-radius-sm:      6px;
  --har-radius-lg:      24px;
  --har-radius-pill:    999px;
  --har-transition:     0.3s ease;
  --har-transition-slow:0.5s ease;
  --har-max-width:      1200px;
  --har-header-h:       80px;

  /* Shadows */
  --har-shadow-sm:      0 2px 8px rgba(123,45,139,0.08);
  --har-shadow-md:      0 6px 24px rgba(123,45,139,0.14);
  --har-shadow-lg:      0 16px 48px rgba(123,45,139,0.18);

  /* Z-indexes */
  --z-header:     1000;
  --z-dropdown:   1100;
  --z-overlay:    1200;
  --z-modal:      1300;
  --z-toast:      1400;
  --z-fab:        1500;
}

/* =============================================
   DARK MODE VARIABLES
   ============================================= */
body.har-dark-mode {
  --har-bg:         #0A060F;
  --har-bg-alt:     #110816;
  --har-bg-card:    #15091C;
  --har-surface:    #1E0A2A;
  --har-text:       #F0E6F8;
  --har-heading:    #F5EAF8;
  --har-text-muted: #A890BF;
  --har-text-light: #7A6690;
  --har-border:     #2D1A3D;
  --har-shadow:     rgba(0,0,0,0.4);
  --har-shadow-sm:  0 2px 8px rgba(0,0,0,0.3);
  --har-shadow-md:  0 6px 24px rgba(0,0,0,0.4);
  --har-shadow-lg:  0 16px 48px rgba(0,0,0,0.5);
  --har-bg-alt:     #0D0612;
  --har-rose-soft:  #1E0A2A;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--har-font-body);
  background-color: var(--har-bg);
  color: var(--har-text);
  line-height: 1.7;
  transition: background-color var(--har-transition), color var(--har-transition);
  overflow-x: hidden;
}

body.har-dark-mode { color-scheme: dark; }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--har-primary); text-decoration: none; transition: color var(--har-transition); }
a:hover { color: var(--har-primary-dark); }
ul { list-style: none; }

/* =============================================
   TYPOGRAPHY
   ============================================= */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--har-font-display);
  color: var(--har-text);
  line-height: 1.25;
  font-weight: 700;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.9rem); }
h4 { font-size: 1.3rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p { margin-bottom: 1rem; color: var(--har-text-muted); }
p:last-child { margin-bottom: 0; }

.har-accent-text {
  font-family: var(--har-font-accent);
  color: var(--har-rose);
}

/* =============================================
   LAYOUT UTILITIES
   ============================================= */
.har-container {
  max-width: var(--har-max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.har-section {
  padding: 80px 0;
}

.har-section-sm { padding: 48px 0; }
.har-section-lg { padding: 120px 0; }

.har-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.har-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.har-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

@media (max-width: 1024px) {
  .har-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .har-grid-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .har-grid-2,
  .har-grid-3,
  .har-grid-4 { grid-template-columns: 1fr; }
  .har-section { padding: 60px 0; }
  .har-section-lg { padding: 80px 0; }
}

.har-flex { display: flex; align-items: center; }
.har-flex-center { display: flex; align-items: center; justify-content: center; }
.har-flex-between { display: flex; align-items: center; justify-content: space-between; }
.har-gap-1 { gap: 8px; }
.har-gap-2 { gap: 16px; }
.har-gap-3 { gap: 24px; }
.har-gap-4 { gap: 32px; }

.har-text-center { text-align: center; }
.har-text-left   { text-align: left; }
.har-text-right  { text-align: right; }

/* =============================================
   BUTTONS
   ============================================= */
.har-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--har-radius-pill);
  font-family: var(--har-font-body);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--har-transition);
  text-decoration: none;
  white-space: nowrap;
}

.har-btn-primary {
  background: linear-gradient(135deg, var(--har-primary), var(--har-secondary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}
.har-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192,57,43,0.45);
  color: #fff;
}

.har-btn-outline {
  background: transparent;
  color: var(--har-primary);
  border-color: var(--har-primary);
}
.har-btn-outline:hover {
  background: var(--har-primary);
  color: #fff;
  transform: translateY(-2px);
}

.har-btn-ghost {
  background: transparent;
  color: var(--har-text);
  border-color: var(--har-border);
}
.har-btn-ghost:hover {
  background: var(--har-bg-alt);
  color: var(--har-primary);
  border-color: var(--har-primary);
}

.har-btn-sm  { padding: 8px 20px; font-size: 0.85rem; }
.har-btn-lg  { padding: 16px 36px; font-size: 1.05rem; }
.har-btn-icon { width: 44px; height: 44px; padding: 0; border-radius: 50%; }

/* =============================================
   CARDS
   ============================================= */
.har-card {
  background: var(--har-bg-card);
  border-radius: var(--har-radius-lg);
  border: 1px solid var(--har-border);
  padding: 32px;
  box-shadow: var(--har-shadow-sm);
  transition: transform var(--har-transition), box-shadow var(--har-transition);
}
.har-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--har-shadow-md);
}

/* =============================================
   SECTION HEADERS
   ============================================= */
.har-section-header {
  margin-bottom: 56px;
}
.har-section-header.har-text-center { text-align: center; }

.har-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--har-rose-soft);
  color: var(--har-rose);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: var(--har-radius-pill);
  margin-bottom: 16px;
}

.har-section-title {
  font-family: var(--har-font-display);
  color: var(--har-text);
  margin-bottom: 16px;
}

.har-section-title span {
  color: var(--har-primary);
}

.har-section-divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, var(--har-primary), var(--har-rose));
  border-radius: 2px;
  margin: 16px auto;
}

.har-text-center .har-section-divider { margin: 16px auto; }
.har-text-left .har-section-divider { margin: 16px 0; }

.har-section-subtitle {
  font-size: 1.05rem;
  color: var(--har-text-muted);
  max-width: 680px;
}
.har-text-center .har-section-subtitle { margin: 0 auto; }

/* =============================================
   HEADER & NAVIGATION
   ============================================= */
#har-header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: var(--har-bg);
  border-bottom: 1px solid var(--har-border);
  height: var(--har-header-h);
  transition: all var(--har-transition);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

#har-header.scrolled {
  box-shadow: var(--har-shadow-md);
  height: 64px;
}

.har-header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Logo */
.har-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.har-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--har-primary), var(--har-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 20px;
  box-shadow: 0 4px 12px rgba(192,57,43,0.3);
}

.har-logo-text { line-height: 1.1; }
.har-logo-name {
  font-family: var(--har-font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--har-text);
  display: block;
}
.har-logo-tagline {
  font-size: 0.7rem;
  color: var(--har-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: block;
}

/* Nav */
.har-nav { display: flex; align-items: center; gap: 4px; }

.har-nav-item { position: relative; }

.har-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--har-text-muted);
  border-radius: var(--har-radius);
  transition: all var(--har-transition);
  text-decoration: none;
}
.har-nav-link:hover,
.har-nav-link.active {
  color: var(--har-primary);
  background: var(--har-rose-soft);
}

/* Dropdown */
.har-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: var(--har-bg-card);
  border: 1px solid var(--har-border);
  border-radius: var(--har-radius);
  box-shadow: var(--har-shadow-lg);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all var(--har-transition);
  z-index: var(--z-dropdown);
}
.har-nav-item:hover .har-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.har-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--har-text-muted);
  border-radius: var(--har-radius-sm);
  transition: all var(--har-transition);
}
.har-dropdown a:hover { background: var(--har-rose-soft); color: var(--har-primary); }

/* Header Actions */
.har-header-actions { display: flex; align-items: center; gap: 8px; }

.har-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--har-border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--har-text-muted);
  transition: all var(--har-transition);
  font-size: 16px;
}
.har-icon-btn:hover {
  background: var(--har-rose-soft);
  color: var(--har-primary);
  border-color: var(--har-primary);
}

/* Mobile hamburger */
.har-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}
.har-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--har-text);
  border-radius: 2px;
  transition: all var(--har-transition);
}
.har-hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.har-hamburger.active span:nth-child(2) { opacity: 0; }
.har-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.har-mobile-nav {
  display: none;
  position: fixed;
  top: var(--har-header-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--har-bg);
  z-index: calc(var(--z-header) - 1);
  overflow-y: auto;
  padding: 24px;
  transform: translateX(-100%);
  transition: transform var(--har-transition);
}
.har-mobile-nav.active { transform: translateX(0); }
.har-mobile-nav a {
  display: block;
  padding: 14px 0;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--har-text);
  border-bottom: 1px solid var(--har-border);
}
.har-mobile-nav a:hover { color: var(--har-primary); }

@media (max-width: 1024px) {
  .har-nav { display: none; }
  .har-hamburger { display: flex; }
  .har-mobile-nav { display: block; }
}

/* =============================================
   HERO SECTION
   ============================================= */
.har-hero {
  min-height: calc(100vh - var(--har-header-h));
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--har-bg);
}

.har-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.har-hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.har-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(15, 6, 8, 0.88) 0%,
    rgba(96, 28, 46, 0.75) 50%,
    rgba(192, 57, 43, 0.5) 100%);
}

.har-hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.har-hero-content {
  position: relative;
  z-index: 2;
  padding: 100px 0;
}

.har-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--har-accent-light);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.har-hero-eyebrow::before,
.har-hero-eyebrow::after {
  content: '';
  display: block;
  width: 32px;
  height: 1px;
  background: var(--har-accent-light);
}

.har-hero-title {
  font-family: var(--har-font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 24px;
}
.har-hero-title .highlight {
  background: linear-gradient(135deg, var(--har-accent), var(--har-rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.har-hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.8;
}

.har-hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.har-hero-stats {
  display: flex;
  gap: 48px;
  margin-top: 64px;
  flex-wrap: wrap;
}
.har-hero-stat { text-align: left; }
.har-hero-stat-num {
  font-family: var(--har-font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  line-height: 1;
}
.har-hero-stat-label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.har-hero-image-col {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

/* =============================================
   ABOUT SECTION
   ============================================= */
.har-about-image {
  position: relative;
  border-radius: var(--har-radius-lg);
  overflow: hidden;
}
.har-about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--har-radius-lg);
}
.har-about-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--har-bg-card);
  border-radius: var(--har-radius);
  padding: 16px 24px;
  box-shadow: var(--har-shadow-md);
  text-align: center;
}
.har-about-badge-num {
  font-family: var(--har-font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--har-primary);
  line-height: 1;
}
.har-about-badge-text {
  font-size: 0.78rem;
  color: var(--har-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.har-values-list { display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.har-value-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--har-bg-alt);
  border-radius: var(--har-radius);
  border-left: 4px solid var(--har-primary);
}
.har-value-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--har-primary), var(--har-rose));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
  flex-shrink: 0;
}
.har-value-text h4 { font-size: 1rem; margin-bottom: 4px; }
.har-value-text p { font-size: 0.88rem; margin: 0; }

/* =============================================
   PILLARS / MISSION / VISION SECTION
   ============================================= */
.har-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .har-pillars-grid { grid-template-columns: 1fr; } }

.har-pillar-card {
  background: var(--har-bg-card);
  border-radius: var(--har-radius-lg);
  padding: 40px 32px;
  border: 1px solid var(--har-border);
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform var(--har-transition), box-shadow var(--har-transition);
}
.har-pillar-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--har-primary), var(--har-rose));
}
.har-pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--har-shadow-lg);
}
.har-pillar-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  background: linear-gradient(135deg, var(--har-rose-soft), var(--har-bg-alt));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--har-primary);
  border: 2px solid var(--har-border);
}
.har-pillar-card h3 { font-size: 1.4rem; margin-bottom: 16px; color: var(--har-primary); }
.har-pillar-card p { font-size: 0.92rem; color: var(--har-text-muted); line-height: 1.8; }

/* =============================================
   BLOG SECTION
   ============================================= */
.har-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .har-blog-grid { grid-template-columns: 1fr; } }
@media (max-width: 1200px) { .har-blog-grid { grid-template-columns: repeat(2, 1fr); } }

.har-post-card {
  background: var(--har-bg-card);
  border-radius: var(--har-radius-lg);
  border: 1px solid var(--har-border);
  overflow: hidden;
  transition: transform var(--har-transition), box-shadow var(--har-transition);
}
.har-post-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--har-shadow-md);
}
.har-post-thumb {
  position: relative;
  overflow: hidden;
  height: 220px;
}
.har-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.har-post-card:hover .har-post-thumb img { transform: scale(1.05); }

.har-post-category {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--har-primary);
  color: #fff;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: var(--har-radius-pill);
}

.har-post-body { padding: 28px; }
.har-post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}
.har-post-date {
  font-size: 0.8rem;
  color: var(--har-text-light);
  display: flex;
  align-items: center;
  gap: 4px;
}
.har-post-title {
  font-family: var(--har-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.35;
}
.har-post-title a { color: var(--har-text); }
.har-post-title a:hover { color: var(--har-primary); }
.har-post-excerpt { font-size: 0.88rem; color: var(--har-text-muted); margin-bottom: 20px; }
.har-post-read-more {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--har-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.har-post-read-more:hover { gap: 10px; color: var(--har-primary-dark); }

/* =============================================
   GALLERY SECTION
   ============================================= */
.har-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  gap: 16px;
}
.har-gallery-grid .har-gallery-item:nth-child(1),
.har-gallery-grid .har-gallery-item:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
}

.har-gallery-item {
  position: relative;
  border-radius: var(--har-radius);
  overflow: hidden;
  cursor: pointer;
}
.har-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.har-gallery-item:hover img { transform: scale(1.08); }

.har-gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(192,57,43,0.85), transparent);
  opacity: 0;
  transition: opacity var(--har-transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.har-gallery-item:hover .har-gallery-overlay { opacity: 1; }
.har-gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .har-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 160px;
  }
  .har-gallery-grid .har-gallery-item:nth-child(1),
  .har-gallery-grid .har-gallery-item:nth-child(6) {
    grid-column: span 1;
    grid-row: span 1;
  }
}

/* Lightbox */
.har-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: var(--z-modal);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.har-lightbox.active { display: flex; }
.har-lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  border-radius: var(--har-radius);
  object-fit: contain;
}
.har-lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--har-transition);
}
.har-lightbox-close:hover { background: var(--har-primary); }
.har-lightbox-prev,
.har-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--har-transition);
}
.har-lightbox-prev { left: 16px; }
.har-lightbox-next { right: 16px; }
.har-lightbox-prev:hover,
.har-lightbox-next:hover { background: var(--har-primary); }

/* =============================================
   TESTIMONIALS
   ============================================= */
.har-testimonials-wrap {
  position: relative;
  overflow: hidden;
}
.har-testimonials-slider {
  display: flex;
  transition: transform 0.5s ease;
}
.har-testimonial-slide {
  min-width: 100%;
  padding: 0 16px;
}
.har-testimonial-card {
  background: var(--har-bg-card);
  border-radius: var(--har-radius-lg);
  padding: 48px;
  border: 1px solid var(--har-border);
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}
.har-testimonial-card::before {
  content: '"';
  font-family: var(--har-font-display);
  font-size: 8rem;
  line-height: 0.5;
  color: var(--har-border);
  position: absolute;
  top: 40px;
  left: 40px;
}
.har-testimonial-text {
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.8;
  color: var(--har-text-muted);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}
.har-testimonial-author { display: flex; align-items: center; justify-content: center; gap: 16px; }
.har-testimonial-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--har-primary), var(--har-rose));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  border: 3px solid var(--har-border);
}
.har-testimonial-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.har-testimonial-name { font-weight: 700; font-size: 1rem; color: var(--har-text); }
.har-testimonial-role { font-size: 0.82rem; color: var(--har-text-light); }

.har-slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}
.har-slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--har-border);
  cursor: pointer;
  transition: all var(--har-transition);
  border: none;
}
.har-slider-dot.active {
  background: var(--har-primary);
  width: 24px;
  border-radius: 4px;
}

/* =============================================
   CONTACT SECTION
   ============================================= */
.har-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: start;
}
@media (max-width: 900px) { .har-contact-grid { grid-template-columns: 1fr; } }

.har-contact-info h3 { margin-bottom: 24px; }
.har-contact-items { display: flex; flex-direction: column; gap: 20px; }
.har-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.har-contact-item-icon {
  width: 48px;
  height: 48px;
  background: var(--har-rose-soft);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--har-primary);
  font-size: 20px;
  flex-shrink: 0;
}
.har-contact-item-text label {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--har-text-light);
  display: block;
  margin-bottom: 2px;
}
.har-contact-item-text span { font-size: 0.95rem; color: var(--har-text); font-weight: 500; }

/* Form */
.har-form { display: flex; flex-direction: column; gap: 20px; }

.har-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 600px) { .har-form-row { grid-template-columns: 1fr; } }

.har-form-group { display: flex; flex-direction: column; gap: 6px; }
.har-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--har-text-muted);
}
.har-form-group input,
.har-form-group select,
.har-form-group textarea {
  background: var(--har-bg-alt);
  border: 1px solid var(--har-border);
  border-radius: var(--har-radius);
  padding: 12px 16px;
  font-family: var(--har-font-body);
  font-size: 0.95rem;
  color: var(--har-text);
  transition: border-color var(--har-transition), box-shadow var(--har-transition);
  outline: none;
  width: 100%;
}
.har-form-group input:focus,
.har-form-group select:focus,
.har-form-group textarea:focus {
  border-color: var(--har-primary);
  box-shadow: 0 0 0 3px rgba(192,57,43,0.12);
}
.har-form-group textarea { resize: vertical; min-height: 130px; }

/* =============================================
   FOOTER — Full redesign
   ============================================= */

/* Wave separator */
.har-footer-wave {
  line-height: 0;
  display: block;
  margin-bottom: -2px;
}
.har-footer-wave svg { display: block; width: 100%; }

/* Footer main area */
:root { --har-footer-bg: #0D0612; }
.har-footer {
  background: var(--har-footer-bg);
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  line-height: 1.7;
}
.har-footer-main { padding: 70px 0 50px; }

/* Footer grid */
.har-footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 3rem;
}
@media(max-width:1024px){ .har-footer-grid{ grid-template-columns: 1fr 1fr; gap: 2.5rem; } }
@media(max-width:580px){  .har-footer-grid{ grid-template-columns: 1fr; gap: 2rem; } }

/* Brand column */
.har-footer-brand {}
.har-footer-logo-link { display: inline-block; margin-bottom: 1rem; }
.har-footer-logo-img {
  max-width: 150px;
  max-height: 90px;
  object-fit: contain;
  filter: brightness(1.05);
  transition: filter 0.3s;
}
.har-footer-logo-img:hover { filter: brightness(1.2); }

.har-footer-tagline-script {
  font-family: var(--har-font-accent);
  font-size: 1.05rem;
  color: var(--har-accent);
  margin: 0 0 0.85rem;
  line-height: 1.4;
}
.har-footer-about-text {
  color: rgba(255,255,255,0.58);
  font-size: 0.87rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

/* Social icons */
.har-footer-socials {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}
.har-footer-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  transition: all 0.25s;
  text-decoration: none;
}
.har-footer-social-btn:hover {
  background: var(--har-primary);
  border-color: var(--har-primary);
  color: #fff;
  transform: translateY(-2px);
}

/* Column headings */
.har-footer-heading {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #fff;
  margin: 0 0 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.har-footer-heading-line {
  display: inline-block;
  width: 24px;
  height: 3px;
  background: var(--har-accent);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Nav links */
.har-footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.har-footer-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s, transform 0.2s;
}
.har-footer-link:hover {
  color: var(--har-accent);
  transform: translateX(4px);
}
.har-footer-link svg { flex-shrink: 0; color: var(--har-primary); }

/* Contact list */
.har-footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.har-footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}
.har-footer-contact-icon {
  width: 34px; height: 34px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(123,45,139,0.3);
  border: 1px solid rgba(123,45,139,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--har-accent);
}
.har-footer-contact-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 2px;
}
.har-footer-contact-value {
  color: rgba(255,255,255,0.7);
  font-size: 0.87rem;
  text-decoration: none;
  transition: color 0.2s;
}
.har-footer-contact-value:hover { color: var(--har-accent); }

/* Newsletter form */
.har-footer-nl-text {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1rem;
  line-height: 1.6;
}
.har-footer-nl-row {
  display: flex;
  gap: 0;
  border-radius: 999px;
  overflow: hidden;
  border: 1.5px solid rgba(123,45,139,0.5);
  background: rgba(255,255,255,0.05);
  transition: border-color 0.2s;
}
.har-footer-nl-row:focus-within {
  border-color: var(--har-accent);
}
.har-footer-nl-row input[type="email"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  padding: 10px 16px;
  font-size: 0.87rem;
}
.har-footer-nl-row input[type="email"]::placeholder { color: rgba(255,255,255,0.4); }
.har-footer-nl-row button {
  background: var(--har-primary);
  border: none;
  padding: 0 18px;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.har-footer-nl-row button:hover { background: var(--har-secondary); }
.har-nl-response {
  margin-top: 8px;
  font-size: 0.82rem;
  padding: 6px 10px;
  border-radius: 6px;
}
.har-nl-response.success { background: rgba(39,174,96,0.15); color: #a8e6a3; }
.har-nl-response.error   { background: rgba(231,76,60,0.15);  color: #ffb3b3; }

/* Mini heading */
.har-footer-mini-heading {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin: 0 0 0.75rem;
}

/* Footer events list */
.har-footer-events {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.har-footer-event-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  text-decoration: none;
  transition: transform 0.2s;
}
.har-footer-event-item:hover { transform: translateX(3px); }
.har-footer-event-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--har-accent);
  flex-shrink: 0;
  margin-top: 5px;
}
.har-footer-event-title {
  display: block;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  transition: color 0.2s;
}
.har-footer-event-item:hover .har-footer-event-title { color: var(--har-accent); }
.har-footer-event-date {
  display: block;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.38);
  margin-top: 2px;
}

/* Footer bottom bar */
.har-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 18px 0;
}
.har-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.har-footer-copy {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}
.har-footer-bottom-links {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  font-size: 0.82rem;
}
.har-footer-bottom-links a { color: rgba(255,255,255,0.4); text-decoration: none; transition: color 0.2s; }
.har-footer-bottom-links a:hover { color: var(--har-accent); }
.har-footer-bottom-links span { color: rgba(255,255,255,0.2); }
.har-footer-credit {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.35);
  margin: 0;
}

.har-fab-stack {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: var(--z-fab, 1500);
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 12px;
}

/* ── Scroll to top ── */
#har-scroll-top {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--har-primary);
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(123,45,139,0.45);
  opacity: 0;
  transform: translateY(16px) scale(0.8);
  pointer-events: none;
  transition: all 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
#har-scroll-top.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
#har-scroll-top:hover {
  background: var(--har-secondary);
  transform: translateY(-3px) scale(1.08);
  box-shadow: 0 8px 28px rgba(123,45,139,0.5);
}

/* ── WhatsApp button ── */
#har-whatsapp-btn {
  position: relative;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: all 0.3s;
}
#har-whatsapp-btn:hover {
  background: #1EBE5D;
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,0.5);
}

/* WhatsApp pulse ring */
.har-whatsapp-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: harWAPulse 2.5s ease-out infinite;
  z-index: -1;
}
@keyframes harWAPulse {
  0%   { transform: scale(1);   opacity: 0.5; }
  70%  { transform: scale(1.6); opacity: 0;   }
  100% { transform: scale(1.6); opacity: 0;   }
}

/* Tooltip */
.har-whatsapp-tooltip {
  position: absolute;
  right: 62px;
  top: 50%;
  transform: translateY(-50%);
  background: #1a1a2e;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
.har-whatsapp-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: #1a1a2e;
}
#har-whatsapp-btn:hover .har-whatsapp-tooltip { opacity: 1; }

/* WhatsApp extra pulse animation */
@keyframes harPulse {
  0%   { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70%  { box-shadow: 0 0 0 16px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}
#har-whatsapp-btn.pulse { animation: harPulse 2s infinite; }


.har-dark-toggle {
  position: relative;
  width: 56px;
  height: 28px;
}
.har-dark-toggle input { display: none; }
.har-dark-toggle-track {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--har-border);
  border-radius: 14px;
  cursor: pointer;
  transition: background var(--har-transition);
  position: relative;
}
.har-dark-toggle input:checked + .har-dark-toggle-track { background: var(--har-primary); }
.har-dark-toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  transition: transform var(--har-transition);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}
.har-dark-toggle input:checked + .har-dark-toggle-track .har-dark-toggle-thumb {
  transform: translateX(28px);
}

/* =============================================
   UTILITY & ANIMATION CLASSES
   ============================================= */
.har-show-on-dark  { display: none; }
body.har-dark-mode .har-show-on-dark  { display: block; }
body.har-dark-mode .har-hide-on-dark  { display: none; }

.har-fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.har-fade-in.visible { opacity: 1; transform: translateY(0); }

.har-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: var(--har-radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.har-badge-primary { background: var(--har-rose-soft); color: var(--har-primary); }

/* =============================================
   PAGE-SPECIFIC: BLOG ARCHIVE
   ============================================= */
.har-blog-archive-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .har-blog-archive-layout { grid-template-columns: 1fr; } }

.har-sidebar-widget {
  background: var(--har-bg-card);
  border: 1px solid var(--har-border);
  border-radius: var(--har-radius-lg);
  padding: 28px;
  margin-bottom: 28px;
}
.har-sidebar-widget h4 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--har-primary);
  display: inline-block;
}
.har-sidebar-search { display: flex; }
.har-sidebar-search input {
  flex: 1;
  border: 1px solid var(--har-border);
  border-right: none;
  padding: 10px 14px;
  border-radius: var(--har-radius) 0 0 var(--har-radius);
  background: var(--har-bg-alt);
  color: var(--har-text);
  font-family: var(--har-font-body);
  outline: none;
}
.har-sidebar-search button {
  background: var(--har-primary);
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 0 var(--har-radius) var(--har-radius) 0;
  cursor: pointer;
}

/* Pagination */
.har-pagination {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 48px;
}
.har-page-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--har-border);
  background: var(--har-bg-card);
  color: var(--har-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--har-transition);
  text-decoration: none;
}
.har-page-btn:hover,
.har-page-btn.active {
  background: var(--har-primary);
  color: #fff;
  border-color: var(--har-primary);
}

/* =============================================
   GALLERY PAGE FILTERS
   ============================================= */
.har-gallery-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 40px;
}
.har-filter-btn {
  padding: 8px 20px;
  border-radius: var(--har-radius-pill);
  border: 1px solid var(--har-border);
  background: var(--har-bg-card);
  color: var(--har-text-muted);
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  transition: all var(--har-transition);
}
.har-filter-btn:hover,
.har-filter-btn.active {
  background: var(--har-primary);
  color: #fff;
  border-color: var(--har-primary);
}

/* =============================================
   RESPONSIVE TWEAKS
   ============================================= */
@media (max-width: 480px) {
  .har-hero-title { font-size: 2rem; }
  .har-hero-stats { gap: 24px; }
  .har-hero-stat-num { font-size: 1.6rem; }
  .har-testimonial-card { padding: 28px 20px; }
  .har-pillar-card { padding: 28px 20px; }
}

/* =============================================
   ELEMENTOR COMPATIBILITY
   ============================================= */
.elementor-section,
.elementor-container { width: 100% !important; }
.elementor-widget-wrap { padding: 0 !important; }
.page-template-elementor-canvas .har-header,
.page-template-elementor-canvas .har-footer { display: none; }

/* Print styles */
@media print {
  #har-header,
  .har-fab-stack,
  #har-progress-bar { display: none !important; }
}

/* =========================================================
   GALLERY GRID LAYOUTS
========================================================= */
.har-gallery-grid {
  display: grid;
  gap: 1rem;
}
.har-gallery-cols-2 { grid-template-columns: repeat(2, 1fr); }
.har-gallery-cols-3 { grid-template-columns: repeat(3, 1fr); }
.har-gallery-cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .har-gallery-cols-2,
  .har-gallery-cols-3,
  .har-gallery-cols-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .har-gallery-cols-2,
  .har-gallery-cols-3,
  .har-gallery-cols-4 { grid-template-columns: 1fr; }
}

.har-gallery-item { position: relative; overflow: hidden; border-radius: var(--har-radius); }
.har-gallery-item img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.har-gallery-item:hover img { transform: scale(1.05); }
.har-gallery-img-wrap { display: block; position: relative; }
.har-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
.har-gallery-item:hover .har-gallery-overlay { opacity: 1; }
.har-gallery-title { color: #fff; font-size: 0.9rem; font-weight: 600; }

/* Masonry (CSS columns) */
.har-gallery-masonry {
  columns: 3;
  column-gap: 1rem;
}
.har-gallery-masonry .har-gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}
.har-gallery-masonry .har-gallery-item img { height: auto; }
@media (max-width: 768px) { .har-gallery-masonry { columns: 2; } }
@media (max-width: 480px) { .har-gallery-masonry { columns: 1; } }

/* =========================================================
   BLOG GRID LAYOUTS
========================================================= */
.har-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}
.har-blog-list { grid-template-columns: 1fr; }
@media (max-width: 1024px) { .har-blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .har-blog-grid { grid-template-columns: 1fr; } }

/* Post card */
.har-post-card { display: flex; flex-direction: column; }
.har-post-card-thumb { overflow: hidden; border-radius: var(--har-radius) var(--har-radius) 0 0; aspect-ratio: 16/9; position: relative; }
.har-post-card-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.har-post-card:hover .har-post-card-thumb img { transform: scale(1.04); }
.har-post-cats { position: absolute; top: 0.75rem; left: 0.75rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.har-cat-badge {
  padding: 0.2rem 0.6rem;
  background: var(--har-primary);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 999px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.har-cat-badge-white { background: rgba(255,255,255,0.2); backdrop-filter: blur(4px); }
.har-post-card-body { padding: 1.5rem; flex: 1; display: flex; flex-direction: column; }
.har-post-meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.82rem; color: var(--har-text-muted); margin-bottom: 0.75rem; align-items: center; }
.har-post-meta span { display: flex; align-items: center; gap: 4px; }
.har-post-meta-white span { color: rgba(255,255,255,0.8); }
.har-post-card-title { font-size: 1.15rem; margin: 0 0 0.75rem; line-height: 1.4; }
.har-post-card-title a { color: var(--har-heading); text-decoration: none; transition: color 0.2s; }
.har-post-card-title a:hover { color: var(--har-primary); }
.har-post-card-excerpt { color: var(--har-text-muted); font-size: 0.9rem; line-height: 1.6; margin-bottom: 1.25rem; flex: 1; }
.har-post-read-more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; }

/* Content + Sidebar layout */
.har-content-sidebar-wrap { display: grid; grid-template-columns: 1fr 300px; gap: 3rem; align-items: start; }
@media (max-width: 900px) { .har-content-sidebar-wrap { grid-template-columns: 1fr; } }
.har-main-content { min-width: 0; }

/* Single post */
.har-entry-content { font-size: 1.05rem; line-height: 1.8; }
.har-entry-content h1,.har-entry-content h2,.har-entry-content h3 { margin-top: 2rem; margin-bottom: 1rem; }
.har-entry-content img { max-width: 100%; height: auto; border-radius: var(--har-radius); }
.har-entry-content blockquote {
  border-left: 4px solid var(--har-primary);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--har-text-muted);
}
.har-entry-content a { color: var(--har-primary); }
.har-entry-content a:hover { color: var(--har-secondary); }
.har-entry-content code {
  background: var(--har-surface, var(--har-bg-card));
  padding: 0.15em 0.4em;
  border-radius: 3px;
  font-size: 0.88em;
}
.har-entry-content pre {
  background: #1a1a2e;
  color: #e0e0e0;
  padding: 1.5rem;
  border-radius: var(--har-radius);
  overflow-x: auto;
}

.har-nav-overlay.active { display: block; }
