/*
Theme Name: Kargo360
Author: Ashvani Yadav
Version: 1.0
*/

:root {
  --color-bg-primary: #000000;
  --color-bg-secondary: #0A0A0A;
  --color-accent: #FF002E;
  --color-accent-hover: #ff3333;
  --color-text-primary: #ffffff;
  --color-text-secondary: #99A1AF;
  --color-border: #2a2a2a;
  --spacing-unit: 8px;
  --transition: all 0.3s ease;
  --btn-background: #1A1A1A;
  --btn-text-category: #D1D5DC;
  --btn-text-category-border: #1E2939;
  --btn-text-category-span: #6A7282;
  --artical-background: #E7000B33;
  --artical-border: #E7000B4D;
  --artical-color: #FF6467;
  --read-more-color: #FB2C36;
  --scroll-line-color: #E7000B80;
  --date-color: #99A0AF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--color-bg-primary);
  color: var(--color-text-primary);
  line-height: 1.6;
}

/* ============================================
   Utility Classes
   ============================================ */

.container {
  max-width: 80%;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============================================
   Navigation Bar
   ============================================ */

.navbar {
  background-color: var(--color-bg-primary);
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 0;
}

.inner-header {
  background: #00000040 !important;
  position: absolute;
  width: 100%;
  top: 0px;
  left: 0;
  z-index: 999;
}

.navbar.scrolled {
  background-color: var(--color-bg-primary) !important;
  position: sticky;
  top: 0px;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo img {
  width: 153px;
  height: 35px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-links a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-accent);
}

.cta-button {
  background-color: var(--color-accent);
  color: white;
  border: none;
  padding: 10px 24px;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.cta-button:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

.cta-button a {
  text-decoration: none;
  color: white;
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
  padding: 20px 0;
  text-align: center;
  background: var(--color-bg-secondary);
  padding-top: 56px;
}

.hero h1 {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.hero h1::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 0 auto;
  margin-top: 6px;
}

.hero-heading {
  font-size: 20px;
  margin-bottom: 16px;
  font-weight: 500;
  position: relative;
  display: inline-block;
}

.hero-heading::after {
  content: "";
  display: block;
  width: 80px;
  height: 3px;
  background-color: var(--color-accent);
  margin: 0 auto;
  margin-top: 6px;
}

.hero p {
  font-size: 16px;
  color: var(--color-text-secondary);
  max-width: 634px;
  margin: 0 auto;
  font-weight: 400;
  margin-bottom: 24px;
}

/* ============================================
   Filter Tabs Section
   ============================================ */

.filters-section {
  padding: 0px 0;
  background: var(--color-bg-secondary);
}

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

.filter-btn {
  background: var(--btn-background);
  border: 1px solid var(--btn-text-category-border);
  color: var(--btn-text-category);
  font-size: 16px;
  cursor: pointer;
  padding: 8px 32px;
  border-bottom: 2px solid transparent;
  transition: var(--transition);
  font-weight: 500;
  border-radius: 26px;
  height: 52px;
}

.filter-btn span {
  color: var(--btn-text-category-span);
  margin-left: 3px;
}

.filter-btn:hover {
  color: var(--color-text-primary);
}

.filter-btn.active {
  color: var(--color-text-primary);
  border-bottom-color: var(--color-accent);
  background: var(--color-accent);
  box-shadow: 0px 4px 6px -4px #E7000B4D;
  box-shadow: 0px 10px 15px -3px #E7000B4D;
}

.filter-btn.active span {
  color: var(--color-text-primary);
}

/* ============================================
   Content Section & Grid
   ============================================ */

.content-section {
  padding: 59px 0;
  padding-top: 44px;
  background: var(--color-bg-secondary);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.content-grid-new {
  grid-template-columns: repeat(auto-fit, minmax(100%, 1fr));
}

/* ============================================
   Content Card
   ============================================ */

.content-card {
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--btn-text-category-border);
  border-radius: 14px;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.content-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-8px);
}

.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background-color: var(--color-bg-primary);
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
  object-position: center;
}

.content-card:hover .card-image img {
  transform: scale(1.05);
}

.category-badge {
  top: 16px;
  left: 16px;
  background-color: var(--artical-background);
  color: var(--artical-color);
  padding: 6px 12px;
  border-radius: 24px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  border: 1px solid var(--artical-border);
}

