/* SINGLE POST */

.yp-single-post{
    padding:80px 0 70px;
    background: #f8fafc;
    margin-top: -100px;
    background:#f8fafc;
}

/* SWITCH */

.yp-post-mode-switch{
    display:flex;
    gap:12px;
    margin-bottom:30px;
}

.yp-post-mode-btn{
    height:48px;
    padding:0 22px;
    border-radius:14px;
    border:none;
    background:#fff;
    border:1px solid #e2e8f0;
    cursor:pointer;
    font-weight:700;
    transition:.3s;
}

.yp-post-mode-btn.active{
    background:linear-gradient(135deg,#0077ff,#0055ff);
    color:#fff;
    border-color:transparent;
}

/* LAYOUTS */

.yp-post-layout{
    display:none;
}

.yp-post-layout.active{
    display:block;
    animation:fadePost .4s ease;
}

@keyframes fadePost{
    from{
        opacity:0;
        transform:translateY(15px);
    }
    to{
        opacity:1;
        transform:none;
    }
}

/* NEWS HEADER */

.yp-news-head{
    display:flex;
    gap:30px;
    align-items:flex-start;
    margin-bottom:-52px;
    align-items: center;
    background: #fff;
    padding: 20px 20px 70px;
    border-radius: 18px;
    border: 1px solid #edf0f5;
}

.yp-news-content{
    flex:1;
}

.yp-news-kicker,
.yp-badge {
    display:inline-flex;
    height:36px;
    align-items:center;
    padding:0 16px;
    border-radius:999px;
    background:#eff6ff;
    color:#0077ff;
    font-size:12px;
    font-weight:700;
    margin-bottom:18px;
}

.yp-news-title{
    font-size:17px;
    line-height:1.9;
    margin-bottom:18px;
    color:#0f172a;
}

.yp-news-excerpt{
    font-size: 14px;
    line-height: 2.2;
    color: #475569;
    margin-bottom: 22px;
    background: #eee;
    padding: 10px;
    border-radius: 10px;
    padding: 10px;
    border-radius: 10px;
}

.yp-news-thumb{
    width:320px;
    flex-shrink:0;
}

.yp-news-thumb img{
    width:100%;
    border-radius:24px;
    display:block;
}

/* META */

.yp-news-meta{
    display:flex;
    flex-wrap:wrap;
    gap:18px;
    margin-bottom:20px;
}

.yp-news-meta .item{
    display:flex;
    align-items:center;
    gap:8px;
    color:#64748b;
    font-size:13px;
}

/* TAGS */

.yp-post-tags{
    display:flex;
    gap:10px;
    flex-wrap:wrap;
}

.yp-post-tags a{
    height:34px;
    padding:0 14px;
    border-radius:999px;
    display:inline-flex;
    align-items:center;
    background:#fff;
    border:1px solid #dbeafe;
    color:#0077ff;
    font-size:12px;
}

/* ARTICLE HERO */

.yp-article-hero{
    position:relative;
    border-radius:32px;
    overflow:hidden;
    margin-bottom:35px;
}

.yp-article-hero img{
    width:100%;
    height:500px;
    object-fit:cover;
    display:block;
}

.yp-article-hero .overlay {
    position:absolute;
    inset:0;
    background:linear-gradient(
        to top,
        rgba(0,0,0,.92),
        rgba(0,0,0,.35),
        transparent
    );
}

.yp-article-hero .content {
    position:absolute;
    bottom:0;
    right:0;
    width:100%;
    padding:45px;
    z-index:2;
    color:#fff;
}

.yp-article-hero .cat {
    display:inline-flex;
    align-items:center;
    height:38px;
    padding:0 16px;
    border-radius:999px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    margin-bottom:20px;
    font-size:12px;
}

.yp-article-hero h1 {
    font-size: 17px;
    line-height: 1.8;
    margin-bottom: 6px;
}

.yp-article-hero .excerpt {
    max-width:100%;
    font-size: 14px;
    line-height:2.2;
    color:rgba(255,255,255,.85);
    margin-bottom:22px;
}

.yp-article-hero .meta{
    display:flex;
    flex-wrap:wrap;
    gap:20px;
    font-size:13px;
}

.yp-article-hero .meta span{
    display:flex;
    align-items:center;
    gap:8px;
}

/* BODY */

.yp-post-body{
    background:#fff;
    border-radius:30px;
    padding:40px;
    z-index: 1;
    position: relative;
    border:1px solid #edf0f5;
}

/* SIDEBAR */

.yp-single-sidebar{
    display:flex;
    flex-direction:column;
    gap:22px;
    position: sticky;
    top: 20px; /* فاصله از بالای صفحه */
    align-self: flex-start;
}

.yp-sidebar-widget{
    background:#fff;
    border-radius:24px;
    padding:24px;
    border:1px solid #edf0f5;
}

.widget-title{
    font-size:17px;
    margin-bottom:18px;
}

/* AUTHOR */

.yp-author-box{
    display:flex;
    align-items:center;
    gap:16px;
}

.yp-author-box img{
    width:64px;
    height:64px;
    border-radius:50%;
}

.yp-author-box strong{
    display:block;
    margin-bottom:6px;
}

.yp-author-box span{
    color:#64748b;
    font-size:13px;
}

/* RELATED */

.yp-related-posts{
    display:flex;
    flex-direction:column;
    gap:16px;
}

.yp-related-posts .item{
    display:flex;
    gap:14px;
    align-items:center;
}

.yp-related-posts img{
    width:90px;
    height:70px;
    border-radius:14px;
    object-fit:cover;
    flex-shrink:0;
}

.yp-related-posts span{
    font-size:13px;
    line-height:2;
    font-weight: bold;
    color:#5b5d66;
}
.yp-related-posts a:hover {
  background: #f1f9ff;
  border-radius: 10px !important;
}
.single-post .yp-footer svg path {
    fill: #f8fafc;
}
.yp-row.yp-ajax-grid {
  margin-bottom: 60px;
}
.yp-news-subtitle {
  font-size: 12px;
  color: #777;
  font-weight: normal !important;
}

.yp-post-layout.yp-article-layout .yp-news-subtitle {
  color: #ccc;
}

.yp-related-posts a:hover span {
  color: var(--primary-color);
}

/* MOBILE */

@media(max-width:992px){

    .yp-col-8,
    .yp-col-4{
        width:100%;
    }

    .yp-single-sidebar{
        margin-top:24px;
    }

    .yp-news-head{
        flex-direction:column;
    }

    .yp-news-thumb{
        width:100%;
    }

}

@media(max-width:768px){

    .yp-news-title{
        font-size:16px;
    }

    .yp-article-hero img{
        height:420px;
    }

    .yp-article-hero .content{
        padding:28px;
    }

    .yp-article-hero .excerpt{
        max-width:100%;
    }

    .yp-post-body{
        padding:24px;
    }

}

@media screen and (max-width:600px) {
    .yp-single-post {
        margin-top: -90px;
    }
    .yp-post-mode-switch {
        display: none;
    }
}






.yp-project-single {
    background: #f4f7fb;
    overflow: hidden;
    margin-top: -100px;
}

.yp-project-single .yp-back-btn {
    background: #fff;
}

.yp-project-single .yp-breadcrumbs .current {
    background: linear-gradient( 135deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.32) );
}
.yp-project-single .yp-breadcrumbs .separator {
    color: #8d8d8d;
}

