/* sk-home: front page (page 3042, Divi 5). Ported from woodmart-child/style.css "sk-home v3–v5" and "sk-mock" (2026-10-02 …
   11-05): same values, selectors rewritten from Elementor containers/widgets to the sk-h-* classes on the Divi sections,
   rows and modules. Loaded on the front page only (inc/home.php). */

/* Shared: sections centred at 1290px with 24px gutters (Divi rows otherwise use 80% / 1080px) */
.sk-h.et_pb_section { padding: 0; }
.sk-h .et_pb_row { box-sizing: border-box; width: 100% !important; max-width: 1290px !important; margin: 0 auto !important; padding: 0 24px; }
.sk-h .et_pb_column { margin-bottom: 0 !important; }
.sk-h .et_pb_module { margin-bottom: 0 !important; }
.sk-h .et_pb_text_inner > p:empty { display: none; }
.sk-h-textlink { display: inline-flex; align-items: center; gap: 6px; color: var(--sk-blue-03); font-weight: 600; font-size: 15px; text-decoration: none; }
.sk-h-textlink::after { content: ""; width: 18px; height: 18px; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m14 7 5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m14 7 5 5-5 5'/%3E%3C/svg%3E") center / contain no-repeat; }
.sk-h-textlink:hover { color: var(--sk-blue-02); text-decoration: underline; text-underline-offset: 3px; }
.sk-h-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; padding: 0 24px; border: 0; border-radius: var(--sk-radius); background: var(--sk-blue-03); color: #fff !important; font-size: 16px; font-weight: 700; text-transform: uppercase; text-decoration: none !important; cursor: pointer; }
.sk-h-btn:hover { background: var(--sk-blue-02); color: #fff; }

/* Hero: photo background (AI mockup, badge), text column left */
.sk-h-hero.et_pb_section { position: relative; overflow: hidden; background-size: cover !important; background-position: right center !important; background-repeat: no-repeat !important; }
.sk-h-hero.et_pb_section::after { content: "AI-mockup"; position: absolute; top: 12px; right: 12px; z-index: 3; padding: 2px 8px; border-radius: 4px; background: var(--sk-yellow); color: var(--sk-text); font-size: 11px; font-weight: 700; text-transform: uppercase; }
.sk-h-hero .et_pb_row { display: flex !important; align-items: center; gap: 48px; min-height: 620px; padding: 56px 24px 64px; }
.sk-h-hero .et_pb_column { flex: 1 1 0; width: auto !important; min-width: 0; }
.sk-site .sk-h-eyebrow, .sk-site .sk-h-eyebrow * { margin: 0 0 8px; padding: 0; font-size: 14px; font-weight: 700; line-height: 1; letter-spacing: .08em; text-transform: uppercase; color: var(--sk-blue-03); }
.sk-site .sk-h-title h1, .sk-site h1.sk-h-title { margin: 0 0 4px; padding: 0; font-size: 48px; line-height: 1.05; color: var(--sk-deep-blue); }
.sk-h-title h1 span, .sk-h-title span { display: block; color: var(--sk-blue-03); }
.sk-h-lead { margin-bottom: 24px !important; }
.sk-h-lead p { margin: 0; max-width: 520px; font-size: 17px; line-height: 1.55; color: var(--sk-text); }
.sk-h-finder { max-width: 560px; margin: 0 0 16px; }
.sk-h-dims { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; min-width: 0; margin: 0 0 12px; padding: 0; border: 0; }
.sk-site .sk-h-dims legend { float: left; grid-column: 1 / -1; width: 100%; margin: 0 0 4px; padding: 0; font-size: 14px; font-weight: 700; color: var(--sk-deep-blue); }
.sk-h-finder label { display: block; font-size: 14px; font-weight: 600; color: var(--sk-text); }
.sk-site .sk-h-finder input { display: block; box-sizing: border-box; width: 100%; height: 48px; margin-top: 6px; padding: 0 12px; border: 1px solid var(--sk-muted); border-radius: var(--sk-radius); background: #fff; color: var(--sk-text); font-size: 16px; font-weight: 600; text-align: center; }
.sk-h-vol { margin: 0 0 16px; }

/* Section heads: title left, text link right */
.sk-h-sec.et_pb_section { padding-top: 48px; padding-bottom: 8px; }
.sk-h-sechead.et_pb_row { display: flex !important; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px !important; }
.sk-h-sechead .et_pb_column { width: auto !important; }
.sk-site .sk-h-sechead h2 { margin: 0; padding: 0; font-size: 32px; line-height: 1; }
.sk-h-sechead p { margin: 0; }

/* Category cards: image left, title, arrow; 4 per row */
.sk-h-cats.et_pb_row { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.sk-h-cats .et_pb_column { width: auto !important; margin: 0 !important; display: contents; }
.sk-h-catcard { position: relative; }
.sk-h-catcard .et_pb_blurb_content { display: flex; align-items: center; gap: 16px; max-width: none; height: 100%; box-sizing: border-box; padding: 12px 16px 12px 12px; background: var(--sk-surface); border: 1px solid var(--sk-border); border-radius: var(--sk-radius); text-align: left; transition: border-color .15s, box-shadow .15s; }
.sk-h-catcard:hover .et_pb_blurb_content { border-color: var(--sk-blue-03); box-shadow: 0 4px 14px rgba(0, 32, 91, .08); }
.sk-h-catcard .et_pb_main_blurb_image { flex: none; width: 84px; height: 64px; margin: 0 !important; border-radius: var(--sk-radius); overflow: hidden; background: var(--sk-blue-05); }
.sk-h-catcard .et_pb_main_blurb_image :is(.et_pb_image_wrap, a, img) { display: block; width: 100% !important; height: 100% !important; }
.sk-h-catcard .et_pb_main_blurb_image img { object-fit: cover; }
.sk-h-catcard .et_pb_blurb_container { flex: 1; padding: 0 !important; }
.sk-site .sk-h-catcard .et_pb_module_header { margin: 0; padding: 0; font-size: 16px; font-weight: 700; line-height: 1.25; }
.sk-h-catcard .et_pb_module_header a { color: var(--sk-deep-blue); text-decoration: none; }
.sk-h-catcard .et_pb_module_header a::after { content: ""; position: absolute; inset: 0; }
.sk-h-catcard .et_pb_blurb_description:empty { display: none; }

/* Popular products: product cards from [sk_product_cards] (css/sk-cards.css) */
.sk-h-popular .sk-rel { margin: 0; }

/* USP band: pale blue, icon + title + subtitle, thin separators */
.sk-h-wrap--usp.et_pb_section { margin-top: 48px; background-color: #eaf4fd !important; }
.sk-h-usp.et_pb_row { display: flex !important; flex-wrap: wrap; padding-top: 30px; padding-bottom: 30px; }
.sk-h-usp .et_pb_column { flex: 1 1 0; width: auto !important; min-width: 200px; margin: 0 !important; padding: 4px 28px; border-left: 1px solid #c9ddf1; }
.sk-h-usp .et_pb_column:first-child { padding-left: 0; border-left: 0; }
.sk-h-usp .et_pb_blurb_content { display: flex; align-items: center; gap: 16px; max-width: none; text-align: left; }
.sk-h-usp .et_pb_main_blurb_image { flex: none; width: 44px !important; margin: 0 !important; }
.sk-h-usp .et_pb_main_blurb_image img { width: 44px; height: 44px; }
.sk-h-usp .et_pb_blurb_container { padding: 0 !important; }
.sk-site .sk-h-usp .et_pb_module_header { margin: 0 0 4px; padding: 0; font-size: 18px; font-weight: 700; line-height: 1.25; color: var(--sk-deep-blue); }
.sk-h-usp .et_pb_blurb_description, .sk-h-usp .et_pb_blurb_description p { margin: 0; font-size: 14px; line-height: 1.45; color: var(--sk-text); }

/* Content under the band: intro + video, two topic cards, editorial grid, Kolding */
.sk-h-lower.et_pb_section { padding: 56px 0 72px; background: var(--sk-surface); }
.sk-h-lower .et_pb_row + .et_pb_row { margin-top: 48px !important; }
.sk-h-lower .et_pb_text { color: var(--sk-text); font-size: 16px; line-height: 1.6; }
.sk-h-lower .et_pb_text p { margin: 0 0 12px; padding: 0; }
.sk-h-lower .et_pb_text ul { margin: 0 0 12px; padding-left: 20px; list-style: disc; }
.sk-h-lower .et_pb_text li { margin: 0 0 6px; }
.sk-h-lower .sk-more > :last-child { margin-bottom: 0; }
.sk-h-lower .et_pb_text a:not(.sk-h-btn) { color: var(--sk-blue-03); text-decoration: underline; text-underline-offset: 2px; }
.sk-h-lower .et_pb_text a:not(.sk-h-btn):hover { color: var(--sk-blue-02); }
.sk-h-lower .et_pb_image img { display: block; width: 100%; height: auto; object-fit: cover; border-radius: var(--sk-radius); }
.sk-h-lower .et_pb_image, .sk-h-lower .et_pb_image_wrap { display: block; width: 100%; }
.sk-site .sk-h-intro-title h2 { margin: 0; padding: 0; font-size: 34px; line-height: 1.15; color: var(--sk-deep-blue); }
.sk-h-introrow-head.et_pb_row { margin-bottom: 20px !important; }
.sk-h-lower .sk-h-introrow.et_pb_row { margin-top: 0 !important; display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px; align-items: stretch; }
.sk-h-introrow .et_pb_column, .sk-h-feat .et_pb_column, .sk-h-edit .et_pb_column, .sk-h-kolding .et_pb_column { width: auto !important; margin: 0 !important; }
.sk-h-intro-lead { margin: 0 0 24px !important; max-width: 62ch; }
.sk-h-intro-cta { margin: 0 !important; }
.sk-video { position: relative; height: 100%; min-height: 240px; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--sk-deep-blue); box-shadow: 0 6px 20px rgba(0, 32, 91, .12); }
@media (min-width: 1025px) { .sk-h-introrow .sk-video { aspect-ratio: auto; } .sk-h-introrow .et_pb_column:last-child, .sk-h-introrow .et_pb_column:last-child .et_pb_module, .sk-h-introrow .et_pb_column:last-child .et_pb_text_inner { height: 100%; } }
.sk-video__play { position: absolute; inset: 0; display: block; width: 100%; height: 100%; margin: 0; padding: 0; border: 0; border-radius: 0; background: none; cursor: pointer; }
.sk-video__play img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sk-video__play::after { content: ""; position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--sk-blue-03) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 5v14l11-7z' fill='white'/%3E%3C/svg%3E") 56% 50% / 28px no-repeat; box-shadow: 0 6px 20px rgba(0, 32, 91, .35); transition: transform .15s, background-color .15s; }
.sk-video__play:hover::after { background-color: var(--sk-blue-02); transform: scale(1.06); }
.sk-video__play:focus-visible { outline: 3px solid var(--sk-light-blue); outline-offset: -3px; }
.sk-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.sk-h-feat.et_pb_row { display: grid !important; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px; align-items: stretch; }
.sk-h-card { box-sizing: border-box; padding: 24px !important; background: var(--sk-surface); border: 1px solid var(--sk-border); border-radius: var(--sk-radius); display: flex; flex-direction: column; }
.sk-h-card--img { display: grid !important; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); column-gap: 24px; align-items: start; }
.sk-h-card--img .et_pb_image img { aspect-ratio: 4 / 3; }
.sk-h-card .et_pb_text, .sk-h-card .et_pb_text_inner { display: flex; flex-direction: column; flex: 1 1 auto; }
.sk-site :is(.sk-h-card-title, .sk-h-edit-title) { margin: 0 0 10px; padding: 0; font-size: 20px; line-height: 1.3; }
.sk-h-edit.et_pb_row { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; align-items: stretch; }
.sk-h-edit .et_pb_column { padding-top: 20px; border-top: 1px solid var(--sk-border); }
.sk-h-edit .et_pb_text_inner { display: flex; flex-direction: column; height: 100%; }
.sk-h-kolding.et_pb_row { display: grid !important; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.sk-h-kolding .et_pb_image img { aspect-ratio: 2 / 1; }
.sk-site .sk-h-kolding-title { margin: 0 0 14px; padding: 0; font-size: 28px; line-height: 1.2; }
/* "Læs mere": .is-clamped is set by js/sk-home.js only when the text is longer than the clamp; without JS everything shows */
.sk-h-lower .sk-more.is-clamped:not(.is-open) { max-height: calc(var(--sk-more-lines, 6) * 1.6em); overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.sk-h-edit .sk-more { --sk-more-lines: 7; }
.sk-h-kolding .sk-more { --sk-more-lines: 8; }
.sk-h-lower button.sk-more-btn { display: inline-flex; align-self: flex-start; align-items: center; gap: 6px; min-height: 0; margin: auto 0 0; padding: 10px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; color: var(--sk-blue-03); font-size: 15px; font-weight: 700; line-height: 1.4; letter-spacing: 0; text-transform: none; cursor: pointer; }
.sk-h-lower button.sk-more-btn:hover { color: var(--sk-blue-02); background: none; text-decoration: underline; text-underline-offset: 3px; }
.sk-more-btn svg { flex: none; transition: transform .15s; }
.sk-more-btn[aria-expanded="true"] svg { transform: rotate(-90deg); }
.sk-sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 1200px) { .sk-h-edit.et_pb_row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 1024px) {
	.sk-h-hero .et_pb_row { flex-direction: column; align-items: stretch; gap: 32px; min-height: 0; }
	.sk-h-hero .et_pb_column:last-child { min-height: 220px; }
	.sk-h-cats.et_pb_row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.sk-h-usp .et_pb_column { flex: 1 1 45%; margin: 10px 0 !important; padding: 4px 20px; }
	.sk-h-usp .et_pb_column:nth-child(3) { border-left: 0; padding-left: 0; }
	.sk-h-lower .sk-h-introrow.et_pb_row, .sk-h-feat.et_pb_row { grid-template-columns: 1fr; }
	.sk-h-kolding.et_pb_row { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 768px) {
	.sk-site .sk-h-title h1 { font-size: 34px; }
	.sk-site .sk-h-sechead h2 { font-size: 26px; }
	.sk-h-hero .et_pb_row { padding: 32px 16px 40px; }
	.sk-h .et_pb_row { padding-left: 16px; padding-right: 16px; }
	.sk-h-sechead.et_pb_row { flex-direction: column; gap: 6px; }
}
@media (max-width: 767px) {
	.sk-site .sk-h-intro-title h2 { font-size: 28px; }
	.sk-h-card { padding: 20px !important; }
	.sk-h-card--img { grid-template-columns: 1fr; row-gap: 16px; }
	.sk-h-card--img .et_pb_image img { aspect-ratio: 16 / 9; }
	.sk-h-edit.et_pb_row { grid-template-columns: 1fr; gap: 24px; }
	.sk-site .sk-h-kolding-title { font-size: 24px; }
	.sk-h-usp .et_pb_column { padding: 6px 0; border-left: 0; }
}
@media (max-width: 600px) {
	.sk-h-cats.et_pb_row { grid-template-columns: 1fr; }
	.sk-h-dims { gap: 8px; }
	.sk-site .sk-h-finder input { padding: 0 8px; }
	.sk-h-btn { width: 100%; justify-content: center; }
	.sk-h-usp .et_pb_column { flex: 1 1 100%; }
}

/* Spacing measured on the WoodMart front page (1440 px): hero → "Produktsortiment" 96 px, 48 px between the sections,
   56/72 px around the lower part. Divi sets section padding with a stronger selector, hence !important. */
.sk-h-catsec.et_pb_section { padding: 96px 0 48px !important; }
.sk-h-popular.et_pb_section { padding: 48px 0 0 !important; } /* the USP strip has its own 48px margin-top */
.sk-h-lower.et_pb_section { padding: 56px 0 72px !important; }
.sk-h-lower .et_pb_row.sk-h-feat { margin-top: 0 !important; }
.sk-h-lower .et_pb_row.sk-h-edit { margin-top: 25px !important; }
.sk-h-lower .et_pb_row.sk-h-kolding { margin-top: 16px !important; }
.sk-h-intro-cta .sk-h-btn, .sk-h-intro-cta.sk-h-btn { text-transform: none; }
.sk-h-edit button.sk-more-btn { align-self: center; }
@media (max-width: 1024px) {
	/* flex: 1 1 0 in a column direction collapsed the text column to 1 px, so the hero cut off its content */
	.sk-h-hero .et_pb_column { flex: 0 0 auto; }
}
@media (max-width: 767px) {
	.sk-h-catsec.et_pb_section { padding: 56px 0 32px !important; }
	.sk-h-popular.et_pb_section { padding: 32px 0 0 !important; }
	.sk-h-lower.et_pb_section { padding: 40px 0 56px !important; }
}
