/* Global fix: ensure all inputs are always interactive */
input, textarea, select, button {
  pointer-events: auto !important;
}

/* ── HERO ── */
.news-hero {
  position: relative;
  height: 68vh;
  min-height: 480px;
  max-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.news-hero-bg {
  position: absolute;
  inset: 0;
  background: url('gallery.jpg') center/cover no-repeat;
  z-index: 0;
}
.news-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(2,8,20,0.88) 0%, rgba(2,8,20,0.55) 55%, rgba(2,8,20,0.3) 100%);
  z-index: 1;
}
.news-hero-content {
  position: relative; z-index: 3;
  padding: 0 52px 76px;
  display: flex; flex-direction: column; align-items: flex-start;
  max-width: 1280px;
}
.news-hero-pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 18px;
  background: rgba(248,153,29,0.12);
  border: 1px solid rgba(248,153,29,0.5);
  border-radius: 999px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.22em;
  text-transform: uppercase; color: #F8991D;
  margin-bottom: 26px;
}
.news-hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(44px, 7.2vw, 82px);
  font-weight: 900; line-height: 1.05;
  color: #fff; margin: 0; letter-spacing: -0.03em;
}
.news-hero h1 .accent {
  color: #F8991D; position: relative; display: inline-block;
}
.news-hero h1 .accent::after {
  content: '';
  position: absolute; bottom: 7px; left: 0; width: 100%; height: 10px;
  background: rgba(248,153,29,0.2);
  border-radius: 6px; z-index: -1; transform: skewX(-6deg);
}
.news-hero-desc {
  margin-top: 20px; font-size: 15.5px; font-weight: 400;
  color: rgba(255,255,255,0.65); max-width: 1200px; line-height: 1.72;
}
.news-hero-curve {
  position: absolute; bottom: -2px; left: 0; right: 0;
  z-index: 4; line-height: 0;
}
.news-hero-curve svg { display: block; width: 100%; }

/* ── MAIN ── */
.news-main-container {
  max-width: 1280px; margin: 0 auto;
  padding: 48px 44px 96px;
}

/* ── SECTION HEADER ── */
.news-header { margin-bottom: 48px; }
.news-header-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(248,153,29,0.1);
  border: 1px solid rgba(248,153,29,0.3);
  padding: 6px 14px; border-radius: 8px; margin-bottom: 14px;
}
.news-header-badge span {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.18em; text-transform: uppercase; color: #F8991D;
}
.news-header h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4vw, 48px); font-weight: 800;
  color: #fff; line-height: 1.15; margin-bottom: 10px;
}
.news-header p {
  font-size: 15px; color: rgba(255,255,255,0.55);
  max-width: 580px; line-height: 1.68;
}

/* ── CONTROL BAR — sticky below nav ── */
.news-control-bar {
  display: flex; flex-wrap: wrap;
  justify-content: space-between; align-items: center;
  gap: 16px; margin-bottom: 44px;
  padding: 14px 20px;
  background: #0d1b2a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px;
  position: sticky;
  top: 72px;
  z-index: 200;
  box-shadow: 0 4px 24px rgba(0,0,0,0.35);
}
.news-search {
  display: flex; align-items: center;
  background: rgba(0,0,0,0.3);
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  padding: 9px 16px; gap: 10px;
  transition: all 0.2s ease;
}
.news-search:focus-within {
  border-color: #F8991D;
  box-shadow: 0 0 0 3px rgba(248,153,29,0.12);
}
.news-search .material-icons { color: #F8991D; font-size: 19px; flex-shrink: 0; }
.news-search input {
  background: transparent; border: none;
  padding: 5px 0; color: #fff;
  font-size: 14px; width: 220px; outline: none;
  font-family: 'Outfit', sans-serif;
}
.news-search input::placeholder { color: rgba(255,255,255,0.3); }
.news-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.news-filter-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.72);
  padding: 7px 16px; border-radius: 8px;
  font-size: 12px; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
  font-family: 'Outfit', sans-serif; letter-spacing: 0.03em;
}
.news-filter-btn:hover {
  border-color: #F8991D; color: #F8991D;
  background: rgba(248,153,29,0.08);
}
.news-filter-btn.active {
  background: #F8991D; border-color: #F8991D;
  color: #06101f; font-weight: 700;
}

