:root {
    --my-color: #f8f8f8;

    --ripple-ani-duration: 5s;
}
/* header */
.header-layout5 .logo-shape {
    width: 25%;
}
.fa-play-rtl:before {
    transform: rotate(180deg);
    display: inline-block;
}
.event-card .box-img .badge {
    right: -1px;
}
.text-righ {
    text-align: right !important;
}

.accordion-card .accordion-button:after {
    padding-left: 10px !important;
}
.custom-tab {
    color: #198754;
    font-weight: 500;
    border: 1px solid transparent;
    border-radius: 0.5rem 0.5rem 0 0;
    background-color: #f9f9f9;
    transition: all 0.3s ease;
}

.custom-tab:hover {
    background-color: #e8f5e9;
    border-color: #198754;
}

.custom-tab.active {
    background-color: #198754;
    color: white;
    font-weight: bold;
    border-color: #198754 #198754 white;
}

.blog-img.position-relative {
    position: relative;
}

.custom-center-play-btn {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    z-index: 10;
}
.arrow-icon-custom {
    transition: margin-left 0.3s ease;
    transition-delay: 0.5s;
    margin-right: 6px;
    font-size: 1rem;
}

.load-more-btn:hover .arrow-icon-custom {
    margin-right: 12px;
    transition-delay: 0.3s;
}
.background-image_privet {
    background-image: url(assets/img/bg/testimonial_shape.png);
}

.pr-0 {
    padding-right: 0 !important;
}
.bg-color-whi {
    background-color: #f8f9fa !important;
}

.border-s1 {
    border: 1px solid #dee2e6 !important;
}
.m-s1 {
    margin-right: 0.7rem;
}
.me-20 {
    margin-right: 20px !important;
}
.hero-style6 .hero-title {
    margin: 10px 0 25px 10px;
}
.hero-style6 .hero-text {
    margin: 10px 0 25px 10px;
}
/* التابات */

.tabs-section .nav-tabs {
    border-bottom: 2px solid var(--theme-color2);
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin: 23px;
}
.tabs-section .nav-link:hover {
    background-color: #e2dcdc;
}

.tabs-section .nav-link {
    background-color: #f8f9fa;
    color: #444;
    padding: 10px 20px;
    transition: all 0.3s ease;
}

.tabs-section .nav-link.active {
    background-color: var(--theme-color2);
    color: var(--title-color);
    border-color: var(--theme-color2);
}

.tabs-section .tab-content {
    margin-top: 30px;
    border-radius: 10px;
    padding: 20px;
    font-size: 17px;
    line-height: 1.7;
    color: #333;
}

@media (max-width: 576px) {
    .tabs-section .nav-tabs {
        gap: 0px;
        margin: 0;
        padding: 0;
    }

    .tabs-section .nav-link {
        padding: 8px 11px;
        font-size: 14px;
    }

    .tabs-section .tab-content {
        padding: 0;
    }
    .footer-widget .widget_title {
        margin-right: 0 !important;
    }
}
.tabs-section .nav-link.active {
    background-color: var(--theme-color2) !important;
    color: var(--my-color);
    border-color: var(--theme-color2);
    position: relative;
    z-index: 1;
}

.tabs-section .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 50%;
    transform: translateX(-50%);
    width: 115%;
    height: 3px;
    background-color: var(--theme-color2);
    border-top-left-radius: 50% 100%;
    border-top-right-radius: 50% 100%;
    z-index: -1;
}
.gap_20px ul {
    gap: 20px;
}

.audio-inside-img {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 2;

    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}
.spical {
    background-color: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    padding: 30px;
    margin-top: 23px;
}

.nav-tabs .nav-link {
    margin-bottom: 0;
}
/* blog */
.new_pad {
    padding: 10px 12px;
}
.cousrse-card .tags {
    line-height: 1.7;
    font-size: 16px;
}
/* fatawa */
.back_whit {
    background: #f8f9fa !important;
}
.back_white {
    background: #fff;
}
.widget {
    padding: 30px;
    height: 100%;
}

.accordion-card {
    border: none;
}

.count_span {
    border: 1px solid #999;
    margin-right: 7px;
    padding-left: 20px;
    padding-right: 20px;
    border-radius: 7px;
    margin-bottom: 13px;
    padding-top: 3px;
}

/* vedios */
.card {
    border-radius: 1.1rem;
}
.border_red1 img {
    border-radius: 1.6rem;
    padding: 14px;
}
.blog-img {
    height: 60%;
    overflow: hidden;
    position: relative;
    border-radius: 15px;
}

.blog-img img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* lecture */
.audio-play-wrapp {
    margin: unset;
    background-color: transparent;
}
.audio-play-wrapp audio {
    border: unset;
    width: 100%;
    height: 40px;
}
.background_color {
    background: #f8f9fa !important;
}

.audio-play-wrapp {
    margin: unset;

    background-color: transparent;
}
.audio-play-wrapp {
    padding: 5px 10px;
}

.flex_mine {
    display: flex;
}
.widget_categories ul li {
    margin-bottom: 10px;
}
.custom-hero-height {
    max-height: 570px;
}
.hero-style6 .th-btn {
    padding: 15px 25px;
}
.audio-play-wrapp .button-wrapp .th-btn {
    padding: 12px 15px;
}
.cousrse-card {
    border-radius: 16px;
}
.footer-top .th-btn {
    padding: 16px 26px;
}
.widget .th-social a {
    margin-left: 5px;
}
.th-header .th-btn {
    padding: 14px 20px;
}
.header-logo {
    margin-right: 20px;
}
.cousrse-card {
    padding: 15px;
}
.tow_height {
    height: 230px !important;
}
.pbuttom {
    padding-bottom: 70px !important;
}
.space,
.space-bottom {
    padding-bottom: 80px;
}
.padding_top {
    padding-top: 80px;
}
th-btn {
    padding: 15px 17px !important;
}
.pb_80 {
    padding-bottom: 70px;
}
.h2,
h2 {
    font-size: 35px;
}
.btn_font_size {
    font-weight: 600;
}
.a_font_size {
    font-size: 18px;
}
.header-layout5 .header-top a,
.header-layout5 .header-top li,
.header-layout5 .header-top p,
.header-layout5 .header-top span,
.header-layout5 .header-top i {
    color: var(--my-color);
}

