﻿:root {
    --color: #f91880;
}
@charset "utf-8";
html { scroll-behavior: smooth; }
* {
    font-family: "vazir", "Helvetica Neue", Helvetica, Roboto, Arial, sans-serif;
    outline: none;
    margin: 0;
    padding: 0;
    font-weight: 400;
    font-style: normal;
    direction: rtl;
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
}
*, ::before, ::after { box-sizing: border-box; }
ul, li { list-style: none; }
a { text-decoration: none; }
hr { border: 0; border-bottom: 1px #e0e0e0 solid; }
b, strong, strong *, .rt-bold, .rt-bold * { font-weight: 700; }
img { max-width: 100%; object-fit: cover; }
.right { float: right; }
.left { float: left; }
.rt, header, footer { width: 100%; float: right; }
.rt-8 { font-size: 8px; }
.rt-9 { font-size: 9px; }
.rt-10 { font-size: 10px; }
.rt-11 { font-size: 11px; }
.rt-12 { font-size: 12px; }
.rt-13 { font-size: 13px; }
.rt-14 { font-size: 14px; }
.rt-15 { font-size: 15px; }
.rt-16 { font-size: 16px; }
.rt-17 { font-size: 17px; }
.rt-18 { font-size: 18px; }
.rt-19 { font-size: 19px; }
.rt-20 { font-size: 20px; }
.rt-21 { font-size: 21px; }
.rt-22 { font-size: 22px; }
.rt-23 { font-size: 23px; }
.rt-24 { font-size: 24px; }
.rt-25 { font-size: 25px; }
.rt-26 { font-size: 26px; }
.rt-27 { font-size: 27px; }
.rt-28 { font-size: 28px; }
.rt-29 { font-size: 29px; }
.rt-30 { font-size: 30px; }
.rt-31 { font-size: 31px; }
.rt-fff, ::selection { color: #fff; }
.rt-rang, a { color: var(--color); }
.rt-op { opacity: .85; }
.rt-3px { border-radius: 3px; }
.rt-5px { border-radius: 5px; }
.rt-8px { border-radius: 8px; }
.rt-10px { border-radius: 10px; }
.rt-15px { border-radius: 15px; }
.rt-20px { border-radius: 20px; }
.rt-25px { border-radius: 25px; }
.rt-30px { border-radius: 30px; }
.rt-35px { border-radius: 35px; }
.rt-50px { border-radius: 50%; }
.rt-medium { font-weight: 500; }
.rt-200 { font-weight: 200; }
.rt-300 { font-weight: 300; }
.fa.rt-400, .rt-400 { font-weight: 400; }
.rt-600 { font-weight: 600; }
.rt-700 { font-weight: 700; }
.rt-800 { font-weight: 800; }
.rt-900 { font-weight: 900; }
.rt-1000 { font-weight: 1000; }
.rt-center { display: inline-flex; justify-content: center; flex-direction: column; text-align: center; }
.rt-align { text-align: center; }
.rt-limit { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rt-overflow { overflow: hidden; }
.rt-color, ::selection { background-color: var(--color); }
.rt-z-index { z-index: 100; }
.rt-shadow { box-shadow: 1px 1px 15px rgba(0, 0, 0, 0.05); }
.rt-relative { position: relative; }
.rt-absolute { position: absolute; }
.rt-pointer { cursor: pointer; }
@font-face {
    font-family: vazir;
    font-style: normal;
    font-weight: bold;
    src: url('../fonts/Vazir-Bold.eot');
    src: url('../fonts/Vazir-Bold.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazir-Bold.woff') format('woff'),
         url('../fonts/Vazir-Bold.ttf') format('truetype');
}
@font-face {
    font-family: vazir;
    font-style: normal;
    font-weight: normal;
    src: url('../fonts/Vazir.eot');
    src: url('../fonts/Vazir.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazir.woff') format('woff'),
         url('../fonts/Vazir.ttf') format('truetype');
}
@font-face {
    font-family: vazir;
    font-style: normal;
    font-weight: 500;
    src: url('../fonts/Vazir-Medium.eot');
    src: url('../fonts/Vazir-Medium.eot?#iefix') format('embedded-opentype'),
         url('../fonts/Vazir-Medium.woff') format('woff'),
         url('../fonts/Vazir-Medium.ttf') format('truetype');
}
.bgz {
    position: fixed;
    top: 0;
    right: 0;
    height: 100%;
    z-index: -1;
    object-fit: cover;
    opacity: .1;
}
body { background-color: #1c3867; }

/* اصلاحات برای چیدمان ریسپانسیو */
.layout-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    padding: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.layout-left {
    flex: 1;
    min-width: 300px;
}

.layout-right {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

main {
    width: 100%; /* تغییر از 50% به 100% */
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0; /* حذف پدینگ اضافی */
}

.countdownp {
    width: 100%; /* تغییر از calc(50% - 60px) */
    text-align: center;
    position: relative; /* تغییر از fixed به relative */
}

.countdownp .titr { margin-bottom: 8px; }
.countdownp .number {
    background-color: rgba(255, 255, 255, 0.1);
    font-weight: 700;
    color: #fff;
    font-size: 21px;
    padding: 10px 20px;
    display: inline-block;
    border-radius: 8px;
    margin: 5px;
    min-width: 80px;
    backdrop-filter: blur(15px);
}
.countdownp .minutes { background-color: #ef394e; }
.countdownp .rooz { font-size: 12px; margin-top: 4px; display: block; }
.countdownp .dots { opacity: .5; }
.countdownp .js-counter { direction: ltr; }

iframe {
    width: 100%; /* تغییر از calc(50% - 60px) */
    height: 400px; /* ارتفاع مشخص */
    border: 0;
    position: relative; /* تغییر از fixed به relative */
    background-color: rgba(0, 0, 0, 0.1);
}

/* موبایل: زیر هم */
@media (max-width: 768px) {
    .layout-container {
        flex-direction: column;
        padding: 20px;
    }
    .layout-left, .layout-right {
        min-width: unset;
        width: 100%;
    }
    iframe {
        height: 300px; /* ارتفاع کمتر برای موبایل */
    }
}