/* =========================================
   NEWS
========================================= */

.news-featured {
  background: #fff;
}

.featured-news-image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(11,31,58,.15);
}

.featured-news-image img {
  display: block;
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  object-position: center top;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}

.featured-news-image:hover img {
  transform: scale(1.04);
}

.featured-news-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(6,18,32,.2));
  pointer-events: none;
}

.featured-badge {
  position: absolute;
  z-index: 2;
  top: 20px;
  left: 20px;
  padding: .55rem .85rem;
  border-radius: 5px;
  background: #3B76CB;
  color: #fff;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}

.featured-news-body {
  padding: .5rem 0 .5rem 1rem;
}

.featured-news-body time {
  display: block;
  margin-bottom: .9rem;
  color: var(--sky);
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.featured-news-body h2 {
  margin: 0 0 1rem;
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.5rem);
  line-height: 1.1;
  font-weight: 600;
  color: var(--navy);
}

.featured-news-body p {
  margin: 0 0 1.5rem;
  color: var(--gray-600);
  line-height: 1.8;
  font-weight: 300;
}

.news-list-section {
  background: var(--off-white);
}

.news-img-link {
  display: block;
  overflow: hidden;
}

.news-img-link .news-img {
  transition: transform .65s cubic-bezier(.22,1,.36,1);
}

.news-card:hover .news-img-link .news-img {
  transform: scale(1.045);
}

.news-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #dfeaf5, #b8cde3);
  color: rgba(25,65,117,.55);
  font-size: 2.5rem;
}

.news-card {
  box-shadow: 0 14px 42px rgba(11,31,58,.07);
}

.news-card:hover {
  box-shadow: 0 22px 52px rgba(11,31,58,.16);
}

.news-pagination {
  display: flex;
  justify-content: center;
  gap: .45rem;
  margin-top: 55px;
}

.news-page {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce3eb;
  color: #24558f;
  text-decoration: none;
  font-size: .75rem;
  transition: .3s ease;
}

.news-page:hover,
.news-page.active {
  color: #fff;
  background: #4f91df;
  border-color: #4f91df;
}

.news-hidden {
    display: none;
}

.news-item.news-show {
    animation: newsFadeIn 0.75s ease forwards;
}

@keyframes newsFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 991.98px) {
  .featured-news-body {
    padding: 0;
  }
}

@media (max-width: 575.98px) {

  .featured-badge {
    top: 14px;
    left: 14px;
  }

  .featured-news-body h2 {
    font-size: 2rem;
  }
}

/* =========================================
   NEWS DETAIL
========================================= */

.article-header {
  margin-bottom: 1.5rem;
}

.article-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--navy, #0b2239);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.article-meta {
  font-size: 0.875rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-meta span {
  display: inline-flex;
  align-items: center;
}

.article-featured-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin-bottom: 2rem;
  box-shadow: 0 10px 30px rgba(11, 34, 57, 0.08);
}

.article-body p {
  line-height: 1.8;
  color: #334155;
  margin-bottom: 1.5rem;
}

.article-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  color: var(--navy, #0b2239);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

.article-body blockquote {
  border-left: 4px solid var(--accent, #c5a880);
  padding: 1.25rem 1.5rem;
  background: #f8fafc;
  font-style: italic;
  font-size: 1.05rem;
  color: #475569;
  border-radius: 0 8px 8px 0;
  margin: 2rem 0;
}

/* Sidebar - Other News*/
.sidebar-widget {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 10px 30px rgba(11, 34, 57, 0.08);
}

.sidebar-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy, #0b2239);
  margin-bottom: 1.25rem;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
}

.sidebar-news-item {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding-bottom: 16px;
  border-bottom: 1px dashed #e2e8f0;
  transition: all 0.25s ease;
}

.sidebar-news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.sidebar-news-img {
  width: 85px;
  height: 68px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-news-date {
  font-size: 0.75rem;
  color: var(--accent, #c5a880);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.sidebar-news-title {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--navy, #0b2239);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-news-item:hover .sidebar-news-title {
  color: var(--sky, #427ed0);
}

/* Share Buttons */
.share-buttons .btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-size: 0.95rem;
  margin-left: 4px;
  transition: all 0.3s ease;
}
.btn-facebook { color: #1877f2; border: 1px solid #1877f2; background: transparent; }
.btn-facebook:hover { background: #1877f2; color: #fff; }
.btn-twitter { color: #000000; border: 1px solid #000000; background: transparent; }
.btn-twitter:hover { background: #000000; color: #fff; }
.btn-whatsapp { color: #25d366; border: 1px solid #25d366; background: transparent; }
.btn-whatsapp:hover { background: #25d366; color: #fff; }

/* Mobile Adjustment */
@media (max-width: 991.98px) {
  .sidebar-widget {
    margin-top: 2.5rem;
  }
}