.about-template {
    padding: 0px 0 48px;
}
.row{
    padding-left: 15px;
    padding-right: 15px;

}

.about-template__layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 24px;
    align-items: start;
}

.about-template__title {
    font-size: 36px;
    font-weight: 700;
    color: #1f1f1f;
    margin: 0 0 20px;
}

.about-template__tabs {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-right: 16px;
}

.about-template__tab-link {
    display: inline-block;
    position: relative;
    color: #1a4a88;
    font-weight: 500;
    text-decoration: none;
    padding: 10px 12px;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    text-align: left;
    cursor: pointer;
    border-bottom: 1px solid #e9e9e9;
    font-size: 16px;
}

.about-template__tab-link:hover,
.about-template__tab-link.is-active {
    color: #ffffff;
    border-color: #bcbcbc;
    background: #28a9e2;
}

.about-template__tab-link.is-active {
    z-index: 1;
}

.about-template__tab-link.is-active::after {
    content: "";
    position: absolute;
    top: 0;
    right: -11px;
    bottom: 0;
    border-top: 23px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 38px solid #28a9e2;
}

.about-template__content {
    padding: 10px;
    line-height: 1.8;
}

.about-template__fallback {
    color: #7b7b7b;
}

.about-template-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    margin-bottom: 0;
}

.about-template-banner__image {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
}

.about-template-banner__overlay {
    position: absolute;
    inset: 0;
    height: 230px;
    top: 35%;
    max-width: 1170px;
    margin: 0 auto;
    padding: 0 15px;
}

.about-template-banner__title {
    color: #1a4a88;
    font-size: 45px;
    font-weight: bold;
    text-align: left;
    font-family: "THSarabunNew-bold", sans-serif;
    text-transform: none;
    margin: 0;
    text-shadow: -1px -1px 0 white, 1px -1px 0 white, -1px 1px 0 white, 1px 1px 0 white;
}

.about-template-banner--text-only {
    min-height: 230px;
    background: linear-gradient(180deg, #f5f8fc 0%, #e9eef5 100%);
}

@media (max-width: 991px) {
    .about-template__layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .about-template__tabs {
        border-right: 0;
        padding-right: 0;
        padding-bottom: 12px;
    }
}
@media screen and (max-width: 576px) {
   
    .about-template-banner__image {
        height: 165px;
    }
    .about-template-banner__overlay{
        position: unset;
        height: 55px;
        padding-top: 30px
    }
}
