/* News Page Styles */
.page-banner{
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('/wp-content/themes/GlobalZT/assets/images/news-banner.webp') !important;
}
/* Container Layout */
.news-container {
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.news-content {
  flex: 1;
}

/* News Grid */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* News Item Card (Horizontal/Compact style for list) */
.news-item-card {
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.news-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.news-thumb {
  position: relative;
  /* height: 240px; */
  overflow: hidden;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.215, 0.61, 0.355, 1);
}

.news-item-card:hover .news-thumb img {
  transform: scale(1.1);
}

/* Date Overlay */
.news-date {
  position: absolute;
  top: 15px;
  left: 15px;
  background: white;
  padding: 8px 15px;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.news-date .day {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--primary-color);
}

.news-date .month {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 2px;
}

/* Tag Overlay */
.news-category {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--primary-color);
  color: white;
  padding: 6px 15px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
  border-top-right-radius: 8px;
}

/* Content Area */
.news-details {
  padding: 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

/* Meta Data */
.news-meta {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  font-size: 0.8rem;
  color: #999;
}

.news-meta span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.news-meta i {
  color: var(--primary-color);
}

/* Typography */
.news-title {
  font-size: 1.25rem;
  margin-bottom: 15px;
  line-height: 1.4;
  color: var(--text-color);
  font-weight: 700;
  transition: var(--transition);
}

.news-item-card:hover .news-title {
  color: var(--primary-color);
}

.news-details p {
  font-size: 0.95rem;
  color: var(--text-light);
  margin-bottom: 25px;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.6;
}

/* Footer / Read More */
.news-footer {
  padding-top: 15px;
  border-top: 1px solid #f0f0f0;
  margin-top: auto;
}

.read-more {
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.read-more i {
  transition: transform 0.3s ease;
  color: var(--primary-color);
}

.read-more:hover {
  color: var(--primary-color);
}

.read-more:hover i {
  transform: translateX(5px);
}

/* Sidebar Specifics (Augmenting common styles) */
.sidebar-contact-box p {
  display: flex;
  align-items: center;
  font-size: 0.9rem;
  color: var(--text-color);
}

/* News Advantages Section */
.news-advantages {
  background: var(--bg-light);
}

.news-adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.news-adv-card {
  background: #fff;
  padding: 50px 35px;
  border-radius: 15px;
  text-align: left;
  position: relative;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
  transition: all 0.4s ease;
}

.news-adv-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.adv-pillar-num {
  position: absolute;
  top: 20px;
  right: 30px;
  font-family: "Oswald", sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(0, 102, 204, 0.1);
  line-height: 1;
  transition: color 0.4s ease;
}

.news-adv-card:hover .adv-pillar-num {
  color: rgba(0, 102, 204, 0.4);
}

.adv-pillar-icon {
  width: 60px;
  height: 60px;
  background: var(--primary-color);
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 25px;
  box-shadow: 0 10px 20px rgba(0, 102, 204, 0.2);
}

.news-adv-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--text-color);
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-adv-card p {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 25px;
}

.adv-features {
  list-style: none;
  padding: 0;
  margin: 0;
}

.adv-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--text-color);
  margin-bottom: 10px;
  font-weight: 500;
}

.adv-features li i {
  color: var(--primary-color);
  font-size: 0.8rem;
}

@media (max-width: 992px) {
  .news-adv-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .news-adv-grid {
    grid-template-columns: 1fr;
  }
  .news-advantages {
    padding: 60px 0;
  }
}

/* Also need CTA Banner Styles if they are not in common (they were in index.css) */
.cta-banner {
  background: url("../images/cta-bg.webp")
    no-repeat fixed center / cover;
  text-align: center;
  color: white;
}

.cta-content h2 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.cta-content .btn-outline {
  border-color: white;
  color: white;
}

.cta-content .btn-outline:hover {
  border-color: var(--primary-color);
  background: var(--primary-color);
}

/* Also need Product Tabs & Cards Styles if they are not in common (they were in index.css) */
/* I'll copy the basic grid/tabs/card styles needed for the recommendations section */

.product-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 25px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 30px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease;
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.products-swiper {
  padding: 20px 0 30px !important;
}

.product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid var(--border-color);
}

.product-card:hover {
  transform: translateY(-10px);
}

.product-img {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-card:hover .product-img img {
  transform: scale(1.1);
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 92, 185, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--primary-color);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}
.product-tag.secondary {
  background: #ff9800;
}
.product-tag.info {
  background: #00bcd4;
}

.product-info {
  padding: 25px;
  text-align: center;
}

.product-info h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-color);
}

.product-info p {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* Responsive */
@media (max-width: 992px) {
  .news-container {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    max-width: none;
    order: 2;
    margin-top: 30px;
    position: static;
  }

  .news-grid {
    grid-template-columns: 1fr;
  }

  .page-banner h1 {
    font-size: 2.5rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }
  .cta-content p {
    font-size: 1rem;
  }
  .product-tabs {
    flex-direction: column;
  }
}
