/* ── Hero Section ────────────────────────── */
.hero-section {
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    background: #1a5a1e;
}

.hero-row {
    height: 700px;
}

/* ── Div 1: Text Column ─────────────────── */
.hero-text-col {
    background: linear-gradient(160deg, #1a5a1e 0%, #2d7a22 50%, #489228 100%);
    display: flex;
    align-items: center;
    padding: 3rem 2.5rem;
    position: relative;
    z-index: 2;
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.35);
}

.hero-text-inner {
    width: 100%;
}

/* ── Div 2: Video Column ────────────────── */
.hero-video-col {
    overflow: hidden;
    height: 700px;
}

.hero-video-col video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ── Badge ───────────────────────────────── */
.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 0.8rem;
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
}

/* ── Title ───────────────────────────────── */
.hero-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #fff;
}

.hero-title span {
    color: #f5a721;
}

/* ── Description ─────────────────────────── */
.hero-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    line-height: 1.65;
}

.hero-description strong {
    color: #fff;
    font-weight: 300;
}

/* ── Buttons ─────────────────────────────── */
.hero-btn {
    border-radius: 10px;
    font-size: 0.88rem;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.hero-btn-primary {
    background: #f5a721;
    color: #101010;
    border: 0;
    box-shadow: 0 4px 16px rgba(254, 159, 67, 0.3);
}

.hero-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(254, 159, 67, 0.42);
    color: #101010;
}

.hero-btn-outline {
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    background: transparent;
}

.hero-btn-outline:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

/* ── Animation ───────────────────────────── */
.hero-reveal {
    animation: heroReveal 0.6s ease both;
}

@keyframes heroReveal {
    from {
        opacity: 0;
        transform: translateY(14px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 991.98px) {
    .hero-section {
        padding-top: 0;
    }

    .hero-row {
        height: auto !important;
        min-height: auto;
    }

    .hero-text-col {
        padding: 2.5rem 1.5rem;
        width: 100%;
    }

    /* Video comes first on mobile via order in HTML */
    .hero-video-col {
        height: 50vh;
        min-height: 240px;
        width: 100%;
    }

    /* Reduce title and description size */
    .hero-title {
        font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    /* Stack CTA buttons */
    .hero-section .d-flex.flex-wrap.gap-3 {
        flex-direction: column;
        gap: 0.75rem !important;
    }

    .hero-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 0;
    }

    .hero-title {
        font-size: 1.7rem !important;
    }

    .hero-text-col {
        padding: 2rem 1.25rem;
    }

    .hero-video-col {
        height: 40vh;
        min-height: 200px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-reveal {
        animation: none;
        opacity: 1;
    }
}

/* ── County Quick Access Cards ─────────────── */
.county-cards-section {
    position: relative;
    z-index: 10;
    margin-top: -7rem;
    padding-top: 0;
    padding-bottom: 3.5rem;
    background: transparent;
}

.county-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.county-card {
    border-radius: 18px;
    overflow: hidden;
    background: #ffffff;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.08),
        0 2px 10px rgba(0, 0, 0, 0.04);
    transition:
        transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
}

.county-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.15),
        0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ── Card Image Area ────────────────────── */
.county-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.county-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.county-card-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.5) 100%
    );
    z-index: 1;
}

/* ── Icon Badge ─────────────────────────── */
.county-card-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #489228;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    box-shadow: 0 4px 14px rgba(72, 146, 40, 0.4);
}

.county-card-badge.badge-orange {
    background: #f5a721;
    box-shadow: 0 4px 14px rgba(245, 167, 33, 0.4);
}

.county-card-badge.badge-teal {
    background: #0ea5e9;
    box-shadow: 0 4px 14px rgba(14, 165, 233, 0.4);
}

.county-card-badge.badge-red {
    background: #ef4444;
    box-shadow: 0 4px 14px rgba(239, 68, 68, 0.4);
}

/* ── Stat Overlay ───────────────────────── */
.county-card-stat {
    position: absolute;
    bottom: 14px;
    right: 16px;
    z-index: 2;
    text-align: right;
}

