/* TelecomsTalk Cookie Control — deliberately scoped to the consent interface. */
#ttcc-root,
.ttcc-launcher,
.ttcc-settings-link,
.ttcc-cookie-details,
.ttcc-noscript,
.ttcc-embed {
    --ttcc-accent: var(--ttt-accent, #007f86);
    --ttcc-ink: var(--ttt-ink, #102c3e);
    --ttcc-wash: var(--ttt-wash, #f3f7f7);
    --ttcc-muted: #455b69;
    --ttcc-line: #d9e3e6;
    --ttcc-font: var(--ttt-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif);
    box-sizing: border-box;
    color: var(--ttcc-ink);
    font-family: var(--ttcc-font);
    font-size: 15px;
    font-weight: 400;
    line-height: 1.55;
    text-align: left;
    -webkit-font-smoothing: antialiased;
}
#ttcc-root *,
#ttcc-root *::before,
#ttcc-root *::after,
.ttcc-embed *,
.ttcc-launcher {
    box-sizing: border-box;
}
#ttcc-root [hidden],
.ttcc-launcher[hidden],
.ttcc-embed [hidden] {
    display: none !important;
}
#ttcc-root .ttcc-spacer {
    display: block;
    height: 0;
    width: 100%;
    pointer-events: none;
}
#ttcc-root h2,
#ttcc-root h3,
#ttcc-root p {
    color: inherit;
    font-family: inherit;
    letter-spacing: normal;
    margin: 0;
    text-transform: none;
}
#ttcc-root a,
.ttcc-embed a {
    color: var(--ttcc-accent);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
}
#ttcc-root a:hover,
.ttcc-embed a:hover {
    text-decoration-thickness: 2px;
}
#ttcc-root :focus-visible,
.ttcc-launcher:focus-visible,
.ttcc-settings-link:focus-visible,
.ttcc-embed :focus-visible {
    outline: 3px solid var(--ttcc-accent);
    outline-offset: 4px;
}
#ttcc-root .ttcc-eyebrow {
    display: block;
    color: var(--ttcc-accent);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.12em;
    line-height: 1.4;
    margin-bottom: 5px;
    text-transform: uppercase;
}
#ttcc-root .ttcc-banner {
    position: fixed;
    z-index: 99990;
    inset: auto 16px 16px;
    display: flex;
    align-items: center;
    gap: 32px;
    width: auto;
    max-width: 1232px;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    margin-inline: auto;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 23px 26px;
    border: 1px solid var(--ttcc-line);
    border-top: 3px solid var(--ttcc-accent);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 40px rgba(16, 44, 62, 0.17), 0 1px 5px rgba(16, 44, 62, 0.06);
}
#ttcc-root .ttcc-banner-copy {
    flex: 1 1 520px;
    min-width: 0;
}
#ttcc-root .ttcc-banner h2 {
    font-size: 21px;
    font-weight: 750;
    line-height: 1.25;
    margin-bottom: 8px;
}
#ttcc-root .ttcc-banner p {
    color: var(--ttcc-muted);
    font-size: 14px;
    line-height: 1.55;
}
#ttcc-root .ttcc-policy {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    margin-top: 9px;
}
#ttcc-root .ttcc-banner-actions {
    display: grid;
    flex: 0 1 390px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 9px;
    min-width: 300px;
}
#ttcc-root .ttcc-banner-actions > [data-ttcc-open] {
    grid-column: 1 / -1;
}
#ttcc-root .ttcc-banner-actions > [data-ttcc-action="acknowledge"] {
    grid-column: 1 / -1;
}
#ttcc-root .ttcc-button,
.ttcc-embed [data-ttcc-open] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    width: auto;
    margin: 0;
    padding: 10px 17px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: var(--ttcc-ink);
    box-shadow: none;
    color: #fff;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: normal;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
    text-transform: none;
    white-space: normal;
    transition: background-color 120ms ease, border-color 120ms ease;
    appearance: none;
    -webkit-appearance: none;
}
#ttcc-root .ttcc-button:hover,
.ttcc-embed [data-ttcc-open]:hover {
    background: #24465b;
    color: #fff;
}
#ttcc-root .ttcc-button:active {
    background: #0a1e2b;
}
#ttcc-root .ttcc-secondary {
    border-color: #b7c9ce;
    background: #fff;
    color: var(--ttcc-ink);
}
#ttcc-root .ttcc-secondary:hover {
    border-color: var(--ttcc-accent);
    background: var(--ttcc-wash);
    color: var(--ttcc-ink);
}
#ttcc-root .ttcc-overlay {
    position: fixed;
    z-index: 100000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: rgba(9, 28, 41, 0.56);
}
#ttcc-root .ttcc-dialog {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 620px;
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ttcc-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.25);
    outline: none;
}
#ttcc-root .ttcc-dialog-header {
    display: flex;
    flex: 0 0 auto;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 25px 27px 20px;
    border-bottom: 1px solid var(--ttcc-line);
}
#ttcc-root .ttcc-dialog h2 {
    font-size: 26px;
    font-weight: 750;
    line-height: 1.2;
}
#ttcc-root #ttcc-dialog-title:focus {
    outline: none;
}
#ttcc-root .ttcc-close {
    display: inline-flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: -3px -8px 0 0;
    padding: 10px;
    border: 1px solid transparent;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: var(--ttcc-ink);
    cursor: pointer;
    appearance: none;
}
#ttcc-root .ttcc-close:hover {
    background: var(--ttcc-wash);
    border-color: var(--ttcc-line);
}
#ttcc-root .ttcc-close svg,
.ttcc-launcher svg {
    display: block;
    flex: 0 0 auto;
}
#ttcc-root .ttcc-dialog-body {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 22px 27px 24px;
    scrollbar-gutter: stable;
}
#ttcc-root #ttcc-dialog-intro {
    margin-bottom: 20px;
    color: var(--ttcc-muted);
    font-size: 14px;
}
#ttcc-root .ttcc-category {
    padding: 18px;
    border: 1px solid var(--ttcc-line);
    border-radius: 8px;
    background: #fff;
}
#ttcc-root .ttcc-category + .ttcc-category {
    margin-top: 12px;
}
#ttcc-root .ttcc-category:first-of-type {
    background: var(--ttcc-wash);
}
#ttcc-root .ttcc-category-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    min-height: 34px;
    margin-bottom: 8px;
}
#ttcc-root .ttcc-category-heading label {
    display: flex;
    flex: 1 1 auto;
    align-items: center;
    min-height: 44px;
    margin: -5px 0;
    padding: 0;
    cursor: pointer;
}
#ttcc-root .ttcc-category h3,
#ttcc-root .ttcc-category-title {
    color: var(--ttcc-ink);
    font-size: 16px;
    font-weight: 750;
    line-height: 1.3;
}
#ttcc-root .ttcc-category p {
    color: var(--ttcc-muted);
    font-size: 13px;
    line-height: 1.6;
}
#ttcc-root .ttcc-category p + p {
    margin-top: 9px;
}
#ttcc-root .ttcc-always {
    flex: 0 0 auto;
    padding: 4px 9px;
    border-radius: 4px;
    background: #e0eeeb;
    color: #17584c;
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
}
#ttcc-root .ttcc-switch {
    position: relative;
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    width: 48px;
    height: 44px;
    margin: -5px 0;
}
#ttcc-root .ttcc-switch input {
    position: absolute;
    z-index: 1;
    inset: 0;
    width: 48px;
    height: 44px;
    margin: 0;
    padding: 0;
    opacity: 0;
    cursor: pointer;
}
#ttcc-root .ttcc-switch-track {
    position: relative;
    display: block;
    width: 46px;
    height: 26px;
    border: 1px solid #8c9fa8;
    border-radius: 20px;
    background: #b8c5cc;
    pointer-events: none;
    transition: background-color 120ms ease;
}
#ttcc-root .ttcc-switch-track::after {
    position: absolute;
    inset: 3px auto auto 3px;
    display: block;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 2px rgba(16, 44, 62, 0.2);
    content: "";
    transition: transform 120ms ease;
}
#ttcc-root .ttcc-switch input:checked + .ttcc-switch-track {
    border-color: var(--ttcc-accent);
    background: var(--ttcc-accent);
}
#ttcc-root .ttcc-switch input:checked + .ttcc-switch-track::after {
    transform: translateX(20px);
}
#ttcc-root .ttcc-switch input:focus-visible + .ttcc-switch-track {
    outline: 3px solid var(--ttcc-accent);
    outline-offset: 4px;
}
#ttcc-root .ttcc-detail {
    color: var(--ttcc-muted);
    font-size: 12px;
    line-height: 1.65;
}
#ttcc-root code {
    padding: 1px 4px;
    border-radius: 3px;
    background: #edf2f4;
    color: var(--ttcc-ink);
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", monospace;
    font-size: 0.95em;
    white-space: nowrap;
}
#ttcc-root .ttcc-preference-note {
    margin-top: 18px;
}
#ttcc-root .ttcc-dialog-actions {
    flex: 0 0 auto;
    padding: 18px 27px 24px;
    border-top: 1px solid var(--ttcc-line);
    background: var(--ttcc-wash);
}
#ttcc-root .ttcc-equal-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 10px;
}
#ttcc-root .ttcc-save {
    width: 100%;
}
.ttcc-launcher {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    margin: 0;
    padding: 9px 12px;
    border: 1px solid transparent;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: var(--ttcc-ink);
    cursor: pointer;
    font-family: var(--ttcc-font);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: normal;
    text-decoration: none;
    text-transform: none;
    appearance: none;
}
.ttcc-launcher:hover {
    border-color: var(--ttcc-line);
    background: #fff;
    color: var(--ttcc-ink);
}
.ttcc-launcher-inline {
    padding-inline: 5px;
    margin-inline: -5px;
}
#ttcc-root .ttcc-launcher-floating {
    position: fixed;
    z-index: 99980;
    left: 16px;
    bottom: 12px;
    border-color: var(--ttcc-line);
    background: #fff;
    box-shadow: 0 2px 10px rgba(16, 44, 62, 0.1);
}
#ttcc-root .ttcc-status {
    position: fixed;
    z-index: 100010;
    right: 16px;
    bottom: 16px;
    max-width: min(430px, calc(100% - 32px));
    width: max-content;
    height: auto;
    padding: 0;
    border: 0;
    border-radius: 8px;
    color: #fff;
    font-size: 13px;
    line-height: 1.5;
    overflow-wrap: anywhere;
    pointer-events: none;
}
#ttcc-root .ttcc-status-visible {
    padding: 13px 17px;
    background: var(--ttcc-ink);
    box-shadow: 0 4px 18px rgba(16, 44, 62, 0.15);
}
#ttcc-root .ttcc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.ttcc-embed {
    display: block;
    width: 100%;
    margin-block: 24px;
    overflow: hidden;
    border: 1px solid var(--ttcc-line);
    border-radius: 8px;
    background: var(--ttcc-wash);
}
.ttcc-embed-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 30px 24px;
    text-align: center;
}
.ttcc-embed .ttcc-embed-copy {
    max-width: 480px;
    margin-inline: auto;
}
.ttcc-embed p {
    margin: 8px 0 15px;
    font-size: 14px;
    line-height: 1.6;
}
.ttcc-embed [data-ttcc-open] {
    margin: 0 4px 6px;
}
.ttcc-embed iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin: 0;
    border: 0;
    background: #0b1720;
}
/* The placeholder supplies its own size inside a responsive WordPress embed. */
.wp-block-embed__wrapper.ttcc-managed-wrapper::before {
    display: none !important;
    padding-top: 0 !important;
}
.wp-block-embed__wrapper.ttcc-managed-wrapper .ttcc-embed iframe {
    position: static;
    inset: auto;
    width: 100%;
    height: auto;
}
.ttcc-embed-playing {
    border-color: transparent;
    background: #0b1720;
}

