/* ===================================================================
   File: visi_misi.css
   Deskripsi: File CSS khusus untuk Halaman Visi & Misi
   =================================================================== */

/* Variabel CSS Global */
:root {
    --primary-color: #2E7D32;
    --primary-hover-color: #256228;
    --text-dark: #343a40;
    --text-light: #f8f9fa;
    --text-muted: #6c757d;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
    --font-display: 'Alegreya', serif;
    --border-radius-md: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.8rem;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 1.2rem 3rem rgba(0, 0, 0, 0.1);
    --bg-card: #ffffff;
    --page-bg-color: #f0f2f5;
}

/* === SLIDER PART === */
.single-slider.bg_cover.pt-150 {
    min-height: 50vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 100px;
}

.single-slider .slider-cont h1 {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    color: #fff;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.6);
    font-weight: 700;
    font-family: var(--font-primary);
}

/* === HALAMAN UTAMA & KARTU KONTEN === */
#vision-mission-page-section {
    background-color: var(--page-bg-color);
    padding-top: 1px;
    padding-bottom: 60px;
    font-family: var(--font-primary);
}

.content-card-wrapper {
    background-color: var(--bg-card);
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

/* === KONTEN UTAMA DI DALAM KARTU === */
.main-content-vision-mission .page-main-title {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--text-dark);
    font-size: clamp(2rem, 5vw, 2.6rem);
    margin-top: 0;
    margin-bottom: 2.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 3px solid var(--primary-color);
    display: inline-block;
}

.main-content-vision-mission .featured-image-container {
    border: 1px solid #e0e0e0;
    border-radius: var(--border-radius-lg);
    padding: 1rem;
    margin-bottom: 2.5rem;
    background-color: #f9f9f9;
}

.main-content-vision-mission .featured-image-vision-mission {
    width: 100%;
    border-radius: var(--border-radius-md);
    object-fit: cover;
    max-height: 480px;
}

.main-content-vision-mission .intro-quote-prodi {
    text-align: center;
    line-height: 1.7;
    color: #555;
    font-style: italic;
    font-weight: 400;
    margin: 1.5rem auto 2rem auto;
    font-size: 1.05rem;
    font-family: var(--font-secondary);
    max-width: 90%;
}

.main-content-vision-mission hr {
    margin: 2rem 0;
    border-top: 1px solid #eee;
}

.main-content-vision-mission .section-subheading {
    text-align: center;
    font-weight: 700;
    color: var(--text-dark);
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

/* [PENTING] Gaya Khusus untuk Blok Visi */
.vision-statement-block {
    background-color: rgba(46, 125, 50, 0.05);
    border: 1px solid rgba(46, 125, 50, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    margin: 2rem 0;
}

.vision-statement-block i {
    font-size: 2.5rem;
    color: var(--primary-color);
    opacity: 0.7;
    display: block;
    margin-bottom: 1rem;
}

.vision-statement-block p {
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-dark);
    font-style: italic;
    margin: 0;
}

/* [PENTING] Gaya untuk Grid Misi */
.mission-grid {
    list-style: none;
    padding-left: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
    margin-top: 2rem;
    counter-reset: mission-counter;
}

.mission-grid li {
    background-color: #f9fafb;
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius-md);
    padding: 1.5rem 1.5rem 1.5rem 65px;
    position: relative;
    font-family: var(--font-secondary);
    font-size: 1rem;
    line-height: 1.8;
    color: #555;
    text-align: justify;
}

