/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://elementor.com/
 Description:  Child theme for Hello Elementor
 Author:       Your Name
 Template:     hello-elementor
 Version:      1.0.0
*/

/* Import parent styles */
@import url("../hello-elementor/style.css");

/* =========================================
   Pyidaungsu Font – Regular (400)
   ========================================= */
@font-face {
    font-family: 'Pyidaungsu';
    src: url('assets/fonts/Pyidaungsu-2.5.3_Regular.woff2') format('woff2'),
        url('assets/fonts/Pyidaungsu-2.5.3_Regular.woff') format('woff'),
        url('assets/fonts/Pyidaungsu-2.5.3_Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}


/* =========================================
   Pyidaungsu Font – Bold (700)
   ========================================= */
@font-face {
    font-family: 'Pyidaungsu';
    src: url('assets/fonts/Pyidaungsu-2.5.3_Bold.woff2') format('woff2'),
        url('assets/fonts/Pyidaungsu-2.5.3_Bold.woff') format('woff'),
        url('assets/fonts/Pyidaungsu-2.5.3_Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}


/* =========================================
   Pyidaungsu Font – Numbers
   (this file usually contains numeric glyphs)
   ========================================= */
@font-face {
    font-family: 'Pyidaungsu';
    src: url('assets/fonts/Pyidaungsu-2.5.3_Numbers.woff2') format('woff2'),
        url('assets/fonts/Pyidaungsu-2.5.3_Numbers.woff') format('woff'),
        url('assets/fonts/Pyidaungsu-2.5.3_Numbers.ttf') format('truetype');
    font-weight: 500;
    /* You can change based on your preference */
    font-style: normal;
    font-display: swap;
}

* {
    padding: 0;
    margin: 0;
}

.bank_detail_container .font-16{
	font-size: 16px;
}

.weight-700{
	font-weight: 700;
}

.p-color{
color: #991D29 !important;
}

/* .custom-posts {
    padding: 50px 80px;
} */

.custom-height-1{
	height: 1px;
}


/* ===============================
   START: HEADER STYLING
================================= */
.elementor-element.elementor-element-12650d6.elementor-widget.elementor-widget-html{
	min-width: auto;
}

/* ===============================
   END: HEADER STYLING
================================= */


/* ===============================
   GRID LAYOUT
================================= */
.news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    padding: 50px 80px;
}

/* ===============================
   CARD BASE
================================= */
.news-card {
    position: relative;
    height: 420px;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-decoration: none;
    transition: transform 0.3s ease;
}

/* .news-card:hover {
    transform: translateY(-4px);
} */

/* ===============================
   OVERLAY
================================= */
/* .news-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.25) 20%,
        rgba(0, 0, 0, 0.85) 100%
    );
    z-index: 1;
} */

/* ===============================
   CONTENT WRAPPER
================================= */
.news-content {
    color: #fff;
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /* 🔥 key */
    height: 100%;
}

/* ===============================
   TOP SECTION
================================= */
.news-top {
    max-width: 100%;
}

.news-date {
    font-size: 14px;
    font-family: inter;
    font-weight: 700;
    opacity: 0.9;
    display: block;
    margin-bottom: 6px;
}

.news-title {
    font-size: 16px;
    font-family: inter;
    font-weight: 700;
    line-height: 1.3;
    margin: 0;

    /* clamp to 3 lines */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===============================
   BOTTOM SECTION (HOVER)
================================= */
/* .news-bottom {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.35s ease;
}

.news-card:hover .news-bottom {
    opacity: 1;
    transform: translateY(0);
}*/

.news-desc {
    font-size: 14px;
    font-family: inter;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 12px;

    /* clamp description */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-expand {
    font-size: 16px;
    font-weight: 600;
    font-family: inter;
    opacity: 0.9;
    display: flex;
    align-items: center;
    justify-content: end;
    gap: 6px;
}

/* arrow animation */
/* .news-expand::after {
    content: "→";
    transition: transform 0.3s ease;
}

.news-card:hover .news-expand::after {
    transform: translateX(5px);
} */

/* ===============================
   PAGINATION
================================= */
.news-pagination {
    margin-top: 50px;
    display: flex;
    justify-content: center;
}

.news-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px;
    height: 42px;
    margin: 0 6px;
    border-radius: 50%;
    background: #f2f2f2;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.news-pagination .page-numbers:hover {
    background: #000;
    color: #fff;
}

.news-pagination .page-numbers.current {
    background: #000;
    color: #fff;
    font-weight: 600;
}

.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
    border-radius: 30px;
    padding: 0 18px;
}


/* ===============================
   PAGE BANNER
================================= */
.page-banner {
    position: relative;
    margin: 50px 40px 0;
    border-radius: 28px;
    overflow: hidden;
    background: linear-gradient(135deg, #991D29 0%, #330A0E 100%);
}

.page-id-4309 .page-banner {
	height:auto;
}

/* Overlay */
.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    z-index: 1;
}



/* Content wrapper */
.page-banner-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
}

/* Text block */
.banner-text {
    padding: 20px 60px;
    color: #fff;
}

/* Title */
.page-title {
    font-size: 38px;
    font-weight: 700;
    font-family: 'Inter';
    text-transform: uppercase;
    margin-bottom: 18px;
}

/* Description */
.page-description {
    font-size: 17px;
    line-height: 26px;
    font-weight: 500;
    font-family: 'Inter';
    color: #000000;
}

/* Tablet */
@media (max-width: 1023px) {
    .page-banner {
        margin: 0 16px;
    }

}

@media (min-width: 768px) and (max-width: 1023px) {
    .page-description {
        font-size: 15px;
    }

}

/* Mobile */
@media (max-width: 767px) {
    .page-banner {
        height: auto;
        padding: 40px 0;
        margin: 0;
        border-radius: unset;
    }

    .page-title {
        font-size: 22px;
    }

    .page-description {
        font-size: 12px;
        line-height: 22px;
    }

    .banner-text {
        padding: 0 20px;
    }
}



/* ===============================
   RESPONSIVE
================================= */
@media (max-width: 1200px) {
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1023px) {
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 20px 20px;
        gap: 20px;
    }
    
}


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

    /* .news-card {
        height: 360px;
    } */

    /* Always show description on mobile */
    /* .news-bottom {
        opacity: 1;
        transform: translateY(0);
    } */
}




/* ----------------START ROLLING TITLE(icon list) ANIMATION----------------- */
/* Icon list text container */
.rolling-title-animate .elementor-icon-list-text {
  display: inline-block;
  height: 1.3em;
  line-height: 1.3em;
  overflow: hidden;
  position: relative;
}

/* SAME label-up CSS */
.rolling-title-animate .label-up {
  display: block;
  height: 100%;
  position: relative;
  top: 0%;
  transition: 0.3s;
}

/* SAME hover logic */
.rolling-title-animate li:hover .label-up {
  top: -100%;
}


/* ------------------END ROLLING TITLE(icon list) ANIMATION------------------ */







/* ---------------START ROLLING BTN ANIMATION-------------------- */

.rolling-button-animate .elementor-button-text {
  display: inline-block;
  height: 1.3em;
  line-height: 1.3em;
  overflow: hidden;
  position: relative;
}

/* SAME label-up CSS */
.rolling-button-animate .label-up {
  display: block;
  height: 100%;
  position: relative;
  top: 0%;
  transition: 0.3s;
}

/* SAME hover logic */
.rolling-button-animate .elementor-button:hover .label-up {
  top: -100%;
}


/* ----------------END ROLLING BTN ANIMATION----------------- */