/* ==========================================================
   ICAN NEWS - CLEAN NEWS CARD SYSTEM
   ========================================================== */

/* ----------------------------------------------------------
   NEWS TAB
   ---------------------------------------------------------- */

#info_tab_2 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin: 0 !important;
    padding-bottom: 0 !important;
}


/* ----------------------------------------------------------
   NEWS SECTION
   ---------------------------------------------------------- */

#info_tab_2 > section.my-card {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;

    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}


/* ----------------------------------------------------------
   NEWS SCROLL AREA
   ---------------------------------------------------------- */

#info_tab_2 .myscroll-y {
    height: auto !important;
    min-height: 0 !important;

    max-height: 430px !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow-y: auto !important;
    overflow-x: hidden !important;
}


/* ==========================================================
   NEWS GRID
   ========================================================== */

#info_tab_2 .news-grid {
    display: grid !important;

    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;

    column-gap: 25px !important;
    row-gap: 30px !important;

    width: 100% !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    align-items: start !important;
    align-content: start !important;

    grid-auto-rows: max-content !important;
}


/* ==========================================================
   NEWS CARD
   ========================================================== */

#info_tab_2 .news-card {
    display: block !important;

    width: 100% !important;
    max-width: none !important;

    height: max-content !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    align-self: start !important;
}


/* ==========================================================
   NEWS IMAGE
   ========================================================== */

#info_tab_2 .news-card img {
    display: block !important;

    width: 100% !important;
    height: 192px !important;

    margin: 0 !important;

    object-fit: cover !important;
    object-position: center !important;

    border-radius: 8px !important;
}


/* ==========================================================
   NEWS CARD TEXT AREA
   ========================================================== */

#info_tab_2 .news-card > .news-card-body {
    height: auto !important;
    min-height: 0 !important;

    margin: 8px 0 0 0 !important;
    padding: 0 !important;
}


/* ==========================================================
   HEADLINE
   ========================================================== */

#info_tab_2 .news-card h3 {
    display: block !important;

    height: auto !important;
    min-height: 0 !important;

    margin: 0 0 8px 0 !important;
    padding: 0 !important;

    line-height: 1.3 !important;

    font-weight: 600 !important;
}


/* ==========================================================
   NEWS CONTENT
   ========================================================== */

#info_tab_2 .news-content {
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================
   PARAGRAPH
   ========================================================== */

#info_tab_2 .news-content p {
    height: auto !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;
}


/* ==========================================================
   PREVIEW
   ----------------------------------------------------------
   HIDDEN INITIALLY
   The headline remains visible.
   ========================================================== */

#info_tab_2 .news-preview {
    display: none !important;
}


/* ==========================================================
   FULL ARTICLE
   ----------------------------------------------------------
   HIDDEN INITIALLY
   ========================================================== */

#info_tab_2 .news-full {
    display: none !important;

    height: auto !important;
    max-height: none !important;

    margin: 0 !important;
    padding: 0 !important;

    opacity: 1 !important;
}


/* ==========================================================
   EXPANDED NEWS
   ----------------------------------------------------------
   When Read More is clicked, show the preview and full article.
   ========================================================== */

#info_tab_2 .news-content.expanded .news-preview {
    display: inline !important;
}


#info_tab_2 .news-content.expanded .news-full {
    display: inline !important;

    height: auto !important;
    max-height: none !important;

    opacity: 1 !important;
}


/* ==========================================================
   READ MORE / READ LESS BUTTON
   ========================================================== */

#info_tab_2 .read-more-btn {
    display: inline-block !important;

    width: auto !important;
    height: auto !important;
    min-height: 0 !important;

    margin: 8px 0 0 0 !important;
    padding: 0 !important;

    background: transparent !important;
    border: none !important;

    line-height: 1.3 !important;

    font-size: 0.875rem !important;
    font-weight: 600 !important;

    color: #2563eb !important;

    cursor: pointer !important;
}


#info_tab_2 .read-more-btn:hover {
    color: #1e40af !important;
}


/* ==========================================================
   REMOVE UNNECESSARY BOTTOM SPACE
   ========================================================== */

#info_tab_2 .news-card,
#info_tab_2 .news-card-body,
#info_tab_2 .news-content,
#info_tab_2 .news-content p,
#info_tab_2 .read-more-btn {
    margin-bottom: 0 !important;
}


/* ==========================================================
   DESKTOP
   ========================================================== */

@media (min-width: 1101px) {

    #info_tab_2 .news-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}


/* ==========================================================
   TABLET
   ========================================================== */

@media (min-width: 601px) and (max-width: 1100px) {

    #info_tab_2 .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

}


/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 600px) {

    #info_tab_2 .news-grid {
        grid-template-columns: 1fr !important;

        column-gap: 0 !important;
        row-gap: 25px !important;
    }

    #info_tab_2 .news-card img {
        height: 200px !important;
    }

}