/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    padding-top: 110px; /* Add padding to body to account for fixed header */
}

/* Header and Navigation */
header {
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    min-height: 110px; /* Set minimum height for header */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 2.5vw;
    max-width: 1600px;
    margin: 0 auto;
    width: 100%;
}

.logo-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex: 1 1 0;
    min-width: 0;
    margin-right: 0;
    gap: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-right: 0;
}

.logo img {
    height: 90px;
    width: auto;
    object-fit: contain;
    display: block;
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.language-switcher {
    display: flex;
    gap: 0.9rem;
    margin-right: 32px;
}

.lang-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.lang-btn img {
    width: 24px;
    height: 16px;
    border-radius: 2px;
}

.lang-btn.active {
    background-color: #f0f0f0;
    box-shadow: 0 0 0 2px #3498db;
}

.lang-btn:hover {
    background-color: #f0f0f0;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #3498db;
}

/* Hero Section */
#hero {
    background: linear-gradient(135deg, #3498db, #2c3e50);
    color: white;
    padding: 6.5rem 5% 4rem;
    text-align: center;
    margin-top: 110px; /* offset for fixed header */
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

/* Hero Flex Layout */
.hero-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.hero-text {
    flex: 1.2 1 0;
    text-align: left;
    min-width: 260px;
}
.hero-text h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-align: left;
}
.hero-text p {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    color: #eaf6fb;
    text-align: left;
}
.hero-tagline {
    background: #fff;
    color: #2c3e50;
    font-weight: 700;
    border-radius: 8px;
    display: inline-block;
    padding: 0.5rem 1.2rem;
    margin-bottom: 1.2rem;
    font-size: 1.08rem;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
}
.hero-cta {
    display: inline-block;
    margin-top: 0.2rem;
    font-size: 1.15rem;
    padding: 1rem 2.2rem;
    background: #ff9800;
    color: #fff;
    font-weight: 700;
    border-radius: 7px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.13);
    border: none;
    transition: background 0.2s, box-shadow 0.2s;
    animation: pulsate 1.2s infinite;
}
.hero-cta:hover {
    background: #e67e22;
    color: #fff;
}
.hero-image {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}
.hero-image img {
    width: 100%;
    max-width: 320px;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.13);
    object-fit: cover;
    background: #fff;
}
@media (max-width: 900px) {
    .hero-flex { flex-direction: column; gap: 1.5rem; padding: 0 0.5rem; }
    .hero-text h1 { font-size: 2rem; }
    .hero-image img { max-width: 200px; }
    .hero-text { text-align: center; }
    .hero-text h1, .hero-text p { text-align: center; }
    .header-logo-img { height: 44px; margin-right: 8px; }
    .logo { gap: 8px; }
}

/* Sections */
section {
    padding: 4rem 5%;
}

h2 {
    text-align: center;
    margin-bottom: 3rem;
    color: #2c3e50;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.about-image img:hover {
    transform: scale(1.05);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #444;
}

/* Teachers Section */
.teachers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.teacher-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.teacher-card:hover {
    transform: translateY(-5px);
}

.teacher-image img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    background: #f8f9fa;
    display: block;
    margin: 0 auto;
}

.teacher-card h3 {
    padding: 1rem;
    color: #2c3e50;
}

.teacher-card p {
    padding: 0 1rem 1rem;
    color: #666;
}

@media (max-width: 900px) {
    .teachers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 600px) {
    .teachers-grid {
        grid-template-columns: 1fr;
    }
}

/* Test Section (Revamped) */
.test-flex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    background: #f8f9fa;
    padding: 3rem 2% 3rem 2%;
    max-width: 1200px;
    margin: 0 auto 0 auto;
    border-radius: 18px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.06);
}
.test-image-left {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}
.test-image-left img {
    width: 100%;
    max-width: 260px;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.08);
    object-fit: cover;
}
.test-center-content {
    flex: 1.2 1 0;
    text-align: center;
    padding: 0 2rem;
}
.test-center-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.2rem;
}
.test-center-content p {
    font-size: 1.15rem;
    color: #444;
    margin-bottom: 2rem;
}
.test-image-right {
    flex: 1 1 0;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}
