/* ======================================================================
   SMADU — BLOG PAGE REFRESH v20260803-1
   Scope khusus halaman Blog. Tidak mengubah Home, submenu lain, atau admin.
   ====================================================================== */

.smadu-blog-body {
  background: #f5faf8;
}

.smadu-blog-page {
  padding: 54px 0 72px;
  color: #102a26;
  background:
    radial-gradient(circle at 8% 0%, rgba(36, 193, 126, .09), transparent 32%),
    linear-gradient(180deg, #f7fcfa 0%, #eef8f5 100%);
}

.smadu-blog-page * {
  box-sizing: border-box;
}

.smadu-blog-heading {
  max-width: 760px;
  margin: 0 auto 36px;
  text-align: center;
}

.smadu-blog-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 7px 13px;
  border: 1px solid rgba(19, 151, 92, .2);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
  color: #117748;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.smadu-blog-heading h1 {
  margin: 0 0 10px;
  color: #082d25;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.12;
}

.smadu-blog-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: #5c746e;
  font-size: 16px;
  line-height: 1.75;
}

.smadu-blog-layout {
  align-items: flex-start;
}

.smadu-blog-main,
.smadu-blog-sidebar {
  min-width: 0;
}

.smadu-blog-list {
  display: grid;
  gap: 24px;
}

.smadu-blog-card {
  display: grid;
  grid-template-columns: minmax(250px, 38%) minmax(0, 1fr);
  min-height: 265px;
  overflow: hidden;
  border: 1px solid rgba(10, 91, 66, .09);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(12, 59, 48, .08);
  transition: transform .22s ease, box-shadow .22s ease;
}

.smadu-blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 56px rgba(12, 59, 48, .13);
}

.smadu-blog-media {
  position: relative;
  display: block;
  min-height: 265px;
  overflow: hidden;
  background: #dceae5;
}

.smadu-blog-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 265px;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.smadu-blog-card:hover .smadu-blog-media img {
  transform: scale(1.035);
}

.smadu-blog-date {
  position: absolute;
  left: 16px;
  bottom: 16px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 12px;
  border-radius: 12px;
  background: rgba(3, 41, 33, .9);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  backdrop-filter: blur(6px);
}

.smadu-blog-card-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 28px;
}

.smadu-blog-category {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: #eaf8f1;
  color: #087348;
  font-family: Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.smadu-blog-title {
  margin: 0 0 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.34;
}

.smadu-blog-title a {
  color: #092d25;
  text-decoration: none;
}

.smadu-blog-title a:hover {
  color: #087d4d;
}

.smadu-blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 16px;
  margin-bottom: 14px;
  color: #6d817c;
  font-family: Arial, sans-serif;
  font-size: 12px;
}

.smadu-blog-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.smadu-blog-excerpt {
  display: -webkit-box;
  overflow: hidden;
  margin: 0 0 18px;
  color: #516c65;
  font-size: 14px;
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.smadu-blog-readmore {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  padding: 10px 15px;
  border-radius: 999px;
  background: #0d945c;
  color: #fff !important;
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background .2s ease, transform .2s ease;
}

.smadu-blog-readmore:hover {
  background: #077747;
  transform: translateX(2px);
}

.smadu-blog-side-inner {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 20px;
}

.smadu-blog-widget {
  padding: 22px;
  border: 1px solid rgba(10, 91, 66, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 14px 38px rgba(12, 59, 48, .07);
}

.smadu-blog-widget > h2 {
  position: relative;
  margin: 0 0 18px;
  padding-bottom: 11px;
  color: #0b3027;
  font-size: 18px;
  font-weight: 700;
}

.smadu-blog-widget > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 42px;
  height: 3px;
  border-radius: 99px;
  background: #16af70;
}

.smadu-blog-search-form {
  position: relative;
  display: flex;
}

.smadu-blog-search-form input {
  width: 100%;
  height: 46px;
  padding: 0 50px 0 14px;
  border: 1px solid #d7e7e1;
  border-radius: 13px;
  outline: none;
  background: #f8fbfa;
  color: #163b32;
  font-size: 14px;
}

.smadu-blog-search-form input:focus {
  border-color: #18a96b;
  box-shadow: 0 0 0 3px rgba(24, 169, 107, .12);
}

.smadu-blog-search-form button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #0d945c;
  color: #fff;
  cursor: pointer;
}

