.yt-gallery-area{padding:30px 0 70px;background:transparent;}
.yt-video-item{background:#fff;border-radius:18px;overflow:hidden;box-shadow:none;}
.yt-gallery-carousel .owl-stage{display:flex;}
.yt-gallery-carousel .owl-item{display:flex;height:auto;}
.yt-gallery-carousel .yt-video-item{display:flex;flex-direction:column;height:100%;width:100%;}
.yt-thumb-wrap{flex-shrink:0;}
.yt-video-thumb{position:relative;aspect-ratio:16/9;background:#0f172a;overflow:hidden;}
.yt-video-thumb img,.yt-video-thumb iframe{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border:0;}
.yt-video-thumb iframe{display:none;}
.yt-video-item.yt-playing iframe{display:block;}
.yt-video-item.yt-playing img,.yt-video-item.yt-playing .yt-play-overlay{display:none;}
.yt-play-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:linear-gradient(180deg,rgba(0,0,0,.1),rgba(0,0,0,.35));}
.yt-play-btn{width:64px;height:64px;border-radius:999px;border:1px solid rgba(255,255,255,.8);background:rgba(255,255,255,.94);color:#f97316;font-size:30px;display:flex;align-items:center;justify-content:center;transition:.25s ease;}
.yt-play-btn:hover{transform:scale(1.08);background:#f97316;color:#fff;}
.yt-video-caption{padding:18px 20px;}
.yt-video-caption{display:flex;flex-direction:column;min-height:92px;}
.yt-video-caption h5,.yt-video-caption h4{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    line-height:1.35;
    min-height:2.7em;
}
.yt-video-caption h4{font-size:18px;font-weight:700;margin:0 0 6px;color:#0f172a;}
.yt-video-caption p{
    font-size:14px;
    margin:0;
    color:#64748b;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
    line-height:1.45;
    min-height:2.9em;
}
.rcb-like-btn,.rcb-comment-btn{border-radius:999px!important;font-weight:600!important;transition:.2s ease!important;}
.rcb-like-btn:hover,.rcb-comment-btn:hover,.rcb-like-btn.active{background:#f97316!important;color:#fff!important;transform:translateY(-1px);}
.rcb-center-school-photo{height: 170px;
    margin: -1px -15px 0px;
    overflow: hidden;
    border-radius: 18px 18px 0 0;
    background: #111827;
    width: calc(100% + 30px);}
.rcb-center-school-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;}
.feature-area.one .single-feature-box:has(.rcb-center-school-photo){padding-top:0;overflow:hidden;}
.student-card .student-thumb img{object-position:top center!important;}
.rcb-empty-card{min-height:220px;display:flex;align-items:center;justify-content:center;text-align:center;border:1px dashed rgba(148,163,184,.5);border-radius:18px;padding:28px;background:rgba(255,255,255,.92);color:#475569;font-weight:700;box-shadow:0 14px 35px rgba(15,23,42,.08);}
.rcb-student-tabs{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:8px 0 26px;}
.rcb-student-tabs button{border:1px solid rgba(15,23,42,.12);border-radius:999px;background:#fff;color:#334155;font-weight:700;padding:9px 16px;line-height:1;box-shadow:0 10px 24px rgba(15,23,42,.08);transition:.2s ease;}
.rcb-student-tabs button:hover,.rcb-student-tabs button.active{background:#f7a81c;border-color:#f7a81c;color:#111827;transform:translateY(-1px);}
.yt-engagement{margin-top:14px;border-top:1px solid rgba(15,23,42,.10);padding-top:12px;}
.yt-engagement-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;}
.yt-like-btn,.yt-comment-toggle{border:0;border-radius:999px;padding:7px 11px;font-size:13px;font-weight:700;cursor:pointer;}
.yt-like-btn{background:#fff3e8;color:#c4560b;}
.yt-comment-toggle{background:#eef2ff;color:#3730a3;}
.yt-comment-form{display:none;gap:6px;width:100%;margin-top:9px;grid-template-columns:minmax(0,1fr);}
.yt-comment-form input{border:1px solid #dbe3ef;border-radius:10px;padding:8px 10px;font-size:13px;min-width:0;}
.yt-comment-form button{grid-column:1 / -1;border:0;border-radius:10px;background:#0f172a;color:#fff;padding:8px 11px;font-size:13px;font-weight:700;}
.yt-comments-list{margin-top:10px;display:grid;gap:8px;}
.yt-comment,.yt-no-comments{border-radius:12px;background:#f8fafc;padding:9px 10px;font-size:12px;color:#475569;}
.yt-comment strong{display:block;color:#0f172a;margin-bottom:3px;}
.yt-comment p{margin:0!important;color:#475569!important;font-size:12px!important;}
.yt-comment-summary{font-size:13px;color:#475569;font-weight:600;}
.rcb-view-more-link{display:inline-block;font-size:13px;color:#b45309;text-decoration:underline;font-weight:600;}
.rcb-view-more-link:hover{color:#92400e;}

/* Ensure key project text is readable on light theme cards */
.project-card .project-by{color:#4b5563!important;}
.project-card .project-name{color:#111827!important;}
.project-card .project-grade{color:#374151!important;}
.single-project-box .project-content h3{color:#111827!important;}
.single-project-box .project-content h4{color:#b45309!important;}
.project-card .project-btn a.orange-color{color:#111827!important;font-weight:700!important;}
.project-card .project-btn a.orange-color:hover{color:#b45309!important;}
.project-card .project-name .project-title-link{color:#111827!important;text-decoration:none!important;font-weight:700!important;}
.project-card .project-name .project-title-link:hover{color:#b45309!important;text-decoration:underline!important;}
.projects_list .owl-stage{display:flex;}
.projects_list .owl-item{display:flex;height:auto;}
.projects_list .project-card{display:flex;flex-direction:column;height:100%;width:100%;}
.projects_list .project-info{display:flex;flex-direction:column;flex:1;min-height:220px;}
.projects_list .project-btn{margin-top:auto;}
.students_list .student-info .student-meta-line{font-size:13px!important;line-height:1.35!important;color:#64748b!important;margin-bottom:4px!important;}
.rcb-committee-heading{font-size:42px!important;line-height:1.15;}
.faculty_consultants .team-content p{margin:6px 0 0;}

/* Slow only the second homepage ticker row */
.tag-area.one.blue .marquee-block{
    -webkit-animation-duration: 84s;
    animation-duration: 84s;
}
