/*
Theme Name:   Astra Child – Hamburg Events
Template:     astra
Version:      2.0.0
Description:  Dark event agency design for hamburgevents.com
*/

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
    --bg-page:    #0f172a;
    --bg-card:    #1e293b;
    --bg-card-h:  #253352;
    --bg-header:  #0a1120;
    --bg-footer:  #070d1a;
    --color-text: #e2e8f0;
    --color-mute: #94a3b8;
    --color-gold: #d4a017;
    --color-gold-h:#b8870f;
    --color-blue: #3b82f6;
    --border:     #1e3a5f;
    --radius:     10px;
}

/* ─── Base ──────────────────────────────────────────────── */
html { overflow-x: hidden; }
body {
    background: var(--bg-page) !important;
    color: var(--color-text) !important;
    font-family: "Inter", "Open Sans", -apple-system, sans-serif;
}
a { color: var(--color-gold); }
a:hover { color: var(--color-gold-h); }
p { color: var(--color-mute); line-height: 1.75; }
h1, h2, h3, h4 { color: var(--color-text) !important; }

/* ─── Header ────────────────────────────────────────────── */
.site-header,
.ast-primary-header-bar,
#masthead {
    background: var(--bg-header) !important;
    border-bottom: 1px solid rgba(255,255,255,0.06) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.4) !important;
}
.site-title a,
.ast-site-identity a {
    color: #fff !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    font-size: 1.2rem !important;
}
.main-header-menu .menu-item a,
.ast-header-navigation .menu-item > a {
    color: rgba(255,255,255,0.75) !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    transition: color 0.15s;
}
.main-header-menu .menu-item a:hover,
.ast-header-navigation .menu-item > a:hover {
    color: var(--color-gold) !important;
}
.main-header-menu .current-menu-item > a {
    color: var(--color-gold) !important;
}

/* ─── Footer ────────────────────────────────────────────── */
.site-footer,
.footer-widget-area,
.ast-site-footer {
    background: var(--bg-footer) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}
.site-footer * { color: rgba(255,255,255,0.5) !important; }
.site-footer a:hover { color: var(--color-gold) !important; }

/* ─── Page background ───────────────────────────────────── */
#content,
.ast-container,
.site-content,
#primary,
.ast-page-builder-template {
    background: var(--bg-page) !important;
}

/* Hide page title for homepage and CPT single pages */
.home .entry-header,
.home .entry-title,
.page-title,
.single-location .entry-header .entry-title,
.single-kuenstler .entry-header .entry-title,
.single-eventpaket .entry-header .entry-title,
.single-equipment .entry-header .entry-title {
    display: none !important;
}

/* ─── Full-Width Hero ───────────────────────────────────── */
.he-full-width-hero,
.hero-section {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    margin-bottom: 0;
}

.he-full-width-hero {
    padding: 90px 24px 80px;
    text-align: center;
    margin-top: -2em;
}
.he-hero-inner { max-width: 800px; margin: 0 auto; }
.he-hero-single { text-align: left; }
.he-hero-icon { font-size: 2.5rem; display: block; margin-bottom: 16px; line-height: 1; }
.he-hero-title {
    color: #fff !important;
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
    line-height: 1.15 !important;
    letter-spacing: -0.03em !important;
}
.he-hero-count {
    color: rgba(255,255,255,0.55);
    font-size: 0.9rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.he-hero-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.1rem;
    margin: 12px auto 0;
    max-width: 580px;
    line-height: 1.6;
    font-style: italic;
}
.he-hero-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: rgba(255,255,255,0.6);
    font-size: 0.8rem;
    text-decoration: none;
    margin-bottom: 18px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: color 0.15s;
}
.he-hero-back:hover { color: var(--color-gold); }
.he-single-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

/* ─── Archive Section ───────────────────────────────────── */
.he-archive-content {
    padding: 48px 0 60px;
}

/* ─── Card Grid ─────────────────────────────────────────── */
.he-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 20px;
}

.he-card {
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
    text-decoration: none !important;
    color: var(--color-text) !important;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.he-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.4);
    border-color: rgba(212,160,23,0.35);
    text-decoration: none !important;
}

/* Card image / placeholder */
.he-card-media { width: 100%; height: 190px; overflow: hidden; flex-shrink: 0; }
.he-card-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s; }
.he-card:hover .he-card-img { transform: scale(1.04); }
.he-card-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    opacity: 0.9;
}
.he-placeholder-icon { font-size: 3.5rem; }

