/* 
 * THP UNILA Main CSS
 */
:root {
  --primary-color: #2e7d32;
  --primary-dark: #1b5e20;
  --primary-light: #e8f5e9;
  --secondary-color: #f57c00;
  --secondary-light: #fff3e0;
  --text-main: #1e293b;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.05), 0 1px 2px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.03);
  --shadow-hover: 0 20px 25px -5px rgba(0,0,0,0.05), 0 10px 10px -5px rgba(0,0,0,0.02);
  --radius: 16px;
}

html, body {
  font-family: 'Inter', sans-serif;
  color: var(--text-main);
  background: #fff;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  /* Menambah efek smooth scroll secara keseluruhan */
  scroll-behavior: smooth;
}
a {
  text-decoration: none !important;
}
a:hover {
  text-decoration: none !important;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
}

.section-padding {
  padding: 60px 0;
}
.section-title {
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 25px;
  position: relative;
  display: inline-block;
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 50%;
  height: 4px;
  background: var(--secondary-color);
  border-radius: 4px;
}
.text-center.section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.bg-light { background-color: var(--bg-light); }

/* Preloader */
.preloader-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* HEADER */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 15px 0;
  transition: var(--transition);
}
.site-header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  padding: 10px 0;
}
body:not(.home):not(.front-page) #page-wrapper {
  padding-top: 100px; /* Offset for fixed header on internal pages */
}
.logo-link {
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 15px;
}
.logo-link img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}
.logo-text h1 {
  font-size: 16px;
  color: #fff;
  font-weight: 700;
  transition: var(--transition);
  margin: 0;
  line-height: 1.2;
}
.site-header.scrolled .logo-text h1 {
  color: var(--primary-dark);
}
.main-menu ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 20px;
  position: relative;
}
.main-menu ul li {
  position: relative;
}
.main-menu ul li a {
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  transition: var(--transition);
  display: block;
  padding: 10px 0;
}
.site-header.scrolled .main-menu ul li a {
  color: var(--text-main);
}
.main-menu ul li a:hover {
  color: var(--secondary-color) !important;
}