.th-btn .btn-text::before {
    color: var(--my-color);
}
.th-btn {
    color: var(--my-color);
}
.preloader .th-btn {
    color: var(--my-color);
}
.footer-widget.widget_meta a::before,
.footer-widget.widget_pages a::before,
.footer-widget.widget_archive a::before,
.footer-widget.widget_categories a::before,
.footer-widget.widget_nav_menu a::before {
    content: unset;
    position: unset;
    right: unset;
    top: unset;
    width: unset;
}
.widget .th-social a {
    color: var(--my-color);
}
.header-layout5 .header-links li:not(:last-child)::before {
    width: 0;
}
@media (max-width: 1500px) {
    .h1,
    h1 {
        font-size: 53px;
    }
}
@media (max-width: 768px) {
    .header-layout5 .logo-shape {
        width: 75%;
    }
    .logo_img img {
        max-width: 230px;
    }
    .hero-style6 {
        padding: 40px 0px 40px 0;
    }
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }
    .header-layout5 .th-menu-toggle {
        float: right;
    }
    .audio-play-wrapp .button-wrapp .th-btn:not(:last-child) {
        margin: unset;
    }
    .hero-style6 .hero-text {
        margin: auto auto 30px auto;
    }
    .th-menu-toggle {
        width: 50px;
        height: 46px;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .header-layout5 .logo-shape {
        width: 85%;
    }
    .logo_img img {
        height: 75px;
    }
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }
    .header-layout5 .th-menu-toggle {
        float: left;
    }
    .hero-style6 {
        padding: 60px 0px 60px 0;
    }
}

@media (min-width: 992px) and (max-width: 1299px) {
    .container {
        max-width: 100%;
        padding: 0 15px;
        margin: 0;
    }
}
@media only screen and (min-width: 1300px) {
    .container-xxl,
    .container-xl,
    .container-lg,
    .container-md,
    .container-sm,
    .container {
        max-width: calc(var(--main-container) + 400px);
    }
}
.heightt img {
    height: auto;
}
.th-btn1 {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    padding: 12px 15px !important;
}
body,
html {
    overflow-x: hidden;
}

@media (min-width: 1200px) {
    .hero-style6 {
        padding: 100px 50px 100px 0;
    }
    /* vedio */
    .vedio_heigh img {
        height: 560px;
    }
    .vedio_heigh {
        height: 560px;
    }
}
@media (max-width: 1200px) {
    .gap_mine {
        gap: 30px;
    }
}
@media (min-width: 992px) and (max-width: 1410px) {
    .tabs-section .nav-tabs {
        gap: 0.1rem;
    }
}
/* نبذه عن الشيخ */
.blog-grid.style2 .blog-img {
    min-width: 40%;
}
.blog-grid.style2 .box-title {
    font-size: 30px;
    margin: 10px 0 30px 10px;
    font-weight: 800;
}
.blog-grid.style2 h6 {
    color: var(--theme-color2);
}
.blog-grid.style2 .box-text {
    margin: 10px 0 50px 10px;
}
.blog-grid {
    background-color: transparent;
}
@media (max-width: 1399px) {
    .blog-grid.style2 .blog-img {
        height: unset;
    }
}
.blog-grid.style2 .blog-img {
    height: 420px;
}
@media (max-width: 1399px) {
    .blog-grid.style2 {
        display: flex;
    }
}

@media (max-width: 991px) {
    .blog-grid.style2 {
        display: block;
    }
}
.blog-grid .box-content {
    z-index: 0 !important;
    position: relative;
}
/* footer */
.footer-widget .widget_title {
    margin: -0.11em 0 0 0;
}
p {
    margin: 0 0 0 0;
}
.widget .th-social a {
    --icon-size: 34px;
    font-size: 19px;
}
.widget .th-social a {
    padding: 2px;
}
.footer-widget {
    margin-bottom: 5px;
}
footer .email a {
    margin-right: -22px;
}
.widget_title::before {
    content: "";
    position: unset;
    right: unset;
    bottom: -unset;
    width: unset;
    height: unset;
    padding-bottom: unset;
    background-image: unset;
    background-repeat: no-repeat;
    background-size: unset;
}
.widget_title {
    font-size: 26px;
    z-index: 1;
}
/* books */
.team-box .box-img img {
    width: 100%;
    max-height: 370px;
    object-fit: fill;
}
.team-box .box-content {
    padding: 15px;
}
.box-title2 {
    font-size: 18px;
}
.cousrse-card2 {
    padding: 15px;
    height: 460px;
}
.cousrse-card {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}
.cousrse-card .tags {
    margin-bottom: 30px !important;
}
/* =-------------------------- */
.service-box2 .box-content .service-btn .simple-btn {
    color: var(--smoke-color);
}
.service-box2 {
    min-height: 460px;
}
.service-box2 .box-img img {
    height: 425px;
}
/* الخط */
.section-head.title-header-line {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
}

.section-head.title-header-line > .widget_title {
    order: 0;
    margin: 0;
    white-space: nowrap;
}

