/* === OEUK Modern News Monitor === */
body, input, select, button {
  font-family: "Inter", Arial, sans-serif;
  color: #222;
}

/* --- Main container --- */
.oeuk-news-card {
  background: #fff;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 1px solid #ddd; /* subtle structure */
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); /* ✅ bigger, softer shadow for "pop" */
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.oeuk-news-card:hover {
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.16); /* slightly stronger hover */
  transform: translateY(-3px);
}

/* --- Header row --- */
.oeuk-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 0.8rem;
}

.oeuk-news-heading {
  background: linear-gradient(90deg, #4d5ca4, #564d96);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.4; /* ✅ Add this to prevent cutting off descenders */
  overflow: visible; /* ✅ Ensures text isn’t clipped */
}

.oeuk-last-updated {
  font-size: 0.9rem;
  color: #555;
  text-align: right;
  margin: 0;
}

/* --- Filter bar --- */
.oeuk-filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: 1rem;
  padding-top: 0.2rem;
}

.oeuk-filter-bar input,
.oeuk-filter-bar button {
  padding: .55rem .8rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}

.oeuk-filter-bar input {
  flex: 1;
  min-width: 220px;
}

.oeuk-filter-bar button {
  background: linear-gradient(90deg,#4d5ca4,#564d96);
  color: #fff;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.oeuk-filter-bar button:hover {
  opacity: .9;
  transform: translateY(-1px);
}

/* --- Table --- */
.oeuk-table-container {
  overflow-x: auto;
  border-radius: 10px;
}

.oeuk-news-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

.oeuk-news-table th {
  background: linear-gradient(90deg,#4d5ca4,#564d96);
  color: #fff;
  text-align: left;
  padding: 10px;
  font-size: 15px;
}

.oeuk-news-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 14px;
  vertical-align: top;
}

.oeuk-news-table tr:hover { background: #f6f7fb; }
.oeuk-news-table a { color: #4d5ca4; text-decoration: none; }
.oeuk-news-table a:hover { text-decoration: underline; }

/* --- Responsive --- */
@media(max-width:768px){
  .oeuk-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .oeuk-news-heading {
    font-size: 1.2rem;
  }

  .oeuk-last-updated {
    text-align: left;
    width: 100%;
  }

  .oeuk-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .oeuk-filter-bar input {
    width: 100%;
  }

  .oeuk-filter-bar button {
    width: 100%;
  }
}