/* Optional policy-page shortcodes and the no-JavaScript notice. */
.ttcc-settings-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    margin: 5px 0;
    padding: 9px 15px;
    border: 1px solid #b7c9ce;
    border-radius: 6px;
    background: #fff;
    color: var(--ttcc-ink);
    cursor: pointer;
    font-family: var(--ttcc-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    text-transform: none;
}
.ttcc-settings-link:hover {
    border-color: var(--ttcc-accent);
    background: var(--ttcc-wash);
    color: var(--ttcc-ink);
}
.ttcc-cookie-details {
    max-width: 100%;
    margin-block: 20px;
    overflow-x: auto;
}
.ttcc-cookie-details table {
    width: 100%;
    margin: 12px 0;
    border-collapse: collapse;
    font-size: 14px;
    line-height: 1.5;
}
.ttcc-cookie-details th,
.ttcc-cookie-details td {
    padding: 12px;
    border: 1px solid var(--ttcc-line);
    text-align: left;
    vertical-align: top;
}
.ttcc-cookie-details th {
    background: var(--ttcc-wash);
    color: var(--ttcc-ink);
    font-weight: 700;
}
.ttcc-noscript {
    margin: 16px;
    padding: 14px 18px;
    border: 1px solid var(--ttcc-line);
    border-radius: 6px;
    background: var(--ttcc-wash);
    font-size: 13px;
}

