/* Informatīvās lapas (noteikumi, privātums, "Kā rezervēt") */
.jl-doc { max-width: 780px; margin: 0 auto; font: 16px/1.7 'Onest', sans-serif; color: #1C2B19; }
.jl-doc__kicker { font: 400 12px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #5B6A55; }
.jl-doc h1 { font: 500 clamp(36px, 5vw, 56px)/1.05 'Alegreya', serif; color: #1C4D1B; margin: 8px 0 28px; }
.jl-doc h2 { font: 700 clamp(22px, 2.6vw, 28px)/1.2 'Alegreya', serif; color: #1C4D1B; margin: 40px 0 12px; }
.jl-doc h3 { font: 700 19px/1.3 'Onest', sans-serif; color: #1C4D1B; margin: 28px 0 8px; }
.jl-doc p, .jl-doc ul, .jl-doc ol { margin: 0 0 14px; }
.jl-doc ul, .jl-doc ol { padding-left: 22px; }
.jl-doc li { margin-bottom: 6px; }
.jl-doc a { color: #1C4D1B; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.jl-doc table, .jl-doc__table { width: 100%; border-collapse: collapse; margin: 8px 0 18px; font-size: 15px; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px #E3E9DA; }
.jl-doc th, .jl-doc td { text-align: left; padding: 10px 14px; border-top: 1px solid #EEF2E8; vertical-align: top; }
.jl-doc thead th { background: #F1F6E8; border-top: 0; font-weight: 600; color: #2C3B27; }
.jl-doc__company { background: #fff; border: 1px solid #E3E9DA; border-radius: 14px; padding: 14px 18px; line-height: 1.6; }
.jl-doc .jl-steps-list { list-style: none; padding: 0; counter-reset: s; display: grid; gap: 12px; }
.jl-doc .jl-steps-list li { counter-increment: s; background: #fff; border: 1px solid #E3E9DA; border-radius: 16px; padding: 14px 18px 14px 62px; position: relative; margin: 0; }
.jl-doc .jl-steps-list li::before { content: counter(s); position: absolute; left: 16px; top: 12px; width: 32px; height: 32px; border-radius: 50%; background: #BADD14; color: #1C4D1B; font: 700 16px/32px 'Onest', sans-serif; text-align: center; }
.jl-doc .jl-note { background: #FFF6DE; border: 1px solid #F0DCA0; border-radius: 12px; padding: 10px 14px; font-size: 14px; }
.jl-doc__edit { display: inline-block; margin-bottom: 12px; font-size: 13px; }
.jl-doc__updated { margin-top: 40px; font-size: 13px; color: #6E7B68; }

/* Cilnes (tāpat kā maršrutos) */
.jl-tabs { display: inline-flex; gap: 4px; padding: 4px; background: #E6EEDC; border-radius: 999px; margin-bottom: 22px; }
.jl-tab { padding: 10px 20px; border-radius: 999px; font: 600 15px 'Onest', sans-serif; color: #2C5F28; text-decoration: none; white-space: nowrap; }
.jl-tab:hover { background: rgba(255,255,255,.6); }
.jl-tab.is-active { background: #1C4D1B; color: #fff; }
@media (max-width: 420px) { .jl-tab { padding: 9px 14px; font-size: 14px; } }

.jl-doc--wide { max-width: 860px; margin: 0; }
.jl-doc img { border-radius: 16px; height: auto; margin: 8px 0 16px; }

/* Kempings */
.jl-camp__section { margin-top: 48px; max-width: 860px; }
.jl-camp__h2 { font: 500 clamp(28px, 3.4vw, 40px)/1.1 'Alegreya', serif; color: #1C4D1B; margin: 0 0 18px; }
.jl-camp__tour { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: #DDE9C4; }
.jl-camp__tour iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jl-camp__book { display: inline-block !important; width: auto !important; margin-top: 18px; padding: 14px 26px !important; text-decoration: none; }

/* Cenrādis — datorā 2 kolonnas, telefonā kartītes */
.jl-prices { display: grid; gap: 22px; }
.jl-prices__title { font: 700 19px/1.3 'Onest', sans-serif; color: #1C4D1B; margin: 0 0 10px; }
.jl-prices__list { list-style: none; margin: 0; padding: 0; background: #fff; border: 1px solid #E3E9DA; border-radius: 18px; overflow: hidden; }
.jl-prices__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 38%); gap: 6px 24px; padding: 14px 20px; align-items: start; }
.jl-prices__row + .jl-prices__row { border-top: 1px solid #EEF2E8; }
.jl-prices__row:nth-child(even) { background: #FAFCF6; }
.jl-prices__what, .jl-prices__cost { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.jl-prices__name { font-size: 16px; color: #1C2B19; }
.jl-prices__desc { font-size: 13.5px; line-height: 1.5; color: #6E7B68; }
.jl-prices__cost strong { font-size: 16px; color: #2A6E27; }
.jl-prices__cost span { font-size: 13px; color: #6E7B68; line-height: 1.45; }
@media (max-width: 600px) {
  .jl-prices__row { grid-template-columns: 1fr; padding: 13px 16px; }
  .jl-prices__cost { flex-direction: row; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; }
}

/* Karte pēc klikšķa */
.jl-map { position: relative; aspect-ratio: 16 / 10; border-radius: 22px; overflow: hidden; background: #E6F0CF; }
.jl-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.jl-map__ph { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 20px; color: #1C4D1B; }
.jl-map__ph svg { width: 40px; height: 40px; }
.jl-map__ph small { color: #5B6A55; }
.jl-map__load { display: inline-block !important; width: auto !important; padding: 12px 22px !important; }
.jl-map__links { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 10px; font-weight: 600; font-size: 14px; }
.jl-map__links a { color: #1C4D1B; }

/* Pakalpojumi (izkārtojums kā maršrutu sarakstā) */
.jl-sp { font-family: 'Onest', sans-serif; color: #1C2B19; }
.jl-sp__head { margin-bottom: 26px; }
.jl-sp__title { font: 700 clamp(30px, 4vw, 46px)/1.1 'Alegreya', serif; color: #1C4D1B; margin: 6px 0 10px; }
.jl-sp__lead { font-size: 17px; color: #3E4D3A; max-width: 680px; margin: 0 0 18px; }
.jl-sp__jump { display: flex; flex-wrap: wrap; gap: 8px; }
.jl-sp__jump .jl-chip { margin: 0; text-decoration: none; }
.jl-sp__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 20px; scroll-margin-top: 110px; }
.jl-sp-card { position: relative; }
.jl-sp-card__link { display: flex; flex-direction: column; height: 100%; background: #fff; border: 1px solid #D6DECB; border-radius: 20px; overflow: hidden; color: inherit; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.jl-sp-card__link:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(28,77,27,.12); color: inherit; }
.jl-sp-card__img { aspect-ratio: 16 / 10; background: #EAF2E1; }
.jl-sp-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jl-sp-card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.jl-sp-card__body h2 { font: 700 21px/1.2 'Alegreya', serif; color: #1C4D1B; margin: 0 0 8px; }
.jl-sp-card__body p { font-size: 14px; line-height: 1.55; color: #3E4D3A; margin: 0 0 12px; }
.jl-sp-card__text { font-size: 14px; line-height: 1.55; color: #3E4D3A; margin-bottom: 12px; }
.jl-sp-card__text p { margin: 0 0 8px; }
.jl-sp-card__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: 10px; border-top: 1px solid #EEF2E8; padding-top: 12px; }
.jl-sp-card__price strong { font: 700 22px 'Alegreya', serif; color: #1C4D1B; }
.jl-sp-card__more { font-weight: 700; font-size: 14px; color: #1C4D1B; white-space: nowrap; }
.jl-sp-card__edit { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); color: #1C4D1B; display: flex; align-items: center; justify-content: center; text-decoration: none; font-size: 15px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.jl-sp__prices { margin-top: 56px; max-width: 860px; scroll-margin-top: 110px; }
#laivu-cenas.jl-sp__prices, #kempinga-cenas.jl-sp__prices { max-width: none; }
.jl-sp__h2 { font: 700 clamp(26px, 3vw, 34px)/1.15 'Alegreya', serif; color: #1C4D1B; margin: 0 0 10px; }
.jl-sp__note { font-size: 15px; color: #5B6A55; margin: 0 0 14px; max-width: 680px; }
.jl-sp__ask { margin-top: 40px; font-size: 16px; color: #3E4D3A; }
.jl-sp__ask a { color: #1C4D1B; font-weight: 600; }
.jl-contact { font-family: 'Onest', sans-serif; color: #1C2B19; }

/* Kontakti */
.jl-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
@media (max-width: 860px) { .jl-contact__grid { grid-template-columns: 1fr; } }
.jl-contact__info { display: grid; gap: 18px; }
.jl-contact__card { background: #E6F0CF; border-radius: 24px; padding: 22px 24px; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px 24px; }
.jl-contact__item { display: flex; flex-direction: column; font-size: 16px; line-height: 1.5; }
.jl-contact__item > span, .jl-contact__company > span { font: 400 12px 'JetBrains Mono', monospace; letter-spacing: .1em; text-transform: uppercase; color: #3D7F12; margin-bottom: 4px; display: block; }
.jl-contact__item a { font-weight: 600; color: #1C4D1B; }
.jl-contact__item small { color: #5B6A55; font-size: 13px; }
.jl-contact__social { display: flex; flex-wrap: wrap; gap: 4px 14px; }
.jl-contact__company { font-size: 14px; line-height: 1.6; color: #3E4D3A; background: #fff; border: 1px solid #E3E9DA; border-radius: 18px; padding: 16px 18px; }
.jl-contact__form { background: #fff; border: 1px solid #E3E9DA; border-radius: 24px; padding: 24px; scroll-margin-top: 110px; }
.jl-contact__form h2 { font: 700 26px/1.2 'Alegreya', serif; color: #1C4D1B; margin: 0 0 4px; }
.jl-cform .form-item { margin: 0 0 14px; }
.jl-cform label { display: block; font-size: 13px; font-weight: 600; color: #2C3B27; margin-bottom: 6px; }
.jl-cform label.option { display: inline; font-weight: 500; font-size: 14px; }
.jl-cform input[type="text"], .jl-cform input[type="email"], .jl-cform input[type="tel"], .jl-cform textarea { width: 100%; box-sizing: border-box; padding: 12px 14px; border: 1px solid #D6DECB; border-radius: 12px; font: 16px 'Onest', sans-serif; background: #fff; }
.jl-cform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 600px) { .jl-cform__row { grid-template-columns: 1fr; } }
.jl-cform .form-type-checkbox, .jl-cform .form-type--checkbox { display: flex; gap: 10px; align-items: flex-start; }
.jl-cform .form-type-checkbox input, .jl-cform .form-type--checkbox input { width: 20px; height: 20px; accent-color: #1C4D1B; margin-top: 1px; }
.jl-cform label a { color: #1C4D1B; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.jl-cform input.jl-btn { display: inline-block; width: auto; padding: 13px 26px; border-radius: 999px; border: 0; background: #1C4D1B; color: #fff; font: 700 15px 'Onest', sans-serif; cursor: pointer; }
.jl-cform__done { background: #EAF5D3; border: 1px solid #C9E28F; border-radius: 14px; padding: 16px 18px; }
.jl-cform__done p { margin: 4px 0 0; }
.jl-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.jl-map__canvas, .jl-home-map .jl-map__canvas { position: absolute; inset: 0; }

/* Iekšējās pogas (Pakalpojumi / Laivu cenas / Kempinga cenas): pēc ielādes zaļa gaisma apskrien pa malu, lai pievērstu uzmanību. */
@property --jl-a { syntax: '<angle>'; initial-value: 0deg; inherits: false; }
.jl-sp__jump .jl-chip { position: relative; }
.jl-sp__jump .jl-chip::after {
  content: ''; position: absolute; inset: -1px; border-radius: inherit; padding: 3px; pointer-events: none; opacity: 0;
  background: conic-gradient(from var(--jl-a), transparent 0 62%, #5FA02A 82%, #C1DE4A 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: jl-chip-run 1.2s linear 3;
}
.jl-sp__jump .jl-chip:nth-child(1)::after { animation-delay: .4s; }
.jl-sp__jump .jl-chip:nth-child(2)::after { animation-delay: .7s; }
.jl-sp__jump .jl-chip:nth-child(3)::after { animation-delay: .9s; }
@keyframes jl-chip-run { from { --jl-a: 0deg; opacity: 1; } to { --jl-a: 360deg; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .jl-sp__jump .jl-chip::after { animation: none; } }

/* Karte ar upes ilustrāciju (kā sākumlapā) */
.jl-map { min-height: 420px; aspect-ratio: auto; border-radius: 40px; background: #DDE9C4; }
.jl-map__ph { align-items: stretch; justify-content: flex-start; padding: 0; text-align: left; }
.jl-map__ph > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.jl-map__txt { position: absolute; left: 28px; top: 26px; max-width: 56%; z-index: 1; }
.jl-map__txt strong { display: block; font: 700 clamp(22px, 2.2vw, 28px)/1.15 'Alegreya', serif; }
.jl-map__txt small { display: block; margin-top: 6px; color: #3E4D3A; }
.jl-map__btn { position: absolute; right: 22px; bottom: 22px; z-index: 1; border: 0; background: #1C4D1B; color: #fff; font: 600 15px 'Onest', sans-serif; padding: 13px 24px; border-radius: 999px; cursor: pointer; }
.jl-map__btn:hover { background: #2A6E27; }
/* Kempinga apraksta lapa: cenas un karte pilnā platumā (teksts paliek šaurāks) */
.jl-camp__section { max-width: none; }

/* BUJ (/buj) */
.jl-faq__head { margin: 6px 0 26px; }
.jl-faq__title { font: 500 clamp(34px, 4.6vw, 56px)/1.05 'Alegreya', serif; color: #1C4D1B; margin: 4px 0 10px; }
.jl-faq__list { display: grid; gap: 10px; }
.jl-faq__item { background: #fff; border: 1px solid #DDE6D2; border-radius: 16px; overflow: hidden; }
.jl-faq__item[open] { border-color: #8FB57F; }
.jl-faq__q { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font: 600 17px/1.35 'Onest', sans-serif; color: #1C4D1B; }
.jl-faq__q::-webkit-details-marker { display: none; }
.jl-faq__q::after { content: '+'; flex: none; width: 30px; height: 30px; border-radius: 50%; background: #E6EEDC; display: grid; place-items: center; font-size: 20px; line-height: 1; color: #2C5F28; transition: transform .2s; }
.jl-faq__item[open] .jl-faq__q::after { content: '−'; background: #1C4D1B; color: #fff; }
.jl-faq__q:hover { background: #F6F9F2; }
.jl-faq__a { padding: 0 22px 20px; font: 400 16px/1.6 'Onest', sans-serif; color: #3A4A36; }
.jl-faq__a p { margin: 0 0 10px; }
.jl-faq__a ol, .jl-faq__a ul { margin: 0 0 10px; padding-left: 22px; }
.jl-faq__a li { margin-bottom: 4px; }
.jl-faq__more { margin-top: 28px; font: 500 16px 'Onest', sans-serif; }
.jl-faq__more a { color: #2C5F28; font-weight: 600; }

/* Kā rezervēt: viss pa visu platumu (kā kempinga cenās) */
.jl-doc--rez, .jl-doc--rez :is(p, ul, ol, h2, h3, table, .jl-steps-list, .jl-note, .jl-doc__company) { max-width: none; }
.jl-doc--rez { margin: 0; }

/* BUJ bloks lapā */
.jl-faq-block { margin-top: clamp(48px, 6vw, 80px); }
.jl-faq-block__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 16px; margin-bottom: 24px; }
.jl-faq-block__head h2 { font: 500 clamp(30px, 3.8vw, 48px)/1.05 'Alegreya', serif; color: #1C4D1B; margin: 0; }
.jl-faq-block__head a { font: 600 15px 'Onest', sans-serif; color: #2C5F28; }
.jl-faq-block--pk { margin-top: 0; padding: 0 var(--pk-px, clamp(16px, 4vw, 48px)) clamp(40px, 5vw, 72px); background: #F5F8EA; }
.jl-faq-block--pk .jl-faq-block__in { max-width: 1280px; margin: 0 auto; }
