/* about.html — Connect With Us / channels grid */

#team.about-channels-section {
    position: relative;
    isolation: isolate;
    padding-top: clamp(2.75rem, 6vh, 4rem);
    padding-bottom: clamp(3rem, 6vh, 5rem);
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 50%, #ffffff 100%);
    overflow: hidden;
}

#team.about-channels-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 48% 42% at 8% 30%, rgba(59, 130, 246, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 92% 55%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 42% 36% at 50% 100%, rgba(245, 158, 11, 0.06) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}

html.dark #team.about-channels-section {
    background: linear-gradient(180deg, #0f172a 0%, #111827 50%, #0f172a 100%);
}

html.dark #team.about-channels-section::before {
    background:
        radial-gradient(ellipse 48% 42% at 8% 30%, rgba(59, 130, 246, 0.14) 0%, transparent 55%),
        radial-gradient(ellipse 45% 40% at 92% 55%, rgba(139, 92, 246, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse 42% 36% at 50% 100%, rgba(245, 158, 11, 0.09) 0%, transparent 45%);
}

#team .container {
    position: relative;
    z-index: 1;
}

.about-channels-head {
    max-width: 640px;
    margin: 0 auto clamp(2rem, 4vw, 2.75rem);
    text-align: center;
}

.about-channels-eyebrow {
    display: inline-flex;
    align-items: center;
    margin-bottom: 0.875rem;
    padding: 0.35rem 0.9rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2563eb;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.22);
    border-radius: 999px;
}

html.dark .about-channels-eyebrow {
    color: #93c5fd;
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(96, 165, 250, 0.35);
}

.about-channels-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #0f172a;
}

html.dark .about-channels-title {
    color: #f8fafc;
}

.about-channels-title-accent {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 55%, #d97706 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

html.dark .about-channels-title-accent {
    background: linear-gradient(135deg, #60a5fa 0%, #c084fc 50%, #fbbf24 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.about-channels-lead {
    margin: 0 auto;
    max-width: 34rem;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: #64748b;
}

html.dark .about-channels-lead {
    color: #94a3b8;
}

.about-channels-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    max-width: 72rem;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .about-channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .about-channels-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
}

.about-channels-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    padding: 1.35rem 1.35rem 1.25rem;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
    overflow: hidden;
}

.about-channels-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ch-accent-bar, linear-gradient(90deg, #3b82f6, #2563eb));
    opacity: 0.92;
}

.about-channels-card:hover {
    transform: translateY(-5px);
    border-color: var(--ch-border-hover, rgba(59, 130, 246, 0.35));
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
}

html.dark .about-channels-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