.county-card-stat .stat-number {
    display: block;
    font-size: 1.85rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.1;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.county-card-stat .stat-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ── Card Body ──────────────────────────── */
.county-card-body {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.county-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 0.6rem;
    line-height: 1.3;
}

.county-card-text {
    font-size: 0.85rem;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    flex-grow: 1;
}

/* ── CTA Button ─────────────────────────── */
.county-card-cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.82rem;
    font-weight: 600;
    color: #489228;
    text-decoration: none;
    padding: 0.55rem 1.25rem;
    border-radius: 10px;
    background: rgba(72, 146, 40, 0.08);
    transition: all 0.25s ease;
    align-self: flex-start;
}

.county-card-cta:hover {
    background: #489228;
    color: #fff !important;
    transform: translateX(4px);
}

.county-card-cta.cta-red {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

.county-card-cta.cta-red:hover {
    background: #ef4444;
    color: #fff !important;
}

/* ── Responsive ─────────────────────────── */
@media (max-width: 991.98px) {
    .county-cards-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .county-cards-section {
        margin-top: -3rem;
    }
}

@media (max-width: 575.98px) {
    .county-cards-grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .county-cards-section {
        margin-top: -2rem;
    }

    .county-card-img {
        height: 170px;
    }

    .county-card-body {
        padding: 1.25rem;
    }
}

/* ── Governor Section ──────────────────────── */
.gov-section {
    background: linear-gradient(135deg, #0f1923 0%, #1a2a38 40%, #14291a 100%);
    padding: 3rem 0;
}

/* ── Photo ─────────────────────────────────── */
.gov-photo-wrapper {
    max-width: 460px;
    position: relative;
}

.gov-photo-glow {
    position: absolute;
    inset: -4px;
    border-radius: 20px;
    background: linear-gradient(135deg, #489228, #f5a721, #489228);
    z-index: 0;
    animation: glowRotate 4s linear infinite;
    opacity: 0.7;
}

@keyframes glowRotate {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

.gov-photo {
    position: relative;
    z-index: 1;
    border-radius: 18px;
    object-fit: cover;
    aspect-ratio: 3/4;
}

.gov-photo-badge {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    letter-spacing: 0.5px;
}

/* ── Message Card ──────────────────────────── */
.gov-message-card {
    position: relative;
}

.gov-section-badge {
    display: inline-flex;
    align-items: center;
    background: rgba(245, 167, 33, 0.15);
    color: #f5a721;
    font-weight: 600;
    font-size: 0.8rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    letter-spacing: 0.3px;
}

.gov-title {
    font-size: 2.2rem;
    font-weight: 300;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.gov-title span {
    color: #f5a721;
}

.gov-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.gov-signature {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.gov-signature img {
    max-height: 55px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

.gov-name {
    display: block;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}

.gov-role {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.82rem;
}

/* ── Achievements Dashboard ────────────────── */
.gov-achievements {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.15rem 1.25rem;
}

.gov-achievements-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gov-achievements-title {
    color: #fff;
    font-weight: 700;
    font-size: 0.88rem;
    margin: 0;
}

.gov-achievements-title i {
    color: #f5a721;
}

.gov-achievements-period {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.78rem;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.06);
    padding: 0.3rem 0.85rem;
    border-radius: 50px;
}

.gov-achievements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.gov-achievement-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    transition: all 0.3s ease;
}

.gov-achievement-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.gov-achievement-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    margin-bottom: 0.45rem;
}

.gov-achievement-info {
    margin-bottom: 0.4rem;
}

.gov-achievement-number {
    display: block;
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.gov-achievement-number small {
    font-size: 0.8rem;
    font-weight: 600;
    opacity: 0.6;
}

.gov-achievement-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    margin-top: 0.1rem;
    line-height: 1.2;
}

.gov-achievement-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.gov-achievement-progress {
    height: 100%;
    border-radius: 4px;
    transition: width 1.5s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── Responsive ────────────────────────────── */
@media (max-width: 991.98px) {
    .gov-photo-wrapper {
        max-width: 300px !important;
    }

    .gov-title {
        font-size: 1.8rem;
    }

    .gov-achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575.98px) {
    .gov-section {
        padding: 3rem 0;
    }

    .gov-title {
        font-size: 1.5rem;
    }

    .gov-achievements-grid {
        grid-template-columns: 1fr;
    }

    .gov-achievements {
        padding: 1.25rem;
    }

    .gov-achievement-number {
        font-size: 1.25rem;
    }
}

/* ── Project Cards (pcard) ─────────────── */
.pcard {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.pcard:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Image Section */
.pcard-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.pcard-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pcard:hover .pcard-img img {
    transform: scale(1.06);
}

.pcard-img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        transparent 40%,
        rgba(0, 0, 0, 0.45) 100%
    );
    pointer-events: none;
}

.pcard-status {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.pcard-status i {
    font-size: 0.4rem;
}

.pcard-status.ongoing {
    background: rgba(72, 146, 40, 0.85);
    color: #fff;
}

.pcard-status.in-progress {
    background: rgba(245, 167, 33, 0.9);
    color: #000;
}

.pcard-category {
    position: absolute;
    bottom: 10px;
    left: 12px;
    z-index: 2;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pcard-category i {
    font-size: 0.65rem;
    opacity: 0.8;
}

/* Body */
.pcard-body {
    padding: 16px 18px 12px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pcard-title {
    font-size: 1rem;
    font-weight: 300;
    color: #1a1a2e;
    margin: 0 0 6px;
    line-height: 1.3;
}

.pcard-desc {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 12px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Stat Chips */
.pcard-stats {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pcard-stat {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #f3f4f6;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    color: #374151;
    transition: background 0.2s;
}

.pcard-stat i {
    font-size: 0.6rem;
    color: #489228;
    opacity: 0.7;
}

.pcard:hover .pcard-stat {
    background: #e8f5e0;
}

/* Footer */
.pcard-footer {
    padding: 0 18px 14px;
    margin-top: auto;
}

.pcard-progress-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.pcard-progress-label {
    font-size: 0.68rem;
    font-weight: 500;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pcard-progress-pct {
    font-size: 0.78rem;
    font-weight: 700;
    color: #489228;
}

.pcard-progress {
    height: 4px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 12px;
}

.pcard-progress-bar {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, #489228, #6ab648);
    transition: width 1s ease;
}

.pcard-cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    color: #489228;
    text-decoration: none;
    transition: all 0.25s ease;
}

.pcard-cta i {
    font-size: 0.65rem;
    transition: transform 0.25s ease;
}

.pcard-cta:hover {
    color: #357a1a;
}

.pcard-cta:hover i {
    transform: translateX(4px);
}

/* ── Citizen Benefits ────────────────────── */
.citizen-benefits {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #fef9ee 100%);
    border: 1px solid rgba(72, 146, 40, 0.12);
    border-radius: 18px;
    padding: 2rem 2.25rem;
}

.cb-title {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 1.05rem;
    margin-bottom: 0.35rem;
}

.cb-title i {
    color: #489228;
}

.cb-subtitle {
    font-size: 0.82rem;
    color: #6b7280;
    margin-bottom: 0;
}

.cb-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.cb-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #fff;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.cb-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.cb-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1a1a2e;
    line-height: 1.15;
}

.cb-label {
    display: block;
    font-size: 0.68rem;
    color: #6b7280;
    line-height: 1.2;
}

/* ── Development Summary Table ───────────── */
.ds-title {
    font-weight: 700;
    color: #1a1a2e;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.ds-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.82rem;
}

.ds-table thead th {
    background: #f8f9fa;
    color: #6b7280;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.7rem 0.85rem;
    border-bottom: 2px solid #e5e7eb;
}

.ds-table thead th:first-child {
    border-radius: 10px 0 0 0;
}

.ds-table thead th:last-child {
    border-radius: 0 10px 0 0;
}

.ds-table tbody td {
    padding: 0.65rem 0.85rem;
    color: #374151;
    border-bottom: 1px solid #f3f4f6;
    vertical-align: middle;
}

.ds-table tbody tr:hover {
    background: #f9fafb;
}

.ds-table tfoot td {
    padding: 0.75rem 0.85rem;
    border-top: 2px solid #e5e7eb;
    background: #f8f9fa;
    color: #1a1a2e;
}

.ds-table tfoot td:first-child {
    border-radius: 0 0 0 10px;
}

.ds-table tfoot td:last-child {
    border-radius: 0 0 10px 0;
}

.ds-progress-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ds-bar {
    flex: 1;
    height: 5px;
    background: #e5e7eb;
    border-radius: 5px;
    overflow: hidden;
    min-width: 50px;
}

.ds-fill {
    height: 100%;
    border-radius: 5px;
}

.ds-progress-wrap span {
    font-weight: 600;
    font-size: 0.75rem;
    color: #374151;
    min-width: 30px;
}

/* ── Highlight Card ──────────────────────── */
.ds-highlight-card {
    background: linear-gradient(135deg, #14291a 0%, #1a3a22 100%);
    border-radius: 16px;
    overflow: hidden;
}

.ds-highlight-header {
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.06);
    color: #f5a721;
    font-weight: 700;
    font-size: 0.88rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ds-highlight-body {
    padding: 0.5rem 1.25rem;
}

.ds-highlight-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ds-highlight-item:last-child {
    border-bottom: none;
}

.ds-hl-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.ds-hl-value {
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
}

.ds-highlight-cta {
    display: block;
    text-align: center;
    padding: 0.85rem;
    background: rgba(72, 146, 40, 0.2);
    color: #6ee7b7;
    font-weight: 600;
    font-size: 0.82rem;
    text-decoration: none;
    transition: all 0.25s ease;
}

.ds-highlight-cta:hover {
    background: #489228;
    color: #fff !important;
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 991.98px) {
    .cb-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .citizen-benefits {
        padding: 1.5rem;
    }
}

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

    .citizen-benefits {
        padding: 1.25rem;
    }
}

/* ══════════════════════════════════════════
   News & Events – Corporate Layout
   ══════════════════════════════════════════ */

.ne-section {
    background: #f7f8fa;
    padding: 4.5rem 0;
    border-top: 4px solid #489228;
}

.ne-container {
    padding: 0 3.5%;
}

/* ── Section Header ──────────────────────── */
.ne-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
}

.ne-header__badge {
    display: inline-flex;
    align-items: center;
    font-size: 0.68rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #489228;
    background: rgba(72, 146, 40, 0.1);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 0.6rem;
}

.ne-heading {
    font-size: 2.2rem;
    font-weight: 800;
    color: #1a1a2e;
    margin: 0 0 0.35rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.ne-heading span {
    color: #489228;
    font-weight: 400;
    font-style: italic;
}

.ne-subtext {
    font-size: 0.88rem;
    color: #6b7280;
    margin: 0;
}

.ne-viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #489228;
    text-decoration: none;
    padding: 0.55rem 1.5rem;
    border: 2px solid #489228;
    border-radius: 50px;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.ne-viewall:hover {
    background: #489228;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(72, 146, 40, 0.25);
}

.ne-viewall i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

.ne-viewall:hover i {
    transform: translateX(4px);
}

/* ── 3-Column Grid ───────────────────────── */
.ne-grid {
    display: grid;
    grid-template-columns: 5fr 4fr 3fr;
    gap: 0;
    align-items: start;
}

.ne-col--featured {
    padding-right: 1.75rem;
    border-right: 1px solid #e5e7eb;
}

.ne-col--news {
    padding: 0 1.75rem;
    border-right: 1px solid #e5e7eb;
}

.ne-col--events {
    padding-left: 1.75rem;
}

/* ── Column Headers ──────────────────────── */
.ne-col__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 0.85rem;
    margin-bottom: 1rem;
    border-bottom: 2px solid #1a1a2e;
}

.ne-col__title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #1a1a2e;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0;
}

.ne-col__title i {
    color: #489228;
}

.ne-col__more {
    font-size: 0.7rem;
    font-weight: 600;
    color: #489228;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.25s ease;
}

.ne-col__more:hover {
    color: #357a1c !important;
    gap: 6px;
}

.ne-col__more i {
    font-size: 0.5rem;
}

/* ── Category Labels ─────────────────────── */
.ne-cat {
    display: inline-flex;
    align-items: center;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.4rem;
}

.ne-cat i {
    font-size: 0.3rem;
}

.ne-cat--news { color: #c0392b; }
.ne-cat--infra { color: #2563eb; }
.ne-cat--health { color: #0d9488; }
.ne-cat--event { color: #d97706; }

/* ── Featured Article (Column 1) ─────────── */
.ne-featured {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ne-featured:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.1);
}

.ne-featured__img {
    position: relative;
    overflow: hidden;
    height: 300px;
}

.ne-featured__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.ne-featured:hover .ne-featured__img img {
    transform: scale(1.04);
}

.ne-featured__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.15) 100%);
}

.ne-featured__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 5px 14px;
    border-radius: 6px;
    background: rgba(72, 146, 40, 0.9);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.ne-featured__body {
    padding: 1.25rem 1.35rem 1.4rem;
}

.ne-featured__title {
    font-size: 1.35rem;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0 0 0.65rem;
    letter-spacing: -0.01em;
    transition: color 0.25s ease;
}

.ne-featured:hover .ne-featured__title {
    color: #489228;
}

.ne-featured__excerpt {
    font-size: 0.86rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Source Row */
.ne-source {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ne-source__avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, #489228, #6ab648);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ne-source__name {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #374151;
}

.ne-source__time {
    display: block;
    font-size: 0.68rem;
    color: #9ca3af;
}

/* ── News Cards (Column 2) ───────────────── */
.ne-news-card {
    display: flex;
    gap: 1rem;
    align-items: start;
    text-decoration: none;
    color: inherit;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f1f3;
    transition: all 0.25s ease;
}

.ne-news-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.ne-news-card:hover {
    background: rgba(0,0,0,0.008);
    margin-left: -4px;
    padding-left: 4px;
}

.ne-news-card__img {
    width: 120px;
    height: 90px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
}

.ne-news-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ne-news-card:hover .ne-news-card__img img {
    transform: scale(1.06);
}

.ne-news-card__body {
    flex: 1;
    min-width: 0;
}

.ne-news-card__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
    margin: 0 0 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.ne-news-card:hover .ne-news-card__title {
    color: #489228;
}

.ne-news-card__excerpt {
    font-size: 0.78rem;
    color: #6b7280;
    line-height: 1.55;
    margin: 0 0 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.ne-news-card__time {
    font-size: 0.68rem;
    color: #9ca3af;
}

.ne-news-card__time i {
    font-size: 0.6rem;
}

/* ── Event Items (Column 3) ──────────────── */
.ne-event {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
    padding: 0.75rem 0.5rem;
    margin: 0 -0.5rem;
    border-radius: 10px;
    transition: all 0.25s ease;
    border-bottom: 1px solid #f0f1f3;
}

.ne-event:last-child {
    border-bottom: none;
}

.ne-event:hover {
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
}

.ne-event__date {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #489228, #3a7a20);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ne-event__date--accent {
    background: linear-gradient(135deg, #d97706, #b45309);
}

.ne-event__day {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.ne-event__month {
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.85;
    margin-top: 1px;
}

.ne-event__body {
    flex: 1;
    min-width: 0;
}

.ne-event__title {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.3;
    margin: 0 0 0.3rem;
    transition: color 0.2s ease;
}

.ne-event:hover .ne-event__title {
    color: #489228;
}

.ne-event__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    font-size: 0.68rem;
    color: #9ca3af;
}

.ne-event__meta i {
    font-size: 0.58rem;
    color: #b0b8c4;
}

.ne-event__arrow {
    font-size: 0.6rem;
    color: #d1d5db;
    transition: all 0.25s ease;
    flex-shrink: 0;
    opacity: 0;
}

.ne-event:hover .ne-event__arrow {
    opacity: 1;
    color: #489228;
    transform: translateX(3px);
}

/* ── Responsive ──────────────────────────── */
@media (max-width: 1199.98px) {
    .ne-grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem 0;
    }

    .ne-col--featured {
        grid-column: 1 / -1;
        padding-right: 0;
        border-right: none;
        padding-bottom: 1.75rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .ne-col--news {
        padding-left: 0;
        border-right: 1px solid #e5e7eb;
        padding-right: 1.75rem;
    }

    .ne-col--events {
        padding-left: 1.75rem;
    }

    .ne-featured__img {
        height: 280px;
    }
}

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

    .ne-col--news {
        border-right: none;
        padding-right: 0;
        padding-bottom: 1.5rem;
        margin-bottom: 1.5rem;
        border-bottom: 1px solid #e5e7eb;
    }

    .ne-col--events {
        padding-left: 0;
    }

    .ne-heading {
        font-size: 1.85rem;
    }

    .ne-section {
        padding: 3rem 0;
    }
}

@media (max-width: 767.98px) {
    .ne-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .ne-viewall {
        align-self: flex-start;
    }

    .ne-featured__img {
        height: 220px;
    }

    .ne-featured__title {
        font-size: 1.15rem;
    }

    .ne-container {
        padding: 0 4%;
    }
}

@media (max-width: 575.98px) {
    .ne-news-card__img {
        width: 90px;
        height: 72px;
    }

    .ne-heading {
        font-size: 1.55rem;
    }

    .ne-event__date {
        width: 46px;
        height: 46px;
    }

    .ne-event__day {
        font-size: 1rem;
    }
}

