/* ovkplan.se static site. Written for this site; the values follow the WordPress theme's own settings
   (Avada global styles of 2026-05-05 and the page elements' attributes), never its stylesheet. */
:root {
  --navy: #003a70;
  --green: #007a3e;
  --green-dark: #026536;
  --mint: #ecfff5;
  --mint-hover: #ccffe0;
  --grey: #f6f6f6;
  --ink: #000;
  --ink-80: rgba(0, 0, 0, 0.8);
  --line: #dcdcdc;
  --link: #00ca5a;
  --link-hover: #00391b;
  --white: #fff;
  --wrap: 1200px;
  --gutter: 16px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 16px/1.72 var(--font); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { color: var(--link-hover); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-weight: 400; line-height: 1.2; margin: 0 0 20px; color: inherit; }
h1 { font-size: 36px; } h2 { font-size: 24px; } h3 { font-size: 20px; } h4 { font-size: 18px; } h5, h6 { font-size: 16px; }
p { margin: 0 0 20px; }
p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid transparent; margin: 20px 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--white); color: var(--navy); padding: 8px 12px; }
.skip:focus { left: 8px; }
.wrap { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.align-center { text-align: center; } .align-right { text-align: right; } .align-left { text-align: left; }

/* Header */
.site-header { background: var(--navy); color: var(--white); position: relative; z-index: 10; }
.head { display: flex; align-items: center; gap: 24px; min-height: 60px; }
.logo { flex: 0 0 auto; }
.logo img { height: 40px; width: auto; }
.main-nav { flex: 1 1 auto; }
.main-nav > ul { display: flex; justify-content: center; gap: 10px; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav a { display: block; color: var(--white); font-size: 20px; line-height: 55px; padding: 0 6px; border-bottom: 3px solid transparent; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--white); border-bottom-color: #335f8c; }
.main-nav .has-sub > ul { display: none; position: absolute; left: 0; top: 100%; min-width: 260px; list-style: none; margin: 0; padding: 6px 0;
  background: var(--navy); border-radius: 10px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2); }
.main-nav .has-sub:hover > ul, .main-nav .has-sub:focus-within > ul { display: block; }
.main-nav .has-sub > ul a { line-height: 1.4; padding: 10px 18px; font-size: 18px; border-bottom: 1px solid var(--green); }
.main-nav .has-sub > ul li:last-child a { border-bottom: 0; }
.head-btns { display: flex; gap: 6px; flex: 0 0 auto; }
.head-btns .btn { font-size: 17px; padding: 10px 20px; border-radius: 4px; }
.mobile-nav { display: none; margin-left: auto; }
.mobile-nav summary { list-style: none; cursor: pointer; padding: 14px 4px; }
.mobile-nav summary::-webkit-details-marker { display: none; }
.burger, .burger::before, .burger::after { display: block; width: 26px; height: 3px; background: var(--white); border-radius: 2px; position: relative; }
.burger::before, .burger::after { content: ""; position: absolute; left: 0; }
.burger::before { top: -8px; } .burger::after { top: 8px; }
.mobile-nav[open] .burger { background: transparent; }
.mobile-nav[open] .burger::before { top: 0; transform: rotate(45deg); }
.mobile-nav[open] .burger::after { top: 0; transform: rotate(-45deg); }
.mobile-nav nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--navy); padding: 8px var(--gutter) 16px; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0; }
.mobile-nav li ul { padding-left: 18px; }
.mobile-nav a { display: block; color: var(--white); font-size: 18px; line-height: 1.3; padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.12); }
.mobile-nav .head-btns { margin-top: 16px; flex-wrap: wrap; }
.mobile-nav .head-btns .btn--mint { color: var(--green-dark); border-color: var(--green-dark); }
.mobile-nav .head-btns .btn--green { border-color: var(--green); }
.mobile-nav .head-btns .btn--outline { border-color: rgba(255, 255, 255, 0.7); }
@media (max-width: 1024px) {
  .main-nav, .head > .head-btns { display: none; }
  .mobile-nav { display: block; }
}

/* Buttons */
.btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin: 20px 0; }
.btn { display: inline-block; font-size: 16px; line-height: 1.2; letter-spacing: 0.015em; padding: 13px 29px; border: 1px solid transparent;
  border-radius: 4px; text-align: center; background: var(--navy); color: var(--white); transition: background-color 0.2s, color 0.2s; }
.btn:hover { color: var(--white); background: var(--green); }
.btn--green { background: var(--green); border-color: var(--green); }
.btn--green:hover { background: var(--green-dark); border-color: var(--green-dark); }
.btn--mint { background: var(--mint); color: var(--green-dark); border-color: var(--green-dark); }
.btn--mint:hover { background: var(--mint-hover); color: var(--green-dark); }
.btn--outline { background: rgba(255, 255, 255, 0.08); color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.btn--outline:hover { background: rgba(255, 255, 255, 0.2); border-color: var(--white); }
.btn--ghost { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.24); color: var(--white); }

