/**
Slider 
**/
.yp-slider-slide {
  position: relative;
  height: 340px;
  background-color: #eee;
  justify-content: center;
  align-items: center;
  display: flex;
  border-radius: 10px;
  overflow: hidden;
}
.yp-slider-slide a {
    display: block;width: 100%;
}
.yp-slider-pagination {
  justify-content: center;
  text-align: center;
  position: absolute;
  z-index: 2;
}
.yp-project-title-with-nav {
    position: relative;
}
[dir="rtl"] .yp-project-title-with-nav .yp-related-nav.yp-flex {
    left:0;
    right:auto;
}
[dir="ltr"] .yp-project-title-with-nav .yp-related-nav.yp-flex {
    right:0;
    left:auto;
}
.search-card {
    position: relative;
    height: 100%;
}

.search-results .yp-col-4 {
  margin-bottom: 20px;
}

.yp-slider-slide img {
  object-fit: cover;
  width: 100%;
  max-height: 340px;
}

.yp-slider {
    position: relative;
}
[dir="ltr"] .yp-slider {
  direction: rtl;
}

.yp-slider svg.slider-section-bg path {
    fill: var(--light-bg);
    transform: rotateY(0deg);
    transform-origin: center;
}

.yp-slider svg {
    margin-top: -206px;
}

@media screen and (max-width:1600px) {
  .yp-slider {
    height: 340px;
    background: linear-gradient(to bottom,#fff 80%,#effaff 20%);
  }
}

@media screen and (max-width:1400px) {
  .yp-slider {
    height: 300px;
    background: linear-gradient(to bottom,#fff 80%,#effaff 20%);
  }
}

@media screen and (max-width:992px) {
  .yp-slider {
    height: auto;
    background: linear-gradient(to bottom,#fff 50%,#effaff 47%);
  }
  .yp-slider-slide {
    height: auto;
  }
  .yp-slider svg {
    margin-top: -206px;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 60px;
  }

}




/* =========================
   STORIES
========================= */

.yp-stories-wrap{
    display:flex;
    align-items:center;
    justify-content: center;
    gap:18px;
    overflow:hidden;
    padding-top:10px;
    padding-bottom:10px;
}

.yp-stories-wrap::-webkit-scrollbar{
    height:5px;
}

.yp-stories-wrap::-webkit-scrollbar-thumb{
    background:#dbeafe;
    border-radius:999px;
}

/* ITEM */

.yp-story-item{
    position:relative;

    width:88px;

    flex-shrink:0;

    text-align:center;
}

/* AVATAR */

.yp-story-avatar{
    position:relative;
    transition: all 400ms;
    width:82px;
    height:82px;

    margin:auto;

    display:flex;
    align-items:center;
    justify-content:center;
}

/* IMAGE */

.yp-story-avatar img{
    width:74px;
    height:74px;

    border-radius:50%;

    object-fit:cover;

    display:block;

    border:3px solid #fff;

    position:relative;
    z-index:2;

    transition:.3s ease;

    box-shadow:
        0 8px 25px rgba(0,0,0,.08);
}

/* STYLE RING */

.yp-story-item.active .yp-story-avatar::before{
    content:"";

    position:absolute;

    inset:0;

    border-radius:50%;

    background:
        linear-gradient(
            135deg,
            #00a8ff,
            #0077ff,
            #63b3ff
        );

    animation:ypStoryRotate 3s linear infinite;
}

/* INNER BG */

.yp-story-item.active .yp-story-avatar::after{
    content:"";

    position:absolute;

    inset:4px;

    background:#effaff;

    border-radius:50%;

    z-index:1;
}

/* PULSE */

.yp-story-item .ring{
    position:absolute;

    width:100%;
    height:100%;

    border-radius:50%;

    border:2px solid rgba(0,119,255,.35);

    animation:ypStoryPulse 2.2s infinite;

    z-index:0;
}

/* LABEL */

.yp-story-item label{
    display:block;

    margin-top:12px;

    font-size:12px;

    font-weight:700;

    color:#334155;

    cursor:pointer;

    line-height:1.6;
}

/* HOVER */

.yp-story-item:hover .yp-story-avatar{
    transition: all 400ms;
    transform:translateY(-4px) scale(1.03);
}

/* ROTATE */

@keyframes ypStoryRotate{

    from{
        transform:rotate(0deg);
    }

    to{
        transform:rotate(360deg);
    }

}

/* PULSE */

@keyframes ypStoryPulse{

    0%{
        transform:scale(1);
        opacity:.7;
    }

    70%{
        transform:scale(1.15);
        opacity:0;
    }

    100%{
        opacity:0;
    }

}

.yp-story-section {
  background: #effaff;
  padding-top: 66px;
}


/* =========================
   POPUP
========================= */

.yp-story-popup{
    max-width:760px;
    border-radius:0px;
    overflow:hidden;
    padding:0;
}
[dir="ltr"] .yp-story-popup.f-html {
    direction: ltr;
    text-align: left;
}
.yp-story-content{
    position:relative;
}
/* =========================
   STORY POPUP - CARD
========================= */

.yp-story-vertical-card{
    max-width:420px;
    margin:auto;

    background:#fff;
    border-radius:0px;
    overflow:hidden;

    box-shadow:0 25px 70px rgba(0,0,0,.18);
}

.yp-story-vertical-card .media{
    position:relative;
}

.yp-story-vertical-card img{
    width:100%;
    height:520px;
    object-fit:cover;
    display:block;
}

.yp-story-vertical-card .badge{
    position:absolute;
    top:16px;
    right:16px;

    background:rgba(0,0,0,.6);
    color:#fff;

    padding:6px 14px;
    border-radius:999px;

    font-size:12px;
}

.yp-story-vertical-card .body{
    padding:22px;
}

.yp-story-vertical-card h2{
    font-size:20px;
    line-height:1.9;
    margin-bottom:12px;
}

.yp-story-vertical-card p{
    font-size:14px;
    line-height:2;
    color:#475569;
}

.yp-story-vertical-card .meta{
    margin-top:14px;
    display:flex;
    gap:12px;
    font-size:12px;
    color:#64748b;
}

/* =========================
   STORY VIDEO
========================= */

.yp-story-video{
    position:relative;

    max-width:420px;
    margin:auto;

    border-radius:0px;
    overflow:hidden;

    box-shadow:0 25px 70px rgba(0,0,0,.22);
}

.yp-story-video video{
    width:100%;
    height:600px;
    object-fit:cover;
    display:block;
}

.yp-story-video .overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(0,0,0,.88),
            rgba(0,0,0,.2)
        );

    color:#fff;

    padding:22px;

    display:flex;
    flex-direction:column;
    justify-content:flex-end;
}

.yp-story-video .badge{
    display:inline-block;
    max-width: 90px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);

    padding:6px 12px;
    border-radius:999px;

    font-size:12px;

    margin-bottom:10px;
}

.yp-story-video h2{
    font-size:20px;
    line-height:1.9;
    margin-bottom:10px;
}

.yp-story-video p{
    font-size:13px;
    line-height:2;
    color:rgba(255,255,255,.85);
}


/* =========================
   STORY PROGRESS BAR
========================= */

.yp-story-progress{
    position:absolute;
    top:0;
    right:0;
    left:0;

    height:3px;

    background:rgba(255,255,255,.15);

    z-index:9999;
}

.yp-story-progress span{
    display:block;

    height:100%;
    width:0%;

    background:#00a8ff;

    transition:width linear;
}

/* =========================
   FANCYBOX CUSTOM
========================= */
.fancybox__container {
    direction: rtl;
    text-align: right;
}
.fancybox__backdrop{
    background:rgba(15,23,42,.92);
}

.fancybox__content{
    padding:0 !important;
    background:transparent !important;
}

.f-button{
    background:#fff !important;
    color:#000 !important;
}

/* MOBILE */
@media screen and (max-width:922px) {
    .yp-story-section {
        padding-top: 0;
    }
    .yp-stories-wrap {
        overflow: auto;
        justify-content: right;
    }
}
@media(max-width:768px){
    .yp-stories-wrap {
        gap: 0;
    }
    .yp-story-item {
        min-width: 60px;
        width: 80px;
        text-align: center;
    }
    .yp-story-item img{
        width:64px;
        height:64px;
    }
    .yp-story-avatar {
        width: 70px;
        height: 70px;
    }
     .yp-story-item  label {
        width: 100%;
     }

    .yp-story-content img{
        height:420px;
    }

    .yp-story-content .content{
        padding:24px;
    }

    .yp-story-content h2{
        font-size:22px;
    }

}

/*
ABOUT US 
*/

.yp-about {
    background: var(--light-bg);
    padding: 35px 0 0 60px;
}

.yp-text-bg {
  background-image: url('../images/count-bg.webp');
  background-repeat: no-repeat;
  background-position: center center;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size:250px;
  text-align: center;
  padding-bottom: 0
}

.yp-about-num-ct {
  min-width: 400px;
  min-height: 400px;
  border-radius: 100%;
  background: #fff;
  margin-right: 30px;
}

[dir="rtl"] .yp-about-num-ct {
  margin-left: 30px;
  margin-right: 0;
}

.yp-about-text {
    line-height: normal;
    color: #444;
}

.yp-about-text h2 {
  font-size: 20px;
  margin-bottom: 17px;
  color: var(--primary-color);
  font-weight: 700;
}

.yp-text-bg .count {
  font-weight: 900;
  line-height: normal;
  display: flex;
  justify-content: center;
  height: 260px;
}
.yp-about-text .yp-ftl {
    float: right;
}
[dir="rtl"] .yp-about-text .yp-ftl {
    float: left;
}
.yp-ab-desc-txt {
    font-size: 32px;font-weight: 500;
}

.yp-ab-tail-txt {
  font-size: 14px;
  color: #000;
  background: none;
  -webkit-text-fill-color: unset;
  display: block;
  height: 61px;
  font-weight: 900;
}

.about-svg {
  fill: #fff;
  transform: rotate(180deg);
}

