   
   
body{
    font-family: 'BonyadeKoodak';
    background-color: #EBEBEB;
	  direction: rtl;
  
  }

  @font-face {
	font-family: BonyadeKoodak;
	font-style: normal;
	font-weight: 100;
	src: url('/fonts/Bonyad/woff/BonyadeKoodakFaNum-Thin.woff') format('woff'),  
 
	url('/fonts/Bonyad/woff2/BonyadeKoodakFaNum-Thin.woff2') format('woff2');		
}


@font-face {
	font-family: BonyadeKoodak;
	font-style: normal;
	font-weight: 200;
	src: url('/Bonyad/woff/BonyadeKoodakFaNum-ExtraLight.woff') format('woff'),   
	
url('/Bonyad/woff2/BonyadeKoodakFaNum-ExtraLight.woff2') format('woff2');		
}


@font-face {
	font-family: BonyadeKoodak;
	font-style: normal;
	font-weight: 300;
	src: url('/fonts/woff/BonyadeKoodakFaNum-Light.woff') format('woff'),   
	url('/fonts/Bonyad/woff2/BonyadeKoodakFaNum-Light.woff2') 
format('woff2');		
}


@font-face {
	font-family: BonyadeKoodak;
	font-style: normal;
	font-weight: normal;
	src: url('/fonts/Bonyad/woff/BonyadeKoodakFaNum-Regular.woff') format('woff'),   
	url('/fonts/woff2/BonyadeKoodakFaNum-Regular.woff2') format('woff2');		 	 
}

h1,h2,h3,h4,h5,h6{
	font-family: 'BonyadeKoodak';
	line-height: normal;
} 
  		.divider {
  width: 60%;               /* مثلاً 60% عرض */
  
  min-width: 200px;         /* حداقل عرض برای موبایل */
  height: 2px;
  background-color: #7272722e;
  margin: 15px 0;
}
  
  
.page__container.dir-rtl {
  display: flex;             /* فعال‌سازی فلکس */
  flex-wrap: wrap;           /* می‌ذاره آیتم‌ها در چند سطر برن */
  justify-content: center;   /* چینش وسطی در محور افقی */
                /* فاصله بین آیتم‌ها */
  padding: 16px 0;           /* فضا از بالا و پایین */
}
html {
  direction: rtl; }

body {
  direction: rtl; }
  
   @media (max-width: 768px) {
      .header {
	  display: none!important ;}
	  .divider {display: none;}
		 .feature-item p {font-size: 11px;}
		 .mtn-anews {font-size: 11px;}
		a{font-size: 11px;}
		
								
  
      }
	  
	  	@media (max-width: 885px) {	.brand-section{		flex: 2 1 100% !important;	}}

      .bottom-menu {

    display: flex;
    justify-content: space-around;
 /*    align-items: center;  */
    background-color: #fff;
    backdrop-filter: blur(6px);
    border-top: 1px solid #EEE;
    padding: 8px;
    position: fixed;
    bottom: 24px;
    left: 28px;
    right: 28px;
    z-index: 1000;
    border-radius: 16px;
	height: 73px;
	
}



      .bottom-menu .menu-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #555;
        font-size: 12px;
		text-decoration: auto;
		height: 30px;
      }


.bottom-menu .menu-item.active {
    background-color: #E81d75;
    border-radius: 10px;
    color: #ffffff;
 /*     width: 30px;*/
    height: 30px;
	font-family: 'BonyadeKoodak';
	width: 35px;
}


.menu-item.active  span{

    color: #E81d75;
font-family: 'BonyadeKoodak';
}  

.bottom-menu i {
    font-size: 20px;
    margin-bottom: 6px;
	font-family: 'BonyadeKoodak';
}


      .bottom-menu span{
		color: #939393;
		font-family: 'BonyadeKoodak';
}
    }
	
	


.left-items {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  flex: 1;
  max-width: 300px;
}

.left-items .item {
  background: white;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0 5px #ddd;
}

.left-items img {
  width: 50px;
  height: 50px;
}

