/* =================================
SERVICE TEMPLATE – ORELI CLEAN CSS
================================= */

/* CONTAINER */

.oreli-container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
    box-sizing: border-box;
}


/* =================================
HERO BANNER
================================= */

.banner_page {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.banner_page img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    display: block;
}

/* overlay */

.banner_page:after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 1;
}

/* title */

.banner_page ._caption {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
}

.banner_page ._title {
    color: #fff;
    font-size: 42px;
    font-weight: 700;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}


/* =================================
LAYOUT
================================= */

.oreli-service-wrap {
    display: grid;
    grid-template-columns: 340px 1fr;
    gap: 40px;
    margin-top: 40px;
    align-items: start;
}


/* =================================
SIDEBAR
================================= */

.oreli-service-sidebar {
    background: #f6f6f6;
    padding: 25px;
    border-radius: 12px;
    position: sticky;
    top: 120px;
    height: max-content;
}


/* =================================
MENU
================================= */

.services-nav {
    list-style: none;
    margin: 0;
    padding: 0;
}

.services-nav li {
    border-bottom: 1px solid #eee;
}

.services-nav li:last-child {
    border: none;
}

/* main link */

.services-nav>li>a {
    display: block;
    padding: 14px 16px;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 500;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    transition: 0.25s;
}

/* hover */

.services-nav>li>a:hover {
    background: #f3e6ef;
    color: #a1006b;
}

/* active */

.services-nav .current-menu-item>a {
    background: linear-gradient(135deg, #a1006b, #c04392);
    color: #fff;
    font-weight: 600;
}


/* submenu */

.services-nav ul {
    list-style: none;
    padding-left: 14px;
    margin: 6px 0 12px 0;
}

.services-nav ul li a {
    display: block;
    padding: 10px 0;
    font-size: 14px;
    color: #666;
    text-decoration: none;
}

.services-nav ul li a:hover {
    color: #a1006b;
}


/* =================================
CONTENT
================================= */

.oreli-service-content {
    font-size: 16px;
    line-height: 1.7;
}

.oreli-service-content img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin: 20px 0;
}

.oreli-service-content h2 {
    color: #a1006b;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: 700;
}

.oreli-service-content h3 {
    margin-top: 25px;
    margin-bottom: 10px;
}

.oreli-service-content p {
    margin-bottom: 16px;
}

.oreli-service-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}


/* =================================
RELATED SERVICES
================================= */

.oreli-related {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: 40px;
}

.oreli-related-item {
    display: block;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: 0.3s;
}

.oreli-related-item:hover {
    transform: translateY(-5px);
}

.oreli-related-img img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.oreli-related-content {
    padding: 16px;
}


/* =================================
MOBILE
================================= */