html.dark .about-channels-card:hover {
    border-color: var(--ch-border-hover, rgba(96, 165, 250, 0.45));
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.about-channels-card[data-accent="blue"] {
    --ch-accent-bar: linear-gradient(90deg, #3b82f6, #2563eb);
    --ch-border-hover: rgba(59, 130, 246, 0.4);
    --ch-icon-ring: rgba(59, 130, 246, 0.2);
    --ch-tag-bg: rgba(59, 130, 246, 0.1);
    --ch-tag-color: #1d4ed8;
    --ch-link-color: #2563eb;
}

.about-channels-card[data-accent="purple"] {
    --ch-accent-bar: linear-gradient(90deg, #a855f7, #7c3aed);
    --ch-border-hover: rgba(168, 85, 247, 0.4);
    --ch-icon-ring: rgba(168, 85, 247, 0.22);
    --ch-tag-bg: rgba(168, 85, 247, 0.1);
    --ch-tag-color: #6d28d9;
    --ch-link-color: #7c3aed;
}

.about-channels-card[data-accent="indigo"] {
    --ch-accent-bar: linear-gradient(90deg, #6366f1, #4f46e5);
    --ch-border-hover: rgba(99, 102, 241, 0.4);
    --ch-icon-ring: rgba(99, 102, 241, 0.22);
    --ch-tag-bg: rgba(99, 102, 241, 0.1);
    --ch-tag-color: #4338ca;
    --ch-link-color: #4f46e5;
}

.about-channels-card[data-accent="violet"] {
    --ch-accent-bar: linear-gradient(90deg, #8b5cf6, #7c3aed);
    --ch-border-hover: rgba(139, 92, 246, 0.4);
    --ch-icon-ring: rgba(139, 92, 246, 0.22);
    --ch-tag-bg: rgba(139, 92, 246, 0.1);
    --ch-tag-color: #6d28d9;
    --ch-link-color: #7c3aed;
}

.about-channels-card[data-accent="amber"] {
    --ch-accent-bar: linear-gradient(90deg, #f59e0b, #d97706);
    --ch-border-hover: rgba(245, 158, 11, 0.45);
    --ch-icon-ring: rgba(245, 158, 11, 0.25);
    --ch-tag-bg: rgba(245, 158, 11, 0.12);
    --ch-tag-color: #b45309;
    --ch-link-color: #d97706;
}

.about-channels-card[data-accent="orange"] {
    --ch-accent-bar: linear-gradient(90deg, #f97316, #ea580c);
    --ch-border-hover: rgba(249, 115, 22, 0.45);
    --ch-icon-ring: rgba(249, 115, 22, 0.25);
    --ch-tag-bg: rgba(249, 115, 22, 0.12);
    --ch-tag-color: #c2410c;
    --ch-link-color: #ea580c;
}

html.dark .about-channels-card[data-accent="blue"] { --ch-tag-color: #93c5fd; }
html.dark .about-channels-card[data-accent="purple"] { --ch-tag-color: #d8b4fe; }
html.dark .about-channels-card[data-accent="indigo"] { --ch-tag-color: #a5b4fc; }
html.dark .about-channels-card[data-accent="violet"] { --ch-tag-color: #c4b5fd; }
html.dark .about-channels-card[data-accent="amber"] { --ch-tag-color: #fcd34d; }
html.dark .about-channels-card[data-accent="orange"] { --ch-tag-color: #fdba74; }

.about-channels-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 1rem;
    padding: 0.5rem;
    background: #fff;
    border: 1px solid var(--ch-icon-ring, rgba(59, 130, 246, 0.2));
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

html.dark .about-channels-card__icon {
    background: #0f172a;
}

.about-channels-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-channels-card:hover .about-channels-card__icon {
    transform: scale(1.06);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.1);
}

.about-channels-card__pill {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.625rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #fff;
    background: var(--ch-pill-bg, linear-gradient(135deg, #f59e0b, #d97706));
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.about-channels-card[data-accent="orange"] .about-channels-card__pill {
    --ch-pill-bg: linear-gradient(135deg, #f97316, #ea580c);
    box-shadow: 0 2px 8px rgba(234, 88, 12, 0.35);
}

.about-channels-card__tag {
    display: inline-flex;
    margin-bottom: 0.5rem;
    padding: 0.2rem 0.55rem;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ch-tag-color, #2563eb);
    background: var(--ch-tag-bg, rgba(59, 130, 246, 0.1));
    border-radius: 6px;
}

.about-channels-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #0f172a;
    transition: color 0.22s ease;
}

html.dark .about-channels-card__title {
    color: #f1f5f9;
}

.about-channels-card__text {
    flex: 1;
    margin: 0 0 1rem;
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #64748b;
}

html.dark .about-channels-card__text {
    color: #94a3b8;
}

.about-channels-card__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--ch-link-color, #2563eb);
    transition: gap 0.22s ease;
}

.about-channels-card__link svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    transition: transform 0.22s ease;
}

.about-channels-card:hover .about-channels-card__link {
    gap: 0.5rem;
}

.about-channels-card:hover .about-channels-card__link svg {
    transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
    .about-channels-card:hover {
        transform: none;
    }

    .about-channels-card:hover .about-channels-card__icon {
        transform: none;
    }
}
