/* Extra layout — does not change slider or hero image sizes */

.site-section {
    scroll-margin-top: 88px;
}

.site-about {
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
}

.about-lead {
    max-width: 720px;
    margin: 0 auto 2rem;
    text-align: center;
    font-size: 1.05rem;
    line-height: 1.75;
    color: #555;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
}

.about-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    border-top: 3px solid #d7698f;
    text-align: center;
}

.about-card i {
    font-size: 2rem;
    color: #d7698f;
    margin-bottom: 0.75rem;
}

.about-card h4 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
    color: #333;
}

.about-card p {
    font-size: 0.9375rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.course-intro {
    max-width: 760px;
    margin: 0 auto 1rem;
    text-align: center;
    color: #666;
    line-height: 1.65;
}

.course-jump-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.course-jump-nav a {
    display: inline-block;
    padding: 0.45rem 0.95rem;
    border: 1px solid #d7698f;
    border-radius: 999px;
    color: #333;
    font-size: 0.8125rem;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.course-jump-nav a:hover,
.course-jump-nav a:focus {
    background: #d7698f;
    color: #fff;
    text-decoration: none;
}

.course-block {
    scroll-margin-top: 88px;
}

.site-video {
    background: #222;
    color: #fff;
}

.site-video .t-title-1 {
    color: #fff;
}

.video-intro {
    max-width: 640px;
    margin: 0 auto 1.5rem;
    text-align: center;
    opacity: 0.9;
    line-height: 1.65;
}

.video-frame-wrap {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.video-frame-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-actions {
    text-align: center;
    margin: 1.5rem 0 0;
}

.video-cta {
    display: inline-block;
    text-decoration: none;
    min-width: 220px;
}

.video-cta:hover {
    text-decoration: none;
}

.site-testimonials {
    background: #fafafa;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 0.5rem;
}

.testimonial-card {
    background: #fff;
    border-radius: 8px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    position: relative;
}

.testimonial-card::before {
    content: "\201C";
    position: absolute;
    top: 0.5rem;
    left: 1rem;
    font-size: 3rem;
    line-height: 1;
    color: #d7698f;
    opacity: 0.35;
}

.testimonial-quote {
    font-size: 0.975rem;
    line-height: 1.7;
    color: #444;
    margin: 0 0 1rem;
    padding-top: 1.25rem;
}

.testimonial-meta {
    font-size: 0.875rem;
    color: #888;
}

.testimonial-meta strong {
    display: block;
    color: #333;
    margin-bottom: 0.15rem;
}

.site-empty-note {
    text-align: center;
    color: #999;
    font-size: 0.9375rem;
    padding: 1rem;
}

.block-4 .hover-img img {
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .site-section {
        scroll-margin-top: 72px;
    }
}
