/* =======================================================
   InnoTeach 2025 — Master Stylesheet (All-in-One)
   Includes: Hero, Section Headings, Speakers, Section Spacing,
             Section Dividers, Footer (2-column, centered)
   ======================================================= */

/* --------------------
   HERO (Conference Title)
   -------------------- */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;700&display=swap");

.hero-title{
  font-size: 38px !important;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: #083b66;
  text-shadow: 1px 1px 2px rgba(0,0,0,.12);

  /* wrap rapi untuk judul panjang */
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: auto;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 1100px;
}

.hero-subtitle{
  font-size: 20px !important;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  color: #444;
  text-align: center;
}

@media (max-width: 992px){ .hero-title{ font-size: 34px !important; } }
@media (max-width: 576px){
  .hero-title{ font-size: 28px !important; }
  .hero-subtitle{ font-size: 16px !important; }
}

/* --------------------
   SECTION HEADINGS (uniform & wrap)
   -------------------- */
h2.section-title,
.section-title,
.speakers h2,
.speakers-section h2 {
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #083b66 !important;
  text-align: center !important;

  /* wrap & perapihan */
  word-break: normal;
  overflow-wrap: anywhere;
  hyphens: auto;

  max-width: 1000px;
  margin: 0 auto 18px auto;  /* rata tengah + jarak ke isi */
}

/* NORMALIZE semua kemungkinan judul bawaan tema */
section h2,
.section h2,
.announcements h2,
.timelines h2,
.sponsors h2,
.partners h2,
.home h2,
main h2{
  font-size: 28px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: #083b66 !important;
  text-align: center !important;
  margin: 0 auto 18px auto !important;
}

/* --------------------
   SPEAKERS (foto & jarak lebih kompak)
   -------------------- */
section[id*="speaker"] .row,
.speakers .row,
.speakers-grid{
  gap: 10px !important;                /* jarak antar kartu */
  margin-left: -5px !important;
  margin-right: -5px !important;
}

.speakers .card,
.speaker-card{
  padding: 10px !important;
  margin: 0 5px 14px 5px !important;   /* rapikan margin luar */
  border-width: 1px !important;
}

section[id*="speaker"] img,
.speakers img,
.speaker-card img,
.speaker-avatar img{
  width: 130px !important;             /* ubah ke 120px bila perlu lebih kecil */
  height: 130px !important;
  object-fit: cover !important;
  border-radius: 10px;
}

section[id*="speaker"] .name,
.speakers .card-title,
.speaker-name{
  font-size: 18px !important;
  line-height: 1.25 !important;
  font-weight: 700 !important;
  margin-top: 8px !important;
}

section[id*="speaker"] .affiliation,
.speakers .card-text,
.speaker-affiliation{
  font-size: 13.5px !important;
  line-height: 1.45 !important;
  color: #445059 !important;
}

@media (max-width: 992px){
  section[id*="speaker"] img, .speakers img{
    width: 120px !important; height: 120px !important;
  }
  section[id*="speaker"] .name, .speakers .card-title{
    font-size: 17px !important;
  }
}
@media (max-width: 576px){
  section[id*="speaker"] img, .speakers img{
    width: 100px !important; height: 100px !important;
  }
  section[id*="speaker"] .name, .speakers .card-title{
    font-size: 16px !important;
  }
  section[id*="speaker"] .affiliation, .speakers .card-text{
    font-size: 12.5px !important;
  }
}

/* --------------------
   SECTION SPACING + DIVIDER ANTAR SECTION
   -------------------- */
/* padatkan padding tiap section */
section{
  padding-top: 36px !important;   /* lebih dekat */
  padding-bottom: 36px !important;
}

/* garis tipis antar-section (bukan di bawah judul) */
section{
  border-top: 1px solid rgba(8,59,102,0.12);  /* biru tua transparan */
}
section:first-of-type,
section.hero,
.hero,
header section{
  border-top: none !important;    /* jangan tampilkan garis di bagian paling atas/hero */
}

/* --------------------
   FOOTER (2 kolom, centered)
   -------------------- */
footer, .site-footer{
  background-color: #083b66 !important;
  color: #f4f4f4 !important;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  padding: 25px 0 15px 0;
  text-align: center;
}

footer a, .site-footer a{
  color: #ffd65c !important;
  text-decoration: none;
}
footer a:hover, .site-footer a:hover{
  color: #ffffff !important;
  text-decoration: underline;
}

footer h3, footer h4, footer h5,
.site-footer h3, .site-footer h4, .site-footer h5{
  font-size: 16px;
  margin-bottom: 10px;
  font-weight: 700;
  color: #ffffff !important;
}

footer .col, .site-footer .col{ margin-bottom: 20px; }

.footer-bottom{
  border-top: 1px solid rgba(255,255,255,0.2);
  margin-top: 15px;
  padding-top: 10px;
  text-align: center;
  font-size: 13px;
  color: #cccccc;
}

/* grid dua kolom untuk konten footer kustom */
.footer-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  text-align: center !important;
}

.footer-section{
  flex: 1 1 360px;    /* min 360px; otomatis 1 kolom di HP */
  max-width: 520px;
}

.footer-section h4{
  margin: 0 0 8px 0;
  font-weight: 700;
}

.footer-section p{
  margin: 6px 0;
  line-height: 1.4;
}
