/* Custom styles for Continental promo page */

.conti-promo {
  --conti-yellow: #ffa500;
  font-family: "Montserrat", sans-serif;
  color: #000000;
  line-height: 1.5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0px 16px 16px 16px;
}

.conti-promo h1,
.conti-promo h2,
.conti-promo h3,
.conti-promo h4,
.conti-promo h5,
.conti-promo h6 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5em;
}

.conti-promo .text-amber-500 {
  color: var(--conti-yellow);
}

.conti-promo .bg-amber-500 {
  background-color: var(--conti-yellow);
}

.conti-promo .hover\:bg-amber-600:hover {
  background-color: #e69500;
}

/* Custom button styles */
.conti-promo a[role="button"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.conti-promo a[role="button"]:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.conti-promo a[role="button"]:active {
  transform: translateY(0px);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* Step number styling */
.conti-promo .text-5xl.text-amber-500 {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
  .conti-promo .text-5xl.text-amber-500 {
    font-size: 2.5rem;
  }

  .conti-promo .container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Image enhancement */
.conti-promo img {
  max-width: 100%;
  height: auto;
}

/* Black box with cash withdrawal instructions */
.conti-promo .bg-black {
  background-color: #000000;
  border-radius: 0.5rem;
}

/* Icon styling in the black box */
.conti-promo .bg-black img {
  filter: brightness(1.1);
}

/* Hero section */
.conti-promo .hero-section {
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .conti-promo .hero-section {
    flex-direction: row;
    align-items: center;
  }
}

.conti-promo .hero-image {
  width: 100%;
}

.conti-promo .step-content-list p {
  margin-bottom: 0rem;
}

.conti-promo .step-content-list p:last-child {
  margin-bottom: 1rem;
}

.conti-promo .step-content-list {
  display: flex;
  flex-direction: column;
}

@media (min-width: 768px) {
  .conti-promo .hero-image {
    width: 45%;
    padding-right: 2rem;
  }

  .conti-promo .hero-content {
    width: 55%;
  }
}

.conti-promo .title-blik {
  color: var(--conti-yellow);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.conti-promo .title-main {
  font-size: 2.25rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .conti-promo .title-main {
    font-size: 2.5rem;
  }
}

.conti-promo .promotion-text {
  font-size: 16px;
  margin-bottom: 1.5rem;
}

/* CTA Button */
.conti-promo .cta-button {
  display: inline-block;
  background-color: var(--conti-yellow);
  color: #000000;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
  border-radius: 2rem;
  text-decoration: none;
  transition: background-color 0.2s;
  cursor: pointer;
}

.conti-promo .cta-button:hover {
  background-color: #e69500;
}

.conti-promo .cta-button:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.5);
}

.conti-promo .disclaimer {
  font-size: 0.75rem;
  margin-top: 0.5rem;
}

/* Main heading */
.conti-promo .heading-main {
  font-size: 40px;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.conti-promo .heading-sub {
  font-size: 28px;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

/* Steps section */
.conti-promo .step {
  display: flex;
  margin-bottom: 3rem;
}

.conti-promo .step-number {
  font-size: 4.5rem;
  font-weight: 400;
  color: var(--conti-yellow);
  margin-right: 5rem;
  line-height: 1;
  width: 3rem;
  flex-shrink: 0;
}

.conti-promo .step-content {
  flex-grow: 1;
}

.conti-promo .step-text-content-link {
  color: #000000;
  text-decoration: none;
}

.conti-promo .step-title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 1rem;
}

.conti-promo .step-text-content {
  font-size: 14px;
  margin-bottom: 1rem;
}

/* Cash withdrawal section */
.conti-promo .cash-withdrawal {
  background-color: #000000;
  color: white;
  padding: 2rem;
  border-radius: 1rem;
  margin-bottom: 3rem;
}

.conti-promo .withdrawal-steps {
  display: grid;
  justify-items: center;
  align-items: center;
  justify-content: center;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .conti-promo .withdrawal-steps {
    grid-template-columns: repeat(5, 1fr);
  }
}

/* Center last item when it's alone in the last row (mobile view) */
@media (max-width: 767px) {
  .conti-promo .withdrawal-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .conti-promo .withdrawal-steps .withdrawal-step:last-child:nth-child(odd) {
    grid-column: 1 / span 2;
    justify-self: center;
  }
}

.conti-promo .withdrawal-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.conti-promo .withdrawal-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 0.75rem;
}

.conti-promo .withdrawal-text {
  font-size: 1rem;
}