/* Card body */
.he-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.he-card-type {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 10px;
    width: fit-content;
    opacity: 0.9;
}
.he-card-title {
    color: #fff !important;
    font-size: 1.05rem !important;
    font-weight: 700 !important;
    margin: 0 0 8px !important;
    line-height: 1.35 !important;
}
.he-card-excerpt {
    font-size: 0.85rem;
    color: var(--color-mute);
    line-height: 1.55;
    margin: 0 0 14px;
    flex: 1;
}
.he-card-cta {
    font-size: 0.82rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ─── Single Content ────────────────────────────────────── */
.he-single-content-wrap {
    display: flex;
    gap: 48px;
    align-items: flex-start;
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 32px;
}
.he-single-thumb { flex: 0 0 400px; }
.he-single-img {
    width: 100%;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.he-single-body { flex: 1; }
.he-single-body p {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--color-mute);
    margin-bottom: 16px;
}
.he-single-body h3 {
    color: #fff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    margin: 28px 0 12px !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* Intro / teaser block */
.location-intro {
    font-size: 1.1rem;
    color: var(--color-gold) !important;
    font-style: italic;
    border-left: 3px solid var(--color-gold);
    padding-left: 16px;
    margin-bottom: 24px;
    line-height: 1.6;
    background: rgba(212,160,23,0.06);
    padding: 14px 16px;
    border-radius: 0 6px 6px 0;
}

/* Detail table */
.he-single-body table { width: 100%; border-collapse: collapse; }
.he-single-body td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--color-mute);
}
.he-single-body td:first-child {
    font-weight: 700;
    color: var(--color-text);
    width: 140px;
    white-space: nowrap;
}

/* CTA buttons */
.he-single-cta {
    display: flex;
    gap: 14px;
    margin-top: 32px;
    flex-wrap: wrap;
}
.he-btn-back, .he-btn-contact {
    display: inline-block;
    padding: 11px 26px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none !important;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: all 0.2s;
}
.he-btn-back {
    border: 1.5px solid var(--border);
    background: transparent;
    color: var(--color-mute) !important;
}
.he-btn-back:hover {
    border-color: var(--color-gold);
    color: var(--color-gold) !important;
}
.he-btn-contact {
    background: var(--color-gold);
    color: #0f172a !important;
    border: 1.5px solid var(--color-gold);
    font-weight: 800;
}
.he-btn-contact:hover {
    background: var(--color-gold-h);
    border-color: var(--color-gold-h);
}

/* ─── Homepage ──────────────────────────────────────────── */
.hero-section {
    padding: 110px 24px 100px;
    text-align: center;
    margin-top: -2em;
    margin-bottom: 60px;
}
.hero-section h1 {
    color: #fff !important;
    font-size: 2.8rem !important;
    font-weight: 900 !important;
    margin-bottom: 18px !important;
    line-height: 1.1 !important;
    letter-spacing: -0.03em !important;
}
.hero-section p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.7);
    max-width: 600px;
    margin: 0 auto 32px;
    line-height: 1.65;
}
.hero-btn {
    display: inline-block;
    background: var(--color-gold);
    color: #0f172a !important;
    padding: 16px 38px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s;
    box-shadow: 0 4px 20px rgba(212,160,23,0.3);
}
.hero-btn:hover { background: var(--color-gold-h); }

/* Homepage service cards (HTML block) */
.wp-block-html .he-grid,
.entry-content .he-grid { margin-top: 8px; }

/* Homepage section heading */
.section-heading,
h2.section-heading {
    color: #fff !important;
    font-size: 1.6rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.02em;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 12px;
    margin: 56px 0 28px !important;
    display: block;
}

/* Homepage paragraph */
.entry-content p {
    color: var(--color-mute);
    font-size: 0.95rem;
    line-height: 1.75;
}

/* Teambuilding button */
.wp-block-button__link {
    background: var(--color-gold) !important;
    color: #0f172a !important;
    border-radius: 6px !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    padding: 14px 30px !important;
}

/* ─── Top Bar ───────────────────────────────────────────── */
.he-top-bar {
    background: #070d1a;
    border-bottom: 1px solid rgba(212,160,23,0.2);
    padding: 7px 0;
    font-size: 0.78rem;
}
.he-top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.he-top-bar-left {
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.03em;
}
.he-top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}
.he-top-bar-right a {
    color: rgba(255,255,255,0.7) !important;
    text-decoration: none;
    transition: color 0.15s;
    font-weight: 500;
}
.he-top-bar-right a:hover {
    color: var(--color-gold) !important;
}

