/* Future City — Today's News page */
.fc-news-section {
  background: #f5f8fc;
  padding: 40px 20px 65px;
  width: 100%;
  box-sizing: border-box;
  color: #172b4d;
}

.fc-news-container {
  max-width: 1250px;
  margin: auto;
}

.fc-news-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  margin-bottom: 35px;
}

.fc-news-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #1263a5;
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 15px;
}

.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #16a36a;
  flex-shrink: 0;
  box-shadow: 0 0 0 4px rgba(22, 163, 106, 0.12);
}

.fc-news-heading h2 {
  font-size: 34px;
  line-height: 1.2;
  font-weight: 800;
  margin: 0 0 14px;
  color: #102c50;
}

.fc-news-heading h2 span {
  color: #1672c4;
}

.fc-news-heading p {
  font-size: 15px;
  line-height: 1.7;
  max-width: 680px;
  color: #68788c;
  margin: 0;
}

.fc-news-header-actions {
  display: flex;
  align-items: flex-end;
  flex-direction: column;
  gap: 15px;
}

.fc-news-status {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #15945e;
  display: flex;
  align-items: center;
  gap: 9px;
  background: #e6f7ee;
  padding: 10px 15px;
  border-radius: 25px;
}

.fc-refresh-btn {
  background: #1263a5;
  color: white;
  border: none;
  border-radius: 7px;
  padding: 13px 21px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
}

.fc-refresh-btn:hover {
  background: #0b477d;
}

.fc-refresh-btn:disabled {
  opacity: 0.65;
  cursor: wait;
}

.rotating {
  display: inline-block;
  animation: fc-spin 1s linear infinite;
}

@keyframes fc-spin {
  to {
    transform: rotate(360deg);
  }
}

.fc-news-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: white;
  border: 1px solid #e6edf5;
  border-radius: 12px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(20, 50, 90, 0.035);
}

.fc-summary-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 22px 25px;
  border-right: 1px solid #edf1f6;
}

.fc-summary-item:last-child {
  border-right: none;
}

.fc-summary-icon {
  font-size: 1.2rem;
  color: #1263a5;
  background: #edf5ff;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 10px;
}

.fc-summary-item strong {
  display: block;
  font-size: 23px;
  font-weight: 800;
  color: #153b66;
}

.fc-summary-item span {
  font-size: 12px;
  color: #8492a5;
  display: block;
  margin-top: 4px;
}

.fc-news-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.fc-category-list {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.fc-category-list button {
  background: white;
  color: #607087;
  border: 1px solid #dce5ef;
  border-radius: 25px;
  padding: 10px 17px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.fc-category-list button:hover,
.fc-category-list button.active {
  background: #1263a5;
  border-color: #1263a5;
  color: white;
}

.fc-news-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: white;
  border: 1px solid #dce5ef;
  border-radius: 7px;
  padding: 0 13px;
  min-width: 215px;
}

.fc-news-search i {
  color: #8394a8;
}

.fc-news-search input {
  border: none;
  outline: none;
  padding: 12px 0;
  width: 100%;
  font-size: 13px;
  background: transparent;
}

.fc-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.fc-news-card {
  background: white;
  border: 1px solid #e5ebf2;
  border-radius: 11px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 230px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.fc-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(20, 50, 90, 0.09);
}

.fc-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 17px;
}

.fc-news-category {
  background: #eaf3ff;
  color: #1263a5;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 4px;
  padding: 7px 10px;
}

.fc-news-date {
  color: #8b98a9;
  font-size: 11px;
}

.fc-news-card h3 {
  color: #173b63;
  font-size: 17px;
  line-height: 1.5;
  margin: 0 0 13px;
  font-weight: 700;
}

.fc-news-description {
  color: #758398;
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 20px;
  flex-grow: 1;
  overflow-wrap: anywhere;
}

.fc-card-footer {
  border-top: 1px solid #edf1f5;
  padding-top: 15px;
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.fc-news-source {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  color: #8290a2;
}

.fc-source-icon {
  font-weight: 800;
  color: #4285f4;
  border: 1px solid #e3e9f2;
  border-radius: 50%;
  width: 23px;
  height: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fc-card-footer a {
  font-size: 12px;
  font-weight: 700;
  color: #1263a5;
  text-decoration: none;
}

.fc-card-footer a:hover {
  text-decoration: underline;
}

.fc-news-loading {
  background: white;
  border-radius: 12px;
  padding: 65px 20px;
  text-align: center;
}

.fc-loader {
  width: 35px;
  height: 35px;
  border: 3px solid #e1eaf5;
  border-top-color: #1263a5;
  border-radius: 50%;
  margin: 0 auto 20px;
  animation: fc-spin 0.8s linear infinite;
}

.fc-news-loading h3,
.fc-news-error h3,
.fc-news-empty h3 {
  font-size: 18px;
  color: #173b63;
  margin: 0 0 8px;
}

.fc-news-loading p,
.fc-news-error p,
.fc-news-empty p {
  color: #8492a5;
  font-size: 13px;
}

.fc-news-error,
.fc-news-empty {
  background: white;
  text-align: center;
  padding: 50px 20px;
  border-radius: 12px;
  border: 1px solid #e5ebf2;
}

.fc-news-error button,
.fc-news-empty button {
  border: none;
  background: #1263a5;
  color: white;
  padding: 11px 22px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 10px;
}

.fc-empty-icon {
  font-size: 2rem;
  color: #1263a5;
  margin-bottom: 15px;
}

.fc-news-footer {
  border-top: 1px solid #e1e9f2;
  padding-top: 20px;
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.fc-last-updated,
.fc-news-footer-links {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #8492a5;
  font-size: 11px;
}

@media (max-width: 1000px) {
  .fc-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fc-news-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .fc-news-search {
    width: 100%;
    box-sizing: border-box;
  }
}

@media (max-width: 650px) {
  .fc-news-section {
    padding: 30px 15px 40px;
  }

  .fc-news-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .fc-news-heading h2 {
    font-size: 27px;
  }

  .fc-news-header-actions {
    align-items: flex-start;
    flex-direction: row;
    flex-wrap: wrap;
  }

  .fc-news-summary {
    grid-template-columns: 1fr;
  }

  .fc-summary-item {
    border-right: none;
    border-bottom: 1px solid #edf1f6;
    padding: 15px 20px;
  }

  .fc-summary-item:last-child {
    border-bottom: none;
  }

  .fc-news-grid {
    grid-template-columns: 1fr;
  }

  .fc-news-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
