/* ── HLC Family Dashboard Header ───────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

.hlc-fh-wrap {
    width: 100%;
    background: #f5f0e8;
    background: linear-gradient(120deg, #f5f0e8 0%, #eef5ec 60%, #f5f0e8 100%);
    border-radius: 16px;
    overflow: hidden;
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    box-sizing: border-box;
}

/* Full-width when inside Elementor section with no padding */
.elementor-section .hlc-fh-wrap,
.elementor-widget-shortcode .hlc-fh-wrap {
    border-radius: 0;
}

.hlc-fh-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 40px 52px;
    gap: 24px;
    min-height: 160px;
    max-width: 1200px;
    margin: 0 auto;
}

/* ── Content side ───────────────────────────────────────────────────── */
.hlc-fh-content {
    flex: 1;
}

.hlc-fh-eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: #EA7725;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.hlc-fh-heading {
    font-size: 32px;
    font-weight: 800;
    color: #1E1C2C;
    margin: 0 0 10px;
    line-height: 1.2;
}

.hlc-fh-sub {
    font-size: 15px;
    color: #555;
    margin: 0 0 12px;
    font-weight: 500;
    line-height: 1.5;
}

.hlc-fh-tagline {
    font-size: 13px;
    color: #40AD48;
    margin: 0;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.hlc-fh-tagline strong {
    font-weight: 700;
}

/* ── Graphic side ───────────────────────────────────────────────────── */
.hlc-fh-graphic {
    position: relative;
    width: 160px;
    height: 130px;
    flex-shrink: 0;
}

.hlc-fh-circle {
    position: absolute;
    border-radius: 50%;
}

.hlc-fh-circle--1 {
    width: 110px;
    height: 110px;
    background: radial-gradient(circle, rgba(64,173,72,.13) 0%, transparent 70%);
    top: 10px;
    right: 10px;
}

.hlc-fh-circle--2 {
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(234,119,37,.10) 0%, transparent 70%);
    bottom: 0;
    left: 0;
}

.hlc-fh-icon-wrap {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 90px;
}

.hlc-fh-icon {
    width: 100%;
    height: 100%;
}

.hlc-fh-heart {
    position: absolute;
    top: 4px;
    right: 14px;
    font-size: 18px;
    color: #D12229;
    animation: hlc-fh-pulse 2s ease-in-out infinite;
}

.hlc-fh-sun {
    position: absolute;
    top: 2px;
    right: 44px;
    font-size: 20px;
    color: #FFCB04;
    animation: hlc-fh-spin 8s linear infinite;
}

@keyframes hlc-fh-pulse {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.18); }
}

@keyframes hlc-fh-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── Guest state ────────────────────────────────────────────────────── */
.hlc-fh-guest .hlc-fh-inner {
    justify-content: flex-start;
    min-height: 80px;
    padding: 24px 52px;
}

.hlc-fh-guest .hlc-fh-greeting {
    font-size: 18px;
    font-weight: 700;
    color: #1E1C2C;
    margin: 0 0 6px;
}

.hlc-fh-guest .hlc-fh-sub {
    margin: 0;
}

.hlc-fh-guest .hlc-fh-sub a {
    color: #40AD48;
    font-weight: 700;
    text-decoration: none;
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .hlc-fh-inner {
        padding: 28px 24px;
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .hlc-fh-heading  { font-size: 24px; }
    .hlc-fh-sub      { font-size: 14px; }

    .hlc-fh-graphic {
        display: none;
    }
}

@media (max-width: 480px) {
    .hlc-fh-heading { font-size: 20px; }
    .hlc-fh-inner   { padding: 22px 18px; }
}
