@charset 'UTF-8';
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: normal;
  src: url('../fonts/YekanBakhFaNum-Regular.woff2') format('woff2');
  font-display: swap;
}
@font-face {
  font-family: YekanBakhFaNum;
  font-style: normal;
  font-weight: 800;
  src: url('../fonts/YekanBakhFaNum-ExtraBold.woff2') format('woff2');
  font-display: swap;
}

@font-face {
  font-family: cl;
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/cl.woff2') format('woff2');
  font-display: swap;
}


.main-content{padding-top:25px}
body {  font-family: 'YekanBakhFaNum', Tahoma, sans-serif;font-weight: normal;}
.justify-content-end {  justify-content: flex-start !important;}
#main-wrapper p {    text-align: justify;    color: #000;}
a{text-decoration: none;}
h1, h2, h3,h4,h5,h6, button { font-size:1rem; font-family: 'YekanBakhFaNum', Tahoma, sans-serif;font-weight: 700;}
h1, h2 { font-size:1.7rem;}
.navbar-brand img{width:40px}
.navbar-custom{right:0;left:0;top:10px;position: absolute;    z-index: 9999;padding:0}
.nav-link--user-login,[class*="nav-link--user-logout"],.nav-link--user {  display: inline-flex; margin:0 5px; align-items: center;  gap: 0.5rem;  padding: 0.4rem 1rem;  background: linear-gradient(135deg, #ECC94B 0%, #D69E2E 100%);  color: #fff;  border-radius: .5rem; font-size: 0.95rem;  transition: all 0.3s ease;  position: relative;}
.nav-link--user-login:hover,[class*="nav-link--user-logout"]:hover,.nav-link--user:hover {  background: #19406b;  color: #fff;  transform: translateY(-2px);}
.nav-link--user-login::before {  content: "\f12a";  font-family: "bootstrap-icons" !important;  font-style: normal;  font-weight: normal;  font-size: 1.1rem;  display: inline-block;  line-height: 1;}
.nav-link--user::before {  content: "\F4D4";  font-family: "bootstrap-icons" !important;  font-style: normal;  font-weight: normal;  font-size: 1.1rem;  display: inline-block;  line-height: 1;}
[class*="nav-link--user-logout"]::before {  content: "\f4ff";  font-family: "bootstrap-icons" !important;  font-style: normal;  font-weight: normal;  font-size: 1.1rem;  display: inline-block;  line-height: 1;}
.logo img { height: 50px;    }
nav ul li a { color: #FFFFFF; font-size: 16px; font-weight: 500;    }
nav ul li a:hover { color: #ECC94B;    }
.block-views-blockcontent-recent-block-1 .views-row{border-bottom:1px solid #fff; padding:10px}

/** frint **/
.d-flex.overflow-auto {  -webkit-overflow-scrolling: touch;}
.region-nes{font-size:.9rem}

.node__meta{text-align:left}
.breadcrumb{margin-top:20px}

/** node **/
.summary {  background: #f6f6f6;  border-left: 5px solid #b38838;  padding: 24px;  border-radius: 5px;  margin: 10px auto;}
.content img {  margin: 0px auto;height:auto;display:block;width:100%}
.caption > figcaption { background: #edeeee;  padding: 10px;  border-right: 3px solid #978c72;}
.card-img-icon img {  width: 60px;  height: 60px;  object-fit: cover;  border-radius: 0.5rem;  display: block;}
[dir="rtl"] .node .field--type-image{float:none;margin-bottom:24px;border-radius:5px}
#edit-comment-body-0-format{display:none}
video{width:100%;height:auto;max-height:350px;background: #202039;min-height: 350px;}
/** article **/
.tarhimg img{max-width:100%;margin-top: 99px;width: 100%; display: block; margin-left: auto;float:left}





        :root {
            --primary-dark: #be185d;
            --primary-main: #db2777;
            --primary-light: #f472b6;
            --primary-fade: #fce7f3;
            
            --teal-dark: #0f766e;
            --teal-main: #14b8a6;
            --teal-light: #99f6e4;
            --teal-fade: #ccfbf1;

            --accent: #ffd1dc;
            --white: #ffffff;
            --text-main: #333333;
            --text-light: #666666;
            
            --glass-bg: rgba(255, 255, 255, 0.9);
            --blur: blur(15px);
            --shadow-card: 0 10px 30px -5px rgba(136, 19, 55, 0.1);
            --shadow-hover: 0 20px 40px -5px rgba(20, 184, 166, 0.25);
            --radius-lg: 35px;
        }

        * { margin: 0; padding: 0; box-sizing: border-box; outline: none; text-decoration: none; list-style: none; scroll-behavior: smooth; }
        
        body {

            background-color: #fff0f5;
            background-image: radial-gradient(circle at 0% 0%, rgba(204, 251, 241, 0.6) 0%, rgba(255,240,245,0) 50%),
                              radial-gradient(circle at 100% 100%, rgba(252, 231, 243, 0.8) 0%, rgba(255,255,255,0) 50%);
            color: var(--text-main);
            overflow-x: hidden;
            line-height: 1.7;
            padding-bottom: 0;
        }

        .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; position: relative; }
        img { max-width: 100%; display: block; }
        a { transition: all 0.3s ease; color: inherit; }


        .static-header {
            position: relative; 
            margin-top: 20px;
            margin-bottom: 30px; 
            padding: 0 20px;
            display: flex;
            justify-content: center;
            z-index: 50;
        }

        .glass-container {
            width: 100%;
            max-width: 1200px;
            background: rgba(255, 255, 255, 0.7);
            backdrop-filter: saturate(180%) blur(20px);
            border-radius: 50px;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            box-shadow: 0 10px 30px -10px rgba(0,0,0,0.05);
            border: 1px solid rgba(255, 255, 255, 0.8);
        }

        .brand-section { display: flex; align-items: center; gap: 12px; }
        .logo-symbol {
            width: 45px; height: 45px;
            background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
            color: white; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 1.4rem;
            box-shadow: 0 5px 15px rgba(219, 39, 119, 0.3);
            animation: pulse-logo 3s infinite;
        }
        @keyframes pulse-logo { 0% { box-shadow: 0 0 0 0 rgba(219, 39, 119, 0.4); } 70% { box-shadow: 0 0 0 10px rgba(219, 39, 119, 0); } 100% { box-shadow: 0 0 0 0 rgba(219, 39, 119, 0); } }

        .brand-text h1 {
            font-size: 1.4rem; font-weight: 900;
            background: -webkit-linear-gradient(0deg, var(--primary-main), var(--text-main));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            margin: 0;
        }

        .nav-center { display: flex; gap: 5px; }
        .nav-center a {
            padding: 10px 20px;
            border-radius: 30px;
            font-weight: 600;
            font-size: 0.95rem;
            color: var(--text-light);
            display: flex; align-items: center; gap: 8px;
            transition: all 0.3s ease;
        }
        .nav-center a:hover, .nav-center a.active {
            background: white;
            color: var(--primary-main);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            transform: translateY(-2px);
        }

        .action-buttons { display: flex; gap: 8px; align-items: center; }
        .icon-btn {
            width: 40px; height: 40px; border-radius: 50%; border: none;
            background: transparent; color: var(--text-main); font-size: 1.1rem;
            cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center;
        }
        .icon-btn:hover { background: rgba(0,0,0,0.05); color: var(--teal-main); }
        
        .login-btn {
            padding: 0 25px; height: 42px; border-radius: 30px; border: none;
            background: var(--teal-main); color: white; font-weight: 700;
            display: flex; align-items: center; gap: 8px; cursor: pointer;
            box-shadow: 0 5px 15px rgba(20, 184, 166, 0.3); transition: 0.3s;
            font-family: inherit; font-size: 0.9rem;
        }
        .login-btn:hover { background: var(--teal-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4); }

        .mobile-only { display: none !important; }
        .desktop-only { display: flex !important; }

        .mobile-bottom-nav {
            display: none;
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 70px;
            background: white;
            box-shadow: 0 -5px 20px rgba(0,0,0,0.05);
            z-index: 9999;
            justify-content: space-around;
            align-items: center;
            border-top-left-radius: 20px;
            border-top-right-radius: 20px;
            padding: 0 10px;
        }

        .nav-item-bottom {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            color: #999;
            font-size: 0.75rem;
            gap: 5px;
            padding: 5px;
            width: 60px;
            transition: 0.3s;
        }
        .nav-item-bottom i { font-size: 1.3rem; margin-bottom: 2px; transition: 0.3s; }
        .nav-item-bottom.active { color: var(--primary-main); }
        .nav-item-bottom.active i { transform: translateY(-5px); }
        
        .nav-item-special {
            position: relative;
            top: -25px;
            background: var(--teal-main);
            color: white !important;
            width: 55px; height: 55px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            box-shadow: 0 8px 20px rgba(20, 184, 166, 0.4);
            border: 4px solid #fff0f5;
        }
        .nav-item-special i { font-size: 1.4rem; }
        .hero-section { margin-bottom: 60px; }
        .slider-frame {
            position: relative; height: 500px; border-radius: var(--radius-lg);
            overflow: hidden; box-shadow: var(--shadow-card); background: #000;
        }
        .slide {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            opacity: 0; visibility: hidden; transition: all 1s ease;
        }
        .slide.active { opacity: 1; visibility: visible; }
        .slide img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); }
        
        .hero-text {
            position: absolute; bottom: 80px; right: 50px;
            background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px);
            padding: 30px 40px; border-radius: 25px 25px 0 25px;
            max-width: 550px; border-right: 6px solid var(--teal-main);
            transform: translateY(50px); opacity: 0; transition: 0.8s ease 0.3s;
        }
        .slide.active .hero-text { transform: translateY(0); opacity: 1; }
        
        .hero-text h2 { color: var(--teal-dark); font-size: 2rem; margin-bottom: 10px; font-weight: 800; }
        .hero-text p { color: #555; margin-bottom: 20px; font-size: 1rem; }
        .btn-hero {
            background: linear-gradient(90deg, var(--teal-main), var(--teal-dark));
            color: white; padding: 12px 35px; border-radius: 50px; border: none; 
            font-weight: 700; cursor: pointer; box-shadow: 0 5px 15px rgba(20, 184, 166, 0.4); transition: 0.3s;
        }
        .btn-hero:hover { transform: scale(1.05); box-shadow: 0 8px 20px rgba(20, 184, 166, 0.6); }

        .hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; line-height: 0; z-index: 2; }
        .hero-wave svg { width: 100%; height: 60px; fill: #fff0f5; }

        .section-header { text-align: center; margin: 60px 0 20px; position: relative; }
        .title-pill {
            display: inline-flex; align-items: center; gap: 10px;
            background: white; padding: 10px 40px; border-radius: 50px;
            font-size: 1.3rem; font-weight: 800; color: var(--text-main);
            box-shadow: var(--shadow-card); position: relative; z-index: 2; border: 1px solid white;
        }
        .title-pill i { color: var(--teal-main); }
        .section-header::after {
            content: ''; position: absolute; top: 50%; left: 10%; right: 10%;
            height: 2px; background: linear-gradient(90deg, transparent, var(--teal-light), transparent); z-index: 1;
        }

        /* استایل گرید آیکون‌ها (دسکتاپ) */
        .grid-icons {
            display: flex; flex-wrap: wrap; justify-content: center; gap: 16px;
            align-items: center; padding-bottom: 16px;
        }
        .icon-box {
            width: 110px; height: 130px; background: white; border-radius: 25px;
            display: flex; flex-direction: column; align-items: center; justify-content: center;
            border: 2px solid transparent; transition: all 0.4s; cursor: pointer; position: relative;
        }
        .icon-circle {
            width: 70px; height: 70px; border-radius: 50%; display: flex; align-items: center; 
            justify-content: center; font-size: 1.5rem; margin-bottom: 10px; transition: 0.4s;
        }
        
        .icon-box:nth-child(odd) .icon-circle { background: #b94a89; color: var(--primary-main); }
        .icon-box:nth-child(even) .icon-circle { background: #519a8b; color: var(--teal-dark); }
        .icon-title { font-size: 0.9rem; font-weight: 700; color: #666; transition: 0.3s; }
        
        .icon-box:hover { transform: translateY(-10px); box-shadow: var(--shadow-hover); }
        .icon-box:nth-child(odd):hover { border-color: var(--primary-light); }
        .icon-box:nth-child(even):hover { border-color: var(--teal-light); }
        .icon-box:hover .icon-circle { transform: rotate(15deg) scale(1.1); }

        .icon-box:nth-child(5) {
            width: 150px; height: 170px; background: linear-gradient(135deg, var(--primary-main), var(--primary-dark));
            box-shadow: 0 15px 40px rgba(219, 39, 119, 0.4); z-index: 10;
        }
        .icon-box:nth-child(5) .icon-circle {
            background: #00bcd4 !important; color: var(--primary-main) !important; 
            width: 70px; height: 70px; font-size: 2.2rem;
        }
        .icon-box:nth-child(5) .icon-title { color: white; font-size: 1.1rem; }
        .icon-box:nth-child(5):hover { transform: scale(1.1); }

        .special-wrapper {
            display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; align-items: stretch;
            background: white; border-radius: var(--radius-lg); padding: 15px;
            box-shadow: var(--shadow-card); margin-bottom: 80px; position: relative; overflow: hidden;
        }
        .special-wrapper::before {
            content: ''; position: absolute; top: 0; right: 0; width: 100px; height: 100px;
            background: var(--teal-fade); border-radius: 0 0 0 100%; z-index: 0;
        }
        .special-img { border-radius: 25px; overflow: hidden; height: 100%; min-height: 350px; position: relative; z-index: 1; }
        .special-img img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .special-img:hover img { transform: scale(1.05); }
        
        .special-content {
            display: flex; flex-direction: column; justify-content: center; padding: 20px 40px;
            position: relative; z-index: 1;
        }
        .special-content::before {
            content: ''; position: absolute; top: 0; bottom: 0; right: 0; left: 0;
            border: 2px dashed var(--teal-light); border-radius: 20px; pointer-events: none;
        }
        .badge {
            background: var(--teal-fade); color: var(--teal-dark); padding: 6px 15px; 
            border-radius: 10px; font-size: 0.8rem; font-weight: 700; width: fit-content; 
            margin-bottom: 15px; border: 1px solid var(--teal-light);
        }
        .special-content h3 { font-size: 1.8rem; color: var(--text-main); margin-bottom: 15px; }
        .special-content p { color: var(--text-light); margin-bottom: 25px; text-align: justify;     font-size: 1.2rem;}

        .media-scroll {
            display: flex; gap: 20px; overflow-x: auto; padding: 20px 10px;
            scrollbar-width: none;
        }
        .media-scroll::-webkit-scrollbar { display: none; }
        
        .media-card {
            min-width: 220px; height: 380px; background: black; border-radius: 20px; overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1); transition: 0.3s; position: relative; display: block; cursor: pointer;
        }
        .media-card:hover { transform: translateY(-10px); box-shadow: 0 20px 30px rgba(0,0,0,0.2); }
        .media-thumb { height: 100%; width: 100%; position: relative; }
        .media-thumb img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
        .media-card:hover .media-thumb img { transform: scale(1.05); }

        .play-icon {
            position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
            width: 50px; height: 50px; background: rgba(255,255,255,0.2);
            backdrop-filter: blur(5px); border-radius: 50%; display: flex; align-items: center; justify-content: center;
            color: white; font-size: 1.5rem; transition: 0.3s; border: 1px solid rgba(255,255,255,0.5); z-index: 5;
        }
        .media-card:hover .play-icon { background: var(--teal-main); border-color: var(--teal-main); transform: translate(-50%, -50%) scale(1.1); }
        
        .media-info { 
            position: absolute; bottom: 0; left: 0; width: 100%; padding: 20px 15px;
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
            z-index: 4; color: white; text-align: right;
        }
        .media-info h4 { font-size: 1.1rem; margin-bottom: 5px; color: white; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
        .media-info span { font-size: 0.85rem; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 5px; }

        .users-grid {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 25px; margin-bottom: 60px;
        }
        .user-card {
            background: white; padding: 25px 15px; border-radius: 25px;
            text-align: center; border: 1px solid transparent; transition: 0.3s;
            box-shadow: 0 5px 10px rgba(0,0,0,0.02); position: relative; overflow: hidden;
        }
        .user-card::before {
            content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px;
            background: var(--primary-main); transform: scaleX(0); transition: 0.3s;
        }
        .user-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-card); }
        .user-card:hover::before { transform: scaleX(1); }
        
        .avatar {
            width: 80px; height: 80px; margin: 0 auto 15px; padding: 3px;
            border: 2px dashed var(--teal-main); border-radius: 50%;
        }
        .avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
        .user-name { font-weight: 700; color: #555; font-size: 1rem; }
        .user-role { font-size: 0.8rem; color: var(--teal-dark); margin-top: 5px; font-weight: 500; }

        footer { background: #881337; color: white; padding-bottom: 30px; margin-top: 0px; }
        
        .footer-content {
            display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 40px; padding-top: 30px;
        }
        .footer-col h5 {
            font-size: 1.2rem; color: var(--accent); margin-bottom: 20px;
            border-bottom: 2px solid rgba(255,255,255,0.1); padding-bottom: 10px; display: inline-block;
        }
        .footer-links li { margin-bottom: 10px; opacity: 0.8; transition: 0.3s; cursor: pointer; display: flex; align-items: center; gap: 10px;}
        .footer-links li:hover { opacity: 1; padding-right: 8px; color: var(--teal-light); }
        
        .socials { display: flex; gap: 15px; margin-top: 20px; }
        .social-icon {
            width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%;
            display: flex; align-items: center; justify-content: center; transition: 0.3s;
        }
        .social-icon:hover { background: white; color: var(--primary-dark); transform: rotate(360deg); }


        @media (max-width: 900px) {
            body { padding-bottom: 80px; }
            
            .nav-center { display: none; }
            .desktop-only { display: none !important; }
            .mobile-only { display: flex !important; }
            
            .static-header { margin-top: 10px; margin-bottom: 20px; padding: 0 10px; }
            .glass-container { padding: 8px 15px; justify-content: center; position: relative; }
            
            .brand-section { width: 100%; justify-content: space-between; }
            .brand-text h1 { font-size: 1.2rem; }
            
            .mobile-bottom-nav { display: flex; }

            .slider-frame { height: 350px; }
            .hero-text { right: 20px; left: 20px; width: auto; max-width: none; padding: 20px; bottom: 40px; }
            .special-wrapper { grid-template-columns: 1fr; }
            .special-img { height: 250px; min-height: auto; order: -1; }
            
            .grid-icons { 
                gap: 8px; 
                justify-content: center;
            }
            .icon-box { 
                width: 30%;
                height: 110px; 
            }
            
            .icon-box:nth-child(5) { 
                width: 30%;
                height: 110px;
                margin: 0; 
            }
            .icon-box:nth-child(5) .icon-circle {
                width: 55px; 
                height: 55px;
                font-size: 1.5rem;
            }
            .icon-box:nth-child(5) .icon-title {
                font-size: 0.9rem; 
            }

            .users-grid { display: flex; overflow-x: auto; padding-bottom: 20px; grid-template-columns: unset; }
            .user-card { min-width: 160px; flex-shrink: 0; }
        }
@media (max-width: 576px) {  .carousel-item .col-md-3 {    flex: 0 0 100%;    max-width: 100%;  }
}
@media (max-width: 767.98px) {
.navbar-custom{position: relative;top:0}
.news .custom-list {flex: auto;        margin: 15px;}
.hero{min-height:auto}
.hero img{height:auto}
.feature-boxes-wrapper {    margin-top: 0;}
.feature-box-inner img {  max-width: 100%; margin: 1px auto;}
.feature-box-inner {    padding: 7px;font-size: .8rem;}
.navbar-brand {  font-size: 1rem;}
.ms-auto {  margin-right: auto !important;}
.counter {  font-size: 1.3rem;}
h2{font-size:1rem}
.d-flex.flex-row.flex-nowrap > div {    width: 100% !important;  }

 }
 