.single-project .yp-footer .yp-footer-top-svg path {
    fill: #f4f7fb !important;
}

.yp-project-single .yp-related-slider {
    padding: 10px 0 50px;
}
[dir="ltr"] .yp-project-single .yp-related-slider {
    direction: rtl;
}
[dir="ltr"] .yp-related-card {
    direction: ltr;
}

/* HERO */
.yp-project-hero {
    padding: 0px 0 120px;
}

.yp-project-top {
    padding-top: 75px;
}

.yp-project-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(4px) scale(1.08);
}

.yp-project-overlay {
    background: linear-gradient(to left, rgb(238, 238, 238), rgba(212, 212, 212, 0.96));
}

.yp-project-heading {
    max-width: 850px;
}

.yp-project-category {
    display: inline-flex;
    align-items: center;
    height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: rgba(0, 88, 255, 0.17);
    color: #000;
    backdrop-filter: blur(10px);
    margin-bottom: 24px;
}

.yp-project-title {
    font-size: 22px;
    color: #000;
    line-height: 1.3;
    margin: 0 0 12px;
    font-weight: 900;
}

.yp-project-desc {
    color: rgba(0, 0, 0, 0.75);
    line-height: 2;
    font-size: 16px;
}

.yp-project-status {
    min-width: 220px;
    background: rgba(255, 255, 255, 0.29);
    backdrop-filter: blur(12px);
    padding: 10px 22px;
    border-radius: 24px;
    color: #000;
    border: 2px solid #808081;
    box-shadow: 0 0 9px #ccc;
    position: relative;
    overflow: hidden;
}

.yp-project-status i {
  position: absolute;
  left: -11px;
  bottom: -2px;
  font-size: 65px;
  opacity: 0.4;
}
[dir="ltr"] .yp-project-status i {
    right: -11px;
    left: auto;
}

[dir="ltr"] .fa-arrow-left::before {
    content: "\f061";
}

.yp-project-status span {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}

.yp-project-status strong {
    font-size: 15px;
}

/* MAIN */

.yp-project-main {
    margin-top: -90px;
    position: relative;
    z-index: 10;
    padding-bottom: 70px;
}

.yp-project-gallery-wrapper {
    background: transparent;
    padding: 0px;
    border-radius: 28px;
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
}

.yp-project-main-slider img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
}

.yp-project-thumb-slider {
    margin-top: 20px;
}

.yp-project-thumb-slider .swiper-slide {
    opacity: .4;
    cursor: pointer;
    transition: .3s;
    border-radius: 16px;
    overflow: hidden;
}

.yp-project-thumb-slider .swiper-slide-thumb-active {
    opacity: 1;
}

.yp-project-thumb-slider img {
    width: 100%;
    height: 145px;
    object-fit: cover;
    display: block;
}

.yp-project-info {
    background: #fff;
    padding: 35px;
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
    height: 100%;
}

.yp-project-info-head {
    margin-bottom: 5px;
}

.yp-project-info-head h2 {
    margin: 0;
    font-size: 22px;
}