@media(max-width:991px) {

    .oreli-service-wrap {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .oreli-service-sidebar {
        position: relative;
        top: auto;
    }

    .oreli-related {
        grid-template-columns: 1fr;
    }

    .banner_page img {
        height: 260px;
    }

    .banner_page ._title {
        font-size: 26px;
    }

}


/* ===== FIX MOBILE OVERFLOW ===== */



/* content không vượt màn hình */

.oreli-service-content {
    max-width: 100%;
    overflow: hidden;
}

/* hình trong bài */

.oreli-service-content img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* text không phá layout */

.oreli-service-content * {
    max-width: 100%;
    word-wrap: break-word;
}

@media(max-width:768px) {

    .oreli-container {
        padding-left: 16px;
        padding-right: 16px;
    }

}



/*=============Template-service.php theme oreli lite=========*/
/*=============Template-service.php theme oreli lite=========*/

/* ================= CONTAINER ================= */

.oreli-container{
max-width:1200px;
margin:auto;
padding:0 20px;
}


/* ================= HERO ================= */

.oreli-hero{
position:relative;
height:320px;
overflow:hidden;
}

.oreli-hero img{
width:100%;
height:100%;
object-fit:cover;
}

.oreli-hero-content{
position:absolute;
inset:0;
display:flex;
align-items:center;
justify-content:center;
background:rgba(0,0,0,0.35);
}

.oreli-hero h1{
color:#fff;
font-size:40px;
font-weight:700;
}


/* ================= LAYOUT ================= */

.oreli-service-wrap{
display:grid;
grid-template-columns:280px 1fr;
gap:40px;
margin-top:40px;
}


/* ================= SIDEBAR ================= */

.oreli-service-sidebar{
background:#f7f7f7;
padding:25px;
border-radius:8px;
}

.oreli-service-sidebar h3{
margin-bottom:15px;
font-size:20px;
font-weight:700;
}


/* ================= SERVICE MENU ================= */

.oreli-service-menu{
list-style:none;
padding:0;
margin:0;
}

/* cấp 1 */

.oreli-service-menu > li{
border-bottom:1px solid #eee;
}

.oreli-service-menu > li > a{
display:block;
font-weight:600;
padding:12px 0;
color:#333;
position:relative;
cursor:pointer;
transition:0.2s;
}

/* icon toggle */

.oreli-service-menu > li.menu-item-has-children > a:after{
content:"+";
position:absolute;
right:0;
top:12px;
font-size:18px;
transition:0.3s;
}

/* khi mở */

.oreli-service-menu > li.open > a:after{
content:"−";
}

/* submenu */

.oreli-service-menu ul{
display:none;
list-style:none;
padding-left:15px;
margin:0;
}

/* khi open */

.oreli-service-menu li.open > ul{
display:block;
}

/* item submenu */

.oreli-service-menu ul li{
border-bottom:1px solid #f1f1f1;
}

.oreli-service-menu ul li a{
display:block;
padding:10px 0;
font-size:14px;
color:#555;
transition:0.2s;
}

/* bullet */

.oreli-service-menu ul li a:before{
content:"";
width:6px;
height:6px;
background:#a1006b;
border-radius:50%;
display:inline-block;
margin-right:8px;
position:relative;
top:-2px;
}

/* hover */

.oreli-service-menu a:hover{
color:#a1006b;
}

/* active */

.oreli-service-menu .current-menu-item > a{
color:#a1006b;
font-weight:600;
}


/* ================= CONTENT ================= */

.oreli-service-content-inner{
font-size:16px;
line-height:1.7;
}


/* ================= RELATED SERVICES ================= */

.oreli-related-services{
margin-top:60px;
}

.oreli-service-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:25px;
}

.oreli-service-card{
display:block;
border-radius:10px;
overflow:hidden;
background:#fff;
box-shadow:0 6px 20px rgba(0,0,0,0.06);
transition:0.3s;
}

.oreli-service-card:hover{
transform:translateY(-6px);
}

.oreli-service-card-img img{
width:100%;
height:180px;
object-fit:cover;
}

.oreli-service-card-content{
padding:18px;
}

.oreli-service-card h3{
font-size:18px;
margin-bottom:8px;
}

.oreli-readmore{
color:#a1006b;
font-weight:600;
}


/* ================= MOBILE ================= */

@media(max-width:991px){

.oreli-service-wrap{
grid-template-columns:1fr;
}

.oreli-service-grid{
grid-template-columns:1fr;
}

}

/* SIDEBAR STICKY */

.oreli-service-sidebar {
    position: sticky;
    top: 120px;
    height: max-content;
}


/* CTA BOX */

.oreli-service-cta {
    margin-top: 30px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.oreli-btn-call {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background: #a1006b;
    color: #fff;
    border-radius: 30px;
    font-weight: 600;
}


/* DOCTOR BOX */

.oreli-service-doctor {
    margin-top: 60px;
    padding: 30px;
    background: #f9f9f9;
    border-radius: 12px;
}

.oreli-btn-outline {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    border: 2px solid #a1006b;
    color: #a1006b;
    border-radius: 30px;
    font-weight: 600;
}
@media(max-width:991px){

.oreli-service-wrap{
grid-template-columns:1fr;
}

.oreli-service-content{
order:1;
}

.oreli-service-sidebar{
order:2;
margin-top:40px;
position:relative;
top:auto;
}

}