/* Page Hero */
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.8);
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(230, 57, 70, 0.08) 0%,
    transparent 70%
  );
  z-index: 1;
}
.page-hero .breadcrumb-nav {
  margin-bottom: 15px;
  color: #fff;
}

.page-hero .breadcrumb {
  background: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.page-hero .breadcrumb-item {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.5);
}

.page-hero .breadcrumb-item a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.3s;
}

.page-hero .breadcrumb-item a:hover {
  color: #fff;
}

.page-hero .breadcrumb-item + .breadcrumb-item::before {
  content: "/";
  padding: 0 8px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.75rem;
}

.page-hero .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.5);
}
.page-hero p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  max-width: 550px;
  margin: 0 auto;
}

/* News Section */
.news-section {
  padding: 60px 0 80px;
  background: var(--white);
}
.news-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Filter */
.news-filter {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}
.news-filter-btn {
  display: inline-block;
  padding: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  text-decoration: none;
  cursor: pointer;
  border-radius: 30px;
  transition: all 0.3s;
}
.news-filter-btn:hover,
.news-filter-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

/* Featured Post */
.featured-post {
  margin-bottom: 60px;
}
.featured-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 5px 40px rgba(0, 0, 0, 0.06);
  transition: all 0.4s;
}
.featured-card:hover {
  box-shadow: 0 15px 60px rgba(0, 0, 0, 0.1);
}
.featured-card-img-wrapper {
  overflow: hidden;
  position: relative;
}
.featured-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 450px;
    border: none;
    transition: transform 0.6s;
}
.featured-card:hover .featured-card-img {
  transform: scale(1.03);
}
.featured-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  color: var(--dark);
  padding: 6px 14px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.5px;
}
.featured-card-body {
  padding: 45px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.featured-card-category {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}
.featured-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 15px;
  line-height: 1.4;
}
.featured-card-excerpt {
  font-size: 15px;
  color: var(--text);
  line-height: 1.8;
  margin-bottom: 25px;
}
.featured-card-meta {
  font-size: 13px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}
.featured-card-meta i {
  color: var(--primary);
  margin-right: 5px;
}
.featured-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  transition: all 0.3s;
}
.featured-card-link:hover {
  gap: 12px;
  color: var(--dark);
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.news-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: all 0.4s;
}
.news-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}
.news-card-img-wrapper {
  position: relative;
  overflow: hidden;
}
.news-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s;
}
.news-card:hover .news-card-img {
  transform: scale(1.05);
}
.news-card-category {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 11px;
  font-weight: 700;
  background: var(--primary);
  color: var(--dark);
  padding: 4px 12px;
  border-radius: 15px;
}
.news-card-body {
  padding: 25px;
}
.news-card-date {
  font-size: 12px;
  color: var(--text);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.news-card-date i {
  color: var(--primary);
  font-size: 11px;
}
.news-card-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.4;
  transition: color 0.3s;
}
.news-card:hover .news-card-title {
  color: var(--primary);
}
.news-card-excerpt {
  font-size: 14px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.3s;
}
.news-card-link:hover {
  gap: 10px;
  color: var(--dark);
}

/* Pagination */
.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 50px;
}
.page-btn {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  border-radius: 10px;
  transition: all 0.3s;
  text-decoration: none;
}
.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--dark);
}

/* SEO Content */
.seo-section {
  padding: 70px 0;
  background: var(--gray);
}
.seo-section .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.seo-section h2 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--dark);
  text-align: center;
  margin-bottom: 30px;
}
.seo-content-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.seo-content-text {
  font-size: 15px;
  line-height: 2;
  color: var(--text);
  max-height: 180px;
  overflow: hidden;
  transition: max-height 0.6s ease;
  position: relative;
}
.seo-content-text.expanded {
  max-height: 3000px;
}
.seo-content-text:not(.expanded)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(transparent, var(--gray));
}
.seo-content-text p {
  margin-bottom: 18px;
}
.seo-content-text h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--dark);
  margin: 25px 0 12px;
  padding-left: 12px;
  border-left: 3px solid var(--primary);
}
.seo-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 25px auto 0;
  padding: 12px 30px;
  background: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-size: 14px;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
}
.seo-toggle-btn:hover {
  background: var(--primary);
  color: var(--dark);
}
.seo-toggle-btn i {
  transition: transform 0.3s;
}
.seo-toggle-btn.active i {
  transform: rotate(180deg);
}

/* Responsive */
@media (max-width: 968px) {
  .featured-card {
    grid-template-columns: 1fr;
  }
  .featured-card-img {
    aspect-ratio: 4 / 3;
    max-height: 350px;
  }
  .featured-card-body {
    padding: 30px;
  }
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 576px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
  .featured-card-title {
    font-size: 1.3rem;
  }
  .featured-card-img {
    aspect-ratio: 1 / 1;
    max-height: 280px;
  }
  .news-filter {
    gap: 8px;
  }
  .news-filter-btn {
    padding: 8px 16px;
    font-size: 12px;
  }
  .page-hero {
    padding: 120px 0 50px;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