.category-badge.news {
  background-color: var(--artical-background);
}

.category-badge.events {
  background-color: var(--artical-background);
}

.category-badge.articles {
  background-color: var(--artical-background);
}

.category-badge.gallery {
  background-color: var(--artical-background);
}

.category-badge.videos {
  background-color: var(--artical-background);
}

.card-content {
  padding: 24px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-excerpt {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
  flex-grow: 1;
}

.read-more {
  color: var(--read-more-color);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  display: inline-block;
  font-size: 13px;
}

.read-more:hover {
  color: var(--color-accent-hover);
}

/* ============================================
   Featured Video Section
   ============================================ */

.featured-video-section {
  padding: 80px 0;
  text-align: center;
  background-color: var(--color-bg-primary);
}

.featured-video-section h2 {
  font-size: 42px;
  margin-bottom: 16px;
  font-weight: 800;
}

.section-subtitle {
  font-size: 16px;
  color: var(--color-text-secondary);
  margin-bottom: 48px;
}

.video-container {
  position: relative;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  border: 3px solid #4A4A4A;
}

.video-container img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  object-position: bottom;
  height: 546px;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background-color: var(--color-accent);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
}

.play-button:hover {
  background-color: var(--color-accent-hover);
  transform: translate(-50%, -50%) scale(1.1);
}

.play-button svg {
  width: 32px;
  height: 32px;
  color: white;
  margin-left: 0px;
}

.video-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.95), transparent);
  padding: 1px 24px 23px;
  color: white;
}

.video-info h3 {
  font-size: 20px;
  margin-bottom: 12px;
  text-align: left;
  font-weight: 500;
}

.video-info p {
  font-size: 18px;
  color: var(--color-text-secondary);
  text-align: left;
  max-width: 600px;
  margin: 0;
}

/* ============================================
   Newsletter Section
   ============================================ */

.newsletter-section {
  background-color: var(--color-bg-secondary);
  padding: 60px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.newsletter-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 13px;
}

.newsletter-text h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
}

.newsletter-text p {
  color: var(--color-text-secondary);
  font-size: 14px;
}

.newsletter-form {
  display: flex;
  gap: 0px;
}

.newsletter-form input {
  flex: 1;
  min-width: 250px;
  padding: 12px 16px;
  background-color: var(--color-bg-primary);
  border: 1px solid var(--color-border);
  color: var(--color-text-primary);
  border-radius: 23px 0px 0px 23px;
  font-size: 12px;
}

.newsletter-form input::placeholder {
  color: var(--color-text-secondary);
}

.newsletter-form input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.submit-button {
  padding: 12px 32px;
  background-color: var(--color-accent);
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0px 23px 23px 0px;
  font-size: 12px;
}

.submit-button:hover {
  background-color: var(--color-accent-hover);
}

.newsletter-info {
  font-size: 12px;
  color: var(--color-text-secondary);
  line-height: 1.6;
  width: 67%;
}

.newsletter-info a {
  color: var(--color-accent);
  text-decoration: none;
}

.newsletter-info a:hover {
  text-decoration: underline;
}

/* ============================================
   Footer
   ============================================ */

.footer {
  padding: 60px 0 20px;
  font-size: 12px;
  background-color: #0A0B0F;
}

.footer-content {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.container-footer {
  width: 98%;
  margin: 0 auto;
}

.footer-section h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-text-primary);
}

.footer-section p {
  color: var(--color-text-secondary);
  margin-bottom: 8px;
  font-size: 12px;
}


.footer-section a:hover {
  text-decoration: underline;
}

.social-links {
  display: flex;
  gap: 16px;
}

.social-links a {
  color: #999999;
  font-size: 16px;
  padding-left: 0px !important;
}

.social-links a:hover {
  color: white;
}

.footer-bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
  text-align: center;
  color: var(--color-text-secondary);
  display: flex;
  justify-content: space-between;
}

.footer-bottom a {
  color: #999999;
  text-decoration: none;
  margin: 0 4px;
}