.smadu-blog-categories {
  margin: 0;
  padding: 0;
  list-style: none;
}

.smadu-blog-categories li + li {
  border-top: 1px solid #edf3f1;
}

.smadu-blog-categories a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 2px;
  color: #38594f;
  font-size: 14px;
  text-decoration: none;
}

.smadu-blog-categories a:hover {
  color: #087b4b;
}

.smadu-blog-popular-list {
  display: grid;
  gap: 15px;
}

.smadu-blog-popular-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
}

.smadu-blog-popular-thumb {
  display: block;
  width: 86px;
  height: 72px;
  overflow: hidden;
  border-radius: 12px;
  background: #dceae5;
}

.smadu-blog-popular-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smadu-blog-popular-item h3 {
  margin: 0 0 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.smadu-blog-popular-item h3 a {
  color: #143b31;
  text-decoration: none;
}

.smadu-blog-popular-item p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #7b8f89;
  font-size: 11px;
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.smadu-blog-pagination {
  margin-top: 32px;
}

.smadu-blog-pagination ul,
.smadu-blog-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.smadu-blog-pagination a,
.smadu-blog-pagination strong,
.smadu-blog-pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d4e6df;
  border-radius: 11px !important;
  background: #fff;
  color: #24604d;
  text-decoration: none;
}

.smadu-blog-pagination strong,
.smadu-blog-pagination .active .page-link {
  border-color: #0d945c;
  background: #0d945c;
  color: #fff;
}

.smadu-blog-empty {
  padding: 54px 24px;
  border: 1px dashed #bfd8cf;
  border-radius: 20px;
  background: #fff;
  text-align: center;
}

.smadu-blog-empty > i {
  margin-bottom: 14px;
  color: #1a9e67;
  font-size: 42px;
}

@media (max-width: 991.98px) {
  .smadu-blog-page {
    padding-top: 38px;
  }

  .smadu-blog-sidebar {
    margin-top: 28px;
  }

  .smadu-blog-side-inner {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .smadu-blog-page {
    padding: 28px 0 52px;
  }

  .smadu-blog-page > .container {
    width: 100%;
    padding-right: 16px;
    padding-left: 16px;
  }

  .smadu-blog-heading {
    margin-bottom: 24px;
    text-align: left;
  }

  .smadu-blog-heading h1 {
    font-size: 31px;
  }

  .smadu-blog-heading p {
    font-size: 14px;
    line-height: 1.65;
  }

  .smadu-blog-card {
    display: block;
    min-height: 0;
    border-radius: 18px;
  }

  .smadu-blog-media {
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .smadu-blog-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
  }

  .smadu-blog-date {
    left: 12px;
    bottom: 12px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .smadu-blog-card-body {
    padding: 20px 18px 21px;
  }

  .smadu-blog-title {
    font-size: 20px;
    line-height: 1.32;
  }

  .smadu-blog-meta {
    gap: 7px 13px;
    font-size: 11px;
  }

  .smadu-blog-excerpt {
    font-size: 13.5px;
    -webkit-line-clamp: 3;
  }

  .smadu-blog-readmore {
    min-height: 40px;
  }

  .smadu-blog-widget {
    padding: 19px;
    border-radius: 17px;
  }
}

@media (max-width: 420px) {
  .smadu-blog-popular-item {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .smadu-blog-popular-thumb {
    width: 78px;
    height: 68px;
  }
}
