/* --------------- News List Page --------------- */

.news-hero {
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1f1f1f 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
  min-height: 320px; }
  .news-hero::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 320px;
    height: 320px;
    background: radial-gradient(circle, rgba(248, 68, 56, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none; }
  .news-hero::after {
    content: '';
    position: absolute;
    bottom: -60px;
    left: 30%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none; }

.news-hero-inner {
  position: relative;
  z-index: 1; }

.news-breadcrumb {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 40px; }
  .news-breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    transition: color 0.3s; }
    .news-breadcrumb a:hover {
      color: #fff; }
  .news-breadcrumb .sep {
    color: rgba(255, 255, 255, 0.25);
    font-size: 10px; }
  .news-breadcrumb span:last-child {
    color: var(--main-color); }

.news-hero-content {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; }

.news-label {
  display: inline-block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--main-color);
  border: 1px solid rgba(248, 68, 56, 0.3);
  padding: 6px 16px;
  border-radius: 30px;
  margin-bottom: 20px; }

.news-hero-text h1 {
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  font-weight: 600; }
  .news-hero-text h1 .accent {
    color: var(--main-color); }
  .news-hero-text p {
    max-width: 480px;
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.55); }

.news-hero-meta {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-shrink: 0; }
  .news-hero-meta .meta-item {
    text-align: center; }
    .news-hero-meta .meta-item .num {
      display: block;
      font-size: 48px;
      font-weight: 600;
      line-height: 1;
      color: #fff; }
    .news-hero-meta .meta-item .lbl {
      display: block;
      font-size: 13px;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: rgba(255, 255, 255, 0.4);
      margin-top: 6px; }
  .news-hero-meta .meta-divider {
    width: 1px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1); }

/* Filters */
.news-filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08); }

.filter-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 30px;
  padding: 10px 24px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
  color: #fff; }
  .filter-btn:hover {
    border-color: var(--main-color);
    color: #fff; }
  .filter-btn.active {
    background: var(--main-color);
    border-color: var(--main-color);
    color: #fff; }

.news-featured.is-filter-hidden,
[data-news-category].is-filter-hidden,
.row.is-filter-hidden {
  display: none !important; }

body.news-filters-active .news-card.wow,
body.news-filters-active .news-card-featured.wow {
  visibility: visible !important;
  animation: none !important;
  opacity: 1 !important;
  transform: none !important; }

.news-filter-empty {
  display: none;
  padding: 60px 20px;
  text-align: center; }
  .news-filter-empty:not(.is-filter-hidden) {
    display: block; }
  .news-filter-empty p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6); }

/* Featured card */
.news-card-featured {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: box-shadow 0.4s, transform 0.4s; }
  .news-card-featured:hover {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.1);
    transform: translateY(-4px); }

.featured-link {
  display: grid;
  grid-template-columns: 1fr 1fr;
  color: inherit;
  text-decoration: none; }
  @media (max-width: 991px) {
    .featured-link {
      grid-template-columns: 1fr; } }

.featured-img {
  position: relative;
  min-height: 360px; }
  @media (max-width: 991px) {
    .featured-img {
      min-height: 260px; } }
  .featured-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; }

.featured-badge {
  position: absolute;
  top: 24px;
  left: 24px;
  background: var(--main-color);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 6px 14px;
  border-radius: 20px; }

.featured-body {
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center; }
  @media (max-width: 991px) {
    .featured-body {
      padding: 32px; } }

.featured-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em; }
  .featured-meta .cat {
    color: var(--main-color);
    font-weight: 600; }
  .featured-meta .date {
    color: #999; }
    .featured-meta .date i {
      margin-right: 6px;
      opacity: 0.6; }

.featured-body h2 {
  font-size: clamp(22px, 2.8vw, 32px);
  line-height: 1.25;
  margin-bottom: 14px;
  transition: color 0.3s; }

.news-card-featured:hover h2 {
  color: var(--main-color); }

.featured-body p {
  font-size: 15px;
  color: #777;
  line-height: 1.65;
  margin-bottom: 24px; }

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--main-color); }
  .read-more i {
    transition: transform 0.3s; }
  .news-card-featured:hover .read-more i {
    transform: translateX(6px); }

/* Grid cards */
.news-grid {
  row-gap: 30px; }

.news-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.06);
  height: 100%;
  transition: box-shadow 0.4s, transform 0.4s; }
  .news-card:hover {
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px); }

.news-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none; }

.news-card-img {
  position: relative;
  height: 220px;
  overflow: hidden; }
  .news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s; }
  .news-card:hover .news-card-img img {
    transform: scale(1.05); }

.news-card-cat {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(4px);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 12px;
  border-radius: 20px;
  font-weight: 600; }

.news-card-body {
  padding: 28px;
  flex: 1;
  display: flex;
  flex-direction: column; }

.news-card-date {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #999;
  margin-bottom: 12px; }
  .news-card-date i {
    margin-right: 6px;
    opacity: 0.6; }

