/* Footer V2 (A2): templates/footer.php, as in mock PDF v5 (light, two calls to action instead of the bird picture) + Johan 14/11.
   Self-contained: loads on every page, so it uses its own tokens. Selectors start with .kv2f to win over the theme and Elementor. */
.kv2f{--n:#14284B;--b:#1F5FA8;--bd:#174E88;--g:#D5A94A;--m:#586A82;--ink:#2b3d55;--ln:#DCE6F1;
  font-family:"Noto Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:var(--ink);line-height:1.55;text-align:left}
.kv2f *{box-sizing:border-box}
.kv2f .kv2f-wrap{max-width:1180px;margin:0 auto;padding:0 20px}   /* the same side margin as the front page blocks */
.kv2f a{color:inherit;text-decoration:none}

/* calls to action: two white cards on a light blue band */
.kv2f .kv2f-cta{background:linear-gradient(120deg,#DCE9F7,#EAF1F9);border-top:1px solid var(--ln)}
.kv2f .kv2f-cta .kv2f-wrap{display:grid;grid-template-columns:1fr 1fr;gap:24px;padding-top:44px;padding-bottom:44px}
.kv2f .kv2f-card{display:flex;flex-direction:column;background:#fff;border:1px solid #E3EBF5;border-radius:16px;padding:28px 30px;box-shadow:0 6px 22px rgba(20,40,75,.07)}
.kv2f .kv2f-card h2{margin:0;font-family:inherit;font-size:clamp(22px,2.4vw,27px);line-height:1.2;font-weight:800;letter-spacing:0;text-transform:none;color:var(--n)}
.kv2f .kv2f-card p{margin:8px 0 0;font-size:15px;color:var(--m)}
.kv2f .kv2f-acts{display:flex;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:20px}
.kv2f .kv2f-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 24px;border-radius:999px;font-size:16px;font-weight:700;line-height:1.2;white-space:nowrap;transition:filter .15s}
.kv2f .kv2f-btn:hover,.kv2f .kv2f-btn:focus-visible{filter:brightness(.94)}
.kv2f .kv2f-gold{background:var(--g);color:#1b1b1b}
.kv2f .kv2f-blue{background:var(--b);color:#fff}
/* WhatsApp: the same green glass button as on the trip pages (kv2_wa_button(), kv2.css .kv2-wabtn) */
.kv2f a.kv2-wabtn{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 24px;border-radius:50px;font-weight:700;font-size:16px;line-height:1.3;text-decoration:none;color:#fff;background:rgba(22,150,88,.95);border:1px solid rgba(255,255,255,.45);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 6px 16px rgba(20,45,90,.16);transition:transform .15s ease,filter .15s ease}
.kv2f a.kv2-wabtn:hover,.kv2f a.kv2-wabtn:focus-visible{color:#fff;transform:translateY(-1px);filter:brightness(1.07)}
.kv2f .kv2-waicon{width:22px;height:22px;flex:none;display:block}
.kv2f .kv2f-contact{margin-top:14px!important;font-size:14px!important}
.kv2f .kv2f-contact a{color:var(--bd);font-weight:700;text-decoration:underline;text-underline-offset:6px}

/* logo + social icons | Resor | Resmål | Kina-specialisten | Kontakta oss, then the legal row */
.kv2f .kv2f-foot{background:#fff;border-top:1px solid var(--ln);font-size:14px;color:var(--m)}
.kv2f .kv2f-grid{display:grid;grid-template-columns:1.15fr .9fr 1fr .95fr 1.45fr;gap:28px 32px;padding-top:38px;padding-bottom:22px}
.kv2f .kv2f-logo{display:inline-block}
.kv2f .kv2f-logo img{display:block;width:auto;height:54px;max-width:none}
.kv2f .kv2f-h{margin:0 0 12px;font-family:inherit;font-size:13px;line-height:1.3;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--bd)}
.kv2f ul{list-style:none;margin:0;padding:0}
.kv2f li{margin:0;padding:0;list-style:none}
.kv2f .kv2f-col a{display:inline-block;padding:4px 0;color:var(--ink)}
.kv2f .kv2f-col a:hover{color:var(--b)}
.kv2f .kv2f-co p{margin:0;font-size:14px;color:var(--m)}
.kv2f .kv2f-co .kv2f-name{font-weight:700;color:var(--n)}
.kv2f .kv2f-co .kv2f-adr{margin:2px 0 10px}
.kv2f .kv2f-col a.kv2f-ic{display:inline-flex;align-items:center;gap:9px;word-break:break-word}
.kv2f .kv2f-ic svg{flex:none;width:16px;height:16px;color:var(--b)}
/* social links as round icon buttons */
.kv2f .kv2f-soc{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}
.kv2f .kv2f-soc a{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#EAF1F9;border:1px solid #DCE6F1;color:var(--n);transition:background .15s,color .15s,border-color .15s}
.kv2f .kv2f-soc a:hover,.kv2f .kv2f-soc a:focus-visible{background:var(--b);border-color:var(--b);color:#fff}
.kv2f .kv2f-soc svg{display:block;width:20px;height:20px;fill:currentColor}
.kv2f a:focus-visible{outline:3px solid var(--g);outline-offset:2px;border-radius:4px}
.kv2f .kv2f-bot{grid-column:1/-1;display:flex;justify-content:space-between;flex-wrap:wrap;gap:10px 24px;border-top:1px solid var(--ln);padding-top:16px;font-size:13px}
.kv2f .kv2f-legal{display:flex;flex-wrap:wrap;gap:6px 18px}
.kv2f .kv2f-legal button{all:unset;cursor:pointer}   /* Cookieinställningar: a button (Complianz listens on it), looks like the links */
.kv2f .kv2f-legal button:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.kv2f .kv2f-legal :is(a,button){text-decoration:underline;text-underline-offset:6px}
.kv2f .kv2f-legal :is(a,button):hover{color:var(--b)}

@media (max-width:1100px){.kv2f .kv2f-grid{grid-template-columns:repeat(4,1fr)}.kv2f .kv2f-brand{grid-column:1/-1;display:flex;align-items:center;gap:24px;flex-wrap:wrap}.kv2f .kv2f-soc{margin-top:0}.kv2f .kv2f-co{grid-column:span 1}}
@media (max-width:900px){.kv2f .kv2f-grid{grid-template-columns:1fr 1fr}.kv2f .kv2f-co{grid-column:auto}}   /* iPad portrait: 2 x 2 columns instead of one lonely column */
@media (max-width:560px){.kv2f .kv2f-co{grid-column:1/-1}}
@media (max-width:767px){
  .kv2f .kv2f-cta .kv2f-wrap{grid-template-columns:1fr;gap:16px;padding-top:28px;padding-bottom:28px}
  .kv2f .kv2f-card{padding:24px 22px}
  .kv2f .kv2f-btn{flex:1 1 100%}
  .kv2f .kv2f-grid{grid-template-columns:1fr 1fr;gap:24px 20px}
  .kv2f .kv2f-brand{flex-direction:column;align-items:flex-start;gap:16px}
  .kv2f .kv2f-bot{flex-direction:column}
}

/* QA 14/11 */
html{background-color:#fff}   /* the theme's dark page background showed below the footer when the page was pulled past its end */
.kv2f .kv2f-contact a{white-space:nowrap}   /* an e-mail address never breaks in the middle */
@media (max-width:1400px){.kv2f .kv2f-grid{padding-bottom:70px}}   /* room for the round "to top" button, which otherwise covers "Cookiepolicy"; legal links stay flush right */
/* the buttons of both call-to-action cards on one line (the left card has a contact line under its buttons) */
@supports (grid-template-rows:subgrid){
  @media (min-width:768px){
    .kv2f .kv2f-cta .kv2f-wrap{grid-template-rows:auto auto auto auto}
    .kv2f .kv2f-card{display:grid;grid-row:span 4;grid-template-rows:subgrid;row-gap:0}
    .kv2f .kv2f-card .kv2f-acts{margin-top:0;align-self:start}
  }
}

.kv2f .kv2f-card h2{text-wrap:balance}
.kv2f .kv2f-card p{text-wrap:pretty}
@media (max-width:767px){
  .kv2f a.kv2-wabtn{flex:1 1 100%}
  .kv2f .kv2f-contact .sep{display:none}
  .kv2f .kv2f-contact a{display:block;padding:4px 0}   /* the e-mail address on its own line */
  .kv2f .kv2f-col a,.kv2f .kv2f-legal :is(a,button){padding-top:7px;padding-bottom:7px}   /* comfortable tap targets */
}

/* Hover and keyboard focus (16/11): the theme's "#footer a:hover" (an id selector, teal #1EC6B6) beat every rule above and turned all footer
   text teal, even on the gold, green and blue buttons. Brand colours only, !important against that id rule:
   light background -> darker colour, buttons lift a little with a soft shadow. */
.kv2f a,.kv2f .kv2f-btn,.kv2f a.kv2-wabtn,.kv2f .kv2f-soc a{transition:background-color .18s,color .18s,border-color .18s,box-shadow .18s,transform .18s,text-decoration-color .18s}
.kv2f .kv2f-gold:is(:hover,:focus-visible){background:#B98B2E!important;color:var(--n)!important;filter:none;transform:translateY(-2px);box-shadow:0 8px 18px rgba(185,139,46,.35)}
.kv2f .kv2f-blue:is(:hover,:focus-visible){background:var(--n)!important;color:#fff!important;filter:none;transform:translateY(-2px);box-shadow:0 8px 18px rgba(20,40,75,.3)}
.kv2f a.kv2-wabtn:is(:hover,:focus-visible){background:#128A4F!important;color:#fff!important;filter:none;transform:translateY(-2px);box-shadow:0 8px 18px rgba(18,138,79,.3)}
.kv2f .kv2f-soc a:is(:hover,:focus-visible){background:var(--b)!important;border-color:var(--b)!important;color:#fff!important;transform:translateY(-2px);box-shadow:0 6px 14px rgba(31,95,168,.3)}
/* text links: brand blue with a gold underline (columns, phone and e-mail); the legal row: navy with a gold underline */
.kv2f :is(.kv2f-col,.kv2f-contact) a:is(:hover,:focus-visible){color:var(--b)!important;text-decoration:underline;text-decoration-color:var(--g);text-decoration-thickness:2px;text-underline-offset:6px}
.kv2f .kv2f-legal :is(a,button):is(:hover,:focus-visible){color:var(--n)!important;text-decoration-color:var(--g);text-decoration-thickness:2px}
@media (prefers-reduced-motion:reduce){.kv2f :is(.kv2f-btn,a.kv2-wabtn,.kv2f-soc a):is(:hover,:focus-visible){transform:none}}

/* touch targets (A6, Duy 18/11): on phones and touch screens every footer link is at least 44 px high; desktop with a mouse unchanged */
@media (max-width:767px),(pointer:coarse){.kv2f .kv2f-col a,.kv2f .kv2f-contact a,.kv2f .kv2f-legal :is(a,button){display:inline-flex;align-items:center;min-height:44px}
.kv2f .kv2f-col a{padding:0}
.kv2f .kv2f-legal{gap:0 18px}
.kv2f .kv2f-soc a{width:44px;height:44px}}

/* ---- dark footer bar as in Duy's mock (22/11): navy band, white name and headings, light grey links, thin rule, © left and legal links right ---- */
.kv2f .kv2f-foot.kv2f-dark{background:#0F1B33;border-top:0;color:#B8C2D3;font-size:15.5px;line-height:1.5}
.kv2f .kv2f-dgrid{display:grid;grid-template-columns:1.35fr 1fr 1fr 1fr;gap:32px 40px;padding-top:52px;padding-bottom:30px}
.kv2f .kv2f-dark a{color:#B8C2D3;text-decoration:none}
.kv2f .kv2f-dark a:is(:hover,:focus-visible){color:#fff!important;text-decoration:underline;text-decoration-color:var(--g);text-decoration-thickness:2px;text-underline-offset:5px}
.kv2f .kv2f-dark a.kv2f-word{display:inline-block;margin-bottom:16px;color:#fff;font-size:26px;line-height:1.2;font-weight:800;letter-spacing:-.01em}
.kv2f .kv2f-dbrand p{margin:0;color:#B8C2D3;font-size:15.5px;line-height:1.7}
.kv2f .kv2f-dcol h3{margin:4px 0 14px;font-family:inherit;font-size:16px;line-height:1.3;font-weight:700;letter-spacing:0;text-transform:none;color:#fff}
.kv2f .kv2f-dcol ul{list-style:none;margin:0;padding:0}
.kv2f .kv2f-dcol li{margin:0 0 10px}
.kv2f .kv2f-dbot{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:10px 24px;border-top:1px solid rgba(255,255,255,.12);padding-top:22px;padding-bottom:26px;font-size:15px}
.kv2f .kv2f-dlegal{display:flex;flex-wrap:wrap;gap:6px 32px}
@media (max-width:1400px){.kv2f .kv2f-dbot{padding-bottom:70px}}   /* room for the round "to top" button bottom right */
@media (max-width:900px){.kv2f .kv2f-dgrid{grid-template-columns:1fr 1fr}.kv2f .kv2f-dbrand{grid-column:1/-1}}
@media (max-width:560px){.kv2f .kv2f-dgrid{gap:26px 20px;padding-top:40px}.kv2f .kv2f-dbot{flex-direction:column;align-items:flex-start}.kv2f .kv2f-dlegal{gap:0 22px}}
@media (max-width:767px),(pointer:coarse){.kv2f .kv2f-dark .kv2f-dcol a,.kv2f .kv2f-dark .kv2f-dlegal a,.kv2f .kv2f-dbrand a{display:inline-flex;align-items:center;min-height:44px}.kv2f .kv2f-dcol li{margin:0}}
/* "Cookieinställningar" (a button Complianz listens on) looks like the legal links next to it */
.kv2f .kv2f-dlegal button{all:unset;cursor:pointer;color:#B8C2D3}
.kv2f .kv2f-dlegal button:is(:hover,:focus-visible){color:#fff;text-decoration:underline;text-decoration-color:var(--g);text-decoration-thickness:2px;text-underline-offset:5px}
.kv2f .kv2f-dlegal button:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:2px}
@media (max-width:767px),(pointer:coarse){.kv2f .kv2f-dlegal button{display:inline-flex;align-items:center;min-height:44px}}
/* Johan's sheet 23/11: bold newsletter link above "Följ oss" (row 36) and "Kontakta oss" under the e-mail address (row 37) */
.kv2f .kv2f-dark .kv2f-nl{margin:4px 0 18px;font-size:16px;line-height:1.3}
.kv2f .kv2f-dark .kv2f-nl a,.kv2f .kv2f-dark a.kv2f-kontakt{color:#fff;font-weight:700}
