.elementor-11442 .elementor-element.elementor-element-5601ebb:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-5601ebb > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-image:url("https://investkenya.go.ke/beta/wp-content/uploads/2025/12/Resources.jpg");background-position:bottom center;background-repeat:no-repeat;background-size:cover;}.elementor-11442 .elementor-element.elementor-element-5601ebb > .elementor-background-overlay{background-color:#000000A3;opacity:0.5;transition:background 0.3s, border-radius 0.3s, opacity 0.3s;}.elementor-11442 .elementor-element.elementor-element-5601ebb > .elementor-container{min-height:40vh;}.elementor-11442 .elementor-element.elementor-element-5601ebb{transition:background 0.3s, border 0.3s, border-radius 0.3s, box-shadow 0.3s;}.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-11442 .elementor-element.elementor-element-27861b9{text-align:center;}.elementor-11442 .elementor-element.elementor-element-27861b9 .elementor-heading-title{font-family:"DM Sans", Sans-serif;font-size:50px;font-weight:600;color:#FFFFFF;}.elementor-11442 .elementor-element.elementor-element-6cf52fe{--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;--border-radius:40px 40px 0px 0px;--margin-top:-90px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:020px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-6cf52fe:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-6cf52fe > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-11442 .elementor-element.elementor-element-621c284{padding:0px 0px 0px 0px;}.elementor-11442 .elementor-element.elementor-element-c7f767d{--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;--border-radius:0px 0px 0px 0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-c7f767d:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-c7f767d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-11442 .elementor-element.elementor-element-0e0129c{padding:0px 0px 0px 0px;}.elementor-11442 .elementor-element.elementor-element-55e7631{--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;--border-radius:40px 40px 0px 0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:40px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-55e7631:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-55e7631 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-11442 .elementor-element.elementor-element-48eb93a .elementor-heading-title{font-family:"PT Serif", Sans-serif;font-size:46px;font-weight:700;color:#101110;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-11442 .elementor-element.elementor-element-70a4840{padding:16px 0px 0px 0px;font-family:"DM Sans", Sans-serif;font-size:22px;font-weight:400;line-height:28px;color:#000000;}.elementor-11442 .elementor-element.elementor-element-2c08b6e{--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;--border-radius:0px 0px 0px 0px;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-2c08b6e:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-2c08b6e > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-11442 .elementor-element.elementor-element-6e0c3d0{padding:0px 0px 0px 0px;}.elementor-11442 .elementor-element.elementor-element-287f6f1{--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;--margin-top:30px;--margin-bottom:80px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-287f6f1:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-287f6f1 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-11442 .elementor-element.elementor-element-fb936f3{padding:0px 0px 0px 0px;}.elementor-11442 .elementor-element.elementor-element-bb77ba7{--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;--margin-top:30px;--margin-bottom:80px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-bb77ba7:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-bb77ba7 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-11442 .elementor-element.elementor-element-a9c414f{padding:0px 0px 0px 0px;}.elementor-11442 .elementor-element.elementor-element-3594bb5{margin-top:0px;margin-bottom:0px;padding:10px 40px 80px 40px;}.elementor-11442 .elementor-element.elementor-element-102a5b2{--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;--margin-top:30px;--margin-bottom:80px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-102a5b2:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-102a5b2 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-11442 .elementor-element.elementor-element-97fb3cc{padding:0px 0px 0px 0px;}@media(min-width:1025px){.elementor-11442 .elementor-element.elementor-element-5601ebb:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-5601ebb > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-attachment:scroll;}}@media(max-width:1024px){.elementor-11442 .elementor-element.elementor-element-5601ebb > .elementor-container{min-height:30vh;}.elementor-11442 .elementor-element.elementor-element-5601ebb:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-5601ebb > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:bottom center;background-repeat:no-repeat;background-size:cover;}.elementor-11442 .elementor-element.elementor-element-27861b9{margin:-75px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-11442 .elementor-element.elementor-element-27861b9 .elementor-heading-title{font-size:40px;}.elementor-11442 .elementor-element.elementor-element-6cf52fe{--padding-top:0px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-c7f767d{--padding-top:0px;--padding-bottom:0px;--padding-left:20px;--padding-right:020px;}.elementor-11442 .elementor-element.elementor-element-55e7631{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-48eb93a .elementor-heading-title{font-size:40px;}.elementor-11442 .elementor-element.elementor-element-2c08b6e{--padding-top:0px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-287f6f1{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:30px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-fb936f3{padding:0px 0px 0px 0px;}.elementor-11442 .elementor-element.elementor-element-bb77ba7{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:30px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-a9c414f{padding:0px 0px 0px 0px;}.elementor-11442 .elementor-element.elementor-element-3594bb5{padding:0 0 30 0;}.elementor-11442 .elementor-element.elementor-element-102a5b2{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:10px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-97fb3cc{padding:0px 0px 0px 0px;}}@media(max-width:767px){.elementor-11442 .elementor-element.elementor-element-5601ebb:not(.elementor-motion-effects-element-type-background), .elementor-11442 .elementor-element.elementor-element-5601ebb > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-position:center center;background-repeat:no-repeat;background-size:cover;}.elementor-11442 .elementor-element.elementor-element-27861b9 .elementor-heading-title{font-size:32px;}.elementor-11442 .elementor-element.elementor-element-6cf52fe{--padding-top:0px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-c7f767d{--padding-top:20px;--padding-bottom:0px;--padding-left:20px;--padding-right:20px;}.elementor-11442 .elementor-element.elementor-element-55e7631{--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-48eb93a .elementor-heading-title{font-size:26px;}.elementor-11442 .elementor-element.elementor-element-70a4840{font-size:18px;}.elementor-11442 .elementor-element.elementor-element-2c08b6e{--padding-top:0px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-287f6f1{--padding-top:30px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-bb77ba7{--padding-top:30px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}.elementor-11442 .elementor-element.elementor-element-3594bb5{padding:0px 0px 30px 0px;}.elementor-11442 .elementor-element.elementor-element-102a5b2{--padding-top:10px;--padding-bottom:30px;--padding-left:0px;--padding-right:0px;}}/* Start custom CSS for text-editor, class: .elementor-element-70a4840 */.kh-link {
  color: #DB2129 !important;
  text-decoration-line: underline !important;
  text-decoration-color: #DB2129 !important;
  text-decoration-thickness: 1px;
  text-underline-offset: 2px;
}

