/*
Theme Name: ZALA Studio
Theme URI: https://zalastudio.getzala.com
Author: In Creates Out, LLC
Author URI: https://getzala.com
Description: ZALA Studio · child theme of Twenty Twenty-Five. Blog + video for the ZALA platform. Dark editorial palette, single ZALA-blue accent, Montserrat + Inter + Fraunces + JetBrains Mono. Matches getzala.com aesthetic exactly.
Template: twentytwentyfive
Version: 1.0.0
License: Proprietary
Text Domain: zala-studio
*/

/* ============================================================
   ZALA STUDIO · Child theme styles
   Most design tokens live in theme.json. This file is for:
   - Components not expressible as block styles (post cards, video cards, etc.)
   - Overrides that need full CSS power
   ============================================================ */

/* ── Reset weight defaults ── */
html, body { font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; font-weight: 300; background: #070809; color: #fff; }

/* ── Heading defaults (overrides Twenty Twenty-Five) ── */
.wp-block-post-title,
.wp-block-heading {
  font-family: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.028em;
  line-height: 0.92;
  color: #fff;
}

/* ── Card component (used in archive + home grid) ── */
.zs-card {
  background: #0a0c10;
  border: 1px solid #1c2029;
  transition: transform .2s, border-color .2s;
  position: relative;
}
.zs-card:hover { transform: translateY(-2px); border-color: #13bbe2; }
.zs-card .zs-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #070809;
}
.zs-card .zs-thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.zs-card:hover .zs-thumb img { transform: scale(1.04); }
.zs-card .zs-duration {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(7,8,9,.8); color: #fff;
  padding: 4px 8px;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .18em; text-transform: uppercase;
}
.zs-card .zs-play {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  background: #13bbe2; color: #070809;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  opacity: 0; transition: opacity .2s;
}
.zs-card:hover .zs-play { opacity: 1; }
.zs-card .zs-meta {
  padding: 18px 20px 0;
  display: flex; justify-content: space-between;
  font-family: 'JetBrains Mono', monospace; font-size: 10px;
  letter-spacing: .32em; text-transform: uppercase;
  color: #6e7280;
}
.zs-card .zs-cat { color: #13bbe2; }
.zs-card .zs-title {
  padding: 8px 20px 0;
  font-family: 'Montserrat', sans-serif; font-weight: 900;
  font-size: clamp(18px, 1.6vw, 22px);
  text-transform: uppercase;
  letter-spacing: -.012em; line-height: 1.05;
  margin: 0; color: #fff;
}
.zs-card .zs-excerpt {
  padding: 12px 20px 24px;
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 14px; line-height: 1.55;
  color: #a8acb7; margin: 0;
}

/* ── Single-post body styles ── */
.wp-block-post-content {
  font-family: 'Inter', sans-serif; font-weight: 300;
  font-size: 17px; line-height: 1.65;
  color: #a8acb7;
  max-width: 720px; margin: 0 auto;
}
.wp-block-post-content p { margin: 0 0 22px; }
.wp-block-post-content p strong { color: #fff; font-weight: 500; }
.wp-block-post-content p em {
  font-family: 'Fraunces', Georgia, serif;
  font-style: italic; color: #13bbe2;
}
.wp-block-post-content a {
  color: #13bbe2;
  border-bottom: 1px solid rgba(19,187,226,0.3);
  text-decoration: none;
}
.wp-block-post-content a:hover { border-bottom-color: #13bbe2; }

/* ── Video post body ── */
.zs-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  margin: 0 0 48px;
}
.zs-video-embed iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}

/* ── Kicker (matches getzala.com) ── */
.zs-kicker {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; font-weight: 500;
  letter-spacing: .42em; text-transform: uppercase;
  color: #13bbe2;
  display: inline-flex; align-items: center; gap: 14px;
}
.zs-kicker::before {
  content: ""; display: inline-block;
  width: 36px; height: 1px;
  background: #13bbe2;
}

/* ── Container ── */
.zs-wrap { max-width: 1280px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 48px); }

/* ── Editor-side · keep blocks readable in the visual editor ── */
.editor-styles-wrapper { background: #070809 !important; color: #fff !important; }