/* Dropdown Menu */
.main-menu ul li ul {
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  min-width: 200px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  gap: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1000;
  border-radius: 4px;
  overflow: hidden;
}
.main-menu ul li:hover > ul {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-menu ul li ul li a {
  color: var(--text-main) !important;
  padding: 12px 20px;
  border-bottom: 1px solid #eee;
  text-transform: none;
}
.main-menu ul li ul li:last-child a {
  border-bottom: none;
}
.main-menu ul li ul li a:hover {
  background: var(--bg-light);
  color: var(--primary-color) !important;
}

/* Fix dropdown cut-off on right edge for the last menu items */
.main-menu ul > li:last-child > ul,
.main-menu ul > li:nth-last-child(2) > ul {
  left: auto;
  right: 0;
}

/* Mobile Menu Toggle Button (Touch Friendly) */
.mobile-menu-toggle {
  background: var(--color-primary, #047857);
  border: none;
  color: #ffffff !important;
  font-size: 20px;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1001;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(4, 120, 87, 0.25);
  -webkit-tap-highlight-color: transparent;
}

.site-header.scrolled .mobile-menu-toggle {
  background: var(--color-primary, #047857);
  color: #ffffff !important;
}

.mobile-menu-toggle:active {
  transform: scale(0.92);
}

/* Mobile Menu Overlay Backdrop */
.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.mobile-menu-active {
  overflow: hidden !important;
}

/* Mobile Off-canvas Drawer Styles (@media max-width: 991px) */
@media (max-width: 991.98px) {
  .main-menu {
    position: fixed !important;
    top: 0;
    right: -320px;
    width: 300px;
    height: 100vh;
    background: #ffffff;
    z-index: 1050;
    padding: 24px 20px;
    display: flex !important;
    flex-direction: column;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
    transition: right 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .main-menu.mobile-open {
    right: 0 !important;
  }

  .mobile-menu-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 14px;
  }

  .mobile-menu-title {
    font-size: 1.1rem;
    color: #0f172a;
  }

  .mobile-menu-close {
    background: #f1f5f9;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: #475569;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
  }

  .mobile-menu-close:hover {
    background: #e2e8f0;
    color: #0f172a;
  }

  .main-menu ul {
    flex-direction: column !important;
    gap: 0 !important;
    width: 100%;
  }

  .main-menu ul li {
    width: 100%;
    border-bottom: 1px solid #f1f5f9;
  }

  .main-menu ul li a {
    color: #1e293b !important;
    font-size: 0.98rem;
    padding: 14px 8px !important;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .main-menu ul li ul {
    position: static !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    box-shadow: none !important;
    display: none !important;
    background: #f8fafc;
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 8px;
  }

  .main-menu ul li.submenu-open > ul {
    display: flex !important;
  }
}

/* HERO SLIDER */

.slider {
  height: 100vh;
  min-height: 600px;
  position: relative;
}
.swiper-container {
  width: 100%; height: 100%;
}
.slider .swiper-slide {
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}
.slider .swiper-slide::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
  z-index: 1;
}
.slider .swiper-slide .description {
  position: relative;
  z-index: 2;
  text-align: right;
  padding: 0 10%;
  color: #fff;
  max-width: 800px;
}
.slider .swiper-slide .head-text {
  font-size: 20px;
  color: var(--secondary-color);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.slider .swiper-slide h1 {
  font-size: 60px;
  margin: 0 0 10px;
}
.slider .swiper-slide h2 {
  font-size: 40px;
  margin: 0 0 30px;
}
.btn-slide {
  display: inline-block;
  background: var(--secondary-color);
  color: #fff;
  padding: 12px 30px;
  text-transform: uppercase;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  transition: var(--transition);
}
.btn-slide:hover {
  background: #fff;
  color: var(--primary-dark);
}
.vertical-info {
  position: absolute;
  left: 30px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}
.vertical-info a {
  display: block;
  color: #fff;
  font-size: 20px;
  margin-bottom: 15px;
}
.vertical-info a:hover { color: var(--secondary-color); }
.swiper-navigation {
  position: absolute;
  bottom: 40px; right: 10%;
  z-index: 10;
  display: flex;
  color: #fff;
  gap: 20px;
  align-items: center;
  font-weight: bold;
}
.swiper-navigation .slide-button-prev,
.swiper-navigation .slide-button-next { cursor: pointer; text-transform: uppercase;}
.swiper-navigation .separator { opacity: 0.5; }

/* INTRO */
.intro {
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-white) 100%);
}
.intro .sambutan-text {
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-muted);
}
.intro .sambutan-nama {
  font-size: 18px;
  color: var(--secondary-color);
  font-weight: 800;
  display: inline-block;
  margin-top: 10px;
}
.intro .image-wrapper img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 10px solid #fff;
  transform: rotate(2deg);
  transition: var(--transition);
}
.intro .image-wrapper:hover img {
  transform: rotate(0deg) scale(1.02);
}

/* SMART SCHOOL */
.link-card {
  display: block;
  background: #fff;
  padding: 40px 30px;
  text-align: center;
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #f1f5f9;
  position: relative;
  overflow: hidden;
}
.link-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--primary-color);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}
.link-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  text-decoration: none;
}
.link-card:hover::before {
  transform: scaleX(1);
}
.link-card h3 {
  color: var(--primary-dark);
  font-size: 22px;
  margin-bottom: 10px;
  font-weight: 800;
}
.link-card p {
  color: var(--text-muted);
  margin: 0;
}
.icon-box {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background: var(--primary-light);
  color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  transition: var(--transition);
}
.link-card:hover .icon-box {
  background: var(--primary-color);
  color: #fff;
  transform: scale(1.1) rotate(5deg);
}

/* HIGHLIGHT */
.highlight {
  background-color: var(--bg-white);
}
.highlight-list, .pengumuman-list {
  list-style: none;
  padding: 0; margin: 0;
}
.highlight-list li, .pengumuman-list li {
  display: flex;
  gap: 25px;
  padding: 25px;
  margin-bottom: 25px;
  background: var(--bg-light);
  border-radius: var(--radius);
  transition: var(--transition);
  border: 1px solid transparent;
}
.highlight-list li:hover, .pengumuman-list li:hover {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-color: #e2e8f0;
  transform: translateX(5px);
}
.highlight-list .image img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 12px;
}
.list-title {
  font-size: 18px;
  color: var(--primary-dark);
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.4;
}
.list-title a { color: inherit; text-decoration: none; }
.list-title a:hover { color: var(--secondary-color); }
.list-desc { color: var(--text-muted); font-size: 15px; margin-bottom: 12px; }
.btn-read {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  background: var(--primary-light);
  padding: 6px 15px;
  border-radius: 30px;
  transition: var(--transition);
}
.btn-read:hover { 
  background: var(--primary-color);
  color: #fff; 
}

