/* KV2 Vasaloppet page: only what the Yunnan pages (kv2.css) do not have. Loaded after kv2.css, only on pages whose Elementor data contains "kv2-vasa".
   Same tokens (--kv2-*), same look. Nothing here changes the Yunnan pages. */

/* two packages side by side */
.elementor .e-con.kv2-pkgs{display:grid;grid-template-columns:1fr;gap:14px}
.kv2-pkgcard .kv2-pkgttl{font-size:13px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--kv2-blue-d);margin-bottom:4px}
.kv2-pkgcard .kv2-rows div{flex-wrap:wrap}
.kv2-pkgcard .kv2-rows b{text-align:right}
/* the price row has a long value: label above, value below, both left */
.kv2-pkgcard .kv2-rows div:first-child{flex-direction:column;align-items:flex-start;gap:2px}
.kv2-pkgcard .kv2-rows div:first-child b{text-align:left}
.kv2-pkgcard .kv2-cardbtns{margin-top:12px}
.elementor .e-con.kv2-pkgs .e-con.kv2-dep{height:100%}

/* itinerary of one package */
.kv2-plan h2.elementor-heading-title{margin-bottom:8px}
.kv2-plan .kv2-chips{padding-top:0}
.kv2-planfrom p{margin:12px 0 0;font-weight:700;color:var(--kv2-blue-d)}
.kv2-n b{white-space:nowrap}
/* day circle: "DAG" above the number, also if Elementor wraps the text in .elementor-widget-container (a range like "1-3" is wider than one digit) */
.kv2 .elementor-widget.kv2-n .elementor-widget-container{display:flex;flex-direction:column;align-items:center;justify-content:center}
.kv2-n span,.kv2-n b{display:block}
.kv2-n b{line-height:1.1}

/* photo tiles: the frame is 377x200, so portrait photos need a focal point or the subject is cut off */
.elementor .e-con.kv2-gal .elementor-widget-image.kv2-fp-racer img{object-position:50% 6%}
.elementor .e-con.kv2-gal .elementor-widget-image.kv2-fp-temple img{object-position:50% 28%}
.elementor .e-con.kv2-gal .elementor-widget-image.kv2-fp-wall img{object-position:50% 72%}

