/* TackIQ theme 8.21: Option C warm-up (photo banners, more horse-head logo, gold section numbers,
   "Photo on its way" placeholder, friendlier empty states), commission footer line, video, image slots. */
.screen-reader-text{border:0;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute!important;width:1px;word-wrap:normal!important}
.tq-head{display:inline-block;line-height:0}.tq-head img{display:block;width:100%;height:auto}

/* ---------- Photo banner ---------- */
.tq-photo-banner{position:relative;overflow:hidden;isolation:isolate;background:var(--tq-green,#0F3D2E);color:#fff}
.tq-banner__media{position:absolute;inset:0;z-index:-2}
.tq-banner__media img{width:100%;height:100%;object-fit:cover;object-position:center 35%;display:block}
.tq-photo-banner::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(15,61,46,.95) 0%,rgba(15,61,46,.82) 50%,rgba(15,61,46,.25) 100%)}
.tq-banner__emblem{flex:0 0 auto;width:112px;height:112px;border-radius:50%;background:#F7F3EB;border:3px solid #B08D57;padding:10px;display:flex;align-items:center;justify-content:center;box-shadow:0 6px 20px rgba(0,0,0,.18)}
.tq-banner__emblem .tq-head{width:100%}
.tq-banner__note{position:absolute;right:10px;bottom:8px;z-index:1;font-size:.72rem;background:rgba(0,0,0,.55);color:#fff;padding:3px 8px;border-radius:6px}
/* Compare page hero */
.tqc-hero.tq-photo-banner{padding:46px 0 42px}
.tqc-hero .tq-banner__content{display:flex;gap:26px;align-items:center}
.tqc-hero.tq-photo-banner .tqc-eyebrow{color:#E2C995}
.tqc-hero.tq-photo-banner .tqc-lede{color:#EEE5D3}
/* Page heroes (Helmets, Helmet Finder, Learn) */
.tq-page-hero.tq-photo-banner--page{align-items:center;gap:26px;justify-content:flex-start;padding:40px 32px;border-bottom:4px solid var(--tq-gold,#B08D57);border-radius:var(--tq-radius,14px);margin-bottom:8px}
.tq-photo-banner--page>div:not(.tq-banner__media){max-width:640px}
.tq-page-hero>.tq-banner__media{max-width:none}
.tq-photo-banner--page h1,.tq-photo-banner--page.tq-learn-hero h1{color:#fff;font-family:Georgia,serif;font-size:clamp(1.9rem,4vw,2.8rem);line-height:1.1;margin:.2rem 0 .6rem}
.tq-photo-banner--page p{color:#EEE5D3}
.tq-photo-banner--page .tq-eyebrow{color:#E2C995}
.tq-photo-banner--page .tq-button-secondary{margin-left:auto;align-self:center;background:#fff;color:var(--tq-green,#0F3D2E);border-color:#fff}
@media(max-width:760px){
 .tqc-hero .tq-banner__content{gap:16px}
 .tq-banner__emblem{width:72px;height:72px;padding:6px;border-width:2px}
 .tq-page-hero.tq-photo-banner--page{display:flex;flex-wrap:wrap;padding:26px 18px;gap:14px}
 .tq-photo-banner::before{background:linear-gradient(90deg,rgba(15,61,46,.95) 0%,rgba(15,61,46,.88) 70%,rgba(15,61,46,.6) 100%)}
 .tq-photo-banner--page .tq-button-secondary{margin-left:0}
}

/* ---------- "Photo on its way" placeholder ---------- */
.tq-ph{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:4px;background:radial-gradient(circle at 50% 45%,#fff 0,#F1EAD9 70%);border:1px solid #E6DCC4;color:var(--tq-muted,#667085);font-size:.85rem}
.tq-ph--large{min-height:320px;border-radius:var(--tq-radius,14px);padding:24px}.tq-ph--large .tq-head{width:170px}
.tq-ph--card{width:100%;height:100%;min-height:180px;padding:16px}.tq-ph--card .tq-head,.tq-ph--card>img{width:110px;height:auto}
.tq-ph--thumb{width:100%;height:100%;border:0;border-radius:inherit;padding:6px}.tq-ph--thumb .tq-head{width:46px}
.tq-ph__title{font-family:Georgia,serif;color:var(--tq-green,#0F3D2E);font-size:1rem;margin-top:6px}
.tq-card-image .tq-ph{border:0}.tq-card-image:has(.tq-ph){text-decoration:none}a .tq-ph{text-decoration:none}

/* ---------- Gold section numbers + faint emblem watermark ---------- */
.tq-psec--num{position:relative;overflow:hidden}
.tq-psec__h{display:flex;align-items:center;gap:12px;padding-right:56px}
.tq-secnum{flex:0 0 auto;width:38px;height:38px;border-radius:50%;background:var(--tq-green,#0F3D2E);color:#D8BF8F;border:2px solid var(--tq-gold,#B08D57);display:inline-flex;align-items:center;justify-content:center;font:700 1.05rem/1 Georgia,serif}
.tq-psec__wm{position:absolute;right:16px;top:12px;width:48px;opacity:.12;pointer-events:none}
.tq-psec__wm .tq-head{width:100%}
@media(max-width:600px){.tq-secnum{width:32px;height:32px;font-size:.95rem}.tq-psec__wm{width:38px}}

/* ---------- Friendlier empty states ---------- */
.tq-empty-state{text-align:center;padding:28px 20px;background:#FFFAF0;border:1px solid #E6CF9C;border-radius:var(--tq-radius,14px);margin:12px 0}
.tq-empty-state[hidden]{display:none}
.tq-empty-state__head{width:74px}
.tq-empty-state__title{font-family:Georgia,serif;color:var(--tq-green,#0F3D2E);font-size:1.25rem;margin:8px 0 4px}
.tq-empty-state p{color:var(--tq-muted,#667085);margin:0 auto 12px;max-width:520px}

/* ---------- Footer: emblem + commission disclosure line ---------- */
.tq-footer__inner{display:flex;justify-content:space-between;align-items:center;gap:24px}
.tq-footer__emblem{flex:0 0 auto;width:68px;height:68px;border-radius:50%;background:#F7F3EB;padding:5px;display:flex;align-items:center;justify-content:center}
.tq-footer__emblem .tq-head{width:100%}
.tq-footer-disclosure{font-size:.85rem;color:#E5DCCB;margin:12px 0 0;max-width:720px}
.tq-footer .tq-footer-disclosure a{color:#fff;text-decoration:underline}
@media(max-width:600px){.tq-footer__inner{flex-direction:column-reverse;align-items:flex-start}.tq-footer__emblem{width:56px;height:56px}}

/* ---------- Video (click to play) ---------- */
.tq-video{margin:1.5rem 0}
.tq-video__frame{position:relative;aspect-ratio:16/9;border-radius:var(--tq-radius,14px);overflow:hidden;background:#0F3D2E}
.tq-video__poster{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-decoration:none;color:#fff;background:radial-gradient(circle at 50% 40%,#1d5a45 0,#0F3D2E 70%)}
.tq-video__head{width:110px;opacity:.95}
.tq-video__play svg{display:block;transition:transform .15s}.tq-video__poster:hover .tq-video__play svg,.tq-video__poster:focus-visible .tq-video__play svg{transform:scale(1.08)}
.tq-video__ptitle{font-family:Georgia,serif;font-size:1.05rem;padding:0 16px;text-align:center}
.tq-video__iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
.tq-video figcaption{font-size:.85rem;color:var(--tq-muted,#667085);margin-top:6px}
.tq-video__warn,.tq-slot__warn{font-size:.85rem;background:#FFF4E5;border-left:4px solid var(--tq-gold,#B08D57);padding:6px 10px}
/* Responsive core YouTube embeds in Learn content too */
.tq-learn-body .wp-block-embed__wrapper iframe,.tq-article-body .wp-block-embed__wrapper iframe{width:100%;height:auto;aspect-ratio:16/9}

/* ---------- Image slots (LeMieux, Mips) ---------- */
.tq-slot{margin:1.5rem 0}
.tq-slot__img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#fff;border-radius:var(--tq-radius,14px)}
.tq-slot figcaption{font-size:.85rem;color:var(--tq-muted,#667085);margin-top:6px}.tq-slot__credit{white-space:nowrap}
.tq-slot--empty{aspect-ratio:4/3;max-width:640px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;text-align:center;border:2px dashed #D8CDB5;border-radius:var(--tq-radius,14px);background:#FFFAF0;padding:20px}
.tq-slot--empty .tq-head{width:90px;opacity:.7}
.tq-video a.tq-video__poster,.tq-video a.tq-video__poster:visited,.tq-video .tq-video__ptitle{color:#fff;text-decoration:none}
