/* Prize page styles - adapted from pattern_home.css */

/* Hero */
.hero {
  max-width: 650px;
  margin: 24px auto 32px auto;
  text-align: center;
  padding: 0 16px;
  width: 100%;
  box-sizing: border-box;
}
.hero-eyebrow {
  font-size: 14px;
  letter-spacing: 0.18em;
  color: #606060;
  text-transform: uppercase;
  margin-bottom: 12px;
  text-align: center;
  width: 100%;
}
.hero-title {
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 200;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
  margin: 0 0 32px 0;
  text-align: center;
  width: 100%;
}
.hero-subtitle {
  font-size: 18px;
  color: #3a3a3a;
  margin: 0 auto 20px auto;
  text-align: center;
  width: 100%;
}

/* CTA under hero (match pattern_home hero-cta) */
.hero-note {
  font-size: 14px;
  color: #606060;
  margin: 32px auto 10px auto;
  text-align: center;
  width: 100%;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color);
  color: #fff;
  border-radius: 10px;
  padding: 12px 18px;
  text-decoration: none;
  box-shadow: 0 2px 0 rgba(0,0,0,0.2);
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.hero-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  background: var(--primary-dark);
}

/* Benefits */
.benefits {
  max-width: 800px;
  margin: 24px auto 48px auto;
  padding: 0 16px;
  display: grid;
  row-gap: 24px;
}

.benefit-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  column-gap: 48px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 0 #d0d0d0;
  background: #fff;
  align-items: flex-start;
}

.benefit-icon {
  width: 180px;
  height: 180px;
  margin-top: auto;
  margin-bottom: auto;
  border: 1px solid #cfcfcf;
  border-radius: 16px;
  background-color: #f7f7f7;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.benefit-icon { background-image: var(--benefit-bg); }

.benefit-content {
  margin-top: auto;
  margin-bottom: auto;
}

.benefit-title {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0.05dm;
  margin: 0px 0 8px 0;
  grid-column: 2 / 3;
}

.benefit-text {
  font-size: 15px;
  color: #333;
  margin: 0;
  grid-column: 2 / 3;
}

@media (max-width: 575px) {
  .benefit-card { grid-template-columns: 1fr; }
  .benefit-icon { margin-left: auto; margin-right: auto; margin-bottom: 15px;}
  .benefit-title { width: 250px; text-align: center; margin-left: auto; margin-right: auto; }
  .benefit-content { margin-top: 16px; margin-bottom: 16px; align-items: center; }
}

@media (max-width: 700px) {
  .hero {
    margin: 16px auto 24px auto;
    padding: 0 12px;
  }
  
  .hero-title {
    font-size: clamp(18px, 5vw, 32px);
    margin: 0 0 24px 0;
  }
  
  .hero-subtitle {
    font-size: 16px;
    line-height: 1.4;
  }
  
  .hero-cta {
    padding: 10px 16px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero {
    margin: 12px auto 20px auto;
    padding: 0 8px;
  }
  
  .hero-title {
    font-size: clamp(16px, 6vw, 28px);
    margin: 0 0 20px 0;
  }
  
  .hero-subtitle {
    font-size: 15px;
    line-height: 1.5;
  }
  
  .hero-eyebrow {
    font-size: 12px;
  }
  
  .hero-note {
    font-size: 13px;
    margin: 24px auto 8px auto;
  }
}

/* Timeline */
.timeline {
  max-width: 500px;
  margin: 80px auto 80px auto;
  text-align: left;
  padding: 0 16px;
}

.section-title {
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.18em;
  margin: 16px 0 32px 0;
}

.section-note {
  text-align: center;
  font-size: 12px;
  color: #606060;
  margin-top: -24px;
  margin-bottom: 24px;
}

.timeline-list {
  list-style: disc;
  margin: 0 auto;
  line-height: 1.9;
  font-size: 20px;
  font-family: 'Inter', sans-serif;
}

/* Make bulleted list text smaller on small screens */
@media (max-width: 575px) {
  .timeline-list {
    font-size: 14px;
    line-height: 2.5;
    padding-left: 10px;
  }
}

/* Timeline links use theme blue */
.timeline-list a,
.timeline-list a:visited,
.timeline-list a:active {
  color: var(--primary-color);
  text-decoration: none;
}

.timeline-list a:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

/* Overview */
.overview {
  max-width: 1080px;
  margin: 40px auto;
  margin-bottom: 80px;
  padding: 0 16px;
}

.overview-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.overview-card {
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 0 #d0d0d0;
  padding: 16px;
  text-align: center;
}

.overview-card h4 {
  margin: 0 0 10px 0;
  font-weight: 700;
  font-size: 15px;
}

.overview-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #727272;
}

@media (max-width: 1100px) {
  .overview-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 800px) {
  .overview-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .overview-grid { grid-template-columns: 1fr; }
}

/* Terms accordion */
.terms {
  max-width: 600px;
  margin: 48px auto 64px auto;
  padding: 0 16px;
}

.accordion-item {
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 2px 0 #d0d0d0;
  margin-bottom: 14px;
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  text-align: center;
  background: #f7f7f7;
  border: none;
  padding: 14px 0px;
  font-weight: 500;
  letter-spacing: 0.02em;
  font-size: 14px;
  cursor: pointer;
  border-bottom: 1px solid #cfcfcf;
}

.accordion-content {
  display: none;
  padding: 16px;
  font-size: 12px;
  color: #222;
}

.accordion-item.active .accordion-content { display: block; }
