/* Cookie consent banner and settings dialog (inc/consent.php, assets/js/consent.js).
   Approved design: .agency/designs/consent/consent-v1.html, card bottom left (Owner 2026-11-25). */
.hdf-cc,.hdf-ccd,.hdf-cc-open{--hdf-navy:#142940; --hdf-navy-deep:#0e1e30; --hdf-blue:#285d98; --hdf-text:#2a3b4f; --hdf-red:#c6353b;
  --hdf-warm:#fbfaf7; --hdf-cool:#f5f8fb; --hdf-line:#dce6ee; --hdf-line-soft:#edf2f6; --hdf-text-2:#3d4f63; --hdf-muted:#5a6b7d;
  --hdf-on-dark:#c9d6e3; --hdf-on-dark-2:#a9bcd0; --hdf-on-dark-3:#7f95ab; --hdf-border-dark:#2c4560;
  --serif:'Newsreader',Georgia,serif; --sans:'Manrope',system-ui,sans-serif; --mono:'IBM Plex Mono',ui-monospace,monospace;
  /* consent (new, theme CSS) */
  --hdf-cc-w:500px;                       /* desktop card width */
  --hdf-cc-offset:24px;                   /* card distance from the window bottom */
  --hdf-cc-shadow:0 18px 44px -14px rgba(14,30,48,.32),0 2px 6px rgba(14,30,48,.08);
  --hdf-cc-backdrop:rgba(14,30,48,.62);  /* dialog backdrop, navy-deep 62 % */
  --hdf-ccd-w:600px;                      /* dialog width */
  --hdf-cc-dur:.2s; --hdf-cc-ease:cubic-bezier(.2,.7,.2,1);
  --hdf-cc-gut:32px;
}html body .hdf-cc[hidden]{display:none!important}html body .hdf-cc *,html body .hdf-ccd *{box-sizing:border-box}html body .hdf-cc :focus-visible,html body .hdf-ccd :focus-visible{outline:3px solid var(--hdf-navy);outline-offset:2px}
/* =====================================================================
   COMPONENT 1: consent banner  .hdf-cc   (production: position fixed)
   ===================================================================== */
html body .hdf-cc{position:fixed;z-index:60;left:var(--hdf-cc-gut);bottom:var(--hdf-cc-offset);width:min(var(--hdf-cc-w),calc(100% - 2 * var(--hdf-cc-gut)));
  padding:24px 28px 24px;background:#fff;border:1px solid var(--hdf-line);border-top:3px solid var(--hdf-navy);border-radius:2px;box-shadow:var(--hdf-cc-shadow);
  font:400 16px/1.6 var(--sans);color:var(--hdf-text-2);
  animation:hdf-cc-in var(--hdf-cc-dur) var(--hdf-cc-ease) both}
@keyframes hdf-cc-in{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}html body .hdf-cc__eyebrow{display:block;margin:0 0 8px;font:500 11.5px/1.3 var(--mono);letter-spacing:.12em;text-transform:uppercase;color:var(--hdf-muted)}html body .hdf-cc__title{margin:0;font:400 26px/1.15 var(--serif);letter-spacing:-.2px;color:var(--hdf-navy)}html body .hdf-cc__text{margin:10px 0 0;text-wrap:pretty}html body .hdf-cc__text a,html body .hdf-ccd a.hdf-cc-link{color:var(--hdf-blue);font-weight:600;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}html body .hdf-cc__text a:hover,html body .hdf-ccd a.hdf-cc-link:hover{color:var(--hdf-navy);text-decoration-thickness:2px}html body .hdf-cc__actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:20px}

/* the two choices: identical size, colour and weight */
html body .hdf-cc-btn{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border:1px solid var(--hdf-navy);border-radius:2px;
  background:var(--hdf-navy);color:#fff;font:600 15px/1.2 var(--sans);cursor:pointer;text-align:center;
  transition:background-color var(--hdf-cc-dur),border-color var(--hdf-cc-dur)}html body .hdf-cc-btn:hover{background:var(--hdf-blue);border-color:var(--hdf-blue)}html body .hdf-cc-btn:active{background:var(--hdf-navy-deep);border-color:var(--hdf-navy-deep)}html body .hdf-cc-btn:focus-visible{outline:3px solid var(--hdf-navy);outline-offset:2px}

/* "Postavke": quiet text button, same height as the choices */
html body .hdf-cc-more{display:inline-flex;align-items:center;gap:8px;min-height:48px;padding:0 4px;border:0;background:none;color:var(--hdf-blue);
  font:600 15px/1.2 var(--sans);text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px;cursor:pointer;white-space:nowrap}html body .hdf-cc-more svg{flex:none;width:18px;height:18px}html body .hdf-cc-more:hover{color:var(--hdf-navy);text-decoration-thickness:2px}html body .hdf-cc-more:focus-visible{outline:3px solid var(--hdf-navy);outline-offset:2px;border-radius:2px}

