/***** Latest Posts (Insights listing)
*************************************/
.latest-news {
  --ln-body: clamp(0.9375rem, 0.15vw + 0.875rem, 1.0625rem);
  --ln-lead: clamp(17px, 1.2vw + 0.5rem, 19px);
  --ln-display: clamp(48px, 7vw, 72px);
  --ln-h2: clamp(28px, 4.5vw, 44px);
  --ln-nav-offset: var(--nav-offset, 72px);
  --ln-spectrum: var(--spectrum, linear-gradient(90deg,
    #ff6b6b 0%, #ffa500 14%, #ffd700 28%, #32cd32 42%,
    #00ced1 57%, #4169e1 71%, #9370db 85%, #ff1493 100%));
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  box-sizing: border-box;
  font-family: var(--font);
}

.latest-news-hero {
  position: relative;
  text-align: center;
  background: #0a0a0f;
  padding: calc(var(--ln-nav-offset) + 80px) clamp(24px, 5vw, 80px) 32px;
  box-sizing: border-box;
}

.latest-news-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  z-index: 2;
}

.latest-news-hero-title {
  font-weight: 400;
  font-size: var(--ln-display);
  line-height: 1.1;
  letter-spacing: -0.04em;
  margin: 0 0 24px;
  color: #fff;
}

.latest-news-hero-highlight {
  background: var(--ln-spectrum);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 400;
  line-height: 1.25;
  display: inline-block;
  box-sizing: content-box;
  padding: 0.06em 0.12em 0.2em 0.04em;
  margin-bottom: -0.2em;
}

.latest-news-hero-subtitle {
  font-size: var(--ln-lead);
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.92);
  font-weight: 400;
  margin: 0 auto;
  max-width: 720px;
  text-wrap: pretty;
}

.latest-news-spotlight {
  background: #0a0a0f;
  padding: 32px 48px 100px;
  box-sizing: border-box;
}