@media screen and (max-width:1024px) {
  .yp-about {
    padding: 60px 0 0;
    display: block;
  }
  .yp-about .yp-flex.yp-items-center {
    flex-direction: column-reverse;
    text-align: justify;
  }
  .yp-about-text {
    margin-bottom: 30px;
  }
  
  .yp-header-search span {
    display: none;
  }

  .search-items {
    margin-bottom: 26px;
   }

   .search-excerpt {
    display: none;
   }
   .search-title {
    font-size: 14px;
   }

}

@media screen and (max-width:599px) {
  .yp-about-num-ct {
    min-width: 340px;
    min-height: 340px;
    margin: 0 !important;
  }
  .yp-text-bg .count {
    height: 235px;
  }
  .yp-text-bg {
    font-size: 220px;
  }

}




/*
|--------------------------------------------------------------------------
| Services
|--------------------------------------------------------------------------
*/

.yp-services {
    position: relative;
    padding: 0;
}

.yp-services-row {
    row-gap: 30px;
}

.yp-services-row > * {
    padding: 0 25px;
}

.yp-service-box {
    position: relative;
    background: var(--white-color);
    border-radius: 18px;
    padding: 60px 35px 45px;
    text-align: center;
    overflow: hidden;
    min-height: 320px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    transition: 0.35s ease;
}

.yp-service-box:hover {
    transform: translateY(-8px);
}

.yp-service-shape {
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 67px;
    background-size: contain !important;
}

.yp-shape-top {
    background-image: url('../images/service-bg-top.png');
    background-position: top left;
    background-repeat: no-repeat;
    top: 0;
    left: 0;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
    -webkit-border-top-left-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    -webkit-border-bottom-right-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    -moz-border-radius-bottomright: 0;
    -moz-border-radius-bottomleft: 0;
    filter: brightness(1) contrast(1.04);
}

.yp-shape-bottom {
    background-image: url('../images/service-bg-bottom.png');
    background-position: bottom right;
    background-repeat: no-repeat;
    bottom: 0;
    right: 0;
    background-position: bottom right;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-right-radius: 15px;
    border-bottom-left-radius: 15px;
    -webkit-border-top-left-radius: 0;
    -webkit-border-top-right-radius: 0;
    -webkit-border-bottom-right-radius: 15px;
    -webkit-border-bottom-left-radius: 15px;
    -moz-border-radius-topleft: 0;
    -moz-border-radius-topright: 0;
    -moz-border-radius-bottomright: 15px;
    -moz-border-radius-bottomleft: 15px;
    filter: brightness(1) contrast(1.04);
}

.yp-row.yp-services-row .yp-col-3:nth-child(odd) {
  margin-top: -65px;
}

.yp-service-icon {
    position: relative;
    z-index: 2;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: #ffffff;
    font-size: 28px;
    box-shadow: 0 12px 25px rgba(8, 178, 249, 0.28);
}

.yp-service-content {
    position: relative;
    z-index: 2;
}

.yp-service-title {
    margin-bottom: 18px;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.yp-service-title a {
    color: #111111;
    transition: 0.3s ease;
}

.yp-service-title a:hover {
    color: var(--primary-color);
}

.yp-service-text {
    color: #666666;
    font-size: 13px;
    line-height: 2;
}
.yp-service-icon.with-image i {
  width: 38px;
  height: 38px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}
.yp-service-icon.with-image i::before {
  content: none !important;
}


@media screen and (max-width: 992px) {

    .yp-services .yp-col-3 {
        width: 50%;
    }

}

@media screen and (max-width: 768px) {

    .yp-services .yp-col-3 {
        width: 100%;
    }

}

@media screen and (max-width:599px) {
    .yp-service-box {
        display: flex;
        text-align: right;
        height: auto;
        margin: 0 !important;
        min-height: auto;
        padding-right: 10px;
        padding-left: 10px;
        padding-top: 11px;
        padding-bottom: 11px;
        align-items: center;
    }
    [dir="ltr"] .yp-service-box {
        text-align: left;
    }
    .yp-services-row > * {
        padding: 0 10px;
    }
    .yp-service-icon {
        margin: 0 20px;
        min-width: 68px;
        min-height: 68px;
    }
    .yp-row.yp-services-row .yp-col-3:nth-child(2n+1) {
        margin-top: 0;
    }
    .yp-service-title {
        margin-bottom: 7px;
        font-size: 14px;
    }
}



/*======================================
=            SERVICES GRID             =
======================================*/

.yp-products-grid{
    position: relative;
    overflow: hidden;
    padding: 0;
    background: #0f172a;
    margin-top: 92px;
}

.yp-products-grid.yp-small-grid{
    background: transparent;
}

.yp-full-grid .yp-container {
    width: 100%;
    max-width: 100%;
    padding: 0;
}

.yp-small-grid .yp-container {
    overflow: hidden;
    position: relative;
}

.yp-small-grid .yp-products-wrap {
    background: #0f172a;
}

.yp-products-grid::before {
  content: '';
  background: #eee;
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 400px;
}

/* Background Images */
.yp-products-bg{
    position: absolute;
    inset: 0;
    z-index: 1;
}

.yp-bg-img{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;

    opacity: 0;
    visibility: hidden;

    transition: all .6s ease;
    transform: scale(1.08);
}

.yp-bg-img::after{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.65);
}

.yp-bg-img.yp-active{
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Overlay */
.yp-products-grid::before{
    content: '';
    position: absolute;
    inset: 0;
    background: var(--light-bg);
    z-index: 2;
}
.yp-products-grid.yp-small-grid::before {
    top: 50%;
    height: 400px;
    left: 0;
    right: 0;
}
/* Grid */
.yp-products-wrap{
    position: relative;
    z-index: 3;
    display: grid;
    grid-template-columns: repeat(7,1fr);
    border: 1px solid rgba(255,255,255,.15);
}

.yp-small-grid .yp-products-wrap {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid rgba(0, 0, 0, 0.34);
  border-radius: 24px;
  overflow: hidden;
}

/* Item */
.yp-product-item{
    position: relative;
    min-height: 600px;

    border-left: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);

    transition: all .35s ease;
    overflow: hidden;
}

.yp-small-grid .yp-product-item{
    min-height: 300px;
}

.yp-product-item:last-child {
    border-left: 0;
}

.yp-full-grid .yp-products-wrap {
    border-left: 0;
    border-right: 0;
}

.yp-product-inner{
    position: relative;
    z-index: 2;

    height: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    text-align: center;

    padding: 40px 25px;
}

/* Hover Color */
.yp-product-item::before{
    content: '';
    position: absolute;
    inset: 0;

    background: linear-gradient(
        135deg,
        rgba(37,99,235,.92),
        rgba(14,165,233,.92)
    );

    opacity: 0;
    transition: all .35s ease;
    z-index: 2;
}

.yp-product-item:hover::before,
.yp-product-item.yp-active::before{
    opacity: 0.6;
}

/* Icon */
.yp-product-icon{
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    transition: all .35s ease;
    opacity: 0.7;
}
.yp-product-icon img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
.yp-product-item:hover .yp-product-icon{
    transform: translateY(-8px);
    opacity: 1;
}

/* Title */
.yp-product-title{
    font-size: 20px;
    font-weight: 800;
    color: #fff;

    margin-bottom: 0;

    transition: all .35s ease;
}

.yp-product-icon,
.yp-product-title {
    transform: translateY(40px);
    transition:all 500ms;
}

.yp-product-item:hover .yp-product-icon,
.yp-product-item:hover .yp-product-title {
    transform: translateY(0);
    transition:all 500ms;
}

.yp-product-item:hover .yp-product-title {
    transition: all .35s ease;
}

/* Button */
.yp-product-btn{
    margin-top: 20px;

    opacity: 0;
    visibility: hidden;

    transform: translateY(20px);

    padding: 13px 26px;
    border-radius: 50px;

    background: #fff;
    color: #111827;

    font-size: 14px;
    font-weight: 700;

    transition: all .35s ease;
}

.yp-product-item:hover .yp-product-btn,
.yp-product-item.yp-active .yp-product-btn{
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
    margin-top: 20px;
}