.event {
  margin-bottom: 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.last_up {
  width: 174px;
  margin: auto;
  margin-bottom: 19px;
  text-align: center;
}

.last_up img {
  margin-right: 5px;
}

.media-center-section {
  background-color: var(--color-bg-primary);
  padding: 42px 0px;
  padding-bottom: 6px;
  z-index: 1;
  position: relative;
}

.media-center-section::before {
  content: "";
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30%;
  height: 460px;
  background: radial-gradient(circle, rgba(255, 0, 0, 0.4) 0%, transparent 31%);
  filter: blur(80px);
  z-index: 0;
}

.media-center-section h2 {
  font-size: 60px;
  font-weight: 500;
  text-align: center;
  letter-spacing: -1.5px;
  line-height: 63px;
  margin-bottom: 11px;
}

.media-center-section p {
  font-size: 20px;
  color: var(--color-text-secondary);
  text-align: center;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   Featured Section
   ============================================ */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 23px;
}

.section-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 1px;
  line-height: 30px;
}

.section-label {
  font-size: 14px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.scroll-text {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ============================================
   Featured Grid
   ============================================ */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* ============================================
   Featured Cards
   ============================================ */

.featured-card {
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.featured-card:hover {
  border-color: var(--color-accent);
}

.card-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: var(--color-bg-primary);
}

.featured-card:hover .card-image img {
  transform: scale(1.05);
}

.featured-card:hover .card-date {
  color: white;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 32px;
  padding: 8px 16px;
  border: 1px solid var(--color-accent);
  border-radius: 20px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.badge-dot {
  color: var(--color-accent);
  font-size: 10px;
}

.badge-text {
  color: var(--color-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: 64px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--color-text-secondary);
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   Featured Section
   ============================================ */


.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 23px;
}

.section-label {
  font-size: 14px;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.scroll-indicator {
  display: flex;
  align-items: center;
  gap: 34px;
  /* line aur text ke beech spacing */
}

.scroll-text {
  margin: 0;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background-color: var(--scroll-line-color);
  transform: rotate(-90deg);
}

.scroll-text {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* ============================================
   Featured Grid
   ============================================ */

.featured-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

/* ============================================
   Featured Cards
   ============================================ */

.featured-card {
  border-radius: 12px;
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--color-border);
}

.card-image {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
  background-color: var(--color-bg-primary);
}

.featured-card:hover .card-image img {
  transform: scale(1.05);
}

play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background-color: var(--color-accent);
  border: none;
  border-radius: 50%;
}

.play-button svg {
  width: 24px;
  height: 24px;
  color: white;
}

.card-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 0px;
  width: 412px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card-date {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  color: var(--date-color);
}

.card-title {
  font-size: 15px;
  font-weight: 500;
  line-height: 25px;
  margin-bottom: 6px;
}

.card-description {
  font-size: 13px;
  line-height: 1.6;
}

.featured-card:hover .card-info {
  background-color: var(--color-accent);
  color: white;
  transform: translateX(-10px);
}

.card-red .card-date,
.card-red .card-description {
  color: white;
}

.card-red .card-title {
  color: white;
}

.card-dark .card-date,
.card-dark .card-description {
  color: var(--color-text-secondary);
}

.card-dark .card-title {
  color: var(--color-text-primary);
}

.featured-section {
  background-color: var(--color-bg-secondary);
  padding: 52px 0px;
  z-index: 2;
  position: relative;
}

.line-section {
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0) 0%, rgba(231, 0, 11, 0.3) 50%, rgba(0, 0, 0, 0) 100%);

}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 12px;
}

/* Hide default checkbox */
.checkbox-container input {
  display: none;
}

/* Custom box */
.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid #ccc;
  border-radius: 4px;
  position: relative;
  margin-right: 5px;
  flex-shrink: 0;
}

/* Tick */
.checkbox-container input:checked+.checkmark {
  background-color: red;
  border-color: red;
}

