/* Header - Premium Glassmorphism */
.site-header {
    background-color: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-soft);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-base);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.main-nav {
    margin-left: auto;
    margin-right: var(--sp-4);
}


/* Menu Toggle Button */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    cursor: pointer;
    padding: var(--sp-2);
    z-index: 1001;
    transition: var(--transition-base);
}

.menu-toggle.active {
    transform: rotate(90deg);
}


@media (max-width: 992px) {
    .menu-toggle {
        display: block;
        order: 3; /* Always on the right on mobile */
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: var(--glass-bg);
        backdrop-filter: var(--glass-blur);
        -webkit-backdrop-filter: var(--glass-blur);
        box-shadow: var(--shadow-premium);
        z-index: 1000;
        transition: var(--transition-base);
        padding: 100px var(--sp-5) var(--sp-5);
    }


    .main-nav.active {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: var(--sp-4);
    }

    .main-nav ul li a {
        font-size: 1.1rem;
        display: block;
        padding: var(--sp-2) 0;
        color: var(--text-main);
    }

    .mobile-only {
        display: block;
        border-top: 1px solid var(--border-soft);
        padding-top: var(--sp-4);
    }
}

@media (min-width: 993px) {
    .mobile-only {
        display: none;
    }
}


.logo {
    display: flex;
    align-items: center;
}

.logo-area {
    display: flex;
    align-items: center;
    gap: var(--sp-4);
}

.header-legal-btn {
    background: linear-gradient(135deg, #1e293b, #0f172a);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 100px;
    font-size: 0.95rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    transition: var(--transition-base);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 992px) {
    .header-legal-btn {
        display: none !important;
    }
}


.header-legal-btn svg {
    color: #eab308;
}

.header-legal-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-premium);
    background: #000;
    color: var(--white) !important;
}

.logo-img {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    gap: var(--sp-6);
}

.main-nav a {
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.95rem;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: var(--transition-base);
}

.main-nav a:hover::after, .main-nav a.active::after {
    width: 100%;
}

/* Footer */
.site-footer {
    background-color: #0f172a;
    color: var(--white);
    padding: var(--sp-8) 0 var(--sp-4);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--sp-8);
    margin-bottom: var(--sp-6);
}

.footer-col .footer-logo {
    height: 60px;
    margin-bottom: 20px;
    filter: none;
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.8;
    margin-bottom: 15px;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: var(--sp-5);
}

.footer-col h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: var(--sp-3);
}

.footer-col ul li a {
    color: var(--text-muted);
    transition: color 0.3s;
}

.footer-col ul li a:hover {
    color: var(--secondary);
    padding-left: var(--sp-1);
}

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
    color: var(--white) !important;
}

.social-links svg {
    width: 18px;
    height: 18px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: #64748b;
    font-size: 0.9rem;
}

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Buttons - Physical Feedback */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    font-size: 1rem;
    gap: var(--sp-2);
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
    color: var(--white) !important;
}

@media (max-width: 500px) {
    .btn-primary {
        width: 100%;
        text-align: center;
    }
}


/* Slider Section */
.slider-section {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-color: #000;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.6);
}

.slide-content {
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
    z-index: 20;
    transform: translateY(30px);
    transition: transform 0.8s ease-out;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-content h1, .slide-content h2 {
    color: var(--white);
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.slide-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    color: var(--white) !important;
}

.about-hero-overlay p {
    font-size: 1.3rem;
    color: var(--white) !important;
    opacity: 0.9;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: none;
    padding: 15px 20px;
    font-size: 24px;
    cursor: pointer;
    z-index: 30;
    transition: background 0.3s;
    border-radius: 5px;
}

/* Slider Section Mobile Adjustments */
@media (max-width: 768px) {
    .slide-content {
        padding: var(--sp-4);
        text-align: center;
        width: 100%;
        left: 0;
        top: 40%;
    }

    .slide-content h2 {
        font-size: 1.75rem;
        margin-bottom: var(--sp-3);
    }

    .slide-content p {
        font-size: 1rem;
        margin-bottom: var(--sp-4);
    }

    .slider-btn {
        padding: 10px 15px;
        font-size: 18px;
    }
}


.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.slider-btn.prev {
    left: 20px;
}

.slider-btn.next {
    right: 20px;
}

.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 30;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active, .dot:hover {
    background: var(--white);
}

/* Forms */
.contact-form {
    max-width: 600px;
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-control {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-soft);
    border-radius: var(--radius-md);
    background-color: var(--bg-main);
    transition: var(--transition-fast);
}

.form-control:focus {
    border-color: var(--primary);
    background-color: var(--white);
    outline: none;
    box-shadow: 0 0 0 4px rgba(0, 91, 181, 0.1);
}

/* Blog Components */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.blog-card {
    background: var(--white);
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

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

.read-more {
    display: inline-block;
    margin-top: 15px;
    font-weight: 600;
}

.post-meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 30px;
}

.post-content h2 {
    margin-top: 30px;
}

/* Services Section */
.services-section {
    padding: 80px 0;
    background-color: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--bg-color);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    border-color: var(--primary);
}

