.elementor-1134 .elementor-element.elementor-element-0203e36{--display:flex;--gap:0px 0px;--row-gap:0px;--column-gap:0px;--margin-top:-9px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;}.elementor-1134 .elementor-element.elementor-element-724eaad{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1134 .elementor-element.elementor-element-d36f4a2{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1134 .elementor-element.elementor-element-13c1531{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1134 .elementor-element.elementor-element-13c1531:not(.elementor-motion-effects-element-type-background), .elementor-1134 .elementor-element.elementor-element-13c1531 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#F7F7F7;}.elementor-1134 .elementor-element.elementor-element-3639710{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-1134 .elementor-element.elementor-element-fc3445a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}:root{--page-title-display:none;}/* Start custom CSS for container, class: .elementor-element-13c1531 *//* --- JEF News Grid System (Fixed) --- */

:root {
    --jef-green: #00C158;
    --jef-blue: #0009c1;
    --jef-berry: #c10069;
    --jef-dark: #1d0f5c;
    --jef-gray: #919195;
    --bg-light: #f7f7f7;
}

/* 1. The Grid Container */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    font-family: 'Poppins', sans-serif;
    
    /* New: Constraint & Centering */
    width: 100%;
    max-width: 1200px; /* Matches the header width */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Safety padding for mobile */
}

/* 2. The Card Shell */
.news-card {
    background: #ffffff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    border: 1px solid rgba(0,0,0,0.02);
}

.news-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* 3. Image Thumbnail & Zoom Effect */
.card-thumb {
    height: 220px;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.news-card:hover .card-thumb img {
    transform: scale(1.1);
}

/* 4. Floating Category Tags */
.category-tag {
    position: absolute;
    top: 20px;
    left: 20px;
    padding: 6px 14px;
    border-radius: 50px;
    color: white;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    z-index: 2;
}

/* Color Logic */
.tag-event { background-color: var(--jef-green); }
.tag-news { background-color: var(--jef-blue); }
.tag-opinion { background-color: var(--jef-berry); }

/* 5. Card Body & Typography */
.card-body {
    padding: 25px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.meta-date {
    font-size: 13px;
    color: var(--jef-gray);
    margin-bottom: 10px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}
.meta-date i { color: var(--jef-green); }

.card-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--jef-dark);
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s;
}

.news-card:hover .card-title a { color: var(--jef-green); }

.card-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    flex-grow: 1;
}

/* 6. Footer & Interactive Arrow */
.card-footer {
    border-top: 1px solid #f0f0f0;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.read-more-txt {
    font-size: 14px;
    font-weight: 700;
    color: var(--jef-dark);
    transition: color 0.3s;
}

.arrow-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--jef-dark);
}

/* Hover Interaction */
.news-card:hover .arrow-circle {
    background-color: var(--jef-green);
    border-color: var(--jef-green);
    color: white;
    transform: rotate(-45deg); 
}

.news-card:hover .read-more-txt {
    color: var(--jef-green);
}

/* --- News Header Styles --- */
.news-header-wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    font-family: 'Poppins', sans-serif;
    
    /* New: Constraint & Centering */
    width: 100%;
    max-width: 1200px; /* Stops it from getting too wide */
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px; /* Prevents text from hitting edge on mobile */
}

.news-title h2 {
    font-size: 42px;
    font-weight: 700;
    color: #1d0f5c;
    margin: 0;
    line-height: 1;
}

.news-title span {
    color: #00C158;
}

.view-all-btn {
    text-decoration: none;
    color: #1d0f5c;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 2px solid #00C158;
    padding-bottom: 4px;
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    color: #00C158;
    border-color: #1d0f5c;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .news-header-wrap {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    .news-title h2 {
        font-size: 32px;
    }
}/* End custom CSS */