.yp-project-meta {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yp-project-meta li {
    display: flex;
    flex-direction: column;
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.yp-project-meta li:last-child {
    border-bottom: 0;
}

.yp-project-meta span {
    color: #888;
    margin-bottom: 10px;
}

.yp-project-meta strong {
    font-size: 14px;
    color: #111;
}

/* CONTENT */

.yp-project-content-section {
    padding-bottom: 90px;
}

.yp-project-content {
    background: #fff;
    padding: 45px;
    box-shadow: 0 20px 60px rgba(0,0,0,.05);
}

/* RELATED */

.yp-related-projects {
    padding-bottom: 100px;
    position: relative;
}

.yp-related-desc {
    color: #666;
    margin-top: 10px;
}

.yp-related-nav {
    gap: 10px;
}
[dir="ltr"] .yp-related-nav {
    direction: rtl;
}

.yp-related-prev,
.yp-related-next {
    width: 50px;
    height: 50px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.yp-related-card {
    background: #fff;
    text-decoration: none;
    box-shadow: 0 15px 45px rgba(0,0,0,.05);
    transition: .35s;
}

.yp-related-card:hover {
    transform: translateY(-8px);
}

.yp-related-thumb {
    overflow: hidden;
}

.yp-related-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: .5s;
}

.yp-related-card:hover img {
    transform: scale(1.08);
}

.yp-related-body {
    padding: 24px;
}

.yp-related-category {
    display: inline-block;
    padding: 8px 14px;
    background: #eef6ff;
    color: #0077ff;
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 16px;
}

.yp-related-body h3 {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.8;
    color: #111;
}

.yp-related-meta {
    color: #777;
}

/* RESPONSIVE */

@media(max-width:992px){

    .yp-col-7,
    .yp-col-5 {
        width: 100%;
    }

    .yp-project-title {
        font-size: 40px;
    }

    .yp-project-main {
        margin-top: 0;
        padding-top: 40px;
    }

    .yp-project-info {
        margin-top: 30px;
    }

    .yp-project-main-slider img {
        height: 380px;
    }

}

@media(max-width:768px){

    .yp-project-hero {
        padding: 100px 0 80px;
    }

    .yp-project-title {
        font-size: 30px;
    }

    .yp-project-main-slider img {
        height: 240px;
    }

    .yp-project-thumb-slider img {
        height: 70px;
    }

    .yp-project-content,
    .yp-project-info {
        padding: 25px;
    }

}


.yp-product-single{
    padding: 0;
    background:#fff;
    margin-bottom: 100px;
    padding: 70px 0;
    margin-top: -100px;
    background: linear-gradient(#f7faff,#fff,#f7faff);
}

.yp-product-box{
    position:relative;
    overflow:hidden;
}

.yp-product-gallery-wrap{
    position:sticky;
    top:30px;
}

[dir="ltr"] .yp-product-gallery-wrap {
  direction: rtl;
}

[dir="ltr"] .yp-product-gallery-wrap .swiper-slide {
  direction: ltr;
}


.yp-product-main-slider{
    border-radius:24px;
    overflow:hidden;
    background:#f5f7fb;
    position:relative;
}

.yp-product-main-slider .swiper-slide{
    position:relative;
}

.yp-product-main-slider .swiper-slide a{
    display:block;
    position:relative;
}

.yp-product-main-slider img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
}

.yp-gallery-zoom{
    position:absolute;
    top:18px;
    left:18px;
    width:44px;
    height:44px;
    background:rgba(255,255,255,.95);
    border-radius:14px;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#000;
    backdrop-filter:blur(10px);
    opacity:0;
    transition:.3s;
}

.yp-product-main-slider:hover .yp-gallery-zoom{
    opacity:1;
}

.yp-product-thumb-slider{
    margin-top:16px;
}

.yp-product-thumb-slider .swiper-slide{
    border-radius:18px;
    overflow:hidden;
    border:2px solid transparent;
    cursor:pointer;
    transition:.3s;
    opacity:.6;
}

.yp-product-thumb-slider .swiper-slide-thumb-active{
    opacity:1;
    border-color:var(--primary-color);
}

.yp-product-thumb-slider img{
    width:100%;
    aspect-ratio:1/1;
    object-fit:cover;
    display:block;
}

.yp-product-arrow{
    width:52px;
    height:52px;
    background:rgba(255,255,255,.95);
    border-radius:16px;
    position:absolute;
    top:50%;
    transform:translateY(-50%);
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.yp-product-arrow:hover{
    background:var(--primary-color);
    color:#fff;
}

.yp-product-prev{
    right:20px;
}

.yp-product-next{
    left:20px;
}

[dir="ltr"] .yp-product-prev {
    left: 20px;
    right: auto;
}

[dir="ltr"] .yp-product-next{
    right:20px;
    left: auto;
}

.yp-product-badges{
    position:absolute;
    top:20px;
    right:20px;
    z-index:20;
    display:flex;
    gap:10px;
}

.yp-product-badge{
    padding:8px 14px;
    border-radius:999px;
    font-size:12px;
    font-weight:700;
    color:#fff;
}

.yp-sale{
    background:#ef4444;
}

.yp-stock{
    background:#10b981;
}

.yp-stock.out-of-stock {
  background: #ef4444;
}

.yp-product-info{
    padding-right:25px;
}

[dir="rtl"] .yp-product-info {
    padding-left: 25px;
    padding-right: 0;
}

.yp-product-category{
    font-size:13px;
    color:#6b7280;
    margin-bottom:14px;
}

.yp-product-single .yp-product-title{
    font-size:22px;
    line-height:1.5;
    margin-bottom:20px;
    color:#111827;
    transform: unset;
}
[dir="ltr"] .yp-product-single .yp-product-title {
    margin-bottom: 6px;
}

.yp-product-rating{
    gap:10px;
    margin-bottom:24px;
    color:#6b7280;
}

.yp-rating-stars{
    color:#f59e0b;
    font-size:20px;
    letter-spacing:3px;
}

.yp-product-price-wrap{
    gap:18px;
    margin-bottom:25px;
}

.yp-product-price{
    font-size:38px;
    font-weight:800;
    color:var(--primary-color);
}

.yp-product-old-price{
    text-decoration:line-through;
    color:#9ca3af;
    font-size:18px;
}

.yp-product-short-desc{
    font-size:15px;
    line-height:2.2;
    color:#4b5563;
    padding-bottom:25px;
    border-bottom:1px solid #eee;
    margin-bottom:25px;
}
[dir="ltr"] .yp-product-short-desc {
    line-height: 1.5;
}

.yp-product-option{
    margin-bottom:28px;
}

.yp-option-title{
    margin-bottom:14px;
    font-size:15px;
    font-weight:700;
}

.yp-color-list{
    gap:14px;
}

.yp-color-item input,
.yp-size-item input{
    display:none;
}

.yp-color-item span{
    width:42px;
    height:42px;
    border-radius:50%;
    display:block;
    cursor:pointer;
    border:3px solid #fff;
    box-shadow:0 0 0 1px #ddd;
    transition:.3s;
}

.yp-color-item input:checked + span{
    transform:scale(1.12);
    box-shadow:0 0 0 3px var(--primary-color);
}

.yp-size-list{
    gap:10px;
}

.yp-size-item span{
    width:54px;
    height:54px;
    border-radius:16px;
    border:1px solid #ddd;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    font-weight:700;
    transition:.3s;
}

.yp-size-item input:checked + span{
    background:var(--primary-color);
    color:#fff;
    border-color:var(--primary-color);
}

.yp-product-actions{
    gap:16px;
    margin-top:35px;
}

.yp-quantity-box{
    height:58px;
    border:1px solid #e5e7eb;
    border-radius:18px;
    overflow:hidden;
}

.yp-quantity-box button{
    width:50px;
    height:58px;
    border:none;
    background:#fff;
    cursor:pointer;
    font-size:20px;
}

.yp-quantity-box input{
    width:55px;
    border:none;
    text-align:center;
    font-size:16px;
    font-weight:700;
}

.yp-add-to-cart{
    flex:1;
    height:58px;
    border:none;
    background:linear-gradient(135deg,var(--primary-color),#0b63db);
    color:#fff;
    border-radius:18px;
    font-size:16px;
    font-weight:700;
    cursor:pointer;
    transition:.3s;
}

.yp-add-to-cart:hover{
    transform:translateY(-2px);
    box-shadow:0 5px 10px rgba(9,69,155,.25);
}

.yp-wishlist-btn{
    width:58px;
    height:58px;
    border:none;
    background:#fff1f2;
    color:#e11d48;
    border-radius:18px;
    font-size:30px;
    border: 1px solid #ccc;
    cursor:pointer;
}

.yp-product-features {
    margin-bottom: 20px;
}

.yp-feature-item{
    margin-bottom:14px;
    color:#374151;
    font-size:14px;
}

.yp-features {
    font-size: 14px;
}

.yp-features ul li {
  background: #fff;
  margin: 8px 0;
  border-radius: 10px;
}

.yp-features ul li strong {
  width: 35%;
  display: inline-block;
  background: #d1e7ff;
  padding: 8px 10px;
  margin-left: 11px;
  border-radius: 0 10px 10px 0;
}
[dir="ltr"] .yp-features ul li strong {
    border-radius: 10px 0px 0px 10px;
    margin-left: 0;
    margin-right: 10px;
}

.yp-feature-card{
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all .3s ease;
    box-shadow: none;
}

.yp-feature-card .icon{
    width: 45px;
    height: 45px;
    min-width: 45px;
    border-radius: 12px;
    background: #e8f3ff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b5bff;
    font-size: 18px;
}

.yp-feature-card .content h4{
    margin: 0;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.yp-feature-card .content p{
    margin: 2px 0 0;
    font-size: 12px;
    color: #777;
}


.yp-meta-box{
    background: #fff;
    border: 1px solid #eee;
    border-radius: 16px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 4px 18px rgba(0,0,0,0.04);
}

.yp-meta-row{
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 12px;
    border-bottom: 1px dashed #eee;
    padding: 2px 11px;
}

.yp-meta-row:last-child{
    border-bottom: none;
    padding-bottom: 0;
}

.yp-meta-row .label{
    font-size: 13px;
    font-weight: 700;
    color: #333;
    display: flex;
    align-items: center;
    gap: 6px;
}

.yp-meta-row .label i{
    color: #3b5bff;
    font-size: 17px;
}

.yp-meta-row .value{
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* Chips (Categories) */
.chip , .yp-meta-row .value a {
    padding: 6px 10px;
    background: #f3f6ff;
    color: #3b5bff;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: .25s;
    border: 1px solid transparent;
}

.chip:hover, 
.yp-meta-row .value a:hover {
    background: #e8edff;
    border-color: #3b5bff33;
}

.yp-academy-player {
    background:#000;
}

/* Tags */
body .tag{
    padding: 5px 9px;
    background: #f8f8f8;
    color: #555;
    border-radius: 8px;
    font-size: 12px;
    text-decoration: none;
    transition: .25s;
}

body .tag:hover{
    background: #111;
    color: #fff;
}

/* Seller button */
.seller-btn{
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #111, #333);
    color: #fff;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.seller-btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

@media(max-width:992px){

    .yp-product-gallery-col,
    .yp-product-info-col{
        width:100%;
    }

    .yp-product-info{
        padding-left:0;
        margin-top:35px;
    }

    .yp-product-title{
        font-size:28px;
    }

    .yp-product-price{
        font-size:30px;
    }

    .yp-product-info {
        padding: 0;
    }
    .yp-product-box {
        padding:0;
    }

    .yp-product-title {
        font-size: 18px;
    }

    .yp-product-info {
        margin-top: 0;
    }
    .yp-col-4.yp-product-info-col {
        margin-bottom: 40px;
    }
    .yp-col-4.yp-product-left-col {
        width: 100%;
        margin-top: 35px;
    }
    .yp-product-single {
        margin-bottom: 30px;
    }

}

@media screen and (max-width:600px) {
    .yp-product-single {
        margin-top: -90px;
    }
    .yp-product-box{
        padding:15px;
        border-radius:18px;
    }

    .yp-product-actions{
        flex-wrap:wrap;
    }

    .yp-add-to-cart{
        width:100%;
    }

}



.yp-related-products {
    padding:60px 0;
    background:#f7faff;
    position: relative;
}

.yp-related-products .yp-section-header{
    margin-bottom:20px;
    text-align: center;
    margin-top: -100px;
    margin-bottom: 100px;
    z-index: 2;
    position: relative;
}

.yp-related-nav {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    width: 93px;
    top: 40px;
}

.yp-related-products .h2-title::before,
.yp-related-products .h2-title::after {
  content: '';
  background: #D2DFF0;
  display: inline-block;
  width: 38px;
  height: 4px;
  border-radius: 10px;
  margin-left: 11px;
  position: relative;
  top: -2px;
}

.yp-related-products .h2-title::after {
    margin-right: 11px;
    margin-left: 0;
}
.yp-product-related-svg {
  position: absolute;
  top: -80px;
  width: 789px;
  height: 96px;
  z-index: 2;
  margin: auto;
  left: 0;
  right: 0;
  transform: rotate(180deg);
}

.yp-product-related-svg path,
body.single-product .yp-footer .yp-footer-top-svg path {
  fill: #f7faff;
}

/* CARD */
.yp-product-card{
    display:block;
    background:#fff;
    border-radius:20px;
    overflow:hidden;
    text-decoration:none;
    color:#000;
    transition:.3s;
    box-shadow:0 10px 30px rgba(0,0,0,.05);

}

.swiper.yp-related-swiper {
  padding: 15px 0 50px;
}

[dir="ltr"] .swiper.yp-related-swiper {
    direction: rtl;
}
[dir="ltr"] .swiper.yp-related-swiper .yp-product-card {
    direction: ltr;
}

.yp-product-card:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 45px rgba(0,0,0,.1);
}

/* IMAGE */
.yp-card-image{
    position:relative;
    aspect-ratio:1/1;
    overflow:hidden;
    background:#eee;
}

.yp-card-image img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.4s;
}

.yp-product-card:hover img{
    transform:scale(1.08);
}

/* ACTIONS */
.yp-card-actions{
    position:absolute;
    top:25px;
    left:20px;
    display:flex;
    flex-direction:column;
    gap:8px;
    opacity:0;
    transform:translateX(-10px);
    transition:.3s;
}

.yp-product-card:hover .yp-card-actions{
    opacity:1;
    transform:translateX(0);
}

.yp-action-btn{
    width:38px;
    height:38px;
    border:none;
    border-radius:12px;
    background:rgba(255,255,255,.9);
    cursor:pointer;
    font-size:16px;
    transition:.2s;
}

.yp-action-btn:hover{
    background:var(--primary-color);
    color:#fff;
}

/* CONTENT */
.yp-card-content{
    padding:14px;
}

.yp-card-title{
    font-size:14px;
    font-weight:700;
    line-height:1.8;
    margin-bottom:8px;
}

/* RATING */
.yp-card-rating{
    font-size:13px;
    color:#f59e0b;
    display:flex;
    gap:6px;
    align-items:center;
}

.yp-card-rating span{
    color:#6b7280;
    font-size:12px;
}

/* NAV */
.yp-related-next,
.yp-related-prev{
    width:44px;
    height:44px;
    background:#fff;
    border-radius:14px;
    position:absolute;
    top:45%;
    transform:translateY(-50%);
    z-index:10;
    display:flex;
    align-items:center;
    justify-content:center;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.1);
}

.yp-related-next{ left:-10px; }
.yp-related-prev{ right:-10px; }

[dir="ltr"] .yp-related-next{ right:-10px; left: auto; }
[dir="ltr"] .yp-related-prev{ left:-10px; right: auto; }


@media screen and (max-width:992px) {
    .yp-related-products .h2-title {
       font-size: 14px;
    }
    .yp-product-related-svg {
        height: 120px;
    }
    .yp-related-products .yp-section-header {
        margin-top: -87px;
    }
}



.yp-product-tabs{
    background: #fff;
    border: 1px solid transparent;
    border-radius: 16px;
    overflow: unset;
    box-shadow: none;
    position: relative;
    margin-bottom: 120px;
}

/* Tabs Header */
.yp-tabs-header {
  display: flex;
  gap: 10px;
  padding: 10px;
  background: none;
  max-width: 600px;
  margin: auto;
justify-content: center;
  margin-top: -92px;
  z-index: 2;
  position: relative;
  margin-bottom: 40px;
}

.yp-tab-btn{
    flex: 1;
    padding: 10px 12px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    color: #666;
    border-radius: 10px;
    transition: .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: max-content;
}

.yp-tab-btn i{
    font-size: 14px;
}

.yp-tab-btn:hover{
    background: #eef2ff;
    color: #3b5bff;
}

.yp-tab-btn.active{
    background: #3b5bff;
    color: #fff;
    box-shadow: 0 8px 18px rgba(59,91,255,0.25);
}

/* Content */
.yp-tabs-content{
    padding: 18px;
}

.yp-tab-panel{
    display: none;
    animation: fade .3s ease;
}

.yp-tab-panel.active{
    display: block;
}

.yp-product-details-svg {
    position: absolute;
    top: -111px;
    width: 789px;
    height: 96px;
    fill: #eee;
    z-index: 2;
    margin: auto;
    left: 0;
    right: 0;
}
.yp-product-details-svg path {
    fill: #f7faff;
}
@keyframes fade{
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Specs */
.yp-tab-panel ul{
    margin: 0;
    padding:0 10px;
    list-style: circle;
}

.yp-tab-panel ul li{
    font-size: 13px;
    color: #444;
}

/* Reviews */
.review-box{
    padding: 12px;
    border: 1px solid #eee;
    border-radius: 12px;
    margin-bottom: 10px;
    background: #fafafa;
}

.review-box strong{
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}

.review-box p{
    font-size: 13px;
    color: #555;
    margin: 0;
}

@media screen and (max-width:992px) {
   .yp-tab-btn {
        padding: 10px 0;
        font-size: 11px;
    }
    [dir="rtl"] .yp-product-info {
        padding:0;
    }
    .yp-product-box.yp-row.yp-items-start {
        padding: 0;
    }
}

.yp-specs-list{
    margin:0;
    padding:0;
    list-style:none;
    border:1px solid #e8edf3;
    border-radius:16px;
    overflow:hidden;
    background:#fff;
}

.yp-specs-list li{
    display:grid;
    grid-template-columns:260px 1fr;
    gap:2rem;
    padding:1rem 1.5rem;
    margin-bottom: 0 !important;
    border-bottom:1px solid #eef2f6;
}

.yp-specs-list li:nth-child(even){
    background:#f8fafc;
}

.yp-specs-list li:last-child{
    border-bottom:none;
}

.yp-specs-list .title{
    font-weight:700;
    color:#1f2937;
    position:relative;
    padding-right:18px;
}

.yp-specs-list .title::before{
    content:"";
    position:absolute;
    right:0;
    top:50%;
    width:8px;
    height:8px;
    margin-top:-4px;
    border-radius:50%;
    background:#0d6efd;
}

.yp-specs-list .value{
    color:#4b5563;
    line-height:1.9;
}

@media (max-width:767px){

    .yp-specs-list li{
        grid-template-columns:1fr;
        gap:.5rem;
    }

}


.yp-faq-list{
    display:flex;
    flex-direction:column;
    gap:1rem;
}

.yp-faq-item{
    background:#fff;
    border:1px solid #e7edf4;
    border-radius:16px;
    overflow:hidden;
    transition:.25s;
    box-shadow:0 4px 20px rgba(15,23,42,.04);
}

.yp-faq-item:hover{
    border-color:#d5e4f8;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}

.yp-faq-item h4{
    margin:0;
    padding:1.25rem 4.2rem 1.25rem 1.5rem;
    font-weight:700;
    line-height:1.8;
    color:#253142;
    cursor:pointer;
    position:relative;
    user-select:none;
    transition:.25s;
}

.yp-faq-item h4:hover{
    color:#0d6efd;
}

.yp-faq-item h4::before,
.yp-faq-item h4::after{
    content:"";
    position:absolute;
    right:24px;
    top:50%;
    background:#0d6efd;
    border-radius:2px;
    transition:.3s;
}

.yp-faq-item h4::before{
    width:16px;
    height:2px;
    margin-top:-1px;
}

.yp-faq-item h4::after{
    width:2px;
    height:16px;
    margin-top:-8px;
    right:31px;
}

.yp-faq-item.active h4{
    background:#f7fbff;
}

.yp-faq-item.active h4::after{
    transform:scaleY(0);
}

.yp-faq-item p{
    margin:0;
    padding:0 1.5rem;
    max-height:0;
    overflow:hidden;
    opacity:0;
    color:#5b6472;
    line-height:2;
    transition:
        max-height .35s ease,
        padding .35s ease,
        opacity .25s ease;
}

.yp-faq-item.active p{
    max-height:400px;
    padding:1.5rem 1.5rem 1.5rem;
    opacity:1;
}

@media (max-width:768px){

    .yp-faq-item h4{
        font-size:1rem;
        padding:1rem 3.5rem 1rem 1rem;
    }

    .yp-faq-item h4::before{
        right:18px;
    }

    .yp-faq-item h4::after{
        right:25px;
    }

    .yp-faq-item.active p{
        padding:0 1rem 1rem;
    }

}







.yp-event-single {
    background: #f5f7fb;
    overflow: hidden;
    margin-top: -100px;
}

/* HERO */

.yp-event-hero {
    padding: 75px 0 200px;
}

.yp-event-hero-bg {
    top: 0;
    bottom: 0;
}

.yp-event-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(5px) scale(1.1);
}

.yp-event-overlay {
    background: linear-gradient(#f7faff,#f4f4f4,#e5e5e5);
    top: 0;
    bottom: 0;
}

.yp-event-poster {
    box-shadow: 0 0px 17px rgba(0, 0, 0, 0.22);
}

.yp-event-poster img {
    width: 100%;
    display: block;
    aspect-ratio: 0.75;
    object-fit: cover;
    max-width: 600px;
    margin:auto;
}

.yp-event-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg,#1b5cba,#084294);
    color: #fff;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
}

.yp-event-content {
    padding-right: 50px;
    color: #fff;
    border: 1px solid rgba(238, 238, 238, 0.149);
    padding: 64px;
    height: 100%;
    border-radius: 18px;
    background: #000;
}

.yp-event-mini-title {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.yp-event-title {
    font-size: 20px;
    line-height: 1.5;
    margin: 0 0 25px;
    font-weight: 900;
}

.yp-event-desc {
    font-size: 14px;
    line-height: 2;
    color: rgba(255,255,255,.75);
    margin-bottom: 35px;
}

.yp-event-meta {
    gap: 15px;
    margin-bottom: 40px;
}

.yp-event-meta-item i.ab-icon {
  position: absolute;
  left: -14px;
  top: auto;
  bottom: -2px;
  right: auto;
  margin: auto;
  font-size: 72px;
  height: 66px;
  opacity: 0.1;
}

[dir="ltr"] .yp-event-meta-item i.ab-icon {
    right: -14px;
    left: auto;
}

.yp-event-meta-item {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 18px 24px;
    min-width: 230px;
    position: relative;
    overflow: hidden;
}

.yp-event-meta-item span {
    display: block;
    color: rgba(255,255,255,.65);
    margin-bottom: 8px;
    font-size: 14px;
}

.yp-event-meta-item strong {
    font-size: 16px;
}

.yp-event-actions {
    gap: 15px;
}

.yp-event-btn {
    height: 56px;
    padding: 0 28px;
    border-radius: 14px;
    background: linear-gradient(135deg,#097bb6,#08449a);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-weight: 700;
    transition: .3s;
}

.yp-event-btn:hover {
    transform: translateY(-3px);
}

.yp-event-btn-outline {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15);
}

/* MAIN */

.yp-event-main {
    margin-top: -90px;
    position: relative;
    z-index: 10;
    padding-bottom: 70px;
}

.yp-event-box,
.yp-event-sidebar {
    background: #fff;
    padding: 35px;
    box-shadow: 0 10px 40px rgba(0,0,0,.06);
}

.yp-sidebar-card h3 {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: var(--xlarge-font-size);
}

.yp-sidebar-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.yp-sidebar-card li {
    padding: 16px 0;
    border-bottom: 1px solid #eee;
}

.yp-sidebar-card li:last-child {
    border-bottom: 0;
}

.yp-sidebar-card span {
    display: block;
    margin-bottom: 8px;
    color: #888;
    font-size: 14px;
}

/* GALLERY */

.yp-event-gallery-section {
    padding: 30px 0 90px;
}

.yp-gallery-slider .swiper-slide {
    border-radius: 20px;
    overflow: hidden;
}

[dir="ltr"] .yp-gallery-slider {
  direction: rtl;
}

.yp-gallery-slider img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: .5s;
}

.yp-gallery-slider .swiper-slide:hover img {
    transform: scale(1.08);
}

.yp-gallery-nav {
    gap: 10px;
}

[dir="ltr"] .yp-gallery-nav.yp-flex {
    direction: rtl;
}

.yp-gallery-prev,
.yp-gallery-next {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

/* VIDEO */

.yp-event-video-section {
    padding-bottom: 100px;
}

.yp-event-video {
    height: 650px;
    box-shadow: 0 25px 70px rgba(0,0,0,.12);
}

.yp-event-video iframe {
    width: 100%;
    height: 100%;
}

/* RESPONSIVE */

@media(max-width:992px){

    .yp-event-single .yp-col-4,
    .yp-event-single .yp-col-8,
    .yp-event-video-section .yp-col-4,
    .yp-event-video-section .yp-col-8 {
        width: 100%;
        margin-bottom: 20px;
    }

    .yp-event-main {
        margin-top: 0;
        padding-top: 40px;
        padding-bottom: 0;
    }

    .yp-event-sidebar {
        margin-top: 30px;
    }

    .yp-event-video {
        height: 400px;
    }

    .yp-event-content {
        padding: 25px;
    }
    .yp-event-meta-item {
        padding: 9px 16px;
        min-width: 130px;
    }
    .yp-event-hero {
        padding-bottom: 35px;
    }
    .yp-event-btn {
        font-size: 14px;
    }
    .yp-sidebar-card h3 {
        font-size: 18px;
    }
    .yp-sidebar-card li strong {
        font-size: 14px;
    }
}

@media screen and (max-width:600px) {
    .yp-event-single {
        margin-top: -90px;
    }
}


.yp-event-video-section {
    padding-bottom: 100px;
    padding-top: 50px;
}

.yp-event-video-subtitle {
    color: #666;
    margin-top: 10px;
}

.yp-event-video-player {
    background: #000;
    box-shadow: 0 25px 80px rgba(0,0,0,.12);
}

.yp-event-video-player iframe {
    width: 100%;
    height: 490px;
    display: block;
}

.yp-event-video-content {
    background: #fff;
    padding: 30px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 20px 50px rgba(0,0,0,.05);
}

.yp-event-video-content h3 {
    margin-top: 0;
    margin-bottom: 15px;
    font-size: 19px;
}

.yp-event-video-content p {
    margin: 0;
    line-height: 2;
    color: #666;
    font-size: 14px;
}

.yp-event-video-list {
    background: #fff;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 15px 40px rgba(0,0,0,.06);
    height: 100%;
    max-height: 770px;
    overflow: auto;
    border:1px solid #eee;
}

.yp-video-item {
    display: flex;
    gap: 15px;
    padding: 14px;
    border-radius: 18px;
    cursor: pointer;
    transition: .3s;
    margin-bottom: 15px;
    border: 1px solid transparent;
}

.yp-video-item:last-child {
    margin-bottom: 0;
}

.yp-video-item:hover {
    background: #f6f9ff;
}

.yp-video-item.active {
    background: #f0f7ff;
    border-color: #cfe7ff;
}

.yp-video-thumb {
    width: 140px;
    min-width: 140px;
    height: 95px;
}

.yp-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.yp-video-play {
    position: absolute;
    inset: 0;
    margin: auto;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,.6);
    color: #fff;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    font-size: 14px;
}

.yp-video-info h4 {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.7;
}

.yp-video-info p {
    margin: 0;
    color: #777;
    line-height: 1.8;
    font-size: 13px;
}

.yp-video-wrapper iframe {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px 10px 0 0;

}
.yp-video-wrapper video {
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: 10px 10px 0 0;
}
.yp-video-wrapper{
    width:100%;
    margin-bottom: -55px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
}

.yp-video-wrapper .wp-video,
.yp-video-wrapper video,
.yp-video-wrapper .mejs-container,
.yp-video-wrapper .mejs-overlay,
.yp-video-wrapper .mejs-mediaelement,
.yp-video-wrapper .mejs-video{
    width:100% !important;
    max-width:100% !important;
}

.yp-video-wrapper .wp-video{
    aspect-ratio:16/9;
}

.yp-video-wrapper video,
.yp-video-wrapper .mejs-container{
    width:100% !important;
    height:100% !important;
    aspect-ratio:16/9;
    object-fit:cover;
}
.kicker-hidden {
    visibility: hidden;
    opacity: 0;
}


.yp-post-gallery .yp-gallery-item{
    position:relative;
    display:block;
    aspect-ratio:1/1;
    overflow:hidden;
    border-radius:14px;
    background:#f5f5f5;
    box-shadow:0 5px 18px rgba(0,0,0,.08);
    transition:.35s;
    margin-bottom: 20px;
}

.yp-post-gallery .yp-gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .45s ease;
    margin: 0;
}

.yp-post-gallery .yp-gallery-item::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.25);
    opacity:0;
    transition:.3s;
    z-index:1;
}

.yp-post-gallery .yp-gallery-item::after{
    content:"+";
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-size:42px;
    font-weight:300;
    opacity:0;
    transform:scale(.8);
    transition:.3s;
    z-index:2;
}

.yp-post-gallery .yp-gallery-item:hover{
    transform:translateY(-4px);
    box-shadow:0 15px 35px rgba(0,0,0,.15);
}

.yp-post-gallery .yp-gallery-item:hover img{
    transform:scale(1.08);
}

.yp-post-gallery .yp-gallery-item:hover::before,
.yp-post-gallery .yp-gallery-item:hover::after{
    opacity:1;
    transform:scale(1);
}

.yp-article-hero.post-video .excerpt {
  color: #444;
  width: 100%;
  max-width: 100%;
  font-size: 14px;
}
.yp-article-hero.post-video {
  margin-bottom: -46px;
  z-index: 0;
  padding-bottom: 24px;
}
.yp-article-hero.post-video .content {
  position: relative;
  background: #fff;
  z-index: 0;
  color: #444;
  padding-right: 15px;
  padding-left: 15px;

}
.yp-article-hero.post-video .cat {
  visibility: hidden;
  opacity: 0;
  height: 0;
}
.press-image img {
  border-radius: 15px;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.071);
}
.press-image a {
  display: block;
}
.yp-press-content {
  margin-bottom: 23px;
  font-size: 14px;
}
.yp-press-content .yp-news-kicker {
  margin-bottom: 8px;
}
.yp-press-content h1 {
  margin-bottom: 8px;
}

.yp-article-hero.academy-hero-post {
    margin-bottom: -24px;
    z-index: 0;
    padding-bottom: 24px;
}
.yp-post-body.yp-content-formater.academy-post-content {
  border-radius: 0 0 20px 20px;
}

.yp-academy-mag {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.yp-academy-mag img {
  min-width: 35%;
}
.yp-academy-mag-info {
  width: 65%;
}

.yp-academy-mag-info .excerpt {
  margin: 21px 0px;
  line-height: 2;
  font-size: 15px;
}

.yp-related-videos{
    display:flex;
    flex-direction:column;
    gap:14px;
}

.yp-related-videos .item{
    display:flex;
    align-items:center;
    gap:16px;
    text-decoration:none;
    background:#fff;
    border:1px solid #e9ecef;
    border-radius:14px;
    padding:10px;
    transition:.25s;
    overflow:hidden;
}



.yp-related-videos .item:hover{
    border-color:var(--primary-color);
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transform:translateY(-2px);
}

.yp-related-videos .thumb{
    position:relative;
    width:170px;
    min-width:170px;
    aspect-ratio:16/11;
    border-radius:10px;
    overflow:hidden;
    background:#f5f5f5;
}

.item.item-type-download .thumb,
.item.item-type-article .thumb {
  width: 85px;
  height: 85px;
  aspect-ratio: 1/1;
  min-width: 85px;
  min-height: 85px;
}

.yp-academy-mag img {
  border-radius: 20px;
}

.yp-related-videos .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.35s;
}

.yp-related-videos .item:hover .thumb img{
    transform:scale(1.08);
}

.yp-related-videos .play-icon{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:48px;
    height:48px;
    border-radius:50%;
    background:var(--primary-color);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:18px;
    transition:.3s;
}

.yp-related-videos .item:hover .play-icon{
    transform:translate(-50%,-50%) scale(1.12);
}

.yp-related-videos .item>span{
    flex:1;
    color:#222;
    font-size:14px;
    font-weight:700;
    line-height:1.8;
    transition:.25s;
}
.yp-download-item a span {
  margin: 0 10px;
  font-size: 13px;
}
.yp-related-videos .item:hover>span{
    color:var(--primary-color);
}


.yp-academy-locked{
    text-align: center;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.yp-academy-locked::before{
    content:'';
    position:absolute;
    top:-80px;
    left:-80px;
    width:180px;
    height:180px;
    background:rgba(220,38,38,.06);
    border-radius:50%;
}

.yp-academy-locked::after{
    content:'';
    position:absolute;
    bottom:-70px;
    right:-70px;
    width:160px;
    height:160px;
    background:rgba(37,99,235,.05);
    border-radius:50%;
}

.yp-academy-locked i{
    width:90px;
    height:90px;
    display:flex;
    align-items:center;
    justify-content:center;
    margin:0 auto 25px;
    border-radius:50%;
    background:var(--primary-color);
    color:#fff;
    font-size:36px;
    box-shadow:0 10px 25px rgba(25, 101, 215, 0.3);
    position:relative;
    z-index:2;
}

.yp-academy-locked p{
    margin:0 0 30px;
    font-size:17px;
    line-height:2;
    color:#4b5563;
    position:relative;
    z-index:2;
}

.yp-academy-locked .yp-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    min-width:180px;
    height:52px;
    padding:0 28px;
    border-radius:12px;
    background:var(--primary-color);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.3s;
    position:relative;
    z-index:2;
    box-shadow:0 10px 25px rgba(215,25,32,.25);
}

.yp-academy-locked .yp-btn:hover{
    background:var(--primary-color);
    color:#fff;
    transform:translateY(-3px);
    box-shadow:0 16px 35px rgba(25, 101, 215, 0.35);
    text-decoration: none;
}

.yp-academy-locked .yp-btn::before{
    content:"\f2f6";
    font-family:"Font Awesome 7 Pro";
    font-weight:400;
}


.yp-academy-video-item{
    display:block;
    text-decoration:none;
}

.yp-academy-video-item .thumb{
    position:relative;
    overflow:hidden;
    border-radius:18px;
    aspect-ratio:16/9;
    background:#f4f4f4;
    box-shadow:0 12px 35px rgba(0,0,0,.08);
}

.yp-academy-video-item .thumb img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:.45s;
}

