
/************************************************
* 
* main
* 
************************************************/
a.bt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc( 3rem + 1.2vw );
    height: calc( 3rem + 1.2vw );
    color: #fff;
    background-color: #222;
}
a.bt:hover {
    background-color: rgb(var(--main-rgb)) !important;
}


.item-curved {
    position: relative;
}
.item-curved .edge {
    display: inline-block;
    position: absolute;
    background-color: #fff;
}
.item-curved .edge:before,
.item-curved .edge:after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.item-curved .edge.top-0.start-0 {
    border-radius: 0 0 40px 0;
}
.item-curved .edge.top-0.start-0:before {
    bottom: -40px;
    left: 0;
    box-shadow: -15px -15px 0 0 #fff;
}
.item-curved .edge.top-0.start-0:after {
    top: 0;
    right: -40px;
    box-shadow: -15px -15px 0 0 #fff;
}

.item-curved .edge.top-0.end-0 {
    border-radius: 0 0 0 40px;
}
.item-curved .edge.top-0.end-0:before {
    top: -1px;
    left: -40px;
    box-shadow: 15px -15px 0 0 #fff;
}
.item-curved .edge.top-0.end-0:after {
    bottom: -40px;
    right: -1px;
    box-shadow: 15px -15px 0 0 #fff;
}

.item-curved .edge.bottom-0.start-0 {
    border-radius: 0 40px 0 0;
}
.item-curved .edge.bottom-0.start-0:before {
    top: -40px;
    left: -1px;
    box-shadow: -15px 15px 0 0 #fff;
}
.item-curved .edge.bottom-0.start-0:after {
    bottom: 0;
    right: -40px;
    box-shadow: -15px 15px 0 0 #fff;
}

.item-curved .edge.rounded-end-5:before, 
.item-curved .edge.rounded-end-5:after {
    width: 60px;
    height: 60px;
}
.item-curved .edge.top-0.start-0.rounded-end-5:before {
    bottom: -60px;
    left: -1px;
    box-shadow: -30px -30px 0 0 #fff;
}
.item-curved .edge.top-0.start-0.rounded-end-5:after {
    top: -1px;
    right: -60px;
    box-shadow: -30px -30px 0 0 #fff;
}


.item-curved .edge.bottom-0.end-0 {
    border-radius: 40px 0 0 0;
}
.item-curved .edge.bottom-0.end-0:before {
    bottom: 0;
    left: -40px;
    box-shadow: 15px 15px 0 0 #fff;
}
.item-curved .edge.bottom-0.end-0:after {
    top: -40px;
    right: 0;
    box-shadow: 15px 15px 0 0 #fff;
}



.item-curved .edge > a.bt {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    color: #fff;
    background-color: #111;
    border-radius: 50%;
}

/*post*/
.item-curved .caption {
    position: absolute;
    left: 5px;
    right: 5px;
    bottom: -15px;
    background-color: #fff;
    border-radius: .75rem;
    transition: all .3s ease;
    opacity: 0;
}
.item-curved:hover .caption {
    bottom: 5px;
    opacity: 1;
}
.item-curved .caption.sunrise {
    bottom: 5px;
    border-radius: 10rem;
    opacity: 1;
}
.item-curved .caption.sunrise a {    
    position: absolute;
    left: 50%;
    top: 0;
    width: 40px;
    height: 40px;
    transform: translate(-20px, -15px);
    border-radius: 50%;
}


.section-biz:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    right: 90%;
    background-color: #e8eef3;
}
.section-biz:after {
    content: '';
    position: absolute;
    left: 10%;
    top: 0;
    bottom: 0;
    right: 60%;
    background-color: #e8eef3;
    border-radius: 0 80% 0 0;
}




.sectionSwiper {
    position: relative;
  width: 100%;
  height: 100%;
}

.sectionSwiper .swiper-slide {
  text-align: center;
  font-size: 1rem;
  color: #777;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}
.sectionSwiper .swiper-button-next, 
.sectionSwiper .swiper-button-prev {
    width: 60px;
    height: 60px;
    background-size: 12px 22px;
    background-color: #fff;
    border-radius: 50%;
}
.sectionSwiper .swiper-button-next {right: -22px;}
.sectionSwiper .swiper-button-prev {left: -22px;}
.sectionSwiper .swiper-button-next:before,
.sectionSwiper .swiper-button-next:after,
.sectionSwiper .swiper-button-prev:before,
.sectionSwiper .swiper-button-prev:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    border-radius: 50%;
}
.sectionSwiper .swiper-button-next:before {
    left: 8px;
    top: -29px;
    box-shadow: 15px 15px 0 0 #fff;
}
.sectionSwiper .swiper-button-next:after {
    left: 8px;
    bottom: -29px;
    box-shadow: 15px -15px 0 0 #fff;
}
.sectionSwiper .swiper-button-prev:before {
    right: 8px;
    top: -29px;
    box-shadow: -15px 15px 0 0 #fff;
}
.sectionSwiper .swiper-button-prev:after {
    right: 8px;        
    bottom: -29px;
    box-shadow: -15px -15px 0 0 #fff;
}



