/**
 * ForeverSummer Modern News & Blog UI Design System
 * 100% Responsive (iOS & Android Optimized), High-readability, Viator/Airbnb Aesthetic
 */

.fs-news-wrapper {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #334155;
  background-color: #f8fafc;
  padding-bottom: 70px;
  -webkit-font-smoothing: antialiased;
}

/* ========================================================
   1. HERO BANNER
   ======================================================== */
.fs-news-hero {
  position: relative;
  background: linear-gradient(135deg, #0b1329 0%, #0f172a 50%, #0369a1 100%);
  color: #ffffff;
  padding: 60px 0 50px;
  overflow: hidden;
}

.fs-news-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 80% 20%, rgba(56, 189, 248, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.fs-news-hero .container {
  position: relative;
  z-index: 2;
}

.fs-news-hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.fs-news-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 9999px;
  font-size: 13px;
  font-weight: 600;
  color: #38bdf8;
  margin-bottom: 16px;
  letter-spacing: 0.3px;
}

.fs-news-hero-title {
  font-size: 40px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 0 0 14px;
  letter-spacing: -0.5px;
}

.fs-news-hero-subtitle {
  font-size: 16px;
  color: #cbd5e1;
  line-height: 1.6;
  margin: 0 auto 24px;
  max-width: 620px;
}

/* Category Filter Bar */
.fs-news-cat-scroll {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.fs-news-cat-pill {
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 9999px;
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 600;
  text-decoration: none !important;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  touch-action: manipulation;
}

.fs-news-cat-pill:hover,
.fs-news-cat-pill.active {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.4);
  transform: translateY(-2px);
}

/* Breadcrumbs */
.fs-news-breadcrumb-bar {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px 0;
  margin-bottom: 32px;
}

.fs-news-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 13px;
  color: #64748b;
}

.fs-news-breadcrumb li a {
  color: #0284c7;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.fs-news-breadcrumb li a:hover {
  color: #0369a1;
  text-decoration: underline;
}

.fs-news-breadcrumb li.active {
  color: #1e293b;
  font-weight: 600;
}

.fs-news-breadcrumb-sep {
  color: #cbd5e1;
  font-size: 12px;
}

/* ========================================================
   2. ARTICLES GRID & CARDS
   ======================================================== */
.fs-news-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}

/* Card Structure */
.fs-news-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fs-news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 32px -4px rgba(2, 132, 199, 0.12);
  border-color: #cbd5e1;
}

/* Card Image */
.fs-news-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #e2e8f0;
}

.fs-news-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.fs-news-card:hover .fs-news-thumb-img {
  transform: scale(1.05);
}

.fs-news-cat-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 8px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  z-index: 2;
  text-decoration: none !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.fs-news-cat-badge:hover {
  background: #0284c7;
  color: #ffffff;
}

/* Card Body */
.fs-news-card-body {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.fs-news-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  color: #64748b;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.fs-news-meta-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #334155;
}

.fs-news-author-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}

.fs-news-author-initial {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.fs-news-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #cbd5e1;
}

.fs-news-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 10px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fs-news-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fs-news-card:hover .fs-news-card-title a {
  color: #0284c7;
}

.fs-news-card-excerpt {
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.55;
  margin: 0 0 18px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.fs-news-card-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.fs-news-read-more {
  font-size: 13px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.fs-news-card:hover .fs-news-read-more {
  gap: 10px;
  color: #0369a1;
}

/* ========================================================
   3. FEATURED LEAD POST (Hero Card)
   ======================================================== */
.fs-news-featured-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 8px 30px -4px rgba(15, 23, 42, 0.08);
  margin-bottom: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fs-news-featured-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -6px rgba(2, 132, 199, 0.14);
}

.fs-featured-thumb-wrap {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.fs-featured-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.fs-news-featured-card:hover .fs-featured-thumb-img {
  transform: scale(1.04);
}

.fs-featured-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
  z-index: 2;
}

.fs-featured-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fs-featured-title {
  font-size: 24px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.3;
  margin: 12px 0;
}

.fs-featured-title a {
  color: inherit;
  text-decoration: none;
}

.fs-news-featured-card:hover .fs-featured-title a {
  color: #0284c7;
}

.fs-featured-excerpt {
  font-size: 14.5px;
  color: #64748b;
  line-height: 1.6;
  margin-bottom: 22px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fs-featured-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-size: 13.5px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: all 0.2s ease;
}

.fs-featured-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.4);
  transform: translateY(-2px);
}