.computer-img {
    width: 100%;
    max-width: 260px;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(44,62,80,0.08);
    object-fit: cover;
    display: block;
}
#test-btn-overlay {
    position: absolute;
    left: 0.5%;
    top: 2.5%;
    transform: translate(0, 0);
    z-index: 2;
    padding: 0.6rem 1.1rem;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(44,62,80,0.13);
    background: rgba(52,152,219,0.95);
}
@media (min-width: 900px) {
    #test-btn-overlay {
        left: -20px;
        right: auto;
        top: 48px;
        transform: translate(0, 0);
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}
.pulsate {
    animation: pulsate 1.2s infinite;
}
@keyframes pulsate {
    0% { box-shadow: 0 0 0 0 rgba(52,152,219,0.7); }
    70% { box-shadow: 0 0 0 16px rgba(52,152,219,0.0); }
    100% { box-shadow: 0 0 0 0 rgba(52,152,219,0.0); }
}
@media (max-width: 1100px) {
    .test-flex { flex-direction: column; gap: 1.5rem; padding: 2rem 2% 2rem 2%; }
    .test-center-content { padding: 0 0.5rem; }
    .test-image-left img, .computer-img { max-width: 200px; }
    #test-btn-overlay { left: 50%; top: 80%; transform: translate(-50%, 0); }
}
@media (max-width: 700px) {
    .test-flex { flex-direction: column; gap: 1rem; padding: 1.2rem 1% 1.2rem 1%; }
    .test-image-left img, .computer-img { max-width: 140px; }
    .test-center-content h2 { font-size: 1.3rem; }
    .test-center-content p { font-size: 1rem; }
    #test-btn-overlay { left: 50%; top: 80%; transform: translate(-50%, 0); font-size: 1rem; padding: 0.7rem 1.2rem; }
}

/* Buttons */
.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background-color: #3498db;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #2980b9;
}

/* Footer */
footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 5% 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-section h3 {
    margin-bottom: 1rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: white;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: #3498db;
}

.footer-bottom {
    text-align: center;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .hero-content h1 {
        font-size: 2rem;
    }
}

/* Modal Styles */
.class-title {
    font-size: 1.25rem;
    font-weight: bold;
    color: #2c3e50;
    margin: 1rem 0 0.5rem 0;
    text-align: center;
    letter-spacing: 0.5px;
}

.class-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    padding: 1.5rem 1rem 1.5rem 1rem;
    margin-bottom: 1.5rem;
    min-width: 220px;
    max-width: 320px;
    margin-left: auto;
    margin-right: auto;
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
    max-width: 1100px;
    margin: 2rem auto 3rem auto;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1001;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 62, 80, 0.6);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex !important;
}

.modal-content {
    background: #fff;
    margin: auto;
    padding: 2.5rem 2.5rem 2rem 2.5rem;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    max-width: 420px;
    width: 95%;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
    animation: modalFadeIn 0.3s;
}

.modal-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
    text-align: center;
}

@keyframes modalFadeIn {
    from { transform: translateY(40px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.7rem;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}
.close-modal:hover {
    color: #e74c3c;
}

#join-class-form label {
    font-weight: 600;
    margin-bottom: 0.2rem;
    color: #2c3e50;
}
#join-class-form input[type="text"],
#join-class-form input[type="email"],
#join-class-form input[type="tel"] {
    width: 100%;
    padding: 0.8rem;
    margin-bottom: 1.1rem;
    border: 1.5px solid #dbe2ef;
    border-radius: 7px;
    font-size: 1.08rem;
    background: #f8f9fa;
    transition: border 0.2s;
}
#join-class-form input[type="text"]:focus,
#join-class-form input[type="email"]:focus,
#join-class-form input[type="tel"]:focus {
    border: 1.5px solid #3498db;
    outline: none;
}
#join-class-form button[type="submit"] {
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 7px;
    padding: 1rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 0.5rem;
}
#join-class-form button[type="submit"]:hover {
    background: #217dbb;
}

/* Responsive Modal */
@media (max-width: 500px) {
    .modal-content {
        padding: 1rem;
        max-width: 98vw;
    }
}

