.page-template-template-implants-and-full-arch-implant-restoration .header {
    background: transparent;
}

.page-template-template-implants-and-full-arch-implant-restoration .typo-2 {
    font-size: calc(30px + (48 - 30) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 700;
    line-height: 1.2;
    color: #181818;
    text-align: center;
    margin-bottom: 8px;
}

.page-template-template-implants-and-full-arch-implant-restoration .typo-3 {
    font-size: calc(30px + (42 - 30) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 8px;
}

.page-template-template-implants-and-full-arch-implant-restoration .typo-4 {
    font-size: calc(20px + (24 - 20) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 700;
    line-height: 1.2;
    color: #181818;
}

.page-template-template-implants-and-full-arch-implant-restoration .typo-5 {
    font-size: calc(22px + (26 - 22) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 700;
    line-height: 1.10;
    margin-bottom: 8px;
}

.page-template-template-implants-and-full-arch-implant-restoration .description {
    font-size: calc(16px + (18 - 16) * ((100vw - 320px) / (1920 - 320)));
    line-height: 1.4;
    font-weight: 400;
    color: #666666;
}

.page-template-template-implants-and-full-arch-implant-restoration .btn-wrap {
    display: flex;
    margin-top: 24px;
}

.page-template-template-implants-and-full-arch-implant-restoration .ff-articles.footer_blogs{
    display: none;
}

/* section1 */
.page-template-template-implants-and-full-arch-implant-restoration .section1 {
    background-image: url('/wp-content/uploads/2025/05/hexa_box.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 200px 0 0;
    position: relative;
    z-index: 1;
}

.page-template-template-implants-and-full-arch-implant-restoration .section1::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(142deg, rgba(0, 0, 0, 0.91) 22.81%, rgba(255, 202, 77, 0.91) 132.05%);
    z-index: -1;
}

.page-template-template-implants-and-full-arch-implant-restoration .video_wrap {
    width: 100%;
    text-align: center;
    cursor: pointer;
}

.page-template-template-implants-and-full-arch-implant-restoration .video_wrap video {
    border-radius: 10px;
}

.page-template-template-implants-and-full-arch-implant-restoration .section1 .banner-row {
    padding-top: 85px;
    align-items: center;
}

.page-template-template-implants-and-full-arch-implant-restoration .section1 .inner-wrap {
    color: #FFFFFF;
}

.page-template-template-implants-and-full-arch-implant-restoration .section1 h1 {
    font-size: calc(42px + (72 - 42) * ((100vw - 320px) / (1920 - 320)));
    font-weight: 700;
    line-height: 1;
    color: #FFFFFF;
}

.page-template-template-implants-and-full-arch-implant-restoration .section1 .description {
    color: #FFFFFF;
    font-weight: 300;
}

/* section2 */
.page-template-template-implants-and-full-arch-implant-restoration .section2 {
    position: relative;
    background: #C8922A;
    padding: 60px 0;
}

.page-template-template-implants-and-full-arch-implant-restoration .section2 .book-row {
    align-items: center;
}

.page-template-template-implants-and-full-arch-implant-restoration .section2 .book-row p {
    text-align: left;
    color: #FFFFFF;
}

.page-template-template-implants-and-full-arch-implant-restoration .section2 .book-row .description {
    max-width: 720px;
}

.page-template-template-implants-and-full-arch-implant-restoration .section2 .book-row .button-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 31px;
    justify-content: flex-end;
}

/* section3 */
.page-template-template-implants-and-full-arch-implant-restoration .section3 {
    text-align: center;
    position: relative;
    padding: 100px 0;
}

.page-template-template-implants-and-full-arch-implant-restoration .solution-row {
    max-width: 1245px;
    margin: 48px auto 0;
    align-items: center;
    text-align: left;
}

.page-template-template-implants-and-full-arch-implant-restoration .section3 .description {
    max-width: 941px;
    margin: 0 auto;
}

.page-template-template-implants-and-full-arch-implant-restoration .solution-row .img-wrap {
    text-align: center;
}

.page-template-template-implants-and-full-arch-implant-restoration .solution-row .feature-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-template-template-implants-and-full-arch-implant-restoration .solution-row .feature-list .list-item {
    display: flex;
    align-items: center;
    gap: 20px;
    font-weight: 400;
}

/* section4 */
.page-template-template-implants-and-full-arch-implant-restoration .section4 {
    position: relative;
    padding: 100px 0;
    background-image: url('../images/implants/review_bg.png');
    background-repeat: no-repeat;
    background-position: center;
    text-align: center;
    overflow: hidden;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #FFFBF1;
    z-index: -1;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper,
.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .heading {
    position: relative;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper::after {
    content: url('../images/implants/star.svg');
    position: absolute;
    left: 0;
    bottom: 50px;
    transform: rotate(45deg);
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .heading::before,
.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .heading::after {
    content: url('../images/implants/star.svg');
    position: absolute;
    top: -40px;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .heading::before {
    left: 200px;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .heading::after {
    right: 200px;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid {
    margin-top: 48px;
    display: flex;
    flex-wrap: wrap;
    gap: 48px;
    justify-content: center;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid .story-card {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        gap: 16px;
        background: #FFFFFF0D;
        max-width: 238px;
        border: 1px solid #C8922A66;
        padding: 22px;
        border-radius: 16px;
        min-height: 497px;
        cursor: pointer;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid .story-card .thumb-wrapper{
    position: relative;
        height: 100%;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid .story-card .story_thumb {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid .story-card .thumb-wrapper .play-btn{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%, -50%);
    max-width: 48px;
    width: 100%;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:2;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid .story-card.playing .thumb-wrapper{
    display: none;
}

.page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid .story-card video {
    display: none;
    height: 100% !important;
}

/* section5 */

.page-template-template-implants-and-full-arch-implant-restoration .section5 {
    position: relative;
    padding: 100px 0;
    text-align: center;
}

.page-template-template-implants-and-full-arch-implant-restoration .section5 .real-row {
    max-width: 1245px;
    margin: 48px auto 0;
}

.page-template-template-implants-and-full-arch-implant-restoration .section5 .real-row .realCol {
    padding: 0 12px;
}

/* section6 */
.page-template-template-implants-and-full-arch-implant-restoration .section6 {
    position: relative;
    padding: 100px 0;
    background: #FFFBF1;
    z-index: 1;
    overflow: hidden;
}

.page-template-template-implants-and-full-arch-implant-restoration .section6::before {
    content: url('../images/emface-tmj/tm-star-icon4.png');
    position: absolute;
    left: -38px;
    top: 80px;
    z-index: -1;
}

.page-template-template-implants-and-full-arch-implant-restoration .section6::after {
    content: url('../images/emface-tmj/tm-star-icon1.png');
    position: absolute;
    right: -30px;
    bottom: 80px;
    z-index: -1;
}

.page-template-template-implants-and-full-arch-implant-restoration .con-row .left-col,
.page-template-template-implants-and-full-arch-implant-restoration .con-row .right-col {
    position: relative;
}

.page-template-template-implants-and-full-arch-implant-restoration .con-row .left-col::after {
    content: url('../images/emface-aesthetics/em-icon2.svg');
    position: absolute;
    bottom: -100px;
    left: -60px;
}

.page-template-template-implants-and-full-arch-implant-restoration .con-row .right-col::before {
    content: url('../images/emface-tmj/tm-star-icon3.png');
    position: absolute;
    top: 0;
    right: 0;
}

.page-template-template-implants-and-full-arch-implant-restoration .con-row {
    max-width: 1245px;
    margin: 0 auto;
}

.page-template-template-implants-and-full-arch-implant-restoration .con-row .left-col .content {
    max-width: 567px;
}

.page-template-template-implants-and-full-arch-implant-restoration .section6 .typo-2 {
    text-align: left;
}

/* responsive media query */
@media screen and (max-width: 1199px) {
    .page-template-template-implants-and-full-arch-implant-restoration .section1 .banner-row .banner-left {
        align-self: flex-end;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section1 .inner-wrap {
        padding-bottom: 60px;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section2 .book-row .button-flex {
        gap: 16px;
    }
    
    .page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid {
        gap: 24px;
    }
    
    .page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid .story-card {
        max-width: 270px;
    }
}

@media screen and (max-width: 991px) {
    .page-template-template-implants-and-full-arch-implant-restoration .section1 .banner-row {
        flex-direction: column-reverse;
        padding-top: 50px;
        gap: 30px 0;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section1 .inner-wrap {
        padding-bottom: 0;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section2 .book-row {
        gap: 24px 0;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section2 .book-row .button-flex {
        justify-content: flex-start;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section3,
    .page-template-template-implants-and-full-arch-implant-restoration .section4,
    .page-template-template-implants-and-full-arch-implant-restoration .section5,
    .page-template-template-implants-and-full-arch-implant-restoration .section6 {
        padding: 80px 0;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .solution-row {
        margin-top: 32px;
        gap: 30px 0;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .solution-row .feature-list {
        gap: 16px;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper::after {
        left: -70px;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .heading::before {
        left: 0;
        top: -20px;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .heading::after {
        right: 0;
        top: -20px;
    }
    
    .page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid .story-card {
        max-width: 330px;
    }
    
    .page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid {
        gap: 20px;
    }

    .page-template-template-implants-and-full-arch-implant-restoration .section5 .real-row {
        justify-content: center;
        margin-top: 32px;
        gap: 16px 0;
    }
    
    .page-template-template-implants-and-full-arch-implant-restoration .section6 .con-row {
            flex-direction: column-reverse;
    }
}

@media screen and (max-width: 767px) {

    .page-template-template-implants-and-full-arch-implant-restoration .section3,
    .page-template-template-implants-and-full-arch-implant-restoration .section4,
    .page-template-template-implants-and-full-arch-implant-restoration .section5,
    .page-template-template-implants-and-full-arch-implant-restoration .section6 {
        padding: 70px 0;
    }
    
    .page-template-template-implants-and-full-arch-implant-restoration .section4 .our-wrapper .stories-grid .story-card {
        max-width: 100%;
    }
}