/* UkraineInfo — HOMEPAGE sections (Phase 4, mockups/ukraineinfo-home-full-v1.html).
   Styles the dynamic shortcode output from mu-plugins/uki-home.php. Enqueued only
   on the front page. Consumes uki-tokens vars. Reversible: delete this file + its
   enqueue; the mu-plugin kill switch empties the sections independently. */

.uki-home-sec{ padding:50px 0; }
.uki-home__wrap,.uki-hero__wrap{ max-width:1180px; margin:0 auto; padding:0 28px; }

/* shared kicker + cover placeholders */
.uki-kicker{ display:block; font-family:var(--uki-sans); font-weight:600; font-size:12px;
  letter-spacing:.16em; text-transform:uppercase; color:var(--uki-gold); }
.uki-kicker--clay{ color:var(--uki-clay); }
.uki-cov{ display:block; overflow:hidden; }
.uki-cov img{ width:100%; height:100%; object-fit:cover; display:block; }
.uki-cov--ph{ background:linear-gradient(150deg,#2b3350,#1c2238); }
.uki-cov--somber{ background:linear-gradient(150deg,#2a2530,#191620); }

/* section head (mockup .section-head) */
.uki-sec-head{ display:flex; align-items:baseline; gap:16px; margin-bottom:26px; }
.uki-sec-head h2{ font-family:var(--uki-serif); font-weight:600; color:var(--uki-ink);
  font-size:27px; margin:0; white-space:nowrap; }
.uki-sec-rule{ flex:1; height:1px; background:var(--uki-line); }
.uki-sec-all{ font-family:var(--uki-sans); font-size:13.5px; font-weight:600; color:var(--uki-gold);
  white-space:nowrap; text-decoration:none; }
.uki-sec-all:hover{ text-decoration:underline; }

/* ===== SECTION 1 · slate HERO (full-bleed) ===== */
.uki-hero{ background:var(--uki-ink-2); color:#f3efe4;
  width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw; }
.uki-hero__wrap{ display:grid; grid-template-columns:1.05fr .95fr; gap:46px;
  align-items:center; padding-top:52px; padding-bottom:54px; }
.uki-hero__lead .uki-kicker{ margin-bottom:14px; }
.uki-hero__title{ font-family:var(--uki-serif); font-weight:600; color:#fff;
  font-size:clamp(30px,3.3vw,44px); line-height:1.12; margin:0 0 16px; }
.uki-hero__title a{ color:#fff !important; text-decoration:none; }
.uki-hero__title a:hover{ color:var(--uki-gold-soft) !important; }
.uki-hero__dek{ font-size:17px; line-height:1.6; color:#d7d2c4; max-width:44ch; margin:0 0 20px; }
.uki-hero__meta{ font-size:13px; color:#a9a394; letter-spacing:.03em; margin-bottom:20px; }
.uki-hero__read{ display:inline-flex; align-items:center; gap:9px; font-weight:600; font-size:15px;
  color:#f3e4bd !important; border-bottom:1px solid rgba(243,228,189,.4); padding-bottom:3px; text-decoration:none; }
.uki-hero__read:hover{ color:#fff !important; border-color:#fff; }
.uki-hero__cover{ position:relative; display:block; }
.uki-hero__cover .uki-cov,.uki-hero__cover .uki-cov img{ height:420px; width:100%; border-radius:3px; }
.uki-hero__cover .uki-cov{ box-shadow:0 18px 50px rgba(0,0,0,.45); }
.uki-hero__frame{ position:absolute; inset:9px; border:1px solid rgba(243,228,189,.32);
  border-radius:2px; pointer-events:none; }

/* ===== SECTION 2 · 3-story secondary row (slate, continues hero) ===== */
.uki-hero-secondary{ background:var(--uki-ink-2);
  width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw;
  border-top:1px solid var(--uki-line-d,rgba(255,255,255,.16)); }
.uki-hsec-grid{ display:grid; grid-template-columns:repeat(3,1fr); }
.uki-hsec{ padding:18px 26px; border-left:1px solid rgba(255,255,255,.16); }
.uki-hsec:first-child{ border-left:0; padding-left:0; }
.uki-hsec .uki-kicker{ color:var(--uki-gold); font-size:11px; }
.uki-hsec--clay .uki-kicker{ color:var(--uki-clay); }
.uki-hsec__title{ font-family:var(--uki-serif); font-size:17px; line-height:1.32; color:#ece7da !important;
  display:block; margin-top:7px; text-decoration:none; }
.uki-hsec__title:hover{ color:#fff !important; }

/* ===== SECTION 3 · events (reuses plugin .uki-card / .uki-events-grid) ===== */
.uki-home-events .uki-events-grid{ grid-template-columns:repeat(4,1fr); }

/* ===== SECTION 4 · vytynanka divider (full-bleed hairline + medallion) ===== */
.uki-home-divider{ width:100vw; position:relative; left:50%; right:50%; margin-left:-50vw; margin-right:-50vw;
  height:40px;
  background:
    url(vytynanka.svg?v=2) center/240px 40px no-repeat,
    linear-gradient(var(--uki-line),var(--uki-line)) center/100% 1px no-repeat; }

/* ===== SECTION 5 · news feed grid ===== */
.uki-feed-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; }
.uki-fcard{ display:flex; flex-direction:column; text-decoration:none; }
.uki-fcard .uki-cov{ aspect-ratio:3/2; border-radius:5px; margin-bottom:12px; background:var(--uki-ink); }
.uki-fcard .uki-kicker{ margin-bottom:8px; }
.uki-fcard__title{ font-family:var(--uki-serif); font-weight:600; font-size:19px; line-height:1.26;
  color:var(--uki-ink); margin:0 0 8px; }
.uki-fcard:hover .uki-fcard__title{ color:var(--uki-gold); }
.uki-fcard__dek{ font-size:14.5px; color:#4a4740; line-height:1.5; margin:0 0 10px; }
.uki-fcard__dt{ font-size:12px; color:var(--uki-muted); margin-top:auto; }

/* responsive (mockup breakpoints) */
@media (max-width:980px){
  .uki-hero__wrap{ grid-template-columns:1fr; gap:28px; padding-top:36px; padding-bottom:36px; }
  .uki-hero__cover .uki-cov,.uki-hero__cover .uki-cov img{ height:300px; }
  .uki-hsec-grid{ grid-template-columns:1fr; }
  .uki-hsec{ border-left:0; border-top:1px solid rgba(255,255,255,.16); padding:14px 0; }
  .uki-hsec:first-child{ border-top:0; }
  .uki-home-events .uki-events-grid,.uki-feed-grid{ grid-template-columns:repeat(2,1fr); }
}
@media (max-width:620px){
  .uki-home-events .uki-events-grid,.uki-feed-grid{ grid-template-columns:1fr; }
}

/* ===== SECTION 6 · Імміграція + Спільнота band (mockup .band) ===== */
.uki-home-band{ padding-top:0; }
.uki-home-band .uki-band{ display:grid; grid-template-columns:1fr 360px; gap:46px; align-items:start; }
.uki-stack{ display:grid; gap:18px; }
.uki-srow{ display:grid; grid-template-columns:160px 1fr; gap:18px; align-items:center;
  padding:14px 0; border-top:1px solid var(--uki-line); text-decoration:none; }
.uki-srow:first-of-type{ border-top:0; }
.uki-srow .uki-cov{ aspect-ratio:3/2; border-radius:4px; background:var(--uki-ink); }
.uki-srow__title{ font-family:var(--uki-serif); font-weight:600; font-size:18px; line-height:1.25;
  color:var(--uki-ink); margin:5px 0 6px; }
.uki-srow:hover .uki-srow__title{ color:var(--uki-gold); }
.uki-srow__dt{ font-size:12px; color:var(--uki-muted); }
.uki-community{ background:var(--uki-paper-2); border:1px solid var(--uki-line); border-radius:6px; padding:24px; }
.uki-community h3{ font-family:var(--uki-serif); font-size:21px; color:var(--uki-ink); margin:0 0 4px; }
.uki-community__em{ font-size:14.5px; color:var(--uki-muted); line-height:1.6; margin:0 0 16px; }
.uki-community__empty{ border:1px dashed var(--uki-line); border-radius:5px; padding:16px;
  font-size:14px; color:var(--uki-muted); line-height:1.55; background:#fff; }
.uki-community__empty a{ color:var(--uki-gold); font-weight:600; text-decoration:none; }
.uki-community__empty a:hover{ text-decoration:underline; }
@media (max-width:980px){ .uki-home-band .uki-band{ grid-template-columns:1fr; gap:34px; } }
@media (max-width:620px){ .uki-srow{ grid-template-columns:1fr; } }

/* ---- SUPPORT BANNER (Stand with Ukraine) ---------------------------------
   Full-bleed slate strip; art (banner-v2.jpg) is the background with the clean
   dark area on the LEFT holding the overlaid headline + gold button. */
.uki-support-banner{
  position:relative; width:100vw; margin-left:calc(50% - 50vw);
  min-height:360px; display:flex; align-items:center; overflow:hidden;
  background-color:var(--uki-ink-2,#1a2138);
  /* Wider outpainted art (banner-v2-extended, ~3:1) → full-bleed cover; the full
     tryzub sits within frame so it isn't clipped, and there's no seam/empty band. */
  background-size:cover; background-position:right center; background-repeat:no-repeat;
}
.uki-support-banner__scrim{ position:absolute; inset:0; z-index:1;
  background:linear-gradient(90deg, rgba(20,26,44,.94) 0%, rgba(20,26,44,.78) 40%, rgba(20,26,44,.30) 64%, rgba(20,26,44,0) 88%); }
.uki-support-banner__inner{ position:relative; z-index:2; padding:52px 28px; }
.uki-support-banner__kick{ display:block; font-size:12.5px; font-weight:600; letter-spacing:.18em;
  text-transform:uppercase; color:var(--uki-gold,#bf922c); margin-bottom:12px; }
.uki-support-banner__title{ font-family:var(--uki-serif,"Lora",Georgia,serif); font-weight:700;
  color:#fff; font-size:clamp(30px,4vw,48px); line-height:1.08; margin:0; }
.uki-support-banner__sub{ font-family:var(--uki-serif,"Lora",Georgia,serif); font-style:italic;
  color:#cbc5b6; font-size:18px; margin:8px 0 0; letter-spacing:.02em; }
.uki-support-banner__btn{ display:inline-block; margin-top:24px; background:var(--uki-gold,#bf922c);
  color:#23201a !important; border-radius:5px; padding:13px 28px; font-weight:600; font-size:15.5px;
  text-decoration:none; }
.uki-support-banner__btn:hover{ background:#d3a43a; color:#23201a !important; }
@media (max-width:620px){
  .uki-support-banner{ min-height:320px; background-position:74% center; }
  .uki-support-banner__scrim{ background:linear-gradient(180deg, rgba(20,26,44,.55) 0%, rgba(20,26,44,.86) 55%); }
  .uki-support-banner__inner{ padding:38px 22px; }
}