.yp-academy-video-item:hover .thumb img{
    transform:scale(1.08);
}

.yp-academy-video-item .thumb::after{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(to top,rgba(0,0,0,.35),transparent 55%);
}

.yp-academy-video-item .play{
    position:absolute;
    top:50%;
    left:50%;
    transform:translate(-50%,-50%);
    width:72px;
    height:72px;
    border-radius:50%;
    background:var(--primary-color);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:26px;
    z-index:2;
    transition:.35s;
    box-shadow:0 12px 30px rgba(220,38,38,.35);
}

.yp-academy-video-item:hover .play{
    transform:translate(-50%,-50%) scale(1.12);
    background:var(--primary-color);
}

.yp-academy-video-item h3{
    margin:18px 0 0;
    font-size:18px;
    font-weight:700;
    line-height:1.8;
    color:#222;
    transition:.25s;
}

.yp-academy-video-item:hover h3{
    color:var(--primary-color);
}

.yp-academy-video-item h3 {
  margin: 10px 0 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  color: #222;
  transition: .25s;
  text-align: center;
}


.yp-academy-download-item{
    display:block;
    text-decoration:none;
}

.yp-academy-download-item .thumb{
    position:relative;
    overflow:hidden;
    border-radius:16px;
    aspect-ratio:3/4;
    background:#fff;
    box-shadow:
        0 15px 35px rgba(0,0,0,.10),
        0 2px 5px rgba(0,0,0,.05);
    transition:.35s;
}