.latest-news-spotlight-inner,
.latest-news-feed-inner {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.latest-news-spotlight-card {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
  align-items: stretch;
  margin-bottom: 48px;
}

.latest-news-spotlight-card.is-hidden {
  display: none !important;
}

.latest-news-spotlight-media {
  border-radius: 20px;
  min-height: 280px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.3), transparent 60%),
    radial-gradient(circle at bottom right, rgba(148, 163, 253, 0.55), rgba(13, 16, 38, 0.98));
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.latest-news-spotlight-media.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.latest-news-spotlight-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.latest-news-spotlight-eyebrow {
  font-size: var(--ln-body);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.latest-news-spotlight-heading {
  font-size: clamp(28px, 3.5vw, 36px);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

.latest-news-spotlight-heading a {
  color: inherit;
  text-decoration: none;
}

.latest-news-spotlight-heading a:hover {
  color: rgba(255, 255, 255, 0.88);
}

.latest-news-spotlight-cats {
  display: none;
}

.latest-news-spotlight-summary {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.latest-news-spotlight-byline {
  display: flex;
  align-items: center;
  gap: 14px;
}

.latest-news-spotlight-avatar {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--ln-body);
  font-weight: 600;
  background: radial-gradient(circle at top left, #6366f1, #ec4899);
  color: #fff;
  flex-shrink: 0;
}

.latest-news-spotlight-author {
  font-weight: 600;
  font-size: 16px;
  color: #fff;
  margin-bottom: 4px;
}

.latest-news-spotlight-date {
  font-size: var(--ln-body);
  color: rgba(255, 255, 255, 0.6);
}

.latest-news-spotlight-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  background: #fff;
  color: #0a0a0f;
  font-size: var(--ln-body);
  font-weight: 600;
  line-height: 1.6;
  text-decoration: none;
  margin-top: 8px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.latest-news-spotlight-action:hover {
  background: rgba(255, 255, 255, 0.92);
  color: #0a0a0f;
  transform: translateY(-1px);
}

/***** Category filters
*************************************/
.latest-news-filter-bar {
  position: relative;
  margin-top: 0;
}

.latest-news-filter-panel {
  padding: 0;
}

.latest-news-filter-bar.is-stuck .latest-news-filter-panel {
  position: fixed;
  top: var(--nav-offset, 72px);
  left: 0;
  right: 0;
  z-index: 999;
  background: #0a0a0f;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 14px 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.latest-news-filter-inner {
  display: flex;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.latest-news-filter-bar.is-stuck .latest-news-filter-inner {
  padding: 0 var(--nav-pad-x, 48px);
}

.latest-news-filter-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.latest-news-filter {
  padding: 8px 18px;
  min-height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--ln-body);
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  font-family: inherit;
}

.latest-news-filter:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.35);
}

.latest-news-filter.is-active {
  background: #fff;
  color: #0a0a0f;
  border-color: #fff;
}

.latest-news-filter.is-active:hover {
  background: rgba(255, 255, 255, 0.95);
  color: #0a0a0f;
}

/***** Feed / story cards
*************************************/
.latest-news-feed {
  background: #fff;
  padding: 100px 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.latest-news-feed-title {
  color: #0a0a0f;
  font-size: var(--ln-h2);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-align: left;
  margin: 0;
}

.latest-news,
.latest-news-feed-inner,
.latest-news .stories-grid {
  overflow: visible;
}

.latest-news .stories-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 32px;
  width: 100%;
  align-items: stretch;
}

.latest-news .stories-grid .item,
.latest-news .stories-grid .story-card {
  max-width: none !important;
  width: 100% !important;
  min-width: 0;
  height: 100%;
}

.latest-news .stories-grid .story-card.is-hidden {
  display: none !important;
}

.story-card {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  position: relative;
  z-index: 1;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

/* a.story-card:hover,
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 5px 20px rgba(15, 23, 42, 0.05);
} */

.story-img {
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  background: linear-gradient(135deg, rgba(148, 163, 253, 0.35), rgba(236, 72, 153, 0.25));
}

.story-img.has-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.story-content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 24px 24px 36px;
}

.story-tags {
  display: none;
}

.story-title {
  color: #0a0a0f;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 12px;
}

.story-excerpt {
  font-family: var(--font);
  font-size: var(--ln-body);
  font-weight: 400;
  line-height: 1.6;
  color: #666666;
  margin: 0;
  flex: 1 1 auto;
}

.story-meta {
  position: absolute;
  bottom: 12px;
  left: 24px;
  display: block;
  margin: 0;
}

.story-avatar,
.story-author {
  display: none;
}

.story-date {
  font-size: var(--ln-body);
  color: rgba(0, 0, 0, 0.5);
  font-weight: 500;
}

.latest-news-empty {
  display: none;
  text-align: center;
  padding: 48px 24px;
  font-size: 18px;
  color: #666;
}

.latest-news-empty.is-visible {
  display: block;
}

.latest-news-more {
  margin-top: 40px;
  display: flex;
  justify-content: center;
}

.latest-news-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.3);
  background: #f4f4f6;
  font-size: 16px;
  font-weight: 500;
  color: #111827;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.latest-news-more-btn:hover {
  background: #e5e7eb;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.12);
  color: #111827;
}

/*************** Posts Wrapper Section
*************************************/

.post-wrapper .content {
  max-width: 1604px;
  padding: 70px 30px 120px;
  margin: 0 auto;
}

.post-wrapper .tab-contents .wrapper {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
}

.post-wrapper .tab-contents .wrapper .item {
  max-width: calc(25% - 18.74px);
  width: calc(25% - 18.74px);
}

.post-wrapper .tab {
  overflow: hidden;
  display: flex;
  gap: 10px;
  justify-content: center;
  padding-bottom: 38px;
  flex-wrap: wrap;
}

.post-wrapper .tab a {
  border: 1px solid #000;
  color: #000;
  cursor: pointer;
  font-weight: 600;
  line-height: 32px;
}

.post-wrapper .tab a:hover {
  color: #fff;
  background-color: #000;
}

