/* ============================================================
   CUSTOM CSS - IC-AnBioS (GABUNGAN)
   Tema: Prestige (Leconfe)
   Mencakup:
   - Penyeragaman font & tipografi
   - Perbaikan Home, About, Speakers, Scope
   - Schedule activities (center & responsif)
   - Committee (2 kolom)
   - Review Process & Payment
   - Footer (3 kolom default, 1 kolom di Home)
   - Maps hanya di Home
   - Halaman Contact (3 kolom)
   - Galeri foto ternak
   ============================================================ */

/* ------------------------------------------------------------
   1. PENGATURAN UMUM & TIPOGRAFI
   ------------------------------------------------------------ */
body, .content, .about-content, .review-process, .payment-info,
.schedule, .committee, .scope, .keynote-speakers {
    font-family: inherit !important;
    color: #333 !important;
    line-height: 1.7 !important;
    font-size: 1rem !important;
}

.about-content strong,
.about-content b,
.review-process strong,
.review-process b {
    font-weight: normal !important;
}

p, li, div {
    word-spacing: normal !important;
}

/* ------------------------------------------------------------
   2. HEADER / HOME
   ------------------------------------------------------------ */
.conference-dates, .conference-venue,
[class*="conference-date"], [class*="conference-venue"] {
    display: none !important;
}

.speaker-image img,
.speakers img,
.keynote-speaker img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
}

/* ------------------------------------------------------------
   3. ABOUT
   ------------------------------------------------------------ */
.about-content {
    font-family: inherit !important;
}

/* ------------------------------------------------------------
   4. SPEAKERS / KEYNOTE SPEAKERS
   ------------------------------------------------------------ */
.speaker-card img,
.keynote-speaker img,
.speakers-list img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 200px !important;
    height: auto !important;
    border-radius: 50% !important;
}

/* ------------------------------------------------------------
   5. SCOPE
   ------------------------------------------------------------ */
.scope-list li {
    margin-bottom: 0.5rem !important;
}

/* ------------------------------------------------------------
   6. SCHEDULE ACTIVITIES
   ------------------------------------------------------------ */
.schedule-table,
.table-schedule,
table.schedule {
    margin: 0 auto !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 100% !important;
    border-collapse: collapse !important;
}

.schedule-table td:first-child,
.schedule-table th:first-child,
.table-schedule td:first-child,
.table-schedule th:first-child {
    min-width: 100px !important;
    white-space: nowrap !important;
}

.schedule-table th,
.schedule-table td,
.table-schedule th,
.table-schedule td {
    text-align: center !important;
    vertical-align: middle !important;
    padding: 0.75rem !important;
    border: 1px solid #dee2e6 !important;
}

.table-responsive {
    display: block !important;
    width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
}

/* ------------------------------------------------------------
   7. COMMITTEE
   ------------------------------------------------------------ */
.committee-container {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 2rem !important;
    justify-content: center !important;
}

.committee-column {
    flex: 1 1 45% !important;
    min-width: 300px !important;
}

.committee-column h3 {
    text-align: center !important;
    font-size: 1.2rem !important;
    font-weight: 700 !important;
    color: #0056b3 !important;
    margin-bottom: 1rem !important;
    text-transform: uppercase !important;
}

.committee-column ul {
    list-style: none !important;
    padding: 0 !important;
    text-align: center !important;
}

.committee-column ul li {
    margin-bottom: 0.5rem !important;
}

/* ------------------------------------------------------------
   8. REVIEW PROCESS
   ------------------------------------------------------------ */
.review-process img,
.review-flowchart img {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
}

.review-process p {
    text-align: justify !important;
    margin-bottom: 1rem !important;
}

/* ------------------------------------------------------------
   9. PAYMENT
   ------------------------------------------------------------ */
.payment-info {
    font-family: inherit !important;
    background-color: #f8f9fa !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    border-left: 4px solid #0056b3 !important;
    margin: 1rem 0 !important;
}

.payment-info strong {
    font-weight: 600 !important;
    color: #0056b3 !important;
}

/* ------------------------------------------------------------
   10. FOOTER (Default 3 kolom, Home 1 kolom)
   ------------------------------------------------------------ */
/* Sembunyikan iframe peta di footer */
.footer iframe,
footer iframe,
iframe[src*="google.com/maps"],
iframe[src*="maps.google"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    width: 0 !important;
    overflow: hidden !important;
}

/* Default: footer 3 kolom */
.footer .grid,
footer .grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Home: footer 1 kolom */
body.home .footer .grid,
body.home footer .grid {
    grid-template-columns: 1fr !important;
    max-width: 600px !important;
    gap: 1.5rem !important;
}

/* Styling footer */
.footer, footer {
    background-color: #f8f9fa !important;
    color: #333 !important;
    padding: 2.5rem 1.5rem !important;
    border-top: 3px solid #0056b3 !important;
    margin-top: 3rem !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    clear: both !important;
}

.footer h4, footer h4 {
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #0056b3 !important;
    margin-bottom: 0.75rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.footer ul, footer ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.footer ul li, footer ul li {
    margin-bottom: 0.4rem !important;
    color: #444 !important;
}

.footer a, footer a {
    color: #0056b3 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer a:hover, footer a:hover {
    color: #003d80 !important;
    text-decoration: underline !important;
}

/* ------------------------------------------------------------
   11. MAPS - HANYA MUNCUL DI HOME
   ------------------------------------------------------------ */
body:not(.home) .map-container,
body:not(.home) iframe[src*="google.com/maps"] {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
}

body.home .map-container,
body.home iframe[src*="google.com/maps"] {
    display: block !important;
    margin: 0 auto !important;
    max-width: 100% !important;
}

/* ------------------------------------------------------------
   12. HALAMAN CONTACT (3 KOLOM)
   ------------------------------------------------------------ */
.page-contact .grid,
.page-contact .contact-grid,
.page-contact .contact-content,
body[class*="contact"] .grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 2rem !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
    text-align: center !important;
}

.page-contact .grid > div,
.page-contact .contact-grid > div,
.page-contact .contact-content > div {
    background-color: #f8f9fa !important;
    padding: 1.5rem !important;
    border-radius: 8px !important;
    border: 1px solid #e9ecef !important;
}

.page-contact h3,
.page-contact h4 {
    color: #0056b3 !important;
    margin-bottom: 1rem !important;
}

/* ------------------------------------------------------------
   13. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    .footer .grid, footer .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        max-width: 100% !important;
    }

    .footer, footer {
        padding: 1.5rem 1rem !important;
    }

    .footer h4, footer h4 {
        font-size: 1rem !important;
    }

    .committee-container {
        flex-direction: column !important;
    }

    .committee-column {
        flex: 1 1 100% !important;
    }

    .schedule-table td:first-child,
    .schedule-table th:first-child {
        min-width: 80px !important;
    }

    .page-contact .grid,
    .page-contact .contact-grid,
    .page-contact .contact-content,
    body[class*="contact"] .grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
}

/* ------------------------------------------------------------
   14. GALERI FOTO TERNAK
   ------------------------------------------------------------ */
.gallery {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)) !important;
    gap: 1rem !important;
    margin: 2rem 0 !important;
}

.gallery img {
    width: 100% !important;
    height: auto !important;
    border-radius: 8px !important;
    object-fit: cover !important;
}

/* ------------------------------------------------------------
   15. SEMBUNYIKAN BRANDING LECONFE (OPSIONAL)
   ------------------------------------------------------------ */
/*
.footer > div:last-child:contains("Leconfe"),
footer > div:last-child:contains("Academic Conference Platform") {
    display: none !important;
}
*/