.section-head.title-header-line::after {
    content: "";
    order: 1;
    flex: 1 1 auto;
    min-width: 40px;
    height: 1.6px;
    background: var(--theme-color2);
    align-self: center;
    margin-inline: 8px;
    z-index: 1;
}

.section-head.title-header-line > .btn-group {
    order: 2;
    margin: 0;
}

/* الخط2 */

h3.widget_title.title-header-noline {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    white-space: nowrap;
    font-weight: 600;
}

h3.widget_title.title-header-noline::after {
    content: "";
    flex: 1 1 auto;
    min-width: 30px;
    height: 1.6px;
    background: var(--theme-color2);
    border-radius: 2px;
    margin-inline-start: 12px;
    align-self: center;
}

@media (max-width: 576px) {
    h3.widget_title.title-header-noline::after {
        min-width: 18px;
        margin-inline-start: 8px;
    }
}
.th-btn {
    padding: 12px 14px;
}
.my-animation {
    background-image: url("/frontand/assets/img/bg/teach_bg.png");
    background-repeat: repeat-x;
    background-size: cover;
    background-position: 100% 0;
    animation: islamic 40s linear infinite;
}

@keyframes islamic {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 330px 0;
    }
}

@-webkit-keyframes islamic {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 330px 0;
    }
}

/* الدرر السنيه */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.styled-list li {
    position: relative;
    padding: 10px 0;
    border-bottom: 1px solid #93844738;
    transition: all 0.3s ease;
}

.styled-list li:last-child {
    border-bottom: none;
}

.styled-list li a {
    text-decoration: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
}

.styled-list li i {
    font-size: 0.9rem;
    color: var(--theme-color2);
    margin-left: -30px;
}

.widget_nav_menu a:hover::before,
.widget_meta a:hover::before,
.widget_pages a:hover::before,
.widget_archive a:hover::before,
.widget_categories a:hover::before,
.wp-block-categories a:hover::before {
    content: url("data:image/svg+xml,%3Csvg width='14' height='16' viewBox='0 0 14 16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10.1477 13.4833H9.96276C9.67357 11.8054 9.62704 10.0838 8.62503 9.10117C7.64345 8.1387 6.3597 7.84087 5.508 7.06186V6.69724C5.58603 6.65989 5.64043 6.5808 5.64043 6.48869C5.64043 6.39653 5.58603 6.31744 5.508 6.28005V6.12508C5.52834 6.10176 5.54109 6.07164 5.54109 6.03831C5.54109 5.96517 5.40866 5.58789 5.40866 5.58789C5.40866 5.58789 5.27618 5.96517 5.27618 6.03831C5.27618 6.07168 5.28893 6.10186 5.30932 6.12512V6.28005C5.23124 6.3174 5.17684 6.39653 5.17684 6.48869C5.17684 6.58085 5.23129 6.65989 5.30932 6.69728V7.06186C4.45762 7.84087 3.17383 8.1387 2.19229 9.10122C1.19024 10.0839 1.14365 11.8054 0.854511 13.4833H0.669505L0.351562 14.3046H10.4657L10.1477 13.4833ZM2.1858 13.4502H1.82667V12.9335H2.1858V13.4502ZM3.31988 13.4502H2.9608V12.9335H3.31988V13.4502ZM4.45401 13.4502H4.09492V12.9335H4.45401V13.4502ZM5.58823 13.4502H5.22905V12.9335H5.58823V13.4502ZM6.72231 13.4502H6.36313V12.9335H6.72231V13.4502ZM7.85634 13.4502H7.49725V12.9335H7.85634V13.4502ZM8.99051 13.4502H8.63133V12.9335H8.99051V13.4502Z' fill='%23938447'/%3E%3Cpath d='M12.8704 10.3193V9.92781L12.4427 9.55469L11.8963 10.0317L11.3498 9.55473L10.923 9.9273V10.3193H10.2275V11.6175H10.7301V14.7278H0V15.9995H10.7302H10.8197H13.0631V11.6175H13.5659V10.3193L12.8704 10.3193ZM12.3659 14.5203H11.4275V13.2482H11.5573V12.7476L11.8967 12.414L12.2361 12.7476V13.2482H12.3659L12.3659 14.5203Z' fill='%23938447'/%3E%3Cpath d='M11.3487 8.48247L10.9219 8.85499V9.66432L11.3487 9.29175L11.8952 9.76873L12.4415 9.29175L12.8692 9.66491V8.8555L12.4416 8.48242L11.8952 8.95936L11.3487 8.48247Z' fill='%23938447'/%3E%3Cpath d='M10.6289 7.31255L10.9238 8.22994V8.5909L11.3506 8.21838L11.8971 8.69527L12.4434 8.21842L12.8711 8.5915V8.22971L13.166 7.31255H12.8711V3.61961L13.166 2.70245H12.3826V1.90258C12.3826 1.66875 12.217 1.4736 11.9968 1.42775V1.10935C12.0748 1.072 12.1293 0.992914 12.1293 0.900846C12.1293 0.808686 12.0748 0.7296 11.9968 0.692206V0.537189C12.0172 0.51392 12.03 0.483749 12.03 0.450377C12.03 0.377234 11.8975 0 11.8975 0C11.8975 0 11.765 0.37728 11.765 0.450377C11.765 0.483794 11.7778 0.51392 11.7981 0.537189V0.692251C11.7201 0.7296 11.6657 0.808686 11.6657 0.900846C11.6657 0.99296 11.7201 1.072 11.7981 1.10935V1.42775C11.5779 1.4736 11.4124 1.66871 11.4124 1.90258V2.70245H10.6289L10.9238 3.61984V7.3125H10.6289V7.31255ZM11.6319 4.12846H11.7053V3.84512L11.8975 3.65627L12.0895 3.84512V4.12846H12.163V4.84855H11.6318V4.12846H11.6319ZM11.6319 5.8373H11.7053V5.5541L11.8975 5.36517L12.0895 5.5541V5.8373H12.163V6.55739H11.6318V5.8373H11.6319Z' fill='%23938447'/%3E%3C/svg%3E%0A");
    position: absolute;
    right: 0;
    top: 0px;
    font-family: var(--icon-font);
    font-weight: 500;
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}