/* tables (race fee, single room) */
.elementor .e-con.kv2-tblcard{background:var(--kv2-soft);border-radius:14px;padding:18px 20px}
table.kv2-tbl{width:100%;border-collapse:collapse;font-size:16px;margin:0}
table.kv2-tbl th{text-align:left;font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#555;font-weight:700;padding:0 0 8px;border:0;background:transparent}
table.kv2-tbl td{padding:10px 0;border:0;border-top:1px solid var(--kv2-line);background:transparent;color:var(--kv2-ink)}
table.kv2-tbl td:last-child,table.kv2-tbl th:last-child{text-align:right;font-weight:700}

/* sub-list heading inside the included box */
.kv2-in h4.elementor-heading-title{font-size:15px;font-weight:700;margin:14px 0 4px;color:var(--kv2-ink)}
/* the two side-by-side boxes keep the height of their own content (the pink box no longer stretches empty) */
.elementor .e-con.kv2-vtwo{align-items:start}

/* FAQ: heading + help on the left, numbered cards on the right (Elementor nested accordion, keeps its FAQ schema).
   Each card: round number badge, question left-aligned, round plus/minus on the right; the open card gets a blue border and a gold bar beside the answer. */
.elementor .e-con.kv2-faqsplit{display:grid;grid-template-columns:1fr;gap:18px}
.kv2-faqnote p{max-width:34ch;color:#33475f}
.elementor .e-con.kv2-faqside .kv2-btn{max-width:260px;margin-top:6px}
.elementor .kv2-faq .e-n-accordion{display:grid;gap:12px;counter-reset:faq}
.elementor .kv2-faq .e-n-accordion-item{border:1px solid var(--kv2-line);border-radius:16px;background:#fff;overflow:hidden;transition:border-color .2s ease,box-shadow .2s ease}
.elementor .kv2-faq .e-n-accordion-item:hover{border-color:rgba(30,98,169,.45);box-shadow:0 6px 18px rgba(20,45,90,.08)}
.elementor .kv2-faq .e-n-accordion-item[open]{border-color:var(--kv2-blue);box-shadow:0 8px 22px rgba(20,45,90,.10)}
.elementor .kv2-faq .e-n-accordion-item-title{display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:14px;padding:14px 16px;cursor:pointer;list-style:none;color:var(--kv2-ink)}
.elementor .kv2-faq .e-n-accordion-item-title::-webkit-details-marker{display:none}
.elementor .kv2-faq .e-n-accordion-item-title::before{counter-increment:faq;content:counter(faq);order:1;flex:none;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:var(--kv2-sky);color:var(--kv2-blue-d);font-weight:700;font-size:15px}
.elementor .kv2-faq .e-n-accordion-item[open]>.e-n-accordion-item-title::before{background:var(--kv2-blue);color:#fff}
.elementor .kv2-faq .e-n-accordion-item-title-header{order:2;flex:1;justify-content:flex-start;text-align:left}
.elementor .kv2-faq .e-n-accordion-item-title-text{font-weight:700;font-size:17px;line-height:1.35;text-align:left;color:var(--kv2-ink)}
.elementor .kv2-faq .e-n-accordion-item-title-icon{order:3;flex:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;margin:0;border-radius:50%;background:var(--kv2-soft)}
.elementor .kv2-faq .e-n-accordion-item-title-icon svg{width:12px;height:12px;fill:var(--kv2-ink)}
.elementor .kv2-faq .e-n-accordion-item[open]>.e-n-accordion-item-title .e-n-accordion-item-title-icon{background:var(--kv2-gold)}
.elementor .kv2-faq .e-n-accordion-item>.e-con{padding:0 18px 18px 62px;background:transparent}
.elementor .kv2-faq .e-n-accordion-item>.e-con p{margin:0;padding-left:14px;border-left:3px solid var(--kv2-gold);color:#33475f}
@media (max-width:560px){
  .elementor .kv2-faq .e-n-accordion-item-title{padding:12px 12px;gap:10px}
  .elementor .kv2-faq .e-n-accordion-item-title-text{font-size:16px}
  .elementor .kv2-faq .e-n-accordion-item>.e-con{padding:0 14px 16px 14px}
}
@media (min-width:900px){
  .elementor .e-con.kv2-faqsplit{grid-template-columns:minmax(0,.8fr) minmax(0,1.6fr);gap:40px;align-items:start}
}

/* contact box for trips sold by quote ([kv2_inquiry]); .kv2-flow gives the glass panel and the WhatsApp / phone buttons */
/* no blue frame, no shadow, left-aligned (client feedback: the booking area stands alone) */
.kv2-flow.kv2-inquiry{background:none;border:0;box-shadow:none;border-radius:0;padding:0;overflow:visible;text-align:left}
.kv2-flow.kv2-inquiry>*{max-width:none;margin-left:0;margin-right:0}
.kv2-inquiry .kv2-inqtext{max-width:620px;margin:0 0 14px;font-size:17px;color:var(--kv2-ink)}
.kv2-inquiry .kv2-cardbtns{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-start}
.kv2-inquiry .kv2-cardbtn{width:auto;flex:0 1 260px;min-width:200px}
.kv2-inquiry .kv2-contactrow{justify-content:flex-start;border-top:0;padding-top:0;margin-top:16px}

/* ===== client feedback (10 Nov), applied to this page ===== */
/* hero: shorter on desktop, picture centred a little higher, title closer to the menu */
.elementor .e-con.kv2-hero.kv2-vasa{background-position:50% 38%!important}
@media (min-width:900px){
  .elementor .e-con.kv2-hero.kv2-vasa{min-height:460px}
  .elementor .e-con.kv2-hero.kv2-vasa .e-con.kv2-herotxt{padding-top:60px}
}

/* three tabs under the key facts (links to the sections of the page) */
.elementor .e-con.kv2-tabsband.kv2-wrap{padding-top:14px}
/* horizontal scroll only (when the tabs do not fit): overflow-y is locked, and the active bar is drawn inside the link, so nothing sticks out and the bar can never scroll vertically */
.kv2-tabs{display:flex;gap:6px;border-bottom:2px solid var(--kv2-line);overflow-x:auto;overflow-y:hidden;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.kv2-tabs::-webkit-scrollbar{display:none}
.kv2-tabs a{flex:none;padding:12px 18px;font-weight:700;font-size:16px;line-height:1.3;color:#33475f;text-decoration:none;white-space:nowrap;box-shadow:inset 0 -3px 0 transparent}
.kv2-tabs a:hover{color:var(--kv2-blue)}
.kv2-tabs a.is-on{color:var(--kv2-blue-d);box-shadow:inset 0 -3px 0 var(--kv2-gold)}
#oversikt,#avresa,#dagsprogram{scroll-margin-top:100px}

/* intro on the left, dates and prices on the right */
.elementor .e-con.kv2-split{display:grid;grid-template-columns:1fr;gap:28px}
.elementor .e-con.kv2-splitside .e-con.kv2-pkgs{grid-template-columns:1fr}
.kv2-chips .kv2-chiplabel{align-self:center;margin-right:4px;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:#555}
@media (min-width:900px){
  .elementor .e-con.kv2-split{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:36px;align-items:start}
  /* the photo grid sits in the left column under the intro: 3 smaller tiles per row */
  .elementor .e-con.kv2-splitmain .e-con.kv2-gal .elementor-widget-image img{height:130px}
}

/* highlights in a tinted panel, a photo on every day row, one line per sentence */
.elementor .e-con.kv2-hl{background:var(--kv2-sky);border-radius:14px;padding:12px 18px;margin:10px 0 4px}
.kv2-daytxt ul.kv2-tick li{padding:3px 0 3px 28px}
.elementor .e-con.kv2-day .elementor-widget-image{grid-column:1/-1}
.elementor .e-con.kv2-day .elementor-widget-image img{display:block;width:100%;max-width:none;height:150px;object-fit:cover;border-radius:10px}
.elementor .e-con.kv2-day .elementor-widget-image.kv2-fp-top img{object-position:50% 6%}
.elementor .e-con.kv2-day .elementor-widget-image.kv2-fp-wall img{object-position:50% 72%}
.elementor .e-con.kv2-day .elementor-widget-image.kv2-fp-panda img{object-position:50% 35%}

/* hero price in the page font (the theme gives <b> a serif face) */
.kv2-vasa .kv2-heroprice p b,.kv2-vasa .kv2-fact b{font-family:"Noto Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif}

/* phone: three tabs must fit in 390 px, hero text needs a shade over the busy photo */
@media (max-width:899px){
  /* price cards come right after the intro text, the photo grid after them */
  .elementor .e-con.kv2-split{gap:0}
  .elementor .e-con.kv2-splitmain{display:contents}
  .elementor .e-con.kv2-splitside{order:2;margin:22px 0 4px}
  .elementor .e-con.kv2-split .e-con.kv2-gal{order:3}
  .kv2-tabs a{padding:12px 11px;font-size:15px}
  .elementor .e-con.kv2-hero.kv2-vasa:before{background:linear-gradient(180deg,rgba(10,10,10,.28) 0%,rgba(10,10,10,.72) 100%)}
}

/* phone: "Boka din resa" = three equal full-width buttons (easy to tap), e-mail under them; "Fler resor" = compact horizontal cards */
@media (max-width:560px){
  .kv2-flow.kv2-inquiry .kv2-cardbtns{flex-direction:column;align-items:stretch;gap:10px}
  .kv2-flow.kv2-inquiry .kv2-cardbtn,.kv2-flow.kv2-inquiry a.kv2-wabtn,.kv2-flow.kv2-inquiry a.kv2-phonebtn{width:100%;max-width:none;min-width:0;flex:none;min-height:52px;justify-content:center;box-sizing:border-box}
  .kv2-flow.kv2-inquiry .kv2-contactrow{flex-direction:column;align-items:stretch;gap:10px;margin-top:14px}
  .kv2-flow.kv2-inquiry .kv2-contactrow>span{font-size:14px;color:#4c5c6d}
  .kv2-flow.kv2-inquiry a.kv2-phone{align-self:center;display:inline-flex;align-items:center;min-height:44px}
  .kv2-pkgcard a.kv2-wabtn{display:none}
  .elementor .e-con.kv2-morev .kv2-more{display:grid;grid-template-columns:1fr;gap:10px}
  .kv2-morev .kv2-more a{display:flex;align-items:stretch;width:100%}
  .elementor .kv2-morev .kv2-more a img{flex:none;width:104px;height:auto;min-height:84px;object-fit:cover}
  .kv2-morev .kv2-more div{display:flex;flex-direction:column;justify-content:center;gap:2px;padding:10px 14px}
}

/* "Fler resor" (tablet and desktop): half the width and half the height of the image tiles; the phone layout is above */
@media (min-width:561px){
  .elementor .e-con.kv2-morev .kv2-more{display:flex;flex-wrap:wrap;gap:14px}
  .kv2-morev .kv2-more a{width:min(100%,284px)}
  .elementor .kv2-morev .kv2-more a img{height:75px}
}

@media (min-width:900px){
  .elementor .e-con.kv2-pkgs{grid-template-columns:1fr 1fr}
  .elementor .e-con.kv2-plan .e-con.kv2-day{grid-template-columns:64px minmax(0,1fr) 220px;align-items:start}
  .elementor .e-con.kv2-day .elementor-widget-image{grid-column:auto}
  .elementor .e-con.kv2-day .elementor-widget-image img{height:140px}
}

/* after merging main (v3): breathing room where blocks touched */
.elementor .e-con.kv2-splitside{gap:16px}
.elementor .e-con.kv2-splitside .kv2-note{margin-top:2px}
.kv2-vasa .kv2-hero .elementor-widget{margin-bottom:0}
.kv2-vasa .kv2-hero .kv2-heroprice{margin-top:14px}
.kv2-vasa .kv2-hero .kv2-heroprice p{margin:0;line-height:1.35}
.kv2-vasa .kv2-hero .kv2-heroprice span{display:block;margin-top:4px}
.kv2-vasa .kv2-hero .kv2-btns,.kv2-vasa .kv2-hero .elementor-widget-button{margin-top:6px}
.elementor .e-con.kv2-hl{margin-bottom:10px}

/* package switch (5 / 9 days): one choice drives the card, the "Ingår" list and the itinerary; body.kv2-sw is added by kv2-vasa.js, without it all panes show */
.kv2-pkgsw{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:4px 0 14px}
.kv2-pkgsw button{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;padding:14px 16px;border:2px solid var(--kv2-line);border-radius:14px;background:#fff;color:var(--kv2-ink);cursor:pointer;font:inherit;line-height:1.3;transition:border-color .15s,background .15s,box-shadow .15s}
.kv2-pkgsw button:hover{border-color:var(--kv2-blue)}
.kv2-pkgsw button:focus-visible{outline:3px solid var(--kv2-gold);outline-offset:2px}
.kv2-pkgsw button b{font-size:19px;font-family:"Noto Sans",system-ui,-apple-system,"Segoe UI",Arial,sans-serif}
.kv2-pkgsw button span{font-size:14px;color:#555}
.kv2-pkgsw button em{font-style:normal;font-weight:700;font-size:15px;color:var(--kv2-blue-d)}
.kv2-pkgsw button.is-on{border-color:var(--kv2-blue);background:var(--kv2-sky);box-shadow:0 0 0 1px var(--kv2-blue) inset}
.kv2-sw .elementor .e-con.kv2-pane{display:none}
.kv2-sw .elementor .e-con.kv2-pane.is-on{display:flex}
.elementor .e-con.kv2-pane{gap:18px;margin-top:6px}
.kv2-plan{scroll-margin-top:100px}
@media (max-width:560px){.kv2-pkgsw button{padding:12px}.kv2-pkgsw button b{font-size:17px}.kv2-pkgsw button span{font-size:13px}}
/* D6 group trips: the departure switch sits in the right column (about 380 px), so the choices stack: date, then group and price on one line */
.kv2-colR .kv2-pkgsw{grid-template-columns:1fr;gap:8px}
.kv2-colR .kv2-pkgsw button{display:grid;grid-template-columns:1fr auto;column-gap:12px;padding:12px 16px}
.kv2-colR .kv2-pkgsw button b{grid-column:1/-1;font-size:17px}
.kv2-colR .kv2-pkgsw button em{text-align:right}
