/*
 Theme Name:   The7 Child
 Description:  The7 Child Theme
 Author:       MyName
 Template:     dt-the7
 Version:      1.0.0
*/

/* --- Flipbook Tweaks --- */
.flipbook-main-wrapper img {
    display: none;
}

/* --- Typography (Fonts) --- */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IRANYekanXVF', sans-serif !important;
    font-variation-settings: "wght" 400, "dots" 1 !important;
}

/* --- Mobile Adjustments (<767px) --- */
@media (max-width: 767px) {
    h1 {
        font-size: 16px !important;
    }
    h2 {
        font-size: 16px !important;
    }
    .elementor-widget-icon-box.elementor-position-left .elementor-icon-box-icon, 
    .elementor-widget-icon-box.elementor-position-right .elementor-icon-box-icon {
        padding-top: 8px;
    }
}

/* --- JetTabs Colors --- */
#jatt .jet-tabs__control-wrapper {
    background-color: #EEF1F6 !important;
}
#jatt .jet-tabs__content-wrapper {
    background-color: #EEF1F6 !important;
}

/* --- Auto Dark Mode (Based on System Preference) --- */
@media (prefers-color-scheme: dark) {
    :root {
        filter: invert(1) hue-rotate(180deg);
    }
    /* Re-inverting images and specific elements so they look normal */
    .elementor-element-250ebc2,
    .elementor-element-8e24ae9,
    .elementor-menu-toggle,
    .uael-icon,
    .elementor-shape,
    .jet-tabs__control,
    .elementor-icon-box-icon,
    .elementor-icon,
    svg,
    .elementor-motion-effects-element,
    .elementor-lightbox,
    .elementor-gallery-item,
    img {
        filter: invert(1) hue-rotate(180deg);
    }
}

.rank-math-breadcrumb {
    background: #ffffff;
    width: 100%;
    box-shadow: 0 0 20px rgb(0 0 0 / 2%);
    border-radius: 20px;
    position: relative;
    white-space: nowrap;
    overflow-x: auto;
    overflow-y: clip;
    text-align: right;
}