/* =====================================
NEWSROOM – RONEEMEDIA
Centered hero • No video • Inter font
===================================== */

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI',
    sans-serif;
  background: #ffffff;
  color: #111827;
  -webkit-font-smoothing: antialiased;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* =====================================
HERO (CENTERED WITH BACKGROUND VIDEO)
===================================== */

.newsroom-hero {
  position: relative;
  height: 46vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(32px, 6vw, 90px);
  color: #ffffff;
  text-align: center;
  overflow: hidden;
}

.newsroom-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #191660 0%, #1f1a4d 100%);
  z-index: 0;
}

.newsroom-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.newsroom-hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.newsroom-eyebrow {
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.9;
  margin: 0 0 10px;
}

.newsroom-hero-content h1 {
  font-size: clamp(36px, 5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 12px;
  line-height: 1.15;
}

.newsroom-hero-content h1 span {
  color: #7ed0fb;
}

.newsroom-lead {
  font-size: 16px;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.94;
}


/* =====================================
LIST
===================================== */

.newsroom-list {
  padding: 60px clamp(20px, 6vw, 90px) 80px;
  background: #ffffff;
}

.newsroom-container {
  max-width: 1040px;
  margin: 0 auto;
}

.newsroom-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid rgba(25, 22, 96, 0.09);
}

.newsroom-row:last-child {
  border-bottom: none;
}

/* Thumbnail */

.newsroom-thumb img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border-radius: 12px;
  background: #f1f5f9;
  display: block;
}

.newsroom-thumb-placeholder {
  width: 100%;
  height: 190px;
  border-radius: 12px;
  background: radial-gradient(circle at top left, #e5f4ff 0, #e2e8f0 60%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
}

/* Content */

.newsroom-body h3 {
  font-size: 22px;
  font-weight: 650;
  margin: 0 0 6px;
}

.newsroom-body h3 a {
  color: #191660;
  text-decoration: none;
  transition: color 0.2s ease;
}

.newsroom-body h3 a:hover {
  color: #7ed0fb;
}

.newsroom-meta {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 10px;
  display: flex;
  gap: 6px;
  align-items: center;
}

.newsroom-meta span:nth-child(2) {
  opacity: 0.7;
}

.newsroom-body p {
  font-size: 15px;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 14px;
}

.newsroom-readmore {
  font-size: 14px;
  font-weight: 600;
  color: #191660;
  text-decoration: none;
  transition: transform 0.2s ease, color 0.2s ease;
}

.newsroom-readmore:hover {
  transform: translateX(2px);
  color: #7ed0fb;
}

.newsroom-empty {
  font-size: 15px;
  color: #6b7280;
  text-align: center;
  padding: 48px 0;
}

/* =====================================
PAGINATION
===================================== */

.newsroom-pagination {
  padding: 40px clamp(20px, 6vw, 90px);
  background: #ffffff;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.pagination-link,
.pagination-prev,
.pagination-next {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  color: #191660;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.2s ease;
}

.pagination-link:hover,
.pagination-prev:hover,
.pagination-next:hover {
  background: #f9fafb;
  border-color: #7ed0fb;
  color: #7ed0fb;
}

.pagination-link.active {
  background: #7ed0fb;
  color: #191660;
  border-color: #7ed0fb;
  font-weight: 600;
}

/* =====================================
RESPONSIVE
===================================== */

@media (max-width: 1024px) {
  .newsroom-row {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 768px) {
  .newsroom-list,
  .newsroom-pagination {
    padding-left: 20px;
    padding-right: 20px;
  }

  .newsroom-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 22px 0;
  }

  .newsroom-thumb img,
  .newsroom-thumb-placeholder {
    height: 220px;
  }

  .newsroom-hero {
    height: 38vh;
    min-height: 260px;
  }
}

@media (max-width: 480px) {
  .newsroom-hero {
    height: auto;
    padding: 40px 20px;
  }

  .newsroom-hero-content h1 {
    font-size: 28px;
  }

  .newsroom-lead {
    font-size: 14px;
  }

  .newsroom-body h3 {
    font-size: 18px;
  }

  .pagination-link,
  .pagination-prev,
  .pagination-next {
    padding: 6px 10px;
    font-size: 12px;
  }
}

/* =====================================
   RESPONSIVE (UPDATED FOR HEIGHT)
===================================== */

@media (max-width: 1024px) {
  .newsroom-row {
    grid-template-columns: 240px 1fr;
  }
}

@media (max-width: 768px) {
  .newsroom-list,
  .newsroom-pagination {
    padding-left: 20px;
    padding-right: 20px;
  }

  .newsroom-row {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 24px 0;
  }

  /* Fixed height for placeholders on tablets */
  .newsroom-thumb img,
  .newsroom-thumb-placeholder {
    height: 260px; 
  }

  .newsroom-hero {
    /* Increased height for mobile to prevent header overlap */
    height: 50vh; 
    min-height: 340px;
    padding-top: 80px; /* Extra space for the fixed logo/menu */
  }
}

@media (max-width: 480px) {
  .newsroom-hero {
    height: auto;
    min-height: 380px; /* Ensures enough room for all lines of text */
    padding: 100px 20px 60px; /* Top padding protects the header area */
  }

  /* Thumbnail height adjustment for small phones */
  .newsroom-thumb img,
  .newsroom-thumb-placeholder {
    height: 220px;
  }

  .newsroom-hero-content h1 {
    font-size: 30px;
    line-height: 1.2;
  }

  .newsroom-lead {
    font-size: 15px;
    margin-top: 10px;
  }

  .newsroom-body h3 {
    font-size: 19px;
    line-height: 1.3;
  }
}