/* Responsive */
@media screen and (max-width: 992px){

    .yp-small-grid .yp-products-wrap {
        grid-template-columns: repeat(2,1fr);
    }

    .yp-small-grid .yp-product-item:nth-child(4n){
        border-left: 1px solid rgba(255,255,255,.12);
    }

    .yp-small-grid  .yp-product-item:nth-last-child(-n+4){
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .yp-small-grid  .yp-product-item:nth-last-child(-n+2){
        border-bottom: 0;
    }

}

@media(max-width: 767px){

    .yp-products-wrap{
        grid-template-columns: 1fr;
    }

    .yp-product-item:last-child{
        border-bottom: 0;
    }

}

@media screen and (max-width:600px) {
    .yp-product-item .yp-product-icon {
        width: 39px;
        height: 39px;
    }
    .yp-product-item .yp-product-title {
        font-size: 15px;
    }
    .yp-small-grid .yp-product-item {
        min-height: 150px;
        height: 150px;
    }
    .yp-product-btn {
        padding: 7px 6px;
        font-size: 12px;
    }
}



/*======================================
=             AGENCIES                =
======================================*/

.yp-agencies{
    padding: 90px 0 40px;
    background: var(--light-bg);
    overflow: hidden;
}

.yp-agencies-wrap{
    display: flex;
    align-items: center;
    gap: 70px;
}

/*======================================
=               MAP                   =
======================================*/

.yp-agencies-map{
    width: 55%;
}

.yp-map-inner{
    position: relative;
}

.yp-map-image{
    width: 100%;
    display: block;
    user-select: none;
}

/* Marker */
.yp-map-marker{
    position: absolute;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Marker Positions */
.yp-marker-tehran{
    top: 38%;
    left: 36%;
}

.yp-marker-mashhad{
    top: 34%;
    left: 67%;
}

.yp-marker-shiraz{
    top: 63%;
    left: 31%;
}

.yp-marker-tabriz{
    top: 20%;
    left: 25%;
}

/* Dot */
.yp-marker-dot{
    position: relative;

    width: 18px;
    height: 18px;

    background: #2563eb;
    border-radius: 50%;

    display: block;

    border: 3px solid #fff;
    box-shadow: 0 0 0 6px rgba(37,99,235,.2);

    cursor: pointer;
}

.yp-marker-dot::before{
    content: '';
    position: absolute;
    inset: -10px;

    border-radius: 50%;
    border: 2px solid rgba(37,99,235,.35);

    animation: ypPulse 2s infinite;
}

@keyframes ypPulse{

    0%{
        transform: scale(.6);
        opacity: 1;
    }

    100%{
        transform: scale(1.5);
        opacity: 0;
    }

}

/* Card */
.yp-marker-card{
    position: absolute;
    bottom: 35px;
    right: 50%;

    transform: translateX(50%) translateY(10px);

    min-width: 220px;

    background: #fff;

    padding: 18px 20px;

    border-radius: 16px;

    box-shadow: 0 15px 40px rgba(0,0,0,.08);

    opacity: 0;
    visibility: hidden;

    transition: all .3s ease;
}

.yp-marker-card::after{
    content: '';
    position: absolute;
    bottom: -8px;
    right: 50%;

    transform: translateX(50%) rotate(45deg);

    width: 16px;
    height: 16px;

    background: #fff;
}

.yp-marker-card h4{
    font-size: 17px;
    margin-bottom: 8px;
    color: #0f172a;
}

.yp-marker-card p{
    font-size: 14px;
    color: #64748b;
    line-height: 1.8;
}

/* Hover */
.yp-map-marker:hover .yp-marker-card{
    opacity: 1;
    visibility: visible;

    transform: translateX(50%) translateY(0);
}

/*======================================
=             CONTENT                 =
======================================*/

.yp-agencies-content{
    width: 45%;
}

.yp-section-subtitle{
    display: inline-block;

    padding: 10px 18px;
    border-radius: 50px;

    background: rgba(37,99,235,.1);
    color: #2563eb;

    font-size: 14px;
    font-weight: 700;

    margin-bottom: 22px;
}

.yp-section-title{
    font-size: 25px;
    line-height: 1.4;
    color: #0f172a;

    margin-bottom: 24px;
}

.yp-section-text{
    font-size: 17px;
    line-height: 2;
    color: #64748b;

    margin-bottom: 35px;
}

/* List */
.yp-agencies-list{
    display: flex;
    flex-direction: column;
    gap: 18px;

    margin-bottom: 35px;
}

.yp-agency-item{
    display: flex;
    align-items: center;
    gap: 16px;
}

.yp-agency-color{
    width: 18px;
    height: 18px;

    border-radius: 50%;
    background: #10b981;

    flex-shrink: 0;
}

.yp-agency-color.yp-blue{
    background: #2563eb;
}

.yp-agency-item h4{
    font-size: 17px;
    margin-bottom: 4px;
    color: #0f172a;
}

.yp-agency-item p{
    font-size: 14px;
    color: #64748b;
}

/* Button */
.yp-agencies-btn,
.yp-btn,
.chabok-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 56px;
    padding: 0 34px;

    border-radius: 14px;

    background: #2563eb;
    color: #fff;

    font-size: 15px;
    font-weight: 700;

    transition: all .3s ease;
}
.yp-btn-sm,
.chabok-btn-sm {
  padding: 0 26px;
  height: 40px;
  border-radius: 10px;
}
.yp-agencies-btn:hover,
.yp-btn:hover,
.chabok-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(37,99,235,.25);
}

/*======================================
=             RESPONSIVE              =
======================================*/

@media(max-width: 991px){

    .yp-agencies-wrap{
        flex-direction: column;
    }

    .yp-agencies-map,
    .yp-agencies-content{
        width: 100%;
    }

    .yp-section-title{
        font-size: 34px;
    }

}

@media(max-width: 767px){

    .yp-agencies{
        padding: 80px 0;
    }

    .yp-section-title{
        font-size: 28px;
    }

    .yp-section-text{
        font-size: 15px;
    }

    .yp-marker-card{
        min-width: 180px;
    }

}



/*======================================
=             PROJECTS                =
======================================*/

.yp-projects{
    padding:60px 0;
    background:#fff;
    overflow:hidden;
}

.yp-projects-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
    margin-bottom:15px;
}

.yp-projects-subtitle{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:10px 18px;
    margin-bottom:18px;

    border-radius:100px;

    background:rgba(37,99,235,.08);
    color:#2563eb;

    font-size:14px;
    font-weight:700;
}

.yp-projects-title{
    line-height:1.4;
    color:#0f172a;
}

/* Navigation */

.yp-projects-nav{
    display:flex;
    align-items:center;
    gap:12px;
}

.yp-projects-nav button{
    height:52px;
    padding:0 20px;

    border:none;
    border-radius:14px;

    background:#f1f5f9;
    color:#0f172a;

    font-size:15px;
    font-weight:600;

    cursor:pointer;
    transition:.3s;
}

.yp-ft-address.yp-items-center p {
  max-width: 370px;
}

.yp-projects-nav button:hover,
.yp-projects-nav button.active{
    background:#2563eb;
    color:#fff;
}

/*======================================
=             GRID                    =
======================================*/

.projects-row{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:16px;
}

.project {
    position:relative;
    overflow:hidden;

    border-radius:24px;

    min-height:220px;
    max-height: 220px;

    text-decoration:none;
}

/* Layout */

.project-1{
    grid-column:1;
    grid-row:1 / span 2;
    min-height:460px;
    max-height: 460px;
}

.project-2{
    grid-column:2;
    grid-row:1;
}

.project-3{
    grid-column:2;
    grid-row:2;
}

.project-4{
    grid-column:3;
    grid-row:1 / span 2;
    min-height:460px;
    max-height: 460px;
}

.project-5{
    grid-column:4;
    grid-row:1;
}

.project-6{
    grid-column:4;
    grid-row:2;
}

/*======================================
=             IMAGE                   =
======================================*/

.project img,
.layout-item img {
    width:100%;
    height:100%;

    object-fit:cover;
    display:block;

    transition:transform .8s ease;
}

.project:hover img, 
.layout-item:hover img {
    transform:scale(1.08);
}

/*======================================
=             OVERLAY                 =
======================================*/

.project::before, 
.layout-item::before {
    content:"";

    position:absolute;
    inset:0;

    background:linear-gradient(
        to top,
        rgba(15,23,42,.92),
        rgba(15,23,42,.15)
    );

    z-index:1;
}

.project-items{
    position:absolute;
    right:0;
    bottom:0;
    left:0;

    z-index:2;

    padding:30px;

    display:flex;
    flex-direction:column;
    align-items:flex-start;
}

/* Title */

.project-items h3,
.layout-item .ptitle {
    margin:0;

    color:#fff;

    font-size: 15px;
    font-weight:700;
    line-height:1.5;

    transform:translateY(18px);

    transition:
        transform .45s ease,
        opacity .45s ease;
}

/* Button */

.project-btn, .layout-item .pbtn {
    display:inline-flex;
    align-items:center;
    justify-content:center;

    margin-top:16px;
    padding:12px 20px;

    border-radius:12px;

    background:#fff;
    color:#0f172a;

    font-size:14px;
    font-weight:700;

    opacity:0;
    visibility:hidden;

    transform:translateY(20px);

    transition:
        opacity .45s ease,
        transform .45s ease,
        visibility .45s ease,
        background .3s ease;
}

.project-btn:hover , .layout-item .pbtn:hover {
    background:#2563eb;
    color:#fff;
}

/* Hover Effects */

.project:hover .project-items h3, 
.layout-item:hover .ptitle {
    transform:translateY(0);
}

.project:hover .project-btn,
.layout-item:hover .pbtn {
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}


.layout-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.layout-item {
    overflow: hidden;
    border-radius: 24px;
    position: relative;
}

.layout-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ------- حالت اول (ردیف زوج نیست): ستون ۱ و ۳ عمودی ------- */
.layout-group:not(.alt) .item-1 { grid-column: 1; grid-row: 1 / 3; }
.layout-group:not(.alt) .item-2 { grid-column: 2; grid-row: 1; }
.layout-group:not(.alt) .item-3 { grid-column: 2; grid-row: 2; }
.layout-group:not(.alt) .item-4 { grid-column: 3; grid-row: 1 / 3; }
.layout-group:not(.alt) .item-5 { grid-column: 4; grid-row: 1; }
.layout-group:not(.alt) .item-6 { grid-column: 4; grid-row: 2; }

/* ------- حالت دوم (alt): ستون ۲ و ۴ عمودی ------- */
.layout-group.alt .item-1 { grid-column: 1; grid-row: 1; }
.layout-group.alt .item-2 { grid-column: 1; grid-row: 2; }
.layout-group.alt .item-3 { grid-column: 2; grid-row: 1 / 3; }
.layout-group.alt .item-4 { grid-column: 3; grid-row: 1; }
.layout-group.alt .item-5 { grid-column: 3; grid-row: 2; }
.layout-group.alt .item-6 { grid-column: 4; grid-row: 1 / 3; }