.yp-academy-download-item .thumb img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    transition:.45s;
}

.yp-academy-download-item:hover .thumb{
    transform:translateY(-6px) rotate(-1deg);
    box-shadow:
        0 25px 45px rgba(0,0,0,.15),
        0 8px 18px rgba(0,0,0,.08);
}

.yp-academy-download-item:hover img{
    transform:scale(1.04);
}

.yp-academy-download-item .download-icon{
    position:absolute;
    left:15px;
    bottom:15px;
    width:46px;
    height:46px;
    border-radius:12px;
    background:rgba(37,99,235,.95);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:20px;
    backdrop-filter:blur(8px);
    box-shadow:0 10px 25px rgba(37,99,235,.35);
}

.yp-academy-download-item h3{
    margin:18px 0 0;
    font-size:15px;
    line-height:1.8;
    font-weight:700;
    color:#222;
    transition:.25s;
}

.yp-academy-download-item:hover h3{
    color:#2563eb;
}


.yp-academy-article-item{
    display:block;
    overflow:hidden;
    border-radius:18px;
    background:#fff;
    text-decoration:none;
    box-shadow:0 10px 35px rgba(0,0,0,.08);
    transition:.35s;
    height:100%;
}

.yp-academy-article-item:hover{
    transform:translateY(-6px);
    box-shadow:0 20px 45px rgba(0,0,0,.12);
}

