/* =========================================================
   LOOKOUTJPG — Advertise page styles
   Loads AFTER styles.css. Reuses existing design tokens
   and existing components (.payment-card, .check-row, etc.
   all come from styles.css). Prefixed with "ad-" to avoid
   colliding with site classes.
   ========================================================= */

:root{
  --ad-green: #2ECC71;
}

.nav-links a.is-active{
  color: var(--white);
}

/* ---------------------------------------------------------
   Sponsorship vs Commercial explainer
   --------------------------------------------------------- */
.ad-explain-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 720px){
  .ad-explain-grid{ grid-template-columns: 1fr 1fr; }
}
.ad-explain-card{
  padding: 30px 26px;
}
.ad-explain-tag{
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--white);
}
.ad-explain-copy{
  margin-top: 14px;
  color: var(--gray-300);
  font-size: 15px;
  line-height: 1.55;
}

/* ---------------------------------------------------------
   Ad progress bar
   --------------------------------------------------------- */
.ad-progress{
  margin-bottom: 40px;
  border-radius: var(--radius-pill);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  overflow: hidden;
}
.ad-progress .wizard-progress-step{
  border-bottom: none;
  border-top: 2px solid transparent;
  cursor: default;
}
.ad-progress .wizard-progress-step.is-active{ border-top-color: var(--white); }
.ad-progress .wizard-progress-step.is-done{ border-top-color: var(--gray-300); }
.ad-progress .wizard-progress-step.is-clickable{ cursor: pointer; }
.ad-progress .wizard-progress-step.is-clickable:hover{ color: var(--white); }

#adWizard .wizard-panel{
  max-width: 900px;
}

.ad-back-btn{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: none;
  color: var(--gray-300);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  padding: 8px 0;
  cursor: pointer;
}
.ad-back-btn:hover{ color: var(--white); }

/* ---------------------------------------------------------
   Type selection cards
   --------------------------------------------------------- */
