@font-face {
    font-family: "YekanBakhFaNum";
    src: url("YekanBakhFaNum-Regular.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
}

/** {*/
/*    font-family: "YekanBakhFaNum";*/
/*}*/

.text-primary {
    color: #9c0f48 !important;
}

.title-paidar {
    font-size: 30px;
    color: #9c0f48;
    line-height: 2em;
    font-weight: bold;
}

.h1-section1 {
    font-size: 40px;
    color: #9c0f48;
    font-weight: bold;
}

.text-section {
    font-size: 15px;
    color: #565656;
    line-height: 2em;
}

.gol-paidar {
    width: 300px;
    right: 0;
    top: 0;
    z-index: -1;
}

.gol-paidar-2 {
    width: auto;
    height: 550px;
    left: 0;
    top: 75%;
    transform: rotateY(180deg);
    z-index: -1;
}

.news-image {
    min-width: 350px;
    width: 350px;
    border-radius: 15px;
}

.Title-Section-Numbers {
    font-size: 16px;
    color: #fcf4e9;
    margin: 10px 0px;
    line-height: 1.8em;
    font-weight: bold;
}

.news-link {
    background-color: #fcf4e9;
    color: #9c0f48;
    text-decoration: none;
    padding: 8px 25px;
    border-radius: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: all 0.3s ease;
    min-width: 326px;
    text-align: center;
}

.news-link:hover {
    background-color: #9c0f48;
    color: #fcf4e9;
    text-decoration: none;
    padding: 8px 25px;
    border-radius: 5px;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
    transition: all 0.3s ease;
}

.section2-bg {
    background-image: url(https://haghanigold.com/wp-content/uploads/2025/04/home-deal-counter-bg.jpg);
    height: 200px;
    padding: 0px;
    position: relative;
    background-size: cover;
    background-position: 37% 0%;
}

.section2-overlay-bg {
    background: #9c0f48;
    opacity: 0.5;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
}

.img-class-1 {
    border-radius: 500px 500px 20px 20px;
}

.inner-box-section {
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.03);
    border-radius: 30px;
    padding: 20px;
}

.img-box {
    position: relative;
}

.img-box .img-border-round::before {
    content: "";
    height: 100%;
    width: 96%;
    background-color: transparent;
    z-index: 0;
    position: absolute;
    top: -10px;
    left: -7px;
    border: 3px solid #9c0f48;
    border-radius: 500px 500px 15px 15px;
}

.img-box img {
    border-radius: 500px 500px 15px 15px;
}

.two-medal-image {
    position: relative;
    display: flex;

}

.two-medal-image .medal-image::before {
    content: "";
    height: 81%;
    width: 95%;
    background-color: transparent;
    z-index: -1;
    position: absolute;
    top: 20px;
    left: 0;
    right: 10px;
    border: 3px solid #9c0f48;
    border-radius: 500px 500px 15px 15px;
    background-image: linear-gradient(0deg, #ffffff00 0%, #fcf4e9 100%);
}

.pai-aparat-desc {
    display: block;
    min-width: auto !important;
    width: 215px !important;
}

.pai-aparat-mobile {
    display: none;
}

@media (max-width: 798px) {
    .pai-sectioen-1 .pai-first-row {
        display: flex;
        flex-direction: column-reverse;
    }

    .img-box .img-border-round::before {
        display: none;
    }

    .img-box img {
        border: 3px solid #9c0f48;
    }

    .medal-image {
        padding: 20px;
    }

    .two-medal-image .medal-image::before {
        top: 46px;
    }

    .pai-sectioen-3 {
        padding-left: 0;
        padding-right: 0;
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
    }

    .pai-third-row {
        gap: 25px;
        padding: 40px 10px !important;
    }

    .pai-sectioen-4 {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
        margin-bottom: 10px !important;
        margin-top: 10px !important;


    }

    .pai-aparat-desc {
        display: none;
    }

    .pai-aparat-mobile {
        display: block;
        padding: 10px 20px !important;
        margin: 15px 0px 30px 0px;
    }
}
