/*
Theme Name: Health IT Leader
Description: WordPress port of the published Health IT Leader site.
Version: 1.0.3
*/
.healthit-search { padding-block: 12px; }
.healthit-search label { display: inline-block; margin-right: 10px; }
.healthit-search input { border: 1px solid hsl(var(--border)); padding: 8px 12px; min-width: min(70vw, 260px); }
.healthit-search button { margin-left: 6px; padding: 8px 12px; }
[hidden] { display: none !important; }
.story-card:focus-visible, .slide-controls button:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }
.slide-controls { z-index: 3; }
.slide-controls .dots { min-width: 0; overflow-x: auto; scrollbar-width: thin; padding: .25rem .15rem; }
.slide-controls .dots button, .slide-controls > div:last-child { flex-shrink: 0; }
.contact-form button:disabled, .newsletter button:disabled { opacity: .65; cursor: not-allowed; }

.healthit-controls-active {
    --healthit-controls-bottom: calc(.75rem + env(safe-area-inset-bottom, 0px));
    --healthit-controls-height: 2.875rem;
    --healthit-controls-space: calc(var(--healthit-controls-height) + var(--healthit-controls-bottom) + .75rem);
    scroll-padding-bottom: calc(var(--healthit-controls-space) + var(--healthit-banner-space, 0px));
}
.healthit-controls-active body { padding-bottom: var(--healthit-controls-space); }
.healthit-launchers {
    position: fixed;
    z-index: 1000;
    bottom: var(--healthit-controls-bottom);
    left: max(.75rem, env(safe-area-inset-left, 0px));
    right: max(.75rem, env(safe-area-inset-right, 0px));
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    pointer-events: none;
}
.healthit-launchers button,
.healthit-panel-actions button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: .45rem;
    min-height: var(--healthit-controls-height);
    border: 1px solid #154b55;
    border-radius: .55rem;
    padding: .55rem .8rem;
    background: #f3f9fa;
    color: #113541;
    font: 750 .875rem/1.25 Manrope, system-ui, sans-serif;
    cursor: pointer;
}
.healthit-launchers button {
    pointer-events: auto;
    box-shadow: 0 3px 14px #0a23332b;
}
.healthit-launchers button:hover,
.healthit-panel-actions button:hover { background: #dceef0; }
.healthit-preference-panel {
    padding: 1rem;
    border: 1px solid #8aa5ad;
    border-radius: .75rem;
    background: #fff;
    color: #112f3c;
    box-shadow: 0 7px 26px #0a233338;
    font: 500 .95rem/1.5 Manrope, system-ui, sans-serif;
}
.healthit-preference-panel h2 { font-size: 1.15rem; line-height: 1.3; margin: 0 0 .45rem; }
.healthit-preference-panel p { margin: .4rem 0 .7rem; }
.healthit-cookie-banner {
    position: fixed;
    z-index: 1000;
    right: max(.75rem, env(safe-area-inset-right, 0px));
    bottom: var(--healthit-controls-space);
    width: min(26rem, calc(100% - 1.5rem));
    max-height: 55dvh;
    overflow: auto;
}
.healthit-panel-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .65rem; }
.healthit-preference-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(30rem, calc(100% - 1.5rem));
    max-height: min(35rem, calc(100dvh - 1.5rem));
    overflow: auto;
}
.healthit-preference-dialog::backdrop { background: #0e2735aa; }
.healthit-preference-dialog label {
    display: flex;
    align-items: center;
    gap: .65rem;
    min-height: 2.75rem;
    cursor: pointer;
}
.healthit-preference-dialog input[type="checkbox"] { appearance: auto; width: 1.1rem; height: 1.1rem; accent-color: #005e57; }
#healthit-site-controls :focus-visible { outline: 3px solid #005950; outline-offset: 3px; box-shadow: 0 0 0 2px #fff; }
.healthit-links a:not(.logo-crop) { text-decoration: underline; text-underline-offset: .15em; }
.healthit-large-text :is(.article-body, .article-body p, .article-body li, .article-heading p, .info-page p, .info-page li, .listing-excerpt, .editorial-sidebar p, .newsletter p) {
    font-size: 1.2rem;
    line-height: 1.7;
}
.healthit-contrast body { --teal: #00534c; --gray: #283e48; --pale: #eaf2f3; }
.healthit-contrast .story-shade { background: linear-gradient(transparent 0%, #071b27 74%); }
.healthit-contrast main :is(a, button, input, select, textarea):focus-visible {
    outline: 3px solid #00534c;
    outline-offset: 3px;
    box-shadow: 0 0 0 2px #fff;
}
.healthit-motion .ticker-track { animation: none !important; }
.healthit-motion .story-card > img { transition: none; }
.ticker-track:is(:hover, :focus-within) { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) {
    .ticker-track { animation: none !important; }
    .story-card > img { transition: none; }
}
@media (max-width: 375px) {
    .healthit-launchers button { gap: .3rem; padding-inline: .55rem; font-size: .8rem; }
    .healthit-launchers svg { width: 17px; height: 17px; }
}