/* ========================================================
   4. SIDEBAR WIDGETS
   ======================================================== */
.fs-news-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.fs-sidebar-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 16px -2px rgba(15, 23, 42, 0.04);
}

.fs-sidebar-title {
  font-size: 16px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.fs-sidebar-title::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 32px;
  height: 2px;
  background: #0284c7;
  border-radius: 2px;
}

/* Search Widget */
.fs-search-form .input-group-search {
  position: relative;
  display: flex;
}

.fs-search-input {
  width: 100%;
  height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  padding: 0 44px 0 16px;
  font-size: 13.5px;
  color: #1e293b;
  transition: all 0.2s ease;
  background: #f8fafc;
}

.fs-search-input:focus {
  border-color: #0284c7;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
  outline: none;
}

.fs-search-btn {
  position: absolute;
  right: 6px;
  top: 5px;
  height: 36px;
  width: 36px;
  border: none;
  background: #0284c7;
  color: #ffffff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.fs-search-btn:hover {
  background: #0369a1;
}

/* Brand Card / Solo se feliz */
.fs-brand-sidebar-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.fs-brand-sidebar-card .fs-sidebar-title {
  color: #ffffff;
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.fs-brand-sidebar-text {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 16px;
}

.fs-brand-wa-btn {
  background: #25d366;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.fs-brand-wa-btn:hover {
  background: #20ba5a;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* Recent Posts Widget */
.fs-recent-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.fs-recent-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.fs-recent-thumb {
  width: 72px;
  height: 72px;
  min-width: 72px;
  border-radius: 12px;
  overflow: hidden;
  background-color: #e2e8f0;
}

.fs-recent-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fs-recent-content {
  flex-grow: 1;
}

.fs-recent-cat {
  font-size: 11px;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  margin-bottom: 3px;
  display: block;
  text-decoration: none !important;
}

.fs-recent-title {
  font-size: 13.5px;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.35;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fs-recent-title a {
  color: inherit;
  text-decoration: none;
}

.fs-recent-title a:hover {
  color: #0284c7;
}

.fs-recent-date {
  font-size: 11.5px;
  color: #94a3b8;
}

/* Category List Widget */
.fs-category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fs-category-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 10px;
  color: #334155;
  text-decoration: none !important;
  font-size: 13.5px;
  font-weight: 500;
  background: #f8fafc;
  transition: all 0.2s ease;
}

.fs-category-item a:hover {
  background: #e0f2fe;
  color: #0284c7;
  transform: translateX(4px);
}

.fs-category-arrow {
  color: #94a3b8;
  font-weight: 700;
}

/* Tags Widget */
.fs-tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.fs-tag-pill {
  padding: 6px 14px;
  background: #f1f5f9;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.fs-tag-pill:hover {
  background: #0284c7;
  color: #ffffff;
  transform: translateY(-2px);
}

/* ========================================================
   5. MODERN PAGINATION
   ======================================================== */
.fs-news-pagination {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.fs-news-pagination .pagination {
  display: flex;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: center;
}

.fs-news-pagination .page-item .page-link {
  min-width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  background: #ffffff;
  text-decoration: none;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.fs-news-pagination .page-item.active .page-link {
  background: #0284c7;
  border-color: #0284c7;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
}

.fs-news-pagination .page-item:not(.active) .page-link:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
  color: #0284c7;
}

.fs-pagination-count {
  font-size: 13px;
  color: #64748b;
}

/* ========================================================
   6. ARTICLE DETAIL VIEW (Editorial Layout)
   ======================================================== */
.fs-article-wrap {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 24px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  margin-bottom: 32px;
}

.fs-article-header {
  margin-bottom: 28px;
}

.fs-article-title {
  font-size: 34px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.25;
  margin: 14px 0 16px;
  letter-spacing: -0.5px;
}

.fs-article-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 32px;
  display: block;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.fs-article-content {
  font-size: 16.5px;
  line-height: 1.8;
  color: #334155;
}

.fs-article-content p {
  margin-bottom: 22px;
}

.fs-article-content h2,
.fs-article-content h3 {
  font-weight: 800;
  color: #0f172a;
  margin: 36px 0 16px;
  line-height: 1.3;
}

.fs-article-content h2 { font-size: 24px; }
.fs-article-content h3 { font-size: 20px; }

.fs-article-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 14px;
  margin: 24px 0;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.fs-article-content blockquote {
  border-left: 4px solid #0284c7;
  padding: 16px 24px;
  background: #f8fafc;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #1e293b;
  margin: 28px 0;
  font-size: 17px;
}

.fs-article-content ul,
.fs-article-content ol {
  padding-left: 24px;
  margin-bottom: 22px;
}

.fs-article-content li {
  margin-bottom: 8px;
}

/* Article Share & Tags */
.fs-article-footer-bar {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.fs-share-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fs-share-label {
  font-size: 13px;
  font-weight: 700;
  color: #475569;
}

.fs-share-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff !important;
  text-decoration: none !important;
  transition: all 0.2s ease;
  touch-action: manipulation;
}

.fs-share-wa {
  background: #25d366;
}
.fs-share-wa:hover {
  background: #1eb855;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.fs-share-fb {
  background: #1877f2;
}
.fs-share-fb:hover {
  background: #1464cc;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.4);
}

.fs-share-tw {
  background: #0f172a;
}
.fs-share-tw:hover {
  background: #000000;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.4);
}

/* Author Box */
.fs-author-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 32px;
}

.fs-author-box-avatar {
  width: 64px;
  height: 64px;
  min-width: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #0284c7;
}

.fs-author-box-name {
  font-size: 17px;
  font-weight: 700;
  color: #0f172a;
  margin: 0 0 4px;
}

.fs-author-box-bio {
  font-size: 13.5px;
  color: #64748b;
  margin: 0;
  line-height: 1.5;
}

/* ========================================================
   7. RESPONSIVE DESIGN (iOS & Android)
   ======================================================== */
@media (max-width: 991px) {
  .fs-news-list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .fs-news-featured-card {
    grid-template-columns: 1fr;
  }
  
  .fs-featured-thumb-wrap {
    min-height: 240px;
    max-height: 300px;
  }
  
  .fs-featured-body {
    padding: 24px 20px;
  }
  
  .fs-article-wrap {
    padding: 24px 20px;
    border-radius: 18px;
  }
  
  .fs-article-title {
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .fs-news-hero {
    padding: 40px 0 32px;
  }
  
  .fs-news-hero-title {
    font-size: 28px;
  }
  
  .fs-news-hero-subtitle {
    font-size: 14.5px;
    margin-bottom: 20px;
  }
  
  .fs-news-cat-scroll {
    justify-content: flex-start;
    overflow-x: auto;
    white-space: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  
  .fs-news-cat-scroll::-webkit-scrollbar {
    display: none;
  }
  
  .fs-news-card-body {
    padding: 18px 16px;
  }
  
  .fs-news-card-title {
    font-size: 17px;
  }
  
  .fs-article-wrap {
    padding: 20px 16px;
  }
  
  .fs-article-title {
    font-size: 23px;
  }
  
  .fs-article-content {
    font-size: 15.5px;
  }
  
  .fs-author-box {
    flex-direction: column;
    text-align: center;
    padding: 20px 16px;
  }
}
