/* PAGE STRUCTURE */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
}

.page-header {
    background: var(--brand-primary);
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 32px;
    font-weight: 800;
    color: #eee;
    margin: 0;
}

.entry-content {
	max-width: 700px;
	margin: -35px auto;
    padding: 50px 25px 75px;
	background: #fff;
	border-radius: 40px;
}

.entry-content h2 {
	font-size: large;
	line-height: 1.5;
	margin-top: 25px;
}

.entry-content p {
    font-size: initial;
	margin: revert;
}

.entry-content .material-icons-outlined {
    font-size: initial;
    vertical-align: middle;
}

.entry-content ul,
.entry-content ol {
	margin: revert;
    padding: revert;
    list-style: revert;
}

/* Biar gambar di dalam halaman gak luber */
.entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}


/* ---------- HELP CENTER ---------- */

.glidik-help-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 0 20px;
    margin-bottom: 30px;
}

.glidik-help-section h3,
.glidik-help-section h4 {
    font-size: initial;
    line-height: 1.3;
}

.glidik-help-header p {
    margin: revert;
}

.glidik-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

@media (max-width: 480px) {
    .glidik-contact-grid {
        grid-template-columns: 1fr;
    }
}

.glidik-contact-card {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    transition: transform 0.2s;
}

.glidik-contact-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

/* Styling Ikon FA */
.glidik-contact-card i {
    font-size: 28px;
    text-align: center;
}

.icon-wa { color: #25d366; } /* Hijau WhatsApp */
.icon-mail { color: #3b82f6; } /* Biru Email */
.icon-time { color: #64748b; } /* Abu-abu Jam */

.contact-info .label {
    display: block;
    font-size: small;
    text-transform: uppercase;
    color: #94a3b8;
    font-weight: 700;
}

.contact-info .value {
    font-size: small;
    color: var(--brand-primary);
    font-weight: 700;
    text-decoration: none;
}

.glidik-report-box ul {
    list-style: revert;
    margin: revert;
    padding: revert;
}

.glidik-report-box ul li {
    margin-bottom: 5px;
}

.glidik-report-box h4 i { 
    margin-right: 8px;
    color: #1e293b; 
}

.glidik-warning {
    display: flex;
    gap: 12px;
    background: #fff1f2;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #fecdd3;
    color: #9f1239;
}

.glidik-warning i { 
    font-size: 20px; 
    margin-top: 3px; 
}

.glidik-warning p {
    font-size: 15px;
    line-height: 1.5;
}

/* ---------- HALAMAN FAQ ---------- */

/* Penanda Khusus FAQ */
.faq-glidik-page .faq-nav-wrapper {
    display: flex;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

.faq-glidik-page .faq-tab-btn {
    flex: 1;
    padding: 12px 0;
    border: none;
    background: #f5f5f5;
    font-size: initial;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.faq-glidik-page .faq-tab-btn.active {
    background: var(--brand-primary);
    color: #fff;
}

/* Sembunyikan Bagian Tab yang Tidak Aktif */
.faq-tab-section { display: none; }
.faq-tab-section.is-active { 
    display: block; 
    animation: fadeInFaq 0.4s ease; /* Efek muncul tab halus */
}

@keyframes fadeInFaq {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.glidik-faq-main-wrapper {
    max-width: 700px;
    margin: -35px auto 100px;
    padding: 50px 25px 0;
    border-radius: 40px;
    background: #fff;
}

.glidik-faq-main-wrapper .entry-content {
    margin: 0;
    padding: 0;
    border-radius: 0;
    background: none;
}

/* Gaya Accordion Otomatis - Support Semua Level Heading */
.faq-builder-container h1,
.faq-builder-container h2,
.faq-builder-container h3,
.faq-builder-container h4,
.faq-builder-container h5,
.faq-builder-container h6 {
    background: #f9f9f9;
    padding: 15px 50px 15px 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 5px;
    position: relative;
    transition: background 0.3s ease;
    font-size: 16px; /* Bisa dihapus kalau mau ikut ukuran asli theme */
    line-height: 1.4;
    display: block;
}

.faq-builder-container :is(h1, h2, h3, h4, h5, h6):hover {
    background: #f1f5f9;
}

/* Icon Buka Tutup Universal */
.faq-builder-container :is(h1, h2, h3, h4, h5, h6)::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #1e73be;
    font-size: 24px;
    font-weight: 300;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1;
}

/* Efek Putar & Ganti Icon Saat Terbuka */
.faq-builder-container :is(h1, h2, h3, h4, h5, h6).open::after {
    content: '−';
    transform: translateY(-50%) rotate(180deg);
}

/* Area Jawaban */
.faq-answer-wrapper {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    padding: 0 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: #fff;
    margin-bottom: 0;
}

/* Selector ini juga harus universal */
.faq-builder-container .open + .faq-answer-wrapper {
    max-height: 3000px;
    opacity: 1;
    margin-bottom: 15px;
}

.faq-answer-wrapper .wp-caption {
    margin: 30px auto;
}

.faq-answer-wrapper .wp-caption img {
    width: auto;
    border-radius: unset;
}

.faq-answer-wrapper .wp-caption-text {
    font-size: 15px;
    line-height: 1.5;
    margin: 5px 0 0;
}

.faq-answer-wrapper ol,
.faq-answer-wrapper ul {
	padding-left: 20px;
}

