/* MDIX Konstruksi Korporat — audit fixes */

:root {
  /* theme orange #fe7c00 gives 2.59:1 with white text; this shade passes AA (5.05:1) */
  --mdix-orange: #b84f00;
  --mdix-orange-dark: #8f3d00;
  --mdix-gutter: 16px;
}

/* html/body were fixed at 100% height; with the overflow guard the body became its own
   scroll box, so the page did not scroll as a whole and scroll animations misfired. */
html,
body {
  height: auto !important;
}

.widget-archive li a {
  display: inline-block;
  width: calc(100% - 20px);
  min-height: 24px;
  line-height: 24px;
}
.widget-tag li a {
  min-height: 24px;
}

/* ---------- Contrast (AA): orange behind white text and orange text on light backgrounds ---------- */
.intro-sec,
.main-menu ul li.active a,
.slider-text li:last-child a,
.about-button a:last-child,
.service .service-item .inner a.btn.readmore,
.btn.rdmorebtn,
.faq-sec .panel-heading,
.post-date h2,
.sidebar h1,
.search-field button,
.hd-search button,
.single-input-fieldsbtn input[type="submit"],
.footer-wedget-newsletter input[type="submit"],
#scrollUp,
.project-hoverlay {
  background: var(--mdix-orange) !important;
}
.single-input-fieldsbtn input[type="submit"],
.footer-wedget-newsletter input[type="submit"],
.footer-wedget-newsletter input[type="email"] {
  border-color: var(--mdix-orange) !important;
}
.sec-title h1 span,
.single-post-text a.readmore,
.single-post-text li a i,
.contact-person h1,
.main-menu ul li a:hover,
.main-menu ul ul li a:hover,
.service-item .inner:hover.inner h2 a,
.sidebar ul li a:hover,
.single_r_dec a:hover {
  color: var(--mdix-orange);
}
.main-menu ul li.active a,
.main-menu ul li.active a:hover {
  color: #fff;
}
.slider-text li:last-child a:hover,
.about-button a:last-child:hover,
.service .service-item .inner a.btn.readmore:hover,
.single-input-fieldsbtn input[type="submit"]:hover,
.footer-wedget-newsletter input[type="submit"]:hover {
  background: var(--mdix-orange-dark) !important;
}
/* grey card text on white was 4.48:1 */
.abt-lft p,
.service-item .inner p,
.single-post-text p {
  color: #5f5f5f;
}

/* "Selengkapnya" buttons asked for an unloaded font (raleway) and fell back to Times */
.service .service-item .inner a.btn.readmore {
  font-family: inherit;
  font-weight: 600;
  min-height: 36px;
  line-height: 24px;
}

/* Indonesian sentences must not be Title Cased */
.relative-post h3,
.client-comment h3,
.team-member h3,
.single-input-field h4,
.sidebar ul li a,
.single-post-text li a {
  text-transform: none;
}

/* ---------- Touch targets (WCAG 2.5.8: at least 24px) ---------- */
.hd-rgt li a {
  width: 32px;
  height: 32px;
  line-height: 32px;
}
.footer-wedget-two li a,
.service-item .inner h2 a,
.single-post-text h2 a,
.single-post-text a.readmore,
.single_r_dec a,
.info-text a,
.mdix-contact-list a {
  display: inline-block;
  min-height: 24px;
  line-height: 24px;
}
.footer-wedget-one li a,
.footer-wedget-one i {
  min-width: 40px;
  min-height: 40px;
}

/* ---------- Contact strip: even grid instead of staggered inline blocks ---------- */
.contact-intro {
  display: grid;
  grid-template-columns: repeat(4, auto);
  justify-content: space-between;
  gap: 24px 32px;
  text-align: left;
}
.contact-intro .info-intro {
  display: flex;
  align-items: center;
  margin: 0;
}
.contact-intro .info-icon {
  flex: 0 0 40px;
  top: 0;
  text-align: center;
}
@media (max-width: 991px) {
  .contact-intro {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .contact-intro {
    grid-template-columns: minmax(0, 1fr);
    padding: 0 8px;
  }
}

/* ---------- Phone header ---------- */
.mean-container .mean-bar {
  background: #242424;
}
@media (max-width: 767px) {
  .hd-sec .container {
    padding-left: var(--mdix-gutter);
    padding-right: var(--mdix-gutter);
  }
  .hd-search {
    margin-top: 10px;
  }
  .hd-rgt {
    margin-top: 0;
  }
  .logo {
    padding: 20px 0;
  }
  /* hero photos were stretched to 100% 100% on phones */
  .all-slide .single-slide {
    background-size: cover !important;
    background-position: center;
  }
  /* copyright line ran under the fixed back-to-top button */
  .footer-bottom-sec p {
    padding: 0 56px;
  }
}
@media (max-width: 470px) {
  /* keep hero copy clear of the 40px slider arrows */
  .slider-text {
    padding: 0 48px;
  }
}

/* ---------- Photos ---------- */
.blog-sec .post-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.relative-post-thumb img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}
.client-comment img {
  object-fit: cover;
}
.project-sec .item img,
.service-thumb img,
.team-thumb img {
  width: 100%;
}

/* ---------- Contact page ---------- */
.mdix-contact-list {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.mdix-contact-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 0;
  color: #464646;
}
.mdix-contact-list i {
  width: 20px;
  text-align: center;
  color: var(--mdix-orange);
}
.mdix-contact-list a {
  color: #464646;
}
.contact-field label {
  font: inherit;
  margin: 0;
}
.contact-field textarea::placeholder {
  color: #767676;
}
.map-sec iframe {
  display: block;
  max-width: 100%;
}
@media (max-width: 991px) {
  .map-heading {
    margin-top: 30px;
  }
}

/* links wrapping images were inline (20px tall hit box) */
.logo a {
  display: inline-block;
}
.service-thumb > a {
  display: block;
}

/* team names/roles were 4.48:1 on white */
.team-member h2,
.team-member h3 {
  color: #5f5f5f;
}
.single-post > a {
  display: block;
}
.page-heading ul li a {
  display: inline-block;
  min-height: 24px;
  line-height: 24px;
}

/* blog meta in #777 was 4.48:1 */
.comment-list h5,
.single_r_dec p {
  color: #5f5f5f;
}
.single-post-text h2 {
  color: #464646;
}

/* photo-overlay meta on news cards: bright orange icons on the dark band, one line per card */
.single-post-text.overlay li a i {
  color: #fe7c00;
}
.single-post-text.overlay li a {
  white-space: nowrap;
}
@media (min-width: 768px) and (max-width: 1199px) {
  .single-post-text.overlay li a {
    font-size: 13px;
    padding-right: 8px;
  }
}
@media (min-width: 768px) and (max-width: 991px) {
  /* 220px cards: keep only the date on the photo band */
  .single-post-text.overlay li:first-child,
  .single-post-text.overlay li:last-child {
    display: none;
  }
}

/* phone menu: theme font (was Times) and the same dark as the header bar */
.mean-container .mean-nav {
  background: #242424;
}
.mean-container .mean-nav ul li a {
  font-family: "Source Sans Pro", sans-serif;
  font-weight: 600;
}
.mean-container .mean-nav ul li.active > a {
  color: #fe7c00;
}