.date-box {
  background: var(--secondary-light);
  color: var(--secondary-color);
  padding: 20px 15px;
  text-align: center;
  border-radius: 12px;
  min-width: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.date-box h3 { margin: 0; font-size: 28px; font-weight: 800;}
.date-box h3 span { display: block; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); }

/* NEWS */
.news-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid #f1f5f9;
  height: 100%;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.news-card .image {
  height: 240px;
  background-size: cover;
  background-position: center;
  position: relative;
}
.date-badge {
  position: absolute;
  top: 15px; left: 15px;
  background: var(--bg-white);
  color: var(--primary-dark);
  padding: 8px 15px;
  font-size: 13px;
  border-radius: 30px;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.news-card .description {
  padding: 30px;
}
.news-title {
  font-size: 20px;
  margin-bottom: 12px;
  color: var(--primary-dark);
  font-weight: 800;
  line-height: 1.4;
  transition: var(--transition);
}
.news-card a {
  text-decoration: none !important;
}
.news-card a:hover .news-title { 
  color: var(--secondary-color); 
}
.news-excerpt {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  line-height: 1.6;
}

/* CTA / PPDB */
.cta-section {
  padding: 60px 0 80px;
}
.cta-box {
  background: linear-gradient(135deg, var(--primary-color) 0%, #10401b 100%);
  padding: 80px 40px;
  border-radius: 24px;
  text-align: center;
  box-shadow: 0 20px 40px -10px rgba(46, 125, 50, 0.4);
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
  animation: pulse 10s infinite linear;
}
@keyframes pulse {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.cta-box h1 {
  font-size: 40px;
  font-weight: 800;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}
.cta-box p {
  font-size: 18px;
  opacity: 0.9;
  line-height: 1.6;
  position: relative;
  z-index: 2;
  margin-bottom: 35px;
}
.btn-light-rounded {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: var(--primary-dark);
  padding: 16px 40px;
  border-radius: 50px;
  font-weight: 800;
  text-decoration: none;
  transition: var(--transition);
  position: relative;
  z-index: 2;
  font-size: 16px;
  box-shadow: var(--shadow-md);
}
.btn-light-rounded:hover {
  background: var(--secondary-color);
  color: #fff;
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* FOOTER */
.site-footer {
  background: #111;
  color: rgba(255,255,255,0.7);
}
.footer-logo {
  text-decoration: none !important;
}
.footer-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}
.footer-title {
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
}
.footer-socmed a {
  color: #fff;
  font-size: 20px;
  margin-right: 15px;
  transition: var(--transition);
}
.footer-socmed a:hover { color: var(--secondary-color); }
.footer-menu { list-style: none; padding: 0; margin: 0; }
.footer-menu li { margin-bottom: 10px; }
.footer-menu a { color: rgba(255,255,255,0.7); text-decoration: none; transition: var(--transition); }
.footer-menu a:hover { color: var(--secondary-color); }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; gap: 15px; margin-bottom: 15px; }
.footer-contact i { color: var(--secondary-color); margin-top: 5px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  font-size: 14px;
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 991px) {
  .swiper-slide h1 { font-size: 36px; }
  .swiper-slide h2 { font-size: 24px; }
  .swiper-slide .head-text { font-size: 16px; letter-spacing: 1px; }
  .swiper-slide .description { text-align: center; padding: 0 5%; }
  .vertical-info { display: none; }
  .swiper-slide { justify-content: center; }
}

/* Optimasi Khusus Layar HP (Mobile) agar teks tidak offside */
@media (max-width: 575px) {
  .slider { min-height: 400px; height: 80vh; }
  .swiper-slide h1 { font-size: 26px; line-height: 1.3; margin-bottom: 8px; }
  .swiper-slide h2 { font-size: 16px; line-height: 1.4; margin-bottom: 20px; }
  .swiper-slide .head-text { font-size: 13px; letter-spacing: 0; margin-bottom: 8px; }
  .btn-slide { padding: 10px 20px; font-size: 14px; }
  .swiper-slide .description { padding: 0 15px; } /* Memberi jarak aman dari tepi layar */
}

/* GALERI */
.galeri {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--primary-light) 100%);
}
.galeri .swiper-slide {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

/* INFOGRAFIS */
.infografis-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 30px 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: var(--transition);
  height: 100%;
}
.infografis-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 30px rgba(0,0,0,0.2);
}
.infografis-card .icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
}
.infografis-card h3 {
  color: #fff;
}
.infografis-card p {
  color: rgba(255,255,255,0.8);
}