.kh-link:hover,
.kh-link:focus {
  color: #292A29 !important;
  text-decoration-color: #292A29 !important;
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-fb936f3 *//* ============================================================
   GLOBAL FIX — REMOVE ELEMENTOR PADDING
   Ensures perfect alignment directly under the image.
============================================================ */
.kenya-news-posts-section .elementor-widget-container,
.kenya-news-posts-section,
.kenya-news-posts-section .news-grid {
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
   POSTS SECTION WRAPPER
============================================================ */
.kenya-news-posts-section {
    width: 100%;
    margin-top: 40px;
}

/* POSTS GRID */
#kenya-news-posts-grid.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
    transition: opacity 0.25s ease;
}

#kenya-news-posts-grid.is-loading {
    opacity: 0.4;
    pointer-events: none;
}

/* ============================================================
   CARD
============================================================ */
.news-card {
    background: #FFFFFF;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}

/* IMAGE — edge-to-edge */
.news-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/* ============================================================
   CARD BODY — FIXED VERSION
   ✔ ONLY top padding
   ✔ NO left/right padding
   ✔ This aligns everything perfectly under the image
============================================================ */
.news-card-body {
    padding: 24px 0 0 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ============================================================
   TAGS
============================================================ */
.news-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.news-card-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #E5E7EB;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================================
   DATE
============================================================ */
.news-card-date {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
}

/* ============================================================
   TITLE
============================================================ */
.news-card-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
}

.news-card-title a:hover {
    text-decoration: underline;
}

/* ============================================================
   READ MORE — FIXED VERSION
   ✔ NO padding-left
   ✔ perfectly aligned to title/date/tags
============================================================ */
.news-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 500;
    color: #0C7B4B;
    text-decoration: none;
    margin-bottom: 26px;
    padding: 0 !important;
}

.news-card-readmore span {
    transform: translateY(-1px);
}

/* ============================================================
   NO RESULTS
============================================================ */
.news-no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #5A5A5A;
    font-size: 16px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    #kenya-news-posts-grid.news-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 35px;
    }

    .news-card-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    #kenya-news-posts-grid.news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-card-title {
        font-size: 20px;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-a9c414f *//* ============================================================
   GLOBAL FIX — REMOVE ELEMENTOR PADDING
   Ensures perfect alignment directly under the image.
