:root{
  --accent: #2563eb;
  --border: #e5e7eb;
  --muted: #6b7280;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    text-align: center;
    margin: 0;
    padding: 0;
  }
  
  header {
    background: #0d1b2a;
    color: white;
    padding: 2rem;
  }
  
  h1 {
    margin: 0;
  }
  
  #portfolio video {
    margin: 1rem;
    border: 2px solid #0d1b2a;
    border-radius: 5px;
  }

  .content-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    padding: 16px;
    margin-bottom: 20px;
  }
  
  .media-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
  }
  
  .thumb {
    width: 100%;
    border-radius: 12px;
    display: block;
  }
  
  .overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.55);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity 0.25s ease-in-out;
  }
  
  .overlay-content {
    text-align: center;
  }
  
  .price {
    display: block;
    font-size: 1.2rem;
    margin-bottom: 6px;
  }
  
  .unlock-btn {
    background: #2563eb;
    border: none;
    color: #fff;
    padding: 10px 16px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
  }
  
  .unlock-btn:hover {
    background: #1e40af;
  }
  
  .media-wrapper:hover .overlay {
    opacity: 0.9;
  }
  
  footer {
    margin-top: 2rem;
    padding: 1rem;
    background: #0d1b2a;
    color: white;
  }
  

  /* header actions: contact + auth */
  #header-actions {
    display: flex;
    gap: 10px;
    align-items: center;
  }

  .contactBtn {
    background: #2563eb;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: inline-block;
    transition: background 0.3s ease;
  }

  .contactBtn:hover {
    background: #1e40af;
  }

  /* FAA certification badge (image version) */
.cert-badge{
  display: inline-flex;
  align-items: center;
  margin-left: 10px;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

.cert-badge-img{
  height: 80px;      /* increased for better visibility */
  width: auto;
  display: block;
  border-radius: 6px; /* slight rounding helps PNG edges */
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
@media (max-width: 520px){
  .cert-badge-img{ height: 70px; }
}

/* -------- Empty-state landing + alert banner -------- */
.notice {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 14px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.notice.success {
  border-color: rgba(37,99,235,0.35);
  background: linear-gradient(90deg, rgba(37,99,235,0.08), rgba(255,255,255,1));
}

.pulse-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  color: #fff;
  background: var(--accent);
  box-shadow: 0 8px 18px rgba(37,99,235,0.25);
  animation: pulse 1.7s infinite;
}

.pulse-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #fff;
  opacity: 0.9;
}

@keyframes pulse {
  0%   { transform: scale(1);   box-shadow: 0 8px 18px rgba(37,99,235,0.25); }
  50%  { transform: scale(1.03); box-shadow: 0 12px 26px rgba(37,99,235,0.35); }
  100% { transform: scale(1);   box-shadow: 0 8px 18px rgba(37,99,235,0.25); }
}

.empty-hero {
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  margin: 14px 0;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.empty-hero h2 {
  margin: 0 0 6px 0;
  font-size: 22px;
}

.empty-hero p {
  margin: 8px 0;
  color: var(--muted);
  line-height: 1.55;
}

.empty-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover { opacity: .92; }

.btn-secondary {
  background: #eef2ff;
  color: #1f2937;
  border: 1px solid #dbeafe;
}

.btn-secondary:hover { opacity: .92; }

.blog-card {
  margin-top: 14px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.blog-card h3 { margin: 0 0 8px 0; }
.blog-card p { color: var(--muted); line-height: 1.65; margin: 10px 0; }

.kicker {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #111;
  background: #f3f4f6;
  padding: 6px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.meta-list {
  margin: 10px 0 0 16px;
  color: var(--muted);
}

/* =========================================================
   Portal landing (empty state) — mobile-first, scoped
   Targets ONLY the logged-in empty landing rendered into #contentList
   ========================================================= */

#contentList .empty-hero,
#contentList .blog-card,
#contentList .notice {
  text-align: left;            /* override body center */
}

#contentList .empty-hero,
#contentList .blog-card {
  margin: 14px 0;
  padding: 16px;
}

#contentList .empty-hero h2 {
  margin: 0 0 8px 0;
  font-size: 20px;
  line-height: 1.25;
}

#contentList .empty-hero p,
#contentList .blog-card p {
  line-height: 1.6;
}

/* CTA buttons — stacked with spacing on mobile */
#contentList .empty-cta-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}

#contentList .btn-primary,
#contentList .btn-secondary {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  justify-content: center;
  box-sizing: border-box;
}

/* Coming soon bullets — clean alignment */
#contentList .meta-list {
  margin: 10px 0 0 0;
  padding-left: 22px;
  list-style-position: outside;
}

/* Banner button should not look cramped on mobile */
#contentNotice .pulse-link {
  width: 100%;
  justify-content: center;
}

/* Slightly tighter padding on small phones */
@media (max-width: 420px) {
  #contentList .empty-hero,
  #contentList .blog-card {
    padding: 14px;
  }
}

/* Desktop/tablet: allow CTAs to be in a row */
@media (min-width: 700px) {
  #contentList .empty-cta-row {
    grid-template-columns: repeat(3, max-content);
    justify-content: start;
  }
  #contentList .btn-primary,
  #contentList .btn-secondary {
    width: auto;
  }
}

