/* MDIX audit fixes — MDIX Donasi Serbaguna */

:root {
  --mdix-orange: #fbb122;      /* theme brand orange (backgrounds) */
  --mdix-orange-text: #9a5a00; /* AA on white */
  --mdix-blue-band: #0a6f94;   /* AA with white text */
  --mdix-ink: #1a1c1d;
}

/* "Global Mitra" carousel showed theme-marketplace logos (3docean, codecanyon, envato…). */
.global {
  display: none !important;
}

/* Campaign cards use photos of different sizes: keep every card image the same shape. */
.campaigns .img-1 img {
  width: 100%;
  height: auto;
  aspect-ratio: 370 / 258;
  object-fit: cover;
}

/* ---------- Contrast (D-20): orange buttons get dark text, light text colours darkened ---------- */
.button_donate a,
.subm input[type="submit"],
.form-item-submit input[type="submit"],
.btn_post button {
  color: var(--mdix-ink) !important;
}
.button_donate a:hover,
.button_donate a:focus-visible {
  color: #fff !important;
}
.ready .right .b .btn-2 a { color: #fff !important; }
.static_donate,
.ready {
  background-color: var(--mdix-blue-band) !important;
}
.help .title span,
.help .left .list-item .item .icon,
.help .left .list-item .item .icon i,
.instagram .title a,
.campaigns .item .z .ct .raised b {
  color: var(--mdix-orange-text) !important;
}
.campaigns .item .z .ct .raised span {
  color: var(--mdix-blue-band) !important;
}
.recent .left a,
.recent .right .item .txt a {
  background-color: var(--mdix-blue-band);
}
.footer-1 .item3 .email p a {
  color: var(--mdix-orange);
}
.footer-1 .item3 .email p a:hover { color: #fff; }

/* ---------- Sample-data notes and demo notices ---------- */
.mdix-sample-note {
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color: #5d6062;
  margin: 8px 0 0;
}
.campaigns .title .mdix-sample-note,
.mdix-sample-note--center {
  text-align: center;
}
.mdix-sample-note--center {
  padding: 0 16px 40px;
  margin: 0;
  background: #eff1f2;
}
.campaigns .col-md-12 > .mdix-sample-note {
  text-align: center;
  margin: -10px 0 25px;
}
.type-camp .mdix-sample-note { margin-top: 12px; }
.mdix-demo-notice {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-left: 4px solid var(--mdix-orange);
  background: #fff8e8;
  color: var(--mdix-ink);
  font-size: 15px;
  line-height: 1.5;
}
.mdix-demo-notice a { color: var(--mdix-orange-text); text-decoration: underline; }

/* ---------- CSS progress bars (replace image bars with baked-in "79%") ---------- */
.mdix-progress {
  position: relative;
  height: 6px;
  margin: 34px 0 14px;
  background: #d9dbdc;
  border-radius: 3px;
}
.mdix-progress__fill {
  position: absolute;
  inset: 0 auto 0 0;
  background: var(--mdix-orange);
  border-radius: 3px;
}
.mdix-progress__label {
  position: absolute;
  bottom: 12px;
  transform: translateX(-50%);
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--mdix-orange);
  color: var(--mdix-ink);
  font: 600 13px/18px Roboto, Arial, sans-serif;
  white-space: nowrap;
}
.mdix-progress--sm { margin: 26px 0 8px; }
.related_camp .item .z .img .img-2 { position: static; margin: 0; padding: 0 12px; }

/* Buttons/forms added by the audit */
.btn_post button {
  border: 0;
  background: var(--mdix-orange);
  font-family: "Roboto Slab", sans-serif;
  font-size: 16px;
  line-height: 44px;
  padding: 0 24px;
  cursor: pointer;
}
.btn_post button:hover { background: #000; color: #fff !important; }
.mdix-inline-btn { margin: 20px 0; }
.mdix-map { margin-top: 30px; }
.mdix-map iframe { display: block; width: 100%; }
.mdix-map--contact { margin-top: 0; }
.mdix-list { padding-left: 22px; margin: 14px 0; }
.mdix-list li { margin-bottom: 6px; line-height: 1.6; }
.page-notfound h1.sub_title { font: inherit; margin: 0; }

/* ---------- Hero: keep the first slide's height before Owl initialises (CLS) ---------- */
#sync10.owl-carousel:not(.owl-loaded) { display: block; }
#sync10.owl-carousel:not(.owl-loaded) > .item:not(:first-child) { display: none; }

/* ---------- Header / phone menu ---------- */
.main_menu #setting {
  min-width: 44px;
  min-height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.pages_item .main_menu #setting i { color: #fff; }
@media (max-width: 1200px) {
  .main_menu #setting { display: flex; }
  #close {
    min-width: 44px;
    min-height: 44px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    transform: translateX(-50%);
  }
  .main_menu .menu > li > a > span { min-width: 44px; min-height: 44px; text-align: center; top: 0; }
  .main_menu .menu .sub_menu > li > a { display: inline-block; min-height: 24px; line-height: 24px; }
}
@media (min-width: 1201px) {
  .main_menu .menu > li.menu-close-item { display: none; }
}

/* ---------- Footer ---------- */
.footer .copyright .oxy a { display: inline-block; white-space: nowrap; line-height: 32px; }
.footer .copyright .social .social1 a {
  min-width: 44px;
  min-height: 44px;
  margin: 0 2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.footer-1 .us1 li a { display: inline-block; min-height: 28px; line-height: 28px; }

/* ---------- Phones ---------- */
@media (max-width: 767px) {
  .instagram .title h3 { padding: 0 16px; }
  .footer-1 .item3 .title { text-align: center; }
  .footer-1 .item3 .title img { display: inline-block; }
  .recent .left a,
  .recent .right .item .txt a { min-height: 24px; line-height: 14px; }
  .mdix-progress__label { font-size: 12px; }
}

/* ---------- Round 1b ---------- */
/* Title Case on Indonesian sentences: keep the author's casing. */
.page_detail .list_posts .main-content .main-content-inner .cmp_detail .content .post_title,
body.page_about.pages_item .who-about .about_left .title,
body.page_contact.pages_item .in_touch .title,
body.page_contact.pages_item .message_contact .message_c .title,
.careers .cosl .content-block h4,
.weneed .content .title {
  text-transform: none !important;
}
.careers .cosl .content-block h4::first-letter { text-transform: uppercase; }

/* Raised/goal amounts on every campaign layout (detail, list, sidebar). */
.raised span { color: var(--mdix-blue-band) !important; }
.raised b { color: var(--mdix-orange-text) !important; }

/* Comment names/times were orange and light grey on white. */
.page_detail .list_posts .main-content .main-content-inner .cmp_detail .comment .comment_item .content_cmt h3.cmt_title {
  color: var(--mdix-orange-text);
}
.page_detail .list_posts .main-content .main-content-inner .cmp_detail .comment .comment_item .content_cmt .cmt_time {
  color: #6b6e70;
}

/* Inner-page banners: thin dark layer so the white title reads on light photos. */
.bg_full_cp .bg_full {
  box-shadow: inset 0 0 0 2000px rgba(0, 0, 0, 0.36);
}

/* Audit-added article headings and lists use the theme fonts. */
.mdix-post-h1 {
  font-family: "Roboto Slab", serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  color: #1a1c1d;
  margin: 0 0 6px;
}
.mdix-list li { font-family: Roboto, Arial, sans-serif; font-size: 15px; color: #3b3c3d; }
.in_touch .item1 .desc a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.in_touch .item1 .desc a:hover { color: #fff8e8; }
.our_team #sync2 .item .text_show h3 {
  font-family: "Roboto Slab", serif;
  font-size: 18px;
  font-weight: 400;
  color: #1a1c1d;
}
ul.mdix-list { list-style: disc; }
ol.mdix-list { list-style: decimal; }
.post-meta a { color: var(--mdix-orange-text) !important; }
.sidebar .tags a { color: var(--mdix-ink) !important; min-height: 24px; }
.sidebar .tags a:hover { color: var(--mdix-orange-text) !important; }
.sidebar .categories ul li a:hover { color: var(--mdix-orange-text) !important; }
.content-header li.active a, .content-header li a:hover { color: var(--mdix-orange-text) !important; }

/* ---------- Round 2 ---------- */
/* Width/height attributes are for CLS only: let CSS keep the ratio. */
.header .logo img,
.footer-1 .item3 .title img,
.meet .item .img img { height: auto; }
.header .logo a,
.footer-1 .item3 .title a { display: inline-block; }
.recent .right .item .img a { display: block; }
.footer-1 .item3 .email p a { display: inline-block; min-height: 24px; line-height: 24px; }
.home1 .main_menu .menu > li.selected > a { color: var(--mdix-orange-text) !important; }
.meet #sync2 .item .text_show p { color: #5d6062; }
.button_camp ul li.selected a,
.button_camp ul li.selected a span,
.button_camp ul li a:hover span { color: var(--mdix-ink) !important; }
.event .readmore a { color: var(--mdix-orange-text) !important; }
.post-meta span span,
.recent_posts .post-meta span { color: #6b6e70 !important; }
.page-notfound .sub_title { color: #5d6062; }
.page-notfound .action a { color: var(--mdix-orange-text) !important; display: inline-block; min-height: 44px; line-height: 44px; }
/* Touch targets: inline links that sit alone on a line get a 24px box. */
.footer-1 .item2 p a,
.breadcrumb-links a,
.post-meta a,
.recent_posts .post-title a,
.post-categories .fild_button a { display: inline-block; min-height: 24px; line-height: 24px; }
.post-image a,
.event-image a,
.gsc-image-content .image a { display: block; }
.related_camp .img-1 a { display: block; }
.in_touch .item1 .desc a { display: inline-block; min-height: 24px; line-height: 24px; }
@media (max-width: 767px) { .footer .copyright .cpr p { padding: 0 16px; } }
@media (max-width: 1200px) { .main_menu .menu .sub_menu > li > a, .main_menu .menu .sub_menu li a { color: #5d6062 !important; } }
.recent .left a, .recent .right .item .txt a { min-height: 24px; line-height: 14px; }
/* Inner-page header and help-card captions: solid dark backing (translucent black read as white-on-white). */
.pages_item .header { background: #1f2021; }
.home4_help .gsc-image-content .content { background: #232425; }