============================================================ */
.kenya-news-posts-section .elementor-widget-container,
.kenya-news-posts-section,
.kenya-news-posts-section .news-grid {
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
   POSTS SECTION WRAPPER
============================================================ */
.kenya-news-posts-section {
    width: 100%;
    margin-top: 40px;
}

/* POSTS GRID */
#kenya-news-posts-grid.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
    transition: opacity 0.25s ease;
}

#kenya-news-posts-grid.is-loading {
    opacity: 0.4;
    pointer-events: none;
}

/* ============================================================
   CARD
============================================================ */
.news-card {
    background: #FFFFFF;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}

/* IMAGE — edge-to-edge */
.news-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/* ============================================================
   CARD BODY — FIXED VERSION
   ✔ ONLY top padding
   ✔ NO left/right padding
   ✔ This aligns everything perfectly under the image
============================================================ */
.news-card-body {
    padding: 24px 0 0 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ============================================================
   TAGS
============================================================ */
.news-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.news-card-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #E5E7EB;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================================
   DATE
============================================================ */
.news-card-date {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
}

/* ============================================================
   TITLE
============================================================ */
.news-card-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
}

.news-card-title a:hover {
    text-decoration: underline;
}

/* ============================================================
   READ MORE — FIXED VERSION
   ✔ NO padding-left
   ✔ perfectly aligned to title/date/tags
============================================================ */
.news-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 500;
    color: #0C7B4B;
    text-decoration: none;
    margin-bottom: 26px;
    padding: 0 !important;
}

.news-card-readmore span {
    transform: translateY(-1px);
}

/* ============================================================
   NO RESULTS
============================================================ */
.news-no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #5A5A5A;
    font-size: 16px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    #kenya-news-posts-grid.news-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 35px;
    }

    .news-card-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    #kenya-news-posts-grid.news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-card-title {
        font-size: 20px;
    }
}/* End custom CSS */
/* Start custom CSS for leroux_core_accordion, class: .elementor-element-f1505bb *//* ============================================================
   NUMBER BADGE (RED CIRCLE)
============================================================ */
.qodef-accordion-title .qodef-tab-title {
    position: relative !important;
    padding-left: 56px !important;
}

.qodef-accordion-title .qodef-tab-title::before {
    content: counter(count, decimal-leading-zero) !important;

    width: 40px !important;
    height: 40px !important;
    border-radius: 50% !important;

    background-color: #DB2129 !important;
    color: #FFFFFF !important;

    display: flex !important;
    align-items: center !important;
    justify-content: center !important;

    position: absolute !important;
    top: 50% !important;
    left: 0 !important;
    transform: translateY(-50%) !important;

    font-family: "DM Sans", sans-serif !important;
    font-size: 14px !important;
    font-weight: 800 !important;

    z-index: 5 !important;
}

/* ============================================================
   CLOSED ITEM STYLE
============================================================ */
.qodef-accordion-title {
    background-color: #F0F0F0 !important;
    padding: 22px 30px !important;
    border-radius: 16px !important;
    border: none !important;
    margin-bottom: 18px !important;
}

/* Remove all theme borders for closed items */
.qodef-accordion-title,
.qodef-accordion-title *,
.qodef-accordion .ui-accordion-header {
    border: none !important;
    box-shadow: none !important;
}

/* ============================================================
   OPEN ITEM – TITLE
============================================================ */
.qodef-accordion .ui-accordion-header-active {
    background: #FFFFFF !important;
    border: 1px solid #E0E0E0 !important;
    border-radius: 16px 16px 0 0 !important;
    padding: 22px 30px !important;
    margin-bottom: 0 !important;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    position: relative !important;
    z-index: 10 !important;

    /* Remove ANY possible bottom border */
    border-bottom: none !important;
}

/* ============================================================
   OPEN ITEM – CONTENT BOX
============================================================ */
.qodef-accordion .ui-accordion-header-active + .ui-accordion-content {
    background: #FFFFFF !important;

    /* Match border + connect with title */
    border-left: 1px solid #E0E0E0 !important;
    border-right: 1px solid #E0E0E0 !important;
    border-bottom: 1px solid #E0E0E0 !important;
    border-top: none !important;

    border-radius: 0 0 16px 16px !important;

    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    margin: 0 !important;
    padding: 0 !important;

    position: relative !important;
    z-index: 9 !important;
}

/* Content inner padding */
.qodef-accordion .ui-accordion-header-active + .ui-accordion-content .qodef-accordion-content-inner {
    background: #FFFFFF !important;
    padding: 22px 30px !important;
    border: none !important;
}