.checkbox-container input:checked+.checkmark::after {
  content: "";
  position: absolute;
  left: 4px;
  top: -1px;
  width: 4px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Card */
.card {
  display: flex;
  border-radius: 16px;
  overflow: hidden;
  transition: 0.3s !important;
  margin-bottom: 24px;
  flex-direction: row;
  background-color: var(--color-bg-secondary);
  border: 1px solid var(--btn-text-category-border);
}

.card:hover {
  transform: translateY(-5px);
  border-color: var(--color-accent);
}

/* Image */
.card-img {
  height: 100%;

}

.card-img img {
  width: 260px;
  object-fit: cover;
  object-position: center;
  height: 100%;
}

/* Content */
.card-content {
  padding: 20px;
  flex: 1;
}

/* Meta */
.meta {
  font-size: 13px;
  color: #aaa;
  display: flex;
  gap: 20px;
  margin-bottom: 10px;
}

.meta i {
  color: red;
  margin-right: 6px;
}

/* Title */
.card-content h3 {
  margin: 8px 0;
  font-size: 15px;
}

/* Text */
.card-content p {
  color: #bbb;
  font-size: 12px;
  line-height: 1.6;
}

/* Bottom */
.bottom {
  margin-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.location {
  font-size: 10px;
  color: #888;
}

.link {
  color: red;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  font-size: 13px;
}

.link:hover {
  letter-spacing: 1px;
}

/* ============================================
Gallery Section
   ============================================ */


/* Gallery grid */
.gallery-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.gallery-container img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  object-fit: cover;
  height: 258px;
}

/* .gallery img:hover {
    transform: scale(1.05);
} */

.video-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.video-gallery img {
  width: 100%;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  object-fit: cover;
}

/* .video-gallery img:hover {
    transform: scale(1.05);
} */

/* Popup */
.popup {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
}

.popup-img {
  display: block;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  margin-top: 5%;
  border-radius: 10px;
}

/* Close */
.close {
  position: absolute;
  top: 20px;
  right: 40px;
  color: #fff;
  font-size: 35px;
  cursor: pointer;
}

/* Arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 40px;
  color: white;
  cursor: pointer;
  padding: 10px;
  user-select: none;
}

.left {
  left: 20px;
}

.right {
  right: 20px;
}

.arrow:hover {
  color: red;
}

.content-card-gallery {
  height: 260px;
}


/* Video thumbnail wrapper */
.video-gallery article {
  position: relative;
}

/* Play icon */
.play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  background: #e7000bc2;
  border: none;
  border-radius: 50%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Popup video */
#popupVideo {
  display: none;
  margin: auto;
  max-width: 80%;
  max-height: 80%;
  margin-top: 5%;
  border-radius: 10px;
}

#popupYoutube {
  display: none;
  width: 80%;
  height: 450px;
  margin: auto;
  margin-top: 5%;
  display: block;
}

.video-info h4 {
  margin-top: 10px;
}

/* Popup Overlay */
.video-popup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;

  justify-content: center;
  align-items: center;
}

/* Active state */
.video-popup.active {
  display: flex;
}

/* Video Container (MAIN FIX) */
.video-content {
  position: relative;
  width: 90%;
  max-width: 1200px;
  height: 80vh;
  /* 👈 IMPORTANT */
  background: #000;
  border-radius: 12px;
  overflow: hidden;
}

/* iframe full size */
.video-content iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Close button */
.close-btn {
  position: absolute;
  top: -11px;
  right: 2px;
  font-size: 30px;
  color: #fff;
  cursor: pointer;
}

.video-container iframe {
  width: 100% !important;
  height: 600px !important;
}

/* ============================================
   ============================================ */