/* ==========================================================================
   Modern Sidebar Styling
   ========================================================================== */
.sidebar-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  position: sticky;
  top: 100px;
}

.sidebar-widget {
  background: #ffffff;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sidebar-widget:hover {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.sidebar-widget .widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-dark, #1b2e1e);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f2;
  position: relative;
}

.sidebar-widget .widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--color-primary, #047857);
  border-radius: 2px;
}

.sidebar-widget .widget-title i {
  color: var(--color-primary, #047857);
}

/* 1. Search Form */
.search-input-group {
  display: flex;
  align-items: center;
  background: #f8faf9;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 4px 6px 4px 14px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-input-group:focus-within {
  border-color: var(--color-primary, #047857);
  box-shadow: 0 0 0 3px rgba(4, 120, 87, 0.12);
  background: #ffffff;
}

.search-input-group .search-field {
  border: none;
  background: transparent;
  width: 100%;
  padding: 8px 0;
  font-size: 0.92rem;
  color: #334155;
  outline: none;
}

.search-input-group .search-submit {
  border: none;
  background: var(--color-primary, #047857);
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.search-input-group .search-submit:hover {
  background: var(--color-primary-dark, #065f46);
  transform: translateX(2px);
}

/* 2. Quick Links Grid */
.quick-links-grid {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quick-link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #f8faf9;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid transparent;
}

.quick-link-card:hover {
  background: #ffffff;
  border-color: rgba(4, 120, 87, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
}

.quick-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.bg-light-green { background: #e6f4ea; color: #047857; }
.bg-light-blue  { background: #e0f2fe; color: #0284c7; }
.bg-light-orange{ background: #ffedd5; color: #ea580c; }
.bg-light-purple{ background: #f3e8ff; color: #9333ea; }

.quick-info {
  display: flex;
  flex-direction: column;
}

.quick-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.3;
}

.quick-desc {
  font-size: 0.78rem;
  color: #64748b;
}

/* 3. Recent Posts List */
.recent-posts-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.recent-post-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.recent-post-thumb {
  width: 60px;
  height: 60px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.recent-post-item:hover .recent-post-thumb img {
  transform: scale(1.08);
}

.fallback-thumb i {
  font-size: 1.4rem;
  color: #047857;
}

.recent-post-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.recent-post-date {
  font-size: 0.75rem;
  color: #94a3b8;
}

.recent-post-title {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.35;
  margin: 0;
}

.recent-post-title a {
  color: #334155;
  text-decoration: none;
  transition: color 0.2s ease;
}

.recent-post-title a:hover {
  color: var(--color-primary, #047857);
}

/* 4. Category Badges */
.category-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.82rem;
  font-weight: 500;
  padding: 6px 12px;
  background: #f1f5f9;
  color: #475569;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cat-badge:hover {
  background: var(--color-primary, #047857);
  color: #ffffff;
  transform: translateY(-1px);
}

.cat-count {
  font-size: 0.75rem;
  opacity: 0.8;
}

/* 5. Help Card */
.widget-help-card {
  background: linear-gradient(135deg, #047857 0%, #064e3b 100%);
  color: #ffffff;
  padding: 0;
  overflow: hidden;
}

.help-card-inner {
  padding: 24px;
  text-align: center;
  position: relative;
}

.help-icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin: 0 auto 14px auto;
  color: #ffffff;
}

.help-card-inner h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #ffffff;
}

.help-card-inner p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 18px;
  line-height: 1.4;
}

.btn-help-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 10px 16px;
  background: #25d366;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.88rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  transition: all 0.25s ease;
}

.btn-help-wa:hover {
  background: #20ba5a;
  transform: translateY(-2px);
  color: #ffffff;
}
