/* ISHIR Insights listing — scoped under .ins. Header/footer untouched. */

/* Hide the theme's generic page banner on this page only */
.page-template-layoutsinsights-listing-php #banner,
.page-template-layouts-insights-listing #banner,
.blog #banner { display: none !important; }
.ins .screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.ins {
    --ins-ink: #111111;
    --ins-ink-2: #2b2b2b;
    --ins-muted: #5f5f5f;
    --ins-yellow: #f5b318;
    --ins-yellow-deep: #9a6a00;
    --ins-cream: #faf8f2;
    --ins-sand: #ebe3d1;
    --ins-line: #d9d4c7;
    --ins-white: #ffffff;
    font-family: 'Mulish', sans-serif;
    color: var(--ins-ink);
    background: var(--ins-white);
    -webkit-font-smoothing: antialiased;
}
.ins *, .ins *::before, .ins *::after { box-sizing: border-box; }
.ins a { color: inherit; text-decoration: none; }
.ins h1, .ins h2, .ins h3, .ins p { margin: 0; font-family: 'Mulish', sans-serif; letter-spacing: normal; text-transform: none; }
.ins ul, .ins ol { list-style: none; margin: 0; padding: 0; }
.ins img { max-width: 100%; display: block; }

.ins-wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }

.ins-eyebrow {
    font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase !important;
    color: var(--ins-yellow-deep); margin-bottom: 10px !important;
}
.ins-eyebrow--yellow { color: var(--ins-yellow); }
.ins-eyebrow--dark { color: var(--ins-ink); }

.ins-h2 { font-size: 30px; line-height: 1.2; font-weight: 800; color: var(--ins-ink); }

/* Buttons */
.ins-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 46px; padding: 12px 22px; border: 1px solid transparent; border-radius: 2px;
    font-family: 'Mulish', sans-serif; font-size: 14px; font-weight: 800; line-height: 1.2;
    cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap;
}
.ins-btn--yellow { background: var(--ins-yellow); color: var(--ins-ink) !important; }
.ins-btn--yellow:hover { background: #ffc43d; }
.ins-btn--dark { background: var(--ins-ink); color: var(--ins-white) !important; }
.ins-btn--dark:hover { background: #333; }
.ins-btn--ghost-dark { border-color: var(--ins-ink); color: var(--ins-ink) !important; }
.ins-btn--ghost-dark:hover { background: rgba(0,0,0,.08); }
.ins-btn--outline { background: var(--ins-white); border-color: var(--ins-ink); color: var(--ins-ink) !important; }
.ins-btn--outline:hover { background: var(--ins-ink); color: var(--ins-white) !important; }
.ins a:focus-visible, .ins button:focus-visible, .ins input:focus-visible { outline: 3px solid var(--ins-yellow); outline-offset: 2px; }

/* Hero */
.ins-hero { background: var(--ins-ink); color: var(--ins-white); padding: 72px 0 64px; }
.ins-hero .ins-eyebrow { color: var(--ins-yellow); }
.ins-hero__title { font-size: 60px; line-height: 1.07; font-weight: 800; color: var(--ins-white) !important; max-width: 760px; margin-bottom: 22px !important; }
.ins-hero__lede { font-size: 18px; line-height: 1.6; color: #d4d4d4; max-width: 620px; margin-bottom: 32px !important; }
.ins-search {
    display: flex; align-items: center; gap: 12px; max-width: 720px;
    border: 1px solid #3a3a3a; background: #1c1c1c; padding: 8px 8px 8px 16px;
}
.ins-search__icon { width: 20px; height: 20px; flex: 0 0 20px; fill: var(--ins-yellow); }
.ins-search__input {
    flex: 1; min-width: 0; height: 42px; border: 0; background: transparent; color: var(--ins-white);
    font-family: 'Mulish', sans-serif; font-size: 15px; padding: 0; box-shadow: none;
}
.ins-search__input::placeholder { color: #9a9a9a; }
.ins-search__input:focus { outline: none; }
.ins-search:focus-within { border-color: var(--ins-yellow); }

/* Topics */
.ins-topics { background: var(--ins-cream); border-bottom: 1px solid var(--ins-line); position: relative; }
.ins-topics__inner { display: flex; align-items: center; gap: 18px; padding-top: 16px; padding-bottom: 16px; }
.ins-topics__label { font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--ins-muted); flex: 0 0 auto; }
.ins-topics__list { display: flex; flex-wrap: wrap; gap: 8px; }
.ins-chip {
    display: inline-block; padding: 8px 14px; border: 1px solid var(--ins-ink); background: var(--ins-white);
    font-size: 13px; font-weight: 700; line-height: 1.2; color: var(--ins-ink) !important; white-space: nowrap; transition: background .2s, color .2s;
}
.ins-chip:hover { background: var(--ins-sand); }
.ins-chip.is-active { background: var(--ins-ink); color: var(--ins-white) !important; }

/* Featured */
.ins-feature { padding: 56px 0 24px; }
.ins-feature__grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: 48px; align-items: start; }
.ins-media { position: relative; display: block; overflow: hidden; background: var(--ins-ink); }
.ins-media__img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform .4s ease; }
.ins-media:hover .ins-media__img { transform: scale(1.03); }
.ins-media--feature { aspect-ratio: 16 / 9; margin-bottom: 22px; }
.ins-badge {
    position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--ins-yellow); color: var(--ins-ink);
    font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px;
}
.ins-feature__title { font-size: 36px; line-height: 1.18; font-weight: 800; margin-bottom: 14px !important; }
.ins-feature__title a:hover, .ins-card__title a:hover, .ins-pick__title a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; text-decoration-color: var(--ins-yellow); }
.ins-feature__excerpt { font-size: 16px; line-height: 1.6; color: var(--ins-ink-2); margin-bottom: 12px !important; max-width: 640px; }
.ins-meta { font-size: 13px; color: var(--ins-muted); }

