/* News Detail Page Styles */

body {
  color: #000 !important;
}

.news-detail {
  background-color: #FFF;
  color: #000;
}

.news-header {
  text-align: center;
  margin-bottom: 40px;
  max-width: 804px;
  margin-left: auto;
  margin-right: auto;
}

.news-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 16px;
      margin: 20px auto 40px auto !important;
  width: 100% !important;
}
.news-section .news-title {
      margin: 20px auto 40px 20px !important;
}
.news-subtitle {
  font-size: 1.1rem;
  color: #000;
  line-height: 1.5;
  margin-bottom: 8px;
}

.news-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: -25px;
  font-size: 0.9rem;
  color: #000;
}

.news-layout {
  display: grid;
  grid-template-columns: 300px 1fr 300px;
  gap: 40px;
  align-items: start;
  justify-items: center;
}

.news-sidebar {
  position: sticky;
  top: 20px;
}

.news-sidebar-card {
  background: #f8f9fa;
  border-radius: 8px;
  width: 300px;
  margin-bottom: 20px;
  height: 150px;
  text-align: center;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding-left: 25px;
  margin-left: 40px;
}

.news-date-display {
  color: var(--CG-colors-Grey-Black, #000);

  /* Body 1 */
  font-family: var(--Typography-font-family-body, Montserrat);
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 150% */
}

.news-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: var(--CG-colors-Shadows-Black-50, rgba(0, 0, 0, 0.50));
  cursor: pointer;
  text-decoration: none;
}

.news-share-btn:hover {
  text-decoration: none;
}

.news-share-btn__icon svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  aspect-ratio: 1/1;
}

.news-share-btn__label {
  color: var(--CG-colors-Shadows-Black-50, rgba(0, 0, 0, 0.50));
  /* Button */
  font-family: var(--Typography-font-family-caption, Montserrat);
  font-size: 14px;
  font-style: normal;
  font-weight: 500;
  line-height: 21px; /* 150% */
}

.news-main-content {
  min-height: 500px;
  max-width: 620px;
  font-size: 0.9rem;
  color: #000;
  padding: 20px 40px;
}

.news-date {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.news-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  background: transparent;
  border: 1px solid var(--CG-colors-Shadows-Black-30, rgba(0, 0, 0, 0.30));
  border-radius: 4px;
  text-decoration: none;
  color: var(--CG-colors-Grey-Black, #000);
  font-family: var(--Typography-font-family-caption, Montserrat);
  font-size: 12px;
  font-weight: 500;
  line-height: 18px;
  text-transform: none;
  transition: all 0.2s ease;
}

.news-tag:hover {
  background: #C4F222;
  border-color: #C4F222;
  color: #000;
}

.news-image {
  width: 100%;
    margin: 20px 0;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.news-image img {
  width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.news-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #000;
  padding: 0;
  margin-top: 32px;
}

.news-content p {
  margin-bottom: 1.2rem;
  text-align: justify;
}

.news-content h2, .news-content h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #000;
  font-weight: 600;
}

.news-content ul, .news-content ol {
  margin: 1.2rem 0;
  padding-left: 0;
  list-style: none;
}

.news-content li {
  margin-bottom: 0.4rem;
  position: relative;
  padding-left: 1.2rem;
}

.news-content li:before {
  content: "•";
  color: #000;
  font-weight: bold;
  position: absolute;
  left: 0;
}

.news-content a {
  color: #000;
  text-decoration: underline;
  font-weight: 500;
}

.news-content a:hover {
  text-decoration: none;
}
.news-back svg{
  transform: rotate(180deg); transform-origin: center;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .news-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .news-sidebar {
    position: static;
    order: -1;
  }
  
  .news-sidebar-card {
            display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        padding: 16px 20px;
        margin: 0;
        height: auto;
  }
  
  .news-date-display {
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .news-detail {
    padding: 14px;
  }
  
  .news-title {
    font-size: 2rem;
  }
  
  .news-meta {
    flex-direction: column;
    gap: 8px;
  }
  
  .news-sidebar-card {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
  
  .news-date-display {
    margin-bottom: 12px;
  }
  
  .news-detail img {
    width: 100%;
    height: auto;
  }
}

@media (min-width: 350px) and (max-width: 550px) {
  .news-detail .meta {
    display: none;
  }
}

.news-swiper{
  margin-right: 0px !important;
}

/* Top center square CTA */
.news-top-cta {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 12px; /* small offset from top */
  z-index: 30;
}

.news-top-cta-link {
  display: inline-flex;
  transform: rotate(90deg);
  padding: 8px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 4px;
  border: 1px solid var(--CG-colors-Lime-Lime-5, #C4F222);
  background: var(--CG-colors-Lime-Lime-5, #C4F222);
  text-decoration: none;
}

.news-top-cta-link svg {
  width: 8.657px;
  height: 8.657px;
  transform: rotate(270deg);
  aspect-ratio: 1/1;
  stroke-width: 1px;
  stroke: var(--CG-colors-Grey-Black, #000);
}

/* Back / Discover button (used above the title) */
/* minimal centering for the back button — visual styles come from common.css (.btn-discover) */
.news-back {
  margin-top: 48px;
  text-align: center;
}
