.gdl {
    --gdl-ink: #102b42;
    --gdl-muted: #465f70;
    --gdl-line: #d4e1e6;
    --gdl-accent: #0d5c50;
    --gdl-highlight: #a9f4db;
    --gdl-on-highlight: #09392f;
    --gdl-hero-end: #116053;
    --gdl-surface: #f0f5f7;
    --gdl-hover: #e8f6f1;
    color: var(--gdl-ink);
}

.gdl--talent, .gdl-hub-card--talent {
    --gdl-accent: #464e86;
    --gdl-highlight: #e1e3ff;
    --gdl-on-highlight: #292d58;
    --gdl-hero-end: #444479;
    --gdl-surface: #f0f0f8;
    --gdl-hover: #ededfa;
}

.gdl--hub { --gdl-hero-end: #28596c; }
.gp-page .gp-body:has(> .gdl) { max-width: none; }
.gdl *, .gdl *::before, .gdl *::after { box-sizing: border-box; }
.gdl a[href].gdl-tile { color: var(--gdl-ink) !important; text-decoration: none !important; }
.gdl a[href].gdl-tile:hover { color: var(--gdl-accent) !important; }
.gdl a:focus-visible, .gdl button:focus-visible, .gdl input:focus-visible {
    outline: 3px solid #ca7710;
    outline-offset: 3px;
}

.gdl-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    gap: clamp(20px, 5vw, 62px);
    padding: clamp(24px, 4.4vw, 62px);
    border-radius: 24px;
    background: linear-gradient(116deg, #102b42 15%, #154359 73%, var(--gdl-hero-end));
    color: #fff;
}
.gdl-hero--directory { grid-template-columns: minmax(0, 1fr) auto; align-items: end; }
.gdl-hero::before {
    position: absolute;
    z-index: -1;
    width: 540px;
    height: 540px;
    right: -135px;
    top: -210px;
    border: 1px solid rgb(255 255 255 / 18%);
    border-radius: 50%;
    box-shadow: 0 0 0 33px rgb(255 255 255 / 8%), 0 0 0 67px rgb(255 255 255 / 7%), 0 0 0 101px rgb(255 255 255 / 6%);
    content: "";
    pointer-events: none;
}
.gdl .gdl-hero h1 {
    margin: 0;
    color: inherit;
    font-size: clamp(25px, 4.3vw, 57px);
    font-weight: 900;
    line-height: 1.18;
}
.gdl-hero-copy { margin: 12px 0 0; color: #e4edf4; line-height: 1.65; }
.gdl-search { max-width: 650px; margin: 25px 0 0; }
.gdl-search label { display: block; margin: 0 0 8px; font-weight: 750; }
.gdl-search-controls { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.gdl-search input, .gdl-search button {
    min-width: 0;
    min-height: 54px;
    margin: 0;
    padding: 10px 15px;
    border: 1px solid transparent;
    border-radius: 10px;
    font: inherit;
}
.gdl-search input { width: 100%; background: #fff; color: var(--gdl-ink); font-size: 16px; }
.gdl-search input::placeholder { color: #566d7c; }
.gdl-search button { background: var(--gdl-highlight); color: var(--gdl-on-highlight); cursor: pointer; font-weight: 850; }
.gdl-search button:hover { background: #fff; }
.gdl-all { min-width: 160px; padding: 14px 18px; border: 1px solid rgb(255 255 255 / 38%); border-radius: 14px; background: rgb(10 33 48 / 56%); }
.gdl-all strong { display: block; font-size: clamp(30px, 4.6vw, 56px); line-height: 1; font-variant-numeric: tabular-nums; }
.gdl-all strong span { margin-left: 7px; font-size: 15px; }
.gdl .gdl-all a { display: inline-flex; gap: 12px; align-items: center; min-height: 44px; color: #f0fcfc !important; font-weight: 750; text-decoration: none !important; }
.gdl .gdl-all a:hover { text-decoration: underline !important; text-underline-offset: 3px; }
.gdl-arrow { position: relative; flex: 0 0 16px; width: 16px; height: 12px; }
.gdl-arrow::before, .gdl-arrow::after { position: absolute; top: 50%; right: 0; content: ""; }
.gdl-arrow::before { width: 14px; height: 2px; transform: translateY(-50%); background: currentColor; }
.gdl-arrow::after { width: 7px; height: 7px; border-top: 2px solid currentColor; border-right: 2px solid currentColor; transform: translateY(-50%) rotate(45deg); }

.gdl-block { margin-top: clamp(28px, 4vw, 52px); }
.gdl .gdl-block h2, .gdl .gdl-hub-card h2 {
    margin: 0 0 16px;
    padding: 0;
    border: 0;
    color: var(--gdl-ink);
    font-size: clamp(19px, 2.3vw, 26px);
    line-height: 1.35;
}
.gdl-filters { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gdl-tile {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    padding: 13px 15px;
    border: 1px solid var(--gdl-line);
    border-radius: 12px;
    background: #fff;
    line-height: 1.45;
}
.gdl-tile:hover { background: var(--gdl-hover); border-color: var(--gdl-accent); }
.gdl-tile .gdl-arrow { color: var(--gdl-accent); }
.gdl-filters strong, .gdl-filters small { display: block; }
.gdl-filters small { margin-top: 3px; color: var(--gdl-muted); font-size: 12px; }

.gdl-groups { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 1fr); gap: 14px; }
.gdl-group { min-width: 0; padding: clamp(12px, 2vw, 22px); border-radius: 15px; background: var(--gdl-surface); }
.gdl-group--regional, .gdl-group--genres { grid-column: 1 / -1; }
.gdl-group--freelance { background: #e9f5ef; }
.gdl .gdl-group h3 { margin: 0 0 10px; padding: 0; border: 0; color: var(--gdl-ink); font-size: 15px; }
.gdl .gdl-group ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.gdl .gdl-group--freelance ul { grid-template-columns: 1fr; }
.gdl .gdl-group li { margin: 0; padding: 0; }
.gdl-category { height: 100%; min-height: 54px; gap: 8px; }
.gdl-category-name { display: flex; gap: 3px 8px; align-items: baseline; flex-wrap: wrap; min-width: 0; }
.gdl-category-name strong { font-size: 14px; }
.gdl-category-name > span { white-space: nowrap; color: var(--gdl-muted); font-size: 13px; }

.gdl-hub-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 22px; }
.gdl-hub-card { display: flex; flex-direction: column; min-width: 0; padding: clamp(20px, 3.6vw, 38px); border: 1px solid var(--gdl-line); border-top: 4px solid var(--gdl-accent); border-radius: 16px; background: var(--gdl-surface); }
.gdl .gdl-hub-card h2 { font-size: clamp(24px, 3vw, 36px); }
.gdl .gdl-hub-fields { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 24px; padding: 0; list-style: none; }
.gdl .gdl-hub-fields li { margin: 0; padding: 4px 9px; border: 1px solid var(--gdl-line); border-radius: 7px; background: #fff; color: var(--gdl-muted); font-size: 13px; }
.gdl-hub-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 17px; margin-top: auto; }
.gdl a.gdl-hub-open {
    display: inline-flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 10px 13px;
    border-radius: 9px;
    background: var(--gdl-accent);
    color: #fff;
    font-weight: 750;
    text-decoration: none;
}
.gdl a.gdl-hub-open:hover { background: var(--gdl-ink); color: #fff; }
.gdl a.gdl-hub-search { display: inline-flex; align-items: center; min-height: 44px; color: var(--gdl-accent); font-weight: 750; text-decoration: underline; text-underline-offset: 4px; }

@media (max-width: 900px) {
    .gdl-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gdl-groups { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .gdl-hub-grid { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
    .gdl-hero { grid-template-columns: 1fr; gap: 14px; border-radius: 15px; }
    .gdl-search { margin-top: 17px; }
    .gdl-all { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-width: 0; padding: 4px 10px; }
    .gdl-all strong { font-size: 30px; }
    .gdl .gdl-all a { font-size: 13px; }
    .gdl--talent .gdl-all a { flex: 1; justify-content: space-between; }
    .gdl-filters { gap: 8px; }
    .gdl-tile { min-height: 54px; padding: 9px; gap: 7px; }
    .gdl .gdl-group ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gdl .gdl-group--freelance ul { grid-template-columns: 1fr; }
}
@media (min-width: 361px) and (max-width: 600px) {
    .gdl-group--genres .gdl-arrow { display: none; }
}
@media (max-width: 360px) {
    .gdl .gdl-group--regional ul, .gdl .gdl-group--genres ul { grid-template-columns: 1fr; }
}