.service-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background-color: rgba(0, 91, 181, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    background-color: var(--primary);
    color: var(--white);
}

.service-icon svg {
    width: 35px;
    height: 35px;
}

.service-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: #222;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

/* Latest Blog Section (News Layout) */
.latest-blog-section {
    padding: 80px 0;
    background-color: var(--bg-color);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--sp-3);
}

@media (min-width: 992px) {
    .latest-blog-section .news-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}


.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-base);
    border: 1px solid var(--border-soft);
    display: flex;
    flex-direction: column;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.news-img-wrapper {
    height: 180px; /* Reduced from 200px */
    overflow: hidden;
}

.news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.news-card:hover .news-img {
    transform: scale(1.08);
}

.news-content {
    padding: 12px 16px; /* Further reduced padding to remove extra white space */
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.news-category {
    display: inline-block;
    color: var(--primary);
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: var(--sp-1);
}

.news-content h3 {
    font-size: 1.1rem;
    margin-bottom: var(--sp-1);
    line-height: 1.3;
}

.news-content h3 a {
    color: var(--text-main);
}

.news-content h3 a:hover {
    color: var(--primary);
}

.news-content p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--sp-3);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-read-more {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: var(--sp-2);
    align-self: flex-start;
}


.news-meta-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-soft);
    padding-top: var(--sp-2);
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Pagination Component */
.pagination {
    display: flex;
    justify-content: center;
    gap: var(--sp-2);
    margin-top: var(--sp-8);
}

