/* Inner pages (services, business, company, utility). Only what Elementor has no control for.
   Classes are set in Elementor (Advanced > CSS Classes). */

/* CTA block eyebrow on inner pages uses line-height 1 (taller on the home page) */
body:not(.home) .ck-cta-eyebrow .elementor-heading-title { line-height: 1 !important; }

/* ---------- breadcrumbs ([surerank_breadcrumbs] in a Shortcode widget; trail built in inc/seo.php) ---------- */
.ck-crumbs { font: 400 13px/1.7 Arial, sans-serif; }
.ck-crumbs, .ck-crumbs a { color: var(--e-global-color-muted); }
.ck-crumbs a:hover { color: var(--e-global-color-secondary); text-decoration: underline; }
.ck-crumbs p, .ck-crumbs #breadcrumbs { margin: 0; }
.ck-crumbs .ck-sep { padding-inline: 12px; color: #5a6474; }

/* ---------- measures ---------- */
.ck-mw-590 p { max-width: 590px; }
.ck-mw-760 { max-width: 760px; }
.ck-mw-26ch :is(.elementor-heading-title, p) { max-width: 26ch; }
.ck-mw-30ch :is(.elementor-heading-title, p) { max-width: 30ch; }
.ck-mw-70ch :is(.elementor-heading-title, p) { max-width: 70ch; }

/* ---------- .ck-textlink – 13px link with a 2px underline bar ---------- */
.ck-textlink .elementor-icon-list-item > a { padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
.ck-textlink-blue .elementor-icon-list-item > a, .ck-textlink-blue .elementor-icon-list-text { color: var(--e-global-color-secondary); }

/* buttons stretch to full width on small screens */
@media (max-width: 760px) {
	.ck-actions-760 { align-items: stretch !important; }
	.ck-btn-full-760, .ck-btn-full-760 .elementor-button { width: 100%; }
}

/* ---------- service hero (.ck-svc-hero): photo + light wash from the left ---------- */
.ck-svc-hero { position: relative; isolation: isolate; }
.ck-svc-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(243,249,253,.98), rgba(243,249,253,.93) 45%, rgba(243,249,253,.12)); }
.ck-svc-hero-img { position: absolute !important; inset: 0; z-index: -2; margin: 0 !important; width: 100% !important; }
.ck-svc-hero-img .elementor-widget-container, .ck-svc-hero-img img { width: 100%; height: 100%; }
.ck-svc-hero-img img { object-fit: cover; border-radius: 0 !important; }
@media (max-width: 760px) { .ck-svc-hero::before { background: rgba(243,249,253,.91); } }

/* ---------- .ck-jumps – "on this page" pill navigation ---------- */
.ck-jumps .elementor-icon-list-items { display: inline-flex !important; flex-wrap: wrap; gap: 6px; padding: 6px !important; margin: 0 !important; background: #fff; border: 1.5px solid var(--e-global-color-primary); border-radius: 28px; max-width: 100%; }
.ck-jumps .elementor-icon-list-item { margin: 0 !important; }
.ck-jumps .elementor-icon-list-item > a { display: flex; align-items: center; min-height: 44px; padding: 8px 18px; border-radius: 22px; transition: background-color .2s; }
.ck-jumps .elementor-icon-list-item > a:hover { background: var(--e-global-color-ice); }
.ck-jumps .elementor-icon-list-icon { display: none; }
@media (max-width: 800px) {
	.ck-jumps-wrap { padding-inline: 16px !important; }
	.ck-jumps, .ck-jumps .elementor-icon-list-items { width: 100%; border-radius: 22px; }
}

/* ---------- editorial lead: photo + copy ---------- */
.ck-ed-img { overflow: hidden; border-radius: 24px; }
.ck-ed-img img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 24px; transition: transform 450ms cubic-bezier(.22,.68,.2,1); }
.ck-ed-img:hover img { transform: scale(1.018); }
.ck-ed-img-atelier img { aspect-ratio: 5 / 4; }
.ck-lead-title .elementor-icon-box-wrapper { display: flex; align-items: center; gap: 14px; text-align: left; }
.ck-lead-title .elementor-icon-box-icon { margin: 0 !important; }
.ck-lead-title .elementor-icon-box-title { margin: 0; }
@media (max-width: 760px) {
	.ck-ed-lead { --e-con-grid-template-columns: minmax(0, 1fr) !important; grid-template-columns: minmax(0, 1fr) !important; }
	.ck-ed-lead-garment .ck-ed-img { order: -1; }
	.ck-ed-img-atelier img { aspect-ratio: 3 / 2; }
}
@media (prefers-reduced-motion: reduce) { .ck-ed-img img { transition: none; } }