/*media*/
@media (min-width: 1200px) {
    .icon-rect {
        width: 80px;
        min-width: 80px;
        height: 80px;
    }
    .icon-rect > i {
        font-size: 36px;
    }

}

@media (max-width: 991px) {
    .section-biz:before,
    .section-biz:after {
        display: none;
    }
}

/************************************************
* Custom refinements - 2026-04-16 base final
************************************************/

/* Section 1 : Doctor intro */
.section-about {
    position: relative;
}
.doctor-intro-wrap {
    position: relative;
}
.doctor-intro-card {
    position: relative;
    padding: clamp(1.25rem, 2vw, 2.1rem);
    border-radius: 2.5rem;
    background: linear-gradient(135deg, #f7f7f8 0%, #f4f4f5 72%, #f3e7ed 100%);
    box-shadow: 0 18px 40px rgba(31, 36, 52, 0.06);
}
.doctor-intro-media {
    min-height: 315px;
    border-radius: 2rem;
    background: linear-gradient(135deg, #eef0f4, #f5f5f7);
    box-shadow: 0 14px 28px rgba(29, 34, 50, 0.08);
}
.doctor-intro-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
.doctor-intro-content {
    padding: clamp(1rem, 1.4vw, 1.6rem) clamp(.9rem, 1.4vw, 1.4rem);
}
.doctor-kicker {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-bottom: .9rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .14em;
    color: #7a8392;
}
.doctor-kicker:before {
    content: '';
    width: 28px;
    height: 2px;
    border-radius: 999px;
    background: #d7a9ba;
}
.doctor-title {
    margin: 0;
    font-size: clamp(1.85rem, 2.7vw, 3.2rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.045em;
    color: #23252b;
    word-break: keep-all;
}
.doctor-subicon {
    margin-top: .45rem;
}
.doctor-summary {
    margin-top: 1rem;
    max-width: 680px;
    font-size: clamp(1rem, 1.08vw, 1.13rem);
    line-height: 1.8;
    color: #687282;
    word-break: keep-all;
}
.doctor-summary p:last-child { margin-bottom: 0; }
.doctor-cta {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    margin-top: 1.25rem;
    padding: .9rem 1.35rem;
    border-radius: 1rem;
    background: #1e293b;
    color: #fff;
    font-size: .98rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 12px 24px rgba(30, 41, 59, 0.14);
    transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.doctor-cta i {
    font-size: .9rem;
}
.doctor-cta:hover {
    color: #fff;
    transform: translateY(-2px);
    background: rgb(var(--main-rgb));
    box-shadow: 0 16px 28px rgba(30, 41, 59, 0.2);
}

/* Last section cards */
.sectionSwiper .item-curved .swiper-card-caption {
    left: 10px;
    right: 10px;
    bottom: 8px;
    padding: 2rem 1.4rem 1rem;
    border-radius: 1.9rem;
    box-shadow: 0 12px 22px rgba(27, 31, 43, 0.09);
}
.sectionSwiper .item-curved .swiper-card-caption a.bt {
    position: absolute;
    left: 50%;
    top: 0;
    width: 52px;
    height: 52px;
    border-radius: .95rem;
    transform: translate(-50%, -24px);
    background: #d79ab4;
    box-shadow: 0 12px 22px rgba(35, 40, 52, 0.14);
}
.sectionSwiper .item-curved .swiper-card-caption a.bt i {
    font-size: 1.3rem;
    line-height: 1;
}
.sectionSwiper .swiper-slide:nth-child(1) .swiper-card-caption,
.sectionSwiper .swiper-slide:nth-child(6) .swiper-card-caption { background: #f3e1e7; }
.sectionSwiper .swiper-slide:nth-child(2) .swiper-card-caption,
.sectionSwiper .swiper-slide:nth-child(7) .swiper-card-caption { background: #ece4d2; }
.sectionSwiper .swiper-slide:nth-child(3) .swiper-card-caption,
.sectionSwiper .swiper-slide:nth-child(8) .swiper-card-caption { background: #dee6fb; }
.sectionSwiper .swiper-slide:nth-child(4) .swiper-card-caption { background: #efe8d8; }
.sectionSwiper .swiper-slide:nth-child(5) .swiper-card-caption { background: #e7def7; }
.sectionSwiper .swiper-slide:nth-child(1) .swiper-card-caption a.bt,
.sectionSwiper .swiper-slide:nth-child(6) .swiper-card-caption a.bt { background: #d297b2; }
.sectionSwiper .swiper-slide:nth-child(2) .swiper-card-caption a.bt,
.sectionSwiper .swiper-slide:nth-child(7) .swiper-card-caption a.bt { background: #c5a45f; }
.sectionSwiper .swiper-slide:nth-child(3) .swiper-card-caption a.bt,
.sectionSwiper .swiper-slide:nth-child(8) .swiper-card-caption a.bt { background: #7d9ae0; }
.sectionSwiper .swiper-slide:nth-child(4) .swiper-card-caption a.bt { background: #c0a368; }
.sectionSwiper .swiper-slide:nth-child(5) .swiper-card-caption a.bt { background: #9c89de; }
.sectionSwiper .swiper-card-title {
    margin: .08rem 0 .3rem;
    font-size: clamp(1.08rem, 1.35vw, 1.42rem);
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #262a35;
    word-break: keep-all;
}
.sectionSwiper .swiper-card-desc {
    font-size: clamp(.94rem, .98vw, 1.02rem);
    line-height: 1.6;
    color: #6a7280;
    word-break: keep-all;
}
.sectionSwiper .swiper-card-desc p:last-child { margin-bottom: 0; }

/* Mobile header/menu spacing */
@media(max-width: 1199px) {
    .header {
        padding-left: 10px;
        padding-right: 10px;
    }
    .header .logo {
        left: 0;
        max-width: calc(100% - 128px);
        display: flex;
        align-items: center;
        height: 60px;
    }
    .header .logo img {
        max-height: 34px;
        width: auto;
    }
    .header-right {
        right: 0;
        display: flex;
        align-items: center;
        gap: 10px;
        height: 60px;
    }
    .header-right .icon-btn,
    .header .open-menu-btn {
        width: 44px;
        min-width: 44px;
        height: 44px !important;
        border-radius: 14px;
    }
    .header-right .icon-btn {
        background: #e8598f;
        color: #fff;
    }
    .header .open-menu-btn {
        background: #f7f7f8;
        border: 1px solid rgba(26, 26, 26, 0.08);
    }
    .header .main-menu {
        width: min(380px, 90vw);
        padding: 20px 0 34px;
        box-shadow: -10px 0 36px rgba(11, 16, 26, 0.22);
    }
    .header .main-menu .head {
        margin-bottom: 18px;
        padding: 0 18px;
    }
    .header .main-menu > ul li a {
        padding: 14px 26px;
    }
    .header .main-menu .sub-menu a {
        padding: 11px 26px 11px 38px;
    }
    .header .main-menu .sub-menu .sub-menu a {
        padding-left: 48px;
    }
}

@media (max-width: 991px) {
    .doctor-intro-card {
        border-radius: 2rem;
        padding: 1rem;
    }
    .doctor-intro-media {
        min-height: 255px;
        border-radius: 1.6rem;
    }
    .doctor-intro-content {
        padding: .4rem .35rem .2rem;
    }
    .doctor-title {
        font-size: clamp(1.7rem, 8vw, 2.45rem);
    }
    .doctor-summary {
        margin-top: .85rem;
        line-height: 1.75;
    }
    .doctor-cta {
        margin-top: 1rem;
    }
    .sectionSwiper .item-curved .swiper-card-caption {
        padding: 1.8rem 1.2rem .95rem;
    }
}


/************************************************
* Section biz visual cleanup - 2026-04-16
************************************************/
.section-biz {
    background: linear-gradient(180deg, #f8f8f9 0%, #f6f5f7 100%);
}
.section-biz:before,
.section-biz:after {
    display: none !important;
}
.section-biz .container {
    position: relative;
    z-index: 2;
}
.biz-feature-row {
    align-items: center;
}
.biz-feature-media {
    position: relative;
    min-height: clamp(360px, 42vw, 560px);
    border-radius: 2.25rem !important;
    background: #eef1f5;
    box-shadow: 0 28px 60px rgba(22, 28, 45, 0.12);
}
.biz-feature-media::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.18) 100%);
    pointer-events: none;
}
.biz-feature-image,
.biz-cover {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center center;
    display: block;
    transform: scale(1.01);
}
.biz-feature-content {
    max-width: 520px;
    padding-left: clamp(.25rem, 1vw, 1rem);
}
.biz-feature-content h1 {
    margin-bottom: 1rem !important;
}
.biz-feature-content p {
    line-height: 1.75;
}
@media (max-width: 991px) {
    .biz-feature-media {
        min-height: 260px;
        border-radius: 1.75rem !important;
        box-shadow: 0 18px 36px rgba(22, 28, 45, 0.10);
    }
    .biz-feature-content {
        padding-left: 0;
    }
}


/************************************************
* Sub page mobile spacing fix - 2026-04-17
************************************************/
@media (max-width: 1199px) {
    .kso-contents {
        padding-top: 4px;
    }
    .header {
        margin-bottom: 0;
    }
    .sub-header {
        margin-top: 16px !important;
    }
}
