@font-face {
    font-family: "IRANSansX";
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
    src: url("../fonts/IRANSansXV.woff2") format("woff2");
    font-stretch: normal;
}

@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}

/* Reset ------------------------------ */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    --drto-content-size: 1110px;
    background-color: #F9FAFB !important;
    color: var(--wp--preset--color--body);
    font-family: 'IRANSansX';
    font-size: var(--wp--preset--font-size--normal);
    line-height: 1.7;
    margin: 0;
    padding: 0;
}

a {
    text-decoration: none;
    color: var(--wp--preset--color--dark);
}

ol,
ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

img,
svg {
    max-width: 100%;
    height: auto
}

h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--wp--preset--color--dark);
    font-weight: 700;
    line-height: 1.5;
    margin-top: 0;
    margin-bottom: 0;
}

p:last-of-type {
    margin-bottom: 0
}

b,
strong {
    font-weight: 900
}

button {
    cursor: pointer;
}

/* Spaces ------------------------------ */

.gap-24 {
    gap: var(--wp--preset--spacing--30) !important
}

.gap-48 {
    gap: var(--wp--preset--spacing--60) !important
}

/* Global ------------------------------ */

.hstack {
    display: flex;
    flex-direction: row;
    align-items: center;
    align-self: stretch
}

.vstack,
.flex-center {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    align-self: stretch
}

.jc-center,
.flex-center {
    justify-content: center
}

.jc-between {
    justify-content: space-between
}

.jc-end {
    justify-content: flex-end
}

.ai-start {
    align-items: flex-start !important
}

.ai-center,
.flex-center {
    align-items: center !important
}

.fw-bold {
    font-weight: 700
}

.p-r {
    position: relative
}

.f-shrink {
    flex-shrink: 0;
}

.w-100 {
    width: 100%;
}

.wp-block-heading {
    font-variation-settings: "DOTS" 4;
}

.fa-num {
    font-feature-settings: "ss01";
}

.hidden {
    display: none !important;
}

:root :where(.hstack, .vstack)>* {
    margin-top: 0 !important;
}

.stretched-link::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    cursor: pointer;
    z-index: 1
}

/* Main ------------------------------ */

main> :not(.alignfull) {
    max-width: var(--drto-content-size);
    margin-left: auto !important;
    margin-right: auto !important;
    padding-right: 1rem;
    padding-left: 1rem;
    text-align: center;
}

.has-chevron {
    font-weight: 700;
    justify-content: center;
}

.has-chevron::after {
    content: '';
    --icon-url: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><path d='m15 18-6-6 6-6' fill='none'/></svg>");
    mask: var(--icon-url) no-repeat center;
    -webkit-mask: var(--icon-url) no-repeat center;
    background-color: #EC1844;
    width: var(--icon-size, 1.25em);
    height: var(--icon-size, 1.25em);
    position: relative;
    transition: transform .2s;
}

.has-chevron:hover::after {
    transform: translateX(-4px)
}

/* Quiz ------------------------------ */

.card {
    background-color: #FFFFFF;
    border: 1px solid #E3E9EF;
    padding: var(--wp--preset--spacing--20);
    border-radius: 1.25rem;
    transition: box-shadow .3s;
}

.card:hover,
.close-modal:hover {
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
}

.boxed {
    background-color: #1f1f1f;
    border-radius: var(--wp--preset--spacing--30);
    color: #ffffff;
    padding: var(--wp--preset--spacing--60);
}

.boxed strong {
    color: #EC1844;
}

.modal {
    background: #B4DEEF url('https://doctoreto.com/land/wp-content/uploads/2025/11/modal-bg-scaled.webp') no-repeat bottom center/100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: none;
    width: 100%;
    max-width: 100% !important;
    height: 100%;
    justify-content: center;
    text-align: center;
}

.modal-content {
    width: 100%;
    max-width: var(--drto-content-size);
    overflow-x: hidden;
    overflow-y: auto;
    padding: 10vh 0 25vh;
    display: flex;
    flex-direction: column;
    z-index: 1005;
}

.has-modal-open {
    overflow: hidden;
}

.city-title {
    margin-bottom: .5rem;
}

.close-modal {
    background-color: var(--wp--preset--color--brand);
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 3rem;
    position: absolute;
    top: var(--wp--preset--spacing--40);
    right: var(--wp--preset--spacing--40);
    transition: box-shadow .3s;
    border: unset;
}

.card-list {
    --wp--preset--spacing--20: .5rem;
    margin-top: var(--wp--preset--spacing--40);
    gap: 1rem;
}

/* Animations ------------------------------ */

.turn-on-visibility {
    will-change: transform, opacity;
    animation: turnOnVisibility .4s
}

@keyframes turnOnVisibility {
    0% {
        opacity: 0;
        transform: translate3d(0, 20px, 0) scale(.95)
    }

    to {
        opacity: 1;
        transform: translateZ(0) scale(1)
    }
}

/* Countdown ------------------------------ */

.banner-sticky {
    background-color: #ff4646;
    padding: var(--wp--preset--spacing--20);
    text-align: center;
    line-height: 1.15;
}

.banner-sticky .parent-counter {
    background-color: #fff;
    border-radius: .75rem;
    width: 3.25rem;
    height: 3.25rem;
    color: #ff4646;
    padding: 8px 2px;
}

.banner-sticky .parent-counter span {
    font-size: var(--wp--preset--font-size--normal);
    font-feature-settings: "ss01";
}

.banner-sticky .double-dot {
    color: #fff;
    font-size: 36px;
    margin-right: .5rem;
}

@media (min-width: 581px) {
    .hide-in-desktop {
        display: none;
    }
}

@media (max-width: 1100px) {
    .gap-24 {
        --wp--preset--spacing--30: 1rem;
    }

    .card {
        padding: .5rem .5rem 1rem;
    }
}

@media (max-width: 980px) {
    .wrap-sm {
        flex-wrap: wrap !important;
        justify-content: center;
    }

    .wrap-sm .card {
        flex-basis: calc(50% - 1rem);
    }

    .modal .wrap-sm .card {
        flex-basis: calc(33.337% - .75rem);
    }

    .modal-content {
        padding-bottom: 15vh;
    }
}

@media (max-width: 580px) {
    body {
        --wp--preset--spacing--80: 2rem;
    }

    .hide-in-mobile {
        display: none;
    }

    .banner-sticky .parent-counter {
        border-radius: .625rem;
        width: 2.75rem;
        height: 2.75rem;
        padding: 6px 2px;
    }

    .wrap-sm .card {
        flex-basis: 260px
    }

    .modal-content {
        padding: 1.5rem 0 10vh;
    }

    .modal .wrap-sm .card {
        flex-basis: calc(50% - .5rem);
    }

    .modal .card {
        padding: .25rem .25rem .5rem;
        border-radius: 1rem;
    }

    .close-modal {
        width: 2rem;
        height: 2rem;
    }
}