/* Homepage: What's Happening in UP.
 * Enqueued on the front page by framework/script-handler.php.
 * Edit this file for news-card layout and responsive styles.
 */
body.home #content-section-2 .section-container > .row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
}
body.home #content-section-2 .section-container > .row > .columns,
body.home #content-section-2 .section-container > .row > .columns :is(.row, .columns, .blog-item-wrapper, .blog-item-holder, .kode-blog-list-full, .kode-blog-list-grid, .kode-blog-single-full, .kode-blog-grid-ux, .customUPVoiceFrontpage) {
    display: contents;
}
body.home #content-section-2 .clear,
body.home #content-section-2 .kode-divider-item,
body.home #content-section-2 .row::before,
body.home #content-section-2 .row::after {
    display: none;
}
body.home #content-section-2 .kode-simple-heading,
body.home #content-section-2 .simple-column {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0;
}
body.home #content-section-2 .kode-simple-heading > .col-md-12 {
    padding: 0;
}

body.home .kf_edu2_heading1{
    float: left;
    width: 100%;
    text-align: left;
    font-size: clamp(24px, 2.6vw, 34px);
    margin: 48px 0 24px;
}

.kf_edu2_heading1 h3 {
    color: #2e378c !important;
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
    text-transform: none;
}
body.home #content-section-2 article.blog_3_wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto 1fr;
    align-content: start;
    gap: 16px 8px;
    float: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0 0 24px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7ef;
    border-radius: 12px;
    box-shadow: 0 3px 12px rgb(23 35 75 / 4%);
    transition: border-color 180ms ease, box-shadow 180ms ease;
}
body.home #content-section-2 article.blog_3_wrap:is(:hover, :focus-within) {
    border-color: #c1c6de;
    box-shadow: 0 8px 24px rgb(23 35 75 / 10%);
}
body.home #content-section-2 .blog_3_des {
    display: contents;
}
body.home #content-section-2 .blog_3_des figure {
    grid-column: 1 / -1;
    grid-row: 1;
    float: none;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0;
    overflow: hidden;
    background: #edf0f6;
}
body.home #content-section-2 .blog_3_des figure::before,
body.home #content-section-2 .blog_3_des figcaption,
body.home #content-section-2 .kode-audio {
    display: none;
}
body.home #content-section-2 figure .kode-blog-thumbnail,
body.home #content-section-2 figure .kode-blog-thumbnail > a {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
}
body.home #content-section-2 figure .kode-blog-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
body.home #content-section-2 .blog_3_sidebar {
    position: static;
    grid-column: 1;
    grid-row: 2;
    display: flex;
    align-items: center;
    gap: 5px;
    width: auto;
    margin: 0 0 0 18px;
    padding: 0;
}
body.home #content-section-2 .blog_3_sidebar .blog-comment,
body.home #content-section-2 .blog_3_sidebar i {
    display: none;
}
body.home #content-section-2 .blog_3_sidebar > li {
    float: none;
    width: auto;
    padding: 0;
    border: 0;
    background: transparent;
}
body.home #content-section-2 .blog_3_sidebar span {
    color: #58627a;
    font-size: 13px;
    font-weight: 600;
    line-height: 22px;
}
body.home #content-section-2 .blog-post-meta {
    grid-column: 2;
    grid-row: 2;
    float: none;
    width: auto;
    margin: 0 18px 0 0;
    padding: 0;
}
body.home #content-section-2 .blog-post-meta li,
body.home #content-section-2 .blog-post-meta li a,
body.home #content-section-2 .blog-post-meta li em {
    float: none;
    margin: 0;
    padding: 0;
    border: 0;
    color: #687187;
    font-size: 12px;
    font-style: normal;
    line-height: 22px;
}
body.home #content-section-2 .blog-post-meta li em {
    margin-left: 4px;
}
body.home #content-section-2 .blog-post-meta li i {
    margin-right: 5px;
}
body.home #content-section-2 .kode-blog-content {
    grid-column: 1 / -1;
    grid-row: 3;
    float: none;
    width: auto;
    margin: 0;
    padding: 0 18px;
}
body.home #content-section-2 .kode-blog-content > a {
    display: block;
    color: #25305b;
    font-size: clamp(.875rem, .8vw, 1.6rem);
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: anywhere;
    text-decoration: none;
}
body.home #content-section-2 .kode-blog-content > a:is(:hover, :focus-visible) {
    color: #2e378c;
    text-underline-offset: 3px;
}
.btn-readmore {
    min-height: 44px;
    margin: 0 0 12px;
    padding: 10px 18px;
    border: 1px solid #2e378c;
    border-radius: 6px;
    background: #2e378c;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
}
body.home #content-section-2 a:has(.btn-readmore) {
    text-decoration: none !important;
}
body.home #content-section-2 .btn-readmore {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 9px;
    min-height: 44px;
    margin: 0 0 12px;
    padding: 11px 24px !important;
    border: 1px solid rgba(209, 169, 104, 0.52) !important;
    border-radius: 10px !important;
    background: linear-gradient(135deg, #2e378c 0%, #20286b 100%) !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    letter-spacing: 0.07em !important;
    line-height: 1.2 !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    box-shadow: 0 6px 18px rgba(32, 40, 107, 0.22) !important;
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        background 220ms ease,
        border-color 220ms ease,
        box-shadow 220ms ease !important;
}
body.home #content-section-2 .btn-readmore :is(span, strong, em) {
    color: inherit !important;
    font: inherit !important;
    letter-spacing: inherit !important;
    text-transform: inherit !important;
}
body.home #content-section-2 .btn-readmore::after {
    content: "\2192";
    font-size: 15px;
    line-height: 1;
    color: #f4d89e;
    transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms ease;
}
body.home #content-section-2 .btn-readmore:is(:hover, :focus-visible) {
    transform: translateY(-2px);
    border-color: #d1a968 !important;
    background: linear-gradient(135deg, #232b73 0%, #161d52 100%) !important;
    box-shadow: 0 12px 26px rgba(22, 29, 82, 0.30) !important;
    color: #ffffff !important;
    text-decoration: none !important;
}
body.home #content-section-2 .btn-readmore:is(:hover, :focus-visible)::after {
    transform: translateX(4px);
    color: #ffffff;
}
@media (max-width: 1100px) {
    body.home #content-section-2 .section-container > .row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    body.home #content-section-2 .section-container > .row {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }
    body.home #content-section-2 .btn-readmore {
        width: 100%;
        float: none !important;
        padding: 12px 20px !important;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.home #content-section-2 article.blog_3_wrap,
    body.home #content-section-2 .btn-readmore,
    body.home #content-section-2 .btn-readmore::after {
        transition: none !important;
    }
}