.mission-grid li::before {
    counter-increment: mission-counter;
    content: counter(mission-counter);
    position: absolute;
    left: 15px;
    top: 15px;
    background-color: var(--primary-color);
    color: white;
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* === SIDEBAR MODERN (Tidak ada perubahan) === */
/* === SIDEBAR MODERN (Tidak ada perubahan) === */
.blog-sidebar {
    padding-left: 15px;
}

.blog-sidebar .widget {
    background-color: #f9fafb;
    padding: 1.8rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2.2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid #e9ecef;
}

.blog-sidebar .widget:last-child {
    margin-bottom: 0;
}

.blog-sidebar .widget .widget-title {
    font-family: var(--font-primary);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-top: 0;
    margin-bottom: 1.3rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
}

.blog-sidebar .widget ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.blog-sidebar .widget ul li {
    margin-bottom: 0.8rem;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    position: relative;
}

.blog-sidebar .widget ul li:last-child {
    margin-bottom: 0;
}

.blog-sidebar .widget ul li a {
    color: var(--text-muted);
    text-decoration: none;
    display: block;
    padding: 0.25rem 0;
    transition: color 0.2s ease, padding-left 0.2s ease;
}

.blog-sidebar .widget ul li a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.blog-sidebar .widget ul li a:hover::before {
    content: '';
    position: absolute;
    left: -0.15rem;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 16px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Tambahkan atau modifikasi di dalam file CSS Anda */

/* SIDEBAR MODERN */
.blog-sidebar .widget-custom-search .custom-search-form,
.blog-sidebar .widget_search .wp-block-search__inside-wrapper {
    display: flex; /* Ini sudah benar */
    position: relative; /* Kunci untuk ikon di dalam input */
}

.blog-sidebar .widget-custom-search .custom-search-input,
.blog-sidebar .widget_search .wp-block-search__input {
    flex-grow: 1;
    width: 100%; /* Pastikan mengisi ruang */
    padding: 0.7rem 0.9rem;
    font-family: var(--font-secondary);
    font-size: 0.88rem;
    color: var(--text-dark);
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: var(--border-radius-md); /* Radius di semua sisi */
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.blog-sidebar .widget-custom-search .custom-search-button,
.blog-sidebar .widget_search .wp-block-search__button {
    /* [MODIFIKASI] Ubah tombol menjadi ikon di dalam input */
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 45px; /* Lebar area tombol */
    border: none;
    background: transparent; /* Hilangkan background tombol */
    color: var(--text-muted); /* Ubah warna ikon */
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.blog-sidebar .widget-custom-search .custom-search-button:hover,
.blog-sidebar .widget_search .wp-block-search__button:hover {
    color: var(--primary-color);
}

/* Penyesuaian agar ikon tidak tumpang tindih dengan teks */
.blog-sidebar .widget-custom-search .custom-search-input,
.blog-sidebar .widget_search .wp-block-search__input {
    padding-right: 45px; /* Beri ruang di kanan untuk tombol */
}

/* Fokus tetap sama */
.blog-sidebar .widget-custom-search .custom-search-input:focus,
.blog-sidebar .widget_search .wp-block-search__input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
}

/* === ATURAN RESPONSIVE === */
@media (max-width: 991.98px) {
    .content-card-wrapper {
        margin-top: -60px;
        padding: 2.5rem;
    }

    .main-content-vision-mission .page-main-title {
        text-align: center;
    }
}

@media (max-width: 767.98px) {
    .content-card-wrapper {
        margin-top: -40px;
        padding: 1.8rem;
        border-radius: var(--border-radius-lg);
    }

    #vision-mission-page-section {
        padding-bottom: 40px;
    }

    .blog-sidebar {
        margin-top: 2.5rem;
        padding-left: 0;
    }

    .mission-grid li {
        padding: 1rem;
        padding-left: 1rem;
        text-align: left;
        display: block;
    }

    .mission-grid li::before {
        position: static;
        margin-bottom: 1rem;
        width: 30px;
        height: 30px;
        font-size: 1rem;
        display: inline-flex;
    }

    .vision-statement-block {
        padding: 1.5rem;
    }

    .vision-statement-block p {
        font-size: 1.1rem;
    }

    .main-content-vision-mission .intro-quote-prodi {
        max-width: 100%;
        font-size: 1rem;
    }
}