.page-link {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 1px solid var(--border-soft);
    color: var(--text-main);
    font-weight: 600;
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.page-link.active, .page-link:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Card Action Links */
.card-contact-link {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    transition: var(--transition-fast);
}

.card-contact-link:hover {
    color: var(--primary);
}


/* Why Sweden Section */
.why-sweden-section {
    padding: var(--sp-8) 0;
    background: radial-gradient(circle at top left, #005bb5, #002b5e);
    color: var(--white);
}

.why-sweden-section p {
    color: var(--white);
    opacity: 0.9;
}

.why-sweden-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.why-text {
    flex: 1;
}

.why-text h2 {
    color: var(--white);
    font-size: 2.8rem;
    margin-bottom: 20px;
}

.why-text p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 30px;
    opacity: 0.9;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.why-list li {
    font-size: 1.05rem;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid var(--secondary);
}

.why-list strong {
    color: var(--secondary);
}

.why-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.stats-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
}

.stat {
    background: var(--white);
    padding: var(--sp-6) var(--sp-4);
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.stat:first-child {
    grid-column: 1 / -1;
    background: var(--primary); /* Use primary for better contrast if needed, or keep secondary and fix text */
    color: var(--white);
    transform: scale(1.05);
}

.stat:first-child h3, 
.stat:first-child span {
    color: var(--white) !important;
}

.stat h3 {
    font-size: 2.2rem;
    margin-bottom: 5px;
    color: var(--primary) !important;
}

.stat span {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-main) !important;
}

@media (max-width: 900px) {
    .why-sweden-content {
        flex-direction: column;
    }
    
    .why-text h2 {
        font-size: 2.2rem;
    }
}

/* Home Contact Section */
.contact-section {
    padding: 100px 0;
    background-color: var(--bg-color);
}

.contact-wrapper {
    display: flex;
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
}

.contact-info {
    flex: 1;
    background: linear-gradient(135deg, #00458a 0%, #002b5e 100%);
    color: var(--white);
    padding: 60px 50px;
}

.contact-info h2 {
    color: var(--white);
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.contact-info p {
    color: var(--white);
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-items {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon svg {
    width: 24px;
    height: 24px;
    color: var(--secondary);
}

.info-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.info-item span {
    opacity: 0.8;
}

.contact-form-container {
    flex: 1.5;
    padding: 60px 50px;
}

.form-row {
    display: flex;
    gap: 20px;
}

.form-row .form-group {
    flex: 1;
}

.form-control,
.form-group select {
    width: 100%;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-color);
    background-color: #fcfcfc;
    transition: all 0.3s;
}

.form-control:focus,
.form-group select:focus,
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 91, 181, 0.1);
    background-color: var(--white);
}

.btn-block {
    width: 100%;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

@media (max-width: 800px) {
    .contact-wrapper {
        flex-direction: column;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .contact-info, .contact-form-container {
        padding: 40px 30px;
    }
}

/* Card Action Buttons (Bottom Right) */
    display: flex;
    flex-direction: column;
}

.service-card p {
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.news-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-content p {
    flex-grow: 1;
}

.news-meta-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

.card-action-btn {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s, color 0.3s;
    display: inline-flex;
    align-items: center;
}

.card-action-btn:hover {
    color: #003f82;
    transform: translateX(5px);
}

/* About Page Styles */
.about-hero {
    position: relative;
    width: 100%;
    height: 450px;
    margin-bottom: 60px;
    overflow: hidden;
}

.about-hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.about-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.about-hero-overlay h1 {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: 15px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.about-hero-overlay p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.about-section {
    max-width: 900px;
    margin: 0 auto 80px;
}

.about-text-block {
    margin-bottom: 50px;
}

.about-text-block h2 {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.about-text-block h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--secondary);
    border-radius: 2px;
}

.about-text-block p {
    font-size: 1.15rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 15px;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.feature-box {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border-top: 4px solid var(--secondary);
    transition: transform 0.3s;
}

.feature-box:hover {
    transform: translateY(-10px);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 91, 181, 0.1);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
}

.feature-box h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #1e293b;
}

.feature-box p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Common Page Header */
.page-header {
    background: linear-gradient(135deg, #005bb5 0%, #003f82 100%);
    padding: 80px 0;
    text-align: center;
    color: var(--white);
    margin-bottom: 60px;
}

.page-header h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
}

.page-header p {
    color: var(--white);
    font-size: 1.2rem;
    opacity: 0.85;
    max-width: 700px;
    margin: 0 auto;
}

/* Contact Page Section */
.contact-page-section {
    padding-bottom: 0;
}

.map-container {
    margin-top: 80px;
    width: 100%;
    line-height: 0; /* Boşluk kalmaması için */
}

.map-container iframe {
    display: block;
}

/* Featured Post */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: stretch;
    height: 450px;
    overflow: hidden;
}

.featured-post > div {
    min-width: 0;
    min-height: 0;
}

.featured-post .news-img-wrapper {
    height: 100%;
}

.featured-post .news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Featured Post Specifics */
.featured-post {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr; /* Image takes slightly more space */
    gap: 0;
    align-items: stretch;
    height: 520px; /* Slightly taller for more breathing room */
}

.featured-post .news-img-wrapper {
    height: 100%;
    aspect-ratio: auto;
}

.featured-post .news-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-post .news-content {
    display: flex;
    flex-direction: column;
    padding: var(--sp-8);
    height: 100%;
    justify-content: center; /* Center content vertically */
}

.featured-post .news-category {
    align-self: flex-start;
}

.featured-post h3 {
    font-size: 2.2rem !important;
    margin-bottom: var(--sp-4) !important;
    line-height: 1.2 !important;
}

.featured-post p {
    font-size: 1.15rem !important;
    color: var(--text-muted) !important;
    margin-bottom: var(--sp-6) !important;
    flex-grow: 0 !important; /* Don't grow in featured view */
}

.featured-post .news-meta-footer {
    margin-top: auto; /* Push to bottom */
    padding-top: var(--sp-4);
    border-top: 1px solid var(--border-soft);
}

@media (max-width: 1024px) {
    .featured-post {
        grid-template-columns: 1fr;
        height: auto;
    }
    
    .featured-post .news-img-wrapper {
        aspect-ratio: 16 / 9;
        height: 300px;
    }
    
    .featured-post .news-content {
        padding: var(--sp-6);
    }
}


/* Stats Grid Mobile Adjustments */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }
    
    .stat-card {
        padding: var(--sp-5);
    }
}

/* News Card Mobile Adjustments */
@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
        gap: var(--sp-4);
    }
    
    .news-card.featured-post {
        grid-template-columns: 1fr;
    }
    
    .news-img-wrapper {
        height: 200px;
    }
}

/* Hide mobile-only contact buttons on desktop */
.mobile-contact-action,
.blog-mobile-contact-btn {
    display: none;
}
