/* ═══════════════════════════════════════
   Naujienos — Archive & Single Post
═══════════════════════════════════════ */

/* ─── Archive: container & header ─── */
.naujienos-archive {
  padding: 60px 0 80px;
  background: #f9fafb;
  min-height: 60vh;
}

.naujienos-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.naujienos-header {
  margin-bottom: 52px;
  background: none;
  position: relative;
  z-index: 1;
  box-shadow: none;
}

.naujienos-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d6b40;
  margin-bottom: 16px;
}

.naujienos-label::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #2d6b40;
  flex-shrink: 0;
}

.naujienos-heading {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 800;
  color: #111e14;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
}

.naujienos-subheading {
  font-size: 1rem;
  color: #4a6651;
  margin: 0;
}

/* ─── Grid: 3 columns ─── */
.naujienos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

/* ─── News Card ─── */
.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.12);
}

/* Thumbnail */
.news-card__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.news-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-card:hover .news-card__img {
  transform: scale(1.04);
}

.news-card__thumb--placeholder {
  background: linear-gradient(135deg, #e8eeca 0%, #d4edbe 100%);
}

/* Body */
.news-card__body {
  padding: 24px 28px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.news-card__date {
  font-size: 13px;
  font-weight: 600;
  color: #6fbe4f;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.news-card__title {
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #111;
  margin: 0;

  a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;

    &:hover {
      color: #6fbe4f;
    }
  }
}

.news-card__excerpt {
  font-size: 14px;
  line-height: 1.65;
  color: #555;
  flex: 1;
}

.news-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #096542;
  text-decoration: none;
  margin-top: 4px;
  transition:
    gap 0.2s,
    color 0.2s;

  &:hover {
    color: #6fbe4f;
    gap: 8px;
  }
}

/* ─── Pagination ─── */
.naujienos-pagination {
  margin-top: 56px;
  display: flex;
  justify-content: center;

  .nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
  }

  .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    background: #fff;
    border: 1px solid #e0e0e0;
    transition:
      background 0.2s,
      color 0.2s,
      border-color 0.2s;

    &:hover {
      background: #6fbe4f;
      color: #fff;
      border-color: #6fbe4f;
    }

    &.current {
      background: #6fbe4f;
      color: #fff;
      border-color: #6fbe4f;
    }

    &.dots {
      background: none;
      border: none;
      color: #aaa;
    }
  }
}

/* ─── Empty state ─── */
.naujienos-empty {
  text-align: center;
  color: #888;
  font-size: 17px;
  padding: 60px 0;
}

/* ═══════════════════════════════════════
   Single Post
═══════════════════════════════════════ */

.single-post {
  background: #f9fafb;
  min-height: 60vh;
}

/* ─── Intro: branded green zone (podcasts/ambassadors) ─── */
.single-post__intro {
  background: #096542;
  padding-bottom: 60px;
  position: relative;
  z-index: 1;
}

/* ─── News: light intro ─── */
.single-post--news .single-post__intro {
  background: #f3f8f4;
  padding-bottom: 0;
  border-bottom: 1.5px solid rgba(45, 107, 64, 0.1);
}

/* Container */
.single-post__container {
  max-width: 820px;
  margin: 0 auto;
  padding: 56px 40px 0;
}

/* ─── Body: content + sidebar side by side ─── */
.single-post__body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px 80px;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.single-post__container {
  min-width: 0;
  padding: 56px 0 0;
}

/* Header – default (dark intro) */
.single-post__header {
  margin-bottom: 0;
  text-align: center;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  padding: 52px 40px 0;
}

/* Header – news (light intro, left-aligned) */
.single-post--news .single-post__header {
  text-align: left;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding: 56px 40px 52px;
  background: none;
  box-shadow: none;
}

