/* ============================================
   About Page
   ============================================ */

.about-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 32px 80px;
}

/* Two-column layout */
.about-layout {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 48px;
    align-items: start;
}

/* ---- Main Column ---- */

.about-main {
    display: flex;
    flex-direction: column;
    gap: 0;
}

/* ---- Content Sections ---- */

.about-section {
    padding: 40px 0;
    border-bottom: 1px solid #E5E5E5;
}

.about-section:first-child {
    padding-top: 0;
}

.about-section:last-child {
    border-bottom: none;
}

/* Section titles — matches homepage .in-focus-title / .collections-title */
.about-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #002B58;
    margin: 0 0 1.25rem 0;
    line-height: 1.3;
}

.about-section-title i {
    font-size: 1.25rem;
    color: #0268BB;
}

/* Body text — matches homepage sizing */
.about-section p {
    font-size: 1rem;
    line-height: 1.7;
    color: #666;
    margin: 0 0 16px 0;
}

.about-section p:last-child,
.about-section p:last-of-type {
    margin-bottom: 0;
}

/* ---- Resource Grid (Collection section) ---- */

.about-resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 24px;
}

.about-resource-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    background: #F7F7F7;
    border: 1px solid #E5E5E5;
}

.about-resource-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #E5E5E5;
    color: #0268BB;
    font-size: 1.125rem;
    flex-shrink: 0;
}

.about-resource-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.about-resource-info strong {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #002B58;
}

.about-resource-info span {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #888;
}

/* ---- Access Tiers ---- */

.about-access-tiers {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.about-access-tier {
    padding: 20px 24px;
    background: #F7F7F7;
    border: 1px solid #E5E5E5;
}

.about-access-badge {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 10px;
    margin-bottom: 10px;
}

.about-access-badge--public {
    background: rgba(2, 104, 187, 0.1);
    color: #0268BB;
}

.about-access-badge--full {
    background: rgba(0, 43, 88, 0.08);
    color: #002B58;
}

.about-access-tier p {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.about-access-tier ul {
    margin: 10px 0 0 0;
    padding: 0 0 0 20px;
    list-style: disc;
}

.about-access-tier ul li {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 4px;
}

.about-access-tier ul li:last-child {
    margin-bottom: 0;
}

/* ---- Link Button ---- */

.about-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 0.75rem 1.5rem;
    background: #002B58;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.about-link-btn:hover {
    background: #001a3a;
}

.about-link-btn:focus-visible {
    outline: 2px solid #FED402;
}

.about-link-btn i {
    font-size: 1rem;
}

/* ---- Sidebar ---- */

.about-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-sidebar-card {
    background: #fff;
    border: 1px solid #E5E5E5;
    padding: 20px;
}

/* Stat card — light background with blue number (matches homepage stats) */
.about-sidebar-card--stat {
    text-align: center;
    padding: 28px 20px;
    background: #F7F7F7;
}

.about-sidebar-stat {
    font-size: 3rem;
    font-weight: 700;
    color: #0268BB;
    line-height: 1;
    margin-bottom: 8px;
}

.about-sidebar-stat-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #666;
}

/* Sidebar titles */
.about-sidebar-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #002B58;
    margin: 0 0 12px 0;
}

.about-sidebar-title i {
    font-size: 1rem;
    color: #0268BB;
}

/* Sidebar list */
.about-sidebar-list {
    margin: 0;
    padding: 0 0 0 18px;
    list-style: disc;
}

.about-sidebar-list li {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 4px;
}

.about-sidebar-list li:last-child {
    margin-bottom: 0;
}

/* Sidebar links */
.about-sidebar-links {
    display: flex;
    flex-direction: column;
}

.about-sidebar-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 0.875rem;
    color: #0268BB;
    text-decoration: none;
    border-bottom: 1px solid #F0F0F0;
    transition: color 0.15s ease;
}

.about-sidebar-links a:last-child {
    border-bottom: none;
}

.about-sidebar-links a:hover {
    color: #002B58;
}

.about-sidebar-links a i {
    font-size: 1rem;
    opacity: 0.6;
    width: 18px;
    text-align: center;
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
    .about-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-sidebar {
        order: -1;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 16px;
    }

    .about-sidebar-card {
        flex: 1;
        min-width: 200px;
    }
}

@media (max-width: 768px) {
    .about-container {
        padding: 32px 20px 48px;
    }

    .about-section {
        padding: 28px 0;
    }

    .about-section-title {
        font-size: 1.25rem;
    }

    .about-sidebar {
        flex-direction: column;
    }

    .about-sidebar-card {
        min-width: 0;
    }

    .about-resource-grid {
        grid-template-columns: 1fr;
    }
}

/* Accessibility - Focus-visible Styles */
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
button:focus-visible,
a:focus-visible {
    background-color: #E8F4FF;
    padding-left: 15px;
}