/* Sections */
.band { padding: 40px 0; }
.row { display: flex; flex-wrap: wrap; margin: 0 -15px; }
.col { flex: 0 0 100%; max-width: 100%; padding: 0 15px; }
.col--1_2 { flex-basis: 50%; max-width: 50%; }
.col--1_3 { flex-basis: 33.333%; max-width: 33.333%; }
.col--2_3 { flex-basis: 66.667%; max-width: 66.667%; }
.col--1_4 { flex-basis: 25%; max-width: 25%; }
.col--3_4 { flex-basis: 75%; max-width: 75%; }
.col--1_6 { flex-basis: 16.667%; max-width: 16.667%; }
.col--5_6 { flex-basis: 83.333%; max-width: 83.333%; }
.text { margin-bottom: 20px; }
.text.small { font-size: 14px; line-height: 1.6; }
.text.align-center ul, .text.align-center ol { display: inline-block; vertical-align: top; margin: 0; padding-left: 1.25em; text-align: left; }
.figure { margin: 0 0 20px; }
.figure.align-center img { margin: 0 auto; }
.img.rounded { border-radius: 20px; }
.anchor { display: block; position: relative; top: -20px; }

.band--hero { position: relative; color: var(--white); min-height: calc(100vh - 100px); display: flex; align-items: center; padding: 6vw 0;
  background-color: #1d1d1d;
  background-image: linear-gradient(rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.45)), url(/wp-content/uploads/2024/08/iStock-XL-scaled.jpg);
  background-position: center; background-size: cover; }
.band--hero > .wrap { width: 100%; }
.band--hero .t { margin-bottom: 30px; }
.band--hero h3 em { font-style: italic; }
.band--hero .img--hero-logo { max-width: 30%; margin: 0 auto 10px; }
.band--hero .btns { margin: 0 0 7.5vw; }
.band--hero .btn { padding: 18px 53px; font-size: 17px; }
.band--hero .btn:first-child { border-radius: 15px 0 0 15px; }
.band--hero .btn:last-child { border-radius: 0 15px 15px 0; padding: 20px 55px; }
.band--hero .btn:not(:first-child):not(:last-child) { border-radius: 0; }
.band--hero .text.small { color: rgba(255, 255, 255, 0.85); margin: 0; }

.rotator { display: inline-grid; }
.rotator .rot { grid-area: 1 / 1; opacity: 0; animation: rot 8s infinite; }
.rotator .rot:nth-of-type(2) { animation-delay: 0s; }
.rotator .rot:nth-of-type(3) { animation-delay: 4s; }
@keyframes rot { 0%, 5% { opacity: 0; } 10%, 45% { opacity: 1; } 50%, 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .rotator .rot { animation: none; }
  .rotator .rot:nth-of-type(2) { opacity: 1; }
}

.band--trust { background: var(--white); border-bottom: 1px solid rgba(0, 0, 0, 0.1); padding: 26px 6%; }
.band--trust .col { padding-top: 10px; padding-bottom: 10px; }
.band--trust .text { color: var(--navy); font-size: 15px; line-height: 1.5; margin: 0; }

