﻿/**
 * NMSF integration â€” erepair bundle only.
 */
.template-erepair .preloader__image {
    width: 280px;
    height: 280px;
    max-width: 85vw;
    max-height: 55vh;
    background-image: url('/images/preloader-image.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    animation: nmsf-preloader-pulse 1.4s ease-in-out infinite;
    -webkit-animation: nmsf-preloader-pulse 1.4s ease-in-out infinite;
}

@keyframes nmsf-preloader-pulse {
    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.72;
        transform: scale(0.96);
    }
}

.template-erepair .preloader.is-hidden {
    display: none !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.template-erepair .site-footer-links {
    margin: 0;
    padding: 0;
}

.template-erepair .site-footer-links li + li {
    margin-top: 10px;
}

.template-erepair .site-footer-links a {
    color: var(--erepair-gray);
    transition: color 0.3s ease;
}

.template-erepair .site-footer-links a:hover {
    color: var(--erepair-base);
}

.template-erepair .footer-widget-three__about-content p a {
    color: inherit;
}

.template-erepair .footer-widget-three__about-content p a:hover {
    color: var(--erepair-base);
}

.template-erepair .site-footer-about-excerpt {
    font-size: 15px;
    line-height: 1.75;
    font-weight: 400;
    color: var(--erepair-gray);
    text-transform: none;
    letter-spacing: 0;
    margin: 0 auto 32px;
    max-width: 520px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-align: center;
}

/* Video card only â€” Ù„Ø§ ØªÙ„Ù…Ø³ Ø§Ù„ØµÙˆØ±Ø© Ø§Ù„Ø±Ø¦ÙŠØ³ÙŠØ© about-three__img */
.template-erepair .about-three__img-two {
    overflow: hidden;
    background-color: var(--erepair-base);
    line-height: 0;
    aspect-ratio: 16 / 9;
    width: 480px;
    max-width: none;
    border-radius: 20px;
}

.template-erepair .about-three__img-two .about-three__video-link {
    z-index: 2;
}

.template-erepair .about-three__img-two .about-three__video-icon {
    width: 90px;
    height: 90px;
    line-height: 90px;
    font-size: 22px;
}

.template-erepair .about-three__img-two img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    mix-blend-mode: multiply;
    display: block;
    border-radius: 20px;
}

/* Home6 tenders & announcements */
.template-erepair .site-section-btn-wrap {
    margin-top: 30px;
    text-align: center;
}

