/* Universal Hero (2 fields) v1.5 — title 30px, hero closer to header, hide post meta */
.uh2-hero{
  position:relative; color:#fff; background:#0b1422;
  width:100vw !important; max-width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  min-height:520px;
}
.uh2-hero__bg{ position:absolute; inset:0; background-size:cover !important; background-position:left center !important; opacity:.9; filter:saturate(1.05) contrast(1.02); }

/* Less top padding so the hero sits closer to the site header */
.uh2-hero__container{ position:relative; max-width:1200px; margin:0 auto; padding:24px 16px 112px; display:flex; justify-content:flex-end; }

.uh2-card{ background:#071423; padding:20px; border-radius:12px; box-shadow:0 6px 24px rgba(0,0,0,.35); width:100%; max-width:740px; }

/* H1 smaller (30px) and forced white */
.uh2-title{ margin:0 0 14px; color:#fff !important; font-weight:800; line-height:1.25; font-size:30px !important; }
.uh2-title, .uh2-title *{ color:#fff !important; }

/* Fields */
.uh2-actions{ display:flex; flex-wrap:wrap; gap:14px; align-items:center; }
.uh2-input,.uh2-select{ height:52px; border:0; border-radius:8px; background:#fff; color:#111; padding:0 16px; font-size:16px; flex:0 0 auto; }
.uh2-input{ min-width:230px; }
.uh2-select{ min-width:250px; }
.uh2-btn{ height:52px; padding:0 20px; border:0; border-radius:8px; font-weight:800; letter-spacing:.2px; background:#ff6a1a; color:#fff; cursor:pointer; }
.uh2-btn:hover{ background:#ff7f37; }
.uh2-btn:active{ background:#e85f16; }

/* Content wrapper */
.uh2-content-fix{ background:#fff; color:#111; border-radius:12px; box-shadow:0 1px 0 rgba(0,0,0,.03); padding:24px 16px; margin:30px auto 0; max-width:1100px; }
.uh2-content-fix h1,.uh2-content-fix h2,.uh2-content-fix h3,.uh2-content-fix h4,.uh2-content-fix h5,.uh2-content-fix h6{ color:#0b1422; }

/* Hide theme meta (e.g., "Leave a comment / Uncategorized / By admin") when hero is enabled */
.uh2-hero-on .entry-meta,
.uh2-hero-on .posted-on,
.uh2-hero-on .byline,
.uh2-hero-on .cat-links,
.uh2-hero-on .tags-links,
.uh2-hero-on .comments-link{ display:none !important; }

/* Hide theme H1 to avoid duplicates */
.uh2-hero-on .entry-title,
.uh2-hero-on .post-title,
.uh2-hero-on .single-post .entry-header h1{ display:none !important; }

@media (max-width:900px){
  .uh2-hero__container{ justify-content:center; padding:20px 16px 88px; }
  .uh2-card{ max-width:660px; }
  .uh2-hero{ min-height:460px; }
}