.single-post__category {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6fbe4f;
  text-decoration: none;
  margin-bottom: 16px;
  transition: color 0.2s;

  &::before,
  &::after {
    content: '—';
    display: inline-block;
    margin: 0 8px;
    opacity: 0.5;
    font-weight: 400;
    color: #6fbe4f;
  }

  &:hover {
    color: #a8e08a;
  }
}

/* Category link – news skin */
.single-post--news .single-post__category {
  color: #2d6b40;

  &::before {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #2d6b40;
    flex-shrink: 0;
    margin: 0;
  }

  &::after {
    display: none;
  }

  &:hover {
    color: #1a4a28;
  }
}

.single-post__title {
  font-family: 'Work Sans', Arial, sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

/* Title – news skin */
.single-post--news .single-post__title {
  color: #111e14;
  max-width: 780px;
}

.single-post__meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Meta – news skin */
.single-post--news .single-post__meta {
  justify-content: flex-start;
}

.single-post__date {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.single-post--news .single-post__date {
  color: #4a6651;
}

.single-post__meta-dot {
  width: 3px;
  height: 3px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  display: inline-block;
}

.single-post--news .single-post__meta-dot {
  background: #b0c9b5;
}

.single-post__readtime {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.single-post--news .single-post__readtime {
  color: #4a6651;
}

/* ─── Featured image (news + podcast + ambassador in body) ─── */
.single-post__featured-img {
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1);
}

.single-post__featured-img-el {
  width: 100%;
  height: auto;
  display: block;
  max-height: 480px;
  object-fit: cover;
}

/* Content */
.single-post__content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;

  p {
    margin-bottom: 20px;
  }

  h2,
  h3,
  h4 {
    font-family: 'Arial', sans-serif;
    font-weight: 700;
    color: #111;
    margin: 36px 0 14px;
  }

  h2 {
    font-size: 1.5rem;
  }
  h3 {
    font-size: 1.25rem;
  }

  img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 24px 0;
  }

  a {
    color: #096542;
    text-decoration: underline;
    text-underline-offset: 3px;

    &:hover {
      color: #6fbe4f;
    }
  }

  ul,
  ol {
    padding-left: 24px;
    margin-bottom: 20px;

    li {
      margin-bottom: 8px;
    }
  }

  blockquote {
    border-left: 4px solid #6fbe4f;
    padding: 12px 24px;
    margin: 28px 0;
    background: #f0f9ea;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
  }
}

/* Footer / back link */
.single-post__footer {
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid #e8e8e8;
  background: none;
}

.single-post__back {
  font-size: 14px;
  font-weight: 600;
  color: #096542;
  text-decoration: none;
  transition: color 0.2s;

  &:hover {
    color: #6fbe4f;
  }
}

/* ─── Sidebar ─── */
.single-post__sidebar {
  padding-top: 56px;
  position: sticky;
  top: 110px;
}

.sidebar__heading {
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #096542;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #6fbe4f;
}

.sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sidebar__item {
  border-radius: 10px;
  overflow: hidden;
  transition: background 0.2s;

  &:hover {
    background: #f0f9ea;
  }
}

.sidebar__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 10px;
  text-decoration: none;
  color: inherit;
}

.sidebar__thumb {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #e8eeca;
}

.sidebar__thumb--empty {
  background: linear-gradient(135deg, #e8eeca 0%, #d4edbe 100%);
}

.sidebar__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sidebar__info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sidebar__date {
  font-size: 11px;
  font-weight: 600;
  color: #6fbe4f;
  letter-spacing: 0.04em;
}

.sidebar__title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;

  .sidebar__link:hover & {
    color: #096542;
  }
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .naujienos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .single-post__body {
    grid-template-columns: 1fr;
    padding: 0 40px 60px;
    gap: 0;
  }

  .single-post__sidebar {
    position: static;
    padding-top: 0;
    /* border-top: 1px solid #e8e8e8; */
    padding-top: 40px;
    margin-top: 0;
  }

  .home-news__item {
    /* handled in slider section below */
  }
}

