/* NzehTunes Core - Frontend Grid/Card Styles */

.nzeh-grid { display: grid; gap: 24px; margin: 0; }
.nzeh-grid.cols-6 { grid-template-columns: repeat(6, 1fr); }
.nzeh-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.nzeh-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1024px) {
  .nzeh-grid.cols-6 { grid-template-columns: repeat(3, 1fr); }
  .nzeh-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .nzeh-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .nzeh-grid.cols-6, .nzeh-grid.cols-4, .nzeh-grid.cols-3 { grid-template-columns: repeat(1, 1fr); }
}

.nzeh-badge {
  display: inline-block; font: 600 11px/1 'Inter', sans-serif; letter-spacing: .04em;
  text-transform: uppercase; color: #09051A; background: #F5A900;
  padding: 5px 10px; border-radius: 20px; margin-bottom: 10px;
}
.nzeh-link-gold {
  color: #F5A900; font: 600 14px 'Inter', sans-serif; text-decoration: none;
  display: inline-block; margin-top: 8px; transition: color .2s ease;
}
.nzeh-link-gold:hover { color: #FFC533; }

/* Song card */
.nzeh-song-card { display: block; text-decoration: none; }
.nzeh-song-thumb {
  position: relative; display: block; border-radius: 14px; overflow: hidden;
  aspect-ratio: 4/3; background: #170726;
}
.nzeh-song-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.nzeh-song-card:hover .nzeh-song-thumb img { transform: scale(1.06); }
.nzeh-play-icon {
  position: absolute; inset: 0; margin: auto; width: 46px; height: 46px;
  background: rgba(245,169,0,.92); border-radius: 50%; color: #09051A;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  transition: background .2s ease;
}
.nzeh-song-card:hover .nzeh-play-icon { background: #F5A900; }
.nzeh-duration {
  position: absolute; right: 8px; bottom: 8px; background: rgba(5,7,22,.75);
  color: #fff; font: 600 11px 'Inter', sans-serif; padding: 2px 8px; border-radius: 6px;
}
.nzeh-song-info { padding-top: 12px; }
.nzeh-song-info h4 { margin: 0 0 4px; font: 700 16px 'Playfair Display', serif; }
.nzeh-song-info h4 a { color: #2A2438; text-decoration: none; }
.nzeh-song-info h4 a:hover { color: #170726; }
.nzeh-artist-name { margin: 0; font: 500 13px 'Inter', sans-serif; color: #6B6475; }

/* Artist card */
.nzeh-artist-card {
  background: #fff; border: 1px solid #EEE2D0; border-radius: 16px; overflow: hidden;
  text-align: left; transition: box-shadow .25s ease, transform .25s ease;
}
.nzeh-artist-card:hover { box-shadow: 0 14px 34px rgba(23,7,38,.12); transform: translateY(-3px); }
.nzeh-artist-card .nzeh-artist-img { aspect-ratio: 1/1; overflow: hidden; }
.nzeh-artist-card .nzeh-artist-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nzeh-artist-card .nzeh-artist-body { padding: 16px 18px 20px; }
.nzeh-artist-card h4 { margin: 0 0 6px; font: 700 17px 'Playfair Display', serif; }
.nzeh-artist-card h4 a { color: #2A2438; text-decoration: none; }
.nzeh-artist-card p { margin: 0; font: 400 13px/1.5 'Inter', sans-serif; color: #6B6475; }

/* Event card */
.nzeh-event-card {
  background: #fff; border: 1px solid #EEE2D0; border-radius: 16px; overflow: hidden;
  position: relative; transition: box-shadow .25s ease, transform .25s ease;
}
.nzeh-event-card:hover { box-shadow: 0 14px 34px rgba(23,7,38,.12); transform: translateY(-3px); }
.nzeh-event-card .nzeh-event-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #170726; }
.nzeh-event-card .nzeh-event-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nzeh-date-badge {
  position: absolute; top: 10px; left: 10px; background: #fff; border-radius: 8px;
  padding: 6px 10px; text-align: center; font-family: 'Inter', sans-serif; line-height: 1.1;
  color: #170726; box-shadow: 0 4px 10px rgba(0,0,0,.15);
}
.nzeh-date-badge .d { display:block; font-weight: 800; font-size: 16px; }
.nzeh-date-badge .m { display:block; font-weight: 600; font-size: 10px; letter-spacing: .05em; color: #F5A900; }
.nzeh-event-body { padding: 16px 18px 20px; }
.nzeh-event-body h4 { margin: 0 0 6px; font: 700 17px 'Playfair Display', serif; }
.nzeh-event-body h4 a { color: #2A2438; text-decoration: none; }
.nzeh-event-meta { margin: 0 0 10px; font: 400 13px 'Inter', sans-serif; color: #6B6475; }

/* Article card */
.nzeh-article-card { background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid #EEE2D0; transition: box-shadow .25s ease, transform .25s ease; }
.nzeh-article-card:hover { box-shadow: 0 14px 34px rgba(23,7,38,.12); transform: translateY(-3px); }
.nzeh-article-img { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #170726; }
.nzeh-article-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.nzeh-article-card:hover .nzeh-article-img img { transform: scale(1.05); }
.nzeh-article-body { padding: 16px 18px 20px; }
.nzeh-article-body h4 { margin: 0 0 8px; font: 700 17px 'Playfair Display', serif; }
.nzeh-article-body h4 a { color: #2A2438; text-decoration: none; }
.nzeh-article-body p { margin: 0; font: 400 13.5px/1.6 'Inter', sans-serif; color: #6B6475; }

.nzeh-badge-overlay { position: absolute; top: 12px; left: 12px; margin-bottom: 0; }
.nzeh-play-icon-sm {
  position: absolute; inset: 0; margin: auto; width: 40px; height: 40px;
  background: rgba(245,169,0,.92); border-radius: 50%; color: #09051A;
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}

/* Featured stories grid: 1 large hero card + 3 regular cards */
.nzeh-stories-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 24px; }
@media (max-width: 1024px) { .nzeh-stories-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .nzeh-stories-grid { grid-template-columns: 1fr; } }
.nzeh-story-hero {
  position: relative; display: flex; align-items: flex-end; min-height: 320px;
  border-radius: 16px; background-size: cover; background-position: center;
  text-decoration: none; overflow: hidden;
}
.nzeh-story-hero::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(5,7,22,.92) 10%, rgba(5,7,22,.35) 70%, rgba(5,7,22,.1));
}
.nzeh-story-overlay { position: relative; padding: 24px; z-index: 1; }
.nzeh-story-overlay h3 { color: #fff; font: 700 21px 'Playfair Display', serif; margin: 10px 0 12px; line-height: 1.3; }

/* Mini social row (Meet Ministers homepage variant) */
.nzeh-mini-social { display: flex; gap: 10px; margin-top: 10px; }
.nzeh-mini-social a, .nzeh-mini-social-link {
  width: 28px; height: 28px; border-radius: 50%; background: #170726;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  transition: background .2s ease;
}
.nzeh-mini-social a svg, .nzeh-mini-social-link svg { width: 12px; height: 12px; fill: #fff; }
.nzeh-mini-social a:hover, .nzeh-mini-social-link:hover { background: #F5A900; }
.nzeh-mini-social a:hover svg, .nzeh-mini-social-link:hover svg { fill: #09051A; }

/* Newsletter form */
.nzeh-newsletter-form { display: flex; gap: 10px; flex-wrap: wrap; }
.nzeh-newsletter-form input[type="email"] {
  flex: 1 1 260px; padding: 14px 18px; border-radius: 10px; border: 1px solid #EEE2D0;
  font: 400 14px 'Inter', sans-serif; min-width: 0;
}
.nzeh-newsletter-form button {
  background: #F5A900; color: #09051A; border: none; padding: 14px 26px; border-radius: 10px;
  font: 700 14px 'Inter', sans-serif; cursor: pointer; transition: background .2s ease;
}
.nzeh-newsletter-form button:hover { background: #FFC533; }
.nzeh-newsletter-success { color: #F5A900; font: 600 14px 'Inter', sans-serif; }

.nzeh-empty-state { color: #6B6475; font: 400 14px 'Inter', sans-serif; padding: 20px 0; }

/* Submission forms */
.nzeh-submission-form { display: flex; flex-direction: column; gap: 18px; }
.nzeh-submission-form label {
  display: flex; flex-direction: column; gap: 8px; font: 600 13.5px 'Inter', sans-serif; color: #2A2438;
}
.nzeh-submission-form input[type="text"],
.nzeh-submission-form input[type="email"],
.nzeh-submission-form input[type="url"],
.nzeh-submission-form input[type="date"],
.nzeh-submission-form input[type="file"],
.nzeh-submission-form textarea {
  font: 400 14px 'Inter', sans-serif; padding: 12px 14px; border: 1px solid #EEE2D0; border-radius: 8px;
  background: #fff; color: #2A2438;
}
.nzeh-submission-form textarea { resize: vertical; }
.nzeh-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 620px) { .nzeh-form-row { grid-template-columns: 1fr; } }
.nzeh-checkbox-label { flex-direction: row !important; align-items: center; gap: 10px !important; font-weight: 400 !important; }
.nzeh-checkbox-label input { width: auto; }
.nzeh-form-submit {
  background: #F5A900; color: #09051A; border: none; padding: 15px 28px; border-radius: 8px;
  font: 700 15px 'Inter', sans-serif; cursor: pointer; align-self: flex-start; transition: background .2s ease;
}
.nzeh-form-submit:hover { background: #FFC533; }
.nzeh-form-success {
  background: #FFF9EF; border: 1px solid #EEE2D0; border-radius: 12px; padding: 30px; text-align: center;
}
.nzeh-form-success h3 { font: 700 22px 'Playfair Display', serif; color: #170726; margin: 0 0 10px; }
.nzeh-form-success p { color: #6B6475; font: 400 14px 'Inter', sans-serif; margin: 0; }

/* Directory (archive) layout */
.nzeh-filter-bar { display: flex; gap: 12px; flex-wrap: wrap; background: #fff; border: 1px solid #EEE2D0; border-radius: 12px; padding: 16px; margin-bottom: 30px; }
.nzeh-filter-bar input, .nzeh-filter-bar select {
  flex: 1 1 200px; padding: 12px 14px; border: 1px solid #EEE2D0; border-radius: 8px; font: 400 14px 'Inter', sans-serif;
}
.nzeh-directory-layout { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.nzeh-directory-main { flex: 1 1 65%; min-width: 0; }
.nzeh-directory-sidebar { flex: 1 1 28%; display: flex; flex-direction: column; gap: 20px; min-width: 260px; }
.nzeh-directory-heading { font: 700 22px 'Playfair Display', serif; color: #170726; margin: 0 0 20px; }
.nzeh-sidebar-box { background: #fff; border: 1px solid #EEE2D0; border-radius: 14px; padding: 22px 20px; }
.nzeh-sidebar-box h4 { font: 700 15px 'Playfair Display', serif; color: #170726; margin: 0 0 14px; }
.nzeh-sidebar-box p { color: #6B6475; font-size: 13px; line-height: 1.6; margin: 0 0 14px; }
.nzeh-sidebar-dark { background: #170726; }
.nzeh-sidebar-dark h4, .nzeh-sidebar-dark p { color: #fff; }
.nzeh-sidebar-dark p { color: #D9D6E5; }
.nzeh-sidebar-list { list-style: none; margin: 0; padding: 0; }
.nzeh-sidebar-list li a {
  display: flex; justify-content: space-between; padding: 8px 0; color: #2A2438; text-decoration: none; font-size: 13.5px;
  border-bottom: 1px solid #F5F0E6;
}
.nzeh-sidebar-list li a span { color: #F5A900; font-weight: 700; }
.nzeh-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 30px; flex-wrap: wrap; }
.nzeh-pagination .page-numbers {
  padding: 8px 14px; border: 1px solid #EEE2D0; border-radius: 8px; text-decoration: none; color: #2A2438; font: 600 13px 'Inter', sans-serif;
}
.nzeh-pagination .page-numbers.current { background: #F5A900; border-color: #F5A900; color: #09051A; }

/* Single minister */
.nzeh-minister-hero { background: #09051A; }
.nzeh-minister-hero-inner { display: flex; gap: 40px; align-items: center; max-width: 1200px; margin: 0 auto; padding: 60px 5%; flex-wrap: wrap; }
.nzeh-minister-photo { flex: 0 0 280px; border-radius: 16px; overflow: hidden; }
.nzeh-minister-photo img { width: 100%; display: block; }
.nzeh-minister-info { flex: 1 1 400px; color: #fff; }
.nzeh-minister-info h1 { font: 700 34px 'Playfair Display', serif; color: #fff; margin: 12px 0 6px; }
.nzeh-minister-role { color: #F5A900; font: 600 14px 'Inter', sans-serif; margin: 0 0 14px; }
.nzeh-minister-intro { color: #D9D6E5; font-size: 14px; line-height: 1.7; max-width: 560px; }
.nzeh-minister-meta-cards { display: flex; gap: 24px; flex-wrap: wrap; margin: 20px 0; }
.nzeh-minister-meta-cards div { display: flex; flex-direction: column; gap: 4px; }
.nzeh-minister-meta-cards span { color: #9B96AC; font-size: 12px; }
.nzeh-minister-meta-cards strong { color: #fff; font-size: 14px; }
.nzeh-minister-actions { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.nzeh-mini-social-link {
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.nzeh-minister-stats {
  max-width: 1100px; margin: 0 auto -40px; background: #170726; border-radius: 16px; padding: 26px 5%;
  display: flex; justify-content: space-around; flex-wrap: wrap; gap: 16px; position: relative; top: -30px;
}
.nzeh-minister-stats .nzeh-stat { text-align: center; color: #fff; }
.nzeh-minister-stats .nzeh-stat strong { display: block; font: 700 20px 'Playfair Display', serif; color: #F5A900; }
.nzeh-minister-stats .nzeh-stat span { font-size: 12px; color: #D9D6E5; }
.nzeh-minister-body { display: flex; gap: 30px; max-width: 1200px; margin: 0 auto; padding: 20px 5% 50px; flex-wrap: wrap; }
.nzeh-minister-main { flex: 1 1 65%; min-width: 0; }
.nzeh-minister-main h2 { font: 700 22px 'Playfair Display', serif; color: #170726; margin: 0 0 16px; }
.nzeh-minister-bio p { color: #4A4453; font-size: 14.5px; line-height: 1.8; margin-bottom: 14px; }
.nzeh-minister-sidebar { flex: 1 1 28%; display: flex; flex-direction: column; gap: 20px; min-width: 260px; }
.nzeh-info-list { list-style: none; margin: 0; padding: 0; }
.nzeh-info-list li { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #F5F0E6; font-size: 13px; }
.nzeh-info-list li span { color: #6B6475; }
.nzeh-info-list li strong { color: #170726; }
.nzeh-info-list-dark li { border-bottom-color: rgba(255,255,255,.1); }
.nzeh-info-list-dark li a { color: #F5A900; text-decoration: none; font-weight: 700; }
.nzeh-minister-section { max-width: 1200px; margin: 0 auto; padding: 20px 5% 50px; }
.nzeh-minister-section h2 { font: 700 22px 'Playfair Display', serif; color: #170726; margin: 0 0 20px; }

/* Mood tiles (songs archive) */
.nzeh-mood-tile {
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-decoration: none;
  background: #fff; border: 1px solid #EEE2D0; border-radius: 12px; padding: 20px 12px; text-align: center;
  transition: box-shadow .2s ease, transform .2s ease;
}
.nzeh-mood-tile:hover { box-shadow: 0 10px 24px rgba(23,7,38,.1); transform: translateY(-2px); }
.nzeh-mood-tile strong { color: #170726; font: 700 13.5px 'Inter', sans-serif; }
.nzeh-mood-tile span { color: #F5A900; font: 600 12px 'Inter', sans-serif; }

/* Single song hero */
.nzeh-song-hero { background: #09051A; }
.nzeh-song-hero-inner { display: flex; gap: 36px; align-items: center; max-width: 1100px; margin: 0 auto; padding: 60px 5%; flex-wrap: wrap; }
.nzeh-song-hero-art { flex: 0 0 220px; border-radius: 14px; overflow: hidden; }
.nzeh-song-hero-art img { width: 100%; display: block; }
.nzeh-song-hero-info { flex: 1 1 400px; }
.nzeh-song-hero-info h1 { font: 700 30px 'Playfair Display', serif; color: #fff; margin: 10px 0 6px; }

/* Blog */
.nzeh-pill-row { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 30px; }
.nzeh-pill {
  padding: 8px 18px; border: 1px solid #EEE2D0; border-radius: 20px; text-decoration: none; color: #2A2438;
  font: 600 13px 'Inter', sans-serif; background: #fff;
}
.nzeh-pill.active, .nzeh-pill:hover { background: #F5A900; border-color: #F5A900; color: #09051A; }
.nzeh-featured-post { display: flex; gap: 24px; background: #fff; border: 1px solid #EEE2D0; border-radius: 16px; overflow: hidden; margin-bottom: 30px; flex-wrap: wrap; }
.nzeh-featured-post-img { flex: 1 1 320px; display: block; }
.nzeh-featured-post-img img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; display: block; }
.nzeh-featured-post-body { flex: 1 1 320px; padding: 24px 24px 24px 0; }
.nzeh-featured-post-body h2 { font: 700 22px 'Playfair Display', serif; margin: 10px 0; }
.nzeh-featured-post-body h2 a { color: #170726; text-decoration: none; }
.nzeh-featured-post-body p { color: #6B6475; font-size: 13.5px; line-height: 1.6; }
.nzeh-author-box { display: flex; gap: 14px; align-items: center; background: #FBF6EF; border-radius: 12px; padding: 18px 20px; margin-top: 30px; }
.nzeh-author-box strong { color: #170726; font-size: 14px; }
.nzeh-author-box p { color: #6B6475; font-size: 12.5px; margin: 4px 0 0; }
.nzeh-map-embed iframe { width: 100%; height: 300px; border-radius: 12px; border: none; }

/* Responsive safety net: every multi-column layout on this site uses an
   explicit desktop width (e.g. 54%/42%, 31% x3, 14% x6) so columns sit
   side-by-side. Elementor's width control has no automatic per-breakpoint
   value, so without this override those percentages would carry unchanged
   into narrow viewports instead of stacking to full width. */
@media (max-width: 1024px) {
  .e-con > .e-con-inner > .e-con,
  .e-con.e-con-full,
  .e-con.e-con-boxed,
  [class*="elementor-element-"].e-con {
    --width: 100% !important;
  }
}