/* ریسپانسیو موبایل */
@media (max-width: 768px) {
    .layout-group {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .layout-group .item-1,
    .layout-group .item-2,
    .layout-group .item-3,
    .layout-group .item-4,
    .layout-group .item-5,
    .layout-group .item-6,
    .layout-group.alt .item-1,
    .layout-group.alt .item-2,
    .layout-group.alt .item-3,
    .layout-group.alt .item-4,
    .layout-group.alt .item-5,
    .layout-group.alt .item-6 {
        grid-column: auto;
        grid-row: auto;
    }
}

/*======================================
=             RESPONSIVE              =
======================================*/

@media(max-width:991px){

    .yp-projects{
        padding:40px 0;
    }

    .yp-projects-head{
        flex-direction:column;
        align-items:flex-start;
    }


    .projects-row{
        grid-template-columns:repeat(2,1fr);
    }

    .project{
        grid-column:auto !important;
        grid-row:auto !important;
        min-height:260px !important;
    }
}

@media(max-width:767px){

    .projects-row{
        grid-template-columns:1fr;
    }

    .yp-projects-title{
        font-size:18px !important;
    }

    .yp-projects-nav {
        flex-wrap: nowrap !important;
        width: 100% !important;
        overflow: auto !important;
    }
    .yp-projects-nav button {
        min-width: max-content;
    }

    .project{
        min-height:320px !important;
    }

    .project-items{
        padding:22px;
    }

    .project-items h3{
        font-size:22px;
    }

    .yp-projects-nav{
        flex-wrap:wrap;
    }
}


.yp-showcase .showcase-svg-bottom {
    transform: rotate(180deg);
}

.yp-showcase {
    margin-top: -100px;
    margin-bottom: -60px;
}

.yp-showcase .showcase-svg-bottom ,
.yp-showcase .showcase-svg-top {
    fill: var(--light-bg);
}

.yp-showcase-sec {
    padding: 30px 0;
    background: var(--light-bg);
    position: relative;
}

.yp-header{
    text-align:center;
    margin-bottom:50px;
}

.yp-header h2{
    font-size:34px;
    margin:0;
    color:#111;
}

.yp-header p{
    margin-top:8px;
    color:#888;
    font-size:14px;
}


.yp-box{
    padding:10px;
    float: right;
    width: 50%;
}


.yp-box-head{
    display:flex;
    justify-content:center;
    align-items:center;
    margin-bottom:15px;
}

[dir="ltr"] .yp-showcase-sec .yp-box {
    direction: rtl;
}
[dir="ltr"] .yp-box-head {
    direction: ltr;
}


.yp-box-head h3 {
    margin-right: 30px;
}

[dir="rtl"] .yp-box-head h3 {
    margin-left: 30px;
    margin-right: 0;
}

.yp-nav.showcase-nav {
  width: auto;
}

.yp-nav button{
    width:32px;
    height:32px;
    border-radius:8px;
    border:1px solid #eee;
    background:#fff;
    cursor:pointer;
    margin-left:6px;
    font-size:18px;
    line-height:1;
}

.yp-mini-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:10px;
}

.yp-mini-grid img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    border-radius:10px;
    transition:.3s;
}

.yp-mini-grid img:hover{
    transform:scale(1.05);
}

@media screen and (max-width:992px){
    .yp-grid{
        grid-template-columns:1fr;
        gap:30px;
    }
}

@media screen and (max-width:600px) {
    .yp-showcase-sec .yp-row.yp-items-center {
       flex-wrap: wrap;
    }
    .yp-showcase-sec .yp-box {
        width: 100%;
    }
    .yp-showcase-sec .yp-box-head {
        text-align: right;
        justify-content: space-between;
    }
}




/* BLOG SECTION */
.yp-blog-container .yp-blog-hero {
  width:55%;
  padding:0 10px;
}

.yp-blog-hero .yp-hero::before {
  background: linear-gradient(to top, #000, transparent, transparent);
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

[dir="ltr"] .yp-blog-hero.yp-ftr {
  direction: rtl;
}

.yp-blog-list {
  width: 45%;
  padding:0 10px;
}

.yp-blog-head{
  text-align:center;
  margin-bottom:50px;
}

.yp-blog-head p{
  color:#888;
  margin-top:6px;
}

/* HERO */
.yp-blog-container .yp-hero {
  position:relative;
  height:460px;
  border-radius:18px;
  overflow:hidden;
}

[dir="ltr"] .yp-blog-container .yp-hero {
  direction: ltr;
}

.yp-blog-container .yp-hero img{
  width:100%;
  height:100%;
  object-fit:cover;
}

/* always text */
.yp-blog-container .yp-hero-always{
  position:absolute;
  bottom:25px;
  left:25px;
  right:25px;
  color:#fff;
  z-index:2;
}

.yp-blog-container .yp-hero-always h3{
  margin:0;
  font-size:20px;
  font-weight:700;
}

.yp-blog-container .yp-hero-always p{
  margin:6px 0 0;
  font-size:13px;
  opacity:.85;
}

/* top meta always visible */
.yp-blog-container .yp-hero-top{
  position:absolute;
  top:15px;
  left:15px;
  display:flex;
  gap:10px;
  font-size:12px;
  color:#fff;
  z-index:2;
  opacity:.9;
}

/* hover layer */
.yp-blog-container .yp-hero-hover{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  opacity:0;
  transition:.3s;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:30px;
  text-align:center;
}

.yp-blog-container .yp-hero:hover .yp-hero-hover{
  opacity:1;
}

.yp-blog-container .yp-hero-hover p{
  color:#fff;
  font-size:14px;
  line-height:1.8;
}

/* LIST */
.yp-blog-list{
  display:flex;
  flex-direction:column;
  gap:14px;
}

.yp-blog-list .yp-item{
  display:flex;
  gap:12px;
  padding:7px;
  border:1px solid #eee;
  border-radius:14px;
  transition:.25s;
  background:#fff;
}

.yp-blog-list .yp-item:hover{
  transform:translateY(-3px);
}

.yp-blog-list .yp-item img{
  width:130px;
  height:90px;
  object-fit:cover;
  border-radius:12px;
}

.yp-blog-list .yp-item-content{
  flex:1;
  overflow: hidden;
}

.yp-blog-list .yp-item-content h4{
  margin:0;
  font-size:14px;
  color:#111;
}

.yp-blog-list .yp-item-content p{
  margin:6px 0;
  font-size:12px;
  color:#777;
  line-height:1.6;
}

.yp-blog-list .yp-item-meta{
  display:flex;
  justify-content:space-between;
  font-size:13px;
  color:#999;
}

/* CLAMP */
.line-1{
  display:-webkit-box;
  -webkit-line-clamp:1;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

.line-2{
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* RESPONSIVE */
@media(max-width:992px){
  .yp-blog-grid{
    grid-template-columns:1fr;
  }

  .yp-hero{
    height:360px;
  }
  .yp-blog .yp-container {
    padding: 0 10px;
  }
}


@media screen and (max-width:600px) {
  .yp-blog {
    margin-top: 70px;
  }
  .yp-blog-container .yp-hero {
    height: 220px;
  }
  .yp-blog-container .yp-blog-hero,
  .yp-blog-list.yp-ftr {
    width: 100%;
    margin-bottom: 20px;
    padding: 0;
  }
  .yp-blog-list .yp-item img {
    width: 80px;
    height: 80px;
    }
}



.yp-academy-swiper {
    padding:0 10px;
}

[dir="ltr"] .yp-academy-swiper {
  direction: rtl;
}

.yp-academy {
  padding: 40px 0px 150px;
  background: #fff;
  float: right;
  width: 100%;
}

.yp-academy-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  text-align:right;
  margin-bottom:20px;
  padding:0 10px;
}

.yp-ac-nav{
  display:flex;
  gap:8px;
}

.yp-ac-nav button{
  width:36px;
  height:36px;
  border-radius:10px;
  border:1px solid #eee;
  background:#fff;
  cursor:pointer;
  font-size:18px;
  transition:.3s;
  display:flex;
  align-items:center;
  justify-content:center;
}

.yp-ac-nav button:hover{
  background:#111;
  color:#fff;
  border-color:#111;
}

.yp-academy-head p{
  margin-top:6px;
  color:#888;
}

/* CARD */
.yp-ac-card{
  text-align:center;
}

.yp-ac-card img{
  width:100%;
  height:220px;
  object-fit:cover;
  border-radius:18px;
  transition:.4s;
}

.yp-ac-card:hover img{
  transform:scale(1.03);
}

.yp-ac-card h3{
  margin-top:12px;
  font-size:15px;
  color:#111;
  font-weight:600;

  /* clamp */
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* swiper spacing */
.yp-academy-swiper{
  padding-bottom:20px;
}

.yp-academy-head .section-title {
  margin-bottom: 0;
}










.yp-icon-nav{
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: max(150px,calc(100% / 8));
    width: 100%;
    gap: 14px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 15px 0 30px 0;
    scrollbar-width: thin;
    scrollbar-color: #214788 #edf3ff;
    justify-content: space-between;
}

.yp-icon-nav::-webkit-scrollbar{
    height:7px;
}

.yp-icon-nav::-webkit-scrollbar-thumb{
    background:#214788;
    border-radius:50px;
}

.yp-icon-nav::-webkit-scrollbar-track{
    background:#edf3ff;
}

.yp-icon-nav a{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;

    gap:10px;

    padding:18px 10px;

    background:#fff;

    border:1px solid #e7eef8;
    border-radius:20px;

    transition:.25s;

    color:#5b6676;

    min-height:120px;

    position:relative;

    overflow:hidden;
}

.yp-icon-nav a::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(135deg,#58ccff22,#21478808);
    opacity:0;
    transition:.25s;
}

.yp-icon-nav a:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(33,71,136,.15);
    border-color:#58ccff;
}

.yp-icon-nav a:hover::before{
    opacity:1;
}

.yp-icon-nav a i{
    width:64px;
    height:64px;
    padding:15px;

    display:flex;
    align-items:center;
    justify-content:center;
    background: var(--primary-color);
    border-radius:50%;

    font-size:26px;

    color:#fff;

    transition:.25s;

    position:relative;
    z-index:1;
}

.yp-icon-nav a span{
    font-size:13px;
    font-weight:700;
    position:relative;
    z-index:1;
}

.yp-icon-nav a.active{
    background:linear-gradient(135deg,#214788,#2f74da);
    color:#fff;
    border-color:transparent;
    box-shadow:0 15px 40px rgba(33,71,136,.3);
}

.yp-icon-nav a.active i{
    background:#fff;
    color:#214788;
}
.yp-icon-nav a.active i img {
    filter: invert();
}

.yp-icon-nav a.active::before{
    display:none;
}




.yp-products-archive {
    background: #f4f7fb;
    overflow: hidden;
    margin-top: -100px;
}

.yp-products-archive .yp-breadcrumbs a {
  color: #ccc;
}

.single-products-category .yp-footer-top-svg path {
  fill: #f4f7fb !important;
}

.yp-products-archive .yp-breadcrumbs .current {
  background: linear-gradient( 135deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.2) );
  border: 1px solid rgba(196, 196, 196, 0.08);
  color: #fff;
}

.yp-products-archive .yp-back-btn .icon {
    background: #1a1a1a;
}

.yp-products-archive .yp-back-btn {
  background: linear-gradient( 135deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.2) );
  color: #cdcdcd;
  border: 1px solid #ffffff38;
}

/* HERO */
.yp-products-hero {
    padding: 0;
    min-height: auto;
}

.yp-products-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) scale(1.05);
}

