/* Shared Polish for Non-Default Themes: Header Dropdowns, Guru Marquee, Arch Banner */
.lp-nav-dropdown { position: relative; }
.lp-nav-drop-btn { background: none; border: 0; font: inherit; color: inherit; display: inline-flex; align-items: center; gap: 6px; padding-block: 10px; cursor: pointer; white-space: nowrap; }
.lp-nav-drop-btn i { font-size: 10px; opacity: .6; transition: transform .2s; }
.lp-nav-dropdown:hover .lp-nav-drop-btn i, .lp-nav-dropdown:focus-within .lp-nav-drop-btn i { transform: rotate(180deg); }
.lp-nav-drop-menu { position: absolute; top: 100%; left: 0; min-width: 225px; background: rgba(255,255,255,.98); backdrop-filter: blur(12px); border: 1px solid #e2e8f0; border-radius: 16px; padding: 8px; box-shadow: 0 18px 40px rgba(15,23,42,.12); opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .22s ease; z-index: 60; }
.lp-nav-dropdown:hover .lp-nav-drop-menu, .lp-nav-dropdown:focus-within .lp-nav-drop-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.lp-nav-drop-menu a { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 10px; font-size: .86rem; font-weight: 600; color: #334155; white-space: nowrap; }
.lp-nav-drop-menu a:hover { background: #f1f5f9; color: #0f172a; }
.lp-nav-drop-menu a i { width: 18px; text-align: center; opacity: .85; }
.lp-nav-ppdb { color: #059669 !important; font-weight: 800 !important; }
.lp-header-pwa-icon { width: 40px; height: 40px; padding: 0 !important; justify-content: center; border-radius: 50% !important; }

/* Non-round Teacher Cards + Continuous Marquee Slider */
.lp-teacher-marquee-wrap { position: relative; overflow: hidden; padding-block: 8px; -webkit-mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.lp-teacher-marquee-track { display: flex; gap: 20px; width: max-content; animation: lpTeacherMarquee var(--lp-guru-duration, 40s) linear infinite; will-change: transform; }
.lp-teacher-marquee-wrap:hover .lp-teacher-marquee-track, .lp-teacher-marquee-wrap:focus-within .lp-teacher-marquee-track { animation-play-state: paused; }
.lp-teacher-marquee-group { display: flex; gap: 20px; flex-shrink: 0; }
@keyframes lpTeacherMarquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.lp-teacher-marquee-group .lp-bento-tcard { width: 220px; flex-shrink: 0; padding: 14px; text-align: left; align-items: stretch; border-radius: 18px; }
.lp-teacher-marquee-group .lp-teacher-photo-wrap { width: 100%; height: auto; aspect-ratio: 4 / 5; border-radius: 12px; padding: 0; margin-bottom: 12px; overflow: hidden; background: #f1f5f9; }
.lp-teacher-marquee-group .lp-teacher-photo { width: 100%; height: 100%; border-radius: 12px; object-fit: cover; object-position: top; border: 0 !important; }
.lp-teacher-marquee-group .lp-bento-tcard-top { margin-bottom: 10px; }

/* Program Icon Header & Editorial News Placeholder (No Gallery Fallback) */
.lp-program-icon-head { height: 112px; display: flex; align-items: center; justify-content: space-between; padding: 18px 20px; background: linear-gradient(135deg, #ecfdf5 0%, #fef9c3 100%); border-bottom: 1px solid rgba(184,154,88,.25); }
.lp-modern .lp-program-icon-head { background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%); border-bottom-color: #e2e8f0; }
.lp-program-icon-badge { width: 54px; height: 54px; border-radius: 14px; background: #064e3b; color: #fef08a; display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 8px 20px rgba(6,78,59,.18); }
.lp-modern .lp-program-icon-badge { background: #0284c7; color: #ffffff; box-shadow: 0 8px 20px rgba(2,132,199,.2); }
.lp-program-num { font-family: 'Playfair Display', serif; font-size: 1.75rem; font-weight: 700; color: rgba(6,78,59,.18); }
.lp-modern .lp-program-num { font-family: 'Plus Jakarta Sans', sans-serif; color: rgba(2,132,199,.18); }
.lp-news-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%); color: #64748b; font-size: .78rem; font-weight: 700; }
.lp-madrasah .lp-news-placeholder { background: linear-gradient(135deg, #ecfdf5 0%, #fef3c7 100%); color: #064e3b; }
.lp-news-placeholder i { font-size: 1.75rem; opacity: .75; }

/* Improved Madrasah Arch Banner */
.lp-madrasah-arch-frame { border: 4px solid #b89a58; outline: 2px solid rgba(6,78,59,.18); outline-offset: 6px; background: linear-gradient(160deg, #064e3b 0%, #065f46 55%, #115e59 100%); }
.lp-madrasah-arch-inner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6,78,59,.85) 0%, rgba(6,78,59,.18) 45%, transparent 100%); pointer-events: none; z-index: 1; }
.lp-madrasah-corner-badge { position: absolute; top: 26px; left: 50%; transform: translateX(-50%); z-index: 2; background: rgba(255,255,255,.92); backdrop-filter: blur(8px); color: #064e3b; border: 1px solid rgba(184,154,88,.6); padding: 6px 14px; border-radius: 9999px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.lp-madrasah-quote-box { z-index: 2; left: 16px; right: 16px; bottom: 16px; max-width: none; border-radius: 14px; background: rgba(6,78,59,.9); backdrop-filter: blur(10px); padding: 16px 20px; border: 1px solid rgba(212,175,55,.55); }
.lp-madrasah-hero-empty { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 32px; color: #fef3c7; gap: 10px; }
.lp-madrasah-hero-empty i { font-size: 3rem; color: #d4af37; }
.lp-madrasah-hero-empty strong { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: #ffffff; }

@media (prefers-reduced-motion: reduce) {
    .lp-teacher-marquee-wrap { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
    .lp-teacher-marquee-track { animation: none; }
    .lp-teacher-marquee-clone { display: none; }
}

