/* Shared visual refinements for public inner pages. Presentation only. */

/* Keep language course pages aligned with the homepage's light, editorial hero. */
.language-course-page .german-hero {
    min-height: 0;
    background: #f2f7fd;
    color: #0f172a;
    border-bottom: 1px solid #dbe7f5;
}

.language-course-page .german-hero::before,
.language-course-page .hero-visual-bg {
    display: none;
}

.language-course-page .german-hero-container {
    gap: clamp(34px, 5vw, 68px);
    padding-top: 68px;
    padding-bottom: 76px;
}

.language-course-page .german-hero-content {
    color: #0f172a;
}

.language-course-page .hero-badge {
    margin-bottom: 20px;
    padding: 7px 12px;
    border: 1px solid #d7e3f1;
    border-radius: 7px;
    background: #fff;
    color: #334155;
    backdrop-filter: none;
    font-size: .82rem;
}

.language-course-page .hero-badge i {
    color: #2563eb;
}

.language-course-page .german-hero-content h1 {
    max-width: 15ch;
    margin-bottom: 20px;
    color: #0f172a;
    font-size: clamp(2.6rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.4px;
}

.language-course-page .german-hero-content h1 span {
    color: #4d7a00 !important;
    background: none;
    -webkit-text-fill-color: currentColor;
}

.language-course-page .german-hero-content > p {
    max-width: 52ch;
    margin-bottom: 22px;
    color: #526175;
    font-size: 1.05rem;
    line-height: 1.75;
}

.language-course-page .course-hero-facts li {
    border-color: #d7e3f1;
    border-radius: 7px;
    background: #fff;
    color: #475569;
}

.language-course-page .german-hero-actions .btn-outline-light {
    border: 1px solid #cbd8e8;
    background: #fff;
    color: #334155;
}

.language-course-page .german-hero-actions .btn-outline-light:hover {
    border-color: #93b4e6;
    background: #fff;
    color: #0f172a;
}

.language-course-page .shadow-green {
    box-shadow: none;
}

.language-course-page .german-hero-visual {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-content: center;
    align-items: stretch;
    gap: 12px;
    min-height: 0;
}

.language-course-page .hero-image-wrapper {
    position: relative;
    grid-column: 1 / -1;
    grid-row: 1;
    width: 100%;
    max-width: none;
    aspect-ratio: 1.18 / 1;
    overflow: hidden;
    border: 1px solid #dbe4ef;
    border-radius: 14px;
    background: #e8eff8;
    box-shadow: 0 14px 32px rgba(15, 23, 42, .1);
}

.language-course-page .hero-main-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: 0;
    object-fit: contain;
    object-position: center bottom;
}

.language-course-page .glass-stat-card {
    position: static;
    z-index: auto;
    min-width: 0;
    padding: 12px;
    gap: 10px;
    border: 1px solid #dfe6ef;
    border-radius: 9px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 3px 10px rgba(15, 23, 42, .04);
    backdrop-filter: none;
    animation: none;
}

.language-course-page .stat-icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 8px;
    background: #f2f7e6;
    color: #4d7a00;
    font-size: 1.05rem;
}

.language-course-page .stat-info h4 {
    margin-bottom: 3px;
    color: #172b4d;
    font-size: .82rem;
    line-height: 1.35;
}

.language-course-page .stat-info span {
    color: #64748b;
    font-size: .72rem;
    line-height: 1.4;
}

/* Use one restrained card language across the course content. */
.language-course-page .bento-card,
.language-course-page .story-card,
.language-course-page .pricing-card,
.language-course-page .course-faq-list details,
.language-course-page .course-stories article,
.language-course-page .enroll-content,
.language-course-page .enroll-form-box {
    border-radius: 12px;
}

.language-course-page .bento-card {
    transition: border-color .18s ease, box-shadow .18s ease;
}

.language-course-page .bento-card:hover {
    transform: translateY(-2px);
}

.language-course-page .pricing-card {
    box-shadow: 0 4px 14px rgba(15, 23, 42, .045);
}

.language-course-page .pricing-footer .btn-purple {
    border-radius: 8px;
}

/* About page: calmer hero, tighter editorial rhythm, and flatter value cards. */
html body .about-hero {
    padding: 82px 0 76px;
    border-bottom: 1px solid #dbe7f5;
    background: #f2f7fd !important;
    color: #0f172a;
    text-align: left;
}

html body .about-hero::before,
html body .about-hero::after {
    display: none;
}

html body .about-hero-content {
    max-width: 1200px;
}

html body .about-hero h1 {
    max-width: 100%;
    margin-bottom: 16px;
    color: #0f172a;
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.4px;
}

html body .about-hero h1 span {
    color: #2563eb;
}

html body .about-hero p {
    max-width: 56ch;
    margin: 0;
    color: #526175;
    font-size: 1.05rem;
    line-height: 1.75;
}

html body .core-values-section,
html body .mission-section {
    padding-top: 76px;
    padding-bottom: 76px;
}

html body .section-heading-wrapper {
    margin-bottom: 38px;
}