.new_efect {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    padding: 20px 20px 10px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.new_efect:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
/* ------------------------------------------------ */

.lesson-count {
    padding: 0 10px;
    background-color: #443a31;
    border-radius: 10px;
    color: #fff !important;
    margin-left: 10px;
}
.breadcumb-menu li::after {
    position: unset;
}
.blog-single-img {
    height: 380px !important;
}
.footer-widget .recent-post .post-title1 {
    color: var(--white-color);
    font-size: 18px;
    font-weight: 600;
}
.recent-post .post-title1 {
    font-weight: 700;
    font-size: 16px;
    line-height: 26px;
    margin-left: 10px;
    text-transform: capitalize;
}
.widget1 {
    margin-bottom: 56px;
    position: relative;
    border-radius: 30px;
}
.widget_title1 {
    position: relative;
    font-weight: 700;
    font-size: 24px;
    letter-spacing: 0.02em;
    font-family: var(--title-font);
    color: var(--title-color);
    line-height: 1em;
    margin: -0.12em 0 53px 0;
}
.media-body1 {
    -webkit-box-flex: 1;

    flex: 1;
    line-height: 4;
}
.recent-post .recent-post-meta1 {
    margin-bottom: 5px;
}
.recent-post .recent-post-meta1 a {
    text-transform: capitalize;
    font-weight: 500;
    font-size: 16px;
    color: var(--theme-color);
}
.recent-post .media-img1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    -webkit-transition: 0.4s ease-in-out;
    transition: 0.4s ease-in-out;
}
.media-img1 img:not([draggable]),
embed,
object,
video {
    max-width: 100%;
    height: auto;
}
.media-img1 img {
    border: none;
    max-width: 100%;
}
.product-big-img .img img {
    width: 70%;
    height: 100%;
    object-fit: fill;
}
.product-big-img {
    background-color: transparent;
}
.lh-6 {
    line-height: 6;
}
.durar-img {
    width: 100% !important;
    height: 250px !important;
    object-fit: fill !important;
    border-radius: 6px !important;
}
.event-card .box-img1 {
    max-width: 270px !important;
    height: 190px;
}
@media (max-width: 512px) {
    .event-card1 {
        display: block !important;
    }
    .event-card .box-img1 {
        max-width: 100% !important;
    }
}
@media (max-width: 1399px) {
    .event-card1 {
        display: flex;
    }
}
/* ------------------------------------------ */

.event-card,
.event-card1,
.cousrse-card,
.service-box2 {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease,
        box-shadow-color 0.18s ease;
    will-change: transform;
}

.event-card:hover,
.event-card1:hover,
.cousrse-card:hover,
.service-box2:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 38px rgba(15, 23, 42, 0.12);
}

.event-card .box-img img,
.event-card1 .box-img img,
.cousrse-card .box-img img,
.service-box2 .box-img img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;

    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.event-card .box-img,
.event-card1 .box-img {
    max-width: 100%;
}

@media (max-width: 512px) {
    .event-card,
    .event-card1,
    .cousrse-card,
    .service-box2 {
        box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
        transform: none !important;
    }

    .event-card:hover,
    .event-card1:hover {
        transform: none;
        box-shadow: 0 6px 16px rgba(15, 23, 42, 0.08);
    }
}
/* _____---------------------------------------- */

.sticky-sidebar .card {
    border: 0;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 30, 60, 0.06);
    overflow: hidden;
}

.recent-durars {
    padding: 0;
    margin: 0;
    list-style: none;
}

.recent-durars li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(34, 41, 47, 0.05);
    transition: background 0.18s ease, transform 0.18s ease;
}

