/* Remove the theme's V-shaped cut under the header on pages with the new hero */
.header-mask { display: none !important; }

/* Interior-page hero + accordion FAQ, in Junk Master's brand
   (red #c5260e, near-black #111214, Lalezar headings, Titillium Web text). */
.jm-ihero { position: relative; z-index: 3; margin: 60px 0 56px; padding: 0 24px; }
.jm-ihero-wrap { max-width: 1312px; margin: 0 auto; }
.jm-ihero-card { position: relative; background: #111214; color: #fff; border-radius: 24px; overflow: hidden; }
.jm-ihero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.jm-ihero-card::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(17,18,20,.94) 0%, rgba(17,18,20,.82) 45%, rgba(17,18,20,.45) 100%); }
.jm-ihero-inner { position: relative; z-index: 2; padding: 56px 56px 60px; box-sizing: border-box; }
.jm-crumbs { font: 400 14px "Titillium Web", sans-serif; color: #5b5e66; margin: 0 0 14px 4px; }
.jm-crumbs a { color: #c5260e; text-decoration: none; }
.jm-crumbs a:hover { text-decoration: underline; }
.jm-eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 14px; font: 700 14px "Titillium Web", sans-serif;
  letter-spacing: .12em; text-transform: uppercase; color: #ff6a4d; }
.jm-eyebrow span { width: 30px; height: 3px; background: #ff6a4d; }
.jm-ihero .jm-ihero-title { font-family: "Lalezar", sans-serif; font-weight: 400; color: #fff; text-transform: uppercase;
  font-size: clamp(34px, 5vw, 60px); line-height: 1.05; max-width: 780px; margin: 0 0 18px; }
.jm-ihero-intro { max-width: 700px; margin: 0 0 28px; font-size: 18px; line-height: 1.55; color: rgba(255,255,255,.88); }
.jm-ihero-intro a { color: #fff; text-decoration: underline; }
.jm-ihero-cta { display: flex; flex-wrap: wrap; gap: 14px; }
.jm-cta { display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: 10px; text-decoration: none !important;
  font: 700 16px "Titillium Web", sans-serif; letter-spacing: .06em; text-transform: uppercase; transition: transform .15s ease, background-color .15s ease; }
.jm-cta:hover { transform: translateY(-1px); }
.jm-cta-call { background: #c5260e; color: #fff !important; box-shadow: 0 6px 22px rgba(197,38,14,.4); }
.jm-cta-call:hover { background: #a51f0b; }
.jm-cta-est { background: transparent; color: #fff !important; border: 2px solid rgba(255,255,255,.4); }
.jm-cta-est:hover { border-color: #fff; }

/* FAQ: open question cards, two columns */
.jm-faq2 { margin: 48px 0 40px; }
.jm-faq2 > h2, h2.jm-faq2-title { font-family: "Lalezar", sans-serif; font-weight: 400; text-align: center; color: #222429; margin: 48px 0 0; font-size: clamp(28px, 3.4vw, 42px); }
.jm-faq2 > h2 { margin-top: 0; }
.jm-faq2-wp { margin: 8px 0 56px; }
.jm-qa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; align-items: start; }
.jm-qa { background: #222429 url(/wp-content/themes/hooked-junk-master-denver/assets/images/background/background_dark-bg-white-3p.webp); background-attachment: fixed; color: #fff; border-radius: 16px; padding: 26px 28px 14px; box-shadow: 0 2px 8px rgba(0,0,0,.25); }
.jm-qa-q { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 14px; }
.jm-qa-q h3 { margin: 0; font: 700 20px/1.3 "Titillium Web", sans-serif; text-transform: none; letter-spacing: 0; color: #fff; }
.jm-arrow { flex: none; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 50%; background: #c5260e; color: #fff; }
.jm-qa-a { color: rgba(255,255,255,.88); }
.jm-qa-a p { margin: 0 0 14px; color: inherit; }
.jm-qa-a a { color: #fff; text-decoration: underline; }

@media (max-width: 640px) {
  .jm-ihero { margin: 30px 0 40px; padding: 0 14px; }
  .jm-ihero-card { border-radius: 18px; }
  .jm-ihero-inner { padding: 30px 20px 34px; }
  .jm-ihero-intro { font-size: 16px; }
  .jm-cta { flex: 1 1 100%; justify-content: center; }
  .jm-qa-grid { grid-template-columns: 1fr; }
  .jm-qa-q h3 { font-size: 17px; }
}

/* Category pages: service cards */
.jm-svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin: 28px 0 40px; }
.jm-svc { position: relative; display: flex; flex-direction: column; background: #222429 url(/wp-content/themes/hooked-junk-master-denver/assets/images/background/background_dark-bg-white-3p.webp); background-attachment: fixed; border: 1px solid #2c2d31; border-radius: 16px; padding: 26px 28px; transition: transform .15s ease, border-color .15s ease; }
.jm-svc:hover { transform: translateY(-2px); border-color: #c5260e; }
.jm-svc h3 { margin: 0 0 10px; font-family: "Lalezar", sans-serif; font-weight: 400; font-size: 26px; line-height: 1.15; text-transform: uppercase; text-align: left; color: #fff; }
.jm-svc p { margin: 0 0 18px; text-align: left; color: rgba(255,255,255,.72); font-size: 17px; line-height: 1.5; }
.jm-svc-link { margin-top: auto; font: 700 15px "Titillium Web", sans-serif; letter-spacing: .1em; text-transform: uppercase; color: #c5260e !important; text-decoration: none !important; }
.jm-svc-link::after { content: " \2192"; }
.jm-svc-link::before { content: ""; position: absolute; inset: 0; border-radius: 16px; }
.jm-svc-link:focus-visible { outline: 3px solid #ff6a4d; outline-offset: 4px; }
@media (max-width: 640px) { .jm-svc-grid { grid-template-columns: 1fr; } }

/* ---- Service pages: full-width layout with alternating text/photo sections ---- */
body.jm-wide .embellish-angle { display: none !important; }
body.jm-wide .content-sidebar-wrap { max-width: 1400px; }
body.jm-wide .content { padding-right: 4% !important; }
body.jm-wide .entry-content > p, body.jm-wide .entry-content > .jm-badges { max-width: none; }
.jm-secs { display: block; }
.jm-sec { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 36px; align-items: center; max-width: 100%; margin: 0 auto; padding: 36px 0; }
.jm-sec-flip { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); }
.jm-sec-flip .jm-sec-text { order: 2; }
.jm-sec-flip .jm-sec-photo { order: 1; }
.jm-sec-text h2 { font-family: "Lalezar", sans-serif; font-weight: 400; text-align: left; color: #222429; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.1; margin: 0 0 18px; }
.jm-sec-text p, .jm-sec-text li { font-size: 17px; line-height: 1.65; }
.jm-sec-text ul { margin: 0 0 16px; }
.jm-sec-photo img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 20px; box-shadow: 0 6px 22px rgba(17,18,20,.14); }
body.jm-wide .jm-faq2 { max-width: 100%; margin: 56px auto 40px; }
body.jm-wide .jm-faq2-wp { margin: 8px auto 56px; }
.jm-redband { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; max-width: 100%; margin: 64px auto 24px; background: #c5260e; color: #fff; border-radius: 24px; position: relative; }
.jm-redband-map { position: relative; margin: 0 0 0 24px; border-radius: 20px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.28); border: 2px solid rgba(255,255,255,.85); align-self: center; background: #fff; }
.jm-redband-map iframe { display: block; width: 100%; height: 270px; border: 0; }
.jm-redband-text { padding: 40px 36px; }
.jm-redband-text h2 { font-family: "Lalezar", sans-serif; font-weight: 400; color: #fff; text-align: left; font-size: clamp(28px, 3vw, 40px); line-height: 1.12; margin: 0 0 16px; }
.jm-redband-text p { color: #fff; font-size: 17px; }
.jm-redband-text a:not(.jm-cta) { color: #fff; text-decoration: underline; }
.jm-cta-white { background: #fff; color: #222429 !important; margin-top: 8px; }
.jm-cta-white:hover { background: #f3f3f5; }
@media (max-width: 860px) {
  .jm-sec, .jm-sec-flip { grid-template-columns: 1fr; gap: 24px; padding: 30px 0; }
  .jm-sec-flip .jm-sec-text, .jm-sec-flip .jm-sec-photo { order: 0; }
  .jm-sec-photo { order: 2; }
  .jm-redband { grid-template-columns: 1fr; margin-top: 48px; }
  .jm-redband-map { margin: -24px 20px 0; }
  .jm-redband-map iframe { height: 260px; }
  .jm-redband-text { padding: 28px 24px 32px; }
}

/* Sources list under the red band */
body.jm-wide .jm-sources { max-width: 1100px; margin: 36px auto 0; padding: 0 20px; }
body.jm-wide .jm-sources h2 { margin-bottom: 12px; }
body.jm-wide .jm-sources ul { margin: 0; padding-left: 1.2em; }