/* ─── Logo with Anchor ──────────────────────────────────── */
.he-logo-anchor {
    color: var(--color-gold);
    margin-right: 4px;
    font-size: 1.1em;
}

/* ─── Nav Active Gold Underline ─────────────────────────── */
.main-header-menu .current-menu-item > a,
.ast-header-navigation .current-menu-item > a {
    color: var(--color-gold) !important;
    position: relative;
}
.main-header-menu .current-menu-item > a::after,
.ast-header-navigation .current-menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
}
.main-header-menu .menu-item > a,
.ast-header-navigation .menu-item > a {
    position: relative;
}
.main-header-menu .menu-item > a::after,
.ast-header-navigation .menu-item > a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--color-gold);
    border-radius: 2px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}
.main-header-menu .menu-item > a:hover::after,
.ast-header-navigation .menu-item > a:hover::after {
    transform: scaleX(1);
}

/* ─── Mobile Nav Toggle ─────────────────────────────────── */
.ast-mobile-menu-trigger-minimal .ast-button-wrap button,
.ast-mobile-menu-trigger .ast-button-wrap button,
button.menu-toggle,
.ast-menu-toggle {
    color: #fff !important;
    background: rgba(255,255,255,0.1) !important;
    border: 1px solid rgba(255,255,255,0.2) !important;
    border-radius: 6px !important;
}
.ast-mobile-menu-trigger-minimal .ast-button-wrap button:hover,
button.menu-toggle:hover {
    background: var(--color-gold) !important;
    border-color: var(--color-gold) !important;
    color: #0f172a !important;
}
/* Hamburger lines */
.ast-mobile-menu-trigger .menu-toggle-icon span,
.ast-mobile-menu-trigger .menu-toggle-icon::before,
.ast-mobile-menu-trigger .menu-toggle-icon::after {
    background: #fff !important;
}

/* ─── Stats Bar ─────────────────────────────────────────── */
.he-stats-bar {
    display: flex;
    justify-content: center;
    gap: 0;
    background: linear-gradient(90deg, #0a1628 0%, #0f2040 50%, #0a1628 100%);
    border-top: 1px solid rgba(212,160,23,0.2);
    border-bottom: 1px solid rgba(212,160,23,0.2);
    padding: 32px 24px;
    flex-wrap: wrap;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
}
.he-stat-item {
    flex: 1;
    min-width: 150px;
    text-align: center;
    padding: 16px 24px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.he-stat-item:last-child { border-right: none; }
.he-stat-number {
    display: block;
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--color-gold) !important;
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -0.03em;
}
.he-stat-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.55) !important;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

/* ─── Service Cards Section ─────────────────────────────── */
.he-section {
    padding: 56px 0;
}
.he-section-title {
    color: #fff !important;
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    margin: 0 0 8px !important;
    letter-spacing: -0.02em;
}
.he-section-subtitle {
    color: var(--color-mute) !important;
    font-size: 1rem;
    margin: 0 0 32px !important;
}
.he-service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    text-align: center;
    text-decoration: none !important;
    display: block;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.he-service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.35);
    border-color: rgba(212,160,23,0.4);
}
.he-service-icon {
    font-size: 2.8rem;
    display: block;
    margin-bottom: 14px;
}
.he-service-title {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 0 10px !important;
}
.he-service-text {
    color: var(--color-mute) !important;
    font-size: 0.88rem;
    line-height: 1.6;
    margin: 0 0 16px !important;
}
.he-service-link {
    color: var(--color-gold) !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.he-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 8px;
}

/* ─── Teambuilding Teaser ───────────────────────────────── */
.he-tb-section {
    padding: 56px 0;
    border-top: 1px solid var(--border);
}
.he-tb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.he-tb-title {
    color: #fff !important;
    font-size: 1.7rem !important;
    font-weight: 800 !important;
    margin: 0 0 16px !important;
}
.he-tb-text {
    color: var(--color-mute) !important;
    line-height: 1.75;
    margin: 0 0 24px !important;
}
.he-tb-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.he-tb-list li {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--color-text) !important;
    display: flex;
    align-items: center;
    gap: 8px;
}
.he-tb-list li::before {
    content: '✓';
    color: var(--color-gold);
    font-weight: 700;
    flex-shrink: 0;
}