.recent-durars li:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.recent-thumb {
    width: 120px;
    height: 75px !important;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(11, 28, 50, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.recent-durars .fw-bold {
    font-size: 0.96rem;
    line-height: 1.25;
    color: #111827;
    text-decoration: none;
}

.recent-durars small {
    color: #6b7280;
    font-size: 0.78rem;
    display: block;
    margin-bottom: 0.25rem;
}
.recent-durars p {
    margin: 0;
    font-size: 0.82rem;
    color: #6b7280;
}

.recent-durars li:hover {
    background: rgba(246, 249, 255, 0.6);
    transform: translateY(-2px);
}

.th-btn {
    border-radius: 8px;
    padding: 0.5rem 0.9rem;
    box-shadow: 0 4px 14px rgba(11, 28, 50, 0.04);
}

.event-card,
.cousrse-card,
.service-box2 {
    border-radius: 10px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(11, 28, 50, 0.2);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.event-card:hover,
.cousrse-card:hover,
.service-box2:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(11, 28, 50, 0.08);
}

.box-img1 .durar-img,
.box-img .global-img img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

@media (max-width: 767px) {
    .recent-thumb {
        width: 64px;
        height: 48px;
    }
    .box-img1 .durar-img {
        height: 160px;
    }
}

@media (max-width: 512px) {
    .recent-durars li {
        gap: 0.5rem;
    }
    .recent-thumb {
        width: 56px;
        height: 44px;
    }
    .box-img1 .durar-img {
        height: 140px;
    }
}
.max_width img {
    max-width: unset;
}

.recent-list {
    padding: 0;
    margin: 0;
}

.recent-item {
    gap: 12px;
    align-items: flex-start;
    display: flex;
}

.recent-thumb-link {
    flex: 0 0 auto;
    margin-right: 12px;
    display: inline-block;
    line-height: 0;
}

.recent-thumb {
    width: 96px;
    height: 72px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
    display: block;
    background: #f4f6f8;
}

.recent-meta {
    min-width: 0;
}

.recent-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
    font-size: 0.95rem;
    line-height: 1.2;
}

.recent-date {
    font-size: 0.8rem;
    color: #6c757d;
}

.recent-excerpt {
    margin-top: 4px;
    color: #6c757d;
    font-size: 0.85rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

@media (max-width: 767px) {
    .recent-thumb {
        width: 72px;
        height: 56px;
    }

    .recent-item {
        gap: 8px;
    }

    .recent-title {
        -webkit-line-clamp: 2;
    }

    .recent-excerpt {
        -webkit-line-clamp: 2;
    }
}

body[dir="rtl"] .recent-thumb-link {
    margin-right: 0;
    margin-left: 12px;
}

.audio-index-card {
    background: #fff;
    border-radius: 10px;
    padding: 14px;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.06);
}
.audio-category-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}
.mini-counter-image .box-img {
    overflow: hidden;
    border-radius: 8px;
}
.mini-counter-image .box-img img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    display: block;
}

.recent-thumb {
    width: 72px;
    height: 54px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.recent-list li > a {
    flex: 0 0 auto;
    margin-right: 0.75rem;
}

.list-group-item.custom-audio-item {
    background: transparent;
    border: none;
    padding: 0.9rem 0;
    border-bottom: 1px solid #f1f1f1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.list-group-item.custom-audio-item h5 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 600;
}
.list-group-item.custom-audio-item .meta-buttons {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.th-btn.style1,
.th-btn.style2 {
    padding: 0.45rem 0.7rem;
    font-size: 0.9rem;
    border-radius: 6px;
}

.audio-main-img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 12px;
    object-fit: cover;
}

.sermon-card {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.recent-list li {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

@media (max-width: 767px) {
    .mini-counter-image .box-img img {
        height: 140px;
    }
    .recent-thumb {
        width: 64px;
        height: 48px;
    }
}

.product-details {
    padding-bottom: 40px;
}
.sermon-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
    overflow: hidden;
}
.product-about {
    padding: 18px;
}
.book-cover {
    width: 150px;
    height: 210px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    box-shadow: 0 8px 20px rgba(2, 6, 23, 0.08);
}
.product-title {
    font-size: 1.4rem;
    margin-bottom: 6px;
}

.sticky-sidebar {
    position: sticky;
    top: 110px;
}
.recent-books-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.recent-book-item {
    gap: 12px;
    align-items: flex-start;
    padding: 8px 6px;
    border-radius: 8px;
    transition: background 0.18s ease, transform 0.12s ease;
    color: inherit;
}
.recent-book-item:hover {
    background: rgba(15, 23, 42, 0.03);
    transform: translateY(-3px);
    text-decoration: none;
}
.recent-thumb {
    width: 72px;
    height: 100px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.recent-title {
    font-size: 0.95rem;
    color: #0f172a;
    margin-bottom: 2px;
}

@media (max-width: 991px) {
    .sticky-sidebar {
        position: static;
        top: auto;
    }
    .book-cover {
        width: 100%;
        height: auto;
        max-height: 380px;
        object-fit: cover;
    }
    .recent-thumb {
        width: 90px;
        height: 70px;
    }
}

.recent-video-thumb {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.recent-video-item a {
    display: inline-block;
    flex: 0 0 auto;
}

.card.sticky-top {
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.blog-text {
    color: #333;
    line-height: 1.75;
}

@media (max-width: 991px) {
    .card.sticky-top {
        position: static !important;
        top: auto;
    }
    .recent-video-thumb {
        width: 72px;
        height: 52px;
    }
}
.th-btn12 {
    padding: 18px 21px !important;
}

.sidebar-fatawa-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
    border: 0;
}

.sidebar-fatawa-card .card-header h5 {
    font-size: 1rem;
    font-weight: 700;
    color: #0f172a;
}
.recent-fatawas {
    margin-top: 10px;
    padding: 0;
}

.recent-fatawa-item {
    gap: 12px;
    padding: 12px 0;
    border-top: 1px solid #f1f5f9;
    display: flex;
    align-items: flex-start;
}

.recent-fatawa-item:first-child {
    border-top: 0;
    padding-top: 6px;
}

.fatawa-thumb-link {
    flex: 0 0 auto;
    display: block;
    border-radius: 6px;
    overflow: hidden;
}
.fatawa-thumb {
    width: 104px;
    height: 79px !important;
    object-fit: cover;
    border-radius: 6px;
    display: block;
}

.fatawa-info {
    min-width: 0;
}
.fatawa-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #111827;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.fatawa-title:hover {
    color: #0d6efd;
    text-decoration: underline;
}

.fatawa-meta {
    font-size: 0.8rem;
    color: #6c757d;
    margin: 4px 0;
}
.fatawa-excerpt {
    font-size: 0.82rem;
    color: #6c757d;
    margin-top: 2px;
}

.sidebar-fatawa-card .th-btn.new_pad {
    font-size: 0.85rem;
    padding: 6px 10px;
}

@media (max-width: 576px) {
    .fatawa-thumb {
        width: 72px;
        height: 52px;
    }
    .recent-fatawa-item {
        gap: 8px;
    }
}

.widget1.footer-widget1 {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    border: 1px solid rgba(15, 23, 42, 0.03);
}

.widget1.footer-widget1 .widget_title1 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recent-post-wrap {
    margin-top: 6px;
}

.recent-post {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 6px;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease, transform 0.12s ease;
}

.recent-post:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.recent-post:hover {
    background: rgba(13, 110, 253, 0.03);
    transform: translateY(-2px);
}

.post-title1 {
    margin: 0;
    line-height: 1.1;
    font-size: 0.95rem;
}
.post-title1 a {
    color: #0f172a;
    text-decoration: none;
}

.recent-post-meta1 a {
    color: #6c757d;
    font-size: 0.82rem;
}

.media-body1 .small,
.recent-post p {
    font-size: 0.82rem;
    color: #6c757d;
    margin: 6px 0 0 0;
}

.widget1 .th-btn.new_pad {
    margin-top: 12px;
    padding: 6px 10px;
    font-size: 0.88rem;
}

@media (max-width: 767px) {
    .media-img img {
        width: 66px;
        height: 50px;
    }
    .recent-post {
        gap: 10px;
        padding: 10px 6px;
    }
    .audio-play-wrapp audio {
        border: unset;
        width: 100%;
        height: 40px;
    }
}
.th-btn11:hover {
    color: #121010 !important;
    -webkit-transition-delay: 0.3s;
    transition-delay: 0.3s;
}
/* -------------------------------------------------------------- */

.my-animation {
    position: relative; /* مهم لعمل ::before */
    overflow: hidden;
    background-image: url("/frontand/assets/img/bg/teach_bg.png");
    background-repeat: repeat-x;
    background-size: cover;
    background-position: 100% 0;
    animation: islamic 40s linear infinite;
}

.my-animation::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(232, 229, 217, 0.9);
    pointer-events: none;
    z-index: 1;
}

.my-animation .container,
.my-animation .row,
.my-animation .blog-grid,
.my-animation .box-content,
.my-animation .blog-img,
.my-animation .box-title,
.my-animation .box-text,
.my-animation .th-btn {
    position: relative;
    z-index: 2;
}

.blog-box.style2 .blog-wrapper {
    margin: -16px 10px 5px 25px;
}

.blog-box .date {
    width: 75px;
    height: 88px;
    padding: 14px 20px;
}
/* _______________________________________ */
/* ========== Video Cards (Namespaced .vc-*) ========== */
/* بطاقة الفيديو الرئيسية */
.vc-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.04);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* تأثير رفع وظل أقوى عند المرور */
.vc-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 48px rgba(15, 23, 42, 0.12);
}