/* phone: compact bottom sheet, edge to edge */
@media (max-width:639px){
html body .hdf-cc{left:0;right:0;bottom:0;width:auto;padding:16px 16px calc(16px + env(safe-area-inset-bottom));border-left:0;border-right:0;border-bottom:0;border-radius:0;
    box-shadow:0 -10px 32px -8px rgba(14,30,48,.28)}html body .hdf-cc__eyebrow{display:none}html body .hdf-cc__title{font-size:21px}html body .hdf-cc__text{margin-top:6px;font-size:16px;line-height:1.5}html body .hdf-cc__actions{gap:8px;margin-top:14px}html body .hdf-cc-btn{padding:0 12px}
}
@media (max-width:359px){ html body .hdf-cc__actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}html body .hdf-cc-more{grid-column:1 / -1;justify-self:start} }

/* =====================================================================
   COMPONENT 2: settings dialog  .hdf-ccd  (production: native <dialog>, showModal())
   ===================================================================== */
html body .hdf-ccd{display:flex;flex-direction:column;width:min(var(--hdf-ccd-w),calc(100% - 48px));max-height:calc(100% - 48px);margin:0;padding:0;
  background:#fff;border:0;border-top:3px solid var(--hdf-navy);border-radius:2px;box-shadow:0 24px 64px -16px rgba(14,30,48,.5);color:var(--hdf-text-2);overflow:hidden}html body dialog.hdf-ccd:not([open]){display:none}html body dialog.hdf-ccd::backdrop{background:var(--hdf-cc-backdrop)}html body .hdf-ccd__head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:28px 32px 0}html body .hdf-ccd__title{margin:0;font:400 34px/1.1 var(--serif);letter-spacing:-.4px;color:var(--hdf-navy)}html body .hdf-ccd__close{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-4px -8px 0 0;padding:0;border:1px solid var(--hdf-navy);border-radius:2px;background:#fff;color:var(--hdf-navy);cursor:pointer;transition:background-color var(--hdf-cc-dur),color var(--hdf-cc-dur)}html body .hdf-ccd__close:hover{background:var(--hdf-navy);color:#fff}html body .hdf-ccd__close svg{width:20px;height:20px}html body .hdf-ccd__body{flex:1 1 auto;overflow:auto;padding:12px 32px 8px;overscroll-behavior:contain}html body .hdf-ccd__intro{margin:0 0 20px;font:400 16px/1.6 var(--sans);text-wrap:pretty}html body .hdf-ccd__cat{padding:20px 0;border-top:1px solid var(--hdf-line)}html body .hdf-ccd__row{display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:44px}html body .hdf-ccd__name{margin:0;font:700 18px/1.3 var(--sans);color:var(--hdf-navy)}html body .hdf-ccd__desc{margin:6px 0 0;font:400 15.5px/1.6 var(--sans);color:var(--hdf-text-2);max-width:60ch;text-wrap:pretty}html body .hdf-ccd__desc code{font:500 .86em/1 var(--mono);color:var(--hdf-navy);background:var(--hdf-line-soft);padding:2px 5px;border-radius:2px;white-space:nowrap}html body .hdf-ccd__always{display:inline-flex;align-items:center;gap:8px;font:500 12px/1.2 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--hdf-muted)}html body .hdf-ccd__always svg{width:16px;height:16px;color:var(--hdf-navy)}html body .hdf-ccd__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding:20px 32px 28px;border-top:1px solid var(--hdf-line);background:var(--hdf-warm)}html body .hdf-ccd__foot .hdf-cc-btn{min-width:200px}html body .hdf-ccd a.hdf-cc-link{display:inline-flex;align-items:center;min-height:44px}

/* switch: real checkbox with role="switch", drawn track, state written next to it */
html body .hdf-switch{position:relative;display:inline-flex;align-items:center;gap:12px;min-height:44px;padding-left:8px;cursor:pointer;flex:none}html body .hdf-switch input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer;z-index:1}html body .hdf-switch__state{order:-1;min-width:11ch;text-align:right;font:500 12px/1.2 var(--mono);letter-spacing:.08em;text-transform:uppercase;color:var(--hdf-muted)}html body .hdf-switch__state .on{display:none}html body .hdf-switch__track{position:relative;flex:none;width:52px;height:30px;border:2px solid var(--hdf-muted);border-radius:15px;background:#fff;transition:background-color var(--hdf-cc-dur),border-color var(--hdf-cc-dur)}html body .hdf-switch__knob{position:absolute;top:4px;left:4px;width:18px;height:18px;border-radius:50%;background:var(--hdf-muted);transition:transform var(--hdf-cc-dur) var(--hdf-cc-ease),background-color var(--hdf-cc-dur)}html body .hdf-switch:hover .hdf-switch__track{border-color:var(--hdf-navy)}html body .hdf-switch:hover .hdf-switch__knob{background:var(--hdf-navy)}html body .hdf-switch input:checked ~ .hdf-switch__track{background:var(--hdf-navy);border-color:var(--hdf-navy)}html body .hdf-switch input:checked ~ .hdf-switch__track .hdf-switch__knob{transform:translateX(22px);background:#fff}html body .hdf-switch input:checked ~ .hdf-switch__track .hdf-switch__knob::after{content:"";position:absolute;inset:4px;background:var(--hdf-navy);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.2 4 7.6 8.6 2.6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1.5 5.2 4 7.6 8.6 2.6'/%3E%3C/svg%3E") center/contain no-repeat}html body .hdf-switch input:checked ~ .hdf-switch__state .on{display:inline;color:var(--hdf-navy)}html body .hdf-switch input:checked ~ .hdf-switch__state .off{display:none}html body .hdf-switch input:focus-visible ~ .hdf-switch__track{outline:3px solid var(--hdf-navy);outline-offset:3px}

@media (max-width:639px){
html body .hdf-ccd{width:100%;max-height:calc(100% - 24px);border-radius:0}html body .hdf-ccd__head{padding:20px 16px 0}html body .hdf-ccd__title{font-size:28px}html body .hdf-ccd__close{margin:-6px -4px 0 0}html body .hdf-ccd__body{padding:8px 16px 4px}html body .hdf-ccd__intro{margin-bottom:16px}html body .hdf-ccd__cat{padding:16px 0}html body .hdf-ccd__desc{font-size:15.5px}html body .hdf-switch__state{min-width:0}html body .hdf-ccd__foot{flex-direction:column;align-items:stretch;gap:4px;padding:14px 16px calc(14px + env(safe-area-inset-bottom))}html body .hdf-ccd__foot .hdf-cc-btn{width:100%;min-width:0}html body .hdf-ccd a.hdf-cc-link{justify-content:center}
}


/* built page additions */
html body .hdf-cc .hdf-cc__actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}html body .hdf-ccd{margin:auto}html body .hdf-ccd__links{display:flex;flex-wrap:wrap;gap:0 24px;margin:4px 0 8px;padding-top:12px;border-top:1px solid var(--hdf-line)}html body .hdf-ccd__foot{justify-content:flex-start}html body .hdf-ccd__foot .hdf-cc-btn{min-width:0;flex:1 1 0}html body .hdf-cc-save{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border:1px solid var(--hdf-navy);border-radius:2px;background:#fff;color:var(--hdf-navy);font:600 15px/1.2 var(--sans);cursor:pointer;flex:1 1 100%}html body .hdf-cc-save:hover{background:var(--hdf-cool)}html body .hdf-cc-save:focus-visible{outline:3px solid var(--hdf-navy);outline-offset:2px}html body .hdf-ccd__desc code{white-space:nowrap}
@media (max-width:639px){
  html.hdf-cc-open-banner body{padding-bottom:var(--hdf-cc-h,220px)}html body .hdf-ccd{margin:auto 0 0;max-width:none}
}
/* footer: "Postavke kolačića" looks like the other legal links */
html body .elementor-location-footer .hdf-ftr-legal .hdf-cc-open{display:inline-flex;align-items:center;min-height:24px;margin:0;padding:0;border:0;background:none;color:#c9d6e3;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer;box-shadow:none}
html body .elementor-location-footer .hdf-ftr-legal .hdf-cc-open:hover{color:#fff;background:none}
html body .elementor-location-footer .hdf-ftr-legal .hdf-cc-open:focus-visible{outline:3px solid #fff;outline-offset:2px;border-radius:2px}
@media (max-width:639px){.elementor-location-footer .hdf-ftr-legal .hdf-cc-open{min-height:32px} }
@media (prefers-reduced-motion:reduce){
html body .hdf-cc{animation:none}html body .hdf-cc,html body .hdf-cc *,html body .hdf-ccd,html body .hdf-ccd *{transition:none!important}
}
/* Hello theme paints every button pink on :hover/:focus; keep our colours in those states */
html body .hdf-cc-btn:focus{background:var(--hdf-navy);border-color:var(--hdf-navy);color:#fff}
html body .hdf-cc-btn:hover{background:var(--hdf-blue);border-color:var(--hdf-blue);color:#fff}
html body .hdf-cc-more:focus,html body .hdf-cc-more:hover{background:none;color:var(--hdf-navy)}
html body .hdf-ccd__close:focus{background:#fff;color:var(--hdf-navy);border-color:var(--hdf-navy)}
html body .hdf-ccd__close:hover{background:var(--hdf-navy);color:#fff}
html body .hdf-cc-save:focus{background:#fff;color:var(--hdf-navy);border-color:var(--hdf-navy)}
html body .hdf-cc-save:hover{background:var(--hdf-cool);color:var(--hdf-navy)}
html body .elementor-location-footer .hdf-ftr-legal .hdf-cc-open:focus{background:none;color:#fff}
html body .hdf-ccd .hdf-ccd__name{font:700 18px/1.3 var(--sans);color:var(--hdf-navy);margin:0}
html body .hdf-ccd .hdf-ccd__title,html body .hdf-cc .hdf-cc__title{color:var(--hdf-navy)}
