/* ==========================================================================
   Aloha Friday — /aloha-friday subscribe page
   All sizes in px. Scoped to .af-* to avoid global conflicts.
   Accent: ocean teal #0d7377
   ========================================================================== */

/* --- Hero --- */
.af-hero {
  position: relative;
  border-radius: 80px 80px 80px 20px;
  overflow: hidden;
  margin: 10px 0 0;
  min-height: 260px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center center;
  background-color: #0d2a3a;
}
.af-hero-back {
  position: absolute;
  top: 34px;
  left: 38px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px 7px 12px;
  background: rgba(0,0,0,.42);
  color: #fff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  line-height: 1;
  transition: background .15s ease, transform .15s ease, border-color .15s ease;
}
.af-hero-back:hover,
.af-hero-back:focus {
  background: rgba(0,0,0,.62);
  color: #fff !important;
  border-color: rgba(255,255,255,.45);
  transform: translateX(-2px);
}
.af-hero-back i { font-size: 11px; opacity: .9; }
@media (max-width: 540px) {
  .af-hero-back { top: 24px; left: 26px; font-size: 12px; padding: 6px 12px 6px 10px; }
}
.af-hero-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 5% 30px;
  background: linear-gradient(0deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.3) 60%, transparent 100%);
}
.af-hero-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin: 0 0 8px;
}
.af-hero h1 {
  color: #fff;
  font-size: 34px;
  margin: 0 0 10px;
  text-shadow: 0 2px 8px rgba(0,0,0,.45);
  line-height: 1.15;
}
.af-hero p {
  color: rgba(255,255,255,.92);
  font-size: 19px;
  margin: 0;
  max-width: 620px;
  text-shadow: 0 1px 4px rgba(0,0,0,.4);
  line-height: 1.5;
}
@media (min-width: 768px) {
  .af-hero { min-height: 360px; }
  .af-hero h1 { font-size: 44px; }
  .af-hero p { font-size: 21px; }
}

/* --- Intro --- */
.af-intro {
  margin: 28px 0 0;
  max-width: 760px;
}
.af-intro p {
  font-size: 18px;
  color: #444;
  line-height: 1.65;
  margin: 0 0 12px;
}

/* --- Perks grid (what you get) --- */
.af-perks {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 0;
}
@media (min-width: 720px) {
  .af-perks { grid-template-columns: repeat(4, 1fr); }
}
.af-perk {
  padding: 18px 16px;
  background: #f8f9fa;
  border-radius: 14px;
  border-top: 3px solid #0d7377;
  text-align: center;
}
.af-perk i {
  font-size: 22px;
  color: #0d7377;
  display: block;
  margin-bottom: 8px;
}
.af-perk h3 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 4px;
}
.af-perk p {
  font-size: 13px;
  color: #666;
  margin: 0;
  line-height: 1.45;
}

/* --- Subscribe box --- */
.af-subscribe-box {
  margin: 36px 0;
  background: linear-gradient(135deg, #0d7377 0%, #0a5e8c 100%);
  border-radius: 20px;
  padding: 36px 32px;
  text-align: center;
  color: #fff;
}
.af-subscribe-box h2 {
  font-size: 26px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 8px;
}
.af-subscribe-box p {
  font-size: 16px;
  color: rgba(255,255,255,.88);
  margin: 0 0 22px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.af-form {
  display: flex;
  gap: 10px;
  max-width: 460px;
  margin: 0 auto;
  flex-wrap: wrap;
  justify-content: center;
}
.af-form input[type="email"] {
  flex: 1;
  min-width: 220px;
  height: 48px !important;
  padding: 0 16px !important;
  font-size: 16px !important;
  font-family: inherit !important;
  border-radius: 999px !important;
  border: none !important;
  background: rgba(255,255,255,.95) !important;
  color: #1a1a1a !important;
  box-shadow: none !important;
  outline: none;
}
.af-form input[type="email"]::placeholder { color: #999; }
.af-form button {
  height: 48px;
  padding: 0 28px;
  background: #f3be51;
  color: #000;
  font-size: 15px;
  font-weight: 700;
  font-family: inherit;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  white-space: nowrap;
  transition: background .15s ease, transform .1s ease;
}
.af-form button:hover { background: #e0ab3a; transform: translateY(-1px); }
.af-form button:active { transform: translateY(0); }
.af-subscribe-note {
  font-size: 13px;
  color: rgba(255,255,255,.65);
  margin: 12px 0 0;
}
.af-success-msg {
  display: none;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  padding: 14px;
  background: rgba(255,255,255,.15);
  border-radius: 12px;
  margin: 0 auto;
  max-width: 460px;
}
.af-success-msg.is-visible { display: block; }

/* --- Preview section --- */
.af-preview-wrap {
  margin: 8px 0 36px;
}
.af-preview-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #0d7377;
  margin: 0 0 12px;
}
.af-preview-card {
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: 16px;
  overflow: hidden;
}
.af-preview-header {
  background: linear-gradient(135deg, #0d7377 0%, #0a5e8c 100%);
  padding: 18px 22px 16px;
  color: #fff;
}
.af-preview-header h4 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 3px;
}
.af-preview-header span {
  font-size: 13px;
  color: rgba(255,255,255,.75);
}
.af-preview-items {
  padding: 6px 0;
}
.af-preview-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 22px;
  border-bottom: 1px solid #f0f0f0;
}
.af-preview-item:last-child { border-bottom: none; }
.af-preview-item i {
  font-size: 16px;
  color: #0d7377;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  text-align: center;
}
.af-preview-item-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #999;
  display: block;
  margin-bottom: 2px;
}
.af-preview-item-text {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
}

/* --- Frequency badge --- */
.af-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: #e8f5f5;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #0d7377;
  margin-bottom: 20px;
}
.af-badge i { font-size: 11px; }

/* --- Section title --- */
.af-section-title {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  margin: 36px 0 6px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f0f0f0;
}

/* --- Related --- */
.af-related {
  margin: 10px 0 30px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 16px;
}
.af-related h3 {
  font-size: 17px;
  font-weight: 700;
  color: #333;
  margin: 0 0 14px;
}
.af-related-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.af-related-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.af-related-link:hover { border-color: #0d7377; color: #0d7377; }
.af-related-link i { font-size: 13px; }

/* --- Form control reset (defeat global site rules) --- */
.af-form input[type="email"] {
  height: 48px !important;
  background: rgba(255,255,255,.95) !important;
  border: none !important;
  border-radius: 999px !important;
  font-family: inherit !important;
  color: #1a1a1a !important;
  box-shadow: none !important;
}

/* --- Print --- */
@media print {
  .af-hero-back, .af-subscribe-box, .af-related { display: none; }
}
