/* ============================================================
   HCC — Frontend design system
   لجنة التنسيق العليا لمراكز البرامج النسائية في الأردن
   ------------------------------------------------------------
   A modern, image-forward, motion-rich theme.

   IMPORTANT CONTRACTS (do not remove):
   • The --c-* custom properties are referenced by inline styles
     inside stored article HTML (e.g. var(--c-primary-600)).
   • The legacy .hcc-campaign-*, .hcc-gal-*, .hcc-hashtag,
     .hcc-ar and .hcc-jordan classes are used by imported article
     bodies and must keep their styling.
   ============================================================ */

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
    /* --- Brand --- */
    --c-primary: #6366f1;
    --c-primary-600: #4f46e5;
    --c-primary-700: #4338ca;
    --c-primary-800: #3730a3;
    --c-accent: #ec4899;
    --c-accent-600: #db2777;
    --c-navy: #1e1b4b;
    --c-navy-light: #312e81;
    --c-navy-dark: #14122e;
    --c-teal: #0d9488;
    --c-amber: #f59e0b;

    /* --- Surfaces --- */
    --c-bg: #f5f6fc;
    --c-bg-deep: #eceefb;
    --c-surface: #ffffff;
    --c-surface-soft: #f0f1fd;
    --c-surface-ink: #171533;

    /* --- Text --- */
    --c-text: #1b2237;
    --c-text-strong: #0d1226;
    --c-muted: #64748b;
    --c-muted-soft: #94a3b8;
    --c-border: #e3e6f2;
    --c-border-strong: #cfd4e8;

    /* --- Gradients --- */
    --grad-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 52%, #ec4899 118%);
    --grad-primary-soft: linear-gradient(135deg, #eef0ff 0%, #fdf2f8 100%);
    --grad-navy: linear-gradient(150deg, #14122e 0%, #1e1b4b 48%, #312e81 100%);
    --grad-accent: linear-gradient(135deg, #ec4899 0%, #f97316 110%);
    --grad-teal: linear-gradient(135deg, #0d9488 0%, #22d3ee 120%);
    --grad-glass: linear-gradient(150deg, rgba(255, 255, 255, .86), rgba(255, 255, 255, .58));
    --grad-sheen: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, .55) 50%, transparent 68%);

    /* --- Glass --- */
    --glass: rgba(255, 255, 255, .72);
    --glass-strong: rgba(255, 255, 255, .88);
    --glass-border: rgba(255, 255, 255, .7);
    --glass-blur: saturate(180%) blur(18px);

    /* --- Depth --- */
    --shadow-xs: 0 1px 3px rgba(20, 18, 46, .06);
    --shadow-sm: 0 4px 14px rgba(20, 18, 46, .07);
    --shadow-md: 0 14px 38px rgba(20, 18, 46, .10);
    --shadow-lg: 0 28px 70px rgba(20, 18, 46, .16);
    --shadow-xl: 0 44px 110px rgba(20, 18, 46, .22);
    --shadow-primary: 0 16px 40px rgba(99, 102, 241, .34);
    --shadow-accent: 0 16px 40px rgba(236, 72, 153, .32);
    --ring: 0 0 0 4px rgba(99, 102, 241, .16);

    /* --- Radius --- */
    --radius-xs: 8px;
    --radius-sm: 12px;
    --radius: 18px;
    --radius-lg: 26px;
    --radius-xl: 34px;
    --radius-full: 999px;

    /* --- Motion --- */
    --ease: cubic-bezier(.22, .61, .36, 1);
    --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
    --ease-out: cubic-bezier(.16, 1, .3, 1);
    --t-fast: .18s;
    --t: .34s;
    --t-slow: .7s;

    /* --- Layout --- */
    --container: 1280px;
    --container-narrow: 900px;
    --header-h: 84px;

    /* --- Type --- */
    --font: 'Tajawal', 'Segoe UI', Tahoma, sans-serif;
    --font-display: 'Cairo', 'Tajawal', 'Segoe UI', sans-serif;

    --z-header: 900;
    --z-overlay: 950;
    --z-lightbox: 1000;
    --z-toast: 1100;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 20px);
}

body.hcc-body {
    margin: 0;
    font-family: var(--font);
    font-size: 16.5px;
    line-height: 1.85;
    color: var(--c-text);
    background: var(--c-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* Ambient background wash — fixed, behind everything */
body.hcc-body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background:
        radial-gradient(900px 520px at 92% -6%, rgba(99, 102, 241, .16), transparent 62%),
        radial-gradient(760px 460px at 4% 12%, rgba(236, 72, 153, .13), transparent 60%),
        radial-gradient(700px 420px at 50% 108%, rgba(13, 148, 136, .10), transparent 62%),
        var(--c-bg);
}

img, svg, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
figure { margin: 0; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    color: var(--c-text-strong);
    line-height: 1.3;
    margin: 0 0 .5em;
    font-weight: 800;
    letter-spacing: -.01em;
}

::selection { background: rgba(99, 102, 241, .22); }

:focus-visible {
    outline: 3px solid var(--c-primary);
    outline-offset: 3px;
    border-radius: 6px;
}

/* Scrollbar */
* { scrollbar-width: thin; scrollbar-color: var(--c-border-strong) transparent; }
*::-webkit-scrollbar { width: 10px; height: 10px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb {
    background: var(--c-border-strong);
    border-radius: 999px;
    border: 3px solid transparent;
    background-clip: content-box;
}
*::-webkit-scrollbar-thumb:hover { background: var(--c-primary); background-clip: content-box; }

/* ============================================================
   3. LAYOUT PRIMITIVES
   ============================================================ */
.hcc-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: 22px;
}

.hcc-main { display: block; min-height: 40vh; }

.hcc-page { display: block; }
.hcc-page-inner { padding-bottom: 10px; }

.hcc-section {
    position: relative;
    padding: 92px 0;
}
.hcc-section + .hcc-section { padding-top: 0; }

.hcc-grid { display: grid; gap: 28px; }
.hcc-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hcc-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.hcc-mt-4 { margin-top: 28px; }

.hcc-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 42px;
    align-items: start;
    padding: 56px 22px 96px;
    max-width: var(--container);
    margin-inline: auto;
    width: 100%;
}
.hcc-layout-main { min-width: 0; }
.hcc-layout-side { min-width: 0; position: sticky; top: calc(var(--header-h) + 24px); }

/* ============================================================
   4. TYPOGRAPHY HELPERS
   ============================================================ */
.hcc-section-head { margin-bottom: 46px; }
.hcc-section-head-center { text-align: center; max-width: 720px; margin-inline: auto; margin-bottom: 52px; }
.hcc-section-head-between {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 24px; flex-wrap: wrap; margin-bottom: 46px;
}
.hcc-text-start { text-align: start; }

.hcc-eyebrow {
    display: inline-flex; align-items: center; gap: 9px;
    font-size: 13px; font-weight: 800; letter-spacing: .09em;
    text-transform: uppercase;
    color: var(--c-primary-600);
    background: rgba(99, 102, 241, .1);
    border: 1px solid rgba(99, 102, 241, .2);
    padding: 7px 16px;
    border-radius: var(--radius-full);
    margin-bottom: 16px;
}
.hcc-eyebrow-light {
    color: #fff;
    background: rgba(255, 255, 255, .16);
    border-color: rgba(255, 255, 255, .3);
}

.hcc-section-title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 900;
    margin: 0 0 14px;
    line-height: 1.22;
}
.hcc-section-sub {
    margin: 0;
    color: var(--c-muted);
    font-size: 17px;
    max-width: 640px;
}
.hcc-section-head-center .hcc-section-sub { margin-inline: auto; }

/* Animated gradient text */
.hcc-gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 220% 220%;
    animation: hcc-gradient-pan 7s var(--ease) infinite;
}

.hcc-block-title {
    display: flex; align-items: center; gap: 12px;
    font-size: 21px; font-weight: 800;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--c-border);
    position: relative;
}
.hcc-block-title::after {
    content: '';
    position: absolute; inset-inline-start: 0; bottom: -1px;
    width: 72px; height: 3px; border-radius: 3px;
    background: var(--grad-primary);
}
.hcc-block-title i { color: var(--c-primary-600); }

/* ============================================================
   5. BUTTONS
   ============================================================ */
.hcc-btn {
    --btn-bg: var(--c-surface);
    --btn-fg: var(--c-text);
    position: relative;
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    padding: 13px 26px;
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    background: var(--btn-bg);
    color: var(--btn-fg);
    font-family: var(--font-display);
    font-size: 15px; font-weight: 700;
    line-height: 1.2;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform var(--t) var(--ease-spring),
                box-shadow var(--t) var(--ease),
                background-color var(--t) var(--ease),
                color var(--t) var(--ease),
                border-color var(--t) var(--ease);
    white-space: nowrap;
}
.hcc-btn > * { position: relative; z-index: 2; }
.hcc-btn i { font-size: 14px; transition: transform var(--t) var(--ease-spring); }

/* Shine sweep on hover */
.hcc-btn::after {
    content: '';
    position: absolute; inset: 0; z-index: 1;
    background: var(--grad-sheen);
    transform: translateX(-130%);
    transition: transform .75s var(--ease-out);
    pointer-events: none;
}
.hcc-btn:hover::after { transform: translateX(130%); }
.hcc-btn:hover { transform: translateY(-3px); }
.hcc-btn:active { transform: translateY(-1px) scale(.985); }

.hcc-btn-primary {
    --btn-bg: var(--grad-primary);
    --btn-fg: #fff;
    box-shadow: var(--shadow-primary);
}
.hcc-btn-primary:hover { box-shadow: 0 22px 54px rgba(99, 102, 241, .46); }

.hcc-btn-accent {
    --btn-bg: var(--grad-accent);
    --btn-fg: #fff;
    box-shadow: var(--shadow-accent);
}
.hcc-btn-accent:hover { box-shadow: 0 22px 54px rgba(236, 72, 153, .44); }

.hcc-btn-outline {
    --btn-bg: transparent;
    --btn-fg: var(--c-primary-700);
    border-color: rgba(99, 102, 241, .35);
}
.hcc-btn-outline:hover {
    --btn-bg: var(--c-primary-600);
    --btn-fg: #fff;
    border-color: transparent;
    box-shadow: var(--shadow-primary);
}

.hcc-btn-glass {
    --btn-bg: rgba(255, 255, 255, .16);
    --btn-fg: #fff;
    border-color: rgba(255, 255, 255, .42);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
}
.hcc-btn-glass:hover {
    --btn-bg: rgba(255, 255, 255, .96);
    --btn-fg: var(--c-navy);
    border-color: transparent;
}

.hcc-btn-sm { padding: 9px 18px; font-size: 13.5px; }
.hcc-btn-lg { padding: 17px 36px; font-size: 16.5px; }
.hcc-btn-block { width: 100%; }
.hcc-btn-header { padding: 11px 20px; font-size: 14px; }

.hcc-btn:hover i.fa-arrow-left { transform: translateX(-4px); }
.hcc-btn:hover i.fa-arrow-right { transform: translateX(4px); }

/* ============================================================
   6. BADGES / CHIPS / PILLS
   ============================================================ */
.hcc-badge {
    display: inline-flex; align-items: center; gap: 7px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12.5px; font-weight: 800;
    line-height: 1.4;
    background: rgba(99, 102, 241, .12);
    color: var(--c-primary-700);
    border: 1px solid rgba(99, 102, 241, .2);
}
.hcc-badge-cat {
    background: rgba(255, 255, 255, .9);
    color: var(--c-primary-700);
    border-color: transparent;
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    box-shadow: var(--shadow-sm);
}

