.tab_navi {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: space-between;
}

.tab_navi a,
#branch_tab select {
    padding: 13.5px 35px;
    line-height: 1;
    border: 2px solid #DEDEDE;
    border-radius: 49px;
    margin: 0;
    width: auto;
    letter-spacing: 0;
}

#branch_tab select {
    padding-top: 0;
    padding-bottom: 0;
    font-family: 'Anuphan-400';
    color: #000;
    height: 45px;
}

.tab_navi a.current_active,
.tab_navi a:hover,
.tab_navi a:focus {
    color: #fff;
    background-color: #33556D;
    border-color: #33556D;
}

.search_input {
    border: 2px solid #DEDEDE;
    border-radius: 36px;
    margin-bottom: 40.5px;
}

.search_input input[type=text] {
    padding: 0 7px;
    margin: 0;
    border: none;
    font-size: 16px;
    line-height: 46px;
    color: #9B9B9B;
    font-family: 'Anuphan-400';
    font-weight: 400;
    letter-spacing: 0;
}

.related_posts {
    display: grid;
    grid-gap: 38px;
}

.related_posts .item {
    display: flex;
    gap: 24px;
    flex-wrap: nowrap !important;
}

.related_posts .item .thumbnail {
    flex: 0 0 189px;
}

.related_posts h4,
.related_posts .meta,
.related_posts p {
    line-height: 28px;
    margin: 0;
}

.related_posts h4 {
    font-size: 18px;
}

.related_posts .meta,
.related_posts p {
    font-size: 14px;
}

.related_posts .meta {
    color: #101D2E;
}

.related_posts p {
    color: #7E858E;
}

.branch {
    background: #FFFFFF;
    border: 1px solid #DEDEDE;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 24px;
}

#branch_list {
    gap: 16px;
}

.branch * {
    margin: 0;
}

.branch .thumbnail {
    height: 185px;
    width: 100%;
    margin-bottom: 16px;
    border-radius: 8px;
}

.branch .location,
.branch .accom {
    font-size: 14px;
    font-family: 'Anuphan-500';
}

.branch h3 {
    line-height: 35px;
    margin-bottom: 8px;
    font-size: 16px;
    letter-spacing: 0;
    font-family: 'Anuphan-500';
}

.branch .accom {
    font-family: 'Anuphan-500';
    font-size: 14px;
    margin-bottom: 20px;
}

.branch .short {
    font-family: 'Anuphan-400';
    font-size: 16px;
    border-top: 2px solid #101D2E;
    padding-top: 20px;
    line-height: 25px;
}

.branch .location,
.branch .accom,
.branch .short {
    color: #101D2E;
}

.branch .location {
    margin-bottom: 8px;
    line-height: 20px;
}

.branch .thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.branch svg {
    width: 16px;
    height: 16px;
    display: inline-block;
    vertical-align: middle;
}

.grid {
    display: grid;
    gap: 15px;
    margin-bottom: 40px;
}

.grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 30px 0;
}

.pagination>a {
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 30px;
    text-align: center;
    line-height: 30px;
    color: #33556D;
    border: 1px solid #33556D;
}

.pagination a.active,
.pagination a:hover {
    background-color: #33556D;
    color: #fff;
}

@media only screen and (min-width: 480px) {
    .grid {
        gap: 15px;
    }

    .grid-sm-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (min-width: 992px) {
    .grid {
        gap: 30px;
    }

    .grid-md-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-md-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (min-width: 1199px) {
    .grid {
        gap: 48px;
    }

    .grid-lg-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.swiper-button {
    flex-direction: row-reverse !important;
}