.yp-academy-article-item .thumb{
    overflow:hidden;
    aspect-ratio:16/9;
    background:#f3f3f3;
}

.yp-academy-article-item .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    transition:.45s;
}

.yp-academy-article-item:hover .thumb img{
    transform:scale(1.08);
}

.yp-academy-article-item .content{
    padding:22px;
}

.yp-academy-article-item h3{
    margin:0;
    color:#222;
    font-size:20px;
    font-weight:700;
    line-height:1.7;
    transition:.25s;
}

.yp-academy-article-item:hover h3{
    color:#16a34a;
}

.yp-academy-article-item p{
    margin:14px 0 22px;
    color:#666;
    line-height:2;
    font-size:14px;
}

.yp-academy-article-item .read-more{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:14px;
    font-weight:700;
    color:#16a34a;
    transition:.25s;
}

.yp-academy-article-item:hover .read-more{
    gap:14px;
}

.yp-article-hero.academy-hero-post.post-article .excerpt {
  background: none !important;
  padding: 0 !important;
}

.yp-article-hero.academy-hero-post.post-article {
  margin-bottom: 20px;
}

.yp-post-body.yp-content-formater.academy-post-content {
  border-radius: 26px;
}
.yp-academy-group.yp-article,
.yp-academy-group.yp-download,
.yp-academy-group.yp-video {
  width: 100%;
  margin: 25px 0;
}
@media(max-width:768px){

    .yp-academy-article-item h3{
        font-size:17px;
    }

    .yp-academy-article-item .content{
        padding:18px;
    }

}

