/* News Listing Page - Grid Layout */

.ga-news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.ga-news-card-item {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ga-news-card-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.ga-news-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.ga-news-card-image {
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.ga-news-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.ga-news-card-item:hover .ga-news-card-image img {
  transform: scale(1.05);
}

.ga-news-card-content {
  padding: 20px;
}

.ga-news-card-title {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #004071;
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.ga-news-card-date {
  display: block;
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 12px;
}

.ga-news-card-excerpt {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 12px;
}

.ga-news-card-readmore {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 600;
  color: #00a77e;
  transition: color 0.3s ease;
}

.ga-news-card-item:hover .ga-news-card-readmore {
  color: #004071;
}

.ga-news-pagination {
  text-align: center;
  margin: 30px 0;
}

.ga-news-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.ga-news-pagination .page-numbers {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid #ddd;
  border-radius: 4px;
  color: #004071;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.ga-news-pagination .page-numbers.current,
.ga-news-pagination .page-numbers:hover {
  background: #004071;
  color: #fff;
  border-color: #004071;
}

/* Single News Post */

.ga-single-post-header {
  margin-bottom: 25px;
}

.ga-single-post-title {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #004071;
  margin: 0 0 10px 0;
  line-height: 1.2;
}

.ga-single-post-date {
  display: block;
  font-size: 0.95rem;
  color: #888;
}

.ga-single-post-image {
  margin-bottom: 30px;
  border-radius: 8px;
  overflow: hidden;
  max-height: 500px;
}

.ga-single-post-image img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.ga-single-post-content {
  max-width: 900px;
}

/* Latest News Carousel */

.ga-latest-news-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 2px solid #e0e0e0;
}

.ga-latest-news-heading {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #004071;
  margin: 0 0 25px 0;
}

.ga-latest-news-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

.ga-latest-news-carousel {
  overflow: hidden;
  flex: 1;
}

.ga-latest-news-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}

.ga-latest-news-item {
  flex: 0 0 calc(33.333% - 14px);
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ga-latest-news-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.ga-latest-news-thumb {
  width: 100%;
  height: 160px;
  overflow: hidden;
}

.ga-latest-news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ga-latest-news-info {
  padding: 15px;
}

.ga-latest-news-title {
  font-family: 'Helvetica Neue Condensed', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #004071;
  margin: 0 0 6px 0;
  line-height: 1.3;
}

.ga-latest-news-date {
  font-size: 0.8rem;
  color: #888;
}

.ga-latest-news-nav {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 2px solid #004071;
  background: #fff;
  color: #004071;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.ga-latest-news-nav:hover {
  background: #004071;
  color: #fff;
}

/* Responsive - News Grid */

@media (max-width: 992px) {
  .ga-news-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .ga-single-post-title {
    font-size: 2rem;
  }

  .ga-latest-news-item {
    flex: 0 0 calc(50% - 10px);
  }
}

@media (max-width: 768px) {
  .ga-news-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .ga-single-post-title {
    font-size: 1.5rem;
  }

  .ga-single-post-image {
    max-height: 300px;
  }

  .ga-single-post-image img {
    max-height: 300px;
  }

  .ga-latest-news-item {
    flex: 0 0 calc(100% - 0px);
  }

  .ga-latest-news-thumb {
    height: 140px;
  }
}

/* Carousel slide - same card layout as grid */
.ga-latest-news-slide {
  flex: 0 0 calc(33.333% - 14px);
  min-width: 0;
}
.ga-latest-news-slide .ga-news-card-item {
  height: 100%;
}
@media (max-width: 992px) {
  .ga-latest-news-slide { flex: 0 0 calc(50% - 10px); }
}
@media (max-width: 768px) {
  .ga-latest-news-slide { flex: 0 0 100%; }
}

/* Fix carousel - only show 3 at a time */
.ga-latest-news-carousel {
  overflow: hidden !important;
}
.ga-latest-news-track {
  display: flex;
  gap: 20px;
  transition: transform 0.4s ease;
}
.ga-latest-news-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Single post - text left, image right */
.ga-single-post-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.ga-single-post-body .ga-single-post-content {
  flex: 1 1 60%;
  min-width: 0;
}
.ga-single-post-body .ga-single-post-image {
  flex: 0 0 40%;
  max-width: 40%;
  margin-bottom: 0;
  border-radius: 8px;
  overflow: hidden;
  position: sticky;
  top: 200px;
}
.ga-single-post-body .ga-single-post-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  max-height: none;
}
@media (max-width: 768px) {
  .ga-single-post-body {
    flex-direction: column-reverse;
  }
  .ga-single-post-body .ga-single-post-image {
    flex: 0 0 100%;
    max-width: 100%;
    position: static;
  }
}
