.gg--education-single {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #f8fafc;
    color: #475569;
}

.gg--education-hero {
    background: #c495ff;
    color: #fff;
    padding: 14rem 0 4rem;
    text-align: center;
}

.gg--education-hero__inner {
    max-width: 960px;
}

.gg--education-hero .gg--breadcrumbs {
    justify-content: center;
    margin-bottom: 2rem;
}

.gg--education-hero .gg--breadcrumbs,
.gg--education-hero .gg--breadcrumbs a {
    color: rgba(255, 255, 255, 0.88);
}

.gg--education-hero .gg--breadcrumbs span {
    color: rgba(255, 255, 255, 0.88);
}

.gg--education-hero .gg--breadcrumbs a:hover {
    color: #fff;
}

.gg--education-hero__eyebrow,
.gg--education-section-label {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gg--education-hero__eyebrow {
    color: #fff;
}

.gg--education-section-label {
    color: #1e293b;
    padding-left: 0.65rem;
    border-left: 4px solid #c495ff;
}

.gg--education-hero__title {
    color: inherit;
    font-size: 4.5rem;
    line-height: 1.08;
    font-weight: 800;
    margin: 0.75rem 0 1.25rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.gg--education-hero__lead {
    color: rgba(255, 255, 255, 0.92);
    font-size: 16px;
    line-height: 1.65;
    max-width: 760px;
    margin: 0 auto 1.5rem;
}

.gg--education-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
}

.gg--education-hero__meta span,
.gg--education-hero__meta time {
    display: inline-flex;
    align-items: center;
    min-height: 2rem;
    padding: 0.25rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
}

.gg--education-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
    max-width: 960px;
    padding-top: 3rem;
    padding-bottom: 4rem;
}

.gg--education-video,
.gg--education-content,
.gg--education-cta,
.gg--education-comments {
    background: #fff;
    border: 1px solid #e9d5ff;
    border-radius: 8px;
    box-shadow: 0 4px 24px rgba(196, 149, 255, 0.12);
}

.gg--education-video,
.gg--education-content {
    padding: 1.5rem;
}

.gg--education-section-label {
    margin-bottom: 1rem;
}

.gg--education-video__facade {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    padding: 0;
    border: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #0f172a;
    color: #fff;
    cursor: pointer;
}

.gg--education-video__facade img,
.gg--education-video__facade iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.gg--education-video__facade img {
    object-fit: cover;
}

.gg--education-video__facade::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.08), rgba(15, 23, 42, 0.38));
}

.gg--education-video__facade--loaded::after {
    display: none;
}

.gg--education-video__play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 4.75rem;
    height: 4.75rem;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #c495ff;
    color: #1e293b;
    box-shadow: 0 12px 36px rgba(15, 23, 42, 0.28);
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.gg--education-video__facade:hover .gg--education-video__play,
.gg--education-video__facade:focus-visible .gg--education-video__play {
    transform: translate(-50%, -50%) scale(1.06);
    background: #fff;
    color: #c495ff;
}

.gg--education-video__caption {
    position: absolute;
    z-index: 2;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(15, 23, 42, 0.5);
}

.gg--education-video__fallback {
    display: grid;
    gap: 1rem;
    place-items: center;
    min-height: 18rem;
    padding: 2rem;
    border-radius: 8px;
    background: #f3e8ff;
    text-align: center;
    color: #475569;
}

.gg--education-video__link {
    margin: 1rem 0 0;
}

.gg--education-video__link a,
.gg--education-content a {
    color: #1e293b;
    font-weight: 700;
    text-decoration-color: #c495ff;
    text-decoration-thickness: 2px;
    text-underline-offset: 0.18em;
}

.gg--education-content .prose {
    max-width: none;
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.gg--education-content .prose h2,
.gg--education-content .prose h3,
.gg--education-content .prose h4 {
    color: #1e293b;
}

.gg--education-content .prose p,
.gg--education-content .prose li {
    font-size: 16px;
    line-height: 1.7;
}

.gg--education-content .prose blockquote {
    border-left-color: #c495ff;
    background: #f3e8ff;
    border-radius: 0 8px 8px 0;
    padding: 1rem 1.25rem;
}

.gg--education-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem;
    background: #f3e8ff;
}

