/* EAGLE MEDIA INDEX STYLES */
body,
section.em-hero-section,
section.em-category-section,
section.em-latest-section {
  background-color: #f8f9fa !important;
}
.em-ticker-container {
  font-family: 'Roboto', sans-serif;
}
.em-ticker {
  background-color: #000;
  color: #fff;
  border-radius: 4px;
  overflow: hidden;
  height: 40px;
}
.em-ticker-label {
  background-color: #ff0000;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  padding: 0 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: capitalize;
}
.em-ticker-content {
  padding: 0 20px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.em-ticker-time {
  color: #f7d611;
  font-weight: 700;
  font-size: 15px;
}
.em-ticker-link {
  color: #fff !important;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
}
.em-ticker-link:hover {
  text-decoration: underline;
}
.em-ticker-all {
  color: #ff0000 !important;
  font-weight: 700;
  font-size: 14px;
  padding: 0 20px;
  text-decoration: none;
  background-color: #111;
}
.em-ticker-all:hover {
  background-color: #222;
}

/* Base Styles */
.object-fit-cover {
  object-fit: cover !important;
}

/* Pagination config */
.em-pagination {
  display: flex;
  background-color: #fff;
  margin-top: 0;
  width: 100%;
}
.em-page-btn {
  flex: 1;
  text-align: center;
  background: #fff;
  border: none;
  font-weight: 700;
  font-size: 14px;
  color: #000;
  padding: 8px 0;
  cursor: pointer;
  transition: all 0.2s;
  outline: none;
}
.em-page-btn.active {
  background: #ff0000;
  color: #fff;
}

.side-pagination .em-page-btn {
  padding: 4px 0;
  font-size: 12px;
}

/* --- ISOLATED EM CATEGORY MODULES --- */
.em-category-section {
  padding: 0;
  font-family: 'Roboto', sans-serif;
}
.em-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #032b5f;
  margin-bottom: 20px;
  padding-bottom: 5px;
}
.em-section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #032b5f;
  text-transform: uppercase;
}
.em-section-title i {
  color: #ff0000;
}
.em-section-more {
  font-size: 13px;
  font-weight: 700;
  color: #032b5f !important;
  text-decoration: none;
}
.em-cat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.em-cat-card {
  display: flex;
  flex-direction: column;
}
.em-cat-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
}
.em-cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.em-cat-card:hover .em-cat-image img {
  transform: scale(1.05);
}
.em-cat-content {
  padding-top: 10px;
}
.em-cat-date {
  font-size: 11px;
  color: #888;
  display: block;
  margin-bottom: 5px;
}
.em-cat-content h4 {
  font-size: 14px;
  font-weight: 700;
  color: #222;
  line-height: 1.4;
  margin: 0;
}
.em-cat-card:hover .em-cat-content h4 {
  color: #ff0000;
}

.em-latest-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  font-family: 'Roboto', sans-serif;
}
.em-latest-card {
  display: flex;
  gap: 15px;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 4px;
}
.em-latest-card .em-cat-image {
  width: 120px;
  flex-shrink: 0;
}
.em-load-more {
  display: block;
  width: 100%;
  padding: 12px;
  text-align: center;
  background: #f1f1f1;
  color: #333;
  font-weight: 700;
  text-decoration: none;
  margin-top: 20px;
  border-radius: 4px;
}
.em-load-more:hover {
  background: #ddd;
  color: #000;
  text-decoration: none;
}

@media (max-width: 991px) {
  .em-hero-section .col-lg-4 {
    margin-top: 20px;
    height: auto !important;
  }
  .em-side-slider {
    height: auto !important;
    min-height: 250px;
  }
  .em-side-static {
    height: 250px !important;
  }
  .em-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 575px) {
  .em-cat-grid {
    grid-template-columns: 1fr;
  }
}
