.gcl-policy-links { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem 1rem; }
.gcl-policy-links .gcl-settings-link { border: 0; padding: 0; background: none; color: inherit; text-decoration: underline; font: inherit; cursor: pointer; }
#gcl-consent-panel {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1100;
    max-height: 78vh; overflow-y: auto; padding: 7px 22px 4px;
    background: #fff; color: #666; box-shadow: 0 -1px 5px rgba(0, 0, 0, .08);
    font: 16px/25px "Times New Roman", Times, serif; text-align: start;
}
#gcl-consent-panel [hidden], #gcl-consent-panel[hidden], .gcl-policy-links button[hidden] { display: none !important; }
#gcl-consent-panel .gcl-consent-inner {
    display: grid; grid-template-columns: minmax(0, 1.32fr) minmax(0, 1fr); align-items: center; gap: 0 2.5rem;
}
#gcl-consent-panel .gcl-consent-copy { grid-area: 1 / 1; }
#gcl-consent-panel h2 { font: bold 24px/29px "Times New Roman", Times, serif; margin: 0 0 11px; color: inherit; }
#gcl-consent-panel .gcl-consent-copy p { margin: 0; overflow-wrap: anywhere; }
#gcl-consent-panel a { color: #00338d; font-weight: 700; text-decoration: none; }
#gcl-consent-panel a:hover { text-decoration: underline; }
#gcl-consent-panel .gcl-consent-actions {
    grid-area: 1 / 2; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px;
}
#gcl-consent-panel button {
    appearance: none; cursor: pointer; color: #fff; background: #1e49e2; border: 1px solid #1e49e2;
    border-radius: 2px; padding: 12px; min-height: 52px; font: inherit; font-weight: 700;
}
#gcl-consent-panel [data-gcl-action="settings"], #gcl-consent-panel [data-gcl-action="close"] {
    color: #1e49e2; background: transparent; border-color: transparent; padding-inline: 0; text-decoration: underline;
}
#gcl-consent-panel [data-gcl-preferences][hidden] ~ .gcl-consent-actions [data-gcl-action="close"] { display: none; }
#gcl-consent-panel button:focus-visible, .gcl-policy-links button:focus-visible { outline: 3px solid #1471ca; outline-offset: 2px; }
#gcl-consent-panel fieldset { grid-column: 1 / -1; margin-top: .8rem; }
#gcl-consent-panel legend { font-size: 1rem; margin-bottom: .3rem; }
#gcl-consent-panel label { display: block; padding: .35rem 0; }
#gcl-consent-panel input { margin-inline-end: .5rem; }
#gcl-consent-panel [data-gcl-error] { grid-column: 1 / -1; margin-top: .75rem; }

@media (max-width: 1400px) {
    #gcl-consent-panel .gcl-consent-inner { grid-template-columns: minmax(0, 1fr); gap: .75rem; }
    #gcl-consent-panel .gcl-consent-actions { grid-area: auto; order: 1; justify-content: flex-start; gap: .5rem .9rem; }
    #gcl-consent-panel [data-gcl-error] { order: 2; }
}
@media (max-width: 480px) {
    #gcl-consent-panel { padding: .75rem 1rem; }
    #gcl-consent-panel .gcl-consent-actions { align-items: stretch; flex-direction: column; }
    #gcl-consent-panel button { min-height: 44px; padding-block: 8px; }
}