.video { position: relative; aspect-ratio: 16 / 9; max-width: 1200px; margin: 0 auto 30px; background: #000; }
.video--4x3 { aspect-ratio: 4 / 3; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.band--film .video { margin: 30px auto; }
/* A film loads on a click (film.js); until then the box holds a link with the film's name. */
.video-load { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 16px; background: var(--navy); color: var(--white); text-align: center; text-decoration: none; }
.video-load:hover, .video-load:focus-visible { background: #002a52; color: var(--white); }
.video-load:focus-visible { outline: 3px solid var(--white); outline-offset: -8px; }
.video-load__icon { width: 64px; height: 64px; }
.video-load__title { font-size: 20px; font-weight: 600; line-height: 1.3; }
.video-load__note { font-size: 14px; line-height: 1.4; opacity: 0.85; }

.band--prices { padding: 0 0 40px; }
.page-priser .band--prices { padding-top: 40px; }
.col--grey { margin-bottom: 30px; }
.col--grey > .col-in { background: var(--grey); height: 100%; padding: 0 0 40px; }
.col--1_3.col--grey > .col-in, .col--1_2.col--grey > .col-in { padding: 24px; border-radius: 4px; }
.band--grey { background: var(--grey); padding: 50px 0; }
.band--peek { padding: 20px 0; }
.band--peek .col--1_3 { padding-left: 35px; padding-right: 35px; }
.band--peek .col--1_3 .t { margin-bottom: 10px; }
.band--peek .col--1_3 .text { color: var(--ink-80); margin-bottom: 0; }

/* Content boxes */
.boxes { display: grid; gap: 20px; margin: 0 0 30px; }
.boxes--2 { grid-template-columns: repeat(2, 1fr); }
.boxes--3 { grid-template-columns: repeat(3, 1fr); }
.boxes--4 { grid-template-columns: repeat(4, 1fr); }
.box { background: var(--navy); color: var(--white); padding: 30px; }
.box a { color: var(--white); text-decoration: underline; }
.box-title { font-size: 24px; margin-bottom: 15px; }
h3.box-title { font-size: 20px; margin-bottom: 0; }
.boxes--r30 .box { border-radius: 30px 0 30px 0; }
.boxes--r15 .box { border-radius: 15px 0 15px 0; }
.boxes--r10 .box { border-radius: 10px 0 10px 0; }
.boxes--1 .box { padding: 20px 30px; }
.box--light { background: var(--white); color: var(--ink); }
.box--light a { color: var(--ink); }
.box-head { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.box-head .box-title { margin-bottom: 0; }
.box-icon { flex: 0 0 auto; }
.boxes--t18 h3.box-title { font-size: 18px; line-height: 23px; }

/* Tables */
.table-wrap { margin: 0 0 30px; overflow-x: auto; }
.table-wrap table { width: 100%; border-collapse: collapse; border-spacing: 0; }
.table-wrap td, .table-wrap th { padding: 10px 20px; text-align: left; vertical-align: top; }
.table-wrap th { padding: 20px; font-weight: 400; }
.table--2 thead { background: var(--navy); color: var(--white); }
.table--2 td { border-bottom: 1px solid var(--line); }
.table--2 col.c2 { width: 25%; }
.table--2 td:last-child:not([colspan]) { text-align: center; }
.table--1 table { border: 1px solid var(--line); background: var(--white); box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08); }
.table--1 th { border: 1px solid var(--line); background: var(--grey); }
.table--1 td { border: 1px solid var(--line); }
.table--1 tbody tr:nth-child(2n) { background: var(--grey); }
.table--1 col.c1 { width: 30%; }
.yes { color: var(--green); font-weight: 700; font-size: 20px; line-height: 1; }
.more { margin-top: 0; text-align: center; }
.more summary { display: inline-block; cursor: pointer; list-style: none; margin: 20px 0 0; padding: 9px 20px; border-radius: 4px;
  background: var(--navy); color: var(--white); font-size: 14px; }
.more summary::-webkit-details-marker { display: none; }
.more summary:hover { background: var(--green); }
.more .open { display: none; }
.more[open] .open { display: inline; }
.more[open] .closed { display: none; }
.more[open] summary { margin-bottom: 0; }
.more[open] summary { margin-bottom: 10px; }

/* Toggles: the FAQ and the link lists */
.faq { margin: 0 0 30px; }
.toggle { border: 1px solid var(--line); border-radius: 4px; margin: 0 0 10px; background: var(--white); }
.toggle summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 18px; position: relative; }
.toggle summary::-webkit-details-marker { display: none; }
.toggle summary::after { content: ""; position: absolute; right: 20px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy); transform: translateY(-70%) rotate(45deg); }
.toggle[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.toggle-title { margin: 0; font-size: 18px; line-height: 1.4; color: var(--navy); }
.toggle-body { padding: 0 18px 16px; }
.toggle-body a { color: var(--green); text-decoration: underline; }
.page-notfound .col--3_4 { margin: 0 auto; }

/* Footer */
.site-footer { border-top: 1px solid rgba(0, 0, 0, 0.1); background: var(--white); font-size: 13px; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 60px; padding-top: 12px; padding-bottom: 12px; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 20px; }
.foot nav a, .foot .mail { color: var(--ink); }
.foot nav a:hover, .foot .mail:hover { color: var(--navy); }
.foot .mail { display: inline-flex; padding: 6px; border-radius: 4px; }

/* Phones and tablets */
@media (max-width: 1024px) {
  .col--1_4 { flex-basis: 50%; max-width: 50%; }
  .boxes--3 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  h1 { font-size: 30px; }
  .col--1_2, .col--1_3, .col--2_3, .col--1_4, .col--3_4 { flex-basis: 100%; max-width: 100%; }
  .band--trust { padding: 16px 0; }
  .band--trust .col--1_4 { flex-basis: 100%; max-width: 100%; }
  .band--hero .img--hero-logo { max-width: 60%; }
  .band--hero .btns { flex-direction: column; align-items: stretch; }
  .band--hero .btn, .band--hero .btn:first-child, .band--hero .btn:last-child { border-radius: 12px; padding: 16px 20px; }
  .band--peek .col--1_3 { padding-left: 15px; padding-right: 15px; }
  .boxes--2, .boxes--3, .boxes--4 { grid-template-columns: 1fr; }
  .box { padding: 24px 20px; }
  .table-wrap td, .table-wrap th { padding: 10px 12px; }
  .table--1 col.c1 { width: 40%; }
  .more summary { margin-left: 0; }
  .foot { flex-direction: column; align-items: flex-start; }
  .foot nav { flex-direction: column; gap: 6px; }
}
