/* New headers for Hollywood Feature, The Women's Reporter and Hollywood Fashion (inc/header.php).
   Everything is scoped to .hqh* so the Beaver Builder theme's styles and ours never mix. */

/* The old Beaver Themer header stays in the page, off screen, so its newsletter pop-up still opens. */
body.hqh-on header.fl-builder-content[data-type="header"],
body.hqh-on .fl-builder-content.fl-builder-content-primary[data-type="header"] {
  position: absolute !important; left: -99999px !important; top: 0 !important;
  width: 1px !important; height: 1px !important; overflow: hidden !important;
}
body.hqh-on .fl-theme-builder-header-sticky, body.hqh-on .fl-theme-builder-header-shrink { display: none !important; }
html.hqh-lock, html.hqh-lock body { overflow: hidden; }

.hqh, .hqh *, .hqh-compact, .hqh-compact *, .hqh-search, .hqh-search *, .hqh-drawer, .hqh-drawer * { box-sizing: border-box; }
.hqh a, .hqh-compact a, .hqh-drawer a { text-decoration: none; color: inherit; }
.hqh a:focus-visible, .hqh button:focus-visible, .hqh-compact a:focus-visible, .hqh-compact button:focus-visible,
.hqh-drawer a:focus-visible, .hqh-drawer button:focus-visible, .hqh-search button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.hqh button, .hqh-compact button, .hqh-search button, .hqh-drawer button { font: inherit !important; color: inherit !important; background: none !important; border: 0 !important; padding: 0 !important; margin: 0 !important;
  cursor: pointer; line-height: 1 !important; text-transform: inherit !important; letter-spacing: inherit !important; box-shadow: none !important; border-radius: 0 !important; min-height: 0 !important; min-width: 0 !important; width: auto; height: auto; text-decoration: none !important; outline-offset: 3px; }
.hqh img, .hqh-compact img { display: block; max-width: none; height: auto; }
.hqh p, .hqh-drawer p { margin: 0; }
.hqh svg, .hqh-compact svg, .hqh-search svg, .hqh-drawer svg { display: block; }

.hqh-burger { display: inline-flex !important; flex-direction: column; gap: 4px; width: 20px !important; padding: 6px 0 !important; }
.hqh-burger i { display: block; height: 2px; background: currentColor; border-radius: 1px; }
.hqh-mb { display: none !important; }

/* The slim bar that appears on scroll */
.hqh-compact { position: fixed; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 9990;
  transform: translateY(-110%); transition: transform .22s ease; box-shadow: 0 2px 12px rgba(0,0,0,.16); }
.hqh-compact.is-on { transform: none; }
.hqh-compact .hqh-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; height: 56px; padding: 0 28px; max-width: 1320px; margin: 0 auto; }
.hqh-compact .hqh-l { display: flex; align-items: center; gap: 16px; }
.hqh-compact .hqh-r, .hqh-compact .hqh-acts { display: flex; align-items: center; gap: 14px; justify-content: flex-end; }
.hqh-compact .hqh-logo img { height: 32px; width: auto; }

/* Search bar */
.hqh-search { position: fixed; left: 0; right: 0; top: var(--wp-admin--admin-bar--height, 0px); z-index: 9995; background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,.18);
  opacity: 0; transform: translateY(-8px); transition: opacity .18s, transform .18s; }