@media(max-width:768px){

    .yp-academy-download-item h3{
        font-size:15px;
    }

    .yp-academy-download-item .download-icon{
        width:40px;
        height:40px;
        font-size:18px;
    }

}

@media(max-width:768px){

    .yp-academy-video-item .play{
        width:56px;
        height:56px;
        font-size:20px;
    }

    .yp-academy-video-item h3{
        font-size:16px;
    }

}

@media(max-width:768px){

    .yp-academy-locked{
        margin:25px 0;
        padding:30px 20px;
    }

    .yp-academy-locked i{
        width:72px;
        height:72px;
        font-size:28px;
    }

    .yp-academy-locked p{
        font-size:15px;
    }

    .yp-academy-locked .yp-btn{
        width:100%;
    }

}

@media(max-width:768px){

    .yp-related-videos .item{
        gap:12px;
        padding:8px;
    }

    .yp-related-videos .thumb{
        width:120px;
        min-width:120px;
    }

    .yp-related-videos .item>span{
        font-size:14px;
    }

    .yp-related-videos .play-icon{
        width:40px;
        height:40px;
        font-size:15px;
    }

}


@media(max-width:992px){

    .yp-event-video-player iframe {
        height: 420px;
    }

    .yp-event-video-list {
        margin-top: 25px;
        max-height: initial;
    }

   .yp-event-video-player {
        aspect-ratio: 16/9;
    }
    .yp-event-title,
    .yp-event-single .h2-title , .yp-event-video-content h3 {
        font-size: 18px;
    }

}