/* حاوية الصورة داخل البطاقة */
.vc-img {
    position: relative;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: hidden;
    min-height: 160px; /* ضمان ارتفاع افتراضي */
    display: block;
}

/* الصورة داخل البطاقة */
.vc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}
.vc-card:hover .vc-img img {
    transform: scale(1.03);
}

/* زر التشغيل الدائري */
.vc-play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 54px;
    height: 54px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.48);
    color: #ffffff;
    font-size: 18px;
    border: none;
    z-index: 3;
    transition: transform 0.18s ease, background 0.18s ease;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}
.vc-play:hover {
    transform: translate(-50%, -50%) scale(1.06);
    background: rgba(0, 0, 0, 0.6);
}

/* نص البطاقة وجسمها */
.vc-body {
    padding: 12px 10px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    background: transparent;
}

/* عنوان البطاقة */
.vc-title {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 2.2;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* responsive tweaks */
@media (max-width: 576px) {
    .vc-card {
        border-radius: 10px;
    }
    .vc-play {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }
    .vc-title {
        font-size: 0.92rem;
    }
}
.media-body1 .small,
.recent-post1 p {
    font-size: 0.82rem;
    color: #6c757d !important;
    margin: 6px 0 0 0;
    display: contents;
}
.service-box2 .box-content .service-btn {
    top: 115px;
    display: flex;
    position: relative;
}
.service-box2 .box-content .box-wrapp {
    padding: 40px;
}
/* __________________________________-- */

.book-cover-wrap {
    min-width: 220px;
    max-width: 160px;
    width: auto;
    flex: 0 0 auto;
}

.book-cover {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 6px 18px rgba(22, 28, 37, 0.06);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.book-cover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(22, 28, 37, 0.1);
}

.recent-thumb {
    width: 88px;
    height: 88px;
    object-fit: cover;
    border-radius: 6px;
}

.product-about .flex-grow-1 {
    min-width: 0;
}
.blog-box .date a {
    color: #fff;
}
.text-primary {
    color: #6c757d !important;
}
.hero-6 .th-hero-bg {
    max-width: 100%;
}
.blog-grid.style2 .blog-img1 img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.blog-grid.style2 .color {
    color: #000;
}
.hero-6 .th-hero-bg1 {
    border-radius: 0 !important;
}
.blog-box .blog-img11 {
    height: 300px !important;
}
.widget_title22 {
    margin-top: 40px !important;
}
.audio-player-row {
    height: 50px;
}

@media (max-width: 576px) {
    .custom-audio-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .custom-audio-item > div:first-child {
        flex: 0 0 auto;
        width: 100%;
    }

    .custom-audio-item img {
        width: 100%;
        height: auto;
        object-fit: cover;
        border-radius: 5px;
    }

    .custom-audio-item > div:nth-child(2) {
        width: 100%;
    }

    .custom-audio-item .d-flex.align-items-center.justify-content-between {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .custom-audio-item .meta-buttons {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        gap: 10px;
        margin-top: 5px;
    }
}

.cousrse-card.no-image {
    height: auto !important;
    min-height: 0 !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
    display: flex;
    flex-direction: column;
}

.cousrse-card.no-image .box-img,
.cousrse-card.no-image .global-img,
.cousrse-card.no-image .tow_height {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.cousrse-card.no-image .hei {
    margin-top: 0 !important;
    padding-top: 0.75rem !important;
}

.blog-item {
    align-items: stretch;
}
@media (max-width: 991px) {
    .sidebar-area {
        padding-top: 70px;
    }
}
@media (max-width: 991px) {
    .sidebar-area {
        padding-top: 80px;
    }
}
.widget_title_new {
    margin-top: 30px;
}
.page-item.active .page-link {
    background-color: #938447 !important;
    border-color: #938447 !important;
    color: #fff !important;
}
.page-link {
    color: #938447 !important;
}
div.tagsinput {
    padding: 6px 6px 1px;
    border-color: #e9ecef;
    border-radius: 0.25rem;
}

div.tagsinput span.tag {
    background: #6571ff;
    color: #fff;
    border: 0;
    padding: 3px 7px;
    font-family: inherit;
    border-radius: 0.15rem;
    margin-bottom: 4px;
    float: right;
    margin-left: 0;
    margin-right: 5px;
}

div.tagsinput span.tag a {
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    opacity: 0.5;
}

div.tagsinput #tags_addTag {
    float: right;
    margin-right: 5px;
}

div.tagsinput input {
    margin: 0;
    padding: 1px;
    border-radius: 0.25rem;
}
.new_colore {
    background: #374868;
    padding: 0 !important;
}
.back_spec_c {
    background: #374868;
}
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 1px 2px 9px rgba(2, 3, 9, 0.2);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-title {
    font-weight: 600;
    color: #2c3e50;
}

.card-text {
    color: #7f8c8d;
}

.btn-primary {
    background-color: #374868;
    border-color: #374868;
    border-radius: 30px;
    padding: 8px 20px;
}

.btn-primary:hover {
    background-color: #fff;
    border-color: #000;
    color: #000;
}

.btn-outline-secondary {
    border-radius: 30px;
    padding: 8px 15px;
}

.alert-info {
    background-color: #374868;
    border-color: #374868;
    color: #fff;
    border-radius: 10px;
    padding: 20px;
}
.btn-outline-secondary:hover {
    color: #fff;
    background-color: #374868;
    border-color: #374868;
}
.btn-primary1 {
    color: #fff;
    background-color: #374868;
    border-color: #374868;
}
.btn-primary1:hover {
    color: #374868;
    background-color: #fff;
    border-color: #374868;
}
.copyright-text a {
    color: #fff;
}
.copyright-text a:hover {
    color: #938447;
}
.css_for_phone {
    direction: ltr;
    text-align: end;
}
.global-img:hover img {
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
}
.icon_color {
    color: #747c84;
    width: 40px;
    height: 40px;
    background-color: #f8f9fa !important;
    border-radius: 50%;
    align-items: center;
    display: flex;
    padding: 8px;
}

.list-group-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
}

.list-group-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
    border-color: #938447 !important;
}

