/*
Theme Name: Edge Child
Description: Child theme of Edge WordPress theme. Add your custom styles here.
Author: Your Name
Template: edge
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: edge-child
*/

/* ==========================================================================
   Child Theme Styles
   ========================================================================== */

/*
 * Import parent theme styles
 * Note: This will be handled by functions.php
 */

/* CSS Custom Properties for Color Scheme */
:root {
  --primary-green: #132113;
  --primary-green-light: #1a2e1a;
  --primary-green-dark: #0f1b0f;
  --accent-orange: #d97706;
  --accent-orange-dark: #b45309;
  --light-bg: #f8fafc;
  --text-gray: #64748b;
  --border-color: #e2e8f0;
  --dark-green: #132113ff;
  --white: #fefefeff;
  --cal-poly-green: #095124ff;
  --rojo: #da1f17ff;
  --black: #000000ff;
  --smoky-black: #19130fff;
  --aureolin: #fef500ff;
  --dark-green-2: #0f341bff;
  --olive: #918c00ff;
  --forest-green: #00923cff;
}

#site-branding {
  margin: 0 auto;
  padding: 0px 0;
  text-align: center;
  width: 60%;
}

#sticky_header {
  border-bottom: 0px;
}

.top-header {
  /* background: linear-gradient(0deg, rgb(55, 131, 84) 0%, rgb(9, 81, 36) 100%); */
  background: var(--primary-green, #132113);
  color: #ffffff;
  border-top: solid 4px var(--primary-green-dark, #0f1b0f);
}
.top-header a {
  color: #fefefe !important;
}
.top-header a:hover {
  color: var(--primary-green, #132113) !important;
}

.search-submit {
  background-color: var(--primary-green, #132113);
  border: solid 1px var(--primary-green, #132113);
}

.search-submit a:hover {
  background-color: #fefefe;
  color: #095124 !important;
  border: solid 1px #095124;
}

#primary-menu > li a:hover {
  color: var(--primary-green, #132113) !important;
}

#primary-menu li a {
  color: var(--primary-green, #132113) !important;
}

.nav-site-title {
  float: left;
  /* height: 0; */
  height: auto;
  /* opacity: 0;
  -moz-opacity: 0;
  filter: alpha(opacity=0);
  padding: 0; */
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
  padding: 10px 0;
  -moz-transition: all 500ms ease-in-out 0s;
  -o-transition: all 500ms ease-in-out 0s;
  -webkit-transition: all 500ms ease-in-out 0s;
  transition: all 500ms ease-in-out 0s;
  /* margin-top: -56px; */
}
.is-sticky .nav-site-title {
  height: auto;
  float: left;
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
  padding: 10px 0;
  -moz-transition: all 500ms ease-in-out 0s;
  -o-transition: all 500ms ease-in-out 0s;
  -webkit-transition: all 500ms ease-in-out 0s;
  transition: all 500ms ease-in-out 0s;
  margin-top: -56px;
}
.is-sticky #sticky_header {
  background-color: rgba(255, 255, 255, 0.9);
}

.main-navigation .menu {
  float: right;
}

/* ==========================================================================
   Secondary Menu Styling
   ========================================================================== */

.secondary-navigation-wrapper {
  background-color: #00923c;
  border-top: 1px solid #00923c;
  padding: 0px;
  margin-top: 0px;
}

.secondary-menu-container {
  max-width: 100%;
}

#secondary-menu {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: right;
  gap: 20px;
}

#secondary-menu li {
  margin: 0;
  padding: 5px 0;
}

#secondary-menu li a {
  display: block;
  padding: 8px 16px;
  color: white;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 20px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

#secondary-menu li a:hover,
#secondary-menu li a:focus {
  background-color: #d97706;
  color: var(--white, #ffffff) !important;
  border-color: #d97706;
  transform: translateY(-2px);
}

#secondary-menu li.current-menu-item a,
#secondary-menu li.current-page-ancestor a {
  background-color: var(--primary-green-light, #1a2e1a);
  color: var(--white, #ffffff) !important;
  border-color: var(--primary-green-light, #1a2e1a);
}

/* Responsive Design for Secondary Menu */
@media (max-width: 768px) {
  .secondary-navigation-wrapper {
    padding: 10px 15px;
  }

  #secondary-menu {
    flex-direction: column;
    gap: 8px;
    align-items: center;
  }

  #secondary-menu li a {
    padding: 12px 20px;
    font-size: 1rem;
    min-width: 200px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  #secondary-menu li a {
    min-width: 150px;
    padding: 10px 15px;
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Front Page Full Width Layout (No Sidebar)
   ========================================================================== */

.news-column-fullwidth {
  background: var(--white, #ffffff);
  border-radius: 12px;
  padding: 0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
}

.news-column-fullwidth .news-section {
  margin-bottom: 30px;
}

.news-column-fullwidth .news-section-title {
  background: var(--primary-green, #132113);
  color: var(--white, #ffffff);
  padding: 20px 30px;
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.news-column-fullwidth .news-widget {
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-color, #e2e8f0);
}

.news-column-fullwidth .news-widget:last-child {
  border-bottom: none;
}

.news-column-fullwidth .page-content {
  padding: 30px;
}

.news-column-fullwidth .front-page-content .entry-content {
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 100%;
}

/* Responsive adjustments for full-width layout */
@media (max-width: 768px) {
  .news-column-fullwidth .news-section-title {
    font-size: 1.2rem;
    padding: 15px 20px;
  }

  .news-column-fullwidth .news-widget,
  .news-column-fullwidth .page-content {
    padding: 15px 20px;
  }
}

/* ==========================================================================
   Section-specific Styles with IDs
   ========================================================================== */

/* Motto Section Styles - Two Column Layout */
#motto {
  background: linear-gradient(
    135deg,
    var(--primary-green, #132113) 0%,
    var(--primary-green-light, #1a2e1a) 50%,
    var(--forest-green, #00923c) 100%
  );
  color: var(--white, #ffffff);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

/* Add decorative background pattern */
#motto::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(255, 255, 255, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 255, 255, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 40% 80%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 50%
    );
  z-index: 1;
}

.motto-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
}

.motto-content {
  position: relative;
  text-align: center;
  padding: 40px 30px;
  min-height: 280px;
}

.motto-slider {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  /* background: rgba(255, 255, 255, 0.08); */
  border-radius: 20px;
  padding: 40px 30px;
  /* backdrop-filter: blur(10px); */
  /* box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1); */
}

.motto-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(100%) scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: max-content;
  padding: 20px;
}

.motto-item.active {
  opacity: 1;
  transform: translateX(0) scale(1);
  position: relative;
}

.motto-item h2 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--accent-orange, #d97706);
  font-family: "Playfair Display", serif;
  font-weight: 700;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: relative;
}

/* Add decorative line under heading */
.motto-item h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--accent-orange, #d97706) 20%,
    var(--accent-orange, #d97706) 80%,
    transparent 100%
  );
  border-radius: 2px;
}

.motto-item blockquote {
  margin: 0;
  padding: 0;
  color: var(--white, #ffffff);
  position: relative;
}

/* Add quotation marks */
.motto-item blockquote::before {
  content: '"';
  position: absolute;
  top: -20px;
  left: -20px;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.motto-item blockquote::after {
  content: '"';
  position: absolute;
  bottom: -40px;
  right: -20px;
  font-size: 4rem;
  color: rgba(255, 255, 255, 0.2);
  font-family: "Playfair Display", serif;
  line-height: 1;
}

.motto-item p {
  font-size: 1.4rem;
  margin: 0;
  line-height: 1.6;
  font-family: "Inter", sans-serif;
  font-style: normal;
  font-weight: 400;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  max-width: 700px;
  margin: 0 auto;
}

/* Special styling for spans in slogan */
.motto-item p span {
  display: block;
  margin: 8px 0;
}

.motto-item p span:first-child {
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--accent-orange, #d97706);
}

/* Unified Navigation Styles for Both Slideshows */
.slideshow-navigation,
.motto-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.motto-navigation {
  margin-top: 30px;
}

.slideshow-navigation {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
  padding: 0 20px;
}

/* Unified Button Styles */
.motto-prev,
.motto-next,
.slideshow-prev,
.slideshow-next {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--white, #ffffff);
  padding: 14px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 1.1rem;
  font-weight: 600;
  min-width: 50px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  pointer-events: auto;
  user-select: none;
}

.motto-prev:hover,
.motto-next:hover,
.slideshow-prev:hover,
.slideshow-next:hover {
  background: var(--accent-orange, #d97706);
  border-color: var(--accent-orange, #d97706);
  transform: translateY(-2px) scale(1.05);
  box-shadow: 0 8px 25px rgba(217, 119, 6, 0.4);
}

.motto-prev:active,
.motto-next:active,
.slideshow-prev:active,
.slideshow-next:active {
  transform: translateY(0) scale(0.95);
  transition: all 0.15s ease;
}

/* Unified Indicator Styles */
.motto-indicators,
.slideshow-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.motto-indicator,
.slideshow-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
}

.motto-indicator.active,
.slideshow-dot.active {
  background: var(--accent-orange, #d97706);
  transform: scale(1.3);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 3px rgba(217, 119, 6, 0.3);
}

.motto-indicator:hover,
.slideshow-dot:hover {
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

/* Featured Images Slideshow Styles */
.featured-images-slideshow {
  position: relative;
}

/* Visual Consistency Enhancements */
.motto-content,
.featured-images-slideshow {
  border-radius: 20px;
  overflow: hidden;
}

.motto-content {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.slideshow-container {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  min-height: 400px;
}

.slideshow-item {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(30px) scale(0.95);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slideshow-item.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.slideshow-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
}

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

.slideshow-item:hover .slideshow-img {
  transform: scale(1.05);
}

.slideshow-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(
    transparent 0%,
    rgba(0, 0, 0, 0.3) 40%,
    rgba(0, 0, 0, 0.8) 100%
  );
  color: var(--white, #ffffff);
  padding: 30px 25px 20px;
}

.slideshow-content {
  position: relative;
  z-index: 2;
}

.slideshow-title {
  margin: 0 0 8px 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.3;
}

.slideshow-title a {
  color: var(--white, #ffffff);
  text-decoration: none;
  transition: color 0.3s ease;
}

.slideshow-title a:hover {
  color: var(--accent-orange, #d97706);
  text-decoration: none;
}

.slideshow-date {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.9;
  color: var(--accent-orange, #d97706);
}

.slideshow-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 400px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
}

.placeholder-content {
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.placeholder-content i {
  font-size: 3rem;
  margin-bottom: 15px;
  display: block;
}

.placeholder-content p {
  margin: 0;
  font-size: 1rem;
}

/* Responsive Design for Motto Section */
@media (max-width: 1024px) {
  .motto-two-column {
    gap: 40px;
  }

  .slideshow-image {
    height: 350px;
  }

  /* Responsive Navigation Adjustments */
  .motto-prev,
  .motto-next,
  .slideshow-prev,
  .slideshow-next {
    min-width: 45px;
    min-height: 45px;
    padding: 12px 16px;
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  #motto {
    padding: 60px 0;
  }

  .motto-two-column {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .motto-content {
    padding: 20px;
  }

  .motto-slider {
    padding: 30px 20px;
    min-height: 180px;
  }

  .motto-item h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
  }

  .motto-item h2::after {
    width: 40px;
  }

  .motto-item p {
    font-size: 1.2rem;
  }

  .motto-item p span:first-child {
    font-size: 1.3rem;
  }

  .motto-item blockquote::before,
  .motto-item blockquote::after {
    font-size: 3rem;
  }

  /* Mobile Navigation Optimizations */
  .slideshow-navigation {
    padding: 0 15px;
  }

  .motto-prev,
  .motto-next,
  .slideshow-prev,
  .slideshow-next {
    min-width: 40px;
    min-height: 40px;
    padding: 10px 14px;
    font-size: 0.9rem;
  }

  .motto-indicators,
  .slideshow-dots {
    gap: 10px;
    margin-top: 20px;
  }

  .motto-indicator,
  .slideshow-dot {
    width: 10px;
    height: 10px;
  }

  .motto-prev,
  .motto-next {
    /* padding: 10px 14px; */
    /* min-width: 44px;
    height: 44px; */
    font-size: 1rem;
  }

  .slideshow-image {
    height: 300px;
  }

  .slideshow-prev,
  .slideshow-next {
    padding: 10px 14px;
    min-width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  .slideshow-navigation {
    padding: 0 15px;
  }
}

@media (max-width: 480px) {
  .motto-slider {
    padding: 20px 15px;
    min-height: 160px;
  }

  .motto-item h2 {
    font-size: 1.5rem;
  }

  .motto-item p {
    font-size: 1.1rem;
  }

  .motto-navigation {
    margin-top: 30px;
    gap: 15px;
  }
}

/* Layanan Section Styles */
#layanan {
  background: var(--white, #ffffff);
  padding: 60px 0;
}

.layanan-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.layanan-section .section-title {
  color: var(--primary-green, #132113);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}

.layanan-section .section-description {
  color: var(--text-gray, #64748b);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.service-card {
  background: var(--white, #ffffff);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color, #e2e8f0);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-green, #132113);
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--primary-green, #132113);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.service-card p {
  color: var(--text-gray, #64748b);
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-link {
  display: inline-block;
  color: var(--accent-orange, #d97706);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--accent-orange-dark, #b45309);
  text-decoration: none;
}

/* Artikel Section Styles */
#artikel {
  background: var(--light-bg, #f8fafc);
  padding: 60px 0;
}

.artikel-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.blog-section-title {
  color: var(--primary-green, #132113);
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0;
  font-family: "Playfair Display", serif;
}

.view-all-link {
  color: var(--accent-orange, #d97706);
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  color: var(--accent-orange-dark, #b45309);
  text-decoration: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.blog-card {
  background: var(--white, #ffffff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color, #e2e8f0);
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-card-image {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.blog-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-thumbnail {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 25px;
}

.blog-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  font-size: 0.85rem;
}

.blog-date {
  color: var(--text-gray, #64748b);
}

.blog-category {
  color: var(--accent-orange, #d97706);
  font-weight: 600;
}

.blog-card-title {
  margin-bottom: 15px;
}

.blog-card-title a {
  color: var(--primary-green, #132113);
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: var(--accent-orange, #d97706);
  text-decoration: none;
}

.blog-excerpt {
  color: var(--text-gray, #64748b);
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more-btn {
  display: inline-block;
  background: var(--accent-orange, #d97706);
  color: var(--white, #ffffff);
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.read-more-btn:hover {
  background: var(--accent-orange-dark, #b45309);
  transform: scale(1.05);
  color: var(--white, #ffffff);
  text-decoration: none;
}

.no-posts-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px;
  color: var(--text-gray, #64748b);
}

/* Pengaduan Section Styles */
#pengaduan {
  background: var(--light-bg, #f8fafc);
  padding: 60px 0;
  margin-top: 40px;
}

.pengaduan-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.pengaduan-section .section-title {
  color: var(--primary-green, #132113);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}

.pengaduan-section .section-description {
  color: var(--text-gray, #64748b);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.pengaduan-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.pengaduan-card {
  background: var(--white, #ffffff);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color, #e2e8f0);
}

.pengaduan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.pengaduan-icon {
  font-size: 3rem;
  color: var(--primary-green, #132113);
  margin-bottom: 20px;
}

.pengaduan-card h3 {
  color: var(--primary-green, #132113);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.pengaduan-card p {
  color: var(--text-gray, #64748b);
  line-height: 1.6;
  margin-bottom: 20px;
}

.btn-pengaduan {
  display: inline-block;
  background: var(--accent-orange, #d97706);
  color: var(--white, #ffffff);
  padding: 12px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-pengaduan:hover {
  background: var(--accent-orange-dark, #b45309);
  transform: scale(1.05);
  color: var(--white, #ffffff);
  text-decoration: none;
}

/* Indeks Mutu Section Styles */
#indeks-mutu {
  background: var(--white, #ffffff);
  padding: 60px 0;
  border-top: 3px solid var(--primary-green, #132113);
}

.indeks-mutu-section .section-header {
  text-align: center;
  margin-bottom: 50px;
}

.indeks-mutu-section .section-title {
  color: var(--primary-green, #132113);
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}

.indeks-mutu-section .section-description {
  color: var(--text-gray, #64748b);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.mutu-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.mutu-card {
  background: linear-gradient(
    135deg,
    var(--primary-green, #132113) 0%,
    var(--primary-green-light, #1a2e1a) 100%
  );
  color: var(--white, #ffffff);
  padding: 40px 25px;
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.mutu-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.1);
  opacity: 0;
  transition: all 0.3s ease;
}

.mutu-card:hover::before {
  opacity: 1;
}

.mutu-card:hover {
  transform: translateY(-5px);
}

.mutu-value {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.mutu-label {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
  position: relative;
  z-index: 2;
}

.mutu-description {
  font-size: 0.9rem;
  opacity: 0.9;
  line-height: 1.4;
  position: relative;
  z-index: 2;
}

/* Responsive Design for New Sections */
@media (max-width: 768px) {
  #pengaduan,
  #indeks-mutu {
    padding: 40px 0;
  }

  .pengaduan-section .section-title,
  .indeks-mutu-section .section-title {
    font-size: 1.8rem;
  }

  .pengaduan-cards,
  .mutu-cards {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .pengaduan-card,
  .mutu-card {
    padding: 30px 20px;
  }

  .mutu-value {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .pengaduan-section .section-title,
  .indeks-mutu-section .section-title {
    font-size: 1.5rem;
  }

  .pengaduan-icon {
    font-size: 2.5rem;
  }
}

/* ==========================================================================
   Blog Page Styles
   ========================================================================== */

.blog-page-container {
  background: var(--light-bg, #f8fafc);
  min-height: 60vh;
  padding: 60px 0;
}

.blog-page-header {
  text-align: center;
  margin-bottom: 60px;
  padding-bottom: 30px;
  border-bottom: 3px solid var(--primary-green, #132113);
}

.blog-page-title {
  color: var(--primary-green, #132113);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  font-family: "Playfair Display", serif;
}

.blog-page-description {
  color: var(--text-gray, #64748b);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.blog-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

/* Blog cards in grid inherit styles from existing .blog-card class */

.blog-pagination {
  grid-column: 1 / -1;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid var(--border-color, #e2e8f0);
}

.blog-pagination .page-numbers {
  display: inline-block;
  padding: 10px 15px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--primary-green, #132113);
  border: 1px solid var(--border-color, #e2e8f0);
  background: var(--white, #ffffff);
  transition: all 0.3s ease;
  font-weight: 500;
}

.blog-pagination .page-numbers:hover,
.blog-pagination .page-numbers.current {
  background: var(--primary-green, #132113);
  color: var(--white, #ffffff);
  border-color: var(--primary-green, #132113);
}

.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
  background: var(--accent-orange, #d97706);
  color: var(--white, #ffffff);
  border-color: var(--accent-orange, #d97706);
}

.blog-pagination .page-numbers.prev:hover,
.blog-pagination .page-numbers.next:hover {
  background: var(--accent-orange-dark, #b45309);
  border-color: var(--accent-orange-dark, #b45309);
}

/* No posts message for blog page */
.blog-page-container .no-posts-message {
  text-align: center;
  padding: 80px 40px;
  background: var(--white, #ffffff);
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

.blog-page-container .no-posts-message h2 {
  color: var(--primary-green, #132113);
  font-size: 2rem;
  margin-bottom: 15px;
  font-family: "Playfair Display", serif;
}

.blog-page-container .no-posts-message p {
  color: var(--text-gray, #64748b);
  font-size: 1.1rem;
}

/* Responsive design for blog page */
@media (max-width: 768px) {
  .blog-page-container {
    padding: 40px 0;
  }

  .blog-page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
  }

  .blog-page-title {
    font-size: 2.2rem;
  }

  .blog-page-description {
    font-size: 1rem;
  }

  .blog-posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .blog-pagination {
    margin-top: 30px;
    padding-top: 30px;
  }

  .blog-pagination .page-numbers {
    padding: 8px 12px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .blog-page-title {
    font-size: 1.8rem;
  }

  .blog-pagination {
    flex-wrap: wrap;
    gap: 8px;
  }
}

.header-search {
  font-family: "Font Awesome 5 Free";
}

.main-navigation > ul > li {
  position: relative;
  display: inline-block;
}
.main-navigation a {
  color: #333;
  display: block;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.2em;
  padding: 15px;
  text-align: left;
  text-transform: uppercase;
}
.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor a,
.main-navigation ul li.current-menu-ancestor a,
.main-navigation ul li.current_page_item a,
.main-navigation ul li:hover > a,
.main-navigation li.current-menu-ancestor.menu-item-has-children > a:after,
.main-navigation li.current-menu-item.menu-item-has-children > a:after,
.main-navigation ul li:hover > a:after,
.main-navigation li.menu-item-has-children > a:hover:after,
.main-navigation li.page_item_has_children > a:hover:after {
  color: #c69f70;
}

/* ----- Dropdown ----- */
.main-navigation ul li ul,
.main-navigation ul li:hover ul ul,
.main-navigation ul ul li:hover ul ul,
.main-navigation ul ul ul li:hover ul ul,
.main-navigation ul ul ul ul li:hover ul ul {
  visibility: hidden;
}
.main-navigation ul li ul {
  list-style-type: none;
  position: absolute;
  top: 100px;
  padding: 0;
  margin: 0;
  opacity: 0;
  -moz-opacity: 0;
  filter: alpha(opacity=0);
  visibility: hidden;
  line-height: 32px;
  background-color: #fff;
  -webkit-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  -moz-box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  box-shadow: 0 1px 6px rgba(0, 0, 0, 0.15);
  width: 200px;
  z-index: 9999;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
.main-navigation > ul > li:hover > ul,
.main-navigation > ul > li.focus > ul {
  display: block;
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
  visibility: visible;
  top: 52px;
}
.main-navigation ul li ul li {
  float: none;
  margin: 0;
  position: relative;
  text-align: left;
  width: 200px;
  z-index: 1;
}
.main-navigation ul li ul li:before {
  border-top: 1px solid #eee;
  content: "";
  height: 1px;
  left: 10px;
  position: absolute;
  top: 0;
  width: 90%;
}
.main-navigation ul li ul li:first-child:before {
  border-top: none;
}
.main-navigation ul li ul li a,
.main-navigation ul li.current-menu-item ul li a,
.main-navigation ul li ul li.current-menu-item a,
.main-navigation ul li.current_page_ancestor ul li a,
.main-navigation ul li.current-menu-ancestor ul li a,
.main-navigation ul li.current_page_item ul li a {
  float: none;
  line-height: 20px;
  font-size: 14px;
  height: inherit;
  letter-spacing: 0.1em;
  padding: 12px 15px;
  color: #333;
  text-transform: capitalize;
}
.main-navigation ul li ul li a:hover,
.main-navigation ul li ul li a:focus,
.main-navigation ul li ul li:hover > a,
.main-navigation ul li.current-menu-item ul li a:hover {
  color: #c69f70;
}
.main-navigation ul li ul li ul {
  left: 190px;
  top: 50px;
}
.main-navigation ul li:last-child ul li ul {
  left: -200px;
}
.main-navigation ul ul li:hover ul,
.main-navigation ul ul li.focus ul,
.main-navigation ul ul ul li:hover ul,
.main-navigation ul ul ul li.focus ul {
  top: 0;
  display: block;
  opacity: 1;
  -moz-opacity: 1;
  filter: alpha(opacity=100);
  visibility: visible;
}
.main-navigation li.menu-item-has-children > a:after,
.main-navigation li li.menu-item-has-children > a:after,
.main-navigation li.page_item_has_children > a:after,
.main-navigation li li.page_item_has_children > a:after {
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  text-decoration: inherit;
  color: #000;
  font-size: 14px;
  padding-left: 6px;
}
.main-navigation li.menu-item-has-children > a:after,
.main-navigation li.page_item_has_children > a:after {
  content: "\f107";
}
.main-navigation li li.menu-item-has-children > a:after,
.main-navigation li li.page_item_has_children > a:after {
  content: "\f105";
  position: absolute;
  right: 15px;
}
.site-info .social-links {
  float: none;
  margin-bottom: 15px;
  text-align: center;
}
.site-info .social-links {
  display: inline-block;
}
.site-info .social-links a {
  border: 1px solid #545454;
  color: #545454;
  display: inline-block;
  margin: 10px 8px 0;
}
.site-info .social-links a:hover {
  border-color: transparent;
  margin-top: 10px;
}
