/* About page — cyber theme, readable text */

body.site-cyber .about-page {
    position: relative;
    z-index: 1;
    padding-bottom: 0;
}

body.site-cyber .about-page__intro {
    padding: 3rem 0 3.5rem;
}

body.site-cyber .about-page__intro .about-me-img {
    position: relative;
    max-width: 380px;
    margin: 0 auto 2rem;
}

body.site-cyber .about-page__intro .about-me-img::before {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, var(--brand, #b73146), var(--brand-2, #ff8a9a), var(--brand-2, #ff8a9a));
    z-index: 0;
    opacity: 0.85;
}

body.site-cyber .about-page__intro .about-me-img img {
    position: relative;
    z-index: 1;
    width: 100%;
    border-radius: 16px;
    display: block;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.45);
}

body.site-cyber .about-page .about-me-caption h2 {
    color: #fff !important;
    font-size: clamp(1.65rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #fff 0%, var(--brand-2, #ff8a9a) 45%, var(--brand-2, #ff8a9a) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

body.site-cyber .about-page .about-me-caption p {
    color: rgba(168, 178, 214, 0.82) !important;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

body.site-cyber .about-page .about-me-caption h5 {
    color: #e8ecf4 !important;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.65;
    padding-left: 1rem;
    border-left: 3px solid var(--brand-2, #ff8a9a);
    margin-bottom: 0;
}

body.site-cyber .about-page .about-me-caption ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

body.site-cyber .about-page .about-me-caption ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
    color: rgba(168, 178, 214, 0.78) !important;
    line-height: 1.6;
}

body.site-cyber .about-page .about-me-caption ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand, #b73146), var(--brand-2, #ff8a9a));
    box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

body.site-cyber .about-page__panels {
    padding: 3.5rem 0 4rem;
    background: linear-gradient(180deg, rgba(183, 49, 70, 0.06) 0%, transparent 50%, rgba(255, 138, 154, 0.04) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

body.site-cyber .about-page__card {
    height: 100%;
    padding: 2rem 1.75rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow:
        0 20px 48px rgba(0, 0, 0, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transition: border-color 0.25s ease, transform 0.25s ease;
}

body.site-cyber .about-page__card:hover {
    border-color: rgba(6, 182, 212, 0.35);
    transform: translateY(-4px);
}

body.site-cyber .about-page__card-kicker {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-2, #ff8a9a);
    margin-bottom: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    background: rgba(6, 182, 212, 0.12);
    border: 1px solid rgba(6, 182, 212, 0.3);
}

body.site-cyber .about-page__card .about-me-caption h2 {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    margin-bottom: 1rem;
}

body.site-cyber .about-page__card .about-me-caption h5 {
    color: var(--brand-2, #ff8a9a) !important;
    font-size: 1rem;
    font-weight: 600;
    border-left-color: var(--brand-2, #ff8a9a);
    margin-bottom: 1rem;
}

/* Kill Bootstrap light section on dark theme */
body.site-cyber .about-page .bg-light,
body.site-cyber .about-page section.bg-light {
    background: transparent !important;
}

@media (min-width: 992px) {
    body.site-cyber .about-page__intro .about-me-img {
        margin-bottom: 0;
    }
}

@media (max-width: 767px) {
    body.site-cyber .about-page__intro {
        padding: 2rem 0 2.5rem;
    }

    body.site-cyber .about-page__panels {
        padding: 2.5rem 0 3rem;
    }

    body.site-cyber .about-page__card {
        margin-bottom: 1.25rem;
    }
}
