feat(core): integrasi Plus Jakarta Sans, refactor index.php, dan tambahkan page.php serta 404.php

This commit is contained in:
Mas Budi Kusuma
2026-09-15 21:11:36 +07:00
parent 226e09f2b1
commit bbdce3157d
5 changed files with 359 additions and 274 deletions
+25
View File
@@ -0,0 +1,25 @@
<?php
/**
* Template untuk Halaman Tidak Ditemukan (Error 404)
*/
get_header();
?>
<main id="primary" class="site-main text-center" style="padding: 100px 20px; min-height: 75vh; background-color: #f8fafc; display: flex; align-items: center;">
<div class="container" style="max-width: 600px;">
<div class="card-style" style="padding: 50px 30px;">
<div style="font-size: 80px; font-weight: 900; color: var(--primary-color); line-height: 1; margin-bottom: 15px;">404</div>
<h1 style="font-size: 24px; font-weight: 800; color: var(--heading-color); margin-bottom: 15px;">Halaman Tidak Ditemukan</h1>
<p style="color: var(--text-muted); font-size: 15px; margin-bottom: 30px; line-height: 1.6;">
Tautan yang Anda tuju mungkin telah dipindahkan, dihapus, atau alamat URL yang Anda masukkan salah.
</p>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="btn-primary">
&laquo; Kembali ke Beranda
</a>
</div>
</div>
</main>
<?php
get_footer();
?>
+12 -1
View File
@@ -7,6 +7,8 @@
function edukarsa_setup() { function edukarsa_setup() {
add_theme_support( 'title-tag' ); add_theme_support( 'title-tag' );
add_theme_support( 'post-thumbnails' ); add_theme_support( 'post-thumbnails' );
add_theme_support( 'responsive-embeds' );
add_theme_support( 'html5', array( 'search-form', 'comment-form', 'comment-list', 'gallery', 'caption', 'style', 'script' ) );
add_post_type_support( 'page', 'excerpt' ); add_post_type_support( 'page', 'excerpt' );
register_nav_menus( array( register_nav_menus( array(
@@ -18,10 +20,19 @@ add_action( 'after_setup_theme', 'edukarsa_setup' );
// 2. MENGHUBUNGKAN ASET (CSS & JS FRONTEND) // 2. MENGHUBUNGKAN ASET (CSS & JS FRONTEND)
function edukarsa_scripts() { function edukarsa_scripts() {
// Memuat Google Font: Plus Jakarta Sans (Native Webfont)
wp_enqueue_style(
'edukarsa-google-fonts',
'https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap',
array(),
null
);
// CSS Utama Tema dengan Cache Busting time()
wp_enqueue_style( wp_enqueue_style(
'edukarsa-style', 'edukarsa-style',
get_template_directory_uri() . '/style.css', get_template_directory_uri() . '/style.css',
array(), array('edukarsa-google-fonts'),
time(), time(),
'all' 'all'
); );
+39 -42
View File
@@ -1,101 +1,98 @@
<?php <?php
/** /**
* File template utama (Fallback untuk semua halaman) * File template fallback dan daftar arsip berita/artikel.
* Digunakan untuk menampilkan daftar berita/artikel terbaru jika halaman khusus tidak ditemukan.
*/ */
get_header(); get_header();
?> ?>
<main id="primary" class="site-main" style="padding: 40px 5%; font-family: sans-serif; color: #333; max-width: 1200px; margin: 0 auto; min-height: 60vh;"> <main id="primary" class="site-main" style="padding: 60px 0; background-color: #f8fafc; min-height: 75vh;">
<div class="container">
<header class="page-header" style="margin-bottom: 40px; text-align: center;"> <header class="page-header text-center" style="margin-bottom: 50px;">
<h1 class="page-title" style="color: #2c3e50; border-bottom: 3px solid #3498db; display: inline-block; padding-bottom: 10px; margin: 0;"> <span class="badge-title">WARTA KAMPUS</span>
<h1 class="section-title">
<?php <?php
if ( is_home() && ! is_front_page() ) { if ( is_home() && ! is_front_page() ) {
single_post_title(); single_post_title();
} elseif ( is_archive() ) { } elseif ( is_archive() ) {
the_archive_title(); the_archive_title();
} elseif ( is_search() ) { } elseif ( is_search() ) {
echo 'Hasil Pencarian: ' . get_search_query(); echo 'Hasil Pencarian: "' . esc_html( get_search_query() ) . '"';
} else { } else {
echo 'Berita & Pengumuman'; echo 'Berita & Pengumuman';
} }
?> ?>
</h1> </h1>
<div class="title-underline"></div>
</header> </header>
<div class="post-list" style="display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 30px;"> <?php if ( have_posts() ) : ?>
<div class="news-grid">
<?php <?php
if ( have_posts() ) :
while ( have_posts() ) : while ( have_posts() ) :
the_post(); the_post();
?> ?>
<article id="post-<?php the_ID(); ?>" <?php post_class(); ?> style="background: #ffffff; border-radius: 8px; border: 1px solid #e1e8ed; overflow: hidden; transition: box-shadow 0.3s; display: flex; flex-direction: column;"> <article id="post-<?php the_ID(); ?>" <?php post_class( 'card-style' ); ?> style="overflow: hidden; display: flex; flex-direction: column;">
<div class="img-wrapper-landscape" style="border-radius: 12px 12px 0 0;">
<?php if ( has_post_thumbnail() ) : ?> <?php if ( has_post_thumbnail() ) : ?>
<a href="<?php the_permalink(); ?>"> <a href="<?php the_permalink(); ?>">
<?php the_post_thumbnail( 'medium_large', array( 'style' => 'width: 100%; height: 200px; object-fit: cover; display: block;' ) ); ?> <?php the_post_thumbnail( 'medium_large' ); ?>
</a> </a>
<?php else: ?> <?php else: ?>
<!-- Placeholder jika artikel tidak memiliki gambar unggulan --> <div class="img-placeholder">
<div style="width: 100%; height: 200px; background: #ecf0f1; display: flex; align-items: center; justify-content: center; color: #95a5a6;"> <i>📰</i>
<span>Gambar Tidak Tersedia</span> <span>Gambar Tidak Tersedia</span>
</div> </div>
<?php endif; ?> <?php endif; ?>
</div>
<div class="entry-content" style="padding: 20px; flex-grow: 1; display: flex; flex-direction: column;"> <div class="news-content">
<header class="entry-header"> <div style="font-size: 12px; color: var(--text-muted); margin-bottom: 8px;">
<h2 class="entry-title" style="margin: 0 0 10px; font-size: 20px; line-height: 1.4;"> <span>📅 <?php echo get_the_date(); ?></span> &bull;
<a href="<?php the_permalink(); ?>" style="text-decoration: none; color: #2c3e50; font-weight: bold;"><?php the_title(); ?></a>
</h2>
<div class="entry-meta" style="font-size: 13px; color: #7f8c8d; margin-bottom: 15px;">
<span>📅 <?php echo get_the_date(); ?></span> |
<span>👤 <?php the_author(); ?></span> <span>👤 <?php the_author(); ?></span>
</div> </div>
</header>
<div class="entry-summary" style="color: #555; line-height: 1.6; font-size: 14px; margin-bottom: 20px; flex-grow: 1;"> <h2 class="news-title">
<?php <a href="<?php the_permalink(); ?>" style="color: var(--heading-color);">
// Menampilkan kutipan (excerpt) artikel <?php the_title(); ?>
the_excerpt(); </a>
?> </h2>
<div style="color: var(--text-muted); font-size: 14px; margin-bottom: 20px; line-height: 1.6;">
<?php echo wp_trim_words( get_the_excerpt(), 18, '...' ); ?>
</div> </div>
<div style="margin-top: auto;"> <a href="<?php the_permalink(); ?>" class="btn-outline-primary" style="margin-top: auto; align-self: flex-start;">
<a href="<?php the_permalink(); ?>" style="display: inline-block; padding: 8px 15px; background: #2c3e50; color: #fff; text-decoration: none; border-radius: 4px; font-size: 14px; transition: background 0.3s;">
Baca Selengkapnya &raquo; Baca Selengkapnya &raquo;
</a> </a>
</div> </div>
</div>
</article> </article>
<?php <?php
endwhile; endwhile;
?> ?>
</div> <!-- Akhir dari post-list grid --> </div>
<div class="pagination" style="margin-top: 50px; text-align: center;"> <div class="pagination">
<?php <?php
// Menampilkan tombol Halaman Selanjutnya / Sebelumnya
the_posts_pagination( array( the_posts_pagination( array(
'prev_text' => __( '« Sebelumnya', 'edukarsa' ), 'prev_text' => '« Sebelumnya',
'next_text' => __( 'Selanjutnya »', 'edukarsa' ), 'next_text' => 'Selanjutnya »',
'before_page_number' => '<span style="padding: 5px 10px; background: #eee; margin: 0 2px; border-radius: 3px;">',
'after_page_number' => '</span>',
) ); ) );
?> ?>
</div> </div>
<?php else : ?> <?php else : ?>
<!-- Jika tidak ada postingan sama sekali --> <div class="card-style text-center" style="padding: 60px 20px; max-width: 650px; margin: 0 auto;">
</div> <!-- Tutup div post-list agar layout tidak berantakan --> <h2 style="color: var(--heading-color); margin-bottom: 10px;">Belum Ada Informasi</h2>
<div style="text-align: center; width: 100%; padding: 50px 20px; background: #fdfdfe; border: 1px dashed #bdc3c7; border-radius: 8px;"> <p style="color: var(--text-muted); font-size: 15px; margin-bottom: 25px;">
<h2 style="color: #e74c3c; margin-top: 0;">Belum Ada Berita</h2> Maaf, saat ini belum ada publikasi berita atau pengumuman yang tersedia.
<p style="color: #7f8c8d; font-size: 16px;">Maaf, saat ini belum ada artikel, berita, atau pengumuman yang dipublikasikan.</p> </p>
<a href="<?php echo esc_url( home_url( '/' ) ); ?>" class="btn-primary">Kembali ke Beranda</a>
</div> </div>
<?php endif; ?> <?php endif; ?>
</div>
</main> </main>
<?php <?php
+38
View File
@@ -0,0 +1,38 @@
<?php
/**
* Template untuk halaman statis tunggal (Page)
*/
get_header();
?>
<main id="primary" class="site-main" style="padding: 60px 0; min-height: 75vh; background-color: #f8fafc;">
<div class="container">
<?php while ( have_posts() ) : the_post(); ?>
<article id="post-<?php the_ID(); ?>" <?php post_class( 'card-style' ); ?> style="padding: 45px; max-width: 980px; margin: 0 auto;">
<header class="entry-header" style="margin-bottom: 30px; border-bottom: 1px solid #e2e8f0; padding-bottom: 20px;">
<h1 class="entry-title" style="font-size: 32px; font-weight: 800; color: var(--heading-color);">
<?php the_title(); ?>
</h1>
</header>
<?php if ( has_post_thumbnail() ) : ?>
<div class="post-thumbnail" style="margin-bottom: 35px; border-radius: var(--radius); overflow: hidden;">
<?php the_post_thumbnail( 'full', array( 'style' => 'width: 100%; height: auto; display: block;' ) ); ?>
</div>
<?php endif; ?>
<div class="entry-content">
<?php the_content(); ?>
</div>
</article>
<?php endwhile; ?>
</div>
</main>
<?php
get_footer();
?>
+85 -71
View File
@@ -3,50 +3,59 @@ Theme Name: EduKarsa
Theme URI: https://edukarsa.masbudi.my.id Theme URI: https://edukarsa.masbudi.my.id
Author: masbudikusuma Author: masbudikusuma
Author URI: https://masbudi.my.id Author URI: https://masbudi.my.id
Description: Tema WordPress profesional untuk sekolah (Gaya Modern Card Layout). Description: Tema WordPress profesional untuk sekolah dan kampus (Gaya Modern Card Layout).
Version: 1.0.0 Version: 1.1.0
*/ */
:root { :root {
--primary-color: #0b4a8e; --primary-color: #0b4a8e;
--secondary-color: #1a73e8; --secondary-color: #1a73e8;
--text-color: #4a4a4a; --text-color: #334155;
--heading-color: #1a2b4c; --text-muted: #64748b;
--bg-light-blue: #f0f7ff; --heading-color: #0f172a;
--bg-light-blue: #f8fafc;
--bg-white: #ffffff; --bg-white: #ffffff;
--radius: 12px; --radius: 12px;
--shadow: 0 10px 30px rgba(0, 0, 0, 0.05); --shadow: 0 10px 30px rgba(15, 23, 42, 0.06);
--font-main: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
} }
/* 1. RESET & DASAR */ /* 1. RESET & DASAR */
* { box-sizing: border-box; margin: 0; padding: 0; } * { 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.6; font-size: 16px; } 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;
}
img { max-width: 100%; height: auto; display: block; } img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: var(--primary-color); transition: 0.3s; } 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 KOTAK UTAMA */ /* 2. LAYOUT KOTAK UTAMA */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; } .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; } .text-center { text-align: center; }
.text-white { color: #fff !important; } .text-white { color: #fff !important; }
.edukarsa-section { padding: 80px 0; } .edukarsa-section { padding: 80px 0; }
.section-title { font-size: 32px; color: var(--heading-color); margin-bottom: 15px; font-weight: 800; } .section-title { font-size: 32px; color: var(--heading-color); margin-bottom: 15px; font-weight: 800; letter-spacing: -0.5px; }
/* 3. HEADER & MENU NAVIGATION */ /* 3. HEADER & MENU NAVIGATION */
.site-header { position: sticky; top: 0; z-index: 999; box-shadow: 0 4px 10px rgba(0,0,0,0.1); padding: 15px 0; } .site-header { position: sticky; top: 0; z-index: 999; box-shadow: 0 4px 15px rgba(0,0,0,0.12); padding: 15px 0; }
.header-container { display: flex; justify-content: space-between; align-items: center; } .header-container { display: flex; justify-content: space-between; align-items: center; }
.logo-link { display: flex; align-items: center; gap: 15px; color: #fff; } .logo-link { display: flex; align-items: center; gap: 15px; color: #fff; }
.site-title { margin: 0; font-size: 24px; font-weight: 800; color: #fff; } .site-title { margin: 0; font-size: 22px; font-weight: 800; color: #fff; letter-spacing: -0.5px; }
.nav-menu-custom { list-style: none; display: flex; gap: 25px; margin: 0; padding: 0; } .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: 16px; text-transform: uppercase; letter-spacing: 0.5px; padding: 10px 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; } .nav-menu-custom li a:hover { color: #f39c12; }
/* 3.1 DROPDOWN MENU (Sub-menu Animasi) */ /* DROPDOWN MENU */
.nav-menu-custom li { position: relative; } /* Agar sub-menu mengikuti induknya */ .nav-menu-custom li { position: relative; }
.nav-menu-custom .sub-menu { .nav-menu-custom .sub-menu {
position: absolute; position: absolute;
top: 100%; /* Turun di bawah menu utama */ top: 100%;
left: 0; left: 0;
background-color: var(--primary-color); background-color: var(--primary-color);
min-width: 220px; min-width: 220px;
@@ -54,24 +63,14 @@ a { text-decoration: none; color: var(--primary-color); transition: 0.3s; }
border-radius: 0 0 8px 8px; border-radius: 0 0 8px 8px;
box-shadow: 0 10px 25px rgba(0,0,0,0.2); box-shadow: 0 10px 25px rgba(0,0,0,0.2);
opacity: 0; opacity: 0;
visibility: hidden; /* Sembunyikan secara default */ visibility: hidden;
transform: translateY(15px); /* Posisi awal agak ke bawah */ transform: translateY(15px);
transition: all 0.3s ease; transition: all 0.3s ease;
z-index: 1000; z-index: 1000;
} }
.nav-menu-custom li:hover > .sub-menu { .nav-menu-custom li:hover > .sub-menu { opacity: 1; visibility: visible; transform: translateY(0); }
opacity: 1; .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); }
visibility: visible;
transform: translateY(0); /* Muncul dengan mulus ke atas */
}
.nav-menu-custom .sub-menu li a {
padding: 10px 20px;
font-size: 14px;
text-transform: none; /* Sub menu tidak kapital semua */
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 li:last-child a { border-bottom: none; }
/* Sub-menu di dalam sub-menu (Level 3) */
.nav-menu-custom .sub-menu .sub-menu { top: 0; left: 100%; transform: translateX(15px); } .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); } .nav-menu-custom .sub-menu li:hover > .sub-menu { transform: translateX(0); }
@@ -85,76 +84,98 @@ a { text-decoration: none; color: var(--primary-color); transition: 0.3s; }
/* 5. KOMPONEN UMUM */ /* 5. KOMPONEN UMUM */
.bg-light-blue { background-color: var(--bg-light-blue); } .bg-light-blue { background-color: var(--bg-light-blue); }
.bg-dark-blue { background-color: var(--primary-color); } .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(0,0,0,0.03); transition: transform 0.3s ease; } .card-style { background: var(--bg-white); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid rgba(226, 232, 240, 0.8); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-style:hover { transform: translateY(-5px); } .card-style:hover { transform: translateY(-4px); box-shadow: 0 15px 35px rgba(15, 23, 42, 0.09); }
.top-border-blue { border-top: 4px solid var(--primary-color); } .top-border-blue { border-top: 4px solid var(--primary-color); }
.title-underline { width: 50px; border: 2px solid #f39c12; margin: 10px auto 30px; } .title-underline { width: 50px; border: 2px solid #f39c12; margin: 10px auto 30px; }
/* BUTTONS */ /* BUTTONS */
.btn-primary { display: inline-block; background-color: var(--primary-color); color: var(--bg-white); padding: 12px 35px; border-radius: 50px; font-weight: bold; letter-spacing: 0.5px; } .btn-primary { display: inline-block; background-color: var(--primary-color); color: var(--bg-white); padding: 12px 32px; border-radius: 50px; font-weight: 700; font-size: 15px; letter-spacing: 0.3px; }
.btn-primary:hover { background-color: var(--secondary-color); color: #fff; } .btn-primary:hover { background-color: var(--secondary-color); color: #fff; }
.btn-light { background-color: #fff; color: var(--primary-color); } .btn-light { background-color: #fff; color: var(--primary-color); }
.btn-light:hover { background-color: #f1f1f1; color: var(--primary-color); } .btn-light:hover { background-color: #f8fafc; color: var(--primary-color); }
.btn-outline-primary { display: inline-block; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 8px 20px; border-radius: 50px; font-size: 14px; font-weight: bold; } .btn-outline-primary { display: inline-block; border: 2px solid var(--primary-color); color: var(--primary-color); padding: 8px 22px; border-radius: 50px; font-size: 14px; font-weight: 700; }
.btn-outline-primary:hover { background-color: var(--primary-color); color: #fff; } .btn-outline-primary:hover { background-color: var(--primary-color); color: #fff; }
.badge-title { display: inline-block; color: var(--secondary-color); font-weight: 700; font-size: 14px; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 10px; } .badge-title { display: inline-block; color: var(--secondary-color); font-weight: 800; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 10px; }
/* 6. GRID SYSTEM (Stats, Milestones, Program, Video, Keunggulan, News) */ /* 6. GRID SYSTEM */
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; position: relative; z-index: 10; margin-top: -80px; margin-bottom: 40px; } .stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; position: relative; z-index: 10; margin-top: -80px; margin-bottom: 40px; }
.stat-card-modern { padding: 40px 30px; text-align: left; border-radius: 24px; border-top: 5px solid var(--secondary-color); transition: all 0.3s ease; background: #fff; } .stat-card-modern { padding: 40px 30px; text-align: left; border-radius: 20px; border-top: 5px solid var(--secondary-color); background: #fff; }
.stat-card-modern:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(11, 74, 142, 0.12); } .stat-icon-wrapper { width: 65px; height: 65px; background-color: #e6f0fa; border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; font-size: 28px; }
.stat-icon-wrapper { width: 65px; height: 65px; background-color: #e6f0fa; border-radius: 18px; display: flex; align-items: center; justify-content: center; margin-bottom: 25px; font-size: 28px; }
.stat-icon-wrapper img { width: 32px; height: 32px; object-fit: contain; } .stat-icon-wrapper img { width: 32px; height: 32px; object-fit: contain; }
.stat-card-modern .stat-number { font-size: 46px; font-weight: 900; color: var(--primary-color); margin-bottom: 5px; line-height: 1; } .stat-card-modern .stat-number { font-size: 44px; font-weight: 800; color: var(--primary-color); margin-bottom: 5px; line-height: 1; }
.stat-card-modern .stat-title { font-size: 18px; font-weight: 800; color: var(--heading-color); margin-bottom: 8px; } .stat-card-modern .stat-title { font-size: 18px; font-weight: 800; color: var(--heading-color); margin-bottom: 8px; }
.stat-card-modern .stat-desc { font-size: 14px; color: #64748b; line-height: 1.6; margin: 0; } .stat-card-modern .stat-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }
.pt-0 { padding-top: 20px !important; } .pt-0 { padding-top: 20px !important; }
.sambutan-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; } .sambutan-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: center; }
.sambutan-text { color: #666; font-size: 16px; margin-bottom: 30px; } .sambutan-text { color: #475569; font-size: 16px; margin-bottom: 30px; }
.milestone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; } .milestone-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.milestone-item { padding: 20px; } .milestone-item { padding: 25px; }
.program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; } .program-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.program-card { padding: 40px 20px; } .program-card { padding: 35px 25px; }
.video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 40px 0; } .video-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; padding: 40px 0; }
.video-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 5px solid rgba(255,255,255,0.2); } .video-item { position: relative; border-radius: var(--radius); overflow: hidden; border: 5px solid rgba(255,255,255,0.2); }
.play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #e74c3c; color: white; padding: 20px; border-radius: 50%; font-size: 24px; cursor: pointer; } .play-btn { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); background: #e74c3c; color: white; padding: 20px; border-radius: 50%; font-size: 24px; cursor: pointer; }
/* EFEK PARALLAX (AREA BIRU) */ /* PARALLAX */
.parallax-section-wrapper { position: relative; background-attachment: fixed; background-position: center; background-repeat: no-repeat; background-size: cover; } .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; } .parallax-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: 0; z-index: 1; }
.relative-z2 { position: relative; z-index: 2; } .relative-z2 { position: relative; z-index: 2; }
.keunggulan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; } .keunggulan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 30px; }
.keunggulan-card { position: relative; padding: 30px; display: flex; align-items: flex-start; overflow: hidden; } .keunggulan-card { position: relative; padding: 30px; display: flex; align-items: flex-start; overflow: hidden; }
.keunggulan-number { position: absolute; top: 10px; right: 10px; font-size: 80px; font-weight: 900; color: rgba(11, 74, 142, 0.05); line-height: 1; z-index: 0; } .keunggulan-number { position: absolute; top: 10px; right: 10px; font-size: 72px; font-weight: 900; color: rgba(11, 74, 142, 0.06); line-height: 1; z-index: 0; }
.keunggulan-content-inner { position: relative; z-index: 1; } .keunggulan-content-inner { position: relative; z-index: 1; }
.keunggulan-content-inner h4 { color: var(--primary-color); margin-bottom: 10px; font-size: 18px;} .keunggulan-content-inner h4 { color: var(--primary-color); margin-bottom: 10px; font-size: 18px; }
.edukarsa-cta-bg { background-size: cover; background-position: center; position: relative; padding: 100px 0; } .edukarsa-cta-bg { background-size: cover; background-position: center; position: relative; padding: 90px 0; }
.edukarsa-cta-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 74, 142, 0.85); z-index: 1;} .edukarsa-cta-bg::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: rgba(11, 74, 142, 0.88); z-index: 1; }
.edukarsa-cta-bg .container { position: relative; z-index: 2; } .edukarsa-cta-bg .container { position: relative; z-index: 2; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; } .news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.news-content { padding: 20px; display: flex; flex-direction: column; flex-grow: 1; } .news-content { padding: 25px; display: flex; flex-direction: column; flex-grow: 1; }
.news-title { font-size: 18px; margin-bottom: 10px; line-height: 1.4; } .news-title { font-size: 18px; margin-bottom: 12px; line-height: 1.4; font-weight: 700; }
/* 7. IMAGE LOCKS & PLACEHOLDERS */ /* 7. IMAGE LOCKS & PLACEHOLDERS */
.img-wrapper-slider { height: 600px; width: 100%; overflow: hidden; position: relative; } .img-wrapper-slider { height: 580px; width: 100%; overflow: hidden; position: relative; }
.img-wrapper-landscape { aspect-ratio: 4/3; width: 100%; overflow: hidden; position: relative; border-radius: 8px; } .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: 12px; } .img-wrapper-video { aspect-ratio: 16/9; width: 100%; overflow: hidden; position: relative; border-radius: 12px; }
.img-wrapper-portrait { aspect-ratio: 3/4; width: 100%; max-width: 350px; overflow: hidden; position: relative; border-radius: 12px; box-shadow: var(--shadow); } .img-wrapper-portrait { aspect-ratio: 3/4; width: 100%; max-width: 350px; 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-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: #94a3b8; font-size: 14px; text-align: center; border: 2px dashed #cbd5e1; } .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; }
.img-placeholder i { font-size: 32px; margin-bottom: 5px; font-style: normal; opacity: 0.5; }
/* 8. FOOTER STYLING */ /* 8. FOOTER STYLING */
.footer-links-custom { list-style: none; padding: 0; margin: 0; line-height: 2; } .footer-links-custom { list-style: none; padding: 0; margin: 0; line-height: 2.2; }
.footer-links-custom li a { color: #ffffff; opacity: 0.8; } .footer-links-custom li a { color: #ffffff; opacity: 0.85; font-size: 15px; }
.footer-links-custom li a:hover { opacity: 1; color: #f39c12; } .footer-links-custom li a:hover { opacity: 1; color: #f39c12; padding-left: 5px; }
/* 9. RESPONSIVE MEDIA QUERIES */ /* 9. SINGLE, PAGE & SIDEBAR LAYOUT */
.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 ARTIKEL & HALAMAN */
.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; }
.entry-content table { width: 100%; border-collapse: collapse; margin: 30px 0; }
.entry-content th, .entry-content td { padding: 12px 16px; border: 1px solid #e2e8f0; text-align: left; }
.entry-content th { background-color: #f1f5f9; font-weight: 700; color: var(--heading-color); }
/* 11. PAGINATION MODERN */
.pagination { margin-top: 50px; text-align: center; }
.pagination .nav-links { display: inline-flex; gap: 8px; align-items: center; }
.pagination .page-numbers { display: inline-block; padding: 10px 18px; background: #fff; color: var(--text-color); border: 1px solid #e2e8f0; border-radius: 8px; font-weight: 600; font-size: 14px; transition: all 0.2s ease; }
.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: 992px) { @media (max-width: 992px) {
.single-layout-wrapper { grid-template-columns: 1fr; }
.keunggulan-grid, .program-grid, .milestone-grid, .news-grid { grid-template-columns: repeat(2, 1fr); } .keunggulan-grid, .program-grid, .milestone-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
.video-grid { grid-template-columns: 1fr; } .video-grid { grid-template-columns: 1fr; }
.sambutan-grid { grid-template-columns: 1fr; } .sambutan-grid { grid-template-columns: 1fr; }
@@ -165,12 +186,5 @@ a { text-decoration: none; color: var(--primary-color); transition: 0.3s; }
.nav-menu-custom .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; background: rgba(0,0,0,0.1); } .nav-menu-custom .sub-menu { position: static; visibility: visible; opacity: 1; transform: none; box-shadow: none; background: rgba(0,0,0,0.1); }
.keunggulan-grid, .program-grid, .milestone-grid, .stats-grid, .news-grid { grid-template-columns: 1fr; } .keunggulan-grid, .program-grid, .milestone-grid, .stats-grid, .news-grid { grid-template-columns: 1fr; }
.edukarsa-stats { margin-top: -40px; } .edukarsa-stats { margin-top: -40px; }
.img-wrapper-slider { height: 400px; } .img-wrapper-slider { height: 380px; }
}
/* 10. SINGLE & SIDEBAR LAYOUT */
.single-layout-wrapper { display: grid; grid-template-columns: 2.5fr 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; }
@media (max-width: 992px) {
.single-layout-wrapper { grid-template-columns: 1fr; }
} }