@media (max-width: 800px) {
    #ttcc-root .ttcc-banner {
        align-items: stretch;
        flex-direction: column;
        gap: 18px;
        padding: 20px;
    }
    #ttcc-root .ttcc-banner-copy,
    #ttcc-root .ttcc-banner-actions {
        flex: 0 1 auto;
        min-width: 0;
    }
    #ttcc-root .ttcc-banner-actions {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    #ttcc-root .ttcc-banner-actions > [data-ttcc-open] {
        grid-column: auto;
    }
    #ttcc-root .ttcc-banner-actions > [data-ttcc-action="acknowledge"] {
        grid-column: span 2;
    }
}
@media (max-width: 480px) {
    #ttcc-root .ttcc-banner {
        inset: auto 10px 10px;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        gap: 15px;
        padding: 17px 16px;
        border-radius: 9px;
    }
    #ttcc-root .ttcc-banner h2 {
        font-size: 20px;
    }
    #ttcc-root .ttcc-banner p {
        font-size: 13px;
    }
    #ttcc-root .ttcc-banner-actions {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
    #ttcc-root .ttcc-banner-actions > [data-ttcc-open] {
        grid-column: 1 / -1;
    }
    #ttcc-root .ttcc-banner-actions > [data-ttcc-action="acknowledge"] {
        grid-column: 1 / -1;
    }
    #ttcc-root .ttcc-button {
        padding-inline: 10px;
        font-size: 13px;
    }
    #ttcc-root .ttcc-overlay {
        padding: 10px;
    }
    #ttcc-root .ttcc-dialog {
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        border-radius: 10px;
    }
    #ttcc-root .ttcc-dialog-header {
        padding: 19px 17px 16px;
    }
    #ttcc-root .ttcc-dialog h2 {
        font-size: 23px;
    }
    #ttcc-root .ttcc-dialog-body {
        padding: 17px;
    }
    #ttcc-root .ttcc-category {
        padding: 14px;
    }
    #ttcc-root .ttcc-dialog-actions {
        padding: 14px 17px 17px;
    }
    #ttcc-root .ttcc-equal-actions {
        gap: 8px;
        margin-bottom: 8px;
    }
    #ttcc-root .ttcc-status {
        right: 10px;
        bottom: 64px;
        max-width: calc(100% - 20px);
    }
    .ttcc-embed-placeholder {
        min-height: 180px;
        padding: 22px 16px;
    }
}
@media (prefers-reduced-motion: reduce) {
    #ttcc-root *,
    .ttcc-launcher,
    .ttcc-embed * {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}
@media (forced-colors: active) {
    #ttcc-root .ttcc-switch-track {
        border: 1px solid ButtonText;
        background: Canvas;
    }
    #ttcc-root .ttcc-switch-track::after {
        background: ButtonText;
    }
    #ttcc-root .ttcc-switch input:checked + .ttcc-switch-track {
        background: Highlight;
    }
    #ttcc-root .ttcc-button,
    .ttcc-embed [data-ttcc-open] {
        border: 1px solid ButtonText;
    }
}
@media print {
    #ttcc-root,
    .ttcc-launcher {
        display: none !important;
    }
}
