.elementor-536 .elementor-element.elementor-element-a8a018c{--display:flex;}/* Start custom CSS *//* === NEWS OVERVIEW DARK THEME === */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
    padding: 20px 0;
}

.news-card {
    background: #1f1f1f;
    border: 1px solid #2d2d2d;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.5);
    transition: transform .2s ease, box-shadow .2s ease;
}
.news-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 18px rgba(0,0,0,.6);
}

.news-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
.news-placeholder {
    width: 100%;
    height: 180px;
    background: #f3f4f6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-size: 13px;
}

.news-body {
    padding: 18px;
}

.news-headline {
    margin: 0 0 10px;
    font-size: 1.2rem;
    line-height: 1.4;
    color: #ffffff;
    font-weight: 600;
}

.news-teaser {
    margin: 0 0 14px;
    color: #cfcfcf;
    font-size: .95rem;
}

.news-actions {
    display: flex;
    gap: 10px;
}

.news-btn {
    appearance: none;
    border: none;
    background: #0073e6;
    color: #fff;
    border-radius: 8px;
    padding: 8px 14px;
    font-size: .9rem;
    font-weight: 500;
    cursor: pointer;
    transition: background .2s ease;
}
.news-btn:hover {
    background: #005bb5;
}
.news-btn.secondary {
    background: #2d2d2d;
    color: #eee;
}
.news-btn.secondary:hover {
    background: #3a3a3a;
}

.news-pagination {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 22px;
    flex-wrap: wrap;
}
.news-pagination a,
.news-pagination span {
    border: 1px solid #2d2d2d;
    padding: 6px 12px;
    border-radius: 6px;
    text-decoration: none;
    color: #ddd;
    background: #1f1f1f;
}
.news-pagination a:hover {
    background: #2a2a2a;
}
.news-pagination .current {
    background: #0073e6;
    color: #fff;
    border-color: #0073e6;
}

/* === Modal Dark Theme === */
.news-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 24px;
}
.news-modal {
  max-width: 960px;
  width: 100%;
  background: #1f1f1f;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0,0,0,.7);
  position: relative;
}

.news-close-floating {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: rgba(0,0,0,.55);
  color: #fff;
  border-radius: 999px;
  padding: 8px 12px;
  cursor: pointer;
  backdrop-filter: saturate(140%) blur(4px);
  font-size: .9rem;
  line-height: 1;
}
.news-close-floating:hover {
  background: rgba(0,0,0,.75);
}

.news-modal-media { position: relative; background:#000; }
.news-modal-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.news-modal-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px clamp(16px,3vw,28px);
  color: #fff;
  background: linear-gradient(180deg,rgba(0,0,0,0) 0%, rgba(0,0,0,.65) 85%);
}
.news-modal-title {
  margin: 0 0 6px;
  font-size: clamp(1.2rem,2.8vw,2rem);
  font-weight: 700;
  color: #fff;
}
.news-modal-sub {
  margin: 0;
  color: #e5e7eb;
  font-size: clamp(.9rem,1.7vw,1.05rem);
}

.news-modal-body {
  padding: 18px clamp(16px,3vw,28px) 24px;
}
.news-modal-text {
  white-space: pre-wrap;
  line-height: 1.6;
  color: #d1d5db;
}/* End custom CSS */