/* Swap background to page-news.png with ambient fog */
.bg-gate.bg-news {
  background: radial-gradient(circle at center, rgba(16, 28, 20, 0.1) 0%, rgba(7, 14, 9, 0.55) 100%), url("assets/page-news.png") center/cover no-repeat !important;
  filter: brightness(0.92);
}

.news-layout-wrapper {
  width: 96%;
  max-width: 1650px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

/* Title Section */
.news-title-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 30px;
}

.crest-svg-centered {
  display: none;
}

.news-main-title {
  margin: 0;
}

.news-subtitle {
  margin: 6px 0 10px;
}

/* Grid split */
.news-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 30px;
  align-items: start;
}

/* Left Panel - News Feed Container */
.news-feed-panel {
  background: rgba(10, 22, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(221, 217, 176, 0.25);
  border-radius: 4px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.75);
  overflow: hidden;
}

/* Tabs */
.news-tabs {
  display: flex;
  border-bottom: 1px solid rgba(221, 217, 176, 0.15);
  background: rgba(0, 0, 0, 0.2);
}

.tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: rgba(243, 241, 228, 0.55);
  font-family: "Cinzel", serif;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 10px 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.tab-btn:hover {
  color: var(--gold);
  background: rgba(221, 217, 176, 0.03);
}

.tab-btn.active {
  color: var(--gold);
  border-bottom-color: var(--gold);
  background: rgba(221, 217, 176, 0.06);
  font-weight: 600;
  text-shadow: 0 0 8px rgba(221, 217, 176, 0.4);
}

/* Feed List */
.news-feed-list {
  display: flex;
  flex-direction: column;
}

.news-feed-item {
  display: flex;
  gap: 20px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(221, 217, 176, 0.08);
  transition: background 0.3s ease;
  align-items: center;
}

.news-feed-item:last-child {
  border-bottom: none;
}

.news-feed-item:hover {
  background: rgba(221, 217, 176, 0.02);
}

.news-feed-thumb {
  width: 100%;
  max-width: 100px;
  height: 65px;
  background-size: cover;
  background-position: center;
  border-radius: 2px;
  border: 1px solid rgba(221, 217, 176, 0.15);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.news-feed-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-feed-badge {
  align-self: flex-start;
  font-family: "Cinzel", serif;
  font-size: 8.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 2px 8px;
  border-radius: 2px;
  color: #fff;
}

.badge-event {
  background: rgba(184, 134, 11, 0.65);
  border: 1px solid rgba(221, 217, 176, 0.3);
}

.badge-update {
  background: rgba(46, 125, 50, 0.65);
  border: 1px solid rgba(221, 217, 176, 0.3);
}

.badge-notice {
  background: rgba(21, 101, 192, 0.65);
  border: 1px solid rgba(221, 217, 176, 0.3);
}

.badge-maintenance {
  background: rgba(198, 40, 40, 0.65);
  border: 1px solid rgba(221, 217, 176, 0.3);
}

.news-feed-title {
  font-family: "Cinzel", serif;
  font-size: 13.5px;
  color: var(--gold);
  margin: 0;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.news-feed-item:hover .news-feed-title {
  color: #fff;
  text-shadow: 0 0 6px var(--gold-glow);
}

.news-feed-excerpt {
  font-family: "Cormorant Garamond", serif;
  font-size: 11.5px;
  color: rgba(243, 241, 228, 0.7);
  margin: 0;
  line-height: 1.5;
}

.news-feed-link {
  font-family: "Cinzel", serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--gold);
  text-decoration: none;
  align-self: flex-start;
  transition: color 0.3s ease, transform 0.3s ease;
}

.news-feed-link:hover {
  color: #fff;
  transform: translateX(3px);
}

.news-feed-date-col {
  width: 100px;
  text-align: right;
  flex-shrink: 0;
}

.news-feed-date {
  font-family: "Cinzel", serif;
  font-size: 10.5px;
  color: rgba(243, 241, 228, 0.45);
  letter-spacing: 1px;
}

/* Pagination */
.news-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(221, 217, 176, 0.08);
}