.gg--education-cta .gg--btn_purple {
    color: #1e293b;
}

.gg--education-cta .gg--btn_purple:hover,
.gg--education-cta .gg--btn_purple:focus-visible {
    background: #fff;
    color: #1e293b;
}

.gg--education-cta h2 {
    margin: 0 0 0.5rem;
    color: #1e293b;
    font-size: 1.45rem;
    line-height: 1.2;
}

.gg--education-cta p {
    margin: 0;
    color: #475569;
    line-height: 1.55;
    font-size: 16px;
}

.gg--education-cta .gg--btn_default {
    flex: 0 0 auto;
}

.gg--education-comments {
    padding: 1.5rem;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.gg--education-comments__thread {
    margin-bottom: 1.5rem;
}

.gg--education-comments__list {
    display: grid;
    gap: 1rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.gg--education-comments__empty {
    margin: 0;
    padding: 1rem 1.25rem;
    border: 1px solid #e9d5ff;
    border-radius: 8px;
    background: #f8efff;
    color: #475569;
    font-size: 16px;
    line-height: 1.55;
}

.gg--education-comments__item {
    display: grid;
    grid-template-columns: 3rem minmax(0, 1fr);
    gap: 0.875rem;
    padding: 1rem;
    border: 1px solid #e9d5ff;
    border-radius: 8px;
    background: #fff;
}

.gg--education-comments__item--pending {
    background: #f8efff;
}

.gg--education-comments__avatar-img {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
}

.gg--education-comments__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.45rem;
    color: #64748b;
    font-size: 0.9rem;
}

.gg--education-comments__meta strong {
    color: #1e293b;
    font-weight: 700;
}

.gg--education-comments__badge {
    display: inline-flex;
    align-items: center;
    min-height: 1.5rem;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: #fef9c3;
    color: #854d0e;
    font-size: 0.78rem;
    font-weight: 700;
}

.gg--education-comments__text {
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
}

.gg--education-comments__text p {
    margin: 0 0 0.75rem;
}

.gg--education-comments__text p:last-child {
    margin-bottom: 0;
}

.gg--education-comments__form {
    display: grid;
    gap: 0.75rem;
}

.gg--education-comments__label {
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 700;
}

.gg--education-comments__form textarea {
    width: 100%;
    min-height: 9rem;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    color: #1e293b;
    font: inherit;
    font-size: 16px;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.gg--education-comments__form textarea:focus {
    outline: 0;
    border-color: #c495ff;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(196, 149, 255, 0.22);
}

.gg--education-comments__hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.gg--education-comments__hint {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
}

.gg--education-comments__session {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    max-width: 100%;
    min-height: 2.25rem;
    padding: 0.45rem 0.75rem;
    border: 1px solid #e9d5ff;
    border-radius: 999px;
    background: #f8efff;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.35;
}

.gg--education-comments__session-dot {
    flex: 0 0 auto;
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 50%;
    background: #f59e0b;
    box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.14);
}

.gg--education-comments__session.is-authenticated {
    border-color: rgba(34, 197, 94, 0.35);
    background: #f0fdf4;
    color: #166534;
}

.gg--education-comments__session.is-authenticated .gg--education-comments__session-dot {
    background: #22c55e;
    box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.14);
}

.gg--education-comments__error {
    margin: 0;
    padding: 0.75rem 1rem;
    border: 1px solid #fecaca;
    border-radius: 8px;
    background: #fee2e2;
    color: #991b1b;
    font-size: 0.9rem;
    line-height: 1.45;
}

.gg--education-comments__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.875rem;
}

.gg--education-comments__submit,
.gg--education-auth-modal__provider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.875rem 1.5rem;
    border: 2px solid #c495ff;
    border-radius: 12px;
    background: #c495ff;
    color: #fff;
    font: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.gg--education-comments__submit:hover,
.gg--education-comments__submit:focus-visible,
.gg--education-auth-modal__provider:hover,
.gg--education-auth-modal__provider:focus-visible {
    background: #fff;
    color: #c495ff;
    box-shadow: 0 0 0 3px rgba(196, 149, 255, 0.26);
}

