/*
Theme Name: Medley Child - Mabur v7
Theme URI: https://wowthemes.net/themes/medley-wordpress/
Description: Child theme for Medley (Mabur). Includes sticky brand, 3-column footer widgets, intro category picks, post source field, author box (Penulis/Editor), featured image caption, and custom CSS.
Author: Custom
Template: medley
Version: 1.5.0
Text Domain: medley-child-mabur-v7
*/

/* sebelum scroll: tetap hidden */
.sticky-header .sticky-brand{ display:none; }

/* setelah scroll */
.sticky-header.scrolled-down .sticky-brand{
  display:flex;
  align-items:center;
  margin-right:14px;
}

/* paksa img-nya tampil & ukurannya rapih */
.sticky-header.scrolled-down .sticky-brand img{
  display:block;
  height:50px;
  width:auto;
}

.sticky-header.scrolled-down .navbar-nav > li {
  padding-top: 10px;
}

/* =========================
   FOOTER: pemisah (border) + spacing
   ========================= */
.site-footer{
  margin-top: 48px;              /* biar ada “jarak” dari konten/pagination */
  padding-top: 36px;
}

/* Border di atas area widget/footer columns */
.site-footer .container.mt-4.mb-4{
  border-top: 1px solid rgba(0,0,0,.10);
  padding-top: 28px;
}

/* Kalau footer kamu background biru/teal, border di atas bisa lebih halus */
.site-footer .container.mt-4.mb-4{
  border-top-color: rgba(255,255,255,.18); /* aman kalau bg gelap/teal */
}

/* =========================
   FOOTER: hilangkan bullet/dot khusus di footer
   ========================= */
.site-footer ul,
.site-footer ol{
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.site-footer li{
  margin: 0 0 6px 0;
}

/* Kalau ada marker bawaan block editor */
.site-footer li::marker{
  content: "" !important;
}

/* =========================
   FOOTER: kecilin typography menu/list biar “Kompas-like”
   ========================= */
.site-footer,
.site-footer a{
  font-size: 13px;
  line-height: 1.7;
}

.site-footer .footer-widget-title,
.site-footer h2,
.site-footer h3{
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 10px;
}

/* Link di footer lebih clean */
.site-footer a{
  opacity: .92;
  text-decoration: none;
}

.site-footer a:hover{
  opacity: 1;
  text-decoration: underline;
}

/* =========================
   OPTIONAL: bikin footer “kerasa footer” tapi tetap clean
   (kalau kamu mau background nya beda dari body)
   ========================= */
.site-footer{
  background: #7fb6c0;
  color: rgba(0,0,0,.78);
}

.site-footer a{
  color: rgba(0,0,0,.85);
}

/* ===== CONTACT FORM MABUR ===== */

/* Container form: TENGAH + MELEBAR */
.mabur-contact form {
  width: 100%;
  max-width: 640px; /* Lebih ramping dari 960px */
  margin: 0 auto;
  padding: 24px;
  background-color: #f9f9f9;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* Text judul & deskripsi ke tengah */
.mabur-contact {
  text-align: center;
  margin-bottom: 32px;
}

.mabur-contact h2 {
  font-size: 28px;
  margin-bottom: 8px;
}

.mabur-contact p.deskripsi {
  font-size: 16px;
  color: #555;
  margin-bottom: 24px;
}

/* Field tetap rapi (tidak center) */
.mabur-contact input,
.mabur-contact textarea {
  width: 100%;
  box-sizing: border-box;
  text-align: left;
  padding: 12px 14px;
  font-size: 15px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
}

/* Spasi antar field */
.mabur-contact p {
  margin-bottom: 20px;
}

/* Tombol kirim elegan */
.mabur-contact input[type="submit"] {
  background-color: #000;
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

/* Hover */
.mabur-contact input[type="submit"]:hover {
  background-color: #333;
}



/* =========================
   SINGLE POST: Sumber + Author Box (Penulis & Editor)
   ========================= */

.wows-post-meta-source{
  /* inherit theme typography; keep it subtle */
  opacity: .95;
}

.mabur-author-box{
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 18px;
  background: rgba(255,255,255,.55);
}

.mabur-author-avatar{
  display:block;
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.mabur-author-role{
  letter-spacing: .06em;
}

.mabur-author-name a{
  text-decoration: none;
}

.mabur-author-name a:hover{
  text-decoration: underline;
}

.mabur-author-social-link{
  opacity: .9;
  text-decoration: none;
}

.mabur-author-social-link:hover{
  opacity: 1;
  text-decoration: none;
}

/* Responsif: avatar & layout tetap rapi di mobile */
@media (max-width: 575.98px){
  .mabur-author-box{
    padding: 16px;
  }
  .mabur-author-avatar{
    width: 64px;
    height: 64px;
  }
}

/* ===== Featured image caption (Featured Image) ===== */
/* Ikuti struktur Gutenberg: <figure> + <figcaption class="wp-element-caption"> */
/* Tidak memaksa style caption—biar ikut style theme untuk .wp-element-caption. */
.mabur-featured.wp-block-image{
  width: 100%;
  max-width: 100%;
}

.mabur-featured.wp-block-image img{
  display: block;
  width: 100% !important;
  max-width: 100% !important;
  height: auto;
}

/* ===== Single post meta wrap spacing (Categories/Tags) ===== */
.wows-post-meta-categories{
  line-height: 1.7;
}

.wows-post-meta-source{
  line-height: 1.6;
}

.wows-post-meta-tags{
  line-height: 1.8;
}

.wows-post-meta-tags a{
  display: inline-block;
  margin-bottom: 10px;
  line-height: 1.2;
}