.template-erepair .site-section-empty {
    margin: 0 0 10px;
    font-size: 16px;
    line-height: 1.7;
    color: var(--erepair-gray, #666);
}

.template-erepair .site-tender-card .pricing-two__title-box h2 {
    font-size: 22px;
    line-height: 1.25;
    letter-spacing: 0;
    word-break: break-word;
}

.template-erepair .site-tender-card .pricing-two__title-box h3 {
    font-size: 20px;
    line-height: 1.35;
}

.template-erepair .site-tender-status {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.template-erepair .site-tender-status--open {
    background-color: #dcfce7;
    color: #166534;
}

.template-erepair .site-tender-status--closed {
    background-color: #fee2e2;
    color: #991b1b;
}

.template-erepair .site-tender-date {
    font-weight: 600;
    margin: 0;
}

.template-erepair .site-tender-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.template-erepair .site-tender-icon i {
    font-family: FontAwesome !important;
    font-size: 18px;
    line-height: 1;
}

.template-erepair .site-tender-icon--open i {
    color: #16a34a;
}

.template-erepair .site-tender-icon--closed i {
    color: #dc2626;
}

.template-erepair .site-tender-date--open {
    color: #15803d;
}

.template-erepair .site-tender-date--closed {
    color: #b91c1c;
}

.template-erepair .site-tender-card--closed .pricing-two__title-box {
    opacity: 0.92;
}

.template-erepair .site-tenders-section .row > [class*="col-"] {
    display: flex;
}

.template-erepair .site-tenders-section .site-tender-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.template-erepair .site-tenders-section .site-tender-card:hover {
    border-color: rgba(42, 185, 126, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.template-erepair .site-tenders-section .site-tender-card .pricing-two__title-box {
    background-color: #20684a;
    background-image: linear-gradient(120deg, #20684a 0%, #185439 55%, #123f2b 100%);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
}

.template-erepair .site-tenders-section .site-tender-card .pricing-two__title-box::before {
    display: none;
}

.template-erepair .site-tenders-section .site-tender-card .pricing-two__title-box h2,
.template-erepair .site-tenders-section .site-tender-card .pricing-two__title-box h3 {
    color: #fff;
}

.template-erepair .site-tenders-section .site-tender-card .pricing-two__title-box p {
    color: rgba(255, 255, 255, 0.82);
}

.template-erepair .site-tenders-section .site-tender-card .site-tender-status--open {
    background-color: rgba(255, 255, 255, 0.18);
    color: #fff;
}

.template-erepair .site-tenders-section .site-tender-card .site-tender-status--closed {
    background-color: rgba(254, 226, 226, 0.95);
    color: #991b1b;
}

.template-erepair .site-tenders-section .site-tender-card .pricing-two__content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    border-bottom-left-radius: 20px;
    border-bottom-right-radius: 20px;
    box-shadow: none;
}

.template-erepair .site-tenders-section .pricing-two__price-points {
    flex: 1 1 auto;
}

.template-erepair .site-tenders-section .pricing-two__btn-box {
    margin-top: auto;
}

.template-erepair .site-testimonials-section .testimonial-two__single {
    background-color: #20684a;
    background-image: linear-gradient(120deg, #20684a 0%, #185439 55%, #123f2b 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.12);
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.template-erepair .site-testimonials-section .testimonial-two__single:hover {
    border-color: rgba(255, 255, 255, 0.28);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.template-erepair .site-testimonials-section .testimonial-two__text {
    color: rgba(255, 255, 255, 0.9);
}

.template-erepair .site-testimonials-section .testimonial-two__client-name {
    color: #fff;
}

.template-erepair .site-testimonials-section .testimonial-two__client-img {
    border: 3px solid rgba(255, 255, 255, 0.35);
    border-radius: 50%;
}

.template-erepair .main-menu-three__logo img {
    max-height: 70px;
    width: auto;
}

.template-erepair .mobile-nav__content .logo-box img {
    width: 220px;
    max-width: 85%;
    height: auto;
}

html[dir="rtl"].template-erepair .mobile-nav__wrapper {
    left: auto;
    right: 0;
}

html[dir="rtl"].template-erepair .mobile-nav__content {
    transform: translateX(100%);
}

html[dir="rtl"].template-erepair .mobile-nav__wrapper.expanded .mobile-nav__content {
    transform: translateX(0);
}

html[dir="rtl"].template-erepair .mobile-nav__close {
    right: auto;
    left: 15px;
}

html[dir="rtl"].template-erepair .mobile-nav__content .logo-box {
    text-align: right;
}

html[dir="rtl"].template-erepair .mobile-nav__contact {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"].template-erepair .mobile-nav__contact li {
    flex-direction: row;
    justify-content: flex-start;
}

html[dir="rtl"].template-erepair .mobile-nav__contact li > i {
    margin-right: 0;
    margin-left: 10px;
}

html[dir="rtl"].template-erepair .mobile-nav__contact li > a {
    direction: ltr;
    unicode-bidi: plaintext;
    text-align: start;
}

html[dir="rtl"].template-erepair .mobile-nav__social a + a {
    margin-left: 0;
    margin-inline-start: 30px;
}

.template-erepair .site-header-banner {
    line-height: 0;
    text-align: end;
    margin-inline-start: auto;
}

.template-erepair .site-header-banner img {
    display: inline-block;
    max-height: 90px;
    max-width: min(728px, 42vw);
    width: auto;
    object-fit: contain;
    border-radius: 6px;
}

.template-erepair .site-top-links {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    font-weight: 600;
}

html[dir="ltr"].template-erepair .site-top-links {
    text-align: right;
}

html[dir="rtl"].template-erepair .site-top-links {
    text-align: left;
}

.template-erepair .site-top-links li {
    display: inline-block;
    margin-inline: 0 16px;
}

.template-erepair .site-top-links a {
    color: var(--erepair-white, #fff);
}

.template-erepair .main-menu-three__wrapper-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.template-erepair .main-menu-three__left {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    flex: 1 1 auto;
}

html[dir="rtl"].template-erepair body,
html[dir="rtl"].template-erepair h1,
html[dir="rtl"].template-erepair h2,
html[dir="rtl"].template-erepair h3,
html[dir="rtl"].template-erepair h4,
html[dir="rtl"].template-erepair h5,
html[dir="rtl"].template-erepair p,
html[dir="rtl"].template-erepair a,
html[dir="rtl"].template-erepair li {
    font-family: "Changa", var(--erepair-font), sans-serif !important;
}

html[dir="rtl"].template-erepair [class^="fa-"],
html[dir="rtl"].template-erepair [class*=" fa-"] {
    font-family: "Font Awesome 5 Pro" !important;
}

.template-erepair .fa,
.template-erepair .fas,
.template-erepair .far,
.template-erepair .fal {
    font-family: "Font Awesome 5 Pro" !important;
}

.template-erepair .fab {
    font-family: "Font Awesome 5 Brands" !important;
}

.template-erepair [class^="icon-"],
.template-erepair [class*=" icon-"] {
    font-family: "icomoon" !important;
}

.template-erepair .icon-youtube:before {
    content: "" !important;
    font-family: inherit !important;
    display: inline-block;
    width: 1em;
    height: 0.72em;
    vertical-align: -0.08em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zM232 337.323V174.677l142.735 81.323L232 337.323z'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 576 512'%3E%3Cpath d='M549.655 124.083c-6.281-23.65-24.787-42.276-48.284-48.597C458.781 64 288 64 288 64S117.22 64 74.629 75.486c-23.497 6.322-42.003 24.947-48.284 48.597-11.412 42.867-11.412 132.305-11.412 132.305s0 89.438 11.412 132.305c6.281 23.65 24.787 41.5 48.284 47.821C117.22 448 288 448 288 448s170.78 0 213.371-11.486c23.497-6.321 42.003-24.171 48.284-47.821 11.412-42.867 11.412-132.305 11.412-132.305s0-89.438-11.412-132.305zM232 337.323V174.677l142.735 81.323L232 337.323z'/%3E%3C/svg%3E") center / contain no-repeat;
}

@media only screen and (max-width: 767px) {
    .template-erepair .site-header-banner {
        text-align: center;
        width: 100%;
    }

    .template-erepair .site-header-banner img {
        max-height: 70px;
        max-width: 100%;
    }
}

/* Home ticker: remove white gap under header */
.template-erepair .main-header-three {
    margin-bottom: 0 !important;
}

.template-erepair .main-header-three + .home-page-root {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.template-erepair .home-page-root > .nmsf-template-tickers {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.template-erepair .home-page-root > .nmsf-template-tickers .bn-breaking-news {
    margin-top: 0 !important;
}

/* Home6 banner slider â€” image fills card, compact spacing */
.template-erepair .site-banners-section.brand-two {
    padding: 48px 0 36px;
    border-top: 1px solid var(--erepair-bdr-color);
}

.template-erepair .site-banners-section .brand-two__carousel {
    margin: 0;
}

.template-erepair .site-banners-section .brand-two__carousel .item {
    display: block;
    padding: 0;
    margin: 0;
    min-height: 0;
    height: 180px;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.08);
}

.template-erepair .site-banners-section .brand-two__carousel .owl-item {
    height: auto;
}

.template-erepair .site-banners-section .brand-two__carousel .owl-stage-outer {
    padding-bottom: 0;
}

.template-erepair .site-banners-section .brand-two__carousel .item a {
    display: block;
    width: 100%;
    height: 100%;
    line-height: 0;
}

.template-erepair .site-banners-section .brand-two__carousel .item img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 0;
    max-height: none;
    object-fit: cover;
    object-position: center;
}

@media only screen and (max-width: 991px) {
    .template-erepair .site-banners-section.brand-two {
        padding: 40px 0 28px;
    }
}

/* Home6 testimonials â€” no overlap margin from default theme */
.template-erepair .site-testimonials-section.testimonial-two {
    margin-top: 0;
    padding: 48px 0 80px;
}

/* RTL: owl sliders + main slider */
html[dir="rtl"].template-erepair .main-slider-three__carousel,
html[dir="rtl"].template-erepair .brand-two__carousel,
html[dir="rtl"].template-erepair .testimonial-two__carousel,
html[dir="rtl"].template-erepair .owl-carousel,
html[dir="rtl"].template-erepair .owl-stage-outer {
    direction: ltr;
}

html[dir="rtl"].template-erepair .main-slider-three__content,
html[dir="rtl"].template-erepair .testimonial-two__single,
html[dir="rtl"].template-erepair .testimonial-two__text {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"].template-erepair .main-slider-three__carousel.owl-loaded {
    display: block !important;
}

html[dir="rtl"].template-erepair .main-slider-three__carousel .owl-item {
    opacity: 1 !important;
    visibility: visible !important;
}

html[dir="rtl"].template-erepair .main-slider-three__carousel .owl-item.active .main-slider-three__sub-title-box,
html[dir="rtl"].template-erepair .main-slider-three__carousel .owl-item.active .main-slider-three__title,
html[dir="rtl"].template-erepair .main-slider-three__carousel .owl-item.active .main-slider-three__text,
html[dir="rtl"].template-erepair .main-slider-three__carousel .owl-item.active .main-slider-three__btn-box {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

html[dir="rtl"].template-erepair .main-slider-three__carousel .owl-item.active .main-slider-three__shape-1,
html[dir="rtl"].template-erepair .main-slider-three__carousel .owl-item.active .main-slider-three__shape-2,
html[dir="rtl"].template-erepair .main-slider-three__carousel .owl-item.active .main-slider-three__shape-3 {
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
}

/* Main slider nav â€” left side in Arabic */
html[dir="rtl"].template-erepair .main-slider-three .owl-nav {
    right: 0;
    left: 100px;
    align-items: flex-start;
}

html[dir="rtl"].template-erepair .testimonial-two {
    margin-top: 0;
}

/* Owl fade hides non-.active items â€” RTL init often misses .active */
html[dir="rtl"].template-erepair .testimonial-two__carousel.owl-carousel .owl-item {
    opacity: 1;
    visibility: visible;
}

html[dir="rtl"].template-erepair .testimonial-two .section-title-three__title {
    opacity: 1 !important;
    visibility: visible !important;
}

html[dir="rtl"].template-erepair .sec-title-animation .title-animation .split-line {
    display: block;
    text-align: right;
}

/* RTL spacing â€” gaps and logical margins (icon before text in reading order) */
html[dir="rtl"].template-erepair .main-menu-three__contact-list li,
html[dir="rtl"].template-erepair .main-menu-two__contact-list li {
    gap: 10px;
}

html[dir="rtl"].template-erepair .main-menu-three__contact-list li .text,
html[dir="rtl"].template-erepair .main-menu-two__contact-list li .text {
    margin-left: 0;
}

html[dir="rtl"].template-erepair .main-menu-three__contact-list li + li {
    margin-left: 0;
    margin-inline-start: 50px;
}

html[dir="rtl"].template-erepair .main-menu-three__social a + a {
    margin-left: 0;
    margin-inline-start: 20px;
}

html[dir="rtl"].template-erepair .main-menu-three__login-box {
    gap: 7px;
}

html[dir="rtl"].template-erepair .main-menu-three__search {
    gap: 8px;
}

/* Main nav item gaps â€” theme uses margin-left which inverts in RTL */
html[dir="rtl"].template-erepair .main-menu .main-menu__list > li + li,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li + li {
    margin-left: 0;
    margin-inline-start: 22px;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list li.dropdown > a,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list li.dropdown > a {
    padding-right: 0;
    padding-inline-end: 18px;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list li.dropdown > a::after,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list li.dropdown > a::after {
    right: auto;
    left: 0;
}
/* RTL dropdown panels ? align under parent (right) and nested menus open leftward */
html[dir="rtl"].template-erepair .main-menu .main-menu__list > li > ul,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li > ul {
    left: auto;
    right: 0;
    align-items: flex-end;
    transform-origin: top right;
    text-align: right;
    direction: rtl;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list > li > ul > li > ul,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li > ul > li > ul {
    left: auto;
    right: 100%;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list ul.nmsf-submenu li > a,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list ul.nmsf-submenu li > a {
    display: block !important;
    text-align: right !important;
    direction: rtl !important;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list li ul li > ul.right-align,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list li ul li > ul.right-align {
    left: auto;
    right: 100%;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list > li > a::before,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li > a::before {
    transform-origin: right center;
}

html[dir="rtl"].template-erepair .about-three__points li {
    gap: 25px;
}

html[dir="rtl"].template-erepair .about-three__points li .text {
    margin-left: 0;
}

html[dir="rtl"].template-erepair .about-three__right,
html[dir="rtl"].template-erepair .about-three__text-1,
html[dir="rtl"].template-erepair .services-four__content,
html[dir="rtl"].template-erepair .process-one__single,
html[dir="rtl"].template-erepair .skill-one__left,
html[dir="rtl"].template-erepair .blog-three__content {
    text-align: right;
}

.template-erepair .process-one__count-box {
    display: none !important;
}

.template-erepair .process-one__title a {
    color: inherit;
    transition: color 0.3s ease;
}

.template-erepair .process-one__title a:hover {
    color: var(--erepair-primary);
}

.template-erepair .process-one__icon span,
.template-erepair .process-one__icon i {
    display: inline-block;
    font-size: 40px;
    line-height: 1;
    color: var(--erepair-white);
    transition: all 500ms linear;
    transition-delay: 0.1s;
}

.template-erepair .process-one__single:hover .process-one__icon span,
.template-erepair .process-one__single:hover .process-one__icon i {
    transform: scale(0.9);
    color: var(--erepair-white);
}

.template-erepair .site-drug-week-date {
    color: var(--erepair-gray);
    font-size: 15px;
    line-height: 1.7;
}

.template-erepair .site-drug-week-date strong {
    color: var(--erepair-white);
    font-weight: 600;
}

.template-erepair .site-drug-availability-link {
    margin-top: 28px;
}

.template-erepair .site-drug-availability-bars .site-drug-bar .count-text {
    color: #fff;
    font-weight: 700;
}

.template-erepair .site-skill-section.skill-one {
    padding: 80px 0 40px;
}

.template-erepair .site-blog-section.blog-three {
    padding: 40px 0 80px;
}

.template-erepair .site-skill-section .skill-one__left {
    margin-right: 0;
    margin-inline-end: 32px;
}

.template-erepair .site-skill-section .skill-one__right {
    margin-left: 0;
    margin-inline-start: 32px;
}

.template-erepair .site-skill-section .skill-one__right-img {
    overflow: hidden;
    aspect-ratio: 16 / 10;
    max-height: 360px;
}

.template-erepair .site-skill-section .skill-one__right-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.template-erepair .site-skill-section .skill-one__video-content {
    padding: 28px 20px;
    max-width: 170px;
}

.template-erepair .site-skill-section .skill-one__video-content p {
    font-size: 16px;
    line-height: 1.5;
}

html[dir="rtl"].template-erepair .search-popup__content form {
    direction: rtl;
}

html[dir="rtl"].template-erepair .search-popup__content form input[type="text"],
html[dir="rtl"].template-erepair .search-popup__content form input[type="search"] {
    padding-left: 80px;
    padding-right: 30px;
    text-align: right;
}

html[dir="rtl"].template-erepair .search-popup__content .thm-btn {
    right: auto;
    left: -1px;
}

html[dir="ltr"].template-erepair .search-popup__content form input[type="text"],
html[dir="ltr"].template-erepair .search-popup__content form input[type="search"] {
    padding-right: 80px;
    padding-left: 30px;
    text-align: left;
}

@media only screen and (max-width: 991px) {
    .template-erepair .site-skill-section.skill-one {
        padding: 60px 0 32px;
    }

    .template-erepair .site-blog-section.blog-three {
        padding: 32px 0 60px;
    }

    .template-erepair .site-skill-section .skill-one__left,
    .template-erepair .site-skill-section .skill-one__right {
        margin-inline-end: 0;
        margin-inline-start: 0;
    }

    .template-erepair .site-skill-section .skill-one__right {
        margin-top: 32px;
    }

    .template-erepair .site-skill-section .skill-one__right-img {
        max-height: 280px;
    }
}

html[dir="rtl"].template-erepair .skill-one__progress-title {
    padding-left: 0;
    padding-right: 15px;
}

html[dir="rtl"].template-erepair .blog-three__meta li + li {
    margin-left: 0;
    margin-inline-start: 20px;
}

html[dir="rtl"].template-erepair .blog-three__meta li a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

html[dir="rtl"].template-erepair .blog-three__meta li a i {
    margin-right: 0;
}

html[dir="rtl"].template-erepair .pricing-two__price-points li {
    gap: 12px;
}

html[dir="rtl"].template-erepair .skill-one__left {
    margin-right: 0;
    margin-inline-end: 60px;
}

html[dir="rtl"].template-erepair .skill-one__right {
    margin-left: 0;
    margin-inline-start: 145px;
}

html[dir="rtl"].template-erepair .skill-one__progress-title {
    padding-left: 0;
    padding-inline-start: 15px;
}

html[dir="rtl"].template-erepair .skill-one__progress .count-text {
    right: auto;
    inset-inline-end: 15px;
}

html[dir="rtl"].template-erepair .skill-one__video-content {
    left: auto;
    right: -98px;
    text-align: right;
}

html[dir="rtl"].template-erepair .footer-widget-three__about-content,
html[dir="rtl"].template-erepair .footer-widget-three__social-text,
html[dir="rtl"].template-erepair .site-footer-about-excerpt {
    text-align: right;
}

html[dir="rtl"].template-erepair .site-footer-three__bottom-menu li + li {
    margin-left: 0;
    margin-inline-start: 30px;
}

@media only screen and (max-width: 1199px) {
    html[dir="rtl"].template-erepair .skill-one__left {
        margin-inline-end: 0;
    }

    html[dir="rtl"].template-erepair .skill-one__right {
        margin-inline-start: 0;
    }
}

@media only screen and (max-width: 991px) {
    html[dir="rtl"].template-erepair .skill-one__video-content {
        left: auto;
        right: 0;
    }
}

@media only screen and (max-width: 767px) {
    .template-erepair .about-three__img-two {
        width: 100%;
        max-width: 340px;
    }

    html[dir="rtl"].template-erepair .skill-one__video-content {
        left: auto;
        right: 0;
    }

    html[dir="rtl"].template-erepair .main-menu-three__contact-list li + li {
        margin-inline-start: 0;
        margin-top: 10px;
    }
}

/* Inner page â€” page header & attachments */
.template-erepair .page-header {
    position: relative;
    display: block;
    padding: 75px 0 70px;
    background-color: var(--erepair-extra, #f4fbf9);
    overflow: hidden;
    z-index: 1;
}

.template-erepair .page-header__shape-1 {
    position: absolute;
    top: 0;
    right: 0;
    opacity: 0.35;
    pointer-events: none;
}

.template-erepair .page-header__inner {
    position: relative;
    z-index: 2;
}

.template-erepair .page-header__inner h3 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -1px;
    margin: 0 0 18px;
    color: var(--erepair-black, #171717);
}

.template-erepair .thm-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.template-erepair .thm-breadcrumb li {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
    color: #6e777d;
}

.template-erepair .thm-breadcrumb li a {
    color: var(--erepair-base, #2ab97e);
    transition: color 0.2s ease;
}

.template-erepair .thm-breadcrumb li a:hover {
    color: var(--erepair-black, #171717);
}

.template-erepair .thm-breadcrumb li .icon-angle-right {
    font-size: 12px;
    color: #9aa3a8;
}

html[dir="rtl"].template-erepair .thm-breadcrumb li .icon-angle-right {
    transform: scaleX(-1);
}

.template-erepair .nmsf-page-attachments {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.template-erepair .nmsf-page-attachments__list {
    margin: 20px 0 0;
    padding: 0;
}

.template-erepair .nmsf-page-attachments__item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    margin-bottom: 12px;
    background: var(--erepair-extra, #f4fbf9);
    border-radius: 14px;
}

.template-erepair .nmsf-page-attachments__icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--erepair-base, #2ab97e);
    color: #fff;
    flex-shrink: 0;
}

.template-erepair .nmsf-page-attachments__body {
    flex: 1;
    min-width: 0;
}

.template-erepair .nmsf-page-attachments__body h4 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.template-erepair .nmsf-page-attachments__body p {
    margin: 0;
    font-size: 13px;
    color: #6e777d;
}

.template-erepair .nmsf-page-attachments__btn {
    flex-shrink: 0;
    padding: 10px 18px;
    font-size: 13px;
}

/* Page show â€” sidebar news: contain & crop images */
.template-erepair .nmsf-page-show .sidebar__post-list li {
    align-items: stretch;
    overflow: hidden;
}

.template-erepair .nmsf-page-show .sidebar__post-image {
    position: relative;
    width: 110px;
    max-width: 110px;
    min-width: 110px;
    min-height: 96px;
    flex-shrink: 0;
    overflow: hidden;
    align-self: stretch;
}

.template-erepair .nmsf-page-show .sidebar__post-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.template-erepair .nmsf-page-show .sidebar__post-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.template-erepair .nmsf-page-show .sidebar__post-content h3 {
    margin: 0;
}

@media only screen and (max-width: 767px) {
    .template-erepair .page-header {
        padding: 70px 0 60px;
    }

    .template-erepair .page-header__inner h3 {
        font-size: 32px;
    }

    .template-erepair .nmsf-page-attachments__item {
        flex-direction: column;
        align-items: flex-start;
    }

    html[dir="rtl"].template-erepair .nmsf-page-show .nmsf-page-attachments__item,
    .template-erepair .nmsf-page-show[dir="rtl"] .nmsf-page-attachments__item {
        align-items: flex-end;
    }
}

/* Page show â€” green gradient header */
.template-erepair .nmsf-page-show .page-header {
    background-color: #20684a;
    background-image: linear-gradient(120deg, #20684a 0%, #185439 55%, #123f2b 100%);
}

.template-erepair .nmsf-page-show .page-header__inner h3 {
    color: #fff;
}

.template-erepair .nmsf-page-show .thm-breadcrumb li {
    color: rgba(255, 255, 255, 0.82);
}

.template-erepair .nmsf-page-show .thm-breadcrumb li a {
    color: #fff;
}

.template-erepair .nmsf-page-show .thm-breadcrumb li a:hover {
    color: rgba(255, 255, 255, 0.72);
}

.template-erepair .nmsf-page-show .thm-breadcrumb li .icon-angle-right {
    color: rgba(255, 255, 255, 0.62);
}

.template-erepair .nmsf-page-show .page-header__shape-1 {
    opacity: 0.5;
    z-index: 1;
}

.template-erepair .nmsf-page-show .page-header__inner {
    z-index: 2;
}

/* Page header â€” optional animated illustration (positioned on section, not inner) */
.template-erepair .page-header__img-1 {
    position: absolute;
    right: 8%;
    bottom: 0;
    z-index: 1;
    max-width: 220px;
    pointer-events: none;
}

.template-erepair .page-header__img-1 img {
    width: 100%;
    height: auto;
    display: block;
}

html[dir="rtl"].template-erepair .page-header__img-1,
.template-erepair .page-header[dir="rtl"] .page-header__img-1,
.template-erepair [dir="rtl"] .page-header__img-1 {
    right: auto;
    left: 8%;
}

@media (max-width: 991px) {
    .template-erepair .page-header__img-1 {
        display: none;
    }
}

/* Page show â€” RTL */
html[dir="rtl"].template-erepair .nmsf-page-show,
.template-erepair .nmsf-page-show[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-page-show .page-header__shape-1,
.template-erepair .nmsf-page-show[dir="rtl"] .page-header__shape-1 {
    right: auto;
    left: 0;
    transform: scaleX(-1);
}

html[dir="rtl"].template-erepair .nmsf-page-show .page-header__inner,
.template-erepair .nmsf-page-show[dir="rtl"] .page-header__inner {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-page-show .thm-breadcrumb,
.template-erepair .nmsf-page-show[dir="rtl"] .thm-breadcrumb {
    justify-content: flex-start;
}

html[dir="rtl"].template-erepair .nmsf-page-show .thm-breadcrumb .icon-angle-right,
.template-erepair .nmsf-page-show[dir="rtl"] .thm-breadcrumb .icon-angle-right {
    display: inline-block;
    transform: scaleX(-1);
}

html[dir="rtl"].template-erepair .nmsf-page-show .blog-details__left,
html[dir="rtl"].template-erepair .nmsf-page-show .blog-details__content,
.template-erepair .nmsf-page-show[dir="rtl"] .blog-details__left,
.template-erepair .nmsf-page-show[dir="rtl"] .blog-details__content {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-page-show .blog-details__date,
.template-erepair .nmsf-page-show[dir="rtl"] .blog-details__date {
    right: auto;
    left: 40px;
}

html[dir="rtl"].template-erepair .nmsf-page-show .blog-details__title,
html[dir="rtl"].template-erepair .nmsf-page-show .blog-details__title-2,
.template-erepair .nmsf-page-show[dir="rtl"] .blog-details__title,
.template-erepair .nmsf-page-show[dir="rtl"] .blog-details__title-2 {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-page-show .page-rich-content,
.template-erepair .nmsf-page-show[dir="rtl"] .page-rich-content {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-page-show .nmsf-page-attachments__item,
.template-erepair .nmsf-page-show[dir="rtl"] .nmsf-page-attachments__item {
    flex-direction: row;
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-page-show .sidebar,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-page-show .sidebar__title,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar__title {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-page-show .sidebar__all-category-list li a,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar__all-category-list li a {
    flex-direction: row;
    text-align: right;
}

/* Sidebar â€” reset list inset padding (Bootstrap list-unstyled only clears padding-left) */
.template-erepair .sidebar ul.list-unstyled,
.template-erepair .sidebar .sidebar__all-category-list,
.template-erepair .sidebar .sidebar__post-list,
.template-erepair .sidebar .service-details__services-list {
    margin: 0;
    padding: 0;
    padding-inline-start: 0;
    padding-inline-end: 0;
    list-style: none;
}

/* Sidebar â€” useful links (service-details list style) */
.template-erepair .sidebar .service-details__services-list li a {
    font-size: 15px;
    line-height: 1.4;
}

html[dir="ltr"].template-erepair .sidebar .service-details__services-list li a {
    text-transform: uppercase;
}

html[dir="rtl"].template-erepair .sidebar .service-details__services-list li a,
.template-erepair .sidebar[dir="rtl"] .service-details__services-list li a {
    text-transform: none;
    text-align: right;
}

html[dir="rtl"].template-erepair .sidebar .service-details__services-list li a .icon-arrow-right,
.template-erepair .sidebar[dir="rtl"] .service-details__services-list li a .icon-arrow-right {
    display: inline-block;
    transform: scaleX(-1);
}

/* RTL flex follows dir=rtl on html â€” do NOT row-reverse or layout flips back to LTR */
html[dir="rtl"].template-erepair .nmsf-page-show .sidebar__post-list li,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar__post-list li {
    flex-direction: row;
}

html[dir="rtl"].template-erepair .nmsf-page-show .sidebar__post-image,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar__post-image {
    flex-shrink: 0;
}

html[dir="rtl"].template-erepair .nmsf-page-show .sidebar__post-image img,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar__post-image img {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

html[dir="rtl"].template-erepair .nmsf-page-show .sidebar__post-content,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar__post-content {
    flex: 1;
    min-width: 0;
    border-left: 1px solid var(--erepair-bdr-color);
    border-right: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-page-show .sidebar__post-list li:not(:has(.sidebar__post-image)) .sidebar__post-content,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar__post-list li:not(:has(.sidebar__post-image)) .sidebar__post-content {
    border: 1px solid var(--erepair-bdr-color);
    border-radius: 20px;
}

html[dir="rtl"].template-erepair .nmsf-page-show .sidebar__post-date,
html[dir="rtl"].template-erepair .nmsf-page-show .sidebar__post-content h3,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar__post-date,
.template-erepair .nmsf-page-show[dir="rtl"] .sidebar__post-content h3 {
    text-align: right;
}

@media only screen and (max-width: 767px) {
    html[dir="rtl"].template-erepair .nmsf-page-show .blog-details__date,
    .template-erepair .nmsf-page-show[dir="rtl"] .blog-details__date {
        left: 20px;
    }
}

/* News index â€” blog-one grid */
.template-erepair .nmsf-news-index .blog-page .row > [class*="col-"] {
    display: flex;
}

.template-erepair .nmsf-news-index .blog-one__single {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.template-erepair .nmsf-news-index .blog-one__single:hover {
    border-color: rgba(42, 185, 126, 0.22);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.09);
}

.template-erepair .nmsf-news-index .blog-one__img {
    aspect-ratio: 390 / 240;
    min-height: 180px;
}

.template-erepair .nmsf-news-index .blog-one__img img:nth-child(1),
.template-erepair .nmsf-news-index .blog-one__img img:nth-child(2) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.template-erepair .nmsf-news-index .blog-one__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.template-erepair .nmsf-news-index .blog-one__title {
    flex: 1;
    margin-bottom: 12px;
}

.template-erepair .nmsf-news-index .blog-one__title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.template-erepair .nmsf-news-index .blog-one__learn-more {
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
}

.template-erepair .nmsf-news-index .blog-one__single--no-image .blog-one__content {
    padding-top: 46px;
}

.template-erepair .nmsf-news-index .blog-one__single--placeholder-image .blog-one__img {
    background-color: var(--erepair-extra, #f4fbf9);
}

.template-erepair .nmsf-news-index .blog-one__single--placeholder-image .blog-one__img img:nth-child(1),
.template-erepair .nmsf-news-index .blog-one__single--placeholder-image .blog-one__img img:nth-child(2) {
    object-fit: contain;
    object-position: center;
    padding: 18px;
}

.template-erepair .nmsf-news-index__empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--erepair-extra, #f4fbf9);
    border-radius: 20px;
}

.template-erepair .nmsf-news-index__empty p {
    margin: 0;
    font-size: 18px;
    color: #6e777d;
}

.template-erepair .nmsf-news-index__pagination {
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--erepair-bdr-color, #e5e5e5);
    width: 100%;
}

.template-erepair .nmsf-site-pagination {
    width: 100%;
}

.template-erepair .nmsf-site-pagination__summary {
    margin: 0 0 14px;
    text-align: center;
    font-size: 14px;
    line-height: 1.6;
    color: #6e777d;
}

.template-erepair .nmsf-news-index__pagination .pagination,
.template-erepair .nmsf-site-pagination .pagination {
    margin: 0;
    gap: 6px;
    direction: ltr;
}

html[dir="rtl"].template-erepair .nmsf-news-index__pagination .pagination,
html[dir="rtl"].template-erepair .nmsf-site-pagination .pagination,
.template-erepair [dir="rtl"] .nmsf-news-index__pagination .pagination,
.template-erepair [dir="rtl"] .nmsf-site-pagination .pagination {
    direction: rtl;
}

.template-erepair .nmsf-news-index__pagination .page-link,
.template-erepair .nmsf-site-pagination .page-link {
    border-radius: 8px;
    color: var(--erepair-black, #171717);
    border-color: var(--erepair-bdr-color, #e5e5e5);
    min-width: 42px;
    min-height: 42px;
    padding: 0.45rem 0.75rem;
    text-align: center;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.template-erepair .nmsf-news-index__pagination button.page-link,
.template-erepair .nmsf-site-pagination button.page-link {
    background: #fff;
    cursor: pointer;
}

.template-erepair .nmsf-news-index__pagination .page-item.active .page-link,
.template-erepair .nmsf-site-pagination .page-item.active .page-link {
    background-color: var(--erepair-base, #2ab97e);
    border-color: var(--erepair-base, #2ab97e);
    color: #fff;
}

.template-erepair .nmsf-news-index__pagination .page-item.disabled .page-link,
.template-erepair .nmsf-site-pagination .page-item.disabled .page-link {
    opacity: 0.55;
    cursor: not-allowed;
}

.template-erepair .nmsf-news-index__pagination .page-link:hover,
.template-erepair .nmsf-site-pagination .page-link:hover {
    color: var(--erepair-base, #2ab97e);
}

.template-erepair .nmsf-news-index__pagination .page-item.active .page-link:hover,
.template-erepair .nmsf-site-pagination .page-item.active .page-link:hover {
    color: #fff;
}

.template-erepair .nmsf-news-index__pagination svg,
.template-erepair .nmsf-site-pagination svg {
    width: 1em;
    height: 1em;
    max-width: 18px;
    max-height: 18px;
}

/* News index â€” RTL */
html[dir="rtl"].template-erepair .nmsf-news-index,
.template-erepair .nmsf-news-index[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-news-index .page-header__shape-1,
.template-erepair .nmsf-news-index[dir="rtl"] .page-header__shape-1 {
    right: auto;
    left: 0;
    transform: scaleX(-1);
}

html[dir="rtl"].template-erepair .nmsf-news-index .page-header__inner,
.template-erepair .nmsf-news-index[dir="rtl"] .page-header__inner {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-news-index .thm-breadcrumb,
.template-erepair .nmsf-news-index[dir="rtl"] .thm-breadcrumb {
    justify-content: flex-start;
}

html[dir="rtl"].template-erepair .nmsf-news-index .thm-breadcrumb .icon-angle-right,
.template-erepair .nmsf-news-index[dir="rtl"] .thm-breadcrumb .icon-angle-right {
    display: inline-block;
    transform: scaleX(-1);
}

html[dir="rtl"].template-erepair .nmsf-news-index .blog-one__date,
.template-erepair .nmsf-news-index[dir="rtl"] .blog-one__date {
    right: auto;
    left: 10px;
}

html[dir="rtl"].template-erepair .nmsf-news-index .blog-one__user,
.template-erepair .nmsf-news-index[dir="rtl"] .blog-one__user {
    left: auto;
    right: 30px;
}

html[dir="rtl"].template-erepair .nmsf-news-index .blog-one__title,
html[dir="rtl"].template-erepair .nmsf-news-index .blog-one__content,
.template-erepair .nmsf-news-index[dir="rtl"] .blog-one__title,
.template-erepair .nmsf-news-index[dir="rtl"] .blog-one__content {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-news-index .blog-one__learn-more,
.template-erepair .nmsf-news-index[dir="rtl"] .blog-one__learn-more {
    direction: rtl;
}

html[dir="rtl"].template-erepair .nmsf-news-index .blog-one__learn-more .icon-arrow-right,
.template-erepair .nmsf-news-index[dir="rtl"] .blog-one__learn-more .icon-arrow-right {
    transform: scaleX(-1);
}

@media only screen and (max-width: 767px) {
    .template-erepair .nmsf-news-index .blog-one__img {
        min-height: 165px;
    }
}

/* News show â€” gallery & extras */
.template-erepair .nmsf-news-show .nmsf-news-show__gallery .blog-details__img-box-img {
    overflow: hidden;
    border-radius: 20px;
}

.template-erepair .nmsf-news-show .nmsf-news-show__gallery .blog-details__img-box-img img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    object-position: center;
    display: block;
}

.template-erepair .nmsf-news-show .comment-one {
    margin-top: 40px;
}

.template-erepair .nmsf-news-show .comment-one .blog-details__title-2 {
    font-size: 32px;
    line-height: 1.25;
    margin-top: 0;
    margin-bottom: 24px;
}

.template-erepair .nmsf-news-show .blog-details__author-box {
    margin-top: 10px;
}

/* News show â€” RTL (extends nmsf-page-show) */
html[dir="rtl"].template-erepair .nmsf-news-show .blog-details__user-and-meta,
.template-erepair .nmsf-news-show[dir="rtl"] .blog-details__user-and-meta {
    flex-direction: row;
}

html[dir="rtl"].template-erepair .nmsf-news-show .blog-details__meta,
.template-erepair .nmsf-news-show[dir="rtl"] .blog-details__meta {
    flex-direction: row;
}

html[dir="rtl"].template-erepair .nmsf-news-show .blog-details__tag-and-share,
.template-erepair .nmsf-news-show[dir="rtl"] .blog-details__tag-and-share {
    flex-direction: row;
}

html[dir="rtl"].template-erepair .nmsf-news-show .blog-details__tag,
html[dir="rtl"].template-erepair .nmsf-news-show .blog-details__share-box,
.template-erepair .nmsf-news-show[dir="rtl"] .blog-details__tag,
.template-erepair .nmsf-news-show[dir="rtl"] .blog-details__share-box {
    flex-direction: row;
}

html[dir="rtl"].template-erepair .nmsf-news-show .blog-details__author-name,
.template-erepair .nmsf-news-show[dir="rtl"] .blog-details__author-name {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-news-show .comment-one__content,
.template-erepair .nmsf-news-show[dir="rtl"] .comment-one__content {
    text-align: right;
}

@media only screen and (max-width: 767px) {
    .template-erepair .nmsf-news-show .blog-details__tag-and-share {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    html[dir="rtl"].template-erepair .nmsf-news-show .blog-details__tag-and-share,
    .template-erepair .nmsf-news-show[dir="rtl"] .blog-details__tag-and-share {
        align-items: flex-end;
    }

    .template-erepair .nmsf-news-show .nmsf-news-show__gallery .blog-details__img-box-img img {
        height: 200px;
    }
}

/* Directors page â€” timeline */
.template-erepair .nmsf-directors-page .blog-details__content.nmsf-directors-page__content {
    margin-top: 0;
}

.template-erepair .nmsf-directors-timeline__intro {
    color: #6e777d;
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 30px;
}

.template-erepair .nmsf-directors-page__empty {
    text-align: center;
    padding: 50px 20px;
    background: var(--erepair-extra, #f4fbf9);
    border-radius: 20px;
}

.template-erepair .nmsf-directors-page__empty p {
    margin: 0;
    font-size: 18px;
    color: #6e777d;
}

.template-erepair .nmsf-directors-timeline {
    position: relative;
    padding: 10px 0 20px;
}

.template-erepair .nmsf-directors-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--erepair-base, #2ab97e);
    left: 36px;
    transform: none;
}

.template-erepair .nmsf-directors-timeline .director-timeline-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 16px 20px;
    align-items: start;
    margin-bottom: 36px;
    position: relative;
}

.template-erepair .nmsf-directors-timeline .director-timeline-row:last-child {
    margin-bottom: 0;
}

.template-erepair .nmsf-directors-timeline .director-timeline-axis {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    justify-content: center;
    z-index: 2;
}

.template-erepair .nmsf-directors-timeline .director-timeline-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: var(--erepair-black, #171717);
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--erepair-base, #2ab97e);
    flex-shrink: 0;
    position: relative;
}

.template-erepair .nmsf-directors-timeline .director-timeline-avatar img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    margin: 0;
    max-width: none;
}

.template-erepair .nmsf-directors-timeline .director-timeline-avatar .timeline-year-badge {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.25;
    padding: 6px;
    text-align: center;
}

.template-erepair .nmsf-directors-timeline .director-period-badge {
    display: inline-block;
    background: var(--erepair-base, #2ab97e);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    line-height: 1.4;
    box-shadow: 0 2px 8px rgba(42, 185, 126, 0.35);
}

.template-erepair .nmsf-directors-timeline .director-timeline-date-wrap {
    grid-column: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    min-height: 32px;
}

.template-erepair .nmsf-directors-timeline .director-timeline-portrait {
    width: 100%;
    max-width: 260px;
    border-radius: 20px;
    overflow: hidden;
    background: var(--erepair-extra, #f4fbf9);
    border: 3px solid #fff;
    box-shadow: 0 8px 24px rgba(23, 23, 23, 0.1);
    line-height: 0;
}

.template-erepair .nmsf-directors-timeline .director-timeline-portrait img {
    width: 100%;
    height: auto;
    min-height: 200px;
    max-height: 340px;
    object-fit: cover;
    object-position: center top;
    display: block;
    margin: 0;
    max-width: 100%;
}

.template-erepair .nmsf-directors-timeline .director-timeline-content-wrap {
    grid-column: 2;
}

.template-erepair .nmsf-directors-timeline .director-timeline-card {
    background: #fff;
    border: 1px solid var(--erepair-bdr-color, #e5e5e5);
    border-radius: 20px;
    padding: 24px 26px;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.05);
}

.template-erepair .nmsf-directors-timeline .director-timeline-card h2 {
    color: var(--erepair-black, #171717);
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 8px;
}

.template-erepair .nmsf-directors-timeline .director-birth-meta {
    color: #6e777d;
    font-size: 14px;
    margin-bottom: 14px;
}

.template-erepair .nmsf-directors-timeline .director-birth-meta i {
    color: var(--erepair-base, #2ab97e);
    margin-inline-end: 6px;
}

.template-erepair .nmsf-directors-timeline .director-detail-block {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed var(--erepair-bdr-color, #e5e5e5);
}

.template-erepair .nmsf-directors-timeline .director-detail-block h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--erepair-black, #171717);
    margin: 0 0 10px;
}

.template-erepair .nmsf-directors-timeline .director-detail-block h4 i {
    color: var(--erepair-base, #2ab97e);
    margin-inline-end: 6px;
}

@media (min-width: 992px) {
    .template-erepair .nmsf-directors-timeline::before {
        left: 50%;
        transform: translateX(-50%);
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-row {
        grid-template-columns: 1fr 80px 1fr;
        gap: 24px;
        margin-bottom: 48px;
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-axis {
        grid-column: 2;
        grid-row: 1;
        align-self: start;
        padding-top: 4px;
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-end .director-timeline-content-wrap {
        grid-column: 3;
        grid-row: 1;
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-end .director-timeline-date-wrap {
        grid-column: 1;
        grid-row: 1;
        align-items: flex-end;
        text-align: end;
        padding-top: 12px;
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-end .director-timeline-portrait {
        margin-inline-start: auto;
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-start .director-timeline-content-wrap {
        grid-column: 1;
        grid-row: 1;
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-start .director-timeline-date-wrap {
        grid-column: 3;
        grid-row: 1;
        align-items: flex-start;
        text-align: start;
        padding-top: 12px;
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-start .director-timeline-portrait {
        margin-inline-end: auto;
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-portrait {
        max-width: 300px;
    }

    html[dir="rtl"].template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-end .director-timeline-content-wrap {
        grid-column: 1;
    }

    html[dir="rtl"].template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-end .director-timeline-date-wrap {
        grid-column: 3;
        align-items: flex-start;
        text-align: start;
    }

    html[dir="rtl"].template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-end .director-timeline-portrait {
        margin-inline-start: 0;
        margin-inline-end: auto;
    }

    html[dir="rtl"].template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-start .director-timeline-content-wrap {
        grid-column: 3;
    }

    html[dir="rtl"].template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-start .director-timeline-date-wrap {
        grid-column: 1;
        align-items: flex-end;
        text-align: end;
    }

    html[dir="rtl"].template-erepair .nmsf-directors-timeline .director-timeline-row.is-content-start .director-timeline-portrait {
        margin-inline-end: 0;
        margin-inline-start: auto;
    }
}

@media (max-width: 991px) {
    .template-erepair .nmsf-directors-timeline .director-timeline-portrait {
        max-width: 100%;
    }

    .template-erepair .nmsf-directors-timeline .director-timeline-portrait img {
        min-height: 180px;
        max-height: 280px;
    }
}

/* Directors page â€” RTL text */
html[dir="rtl"].template-erepair .nmsf-directors-page .nmsf-directors-timeline__intro,
.template-erepair .nmsf-directors-page[dir="rtl"] .nmsf-directors-timeline__intro {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-directors-page .director-timeline-card,
html[dir="rtl"].template-erepair .nmsf-directors-page .director-detail-block,
.template-erepair .nmsf-directors-page[dir="rtl"] .director-timeline-card,
.template-erepair .nmsf-directors-page[dir="rtl"] .director-detail-block {
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-directors-page .director-timeline-card .page-rich-content,
.template-erepair .nmsf-directors-page[dir="rtl"] .director-timeline-card .page-rich-content {
    direction: rtl;
    text-align: right;
}

/* Inner pages â€” shared */
.template-erepair .nmsf-inner-page__content {
    margin-top: 0;
}

/* Inner pages â€” reduce large gap under page header */
.template-erepair .blog-details,
.template-erepair .blog-page,
.template-erepair .service-details {
    padding-top: 72px;
}

@media only screen and (max-width: 767px) {
    .template-erepair .blog-details,
    .template-erepair .blog-page,
    .template-erepair .service-details {
        padding-top: 52px;
    }
}

.template-erepair .nmsf-inner-page__intro,
.template-erepair .nmsf-list-meta {
    color: #6e777d;
    font-size: 15px;
    line-height: 1.7;
}

.template-erepair .nmsf-inner-page__intro {
    margin: 0 0 24px;
}

.template-erepair .nmsf-list-top-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px 20px;
    margin-bottom: 20px;
    background: var(--erepair-extra, #f4fbf9);
    border-radius: 14px;
}

.template-erepair .nmsf-list-top-info p {
    margin: 0;
    color: #6e777d;
}

.template-erepair .nmsf-stat-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px 18px;
    border-radius: 14px;
    margin-bottom: 12px;
    background: #fff;
    border: 1px solid var(--erepair-bdr-color, #e5e5e5);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
}

.template-erepair .nmsf-stat-card strong {
    font-size: 13px;
    color: #6e777d;
}

.template-erepair .nmsf-stat-card span {
    font-size: 18px;
    font-weight: 700;
    color: var(--erepair-black, #171717);
}

.template-erepair .nmsf-stat-card--info {
    border-color: rgba(42, 185, 126, 0.25);
}

.template-erepair .nmsf-stat-card--success span {
    color: var(--erepair-base, #2ab97e);
}

.template-erepair .nmsf-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.template-erepair .nmsf-filter-chip {
    border: 1px solid var(--erepair-bdr-color, #e5e5e5);
    background: #fff;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--erepair-black, #171717);
    cursor: pointer;
    transition: all 0.2s ease;
}

.template-erepair .nmsf-filter-chip.is-active,
.template-erepair .nmsf-filter-chip:hover {
    background: var(--erepair-base, #2ab97e);
    border-color: var(--erepair-base, #2ab97e);
    color: #fff;
}

.template-erepair .nmsf-filter-chip__count {
    display: inline-flex;
    min-width: 1.5rem;
    justify-content: center;
    margin-inline-start: 6px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    font-size: 12px;
}

.template-erepair .nmsf-filter-chip.is-active .nmsf-filter-chip__count {
    background: rgba(255, 255, 255, 0.25);
}

.template-erepair .nmsf-form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--erepair-black, #171717);
}

.template-erepair .nmsf-tenders-index .nmsf-tenders-filter-wrap {
    padding: 22px;
    border-radius: 16px;
    background-color: #20684a;
    background-image: linear-gradient(120deg, #20684a 0%, #185439 55%, #123f2b 100%);
    box-shadow: 0 8px 24px rgba(18, 63, 43, 0.2);
}

.template-erepair .nmsf-tenders-index .nmsf-tenders-filter-wrap .nmsf-search-bar {
    margin-bottom: 12px;
}

.template-erepair .nmsf-tenders-index .nmsf-tenders-filter-wrap .nmsf-form-label {
    color: #fff;
}

.template-erepair .nmsf-tenders-index .nmsf-tenders-filter-wrap .form-control,
.template-erepair .nmsf-tenders-index .nmsf-tenders-filter-wrap .ignore {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.98);
    color: var(--erepair-black, #171717);
}

.template-erepair .nmsf-tenders-index .nmsf-tenders-filter-wrap .small.text-muted {
    color: rgba(255, 255, 255, 0.88) !important;
}

.template-erepair .nmsf-tenders-index .nmsf-tenders-filter-wrap .nmsf-btn-sm {
    margin-top: 8px;
}

.template-erepair .nmsf-tenders-index .nmsf-tenders-results-summary {
    border-radius: 12px;
    border: 1px solid rgba(32, 104, 74, 0.22);
    background: rgba(32, 104, 74, 0.08);
    color: #1a3d2e;
    font-size: 0.95rem;
    line-height: 1.7;
    padding: 12px 16px;
}

.template-erepair .nmsf-tenders-index .nmsf-tenders-results-summary .fa {
    margin-inline-end: 6px;
    color: #20684a;
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap {
    padding: 22px;
    border-radius: 16px;
    background-color: #20684a;
    background-image: linear-gradient(120deg, #20684a 0%, #185439 55%, #123f2b 100%);
    box-shadow: 0 8px 24px rgba(18, 63, 43, 0.2);
    margin-bottom: 24px !important;
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .nmsf-filter-chips {
    margin-bottom: 14px;
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .nmsf-filter-chip {
    border-color: rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .nmsf-filter-chip:hover {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.42);
    color: #fff;
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .nmsf-filter-chip.is-active {
    background: #fff;
    border-color: #fff;
    color: #185439;
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .nmsf-filter-chip__count {
    background: rgba(255, 255, 255, 0.25);
    color: inherit;
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .nmsf-filter-chip.is-active .nmsf-filter-chip__count {
    background: rgba(24, 84, 57, 0.12);
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .form-control {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.98);
    color: var(--erepair-black, #171717);
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .small.text-muted {
    color: rgba(255, 255, 255, 0.88) !important;
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .nmsf-list-meta {
    color: rgba(255, 255, 255, 0.9);
}

.template-erepair .nmsf-library-page .nmsf-library-filter-wrap .nmsf-list-meta strong {
    color: #fff;
}

.template-erepair .nmsf-tenders-index .nmsf-stat-cards--below-filter {
    margin-top: 16px;
    margin-bottom: 28px !important;
}

.template-erepair .nmsf-tenders-index .nmsf-stat-cards--below-filter .nmsf-stat-card {
    margin-bottom: 0;
}

.template-erepair .nmsf-btn-sm {
    padding: 10px 18px;
    font-size: 13px;
}

.template-erepair .nmsf-text-success {
    color: var(--erepair-base, #2ab97e) !important;
}

.template-erepair .nmsf-section-title {
    font-size: 28px !important;
    line-height: 1.3 !important;
    margin-top: 10px !important;
}

.template-erepair .nmsf-tenders-index .nmsf-section-title {
    margin-top: 0 !important;
}

.template-erepair .nmsf-tenders-index .nmsf-services-inner + .nmsf-section-title {
    margin-top: 30px !important;
}

.template-erepair .nmsf-card-excerpt {
    margin: 0 0 16px;
    color: #6e777d;
    font-size: 15px;
    line-height: 1.7;
}

.template-erepair .nmsf-erepair-table-wrap .table thead {
    background: var(--erepair-base, #2ab97e);
    color: #fff;
}

.template-erepair .nmsf-erepair-table-wrap .table thead th {
    border-color: rgba(255, 255, 255, 0.15);
    font-weight: 600;
}

.template-erepair .nmsf-fund-products-page .fund-products-cat-btn.is-active,
.template-erepair .nmsf-fund-products-page .fund-products-cat-btn:not(.is-active):hover {
    background: var(--erepair-base, #2ab97e);
    border-color: var(--erepair-base, #2ab97e);
}

.template-erepair .nmsf-fund-products-page .fund-products-cat-btn .fund-products-badge {
    background-color: var(--erepair-base, #2ab97e) !important;
}

.template-erepair .nmsf-fund-products-page .fund-products-filters {
    border-radius: 16px;
}

/* Services cards inside inner pages */
.template-erepair .nmsf-services-inner.services-two {
    padding: 0;
}

.template-erepair .nmsf-services-inner .services-two__single {
    margin-bottom: 24px;
}

.template-erepair .nmsf-services-inner .services-two__text {
    margin-bottom: 10px;
    color: #6e777d;
    line-height: 1.7;
    font-size: 15px;
}

.template-erepair .nmsf-services-inner .services-two__learn-more {
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
}

.template-erepair .nmsf-tender-card--archived {
    opacity: 0.92;
    border: 1px dashed var(--erepair-bdr-color, #e5e5e5);
}

.template-erepair .nmsf-tender-snapshot li span {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
}

.template-erepair .nmsf-tender-tags span {
    display: inline-block;
    margin-inline-end: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--erepair-extra, #f4fbf9);
    color: var(--erepair-base, #2ab97e);
    font-size: 11px;
    font-weight: 600;
}

/* Drug availability */
.template-erepair .nmsf-drug-availability__subtitle {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 16px;
    color: var(--erepair-black, #171717);
}

.template-erepair .nmsf-year-tabs {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0;
    margin: 0 0 24px;
    padding: 4px;
    max-width: 100%;
    background: var(--erepair-extra, #f4fbf9);
    border: 1px solid var(--erepair-bdr-color, #e5e5e5);
    border-radius: 14px;
}

.template-erepair .nmsf-year-tab {
    flex: 0 0 auto;
    min-width: 64px;
    padding: 10px 22px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: #6e777d;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.template-erepair .nmsf-year-tab:hover:not(.is-active):not(:disabled) {
    color: var(--erepair-black, #171717);
    background: rgba(255, 255, 255, 0.7);
}

.template-erepair .nmsf-year-tab.is-active {
    background: var(--erepair-base, #2ab97e);
    color: #fff;
    box-shadow: 0 4px 14px rgba(42, 185, 126, 0.28);
}

.template-erepair .nmsf-year-tab:disabled {
    opacity: 0.65;
    cursor: wait;
}

@media (max-width: 575px) {
    .template-erepair .nmsf-year-tabs {
        display: flex;
        width: 100%;
    }

    .template-erepair .nmsf-year-tab {
        flex: 1 1 auto;
        min-width: 0;
        padding: 10px 12px;
        font-size: 14px;
    }
}

.template-erepair .nmsf-chart-wrap {
    position: relative;
    height: 420px;
    min-height: 420px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--erepair-bdr-color, #e5e5e5);
    border-radius: 20px;
}

.template-erepair .nmsf-chart-wrap > canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.template-erepair .nmsf-chart-loading {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    border-radius: 20px;
}

.template-erepair .nmsf-indicator-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--erepair-bdr-color, #e5e5e5);
    background: #fff;
    text-align: center;
    font-weight: 600;
    color: var(--erepair-black, #171717);
    text-decoration: none;
}

.template-erepair .nmsf-indicator-btn.is-inactive {
    opacity: 0.55;
    text-decoration: line-through;
}

.template-erepair .nmsf-indicator-btn.is-active {
    border-color: var(--erepair-base, #2ab97e);
}

.template-erepair .nmsf-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Extend blog-one card rules to announcements index */
.template-erepair .nmsf-announcements-index .nmsf-announcements-grid {
    --bs-gutter-x: 24px;
    --bs-gutter-y: 24px;
}

.template-erepair .nmsf-announcements-index .nmsf-announcements-grid > [class*="col-"] {
    display: flex;
}

.template-erepair .nmsf-announcements-index .blog-one__single {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.template-erepair .nmsf-announcements-index .blog-one__img {
    aspect-ratio: 390 / 240;
    min-height: 180px;
}

.template-erepair .nmsf-announcements-index .blog-one__img img:nth-child(1),
.template-erepair .nmsf-announcements-index .blog-one__img img:nth-child(2) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.template-erepair .nmsf-announcements-index .blog-one__content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.template-erepair .nmsf-announcements-index .blog-one__title {
    flex: 1;
    margin-bottom: 12px;
}

.template-erepair .nmsf-announcements-index .blog-one__title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.template-erepair .nmsf-announcements-index .blog-one__learn-more {
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
}

.template-erepair .nmsf-announcements-index .nmsf-news-index__pagination {
    display: block;
    width: 100%;
    clear: both;
}

.template-erepair .nmsf-announcements-index .nmsf-news-index__pagination--top {
    margin-top: 0;
    margin-bottom: 24px;
}

.template-erepair .nmsf-announcements-index .nmsf-news-index__pagination--bottom {
    margin-top: 10px;
}

/* Inner pages â€” RTL services-two */
html[dir="rtl"].template-erepair .nmsf-page-show .services-two__single,
.template-erepair .nmsf-page-show[dir="rtl"] .services-two__single {
    margin-left: 0;
    margin-right: 30px;
    padding-left: 30px;
    padding-right: 100px;
}

html[dir="rtl"].template-erepair .nmsf-page-show .services-two__icon,
.template-erepair .nmsf-page-show[dir="rtl"] .services-two__icon {
    left: auto;
    right: -30px;
}

html[dir="rtl"].template-erepair .nmsf-page-show .services-two__learn-more,
.template-erepair .nmsf-page-show[dir="rtl"] .services-two__learn-more {
    direction: rtl;
}

html[dir="rtl"].template-erepair .nmsf-page-show .services-two__learn-more .icon-arrow-right,
.template-erepair .nmsf-page-show[dir="rtl"] .services-two__learn-more .icon-arrow-right {
    transform: scaleX(-1);
}

html[dir="rtl"].template-erepair .nmsf-announcements-index .blog-one__learn-more,
.template-erepair .nmsf-announcements-index[dir="rtl"] .blog-one__learn-more {
    direction: rtl;
}

html[dir="rtl"].template-erepair .nmsf-announcements-index .blog-one__learn-more .icon-arrow-right,
.template-erepair .nmsf-announcements-index[dir="rtl"] .blog-one__learn-more .icon-arrow-right {
    transform: scaleX(-1);
}

html[dir="rtl"].template-erepair .nmsf-page-show .nmsf-inner-page__intro,
html[dir="rtl"].template-erepair .nmsf-page-show .nmsf-list-meta,
html[dir="rtl"].template-erepair .nmsf-page-show .nmsf-card-excerpt,
.template-erepair .nmsf-page-show[dir="rtl"] .nmsf-inner-page__intro,
.template-erepair .nmsf-page-show[dir="rtl"] .nmsf-list-meta,
.template-erepair .nmsf-page-show[dir="rtl"] .nmsf-card-excerpt {
    text-align: right;
}

@media only screen and (max-width: 767px) {
    .template-erepair .nmsf-announcements-index .blog-one__img {
        min-height: 165px;
    }

    html[dir="rtl"].template-erepair .nmsf-page-show .services-two__single,
    .template-erepair .nmsf-page-show[dir="rtl"] .services-two__single {
        margin-right: 0;
        padding-right: 30px;
    }

    html[dir="rtl"].template-erepair .nmsf-page-show .services-two__icon,
    .template-erepair .nmsf-page-show[dir="rtl"] .services-two__icon {
        right: 0;
    }
}

/* NMSF in Figures â€” accordion */
.template-erepair .nmsf-figures-accordion {
    margin: 0;
}

.template-erepair .nmsf-figures-panel {
    border: 1px solid var(--erepair-bdr-color, #e5e5e5);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.04);
    background: #fff;
}

.template-erepair .nmsf-figures-panel__toggle {
    display: block;
    width: 100%;
    border: 0;
    padding: 18px 50px 18px 22px;
    background: var(--erepair-extra, #f4fbf9);
    color: var(--erepair-black, #171717);
    font-size: 17px;
    font-weight: 700;
    text-align: inherit;
    cursor: pointer;
    position: relative;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.template-erepair .nmsf-figures-panel__toggle::after {
    content: '+';
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--erepair-bdr-color, #e5e5e5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    font-weight: 400;
    color: var(--erepair-base, #2ab97e);
}

.template-erepair .nmsf-figures-panel.is-open .nmsf-figures-panel__toggle {
    background: var(--erepair-base, #2ab97e);
    color: #fff;
}

.template-erepair .nmsf-figures-panel.is-open .nmsf-figures-panel__toggle::after {
    content: 'âˆ’';
    background: rgba(255, 255, 255, 0.15);
    border-color: transparent;
    color: #fff;
}

.template-erepair .nmsf-figures-panel__body {
    padding: 22px;
}

.template-erepair .nmsf-figures-panel__body[hidden] {
    display: none !important;
}

.template-erepair .nmsf-figures-panel__desc {
    margin: 0 0 18px;
    color: #6e777d;
    line-height: 1.7;
}

.template-erepair .nmsf-figures-chart-wrap {
    height: 400px;
    min-height: 400px;
}

@media (max-width: 991px) {
    .template-erepair .nmsf-chart-wrap {
        height: 380px;
        min-height: 380px;
        padding: 16px;
    }

    .template-erepair .nmsf-figures-chart-wrap {
        height: 360px;
        min-height: 360px;
    }
}

@media (max-width: 575px) {
    .template-erepair .nmsf-chart-wrap {
        height: 340px;
        min-height: 340px;
        padding: 12px;
    }

    .template-erepair .nmsf-figures-chart-wrap {
        height: 320px;
        min-height: 320px;
    }
}

html[dir="rtl"].template-erepair .nmsf-figures-page .nmsf-figures-panel__toggle,
.template-erepair .nmsf-figures-page[dir="rtl"] .nmsf-figures-panel__toggle {
    padding: 18px 22px 18px 50px;
    text-align: right;
}

html[dir="rtl"].template-erepair .nmsf-figures-page .nmsf-figures-panel__toggle::after,
.template-erepair .nmsf-figures-page[dir="rtl"] .nmsf-figures-panel__toggle::after {
    right: auto;
    left: 20px;
}

html[dir="rtl"].template-erepair .nmsf-figures-page .nmsf-figures-panel__desc,
.template-erepair .nmsf-figures-page[dir="rtl"] .nmsf-figures-panel__desc {
    text-align: right;
}

/* Complaints & suggestions form */
.template-erepair .nmsf-complaints-form {
    padding: 10px 0 30px;
}

.template-erepair .nmsf-complaints-form__title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--erepair-black, #171717);
}

.template-erepair .nmsf-complaints-form__title-line {
    height: 3px;
    width: 100%;
    background: var(--erepair-base, #2ab97e);
    margin-bottom: 20px;
    border-radius: 2px;
}

.template-erepair .nmsf-complaints-form__intro {
    margin-bottom: 28px;
    color: #6e777d;
    font-size: 15px;
    line-height: 1.7;
}

.template-erepair .nmsf-field-badge {
    display: inline-block;
    margin-inline-start: 6px;
    font-size: 12px;
    font-weight: 600;
    vertical-align: middle;
}

.template-erepair .nmsf-field-badge--required {
    color: #e74c3c;
    font-size: 14px;
    line-height: 1;
}

.template-erepair .nmsf-field-badge--required-text {
    color: #e74c3c;
    font-weight: 500;
}

.template-erepair .nmsf-field-badge--optional {
    color: #95a5a6;
    font-weight: 500;
}

.template-erepair .nmsf-complaints-form__field {
    margin-bottom: 22px;
}

.template-erepair .nmsf-complaints-form__field .form-control {
    border: 1px solid #d9dde1;
    border-radius: 4px;
    padding: 10px 14px;
    font-size: 15px;
    min-height: 44px;
}

.template-erepair .nmsf-complaints-form__field textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

.template-erepair .nmsf-complaints-form__field .form-control.is-invalid {
    border-color: #e74c3c;
}

.template-erepair .nmsf-complaints-form__error {
    display: block;
    margin-top: 6px;
    color: #e74c3c;
    font-size: 13px;
}

.template-erepair .nmsf-complaints-form__success {
    margin-bottom: 24px;
    border-radius: 8px;
}

.template-erepair .nmsf-captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.template-erepair .nmsf-captcha-row__image {
    width: 120px;
    height: 40px;
    border: 1px solid #d9dde1;
    border-radius: 4px;
    flex-shrink: 0;
    background: #f5f5f5;
}

.template-erepair .nmsf-captcha-row .form-control {
    flex: 1;
    min-width: 160px;
}

.template-erepair .nmsf-complaints-form__actions {
    margin-top: 10px;
}

.template-erepair .nmsf-complaints-form__actions .thm-btn {
    min-width: 120px;
}

html[dir="rtl"].template-erepair .nmsf-complaints-page .nmsf-captcha-row,
.template-erepair .nmsf-complaints-page[dir="rtl"] .nmsf-captcha-row {
    flex-direction: row-reverse;
}

/* Menu parents with children ? toggle only, no navigation */
.template-erepair .main-menu__list a.menu-has-children,
.template-erepair .stricky-header .main-menu__list a.menu-has-children,
.template-erepair .mobile-nav__container .main-menu__list a.menu-has-children {
    cursor: pointer;
}

/* RTL dropdown ? force right-aligned text (theme uses flex LTR defaults) */
html[dir="rtl"].template-erepair .main-menu .main-menu__list > li > ul,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li > ul {
    left: auto !important;
    right: 0 !important;
    align-items: stretch !important;
    transform-origin: top right !important;
    text-align: right !important;
    direction: rtl !important;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list > li > ul > li,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li > ul > li {
    width: 100%;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list > li > ul,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li > ul,
html[dir="rtl"].template-erepair .main-menu .main-menu__list ul.nmsf-submenu,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list ul.nmsf-submenu {
    left: auto !important;
    right: 0 !important;
    align-items: stretch !important;
    transform-origin: top right !important;
    text-align: right !important;
    direction: rtl !important;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list > li > ul > li > a,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li > ul > li > a,
html[dir="rtl"].template-erepair .main-menu .main-menu__list > li > ul > li > ul > li > a,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li > ul > li > ul > li > a,
html[dir="rtl"].template-erepair .main-menu .main-menu__list ul.nmsf-submenu li > a,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list ul.nmsf-submenu li > a {
    display: block !important;
    text-align: right !important;
    direction: rtl !important;
    width: 100% !important;
    box-sizing: border-box !important;
    -webkit-box-pack: unset !important;
    -ms-flex-pack: unset !important;
    justify-content: unset !important;
}

html[dir="rtl"].template-erepair .main-menu .main-menu__list > li > ul > li > ul,
html[dir="rtl"].template-erepair .stricky-header .main-menu__list > li > ul > li > ul {
    left: auto !important;
    right: 100% !important;
}

html[dir="rtl"].template-erepair .mobile-nav__container .main-menu__list > li > ul,
html[dir="rtl"].template-erepair .mobile-nav__container .main-menu__list > li > ul > li > ul {
    text-align: right;
    direction: rtl;
}

html[dir="rtl"].template-erepair .mobile-nav__container .main-menu__list > li > ul > li > a,
html[dir="rtl"].template-erepair .mobile-nav__container .main-menu__list > li > ul > li > ul > li > a,
html[dir="rtl"].template-erepair .mobile-nav__container .main-menu__list ul.nmsf-submenu li > a {
    display: block !important;
    text-align: right !important;
    direction: rtl !important;
    justify-content: unset !important;
}

html[dir="rtl"].template-erepair .site-footer-links,
html[dir="rtl"].template-erepair .site-footer-links a {
    text-align: right;
}