.hcc-filter-chips {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin-bottom: 34px;
}
.hcc-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-full);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: var(--c-muted);
    font-size: 14px; font-weight: 700;
    transition: all var(--t) var(--ease);
}
.hcc-chip:hover {
    color: var(--c-primary-700);
    border-color: rgba(99, 102, 241, .4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}
.hcc-chip.is-active {
    background: var(--grad-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-primary);
}

/* ============================================================
   7. TOP BAR
   ============================================================ */
.hcc-topbar {
    position: relative;
    z-index: 60;
    background: var(--grad-navy);
    color: rgba(255, 255, 255, .88);
    font-size: 13.5px;
}
.hcc-topbar::after {
    content: '';
    position: absolute; inset-inline: 0; bottom: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .22), transparent);
}
.hcc-topbar-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; min-height: 46px; flex-wrap: wrap;
}
.hcc-topbar-contacts { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.hcc-topbar-item {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255, 255, 255, .84);
    transition: color var(--t) var(--ease);
}
.hcc-topbar-item i { color: var(--c-accent); font-size: 13px; }
.hcc-topbar-item:hover { color: #fff; }

.hcc-topbar-social { display: flex; align-items: center; gap: 8px; }
.hcc-social-link {
    width: 32px; height: 32px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .9);
    font-size: 13px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-social-link:hover {
    background: var(--grad-primary);
    color: #fff;
    transform: translateY(-3px) rotate(-6deg);
    box-shadow: var(--shadow-primary);
}
.hcc-social-link.is-fb-official { background: #1877f2; color: #fff; }
.hcc-social-link.is-fb-official:hover { background: #1877f2; filter: brightness(1.15); box-shadow: 0 8px 18px rgba(24, 119, 242, .45); }

/* ============================================================
   8. HEADER & NAVIGATION
   ============================================================ */
.hcc-header {
    position: sticky;
    top: 0;
    z-index: var(--z-header);
    background: var(--glass);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid rgba(227, 230, 242, .9);
    transition: box-shadow var(--t) var(--ease),
                background-color var(--t) var(--ease),
                padding var(--t) var(--ease);
}
.hcc-header.hcc-is-stuck {
    background: var(--glass-strong);
    box-shadow: 0 12px 40px rgba(20, 18, 46, .1);
}
.hcc-header-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 26px;
    min-height: var(--header-h);
    transition: min-height var(--t) var(--ease);
}
.hcc-header.hcc-is-stuck .hcc-header-inner { min-height: 68px; }

/* --- Logo --- */
.hcc-logo { display: inline-flex; align-items: center; gap: 14px; flex-shrink: 0; }
.hcc-logo-frame {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    border-radius: 18px;
    background: var(--grad-glass);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-sm);
    padding: 7px;
    overflow: hidden;
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.hcc-logo:hover .hcc-logo-frame { transform: rotate(-4deg) scale(1.05); box-shadow: var(--shadow-md); }
.hcc-logo-img { width: 100%; height: 100%; object-fit: contain; }

.hcc-logo-badge {
    width: 58px; height: 58px;
    display: grid; place-items: center;
    border-radius: 18px;
    background: var(--grad-primary);
    box-shadow: var(--shadow-primary);
    transition: transform var(--t) var(--ease-spring);
}
.hcc-logo:hover .hcc-logo-badge { transform: rotate(-4deg) scale(1.05); }
.hcc-logo-text {
    font-family: var(--font-display);
    font-size: 21px; font-weight: 900; letter-spacing: -.02em;
}
.hcc-logo-badge .hcc-gradient-text {
    background: #fff;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hcc-logo-caption {
    display: flex; flex-direction: column;
    font-size: 12.5px; line-height: 1.5;
    color: var(--c-muted);
    font-weight: 600;
}
.hcc-logo-caption strong {
    font-family: var(--font-display);
    font-size: 16.5px; font-weight: 800;
    color: var(--c-text-strong);
    line-height: 1.35;
}
.hcc-logo-caption small { font-size: 12px; color: var(--c-muted); }

/* --- Desktop nav --- */
.hcc-nav { flex: 1; display: flex; justify-content: center; }
.hcc-nav-list { display: flex; align-items: center; gap: 4px; }
.hcc-nav-item { position: relative; }

.hcc-nav-link {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 11px 16px;
    border-radius: var(--radius-full);
    font-family: var(--font-display);
    font-size: 15px; font-weight: 700;
    color: var(--c-text);
    transition: all var(--t) var(--ease);
    position: relative;
}
.hcc-nav-link i { font-size: 13px; color: var(--c-primary-600); }
.hcc-nav-link:hover { color: var(--c-primary-700); background: rgba(99, 102, 241, .09); }
.hcc-nav-link.is-active {
    color: var(--c-primary-700);
    background: rgba(99, 102, 241, .12);
}
.hcc-nav-link.is-active::after {
    content: '';
    position: absolute; bottom: 3px; inset-inline: 18px;
    height: 3px; border-radius: 3px;
    background: var(--grad-primary);
}
.hcc-nav-caret { font-size: 10px !important; transition: transform var(--t) var(--ease); }

/* Open the dropdown on hover AND on keyboard focus. Without :focus-within the
   child links stay `visibility: hidden`, which removes them from the tab order
   entirely — keyboard users could never reach them. */
.hcc-nav-item.has-dropdown:hover .hcc-nav-caret,
.hcc-nav-item.has-dropdown:focus-within .hcc-nav-caret { transform: rotate(180deg); }

.hcc-dropdown {
    position: absolute;
    top: calc(100% + 12px);
    inset-inline-start: 50%;
    transform: translateX(50%) translateY(10px);
    min-width: 236px;
    padding: 10px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden;
    transition: all var(--t) var(--ease);
    z-index: 20;
}
.hcc-nav-item.has-dropdown:hover .hcc-dropdown,
.hcc-nav-item.has-dropdown:focus-within .hcc-dropdown {
    opacity: 1; visibility: visible;
    transform: translateX(50%) translateY(0);
}
.hcc-dropdown li + li { margin-top: 2px; }
.hcc-dropdown a {
    display: block;
    padding: 11px 15px;
    border-radius: var(--radius-sm);
    font-size: 14.5px; font-weight: 600;
    color: var(--c-text);
    transition: all var(--t) var(--ease);
}
.hcc-dropdown a:hover {
    background: var(--c-surface-soft);
    color: var(--c-primary-700);
    transform: translateX(-5px);
}

/* --- Header actions --- */
.hcc-header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* --- Language switcher --- */
.hcc-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border-radius: 999px;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    direction: ltr; /* keep the order stable in both Arabic and English */
}
.hcc-lang-opt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 38px;
    padding: 0 12px;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    color: var(--c-text-soft);
    transition: all var(--t) var(--ease-spring);
}
.hcc-lang-opt:hover { color: var(--c-primary); background: var(--c-primary-soft); }
.hcc-lang-opt.is-active {
    background: var(--grad-primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(79, 70, 229, .25);
}
.hcc-lang-opt:focus-visible { outline: 2px solid var(--c-primary); outline-offset: 2px; }
@media (max-width: 480px) {
    .hcc-lang-opt { min-width: 34px; height: 34px; padding: 0 9px; font-size: 12px; }
}

/* Responsive display helpers (replaced the Tailwind utilities the header
   used to rely on, so the whole layout is controlled by this stylesheet). */
.hcc-show-sm,
.hcc-show-md { display: none; }
@media (min-width: 640px) { .hcc-show-sm { display: flex; } }
@media (min-width: 768px) { .hcc-show-md { display: flex; } }

/* The header CTA and the hamburger swap over at the same width the desktop
   navigation appears/disappears (see the 1200px breakpoint below), so the
   header never shows both or neither. */
.hcc-header-cta { display: none; }
.hcc-menu-toggle-btn { display: grid; }
@media (min-width: 1201px) {
    .hcc-header-cta { display: inline-flex; }
    .hcc-menu-toggle-btn { display: none; }
}

.hcc-icon-btn {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    color: var(--c-text);
    font-size: 16px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-icon-btn:hover {
    background: var(--grad-primary);
    color: #fff;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow: var(--shadow-primary);
}
.hcc-menu-icon-close { display: none; }
body.hcc-menu-open .hcc-menu-icon-open { display: none; }
body.hcc-menu-open .hcc-menu-icon-close { display: inline-block; }

/* ============================================================
   9. MOBILE MENU
   ============================================================ */
.hcc-mobile-menu {
    position: fixed;
    inset: 0;
    z-index: var(--z-overlay);
    background: var(--grad-navy);
    padding: 108px 26px 40px;
    overflow-y: auto;
    opacity: 0; visibility: hidden;
    transform: translateY(-14px);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
}
body.hcc-menu-open .hcc-mobile-menu { opacity: 1; visibility: visible; transform: translateY(0); }

.hcc-mobile-nav > li { border-bottom: 1px solid rgba(255, 255, 255, .12); }
.hcc-mobile-link {
    display: block;
    padding: 17px 4px;
    font-family: var(--font-display);
    font-size: 19px; font-weight: 700;
    color: #fff;
    transition: all var(--t) var(--ease);
}
.hcc-mobile-link:hover { color: var(--c-accent); transform: translateX(-6px); }
.hcc-mobile-sub { padding: 0 18px 14px; }
.hcc-mobile-sub a {
    display: block;
    padding: 9px 0;
    font-size: 15px;
    color: rgba(255, 255, 255, .72);
    transition: color var(--t) var(--ease);
}
.hcc-mobile-sub a:hover { color: #fff; }

.hcc-mobile-lang {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, .18);
}
.hcc-mobile-lang-label { color: rgba(255, 255, 255, .78); font-size: 14px; font-weight: 600; }
.hcc-mobile-lang .hcc-lang-switch { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .25); }
.hcc-mobile-lang .hcc-lang-opt { color: rgba(255, 255, 255, .85); height: 34px; min-width: 44px; }
.hcc-mobile-lang .hcc-lang-opt:hover { color: #fff; background: rgba(255, 255, 255, .16); }
.hcc-mobile-lang .hcc-lang-opt.is-active { background: #fff; color: var(--c-primary); }

.hcc-mobile-contact { display: grid; gap: 12px; margin-top: 32px; }
.hcc-mobile-cta {
    display: flex; align-items: center; justify-content: center; gap: 10px;
    padding: 15px;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .22);
    color: #fff; font-weight: 700;
    transition: all var(--t) var(--ease);
}
.hcc-mobile-cta.is-whatsapp { background: linear-gradient(135deg, #128c7e, #25d366); border-color: transparent; }
.hcc-mobile-cta:hover { transform: translateY(-3px); }

/* ============================================================
   10. NEWS TICKER
   ============================================================ */
.hcc-ticker {
    display: flex; align-items: stretch;
    background: var(--c-surface);
    border-bottom: 1px solid var(--c-border);
    position: relative;
    z-index: 50;
    overflow: hidden;
}
.hcc-ticker-label {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 13px 22px;
    background: var(--grad-accent);
    color: #fff;
    font-size: 13.5px; font-weight: 800;
    flex-shrink: 0;
    position: relative;
    z-index: 3;
}
.hcc-ticker-label::after {
    content: '';
    position: absolute; inset-inline-end: -12px; top: 0; bottom: 0;
    width: 24px;
    background: inherit;
    transform: skewX(14deg);
    z-index: 2;
}
.hcc-ticker-label i { animation: hcc-pulse 1.9s var(--ease) infinite; }

.hcc-ticker-viewport { flex: 1; overflow: hidden; display: flex; align-items: center; }
.hcc-ticker-track { display: flex; width: max-content; animation: hcc-marquee 42s linear infinite; }
.hcc-ticker-track:hover { animation-play-state: paused; }
.hcc-ticker-items { display: flex; align-items: center; }
.hcc-ticker-item {
    display: inline-flex; align-items: center; gap: 11px;
    padding: 13px 26px;
    font-size: 14.5px; font-weight: 600;
    color: var(--c-text);
    white-space: nowrap;
    transition: color var(--t) var(--ease);
}
.hcc-ticker-item:hover { color: var(--c-primary-700); }
.hcc-ticker-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--grad-primary);
    flex-shrink: 0;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, .14);
}

/* ============================================================
   11. SEARCH OVERLAY
   ============================================================ */
.hcc-search-overlay {
    position: fixed; inset: 0;
    z-index: var(--z-lightbox);
    display: grid; place-items: center;
    padding: 24px;
    background: rgba(16, 14, 40, .72);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t) var(--ease), visibility var(--t);
}
.hcc-search-overlay.is-open { opacity: 1; visibility: visible; }
.hcc-search-overlay-box {
    width: 100%; max-width: 680px;
    text-align: center;
    transform: translateY(22px) scale(.97);
    transition: transform var(--t-slow) var(--ease-out);
}
.hcc-search-overlay.is-open .hcc-search-overlay-box { transform: translateY(0) scale(1); }
.hcc-search-overlay-title {
    color: #fff; font-size: clamp(24px, 4vw, 34px);
    margin-bottom: 26px;
}
.hcc-search-close {
    position: absolute; top: 26px; inset-inline-end: 26px;
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .28);
    background: rgba(255, 255, 255, .1);
    color: #fff; font-size: 19px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-search-close:hover { background: var(--grad-accent); transform: rotate(90deg) scale(1.08); }

.hcc-search-form-big {
    display: flex; gap: 10px;
    background: #fff;
    border-radius: var(--radius-full);
    padding: 9px;
    box-shadow: var(--shadow-xl);
}
.hcc-search-input {
    flex: 1; min-width: 0;
    border: 0; background: transparent;
    padding: 15px 24px;
    font-family: var(--font);
    font-size: 17px;
    color: var(--c-text);
}
.hcc-search-input:focus { outline: none; }
.hcc-search-submit {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%;
    background: var(--grad-primary);
    color: #fff; font-size: 18px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-search-submit:hover { transform: scale(1.09) rotate(-6deg); }
.hcc-search-hint { color: rgba(255, 255, 255, .6); font-size: 13.5px; margin-top: 18px; }

/* ============================================================
   12. READING PROGRESS
   ============================================================ */
.hcc-reading-progress {
    position: fixed; top: 0; inset-inline-start: 0;
    height: 4px; width: 0;
    background: var(--grad-primary);
    z-index: calc(var(--z-header) + 10);
    box-shadow: 0 0 14px rgba(99, 102, 241, .7);
    transition: width .12s linear;
}
#reading-progress { display: none; }
body.is-article #reading-progress { display: block; }

/* ============================================================
   13. HERO
   ============================================================ */
.hcc-hero { position: relative; }
.hcc-hero-swiper { overflow: hidden; }

.hcc-hero-slide {
    position: relative;
    min-height: clamp(520px, 74vh, 760px);
    display: flex; align-items: center;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
/* Ken-Burns layer sits behind the overlay */
.hcc-hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.06);
    animation: hcc-kenburns 18s var(--ease) infinite alternate;
}
.hcc-hero-slide-gradient {
    background: var(--grad-navy);
}
.hcc-hero-slide-gradient::before {
    background:
        radial-gradient(760px 520px at 88% 18%, rgba(236, 72, 153, .45), transparent 62%),
        radial-gradient(680px 520px at 8% 78%, rgba(13, 148, 136, .34), transparent 60%);
}

.hcc-hero-overlay {
    position: absolute; inset: 0;
    background:
        linear-gradient(to left, rgba(16, 14, 40, .1) 0%, rgba(16, 14, 40, .62) 46%, rgba(16, 14, 40, .92) 100%),
        linear-gradient(to top, rgba(16, 14, 40, .72), transparent 52%);
}