/* ─── Trust / Quotes ────────────────────────────────────── */
.he-quotes {
    padding: 56px 0;
    border-top: 1px solid var(--border);
}
.he-quotes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 32px;
}
.he-quote-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px 24px;
    position: relative;
}
.he-quote-mark {
    font-size: 3rem;
    color: var(--color-gold);
    line-height: 1;
    margin-bottom: 12px;
    display: block;
    opacity: 0.6;
    font-family: Georgia, serif;
}
.he-quote-text {
    color: var(--color-mute) !important;
    font-size: 0.95rem;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 18px !important;
}
.he-quote-author {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--color-text) !important;
}
.he-quote-company {
    font-size: 0.78rem;
    color: var(--color-gold) !important;
    margin-top: 2px;
}

/* ─── CTA Banner ────────────────────────────────────────── */
.he-cta-banner {
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    background: linear-gradient(135deg, #1a1000 0%, #2a1a00 50%, #1a1000 100%);
    border-top: 1px solid rgba(212,160,23,0.3);
    border-bottom: 1px solid rgba(212,160,23,0.3);
    padding: 64px 24px;
    text-align: center;
    margin: 40px 0 0;
}
.he-cta-banner h2 {
    color: #fff !important;
    font-size: 2rem !important;
    font-weight: 800 !important;
    margin: 0 0 12px !important;
}
.he-cta-banner p {
    color: rgba(255,255,255,0.7) !important;
    font-size: 1.05rem;
    margin: 0 0 28px !important;
    max-width: 560px;
    margin-left: auto !important;
    margin-right: auto !important;
}
.he-cta-btn {
    display: inline-block;
    background: var(--color-gold);
    color: #0f172a !important;
    padding: 16px 42px;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.2s, transform 0.15s;
    box-shadow: 0 4px 24px rgba(212,160,23,0.35);
}
.he-cta-btn:hover {
    background: var(--color-gold-h);
    transform: translateY(-2px);
    color: #0f172a !important;
}
.he-cta-btn-sec {
    display: inline-block;
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff !important;
    padding: 14px 36px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-left: 14px;
    transition: border-color 0.2s, color 0.2s;
}
.he-cta-btn-sec:hover {
    border-color: var(--color-gold);
    color: var(--color-gold) !important;
}

/* ─── Footer 3-column ───────────────────────────────────── */
.he-footer {
    background: var(--bg-footer);
    border-top: 1px solid rgba(212,160,23,0.15);
    font-size: 0.9rem;
}
.he-footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 56px 24px 40px;
}
.he-footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: 40px;
}
.he-footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.he-footer-logo-anchor {
    font-size: 1.5rem;
    color: var(--color-gold);
}
.he-footer-logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff !important;
    letter-spacing: -0.02em;
}
.he-footer-tagline {
    color: rgba(255,255,255,0.45) !important;
    font-size: 0.85rem;
    line-height: 1.65;
    margin: 0 0 20px !important;
}
.he-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.he-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.15s;
}
.he-footer-contact-item:hover {
    color: var(--color-gold) !important;
}
.he-footer-contact-icon { flex-shrink: 0; }

.he-footer-col-title {
    color: #fff !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin: 0 0 18px !important;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212,160,23,0.25);
}
.he-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.he-footer-nav li a {
    color: rgba(255,255,255,0.55) !important;
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.15s;
    display: block;
    padding: 3px 0;
}
.he-footer-nav li a:hover {
    color: var(--color-gold) !important;
    padding-left: 4px;
}
.he-footer-leistungen-text {
    color: rgba(255,255,255,0.45) !important;
    font-size: 0.85rem;
    line-height: 1.65;
    margin: 0 0 16px !important;
}
.he-footer-service-list {
    list-style: none;
    padding: 0;
    margin: 0 0 20px !important;
    display: flex;
    flex-direction: column;
    gap: 5px;
}
.he-footer-service-list li {
    color: rgba(255,255,255,0.5) !important;
    font-size: 0.83rem;
    padding-left: 16px;
    position: relative;
}
.he-footer-service-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-size: 0.75rem;
}
.he-footer-social {
    display: flex;
    gap: 10px;
}
.he-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 6px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.6) !important;
    transition: all 0.2s;
    text-decoration: none !important;
}
.he-social-btn:hover {
    background: var(--color-gold);
    border-color: var(--color-gold);
    color: #0f172a !important;
}
.he-footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.06);
    background: rgba(0,0,0,0.25);
}
.he-footer-bottom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.he-footer-copy {
    color: rgba(255,255,255,0.3) !important;
    font-size: 0.8rem;
}
.he-footer-legal {
    display: flex;
    align-items: center;
    gap: 8px;
}
.he-footer-legal a {
    color: rgba(255,255,255,0.4) !important;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.15s;
}
.he-footer-legal a:hover {
    color: var(--color-gold) !important;
}
.he-footer-sep {
    color: rgba(255,255,255,0.15) !important;
    font-size: 0.8rem;
}