.pag-arrow, .pag-num {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  text-decoration: none;
  font-family: "Cinzel", serif;
  font-size: 12px;
  color: rgba(243, 241, 228, 0.55);
  border: 1px solid rgba(221, 217, 176, 0.12);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.pag-arrow:hover, .pag-num:hover {
  color: var(--gold);
  border-color: var(--gold);
  background: rgba(221, 217, 176, 0.03);
}

.pag-num.active {
  color: #fff;
  background: var(--gold-glow);
  border-color: var(--gold);
  font-weight: 600;
  text-shadow: 0 0 6px var(--gold);
  box-shadow: inset 0 0 8px rgba(221, 217, 176, 0.2);
}

.pag-sep {
  color: rgba(243, 241, 228, 0.3);
  font-family: "Cinzel", serif;
  margin: 0 4px;
}

/* Right Panel - Sidebar */
.news-sidebar-panel {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.featured-news-card {
  background: rgba(10, 22, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(221, 217, 176, 0.25);
  border-radius: 4px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  position: relative;
  width: 100%;
}

.featured-header {
  border-bottom: 1px solid rgba(221, 217, 176, 0.2);
  padding: 8px 12px;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
}

.featured-body {
  position: relative;
}

.featured-slides {
  position: relative;
  height: 200px;
  width: 100%;
  overflow: hidden;
}

.featured-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
  display: flex;
  align-items: flex-end;
  padding: 15px;
  z-index: 1;
}

.featured-slide.active {
  opacity: 1;
  z-index: 2;
}

.featured-slide-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.featured-slide-title {
  font-family: "Cinzel", serif;
  font-size: 16px;
  color: #fff;
  margin: 0;
  letter-spacing: 1px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
}

.featured-slide-desc {
  font-family: "Cormorant Garamond", serif;
  font-size: 12.5px;
  color: rgba(243, 241, 228, 0.85);
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
}

.btn-featured-action {
  align-self: flex-start;
  display: inline-block;
  font-family: "Cinzel", serif;
  font-size: 9.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-decoration: none;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 8px 18px;
  margin-top: 5px;
  border-radius: 2px;
  background: rgba(7, 14, 9, 0.7);
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.btn-featured-action:hover {
  background: var(--gold);
  color: #070e09;
  box-shadow: 0 0 10px var(--gold-glow);
}

.featured-indicators {
  position: absolute;
  bottom: 12px;
  right: 20px;
  display: flex;
  gap: 8px;
  z-index: 10;
}

.ind-dot {
  width: 6px;
  height: 6px;
  background: rgba(243, 241, 228, 0.35);
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ind-dot:hover {
  background: rgba(243, 241, 228, 0.7);
}

.ind-dot.active {
  background: var(--gold);
  transform: scale(1.3);
  box-shadow: 0 0 6px var(--gold);
}

.categories-card {
  background: rgba(10, 22, 14, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(221, 217, 176, 0.25);
  border-radius: 4px;
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.75);
  overflow: hidden;
  width: 100%;
}

.categories-header {
  border-bottom: 1px solid rgba(221, 217, 176, 0.2);
  padding: 8px 12px;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  text-align: center;
  background: rgba(0, 0, 0, 0.18);
}

.categories-body {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
}

.cat-item {
  display: flex;
  align-items: center;
  padding: 8px 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(221, 217, 176, 0.04);
}

.cat-item:last-child {
  border-bottom: none;
}

.cat-item:hover {
  background: rgba(221, 217, 176, 0.03);
}

.cat-icon {
  margin-right: 12px;
  font-size: 13px;
  opacity: 0.75;
  transition: opacity 0.3s ease;
}

.cat-name {
  flex-grow: 1;
  font-family: "Cinzel", serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(243, 241, 228, 0.65);
  transition: color 0.3s ease;
}

.cat-count {
  font-family: "Cinzel", serif;
  font-size: 10px;
  color: rgba(243, 241, 228, 0.4);
  background: rgba(0, 0, 0, 0.2);
  padding: 2px 8px;
  border-radius: 10px;
  border: 1px solid rgba(221, 217, 176, 0.08);
  transition: all 0.3s ease;
}

.cat-item:hover .cat-name {
  color: #fff;
}

.cat-item:hover .cat-icon {
  opacity: 1;
}

.cat-item.active {
  background: rgba(221, 217, 176, 0.06);
  border-left: 3px solid var(--gold);
}

.cat-item.active .cat-name {
  color: var(--gold);
  font-weight: 600;
  text-shadow: 0 0 6px rgba(221, 217, 176, 0.3);
}

.cat-item.active .cat-icon {
  opacity: 1;
  color: var(--gold);
}

.cat-item.active .cat-count {
  color: var(--gold);
  border-color: rgba(221, 217, 176, 0.3);
  background: rgba(221, 217, 176, 0.1);
}

/* Stagger animation overrides when inside page-slide-in classes */
.page-slide-in-right .transition-item,
.page-slide-in-left .transition-item {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
  animation: none !important;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .news-grid {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 20px;
  }
}

@media (max-width: 850px) {
  .news-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .news-title-section {
    margin-bottom: 20px;
  }
  .news-main-title {
    font-size: 32px;
  }
}

@media (max-width: 600px) {
  .news-tabs {
    flex-wrap: wrap;
  }
  .tab-btn {
    flex: none;
    width: 33.33%;
    padding: 10px;
    font-size: 9.5px;
  }
  .news-feed-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
  }
  .news-feed-thumb {
    width: 100%;
    height: 140px;
  }
  .news-feed-date-col {
    width: auto;
    text-align: left;
  }
  .news-layout-wrapper {
    margin-top: 190px;
  }
}

