/* Dinsos Elementor Addon - Frontend Styles */

/* Global Font Family */
body,
.dinsos-addon {
  font-family: "Lato", "Inter", sans-serif;
}

/* Ensure Font Awesome icons display correctly */
/* .fa,
[class^="fa-"],
[class*=" fa-"],
.fas,
.far,
.fab,
.fal {
  display: inline-block;
  font-style: normal;
  font-variant: normal;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
} */

/* Government Card Widget */
.govt-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(19, 33, 19, 0.1);
}

.govt-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(19, 33, 19, 0.15);
  border-color: #d97706;
}

.govt-card-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #d97706;
  transition: transform 0.3s ease;
}

.govt-card:hover .govt-card-icon {
  transform: scale(1.1) rotate(5deg);
}

.govt-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #132113;
  margin: 20px 0;
  font-family: "Playfair Display", serif;
}

.govt-card-description {
  color: #64748b;
  line-height: 1.6;
  margin: 20px 0;
  font-size: 1rem;
}

.govt-card-button {
  display: inline-block;
  background: #d97706;
  color: #ffffff;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 600;
  margin-top: 20px;
}

.govt-card-button:hover {
  background: #132113;
  transform: translateX(5px);
}

/* Government Hero Widget */
.govt-hero {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.govt-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(19, 33, 19, 0.5);
  z-index: 1;
}

.govt-hero-content {
  position: relative;
  z-index: 2;
  padding: 40px 20px;
  max-width: 800px;
}

.govt-hero-title {
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 20px 0;
  font-family: "Playfair Display", serif;
  line-height: 1.2;
}

.govt-hero-subtitle {
  font-size: 1.25rem;
  color: #ffffff;
  margin: 0;
  line-height: 1.6;
  opacity: 0.95;
}

/* Government Counter Widget */
.govt-counter {
  text-align: center;
  padding: 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.govt-counter-icon {
  font-size: 2.5rem;
  color: #d97706;
  margin-bottom: 20px;
}

.govt-counter-number {
  font-size: 3.5rem;
  font-weight: 700;
  color: #132113;
  margin: 20px 0;
  font-family: "Playfair Display", serif;
}

.govt-counter-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #64748b;
  margin: 20px 0 0 0;
}

/* Government Timeline Widget */
.govt-timeline {
  position: relative;
  padding: 40px 0;
}

.govt-timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: #132113;
  top: 0;
}

.timeline-item {
  margin-bottom: 50px;
  position: relative;
}

.timeline-item:nth-child(odd) .timeline-item-content {
  margin-left: 0;
  margin-right: calc(50% + 40px);
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-item-content {
  margin-left: calc(50% + 40px);
  margin-right: 0;
  text-align: left;
}

.timeline-item-content {
  padding: 30px;
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid rgba(19, 33, 19, 0.1);
  transition: all 0.3s ease;
}

.timeline-item-content:hover {
  box-shadow: 0 10px 30px rgba(19, 33, 19, 0.1);
  border-color: #d97706;
}

.timeline-item-date {
  font-weight: 700;
  color: #d97706;
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.timeline-item-icon {
  color: #d97706;
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.timeline-item-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #132113;
  margin: 15px 0;
  font-family: "Playfair Display", serif;
}

.timeline-item-description {
  color: #64748b;
  line-height: 1.6;
  margin: 15px 0 0 0;
}

/* Blog Widget */
.artikel-section {
  padding: 60px 0;
}

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

.blog-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #132113;
  margin: 0;
  font-family: "Playfair Display", serif;
}

.view-all-link {
  color: #d97706;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.view-all-link:hover {
  color: #132113;
  transform: translateX(5px);
  display: inline-block;
}

.blog-grid {
  display: grid;
  gap: 30px;
}

.blog-card {
  background: #ffffff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(19, 33, 19, 0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(19, 33, 19, 0.15);
}

.blog-card-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #f3f4f6;
  display: block;
}

.blog-card-image a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.blog-card-image img,
.blog-thumbnail {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

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

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

.blog-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.9rem;
}

.blog-date {
  color: #d97706;
  font-weight: 600;
}

.blog-category {
  background: #fef3c7;
  color: #b45309;
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 500;
}

.blog-card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: #132113;
  margin: 15px 0;
  line-height: 1.4;
  font-family: "Playfair Display", serif;
  min-height: 125px;
}

.blog-card-title a {
  color: #132113;
  text-decoration: none;
  transition: color 0.3s ease;
}

.blog-card-title a:hover {
  color: #d97706;
}

.blog-excerpt {
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 0.95rem;
  min-height: 150px !important;
}

.read-more-btn {
  display: inline-block;
  background: #d97706;
  color: #ffffff;
  padding: 10px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  background: #132113;
  transform: translateX(5px);
}

.no-posts-message {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: #64748b;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .govt-hero-title {
    font-size: 2rem;
  }

  .govt-counter-number {
    font-size: 2.5rem;
  }

  .govt-timeline::before {
    left: 30px;
  }

  .timeline-item:nth-child(odd) .timeline-item-content,
  .timeline-item:nth-child(even) .timeline-item-content {
    margin-left: 80px;
    margin-right: 0;
    text-align: left;
  }

  .govt-card {
    padding: 30px;
  }

  .blog-section-title {
    font-size: 1.8rem;
  }

  .blog-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .blog-card-image {
    height: 200px;
  }

  .blog-card-title {
    font-size: 1.1rem;
  }
}

.layanan-section p,
.pengaduan-section p {
  min-height: 60px;
}

/* 16.0 Social Links
================================================== */
.header-social-block {
  float: right;
  width: 30%;
}
.social-links {
  margin-top: 0px;
  float: right;
}
.social-links a {
  color: #333;
  display: block;
  float: left;
  font-size: 14px;
  margin: 5px 0 0 5px !important;
  text-align: center;
  height: 30px;
  line-height: 27px;
  border-radius: 3px;
  border-width: 0px !important;
  width: 30px;
  padding-top: 10px;
}
.social-links a[href*="facebook.com"]:hover {
  background-color: #3b5998;
  color: #fff;
  padding-top: 10px;
}
.social-links a[href*="twitter.com"]:hover {
  background-color: #000000;
  color: #fff;
  padding-top: 10px;
}
.social-links a[href*="linkedin.com"]:hover {
  background-color: #007bb6;
  color: #fff;
  padding-top: 10px;
}
.social-links a[href*="instagram.com"]:hover {
  background-color: #8e6051;
  color: #fff;
  padding-top: 10px;
}
.social-links a[href*="flickr.com"]:hover {
  background-color: #0063db;
  color: #fff;
  padding-top: 10px;
}
.social-links a[href*="pinterest.com"]:hover {
  background-color: #cb2027;
  color: #fff;
  padding-top: 10px;
}
.social-links a[href*="dribbble.com"]:hover {
  background-color: #f26798;
  color: #fff;
  padding-top: 10px;
}
.social-links a[href*="angellist.com"]:hover {
  background-color: #000000;
  color: #fff;
  padding-top: 10px;
}
