/* ================================================================
   TexasInmateSearch.com - Ad Spot Styles
   ================================================================ */

/* -- Shared wrapper ----------------------------------------------- */
.sponsor-spot {
  border-radius: 22px;
  overflow: hidden;
  margin: 2.5rem 0;
  position: relative;
}

/* -- VACANT spot --------------------------------------------------- */
.sponsor-spot--vacant .sponsor-inner {
  will-change: transform;
  transform: translateZ(0);
  background: linear-gradient(145deg, #1A0E08 0%, #241508 60%, #1A0E08 100%);
  border: 1.5px solid rgba(201,125,0,.3);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
/* Top accent line - replaces mask-based shimmer (avoids GPU flash) */
.sponsor-spot--vacant .sponsor-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 22px 22px 0 0;
  background: linear-gradient(90deg, var(--red,#BF0A30), var(--gold,#C97D00), var(--red,#BF0A30));
  background-size: 200% 100%;
  animation: ad-shimmer 3s linear infinite;
}
@keyframes ad-shimmer { 0%{background-position:200% 0} 100%{background-position:-200% 0} }

/* Glow orb */
.sponsor-spot--vacant .sponsor-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,125,0,.12) 0%, transparent 65%);
  top: -150px; right: -100px;
  pointer-events: none;
  animation: ad-glow-drift 8s ease-in-out infinite alternate;
}
@keyframes ad-glow-drift { from{transform:translate(0,0)} to{transform:translate(-30px,20px)} }

.sponsor-spot--vacant .sponsor-content {
  padding: 2.5rem 2.75rem;
  position: relative;
  z-index: 1;
}