html body .section-heading-wrapper h2,
html body .mission-content h2 {
    font-size: clamp(2rem, 3.2vw, 2.6rem);
    font-weight: 700;
    line-height: 1.2;
}

html body .section-heading-wrapper p,
html body .mission-content p {
    font-size: 1rem;
    line-height: 1.75;
}

html body .values-grid {
    gap: 16px;
}

html body .value-card {
    gap: 16px;
    padding: 28px;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
    transition: border-color .18s ease, box-shadow .18s ease;
}

html body .value-card:hover {
    transform: translateY(-2px);
    border-color: #c7d6eb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

html body .value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    border-radius: 9px;
    font-size: 1.25rem;
}

html body .value-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

/* Keep the founder content, photo and layout while lightening the reading surface. */
html body .founder-section {
    background: #f3f7fc !important;
    color: #0f172a !important;
}

html body .founder-section .founder-content h2,
html body .founder-section .founder-content p {
    color: #0f172a !important;
}

html body .founder-section .founder-content p:not(:last-child) {
    color: #526175 !important;
}

/* Contact page: remove the overlapping-card effect and keep contact actions easy to scan. */
html body .contact-premium-hero {
    padding: 78px 0 68px;
    border-bottom: 1px solid #dbe7f5;
    background: #f2f7fd !important;
    color: #0f172a;
    text-align: left;
}

html body .contact-premium-hero::before,
html body .contact-premium-hero::after {
    display: none;
}

html body .contact-hero-content {
    max-width: 1200px;
}

html body .contact-hero-badge {
    margin-bottom: 16px;
    padding: 7px 12px;
    border: 1px solid #d7e3f1;
    border-radius: 7px;
    background: #fff;
    color: #334155;
    backdrop-filter: none;
    font-size: .82rem;
}

html body .contact-hero-badge i {
    color: #2563eb;
}

html body .contact-premium-hero h1 {
    max-width: 17ch;
    margin-bottom: 16px;
    color: #0f172a;
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -1.4px;
}

html body .contact-premium-hero h1 span {
    color: #2563eb;
}

html body .contact-premium-hero p {
    max-width: 58ch;
    margin: 0;
    color: #526175;
    font-size: 1.05rem;
    line-height: 1.75;
}

html body .contact-premium-container {
    margin-top: 0;
    padding: 34px 0 76px;
}

html body .contact-info-grid {
    max-width: 1200px;
    gap: 16px;
    margin-bottom: 32px;
}

html body .contact-info-card {
    padding: 26px 22px;
    border: 1px solid #e0e7ef;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .04);
    transition: border-color .18s ease, box-shadow .18s ease;
}

html body .contact-info-card:hover {
    transform: translateY(-2px);
    border-color: #c7d6eb;
    box-shadow: 0 8px 18px rgba(15, 23, 42, .07);
}

html body .contact-icon-wrapper {
    width: 48px;
    height: 48px;
    margin-bottom: 15px;
    border-radius: 9px;
    background: #eff6ff;
    font-size: 1.25rem;
}

html body .contact-info-card:hover .contact-icon-wrapper {
    background: #eff6ff;
    color: #2563eb;
}

html body .contact-info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

html body .contact-main-grid {
    max-width: 900px;
    gap: 24px;
}

html body .contact-form-box,
html body .contact-map-box {
    border: 1px solid #e0e7ef;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, .045);
}

html body .contact-form-box {
    padding: clamp(24px, 4vw, 38px);
}

html body .contact-form-box h2 {
    font-size: clamp(1.7rem, 3vw, 2rem);
    font-weight: 700;
}

html body .premium-form-group input,
html body .premium-form-group select,
html body .premium-form-group textarea {
    min-height: 48px;
    border-radius: 8px;
    border-color: #cbd5e1;
    background: #fff;
}

html body .premium-submit-btn {
    padding: 13px 22px;
    border: 0;
    border-radius: 8px;
    background: #2563eb;
    box-shadow: none;
    font-size: 1rem;
    font-weight: 600;
}

html body .premium-submit-btn:hover {
    transform: translateY(-1px);
    background: #1d4ed8;
    box-shadow: 0 6px 16px rgba(37, 99, 235, .16);
}

@media (max-width: 992px) {
    .language-course-page .german-hero-container {
        padding-top: 48px;
        padding-bottom: 52px;
    }

    .language-course-page .german-hero-visual {
        width: min(100%, 720px);
        margin-inline: auto;
    }

    html body .contact-info-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    html body .about-hero,
    html body .contact-premium-hero {
        padding: 56px 0 48px;
    }

    html body .contact-info-grid {
        grid-template-columns: 1fr;
    }

    html body .contact-premium-container {
        padding: 24px 0 56px;
    }
}

@media (max-width: 600px) {
    .language-course-page .german-hero-container {
        padding-top: 42px;
        padding-bottom: 48px;
    }

    .language-course-page .german-hero-visual {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .language-course-page .glass-stat-card.card-3 {
        grid-column: 1 / -1;
    }

    html body .about-hero h1,
    html body .contact-premium-hero h1 {
        font-size: clamp(2.25rem, 10vw, 2.8rem);
    }
}
