/* LessonCreate - Om-side */

:root {
    --lc-about-bg: #f7f7f7;
    --lc-about-text: #1a1a1a;
    --lc-about-muted: #696969;
    --lc-about-deep: #2a3b66;
    --lc-about-accent: #849ccf;
    --lc-about-soft: #e0cff7;
    --lc-about-paper: #ded8ce;
    --lc-about-line: rgba(42, 59, 102, 0.14);
    --lc-about-white: #ffffff;
    --lc-about-shadow: 0 14px 34px rgba(42, 59, 102, 0.08);
}

.lc-om-page-content {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: var(--lc-about-bg);
}

.lc-om-page-content *,
.lc-om-page-content *::before,
.lc-om-page-content *::after {
    box-sizing: border-box;
}

.lc-about {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: 0 20px 72px;
    color: var(--lc-about-text);
}

.lc-about a {
    color: var(--lc-about-deep);
    font-weight: 700;
    text-decoration-color: rgba(132, 156, 207, 0.55);
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.lc-about a:hover {
    color: #1d2948;
    text-decoration-color: var(--lc-about-deep);
}

.lc-about-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    gap: 40px;
    align-items: center;
    margin: 0 0 50px;
    padding: 48px 34px;
    border-radius: 22px;
    background: linear-gradient(135deg, #2a3b66 0%, #26365d 58%, #1b2745 100%);
    box-shadow: 0 24px 58px rgba(42, 59, 102, 0.24);
    overflow: hidden;
}

.lc-about-hero__content {
    color: var(--lc-about-white);
    padding: 8px 0 8px 0;
}

.lc-about-hero h1 {
    margin: 0 0 22px;
    color: var(--lc-about-white);
    font-size: clamp(2rem, 3.15vw, 3rem);
    font-weight: 760;
    line-height: 1.13;
    letter-spacing: 0;
    max-width: 17ch;
}

.lc-about-hero__lead {
    margin: 0;
    color: rgba(255, 255, 255, 0.91);
    font-size: clamp(1rem, 1.55vw, 1.12rem);
    line-height: 1.75;
    max-width: 64ch;
}

.lc-about-hero__media {
    min-height: 500px;
    display: grid;
    grid-template-columns: 0.88fr 1fr;
    grid-template-rows: 1fr 0.78fr;
    gap: 14px;
}

.lc-about-photo {
    margin: 0;
    min-width: 0;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
}

.lc-about-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lc-about-photo--tall {
    grid-row: 1 / 3;
}

.lc-about-photo--wide img {
    object-position: center;
}

.lc-about-photo--portrait img {
    object-position: center 22%;
}

.lc-about-body {
    display: grid;
    gap: 22px;
}

.lc-about-panel,
.lc-about-card,
.lc-about-signoff {
    background: var(--lc-about-white);
    border: 1px solid var(--lc-about-line);
    border-radius: 8px;
    box-shadow: var(--lc-about-shadow);
}

.lc-about-panel {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    padding: clamp(26px, 3.2vw, 42px) clamp(28px, 4.2vw, 56px);
    border-left: 5px solid var(--lc-about-accent);
}

.lc-about-panel--featured {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfd 100%);
}

.lc-about-panel h2 {
    margin: 0 0 18px;
    color: var(--lc-about-deep);
    font-size: clamp(1.28rem, 1.7vw, 1.68rem);
    font-weight: 640;
    line-height: 1.25;
    letter-spacing: 0;
}

.lc-about-card h2 {
    margin: 0 0 18px;
    color: var(--lc-about-deep);
    font-size: clamp(1.45rem, 2.1vw, 1.95rem);
    line-height: 1.2;
    letter-spacing: 0;
}

.lc-about-panel p,
.lc-about-card p,
.lc-about-signoff p {
    margin: 0;
    color: var(--lc-about-text);
    font-size: 1.02rem;
    line-height: 1.78;
}

.lc-about-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.lc-about-card {
    padding: clamp(26px, 3.1vw, 38px);
    position: relative;
    overflow: hidden;
}

.lc-about-card::before {
    content: "";
    display: block;
    width: 56px;
    height: 5px;
    margin: 0 0 22px;
    border-radius: 999px;
    background: var(--lc-about-accent);
}

.lc-about-card:nth-child(2)::before {
    background: var(--lc-about-soft);
}

.lc-about-signoff {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
    padding: clamp(28px, 4vw, 46px);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fc 100%);
    border-left: 5px solid var(--lc-about-deep);
}

.lc-about-signoff__text {
    max-width: 76ch;
}

.lc-about-signoff__text p + p {
    margin-top: 14px;
}

.lc-about-signoff__name {
    color: var(--lc-about-deep) !important;
    font-weight: 800;
}

.lc-about-signoff__profile {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 16px;
    align-items: center;
    padding: 16px;
    border: 1px solid rgba(42, 59, 102, 0.12);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 10px 26px rgba(42, 59, 102, 0.08);
}

.lc-about-signoff__avatar {
    width: 72px;
    height: 72px;
    margin: 0;
    border-radius: 8px;
    overflow: hidden;
    background: var(--lc-about-bg);
}

.lc-about-signoff__avatar img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 18%;
}

.lc-about-linkedin {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 0;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: none;
}

.lc-about-linkedin img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.lc-about-linkedin span {
    color: var(--lc-about-deep);
    font-weight: 800;
    line-height: 1.25;
}

@media (max-width: 1080px) {
    .lc-about-hero {
        grid-template-columns: 1fr;
    }

    .lc-about-hero h1 {
        max-width: 20ch;
    }

    .lc-about-hero__media {
        min-height: 430px;
    }

    .lc-about-signoff {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
}

@media (max-width: 760px) {
    .lc-about {
        padding: 0 14px 56px;
    }

    .lc-about-hero {
        gap: 30px;
        padding: 34px 18px;
        border-radius: 18px;
        margin-bottom: 34px;
    }

    .lc-about-hero__content {
        padding-left: 0;
    }

    .lc-about-hero h1 {
        max-width: 100%;
    }

    .lc-about-hero__media {
        min-height: auto;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 220px 150px;
    }

    .lc-about-photo--tall {
        grid-row: auto;
    }

    .lc-about-photo--wide {
        grid-column: 1 / 3;
        grid-row: 2;
    }

    .lc-about-panel {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .lc-about-grid {
        grid-template-columns: 1fr;
    }

    .lc-about-card,
    .lc-about-signoff {
        padding: 24px 20px;
    }

    .lc-about-signoff__profile {
        grid-template-columns: 56px minmax(0, 1fr);
        padding: 14px;
    }

    .lc-about-signoff__avatar {
        width: 56px;
        height: 56px;
    }
}
