.agp-consent {position:fixed;inset:auto 16px 16px;margin:0 auto;width:min(720px,calc(100% - 32px));max-height:85vh;overflow:auto;box-sizing:border-box;background:#191919;color:#ccc;border:1px solid #555;padding:24px;font:18px/1.5 'Roboto Condensed',sans-serif;box-shadow:0 8px 40px #0008;z-index:2147483647}
.agp-consent::backdrop {background:#0005}
.agp-consent h2 {font-family:inherit;font-size:25px;font-weight:600;line-height:1.3;color:#ddd;margin:0 0 12px}
.agp-consent p {color:inherit;margin:0 0 16px}
.agp-consent a {color:#ddd;text-decoration:underline}
.agp-consent-actions {display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.agp-consent button,.agp-map-consent button,.agp-cookie-settings {font:inherit;color:#ddd;background:#292929;border:1px solid #777;padding:10px 15px;cursor:pointer}
.agp-consent button:hover,.agp-map-consent button:hover,.agp-cookie-settings:hover {background:#444}
.agp-consent :focus-visible,.agp-map-consent :focus-visible,.agp-cookie-settings:focus-visible {outline:2px solid #eee;outline-offset:3px}
.agp-consent-options {margin-top:20px}
.agp-consent-options label {display:flex;align-items:center;gap:10px;margin:12px 0;cursor:pointer}
.agp-consent-options input {appearance:auto;width:20px;height:20px;accent-color:#777}
.agp-cookie-settings {display:block;margin:20px auto}
.agp-map-consent {padding:32px;background:#191919;color:#ccc;text-align:center;min-height:200px;box-sizing:border-box}
.agp-consent [hidden],.agp-map-consent[hidden],iframe[data-consent-map-src][hidden] {display:none!important}
@media(max-width:600px) {.agp-consent {padding:20px;font-size:16px}.agp-consent-actions button {flex:1 1 140px}}
/* A quiet bottom notice, with detailed choices in a separate panel. */
.agp-consent-banner {position:fixed;inset:auto 0 0;z-index:2147483646;display:flex;align-items:center;gap:28px;padding:18px 28px;background:#111;color:#bbb;border-top:1px solid #333;font:16px/1.45 'Roboto Condensed',sans-serif;box-sizing:border-box}
.agp-consent-banner p {flex:1;margin:0;color:inherit;font:inherit}
.agp-consent-banner a,.agp-consent a {color:inherit;text-decoration:underline}
.agp-consent-banner .agp-consent-actions {margin:0;flex-wrap:nowrap;flex-shrink:0}
.agp-consent-banner button,.agp-consent-actions button {border:1px solid #aaa;border-radius:24px;background:#ccc;color:#191919;padding:10px 18px;font:500 15px/1.3 'Roboto Condensed',sans-serif;cursor:pointer;min-height:42px}
.agp-consent-banner button:hover,.agp-consent-actions button:hover {background:#eee;color:#111}
.agp-consent-banner button:focus-visible {outline:2px solid white;outline-offset:3px}
.agp-consent-banner[hidden] {display:none!important}
.agp-consent {inset:0;margin:auto;width:min(640px,calc(100% - 32px));height:fit-content;padding:36px;background:#111;border:1px solid #333}
.agp-consent h2 {font-size:26px;font-weight:500;margin:0 36px 24px 0}
.agp-consent .agp-consent-close {position:absolute;top:12px;right:16px;border:0;background:transparent;padding:4px 8px;font-size:28px;line-height:1;color:#bbb}
.agp-consent-options {margin:0}
.agp-consent-options section {padding:18px 0;border-bottom:1px solid #444}
.agp-consent-options section:first-child {padding-top:0}
.agp-consent-options section:last-child {border-bottom:0}
.agp-consent-options .agp-consent-row {display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0 0 10px;font-size:18px}
.agp-consent-row small {font-size:14px}
.agp-consent-options p {font-size:16px;line-height:1.45;margin:0;color:#aaa}
.agp-consent-options input {appearance:none;flex-shrink:0;position:relative;width:36px;height:20px;border:1px solid #888;border-radius:20px;background:#444;margin:0;cursor:pointer}
.agp-consent-options input::after {content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#ccc;transition:transform .15s}
.agp-consent-options input:checked {background:#aaa}
.agp-consent-options input:checked::after {transform:translateX(16px);background:#111}
.agp-consent .agp-consent-actions {justify-content:space-between;align-items:center}
@media(max-width:900px) {.agp-consent-banner {flex-direction:column;align-items:stretch;gap:14px;padding:16px 20px}.agp-consent-banner .agp-consent-actions {flex-wrap:wrap}.agp-consent-banner button {flex:1 1 auto}}
@media(max-width:600px) {.agp-consent {padding:26px 22px}.agp-consent-banner {font-size:15px}.agp-consent .agp-consent-actions button {flex:0 1 auto}}
@media(prefers-reduced-motion:reduce) {.agp-consent-options input::after {transition:none}}

/* Discreet footer access to saved consent choices. */
footer .agp-cookie-settings {
  display:block;width:fit-content;margin:0 auto 0 4%;padding:10px 0;
  border:0;border-radius:0;background:transparent;box-shadow:none;
  color:#aaa;font-family:inherit;font-size:13px;font-weight:400;line-height:1.5;
  text-transform:none;letter-spacing:normal;text-align:left;min-height:40px;
}
footer .agp-cookie-settings:hover {background:transparent;color:#ddd;text-decoration:underline;text-underline-offset:3px}
footer .agp-cookie-settings:focus-visible {outline:1px solid #ccc;outline-offset:3px}
/* Keep the preferences control close to the copyright row. */
footer:has(.agp-cookie-settings) #qodef-page-footer-bottom-area-inner {
  padding-bottom: 16px !important;
}
footer:has(.agp-cookie-settings) #qodef-page-footer-bottom-area .widget,
footer:has(.agp-cookie-settings) #qodef-page-footer-bottom-area p {
  margin-bottom: 0 !important;
}

/* Compact preferences panel and browser-independent switch thumbs. */
.agp-consent {width:min(560px,calc(100% - 32px));padding:26px 28px}
.agp-consent h2 {margin-bottom:20px}
.agp-consent-options section {padding:14px 0}
.agp-consent .agp-consent-actions {margin-top:16px}
.agp-consent .agp-consent-actions > a {font-size:16px;line-height:1.5}
.agp-consent .agp-consent-close,
.agp-consent .agp-consent-close:hover,
.agp-consent .agp-consent-close:focus {border:0;box-shadow:none;outline:none;background:transparent}
.agp-consent .agp-consent-close:focus-visible {color:#fff;text-decoration:underline;text-underline-offset:4px}
.agp-consent h2:focus {outline:none}
.agp-switch {position:relative;display:inline-block;flex-shrink:0;width:36px;height:20px}
.agp-consent-options .agp-switch input {position:absolute;inset:0;width:100%;height:100%;opacity:0;z-index:1;margin:0;cursor:pointer}
.agp-switch-track {position:absolute;inset:0;border:1px solid #888;border-radius:20px;background:#444;pointer-events:none;box-sizing:border-box}
.agp-switch-track::after {content:'';position:absolute;top:2px;left:2px;width:14px;height:14px;border-radius:50%;background:#ddd;transition:transform .15s}
.agp-switch input:checked + .agp-switch-track {background:#bbb}
.agp-switch input:checked + .agp-switch-track::after {transform:translateX(16px);background:#111}
.agp-switch input:focus-visible + .agp-switch-track {outline:2px solid #eee;outline-offset:3px}
@media(max-width:600px) {.agp-consent {padding:24px 22px}}
@media(prefers-reduced-motion:reduce) {.agp-switch-track::after {transition:none}}
/* Reduce preference-dialog typography by one pixel. */
.agp-consent {font-size:17px}
.agp-consent h2 {font-size:25px}
.agp-consent-options .agp-consent-row {font-size:17px}
.agp-consent-row small {font-size:13px}
.agp-consent-options p {font-size:15px}
.agp-consent .agp-consent-actions > a {font-size:15px}
.agp-consent .agp-consent-actions button {font-size:14px}
.agp-consent .agp-consent-close {font-size:27px}
@media(max-width:600px) {.agp-consent {font-size:15px}}

/* Additional one-pixel reduction for Greek preferences only. */
.agp-consent.agp-consent--greek {font-size:16px}
.agp-consent--greek h2 {font-size:24px}
.agp-consent--greek .agp-consent-row {font-size:16px}
.agp-consent--greek .agp-consent-row small {font-size:12px}
.agp-consent--greek .agp-consent-options p {font-size:14px}
.agp-consent--greek .agp-consent-actions > a {font-size:14px}
.agp-consent--greek .agp-consent-actions button {font-size:13px}
.agp-consent--greek .agp-consent-close {font-size:26px}
@media(max-width:600px) {.agp-consent.agp-consent--greek {font-size:14px}}

/* Emphasise the three consent category headings in both languages. */
.agp-consent .agp-consent-row > span:first-child {font-weight:700}
/* Slimmer first-visit banner; preference dialog remains unchanged. */
.agp-consent-banner {padding:10px 24px;gap:20px;font-size:14px;line-height:1.4}
.agp-consent-banner button {padding:8px 14px;min-height:36px;font-size:14px}
.agp-consent-banner .agp-consent-actions {gap:8px}
@media(max-width:900px) {.agp-consent-banner {padding:10px 16px;gap:10px}}
/* Quiet, equally prominent banner actions. */
.agp-consent-banner button {
  background:#222;color:#bbb;border-color:#555;font-weight:400;
}
.agp-consent-banner button:hover {
  background:#303030;color:#ddd;border-color:#777;
}
/* Highlight policy links within the consent controls. */
.agp-consent-banner a,.agp-consent .agp-consent-actions > a {
  transition:color .18s ease;
}
.agp-consent-banner a:hover,.agp-consent-banner a:focus-visible,
.agp-consent .agp-consent-actions > a:hover,
.agp-consent .agp-consent-actions > a:focus-visible {
  color:#fff;text-decoration:underline;
}