.ins-picks__title { font-size: 12px !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase !important; padding-bottom: 12px; border-bottom: 2px solid var(--ins-ink); }
.ins-pick { display: block; padding: 22px 0; border-bottom: 1px solid var(--ins-line); }
.ins-pick .ins-eyebrow { margin-bottom: 6px !important; }
.ins-pick__title { font-size: 17px; line-height: 1.4; font-weight: 800; }

/* Hubs */
.ins-hubs { padding: 56px 0 24px; }
.ins-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 24px; }
.ins-section-head--rule { padding-bottom: 14px; border-bottom: 2px solid var(--ins-ink); margin-bottom: 28px; }
.ins-section-head__note { font-size: 13px; color: var(--ins-muted); text-align: right; }
.ins-hubs__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.ins-hub {
    display: flex; flex-direction: column; min-height: 230px; padding: 26px 24px; background: var(--ins-ink);
    color: var(--ins-white) !important; transition: transform .2s, box-shadow .2s;
}
.ins-hub:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(0,0,0,.18); }
.ins-hub__icon { width: 32px; height: 32px; background: var(--ins-yellow); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.ins-hub__icon svg { width: 18px; height: 18px; fill: none; stroke: var(--ins-ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ins-hub__title { font-size: 20px; line-height: 1.25; font-weight: 800; margin-bottom: 10px; }
.ins-hub__desc { font-size: 14px; line-height: 1.5; color: #bdbdbd; margin-bottom: 22px; }
.ins-hub__link { margin-top: auto; font-size: 13px; font-weight: 800; color: var(--ins-yellow); }
.ins-hub__link::after { content: " →"; }

/* Latest grid */
.ins-latest { padding: 56px 0 64px; scroll-margin-top: 110px; }
.ins-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px 28px; }
.ins-card { display: flex; flex-direction: column; }
.ins-media--card { aspect-ratio: 3 / 2; margin-bottom: 16px; }
.ins-media__label {
    position: absolute; left: 14px; bottom: 14px; z-index: 2; padding: 5px 8px; background: rgba(17,17,17,.86); color: var(--ins-white);
    font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; max-width: calc(100% - 28px);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.ins-tile--dark { background: var(--ins-ink); }
.ins-tile--yellow { background: var(--ins-yellow); }
.ins-tile--sand { background: var(--ins-sand); }
.ins-card__title { font-size: 19px; line-height: 1.35; font-weight: 800; }
.ins-card.is-new { animation: insFade .45s ease both; }
@keyframes insFade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.ins-more { display: flex; flex-direction: column; align-items: center; gap: 20px; margin-top: 48px; }
.ins-empty { font-size: 16px; padding: 24px 0; }
.ins-empty a { text-decoration: underline !important; }
.ins.is-loading #ins-dynamic { opacity: .45; transition: opacity .2s; pointer-events: none; }
.ins-more__btn[aria-busy="true"] { opacity: .6; pointer-events: none; }

/* CTA band */
.ins-cta { background: var(--ins-yellow); padding: 56px 0; }
.ins-cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.ins-cta__title { font-size: 34px; line-height: 1.2; font-weight: 800; margin-bottom: 8px !important; }
.ins-cta__text { font-size: 16px; line-height: 1.55; max-width: 640px; color: var(--ins-ink-2); }
.ins-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: 0 0 auto; }

/* Newsletter */
.ins-news { padding: 64px 0 72px; position: relative; }
.ins-news__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.ins-news__text { font-size: 15px; line-height: 1.6; color: var(--ins-ink-2); margin-top: 10px !important; max-width: 480px; }
.ins-news__label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.ins-news__row { display: flex; gap: 8px; }
.ins-news__input {
    flex: 1 1 0%; min-width: 0; height: 48px; min-height: 48px; padding: 0 14px; border: 1px solid var(--ins-ink); background: var(--ins-white);
    font-family: 'Mulish', sans-serif; font-size: 16px; line-height: 1.4; border-radius: 0; box-shadow: none;
    -webkit-appearance: none; appearance: none;
}
.ins-news__form button[disabled] { opacity: .85; cursor: progress; }
.ins-section-head__note a { text-decoration: underline !important; text-underline-offset: 3px; }
.ins-btn.is-loading::before {
    content: ""; width: 14px; height: 14px; flex: 0 0 14px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: insSpin .7s linear infinite;
}
@keyframes insSpin { to { transform: rotate(360deg); } }
.ins-news__status { font-size: 14px; line-height: 1.5; margin-top: 10px !important; color: var(--ins-ink); }
.ins-news__status:empty { display: none; }
.ins-news__status.is-error { color: #b42318; }
.ins-news__status.is-success { color: #067647; }
.ins-news__status.is-info { color: #175cd3; }
.ins-hs-host { position: absolute !important; left: -10000px; top: 0; width: 360px; height: 1px; overflow: hidden; visibility: hidden; }

/* Tablet */
@media (max-width: 1024px) {
    .ins-hero { padding: 56px 0 48px; }
    .ins-hero__title { font-size: 46px; }
    .ins-feature__grid { grid-template-columns: 1fr; gap: 36px; }
    .ins-hubs__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ins-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
    .ins-cta__inner { flex-direction: column; align-items: flex-start; }
    .ins-topics__inner { align-items: flex-start; }
    .ins-topics__label { padding-top: 9px; }
}

/* Mobile */
@media (max-width: 767px) {
    .ins-wrap { padding: 0 18px; }
    .ins-hero { padding: 40px 0 36px; }
    .ins-hero__title { font-size: 34px; }
    .ins-hero__lede { font-size: 16px; }
    .ins-search { flex-wrap: wrap; padding: 10px; }
    .ins-search__input { flex: 1 1 calc(100% - 40px); }
    .ins-search .ins-btn { width: 100%; }
    .ins-topics__inner { padding-top: 12px; padding-bottom: 12px; gap: 12px; }
    .ins-topics__label { display: none; }
    .ins-topics__list { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; scroll-padding-inline: 18px; margin: 0 -18px; padding: 0 18px; }
    .ins-topics__list::-webkit-scrollbar { display: none; }
    .ins-h2 { font-size: 24px; }
    .ins-feature { padding-top: 32px; }
    .ins-feature__title { font-size: 26px; }
    .ins-pick { padding: 18px 0; }
    .ins-pick__title { font-size: 16px; }
    .ins-section-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .ins-section-head__note { text-align: left; }
    .ins-hubs__grid, .ins-grid { grid-template-columns: 1fr; }
    .ins-hub { min-height: 0; }
    .ins-cta__title { font-size: 26px; }
    .ins-cta__actions, .ins-cta__actions .ins-btn { width: 100%; }
    .ins-news__inner { grid-template-columns: 1fr; gap: 24px; }
    .ins-news__row { flex-direction: column; }
    .ins-news__input { flex: 0 0 auto; width: 100%; height: 48px; min-height: 48px; }
}

@media (prefers-reduced-motion: reduce) {
    .ins *, .ins *::before, .ins *::after { transition: none !important; animation: none !important; }
}

/* Keep the loading spinner turning (slowly) even with reduced motion: it is the only progress cue. */
@media (prefers-reduced-motion: reduce) {
    .ins .ins-news__form .ins-btn.is-loading::before { animation: insSpin 1.6s linear infinite !important; }
}