/*
Theme Name: EduKarsa
Theme URI: https://edukarsa.masbudi.my.id
Author: masbudikusuma
Author URI: https://masbudi.my.id
Description: Tema WordPress profesional untuk sekolah dan kampus (Gaya Modern Card Layout).
Fitur Unggulan Tema:
- Zero Plugin Dependency: Berjalan optimal tanpa ketergantungan plugin pihak ketiga (tanpa ACF, Elementor, atau plugin galeri).
- Modular Architecture: Berkas functions.php berfungsi murni sebagai pemanggil (router), seluruh fungsionalitas diisolasi di folder inc/.
- Hardened Security Native: Pengecekan eksekusi langsung, HTTP security headers, penonaktifan author enumeration, dan proteksi REST API.
- WCAG 2.1 Accessibility: Widget aksesibilitas bawaan dengan Web Speech API (suara baca audio) dan kontras tinggi.
- Multilingual Terpadu: Penerjemah instan sisi depan (ID, EN, AR, ZH, JA) serta panel admin dwibahasa.
- SEO & Structured Data: Skema data terstruktur JSON-LD native untuk visibilitas mesin pencari.
Version: 1.1.4
*/
:root {
--primary-color: #0b4a8e;
--secondary-color: #1a73e8;
--text-color: #334155;
--text-muted: #64748b;
--heading-color: #0f172a;
--bg-light-blue: #f8fafc;
--bg-white: #ffffff;
--radius: 14px;
--shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
--font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}
/* 1. RESET & DASAR */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
font-family: var(--font-main);
color: var(--text-color);
background-color: var(--bg-white);
line-height: 1.7;
font-size: 16px;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
top: 0px !important;
position: static !important;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--primary-color); transition: 0.3s; }
h1, h2, h3, h4, h5, h6 { color: var(--heading-color); font-weight: 800; line-height: 1.3; }
/* 2. LAYOUT UTAMA */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-white { color: #fff !important; }
.edukarsa-section { padding: 50px 0; }
.section-title { font-size: 30px; color: var(--heading-color); margin-bottom: 12px; font-weight: 800; letter-spacing: -0.5px; }
/* 3. HEADER & NAV */
.site-header { position: sticky; top: 0; z-index: 999; box-shadow: 0 4px 15px rgba(0,0,0,0.12); padding: 15px 0; background-color: var(--primary-color); }
.header-container { display: flex; justify-content: space-between; align-items: center; }
.logo-link { display: flex; align-items: center; gap: 15px; color: #fff; }
.site-title { margin: 0; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.header-nav-wrap { display: flex; align-items: center; gap: 20px; }
.nav-menu-custom { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; }
.nav-menu-custom li a { display: block; color: #ffffff; font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 0.8px; padding: 10px 0; }
.nav-menu-custom li a:hover { color: #f39c12; }
/* DROPDOWN */
.nav-menu-custom li { position: relative; }
.nav-menu-custom .sub-menu {
position: absolute;
top: 100%;
left: 0;
background-color: var(--primary-color);
min-width: 220px;
padding: 10px 0;
border-radius: 0 0 8px 8px;
box-shadow: 0 10px 25px rgba(0,0,0,0.2);
opacity: 0;
visibility: hidden;
transform: translateY(15px);
transition: all 0.3s ease;
z-index: 1000;
}
.nav-menu-custom li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-menu-custom .sub-menu li a { padding: 10px 20px; font-size: 14px; text-transform: none; border-bottom: 1px solid rgba(255,255,255,0.05); }
.nav-menu-custom .sub-menu li:last-child a { border-bottom: none; }
.nav-menu-custom .sub-menu .sub-menu { top: 0; left: 100%; transform: translateX(15px); }
.nav-menu-custom .sub-menu li:hover > .sub-menu { transform: translateX(0); }
/* 4. SLIDER */
.edukarsa-hero-slider { padding: 0; }
.slider-container { position: relative; width: 100%; overflow: hidden; }
.slider-wrapper { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -ms-overflow-style: none; scroll-behavior: smooth; }
.slider-wrapper::-webkit-scrollbar { display: none; }
.slide-item { flex: 0 0 100%; position: relative; scroll-snap-align: center; }
/* 5. KOMPONEN UMUM */
.bg-light-blue { background-color: var(--bg-light-blue); }
.bg-dark-blue { background-color: var(--primary-color); }
.card-style { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(226, 232, 240, 0.9); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-style:hover { transform: translateY(-4px); box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1); }
.top-border-blue { border-top: 4px solid var(--primary-color); }
.title-underline { width: 50px; border: 2px solid #f39c12; margin: 10px auto 25px; }
/* BUTTONS */
.btn-primary { display: inline-block; background-color: var(--primary-color); color: #ffffff !important; padding: 12px 30px; border-radius: 50px; font-weight: 700; font-size: 14px; letter-spacing: 0.3px; border: none; cursor: pointer; }
.btn-primary:hover { background-color: var(--secondary-color); color: #ffffff !important; transform: translateY(-2px); }
.btn-light { background-color: #ffffff !important; color: var(--primary-color) !important; }
.btn-light:hover { background-color: #f8fafc !important; color: var(--primary-color) !important; }
.btn-outline-primary { display: inline-block; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 700; }
.btn-outline-primary:hover { background-color: var(--primary-color); color: #fff; }
.badge-title { display: inline-block; color: var(--secondary-color); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
/* 6. GRID SYSTEM BERANDA */
.edukarsa-stats { padding: 0; position: relative; z-index: 20; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: -95px; margin-bottom: 0; }
.stat-card-modern { padding: 32px 28px; text-align: left; border-radius: 18px; border-top: 5px solid var(--secondary-color); background: #fff; }
.stat-icon-wrapper { width: 55px; height: 55px; background-color: #f1f5f9; border-radius: 14px; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; font-size: 24px; }
.stat-icon-wrapper img { width: 28px; height: 28px; object-fit: contain; }
.stat-card-modern .stat-number { font-size: 40px; font-weight: 800; color: var(--primary-color); margin-bottom: 4px; line-height: 1; }
.stat-card-modern .stat-title { font-size: 17px; font-weight: 800; color: var(--heading-color); margin-bottom: 6px; }
.stat-card-modern .stat-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.edukarsa-sambutan { padding: 45px 0 50px; }
.sambutan-grid { display: grid; grid-template-columns: 360px 1fr; gap: 50px; align-items: start; }
.sambutan-text { color: #475569; font-size: 15px; line-height: 1.8; margin-bottom: 25px; }
.milestone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.program-card { padding: 30px 22px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 25px; }
.video-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 4px solid rgba(255,255,255,0.25); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #e74c3c; color: white; padding: 18px; border-radius: 50%; font-size: 22px; cursor: pointer; }
/* PARALLAX */
.parallax-section-wrapper { position: relative; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; }
.parallax-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; background-color: var(--primary-color); opacity: 0.92; }
.relative-z2 { position: relative; z-index: 2; }
/* KEUNGGULAN */
.keunggulan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; margin-top: 25px; }
.keunggulan-card { position: relative; padding: 25px 28px; display: flex; align-items: flex-start; overflow: hidden; }
.keunggulan-number { position: absolute; top: 8px; right: 12px; font-size: 64px; font-weight: 900; color: rgba(11, 74, 142, 0.07); line-height: 1; z-index: 0; }
.keunggulan-content-inner { position: relative; z-index: 1; }
.keunggulan-content-inner h4 { color: var(--primary-color); margin-bottom: 8px; font-size: 17px; }
/* FLOATING CTA */
.edukarsa-cta-floating-section { position: relative; z-index: 15; margin-top: -45px; margin-bottom: 20px; }
.cta-floating-card {
background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
border-radius: 20px;
padding: 35px 45px;
display: flex;
justify-content: space-between;
align-items: center;
box-shadow: 0 18px 40px rgba(0,0,0,0.18);
border: 1px solid rgba(255,255,255,0.2);
}
.cta-floating-title { font-size: 26px; font-weight: 800; color: #ffffff; margin: 0; letter-spacing: -0.5px; }
.cta-btn-custom { padding: 14px 34px; font-size: 15px; font-weight: 800; box-shadow: 0 4px 15px rgba(0,0,0,0.15); }
/* NEWS */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-content { padding: 22px; display: flex; flex-direction: column; flex-grow: 1; }
.news-title { font-size: 17px; margin-bottom: 10px; line-height: 1.4; font-weight: 700; }
/* FAQ ACCORDION SECTION */
.edukarsa-faq-section { padding: 60px 0 80px; background-color: #f8fafc; }
.faq-accordion-container { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #ffffff; border-radius: var(--radius); border: 1px solid #e2e8f0; box-shadow: 0 4px 15px rgba(0,0,0,0.03); overflow: hidden; transition: all 0.25s ease; }
.faq-item:hover { border-color: var(--secondary-color); box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08); }
.faq-header { width: 100%; padding: 22px 26px; background: transparent; border: none; outline: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; text-align: left; }
.faq-title { font-size: 16px; font-weight: 700; color: var(--heading-color); margin: 0; line-height: 1.45; transition: color 0.2s ease; }
.faq-item:hover .faq-title, .faq-item.active .faq-title { color: var(--primary-color); }
.faq-icon { width: 26px; height: 26px; border-radius: 50%; background: #f1f5f9; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; font-weight: 800; color: var(--primary-color); transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease; line-height: 1; }
.faq-item.active .faq-icon { background: var(--primary-color); color: #ffffff; transform: rotate(45deg); }
.faq-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease; padding: 0 26px; color: var(--text-color); font-size: 15px; line-height: 1.75; }
.faq-body-content p { margin-bottom: 0; }
.faq-body-content p + p { margin-top: 10px; }
.faq-item.active .faq-body { max-height: 400px; padding: 0 26px 22px; }
/* 7. IMAGE LOCKS */
.img-wrapper-slider { height: 580px; width: 100%; overflow: hidden; position: relative; }
.img-wrapper-landscape { aspect-ratio: 16/10; width: 100%; overflow: hidden; position: relative; border-radius: 8px; }
.img-wrapper-video { aspect-ratio: 16/9; width: 100%; overflow: hidden; position: relative; border-radius: 10px; }
.img-wrapper-portrait { aspect-ratio: 3/4; width: 100%; max-width: 360px; overflow: hidden; position: relative; border-radius: 16px; box-shadow: var(--shadow); }
.img-wrapper-slider img, .img-wrapper-landscape img, .img-wrapper-video img, .img-wrapper-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.img-placeholder { width: 100%; height: 100%; background-color: #f1f5f9; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--text-muted); font-size: 14px; text-align: center; border: 2px dashed #cbd5e1; }
/* 8. FOOTER */
.site-footer { background: linear-gradient(180deg, var(--primary-color) 0%, #08284d 100%); color: #ffffff; padding: 70px 0 0; border-top: 5px solid var(--secondary-color); }
.footer-grid-wrapper { display: grid; grid-template-columns: 1.4fr 1.1fr 0.9fr 1fr; gap: 40px; padding-bottom: 50px; }
.footer-col-title { color: #ffffff; font-size: 17px; font-weight: 700; margin-bottom: 22px; position: relative; padding-bottom: 10px; letter-spacing: -0.2px; }
.footer-col-title::after { content: ''; position: absolute; bottom: 0; left: 0; width: 35px; height: 3px; background-color: var(--secondary-color); border-radius: 2px; }
.footer-brand-desc { font-size: 14px; color: rgba(255,255,255,0.8); line-height: 1.7; margin-bottom: 20px; }
.footer-hours-box { display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,0.06); padding: 12px 16px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); }
.hours-icon { font-size: 22px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 15px; font-size: 14px; color: rgba(255,255,255,0.85); line-height: 1.6; }
.footer-contact-list li a { color: rgba(255,255,255,0.9); }
.footer-contact-list li a:hover { color: #f39c12; }
.f-icon { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-links-custom { list-style: none; padding: 0; margin: 0; }
.footer-links-custom li { margin-bottom: 12px; }
.footer-links-custom li a { color: rgba(255,255,255,0.82); font-size: 14px; transition: all 0.25s ease; display: inline-flex; align-items: center; gap: 8px; }
.footer-links-custom li a::before { content: '›'; font-size: 16px; color: var(--secondary-color); font-weight: bold; transition: transform 0.2s; }
.footer-links-custom li a:hover { color: #ffffff; padding-left: 5px; }
.footer-links-custom li a:hover::before { transform: translateX(3px); color: #f39c12; }
.footer-social-icons { display: flex; gap: 10px; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.08); color: #ffffff !important; border: 1px solid rgba(255,255,255,0.15); transition: all 0.25s ease; }
.social-btn:hover { background: var(--secondary-color); transform: translateY(-3px); box-shadow: 0 8px 18px rgba(0,0,0,0.25); border-color: transparent; }
.footer-bottom-bar { border-top: 1px solid rgba(255,255,255,0.08); padding: 22px 0; background: rgba(0,0,0,0.15); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 15px; }
.copyright-text { margin: 0; font-size: 13px; color: rgba(255,255,255,0.65); }
.footer-bottom-badge { font-size: 12px; color: rgba(255,255,255,0.5); font-weight: 500; }
/* 9. SINGLE & SIDEBAR */
.single-layout-wrapper { display: grid; grid-template-columns: 2.6fr 1fr; gap: 35px; align-items: start; }
.sidebar-widget { padding: 25px; margin-bottom: 25px; }
.sidebar-widget-title { font-size: 18px; font-weight: 800; color: var(--heading-color); margin-bottom: 18px; border-bottom: 2px solid var(--primary-color); padding-bottom: 8px; }
/* 10. TYPOGRAPHY KONTEN */
.entry-content { font-size: 16px; color: #334155; line-height: 1.85; }
.entry-content p { margin-bottom: 22px; }
.entry-content h2 { font-size: 26px; margin: 35px 0 15px; color: var(--heading-color); }
.entry-content h3 { font-size: 21px; margin: 28px 0 12px; color: var(--heading-color); }
.entry-content ul, .entry-content ol { margin: 0 0 24px 25px; }
.entry-content li { margin-bottom: 8px; }
.entry-content blockquote { margin: 30px 0; padding: 20px 25px; background: #f8fafc; border-left: 4px solid var(--primary-color); font-style: italic; color: #475569; border-radius: 0 8px 8px 0; }
/* 11. PAGINATION */
.pagination { margin-top: 45px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; align-items: center; }
.pagination .page-numbers { display: inline-block; padding: 9px 16px; background: #fff; color: var(--text-color); border: 1px solid #e2e8f0; border-radius: 8px; font-weight: 600; font-size: 14px; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background: var(--primary-color); color: #fff; border-color: var(--primary-color); }
/* 12. RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) { .footer-grid-wrapper { grid-template-columns: repeat(2, 1fr); gap: 35px; } }
@media (max-width: 992px) {
.single-layout-wrapper { grid-template-columns: 1fr; }
.program-grid, .milestone-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
.video-grid { grid-template-columns: 1fr; }
.sambutan-grid { grid-template-columns: 1fr; }
.cta-floating-card { flex-direction: column; text-align: center; gap: 20px; }
}
@media (max-width: 768px) {
.header-container { flex-direction: row; }
.nav-menu-custom { flex-wrap: wrap; justify-content: center; }
.footer-grid-wrapper { grid-template-columns: 1fr; gap: 30px; }
.footer-bottom-inner { flex-direction: column; text-align: center; }
.program-grid, .milestone-grid, .news-grid { grid-template-columns: 1fr; }
.stats-grid { grid-template-columns: 1fr; margin-top: -50px; gap: 16px; }
.edukarsa-sambutan { padding: 35px 0 40px; }
.img-wrapper-slider { height: 380px; }
.cta-floating-card { padding: 25px; }
.cta-floating-title { font-size: 20px; }
}
/* 13. MOBILE MENU TOGGLE & DRAWER */
.menu-toggle { display: none; background: transparent; border: none; cursor: pointer; padding: 10px; flex-direction: column; gap: 5px; z-index: 1001; }
.menu-toggle span { display: block; width: 26px; height: 3px; background-color: #ffffff; border-radius: 3px; transition: all 0.3s ease; }
.menu-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
@media (max-width: 768px) {
.menu-toggle { display: flex; }
.main-navigation {
position: fixed;
top: 0;
right: -100%;
width: 280px;
height: 100vh;
background: var(--primary-color);
box-shadow: -5px 0 25px rgba(0,0,0,0.3);
padding: 85px 25px 40px;
transition: right 0.35s ease-in-out;
z-index: 1000;
overflow-y: auto;
}
.main-navigation.active { right: 0; }
.nav-menu-custom { flex-direction: column; gap: 15px; align-items: flex-start; }
.nav-menu-custom li a { font-size: 15px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); width: 100%; }
}
/* 14. FLOATING WHATSAPP HOTLINE */
.edukarsa-wa-float {
position: fixed;
bottom: 25px;
right: 25px;
background-color: #25d366;
color: #ffffff !important;
padding: 10px 18px;
border-radius: 50px;
display: flex;
align-items: center;
gap: 8px;
font-size: 14px;
font-weight: 700;
box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
z-index: 998;
transition: all 0.3s ease;
}
.edukarsa-wa-float:hover {
background-color: #1ebc57;
transform: translateY(-3px) scale(1.03);
box-shadow: 0 12px 28px rgba(37, 211, 102, 0.5);
}
/* 15. BACK TO TOP BUTTON */
.back-to-top-btn {
position: fixed;
bottom: 25px;
left: 25px;
width: 44px;
height: 44px;
background-color: var(--primary-color);
color: #ffffff;
border: 2px solid rgba(255,255,255,0.2);
border-radius: 50%;
font-size: 14px;
cursor: pointer;
box-shadow: var(--shadow);
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
visibility: hidden;
transform: translateY(15px);
transition: all 0.3s ease;
z-index: 997;
}
.back-to-top-btn.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top-btn:hover { background-color: var(--secondary-color); transform: translateY(-3px); }
/* 16. MULTI-LANGUAGE SWITCHER */
.edukarsa-lang-switcher {
display: inline-flex;
align-items: center;
background: rgba(255, 255, 255, 0.12);
border: 1px solid rgba(255, 255, 255, 0.25);
padding: 3px 8px;
border-radius: 20px;
backdrop-filter: blur(4px);
}
.lang-btn {
background: transparent;
border: none;
color: rgba(255, 255, 255, 0.7);
font-size: 12px;
font-weight: 800;
letter-spacing: 0.5px;
cursor: pointer;
padding: 3px 6px;
border-radius: 12px;
transition: all 0.2s ease;
}
.lang-btn:hover { color: #ffffff; }
.lang-btn.active {
background: #ffffff;
color: var(--primary-color) !important;
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}
.lang-divider {
color: rgba(255, 255, 255, 0.3);
font-size: 11px;
user-select: none;
margin: 0 1px;
}
/* 17. BULLETPROOF GOOGLE TRANSLATE BANNER SUPPRESSION */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
#goog-gt-tt,
.goog-te-balloon-frame {
display: none !important;
visibility: hidden !important;
height: 0 !important;
width: 0 !important;
opacity: 0 !important;
}
body {
top: 0px !important;
position: static !important;
}
.goog-tooltip, .goog-tooltip:hover { display: none !important; }
.goog-text-highlight { background-color: transparent !important; box-shadow: none !important; }
font { background-color: transparent !important; box-shadow: none !important; }
/* 18. AKSESIBILITAS DISABILITAS WIDGET & EFFECT */
.edukarsa-a11y-wrapper { position: fixed; bottom: 80px; left: 25px; z-index: 998; }
.edukarsa-a11y-trigger {
width: 44px; height: 44px; border-radius: 50%;
background-color: var(--primary-color); color: #ffffff;
border: 2px solid rgba(255,255,255,0.25);
box-shadow: 0 4px 15px rgba(0,0,0,0.18);
display: flex; align-items: center; justify-content: center;
cursor: pointer; transition: all 0.25s ease;
}
.edukarsa-a11y-trigger:hover { background-color: var(--secondary-color); transform: scale(1.06); }
.edukarsa-a11y-panel {
position: absolute; bottom: 55px; left: 0;
width: 250px; background: #ffffff;
border: 1px solid #e2e8f0; border-radius: 12px;
box-shadow: 0 15px 35px rgba(15,23,42,0.18);
opacity: 0; visibility: hidden; transform: translateY(10px);
transition: all 0.25s ease; overflow: hidden;
}
.edukarsa-a11y-panel.active { opacity: 1; visibility: visible; transform: translateY(0); }
.a11y-panel-header {
background: #0f172a; color: #ffffff;
padding: 12px 16px; display: flex; justify-content: space-between; align-items: center;
}
.a11y-panel-header h4 { margin: 0; font-size: 13px; color: #ffffff; font-weight: 700; }
.a11y-close-btn { background: transparent; border: none; color: #ffffff; font-size: 18px; cursor: pointer; line-height: 1; }
.a11y-panel-body { padding: 14px 16px; display: flex; flex-direction: column; gap: 12px; }
.a11y-group { display: flex; flex-direction: column; gap: 6px; }
.a11y-label { font-size: 11px; font-weight: 700; color: #64748b; text-transform: uppercase; letter-spacing: 0.5px; }
.a11y-btn-grid { display: flex; gap: 6px; }
.a11y-btn {
flex: 1; padding: 7px 0; background: #f1f5f9;
border: 1px solid #cbd5e1; border-radius: 6px;
font-size: 12px; font-weight: 700; color: #334155;
cursor: pointer; transition: all 0.2s ease;
}
.a11y-btn:hover { background: #e2e8f0; color: var(--primary-color); }
.a11y-btn-danger { background: #fee2e2; border-color: #fca5a5; color: #991b1b; }
.a11y-btn-danger:hover { background: #fecaca; color: #7f1d1d; }
/* KELAS STATUS AKSESIBILITAS YANG DITERAPKAN KE BODY */
body.a11y-font-lg { font-size: 18px !important; }
body.a11y-font-lg h1 { font-size: 34px !important; }
body.a11y-font-lg h2 { font-size: 28px !important; }
body.a11y-font-lg h3 { font-size: 22px !important; }
body.a11y-font-xl { font-size: 20px !important; }
body.a11y-font-xl h1 { font-size: 38px !important; }
body.a11y-font-xl h2 { font-size: 32px !important; }
body.a11y-font-xl h3 { font-size: 25px !important; }
body.a11y-high-contrast { filter: contrast(160%) !important; }
body.a11y-grayscale { filter: grayscale(100%) !important; }
body.a11y-high-contrast.a11y-grayscale { filter: grayscale(100%) contrast(160%) !important; }
body.a11y-underline-links a { text-decoration: underline !important; text-underline-offset: 3px !important; }
/* STATE BUTTON AKSESIBILITAS SUARA AKTIF */
.a11y-btn.speaking {
background: #10b981 !important;
border-color: #059669 !important;
color: #ffffff !important;
animation: pulse 1.5s infinite;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.04); }
100% { transform: scale(1); }
}
/* 19. BREADCRUMBS & SINGLE ARTICLE UI */
.edukarsa-breadcrumbs {
font-size: 13px;
color: var(--text-muted);
margin-bottom: 20px;
display: flex;
align-items: center;
gap: 8px;
flex-wrap: wrap;
}
.edukarsa-breadcrumbs a { color: var(--primary-color); font-weight: 600; }
.edukarsa-breadcrumbs a:hover { text-decoration: underline; }
.bc-sep { color: #cbd5e1; font-weight: bold; }
.bc-current { color: var(--heading-color); font-weight: 600; }
.single-article-card { padding: 40px; margin-bottom: 30px; }
.single-article-title {
font-size: 32px;
font-weight: 800;
color: var(--heading-color);
margin: 10px 0 15px;
line-height: 1.35;
letter-spacing: -0.5px;
}
.single-meta-bar {
display: flex;
gap: 20px;
flex-wrap: wrap;
font-size: 13px;
color: var(--text-muted);
padding-bottom: 20px;
margin-bottom: 25px;
border-bottom: 1px solid #f1f5f9;
}
.single-featured-image {
margin-bottom: 30px;
border-radius: var(--radius);
overflow: hidden;
background: #f8fafc;
}
.single-featured-image img { width: 100%; height: auto; display: block; }
.img-caption {
padding: 10px 15px;
font-size: 12px;
color: var(--text-muted);
background: #f1f5f9;
font-style: italic;
}
/* INTRA-POST PAGINATION () */
.intra-post-pagination {
margin-top: 35px;
padding-top: 20px;
border-top: 1px solid #f1f5f9;
display: flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
}
.page-links-title { font-weight: 700; font-size: 14px; color: var(--heading-color); }
.intra-post-pagination a .page-number-box {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 14px;
background: #ffffff;
border: 1px solid #cbd5e1;
border-radius: 6px;
font-size: 13px;
font-weight: 700;
color: var(--primary-color);
transition: all 0.2s ease;
}
.intra-post-pagination a:hover .page-number-box {
background: var(--primary-color);
color: #ffffff;
border-color: var(--primary-color);
}
.intra-post-pagination > .page-number-box {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 6px 14px;
background: var(--primary-color);
border: 1px solid var(--primary-color);
border-radius: 6px;
font-size: 13px;
font-weight: 700;
color: #ffffff;
}
/* FOOTER ARTIKEL & SHARE BAR */
.single-article-footer {
margin-top: 35px;
padding-top: 25px;
border-top: 1px solid #f1f5f9;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 20px;
}
.single-tags-list { font-size: 13px; }
.single-tags-list a {
display: inline-block;
padding: 4px 12px;
background: #f1f5f9;
color: var(--text-color);
border-radius: 20px;
margin: 0 4px 6px 0;
font-size: 12px;
font-weight: 600;
}
.single-tags-list a:hover { background: var(--primary-color); color: #ffffff; }
.single-share-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.share-label { font-size: 13px; font-weight: 700; color: var(--heading-color); margin-right: 4px; }
.share-btn {
padding: 6px 14px;
border-radius: 20px;
font-size: 12px;
font-weight: 700;
border: none;
cursor: pointer;
text-decoration: none;
transition: all 0.2s ease;
color: #ffffff !important;
}
.share-wa { background: #25d366; }
.share-wa:hover { background: #1ebc57; }
.share-fb { background: #1877f2; }
.share-fb:hover { background: #0c63d4; }
.share-tw { background: #0f1419; }
.share-tw:hover { background: #272c30; }
.share-copy { background: #475569; color: #ffffff; }
.share-copy:hover { background: #334155; }
/* INTER-POST NAVIGATION (SEBELUMNYA & SELANJUTNYA) */
.inter-post-nav {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 20px;
margin-top: 25px;
}
.nav-box { padding: 22px 25px; transition: all 0.25s ease; }
.nav-box.disabled { opacity: 0.6; pointer-events: none; }
.nav-box-link { display: block; text-decoration: none; }
.nav-direction {
font-size: 12px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.8px;
color: var(--secondary-color);
display: block;
margin-bottom: 6px;
}
.nav-post-title {
font-size: 15px;
font-weight: 700;
color: var(--heading-color);
margin: 0;
line-height: 1.45;
transition: color 0.2s ease;
}
.nav-box:hover .nav-post-title { color: var(--primary-color); }
.text-right { text-align: right; }
/* 20. KOMPONEN SIDEBAR NATIVE TERINTEGRASI */
.sidebar-search-form { position: relative; }
.sidebar-search-wrapper { display: flex; position: relative; }
.sidebar-search-input {
width: 100%;
padding: 12px 45px 12px 16px;
border: 1px solid #cbd5e1;
border-radius: 8px;
font-size: 14px;
outline: none;
font-family: inherit;
transition: border-color 0.2s;
}
.sidebar-search-input:focus { border-color: var(--primary-color); }
.sidebar-search-btn {
position: absolute;
right: 8px;
top: 50%;
transform: translateY(-50%);
background: transparent;
border: none;
font-size: 16px;
cursor: pointer;
padding: 6px;
}
.sidebar-cta-box {
background: linear-gradient(135deg, var(--primary-color), var(--heading-color));
color: #ffffff;
padding: 30px 24px;
}
.sidebar-cta-badge {
display: inline-block;
padding: 3px 12px;
background: rgba(255,255,255,0.18);
border-radius: 20px;
font-size: 11px;
font-weight: 800;
letter-spacing: 0.8px;
text-transform: uppercase;
margin-bottom: 12px;
}
.sidebar-cta-title { font-size: 19px; font-weight: 800; color: #ffffff; margin-bottom: 10px; line-height: 1.35; }
.sidebar-cta-desc { font-size: 13px; opacity: 0.9; margin-bottom: 20px; line-height: 1.6; }
.sidebar-cta-btn { display: inline-block; padding: 10px 26px; font-size: 14px; font-weight: 800; }
.sidebar-recent-list { display: flex; flex-direction: column; gap: 16px; }
.sidebar-recent-item { display: flex; gap: 14px; align-items: center; }
.sidebar-recent-thumb { width: 68px; height: 68px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.sidebar-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.sidebar-recent-date { font-size: 11px; color: var(--text-muted); display: block; margin-bottom: 4px; }
.sidebar-recent-title { font-size: 14px; font-weight: 700; margin: 0; line-height: 1.4; }
.sidebar-recent-title a { color: var(--heading-color); }
.sidebar-recent-title a:hover { color: var(--primary-color); }
.sidebar-category-list { list-style: none; padding: 0; margin: 0; }
.sidebar-category-list li { margin-bottom: 8px; }
.sidebar-cat-link {
display: flex;
justify-content: space-between;
align-items: center;
padding: 9px 14px;
background: #f8fafc;
border: 1px solid #f1f5f9;
border-radius: 6px;
font-size: 13px;
font-weight: 600;
color: var(--text-color);
transition: all 0.2s ease;
}
.sidebar-cat-link:hover {
background: var(--primary-color);
color: #ffffff;
border-color: var(--primary-color);
}
.sidebar-cat-count {
padding: 2px 8px;
background: rgba(0,0,0,0.06);
border-radius: 12px;
font-size: 11px;
font-weight: 800;
}
.sidebar-cat-link:hover .sidebar-cat-count {
background: rgba(255,255,255,0.25);
color: #ffffff;
}
@media (max-width: 768px) {
.inter-post-nav { grid-template-columns: 1fr; }
.text-right { text-align: left; }
.single-article-card { padding: 25px 20px; }
.single-article-title { font-size: 24px; }
}
/* 21. SIDEBAR CUSTOM HTML BOX */
.sidebar-custom-html-box { padding: 25px; }
.sidebar-html-rendered-content { font-size: 14px; line-height: 1.7; color: var(--text-color); }
.sidebar-html-rendered-content iframe { width: 100% !important; border-radius: 8px; border: none; }
.sidebar-html-rendered-content img { border-radius: 8px; margin: 10px 0; }
/* ---------------------------------------------------------
MODUL GALERI & FASILITAS (GRID + LIGHTBOX)
--------------------------------------------------------- */
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.gallery-filter-btn {
background: #ffffff;
border: 2px solid #e2e8f0;
color: var(--text-muted);
padding: 8px 22px;
border-radius: 50px;
font-weight: 700;
font-size: 14px;
cursor: pointer;
transition: all 0.3s ease;
}
.gallery-filter-btn:hover, .gallery-filter-btn.active {
background: var(--primary-color);
border-color: var(--primary-color);
color: #ffffff;
box-shadow: 0 4px 12px rgba(11, 74, 142, 0.2);
}
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 25px;
}
.gallery-item-card {
background: #ffffff;
border-radius: 14px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04);
cursor: pointer;
transition: all 0.3s ease;
border: 1px solid #f1f5f9;
}
.gallery-item-card:hover {
transform: translateY(-6px);
box-shadow: 0 15px 35px rgba(11, 74, 142, 0.12);
border-color: var(--secondary-color);
}
.gallery-img-wrapper {
position: relative;
aspect-ratio: 4/3;
overflow: hidden;
background: #f8fafc;
}
.gallery-img-wrapper img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item-card:hover .gallery-img-wrapper img {
transform: scale(1.08);
}
.gallery-overlay {
position: absolute; top: 0; left: 0; right: 0; bottom: 0;
background: linear-gradient(to bottom, rgba(11,74,142,0.2) 0%, rgba(11,74,142,0.8) 100%);
display: flex; align-items: center; justify-content: center;
opacity: 0; transition: opacity 0.3s ease;
}
.gallery-item-card:hover .gallery-overlay { opacity: 1; }
.gallery-zoom-icon {
font-size: 32px; color: #fff;
transform: translateY(20px);
transition: transform 0.3s ease;
filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}
.gallery-item-card:hover .gallery-zoom-icon { transform: translateY(0); }
.gallery-item-info { padding: 22px 20px; }
.gallery-item-info h4 { margin: 0 0 10px; font-size: 17px; font-weight: 800; color: var(--heading-color); line-height: 1.4; }
.gallery-cat-badge {
display: inline-block;
font-size: 11px; font-weight: 800;
color: var(--secondary-color);
text-transform: uppercase;
letter-spacing: 0.5px;
background: #e0f2fe; padding: 4px 12px; border-radius: 20px;
}
/* NATIVE LIGHTBOX (ZOOM EFEK) */
.ek-lightbox {
position: fixed; top: 0; left: 0; width: 100%; height: 100%;
background: rgba(15, 23, 42, 0.96); z-index: 9999;
display: flex; align-items: center; justify-content: center;
opacity: 0; visibility: hidden; transition: all 0.3s ease;
backdrop-filter: blur(8px);
}
.ek-lightbox.show { opacity: 1; visibility: visible; }
.ek-lb-close {
position: absolute; top: 25px; right: 35px; font-size: 45px;
color: rgba(255,255,255,0.6); cursor: pointer; line-height: 1;
transition: color 0.2s, transform 0.2s; z-index: 10;
}
.ek-lb-close:hover { color: #f59e0b; transform: scale(1.1); }
.ek-lb-content {
max-width: 900px; width: 92%; max-height: 90vh;
display: flex; flex-direction: column;
background: #ffffff; border-radius: 16px; overflow: hidden;
transform: scale(0.95); transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}
.ek-lightbox.show .ek-lb-content { transform: scale(1); }
.ek-lb-img-container {
width: 100%; height: 60vh; background: #000;
display: flex; align-items: center; justify-content: center;
}
.ek-lb-img-container img {
width: 100%; height: 100%; object-fit: contain;
}
.ek-lb-caption { padding: 25px 35px; text-align: center; }
.ek-lb-cat {
font-size: 12px; font-weight: 800; color: var(--secondary-color);
text-transform: uppercase; letter-spacing: 1px; display: inline-block;
margin-bottom: 8px; background: #f1f5f9; padding: 4px 14px; border-radius: 20px;
}
.ek-lb-caption h3 { margin: 0 0 12px; font-size: 24px; font-weight: 800; color: var(--heading-color); }
.ek-lb-caption p { margin: 0; font-size: 15px; color: var(--text-color); line-height: 1.7; }
/* Tombol Navigasi Lightbox */
.ek-lb-nav {
position: absolute; top: 50%; transform: translateY(-50%);
background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
color: #ffffff; width: 56px; height: 56px; border-radius: 50%;
font-size: 20px; cursor: pointer; transition: all 0.2s ease;
display: flex; align-items: center; justify-content: center;
}
.ek-lb-nav:hover { background: var(--primary-color); border-color: var(--primary-color); transform: translateY(-50%) scale(1.1); }
.ek-lb-prev { left: 40px; }
.ek-lb-next { right: 40px; }
@media (max-width: 768px) {
.ek-lb-nav { width: 44px; height: 44px; font-size: 16px; }
.ek-lb-prev { left: 15px; }
.ek-lb-next { right: 15px; }
.ek-lb-close { top: 15px; right: 20px; font-size: 35px; }
.ek-lb-img-container { height: 45vh; }
.ek-lb-caption { padding: 20px; }
.ek-lb-caption h3 { font-size: 20px; }
.gallery-grid { grid-template-columns: 1fr; }
}
/* 22. FIX: HILANGKAN BULLET PADA SUB-MENU DROPDOWN */
.nav-menu-custom .sub-menu,
.nav-menu-custom .sub-menu li {
list-style: none !important;
list-style-type: none !important;
}
.nav-menu-custom .sub-menu li::before {
content: none !important;
display: none !important;
}
/* 23. NATIVE POP-UP FLYER MODAL */
body.edukarsa-popup-open {
overflow: hidden;
}
.edukarsa-popup-overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: rgba(15, 23, 42, 0.78);
backdrop-filter: blur(5px);
-webkit-backdrop-filter: blur(5px);
z-index: 99999;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
opacity: 0;
visibility: hidden;
transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s ease;
}
.edukarsa-popup-overlay.is-visible {
opacity: 1;
visibility: visible;
}
.edukarsa-popup-card {
position: relative;
background: #ffffff;
border-radius: 18px;
max-width: 520px;
width: 100%;
max-height: 90vh;
overflow-y: auto;
overflow-x: hidden;
box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.4);
transform: scale(0.92) translateY(15px);
transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.edukarsa-popup-overlay.is-visible .edukarsa-popup-card {
transform: scale(1) translateY(0);
}
.edukarsa-popup-close {
position: absolute;
top: 14px;
right: 14px;
width: 36px;
height: 36px;
border-radius: 50%;
background: rgba(15, 23, 42, 0.75);
color: #ffffff;
border: 2px solid #ffffff;
font-size: 24px;
line-height: 1;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
transition: background 0.2s, transform 0.2s;
}
.edukarsa-popup-close:hover {
background: #e11d48;
transform: scale(1.1);
}
.edukarsa-popup-media {
width: 100%;
background: #0f172a;
display: block;
line-height: 0;
}
.edukarsa-popup-media img {
width: 100%;
height: auto;
max-height: 380px;
object-fit: contain;
display: block;
margin: 0 auto;
}
.edukarsa-popup-img-link {
display: block;
cursor: pointer;
}
.edukarsa-popup-details {
padding: 24px 28px;
text-align: center;
background: #ffffff;
}
.edukarsa-popup-badge {
display: inline-block;
padding: 4px 14px;
background: #e0f2fe;
color: var(--primary-color);
font-size: 11px;
font-weight: 800;
text-transform: uppercase;
letter-spacing: 0.8px;
border-radius: 20px;
margin-bottom: 10px;
}
.edukarsa-popup-heading {
font-size: 20px;
font-weight: 800;
color: var(--heading-color);
margin: 0 0 10px;
line-height: 1.35;
}
.edukarsa-popup-desc {
font-size: 14px;
color: var(--text-color);
line-height: 1.6;
margin: 0 0 20px;
}
.edukarsa-popup-action {
margin-top: 15px;
}
.edukarsa-popup-btn {
display: inline-block;
padding: 12px 32px;
font-size: 15px;
font-weight: 800;
border-radius: 50px;
box-shadow: 0 6px 18px rgba(11, 74, 142, 0.25);
}
.edukarsa-popup-btn:hover {
transform: translateY(-2px);
box-shadow: 0 10px 25px rgba(11, 74, 142, 0.35);
}
@media (max-width: 600px) {
.edukarsa-popup-card { max-width: 95%; border-radius: 14px; }
.edukarsa-popup-details { padding: 18px 16px; }
.edukarsa-popup-heading { font-size: 18px; }
.edukarsa-popup-desc { font-size: 13px; }
.edukarsa-popup-btn { padding: 10px 24px; font-size: 14px; }
.edukarsa-popup-close { top: 10px; right: 10px; width: 32px; height: 32px; font-size: 20px; }
}