/* ==========================================================================
   PearlyTakes Embed — sidebar widget styles
   Matches Button theme conventions (see app-picks.css for reference)
   ========================================================================== */

/* --- Shared widget wrapper --- */
.pearlytakes-widget {
  padding: 0 1.4em 1.6em;
  background: transparent;
}

.pearlytakes-widget + .pearlytakes-widget {
  padding-top: 0.4em;
}

/* --- Section titles (matches .app-picks-title) --- */
.pearlytakes-title {
  margin: 0 0 0.6em;
  color: #999;
  font-family: Lato, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.pearlytakes-subtitle {
  margin: -0.3em 0 0.7em;
  font-family: Lora, Garamond, serif;
  font-size: 14px;
  font-style: italic;
  color: #777;
  line-height: 1.3;
}

.pearlytakes-subtitle a {
  color: #ce6825;
  text-decoration: none;
}

.pearlytakes-subtitle a:hover {
  color: #a0521c;
  text-decoration: underline;
}

/* --- Prognosticators --- */
.pearlytakes-prog-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pearlytakes-prog-item {
  display: flex;
  align-items: baseline;
  gap: 0.35em;
  border-top: 1px dashed #ddd;
  padding: 0.65em 0;
  font-size: 13px;
  line-height: 1.45;
}

.pearlytakes-prog-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.pearlytakes-prog-rank {
  flex-shrink: 0;
  color: #999;
  font-family: Lato, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  min-width: 1.4em;
}

.pearlytakes-prog-avatar {
  flex-shrink: 0;
  font-size: 15px;
  line-height: 1;
}

.pearlytakes-prog-info {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2em 0.4em;
}

.pearlytakes-prog-name {
  color: #555;
  font-weight: 600;
}

a.pearlytakes-prog-name {
  color: #ce6825;
  text-decoration: none;
}

a.pearlytakes-prog-name:hover {
  color: #a0521c;
  text-decoration: underline;
}

.pearlytakes-prog-date {
  color: #999;
  font-size: 11px;
}

.pearlytakes-badge {
  display: inline-block;
  padding: 0.1em 0.45em;
  border-radius: 3px;
  font-family: Lato, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.4;
}

.pearlytakes-badge-journalist {
  background: #f0e8df;
  color: #9b7e5a;
}

.pearlytakes-badge-professional {
  background: #e4edf5;
  color: #5a7a9b;
}

/* --- My Takes --- */
.pearlytakes-takes-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pearlytakes-take-item {
  border-top: 1px dashed #ddd;
  padding: 0.65em 0;
  font-size: 13px;
  line-height: 1.45;
}

.pearlytakes-take-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.pearlytakes-take-type {
  display: inline-block;
  margin-right: 0.3em;
  padding: 0.05em 0.4em;
  border-radius: 3px;
  background: #f3f3f3;
  color: #999;
  font-family: Lato, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  vertical-align: middle;
}

a.pearlytakes-take-link {
  color: #ce6825;
  text-decoration: none;
}

a.pearlytakes-take-link:hover {
  color: #a0521c;
  text-decoration: underline;
}

.pearlytakes-take-meta {
  display: block;
  margin-top: 0.2em;
  color: #999;
  font-size: 11px;
}

.pearlytakes-take-votes {
  margin-left: 0.4em;
}

.pearlytakes-vote-prescient::before {
  content: "\25B2 ";
  font-size: 9px;
  color: #5aa05a;
}

.pearlytakes-vote-ironic::before {
  content: "\25BC ";
  font-size: 9px;
  color: #c25a5a;
}

.pearlytakes-vote-prescient {
  color: #5aa05a;
}

.pearlytakes-vote-ironic {
  color: #c25a5a;
  margin-left: 0.3em;
}

/* --- Profile Preview --- */
.pearlytakes-profile-header {
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: 0.7em;
}

.pearlytakes-profile-avatar {
  font-size: 22px;
  line-height: 1;
}

a.pearlytakes-profile-name {
  color: #ce6825;
  font-family: Lora, Garamond, serif;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

a.pearlytakes-profile-name:hover {
  color: #a0521c;
  text-decoration: underline;
}

.pearlytakes-profile-rankings {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin-bottom: 0.8em;
}

a.pearlytakes-ranking-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25em;
  padding: 0.2em 0.55em;
  border-radius: 12px;
  background: #fdf0e7;
  color: #ce6825;
  font-family: Lato, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.4;
}

a.pearlytakes-ranking-badge:hover {
  background: #f9e0cb;
  color: #a0521c;
}

.pearlytakes-ranking-icon {
  font-size: 12px;
}

.pearlytakes-pinned-heading {
  margin: 0 0 0.4em;
  color: #999;
  font-family: Lato, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.pearlytakes-pinned-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pearlytakes-pinned-item {
  border-top: 1px dashed #ddd;
  padding: 0.55em 0;
  font-size: 13px;
  line-height: 1.45;
}

.pearlytakes-pinned-item:first-child {
  border-top: 0;
  padding-top: 0;
}

a.pearlytakes-pinned-link {
  color: #ce6825;
  text-decoration: none;
}

a.pearlytakes-pinned-link:hover {
  color: #a0521c;
  text-decoration: underline;
}

.pearlytakes-pinned-excerpt {
  display: block;
  margin-top: 0.15em;
  color: #777;
  font-size: 12px;
  line-height: 1.45;
}

.pearlytakes-profile-cta {
  margin: 0.8em 0 0;
  font-family: Lato, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.pearlytakes-profile-cta a {
  color: #ce6825;
  text-decoration: none;
}

.pearlytakes-profile-cta a:hover {
  color: #a0521c;
  text-decoration: underline;
}
