/* NTHA v3.56.00 - browser/device text-to-speech controls in the footer */
.ntha-footer-reader-column {
    min-width: 0;
}

.ntha-footer-reader,
.ntha-page-reader,
.ntha-page-reader-inner {
    width: 100%;
    box-sizing: border-box;
}

.ntha-page-reader {
    padding: 0;
    margin: 0;
    background: transparent;
    border: 0;
    font-family: inherit;
    color: inherit;
}

.ntha-page-reader-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 9px;
}

.ntha-page-reader-title {
    margin: 0 0 4px;
    padding: 0;
    color: inherit;
}

.ntha-page-reader button,
.ntha-page-reader select {
    width: 100%;
    min-height: 40px;
    border-radius: 6px;
    font: inherit;
}

.ntha-page-reader button {
    border: 1px solid rgba(255, 255, 255, 0.62);
    padding: 8px 10px;
    background: #ffffff;
    color: #141b2b;
    font-size: 13px;
    line-height: 19px;
    font-weight: 700;
    cursor: pointer;
}

.ntha-page-reader .ntha-page-reader-start {
    border-color: #ed1b2f;
    background: #ed1b2f;
    color: #ffffff;
}

.ntha-page-reader button:hover:not(:disabled),
.ntha-page-reader button:focus-visible,
.ntha-page-reader select:focus-visible {
    outline: 3px solid rgba(237, 27, 47, 0.34);
    outline-offset: 2px;
}

.ntha-page-reader button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.ntha-page-reader-speed-label {
    display: block;
    margin: 1px 0 0;
    color: inherit;
    font-size: 13px;
    line-height: 1.4;
    font-weight: 700;
}

.ntha-page-reader select {
    display: block;
    margin-top: 5px;
    border: 1px solid #9aa1aa;
    padding: 7px 30px 7px 10px;
    background: #ffffff;
    color: #141b2b;
}

.ntha-page-reader-note {
    margin: 2px 0 0;
    color: inherit;
    opacity: 0.78;
    font-size: 11px;
    line-height: 1.45;
}

.ntha-page-reader-status {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.ntha-reader-speaking {
    background: rgba(237, 27, 47, 0.08) !important;
    box-shadow: 0 0 0 3px rgba(237, 27, 47, 0.18);
    border-radius: 3px;
}

/* Five equal footer columns on large screens. Bootstrap's flex columns handle
   the widths; this safeguard prevents long labels from forcing a wider column. */
@media (min-width: 992px) {
    .ntha-footer-top-five > [class*="col-lg"] {
        min-width: 0;
    }
}

@media (max-width: 991.98px) {
    .ntha-page-reader-inner {
        max-width: 360px;
    }
}

@media (max-width: 767.98px) {
    .ntha-page-reader-inner {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ntha-reader-speaking {
        scroll-behavior: auto;
    }
}