.hqh-search.is-open { opacity: 1; transform: none; }
.hqh-search form { display: flex; align-items: center; gap: 14px; max-width: 1100px; margin: 0 auto; padding: 18px 28px; color: #141414; }
.hqh-search input { flex: 1; border: 0 !important; border-bottom: 2px solid #141414 !important; border-radius: 0 !important; background: transparent !important;
  font: 400 22px/1.3 Georgia, serif; padding: 8px 2px !important; margin: 0; outline: none; box-shadow: none !important; color: #141414; }
.hqh-search button[type="submit"] { background: #141414 !important; color: #fff !important; padding: 12px 18px !important; font: 600 13px system-ui, sans-serif !important; letter-spacing: .04em !important; }

/* Menu drawer */
.hqh-drawer { position: fixed; inset: 0; z-index: 9996; }
.hqh-shade { position: absolute; inset: 0; background: rgba(0,0,0,.45); opacity: 0; transition: opacity .18s; }
.hqh-panel { position: absolute; top: 0; bottom: 0; left: 0; width: min(340px, 86vw); background: #fff; color: #141414; padding: 22px 28px 40px; overflow-y: auto;
  transform: translateX(-100%); transition: transform .22s ease; display: flex; flex-direction: column; }
.hqh-drawer.is-open .hqh-shade { opacity: 1; }
.hqh-drawer.is-open .hqh-panel { transform: none; }
.hqh-panel .hqh-x { align-self: flex-end; margin-bottom: 6px; }
.hqh-ptitle { font: 700 11px system-ui, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #8a8a8a; margin: 0 0 10px !important; }
.hqh-panel a { display: block; padding: 11px 0; border-bottom: 1px solid #eee; font: 500 17px/1.2 Georgia, serif; }
.hqh-panel a:hover { color: #c8202f; }
.hqh-sep { display: block; height: 18px; }

/* ============ Hollywood Feature ============ */
.hqh--feature { font-family: "Inter Tight", system-ui, sans-serif; }
.hqh.hqh--feature { position: relative; z-index: 20; color: #fff; }
.hqh--feature .hqh-mast { background: linear-gradient(#bd1922, #b4161f); container-type: inline-size; }
.hqh--feature .hqh-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; height: 72px; padding: 0 32px; max-width: 1320px; margin: 0 auto; }
.hqh--feature .hqh-l, .hqh--feature .hqh-r { display: flex; align-items: center; gap: 18px; min-width: 0; white-space: nowrap; font: 500 13.5px "Inter Tight", system-ui, sans-serif; color: #fff; }
.hqh--feature .hqh-r { justify-content: flex-end; }
.hqh--feature .hqh-logo img { height: 46px; width: auto; filter: brightness(0) invert(1); }
.hqh--feature .hqh-nl { display: inline-flex; align-items: center; gap: 8px; padding: 6px 0; }
.hqh--feature .hqh-nl:hover span { text-decoration: underline; text-underline-offset: 4px; }
.hqh--feature .hqh-icon { display: grid !important; place-items: center; width: 34px !important; height: 34px !important; border-radius: 50% !important; }
.hqh--feature .hqh-icon:hover { background: rgba(255,255,255,.14) !important; }
.hqh--feature .hqh-sub { background: #121212; color: #fff !important; padding: 9px 18px; font: 600 13.5px "Inter Tight", system-ui, sans-serif; letter-spacing: .02em; border-radius: 2px; transition: background .15s, color .15s; }
.hqh--feature .hqh-sub:hover { background: #fff; color: #b4161f !important; }
.hqh--feature .hqh-secs { background: #fff; border-bottom: 1px solid #ebe7e4; }
.hqh--feature .hqh-secs .hqh-in { display: flex; justify-content: center; gap: 44px; max-width: 1320px; margin: 0 auto; padding: 0 32px; height: 46px; align-items: center;
  font: 600 14px "Inter Tight", system-ui, sans-serif; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.hqh--feature .hqh-secs .hqh-in::-webkit-scrollbar { display: none; }
.hqh--feature .hqh-secs a { color: #b4161f; position: relative; padding: 12px 0; }
.hqh--feature .hqh-secs a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: #b4161f; transform: scaleX(0); transform-origin: left; transition: transform .2s; }
.hqh--feature .hqh-secs a:hover, .hqh--feature .hqh-secs a.is-on { color: #8e1018; }
.hqh--feature .hqh-secs a:hover::after, .hqh--feature .hqh-secs a.is-on::after { transform: scaleX(1); }
.hqh--feature .hqh-trend { background: #fff; border-bottom: 1px solid #ebe7e4; color: #1f1f1f; }
.hqh--feature .hqh-trend .hqh-in { display: flex; align-items: center; height: 42px; max-width: 1320px; margin: 0 auto; overflow: hidden; }
.hqh--feature .hqh-live { display: flex; align-items: center; gap: 9px; flex: none; height: 100%; padding: 0 18px 0 32px; font: 700 10.5px "Inter Tight", system-ui, sans-serif;
  letter-spacing: .16em; text-transform: uppercase; color: #141414; border-right: 1px solid #ebe7e4; }
.hqh--feature .hqh-dot { width: 7px; height: 7px; border-radius: 50%; background: #b3141d; animation: hqh-pulse 1.6s ease-out infinite; }
@keyframes hqh-pulse { 0% { box-shadow: 0 0 0 0 rgba(179,20,29,.5); } 100% { box-shadow: 0 0 0 9px rgba(179,20,29,0); } }
.hqh--feature .hqh-track { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 28px, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 28px, #000 94%, transparent); }
.hqh--feature .hqh-items { display: flex; width: max-content; animation: hqh-tick 80s linear infinite; }
.hqh--feature .hqh-track:hover .hqh-items, .hqh--feature .hqh-track:focus-within .hqh-items { animation-play-state: paused; }
@keyframes hqh-tick { to { transform: translateX(-50%); } }
.hqh--feature .hqh-items a { display: inline-flex; align-items: baseline; gap: 10px; padding: 0 22px; font: 500 13px "Inter Tight", system-ui, sans-serif; color: #1f1f1f; white-space: nowrap; position: relative; }
.hqh--feature .hqh-items a + a::before { content: ""; position: absolute; left: -2px; top: 50%; width: 4px; height: 4px; border-radius: 50%; background: #d6cfcb; transform: translateY(-50%); }
.hqh--feature .hqh-items b { font: 700 10.5px "Inter Tight", system-ui, sans-serif; color: #141414; letter-spacing: .1em; text-transform: uppercase; }
.hqh--feature .hqh-items time { font: 500 11px "Inter Tight", system-ui, sans-serif; color: #9a928d; }
.hqh--feature .hqh-items a:hover span { text-decoration: underline; text-underline-offset: 3px; }
.hqh-compact.hqh--feature { background: linear-gradient(#bd1922, #b4161f); color: #fff; }
.hqh-compact.hqh--feature .hqh-logo img { filter: brightness(0) invert(1); }
.hqh-compact.hqh--feature .hqh-nl { display: inline-flex; align-items: center; gap: 8px; font: 500 13px "Inter Tight", system-ui, sans-serif; }
.hqh-compact.hqh--feature .hqh-sub { background: #121212; color: #fff; padding: 8px 16px; font: 600 13px "Inter Tight", system-ui, sans-serif; border-radius: 2px; }
.hqh-compact.hqh--feature .hqh-icon { display: grid; place-items: center; width: 32px; height: 32px; }
/* The scrolled bar keeps the same size as the other magazines' (the full header's row and logo rules would otherwise apply). */
.hqh-compact.hqh--feature .hqh-row { height: 56px; padding: 0 28px; gap: 16px; }
.hqh-compact.hqh--feature .hqh-logo img { height: 32px; }
@container (max-width: 760px) { .hqh--feature .hqh-nl span { display: none; } }

/* ============ The Women's Reporter ============ */
.hqh.hqh--women { background: #f6efe4; color: #1b1b1b; position: relative; z-index: 20; }
.hqh--women .hqh-row { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px; padding: 8px 32px; max-width: 1320px; margin: 0 auto; }
.hqh-seal { position: relative; display: block; width: 74px; height: 74px; flex: none; }
.hqh-seal svg { width: 100%; height: 100%; animation: hqh-spin 12s linear infinite; animation-play-state: paused; font-family: Karla, system-ui, sans-serif; }
.hqh-seal:hover svg { animation-play-state: running; }
@keyframes hqh-spin { to { transform: rotate(360deg); } }
.hqh-disc { position: absolute; inset: 16px; border-radius: 50%; background: #111; }
.hqh-mono { position: absolute; inset: 0; display: grid; place-items: center; font: 400 30px "DM Serif Display", Georgia, serif; color: #f6efe4; line-height: 1; }
.hqh--women .hqh-logo img { height: 58px; width: auto; }
.hqh--women .hqh-date { font: italic 400 14px Spectral, Georgia, serif; color: #6b6259; margin-top: 2px; }
.hqh--women .hqh-acts { display: flex; align-items: center; gap: 16px; font: 600 12px Karla, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.hqh--women .hqh-txt:hover { color: #ff3131; }
.hqh--women .hqh-sub { background: #ff3131; color: #fff !important; padding: 10px 18px; border-radius: 999px; font: 700 12px Karla, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.hqh--women .hqh-sub:hover { background: #e3201f; }
.hqh--women .hqh-secs { display: flex; gap: 30px; padding: 9px 32px 10px; border-top: 1px solid #e2d4c3; font: 600 18px Spectral, Georgia, serif; white-space: nowrap; overflow-x: auto; scrollbar-width: none; max-width: 1320px; margin: 0 auto; }
.hqh--women .hqh-secs::-webkit-scrollbar { display: none; }
.hqh--women .hqh-secs a { position: relative; color: #1b1b1b; }
.hqh--women .hqh-secs a:hover, .hqh--women .hqh-secs a.is-on { color: #ff3131; }
.hqh--women .hqh-secs a.is-on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: #ff3131; }
.hqh--women .hqh-brief { display: grid; grid-template-columns: auto repeat(3, 1fr); border-top: 1px solid #e2d4c3; background: #fbf6ee; }
.hqh--women .hqh-lbl { display: flex; align-items: center; padding: 0 22px 0 32px; font: italic 400 17px "DM Serif Display", Georgia, serif; border-right: 1px solid #e2d4c3; white-space: nowrap; }
.hqh--women .hqh-brief a { display: grid; grid-template-columns: 26px 1fr; gap: 6px; align-items: center; padding: 9px 20px; border-right: 1px solid #e2d4c3; min-width: 0; }
.hqh--women .hqh-brief a:last-child { border-right: 0; }
.hqh--women .hqh-brief b { font: 400 24px/1 "DM Serif Display", Georgia, serif; color: #ff3131; }
.hqh--women .hqh-brief a span { font: 500 14.5px/1.3 Spectral, Georgia, serif; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hqh--women .hqh-brief a:hover span { text-decoration: underline; text-decoration-color: #ff3131; text-underline-offset: 3px; }
.hqh-compact.hqh--women { background: #f6efe4; color: #1b1b1b; }
.hqh-compact.hqh--women .hqh-row { grid-template-columns: auto 1fr auto; }
.hqh-seal--sm { width: 40px; height: 40px; } .hqh-seal--sm .hqh-disc { inset: 0; } .hqh-seal--sm .hqh-mono { font-size: 21px; }
.hqh-compact.hqh--women .hqh-logo img { height: 32px; }
.hqh-compact.hqh--women .hqh-sub { background: #ff3131; color: #fff; padding: 8px 16px; border-radius: 999px; font: 700 11.5px Karla, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }

/* ============ Hollywood Fashion ============ */
.hqh.hqh--fashion { background: #0d0d0d; color: #fff; position: relative; z-index: 20; font-family: Karla, system-ui, sans-serif; }
.hqh--fashion .hqh-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px 32px; max-width: 1320px; margin: 0 auto; gap: 20px; }
.hqh--fashion .hqh-l, .hqh--fashion .hqh-r { display: flex; gap: 16px; align-items: center; font: 600 12px Karla, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: #d9d4d1; white-space: nowrap; }
.hqh--fashion .hqh-r { justify-content: flex-end; }
.hqh--fashion .hqh-txt:hover { color: #fff; }
.hqh--fashion .hqh-logo img { height: 64px; width: auto; filter: brightness(0) invert(1); }
.hqh--fashion .hqh-sub { background: #d92128; color: #fff !important; padding: 9px 16px; font: 600 12px Karla, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.hqh--fashion .hqh-sub:hover { background: #b9161d; }
.hqh--fashion .hqh-secs { display: flex; justify-content: center; align-items: center; gap: 32px; padding: 14px 20px; border-top: 1px solid #262626; font: 600 12px Karla, system-ui, sans-serif;
  letter-spacing: .16em; text-transform: uppercase; color: #cfc9c6; white-space: nowrap; overflow-x: auto; scrollbar-width: none; }
.hqh--fashion .hqh-secs::-webkit-scrollbar { display: none; }
.hqh--fashion .hqh-secs a:hover, .hqh--fashion .hqh-secs a.is-on { color: #fff; }
.hqh--fashion .hqh-edit { font: italic 500 17px Spectral, Georgia, serif; letter-spacing: 0; text-transform: none; color: #fff; border-bottom: 1px solid #fff; line-height: 1.1; }
.hqh--fashion .hqh-line { display: flex; align-items: center; gap: 18px; padding: 11px 32px; background: #f6ebe7; color: #1b1b1b; overflow: hidden; }
.hqh--fashion .hqh-lbl { flex: none; font: 700 10.5px Karla, system-ui, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #d92128; }
.hqh--fashion .hqh-list { display: flex; white-space: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
.hqh--fashion .hqh-list::-webkit-scrollbar { display: none; }
.hqh--fashion .hqh-list a { font: italic 400 16px Spectral, Georgia, serif; padding-right: 18px; }
.hqh--fashion .hqh-list a + a::before { content: "/"; color: #d9b9b0; font-style: normal; margin-right: 18px; }
.hqh--fashion .hqh-list a:hover { color: #d92128; }
.hqh-compact.hqh--fashion { background: #0d0d0d; color: #fff; }
.hqh-compact.hqh--fashion .hqh-logo img { height: 38px; filter: brightness(0) invert(1); }
.hqh-compact.hqh--fashion .hqh-sub { background: #d92128; color: #fff; padding: 8px 14px; font: 600 11.5px Karla, system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }

/* ============ Narrower screens ============ */
@media (max-width: 1100px) {
  .hqh--women .hqh-acts .hqh-txt { display: none; }
}
@media (max-width: 767px) {
  .hqh-dk { display: none !important; }
  .hqh-mb { display: inline-flex !important; }
  .hqh--feature .hqh-row { height: 58px; padding: 0 16px; gap: 10px; grid-template-columns: auto 1fr auto; }
  .hqh--feature .hqh-logo { justify-self: center; }
  .hqh--feature .hqh-logo img { height: 38px; }
  .hqh--feature .hqh-sub { padding: 8px 13px; font-size: 12.5px; }
  .hqh-compact.hqh--feature .hqh-row { height: 52px; padding: 0 14px; gap: 10px; }
  .hqh-compact.hqh--feature .hqh-logo img { height: 28px; }
  .hqh--feature .hqh-secs .hqh-in { justify-content: flex-start; padding: 0 16px; gap: 22px; }
  .hqh--feature .hqh-live { padding: 0 12px 0 16px; }
  .hqh--women .hqh-row { padding: 8px 16px; gap: 12px; }
  .hqh--women .hqh-seal:not(.hqh-seal--sm) { width: 52px; height: 52px; }
  .hqh--women .hqh-seal:not(.hqh-seal--sm) .hqh-disc { inset: 11px; }
  .hqh--women .hqh-seal:not(.hqh-seal--sm) .hqh-mono { font-size: 21px; }
  .hqh--women .hqh-logo img { height: 33px; }
  .hqh--women .hqh-sub { padding: 8px 13px; font-size: 11px; }
  .hqh--women .hqh-secs { padding: 8px 16px 9px; font-size: 17px; gap: 22px; }
  .hqh--women .hqh-brief { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .hqh--women .hqh-lbl { padding: 0 14px 0 16px; font-size: 15px; flex: none; }
  .hqh--women .hqh-brief a { flex: 0 0 76%; scroll-snap-align: start; padding: 10px 14px; }
  .hqh--fashion .hqh-row { padding: 12px 16px; grid-template-columns: auto 1fr auto; gap: 12px; }
  .hqh--fashion .hqh-logo { justify-self: center; }
  .hqh--fashion .hqh-logo img { height: 39px; }
  .hqh--fashion .hqh-secs { justify-content: flex-start; gap: 24px; padding: 12px 16px; }
  .hqh--fashion .hqh-line { padding: 10px 16px; gap: 12px; }
  .hqh-compact .hqh-row { padding: 0 14px; height: 52px; grid-template-columns: auto 1fr auto; }
  .hqh-compact .hqh-logo { justify-self: center; }
  .hqh-compact .hqh-logo img { height: 28px; }
  .hqh-search form { padding: 14px 16px; }
  .hqh-search input { font-size: 18px; }
  .hqh-search button[type="submit"] { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hqh--feature .hqh-items, .hqh--feature .hqh-dot, .hqh-seal svg { animation: none !important; }
  .hqh-compact, .hqh-search, .hqh-panel, .hqh-shade { transition: none; }
}
