/**
 * Campaign 2026 — Styles
 *
 * @package F1 Cobblestone
 * @author Factor1 Studios
 * @since 1.6.0
 */

/* =========================================================================
   Logo Bar
   ========================================================================= */

.campaign-logo-bar {
  background: #fff;
  padding: 20px 90px;
  text-align: center;
  margin: 0;
}

.campaign-logo-bar__logo {
  display: block;
  margin: 0 auto;
  width: 190px;
  height: 80px;
  object-fit: contain;
}

@media screen and (max-width: 767px) {
  .campaign-logo-bar {
    padding: 20px;
  }

  .campaign-logo-bar__logo {
    width: 118px;
    height: 50px;
  }
}

/* =========================================================================
   Hero Section
   ========================================================================= */

.campaign-hero {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.campaign-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.campaign-hero__bg picture,
.campaign-hero__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.campaign-hero__inner {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 64px 90px;
  text-align: center;
}

.campaign-hero__logo img {
  display: block;
  max-width: 100%;
  height: auto;
}

.campaign-hero__title {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 46px;
  line-height: 1.5;
  color: #fff;
  text-align: center;
}

.campaign-hero__subtitle {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 34px;
  color: #fff;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .campaign-hero {
    height: 200px;
  }

  .campaign-hero__inner {
    padding: 24px;
  }

  .campaign-hero__title {
    font-size: 26px;
  }

  .campaign-hero__subtitle {
    font-size: 22px;
  }
}

/* =========================================================================
   Form Section
   ========================================================================= */

.campaign-form__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 90px 32px;
  box-sizing: border-box;
}

@media screen and (max-width: 767px) {
  .campaign-form__inner {
    padding: 0 24px 32px;
  }
}

/* =========================================================================
   Offer Section
   ========================================================================= */

.campaign-offer__inner {
  display: flex;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 90px;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  box-sizing: border-box;
}

/* Title + Subtitle share a wrapper */
.campaign-offer__header {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.campaign-offer__title,
.campaign-offer__title p {
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: normal;
  margin: 0;
}

.campaign-offer__subtitle {
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 27px;
  text-decoration-line: line-through;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.00);
  margin: 0;
}

/* Feature grid */
.campaign-offer__features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
}

.campaign-offer__feature-item {
  display: flex;
  padding: 24px;
  align-items: center;
  gap: 16px;
  border-radius: 2px;
  background: #19AFDD;
}

.campaign-offer__feature-icon {
  width: 32px;
  height: 32px;
  aspect-ratio: 1 / 1;
  flex-shrink: 0;
}

.campaign-offer__feature-title {
  flex: 1 0 0;
  color: #fff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.00);
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: normal;
}

/* What's Included accordion */
.campaign-offer__included {
  display: flex;
  width: 100%;
  max-width: 1260px;
  padding: 24px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-radius: 2px;
  border: 1px solid #D1D5DB;
  background: #fff;
  box-sizing: border-box;
}

.campaign-offer__included-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 26px;
  text-align: left;
}

.campaign-offer__included-arrow {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.campaign-offer__included-arrow.is-open {
  transform: rotate(180deg);
}

.campaign-offer__included-content,
.campaign-offer__included-content p {
  width: 100%;
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
  margin: 0;
}

.campaign-offer__included-content[hidden] {
  display: none;
}

/* ---- Mobile ---- */
@media screen and (max-width: 767px) {
  .campaign-offer__inner {
    padding: 32px 24px;
    gap: 24px;
  }

  .campaign-offer__title,
  .campaign-offer__title p {
    font-size: 24px;
  }

  .campaign-offer__subtitle {
    font-size: 16px;
    line-height: normal;
  }

  .campaign-offer__features {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .campaign-offer__feature-item {
    padding: 16px;
    align-self: stretch;
  }

  .campaign-offer__feature-icon {
    width: 24px;
    height: 24px;
  }

  .campaign-offer__feature-title {
    font-size: 13px;
  }

  .campaign-offer__included-trigger {
    font-size: 12px;
    line-height: 26px;
  }

  .campaign-offer__included-content,
  .campaign-offer__included-content p {
    font-size: 12px;
  }
}

/* =========================================================================
   Minimal Footer
   ========================================================================= */

.campaign-footer--minimal .site-footer .row > *:not(:last-child) {
  display: none !important;
}

.campaign-footer--minimal .site-footer .container {
  padding-top: 20px;
}

/* =========================================================================
   Legal / Disclaimer Section
   ========================================================================= */

.campaign-legal__inner {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 90px 32px;
  box-sizing: border-box;
}

.campaign-legal__content {
  display: flex;
  width: 100%;
  max-width: 1260px;
  padding: 24px 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  border-top: 1px solid #D1D5DB;
  background: #fff;
  box-sizing: border-box;
}

.campaign-legal__content,
.campaign-legal__content p {
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 26px;
  margin: 0;
}

.campaign-legal__content sub {
  vertical-align: 0.55em;
  font-size: 10px;
}

@media screen and (max-width: 767px) {
  .campaign-legal__inner {
    padding: 0 24px 32px;
  }

  .campaign-legal__content {
    max-width: 100%;
    align-self: stretch;
  }

  .campaign-legal__content,
  .campaign-legal__content p {
    line-height: 18px;
  }
}