.right-slider {
  flex: 2;
  min-width: 300px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.swiper-slide {
  position: relative;
}

.swiper-slide img {
  width: 100%;
  height: auto;
  
}

.slide-text {
  position: absolute;
  top: 30%;
  right: 10%;
  color: white;
  text-shadow: 0 0 5px black;
}

.news-section {
  display: flex;
  padding: 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.news-item {
  background: white;
  flex: 1;
  min-width: 200px;
  border-radius: 10px;
  padding: 10px;
  box-shadow: 0 0 5px #ccc;
}

.news-item img {
  width: 100%;
  border-radius: 10px;
}

.buttons-section {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
}

.blue-button, .green-button, .aqua-button {
  padding: 12px;
  border: none;
  border-radius: 10px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.blue-button { background: #2979ff; }
.green-button { background: #00c853; }
.aqua-button { background: #00bcd4; }



  @media (max-width: 1390px) {

		.left-column{
		max-width: 100%;
	}
	.wide-widget{
		justify-content:center;
	}
	

	.slider-wrapper{
		max-width: 100%;
	}
  }
  
@media (max-width: 1440px){
			.left-column{
		max-width: 100%;
	}
	 .divider {display: none;}
	
}

  @media (max-width: 1024px) {

		.left-column{
		max-width: 100%;
	}
	.wide-widget{
		justify-content:center;
	}
	

	.slider-wrapper{
		max-width: 100%;
	}
  }
  
  @media (min-width: 770px)  and (max-width: 970px){

	.left-column{
		max-width: 100%;
	}
	.wide-widget{
		justify-content:center;
	}
	

	.slider-wrapper{
		max-width: 100%;
	}
	.slider-container{
		width: 100%;
		height: 100%;
	}
	
  }





  
  @media (max-width: 1024px) {
    .features {

    /* overflow: scroll; */
	max-width: 100%;

    }
  }
  

    @media (max-width: 1440px) {
    .features {
   /*  grid-template-columns: repeat(4, 1fr);

    overflow: scroll; */
	max-width: 100%;

    }
  }
  
  @media (max-width: 768px) {
    body {
	padding-left: 16px;
	padding-right: 16px;
    }
  }


    @media (max-width: 768px) {
      .content-row {
        flex-direction: column;
		max-width: 100%;
      }
      .left-column,
      .right-column {
     
        flex: 1 1 100%;
		width: 100%;
      }
      .main-slider {
        margin-bottom: 20px;
      }
    }

  @media (max-width: 768px) {
      .main-slider {
        width: 100%;
        height: 100%;
      }
	  
	  	.slider-background {  width: 52%;} 
		.slider-background-fade {width: 54%;}
		.slider-wrapper {padding: 0; }
	
      .widget-box{
        font-size: 12px;
		
      }
      .wide-widget{
        font-size: 12px;

      }
      .feature-item{
        width: 69.5px;

      }
	  
	      .feature-item img {
     width: 73px;
		}
		
		.gif-banner {

    height: 30px;
	padding: 0 16px;
	max-width: 100%;

}
    }
	
	
	/* در موبایل: آیتم&zwnj;ها زیر هم بیفتن */
@media (max-width: 768px) {
	.container-main {
    
      margin: 0 auto;

    }
	
  .contact-item {
    width: 100% !important;
  }
}

@media (max-width: 1440px) {
		.container-main {
      max-width: 920px; 
      margin: 0 auto;

    }
	
}
@media (max-width: 930px) {
		.container-main {
      max-width: 720px; 
      margin: 0 auto;

    }
	
}

@media (max-width: 768px) {
.timer-text a {
    text-decoration: none;
    color: #666;
    font-size: 0.7rem;
}

.timer-text h3 {
    margin: 0;
    font-size: .8rem;
}

.timer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border-radius: 1rem;
    padding: 0.5rem 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    flex-wrap: wrap;
    margin: 24px 0 24px 0;
	max-width: 100%;
}

.timer-countdown {
    display: flex;
    align-items: center;
    /* gap: 0.8rem; */
    font-weight: bold;
    font-size: .8rem;
}

.content-row {
    gap: 24px;
}

.left-column {
    gap: 24px;
}

.separator {
    font-size: .8rem;
}

.timer-text {
    text-align: right;
    min-width: 106px;
}

.time-part {
    min-width: 23px;
}

    .slider-container {

      max-width: 100%;
    }

}



@media (max-width: 768px) {
  .footer {
    flex-direction: row;
    flex-wrap: nowrap;
	max-width: 100%;
  }
  .footer-col {
    flex: 1;
  }
  
  .footer-social {
  display: flex;
  justify-content: center;
  margin-top: auto;

}

.footer-bottom {
  text-align: center;

}

.m-so{
	margin-bottom: 30%;
}
	
.s-news{
  font-size: 12px; 
}

}

@media (max-width: 768px)
.footer {

    padding-left: 0 !important;
    padding-right: 0 !important;
}



.footer-col ul li a {
    text-decoration: none;
    color: #333;
    font-size: clamp(9px, 1vw, 12px);
    font-family: 'BonyadeKoodak';
}


@media (min-width: 768px)
.container-main {
    max-width: 720px;
}


@media (min-width: 992px)
.container-main {
    max-width: 960px;
}


@media (min-width: 1200px)
.container-main {
    max-width: 1140px;
}
@media (max-width: 1440px)
.container-main {
    max-width: 720px;
}

@media (max-width: 1440px)
.container-main {
    max-width: 720px;
    margin: 0 auto;
}


 /* اسلایدر موبایل */
    @media (max-width: 768px) {
      .slider .slick-slide img { width: 90%; }
    }


      @media (max-width: 576px) {
          .nav-pills .nav-link {
              border-radius: 20px;
              padding: 6px 14px;
              margin: 0 4px;
              font-size: 10px; /* تغییر سایز فونت */
              color: #333;
              border: 1px solid #e91e63;
          }
      }

    @media (max-width: 768px) {
      .modal-dialog { position: fixed; bottom: 0; margin: 0; width: 100%; border-radius: 16px 16px 0 0;min-height: auto; }
      .exam-container { flex-direction: column; align-items: center; }
      .left-section, .right-section { max-width: 95%; }
    }
		
	
	
	
	
	
	
	
	

    .gallery {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
        margin-top: 30px;
        flex-direction: row-reverse;
    }

        .gallery a img {
            width: 80px;
            height: 80px;
            border-radius: 6px;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
            cursor: pointer;
            transition: transform 0.2s;
        }

            .gallery a img:hover {
                transform: scale(1.05);
            }

    .fancybox__content {
        background: none !important;
    }



    body {

        background-color: #f7f7f7;
    }

    a {
        text-decoration: auto;
        color: unset;
    }

    .container-main {
        max-width: 1390px;
        margin: 0 auto;
        /* padding-left: 24px;
      padding-right: 24px; */
    }

    .gif-banner {
        width: 100%;
        height: 75px;
        background: gray url(../images/c.gif) center center no-repeat;
        background-size: cover;
        margin: 24px 0 24px 0;

        border-radius: 16px;
        background-size: 100% 100%;
    }


    .top-section {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        /* flex-direction: row-reverse; */
        justify-content: space-between;
    }

	a{font-size: 13px;}

    .feature-item {
        /* background: white; */
        border-radius: 10px;
        /* padding: 10px; */
        /* box-shadow: 0 0 4px rgba(0, 0, 0, 0.1);*/
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: black;
    }

        .feature-item p {
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.2s ease;
            color: #333;
            text-align: center;
           
            font-style: normal;
            font-weight: 700;
            line-height: normal;
        }



    .features {
        background-color: #ffffff;
        border-radius: 12px;
        padding: 16px;
        max-width: 448px;
        flex: 1;
        min-width: 300px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);

        color: white;
        text-align: center;
    }




    .feature-item:hover {
        transform: scale(1.05);
    }

    .feature-item img {
        /* width: 40px;
      height: 40px; */
        margin-bottom: 6px;
    }



    .slider-container {
        flex: 1;
        min-width: 320px;
        max-width: 920px;
    }



    .main-slider {
        width: 920px;
        height: 330px;
        border-radius: 12px;
        overflow: hidden;
        margin: auto;
    }

    .swiper-slide img {
        width: 100%;
        height: 100% !important;
        object-fit: cover;
    }

    .slider-background {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 330px;
        z-index: 0;
        transition: background-color 0.8s ease;
        border-radius: 12px;
    }

    .slider-container {
        position: relative; /* مهم برای استک شدن لایه‌ها */
    }

    .main-slider {
        position: relative;
        z-index: 1;
    }


    .content-row {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        margin-top: 24px;
        justify-content: space-between;
    }

    .left-column {
        flex: 1 1;
        max-width: 448px;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .top-widgets {
        display: flex;
        gap: 16px;
        height: 100%;
        color: #FFF;
        text-align: justify;
        
        font-size: 20px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

    .widget-box {
        background-color: #FFFFFF;
        color: #333333;
        border-radius: 12px;
         padding: 16px; 
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
        text-align: center;
        flex: 1;
        display: flex;
		flex-direction: column;
        align-items: center;
        justify-content: center;
		gap: 10px;
        font-weight: 600;
        font-size: 16px;
        cursor: pointer;
        transition: background-color 0.2s ease;
		min-height: 155.5px ;
		min-width: 46%;
    }

    /* .widget-box:hover {
      background-color: #f0f0f0;
    } */

    .wide-widget {
        background-color: #FFFFFF;
        border-radius: 12px;
     /*   padding: 16px; */
        box-shadow: 0 0 6px rgba(0, 0, 0, 0.1);
        display: flex;
        align-items: center;
		justify-content: center;
        gap: 12px;
        cursor: pointer;
        transition: background-color 0.2s ease;
        height: 100%;
        color: #333;
        text-align: justify;
        font-size: 16px;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
    }

        /* .wide-widget:hover {
      background-color: #f0f0f0;
    } */

        .wide-widget img {
            width: 154px;
            object-fit: cover;
            border-radius: 8px;
        }

    .right-column {
        flex: 1 1;
        max-width: 920px;
        background: white;
        border-radius: 12px;
        box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
        height: fit-content;
    }

    .news-card {
        background: #fff;
		border: 1px solid #E0E0E0;
        border-radius: 8px;
     /*   padding: 10px; */
     /*   box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1); */
        text-align: center;
    }

        .news-card img {
		width: 100%;
		height: 150px;
		object-fit: cover;
		border: 1px solid #E0E0E0;
		border-top-right-radius: 8px;
		border-top-left-radius: 8px;
		margin-bottom: 8px;  
	}



    .nav-tabs .nav-link {
        font-weight: 600;
        font-size: 12px;
    }

    .mySwiper .swiper-slide {
        width: auto !important;
    }
	    .mySwiper {
        margin-right:16px;
    }




    /* ظاهر جدید برای تب‌های اخبار و مقالات */
    .nav-tabs {
        border-bottom: none;
        gap: 8px;
    }

        .nav-tabs .nav-link {
            border: none;
            border-radius: 20px;
          
            color: #e81d75;
			border: 1px solid;
            padding: 6px 20px;
            font-weight: 600;
            transition: all 0.2s ease-in-out;
        }

            .nav-tabs .nav-link.active {
                background-color: #e81d75;
                color: white;
            }

    .title-anews {
        border-radius: 50px;
        background: #F1F1F1;
        display: flex;
        padding: 4px 16px;
        gap: 8px;
        width: fit-content;
		margin:16px;
		margin-bottom:8px;
        color: #727272;
       
        text-align: justify;

        font-size: 12px;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
    }

    .title-aarticle {
        border-radius: 50px;
        background: #F1F1F1;
        display: flex;
        padding: 4px 16px;
        gap: 8px;
        width: fit-content;
		margin:16px;
		margin-bottom:8px;
        color: #727272;
      
        text-align: justify;

        font-size: 12px;
        font-style: normal;
        font-weight: 300;
        line-height: normal;
    }










   




    .footer {
        background-color: #ffffff;
        padding: 50px 20px  ;
		border-radius: 12px;
        direction: rtl;
        margin-top: 24px;
    }

    .footer-col {
        flex: 1 1 0px !important;
        max-width: 196px;
    }

    .footer-container {
        max-width: 1390px;
        margin: auto;
    }

    .footer-columns {
        display: flex;
        flex-wrap: wrap;
        gap: 42px;
        justify-content: space-between;
        margin-bottom: 32px;
    }

    .footer-col {
        flex: 1 1 180px;

    }

        .footer-col ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

            .footer-col ul li {
                margin-bottom: 10px;
            }

                .footer-col ul li a {
                    text-decoration: none;
                    color: #333;
                   

                }

    .brand-section {
        flex: 2 1 300px;
    }

    .footer-logo {
        width: 146px;
        margin-bottom: 10px;
    }

    .footer-desc {
        font-size: 13px;
        color: #666;
        line-height: 1.8;
        margin-bottom: 16px;
		text-align: justify;
    }

    .footer-contact {
        display: flex;
        flex-wrap: wrap;
        direction: rtl;
        gap: 10px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    /* آیتم تماس */
    .contact-item {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 48%;
        direction: rtl;
        background-color: #fafafa;
        padding: 1%;
        border-radius: 8px;
    }

        /* آیکون */
        .contact-item img {
            width: 24px;
            height: 24px;
            margin-top: 2px;
        }

    /* متن تماس */
    .contact-text {
        display: flex;
        flex-direction: column;
        text-align: right;
    }

        .contact-text strong {
            font-size: 12px;
            margin-bottom: 4px;
            color: #000;
            direction: ltr;
        }

        .contact-text span {
            font-size: 12px;
            color: #666;
        }





    .footer-social {
        display: flex;
        justify-content: flex-end;
        gap: 16px;
        margin-bottom: 16px;
        margin-top: -12%;
    }

        .footer-social img {
            width: 28px;
            height: 28px;
        }

    .footer-bottom {
        text-align: left;
        font-size: 11px;

        color: #999;

        padding-top: 2px;
    }




    .timer-container {
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: white;
        border-radius: 1rem;
        padding: 1.5rem 2rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.05);
        flex-wrap: wrap;
        margin: 24px 0 24px 0;
    }

    .timer-text {
        text-align: right;
    }

        .timer-text h3 {
            margin: 0;
            font-size: 14px;
        }

        .timer-text a {
            text-decoration: none;
            color: #666;
            font-size: 0.9rem;
        }

    .timer-countdown {
        display: flex;
        align-items: center;
      
        font-weight: bold;
        font-size: 14px;
    }

    .time-part {
        display: flex;
        flex-direction: column;
        align-items: center;
        min-width: 45px;
    }

        .time-part span {
            font-size: 0.75rem;
            font-weight: normal;
            color: #555;
            margin-top: 4px;
        }

    .separator {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.4rem;
        color: #333;
        line-height: 1;
        transform: translateY(-9px); /* دقیقاً وسط */
    }


    .footer {
        display: flex;
        flex-direction: column;
    }

    .s-news {
        color: #434343;
        font-size: 14px;
        font-weight: 900;
    }

    .bottom-menu .menu-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        color: #555;
        font-size: 10px;
        text-decoration: none;
    }








    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .main-slider {
        height: 320px;
        border-radius: 16px;
    }

    .swiper-button-next,
    .swiper-button-prev {
        color: white;
        display: none;
    }

    .slider-wrapper {
        position: relative;
        width: 100%;
        max-width: 920px;
    }

    .slider-background,
    .slider-background-fade {
        position: absolute;
        top: 6px;
        left: 0;
        border-radius: 0 10px 10px 0;
        transition: background 0.8s ease, opacity 0.5s ease;
        opacity: 1;
        z-index: 0;
        transform: translateX(173px);
        pointer-events: none;
    }

    .slider-background {
        width: 83%;
        height: 87%;
        top: 7%;
    }



    .slider-background {
        background: linear-gradient(90deg, rgba(0,0,0,0.45), rgba(0,0,0,0)); /* جایگزین رنگ خالص */
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
    }

    .slider-background-fade {
        background: linear-gradient(90deg, rgba(0,0,0,0.3), rgba(0,0,0,0)); /* کم‌رنگ‌تر */
        top: 11%;
        height: 79%;
        width: 84.5%;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.03);
    }

    .fade-out {
        opacity: 0;
    }



    .slider-container {
        position: relative;
        z-index: 2;
        width: 920px;
        height: 330px;
        margin: auto;
        border-radius: 16px;
        overflow: hidden;
    }

    .main-slider {
        width: 100%;
        height: 100%;
        border-radius: 16px;
    }
	
	.mt-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem;
}


.mtn-anews {

    color: #313131;
    text-align: justify;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
	
    word-wrap: break-word;
    overflow: hidden;
    white-space: break-spaces;
    max-width: 249px;
    margin: 16px;
	margin-top:8px;
    height: 48px;
	    margin-bottom: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
	
}

 :root{
      --pink:#ff2d7a;
      --muted:#f3f3f4;
      --card-radius:18px;
      --shadow: 0 8px 30px rgba(17,17,17,0.08);
    }


    /* backdrop (پاپ‌آپ) */
    .backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,0.28);
      display: none; /* initially hidden */
      z-index: 900;
    }
    #gradePopup {
    position: fixed;
    z-index: 1000;
    width: 100%;
    max-width: 440px;
    left: 50%;
    top: auto;
    transform: translateX(-50%);
    background: #fff;
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--shadow);
    display: none;
}

