/* Blog page (blog/index.html) */
.container {
  width: 95%;
  max-width: 1250px !important;
  margin: 0 auto;
}

body {
  font-size: 1rem 
  !important;
}

/* ====================================MAIN BLOG SECTION========================================================================================== */
.news .blog {
  padding: 0;
  background: var(--senary-color);
  flex-direction: column !important;
}

.news .blog .container {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.news .blog .blog-head {
  text-align: center;
  margin-bottom: 28px;
}

.news .blog .heading {
  font-size: clamp(1.75rem, 1.2rem + 1.2vw, 2.5rem);
  letter-spacing: 0.5px;
  color: var(--quinary-color);
}

.news .blog .sub-heading {
  margin-top: 10px;
  color: rgba(0, 0, 0, 0.65);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.news .blog a {
  color: inherit;
}

/* ----------------------------------------------- */
/* Recent blog posts (homepage) */
.news .recent-posts {
  width: 100%;
  background: #ffffff;
  display: flex;
  justify-content: center;
}

.news .recent-posts .container {
  margin: 0 auto;
  padding: 50px 0 70px 0;
}

.news .recent-title {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.7);
  margin-bottom: 10px;
  font-family: "Roboto", sans-serif !important;
}

.news .recent-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px;
  align-items: start;
  width: 100%;
}

.news .recent-featured,
.news .recent-mini {
  background: transparent;
}

.news .recent-featured-link {
  display: block;
  color: inherit;
}

.news .recent-featured-image {
  width: 100%;
  height: 340px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
  background: #e7e9ee;
}

.news .recent-featured-body {
  margin-top: 18px;
}

.news .recent-meta {
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(0, 0, 0, 0.72);
  font-family: "Roboto", sans-serif !important;
}

.news .recent-title-row {
  margin-top: 10px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.news .recent-post-title {
  font-size: 1.35rem !important;
  font-weight: 700 !important;
  color: #000;
  line-height: 1.15 !important;
}

.news .recent-icon {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #000;
  background: rgba(0, 0, 0, 0.05);
  flex: 0 0 auto;
}

.news .recent-excerpt {
  margin-top: 0.5rem;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.5rem;
  max-width: 62ch;
  font-family: "Roboto", sans-serif !important;
  display: -webkit-box;
    line-clamp: 3;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
 
.news .recent-tags {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news .recent-tags .tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(88, 102, 159, 0.10);
  color: #58669f;
  border: 1px solid rgba(88, 102, 159, 0.18);
  font-family: "Roboto", sans-serif !important;
}

.news .recent-side {
  display: grid;
  gap: 22px;
}

.news .recent-mini-link {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 16px;
  align-items: stretch;
  color: inherit;
}

.news .recent-mini-image {
  width: 160px;
  height: auto;
  max-height: 152px;
  border-radius: 7px;
  object-fit: cover;
  display: block;
  background: #e7e9ee;
}

.news .recent-mini-title {
  margin-top: 8px;
  font-size: 1.15rem !important;
  font-weight: 600 !important;
  color: #000;
  line-height: 1.2 !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news .recent-mini-excerpt {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.62);
  line-height: 1.35rem;
  font-family: "Roboto", sans-serif !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media only screen and (max-width: 1024px) {
  .news .recent-grid {
    grid-template-columns: 1fr;
  }

  .news .recent-mini-link {
    grid-template-columns: 180px 1fr;
  }

  .news .recent-mini-image {
    width: 180px;
  }
}

@media only screen and (max-width: 640px) {
  .news .recent-posts .container {
    padding: 30px 0 50px 0;
  }

  .news .recent-featured-image {
    height: 260px;
  }

  .news .recent-mini-link {
    grid-template-columns: 110px 1fr;
    gap: 14px;
  }

  .news .recent-mini-image {
    width: 110px;
    height: 110px;
    aspect-ratio: 1/1;
  }

  .news .recent-title {
    margin-bottom: 4px;
  }
}

/* ======================= */

.news .meta {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.news .meta i {
  margin-right: 6px;
}

.news .dot {
  opacity: 0.65;
}

.dot.active {
  display: none !important;
}

/* ===========cta section============ */



.news .featured-link:hover .featured-image {
  transform: scale(1.06);
}

.news .featured-link:hover .cta {
  background: rgba(88, 102, 159, 0.75);
  border-color: rgba(255, 255, 255, 0.22);
}

.news .featured-side {
  display: grid;
  gap: 14px;
}

.news .mini-card {
  display: grid;
  grid-template-columns: 94px 1fr;
  gap: 14px;
  align-items: center;
  padding: 12px;
  border-radius: 14px;
  background: var(--senary-color);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.news .mini-thumb {
  width: 94px;
  height: 74px;
  border-radius: 12px;
  object-fit: cover;
  display: block;
  background: var(--tertiary-color);
}

.news .mini-title {
  font-weight: 700;
  color: var(--quinary-color);
  line-height: 1.2 !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news .mini-meta {
  margin-top: 8px;
  color: rgba(0, 0, 0, 0.62);
  font-size: 0.9rem;
}

.news .mini-card:hover {
  transform: translateY(-2px);
  border-color: rgba(88, 102, 159, 0.28);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.08);
}

.news .trending-news {
  width: 100%;
  background: #f0f0f0;
  display: flex;
  justify-content: center;
  padding: 20px 0 70px 0;
}

.news .trending-news-container {
  margin: 0 auto;
}

.news .blog-row-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 38px;
  margin-bottom: 14px;
  width: 100%;
}

.news .blog-row-intro {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.news .row-title {
  font-size: 1.6rem;
  color: var(--quinary-color);
  margin: 0;
}

.news .row-sub {
  color: rgba(0, 0, 0, 0.6);
  max-width: 520px;
  text-align: left;
  margin: 0;
}

.news .blog-row-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  flex-shrink: 0;
  padding: 0.65rem 1.15rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #000;
  background: #fff;
  font-family: "Roboto", sans-serif !important;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.news .blog-row-cta:hover {
  border-color: var(--primary-color, #58669f);
  background: rgba(88, 102, 159, 0.04);
}

.news .trending-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.news .trend-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--senary-color);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  display: grid;
}

.news .trend-image {
  width: 100%;
  height: auto;
  aspect-ratio: 2/1;
  object-fit: cover;
  display: block;
  background: var(--tertiary-color);
}

.news .trend-body {
  padding: 1.5rem 1rem;
}

.news .trend-meta {
  margin-top: 0;
  font-size: 0.9rem;
  color: rgba(0, 0, 0, 0.62);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.news .trend-meta-item {
  display: flex;
  align-items: center;
  gap: 0px;
}

.news .trend-meta i {
  margin-right: 3px;
}

.news .trend-title {
  margin-top: 10px;
  font-weight: 750;
  color: var(--quinary-color);
  line-height: 1.2 !important;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news .trend-excerpt {
  margin-top: 10px;
  color: rgba(0, 0, 0, 0.68);
  line-height: 1.35 !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news .trend-card:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 102, 159, 0.28);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.09);
}

.news .blog-banner {
  margin-top: 30px;
  border-radius: 18px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.78), rgba(88, 102, 159, 0.72));
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.news .blog-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.10), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(210, 215, 223, 0.12), transparent 55%);
  pointer-events: none;
}

