/* Task groups for the technical resource hub. Uses the site's existing type and icons. */
#content.technical-hub {
    --technical-base: #212529;
    --technical-panel: #292f35;
    --technical-line: #454d55;
    --technical-text: #ffffff;
    --technical-muted: #ced4da;
    --technical-accent: #ed7186;
    background: var(--technical-base);
    color: var(--technical-muted);
}

.technical-hub .technical-hub__hero {
    padding: 28px 0 34px;
    border-bottom: 1px solid var(--technical-line);
    background: linear-gradient(90deg, rgba(33, 37, 41, .98), rgba(33, 37, 41, .88)),
        url('/website_cdn/llandow/196284223a.jpg') center 45% / cover no-repeat;
}

.technical-hub .technical-hub__breadcrumb ol {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
    font-size: 13px;
}

.technical-hub .technical-hub__breadcrumb li + li::before {
    margin-right: 8px;
    color: var(--technical-muted);
    content: '/';
}

.technical-hub .technical-hub__breadcrumb a {
    color: var(--technical-muted);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.technical-hub h1 {
    margin: 0 0 14px;
    color: var(--technical-text);
    font-size: clamp(28px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.025em;
    text-transform: none;
}

.technical-hub .technical-hub__hero p {
    max-width: 78ch;
    margin: 0;
    color: var(--technical-muted);
    font-size: 16px;
    line-height: 1.65;
}

.technical-hub .technical-hub__body {
    padding-top: 24px;
    padding-bottom: 48px;
}

.technical-hub .technical-hub__tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--technical-line);
}

.technical-hub .technical-hub__tabs a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 9px 16px;
    border: 0;
    border-bottom: 3px solid transparent;
    border-radius: 0;
    color: var(--technical-text);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
}

.technical-hub .technical-hub__tabs a:hover {
    border-color: var(--technical-accent);
    background: var(--technical-panel);
}

.technical-hub .technical-hub__group {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 28px;
    padding: 30px 0;
    border-top: 1px solid var(--technical-line);
    scroll-margin-top: 112px;
}

.technical-hub .technical-hub__group h2 {
    margin: 0 0 10px;
    color: var(--technical-text);
    font-size: 23px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.015em;
    text-transform: none;
}

.technical-hub .technical-hub__group-heading p {
    margin: 0;
    font-size: 14px;
    line-height: 1.65;
}

.technical-hub .technical-hub__group-heading .technical-hub__access-note {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-top: 14px;
    color: var(--technical-accent);
    font-size: 13px;
}

.technical-hub .technical-hub__resources {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.technical-hub .technical-hub__resources--pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.technical-hub .technical-hub__resources--single {
    grid-template-columns: minmax(0, 1fr);
}

.technical-hub .technical-resource {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    align-content: start;
    column-gap: 10px;
    row-gap: 12px;
    padding: 20px;
    border: 1px solid var(--technical-line);
    border-radius: 5px;
    background: var(--technical-panel);
    color: var(--technical-muted);
    text-decoration: none;
}

.technical-hub a.technical-resource:hover {
    border-color: var(--technical-accent);
}

.technical-hub .technical-resource__actions {
    grid-column: 1 / -1;
    display: flex;
    flex-wrap: wrap;
    align-self: end;
    gap: 8px 24px;
}

.technical-hub .technical-resource__actions a {
    display: inline-flex;
    align-items: center;
    min-height: 32px;
}

.technical-hub .technical-resource__icon {
    align-self: start;
    color: var(--technical-accent);
    font-size: 24px;
    line-height: 1.15;
}

.technical-hub .technical-resource h3 {
    align-self: center;
    margin: 0;
    color: var(--technical-text);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    letter-spacing: 0;
    text-transform: none;
    overflow-wrap: break-word;
}

.technical-hub .technical-resource p {
    grid-column: 1 / -1;
    margin: 0;
    color: var(--technical-muted);
    font-size: 14px;
    line-height: 1.6;
}

.technical-hub .technical-resource__note {
    grid-column: 1 / -1;
    color: var(--technical-muted);
    font-size: 12px;
    line-height: 1.5;
}

.technical-hub .technical-resource__action {
    grid-column: 1 / -1;
    align-self: end;
    color: var(--technical-accent);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.technical-hub .technical-hub__help {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 8px;
    padding-top: 28px;
    border-top: 1px solid var(--technical-line);
}

.technical-hub .technical-hub__help h2 {
    margin: 0 0 8px;
    color: var(--technical-text);
    font-size: 21px;
    line-height: 1.35;
    text-transform: none;
}

.technical-hub .technical-hub__help p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.technical-hub .technical-hub__help > a {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 10px 18px;
    border: 1px solid var(--technical-accent);
    border-radius: 4px;
    color: var(--technical-text);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.technical-hub .technical-hub__help > a:hover {
    background: var(--technical-panel);
}

.technical-hub a:focus-visible,
.technical-hub .technical-hub__group:focus-visible {
    /* The shared theme suppresses link outlines with !important. */
    outline: 3px solid var(--technical-accent) !important;
    outline-offset: 4px;
}

@media (max-width: 1199.98px) {
    .technical-hub .technical-hub__group {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        scroll-margin-top: 84px;
    }

    .technical-hub .technical-hub__group h2 {
        margin-bottom: 6px;
    }

    .technical-hub .technical-hub__group-heading .technical-hub__access-note {
        margin-top: 8px;
    }
}

@media (max-width: 767.98px) {
    .technical-hub .technical-hub__hero {
        padding: 22px 0 24px;
    }

    .technical-hub .technical-hub__breadcrumb ol {
        margin-bottom: 16px;
    }

    .technical-hub .technical-hub__hero p {
        font-size: 15px;
        line-height: 1.6;
    }

    .technical-hub .technical-hub__body {
        padding-top: 20px;
        padding-bottom: 32px;
    }

    .technical-hub .technical-hub__tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        margin-bottom: 24px;
    }

    .technical-hub .technical-hub__tabs a {
        gap: 7px;
        padding: 9px 8px;
        font-size: 13px;
    }

    .technical-hub .technical-hub__group {
        padding: 24px 0;
        gap: 16px;
    }

    .technical-hub .technical-hub__group h2 {
        font-size: 22px;
    }

    .technical-hub .technical-hub__resources {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .technical-hub .technical-resource {
        padding: 16px;
        row-gap: 8px;
    }

    .technical-hub .technical-hub__help {
        align-items: flex-start;
        flex-direction: column;
        gap: 16px;
        padding-top: 24px;
    }
}

.technical-hub .technical-hub__tabs a[aria-current="page"] { border-bottom-color:var(--technical-accent); background:var(--technical-panel); color:#fff; }
.technical-hub .lte-projects-tab { padding-top:0; }
.technical-hub .lte-project-heading h2 { color:#fff; margin:0 0 6px; }