/* ============================================================
   REMOVE THE INNER LINE (THE REAL FIX)
============================================================ */
.qodef-accordion,
.qodef-accordion *,
.qodef-accordion::before,
.qodef-accordion::after,
.qodef-accordion .qodef-m::before,
.qodef-accordion .qodef-m::after,
.qodef-accordion .ui-accordion-header::after {
    border: none !important;
    box-shadow: none !important;
    background-image: none !important;
}

/* Remove separators Qode adds */
.qodef-accordion .qodef-accordion-content,
.qodef-accordion .qodef-accordion-content-inner {
    border: none !important;
    background-image: none !important;
    box-shadow: none !important;
}

/* Kill title-holder wrappers that create seams */
.qodef-accordion .qodef-accordion-title-holder,
.qodef-accordion .qodef-accordion-title-inner {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.qodef-accordion .ui-accordion-header-active {

    box-shadow: 10px 4px 12px rgb(217 1 0 / 0%) !important;
}


.qodef-accordion-title {
    margin-top: 20px !important;
}



.qodef-accordion .ui-accordion-header-active + .ui-accordion-content {
    padding-bottom: 10px !important;
}/* End custom CSS */
/* Start custom CSS for section, class: .elementor-element-3594bb5 *//* Force a section to behave like 1530px safe-area */
.your-safe-area {
    max-width: 1530px !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 40px !important;
    padding-right: 40px !important;
    box-sizing: border-box !important;
}

/* Tablet + Mobile: reduce padding to 20px */
@media (max-width: 1024px) {
    .your-safe-area {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }
}/* End custom CSS */
/* Start custom CSS for html, class: .elementor-element-97fb3cc *//* ============================================================
   GLOBAL FIX — REMOVE ELEMENTOR PADDING
   Ensures perfect alignment directly under the image.
============================================================ */
.kenya-news-posts-section .elementor-widget-container,
.kenya-news-posts-section,
.kenya-news-posts-section .news-grid {
    padding: 0 !important;
    margin: 0 !important;
}

/* ============================================================
   POSTS SECTION WRAPPER
============================================================ */
.kenya-news-posts-section {
    width: 100%;
    margin-top: 40px;
}

/* POSTS GRID */
#kenya-news-posts-grid.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 40px;
    width: 100%;
    transition: opacity 0.25s ease;
}

#kenya-news-posts-grid.is-loading {
    opacity: 0.4;
    pointer-events: none;
}

/* ============================================================
   CARD
============================================================ */
.news-card {
    background: #FFFFFF;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none !important;
    display: flex;
    flex-direction: column;
}

/* IMAGE — edge-to-edge */
.news-card-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    margin: 0;
    padding: 0;
}

/* ============================================================
   CARD BODY — FIXED VERSION
   ✔ ONLY top padding
   ✔ NO left/right padding
   ✔ This aligns everything perfectly under the image
============================================================ */
.news-card-body {
    padding: 24px 0 0 0 !important;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* ============================================================
   TAGS
============================================================ */
.news-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
}

.news-card-tag {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: #E5E7EB;
    color: #374151;
    font-size: 14px;
    font-weight: 500;
}

/* ============================================================
   DATE
============================================================ */
.news-card-date {
    font-size: 15px;
    color: #6B7280;
    margin: 0;
}

/* ============================================================
   TITLE
============================================================ */
.news-card-title {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    line-height: 1.35;
    color: #111827;
}

.news-card-title a {
    color: inherit;
    text-decoration: none;
}

.news-card-title a:hover {
    text-decoration: underline;
}

/* ============================================================
   READ MORE — FIXED VERSION
   ✔ NO padding-left
   ✔ perfectly aligned to title/date/tags
============================================================ */
.news-card-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 500;
    color: #0C7B4B;
    text-decoration: none;
    margin-bottom: 26px;
    padding: 0 !important;
}

.news-card-readmore span {
    transform: translateY(-1px);
}

/* ============================================================
   NO RESULTS
============================================================ */
.news-no-results {
    grid-column: 1 / -1;
    text-align: center;
    color: #5A5A5A;
    font-size: 16px;
}

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
    #kenya-news-posts-grid.news-grid {
        grid-template-columns: repeat(2, minmax(0,1fr));
        gap: 35px;
    }

    .news-card-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    #kenya-news-posts-grid.news-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .news-card-title {
        font-size: 20px;
    }
}/* End custom CSS */