@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Syne:wght@400;500;600;700;800&display=swap');

/* ===================================
   NEWS SECTION - RESPONSIVE
   =================================== */
.news {
    display: flex;
    flex-direction: column;
    gap: clamp(25px, 4vw, 40px);
    /* Smart Padding for Centered Content */
    padding: clamp(40px, 8vh, 80px) max(20px, calc((100% - var(--max-width)) / 2));
    background: linear-gradient(180deg, #0F172A 0%, #1E293B 40%, #F8FAFC 100%);
    position: relative;
    overflow: hidden;
}

/* Section Title */
.newstop h1 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--white);
    margin-bottom: clamp(10px, 2vw, 20px);
    border-left: 5px solid var(--accent-color);
    padding-left: clamp(10px, 2vw, 20px);
}

/* Main Layout Wrapper */
.news-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: clamp(20px, 4vw, 40px);
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    align-items: stretch;
}

/* --- Left Column: Featured Update --- */
.news-featured {
    flex: 1 1 450px;
    min-height: 350px;
}

.feat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: clamp(16px, 2vw, 24px);
    padding: clamp(30px, 5vw, 60px) clamp(25px, 4vw, 50px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    transition: transform 0.4s ease;
}

.feat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
}

/* Featured Badge */
.feat-badge {
    background: #FACC15;
    color: #0F172A;
    padding: clamp(6px, 1vw, 8px) clamp(12px, 1.5vw, 16px);
    border-radius: 50px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(11px, 1vw, 13px);
    text-transform: uppercase;
    letter-spacing: 1px;
    align-self: flex-start;
    margin-bottom: clamp(15px, 2.5vw, 25px);
    box-shadow: 0 4px 10px rgba(250, 204, 21, 0.3);
}

.feat-card h1 {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: clamp(1.5rem, 3.5vw, 2.625rem);
    color: var(--white);
    line-height: 1.1;
    margin-bottom: clamp(10px, 2vw, 20px);
    max-width: 100%;
}

.feat-card p {
    font-family: var(--font-body);
    font-size: clamp(0.9375rem, 1.5vw, 1.125rem);
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: clamp(20px, 4vw, 40px);
    max-width: 100%;
}

/* Featured Footer */
.feat-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: clamp(15px, 2.5vw, 25px);
    gap: 15px;
}

.feat-footer span {
    color: rgba(255, 255, 255, 0.6);
    font-size: clamp(12px, 1.2vw, 14px);
    font-family: var(--font-body);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feat-footer span i {
    color: var(--accent-color);
}

.read-more {
    background: var(--white);
    border: none;
    color: var(--primary-color);
    padding: clamp(10px, 1.2vw, 12px) clamp(18px, 2vw, 24px);
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-head);
    font-size: clamp(12px, 1.2vw, 14px);
    font-weight: 700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}

.read-more:hover {
    background: var(--accent-color);
    color: var(--white);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(6, 182, 212, 0.4);
}

/* --- Right Column: News List --- */
.news-list-container {
    flex: 1 1 350px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: clamp(16px, 2vw, 24px);
    padding: clamp(20px, 3vw, 35px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    max-width: 500px;
}

.list-header {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(15px, 3vw, 30px);
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: clamp(10px, 1.5vw, 15px);
    gap: 10px;
}

.list-header h3 {
    font-family: var(--font-head);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    color: var(--primary-color);
    font-weight: 800;
    letter-spacing: -0.5px;
}

.view-all {
    font-family: var(--font-body);
    font-size: clamp(12px, 1.2vw, 14px);
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-all::after {
    content: '→';
    transition: transform 0.2s;
}

.view-all:hover::after {
    transform: translateX(3px);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.5vw, 15px);
}

.news-item {
    display: flex;
    gap: clamp(12px, 2vw, 20px);
    padding: clamp(10px, 1.5vw, 15px);
    border-radius: 16px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    cursor: default;
}

.news-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(5px);
}

/* Date Box */
.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 2px solid #f1f5f9;
    border-radius: 12px;
    min-width: clamp(60px, 6vw, 75px);
    height: clamp(60px, 6vw, 75px);
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.news-date .day {
    font-family: var(--font-head);
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.news-date .month {
    font-family: var(--font-body);
    font-size: clamp(9px, 1vw, 11px);
    color: #64748b;
    text-transform: uppercase;
    font-weight: 700;
    margin-top: 4px;
    letter-spacing: 0.5px;
}

/* News Details */
.news-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.news-details h4 {
    font-family: var(--font-head);
    font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 5px;
    line-height: 1.3;
}

.news-details p {
    font-family: var(--font-body);
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    color: #64748b;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

/* ===================================
   GALLERY SECTION - RESPONSIVE
   =================================== */
.gallery {
    display: flex;
    flex-direction: column;
    gap: clamp(25px, 4vw, 40px);
    /* Smart Padding Logic */
    padding: clamp(40px, 8vh, 80px) max(20px, calc((100% - var(--max-width)) / 2));
    background-color: var(--bg-color);
    width: 100%;
    margin: 0;
}

.gallerytext {
    display: flex;
    justify-content: center;
    text-align: center;
}

.gallerytext h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-family: var(--font-head);
    font-weight: 700;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: -2px;
}

.gallerypics {
    display: flex;
    flex-direction: column;
    gap: clamp(15px, 3vw, 30px);
}

.gallpictop,
.gallpicbot {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: clamp(15px, 3vw, 30px);
}

.gallpictop div,
.gallpicbot div {
    height: clamp(180px, 20vw, 250px);
    border-radius: clamp(12px, 2vw, 20px);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-normal);
}

.gallpictop div:hover,
.gallpicbot div:hover {
    transform: scale(1.05);
    z-index: 2;
    box-shadow: var(--shadow-md);
}

.gallpictop img,
.gallpicbot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.gallpictop div:hover img,
.gallpicbot div:hover img {
    transform: scale(1.1);
}

/* ===================================
   RESPONSIVE BREAKPOINTS
   =================================== */
@media screen and (max-width: 900px) {
    .news-wrapper {
        flex-direction: column;
    }

    .news-featured {
        min-height: auto;
    }

    .news-list-container {
        max-width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .feat-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .news-date {
        flex-direction: row;
        width: auto;
        height: auto;
        padding: 8px 12px;
        gap: 8px;
    }

    .news-date .month {
        margin-top: 0;
    }
}