.hcc-hero-content {
    position: relative; z-index: 3;
    padding-block: 90px;
    max-width: 900px;
}
.hcc-hero-kicker {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 8px 20px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, .13);
    border: 1px solid rgba(255, 255, 255, .26);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    color: #fff;
    font-size: 13px; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 24px;
}
.hcc-hero-kicker span { color: #fff; }

.hcc-hero-title {
    font-size: clamp(34px, 5.6vw, 66px);
    font-weight: 900;
    line-height: 1.14;
    color: #fff;
    margin: 0 0 22px;
    text-shadow: 0 6px 34px rgba(0, 0, 0, .42);
}
.hcc-hero-text {
    font-size: clamp(16px, 1.7vw, 20px);
    color: rgba(255, 255, 255, .9);
    max-width: 660px;
    margin: 0 0 34px;
    line-height: 1.85;
}
.hcc-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hcc-hero-nav {
    position: absolute;
    inset-inline-end: 34px;
    bottom: 46px;
    z-index: 6;
    display: flex; gap: 12px;
}
.hcc-hero-arrow {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .38);
    background: rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    color: #fff; font-size: 16px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-hero-arrow:hover {
    background: #fff; color: var(--c-navy);
    transform: scale(1.1);
}

.hcc-hero-pagination {
    position: absolute;
    inset-inline-start: 50% !important;
    transform: translateX(50%);
    bottom: 30px !important;
    z-index: 6;
    display: flex; gap: 9px;
    width: auto !important;
}
.hcc-hero-pagination .swiper-pagination-bullet {
    width: 30px; height: 5px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .42);
    opacity: 1;
    margin: 0 !important;
    transition: all var(--t) var(--ease);
}
.hcc-hero-pagination .swiper-pagination-bullet-active {
    width: 52px;
    background: #fff;
    box-shadow: 0 0 18px rgba(255, 255, 255, .8);
}

/* Decorative floating glow */
.hcc-hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    pointer-events: none;
    z-index: 2;
    opacity: .55;
}

/* ============================================================
   14. SERVICE CARDS
   ============================================================ */
.hcc-services { position: relative; }
.hcc-services-grid { gap: 24px; }

.hcc-service-card {
    position: relative;
    display: block;
    padding: 38px 30px 32px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform var(--t) var(--ease-spring),
                box-shadow var(--t) var(--ease),
                border-color var(--t) var(--ease);
}
.hcc-service-card::before {
    content: '';
    position: absolute; inset-inline: 0; top: 0; height: 4px;
    background: var(--grad-primary);
    transform: scaleX(0);
    transform-origin: inline-start;
    transition: transform var(--t-slow) var(--ease-out);
}
.hcc-service-card::after {
    content: '';
    position: absolute;
    inset-inline-end: -70px; top: -70px;
    width: 190px; height: 190px;
    border-radius: 50%;
    background: var(--grad-primary-soft);
    opacity: 0;
    transition: opacity var(--t-slow) var(--ease);
    z-index: 0;
}
.hcc-service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.hcc-service-card:hover::before { transform: scaleX(1); }
.hcc-service-card:hover::after { opacity: 1; }
.hcc-service-card > * { position: relative; z-index: 1; }

.hcc-service-icon {
    width: 70px; height: 70px;
    display: grid; place-items: center;
    border-radius: 22px;
    font-size: 27px;
    color: #fff;
    margin-bottom: 24px;
    box-shadow: var(--shadow-md);
    transition: transform var(--t) var(--ease-spring);
}
.hcc-service-card:hover .hcc-service-icon { transform: rotate(-7deg) scale(1.08); }
.hcc-service-icon.is-indigo { background: var(--grad-primary); }
.hcc-service-icon.is-pink { background: var(--grad-accent); }
.hcc-service-icon.is-violet { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.hcc-service-icon.is-teal { background: var(--grad-teal); }

.hcc-service-title { font-size: 20px; font-weight: 800; margin: 0 0 10px; }
.hcc-service-desc { color: var(--c-muted); font-size: 15px; margin: 0 0 20px; line-height: 1.85; }
.hcc-service-more {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 14px; font-weight: 800;
    color: var(--c-primary-600);
    transition: gap var(--t) var(--ease);
}
.hcc-service-card:hover .hcc-service-more { gap: 14px; }

/* ============================================================
   15. ABOUT
   ============================================================ */
.hcc-about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}
.hcc-about-visual { position: relative; }
.hcc-about-img-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    aspect-ratio: 4 / 3.4;
    box-shadow: var(--shadow-lg);
    background: var(--grad-primary-soft);
}
.hcc-about-img-frame img { width: 100%; height: 100%; object-fit: cover; }
.hcc-about-img-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background: var(--grad-primary);
    color: rgba(255, 255, 255, .92);
    font-size: 76px;
}
.hcc-about-badge {
    position: absolute;
    inset-inline-end: -18px; bottom: 34px;
    display: flex; flex-direction: column; align-items: center;
    padding: 22px 26px;
    border-radius: var(--radius-lg);
    background: var(--grad-navy);
    color: #fff;
    box-shadow: var(--shadow-lg);
    text-align: center;
    z-index: 3;
    animation: hcc-float 5.5s var(--ease) infinite;
}
.hcc-about-badge-num {
    font-family: var(--font-display);
    font-size: 34px; font-weight: 900;
    line-height: 1;
    background: var(--grad-accent);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hcc-about-badge-txt { font-size: 12.5px; opacity: .88; line-height: 1.5; margin-top: 5px; }

.hcc-about-copy { min-width: 0; }
.hcc-about-list { display: grid; gap: 13px; margin: 26px 0 30px; }
.hcc-about-list li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 15.5px;
    color: var(--c-text);
}
.hcc-about-list i {
    flex-shrink: 0;
    width: 26px; height: 26px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(99, 102, 241, .13);
    color: var(--c-primary-600);
    font-size: 12px;
    margin-top: 4px;
}
.hcc-about-actions { display: flex; gap: 13px; flex-wrap: wrap; }

/* ============================================================
   16. CARDS — articles, generic
   ============================================================ */
.hcc-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform var(--t) var(--ease-spring),
                box-shadow var(--t) var(--ease),
                border-color var(--t) var(--ease);
}
.hcc-card:hover {
    transform: translateY(-9px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.hcc-article-card { display: flex; flex-direction: column; }
.hcc-article-card-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--grad-primary-soft);
}
.hcc-article-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .9s var(--ease-out), opacity .5s var(--ease);
}
.hcc-article-card:hover .hcc-article-card-img { transform: scale(1.09); }
.hcc-article-card-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background: var(--grad-primary);
    color: rgba(255, 255, 255, .9);
    font-size: 40px;
}
/* Logo fallback: never crop the mark */
.hcc-article-card-media.is-logo-fallback {
    background: radial-gradient(circle at 50% 40%, #ffffff 0%, var(--c-surface-soft) 72%);
}
.hcc-article-card-media.is-logo-fallback .hcc-article-card-img {
    object-fit: contain;
    padding: 14%;
    filter: drop-shadow(0 10px 22px rgba(20, 18, 46, .16));
}
.hcc-article-card-media .hcc-badge {
    position: absolute;
    top: 15px; inset-inline-start: 15px;
    z-index: 3;
}
/* Gradient scrim so badges stay readable over bright photos */
.hcc-article-card-media::after {
    content: '';
    position: absolute; inset-inline: 0; bottom: 0; height: 58%;
    background: linear-gradient(to top, rgba(16, 14, 40, .5), transparent);
    opacity: 0;
    transition: opacity var(--t) var(--ease);
    pointer-events: none;
}
.hcc-article-card:hover .hcc-article-card-media::after { opacity: 1; }

.hcc-article-card-body {
    padding: 24px 24px 26px;
    display: flex; flex-direction: column; flex: 1;
}
.hcc-article-card-title {
    font-size: 19px;
    font-weight: 800;
    margin: 0 0 11px;
    line-height: 1.5;
}
.hcc-article-card-title a { transition: color var(--t) var(--ease); }
.hcc-article-card:hover .hcc-article-card-title a { color: var(--c-primary-700); }
.hcc-article-card-desc {
    color: var(--c-muted);
    font-size: 14.5px;
    margin: 0 0 18px;
    line-height: 1.85;
    flex: 1;
}
.hcc-article-card-meta {
    display: flex; flex-wrap: wrap; gap: 16px;
    font-size: 13px;
    color: var(--c-muted-soft);
    padding-top: 16px;
    border-top: 1px solid var(--c-border);
    margin-bottom: 18px;
}
.hcc-article-card-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hcc-article-card-meta i { color: var(--c-primary); }
.hcc-article-card-cta { align-self: flex-start; }

/* ============================================================
   16b. PHOTO STRIP
   ============================================================ */
.hcc-photo-tile {
    position: relative;
    display: block;
    flex-shrink: 0;
    width: 300px;
    height: 210px;
    margin-inline: 9px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.hcc-photo-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}
.hcc-photo-tile-veil {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(16, 14, 40, .55), transparent 60%);
    opacity: 0;
    transition: opacity var(--t) var(--ease);
}
.hcc-photo-tile:hover { transform: translateY(-7px) scale(1.02); box-shadow: var(--shadow-lg); }
.hcc-photo-tile:hover img { transform: scale(1.1); }
.hcc-photo-tile:hover .hcc-photo-tile-veil { opacity: 1; }

/* ============================================================
   16d. ALL-PHOTOS GRID (كل الصور)
   ============================================================ */
.hcc-allphotos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.hcc-allphotos-item {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.hcc-allphotos-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform .8s var(--ease-out);
}
.hcc-allphotos-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); z-index: 2; }
.hcc-allphotos-item:hover img { transform: scale(1.08); }
@media (min-width: 1200px) {
    .hcc-allphotos-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (min-width: 768px) and (max-width: 1199px) {
    .hcc-allphotos-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ============================================================
   16c. IMAGE-BACKED CATEGORY TILES
   ============================================================ */
.hcc-cat-tiles {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.hcc-cat-tile {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.hcc-cat-tile img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.1s var(--ease-out);
}
.hcc-cat-tile::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(16, 14, 40, .9) 0%, rgba(16, 14, 40, .28) 55%, transparent 100%);
    transition: opacity var(--t) var(--ease);
}
.hcc-cat-tile:hover { transform: translateY(-9px); box-shadow: var(--shadow-xl); }
.hcc-cat-tile:hover img { transform: scale(1.1); }
.hcc-cat-tile-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background: var(--grad-primary);
    color: rgba(255, 255, 255, .9);
    font-size: 44px;
}
.hcc-cat-tile-body {
    position: absolute; inset-inline: 0; bottom: 0;
    z-index: 3;
    display: flex; flex-direction: column; gap: 7px;
    padding: 24px;
}
.hcc-cat-tile-name {
    color: #fff;
    font-family: var(--font-display);
    font-size: 21px; font-weight: 800;
    line-height: 1.4;
    transition: transform var(--t) var(--ease-out);
}
.hcc-cat-tile-count {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255, 255, 255, .84);
    font-size: 13.5px;
}
.hcc-cat-tile:hover .hcc-cat-tile-name { transform: translateY(-4px); }

/* ============================================================
   17. MOST VIEWED
   ============================================================ */
.hcc-popular-grid { display: grid; gap: 16px; }
.hcc-popular-card {
    display: flex; align-items: center; gap: 20px;
    padding: 22px 26px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius);
    transition: all var(--t) var(--ease);
    position: relative;
    overflow: hidden;
}
.hcc-popular-card::before {
    content: '';
    position: absolute; inset-inline-start: 0; top: 0; bottom: 0;
    width: 4px;
    background: var(--grad-primary);
    transform: scaleY(0);
    transition: transform var(--t) var(--ease-out);
}
.hcc-popular-card:hover {
    transform: translateX(-9px);
    border-color: transparent;
    box-shadow: var(--shadow-md);
}
.hcc-popular-card:hover::before { transform: scaleY(1); }
.hcc-popular-rank {
    flex-shrink: 0;
    width: 48px; height: 48px;
    display: grid; place-items: center;
    border-radius: 15px;
    background: var(--grad-primary-soft);
    color: var(--c-primary-700);
    font-family: var(--font-display);
    font-size: 19px; font-weight: 900;
    transition: all var(--t) var(--ease-spring);
}
.hcc-popular-card:hover .hcc-popular-rank {
    background: var(--grad-primary);
    color: #fff;
    transform: rotate(-7deg);
}
.hcc-popular-body { flex: 1; min-width: 0; }
.hcc-popular-title { font-size: 16.5px; font-weight: 700; margin: 0 0 6px; line-height: 1.6; }
.hcc-popular-meta {
    display: flex; gap: 16px;
    font-size: 12.5px;
    color: var(--c-muted-soft);
}
.hcc-popular-meta span { display: inline-flex; align-items: center; gap: 6px; }
.hcc-popular-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--c-surface-soft);
    color: var(--c-primary-600);
    transition: all var(--t) var(--ease-spring);
}
.hcc-popular-card:hover .hcc-popular-icon {
    background: var(--grad-primary);
    color: #fff;
    transform: translateX(-5px);
}

/* ============================================================
   18. GALLERY
   ============================================================ */
.hcc-gallery-card {
    position: relative;
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1 / 1;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.hcc-gallery-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: var(--shadow-lg); }
.hcc-gallery-card-lg { grid-column: span 2; aspect-ratio: 2 / 1; }
.hcc-gallery-card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1s var(--ease-out);
}
.hcc-gallery-card:hover .hcc-gallery-card-img { transform: scale(1.1); }
.hcc-gallery-card-placeholder {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background: var(--grad-primary);
    color: rgba(255, 255, 255, .9);
    font-size: 42px;
}
.hcc-gallery-card-overlay {
    position: absolute; inset: 0;
    display: flex; flex-direction: column; justify-content: flex-end;
    gap: 8px;
    padding: 24px;
    background: linear-gradient(to top, rgba(16, 14, 40, .9) 0%, rgba(16, 14, 40, .34) 52%, transparent 100%);
    opacity: 0;
    transition: opacity var(--t-slow) var(--ease);
}
.hcc-gallery-card:hover .hcc-gallery-card-overlay { opacity: 1; }
.hcc-gallery-card-title {
    color: #fff; font-family: var(--font-display);
    font-size: 19px; font-weight: 800;
    transform: translateY(12px);
    transition: transform var(--t-slow) var(--ease-out);
}
.hcc-gallery-card-count {
    display: inline-flex; align-items: center; gap: 8px;
    color: rgba(255, 255, 255, .86);
    font-size: 13px;
    transform: translateY(12px);
    transition: transform var(--t-slow) var(--ease-out) .06s;
}
.hcc-gallery-card-desc {
    color: rgba(255, 255, 255, .82);
    font-size: 13.5px; line-height: 1.75;
    transform: translateY(12px);
    transition: transform var(--t-slow) var(--ease-out) .1s;
}
.hcc-gallery-card:hover .hcc-gallery-card-title,
.hcc-gallery-card:hover .hcc-gallery-card-count,
.hcc-gallery-card:hover .hcc-gallery-card-desc { transform: translateY(0); }