.btn-outline-secondary:hover {
    background-color: #938447 !important;
    color: #fff !important;
    border-color: #938447 !important;
}
.header-logo {
    padding-top: 5px;
    padding-bottom: 5px;
}
.page-link {
    padding: 0.575rem 1rem !important;
}

.pagination-nav {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-nav .prev-btn {
    position: absolute;
    right: 1rem;
}

.pagination-nav .next-btn {
    position: absolute;
    left: 1rem;
}
.h5,
h5 {
    font-size: 20px;
}
.widget_nav_menu a,
.widget_meta a,
.widget_pages a,
.widget_archive a,
.widget_categories a,
.wp-block-categories a {
    padding: 0px 33px 14px 34px;
}
.service-box2 .box-content .box-wrapp11 {
    padding-bottom: 68%;
}
.list-group-item1 {
    margin-bottom: 28px;
}
.footer-widget .widget_title12 {
    margin: -0.11em 0 0 0;
}
.h3,
h3 {
    font-size: 28px;
}
.breadcumb-title {
    font-size: 35px;
}
.pm {
    margin-top: 10px;
    padding-top: 10px;
}
.h4,
h4 {
    font-size: 26px;
}
.icon-btn {
    background-color: #938447;
}
.box-title {
    font-size: 20px;
}
.bac_img {
    background-image: url("../img/bg/pattern.png");
}
.contact-image {
    height: 658px;
}
.contact-media .icon-btn {
    color: #fff;
}

.st-video-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.06);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
    transition: transform 0.22s cubic-bezier(0.2, 0.9, 0.3, 1), box-shadow 0.22s;
    will-change: transform;
}

.st-video-card::after {
    content: "";
    position: absolute;
    inset: 1.6px;
    border-radius: 12px;
    pointer-events: none;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35);
}

.st-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 48px rgba(15, 23, 42, 0.12);
}

.st-vc-img {
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
    overflow: hidden;
    min-height: 140px;
    position: relative;
    background: #f4f6f8;
}