/* ── TWO COL ── */
.news-two-col {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 40px; align-items: start;
}
@media (max-width: 960px) {
  .news-two-col { grid-template-columns: 1fr; gap: 40px; }
}

/* ── CARDS ── */
.news-grid-modern { display: flex; flex-direction: column; gap: 20px; }

.news-card-modern {
  background: #0d1b2a;
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  display: grid;
  grid-template-columns: 280px 1fr;
}
.news-card-modern:hover {
  transform: translateY(-5px);
  border-color: rgba(248,153,29,0.45);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(248,153,29,0.15);
}
.news-card-img-wrapper {
  position: relative; overflow: hidden;
  height: 220px;
}
.news-card-img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  filter: brightness(0.9);
}
.news-card-modern:hover .news-card-img {
  transform: scale(1.08); filter: brightness(1);
}
.news-card-category-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(3,10,22,0.85);
  backdrop-filter: blur(8px);
  padding: 4px 12px; border-radius: 5px;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.13em; text-transform: uppercase;
  color: #F8991D;
  border: 1px solid rgba(248,153,29,0.4);
  z-index: 2;
}
.news-card-content {
  padding: 24px 26px;
  display: flex; flex-direction: column; justify-content: center;
}
.news-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.news-card-date {
  display: flex; align-items: center; gap: 5px;
  font-size: 11px; color: rgba(255,255,255,0.5);
}
.news-card-date .material-icons { font-size: 12px; color: #F8991D; }
.news-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px; font-weight: 700; color: #fff;
  line-height: 1.35; margin-bottom: 12px;
  transition: color 0.2s;
}
.news-card-modern:hover .news-card-title { color: #F8991D; }
.news-card-excerpt {
  font-size: 13.5px; color: rgba(255,255,255,0.58);
  line-height: 1.65; margin-bottom: 20px; flex: 1;
}
.news-card-link {
  display: inline-flex; align-items: center; gap: 6px;
  color: #F8991D; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  text-decoration: none; transition: gap 0.2s;
}
.news-card-link:hover { gap: 10px; }
.news-card-link .material-icons { font-size: 13px; transition: transform 0.2s; }
.news-card-link:hover .material-icons { transform: translateX(3px); }

/* ── EMPTY STATE ── */
.empty-news {
  text-align: center; padding: 72px 30px;
  background: #0d1b2a; border-radius: 16px;
  border: 1px dashed rgba(255,255,255,0.1);
}
.empty-news .material-icons { font-size: 52px; color: rgba(255,255,255,0.2); margin-bottom: 14px; }
.empty-news p { color: rgba(255,255,255,0.4); font-size: 14px; }

/* ── SIDEBAR ── */
.news-sidebar {
  display: flex; flex-direction: column; gap: 18px;
  position: sticky; top: 90px;
}
.sidebar-widget {
  background: #0d1b2a;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.1);
  padding: 22px;
  transition: border-color 0.25s;
}
.sidebar-widget:hover { border-color: rgba(248,153,29,0.3); }

.sidebar-widget-title {
  font-family: 'Outfit', sans-serif;
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: #F8991D;
  margin-bottom: 18px; padding-bottom: 12px;
  border-bottom: 1px solid rgba(248,153,29,0.25);
  display: block;
}

.recent-posts-list { list-style: none; }
.recent-posts-list li {
  margin-bottom: 14px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.recent-posts-list li:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.recent-posts-list a {
  text-decoration: none; display: block; font-weight: 500;
  font-size: 13px; color: rgba(255,255,255,0.88);
  margin-bottom: 4px; transition: color 0.2s; line-height: 1.45;
}
.recent-posts-list a:hover { color: #F8991D; }
.recent-post-date {
  font-size: 10px; color: rgba(255,255,255,0.4);
  display: flex; align-items: center; gap: 5px;
}

.category-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.category-tag {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  padding: 6px 14px; border-radius: 6px;
  font-size: 11.5px; font-weight: 600;
  cursor: pointer; transition: all 0.2s ease;
  color: rgba(255,255,255,0.75);
}
.category-tag:hover {
  background: rgba(248,153,29,0.12);
  border-color: rgba(248,153,29,0.4); color: #F8991D;
}
.category-tag.active {
  background: #F8991D; border-color: #F8991D;
  color: #06101f; font-weight: 700;
}

/* Newsletter */
.newsletter-form input {
  width: 100%;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 10px; padding: 12px 14px;
  margin-bottom: 10px; color: #fff; font-size: 13.5px;
  outline: none; transition: border-color 0.2s;
  font-family: 'Outfit', sans-serif; box-sizing: border-box;
  pointer-events: all !important;
  position: relative !important;
  z-index: 9999 !important;
  cursor: text !important;
  -webkit-user-select: text !important;
  user-select: text !important;
  opacity: 1 !important;
  display: block !important;
}
.newsletter-form input:focus {
  border-color: #F8991D;
  outline: none;
}
.sidebar-widget {
  position: relative;
  z-index: 10;
  isolation: isolate;
}
.newsletter-form input:focus { border-color: #F8991D; }
.newsletter-form input::placeholder { color: rgba(255,255,255,0.3); }
.newsletter-submit {
  width: 100%;
  background: linear-gradient(135deg, #F8991D 0%, #d97d0c 100%);
  border: none; padding: 12px; border-radius: 10px;
  font-weight: 800; font-size: 12px; color: #06101f;
  cursor: pointer; transition: all 0.25s;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.newsletter-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(248,153,29,0.4);
}

/* ── MODAL ── */
.news-modal {
  position: fixed; inset: 0;
  background: rgba(1,5,14,0.97);
  backdrop-filter: blur(14px);
  z-index: 10000; display: none;
  align-items: center; justify-content: center; padding: 32px;
}
.news-modal.open { display: flex; }
.news-modal-content {
  max-width: 840px; width: 100%;
  background: #0d1b2a;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden; max-height: 88vh; overflow-y: auto;
  animation: modalFadeIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modalFadeIn {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.news-modal-img {
  width: 100%; height: 290px; object-fit: cover;
  filter: brightness(0.85);
}
.news-modal-body { padding: 34px 36px 40px; }
.news-modal-category {
  display: inline-block;
  background: rgba(248,153,29,0.12);
  border: 1px solid rgba(248,153,29,0.3);
  padding: 4px 13px; border-radius: 5px;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: #F8991D; margin-bottom: 14px;
}
.news-modal-title {
  font-family: 'Playfair Display', serif;
  font-size: 28px; font-weight: 800;
  color: #fff; line-height: 1.25; margin-bottom: 14px;
}
.news-modal-date {
  display: flex; align-items: center; gap: 8px;
  color: rgba(255,255,255,0.5); font-size: 12px;
  margin-bottom: 22px; padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.news-modal-text {
  color: rgba(255,255,255,0.78);
  line-height: 1.82; font-size: 15px;
}
.news-modal-close {
  position: absolute; top: 20px; right: 20px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.7);
  width: 42px; height: 42px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 19px; transition: all 0.22s;
}
.news-modal-close:hover {
  background: #F8991D; border-color: #F8991D;
  color: #06101f; transform: rotate(90deg);
}

/* ── RESPONSIVE ── */
@media (max-width: 800px) {
  .news-card-modern { grid-template-columns: 1fr; }
  .news-card-img-wrapper { height: 200px; }
  .news-card-content { padding: 20px; justify-content: flex-start; }
}
@media (max-width: 768px) {
  .news-hero-content { padding: 0 24px 54px; }
  .news-main-container { padding: 40px 20px 70px; }
  .news-control-bar { flex-direction: column; align-items: stretch; }
  .news-search { width: 100%; }
  .news-search input { width: 100%; }
  .news-card-title { font-size: 19px; }
  .news-modal { padding: 14px; }
  .news-modal-body { padding: 22px; }
  .news-modal-title { font-size: 22px; }
  .news-modal-img { height: 200px; }
  .news-modal-close { top: 12px; right: 12px; width: 38px; height: 38px; }
  .news-sidebar { position: static; }
}
@media (max-width: 480px) {
  .news-card-title { font-size: 17px; }
  .news-card-excerpt { font-size: 13px; }
  .sidebar-widget { padding: 18px; }
}

/* =============================================
   NEWS — IMPROVED MOBILE (≤ 768px)
   ============================================= */
@media (max-width: 768px) {

  /* HERO */
  .news-hero {
    height: auto;
    min-height: unset;
  }
  .news-hero-content {
    padding: 0 18px 36px;
  }
  .news-hero h1 {
    font-size: 1.5rem;
    letter-spacing: -0.01em;
    line-height: 1.1;
  }
  .news-hero-desc {
    font-size: 12px;
    line-height: 1.55;
    margin-top: 8px;
  }
  .news-hero-pill {
    font-size: 9px;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  /* MAIN CONTAINER */
  .news-main-container {
    padding: 28px 16px 56px;
  }

  /* SECTION HEADER */
  .news-header {
    margin-bottom: 28px;
  }
  .news-header h2 {
    font-size: clamp(24px, 7vw, 32px);
  }
  .news-header p {
    font-size: 13.5px;
  }

  /* CONTROL BAR */
  .news-control-bar {
    padding: 10px 10px;
    gap: 8px;
    border-radius: 10px;
    margin-bottom: 20px;
    top: 60px;
  }
  .news-search {
    padding: 7px 10px;
    border-radius: 8px;
    gap: 6px;
  }
  .news-search .material-icons { font-size: 16px; }
  .news-search input {
    font-size: 12px;
    width: 100%;
  }
  .news-filters {
    gap: 5px;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px;
    scrollbar-width: none;
    width: 100%;
  }
  .news-filters::-webkit-scrollbar { display: none; }
  .news-filter-btn {
    padding: 5px 10px;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 6px;
  }

  /* TWO-COL → single col (sidebar moves below) */
  .news-two-col {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .news-sidebar {
    position: static;
  }

  /* CARDS — stack image on top */
  .news-card-modern {
    grid-template-columns: 1fr;
    border-radius: 14px;
  }
  .news-card-img-wrapper {
    height: 190px;
  }
  .news-card-content {
    padding: 16px 18px 20px;
    justify-content: flex-start;
    gap: 0;
  }
  .news-card-title {
    font-size: 17px;
    margin-bottom: 8px;
  }
  .news-card-excerpt {
    font-size: 13px;
    line-height: 1.6;
    margin-bottom: 14px;
    /* limit to 3 lines on mobile */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .news-card-meta {
    margin-bottom: 8px;
  }
  .news-card-link {
    font-size: 10.5px;
  }

  /* SIDEBAR WIDGETS */
  .sidebar-widget {
    padding: 18px 16px;
    border-radius: 12px;
  }
  .sidebar-widget-title {
    font-size: 9px;
    margin-bottom: 14px;
    padding-bottom: 10px;
  }
  .recent-posts-list a {
    font-size: 12.5px;
  }
  .category-cloud { gap: 6px; }
  .category-tag {
    padding: 5px 12px;
    font-size: 11px;
  }

  /* MODAL */
  .news-modal {
    padding: 10px;
    align-items: flex-end;
  }
  .news-modal-content {
    max-height: 92vh;
    border-radius: 18px 18px 14px 14px;
    width: 100%;
  }
  .news-modal-img {
    height: 180px;
  }
  .news-modal-body {
    padding: 20px 18px 28px;
  }
  .news-modal-title {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .news-modal-text {
    font-size: 14px;
    line-height: 1.75;
  }
  .news-modal-close {
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    font-size: 17px;
  }
}

/* =============================================
   NEWS — SMALL MOBILE (≤ 400px)
   ============================================= */
@media (max-width: 400px) {
  .news-hero h1 { font-size: 1.25rem; }
  .news-hero-content { padding: 0 14px 30px; }
  .news-main-container { padding: 22px 12px 48px; }
  .news-card-img-wrapper { height: 165px; }
  .news-card-title { font-size: 15.5px; }
  .news-modal-title { font-size: 18px; }
}