.ad-type-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-bottom: 40px;
}
@media (min-width: 720px){
  .ad-type-grid{ grid-template-columns: 1fr 1fr; }
}
.ad-type-card{
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  text-align: left;
  color: var(--white);
  cursor: pointer;
  transition: border-color .25s var(--ease), transform .2s var(--ease);
}
.ad-type-card:hover{
  border-color: rgba(255,255,255,.3);
  transform: translateY(-2px);
}
.ad-type-card.is-selected{
  border-color: var(--white);
  box-shadow: 0 0 0 1px var(--white);
}
.ad-type-card img{
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.ad-type-card-body{
  padding: 22px 22px 26px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ad-type-card-icon{
  display: inline-flex;
  color: var(--gray-300);
}
.ad-type-card-icon svg{ width: 20px; height: 20px; }
.ad-type-card-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
}
.ad-type-card-desc{
  color: var(--gray-300);
  font-size: 14px;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   Commercial content CTA card (entry point on Type step)
   --------------------------------------------------------- */
.ad-commercial-cta{
  padding: 34px 28px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.ad-commercial-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
}
.ad-commercial-copy{
  margin-top: 12px;
  color: var(--gray-300);
  font-size: 15px;
  max-width: 46ch;
  margin-left: auto;
  margin-right: auto;
}
.ad-commercial-cta .btn{ margin-top: 22px; }

/* ---------------------------------------------------------
   Package cards — image top, price, description, feature
   checklist, full-width CTA. Shared by sponsorship packages
   AND commercial ad packages (same visual language).
   --------------------------------------------------------- */
.ad-package-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}
@media (max-width: 900px){
  .ad-package-grid{ grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }
}

.ad-pkg-card{
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  -webkit-backdrop-filter: blur(var(--glass-blur));
  backdrop-filter: blur(var(--glass-blur));
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.ad-pkg-card:hover{ border-color: rgba(255,255,255,.22); }
.ad-pkg-card.is-featured{
  border-color: rgba(255,255,255,.28);
  background: var(--glass-bg-strong);
}
.ad-pkg-card.is-current-selection{
  border-color: var(--white);
  box-shadow: 0 0 0 1px var(--white);
}

.ad-pkg-badge{
  position: absolute;
  top: 14px; right: 14px;
  z-index: 2;
  background: var(--white);
  color: var(--black);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}
/* Longer badge text (e.g. commercial "Included in..." tag)
   spans the card width instead of overflowing as a pill. */
.ad-pkg-badge.ad-pkg-badge-wrap{
  left: 14px;
  right: 14px;
  width: auto;
  text-align: center;
  white-space: normal;
  line-height: 1.35;
  font-size: 9.5px;
  padding: 8px 12px;
  border-radius: var(--radius-md);
}

.ad-pkg-image-wrap{
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--panel);
  overflow: hidden;
}
.ad-pkg-image-wrap img{
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ad-pkg-image-wrap.ad-pkg-image-fallback{
  display: flex;
  align-items: center;
  justify-content: center;
}
.ad-pkg-image-wrap.ad-pkg-image-fallback::after{
  content: 'Image coming soon';
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--gray-600);
}

.ad-pkg-body{
  padding: 26px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.ad-pkg-name{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  color: var(--white);
}
.ad-pkg-price-row{
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.ad-pkg-price{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(26px, 3vw, 30px);
  color: var(--white);
}
.ad-pkg-price-unit{
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--gray-600);
  text-transform: uppercase;
  letter-spacing: .06em;
}
.ad-pkg-desc{
  margin-top: 14px;
  color: var(--gray-300);
  font-size: 13.5px;
  line-height: 1.55;
}
.ad-pkg-divider{
  margin: 20px 0 16px;
  height: 1px;
  background: var(--line);
}
.ad-pkg-includes-label{
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 12px;
}
.ad-pkg-features{
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.ad-pkg-feature{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
}
.ad-pkg-feature-icon{
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 1px;
}
.ad-pkg-feature--included{ color: var(--gray-100); }
.ad-pkg-feature--included .ad-pkg-feature-icon{ color: var(--ad-green); }
.ad-pkg-feature--excluded{ color: var(--gray-600); opacity: .55; }
.ad-pkg-feature--excluded .ad-pkg-feature-icon{ color: var(--gray-600); }

.ad-pkg-cta{
  margin-top: 22px;
}

/* ---------------------------------------------------------
   Brand Assets / Materials — email-instead-of-upload card.
   Used by both the sponsorship flow ("Brand Assets") and the
   commercial flow ("Send Your Materials").
   --------------------------------------------------------- */
.ad-assets-label{
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gray-600);
  margin-bottom: 10px;
}
.ad-assets-card{
  padding: 24px 22px;
}
.ad-assets-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  margin-bottom: 10px;
}
.ad-assets-copy{
  color: var(--gray-100);
  font-size: 14.5px;
  line-height: 1.55;
}
.ad-assets-copy strong{ color: var(--white); }
.ad-assets-formats{
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 12.5px;
  line-height: 1.5;
}
.ad-assets-card > .btn{ margin-top: 18px; }
.ad-assets-card-confirm{
  max-width: 480px;
  margin: 28px auto 0;
  text-align: left;
}

/* ---------------------------------------------------------
   Review step (shared visual pattern — sponsorship + commercial)
   --------------------------------------------------------- */
.ad-review-card{
  padding: 26px 24px;
  margin-bottom: 20px;
}
.ad-review-top{
  margin-bottom: 20px;
}
.ad-review-package{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  margin-top: 4px;
}
.ad-review-price{
  margin-top: 4px;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gray-300);
}
.ad-total-row{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 4px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
}

/* ---------------------------------------------------------
   Payment step — reuses .payment-cards / .payment-card /
   .payment-panel-inner from styles.css. Used by both the
   sponsorship payment step and the commercial payment step.
   --------------------------------------------------------- */
#adWizard .payment-cards{ max-width: none; }
#adWizard .payment-panel-inner{ max-width: none; margin-top: 8px; }