.yp-products-hero-content {
    padding: 75px 0px 100px;
}

.yp-products-overlay {
    background: linear-gradient(to left, rgba(8,12,20,.95), rgba(8, 12, 20, 0.91))
}

.yp-products-mini-title {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    color: #fff;
    margin-bottom: 25px;
    backdrop-filter: blur(10px);
}

.yp-products-title {
    font-size: 25px;
    color: #fff;
    margin: 0 0 2px;
    font-weight: 900;
}

.yp-products-desc {
    color: rgba(255,255,255,.75);
    font-size: 18px;
    line-height: 2;
    max-width: 700px;
    margin-inline: auto;
}

/* TOOLBAR */
.yp-filter-toolbar.yp-press-toolbar {
  margin-bottom: 120px;
}

.yp-products-toolbar,
.yp-filter-toolbar {
    margin-top: -55px;
    position: relative;
    z-index: 9;
    padding-bottom: 20px;
}

.yp-products-toolbar-inner,
.yp-filter-toolbar-inner {
    background: #fff;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,.08);
    flex-wrap: wrap;
}

.yp-toolbar-search {
    flex: 1;
    min-width: 280px;
    position: relative;
}

.yp-toolbar-search input {
    width: 100%;
    height: 58px;
    border: 1px solid #e5e7ee;
    border-radius: 18px;
    padding: 0 20px 0 20px;
    outline: none;
    font-size: 15px;
    background: #f8fafc;
}

.yp-toolbar-search button {
    position: absolute;
    left: 10px;
    top: 10px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    color: #000;
}

[dir="ltr"] .yp-toolbar-search button {
    right: 10px;
    left: auto;
}

.yp-toolbar-filters {
    gap: 12px;
}

.yp-filter-dropdown {
    position: relative;
}

.yp-filter-btn,
.yp-filter-date input {
    height: 52px;
    padding: 0 18px;
    border-radius: 16px;
    border: 1px solid #e5e7ee;
    background: #fff;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.yp-filter-date input:focus {
    outline: none;
}
.yp-filter-menu {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    width: 260px;
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 25px 70px rgba(0,0,0,.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: .25s;
    z-index: 50;
}

.yp-filter-dropdown:hover .yp-filter-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.yp-check-item,
.yp-radio-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 0;
    cursor: pointer;
}

.yp-toolbar-view {
    gap: 10px;
}

.yp-view-btn {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    border: 1px solid #e5e7ee;
    background: #fff;
    cursor: pointer;
    font-size: 18px;
}

.yp-view-btn.active {
    background: linear-gradient(135deg,#00a8ff,#005dff);
    color: #fff;
    border-color: transparent;
}

/* PRODUCTS */

.yp-products-section {
    padding-bottom: 100px;
}

.yp-product-loop-item {
    margin-bottom: 25px;
}

.yp-product-card {
    background: #fff;
    position: relative;
    transition: .35s;
    box-shadow: 0 15px 40px rgba(0,0,0,.05);
    height: 100%;
}

.yp-product-card:hover {
    transform: translateY(-8px);
}

.yp-product-thumb {
    position: relative;
    overflow: hidden;
}

.yp-product-thumb img {
    width: 100%;
    height: 300px;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
    transition: .5s;
}

.yp-product-card:hover img {
    transform: scale(1.08);
}

.yp-product-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #0fbf61;
    color: #fff;
    height: 34px;
    padding: 0 16px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    font-size: 13px;
}
.yp-desc.yp-se-desc {
  margin-top: 10px;
  font-size: 13px;
  max-width: 700px;
  margin: 21px auto;
  line-height: 2;
}

.yp-product-badge.out-of-stock, .yp-product-badge-off {
    background: #ff4d4d;
}

.yp-product-card .yp-product-actions {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(-15px);
    transition: .3s;
    visibility: hidden;
}

.yp-product-card:hover .yp-product-actions {
    opacity: 1;
    transform: translateX(0);
}

.yp-product-card .yp-product-actions button {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 14px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
}

.yp-product-body {
    padding: 16px;
}

.yp-product-category {
    display: inline-block;
    padding: 5px 11px;
    border-radius: 999px;
    background: #eef6ff;
    color: #0077ff;
    margin-bottom: 8px;
    font-size: 13px;
}

.yp-product-body h3 {
    margin: 0 0 15px;
    font-size: var(--large-font-size);
    line-height: 1.7;
}

.yp-product-body p {
    color: #666;
    line-height: 1.9;
    margin-bottom: 20px;
}

.yp-product-meta {
    padding-top: 16px;
    border-top: 1px solid #eee;
    color: #777;
    font-size: 14px;
}

.yp-products-hero-content .yp-icon-nav {
  padding-top: 30px;
  padding-bottom: 0px;
}

/* LIST MODE */
.yp-products-archive .yp-products-grid {
    background: none;
    margin-top: 0;
    padding-top: 20px;
    padding-bottom: 20px;
}
.yp-products-archive .yp-products-grid::before {
    content: none;
}
.yp-products-grid.yp-list-mode .yp-product-loop-item {
    width: 100%;
}

.yp-products-grid.yp-list-mode .yp-product-card {
    display: flex;
    align-items: stretch;
}

.yp-products-grid.yp-list-mode .yp-product-thumb {
    width: 320px;
    min-width: 320px;
}

.yp-products-grid.yp-list-mode .yp-product-thumb img {
    height: 100%;
}


.yp-modal{
    position:fixed;
    inset:0;
    z-index:99999;
    display:flex;
    justify-content:center;
    align-items:flex-start;

    opacity:0;
    visibility:hidden;
    pointer-events:none;

    transition:.35s ease;
}

.yp-modal.chabok-active{
    opacity:1;
    visibility:visible;
    pointer-events:auto;
}

.yp-modal-overlay{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.72);
    backdrop-filter:blur(8px);
}

.yp-modal-content{
    position:relative;
    width:100%;
    height:100%;
    background:#fff;
    overflow:hidden;

    display:flex;
    flex-direction:column;

    transform:translateY(-40px);
    opacity:0;

    transition:.35s ease;
}

.yp-modal.chabok-active .yp-modal-content{
    transform:translateY(0);
    opacity:1;
}

.yp-modal-header{
    height:85px;
    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:0 45px;

    border-bottom:1px solid #ececec;
    flex-shrink:0;
}

.yp-modal-title{
    margin:0;
    font-size:20px;
    font-weight:700;
}

.yp-modal-close{
    width:48px;
    height:48px;

    border:none;
    background:#f4f4f4;
    border-radius:50%;

    cursor:pointer;

    font-size:22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition:.25s;
}

.yp-modal-close:hover{
    background:#ef4444;
    color:#fff;
    transform:rotate(90deg);
}

.yp-modal-body{
    flex:1;
    overflow:auto;
    padding:50px 0;
}

.yp-search-box{
    position:relative;
    margin-bottom:40px;
    max-width: 900px;
    margin-right: auto;
    margin-left: auto;
}
.search-empty i {
  font-size: 63px;
  margin-bottom: 20px;
}
.yp-search-icon{
    position:absolute;
    top:50%;
    right:28px;
    transform:translateY(-50%);
    font-size:22px;
    color:#999;
}
.yp-modal-small {
    max-width: 720px;height: auto;min-height: 400px;margin: auto;
}
.yp-modal-large {
    max-width: 960px;height: auto;min-height: 400px;margin: auto;
}
.yp-search-input{
    width:100%;
    height:70px;

    border:2px solid #e6e6e6;
    border-radius:18px;

    padding:0 70px 0 25px;

    font-size:17px;
    outline:none;

    transition:.25s;
}

.yp-search-input:focus{
    border-color:#2563eb;
    box-shadow:0 0 0 6px rgba(37,99,235,.12);
}

.yp-search-loading{
    display:none;
    text-align:center;
    padding:60px 0;
    color:#777;
}

.yp-search-loading.active{
    display:block;
}

.yp-loader{
    width:55px;
    height:55px;
    border:4px solid #e5e5e5;
    border-top-color:#2563eb;
    border-radius:50%;
    margin:0 auto 20px;
    animation:ypSpin .8s linear infinite;
}

@keyframes ypSpin{
    to{
        transform:rotate(360deg);
    }
}

body.yp-modal-open{
    overflow:hidden;
}


@media(max-width:768px){

    .yp-modal-header{
        padding:0 20px;
        height:70px;
    }

    .yp-modal-title{
        font-size:18px;
    }

}








/** search ajax */
.search-group-title{
    display:flex;
    align-items:center;
    gap:12px;
    font-size:22px;
    font-weight:700;
    margin-bottom:20px;
}

.search-items{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.search-item{
    display:flex;
    align-items:center;
    gap:20px;
    padding:18px;
    border-radius:18px;
    text-decoration:none;
    color:inherit;
    transition:.25s;
    border:1px solid #f0f0f0;
}

.search-item:hover{
    background:#fafafa;
    transform:translateY(-2px);
}

.search-thumb{
    width:80px;
    height:80px;
    flex-shrink:0;
}

.search-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    border-radius:12px;
}

.search-content{
    flex:1;
}

.search-type{
    font-size:13px;
    color:#999;
    margin-bottom:6px;
}

.search-title{
    font-size:17px;
    font-weight:700;
    margin-bottom:8px;
}

.search-excerpt{
    color:#777;
    font-size:14px;
}

.search-arrow{
    font-size:22px;
    opacity:.5;
}

[dir="ltr"] .yp-agencies-content .section-title {
  font-size: 22px;
}


.search-box input{
    height:60px;
    font-size:15px;
    border-radius:16px;
}
#searchModal .modal-title {
  visibility: hidden;
}
.search-result-item{
    padding:15px;
    border-radius:12px;
    border:1px solid #eee;
    margin-bottom:5px;
    margin-top: 5px;
    display: block;
    transition:.2s;
}