.btn:hover {
    color: #eb3785;
    background-color: #fde9f2;
    border-color: #ed5094;
}
	
      #gradePopup .fw-bold {
          font-size: 15px;
          color: #333;
          text-align: right;
          width: 90%;
          margin: 0 auto 6px;
      }
 
		  .featurbox {
  /*  margin-top: -35% !important; */
	margin-top: -43% !important;
	 padding: 0;}
	  @media(max-width:1024px){.featurbox {    margin-top: -45% !important;}
	}

	 
	  @media(max-width:768px){.featurbox {   margin-top: 1.5rem !important;}
	  	.info-box {justify-content:center;	}
	  	  
	  }
	  @media(max-width:991px){.featurbox {   margin-top: 1.5rem !important;}
	  .info-box {justify-content:center;	}}
	  
	  @media(max-width:768px){
      .padding { padding: 16px; }
	  
    }
		  @media(max-width:991px){
      .padding { padding: 16px; }
	  
    }

   	 @media(min-width:768px){
      #gradePopup { top:50%; transform: translate(-50%,-50%); }
	  
    }
    @media(max-width:991px){
      #gradePopup{ top:auto; bottom:0; transform:translateX(-50%);border-radius:15px 15px 0 0; }
	
    }
	
    /* کارت‌ها / اطلاعات سمت راست */

    .info-box img{  border-radius:12px; margin-bottom:12px; }

    /* بخش کارت انتخاب بسته */
    .card-buy{
      background:#fff;
      border-radius: 18px;
      padding:16px;
      box-shadow: var(--shadow);
	  min-height: 595px;
    }
    .form-label{ font-weight:700; font-size:14px; }

    /* package option */
    .package-option{
      display:flex;
      align-items:center;
      justify-content:space-between;
      gap:12px;
      border:1px solid #ededf0;
      padding:10px 12px;
      border-radius:12px;
      background: #fff;
      cursor:pointer;
      margin-bottom:10px;
      transition: all .18s ease;
    }
    .package-option:hover{ transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,0.04); }
    .package-option .title{ font-size:13px; color:#333; }
    /* hidden native radio */
    .package-option input[type="radio"]{ display:none; }
    /* active visuals */
    .package-option.active{
      background: linear-gradient(180deg, rgba(255,45,122,0.06), rgba(255,45,122,0.02));
      border-color: rgba(255,45,122,0.3);
      color: var(--pink);
      box-shadow: 0 6px 18px rgba(255,45,122,0.05);
      font-weight:700;
    }
    .package-option .fake-radio{
      width:18px;
      height:18px;
      border-radius:50%;
      border:2px solid #ddd;
      display:inline-block;
      position:relative;
      flex-shrink:0;
    }
    .package-option.active .fake-radio{
      border-color: var(--pink);
    }
    .package-option .fake-radio::after{
      content:'';
      position:absolute;
      inset:3px;
      border-radius:50%;
      background: transparent;
    }
    .package-option.active .fake-radio::after{
      background: var(--pink);
    }

    /* price block */
    #price-container{ display:flex; flex-direction:column; align-items:center; gap:6px; margin-top:8px; }
    #old-price{ font-size:13px; color:#666; }
    /* only when discounted */
    #price-container.discounted #old-price{ text-decoration:line-through; color:#999; }
    #discount-badge{ font-size:13px;  color:#FFF; background: #F44336; padding:4px 8px; border-radius:999px; margin-left:6px; }
    #new-price{ font-size:14px;  color: #28a745; font-weight:700; }

    /* discount input & messages */
    .discount-row {
    display: flex;
    align-items: center;
    border: 1px solid #e5e5e5; /* مشابه طرح */
    border-radius: 30px;
    padding: 4px 10px;
       /* width: fit-content; */
    background: #fff;
}

.discount-row input {
    border: none !important;
    box-shadow: none !important;
    background: transparent;
    margin-left: 10px;
}

.discount-row input:focus {
    outline: none;
}

.btn.disabled, .btn:disabled, fieldset:disabled .btn {
    width: 100%;
}

.btn-outline-pink {
    border-radius: 999px;
    border-color: var(--pink);
    color: var(--pink);
}
    .discount-row .form-control{     /* max-width: 58%; */ margin-inline-start:auto; text-align:center; }
    .discount-msg{ margin-top:6px; font-size:13px; min-height:18px; }
    .discount-msg.error{ color:#d9534f; }
    .discount-msg.success{ color:#28a745; }

    /* buy button */
    .buy-btn{
      background: linear-gradient(180deg,var(--pink),#e60062);
      color:white;
      border-radius: 12px;
      padding:12px 14px;
      border: none;
      font-weight:700;
      width:100%;
      box-shadow: 0 8px 24px rgba(255,45,122,0.12);
    }

    /* small helpers */
    .muted-small{  font-size:clamp(13px, 1vw, 16px);  color:#888; }
    .pill-btn{ border-radius:999px; }
	



      .discount-section p.fw-bold {
          text-align: right !important;
		  font-size: 13px;
      }

      #price-container {
          align-items: flex-end;
          text-align: left !important;
      }

      #price-container {
          display: flex;
          align-items: center;
          gap: 6px;
          margin-top: 8px;
          flex-direction: column;
      }

		        .exam-row {
            background: white;
            padding: 14px 18px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 10px;
            border: 1px solid #eee;
            transition: 0.2s ease;
        }

        .exam-row:hover {
            background: #fdfdfd;
            box-shadow: 0 3px 10px rgba(0,0,0,0.05);
        }

        .badge-orange {
            background: #ffe1b3;
            color: #d47b00;
			border: 1px solid #d47b00;
            border-radius: 20px;
            padding: 6px 14px;
            font-size: clamp(10px, 1vw, 13px);
        }

        .badge-red {
            background: #ffdbdb;
            color: #b60000;
			border: 1px solid #b60000;
            border-radius: 20px;
            padding: 6px 14px;
            font-size: clamp(10px, 1vw, 13px);
        }
		
				.badge-blue {
			background: #e9f0ff;
			color: #0d99ff;
			border: 1px solid #0d99ff;
			border-radius: 20px;
			padding: 6px 14px;
			font-size: clamp(10px, 1vw, 13px);
		}

			.badge-pink {
				background: #ffeef8;
				color: #ff3fa4;
				border: 1px solid #ff3fa4;
				border-radius: 20px;
				padding: 6px 14px;
				font-size: clamp(10px, 1vw, 13px);
			}

        .exam-title {
            font-weight: 600;
            font-size:13px;
        }

        .exam-date {
            font-size: 13px;
            color: #444;
        }

		.gap-3{gap: 24% !important;    width: 63%;}
		
			.custom-pdf-btn {
			border: 1px solid #dcdcdc;
			border-radius: 8px;
			background-color: #fff;
			padding: 8px 16px;
			font-size: 14px;
			color: #333;
			transition: 0.2s;
			width: 100%;
			justify-content: center;
		}

	.custom-pdf-btn:hover {
		background-color: #f8f8f8;
		border-color: #cfcfcf;
	}

.news-card img {
    max-height: 158px;
    max-width: 281px;
	 aspect-ratio: 16 / 9 ;
}


  @media (max-width: 600px) { canvas { height: 200px !important; } }