.news-card-body h5 {
  font-size: 16px;
  line-height: 1.4;
  margin-bottom: 10px;
  transition: color 0.3s; }

.news-card:hover h5 {
  color: var(--main-color); }

.news-card-body p {
  font-size: 13px;
  color: #888;
  line-height: 1.6;
  margin-bottom: 0;
  flex: 1; }

/* Load more */
.butn.butn-bord.news-load-more {
  min-width: 220px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  text-align: center; }
  .butn.butn-bord.news-load-more > div {
    justify-content: center;
    width: 100%; }
  .butn.butn-bord.news-load-more:hover {
    color: #fff;
    border-color: var(--main-color); }

/* Subscribe */
.news-subscribe-box {
  background: linear-gradient(135deg, #212121 0%, #2a2a2a 100%);
  color: #fff;
  padding: 48px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap; }
  @media (max-width: 767px) {
    .news-subscribe-box {
      padding: 32px;
      flex-direction: column;
      text-align: center; } }

.subscribe-text h4 {
  font-size: 24px;
  margin-bottom: 8px; }
  .subscribe-text p {
    max-width: 400px;
    color: rgba(255, 255, 255, 0.5); }

.subscribe-form {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 12px;
  flex-shrink: 0; }
  @media (max-width: 767px) {
    .subscribe-form {
      width: 100%;
      flex-direction: column; } }
  .subscribe-form .messages {
    width: 100%; }
  .subscribe-form .subscribe-form-field {
    flex: 1 1 260px;
    margin: 0; }
  .subscribe-form .subscribe-form-field.has-error input {
    border-color: #f84438; }
  .subscribe-form .reev-field-error {
    width: 100%;
    color: #ff8a80;
    font-size: 12px;
    line-height: 1.4;
    margin-top: 8px; }
  .subscribe-form .alert {
    width: 100%;
    margin-bottom: 0;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 14px; }
  .subscribe-form .alert-danger {
    background: rgba(248, 68, 56, 0.12);
    border: 1px solid rgba(248, 68, 56, 0.35);
    color: #ffb4ae; }
  .subscribe-form .reev-form-consent {
    flex: 1 1 100%;
    width: 100%;
    margin: 12px 0 16px;
    padding-right: 12px; }
  .subscribe-form input[type="tel"] {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 14px 24px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    width: 100%;
    min-width: 260px;
    outline: none;
    transition: border-color 0.3s; }
    @media (max-width: 767px) {
      .subscribe-form input {
        min-width: 100%; } }
    .subscribe-form input::placeholder {
      color: rgba(255, 255, 255, 0.35); }
    .subscribe-form input:focus {
      border-color: var(--main-color); }
  .subscribe-form .butn-bg {
    background: var(--main-color);
    border-color: var(--main-color);
    white-space: nowrap; }
    .subscribe-form .butn-bg:hover {
      background: #e03d32;
      border-color: #e03d32; }

/* Unified horizontal alignment — news list & detail pages */
.right-side .news-hero .container,
.right-side .news-filters .container,
.right-side .news-featured .container,
.right-side .news-grid-section .container,
.right-side .news-subscribe .container,
.right-side .article-hero .container,
.right-side .article-cover .container,
.right-side .article-content .container,
.right-side .article-related .container {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0; }

.right-side .news-hero .row.sm-marg,
.right-side .news-filters .row.sm-marg,
.right-side .news-featured .row.sm-marg,
.right-side .news-subscribe .row.sm-marg,
.right-side .article-hero .row.sm-marg,
.right-side .article-cover .row.sm-marg,
.right-side .article-content .row.sm-marg,
.right-side .article-related .row.sm-marg:first-child {
  margin-left: 0;
  margin-right: 0; }

.right-side .news-hero .row.sm-marg > .col-12,
.right-side .news-filters .row.sm-marg > .col-12,
.right-side .news-featured .row.sm-marg > .col-12,
.right-side .news-subscribe .row.sm-marg > .col-12,
.right-side .article-hero .row.sm-marg > .col-12,
.right-side .article-cover .row.sm-marg > .col-12,
.right-side .article-content .row.sm-marg > .col-12,
.right-side .article-related .row.sm-marg:first-child > .col-12 {
  padding-left: 0;
  padding-right: 0; }

.right-side .news-grid.row.sm-marg,
.right-side .news-grid-section > .container > .row.sm-marg.mt-60 {
  margin-left: 0;
  margin-right: 0; }

.right-side .news-grid.row.sm-marg > [class*="col-"]:first-child,
.right-side .news-grid-section > .container > .row.sm-marg.mt-60 > .col-12 {
  padding-left: 0; }

.right-side .news-grid.row.sm-marg > [class*="col-"]:last-child {
  padding-right: 0; }

@media (max-width: 767px) {
  .news-subscribe-box {
    padding: 32px 20px; } }