.hcc-gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 18px;
}
/* Bento layout: first album is a wide feature tile */
.hcc-gallery-bento {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: 1fr;
    gap: 20px;
}
.hcc-gallery-bento .hcc-gallery-card { aspect-ratio: 1 / 1; }
.hcc-gallery-bento .hcc-gallery-card-lg {
    grid-column: span 2;
    grid-row: span 2;
    aspect-ratio: 1 / 1;
}

/* Uniform gallery grid on home (same size, neatly arranged) */
.hcc-gallery-uniform {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.hcc-gallery-uniform .hcc-gallery-card { aspect-ratio: 1 / 1; }

/* Gallery folders (listing shows folder name only, no cover image) */
.hcc-gallery-folders {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
}
.hcc-gallery-folder {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 28px 16px;
    background: var(--surface, #fff);
    border: 1px solid var(--border, #e5e7eb);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
    text-decoration: none;
    color: inherit;
}
.hcc-gallery-folder:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hcc-gallery-folder-icon { font-size: 44px; color: var(--c-primary, #123f33); }
.hcc-gallery-folder-title { font-family: var(--font-display); font-size: 17px; font-weight: 700; color: var(--c-navy, #1e1b4b); }
.hcc-gallery-folder-count { font-size: 13px; color: var(--c-muted, #6b7280); display: inline-flex; align-items: center; gap: 6px; }
.hcc-gallery-folder-desc { font-size: 13px; color: var(--c-muted, #6b7280); line-height: 1.6; }
@media (max-width: 900px) { .hcc-gallery-folders { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hcc-gallery-folders { grid-template-columns: 1fr; } }
@media (max-width: 900px) { .hcc-gallery-uniform { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .hcc-gallery-uniform { grid-template-columns: 1fr; } }
.hcc-gallery-item {
    position: relative;
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.hcc-gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.hcc-gallery-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    image-orientation: from-image;
    transition: transform 1s var(--ease-out);
}
.hcc-gallery-item:hover img { transform: scale(1.08); }
.hcc-gallery-item-caption {
    position: absolute; inset-inline: 0; bottom: 0;
    padding: 18px;
    background: linear-gradient(to top, rgba(16, 14, 40, .88), transparent);
    color: #fff;
    font-size: 14px; font-weight: 600;
    opacity: 0;
    transition: opacity var(--t) var(--ease);
}
.hcc-gallery-item:hover .hcc-gallery-item-caption { opacity: 1; }
.hcc-gallery-list { display: grid; gap: 30px; }
.hcc-gallery-single-head { text-align: center; margin-bottom: 44px; }
.hcc-gallery-card-open {
    position: absolute; top: 16px; inset-inline-end: 16px;
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    color: var(--c-navy);
    font-size: 15px;
    opacity: 0;
    transform: scale(.7);
    transition: all var(--t) var(--ease-spring);
    z-index: 3;
}
.hcc-gallery-card:hover .hcc-gallery-card-open { opacity: 1; transform: scale(1); }

/* ============================================================
   19. TESTIMONIALS
   ============================================================ */
.hcc-testimonials { position: relative; }
.hcc-testimonial-card {
    position: relative;
    height: 100%;
    padding: 40px 34px 34px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    margin: 0;
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
    overflow: hidden;
}
.hcc-testimonial-card::before {
    content: '';
    position: absolute; inset-inline: 0; top: 0; height: 4px;
    background: var(--grad-accent);
    transform: scaleX(0);
    transition: transform var(--t-slow) var(--ease-out);
}
.hcc-testimonial-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.hcc-testimonial-card:hover::before { transform: scaleX(1); }
.hcc-quote-icon {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 18px;
    background: var(--grad-primary-soft);
    color: var(--c-primary-600);
    font-size: 21px;
    margin-bottom: 22px;
}
.hcc-testimonial-card blockquote {
    margin: 0 0 26px;
    font-size: 16px;
    line-height: 1.95;
    color: var(--c-text);
}
.hcc-testimonial-person { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.hcc-avatar {
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: var(--grad-primary);
    color: #fff; font-size: 18px;
    box-shadow: var(--shadow-primary);
}
.hcc-testimonial-name {
    font-family: var(--font-display);
    font-weight: 800; font-size: 15.5px;
    color: var(--c-text-strong);
    display: block;
}
.hcc-testimonial-role { font-size: 13px; color: var(--c-muted); display: block; }
.hcc-stars { display: flex; gap: 4px; margin-top: 20px; color: #f59e0b; font-size: 14px; }
.hcc-testimonials-pagination {
    position: static !important;
    margin-top: 34px;
    display: flex; justify-content: center; gap: 9px;
}
.hcc-testimonials-pagination .swiper-pagination-bullet {
    width: 11px; height: 11px;
    background: var(--c-border-strong);
    opacity: 1;
    transition: all var(--t) var(--ease);
}
.hcc-testimonials-pagination .swiper-pagination-bullet-active {
    width: 34px;
    border-radius: 999px;
    background: var(--grad-primary);
}

/* ============================================================
   20. STATS
   ============================================================ */
.hcc-stats {
    position: relative;
    padding: 76px 0;
    background: var(--grad-navy);
    color: #fff;
    overflow: hidden;
}
.hcc-stats::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(620px 420px at 12% 22%, rgba(236, 72, 153, .34), transparent 62%),
        radial-gradient(620px 420px at 88% 78%, rgba(13, 148, 136, .3), transparent 62%);
}
.hcc-stats-grid {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 30px;
    text-align: center;
}
.hcc-stat {
    padding: 26px 18px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .14);
    -webkit-backdrop-filter: var(--glass-blur);
    backdrop-filter: var(--glass-blur);
    transition: all var(--t) var(--ease);
}
.hcc-stat:hover {
    background: rgba(255, 255, 255, .13);
    transform: translateY(-7px);
    border-color: rgba(255, 255, 255, .3);
}
.hcc-stat-num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(34px, 4.4vw, 52px);
    font-weight: 900;
    line-height: 1.1;
    background: linear-gradient(135deg, #fff 20%, #c7d2fe 70%, #f9a8d4 120%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hcc-stat-label {
    display: block;
    margin-top: 10px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .8);
}

/* ============================================================
   21. PARTNERS
   ============================================================ */
.hcc-partners {
    padding: 76px 0 66px;
    background: var(--c-surface);
    border-top: 1px solid var(--c-border);
    overflow: hidden;
}
.hcc-partners-viewport { overflow: hidden; margin-top: 44px; }
.hcc-partners-track { display: flex; width: max-content; animation: hcc-marquee 40s linear infinite; }
.hcc-partners-track:hover { animation-play-state: paused; }
.hcc-partners-set { display: flex; align-items: stretch; }
.hcc-partner-logo {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 12px;
    width: 220px;
    padding: 18px;
    margin-inline: 10px;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    transition: all var(--t) var(--ease);
}
.hcc-partner-logo:hover {
    border-color: rgba(99, 102, 241, .4);
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}
.hcc-partner-logo-img {
    height: 62px;
    display: grid; place-items: center;
}
.hcc-partner-logo-img img {
    max-height: 62px;
    width: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: .72;
    transition: all var(--t) var(--ease);
}
.hcc-partner-logo:hover .hcc-partner-logo-img img { filter: grayscale(0); opacity: 1; }
.hcc-partner-logo-name {
    font-size: 12.5px;
    color: var(--c-muted);
    text-align: center;
    line-height: 1.5;
}

/* ============================================================
   22. NEWSLETTER
   ============================================================ */
.hcc-newsletter {
    position: relative;
    padding: 78px 0;
    background: var(--grad-primary);
    color: #fff;
    overflow: hidden;
}
.hcc-newsletter::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(560px 400px at 88% 12%, rgba(255, 255, 255, .22), transparent 62%),
        radial-gradient(520px 400px at 6% 88%, rgba(16, 14, 40, .28), transparent 60%);
}
.hcc-newsletter::after {
    content: '';
    position: absolute;
    inset-inline-end: -80px; bottom: -110px;
    width: 340px; height: 340px;
    border-radius: 50%;
    border: 34px solid rgba(255, 255, 255, .09);
    animation: hcc-float 9s var(--ease) infinite;
}
.hcc-newsletter-inner {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 54px;
    align-items: center;
}
.hcc-newsletter-copy h2 {
    color: #fff;
    font-size: clamp(26px, 3.4vw, 38px);
    margin: 0 0 14px;
}
.hcc-newsletter-copy p { margin: 0; color: rgba(255, 255, 255, .9); font-size: 16.5px; }

.hcc-newsletter-fields {
    display: grid;
    grid-template-columns: 1fr 1.3fr auto;
    gap: 12px;
}
.hcc-input {
    width: 100%;
    padding: 15px 20px;
    border-radius: var(--radius);
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    color: var(--c-text);
    font-family: var(--font);
    font-size: 15px;
    transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.hcc-input::placeholder { color: var(--c-muted-soft); }
.hcc-input:focus {
    outline: none;
    border-color: var(--c-primary);
    box-shadow: var(--ring);
}
.hcc-input-newsletter {
    border-color: transparent;
    box-shadow: var(--shadow-md);
}
.hcc-newsletter-submit { padding-inline: 30px; }
.hcc-newsletter-msg {
    margin: 14px 0 0;
    font-size: 14px;
    font-weight: 700;
    min-height: 22px;
}
.hcc-newsletter-msg.is-success { color: #d1fae5; }
.hcc-newsletter-msg.is-error { color: #fee2e2; }
.hcc-newsletter-form.is-loading { opacity: .75; pointer-events: none; }

/* ============================================================
   23. FOOTER
   ============================================================ */
.hcc-footer {
    position: relative;
    background: var(--grad-navy);
    color: rgba(255, 255, 255, .78);
    padding-top: 82px;
    overflow: hidden;
}
.hcc-footer::before {
    content: '';
    position: absolute;
    inset-inline-start: -140px; top: -140px;
    width: 420px; height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .34), transparent 68%);
}
.hcc-footer-grid {
    position: relative; z-index: 2;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.2fr 1.2fr;
    gap: 46px;
    padding-bottom: 60px;
}
.hcc-footer-col { min-width: 0; }
.hcc-footer-logo {
    display: inline-flex; align-items: center; gap: 14px;
    margin-bottom: 20px;
}
.hcc-footer-logo .hcc-logo-caption { color: rgba(255, 255, 255, .72); }
.hcc-footer-logo .hcc-logo-caption strong { color: #fff; }
.hcc-footer-logo .hcc-logo-caption small { color: rgba(255, 255, 255, .6); }
.hcc-footer-about p { margin: 0 0 22px; font-size: 15px; line-height: 1.9; }

.hcc-footer-features { display: grid; gap: 11px; }
.hcc-footer-features li {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 14px;
}
.hcc-footer-features i { color: #34d399; font-size: 13px; margin-top: 6px; }

.hcc-footer-title {
    display: flex; align-items: center; gap: 10px;
    font-size: 17px; font-weight: 800;
    color: #fff;
    margin: 0 0 22px;
}
.hcc-footer-title i { color: var(--c-accent); font-size: 15px; }

.hcc-footer-links { display: grid; gap: 4px; }
.hcc-footer-links a {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 0;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .76);
    transition: all var(--t) var(--ease);
}
.hcc-footer-links a i { font-size: 10px; color: var(--c-accent); transition: transform var(--t) var(--ease); }
.hcc-footer-links a:hover { color: #fff; transform: translateX(-6px); }
.hcc-footer-links a:hover i { transform: translateX(-3px); }

.hcc-footer-contact { display: grid; gap: 16px; }
.hcc-footer-contact li { display: flex; align-items: flex-start; gap: 13px; font-size: 14.5px; }
.hcc-footer-contact-icon {
    flex-shrink: 0;
    width: 40px; height: 40px;
    display: grid; place-items: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .1);
    color: var(--c-accent);
    font-size: 15px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-footer-contact li:hover .hcc-footer-contact-icon {
    background: var(--grad-accent);
    color: #fff;
    transform: rotate(-8deg) scale(1.06);
}

.hcc-footer-social { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.hcc-footer-social-link {
    width: 44px; height: 44px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 16px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-footer-social-link:hover { transform: translateY(-5px) rotate(-7deg); color: #fff; }
.hcc-footer-social-link.is-fb:hover { background: #1877f2; }
.hcc-footer-social-link.is-fb-official { background: #1877f2; }
.hcc-footer-social-link.is-fb-official:hover { background: #1877f2; filter: brightness(1.15); }
.hcc-footer-social-link.is-wa:hover { background: #25d366; }
.hcc-footer-social-link.is-ig:hover { background: linear-gradient(135deg, #f58529, #dd2a7b, #8134af); }
.hcc-footer-social-link.is-tw:hover { background: #0f1419; }
.hcc-footer-social-link.is-yt:hover { background: #ff0000; }
.hcc-footer-note { font-size: 13.5px; line-height: 1.85; margin: 0 0 20px; }
.hcc-footer-cta { border-color: rgba(255, 255, 255, .3); color: #fff; }
.hcc-footer-cta:hover { background: #fff; color: var(--c-navy); }

.hcc-footer-bottom {
    position: relative; z-index: 2;
    border-top: 1px solid rgba(255, 255, 255, .12);
    padding: 24px 0;
}
.hcc-footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 18px; flex-wrap: wrap;
    font-size: 13.5px;
}
.hcc-footer-bottom p { margin: 0; }
.hcc-footer-credit i { color: var(--c-accent); animation: hcc-pulse 1.7s var(--ease) infinite; }

/* ============================================================
   24. SIDEBAR WIDGETS
   ============================================================ */
.hcc-widget {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-lg);
    padding: 28px 26px;
    margin-bottom: 26px;
    box-shadow: var(--shadow-xs);
    transition: box-shadow var(--t) var(--ease);
}
.hcc-widget:hover { box-shadow: var(--shadow-md); }
.hcc-widget-glass {
    background: var(--grad-primary-soft);
    border-color: rgba(99, 102, 241, .18);
}
.hcc-widget-title {
    display: flex; align-items: center; gap: 11px;
    font-size: 17.5px; font-weight: 800;
    margin: 0 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--c-border);
    position: relative;
}
.hcc-widget-title::after {
    content: '';
    position: absolute; inset-inline-start: 0; bottom: -1px;
    width: 56px; height: 3px; border-radius: 3px;
    background: var(--grad-primary);
}
.hcc-widget-title i { color: var(--c-primary-600); }
.hcc-widget-text { font-size: 14.5px; color: var(--c-muted); margin: 0 0 16px; }

.hcc-widget-search { display: flex; gap: 9px; }

.hcc-widget-list { display: grid; gap: 3px; }
.hcc-widget-list a {
    display: flex; align-items: center; gap: 11px;
    padding: 11px 13px;
    border-radius: var(--radius-sm);
    font-size: 14.5px; font-weight: 600;
    color: var(--c-text);
    transition: all var(--t) var(--ease);
}
.hcc-widget-list a i { font-size: 10px; color: var(--c-primary); }
.hcc-widget-list a:hover {
    background: var(--c-surface-soft);
    color: var(--c-primary-700);
    transform: translateX(-5px);
}
.hcc-widget-count {
    margin-inline-start: auto;
    min-width: 30px;
    padding: 3px 9px;
    border-radius: var(--radius-full);
    background: rgba(99, 102, 241, .12);
    color: var(--c-primary-700);
    font-size: 12px; font-weight: 800;
    text-align: center;
}
.hcc-widget-en { font-size: 11.5px; color: var(--c-muted-soft); display: block; }

.hcc-widget-popular { display: grid; gap: 4px; }
.hcc-widget-popular a {
    display: flex; align-items: flex-start; gap: 13px;
    padding: 11px 12px;
    border-radius: var(--radius-sm);
    transition: all var(--t) var(--ease);
}
.hcc-widget-popular a:hover { background: var(--c-surface-soft); transform: translateX(-5px); }
.hcc-widget-rank {
    flex-shrink: 0;
    width: 30px; height: 30px;
    display: grid; place-items: center;
    border-radius: 10px;
    background: var(--grad-primary);
    color: #fff;
    font-family: var(--font-display);
    font-size: 13.5px; font-weight: 900;
}
.hcc-widget-popular-txt {
    flex: 1;
    font-size: 14.5px; font-weight: 600;
    line-height: 1.65;
    color: var(--c-text);
}
.hcc-widget-views {
    font-size: 12px;
    color: var(--c-muted-soft);
    white-space: nowrap;
    display: inline-flex; align-items: center; gap: 5px;
}

/* ============================================================
   25. ARTICLE PAGE
   ============================================================ */
.hcc-article-wrap { padding-bottom: 30px; }
.hcc-article-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 42px;
    align-items: start;
    padding-top: 52px;
    padding-bottom: 72px;
}
.hcc-article-main { min-width: 0; }
.hcc-article {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: 44px 46px 50px;
    box-shadow: var(--shadow-md);
}

.hcc-article-header { margin-bottom: 30px; }
.hcc-article-header .hcc-badge { margin-bottom: 18px; }
.hcc-article-title {
    font-size: clamp(27px, 4vw, 44px);
    font-weight: 900;
    line-height: 1.26;
    margin: 0 0 22px;
}
.hcc-article-meta {
    display: flex; flex-wrap: wrap; gap: 20px;
    font-size: 13.5px;
    color: var(--c-muted);
    padding-bottom: 24px;
    border-bottom: 1px solid var(--c-border);
}
.hcc-article-meta span { display: inline-flex; align-items: center; gap: 8px; }
.hcc-article-meta i { color: var(--c-primary); }

/* ---- Intro image (the article's headline visual) ---- */
.hcc-intro-figure {
    position: relative;
    margin: 0 0 34px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--c-surface-soft);
    box-shadow: var(--shadow-md);
}
.hcc-intro-figure img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform 1.2s var(--ease-out);
}
.hcc-intro-figure:hover img { transform: scale(1.035); }

/* Per-article choice: show the whole image without cropping. */
.hcc-intro-figure.is-fit-contain {
    background:
        radial-gradient(circle at 50% 40%, #ffffff 0%, var(--c-surface-soft) 78%),
        var(--grad-primary-soft);
    padding: 22px;
}
.hcc-intro-figure.is-fit-contain img {
    object-fit: contain;
    aspect-ratio: auto;
    max-height: 560px;
    border-radius: var(--radius-md);
}

/* When the site logo stands in for a missing intro image, present it as a
   framed brand panel instead of a cropped photo. */
.hcc-intro-figure.is-logo-fallback {
    background:
        radial-gradient(circle at 50% 42%, #ffffff 0%, var(--c-surface-soft) 72%),
        var(--grad-primary-soft);
    display: grid;
    place-items: center;
    padding: 46px 24px;
    border: 1px solid var(--c-border);
}
.hcc-intro-figure.is-logo-fallback img {
    width: auto;
    max-width: min(420px, 62%);
    aspect-ratio: auto;
    object-fit: contain;
    filter: drop-shadow(0 18px 34px rgba(20, 18, 46, .16));
}
.hcc-intro-figure.is-logo-fallback:hover img { transform: scale(1.03); }
.hcc-intro-logo-note {
    display: flex; align-items: center; justify-content: center; gap: 9px;
    margin-top: 22px;
    font-size: 13px;
    color: var(--c-muted);
    font-weight: 600;
}
.hcc-intro-logo-note i { color: var(--c-primary-600); }

.hcc-intro-caption {
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px; flex-wrap: wrap;
    padding: 15px 22px;
    background: var(--c-surface-soft);
    border-top: 1px solid var(--c-border);
    font-size: 13.5px;
    color: var(--c-muted);
}
.hcc-intro-caption.is-floating {
    position: absolute; inset-inline: 0; bottom: 0;
    background: linear-gradient(to top, rgba(16, 14, 40, .88), transparent);
    border: 0;
    color: rgba(255, 255, 255, .92);
    padding: 40px 24px 18px;
}
.hcc-intro-credit { font-size: 12.5px; opacity: .8; }

/* Article facts strip */
.hcc-article-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin-bottom: 34px;
}
.hcc-fact {
    padding: 16px 18px;
    border-radius: var(--radius);
    background: var(--c-surface-soft);
    border: 1px solid var(--c-border);
    transition: all var(--t) var(--ease);
}
.hcc-fact:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.hcc-fact-label {
    display: flex; align-items: center; gap: 8px;
    font-size: 12px; font-weight: 800;
    color: var(--c-muted);
    text-transform: uppercase;
    letter-spacing: .05em;
    margin-bottom: 7px;
}
.hcc-fact-label i { color: var(--c-primary-600); }
.hcc-fact-value {
    font-family: var(--font-display);
    font-size: 16px; font-weight: 800;
    color: var(--c-text-strong);
}

.hcc-article-featured {
    margin: 0 0 34px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.hcc-article-featured img { width: 100%; }

.hcc-article-block { margin-top: 44px; }

.hcc-article-images {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
    gap: 14px;
}
.hcc-article-images a {
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 3;
    box-shadow: var(--shadow-xs);
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.hcc-article-images a:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-md); }
.hcc-article-images img { width: 100%; height: 100%; object-fit: cover; }

.hcc-article-videos { display: grid; gap: 22px; }
.hcc-video-card {
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--c-surface-soft);
    border: 1px solid var(--c-border);
}
.hcc-video-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.hcc-video-frame iframe,
.hcc-video-frame video { width: 100%; height: 100%; border: 0; }
.hcc-video-link {
    position: absolute; inset: 0;
    display: grid; place-items: center; gap: 12px;
    grid-auto-flow: row;
    color: #fff;
    font-weight: 700;
    background: var(--grad-navy);
    transition: all var(--t) var(--ease);
}
.hcc-video-link i { font-size: 30px; }
.hcc-video-link:hover { background: var(--grad-primary); }
.hcc-video-card figcaption {
    padding: 14px 18px;
    font-size: 14px;
    color: var(--c-muted);
}

.hcc-attachments { display: grid; gap: 11px; }
.hcc-attachments a {
    display: flex; align-items: center; gap: 15px;
    padding: 15px 18px;
    border-radius: var(--radius);
    background: var(--c-surface-soft);
    border: 1px solid var(--c-border);
    transition: all var(--t) var(--ease);
}
.hcc-attachments a:hover {
    background: var(--c-surface);
    border-color: rgba(99, 102, 241, .4);
    transform: translateX(-5px);
    box-shadow: var(--shadow-sm);
}
.hcc-attach-icon {
    flex-shrink: 0;
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 14px;
    background: var(--grad-primary);
    color: #fff; font-size: 17px;
}
.hcc-attach-info { flex: 1; min-width: 0; display: grid; }
.hcc-attach-name { font-size: 14.5px; font-weight: 700; color: var(--c-text-strong); }
.hcc-attach-size { font-size: 12.5px; color: var(--c-muted-soft); }
.hcc-attach-dl {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; font-weight: 800;
    color: var(--c-primary-600);
    white-space: nowrap;
}

.hcc-share {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    margin-top: 44px;
    padding-top: 28px;
    border-top: 1px solid var(--c-border);
}
.hcc-share-label { font-size: 14px; font-weight: 800; color: var(--c-muted); margin-inline-end: 6px; }
.hcc-share-btn {
    width: 46px; height: 46px;
    display: grid; place-items: center;
    border-radius: 15px;
    border: 1px solid var(--c-border);
    background: var(--c-surface);
    color: var(--c-text);
    font-size: 16px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-share-btn:hover { transform: translateY(-5px) rotate(-7deg); color: #fff; border-color: transparent; }
.hcc-share-btn.is-fb:hover { background: #1877f2; }
.hcc-share-btn.is-wa:hover { background: #25d366; }
.hcc-share-btn.is-tw:hover { background: #0f1419; }
.hcc-share-btn.is-copy:hover { background: var(--grad-primary); }

.hcc-comments { margin-top: 46px; }
.hcc-comments-placeholder {
    display: grid; place-items: center; gap: 14px;
    padding: 52px 26px;
    border-radius: var(--radius-lg);
    border: 2px dashed var(--c-border-strong);
    background: var(--c-surface-soft);
    text-align: center;
}
.hcc-comments-placeholder i { font-size: 34px; color: var(--c-muted-soft); }
.hcc-comments-placeholder p { margin: 0; color: var(--c-muted); font-size: 15px; }

.hcc-related { padding-top: 20px; }

/* ============================================================
   26. PROSE — article body typography
   ============================================================ */
.hcc-prose { font-size: 17px; line-height: 2; color: var(--c-text); }
.hcc-prose > * + * { margin-top: 1.15em; }
.hcc-prose p { margin: 0 0 1.15em; }
.hcc-prose h2 {
    font-size: clamp(23px, 2.6vw, 30px);
    margin: 1.7em 0 .7em;
    padding-inline-start: 18px;
    border-inline-start: 5px solid var(--c-primary);
    line-height: 1.4;
}
/* Legacy content (migrated from the old Joomla site) contains its own <h1>
   elements. Demote them to section-heading scale so they never compete with
   the page title. */
.hcc-prose h1 {
    font-size: clamp(23px, 2.6vw, 30px);
    margin: 1.7em 0 .7em;
    padding-inline-start: 18px;
    border-inline-start: 5px solid var(--c-primary);
    line-height: 1.4;
}
.hcc-prose h3 { font-size: clamp(20px, 2.2vw, 24px); margin: 1.5em 0 .6em; }
.hcc-prose h4 { font-size: 18.5px; margin: 1.4em 0 .5em; }
.hcc-prose a {
    color: var(--c-primary-600);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
    transition: color var(--t) var(--ease);
}
.hcc-prose a:hover { color: var(--c-accent-600); }
.hcc-prose strong { color: var(--c-text-strong); font-weight: 800; }
/* أزرار التواصل لصفحات المراكز */
.hcc-prose .hcc-center-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    margin: 0 0 22px;
}
.hcc-prose .hcc-center-social a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 24px;
    border-radius: 14px;
    color: #fff;
    text-decoration: none;
    font-size: 17px;
    font-weight: 800;
    line-height: 1;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(15, 23, 42, .18);
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.hcc-prose .hcc-center-social a:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .28);
    filter: brightness(1.08);
}
.hcc-prose .hcc-center-social a i { font-size: 22px; }
.hcc-prose .hcc-center-social a.is-fb { background: #1877f2; }
.hcc-prose .hcc-center-social a.is-group { background: #4b4f56; }
.hcc-prose .hcc-center-social a.is-ig { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.hcc-prose .hcc-center-social a.is-kg { background: #16a34a; }
.hcc-prose .hcc-center-social a.is-tel { background: linear-gradient(135deg, #0ea5e9, #0369a1); }
.hcc-prose .hcc-center-social a.is-mail { background: linear-gradient(135deg, #f59e0b, #d97706); }
.hcc-prose .hcc-center-social .hcc-kg-row { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
/* قسم مقدمة المركز: صورة أوسع ومتوسّطة مع النص */
.hcc-prose .hcc-center-intro { align-items: center; margin-bottom: 8px; }
.hcc-prose .hcc-center-intro img { margin-top: 0; }
/* مقدمة المركز: صورة بعرض كامل والنص أسفلها */
.hcc-prose .hcc-center-intro-full { margin: 0 0 10px; }
.hcc-prose .hcc-center-intro-full img { margin: 0; }
/* صورة المركز مع اسم المركز فوقها */
.hcc-prose .hcc-center-hero { position: relative; margin: 0 0 16px; }
.hcc-prose .hcc-center-hero img { margin: 0; }
.hcc-prose .hcc-center-hero-title {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    margin: 0;
    padding: 28px 20px 18px;
    background: linear-gradient(to top, rgba(15, 23, 42, .82), rgba(15, 23, 42, 0) 92%);
    border-radius: 0 0 16px 16px;
    color: #fff;
    font-size: clamp(18px, 2.6vw, 28px);
    font-weight: 800;
    text-align: center;
    line-height: 1.35;
    text-shadow: 0 2px 10px rgba(0, 0, 0, .5);
}
.hcc-prose ul, .hcc-prose ol { margin: 0 0 1.2em; padding-inline-start: 1.5em; }
.hcc-prose ul { list-style: none; }
.hcc-prose ul li { position: relative; margin-bottom: .55em; }
.hcc-prose ul li::before {
    content: '';
    position: absolute;
    inset-inline-start: -1.15em; top: .82em;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--grad-primary);
}
.hcc-prose ol { list-style: decimal; }
.hcc-prose ol li { margin-bottom: .55em; }
.hcc-prose ol li::marker { color: var(--c-primary-600); font-weight: 800; }
.hcc-prose img {
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin: 1.6em auto;
}
.hcc-prose blockquote {
    margin: 1.7em 0;
    padding: 26px 30px;
    border-radius: var(--radius);
    background: var(--grad-primary-soft);
    border-inline-start: 5px solid var(--c-primary);
    font-size: 17.5px;
    line-height: 1.95;
    color: var(--c-text-strong);
}
.hcc-prose blockquote p:last-child { margin-bottom: 0; }
.hcc-prose table {
    width: 100%;
    border-collapse: collapse;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin: 1.7em 0;
    font-size: 15px;
}
.hcc-prose th {
    background: var(--grad-navy);
    color: #fff;
    padding: 14px 16px;
    text-align: start;
    font-weight: 700;
}
.hcc-prose td { padding: 13px 16px; border-bottom: 1px solid var(--c-border); }
.hcc-prose tr:nth-child(even) td { background: var(--c-surface-soft); }
.hcc-prose hr {
    border: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--c-border-strong), transparent);
    margin: 2.4em 0;
}
.hcc-prose iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    margin: 1.6em 0;
}
.hcc-prose code {
    background: var(--c-surface-soft);
    border: 1px solid var(--c-border);
    padding: 3px 8px;
    border-radius: 7px;
    font-size: .9em;
}
.hcc-prose pre {
    background: var(--c-surface-ink);
    color: #e2e8f0;
    padding: 22px;
    border-radius: var(--radius);
    overflow-x: auto;
    direction: ltr;
    text-align: left;
}
.hcc-prose pre code { background: none; border: 0; color: inherit; padding: 0; }

/* ---- Legacy classes used inside imported article bodies ---- */
.hcc-prose .hcc-campaign-body,
.hcc-campaign-body { display: block; }

.hcc-campaign-intro {
    padding: 26px 30px;
    border-radius: var(--radius-lg);
    background: var(--grad-primary-soft);
    border: 1px solid rgba(99, 102, 241, .18);
    margin-bottom: 1.5em;
}
.hcc-campaign-intro p:last-child { margin-bottom: 0; }

.hcc-campaign-label {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
    color: #fff;
    font-size: 13px; font-weight: 800;
    margin-bottom: 16px;
    box-shadow: var(--shadow-primary);
}

.hcc-campaign-quote {
    position: relative;
    margin: 1.6em 0;
    padding: 30px 34px;
    border-radius: var(--radius-lg);
    background: var(--grad-primary-soft);
    border-inline-start: 5px solid var(--c-primary);
    box-shadow: var(--shadow-sm);
}
.hcc-campaign-quote p:last-child { margin-bottom: 0; }
.hcc-campaign-quote-icon {
    position: absolute;
    inset-inline-end: 26px; top: 20px;
    font-size: 40px;
    opacity: .34;
    pointer-events: none;
}
.hcc-campaign-quote-attr {
    display: block;
    margin-top: 14px;
    font-size: 14px;
    font-weight: 700;
    color: var(--c-muted);
}

.hcc-campaign-details {
    display: flex; flex-wrap: wrap; gap: 14px;
    margin: 1.4em 0;
    padding: 18px 22px;
    border-radius: var(--radius);
    background: var(--c-surface-soft);
    border: 1px solid var(--c-border);
}
.hcc-campaign-details p { margin: 0; font-size: 15px; }
.hcc-campaign-details i { margin-inline-end: 7px; }

.hcc-campaign-hashtags {
    display: flex; flex-wrap: wrap; gap: 10px;
    margin: 1.4em 0;
}
.hcc-hashtag {
    display: inline-flex; align-items: center;
    padding: 8px 18px;
    border-radius: var(--radius-full);
    background: var(--grad-primary);
    color: #fff;
    font-size: 13.5px; font-weight: 800;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.hcc-hashtag:hover { transform: translateY(-4px) scale(1.04); box-shadow: var(--shadow-md); }

.hcc-campaign-video { margin: 1.6em 0; }
.hcc-campaign-video-link {
    display: inline-flex; align-items: center; gap: 12px;
    padding: 15px 28px;
    border-radius: var(--radius-full);
    color: #fff;
    font-weight: 800;
    box-shadow: var(--shadow-md);
    transition: all var(--t) var(--ease-spring);
}
.hcc-campaign-video-link:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.hcc-campaign-credit {
    display: block;
    margin-top: 1.6em;
    padding-top: 16px;
    border-top: 1px solid var(--c-border);
    font-size: 13.5px;
    color: var(--c-muted);
}

/* Legacy gallery block inside article bodies */
.hcc-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin: 1.6em 0;
}
.hcc-gal-item {
    position: relative;
    margin: 0;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    cursor: zoom-in;
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
.hcc-gal-item:hover { transform: translateY(-5px) scale(1.02); box-shadow: var(--shadow-md); }
.hcc-gal-item img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    margin: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform .9s var(--ease-out);
}
.hcc-gal-item:hover img { transform: scale(1.08); }
.hcc-gal-cap {
    position: absolute; inset-inline: 0; bottom: 0;
    padding: 16px;
    background: linear-gradient(to top, rgba(16, 14, 40, .9), transparent);
    color: #fff;
    font-size: 13.5px;
    opacity: 0;
    transition: opacity var(--t) var(--ease);
}
.hcc-gal-item:hover .hcc-gal-cap { opacity: 1; }

.hcc-gal-intro {
    display: grid; place-items: center; gap: 12px;
    text-align: center;
    padding: 38px 26px;
    margin-bottom: 1.6em;
    border-radius: var(--radius-lg);
    background: var(--grad-primary-soft);
    border: 1px solid rgba(99, 102, 241, .18);
}
.hcc-gal-intro h2 { margin: 0; border: 0; padding: 0; }
.hcc-gal-intro p { margin: 0; color: var(--c-muted); }
.hcc-gal-intro-icon {
    width: 64px; height: 64px;
    display: grid; place-items: center;
    border-radius: 20px;
    background: var(--grad-primary);
    color: #fff; font-size: 25px;
    box-shadow: var(--shadow-primary);
}
.hcc-gal-footer {
    display: block;
    margin-top: 1.4em;
    font-size: 13.5px;
    color: var(--c-muted);
    text-align: center;
}

/* Imported helper classes */
.hcc-ar { direction: rtl; }
.hcc-jordan { font-weight: 700; color: var(--c-primary-700); }

/* ============================================================
   27. PAGE HERO / LISTING / EMPTY / SEARCH / 404
   ============================================================ */
.hcc-page-hero {
    position: relative;
    padding: 78px 0 66px;
    background: var(--grad-navy);
    color: #fff;
    overflow: hidden;
}
.hcc-page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background:
        radial-gradient(620px 420px at 86% 10%, rgba(236, 72, 153, .34), transparent 62%),
        radial-gradient(560px 400px at 6% 92%, rgba(13, 148, 136, .28), transparent 60%);
}
.hcc-page-hero::after {
    content: '';
    position: absolute;
    inset-inline-start: -90px; bottom: -140px;
    width: 320px; height: 320px;
    border-radius: 50%;
    border: 32px solid rgba(255, 255, 255, .07);
}
.hcc-page-hero-sm { padding: 34px 0; }
.hcc-page-hero-inner { position: relative; z-index: 2; }
.hcc-page-hero .hcc-page-title { color: #fff; margin-bottom: 12px; }
.hcc-page-hero .hcc-page-sub { color: rgba(255, 255, 255, .84); }

.hcc-page-title {
    font-size: clamp(27px, 3.8vw, 42px);
    font-weight: 900;
    margin: 0 0 12px;
    line-height: 1.26;
}
.hcc-page-sub { font-size: 16.5px; color: var(--c-muted); margin: 0; max-width: 720px; }

.hcc-crumbs {
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    font-size: 13.5px;
    margin-bottom: 18px;
}
.hcc-crumbs a { color: rgba(255, 255, 255, .78); transition: color var(--t) var(--ease); }
.hcc-crumbs a:hover { color: #fff; }
.hcc-crumbs i { font-size: 9px; opacity: .6; }
.hcc-crumbs span { color: #fff; font-weight: 700; }

.hcc-page-content {
    padding: 56px 0 80px;
    max-width: var(--container);
    margin-inline: auto;
}
.hcc-page-content .hcc-container { padding-inline: 22px; }
.hcc-page-card {
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-xl);
    padding: 46px;
    box-shadow: var(--shadow-md);
}

.hcc-list-grid { gap: 28px; }

.hcc-pagination {
    display: flex; justify-content: center; gap: 9px;
    margin-top: 52px;
    flex-wrap: wrap;
}
.hcc-page-btn {
    min-width: 46px; height: 46px;
    display: grid; place-items: center;
    padding: 0 14px;
    border-radius: 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    color: var(--c-text);
    font-family: var(--font-display);
    font-weight: 800;
    transition: all var(--t) var(--ease-spring);
}
.hcc-page-btn:hover {
    transform: translateY(-4px);
    border-color: rgba(99, 102, 241, .45);
    color: var(--c-primary-700);
    box-shadow: var(--shadow-sm);
}
.hcc-page-btn.is-active {
    background: var(--grad-primary);
    border-color: transparent;
    color: #fff;
    box-shadow: var(--shadow-primary);
}

.hcc-empty {
    display: grid; place-items: center; gap: 14px;
    padding: 76px 26px;
    border-radius: var(--radius-xl);
    border: 2px dashed var(--c-border-strong);
    background: var(--c-surface);
    text-align: center;
}
.hcc-empty i { font-size: 46px; color: var(--c-muted-soft); }
.hcc-empty h3 { margin: 0; font-size: 22px; }
.hcc-empty p { margin: 0; color: var(--c-muted); }
.hcc-empty-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }

/* Search results */
.hcc-search-block {
    display: flex; gap: 10px;
    background: var(--c-surface);
    border-radius: var(--radius-full);
    padding: 9px;
    box-shadow: var(--shadow-md);
    max-width: 620px;
    margin-bottom: 40px;
}
.hcc-search-input-lg {
    flex: 1; min-width: 0;
    border: 0; background: transparent;
    padding: 14px 24px;
    font-family: var(--font);
    font-size: 16px;
    color: var(--c-text);
}
.hcc-search-input-lg:focus { outline: none; }
.hcc-search-results { display: grid; gap: 18px; }
.hcc-search-count { font-size: 15px; color: var(--c-muted); margin-bottom: 26px; }
.hcc-empty-search { margin-top: 12px; }

/* 404 */
.hcc-page-404 { position: relative; }
.hcc-404-bg {
    position: absolute; inset: 0;
    overflow: hidden;
    pointer-events: none;
}
.hcc-404-float {
    position: absolute;
    border-radius: 50%;
    filter: blur(56px);
    opacity: .5;
    animation: hcc-float 8s var(--ease) infinite;
}
.hcc-404-box {
    position: relative; z-index: 2;
    display: grid; place-items: center; gap: 18px;
    text-align: center;
    padding: 100px 24px 110px;
    max-width: 720px;
    margin-inline: auto;
}
.hcc-404-code {
    display: flex; align-items: center; justify-content: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: clamp(84px, 17vw, 170px);
    font-weight: 900;
    line-height: 1;
}
.hcc-404-zero {
    background: var(--grad-primary);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    animation: hcc-float 5s var(--ease) infinite;
    display: inline-block;
}
.hcc-404-title { font-size: clamp(24px, 3.4vw, 36px); margin: 0; }
.hcc-404-text { color: var(--c-muted); font-size: 16.5px; margin: 0; max-width: 520px; }
.hcc-404-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.hcc-404-search { max-width: 520px; width: 100%; }

/* Centers index list ("مراكزنا في الاردن"): numbered cards, 2-up grid. */
.hcc-centers-list-card {
    padding: 0;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-xs);
    overflow: hidden;
}

.hcc-centers-list-head {
    padding: 24px 26px 18px;
    background: var(--grad-primary-soft);
    border-bottom: 1px solid var(--c-border);
}
.hcc-centers-list-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 800; color: var(--c-primary-600);
    background: var(--c-surface); border: 1px solid rgba(99, 102, 241, .20);
    padding: 6px 13px; border-radius: var(--radius-full);
}
.hcc-centers-list-title {
    margin: 12px 0 6px;
    font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 800; color: var(--c-text-strong); line-height: 1.5;
}
.hcc-centers-list-sub { margin: 0; font-size: 14px; color: var(--c-muted); }

/* ---- Centres news listing (أخبار المراكز page) ---- */
.hcc-centers-news { margin-top: 24px; }
.hcc-centers-news-head {
    padding: 22px 26px 18px;
    background: var(--grad-primary-soft);
    border: 1px solid rgba(99, 102, 241, .18);
    border-radius: var(--radius-sm);
    margin-bottom: 18px;
}
.hcc-centers-news-eyebrow {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 12.5px; font-weight: 800; color: var(--c-primary-600);
    background: var(--c-surface); border: 1px solid rgba(99, 102, 241, .20);
    padding: 6px 13px; border-radius: var(--radius-full);
}
.hcc-centers-news-title {
    margin: 12px 0 0;
    font-family: var(--font-display); font-size: clamp(18px, 2.2vw, 22px);
    font-weight: 800; color: var(--c-text-strong); line-height: 1.5;
}

.hcc-centers-main-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 18px;
}
.hcc-centers-item > a {
    position: relative; display: flex; align-items: center; gap: 12px;
    padding: 11px 14px;
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    border-radius: var(--radius-sm);
    text-decoration: none; overflow: hidden;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease),
                border-color var(--t) var(--ease), background var(--t) var(--ease);
}
.hcc-centers-item > a::before {
    content: ""; position: absolute; inset-block: 0; inset-inline-start: 0;
    width: 3px; background: var(--grad-primary);
    opacity: 0; transition: opacity var(--t) var(--ease);
}
.hcc-centers-item > a:hover {
    transform: translateY(-2px);
    border-color: rgba(99, 102, 241, .45);
    background: linear-gradient(135deg, #ffffff 0%, #f7f8ff 100%);
    box-shadow: var(--shadow-sm);
}
.hcc-centers-item > a:hover::before { opacity: 1; }

.hcc-centers-num {
    flex: 0 0 auto; width: 34px; height: 34px;
    display: grid; place-items: center;
    border-radius: var(--radius-full);
    background: var(--grad-primary); color: #fff;
    font-family: var(--font-display); font-size: 13.5px; font-weight: 800;
    box-shadow: 0 6px 16px rgba(99, 102, 241, .28);
}
.hcc-centers-num i { font-size: 13px; }
.hcc-centers-item-intro .hcc-centers-num {
    background: var(--grad-navy);
    box-shadow: 0 6px 16px rgba(30, 27, 75, .30);
}

.hcc-centers-text { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.hcc-centers-name {
    font-size: 15px; font-weight: 700; color: var(--c-text);
    line-height: 1.55; overflow: hidden; text-overflow: ellipsis;
}
.hcc-centers-name-en {
    font-size: 11.5px; color: var(--c-muted-soft);
    direction: ltr; text-align: end; letter-spacing: .2px;
}
.hcc-centers-arrow {
    margin-inline-start: auto; flex: 0 0 auto;
    font-size: 12px; color: var(--c-muted-soft);
    transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.hcc-centers-item > a:hover .hcc-centers-arrow {
    color: var(--c-primary-600); transform: translateX(-5px);
}

/* Entries without an info page: rendered as a non-interactive row. */
.hcc-centers-item > a.hcc-nolink,
.hcc-widget-list a.hcc-nolink {
    cursor: default;
}
.hcc-centers-item > a.hcc-nolink:hover {
    transform: none;
    border-color: var(--c-border);
    background: var(--c-surface);
    box-shadow: none;
}
.hcc-centers-item > a.hcc-nolink:hover::before { opacity: 0; }
.hcc-widget-list a.hcc-nolink:hover {
    background: transparent;
    color: var(--c-text);
    transform: none;
}

@media (max-width: 767.98px) {
    .hcc-centers-main-list { grid-template-columns: 1fr; padding: 14px; gap: 8px; }
    .hcc-centers-list-head { padding: 20px 18px 15px; }
    .hcc-centers-name { font-size: 14.5px; }
}

/* ============================================================
   28. LIGHTBOX
   ============================================================ */
.hcc-lightbox {
    position: fixed; inset: 0;
    z-index: var(--z-lightbox);
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 30px;
    background: rgba(12, 10, 32, .93);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    opacity: 0; visibility: hidden;
    transition: opacity var(--t) var(--ease), visibility var(--t);
}
.hcc-lightbox.is-open { opacity: 1; visibility: visible; }
.hcc-lightbox-figure {
    display: grid; place-items: center; gap: 14px;
    margin: 0; min-width: 0;
    max-height: 88vh;
}
.hcc-lightbox-figure img {
    max-width: 100%;
    max-height: 78vh;
    object-fit: contain;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    transform: scale(.94);
    transition: transform var(--t-slow) var(--ease-out);
}
.hcc-lightbox.is-open .hcc-lightbox-figure img { transform: scale(1); }
.hcc-lightbox-caption { color: rgba(255, 255, 255, .84); font-size: 14.5px; text-align: center; }
.hcc-lightbox-btn {
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .12);
    color: #fff; font-size: 18px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-lightbox-btn:hover { background: #fff; color: var(--c-navy); transform: scale(1.09); }
.hcc-lightbox-close {
    position: absolute; top: 26px; inset-inline-end: 26px;
    width: 50px; height: 50px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .26);
    background: rgba(255, 255, 255, .12);
    color: #fff; font-size: 19px;
    transition: all var(--t) var(--ease-spring);
}
.hcc-lightbox-close:hover { background: var(--grad-accent); transform: rotate(90deg); }

/* ============================================================
   29. TOASTS
   ============================================================ */
.hcc-toasts {
    position: fixed;
    bottom: 26px; inset-inline-start: 26px;
    z-index: var(--z-toast);
    display: grid; gap: 12px;
    max-width: 380px;
}
.hcc-toast {
    display: flex; align-items: center; gap: 13px;
    padding: 16px 20px;
    border-radius: var(--radius);
    background: var(--c-surface);
    border: 1px solid var(--c-border);
    box-shadow: var(--shadow-lg);
    font-size: 14.5px;
    font-weight: 600;
    animation: hcc-toast-in .45s var(--ease-spring);
}
.hcc-toast.is-leaving { animation: hcc-toast-out .32s var(--ease) forwards; }
.hcc-toast-success { border-inline-start: 4px solid #10b981; }
.hcc-toast-success i { color: #10b981; }
.hcc-toast-danger { border-inline-start: 4px solid #ef4444; }
.hcc-toast-danger i { color: #ef4444; }
.hcc-toast-info { border-inline-start: 4px solid var(--c-primary); }
.hcc-toast-info i { color: var(--c-primary); }
.hcc-toast-close {
    margin-inline-start: auto;
    border: 0; background: none;
    color: var(--c-muted-soft);
    font-size: 14px;
    transition: color var(--t) var(--ease);
}
.hcc-toast-close:hover { color: var(--c-text); }

/* ============================================================
   30. BACK TO TOP
   ============================================================ */
.hcc-back-top {
    position: fixed;
    bottom: 26px; inset-inline-end: 26px;
    z-index: 800;
    width: 54px; height: 54px;
    display: grid; place-items: center;
    border: 0; border-radius: 50%;
    background: var(--grad-primary);
    color: #fff; font-size: 17px;
    box-shadow: var(--shadow-primary);
    opacity: 0; visibility: hidden;
    transform: translateY(18px) scale(.85);
    transition: all var(--t) var(--ease-spring);
}
.hcc-back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0) scale(1); }
.hcc-back-top:hover { transform: translateY(-5px) scale(1.07); }

/* ============================================================
   31. IMAGE HANDLING / SKELETON
   ============================================================ */
img.lazy { opacity: 0; transition: opacity .6s var(--ease); }
img.lazy.is-loaded { opacity: 1; }

.hcc-skeleton,
.hcc-shimmer {
    position: relative;
    overflow: hidden;
    background: var(--c-surface-soft);
}
.hcc-shimmer::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(100deg, transparent 20%, rgba(255, 255, 255, .8) 50%, transparent 80%);
    animation: hcc-shimmer 1.5s linear infinite;
}

/* ============================================================
   32. MOTION
   ============================================================ */
@keyframes hcc-gradient-pan {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}
@keyframes hcc-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(50%); }
}
@keyframes hcc-marquee-v {
    from { transform: translateY(0); }
    to { transform: translateY(var(--marquee-step, -330px)); }
}
@keyframes hcc-kenburns {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to { transform: scale(1.18) translate3d(0, -1.6%, 0); }
}
@keyframes hcc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}
@keyframes hcc-pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.88); }
}
@keyframes hcc-spin { to { transform: rotate(360deg); } }
@keyframes hcc-shimmer { from { transform: translateX(-100%); } to { transform: translateX(100%); } }
@keyframes hcc-toast-in { from { opacity: 0; transform: translateX(-40px) scale(.94); } to { opacity: 1; transform: none; } }
@keyframes hcc-toast-out { to { opacity: 0; transform: translateX(-40px) scale(.94); } }

.hcc-spin { animation: hcc-spin 1s linear infinite; }
.hcc-float { animation: hcc-float 6s var(--ease) infinite; }
.hcc-pulse { animation: hcc-pulse 2s var(--ease) infinite; }

/* ---- Scroll reveal ----
   Scoped to `html.js`: content is only hidden once JS is confirmed running.
   If frontend.js fails to execute (blocker/error), the page stays fully
   visible instead of landing as a blank white screen. */
html.js .hcc-animate,
html.js .hcc-reveal {
    opacity: 0;
    transform: translateY(34px);
    transition:
        opacity .8s var(--ease-out),
        transform .8s var(--ease-out);
    transition-delay: var(--d, 0ms);
    will-change: opacity, transform;
}
html.js .hcc-reveal-left { transform: translateX(-40px); }
html.js .hcc-reveal-right { transform: translateX(40px); }
html.js .hcc-reveal-zoom { transform: scale(.93); }
html.js .hcc-animate.is-visible,
html.js .hcc-reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ---- Parallax ---- */
.hcc-parallax { will-change: transform; }

/* ============================================================
   33. RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
    .hcc-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; }
    .hcc-article-layout { grid-template-columns: minmax(0, 1fr) 310px; gap: 32px; }
    .hcc-footer-grid { grid-template-columns: 1.4fr 1fr 1.2fr; }
    .hcc-footer-col:last-child { grid-column: span 3; }
}

@media (max-width: 1200px) {
    /* The navigation now carries 6 items, several with long Arabic labels.
       Below 1200px it cannot share the row with the logo and the CTA without
       colliding, so hand over to the mobile menu earlier than before. */
    .hcc-nav { display: none; }
}

@media (min-width: 1201px) and (max-width: 1400px) {
    /* Tighten the row in the narrow desktop band so nothing wraps or clips. */
    .hcc-nav-list { gap: 2px; }
    .hcc-nav-link { padding: 10px 10px; font-size: 13.5px; gap: 6px; }
    .hcc-nav-link i { font-size: 12px; }
}

@media (max-width: 1024px) {
    .hcc-header-inner { min-height: 74px; }
    .hcc-section { padding: 74px 0; }
    .hcc-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-services-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-about-grid { grid-template-columns: 1fr; gap: 48px; }
    .hcc-about-badge { inset-inline-end: 18px; }
    .hcc-newsletter-inner { grid-template-columns: 1fr; gap: 32px; }
    .hcc-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-gallery-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-gallery-card-lg { grid-column: span 2; }
    .hcc-cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-gallery-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-article { padding: 34px 30px 40px; }
}

@media (max-width: 900px) {
    .hcc-layout,
    .hcc-article-layout {
        grid-template-columns: minmax(0, 1fr);
        padding-bottom: 70px;
    }
    .hcc-layout-side { position: static; }
    .hcc-article-layout .hcc-layout-side { margin-top: 40px; }
}

@media (max-width: 720px) {
    body.hcc-body { font-size: 16px; }
    .hcc-container { padding-inline: 18px; }
    .hcc-section { padding: 60px 0; }
    .hcc-section-head-between { align-items: flex-start; }
    .hcc-grid-3, .hcc-grid-4, .hcc-services-grid { grid-template-columns: minmax(0, 1fr); }
    .hcc-gallery-masonry { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-gallery-card-lg { grid-column: span 2; aspect-ratio: 16 / 10; }
    .hcc-gallery-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-gallery-bento .hcc-gallery-card-lg { grid-column: span 2; grid-row: auto; }
    .hcc-cat-tiles { grid-template-columns: minmax(0, 1fr); }
    .hcc-photo-tile { width: 240px; height: 170px; }
    .hcc-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
    .hcc-footer-grid { grid-template-columns: 1fr; gap: 36px; }
    .hcc-footer-col:last-child { grid-column: auto; }
    .hcc-footer-bottom-inner { justify-content: center; text-align: center; }
    .hcc-hero-slide { min-height: 480px; }
    .hcc-hero-content { padding-block: 70px; }
    .hcc-hero-nav { inset-inline-end: 18px; bottom: 74px; }
    .hcc-hero-arrow { width: 46px; height: 46px; }
    .hcc-article { padding: 28px 22px 32px; border-radius: var(--radius-lg); }
    .hcc-page-card { padding: 28px 22px; }
    .hcc-newsletter-fields { grid-template-columns: 1fr; }
    .hcc-search-form-big { flex-direction: column; border-radius: var(--radius-lg); }
    .hcc-search-submit { width: 100%; border-radius: var(--radius); height: 50px; }
    .hcc-popular-card { padding: 18px; gap: 14px; }
    .hcc-popular-card:hover { transform: none; }
    .hcc-lightbox { grid-template-columns: 1fr; padding: 70px 16px 20px; }
    .hcc-lightbox-btn { display: none; }
    .hcc-toasts { inset-inline: 16px; max-width: none; bottom: 16px; }
    .hcc-back-top { bottom: 16px; inset-inline-end: 16px; width: 48px; height: 48px; }
    .hcc-ticker-label { padding: 11px 16px; font-size: 12.5px; }
    .hcc-ticker-item { padding: 11px 18px; font-size: 13.5px; }
    .hcc-article-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-campaign-intro,
    .hcc-campaign-quote { padding: 22px 20px; }
    .hcc-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hcc-partner-logo { width: 170px; }
}

@media (max-width: 480px) {
    .hcc-logo-caption { display: none; }
    .hcc-footer-logo .hcc-logo-caption { display: flex; }
    .hcc-topbar-contacts { gap: 14px; font-size: 12.5px; }
    .hcc-article-facts { grid-template-columns: 1fr; }
    .hcc-gallery-masonry,
    .hcc-gallery { grid-template-columns: 1fr; }
    .hcc-gallery-card-lg { grid-column: auto; }
    .hcc-article-images { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ============================================================
   41. ROTATING SIDEBAR SLIDES (صور متغيرة - سيدات رمزيات)
   ============================================================ */
.hcc-rslides {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    min-height: 420px;
    background: linear-gradient(160deg, var(--c-navy), var(--c-navy-light));
    box-shadow: var(--shadow-lg, 0 18px 48px rgba(30, 27, 75, .22));
}
.hcc-rslide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.04);
    transition:
        opacity .9s var(--ease-out),
        transform .9s var(--ease-out),
        visibility .9s;
}
.hcc-rslide.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    z-index: 2;
}
.hcc-rslide-fig {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 420px;
    margin: 0;
}
.hcc-rslide-fig img {
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
    display: block;
}
.hcc-rslide-fig::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 15, 60, 0) 38%, rgba(15, 10, 45, .82) 100%);
}
.hcc-rslide-fig figcaption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 3;
    padding: 18px 16px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hcc-rslide-fig figcaption strong {
    font-size: 17px;
    font-weight: 800;
}
.hcc-rslide-fig figcaption span {
    font-size: 13px;
    line-height: 1.7;
    opacity: .92;
}
.hcc-rslide-dots {
    position: absolute;
    top: 12px;
    inset-inline-start: 12px;
    inset-inline-end: 12px;
    z-index: 4;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.hcc-rslide-dots button {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    padding: 0;
    background: rgba(255, 255, 255, .45);
    cursor: pointer;
    transition: background .3s;
}
.hcc-rslide-dots button.is-on { background: #fff; }
.hcc-rslide-prev,
.hcc-rslide-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 14px;
    backdrop-filter: blur(6px);
    transition: background .3s, transform .3s;
}
.hcc-rslide-prev { inset-inline-start: 10px; }
.hcc-rslide-next { inset-inline-end: 10px; }
.hcc-rslide-prev:hover,
.hcc-rslide-next:hover { background: var(--c-accent); }
.hcc-rslide-next:hover { transform: translateY(-50%) translateX(-3px); }
.hcc-rslide-prev:hover { transform: translateY(-50%) translateX(3px); }

/* ============================================================
   34. ACCESSIBILITY & PRINT
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
        scroll-behavior: auto !important;
    }
    .hcc-animate,
    html.js .hcc-reveal,
    .hcc-reveal { opacity: 1 !important; transform: none !important; }
}

@media print {
    .hcc-topbar, .hcc-header, .hcc-mobile-menu, .hcc-ticker,
    .hcc-search-overlay, .hcc-back-top, .hcc-footer, .hcc-partners,
    .hcc-newsletter, .hcc-share, .hcc-comments, .hcc-related,
    .hcc-layout-side { display: none !important; }
    body.hcc-body { background: #fff; }
    .hcc-article { border: 0; box-shadow: none; padding: 0; }
}

/* ============================================================
   42. FACEBOOK FOLLOW MODULE (مكوّن صفحة فيسبوك)
   ============================================================ */
.hcc-fb-follow {}
.hcc-fb-follow-grid {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    gap: 32px;
    align-items: stretch;
    margin-top: 44px;
}
.hcc-fb-follow-card {
    background: var(--grad-navy);
    border-radius: var(--radius-lg);
    padding: 44px 38px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}
.hcc-fb-follow-card::before {
    content: '';
    position: absolute;
    inset-inline-end: -60px;
    top: -60px;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(255,255,255,.14), transparent 70%);
    pointer-events: none;
}
.hcc-fb-follow-card::after {
    content: '';
    position: absolute;
    inset-inline-start: -50px;
    bottom: -50px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(236,72,153,.28), transparent 70%);
    pointer-events: none;
}
.hcc-fb-follow-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    background: linear-gradient(135deg, #1877f2, #0a5fdd);
    display: grid;
    place-items: center;
    font-size: 26px;
    box-shadow: var(--shadow-primary);
}
.hcc-fb-follow-card p {
    color: rgba(255,255,255,.88);
    line-height: 1.9;
    font-size: 15px;
}
.hcc-fb-follow-card .hcc-btn { align-self: flex-start; margin-top: 4px; }

@media (max-width: 900px) {
    .hcc-fb-follow-grid { grid-template-columns: 1fr; }
    .hcc-fb-follow-card { padding: 34px 26px; }
}

/* ============================================================
   43. LEGACY SIMPLE IMAGE GALLERY (معرض الصور القديم - 3 أعمدة)
   ============================================================ */
ul.sigFreeContainer {
    list-style: none;
    margin: 24px 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}
ul.sigFreeContainer li.sigFreeThumb {
    margin: 0;
    padding: 0;
    list-style: none;
}
ul.sigFreeContainer .sigFreeLink {
    display: block;
    width: 100% !important;
    height: auto !important;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--t) var(--ease-spring), box-shadow var(--t) var(--ease);
}
ul.sigFreeContainer .sigFreeLink:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-md);
}
ul.sigFreeContainer .sigFreeImg {
    width: 100% !important;
    height: auto !important;
    max-height: 260px;
    object-fit: cover;
    display: block;
    margin: 0;
    border-radius: 0;
}

@media (max-width: 900px) {
    ul.sigFreeContainer { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
    ul.sigFreeContainer .sigFreeImg { max-height: 180px; }
}
@media (max-width: 600px) {
    ul.sigFreeContainer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
}

/* ============================================================
   44. LEGACY BOOTSTRAP GRID (محتوى مستورد من موقع Joomla القديم
       مبني على شبكة Bootstrap - إعادة تفعيل الأعمدة داخل .hcc-prose)
   ============================================================ */
.hcc-prose .row {
    display: flex;
    flex-wrap: wrap;
    margin-inline: -15px;
}
.hcc-prose .row::after {
    content: "";
    display: table;
    clear: both;
}
.hcc-prose .row > [class*="col-"] {
    flex: 0 0 auto;
    width: 100%;
    max-width: 100%;
    padding-inline: 15px;
    box-sizing: border-box;
}
.hcc-prose .row > [class*="col-"] img { margin-top: 0; }
@media (min-width: 768px) {
    .hcc-prose .col-sm-6 { width: 50%; }
    .hcc-prose .col-md-3 { width: 25%; }
    .hcc-prose .col-md-4 { width: 33.333333%; }
    .hcc-prose .col-md-5 { width: 41.666667%; }
    .hcc-prose .col-md-6 { width: 50%; }
    .hcc-prose .col-md-7 { width: 58.333333%; }
    .hcc-prose .col-md-8 { width: 66.666667%; }
    .hcc-prose .col-md-9 { width: 75%; }
}
@media (min-width: 992px) {
    .hcc-prose .col-lg-3 { width: 25%; }
    .hcc-prose .col-lg-4 { width: 33.333333%; }
    .hcc-prose .col-lg-5 { width: 41.666667%; }
    .hcc-prose .col-lg-6 { width: 50%; }
    .hcc-prose .col-lg-7 { width: 58.333333%; }
    .hcc-prose .col-lg-8 { width: 66.666667%; }
    .hcc-prose .col-lg-9 { width: 75%; }
}

/* ============================================================
   45. SIDE PHOTO MARQUEE (شريط نشاطاتنا في صور - متحرك)
   ============================================================ */
/* A slim, always-visible glass frame on the right edge of every
   page. Big photos (4 per loop) scroll upward slowly enough to read
   without clicking; hovering pauses the strip, clicking opens the
   album / article. The bottom link leads to the full photo gallery.
   The `--marquee-step` value is set from JS so the loop is exact. */
.hcc-photo-marquee {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    right: 14px;
    z-index: 850;
    width: 118px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78));
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow-lg);
}

/* --- Head badge --- */
.hcc-photo-marquee-head {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding: 10px 9px;
    background: var(--grad-navy);
    color: #fff;
}
.hcc-photo-marquee-head i {
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
    color: var(--c-accent);
    filter: drop-shadow(0 2px 6px rgba(236,72,153,.55));
}
.hcc-photo-marquee-title {
    font-family: var(--font-display);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: .01em;
    white-space: normal;
    line-height: 1.35;
    text-align: start;
}

/* --- Panorama viewport: small fanned overlapping photos --- */
.hcc-photo-marquee-viewport {
    height: min(62vh, 460px);
    overflow: hidden;
    padding: 26px 0 18px;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 8%, #000 92%, transparent);
}
.hcc-photo-marquee-track {
    display: flex;
    flex-direction: column;
    gap: 0;
    will-change: transform;
    animation: hcc-marquee-v 30s linear infinite;
}
.hcc-photo-marquee:hover .hcc-photo-marquee-track,
.hcc-photo-marquee:focus-within .hcc-photo-marquee-track { animation-play-state: paused; }

.hcc-photo-marquee-set { display: flex; flex-direction: column; }

/* Small polaroid-style photos that overlap ("وراء بعض") like a panorama.
   Even indices tilt slightly right, odd ones slightly left; each card
   slides under the previous via negative margin. */
.hcc-photo-marquee-item {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 86px;
    height: 86px;
    margin: 0 auto 14px;
    border: 3px solid #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(16, 14, 46, .30);
    transform: rotate(0deg);
    z-index: 2;
    transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), z-index 0s;
}
.hcc-photo-marquee-set .hcc-photo-marquee-item:nth-of-type(odd) { transform: rotate(0deg); }
.hcc-photo-marquee-item:hover {
    transform: rotate(0deg) scale(1.08);
    z-index: 9;
    box-shadow: 0 14px 26px rgba(16, 14, 46, .40);
}
.hcc-photo-marquee-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--t) var(--ease);
}
.hcc-photo-marquee-item:hover img { transform: scale(1.04); }

/* Featured album cover cards — larger, golden frame, star badge. */
.hcc-photo-marquee-item--cover {
    width: 92px;
    height: 92px;
    border: 3px solid #fcd34d;
    box-shadow: 0 8px 18px rgba(16, 14, 46, .32), 0 0 0 1px rgba(252, 211, 77, .45);
    transform: rotate(0deg) !important;
    z-index: 3;
}
.hcc-photo-marquee-item--cover:hover {
    transform: rotate(0deg) scale(1.08) !important;
    box-shadow: 0 16px 30px rgba(16, 14, 46, .44), 0 0 0 1px rgba(252, 211, 77, .65);
}
.hcc-photo-marquee-cover-badge {
    position: absolute;
    top: -8px;
    right: -6px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-primary);
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: 11px;
    line-height: 1;
    box-shadow: 0 4px 10px rgba(16, 14, 46, .35);
    z-index: 5;
}

/* --- More link (full gallery) --- */
.hcc-photo-marquee-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 9px 6px 10px;
    border-top: 1px solid rgba(99, 102, 241, .18);
    background: rgba(255, 255, 255, .72);
    color: var(--c-primary-700);
    text-decoration: none;
    transition: background var(--t) var(--ease), color var(--t) var(--ease);
}
.hcc-photo-marquee-more i { font-size: 14px; line-height: 1; }
.hcc-photo-marquee-more span { font-size: 11px; font-weight: 800; font-family: var(--font-display); }
.hcc-photo-marquee-more:hover { background: var(--grad-primary); color: #fff; }

@media (max-width: 1400px) {
    .hcc-photo-marquee { right: 8px; }
}
@media (max-width: 1200px) {
    .hcc-photo-marquee { display: none; }
}
@media print {
    .hcc-photo-marquee { display: none !important; }
}

/* ============================================================
   WHATSAPP CHANNEL FLOATING BUTTON (homepage)
   ============================================================ */
.hcc-wa-channel {
    position: fixed;
    left: 22px;
    bottom: 22px;
    z-index: 850;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, #075e54 0%, #128c7e 55%, #25d366 100%);
    color: #fff;
    text-decoration: none;
    box-shadow: 0 16px 36px -14px rgba(7, 94, 84, .7);
    animation: hccWaIn .55s var(--ease) .8s both;
    transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.hcc-wa-channel:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 22px 44px -14px rgba(7, 94, 84, .8);
    color: #fff;
}
.hcc-wa-channel-ico {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .18);
    display: grid;
    place-items: center;
    font-size: 21px;
    flex: 0 0 auto;
}
.hcc-wa-channel-ico::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    box-shadow: 0 0 0 0 rgba(255, 255, 255, .55);
    animation: hccWaRing 2.4s ease-out infinite;
}
.hcc-wa-channel-txt { display: flex; flex-direction: column; line-height: 1.3; }
.hcc-wa-channel-txt strong { font-size: 14px; font-weight: 800; }
.hcc-wa-channel-txt small { font-size: 11px; opacity: .85; }
@keyframes hccWaIn {
    from { opacity: 0; transform: translateY(18px) scale(.92); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
@keyframes hccWaRing {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, .55); }
    70% { box-shadow: 0 0 0 12px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}
@media (max-width: 640px) {
    .hcc-wa-channel { left: 14px; bottom: 14px; padding: 7px 12px 7px 7px; }
    .hcc-wa-channel-ico { width: 34px; height: 34px; font-size: 18px; }
    .hcc-wa-channel-txt small { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hcc-wa-channel, .hcc-wa-channel-ico::after { animation: none; }
}
