/**
 * Author Personal Blog Pro - Media Mentions Widget Stylesheet
 * Scoped under: .apb-widget-media-mentions
 */

.apb-press-coverage-section,
.apb-widget-media-mentions {
  width: 100%;
  display: block;
  margin: 0;
  box-sizing: border-box;
}

.apb-press-coverage-section {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 7vw, 6rem);
}

.apb-widget-media-mentions .apb-awards-section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.apb-widget-media-mentions .apb-category-badge {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border-radius: var(--apb-radius-full, 9999px);
  font-size: var(--apb-font-size-xs, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background-color: var(--apb-color-accent-light, #fffaf0);
  color: var(--apb-color-accent, #c05621);
  margin-bottom: var(--apb-space-2, 0.5rem);
}

.apb-widget-media-mentions .apb-awards-section-title {
  font-family: var(--apb-font-serif, Georgia, serif);
  font-size: var(--apb-font-size-h2, 2.25rem);
  color: var(--apb-color-heading, #1e293b);
  margin-bottom: var(--apb-space-2, 0.5rem);
}

.apb-widget-media-mentions .apb-awards-section-subtitle {
  font-size: var(--apb-font-size-base, 1rem);
  color: var(--apb-color-text-muted, #64748b);
  line-height: var(--apb-line-height-base, 1.6);
  margin: 0;
}

.apb-widget-media-mentions .apb-press-table-wrap {
  background-color: var(--apb-color-bg-card, #ffffff);
  border: 1px solid var(--apb-color-border, #e2e8f0);
  border-radius: var(--apb-radius-lg, 16px);
  overflow: hidden;
  box-shadow: var(--apb-shadow-sm, 0 2px 4px rgba(0, 0, 0, 0.05));
}

.apb-widget-media-mentions .apb-press-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.apb-widget-media-mentions .apb-press-table th,
.apb-widget-media-mentions .apb-press-table td {
  padding: 1.15rem 1.5rem;
  border-bottom: 1px solid var(--apb-color-border, #e2e8f0);
}

.apb-widget-media-mentions .apb-press-table th {
  background-color: var(--apb-color-bg-alt, #f8fafc);
  font-size: var(--apb-font-size-xs, 0.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--apb-color-heading, #1e293b);
}

.apb-widget-media-mentions .apb-press-table tr:last-child td {
  border-bottom: none;
}

.apb-widget-media-mentions .apb-press-table tr:hover td {
  background-color: var(--apb-color-bg-body, #f8fafc);
}

.apb-widget-media-mentions .apb-press-outlet-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: var(--apb-font-size-sm, 0.875rem);
  color: var(--apb-color-heading, #1e293b);
}

.apb-widget-media-mentions .apb-press-outlet-badge svg,
.apb-widget-media-mentions .apb-press-outlet-badge i {
  width: 16px;
  height: 16px;
  color: var(--apb-color-primary, #0d5c63);
  flex-shrink: 0;
}

.apb-widget-media-mentions .apb-press-headline {
  font-size: var(--apb-font-size-sm, 0.875rem);
  color: var(--apb-color-text, #475569);
  font-weight: 500;
}

.apb-widget-media-mentions .apb-press-date {
  font-size: var(--apb-font-size-xs, 0.75rem);
  color: var(--apb-color-text-muted, #64748b);
  white-space: nowrap;
}

.apb-widget-media-mentions .apb-press-action-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--apb-font-size-xs, 0.75rem);
  font-weight: 700;
  color: var(--apb-color-primary, #0d5c63);
  text-decoration: none;
  transition: color var(--apb-transition-fast, 0.15s ease);
}

.apb-widget-media-mentions .apb-press-action-link:hover {
  color: var(--apb-color-accent, #c05621);
}

@media (max-width: 640px) {
  .apb-widget-media-mentions .apb-press-table,
  .apb-widget-media-mentions .apb-press-table tbody,
  .apb-widget-media-mentions .apb-press-table tr,
  .apb-widget-media-mentions .apb-press-table td,
  .apb-widget-media-mentions .apb-press-table th {
    display: block;
  }

  .apb-widget-media-mentions .apb-press-table thead {
    display: none;
  }

  .apb-widget-media-mentions .apb-press-table td {
    padding: 0.75rem 1.25rem;
    border-bottom: none;
  }

  .apb-widget-media-mentions .apb-press-table tr {
    border-bottom: 1px solid var(--apb-color-border, #e2e8f0);
    padding: 0.5rem 0;
  }
}