.search-result-item:hover{
    background:#f8f9fa;
    transform:translateX(-5px);
}

#searchModal .modal-content{
    border:none;
}

.search-box, 
#search-results {
    max-width:900px;
    margin:auto;
}

.search-box input{
    height:60px;
    border-radius:20px;
    padding-right:60px;
    font-size:15px;
    border:2px solid #eee;
    box-shadow:none;
}

.search-box input:focus{
    border-color:#0d6efd;
    box-shadow:0 0 20px rgba(13,110,253,.15);
}

.search-icon{
    position:absolute;
    right:22px;
    top:50%;
    transform:translateY(-50%);
    font-size:20px;
    color:#999;
}

#search-results.loading{
    opacity:.4;
    transition:.2s;
}

.search-empty{
    text-align:center;
    padding:60px 20px;
    color:#888;
}
.yp-search-loading.d-none {
  display: none;
}




/* RESPONSIVE */

@media(max-width:1200px){

    .yp-product-loop-item {
        width: 33.3333%;
    }

}

@media(max-width:992px){

    .yp-product-loop-item {
        width: 50%;
    }


}

@media(max-width:768px){

    .yp-product-loop-item {
        width: 100%;
    }

    .yp-products-title {
        font-size: 19px;
    }

    .yp-products-toolbar-inner {
        padding: 18px;
    }

    .yp-products-grid.yp-list-mode .yp-product-card {
        flex-direction: column;
    }

    .yp-products-grid.yp-list-mode .yp-product-thumb {
        width: 100%;
        min-width: 100%;
    }

}













/* INTRO SECTION */
.yp-news-home-intro {
  background: linear-gradient(to bottom,#fbfbfb,#f4f4f4);
  padding-top: 110px;
  margin-top: -100px;
}

/* HERO */

.yp-news-home-slider{
    position:relative;
    overflow:hidden;
    border-radius:28px;
}
[dir="ltr"] .yp-news-home-slider {
    direction: rtl;
}

[dir="ltr"] .yp-news-home-slider article {
    direction: ltr;
}
.yp-news-home-card{
    position:relative;
    height:540px;
    overflow:hidden;
    border-radius:28px;
}

.yp-news-home-thumb{
    display:block;
    width:100%;
    height:100%;
}

.yp-news-home-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.yp-news-home-card::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.82),
        rgba(0,0,0,.25),
        transparent
    );
}

.yp-news-home-overlay{
    position:absolute;
    inset:auto 0 0;
    z-index:2;
    padding:45px;
    color:#fff;
}

.yp-news-home-badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:38px;
    padding:0 18px;
    border-radius:999px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(12px);
    font-size:13px;
    margin-bottom:18px;
}

.yp-news-home-overlay h2{
    font-size:36px;
    line-height:1.7;
    margin-bottom:14px;
}

.yp-news-home-overlay h2 a{
    color:#fff;
}

.yp-news-home-overlay p{
    font-size:15px;
    line-height:2;
    color:rgba(255,255,255,.85);
    max-width:85%;
}

.yp-news-home-meta{
    display:flex;
    align-items:center;
    gap:20px;
    margin-top:22px;
    font-size:13px;
    color:rgba(255,255,255,.75);
}

.yp-news-home-pagination{
    bottom:20px !important;
}

.yp-news-home-pagination .swiper-pagination-bullet{
    width:10px;
    height:10px;
    opacity:1;
    background:rgba(255,255,255,.35);
}

.yp-news-home-pagination .swiper-pagination-bullet-active{
    width:28px;
    border-radius:999px;
    background:#fff;
}

/* SIDE NEWS */

.yp-side-news{
    background:#fff;
    border:1px solid #edf0f5;
    border-radius:28px;
    padding:24px;
    height:540px;
    overflow:hidden;
}

.yp-side-news-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.yp-side-news-item{
    display:flex;
    gap:14px;
    padding-bottom:18px;
    border-bottom:1px solid #eef2f7;
}

.yp-side-news-item:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.yp-side-news-item .thumb{
    width:110px;
    height:88px;
    border-radius:14px;
    overflow:hidden;
    flex-shrink:0;
}

.yp-side-news-item .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.yp-side-news-item:hover .thumb img{
    transform:scale(1.08);
}

.yp-side-news-item .content{
    flex:1;
}

.yp-side-news-item .time{
    display:block;
    margin-bottom:8px;
    font-size:12px;
    color:#00a8ff;
}

.yp-side-news-item h3{
    font-size:15px;
    line-height:2;
}

.yp-side-news-item h3 a{
    color:#111827;
}

.news-archive .section-title a {
  color: red;
  font-size: 13px;
}

/* MOBILE */

@media(max-width:992px){

    .yp-news-home-intro .yp-col-8,
    .yp-news-home-intro .yp-col-4{
        width:100%;
    }

    .yp-side-news{
        margin-top:20px;
        height:auto;
    }

    .yp-news-home-card{
        height:420px;
    }

    .yp-news-home-overlay{
        padding:25px;
    }

    .yp-news-home-overlay h2{
        font-size:24px;
    }

    .yp-news-home-overlay p{
        max-width:100%;
    }

}


.yp-box-widget{
    background:#fff;
    border:1px solid #edf0f5;
    border-radius:24px;
    padding:24px;
    height:100%;
}

.yp-breaking-news{
    background:#fff;
    border-radius:24px;
    padding:24px;
    border:1px solid #edf0f5;
    height:100%;
}

.yp-breaking-item{
    padding:18px 0;
    border-bottom:1px solid #eef2f7;
}

.yp-breaking-time{
    color:#00a8ff;
    font-size:13px;
    display:block;
    margin-bottom:10px;
}

@media screen and (max-width:600px) {
    .yp-news-home-card {
        height: 290px;
    }
    .yp-side-news-item h3,
    .yp-popular-item h3 {
        font-size: 13px;
    }
    .yp-row > .yp-col-8,
    .yp-row > .yp-col-4 {
        width: 100%;
    }
    .yp-news-home-intro p {
        display: none;
    }
    .yp-news-home-meta {
        margin-bottom: 25px;
    }
    .yp-press-wrap.mg-news  .yp-section-head {
        flex-direction: row;
        align-items: center;
    }
    .yp-news-home-intro .yp-container,
    .yp-news-tabs-section .yp-container,
    .yp-magazine-section .yp-container {
        padding: 0;
    }
    .yp-news-home-slider {
        margin-top: -25px;
    }
    .yp-news-home-card, .yp-news-home-thumb, .yp-news-home-thumb img, .yp-news-home-slider {
        border-radius: 0;
    }
    .yp-news-home-intro .yp-container .yp-row,
    .yp-news-tabs-section .yp-container .yp-row,
    .yp-magazine-section .yp-container .yp-row {
        padding:0 0;
        margin-inline: 0;
    }
    .yp-news-home-intro .yp-col-8 {
        padding:0;
    }
    .yp-more-link , .yp-media-more {
        display: none;
    }
    .yp-news-tab-btn {
        height: 38px !important;
        padding: 0 6px !important;
        font-size: 12px !important;
    }
    .yp-articles-wrap .yp-section-head {
        flex-direction: row;
        align-items: center;
    }
}




/* NEWS TABS SECTION */

.yp-news-tabs-section{
    padding:30px 0;
    background: linear-gradient(to bottom,#f4f4f4,#f4f4f4);
}

/* MAIN WRAP */

.yp-news-tabs-wrap{
    background:#fff;
    border:1px solid #edf0f5;
    border-radius:28px;
    overflow:hidden;
}

/* HEADER */

.yp-news-tabs-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:24px 28px;
    border-bottom:1px solid #eef2f7;
}

.yp-news-tabs-nav{
    display:flex;
    align-items:center;
    gap:12px;
    flex-wrap:wrap;
}

.yp-news-tab-btn{
    border:none;
    height:46px;
    padding:0 22px;
    border-radius:14px;
    background:#f3f6fb;
    color:#475569;
    font-size:14px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.yp-news-tab-btn:hover{
    transform:translateY(-2px);
}

.yp-news-tab-btn.active{
    background:linear-gradient(135deg,#008cff,#0058ff);
    color:#fff;
    box-shadow:0 12px 30px rgba(0,119,255,.2);
}

.yp-more-link{
    color:red;
    font-size:14px;
    white-space:nowrap;
}

/* BODY */

.yp-news-tabs-body{
    padding:28px;
}

.yp-news-tab-panel{
    display:none;
    animation:ypFade .35s ease;
}

.yp-news-tab-panel.active{
    display:block;
}

@keyframes ypFade{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:none;
    }
}

/* FEATURE */

.yp-news-feature{
    display:flex;
    gap:24px;
    margin-bottom:24px;
}

.yp-news-feature .thumb{
    width:48%;
    height:280px;
    border-radius:22px;
    overflow:hidden;
    flex-shrink:0;
}

.yp-news-feature .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.7s;
}

.yp-news-feature:hover img{
    transform:scale(1.05);
}

.yp-news-feature .content{
    flex:1;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.yp-news-feature .cat{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:max-content;
    height:36px;
    padding:0 16px;
    border-radius:999px;
    background:#eff6ff;
    color:#0077ff;
    font-size:13px;
    margin-bottom:18px;
}

.yp-news-feature h2{
    font-size:18px;
    line-height:1.8;
    margin-bottom:14px;
}

.yp-news-feature h2 a{
    color:#0f172a;
}

.yp-news-feature p{
    color:#64748b;
    line-height:2.1;
    font-size:15px;
}

/* GRID */

.yp-news-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
}

.yp-mini-news-card{
    display:flex;
    gap:16px;
    padding:16px;
    border:1px solid #edf0f5;
    border-radius:18px;
    transition:.25s;
}

.yp-mini-news-card:hover{
    border-color:#d9e6ff;
    transform:translateY(-3px);
}

.yp-mini-news-card .thumb{
    width:140px;
    height:110px;
    border-radius:16px;
    overflow:hidden;
    flex-shrink:0;
}

.yp-mini-news-card .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.yp-mini-news-card .content{
    flex:1;
}

