/* ═══════════════════════════════════════════════════
   ABOUT PAGE — CTS Network
   ═══════════════════════════════════════════════════ */

.about-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px 0 60px;
}

/* ── Header ── */
.about-header {
    text-align: center;
    margin-bottom: 48px;
}

.about-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(237, 167, 32, 0.1);
    border: 1px solid rgba(237, 167, 32, 0.2);
    color: #eda720;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.about-headline {
    font-size: 2.25rem;
    font-weight: 700;
    color: #2c2b51;
    margin-bottom: 16px;
}

.about-lead {
    font-size: 1.1rem;
    color: #6B7280;
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ── Metrics Strip ── */
.about-metrics {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    background: #2c2b51;
    border-radius: 16px;
    padding: 32px 48px;
    margin-bottom: 48px;
}

.about-metric {
    text-align: center;
    flex: 1;
}

.about-metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #eda720;
    line-height: 1;
    margin-bottom: 4px;
}

.about-metric-label {
    font-size: 0.85rem;
    color: #b8b6d6;
    font-weight: 500;
}

.about-metric-divider {
    width: 1px;
    height: 48px;
    background: rgba(255, 255, 255, 0.12);
    margin: 0 24px;
}

/* ── Story Sections ── */
.about-sections {
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin-bottom: 48px;
}

.about-section {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e8e7ee;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-section:hover {
    border-color: rgba(237, 167, 32, 0.3);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.about-section-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(237, 167, 32, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #eda720;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.about-section-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2c2b51;
    margin-bottom: 8px;
}

.about-section p {
    color: #555;
    line-height: 1.7;
    margin: 0;
    font-size: 0.95rem;
}

.highlight {
    background-color: rgba(237, 167, 32, 0.15);
    padding: 2px 4px;
    border-radius: 3px;
}

/* ── Partner Marquee ── */
.about-partner-section {
    text-align: center;
    margin-bottom: 32px;
}

.about-partner-marquee {
    overflow: hidden;
    position: relative;
    height: 90px;
    margin: 0 -24px;
}

.about-partner-marquee::before,
.about-partner-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 60px;
    z-index: 2;
    pointer-events: none;
}

.about-partner-marquee::before {
    left: 0;
    background: linear-gradient(to right, #ffffff, transparent);
}

.about-partner-marquee::after {
    right: 0;
    background: linear-gradient(to left, #ffffff, transparent);
}

.about-partner-set {
    display: flex;
    align-items: center;
    gap: 48px;
    animation: partner-scroll 40s linear infinite;
    width: max-content;
}

.about-partner-set:hover {
    animation-play-state: paused;
}

.about-partner-logo {
    height: 70px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    flex-shrink: 0;
}

.about-partner-logo:hover {
    opacity: 1;
}

.more-brands {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    color: #6B7280;
    font-size: 0.9rem;
    font-style: italic;
    margin-top: 24px;
}

.more-brands::before,
.more-brands::after {
    content: '';
    display: block;
    width: 60px;
    height: 1px;
    background: #ddd;
}

/* ── Team Grid ── */
.about-team-section {
    margin-bottom: 32px;
}

.about-team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
}

.about-team-card {
    text-align: center;
    padding: 28px 16px;
    background: #ffffff;
    border: 1px solid #e8e7ee;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.about-team-card:hover {
    border-color: rgba(237, 167, 32, 0.3);
}

.about-team-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c2b51, #3a396e);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: #eda720;
    font-size: 1.25rem;
}

.about-team-role {
    font-size: 0.85rem;
    font-weight: 600;
    color: #444;
    margin: 0;
}

/* ── Dark Mode ── */
[data-bs-theme="dark"] .about-headline {
    color: #E8E6F0;
}

[data-bs-theme="dark"] .about-lead {
    color: #b8b6d6;
}

[data-bs-theme="dark"] .about-section {
    background: #3a396e;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .about-section:hover {
    border-color: rgba(237, 167, 32, 0.3);
}

[data-bs-theme="dark"] .about-section-title {
    color: #E8E6F0;
}

[data-bs-theme="dark"] .about-section p {
    color: #b8b6d6;
}

[data-bs-theme="dark"] .highlight {
    background-color: rgba(131, 131, 253, 0.25);
}

[data-bs-theme="dark"] .about-partner-marquee::before {
    background: linear-gradient(to right, #2c2b51, transparent);
}

[data-bs-theme="dark"] .about-partner-marquee::after {
    background: linear-gradient(to left, #2c2b51, transparent);
}

[data-bs-theme="dark"] .about-team-card {
    background: #3a396e;
    border-color: rgba(255, 255, 255, 0.06);
}

[data-bs-theme="dark"] .about-team-card:hover {
    border-color: rgba(237, 167, 32, 0.3);
}

[data-bs-theme="dark"] .about-team-role {
    color: #d1cfe6;
}

[data-bs-theme="dark"] .more-brands {
    color: #8888a8;
}

[data-bs-theme="dark"] .more-brands::before,
[data-bs-theme="dark"] .more-brands::after {
    background: rgba(255, 255, 255, 0.1);
}

/* ── Light / Dark mode logo toggles ── */
[data-bs-theme="light"] .about-dark {
    display: none !important;
}

[data-bs-theme="dark"] .about-light {
    display: none !important;
}

/* ── Responsive ── */
@media screen and (max-width: 768px) {
    .about-metrics {
        flex-direction: column;
        gap: 20px;
        padding: 28px 24px;
    }

    .about-metric-divider {
        width: 48px;
        height: 1px;
        margin: 0;
    }

    .about-section {
        flex-direction: column;
        text-align: center;
    }

    .about-section-icon {
        margin: 0 auto;
    }

    .about-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-headline {
        font-size: 1.75rem;
    }
}

/* ── Legacy column support ── */
.column-about {
    flex: 0 0 50%;
    padding: 5px;
    text-align: center;
}

.image-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
}

.image-grid figure {
    flex: 0 0 auto;
    margin: 0;
}

.image-grid img {
    max-height: 60px;
    width: auto;
}

.article-read-container {
    max-width: 800px;
    margin: 0 auto;
}