/* ─── Related Posts (Single) ────────────────────────────── */
.he-related-section {
    padding: 40px 0 20px;
    border-top: 1px solid var(--border);
    margin-top: 20px;
}
.he-related-title {
    color: #fff !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    margin: 0 0 20px !important;
}
.he-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.he-related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    text-decoration: none !important;
    display: block;
    transition: transform 0.2s, border-color 0.2s;
}
.he-related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(212,160,23,0.3);
}
.he-related-card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}
.he-related-card-placeholder {
    width: 100%;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}
.he-related-card-body {
    padding: 12px 14px;
}
.he-related-card-title {
    color: #fff !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    margin: 0 0 4px !important;
    line-height: 1.3 !important;
}
.he-related-card-type {
    font-size: 0.72rem;
    color: var(--color-gold) !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ─── Page Content Styling ──────────────────────────────── */
.he-page-content {
    padding: 48px 0;
    max-width: 900px;
}
.he-page-content h1,
.he-page-content h2 {
    color: #fff !important;
    font-weight: 800 !important;
    margin-top: 40px !important;
}
.he-page-content h2 {
    font-size: 1.5rem !important;
    border-bottom: 2px solid var(--color-gold);
    padding-bottom: 10px;
    margin-bottom: 18px !important;
}
.he-page-content h3 {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 28px 0 10px !important;
}
.he-page-content ul {
    padding-left: 0;
    list-style: none;
}
.he-page-content ul li {
    color: var(--color-mute);
    padding: 6px 0 6px 22px;
    position: relative;
    font-size: 0.95rem;
    line-height: 1.6;
}
.he-page-content ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-gold);
    font-weight: 700;
}

/* ─── Contact Page ──────────────────────────────────────── */
.he-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 40px 0;
}
.he-contact-info h3 {
    color: #fff !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    margin: 0 0 16px !important;
}
.he-contact-info p {
    color: var(--color-mute);
    line-height: 1.75;
    font-size: 0.95rem;
}
.he-contact-address {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-top: 20px;
}
.he-contact-address p {
    margin: 4px 0 !important;
    color: var(--color-mute) !important;
    font-size: 0.9rem;
}

/* Astra default footer — hide it when our custom footer is active */
.ast-site-footer { display: none !important; }

/* ─── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-page); }
::-webkit-scrollbar-thumb { background: #2d4a6e; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--color-gold); }

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .he-full-width-hero { padding: 70px 24px 60px; }
    .he-hero-title { font-size: 2rem !important; }
    .he-footer-grid { grid-template-columns: 1fr 1fr; }
    .he-footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    .he-single-content-wrap { flex-direction: column; }
    .he-single-thumb { flex: none; width: 100%; }
    .hero-section h1 { font-size: 2rem !important; }
    .hero-section { padding: 70px 24px 60px; }
    .he-tb-grid { grid-template-columns: 1fr; gap: 28px; }
    .he-contact-grid { grid-template-columns: 1fr; }
    .he-footer-grid { grid-template-columns: 1fr; }
    .he-related-grid { grid-template-columns: 1fr 1fr; }
    .he-stats-bar { gap: 0; }
    .he-stat-item { min-width: 120px; padding: 12px 16px; }
    .he-stat-number { font-size: 1.8rem; }
    .he-top-bar-left { display: none; }
}
@media (max-width: 600px) {
    .he-grid { grid-template-columns: 1fr; }
    .he-single-cta { flex-direction: column; }
    .he-hero-title { font-size: 1.6rem !important; }
    .hero-section h1 { font-size: 1.6rem !important; }
    .he-related-grid { grid-template-columns: 1fr; }
    .he-tb-list { grid-template-columns: 1fr; }
    .he-service-grid { grid-template-columns: 1fr 1fr; }
    .he-footer-bottom-inner { flex-direction: column; text-align: center; }
    .he-cta-btn-sec { margin-left: 0; margin-top: 10px; display: block; }
}
