/* DeepDive embed CSS (multi-instance safe) */

/* Google Fonts - Poppins (load once per page) */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

.hot-widget {
  /* Primary Brand Colors */
  --brand-coral: #F2694F;
  --brand-coral-75: #F58F7B;
  --brand-coral-50: #F9B4A7;
  --brand-coral-25: #FCD9D3;

  --brand-deep-teal: #1C4A59;
  --brand-deep-teal-75: #566F7A;
  --brand-deep-teal-50: #8E9FA8;
  --brand-deep-teal-25: #C6CFD3;

  --brand-ocean-blue: #338AA6;
  --brand-ocean-blue-75: #5FA1B8;
  --brand-ocean-blue-50: #99C5D3;
  --brand-ocean-blue-25: #CCE2E9;

  --brand-sky-blue: #4AC7F2;
  --brand-sky-blue-75: #78D5F5;
  --brand-sky-blue-50: #A5E3F9;
  --brand-sky-blue-25: #D2F1FC;

  /* Font */
  font-family: 'Poppins', sans-serif;
}

/* ============================================
   WIDGET CONTAINER
   ============================================ */
.hot-widget {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.hot-widget__card {
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-sky-blue-25) 100%);
  border-radius: 16px;
  padding: 48px;
  box-shadow: 0 4px 24px rgba(28, 74, 89, 0.1);
  border-left: 5px solid var(--brand-ocean-blue);
  position: relative;
  overflow: hidden;
}

/* Decorative accent */
.hot-widget__card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, var(--brand-sky-blue-25) 0%, transparent 70%);
  opacity: 0.6;
  pointer-events: none;
}

/* ============================================
   AI BADGE
   ============================================ */
.hot-widget__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-deep-teal);
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hot-widget__badge-icon {
  width: 16px;
  height: 16px;
  fill: var(--brand-sky-blue);
}

/* ============================================
   TITLE
   ============================================ */
.hot-widget__title {
  font-family: 'Poppins', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--brand-deep-teal);
  margin: 0 0 24px 0;
  line-height: 1.3;
  position: relative;
}

/* ============================================
   SUMMARY TEXT
   ============================================ */
.hot-widget__summary {
  font-family: 'Poppins', sans-serif;
  font-size: 17px;
  font-weight: 400;
  color: var(--brand-deep-teal-75);
  line-height: 1.8;
  margin: 0 0 32px 0;
  position: relative;
}

.hot-widget__summary h4 {
  font-size: 18px;
  font-weight: 600;
  color: var(--brand-deep-teal);
  margin: 24px 0 12px 0;
}

.hot-widget__summary h4:first-child {
  margin-top: 0;
}

.hot-widget__summary p {
  margin: 0 0 16px 0;
}

.hot-widget__summary ul {
  margin: 0 0 16px 0;
  padding-left: 24px;
  list-style-type: disc;
}

.hot-widget__summary ul li {
  margin-bottom: 8px;
}

.hot-widget__summary strong {
  font-weight: 600;
  color: var(--brand-deep-teal);
}

.hot-widget__summary em {
  font-style: italic;
}

/* ============================================
   DATE / FOOTER
   ============================================ */
.hot-widget__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--brand-ocean-blue-25);
}

.hot-widget__date {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: var(--brand-ocean-blue);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.hot-widget__date-icon {
  width: 16px;
  height: 16px;
  fill: var(--brand-ocean-blue);
}

.hot-widget__source {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: var(--brand-deep-teal-50);
  margin: 0;
}

/* ============================================
   LOADING STATE
   ============================================ */
.hot-widget__loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.hot-widget__spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--brand-sky-blue-25);
  border-top-color: var(--brand-coral);
  border-radius: 50%;
  animation: hot-widget-spin 1s linear infinite;
  margin-bottom: 20px;
}

@keyframes hot-widget-spin {
  to { transform: rotate(360deg); }
}

.hot-widget__loading-text {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-deep-teal-75);
}

/* ============================================
   ERROR STATE
   ============================================ */
.hot-widget__error {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--brand-coral);
  text-align: center;
  padding: 40px 20px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
  .hot-widget {
    padding: 24px 16px;
  }

  .hot-widget__card {
    padding: 32px 24px;
  }

  .hot-widget__title {
    font-size: 24px;
  }

  .hot-widget__summary {
    font-size: 15px;
  }

  .hot-widget__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

