/* === Hover Layanan Online MPP === */
.mpp-layanan-grid a {
  display: block;
  border-radius: 14px;
  overflow: hidden;
  transition: transform .3s ease;
}

.mpp-layanan-grid img {
  transition: all 0.35s ease;
  border-radius: 14px;
}

.mpp-layanan-grid a:hover img {
  transform: scale(1.07);
  box-shadow: 0 18px 35px rgba(0, 128, 0, 0.35);
}

.mpp-layanan-grid a:hover {
  transform: translateY(-6px);
}

/* === OFF CANVAS MENU T4 === */
.t4-offcanvas,
.t4-offcanvas .t4-offcanvas-inner {
  background-color: #006400 !important; /* hijau MPP */
}
.t4-offcanvas-header{
  background-color: #0f7d3b !important;
}
.t4-offcanvas a {
  color: #ffffff !important;
  font-weight: 600 !important;
}
.t4-offcanvas .active > a,
.t4-offcanvas a:hover {
  color: #b6ffcf !important;
}
.t4-offcanvas li {
  margin-bottom: 10px;
}
/* GRID INSTANSI */
.blog .items-row {
  display: flex;
  flex-wrap: wrap;
}

.blog .item {
  text-align: center;
  padding: 20px;
  transition: 0.3s ease;
}

.blog .item:hover {
  transform: translateY(-6px);
}

.blog .item img {
  max-height: 120px;
  width: auto;
  margin: 0 auto 15px;
  transition: 0.3s ease;
}

.blog .item:hover img {
  transform: scale(1.05);
}

/* Judul Instansi */
.blog .item h2,
.blog .item h3 {
  font-size: 16px;
  font-weight: 600;
  color: #0a5c36; /* hijau MPP */
}

/* Mobile */
@media (max-width: 768px) {
  .blog .item img {
    max-height: 90px;
  }
}
/* GRID SOP & PERSYARATAN */
.blog.sop-grid .item,
.blog .item {
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  margin: 15px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
  transition: all .3s ease;
  height: 100%;
}

.blog.sop-grid .item:hover,
.blog .item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
}

/* Judul SOP */
.blog .item h2,
.blog .item h3 {
  font-size: 15px;
  font-weight: 600;
  color: #0a5c36;
  line-height: 1.4;
}

/* Kategori / Instansi */
.blog .item .category-name {
  font-size: 13px;
  color: #6c757d;
  margin-bottom: 8px;
}

/* Intro text */
.blog .item .introtext {
  font-size: 14px;
  color: #333;
}

/* Icon PDF */
.blog .item a[href$=".pdf"]::before {
  content: "📄 ";
}

/* Mobile */
@media (max-width: 768px) {
  .blog .item {
    margin: 10px 0;
  }
}