/* ============================================
   AHRA Home Page — Tailwind Overrides
   The front-page.php now uses Tailwind utility
   classes directly (Stitch design). This file
   only contains overrides that Tailwind cannot
   handle natively.
   ============================================ */

/* ---------- Material Symbols fine-tuning ---------- */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

.material-symbols-outlined[data-weight="fill"] {
    font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24 !important;
}

/* ---------- Glass navigation (used in header) ---------- */
.glass-nav {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
}

/* ---------- Line clamp utility (not in Tailwind CDN) ---------- */
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Ensure hero image renders correctly ---------- */
.section-hero .hero-image-wrapper img {
    object-fit: cover;
}

/* ---------- Fix for GeneratePress header conflicts ---------- */
.site-header .site-header__inner {
    all: initial;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 80rem;
    margin: 0 auto;
    padding: 0 2rem;
    height: 5rem;
}

.site-header .site-header__logo img {
    height: 2.5rem;
    width: auto;
}

/* ---------- Footer Tailwind compatibility ---------- */
.site-footer {
    all: initial;
    display: block;
    width: 100%;
}

/* ---------- Hero Members Badge — SIEMPRE visible ---------- */
.ahra-members-badge {
    position: absolute !important;
    bottom: 0.9rem !important;
    left: 0.9rem !important;
    z-index: 9999 !important;
    background: #ffffff !important;
    padding: 0.9rem 1.1rem !important;
    gap: 0.75rem !important;
    border-radius: 1.1rem !important;
    max-width: 17.25rem;
    border: 0 !important;
    box-shadow: 0 16px 32px -18px rgba(15, 23, 42, 0.22) !important;
}

.ahra-members-badge__icon {
    width: 2.65rem;
    height: 2.65rem;
    border-radius: 0.85rem;
}

.ahra-members-badge__icon .material-symbols-outlined {
    font-size: 1rem;
}

.ahra-members-badge__content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.ahra-members-badge__eyebrow {
    color: #64748b;
    font-size: 0.64rem;
    letter-spacing: 0.08em;
    line-height: 1.1;
}

.ahra-members-badge__headline {
    display: flex;
    align-items: baseline;
    gap: 0.3rem;
    min-width: 0;
    white-space: normal;
    flex-wrap: wrap;
}

.ahra-members-badge__value {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.ahra-members-badge__caption {
    color: #111827;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1;
}

@media (max-width: 1279px) {
    .ahra-members-badge {
        left: 0.75rem !important;
        bottom: 0.75rem !important;
    }
}

/* Override ANY parent overflow that clips the badge */
section:first-of-type {
    overflow: visible !important;
}

.ahra-hero-img-wrap {
    overflow: visible !important;
}