@media (max-width: 768px) {
  .hero {
    padding: 80px 0;
    min-height: auto;
  }

  .hero-title {
    font-size: 48px;
  }

  .hero-subtitle {
    font-size: 16px;
  }

  .section-header {
    flex-direction: column;
    gap: 32px;
    margin-bottom: 60px;
  }

  .scroll-indicator {
    align-items: flex-start;
  }

  .featured-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .section-title {
    font-size: 32px;
  }

  .card-info {
    padding: 24px;
  }

  .newsletter-info {
    width: 100%;
  }

  .media-center-section h2 {
    font-size: 34px;
  }

  .popup-img {
    margin-top: auto;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .section-header {
    gap: 24px;
  }

  .section-title {
    font-size: 28px;
  }

  .scroll-indicator {
    display: none;
  }

  .featured-grid {
    gap: 24px;
  }

  .card-info {
    padding: 20px;
  }

  .card-title {
    font-size: 20px;
  }

  .card-description {
    font-size: 13px;
  }
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .filter-tabs {
    gap: 12px;
  }

  .filter-btn {
    font-size: 14px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .featured-video-section h2 {
    font-size: 32px;
  }

  .newsletter-content {
    flex-direction: column;
    gap: 24px;
  }

  .newsletter-form {
    flex-direction: row;
  }

  .newsletter-form input {
    min-width: 198px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero {
    padding: 40px 0;
  }

  .filter-btn {
    font-size: 12px;
    padding: 4px 35px;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    flex-direction: column;
    gap: 16px;
  }

  .nav-links {
    gap: 16px;
    flex-direction: column;
  }

  .cta-button {
    width: 100%;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero p {
    font-size: 14px;
  }

  .filter-tabs {
    gap: 8px;
  }

  .content-grid {
    gap: 16px;
  }

  .card-content {
    padding: 16px;
  }

  .featured-video-section {
    padding: 40px 0;
  }

  .featured-video-section h2 {
    font-size: 24px;
  }

  .video-info h3 {
    font-size: 18px;
  }

  .video-info {
    padding: 24px 16px 16px;
  }

  .newsletter-section {
    padding: 40px 0;
  }

  .newsletter-text h3 {
    font-size: 18px;
  }

  .newsletter-text p {
    font-size: 13px;
  }

  .footer {
    padding: 40px 0 16px;
  }

  .footer-content {
    gap: 24px;
  }
}


/* HERO SECTION */
.event-hero {
  position: relative;
  height: 80vh;
  overflow: hidden;
}

/* Background image */
.hero-img img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
  object-position: bottom;
}

/* Dark overlay */
.hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 280px;
  background: linear-gradient(0deg, #000000 0%, rgba(0, 0, 0, 0.5) 50%, rgba(0, 0, 0, 0) 100%);
}

/* Content */
.hero-content {
  position: absolute;
  bottom: 50px;
  left: 100px;
  z-index: 2;
}

/* Top info */
.hero-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

/* Badge */
.badge {
  background: red;
  padding: 5px 10px;
  font-size: 12px;
  border-radius: 20px;
}

/* Date */
.date {
  font-size: 12px;
  color: #D1D5DC;
}

/* Title */
.hero-content h1 {
  font-size: 48px;
  margin: 0;
  font-weight: bold;
}

/* Button */
.hero-btn {
  position: absolute;
  top: 30px;
  right: 50px;
  background: red;
  color: #fff;
  padding: 12px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  z-index: 2;
}

/* CONTENT SECTION */
.event-content {
  padding: 50px 100px;
  padding-bottom: 30px;
}

.event-content .entry-title {
  margin-bottom: 0px;
}

/* Post Author */
.post-author {
  color: var(--color-text-secondary);
  font-size: 13px;
  margin-bottom: 10px;
  font-style: italic;
}

/* Breadcrumb */
.breadcrumb {
  color: #aaa;
  margin-bottom: 20px;
  font-size: 12px;
}

/* Heading */
.event-content h2 {
  color: red;
  margin-bottom: 15px;
}

/* Paragraphs */
.event-content p {
  color: #ccc;
  line-height: 1.6;
  margin-bottom: 20px;
}

.gallery-display {
  display: block !important;
  opacity: 1 !important;
}

.galler_1 {
  padding-top: 0px;
  padding-bottom: 60px;
}

.breadcrumb span {
  color: #fff;
}

.breadcrumb a {
  color: #D1D5DC66;
  text-decoration: none;
}

/* Read more bottom-right */
.featured-card .link {
  position: relative;
  color: red;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* Hover */
.featured-card:hover .link {
  color: #ffffff !important;
}

/* RESPONSIVE */
@media (max-width: 768px) {

  .hero-content {
    left: 20px;
    bottom: 30px;
  }

  .hero-content h1 {
    font-size: 28px;
  }

  .hero-btn {
    right: 20px;
    padding: 10px 15px;
  }

  .event-content {
    padding: 20px;
  }

  .gallery-container {
    grid-template-columns: 1fr;
  }
}

.pagination-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 32px 0;
}

.pagination-wrapper .page-btn {
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid var(--color-border);
  background: var(--color-bg-secondary);
  color: var(--color-text-secondary);
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.2s ease;
}

.pagination-wrapper .page-btn:hover {
  border-color: var(--color-accent);
  color: var(--color-text-primary);
}

.pagination-wrapper .page-btn.active {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-text-primary);
}

.pagination-wrapper .page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.wp-block-embed iframe {
  max-width: 100%;
  width: 100%;
}

.wp-block-columns {
  margin-bottom: 30px !important;
}