.news .banner-inner {
  position: relative;
  padding: 34px 28px;
  color: var(--senary-color);
  max-width: 900px;
}

.news .banner-kicker {
  opacity: 0.85;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.news .banner-title {
  margin-top: 10px;
  font-size: clamp(1.8rem, 1.3rem + 1.4vw, 2.8rem);
  line-height: 1.05 !important;
}

.news .banner-title .accent {
  color: var(--secondary-color);
}

.news .banner-sub {
  margin-top: 12px;
  opacity: 0.9;
  max-width: 680px;
  line-height: 1.35 !important;
}

.news .banner-dots {
  margin-top: 16px;
  display: flex;
  gap: 8px;
}

.news .banner-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
}

.news .banner-dots span:first-child {
  width: 22px;
  background: rgba(255, 255, 255, 0.85);
}

.news .latest-head {
  margin-top: 34px;
}

.news .latest-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.news .latest-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--senary-color);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.news .latest-link {
  display: grid;
  height: 100%;
}

.news .latest-image {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
  background: var(--tertiary-color);
}

.news .latest-body {
  padding: 16px 16px 18px;
}

.news .latest-meta {
  font-size: 0.92rem;
  color: rgba(0, 0, 0, 0.6);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.news .latest-title {
  margin-top: 10px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--quinary-color);
  line-height: 1.2 !important;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news .latest-excerpt {
  margin-top: 10px;
  color: rgba(0, 0, 0, 0.68);
  line-height: 1.35 !important;
  display: -webkit-box;
  line-clamp: 3;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news .latest-cta {
  margin-top: 14px;
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(88, 102, 159, 0.12);
  border: 1px solid rgba(88, 102, 159, 0.22);
  color: var(--primary-color);
  font-weight: 700;
  width: fit-content;
}

.news .latest-card:hover {
  transform: translateY(-3px);
  border-color: rgba(88, 102, 159, 0.28);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.09);
}

.news .latest-card:hover .latest-cta {
  background: rgba(88, 102, 159, 0.18);
}

@media (max-width: 1100px) {
  .news .trending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news .latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .news .blog-featured {
    grid-template-columns: 1fr;
  }

  .news .featured-image {
    min-height: 360px;
  }

  .news .blog-row-head {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
  }

  .news .recent-excerpt {
    margin-top: 0.5rem;
  }
}

@media (max-width: 640px) {
  .news .trending-grid,
  .news .latest-grid {
    grid-template-columns: 1fr;
  }

  .news .mini-card {
    grid-template-columns: 84px 1fr;
  }

  .news .mini-thumb {
    width: 84px;
    height: 68px;
  }

  .news .recent-tags .tag {
    display: none !important;
  }
}