.sponsor-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.5rem;
}
.sponsor-icon { font-size: 1.3rem }
.sponsor-badge-text {
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.sponsor-available {
  background: rgba(201,125,0,.18);
  border: 1px solid rgba(201,125,0,.35);
  border-radius: 999px;
  padding: .25rem .75rem;
  font-size: .7rem;
  font-weight: 700;
  color: #E09210;
  letter-spacing: .05em;
  text-transform: uppercase;
  animation: ad-pulse-badge 2.5s ease-in-out infinite;
}
@keyframes ad-pulse-badge {
  0%,100%{box-shadow:0 0 0 0 rgba(201,125,0,0)}
  50%{box-shadow:0 0 0 6px rgba(201,125,0,.12)}
}

.sponsor-headline {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 1rem;
  font-weight: 700;
}
.sponsor-sub {
  font-size: .97rem;
  color: rgba(255,255,255,.58);
  line-height: 1.72;
  max-width: 520px;
  margin-bottom: 2rem;
}

/* Pricing display */
.sponsor-pricing { margin-bottom: 1.75rem }
.sponsor-price-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: .5rem;
}
.sponsor-price-item {
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.sponsor-price-amount {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.75rem;
  color: #fff;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.sponsor-price-item.featured .sponsor-price-amount { color: #E09210 }
.sponsor-price-term {
  font-size: .75rem;
  color: rgba(255,255,255,.4);
  text-transform: uppercase;
  letter-spacing: .07em;
  font-weight: 600;
}
.sponsor-price-divider {
  color: rgba(255,255,255,.25);
  font-size: .85rem;
  font-style: italic;
  padding: 0 .25rem;
}
.sponsor-save {
  display: inline-block;
  background: rgba(16,185,129,.2);
  border: 1px solid rgba(16,185,129,.35);
  border-radius: 999px;
  padding: .2rem .6rem;
  font-size: .67rem;
  font-weight: 700;
  color: #34D399;
  letter-spacing: .04em;
  font-family: 'Outfit', system-ui, sans-serif;
  vertical-align: middle;
}
.sponsor-rate {
  font-size: .78rem;
  color: rgba(255,255,255,.3);
  margin-top: .25rem;
}

/* Perks */
.sponsor-perks {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem 1.5rem;
  margin-bottom: 2rem;
}
.sponsor-perk {
  font-size: .83rem;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* CTA */
.sponsor-cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: 1rem 2.25rem;
  background: linear-gradient(135deg, #C97D00, #9A6000);
  color: #1A0E08;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 14px;
  text-decoration: none;
  transition: all .22s ease;
  box-shadow: 0 6px 24px rgba(201,125,0,.4);
  position: relative;
  overflow: hidden;
}
.sponsor-cta::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.25), transparent);
  transition: left .5s ease;
}
.sponsor-cta:hover::before { left: 100% }
.sponsor-cta:hover {
  background: linear-gradient(135deg, #E09210, #C97D00);
  color: #1A0E08;
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(201,125,0,.55);
}

/* -- PENDING spot --------------------------------------------------- */
.sponsor-spot--pending .sponsor-inner {
  background: linear-gradient(145deg, #1A0E08, #241508);
  border: 1.5px solid rgba(14,165,201,.25);
  border-radius: 22px;
  position: relative;
  overflow: hidden;
}
.sponsor-spot--pending .sponsor-inner::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #BF0A30, transparent);
  background-size: 200%;
  animation: ad-shimmer 3s linear infinite;
}
.sponsor-spot--pending .sponsor-content {
  padding: 2.5rem 2rem;
  position: relative;
  z-index: 1;
}
.sponsor-spot--pending .sponsor-headline { color: rgba(255,255,255,.85); font-size: 1.35rem }
.sponsor-spot--pending .sponsor-sub { color: rgba(255,255,255,.45) }

/* -- ACTIVE spot --------------------------------------------------- */
.sponsor-spot--active {
  box-shadow: 0 4px 24px rgba(26,14,8,.12), 0 0 0 1.5px rgba(14,165,201,.2);
}
.sponsor-active-inner {
  background: #fff;
  border: 1.5px solid rgba(14,165,201,.2);
  border-radius: 22px;
  padding: 2.25rem 2.5rem;
  position: relative;
  overflow: hidden;
}
.sponsor-active-inner::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #BF0A30, #C97D00);
  border-radius: 22px 22px 0 0;
}
.sponsor-header {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.sponsor-logo {
  width: 58px; height: 58px; border-radius: 14px;
  background: linear-gradient(135deg, #BF0A30, #1E0C04);
  color: #fff;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.sponsor-title { flex: 1 }
.sponsor-type-label {
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #BF0A30;
  margin-bottom: .25rem;
}
.sponsor-name {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.3rem;
  color: #0C1A2E;
  font-weight: 700;
  margin: 0 0 .35rem;
}
.sponsor-badge-lic {
  display: inline-block;
  background: rgba(14,165,201,.1);
  border: 1px solid rgba(14,165,201,.25);
  border-radius: 999px;
  padding: .2rem .7rem;
  font-size: .72rem;
  font-weight: 700;
  color: #900720;
  letter-spacing: .04em;
}
.sponsor-tag {
  background: #1A0E08;
  color: #C97D00;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .4rem .85rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
  align-self: flex-start;
}
.sponsor-tagline {
  font-style: italic;
  color: #5A7291;
  font-size: .95rem;
  margin: 0 0 .75rem;
  line-height: 1.6;
}
.sponsor-desc {
  font-size: .93rem;
  color: #2D3F58;
  line-height: 1.72;
  margin: 0 0 1rem;
}
.sponsor-addr {
  font-size: .85rem;
  color: #5A7291;
  margin-bottom: 1.25rem;
}
.sponsor-actions {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
}
.sponsor-phone {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.5rem;
  background: linear-gradient(135deg, #C97D00, #9A6000);
  color: #1A0E08;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all .22s ease;
  box-shadow: 0 4px 16px rgba(201,125,0,.3);
}
.sponsor-phone:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(201,125,0,.45);
  color: #1A0E08;
}
.sponsor-site {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1.5rem;
  background: transparent;
  color: #BF0A30;
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border-radius: 12px;
  border: 1.5px solid rgba(14,165,201,.3);
  text-decoration: none;
  transition: all .22s ease;
}
.sponsor-site:hover {
  background: rgba(14,165,201,.07);
  border-color: #BF0A30;
  color: #900720;
}

/* Section wrapper labels */
.local-partner-label {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(26,14,8,.35);
  margin-bottom: .75rem;
}
.local-partner-label::before, .local-partner-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(26,14,8,.1);
}

/* -- Responsive --------------------------------------------------- */
@media(max-width:640px) {
  .sponsor-spot--vacant .sponsor-content { padding: 2rem 1.5rem }
  .sponsor-active-inner { padding: 1.75rem 1.5rem }
  .sponsor-header { flex-wrap: wrap }
  .sponsor-tag { width: 100%; text-align: center }
  .sponsor-cta { width: 100%; justify-content: center }
}