.gg--education-comments__submit:active,
.gg--education-auth-modal__provider:active {
    transform: scale(0.98);
}

.gg--education-comments__submit:disabled,
.gg--education-auth-modal__provider:disabled {
    cursor: wait;
    opacity: 0.72;
}

.gg--education-comments__spinner {
    display: none;
    width: 1rem;
    height: 1rem;
    margin-left: 0.5rem;
    border: 2px solid rgba(30, 41, 59, 0.25);
    border-top-color: #1e293b;
    border-radius: 50%;
    animation: gg-education-spin 0.8s linear infinite;
}

.gg--education-comments__submit.is-loading .gg--education-comments__spinner {
    display: inline-block;
}

.gg--education-comments__status {
    color: #166534;
    font-size: 0.95rem;
    line-height: 1.45;
}

.gg--education-auth-open {
    overflow: hidden;
}

.gg--education-auth-modal[hidden] {
    display: none;
}

.gg--education-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: 1rem;
}

.gg--education-auth-modal__scrim {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
}

.gg--education-auth-modal__panel {
    position: relative;
    z-index: 1;
    width: min(100%, 32rem);
    padding: clamp(1.5rem, 4vw, 2.25rem);
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(15, 23, 42, 0.28);
    color: #475569;
    transform-origin: center;
    animation: gg-education-modal-in 0.22s ease;
}

.gg--education-auth-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #f8efff;
    color: #1e293b;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
}

.gg--education-auth-modal__close:hover,
.gg--education-auth-modal__close:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(196, 149, 255, 0.28);
}

.gg--education-auth-modal h2 {
    margin: 0 2.5rem 0.75rem 0;
    color: #1e293b;
    font-size: 1.5rem;
    line-height: 1.25;
}

.gg--education-auth-modal p {
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
}

.gg--education-auth-modal__actions {
    display: grid;
    gap: 0.75rem;
    margin: 1.25rem 0 1rem;
}

.gg--education-auth-modal__provider {
    width: 100%;
}

.gg--education-auth-modal__provider:not(.gg--education-auth-modal__provider--primary) {
    background: #fff;
    color: #1e293b;
}

.gg--education-auth-modal__note {
    color: #64748b;
    font-size: 0.9rem;
}

.gg--education-auth-modal__manual {
    margin: 0 0 1rem;
    padding: 0.875rem 1rem;
    border: 1px solid #e9d5ff;
    border-radius: 12px;
    background: #f3e8ff;
    color: #475569;
    font-size: 0.92rem;
}

.gg--education-auth-modal__command {
    display: block;
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.7rem 0.85rem;
    border: 1px solid rgba(196, 149, 255, 0.55);
    border-radius: 10px;
    background: #fff;
    color: #1e293b;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.9rem;
    line-height: 1.35;
    overflow-wrap: anywhere;
    text-align: left;
    cursor: copy;
}

.gg--education-auth-modal__command:hover,
.gg--education-auth-modal__command:focus-visible {
    outline: 0;
    border-color: #c495ff;
    box-shadow: 0 0 0 3px rgba(196, 149, 255, 0.18);
}

@keyframes gg-education-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes gg-education-modal-in {
    from {
        opacity: 0;
        transform: translateY(8px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gg--education-comments__submit,
    .gg--education-auth-modal__provider,
    .gg--education-auth-modal__panel,
    .gg--education-comments__form textarea {
        animation: none;
        transition: none;
    }
}

@media (max-width: 1024px) {
    .gg--education-hero__title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    .gg--education-hero {
        padding: 7.5rem 0 2.75rem;
    }

    .gg--education-hero__title {
        font-size: 2.35rem;
    }

    .gg--education-layout {
        padding-top: 2rem;
        padding-bottom: 3rem;
    }

    .gg--education-video,
    .gg--education-content,
    .gg--education-cta,
    .gg--education-comments {
        padding: 1rem;
    }

    .gg--education-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .gg--education-cta .gg--btn_default {
        width: 100%;
    }

    .gg--education-comments__actions,
    .gg--education-comments__submit {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .gg--education-hero__title {
        font-size: 2.1rem;
    }

    .gg--education-content .prose,
    .gg--education-content .prose p,
    .gg--education-content .prose li {
        font-size: 16px;
    }
}