.post-wrapper .tab a.active {
  color: #fff;
  background-color: #000;
}

.post-wrapper .tab a:not(.active) .tag-icon img {
  filter: invert(1);
}

.post-wrapper .tab a:hover .tag-icon img {
  filter: unset;
}

.post-wrapper .tabcontent {
  display: none;
}

.post-wrapper .view-all-btn a {
  color: #000;
}

/************** Community Area Section
*************************************/

.community-area {
  background-image: url(../images/community_bg.png);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  max-width: 1920px;
  margin: 0 auto;
}

.community-area .content {
  max-width: 837px;
  margin: 0 auto;
  text-align: center;
  padding: 195px 40px 220px;
}

.community-area .content h2 {
  color: #fff;
  text-align: center;
  font-family: var(--font);
  font-size: 2.75rem;
  font-style: normal;
  font-weight: 400;
  line-height: 60px;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.community-area .content span, .community-area .content p, .email a {
  color: #fff;
  text-align: center;
  font-size: 1.25rem;
  font-style: normal;
  font-weight: 400;
  line-height: 28px;
  margin-top: 25px;
}
.email{
  margin-top: 25px;
}
.email a {
  text-transform: lowercase;
  text-decoration: underline;
  text-underline-offset: 7px;
  text-decoration-thickness: 2px;
}

@media screen and (max-width: 1439px) {
  .post-wrapper .tab-contents .wrapper .item {
    max-width: calc(33.33% - 17px);
    width: calc(33.33% - 17px);
  }

  .post-wrapper .tab-contents .wrapper .item:nth-child(n + 7) {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .latest-news .stories-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

@media screen and (max-width: 990px) {
  .post-wrapper .tab-contents .wrapper .item {
    max-width: calc(50% - 12.5px);
    width: calc(50% - 12.5px);
  }
}

@media screen and (max-width: 767px) {
  .community-area .content {
    padding: 92px 30px;
  }

  .community-area .content h2 {
    text-align: center;
    font-family: var(--font);
    font-size: 2.375rem;
    font-style: normal;
    font-weight: 400;
    line-height: 40px;
    text-transform: uppercase;
  }

  .community-area .content p {
    text-align: center;
    font-style: normal;
    font-weight: 400;
  }

  .email a {
    text-align: center;
    font-family: var(--font);
    font-style: normal;
    font-weight: 400;
    text-transform: lowercase;
  }
}

@media screen and (max-width: 768px) {
  .latest-news-hero {
    padding: calc(var(--ln-nav-offset) + 48px) 24px 40px;
  }

  .latest-news-spotlight {
    padding: 24px 24px 72px;
  }

  .latest-news-spotlight-card {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .latest-news-spotlight-media {
    min-height: 200px;
  }

  .latest-news-feed {
    padding: 72px 24px;
  }

  .latest-news .stories-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .latest-news-filter-inner {
    justify-content: flex-start;
  }

  .latest-news-filter-list {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 2px 0;
  }

  .latest-news-filter-list::-webkit-scrollbar {
    display: none;
  }

  .latest-news-filter {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .latest-news-filter-bar.is-stuck .latest-news-filter-inner {
    padding: 0 24px;
  }
}

@media screen and (max-width: 640px) {
  .post-wrapper .tab-contents .wrapper .item {
    max-width: 100%;
    width: 100%;
  }
}

@media screen and (max-width: 575px) {
  .latest-news-hero {
    padding: calc(var(--ln-nav-offset) + 40px) 20px 32px;
  }

  .latest-news-hero-title {
    font-size: clamp(34px, 9vw, 48px);
  }

  .latest-news-hero-subtitle {
    font-size: 16px;
    line-height: 1.65;
  }

  .latest-news-spotlight {
    padding: 20px 20px 56px;
  }

  .latest-news-feed {
    padding: 56px 20px;
  }
}

@media screen and (max-width: 320px) {
	.community-area .content h2 {
		font-size: 2rem;
		line-height: 40px;
	}
}
