.primay__color {
    color: #1e9e87;
}

.secondary__color {
    color: #113397;
}

.light__color {
    color: #000000;
}

.dark__color {
    color: #ffffff;
}


.container__card-bg {
    position: relative;
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    background-image: url(../../images/bannerp1.jpg);
    border-radius: 10px;
    margin: 0 0px 50px;
    padding: 10px 0 50px;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.16) 0px 3px 6px, rgba(0, 0, 0, 0.23) 0px 3px 6px;
    /* ป้องกัน overlay ล้นขอบโค้ง */
}

.container__card-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #113395;
    opacity: 0.8;
    /* ปรับความโปร่งใส: 0 (โปร่งใสสุด) ถึง 1 (ทึบสุด) */
    z-index: 1;
    border-radius: 10px;
}

/* ให้เนื้อหาด้านในอยู่เหนือ overlay */
.container__card-bg>* {
    position: relative;
    z-index: 2;
}

.container__bg {
    background-color: #1e9e8791;
    padding: 50px 3%;
    box-shadow: rgba(0, 0, 0, 0.25) 0px 54px 55px, rgba(0, 0, 0, 0.12) 0px -12px 30px, rgba(0, 0, 0, 0.12) 0px 4px 6px, rgba(0, 0, 0, 0.17) 0px 12px 13px, rgba(0, 0, 0, 0.09) 0px -3px 5px;
}

.card-sec {
    position: relative;
    width: 500px;
    height: 300px;
    background: #fff;
    color: #000;
    text-decoration: none;
    color: inherit;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    cursor: pointer;
}


.card__hoverable-sec.hovered {
    transform: translateY(-10px);
    background: #113397;
    box-shadow: rgba(0, 0, 0, 0.45) 0px 25px 20px -20px;
}

.card__hoverable-sec.hovered .fix__card__content {
    color: #ffffff;
}

.card__title-sec {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 5px;
}


.read__more-sec {
    display: inline-block;
    /* margin-top: 15px; */
    padding: 3px 10px;
    font-size: 0.85rem;
    color: #fff;
    background: #113397;
    border: solid #fff;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
}

.read__more-sec:hover {
    background: #ffffff;
    color: #113397;
}

.hr__expand {
    border: 20px solid #1e9e87;
    width: 100%;
}

.hr__thin {
    border: 2px solid #fff;
    width: 10%;
    margin-bottom: 0;
}

.h2__style {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}

.h2__style {
    text-align: center;
    font-weight: bold;
    text-transform: uppercase;
}