/* ---------- editorial notes – one layout per composition variant ---------- */
.ck-ed-notes { margin-top: 30px !important; }
.ck-ed-notes-garment { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 44px !important; padding: 26px 0 !important; border-block: 1px solid #cadde8; background: linear-gradient(90deg, #f0f7fb, #fff); }
.ck-ed-notes-garment .ck-ed-note { padding: 8px 20px !important; }
.ck-ed-notes-atelier { border-top: 1px solid #bdd3e2; }
.ck-ed-notes-atelier .ck-ed-note { display: grid !important; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 32px !important; padding: 26px 0 !important; border-bottom: 1px solid #bdd3e2; }
.ck-ed-notes-home .ck-ed-note { display: grid !important; grid-template-columns: minmax(0, .7fr) minmax(0, 1fr); gap: 32px !important; padding: 22px 0 !important; }
@media (max-width: 960px) { .ck-ed-notes-atelier .ck-ed-note, .ck-ed-notes-home .ck-ed-note { grid-template-columns: minmax(0, 1fr); gap: 0 !important; } }
@media (max-width: 760px) {
	.ck-ed-notes-garment { grid-template-columns: minmax(0, 1fr); gap: 20px !important; }
	.ck-ed-notes-garment .ck-ed-note { padding: 8px 12px !important; }
}

/* ---------- decision links under the editorial block ---------- */
.ck-decisions { margin-top: 20px !important; padding-top: 16px; border-top: 1px solid #bdd3e2; }
.ck-decisions .elementor-icon-list-items { flex-wrap: wrap; gap: 8px 32px; margin: 0 !important; }
.ck-decisions .elementor-icon-list-item { margin: 0 !important; min-height: 48px; }
.ck-decisions .elementor-icon-list-item > a:hover { text-decoration: underline; text-underline-offset: 5px; }
.ck-ilist-after.ck-gap-14 { --ck-gap: 14px; }
@media (max-width: 760px) { .ck-decisions .elementor-icon-list-items { gap: 4px 24px; } }

/* ---------- price list rows (service pages) ---------- */
.ck-svc-prices .elementor-price-list li { margin: 0 !important; padding: 18px 0; border-bottom: 1px solid #c5dbe7; }
.ck-svc-prices .elementor-price-list-header { display: grid; grid-template-columns: minmax(0, 1fr) minmax(120px, .85fr); gap: 20px; margin: 0 !important; align-items: start !important; }
.ck-svc-prices .elementor-price-list-separator { display: none; }
.ck-svc-prices .elementor-price-list-price { text-align: right; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
@media (max-width: 760px) { .ck-svc-prices .elementor-price-list-header { gap: 14px; } .ck-svc-prices .elementor-price-list-price { font-size: 16px; } }
@media (max-width: 480px) { .ck-svc-prices .elementor-price-list-header { grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); } }

/* ---------- inner FAQ list: circled plus turns sky and rotates when open ---------- */
.ck-faq-inner { border-bottom: 2px solid var(--e-global-color-primary); }
.ck-faq-inner .e-n-accordion-item-title { min-height: 64px; gap: 24px !important; }
.ck-faq-inner .e-n-accordion-item-title-icon svg { transition: transform .3s cubic-bezier(.22,.68,.2,1); }
.ck-faq-inner .ck-faq-ring { transition: fill .2s; }
.ck-faq-inner .e-n-accordion-item[open] .e-n-accordion-item-title-icon svg { transform: rotate(45deg); }
.ck-faq-inner .e-n-accordion-item[open] .ck-faq-ring { fill: var(--e-global-color-accent) !important; }
.ck-faq-inner-answer :is(p, ul, ol) { max-width: 72ch; margin: 0 0 20px; padding: 0 4px; }

/* ---------- related links grid ---------- */
.ck-related .elementor-icon-list-items { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 28px; }
.ck-related .elementor-icon-list-item { margin: 0 !important; padding: 0 !important; }
.ck-related .elementor-icon-list-item > a { width: 100%; justify-content: space-between; min-height: 54px; padding: 16px 0 4px; border-bottom: 1px solid #d0e0e9; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
@media (max-width: 960px) { .ck-related .elementor-icon-list-items { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .ck-related .elementor-icon-list-items { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Express band block on inner pages (same content as the home page, inner typography) ---------- */
.ck-express { --margin-top: clamp(28px, 4vw, 48px) !important; }
.ck-express h2.elementor-heading-title { font-size: clamp(26px, 3vw, 42px) !important; line-height: 1.15 !important; letter-spacing: -.025em !important; }
.ck-express .ck-chip-icon .elementor-icon-list-text { font-size: 12px !important; line-height: 1 !important; }
@media (max-width: 959px) { .ck-express h2.elementor-heading-title { font-size: 30px !important; } }
@media (max-width: 639px) { .ck-express h2.elementor-heading-title { font-size: clamp(24px, 6.4vw, 30px) !important; } }

/* breadcrumbs: lay the trail out as flex items (drops the spaces Yoast prints around separators) */
.ck-crumbs #breadcrumbs > span { display: flex; flex-wrap: wrap; align-items: center; }
.ck-crumbs #breadcrumbs > span span:not(.ck-sep):not(.breadcrumb_last) { display: contents; }
.ck-crumbs a, .ck-crumbs .breadcrumb_last { display: block; }
/* price on phones */
@media (max-width: 760px) { .ck-svc-prices .elementor-price-list-price { font-size: 16px !important; } }
/* .ck-tap44 – inline link with a 44px tap height, text centred */
.ck-tap44 .elementor-icon-list-item > a { min-height: 44px; align-items: center; }
/* express band link gets the inner-page underline bar */
.ck-express .ck-arrow-nudge .elementor-icon-list-item > a { padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
/* FAQ: icon box is 30px tall, so single-line questions are 70px rows */
.ck-faq-inner .e-n-accordion-item-title-icon { height: 30px; align-items: center; }

/* ---------- CTA blocks on inner pages (same content as the home page, inner typography) ---------- */
/* NB: the approved design shows this eyebrow in ink on the ink card (i.e. not visible); kept as designed. */
body:not(.home) .ck-cta-eyebrow { margin-bottom: 20px !important; border-color: var(--e-global-color-primary) !important; }
body:not(.home) .ck-cta-eyebrow .elementor-heading-title { color: var(--e-global-color-primary) !important; }
body:not(.home) .ck-cta h2.elementor-heading-title { font-size: clamp(26px, 3vw, 42px) !important; line-height: 1.15 !important; letter-spacing: -.025em !important; }
@media (max-width: 959px) { body:not(.home) .ck-cta h2.elementor-heading-title { font-size: 30px !important; } }
@media (max-width: 639px) { body:not(.home) .ck-cta h2.elementor-heading-title { font-size: clamp(24px, 6.4vw, 30px) !important; } }
body:not(.home) .ck-cta-copy .elementor-widget-text-editor { font-size: 16px !important; line-height: 1.7 !important; }
body:not(.home) .ck-cta-chips .elementor-icon-list-text { font-size: 16px !important; line-height: 1.7 !important; }
/* price titles may use the whole column (Elementor caps them at 80%) */
.ck-svc-prices .elementor-price-list-title { max-width: none !important; }
/* breadcrumbs wrap with a 12px row gap on phones */
.ck-crumbs #breadcrumbs > span { row-gap: 12px; }
/* "home" composition notes keep the base 1px rule above each note */
.ck-ed-notes-home .ck-ed-note { border-top: 1px solid #b9d1e1; }

/* ---------- Express service page: photo + option links ---------- */
.ck-mw-820 { max-width: 820px; }
.ck-xp-img img { height: 100%; max-height: 420px; aspect-ratio: auto; }
.ck-xp-img, .ck-xp-img .elementor-widget-container { height: 100%; }
@media (max-width: 760px) {
	.ck-xp-layout { --e-con-grid-template-columns: minmax(0, 1fr) !important; grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
	.ck-xp-img img { height: 220px; max-height: none; }
	.ck-xp-option .elementor-heading-title { font-size: 18px !important; }
}
.ck-xp-option { transition: background-color .2s ease; }
.ck-xp-option:hover { background: #edf5fa; }
.ck-xp-option:hover .elementor-heading-title { color: var(--e-global-color-secondary); }
.ck-xp-option .ck-xp-arrow svg { transition: transform .2s ease; }
.ck-xp-option:hover .ck-xp-arrow svg { transform: translate(3px, -3px); }
.ck-faq-inner-answer-narrow :is(p, ul, ol) { max-width: 648px; }
.ck-xp-prep .ck-faq-inner { border-bottom: 0; } /* the preparation list has no closing rule */
.ck-rates.ck-faq-inner { border-bottom: 0; } /* rate tables: no closing rule either */

/* ---------- Shirt service page (/tjanster/skjorttvatt/) ---------- */
.ck-mw-20ch :is(.elementor-heading-title, p) { max-width: 20ch; }
.ck-mw-65ch :is(.elementor-heading-title, p) { max-width: 65ch; }
.ck-mw-715 p { max-width: 715px; }
.ck-svc-hero-shirt::before { background: linear-gradient(90deg, #f3f9fd 0%, rgba(243,249,253,.97) 35%, rgba(243,249,253,.7) 55%, rgba(243,249,253,0) 75%); }
.ck-svc-hero-shirt .ck-svc-hero-img img { object-position: 75% 50%; }
.ck-svc-hero-shirt > .e-con-inner > .e-con { --width: min(620px, 100%) !important; }
.ck-svc-hero-shirt h1.elementor-heading-title { max-width: 15ch; font-size: 48px; }
.ck-svc-hero-shirt .ck-mw-590 p { max-width: 45ch; }
.ck-shirt-img img { aspect-ratio: 6 / 5; object-position: center; }
/* finish options: definition rows (Price List widget) */
.ck-shirt-options .elementor-price-list { border-top: 1px solid #bbd2e2; }
.ck-shirt-options .elementor-price-list li { margin: 0 !important; padding: 16px 0; border-bottom: 1px solid #bbd2e2; }
.ck-shirt-options .elementor-price-list-header { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 20px; margin: 0 !important; align-items: start !important; }
.ck-shirt-options .elementor-price-list-title { max-width: none !important; }
.ck-shirt-options .elementor-price-list-separator { display: none; }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
	.ck-shirt-options .elementor-price-list li { transition: background .2s ease, padding .2s ease; }
	.ck-shirt-options .elementor-price-list li:hover { padding-inline: 8px; background: #f0f7fb; }
}
/* wardrobe row: icon / copy / link */
.ck-shirt-wardrobe { display: grid !important; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 24px; align-items: start; }
.ck-shirt-wardrobe-link { align-self: start; justify-self: start; }
.ck-shirt-prices .elementor-price-list li { padding-block: 22px; }
.ck-shirt-prices .elementor-price-list-header { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.ck-shirt-prices .elementor-price-list-price { font-size: 19px !important; }
@media (max-width: 960px) {
	.ck-shirt-wardrobe { grid-template-columns: 32px minmax(0, 1fr); }
	.ck-shirt-wardrobe-link { grid-column: 2; }
}
@media (max-width: 760px) {
	.ck-svc-hero-shirt { align-items: flex-end !important; min-height: 530px; }
	.ck-svc-hero-shirt .ck-svc-hero-img img { object-position: 60% top; }
	.ck-svc-hero-shirt::before { background: linear-gradient(0deg, #f3f9fd 0%, rgba(243,249,253,.96) 55%, rgba(243,249,253,.08) 100%); }
	.ck-svc-hero-shirt > .e-con-inner { align-items: flex-end !important; }
	.ck-svc-hero-shirt > .e-con-inner > .e-con { --padding-top: 160px !important; --padding-bottom: 30px !important; }
	.ck-svc-hero-shirt h1.elementor-heading-title { font-size: 34px; }
	.ck-shirt-finish, .ck-shirt-detail, .ck-shirt-pricegrid { --e-con-grid-template-columns: minmax(0, 1fr) !important; grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
	.ck-shirt-img img { aspect-ratio: 3 / 2; }
	.ck-shirt-detail { --margin-top: 30px !important; --padding-top: 26px !important; --padding-bottom: 26px !important; }
	.ck-shirt-options .elementor-price-list-header { grid-template-columns: 100px minmax(0, 1fr); gap: 12px; }
	.ck-shirt-wardrobe { gap: 16px; }
	.ck-shirt-prices .elementor-price-list-price { font-size: 17px !important; }
	.ck-shirt-heading { --margin-bottom: 24px !important; }
}

/* ---------- store block (ck-block-visit) on inner pages: tags muted, h2 1.15, hours in Montserrat ---------- */
body:not(.home) .ck-visit h2.elementor-heading-title { line-height: 1.15 !important; letter-spacing: -.025em !important; }
body:not(.home) .ck-visit .ck-note-link p { font-family: var(--e-global-typography-primary-font-family), "Montserrat Variable", Montserrat, Arial, sans-serif !important; }
body:not(.home) .ck-visit .ck-hours .elementor-price-list-price { font-family: var(--e-global-typography-primary-font-family), "Montserrat Variable", Montserrat, Arial, sans-serif; }
@media (max-width: 959px) { body:not(.home) .ck-visit h2.elementor-heading-title { font-size: 30px !important; } }
@media (max-width: 639px) { body:not(.home) .ck-visit h2.elementor-heading-title { font-size: clamp(24px, 6.4vw, 30px) !important; } }
.ck-crumbs .ck-sep-chevron svg { width: 12px; height: 12px; display: block; }
.ck-crumbs .ck-sep + .ck-sep-chevron { padding: 0 12px 0 0 !important; margin: 0 !important; }
/* inline link with the brand underline bar */
.ck-inline-link { color: var(--e-global-color-secondary); text-decoration: none; padding-bottom: 4px; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 2px no-repeat; }
.elementor-widget-text-editor .ck-inline-link { color: var(--e-global-color-secondary) !important; }

/* ---------- Elementor forms (.ck-form): own submit replaced by a Button widget, field look ---------- */
.ck-form .elementor-field-type-submit { display: none !important; }
.ck-form .elementor-field-textual { min-height: 49px; padding: 12px 14px; border-radius: 14px; line-height: 1.5; }
.ck-form select.elementor-field-textual { line-height: normal; }
.ck-form .elementor-field-textual:focus { border-color: var(--e-global-color-secondary); box-shadow: none; outline: 2px solid var(--e-global-color-secondary); outline-offset: 0; }
.ck-form .elementor-select-wrapper::before { right: 14px; font-size: 12px; }
.ck-form .elementor-message { margin-top: 12px; font-size: 14px; }
/* rate accordions: small second line under the title */
.ck-rates .e-n-accordion-item-title-text small { display: block; margin-top: 4px; font: 400 13px/1.6 Arial, sans-serif; color: var(--e-global-color-muted, #4b5675); }
.ck-inline-link, .ck-inline-link:hover { color: var(--e-global-color-secondary) !important; }