.class-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 0.5rem auto;
    display: block;
}

.join-class-btn {
    background: #3498db;
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.7rem 1.5rem;
    font-size: 1.08rem;
    font-weight: 600;
    margin-top: 0.7rem;
    margin-bottom: 0.2rem;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(44,62,80,0.07);
    transition: background 0.2s, transform 0.2s;
    letter-spacing: 0.5px;
}
.join-class-btn:hover {
    background: #217dbb;
    transform: translateY(-2px) scale(1.04);
}

#confetti-popup {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 62, 80, 0.6);
    justify-content: center;
    align-items: center;
}
#confetti-popup .popup-content {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(44,62,80,0.18);
    max-width: 350px;
    width: 90%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    position: relative;
}
.confetti-message {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.2rem;
}
#confetti-canvas {
    width: 100%;
    height: 100px;
    margin: 0 auto;
    display: block;
}
#confetti-popup button {
    display: none;
}

.header-social-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.8rem;
    margin-left: 0;
    margin-right: 0;
    flex: 1 1 0;
}
.header-social-links a {
    color: #2c3e50;
    font-size: 2.2rem;
    transition: color 0.2s;
}
.header-social-links a:hover {
    color: #3498db;
}
@media (min-width: 900px) {
    .logo-social { width: 48%; }
    .header-social-links { justify-content: center; }
    .logo { gap: 2px; }
}
@media (max-width: 900px) {
    .logo-social { flex-direction: column; gap: 0.5rem; margin-right: 0; width: auto; }
    .logo { height: 70px; max-width: 140px; gap: 2px; margin-right: 10px; }
    .header-social-links { margin-left: 0; gap: 0.7rem; margin-right: 10px; }
    .language-switcher { gap: 0.5rem; margin-right: 10px; }
}

.about-carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 520px;
}
.carousel-arrow {
    background: #fff;
    border: none;
    color: #3498db;
    font-size: 2.5rem;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, color 0.2s;
    margin: 0 1rem;
    z-index: 2;
}
.carousel-arrow:hover {
    background: #3498db;
    color: #fff;
}
.carousel-track {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}
.carousel-slide {
    min-width: 100%;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
    opacity: 0;
    pointer-events: none;
    position: absolute;
    left: 0;
    top: 0;
}
.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 1;
    transform: translateX(0);
}
@media (max-width: 900px) {
    .about-carousel { min-height: 420px; }
    .carousel-arrow { font-size: 2rem; width: 38px; height: 38px; }
}
@media (max-width: 600px) {
    .about-carousel { min-height: 320px; }
    .carousel-arrow { font-size: 1.5rem; width: 28px; height: 28px; }
}

#about, #teachers, #classes {
    scroll-margin-top: 120px;
}