.yp-mini-news-card .time{
    display:block;
    margin-bottom:10px;
    color:#0077ff;
    font-size:12px;
}

.yp-mini-news-card h3{
    font-size:15px;
    line-height:2;
}

.yp-mini-news-card h3 a{
    color:#0f172a;
}

/* POPULAR */

.yp-popular-widget{
    height:100%;
    background:#fff;
    border:1px solid #edf0f5;
    border-radius:28px;
    padding:26px;
}

.yp-popular-list{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.yp-popular-item{
    display:flex;
    gap:18px;
    align-items:center;
    padding-bottom:18px;
    border-bottom:1px solid #eef2f7;
}

.yp-popular-item:last-child{
    border-bottom:none;
    padding-bottom:0;
}

.yp-popular-item .number{
    font-size:32px;
    font-weight:800;
    line-height:1;
    color:#dbe4f0;
    min-width:48px;
    text-align: center;
}

.yp-popular-item h3{
    font-size:15px;
    line-height:2;
    margin-bottom:8px;
}
[dir="ltr"] .yp-popular-item h3 {
    line-height: normal;
    margin-bottom: 0;
}
.yp-popular-item h3 a{
    color:#0f172a;
}

.yp-popular-item .meta{
    font-size:12px;
    color:#0077ff;
}
.yp-side-news h2,
.yp-popular-widget h2 {
  font-size: 18px;
  color: #0354c9;
}
.yp-news-home-overlay h2 {
  font-size: 20px;
  line-height: normal;
  margin-bottom: 14px;
  margin-bottom: 4px;
  margin-top: 0;
}

/* MOBILE */

@media(max-width:992px){

    .yp-news-tabs-section .yp-col-8,
    .yp-news-tabs-section .yp-col-4{
        width:100%;
    }

    .yp-popular-widget{
        margin-top:20px;
    }

    .yp-news-feature{
        flex-direction:column;
    }

    .yp-news-feature .thumb{
        width:100%;
    }

    .yp-news-grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:768px){

    .yp-news-tabs-head{
        flex-direction:column;
        align-items:flex-start;
    }

    .yp-news-feature h2{
        font-size:17px;
    }

    .yp-mini-news-card{
        flex-direction:column;
    }

    .yp-mini-news-card .thumb{
        width:100%;
        height:200px;
    }

}






/* MEDIA SECTION */

.yp-media-section{
    padding:30px 0 40px;
}

.yp-media-wrap{
    overflow:hidden;
}

/* HEADER */

.yp-media-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:20px;
    padding:24px 2px;
    border-bottom:1px solid #eef2f7;
}

.yp-media-tabs{
    display:flex;
    align-items:center;
    gap:12px;
}

.yp-media-tab-btn{
    border:none;
    height:48px;
    padding:0 24px;
    border-radius:16px;
    background:#f3f6fb;
    color:#475569;
    font-size:14px;
    font-weight:700;
    cursor:pointer;
    transition:.25s;
}

.yp-media-tab-btn:hover{
    transform:translateY(-2px);
}

.yp-media-tab-btn.active{
    background:linear-gradient(135deg,#008cff,#0058ff);
    color:#fff;
    box-shadow:0 15px 35px rgba(0,119,255,.18);
}

.yp-media-more{
    color:#0077ff;
    font-size:14px;
    white-space:nowrap;
}

/* BODY */

.yp-media-body{
    padding:28px 2px;
}

.yp-media-panel{
    display:none;
    animation:ypMediaFade .35s ease;
}

[dir="ltr"] .yp-media-panel {
    direction: rtl;
}
[dir="ltr"] .yp-media-panel article {
    direction: ltr;
}

.yp-media-panel.active{
    display:block;
}

@keyframes ypMediaFade{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:none;
    }
}

/* COMMON CARD */

.yp-gallery-card,
.yp-video-card{
    transition:.3s;
}

.yp-gallery-card:hover,
.yp-video-card:hover{
    transform:translateY(-4px);
}

/* THUMB */

.yp-gallery-card .thumb,
.yp-video-card .thumb{
    position:relative;
    display:block;
    height:210px;
    border-radius:24px;
    overflow:hidden;
    margin-bottom:18px;
}

.yp-gallery-card .thumb img,
.yp-video-card .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.7s;
}

.yp-gallery-card:hover img,
.yp-video-card:hover img{
    transform:scale(1.08);
}

/* GALLERY */

.yp-gallery-card .count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:34px;
    padding:0 14px;
    border-radius:999px;
    background:#eff6ff;
    color:#0077ff;
    font-size:12px;
    margin-bottom:12px;
    position: absolute;
    top: 9px;
    right: 12px;
}

.yp-gallery-card h3{
    font-size:13px;
    line-height:2;
    text-align: center;
}

.yp-gallery-card h3 a{
    color:#0f172a;
}

/* VIDEO */

.yp-video-card .play-btn{
    position:absolute;
    inset:0;
    margin:auto;
    width:72px;
    height:72px;
    border-radius:50%;
    background:rgba(0, 0, 0, 0.2);
    backdrop-filter:blur(10px);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:20px;
    transition:.3s;
}

.yp-video-card:hover .play-btn{
    transform:scale(1.08);
}

.yp-video-card .duration{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:34px;
    padding:0 14px;
    border-radius:999px;
    background:#0f172a;
    color:#fff;
    font-size:12px;
    margin-bottom:12px;
    position: absolute;
    top: 9px;
    right: 12px;
}

.yp-video-card h3{
    font-size:13px;
    line-height:2;
    text-align: center;
}

.yp-video-card h3 a{
    color:#0f172a;
}

/* SWIPER */

.yp-gallery-slider,
.yp-video-slider{
    overflow:visible;
}

/* MOBILE */

@media(max-width:992px){

    .yp-gallery-card .thumb,
    .yp-video-card .thumb{
        height:220px;
    }

}

@media(max-width:768px){

    .yp-media-head{
        flex-direction:column;
        align-items:flex-start;
    }

    .yp-media-tabs{
        width:100%;
    }

    .yp-media-tab-btn{
        flex:1;
    }

}




/* MAGAZINE SECTION */

.yp-magazine-section{
    padding:60px 0 60px;
    background: linear-gradient(to bottom,#f4f4f4, #f4f4f4, #fff);
}

/* COMMON */

.yp-articles-wrap,
.yp-press-wrap{
    background:#fff;
    border-radius:30px;
    padding:28px;
    height:100%;
}

.yp-section-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:20px;
    margin-bottom:20px;
}

.yp-section-head .sub{
    display:block;
    color:#0077ff;
    font-size:13px;
    margin-bottom:10px;
}

.yp-section-head .h2-title{
    margin-bottom:0;
}

.yp-section-head .more-link{
    color:red;
    white-space:nowrap;
    font-size:14px;
}

/* FEATURE ARTICLE */

.yp-article-feature{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    margin-bottom:24px;
}

.yp-article-feature .thumb{
    display:block;
    height:420px;
}

.yp-article-feature .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.8s;
}

.yp-article-feature:hover img{
    transform:scale(1.06);
}

.yp-article-feature::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.88),
        rgba(0,0,0,.3),
        transparent
    );
}

.yp-article-feature .content{
    position:absolute;
    inset:auto 0 0;
    z-index:2;
    padding:34px;
    color:#fff;
}

.yp-article-feature .meta{
    display:flex;
    align-items:center;
    gap:12px;
    margin-bottom:16px;
}

.yp-article-feature .meta span{
    height:34px;
    display:inline-flex;
    align-items:center;
    padding:0 14px;
    border-radius:999px;
    background:rgba(255,255,255,.14);
    backdrop-filter:blur(10px);
    font-size:12px;
}

.yp-article-feature h2{
    font-size:34px;
    line-height:1.8;
    margin-bottom:16px;
}

.yp-article-feature h2 a{
    color:#fff;
}

.yp-article-feature p{
    color:rgba(255,255,255,.85);
    line-height:2.1;
    margin-bottom:24px;
    max-width:85%;
}

.yp-read-more{
    display:inline-flex;
    align-items:center;
    gap:10px;
    height:48px;
    padding:0 22px;
    border-radius:16px;
    background:#fff;
    color:#111827;
    font-weight:700;
}

/* GRID */

.yp-articles-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px;
}

.yp-article-card{
    border:1px solid #edf0f5;
    border-radius:24px;
    overflow:hidden;
    transition:.3s;
    background:#fff;
}

.yp-article-card:hover{
    transform:translateY(-5px);
    border-color:#dbeafe;
    box-shadow:0 20px 45px rgba(15,23,42,.05);
}

.yp-article-card .thumb{
    display:block;
    height:220px;
    overflow:hidden;
}

.yp-article-card .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.7s;
}

.yp-article-card:hover img{
    transform:scale(1.08);
}

.yp-article-card .content{
    padding:22px;
}

.yp-article-card .cat{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    height:34px;
    padding:0 14px;
    border-radius:999px;
    background:#eff6ff;
    color:#0077ff;
    font-size:12px;
    margin-bottom:14px;
}

.yp-article-card h3{
    font-size:17px;
    line-height:2;
    margin-bottom:18px;
}

.yp-article-card h3 a{
    color:#0f172a;
}

.yp-article-card .meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:10px;
    color:#94a3b8;
    font-size:12px;
}

/* PRESS */

.yp-press-list{
    display:flex;
    flex-direction:column;
    gap:20px;
}
.yp-post-card {
    position: relative;
    z-index: 2;
    margin-top: 10px;
    margin-bottom: 10px;
    height: 100%;

}
.yp-press-card,
.yp-post-card {
    border:1px solid #edf0f5;
    border-radius:24px;
    padding:24px;
    transition:.3s;
    background:linear-gradient(
        180deg,
        #fff,
        #fafcff
    );
}

.yp-press-card:hover,
.yp-post-card:hover {
    transform:translateY(-4px);
    border-color:#dbeafe;
    box-shadow:0 20px 45px rgba(15,23,42,.05);
}
.yp-post-card img {
    width: 100%;
    height: 200px;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 15px;
  margin-bottom: 12px;
}
.yp-press-card .top{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:14px;
    margin-bottom:20px;
}

