/**
 * Contests frontend helpers (meta cards, contestant grid, etc.).
 *
 * Default meta-card border tracks the Elementor Kit accent when a widget has not
 * set Border Color. Instance-level Elementor CSS overrides this.
 */

.elementor-element .kt-meta-card {
  border-color: var(--e-global-color-accent, #E5E7EB);
}

/* Contestants Grid: baseline chrome until Style controls are set. */
.elementor-widget-kwiktrip-contest-contestants-grid .kt-contestant-card {
  background-color: #fff;
  border-style: solid;
  border-width: 1px;
  border-color: #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.elementor-widget-kwiktrip-contest-contestants-grid .kt-contestant-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f1f1f;
  text-align: center;
}

.elementor-widget-kwiktrip-contest-contestants-grid .kt-contestant-tagline {
  color: #666;
  font-style: italic;
  text-align: center;
}

.elementor-widget-kwiktrip-contest-contestants-grid .kt-vote-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-size: 1.125rem;
  color: #fff;
  background-color: #c8102e;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
}

.elementor-widget-kwiktrip-contest-contestants-grid .kt-know-button {
  display: block;
  width: 100%;
  padding: 0.75rem;
  font-weight: 700;
  text-align: center;
  color: #c8102e;
  background-color: #fff;
  border: 2px solid #c8102e;
  border-radius: 0.375rem;
  text-decoration: none;
}

/* Contest Share: baselines until Style controls are set. */
.elementor-widget-kwiktrip-contest-share .kt-share-card {
  background-color: #2c2c2c;
  color: #fff;
  border-style: none;
  border-radius: 0.5rem;
}

.elementor-widget-kwiktrip-contest-share .kt-share-title {
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}

.elementor-widget-kwiktrip-contest-share .kt-share-subtitle {
  font-size: 1.125rem;
  color: #fff;
  opacity: 0.9;
}

.elementor-widget-kwiktrip-contest-share .kt-share-button {
  padding: 0.75rem;
  margin: auto 0.75rem 0.75rem;
  font-size: 1.125rem;
  color: #fff;
  background-color: #c8102e;
  border: 0;
  border-radius: 0.5rem;
  cursor: pointer;
}

.elementor-widget-kwiktrip-contest-share .kt-share-button-content {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.elementor-widget-kwiktrip-contest-share .kt-share-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.elementor-widget-kwiktrip-contest-share .kt-share-button-icon i,
.elementor-widget-kwiktrip-contest-share .kt-share-button-icon svg {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  fill: currentColor;
}

.elementor-widget-kwiktrip-contestant-share .kt-contestant-share-icon {
  font-size: 1rem;
  line-height: 1;
}

.elementor-widget-kwiktrip-contestant-share .kt-contestant-share-icon svg {
  width: 1em;
  height: 1em;
  fill: currentColor;
}

/* Nav chevrons follow button text color until Icon Color is set. */
.elementor-widget-kwiktrip-contestant-previous .elementor-button-icon svg,
.elementor-widget-kwiktrip-contestant-next .elementor-button-icon svg {
  fill: currentColor;
}

/* Contest Official Rules: baseline button until Style controls are set. */
.elementor-widget-kwiktrip-contest-official-rules .kt-official-rules-button {
  display: inline-block;
  padding: 1rem;
  font-weight: 700;
  color: #fff;
  background-color: #c8102e;
  border: 0 solid transparent;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.elementor-widget-kwiktrip-contest-official-rules .kt-official-rules-button:hover,
.elementor-widget-kwiktrip-contest-official-rules .kt-official-rules-button:focus {
  color: #fff;
  text-decoration: none;
}

/* Contestants Inline: baselines until Style controls are set. */
.elementor-widget-kwiktrip-contest-contestants-inline .kt-inline-section-heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: #1f1f1f;
  text-align: center;
}

.elementor-widget-kwiktrip-contest-contestants-inline .kt-inline-card {
  background-color: #fff;
  border-style: solid;
  border-width: 1px;
  border-color: #e5e5e5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.elementor-widget-kwiktrip-contest-contestants-inline .kt-inline-contestants--grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 2rem;
  row-gap: 2rem;
}

.elementor-widget-kwiktrip-contest-contestants-inline .kt-inline-contestants--grid .kt-inline-card {
  margin-bottom: 0;
  height: 100%;
}

.elementor-widget-kwiktrip-contest-contestants-inline .kt-inline-card--grid .kt-inline-card-middle {
  min-height: 0;
}

.elementor-widget-kwiktrip-contest-contestants-inline .kt-inline-card--grid .kt-inline-card-actions {
  width: 100%;
}

.elementor-widget-kwiktrip-contest-contestants-inline .kt-contestant-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f1f1f;
}

.elementor-widget-kwiktrip-contest-contestants-inline .kt-contestant-bio {
  color: #4b4b4b;
}

.elementor-widget-kwiktrip-contest-contestants-inline .kt-vote-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem;
  font-size: 1.125rem;
  color: #fff;
  background-color: #c8102e;
  border: 0 solid transparent;
  border-radius: 0.5rem;
  cursor: pointer;
}

.elementor-widget-kwiktrip-contest-contestants-inline .kt-share-profile-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  font-weight: 700;
  color: #c8102e;
  background-color: #fff;
  border: 2px solid #c8102e;
  border-radius: 0.375rem;
  cursor: pointer;
}