/* ============================================================
   about.css
   About page — matches nd- design system
   Deep navy #1e3a8a, Playfair Display headings, Inter body
   ============================================================ */


/* ============================================================
   1. HERO
   ============================================================ */
.ab-hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
}

.ab-hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    z-index: 0;
}

.ab-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(15, 23, 42, 0.45) 0%,
        rgba(15, 23, 42, 0.75) 100%
    );
    z-index: 1;
}

.ab-hero__content {
    position: relative;
    z-index: 2;
    padding-bottom: 3rem;
    padding-top: 2.5rem;
}

/* Breadcrumb */
.ab-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.ab-breadcrumb__home {
    color: #93c5fd;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.ab-breadcrumb__home:hover { color: #ffffff; }

.ab-breadcrumb__sep {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

.ab-breadcrumb__current {
    color: rgba(255,255,255,0.8);
    font-size: 0.85rem;
}

.ab-hero__title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem;
    line-height: 1.1;
}

.ab-hero__address {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.8;
    margin: 0;
    max-width: 520px;
}


/* ============================================================
   2. SHARED SECTION UTILITIES
   ============================================================ */
.ab-section {
    padding: 4rem 0;
    background-color: #f8fafc;
}

.ab-units-section {
    padding: 4rem 0 5rem;
    background-color: #ffffff;
}

.ab-eyebrow {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #3b82f6;
    margin-bottom: 0.5rem;
}

.ab-section-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 700;
    color: #1e3a8a;
    margin: 0 0 0.6rem;
    line-height: 1.2;
}

.ab-title-rule {
    width: 52px;
    height: 4px;
    background: linear-gradient(to right, #1e3a8a, #3b82f6);
    border-radius: 4px;
    margin-bottom: 1.75rem;
}


/* ============================================================
   3. INTRO SECTION — two-column: text + stats sidebar
   ============================================================ */
.ab-intro {
    display: grid;
    grid-template-columns: 1fr 260px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 991.98px) {
    .ab-intro {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.ab-intro__subhead {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.ab-intro__body {
    font-size: 0.92rem;
    color: #475569;
    line-height: 1.85;
    margin-bottom: 1rem;
}

/* Stats sidebar */
.ab-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (max-width: 991.98px) {
    .ab-stats {
        flex-direction: row;
        flex-wrap: wrap;
    }

    .ab-stat { flex: 1 1 calc(50% - 0.5rem); }
}

.ab-stat {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.1rem 1.25rem;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s, transform 0.2s;
}

.ab-stat:hover {
    box-shadow: 0 6px 20px rgba(30,58,138,0.1);
    transform: translateY(-2px);
}

.ab-stat__num {
    display: block;
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1e3a8a;
    line-height: 1.1;
    margin-bottom: 0.3rem;
}

.ab-stat__label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #64748b;
}


/* ============================================================
   4. CONSTITUENT UNITS GRID
   ============================================================ */
.ab-units-header {
    margin-bottom: 2.5rem;
}

.ab-units-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 991.98px) {
    .ab-units-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 575.98px) {
    .ab-units-grid { grid-template-columns: 1fr; }
}

/* Unit card */
.ab-unit-card {
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: box-shadow 0.25s ease, transform 0.25s ease;
    display: flex;
    flex-direction: column;
    border: 1px solid #e2e8f0;
}

.ab-unit-card:hover {
    box-shadow: 0 10px 36px rgba(30,58,138,0.14);
    transform: translateY(-5px);
}

/* Image */
.ab-unit-card__img-wrap {
    position: relative;
    overflow: hidden;
    height: 185px;
}

.ab-unit-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.ab-unit-card:hover .ab-unit-card__img {
    transform: scale(1.06);
}

.ab-unit-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(15, 23, 42, 0.35) 100%
    );
    transition: opacity 0.3s;
}

/* Body */
.ab-unit-card__body {
    padding: 1.1rem 1.25rem 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.ab-unit-card__title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-size: 1rem;
    font-weight: 700;
    color: #1e3a8a;
    margin: 0;
    line-height: 1.3;
}

.ab-unit-card__text {
    font-size: 0.83rem;
    color: #64748b;
    line-height: 1.65;
    margin: 0;
    flex: 1;
}

/* CTA link row */
.ab-unit-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #1e3a8a;
    margin-top: 0.25rem;
    transition: gap 0.2s, color 0.2s;
}

.ab-unit-card:hover .ab-unit-card__cta {
    gap: 0.55rem;
    color: #2563eb;
}

.ab-unit-card__cta .fas {
    font-size: 0.7rem;
    transition: transform 0.2s;
}

.ab-unit-card:hover .ab-unit-card__cta .fas {
    transform: translateX(3px);
}


/* ============================================================
   5. LEGACY — keep old classes working
   ============================================================ */
.hero-section { position: relative; }
.section { padding: 4rem 0; }
.section-title {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 700;
    color: #1e3a8a;
}
.bg-cover {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.overlay::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,0.55);
    z-index: 1;
}
.custom-breadcrumb { list-style: none; padding: 0; }
.nasted { opacity: 0.85; }
.showmore { color: #3b82f6; }