.yp-story-tax {
  background: #effaff;
  margin-top: -87px;
  padding-top: 50px;
  padding-bottom: 100px;
}
.tax-str {
    text-align: center;
}
.tax-str .yp-btn {
    width: 190px;
}
.yp-press-card .source{
    display:flex;
    align-items:center;
    gap:14px;
}

.yp-press-card .logo{
    width:54px;
    height:54px;
    border-radius:18px;
    background:#eff6ff;
    color:#0077ff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    flex-shrink:0;
}

.yp-press-card .source strong{
    display:block;
    color:#0f172a;
    margin-bottom:6px;
}

.yp-press-card .source span{
    color:#94a3b8;
    font-size:12px;
}

.yp-press-card .badge{
    height:34px;
    padding:0 14px;
    border-radius:999px;
    background:#0f172a;
    color:#fff;
    font-size:11px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
}

.yp-press-card h3,
.yp-post-card h3,
.yp-post-card h2 {
    font-size:15px;
    line-height:1.9;
    margin-bottom:5px;
}
[dir="ltr"] .yp-press-card h3,
[dir="ltr"] .yp-post-card h3,
[dir="ltr"] .yp-post-card h2 {
    line-height: normal;
}
.yp-press-card h3 a,
.yp-post-card h3 a,
.yp-post-card h2 a {
    color:#0f172a;
}

.yp-press-card p,
.yp-post-card p{
    color:#64748b;
    line-height:2;
    margin-bottom:20px;
}
.yp-post-card p {
    font-size: 14px;
    line-height: normal;
}

[dir="ltr"] .yp-press-card p,
[dir="ltr"] .yp-post-card p {
    line-height: 1.6;
}

.yp-press-card .read-link, 
.yp-post-card .read-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#0077ff;
    font-size:14px;
    font-weight:700;
}


/* LIST WRAPPER */

.yp-articles-list{
    display:flex;
    flex-direction:column;
    gap:16px;
}

/* ITEM BASE */

.yp-article-item{
    display:flex;
    gap:16px;
    padding:14px 0;
    border-bottom:1px solid #eef2f7;
    transition:.3s;
}

.yp-article-item:last-child{
    border-bottom:none;
}

.yp-article-item:hover{
    transform:translateX(-4px);
}

/* THUMB */

.yp-article-item .thumb{
    width:140px;
    height:95px;
    border-radius:14px;
    overflow:hidden;
    flex-shrink:0;
}

.yp-article-item .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}

.yp-article-item:hover .thumb img{
    transform:scale(1.08);
}

/* CONTENT */

.yp-article-item .content{
    flex:1;
}

/* META */

.yp-article-item .meta{
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
    margin-bottom:8px;
    font-size:12px;
}

.yp-article-item .cat{
    color:#0077ff;
    font-weight:700;
}

.yp-article-item .time,
.yp-article-item .date{
    color:#94a3b8;
}

/* TITLE */

.yp-article-item h3{
    font-size:15px;
    line-height:2;
}

.yp-article-item h3 a{
    color:#0f172a;
}

/* FEATURED ITEM */

.yp-article-item--featured{
    flex-direction:column;
    border:1px solid #e5e7eb;
    border-radius:20px;
    padding:0;
    overflow:hidden;
    margin-bottom:10px;
}

.yp-article-item--featured .thumb{
    width:100%;
    height:320px;
    border-radius:0;
}

.yp-article-item--featured .content{
    padding:18px 18px 22px;
}

.yp-article-item--featured h3{
    font-size:20px;
    margin-bottom:10px;
}

.yp-article-item--featured p{
    font-size:13px;
    line-height:2;
    color:#64748b;
}
.yp-article-item .content p {
  font-size: 13px;
  opacity: 0.5;
}

.yp-press-wrap.mg-news {
  padding: 0;
  background: none;
}

.yp-articles-wrap .h2-title,
.yp-press-wrap.mg-news .h2-title {
  font-size: 19px;
  color: #0354c9;
}


/* MOBILE */

@media(max-width:768px){

    .yp-article-item{
        flex-direction:column;
    }

    .yp-article-item .thumb{
        width:100%;
        height:180px;
    }

    .yp-article-item--featured .thumb{
        height:220px;
    }

}

/* MOBILE */

@media(max-width:992px){

    .yp-magazine-section .yp-col-7,
    .yp-magazine-section .yp-col-5{
        width:100%;
    }

    .yp-press-wrap{
        margin-top:20px;
    }

}

@media(max-width:768px){

    .yp-section-head{
        flex-direction:column;
        align-items:flex-start;
    }

    .yp-article-feature .thumb{
        height:320px;
    }

    .yp-article-feature .content{
        padding:24px;
    }

    .yp-article-feature h2{
        font-size:24px;
    }

    .yp-article-feature p{
        max-width:100%;
    }

    .yp-articles-grid{
        grid-template-columns:1fr;
    }

    .yp-press-card .top{
        flex-direction:row;
        align-items:center;
    }

}




.press-item img {
  width: 100%;
  border-radius: 10px;
}
.press-item {
  position: relative;
  text-align: center;
  margin-bottom: 20px;
}

.press-item .press-content {
  margin: 10px 0;
  font-size: 14px;
}
.press-item .yp-badge {
  position: absolute;
  right: 12px;
  top: 16px;
  z-index: 2;
}
.yp-ajax-grid .yp-press-card {
    margin-bottom: 15px;
    margin-top: 5px;
}

.date-popup {
  position: relative;
}
.date-popup span {
    position: absolute;
    left: 0;
    z-index: 2;
    right: 0;
    top: 0;
    bottom: 0;
    padding: 13px;
    background: #fff;
    border: 1px solid #e6e8ee;
    border-radius: 15px;
    font-size: 13px;
}


.yp-row.yp-ajax-grid {
  min-height: 200px;
  margin-top: 10px;
}




.yp-event-card{
    display:block;
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    text-decoration:none;
    color:#222;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
    transition:.35s;
    position: relative;
    height:100%;
}

.yp-event-card:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(0,0,0,.14);
    color:#222;
}

.yp-event-card-image{
    position:relative;
    overflow:hidden;
}

.yp-event-card-image img{
    width:100%;
    aspect-ratio:3/4;
    object-fit:cover;
    display:block;
    transition:.5s;
}

.yp-event-card-image::before {
  content: '';
  background: linear-gradient(to top,#000,transparent,transparent);
  position: absolute;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
}

.yp-event-card-badge{
    position:absolute;
    top:18px;
    right:18px;
    background:#0d6efd;
    color:#fff;
    font-size:13px;
    padding:7px 14px;
    border-radius:40px;
    font-weight:600;
    backdrop-filter:blur(8px);
}

.yp-event-card-body{
        position: absolute;
    bottom: 10px;
    top: auto;
    left: 0;
    right: 0;
    color: #fff;
    padding: 15px;
    font-size: 17px;
}

.yp-event-card-category{
color: #0d6efd;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .4px;
  background: #d6e6ff;
  display: inline-block;
  padding: 2px 10px;
  border-radius: 14px;
}

.yp-event-card-title{
    font-size:16px;
    line-height:1.6;
    margin:0 0 18px;
    font-weight:700;
}

.yp-event-card-meta{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.yp-event-card-meta-item{
    display:flex;
    align-items:center;
    gap:10px;
    font-size:14px;
    color:#666;
}

.yp-event-card-meta-item i{
    width:18px;
    text-align:center;
    color:#0d6efd;
    font-size:15px;
    flex-shrink:0;
}

@media(max-width:768px){

    .yp-event-card-title{
        font-size:19px;
    }

    .yp-event-card-body{
        padding:18px;
    }

}




/* ==========================================
   Product Review Form
========================================== */

.comment-respond {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 18px;
    padding: 32px;
    margin-top: 40px;
    direction: rtl;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
}


/* Title */

.comment-reply-title {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 25px;
    display: flex;
    align-items: center;
    gap: 12px;
}


#cancel-comment-reply-link {
    font-size: 13px;
    color: #777;
    font-weight: 400;
}





/* Login info */

.logged-in-as {
    background: #f7f8fa;
    border-radius: 12px;
    padding: 14px 18px;
    color: #666;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 25px;
}


.logged-in-as a {
    color: #2563eb;
    text-decoration: none;
}


.logged-in-as a:hover {
    text-decoration: underline;
}



/* Fields */

.comment-form label {

    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #222;
    margin-bottom: 10px;

}


.required {
    color: #ef4444;
}



/* Rating */

.comment-form-rating {
    margin-bottom: 25px;
}


#rating {

    width: 100%;
    max-width: 320px;

    height: 48px;

    border: 1px solid #ddd;

    border-radius: 12px;

    padding: 0 15px;

    background: #fff;

    font-size: 14px;

    color: #333;

    cursor: pointer;

    outline: none;

}


#rating:focus {

    border-color: #2563eb;

    box-shadow: 0 0 0 3px rgba(37,99,235,.12);

}



/* Comment textarea */

.comment-form-comment textarea {

    width: 100%;

    min-height: 160px;

    resize: vertical;

    border: 1px solid #ddd;

    border-radius: 14px;

    padding: 16px;

    font-size: 15px;

    line-height: 2;

    outline: none;

    transition: .2s;

    background: #fff;

}



.comment-form-comment textarea:focus {

    border-color: #2563eb;

    box-shadow: 0 0 0 3px rgba(37,99,235,.12);

}



/* Submit */

.form-submit {

    margin-top: 25px;

}


.form-submit .submit {

    background: #111827;

    color: #fff;

    border: none;

    border-radius: 12px;

    height: 50px;

    padding: 0 35px;

    font-size: 15px;

    font-weight: 600;

    cursor: pointer;

    transition: .25s;

}



.form-submit .submit:hover {

    background: #2563eb;

    transform: translateY(-2px);

}





/* Mobile */

@media(max-width:768px){


    .comment-respond {

        padding: 20px;

        border-radius: 14px;

    }


    .comment-reply-title {

        font-size: 20px;

    }


    #rating {

        max-width:100%;

    }


}