.new-footer-layout {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
    padding-bottom: 2rem;
}
.contact-section a {
    color: #fff;
    text-decoration: underline;
    word-break: break-all;
}
.contact-section a:hover {
    color: #ff9800;
}
.map-section iframe {
    width: 100%;
    max-width: 400px;
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
}
.photo-section {
    display: flex;
    align-items: center;
    justify-content: center;
}
.footer-center-photo {
    width: 100%;
    max-width: 340px;
    height: 220px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(44,62,80,0.10);
    object-fit: cover;
}
@media (max-width: 1100px) {
    .new-footer-layout {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    .map-section iframe, .footer-center-photo { max-width: 100%; height: 180px; }
}
@media (max-width: 700px) {
    .new-footer-layout {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .map-section iframe, .footer-center-photo { max-width: 100%; height: 140px; }
}

.curriculum-image {
    object-fit: contain !important;
    background: #fff;
}

.header-logo-img {
    height: 80px;
    width: auto;
    margin-right: 18px;
    display: inline-block;
    vertical-align: middle;
}
.header-logo-img:last-child {
    margin-right: 0;
}

@media (max-width: 500px) {
    header {
        min-height: 90px; /* Reduce header height on mobile */
    }
    
    body {
        padding-top: 90px; /* Adjust body padding for mobile */
    }
    
    nav {
        padding: 0.5rem 1rem;
        flex-wrap: wrap;
    }
    
    .logo-social {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .logo {
        height: 50px;
        max-width: 100px;
        gap: 2px;
    }
    
    .header-logo-img {
        height: 40px;
    }
    
    .header-logo-img:last-child {
        height: 40px;
    }
    
    .header-social-links {
        display: flex;
        gap: 0.5rem;
        margin: 0;
    }
    
    .nav-right {
        width: 100%;
        justify-content: space-between;
        gap: 0.5rem;
    }
    
    .language-switcher {
        margin-right: 0;
    }
    
    .lang-btn img {
        width: 20px;
        height: 14px;
    }
    
    nav ul {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: center;
    }
    
    nav ul li {
        margin: 0;
    }
    
    nav a {
        font-size: 0.9rem;
        padding: 0.3rem 0.5rem;
    }
    
    .cta-button {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
}

html {
    scroll-padding-top: 90px;
}
@media (max-width: 500px) {
    html {
        scroll-padding-top: 70px;
    }
    .logo-social {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        gap: 0.5rem;
        margin-bottom: 0.2rem;
    }
    .logo {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 2px;
        margin-right: 0.5rem;
        flex-shrink: 0;
        min-width: 110px;
    }
    .header-logo-img {
        height: 44px;
        margin-right: 2px;
    }
    .header-logo-img:last-child {
        height: 38px;
        max-width: 80px;
        margin-right: 0;
    }
    .header-social-links {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 0.7rem;
        margin-left: 0.5rem;
        margin-right: 0;
        position: static;
        font-size: 1.3rem;
        flex-shrink: 0;
    }
    .nav-right {
        flex-direction: column;
        align-items: stretch;
        gap: 0.2rem;
        width: 100%;
    }
    .language-switcher {
        gap: 0.3rem;
        margin-right: 0.5rem;
        margin-bottom: 0.2rem;
    }
    .lang-btn img {
        width: 18px;
        height: 12px;
    }
    nav ul {
        flex-direction: column;
        gap: 0.2rem;
        width: 100%;
        padding-left: 0;
        margin-bottom: 0.2rem;
    }
    nav ul li {
        width: 100%;
        text-align: left;
    }
    nav a {
        font-size: 1rem;
        padding: 0.5rem 0.7rem;
        display: block;
        width: 100%;
        box-sizing: border-box;
    }
    .cta-button {
        display: block;
        width: 100%;
        margin: 0.2rem 0 0.2rem 0;
        font-size: 1rem;
        padding: 0.7rem 0.7rem;
        box-sizing: border-box;
    }
    /* Stack nav links and button into two lines */
    .nav-right {
        flex-direction: column;
        align-items: stretch;
    }
    nav ul {
        margin-bottom: 0.2rem;
    }
}

/* News Page Card Grid Styles */
.news-grid {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  overflow-x: auto;
  padding: 1rem 0 2rem 0;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.news-card {
  flex: 0 0 300px;
  width: 300px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 4px rgba(44,62,80,0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
  scroll-snap-align: start;
  cursor: pointer;
  position: relative;
}
.news-card:hover {
  box-shadow: 0 8px 32px rgba(44,62,80,0.18);
  transform: translateY(-6px) scale(1.03);
}
.news-card:hover::after {
  content: '\2192'; /* right arrow */
  position: absolute;
  bottom: 1.1rem;
  right: 1.1rem;
  font-size: 1.5rem;
  color: #3498db;
  opacity: 0.7;
  pointer-events: none;
  transition: opacity 0.2s;
}
.news-card-media {
  width: 100%;
  aspect-ratio: 1/1;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.news-card-media img,
.news-card-media iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
  display: block;
}
.news-card-body {
  padding: 0.8rem 0.8rem 1.1rem 0.8rem;
  display: flex;
  flex-direction: column;
  flex: 1 1 0;
}
.news-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 0.3rem;
  line-height: 1.1;
}
.news-card-summary {
  font-size: 0.92rem;
  color: #444;
  margin-bottom: 0.05rem;
  line-height: 1.3;
}
.news-grid::-webkit-scrollbar {
  display: none;
}
.news-grid {
  -ms-overflow-style: none;
  scrollbar-width: none;
} 