@media (max-width: 640px) {
  .naujienos-container {
    padding: 0 20px;
  }

  .naujienos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .single-post__body {
    padding: 0 20px 60px;
  }

  .single-post__container {
    padding: 32px 0 0;
  }
}

/* ═══════════════════════════════════════
   Home News Slider
═══════════════════════════════════════ */

.home-news {
  background: #f9fafb;
  padding: 64px 0 72px;
}

.home-news__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ─── Header row: title + arrows ─── */
.home-news__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 16px;
}

.home-news__heading {
  font-family: 'Arial', sans-serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: #111;
  position: relative;
  padding-bottom: 14px;

  &::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 4px;
    background: #6fbe4f;
    border-radius: 2px;
  }
}

.home-news__nav {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.home-news__arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid #e0e0e0;
  background: #fff;
  color: #333;
  cursor: pointer;
  transition:
    border-color 0.2s,
    background 0.2s,
    color 0.2s;

  &:hover:not(:disabled) {
    border-color: #6fbe4f;
    background: #6fbe4f;
    color: #fff;
  }

  &:disabled {
    opacity: 0.35;
    cursor: default;
  }
}

.home-news__counter {
  font-size: 13px;
  font-weight: 600;
  color: #aaa;
  min-width: 36px;
  text-align: center;
}

/* ─── Slider viewport ─── */
.home-news__viewport {
  overflow: hidden;
}

.home-news__track {
  display: flex;
  gap: 32px;
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 0 50px 0;
}

/* Item width is set via media queries below */
.home-news__item {
  flex: 0 0 calc((100% - 64px) / 3);
  min-width: 0;
}

@media (max-width: 1024px) {
  .home-news__item {
    flex: 0 0 calc((100% - 32px) / 2);
  }
}

@media (max-width: 768px) {
  .home-news__track {
    gap: 0;
  }

  .home-news__item {
    flex: 0 0 100%;
  }

  .home-news__container {
    padding: 0 20px;
  }
}

/* ─── "Daugiau" CTA ─── */
.home-news__more {
  display: flex;
  justify-content: center;
  margin-top: 48px;
}

.home-news__more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: #096542;
  color: #fff;
  font-family: 'Arial', sans-serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 100px;
  transition:
    background 0.2s,
    gap 0.2s;

  &:hover {
    background: #6fbe4f;
    gap: 12px;
  }
}

/* Home description */
.home-description {
  background:
    linear-gradient(180deg, #f6faf7 0%, #eef6f0 100%);
  padding: 88px 0 92px;
  border-bottom: 1px solid rgba(45, 107, 64, 0.1);
}

.home-description__container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

.home-description__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #2d6b40;
  margin-bottom: 24px;
}

.home-description__label::after {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: #6fbe4f;
  flex-shrink: 0;
}

.home-description__body {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 60px 50px 64px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(45, 107, 64, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 70px rgba(15, 45, 25, 0.08);
}

/* .home-description__body::before {
  content: '';
  position: absolute;
  inset: 18px auto 18px 0;
  width: 4px;
  border-radius: 999px;
  background: #6fbe4f;
} */

.home-description__content {
  max-width: 820px;
  color: #1d3b27;
  font-size: clamp(1.05rem, 1.7vw, 1.32rem);
  font-weight: 500;
  line-height: 1.7;
}

.home-description__content p {
  margin: 0 0 16px;
}

.home-description__content p:last-child {
  margin-bottom: 0;
}

.home-description__content strong,
.home-description__content b {
  color: #102d1b;
  font-weight: 800;
}

.home-description__content a {
  color: #096542;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.home-description__content a:hover {
  color: #6fbe4f;
}

@media (max-width: 768px) {
  .home-description {
    padding: 58px 0 64px;
  }

  .home-description__container {
    padding: 0 20px;
  }

  .home-description__body {
    padding: 30px 26px 32px 30px;
    border-radius: 14px;
  }

  .home-description__content {
    font-size: 1.02rem;
    line-height: 1.65;
  }
}