.st-vc-img img {
    transition: transform 0.6s cubic-bezier(0.2, 0.9, 0.3, 1);
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.st-video-card:hover .st-vc-img img {
    transform: scale(1.06);
}

.st-play-btn {
    width: 60px;
    height: 60px;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    border: none;
    box-shadow: 0 10px 20px rgba(2, 6, 23, 0.45);
    transition: transform 0.18s ease, background 0.18s ease;
    backdrop-filter: blur(4px);
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.st-play-btn:hover {
    transform: translate(-50%, -50%) translateY(-3px) scale(1.04);
    background: rgba(0, 0, 0, 0.64);
}

.st-video-card a:focus-visible,
.st-video-card button:focus-visible {
    outline: 3px solid rgba(147, 132, 71, 0.18);
    outline-offset: 2px;
    border-radius: 10px;
}

.st-card-body {
    padding: 12px 14px 16px;
    text-align: center;
    background: #9384475c;
}

.st-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 600;
    color: #0f172a;
    font-size: 0.97rem;
    line-height: 1.4;
}

.st-video-card.st-featured {
    border-radius: 12px;
    box-shadow: 0 26px 64px rgba(15, 23, 42, 0.14);
}

@media (max-width: 576px) {
    .st-video-card {
        border-radius: 10px;
    }
    .st-play-btn {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    .st-title {
        font-size: 18px;
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 575.98px) {
    .section-head.title-header-line::after {
        min-width: 29px;
    }
}
@media (max-width: 991px) {
    #faq-sec .row.flex-row-reverse {
        flex-direction: column-reverse !important;
        gap: 40px;
    }
}
.a_style {
    border-right: 2px solid #000;
    padding-right: 7px;
    margin-top: 5px !important;
    padding-top: 5px;
}
.preloader-inner {
    line-height: 2;
}

@media (max-width: 991px) {
    .tabs-section .audio-play-wrapp {
        display: flex !important;
        justify-content: space-between !important;
        align-items: self-start !important;
        gap: 10px;
    }

    .tabs-section .audio-play-wrapp > .button-wrapp {
        order: 2 !important;
        flex: 0 0 auto;
        direction: ltr;
        text-align: left;
        margin: 0;
    }

    .tabs-section .audio-play-wrapp > .flex-1 {
        order: 1 !important;
        flex: 1 1 auto;
        text-align: right !important;
    }

    .tabs-section .audio-play-wrapp .card-title a {
        display: block;
    }
}
@media (max-width: 991px) {
    .list-group-item1 {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .list-group-item1 .button-wrapp {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: flex-start;
    }
}
@media (max-width: 991px) {
    .global-img {
        margin-bottom: 0;
    }
}
.mini-counter-image .box-img {
    overflow: hidden;
    border-radius: 0;
}
.pt-60 {
    padding-top: 60px !important;
}
.text_wihte {
    color: #000;
}
@media (max-width: 576px) {
    .accordion-card .accordion-button:after {
        left: 8px;
    }
    .accordion-card .accordion-button {
        padding: 12px 3px 12px 41px;
    }
}
.counter-image img {
    border-radius: 0;
}
@media (max-width: 991px) and (min-width: 768px) {
    .footer_max {
        max-width: 70%;
    }
}
@media (max-width: 768px) {
    .fatawa-item.d-flex {
        flex-direction: column !important;
        align-items: flex-start !important;
    }

    .fatawa-item .button-wrapp {
        margin-top: 10px;
        width: 100%;
        display: flex;
        justify-content: right;
    }

    .fatawa-item .button-wrapp .th-btn {
        width: auto;
    }
}
@media (max-width: 1399px) {
    .blog-grid.style2 .blog-img {
        width: 60%;
    }
}
@media (max-width: 768px) {
    .blog-grid.style2 .blog-img {
        width: 100%;
    }
}

.audio-play-wrapp {
    border-bottom: 1px solid #b6b3b39c;
    padding: 12px 0;
    transition: background-color 0.3s ease;
    border-radius: 0;
}

.audio-play-wrapp:last-child {
    border-bottom: none;
}

.audio-play-wrapp:hover {
    background-color: #fafafa;
}

.audio-play-wrapp .card-title a {
    color: #222;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s ease;
}

.audio-play-wrapp .card-title a:hover {
    color: var(--theme-color2);
}

.audio-play-wrapp .button-wrapp .th-btn {
    font-size: 14px;
    padding: 8px 14px;
}
.background_color {
    padding: 20px 20px 10px 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-radius: 15px;
}
.service-box2 .box-info .box-icon {
    background-color: #fff;
}
.service-box2 .box-content .box-wrapp .box-icon {
    background-color: #fff;
}

.footer-widget .widget_title121 {
    max-width: 100%;
}
@media (max-width: 768px) {
}
.border_m {
}

.footer-wrapper .border_m {
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding-top: 25px;
    margin-top: 25px;
}

.footer-wrapper .border_m:first-child {
    border-top: none;
    margin-top: 0;
    padding-top: 0;
}

@media (max-width: 768px) {
    .footer-wrapper .border_m {
        border-top: 1px solid rgba(227, 218, 218, 0.58) !important;
        padding-top: 20px !important;
        margin-top: 20px !important;
        border-radius: 0;
        margin-right: 35px;
        margin-left: 35px;
    }
    .footer-wrapper .border_m1 {
        border-top: none !important;
    }
}

.footer-wrapper .th-widget-about .row {
    margin-top: 10px !important;
    padding-top: 15px !important;
    border-top: 1px dashed rgba(0, 0, 0, 0.07);
}

.footer-wrapper .th-widget-about .counter-item img.image {
    display: inline-block;
    max-width: 130px;
    height: auto;
    transition: transform 0.3s ease;
}

.footer-wrapper .th-widget-about .counter-item img.image:hover {
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .footer-wrapper .th-widget-about .row {
        border-top: none;
        margin-top: 10px !important;
    }
    .footer-wrapper .counter-item {
        margin-bottom: 10px;
    }
}
.footer-layout1 .widget-area {
    padding-top: 80px !important;
}
