/*
Theme Name: Purple
Theme URI: https://wordpress.com/themes/purple
Author: Automattic
Author URI: https://automattic.com/
Description: Purple is a WooCommerce starter theme made for the Site Editor and modern commerce. Its clean styles and adaptable color system suit any catalog: fashion and clothing, jewelry, beauty, home decor, food and drink, or digital downloads. Commerce-ready templates and curated patterns cover the storefront from product pages and filterable shop views to cart and checkout. Ten color palettes and ten font pairings make it easy to match your brand in a click, and the theme works well with Jetpack blocks, supports RTL languages, and is fully translation-ready. Whether you’re launching your first online store or refreshing an established one, Purple is a versatile foundation for selling with WordPress and WooCommerce.
Requires at least: 7.1
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 11.1
WC tested up to: 11.2
Version: 1.0.4.13
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: purple
Tags: e-commerce, one-column, two-columns, three-columns, four-columns, wide-blocks, block-patterns, block-styles, featured-images, full-site-editing, style-variations, template-editing, rtl-language-support, threaded-comments, translation-ready
*/

/* ==========================================================================
   Forms
   ========================================================================== */

/* WooCommerce's classic form fields (.form-row .input-text, selects,
 * select2) and extensions rendering the same markup (e.g. Gift Cards)
 * read these tokens; WooCommerce defines them 4px/gray on :root. The
 * cart/checkout block components hardcode their values instead and are
 * squared selector by selector in the sections below. On body rather
 * than :root so this wins the tie against WooCommerce's own :root
 * definition regardless of stylesheet order. */
body {
	--wc-form-border-color: var(--wp--preset--color--theme-6);
	--wc-form-border-radius: 0;
}

/* ==========================================================================
   WooCommerce — Mini cart
   ========================================================================== */

/* WooCommerce's outlined component buttons (e.g. the mini cart "View cart")
 * use currentColor and a hardcoded #1e1e1e hover; align them with the
 * theme's outline button style. The doubled class outranks WooCommerce's
 * own rules regardless of stylesheet order. */
.wc-block-components-button.wc-block-components-button:not(.is-link).outlined,
.wc-block-components-button.wc-block-components-button:not(.is-link).is-style-outline {
	color: var(--wp--custom--outline-button-color);
}

.wc-block-components-button.wc-block-components-button:not(.is-link).outlined:hover,
.wc-block-components-button.wc-block-components-button:not(.is-link).outlined:focus,
.wc-block-components-button.wc-block-components-button:not(.is-link).outlined:active,
.wc-block-components-button.wc-block-components-button:not(.is-link).is-style-outline:hover,
.wc-block-components-button.wc-block-components-button:not(.is-link).is-style-outline:focus,
.wc-block-components-button.wc-block-components-button:not(.is-link).is-style-outline:active {
	background-color: color-mix(in srgb, currentColor 5%, transparent);
	color: var(--wp--custom--outline-button-color);
}

/* ==========================================================================
   WooCommerce — Cart & Checkout
   ========================================================================== */

/* Styles for WooCommerce blocks that can't be styled via the editor yet. */
/* https://github.com/woocommerce/woocommerce/issues/59322 */

.wc-block-components-checkout-step__heading,
.wc-block-components-checkout-order-summary__title,
.wc-block-components-totals-coupon,
.wc-block-components-totals-item {
	color: var(--wp--preset--color--theme-2);
}

.wp-block-woocommerce-checkout .wc-block-components-title {
	font-size: var(--wp--preset--font-size--large);
}

.wc-block-components-form .wc-block-components-checkout-step {
	margin-bottom: var(--wp--preset--spacing--50);
}

.wp-block-woocommerce-checkout-order-summary-block {
	border-radius: 0;
}

/* Cart scope covers the shipping calculator fields, which reuse the same
 * components as the checkout form. */
.wp-block-woocommerce-cart .wc-block-components-text-input:not(.has-error) input,
.wp-block-woocommerce-cart .wc-block-components-textarea:not(.has-error),
.wp-block-woocommerce-cart .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__select,
.wp-block-woocommerce-cart .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__container,
.wp-block-woocommerce-cart .wc-block-components-checkbox__input[type="checkbox"],
.wp-block-woocommerce-checkout .wc-block-components-text-input:not(.has-error) input,
.wp-block-woocommerce-checkout .wc-block-components-textarea:not(.has-error),
.wp-block-woocommerce-checkout .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__select,
.wp-block-woocommerce-checkout .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__container,
.wp-block-woocommerce-checkout .wc-block-components-checkbox__input[type="checkbox"] {
	border-color: var(--wp--preset--color--theme-6);
	border-radius: 0;
}

.wp-block-woocommerce-cart .wc-block-components-text-input:not(.has-error) input:focus,
.wp-block-woocommerce-cart .wc-block-components-textarea:not(.has-error):focus,
.wp-block-woocommerce-cart .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__select:focus,
.wp-block-woocommerce-checkout .wc-block-components-text-input:not(.has-error) input:focus,
.wp-block-woocommerce-checkout .wc-block-components-textarea:not(.has-error):focus,
.wp-block-woocommerce-checkout .wc-blocks-components-select:not(.has-error) .wc-blocks-components-select__select:focus {
	border-color: var(--wp--preset--color--theme-6);
	box-shadow: 0 0 0 0.5px var(--wp--preset--color--theme-6);
}

/* Coupon and gift card fields sit in the order summary, where WooCommerce's
 * component styles tie the generic override above on specificity and load
 * later, keeping their rounded corners. The doubled component class wins
 * the tie; the cart block and extension fields that reuse the text-input
 * component (e.g. Gift Cards) get the same treatment. */
.wp-block-woocommerce-cart .wc-block-components-text-input.wc-block-components-text-input input,
.wp-block-woocommerce-checkout .wc-block-components-text-input.wc-block-components-text-input input {
	border-radius: 0;
}

/* The Gift Cards extension's cart/checkout panel ships its own text input
 * component with a hardcoded 4px radius; its classic product-page fields
 * read --wc-form-border-radius and need no override. */
.wc-gift-cards-text-input input {
	border-color: var(--wp--preset--color--theme-6);
	border-radius: 0;
}

/* WooCommerce Payments hardcodes a 5px radius and gray border on the
 * WooPay save-details phone input; match the other checkout fields. */
.woopay-save-new-user-container .save-details-form.form-row .phone-input.phone-input {
	border-color: var(--wp--preset--color--theme-6);
	border-radius: 0;
}

/* Square the remaining cart/checkout components WooCommerce rounds with
 * hardcoded 4px values (no variable, no editor UI). Doubled classes beat
 * WooCommerce's specificity ties regardless of stylesheet order. Radio
 * inputs keep their 50% radius; circular radios are intentional. The
 * express payment box outline is drawn in three pieces: two title-row
 * pseudo-elements hold its top corners and the content box its bottom
 * ones; the branded express buttons keep their own rounding. */
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::before,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::after,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content.wc-block-components-express-payment__content,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option:first-child::after,
.wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option:last-child::after,
.wc-block-components-radio-control--highlight-checked.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted.wc-block-components-radio-control__option--checked-option-highlighted,
.wc-block-components-address-card.wc-block-components-address-card,
.wc-block-components-local-pickup-select--multiple.wc-block-components-local-pickup-select--multiple,
.wc-block-components-address-autocomplete-suggestions.wc-block-components-address-autocomplete-suggestions {
	border-radius: 0;
}

/* WooCommerce rings the selected shipping/payment option with an inset
 * box-shadow. Theme-6 carries 20% alpha in every palette, so any ring
 * painted with it composites over the group's own border (same color)
 * and darkens the shared pixels. Drop the ring; the group border is the
 * outline and the filled radio dot carries the selected state. */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control-accordion-option--checked-option-highlighted.wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.wc-block-components-radio-control--highlight-checked label.wc-block-components-radio-control__option--checked-option-highlighted.wc-block-components-radio-control__option--checked-option-highlighted {
	box-shadow: none;
}

/* WooCommerce strips the group border's top or bottom edge when the
 * first or last option is the selected one, expecting the ring to draw
 * that edge; with the ring gone, restore the sides and their margin
 * nudges so the box stays fully outlined. */
.wc-block-components-radio-control--highlight-checked.wc-block-components-radio-control--highlight-checked.wc-block-components-radio-control--highlight-checked--first-selected::after {
	border-top: 1px solid var(--wp--preset--color--theme-6);
	margin-top: 0;
}

.wc-block-components-radio-control--highlight-checked.wc-block-components-radio-control--highlight-checked.wc-block-components-radio-control--highlight-checked--last-selected::after {
	border-bottom: 1px solid var(--wp--preset--color--theme-6);
	margin-bottom: 0;
}

/* The boxes around these components are WooCommerce ::after overlays and
 * component borders drawn at 20% ink (or a hardcoded gray), a shade
 * darker than the theme-6 field borders beside them; align them all. */
.wc-block-components-radio-control--highlight-checked.wc-block-components-radio-control--highlight-checked::after,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::before,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__title-container.wc-block-components-express-payment__title-container::after,
.wc-block-components-express-payment--checkout .wc-block-components-express-payment__content.wc-block-components-express-payment__content,
.wc-block-components-address-card.wc-block-components-address-card,
.wc-block-components-local-pickup-select--multiple.wc-block-components-local-pickup-select--multiple,
.wc-block-components-address-autocomplete-suggestions.wc-block-components-address-autocomplete-suggestions {
	border-color: var(--wp--preset--color--theme-6);
}

/* The separator lines between unselected options are 1px ::after
 * overlays painted with a 20% ink background, not a border. */
.wc-block-components-radio-control--highlight-checked .wc-block-components-radio-control__option.wc-block-components-radio-control__option::after,
.wc-block-components-radio-control--highlight-checked div.wc-block-components-radio-control-accordion-option.wc-block-components-radio-control-accordion-option::after {
	background: var(--wp--preset--color--theme-6);
}

/* ==========================================================================
   WooCommerce — My Account
   ========================================================================== */

/* My Account — classic shortcode UI; https://github.com/woocommerce/woocommerce/issues/59391 */
.woocommerce-account .entry-content > .woocommerce {
	padding-top: var(--wp--preset--spacing--70);
	padding-bottom: var(--wp--preset--spacing--90);
}

.woocommerce-account form .form-row:not(.woocommerce-invalid) .input-text,
.woocommerce-account form .form-row:not(.woocommerce-invalid) select,
.woocommerce-account form .form-row:not(.woocommerce-invalid) textarea,
.woocommerce-account .woocommerce-Input:not([type="hidden"]),
.woocommerce-account .select2-container .select2-selection {
	border-color: var(--wp--preset--color--theme-6);
	border-radius: 0;
}

.woocommerce-account form .form-row:not(.woocommerce-invalid) .input-text:focus,
.woocommerce-account form .form-row:not(.woocommerce-invalid) select:focus,
.woocommerce-account form .form-row:not(.woocommerce-invalid) textarea:focus,
.woocommerce-account .woocommerce-Input:not([type="hidden"]):focus,
.woocommerce-account .select2-container--open .select2-selection,
.woocommerce-account .select2-container--focus .select2-selection {
	border-color: var(--wp--preset--color--theme-6);
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
	border: none;
	padding: 0;
}

.woocommerce form .form-row {
	padding: 0;
	margin-bottom: var(--wp--preset--spacing--20);
}

.woocommerce form .form-row label:not(:has(input[type="checkbox"])) {
	margin-bottom: 0.25em;
}

.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 0;
}

.woocommerce-form-login .form-row .woocommerce-form-login__rememberme {
	margin: 0;
}

.woocommerce-form-login .woocommerce-form-login__submit {
	float: none;
	margin: 0;
	order: -1;
}

.woocommerce-LostPassword.lost_password {
	margin-bottom: 0;
	margin-top: var(--wp--preset--spacing--50);
}

/* WOOPRD-1561: My Account address styles. */
.woocommerce-account .addresses .title .edit {
	float: none;
}

.woocommerce-account .addresses address {
	font-style: normal;
}


/* Closed accordion panels are server-rendered without [hidden] (the
 * Interactivity API only applies it after hydration), so they flash open
 * on load. Collapse them from first paint via the server-rendered
 * aria-expanded state. Scoped to scripting: enabled so no-JS visitors
 * keep the all-panels-open fallback. */
@media (scripting: enabled) {
	.wp-block-accordion-heading:has([aria-expanded="false"]) + .wp-block-accordion-panel {
		height: 0;
		overflow: visible clip;
	}
}

/* ==========================================================================
   WooCommerce — Cart
   ========================================================================== */

.wc-block-cart-item__quantity {
	margin-top: var(--wp--preset--spacing--20);
}



/* SVK_STAGING_EDITOR_FRONTEND_PARITY_2026_11_03 */
.wp-block-table td, .wp-block-table th { border-color: var(--wp--preset--color--theme-6); } .wp-block-table th { font-weight: 600; }

/* Svetskurser.se rebrand – gemensamma interaktiva stilar */
.wp-element-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button {
  border-radius: 8px !important;
}
.wp-element-button[style*="background-color:#0245A9" i],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.wc-block-components-button:not(.is-link) {
  background-color: #0563e8;
  color: #ffffff !important;
  transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.wp-element-button[style*="background-color:#0245A9" i]:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.wc-block-components-button:not(.is-link):hover {
  background-color: #0245a9;
  transform: translateY(-1px);
}
.wp-element-button:focus-visible,
.woocommerce a.button:focus-visible,
.woocommerce button.button:focus-visible,
.woocommerce input.button:focus-visible,
.wc-block-components-button:focus-visible {
  outline: 3px solid #071426;
  outline-offset: 3px;
}

/* Starkare specificitet mot temats knappregler */
body .wp-site-blocks .wp-block-button .wp-block-button__link.wp-element-button,
body header .wp-block-button .wp-block-button__link.wp-element-button,
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button {
  border-radius: 8px !important;
}
body .wp-site-blocks .wp-block-button .wp-block-button__link.wp-element-button[style*="background-color:#0245A9" i],
body header .wp-block-button .wp-block-button__link.wp-element-button[style*="background-color:#0245A9" i] {
  background-color: #0563e8;
}

/* Dölj mallens dubbla sidtitel där sidan redan har en egen hero-H1 */
body.page-id-17587 .wp-block-post-title,
body.page-id-17740 .wp-block-post-title,
body.page-id-10703 .wp-block-post-title,
body.page-id-115 .wp-block-post-title {
  display: none !important;
}

/* WPForms honeypotfält ska aldrig bli synliga i temat */
#wpforms-form-17765 .wpforms-field:has(> input[aria-hidden="true"][tabindex="-1"]) {
  position: absolute !important;
  overflow: hidden !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  border: 0 !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* Kursarkiv: renare kursval utan generiska butikskontroller */
body.term-svetskurser .wp-block-column[style*="flex-basis:22%"] {
  display: none !important;
}
body.term-svetskurser .wp-block-column[style*="flex-basis:88%"] {
  flex-basis: 100% !important;
  width: 100% !important;
}
body.term-svetskurser .wp-block-woocommerce-product-collection > .wp-block-group.alignwide:first-child {
  display: none !important;
}
body.term-svetskurser li.wc-block-product {
  border: 1px solid #e1e5ea;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
body.term-svetskurser li.wc-block-product:hover {
  transform: translateY(-2px);
  border-color: #b9c7d8;
  box-shadow: 0 8px 24px rgba(7,20,38,.08);
}
body.term-svetskurser .wc-block-components-product-image img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* Kursarkiv: överstyr WooCommerce-specifika standardregler */
body.term-svetskurser ul.wp-block-woocommerce-product-template > li.wc-block-product {
  border: 1px solid #e1e5ea !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  background: #ffffff;
}
body.term-svetskurser .wp-block-woocommerce-product-collection > .wp-block-group:has(.wp-block-woocommerce-catalog-sorting),
body.term-svetskurser .wp-block-woocommerce-catalog-sorting,
body.term-svetskurser .wp-block-woocommerce-product-results-count {
  display: none !important;
}
body.term-svetskurser .wc-block-components-product-image--aspect-ratio-4-3 {
  aspect-ratio: 4 / 3 !important;
  overflow: hidden !important;
}
body.term-svetskurser .wc-block-components-product-image--aspect-ratio-4-3 img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* Produktbokning: tydlig panel på desktop och klar deltagaretikett */
@media (min-width: 782px) {
  body.single-product .product-booking-panel {
    position: sticky;
    top: 112px;
    align-self: flex-start;
  }
}
label[for="wc_bookings_field_persons"] {
  font-size: 0 !important;
}
label[for="wc_bookings_field_persons"]::after {
  content: "Antal deltagare:";
  font-size: 1rem;
}
body.term-svetskurser .wc-block-components-product-image--aspect-ratio-4-3 > a {
  display: block !important;
  height: 100% !important;
}

/* Kontrastkorrigering 2026-10-30 */
body.page-id-17740 .svk-event-cta .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #ffffff;
  color: #012866 !important;
}
body.page-id-17740 .svk-event-cta a:not(.wp-block-button__link) {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.page-id-10703 .wp-block-group[style*="background-color:#ffffff"] > h3,
body.page-id-10703 .wp-block-group[style*="background-color:#ffffff"] > p {
  color: #071426;
}
body.page-id-10703 a.wp-block-button__link[href*="lundgrenab.se"] {
  background: transparent;
  border-color: #69a8ff !important;
  color: #ffffff !important;
}
body.single-product .wc-bookings-date-picker .ui-datepicker th span {
  color: #374151 !important;
}
#wpforms-form-17765 .wpforms-required-label {
  color: #b42318 !important;
}


/* SVK_EDITOR_PARITY_2026_11_03 */

:root {
  --svk-blue: #02338D;
  --svk-blue-2: #0245A9;
  --svk-blue-dark: #02338D;
  --svk-blue-deep: #012866;
  --svk-navy: #01183E;
  --svk-ink: #10243a;
  --svk-text: #3f5062;
  --svk-muted: #667587;
  --svk-line: #d7e0e8;
  --svk-ice: #EEF4FC;
  --svk-paper: #F6F7F9;
  --svk-white: #ffffff;
  --svk-content: 1180px;
  --svk-radius: 8px;
  --svk-shadow: 0 18px 44px rgba(6, 38, 72, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--svk-white);
  color: var(--svk-text);
  font-family: var(--wp--preset--font-family--inter, Inter, Arial, "Helvetica Neue", system-ui, sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body h1, body h2, body h3, body h4 {
  color: var(--svk-ink);
  font-family: inherit;
  font-weight: 750;
  letter-spacing: -.025em;
  line-height: 1.08;
  text-wrap: balance;
}
body h1 { font-size: clamp(2.55rem, 4.2vw, 4rem); }
body h2 { font-size: clamp(1.9rem, 3vw, 2.75rem); }
body h3 { font-size: clamp(1.12rem, 1.55vw, 1.35rem); letter-spacing: -.012em; }
body p, body li { color: var(--svk-text); }
body a { color: var(--svk-blue); text-underline-offset: 3px; }
.wp-site-blocks > main { overflow: clip; }

/* Brand header: inspired by the clear two-level navigation on Göthes. */
.svk-utility {
  padding: 7px 24px !important;
  background: var(--svk-navy);
  color: #fff !important;
}
.svk-utility > .wp-block-group { min-height: 25px; }
.svk-utility p, .svk-utility a {
  margin: 0 !important;
  color: rgba(255,255,255,.9) !important;
  font-size: .78rem !important;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none !important;
}
.svk-utility a:hover { color: #fff !important; text-decoration: underline !important; }
.svk-utility .svk-utility-separator { margin: 0 12px; color: rgba(255,255,255,.42); }
.site-header-shell {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 9px 24px !important;
  background: #fff;
  border-bottom: 1px solid rgba(2,69,169,.14) !important;
  box-shadow: 0 4px 18px rgba(1,40,102,.10);
}
.admin-bar .site-header-shell { top: 32px; }
.site-header-shell > .wp-block-group { min-height: 62px; gap: 24px !important; }
.site-header-shell .wp-block-site-logo img {
  width: 188px !important;
  max-width: 188px !important;
  height: auto;
  filter: none;
}
.site-header-shell .svk-brand-logo { margin: 0 !important; flex-shrink: 0; line-height: 0; }
.site-header-shell .svk-brand-logo img { width: 188px !important; max-width: 188px !important; height: auto; filter: none !important; }
.site-header-shell .wp-block-navigation { margin-left: auto; }
.site-header-shell .wp-block-navigation__container { gap: 23px !important; }
.site-header-shell .wp-block-navigation-item__content {
  position: relative;
  padding: 12px 0 !important;
  color: var(--svk-blue-dark) !important;
  font-size: .91rem !important;
  font-weight: 700 !important;
  letter-spacing: .005em;
  text-decoration: none !important;
}
.site-header-shell .wp-block-navigation-item__content::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 3px;
  background: var(--svk-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .18s ease;
}
.site-header-shell .wp-block-navigation-item__content:hover::after,
.site-header-shell .current-menu-item > .wp-block-navigation-item__content::after,
.site-header-shell .current-menu-ancestor > .wp-block-navigation-item__content::after { transform: scaleX(1); }
.site-header-shell .wp-block-navigation__submenu-container {
  min-width: 270px !important;
  padding: 10px !important;
  background: #fff;
  border: 0 !important;
  border-radius: 0 0 4px 4px !important;
  box-shadow: var(--svk-shadow) !important;
}
.site-header-shell .wp-block-navigation__submenu-container .wp-block-navigation-item__content {
  display: block;
  padding: 10px 12px !important;
  color: var(--svk-ink) !important;
  border-left: 3px solid transparent;
}
.site-header-shell .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
.site-header-shell .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover {
  background: var(--svk-ice);
  border-left-color: var(--svk-blue);
  color: var(--svk-blue-dark) !important;
}
@media (min-width: 783px) {
  .site-header-shell .wp-block-navigation__submenu-container .wp-block-navigation__submenu-container {
    top: -10px !important;
    left: calc(100% + 2px) !important;
    border-radius: 4px !important;
  }
  .site-header-shell .wp-block-navigation__submenu-container > .wp-block-navigation-submenu > .wp-block-navigation-item__content {
    font-weight: 750 !important;
  }
}
.site-header-shell .wp-block-buttons .wp-block-button__link {
  background: var(--svk-blue);
  color: #fff !important;
  border-color: var(--svk-blue) !important;
}
.site-header-shell .wp-block-buttons .wp-block-button__link:hover {
  background: var(--svk-blue-dark);
  border-color: var(--svk-blue-dark) !important;
  color: #fff !important;
}
.site-header-shell .wc-block-mini-cart__button,
.site-header-shell .wc-block-mini-cart__button svg { color: var(--svk-blue-dark) !important; fill: currentColor !important; }
.site-header-shell .wp-block-navigation,
.site-header-shell .wp-block-navigation__responsive-container-open,
.site-header-shell .wp-block-navigation__responsive-container-close { color: var(--svk-blue) !important; }

/* Buttons and controls */
.wp-element-button,
.wp-block-button__link,
.wc-block-components-button:not(.wc-block-mini-cart__button),
button.single_add_to_cart_button,
.wc-bookings-booking-form-button {
  min-height: 46px;
  padding: 13px 23px !important;
  border: 1px solid var(--svk-blue) !important;
  border-radius: 3px !important;
  background: var(--svk-blue);
  color: #fff !important;
  box-shadow: none !important;
  font-family: inherit;
  font-size: .93rem !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  transition: background-color .16s ease, border-color .16s ease, transform .16s ease !important;
}
.wp-element-button:hover,
.wp-block-button__link:hover,
.wc-block-components-button:not(.wc-block-mini-cart__button):hover,
button.single_add_to_cart_button:hover,
.wc-bookings-booking-form-button:hover {
  background: var(--svk-blue-dark);
  border-color: var(--svk-blue-dark) !important;
  color: #fff !important;
  transform: translateY(-1px);
}
.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border-color: var(--svk-blue) !important;
  color: var(--svk-blue-dark) !important;
}
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid rgba(2,69,169,.30) !important;
  outline-offset: 3px;
}

/* Shared page heroes: image first, branded information panel second. */
.home .entry-content > .wp-block-cover:first-child,
.page-id-10703 .entry-content > :nth-child(2),
.page-id-17587 .entry-content > .wp-block-cover:first-child,
.page-id-115 .entry-content > :nth-child(2),
.page-id-17654 .entry-content > :nth-child(2) {
  min-height: 535px !important;
  padding: 58px 24px !important;
  border: 0 !important;
}
.home .entry-content > .wp-block-cover:first-child .wp-block-cover__background,
.page-id-10703 .entry-content > :nth-child(2) .wp-block-cover__background,
.page-id-17587 .entry-content > .wp-block-cover:first-child .wp-block-cover__background,
.page-id-115 .entry-content > :nth-child(2) .wp-block-cover__background,
.page-id-17654 .entry-content > :nth-child(2) .wp-block-cover__background {
  background: rgba(4,24,45,.22);
  
}
.home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
.page-id-10703 .entry-content > :nth-child(2) .wp-block-cover__inner-container,
.page-id-17587 .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container,
.page-id-115 .entry-content > :nth-child(2) .wp-block-cover__inner-container,
.page-id-17654 .entry-content > :nth-child(2) .wp-block-cover__inner-container {
  width: 100%;
  max-width: var(--svk-content) !important;
  margin: 0 auto !important;
}
.home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group,
.page-id-10703 .entry-content > :nth-child(2) .wp-block-cover__inner-container > .wp-block-group,
.page-id-17587 .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group,
.page-id-115 .entry-content > :nth-child(2) .wp-block-cover__inner-container > .wp-block-group,
.page-id-17654 .entry-content > :nth-child(2) .wp-block-cover__inner-container > .wp-block-group {
  width: min(650px, 100%);
  max-width: none !important;
  margin: 0 auto 0 0 !important;
  padding: clamp(32px, 4vw, 52px) !important;
  background: rgba(2,51,141,.94);
  border-radius: 0 42px 0 0;
  box-shadow: 0 20px 55px rgba(6,26,47,.2);
  text-align: left !important;
}
.wp-block-cover .wp-block-cover__inner-container h1:not(.has-text-color),
.wp-block-cover .wp-block-cover__inner-container h2:not(.has-text-color),
.wp-block-cover .wp-block-cover__inner-container h3:not(.has-text-color) { color: #fff !important; }
.wp-block-cover .wp-block-cover__inner-container p:not(.has-text-color),
.wp-block-cover .wp-block-cover__inner-container li:not(.has-text-color) { color: rgba(255,255,255,.92) !important; }
.wp-block-cover .wp-block-cover__inner-container > p:first-child,
.wp-block-cover .wp-block-cover__inner-container > .wp-block-group > p:first-child {
  color: var(--svk-white) !important;
  font-weight: 750 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase;
}
.home .entry-content > .wp-block-cover:first-child h1 { font-size: clamp(2.65rem,4.8vw,4.35rem) !important; }

/* Home: bold blue rhythm, quieter content blocks. */
.home main > :nth-child(2) {
  padding: 25px 24px !important;
  background: var(--svk-blue-deep);
  border: 0 !important;
}
.home main > :nth-child(2) .wp-block-columns { gap: 0 !important; }
.home main > :nth-child(2) .wp-block-column {
  padding: 2px 34px;
  border-right: 1px solid rgba(255,255,255,.23);
}
.home main > :nth-child(2) .wp-block-column:first-child { padding-left: 0; }
.home main > :nth-child(2) .wp-block-column:last-child { padding-right: 0; border-right: 0; }
.home main > :nth-child(2) h3 { margin: 0 0 6px; color: #fff !important; font-size: 1rem !important; }
.home main > :nth-child(2) p { margin: 0; color: rgba(255,255,255,.76) !important; font-size: .91rem; }
.home #kurser { padding-top: 82px !important; padding-bottom: 88px !important; background: var(--svk-paper); }
.home #kurser > p:first-child,
.home #svetsevent p:first-child,
.home #foretag p:first-child,
.home #presentkort p:first-child {
  margin-bottom: 12px !important;
  color: var(--svk-blue-dark) !important;
  font-size: .78rem !important;
  font-weight: 800 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}
.home #kurser .wc-block-product-template,
.tax-product_cat .wc-block-product-template { gap: 24px !important; align-items: stretch !important; }
.wc-block-product { display: flex !important; min-width: 0; flex-direction: column !important; }
.home #kurser .wc-block-product,
.tax-product_cat .wc-block-product {
  overflow: hidden !important;
  background: #fff;
  border: 0 !important;
  border-top: 4px solid var(--svk-blue) !important;
  border-radius: 0 !important;
  box-shadow: 0 5px 20px rgba(6,38,72,.07) !important;
  transition: transform .18s ease, box-shadow .18s ease !important;
}
.home #kurser .wc-block-product:hover,
.tax-product_cat .wc-block-product:hover { transform: translateY(-5px); box-shadow: var(--svk-shadow) !important; }
.home #kurser .wc-block-product > .wp-block-group,
.tax-product_cat .wc-block-product > .wp-block-group {
  display: flex !important;
  height: 100% !important;
  padding: 0 22px 23px !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  background: #fff;
  border: 0 !important;
  border-radius: 0 !important;
}
.home #kurser .wc-block-components-product-image,
.home #kurser .wc-block-product-image,
.tax-product_cat .wc-block-components-product-image,
.tax-product_cat .wc-block-product-image {
  width: calc(100% + 44px) !important;
  margin: 0 -22px !important;
  overflow: hidden;
  border-radius: 0 !important;
  background: var(--svk-ice);
}
.home #kurser .wc-block-components-product-image img,
.home #kurser .wc-block-product-image img,
.tax-product_cat .wc-block-components-product-image img,
.tax-product_cat .wc-block-product-image img {
  display: block;
  width: 100% !important;
  aspect-ratio: 16/10 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
  transition: transform .28s ease;
}
.home #kurser .wc-block-product:hover img,
.tax-product_cat .wc-block-product:hover img { transform: scale(1.025); }
.home #kurser .wp-block-post-title,
.tax-product_cat .wp-block-post-title { margin: 20px 0 10px !important; font-size: 1.12rem !important; line-height: 1.3 !important; }
.home #kurser .wc-block-components-product-price,
.tax-product_cat .wc-block-components-product-price { margin: 0 0 16px !important; color: var(--svk-blue-dark) !important; font-weight: 750 !important; }
.home #kurser .wc-block-components-product-button,
.tax-product_cat .wc-block-components-product-button { width: 100% !important; margin-top: auto !important; padding-top: 4px !important; text-align: left !important; }
.home #kurser .wc-block-components-product-button .wp-element-button,
.tax-product_cat .wc-block-components-product-button .wp-element-button { width: auto !important; min-height: 41px; padding: 10px 18px !important; }

.home #svetsevent,
.home #foretag,
.home #presentkort { padding-top: 82px !important; padding-bottom: 82px !important; }
.home #svetsevent { background: #fff; color: var(--svk-text) !important; }
.home #svetsevent .wp-block-columns,
.home #foretag .wp-block-columns,
.home #presentkort .wp-block-columns { gap: 0 !important; align-items: stretch !important; }
.home #svetsevent .wp-block-column,
.home #foretag .wp-block-column,
.home #presentkort .wp-block-column { display: flex; flex-direction: column; justify-content: center; }
.home #svetsevent .wp-block-column:last-child {
  padding: clamp(34px,5vw,70px) !important;
  background: var(--svk-blue-deep);
}
.home #svetsevent h2,
.home #svetsevent .wp-block-column:last-child p { color: #fff !important; }
.home #svetsevent img,
.home #foretag img,
.home #presentkort img { width: 100%; height: 100%; min-height: 390px; object-fit: cover; border-radius: 0 !important; }
.home #foretag { background: var(--svk-ice); }
.home #foretag .wp-block-column:first-child,
.home #presentkort .wp-block-column:last-child { padding: clamp(34px,5vw,70px) !important; }
.home #presentkort { background: #fff; }
.home #presentkort figure {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background:
    radial-gradient(circle at 42% 44%,rgba(255,255,255,.20) 0 13%,rgba(255,255,255,.06) 25%,transparent 42%),
    linear-gradient(118deg,transparent 0 31%,rgba(255,255,255,.15) 39%,rgba(255,255,255,.045) 49%,transparent 57%),
    linear-gradient(135deg,var(--svk-blue-deep) 0%,var(--svk-blue) 62%,var(--svk-blue-2) 100%);
  border-radius: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10) !important;
}
.home #presentkort figure::after {
  content: "PRESENTKORT PÅ SVETSKURS";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 17px 22px;
  background: rgba(2,51,141,.94);
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

/* Editorial news, without repeated button-card styling. */
.home .wp-block-post-template,
.page-id-17654 .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 28px !important;
  align-items: stretch !important;
}
.home .wp-block-post-template > li,
.page-id-17654 .wp-block-post-template > li {
  display: flex !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
  overflow: hidden !important;
  flex-direction: column !important;
  background: #fff;
  border: 0 !important;
  border-bottom: 3px solid var(--svk-blue) !important;
  border-radius: 0 !important;
  box-shadow: 0 4px 16px rgba(6,38,72,.06) !important;
}
.home .wp-block-post-template > li:hover,
.page-id-17654 .wp-block-post-template > li:hover { box-shadow: var(--svk-shadow) !important; }
.home .wp-block-post-template > li > .wp-block-group,
.page-id-17654 .wp-block-post-template > li > .wp-block-group {
  display: flex !important;
  height: 100% !important;
  padding: 19px 21px 22px !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  background: #fff;
}
.home .wp-block-post-featured-image,
.page-id-17654 .wp-block-post-featured-image { margin: 0 !important; overflow: hidden; background: var(--svk-navy); border-radius: 0 !important; }
.home .wp-block-post-featured-image img,
.page-id-17654 .wp-block-post-featured-image img { display: block; width: 100% !important; aspect-ratio: 16/9 !important; object-fit: cover !important; }
.home .wp-block-post-template .wp-block-read-more,
.page-id-17654 .wp-block-post-template .wp-block-read-more {
  margin-top: auto !important;
  color: var(--svk-blue-dark) !important;
  font-size: .91rem;
  font-weight: 800;
  text-decoration: none !important;
}
.home main > :last-child {
  padding: 58px 24px !important;
  background: var(--svk-blue);
  color: #fff !important;
}
.home main > :last-child h2,
.home main > :last-child p { color: #fff !important; }
.home main > :last-child .wp-block-button__link { background: #fff; border-color: #fff !important; color: var(--svk-blue-dark) !important; }

/* Course archive */
.tax-product_cat main.wp-block-group {
  padding-top: 58px !important;
  padding-right: 32px !important;
  padding-left: 32px !important;
  background: var(--svk-paper);
}
.tax-product_cat .wp-block-query-title { max-width: 780px; margin-bottom: 20px !important; }
.tax-product_cat .wp-block-term-description { max-width: 850px !important; }
.tax-product_cat select { min-height: 44px; padding: 8px 38px 8px 13px; background: #fff; border: 1px solid var(--svk-line); border-radius: 2px; }

/* Products and booking: function first. */
.single-product main.wp-block-group {
  padding-top: 58px !important;
  padding-right: 32px !important;
  padding-left: 32px !important;
}
.single-product main > .wp-block-columns { display: grid !important; grid-template-columns: minmax(0,1.05fr) minmax(420px,.95fr) !important; gap: clamp(46px,6vw,80px) !important; align-items: start !important; }
.single-product main > .wp-block-columns > .wp-block-column:first-child { position: sticky; top: 110px; align-self: start; }
.single-product main > .wp-block-columns > .wp-block-column:last-child { min-width: 0; padding-left: clamp(26px,4vw,48px) !important; border-left: 4px solid var(--svk-blue); }
.single-product .wp-block-post-title { margin: 0 0 15px !important; font-size: clamp(2.1rem,3.1vw,3.05rem) !important; }
.single-product .wc-block-components-product-price { color: var(--svk-blue-dark) !important; font-size: 1.2rem; font-weight: 800 !important; }
.single-product .wc-block-product-gallery-large-image { overflow: hidden; background: var(--svk-paper); border-radius: 0 !important; }
.single-product .wc-block-product-gallery-large-image img { border-radius: 0 !important; }
.single-product .wc-block-product-gallery-thumbnails__thumbnail { overflow: hidden; border: 1px solid var(--svk-line) !important; border-radius: 0 !important; }
.single-product .wc-bookings-booking-form {
  max-width: 560px;
  margin-top: 22px !important;
  padding: 24px !important;
  background: var(--svk-ice);
  border: 0 !important;
  border-top: 4px solid var(--svk-blue) !important;
  border-radius: 0 !important;
}
.single-product .wc-bookings-booking-form label { color: var(--svk-ink); font-weight: 750; }
.single-product input,
.single-product select,
.single-product textarea { min-height: 43px; background: #fff; border: 1px solid #c6d2dd !important; border-radius: 2px !important; }
.single-product .wc-bookings-date-picker .ui-datepicker-header { background: var(--svk-blue-deep); border: 0 !important; border-radius: 0 !important; }
.single-product .wc-bookings-date-picker .ui-datepicker td.bookable a { background: #167859; color: #fff !important; }
.single-product .wp-block-woocommerce-product-details { max-width: 900px; margin: 74px auto 0 !important; }
.single-product .wp-block-accordion { border-top: 1px solid var(--svk-line); }
.single-product .wp-block-accordion-item { padding: 0 !important; border-bottom: 1px solid var(--svk-line); }
.single-product .wp-block-accordion-heading__toggle { min-height: 58px; padding: 17px 0 !important; color: var(--svk-ink) !important; font-weight: 750 !important; }
.single-product .wp-block-accordion-item__content { max-width: 820px; padding: 0 0 28px !important; }
.single-product.postid-16185 .wc-block-product-gallery-large-image {
  position: relative;
  display: grid;
  min-height: 470px;
  place-items: center;
  background: linear-gradient(135deg,var(--svk-blue-deep),var(--svk-blue));
}
.single-product.postid-16185 .wc-block-product-gallery-large-image img { opacity: 0 !important; }
.single-product.postid-16185 .wc-block-product-gallery-large-image::before {
  content: "svetskurser.se";
  position: absolute;
  top: 48px;
  left: 46px;
  color: #fff;
  font-size: clamp(1.4rem,2.2vw,2.15rem);
  font-weight: 800;
}
.single-product.postid-16185 .wc-block-product-gallery-large-image::after {
  content: "PRESENTKORT  •  PRAKTISKA SVETSKURSER";
  position: absolute;
  right: 46px;
  bottom: 48px;
  left: 46px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.35);
  color: #fff;
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .09em;
}
.single-product.postid-16185 .product-booking-help,
.single-product.postid-16185 .wp-block-woocommerce-product-reviews { display: none !important; }

/* Content pages: more editorial, fewer floating cards. */
.page-id-10703 .entry-content > :nth-child(n+3):not(:last-child),
.page-id-115 .entry-content > :nth-child(n+3):not(:last-child),
.page-id-17654 .entry-content > :nth-child(n+3):not(:last-child) { padding-top: 74px !important; padding-bottom: 74px !important; }
.page-id-10703 main .wp-block-image img,
.page-id-17587 main .wp-block-image img,
.page-id-115 main .wp-block-image img { border-radius: 0 !important; }
.page-id-10703 .entry-content > :nth-child(4),
.page-id-115 .entry-content > :nth-child(3) { background: #fff; }
.page-id-10703 .entry-content > :nth-child(6) { background: var(--svk-blue-deep); }
.page-id-10703 .entry-content > :nth-child(6) h2,
.page-id-10703 .entry-content > :nth-child(6) h3 { color: #fff !important; }
.page-id-10703 .entry-content > :nth-child(6) p { color: rgba(255,255,255,.8) !important; }
.page-id-10703 .entry-content > :nth-child(3) .wp-block-columns,
.page-id-10703 .entry-content > :nth-child(5) .wp-block-columns,
.page-id-115 .entry-content > :nth-child(3) .wp-block-columns { gap: clamp(44px,6vw,84px) !important; }
.page-id-10703 .entry-content > :nth-child(4) .wp-block-column,
.page-id-10703 .entry-content > :nth-child(7) .wp-block-column {
  padding: 23px 28px !important;
  background: transparent;
  border: 0 !important;
  border-top: 4px solid var(--svk-blue) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.page-id-115 .entry-content > :nth-child(3) .wp-block-group.has-border-color {
  padding: 24px 0 0 !important;
  background: transparent;
  border: 0 !important;
  border-top: 4px solid var(--svk-blue) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.page-id-115 .entry-content > :nth-child(4) { background: var(--svk-ice); border: 0 !important; }
.page-id-17654 .wp-block-query-pagination { margin-top: 46px !important; gap: 6px !important; }
.page-id-17654 .page-numbers,
.page-id-17654 .wp-block-query-pagination-next,
.page-id-17654 .wp-block-query-pagination-previous {
  display: inline-grid;
  min-width: 42px;
  min-height: 42px;
  padding: 0 13px;
  place-items: center;
  border: 1px solid var(--svk-line);
  border-radius: 2px;
  color: var(--svk-ink);
  font-weight: 750;
  text-decoration: none;
}
.page-id-17654 .page-numbers.current,
.page-id-17654 .page-numbers:hover,
.page-id-17654 .wp-block-query-pagination-next:hover,
.page-id-17654 .wp-block-query-pagination-previous:hover { background: var(--svk-blue); border-color: var(--svk-blue); color: #fff; }

/* Footer */
footer { margin-top: 0 !important; }
footer > .wp-block-group { padding-top: 58px !important; padding-bottom: 34px !important; background: #F3F6FB; border-top: 6px solid var(--svk-blue); }
footer p, footer li, footer a { font-size: .93rem !important; line-height: 1.62; }
footer p, footer li { color: var(--svk-text) !important; }
footer h4 { color: var(--svk-blue-deep) !important; }
footer a { color: var(--svk-blue-dark) !important; text-decoration: none; }
footer a:hover { color: var(--svk-blue) !important; }
footer .svk-footer-brand-logo { margin: 0 !important; line-height: 0; }
footer .svk-footer-brand-logo img { max-width: 210px !important; height: auto; filter: none !important; }

@media (max-width: 1050px) {
  .site-header-shell .wp-block-navigation__container { gap: 15px !important; }
  .site-header-shell .wp-block-site-logo img { width: 158px !important; max-width: 158px !important; }
  .single-product main > .wp-block-columns { gap: 38px !important; grid-template-columns: minmax(0,1fr) minmax(390px,.95fr) !important; }
}

@media (max-width: 900px) {
  .svk-utility { display: none; }
  .site-header-shell { padding: 8px 16px !important; }
  .admin-bar .site-header-shell { top: 46px; }
  .site-header-shell .wp-block-site-logo img { width: 148px !important; max-width: 148px !important; }
  .site-header-shell > .wp-block-group > .wp-block-buttons { display: none !important; }
  .wp-block-navigation__responsive-container.is-menu-open { padding: 26px 22px !important; background: var(--svk-blue-deep); color: #fff !important; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { padding: 10px 0 !important; color: #fff !important; font-size: 1.08rem !important; }
  .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content::after { display: none; }
  .home .wp-block-post-template,
  .page-id-17654 .wp-block-post-template { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .single-product main > .wp-block-columns { display: flex !important; flex-direction: column !important; }
  .single-product main > .wp-block-columns > .wp-block-column:first-child { position: static; }
  .single-product main > .wp-block-columns > .wp-block-column:last-child { width: 100%; padding-left: 0 !important; border-left: 0; border-top: 4px solid var(--svk-blue); padding-top: 30px !important; }
}

@media (max-width: 600px) {
  body { font-size: 15.5px; }
  body h1 { font-size: clamp(2.2rem,10.8vw,3rem); }
  body h2 { font-size: clamp(1.75rem,8vw,2.3rem); }
  .home .entry-content > .wp-block-cover:first-child,
  .page-id-10703 .entry-content > :nth-child(2),
  .page-id-17587 .entry-content > .wp-block-cover:first-child,
  .page-id-115 .entry-content > :nth-child(2),
  .page-id-17654 .entry-content > :nth-child(2) { min-height: 470px !important; padding: 28px 16px !important; }
  .home .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group,
  .page-id-10703 .entry-content > :nth-child(2) .wp-block-cover__inner-container > .wp-block-group,
  .page-id-17587 .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group,
  .page-id-115 .entry-content > :nth-child(2) .wp-block-cover__inner-container > .wp-block-group,
  .page-id-17654 .entry-content > :nth-child(2) .wp-block-cover__inner-container > .wp-block-group { padding: 28px 24px !important; border-radius: 0 28px 0 0; }
  .home main > :nth-child(2) { padding: 4px 18px !important; }
  .home main > :nth-child(2) .wp-block-columns { display: block !important; }
  .home main > :nth-child(2) .wp-block-column { padding: 16px 0 !important; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .home main > :nth-child(2) .wp-block-column:last-child { border-bottom: 0; }
  .home #kurser,
  .home #svetsevent,
  .home #foretag,
  .home #presentkort { padding-top: 54px !important; padding-bottom: 54px !important; }
  .home #svetsevent .wp-block-columns,
  .home #foretag .wp-block-columns,
  .home #presentkort .wp-block-columns { display: flex !important; flex-direction: column !important; }
  .home #svetsevent .wp-block-column:last-child,
  .home #foretag .wp-block-column:first-child,
  .home #presentkort .wp-block-column:last-child { padding: 32px 24px !important; }
  .home #svetsevent img,
  .home #foretag img,
  .home #presentkort img { min-height: 280px; }
  .home .wp-block-post-template,
  .page-id-17654 .wp-block-post-template { grid-template-columns: 1fr !important; }
  .tax-product_cat main.wp-block-group,
  .single-product main.wp-block-group {
    padding-top: 34px !important;
    padding-right: 16px !important;
    padding-left: 16px !important;
  }
  .page-id-10703 .entry-content > :nth-child(n+3):not(:last-child),
  .page-id-115 .entry-content > :nth-child(n+3):not(:last-child),
  .page-id-17654 .entry-content > :nth-child(n+3):not(:last-child) { padding-top: 52px !important; padding-bottom: 52px !important; }
  .single-product.postid-16185 .wc-block-product-gallery-large-image { min-height: 340px; }
  footer > .wp-block-group { padding-top: 46px !important; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}


/* v3: calmer colour hierarchy and tighter editorial rhythm. */
.home #kurser { padding-top: 72px !important; padding-bottom: 76px !important; }
.home #svetsevent,
.home #foretag,
.home #presentkort { padding-top: 72px !important; padding-bottom: 72px !important; }

.home #kurser .wp-block-post-title a,
.tax-product_cat .wp-block-post-title a,
.home .wp-block-post-template .wp-block-post-title a,
.page-id-17654 .wp-block-post-template .wp-block-post-title a {
  color: var(--svk-ink) !important;
}
.home #kurser .wc-block-components-product-price,
.tax-product_cat .wc-block-components-product-price,
.single-product .wc-block-components-product-price {
  color: #31475f !important;
}
.home .wp-block-post-template .wp-block-post-date,
.page-id-17654 .wp-block-post-template .wp-block-post-date {
  color: var(--svk-muted) !important;
}

.home #presentkort img {
  display: block;
  width: 100% !important;
  max-width: none !important;
}
.home #presentkort figure::after {
  background: rgba(16,36,58,.94);
}

.page-id-10703 .entry-content > :nth-child(n+3):not(:last-child),
.page-id-115 .entry-content > :nth-child(n+3):not(:last-child),
.page-id-17654 .entry-content > :nth-child(n+3):not(:last-child) {
  padding-top: 60px !important;
  padding-bottom: 60px !important;
}
.page-id-10703 .entry-content > :nth-child(6) .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border-color: rgba(255,255,255,.72) !important;
  color: #fff !important;
}
.page-id-10703 .entry-content > :nth-child(6) .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #fff;
  border-color: #fff !important;
  color: var(--svk-blue-deep) !important;
}

/* Normalize older inline accent colours, but never turn button text blue. */
.wp-site-blocks [style*="color:#02338D"]:not(.wp-block-button__link) { color: var(--svk-blue) !important; }
.wp-site-blocks .wp-block-button:not(.is-style-outline) .wp-block-button__link { color: #fff !important; }
.wp-site-blocks [style*="background-color:#02338D"] { background-color: var(--svk-blue); }

/* v4: final visual polish — balanced colour, compact rhythm and reliable contrast. */

/* Always-visible actions. */
.home main > :last-child .wp-block-button:not(.is-style-outline) .wp-block-button__link {
  background: #fff;
  border-color: #fff !important;
  color: var(--svk-blue-deep) !important;
}
.home main > :last-child .wp-block-button:not(.is-style-outline) .wp-block-button__link:hover {
  background: var(--svk-ice);
  border-color: var(--svk-ice) !important;
  color: var(--svk-blue-deep) !important;
}
.page-id-17654 .wp-block-post-template .wp-block-read-more {
  display: inline-flex !important;
  width: auto !important;
  min-height: 42px !important;
  margin-top: auto !important;
  padding: 10px 18px !important;
  align-self: flex-start !important;
  align-items: center;
  background: var(--svk-blue);
  border: 1px solid var(--svk-blue) !important;
  border-radius: 3px !important;
  color: #fff !important;
  font-size: .9rem !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}
.page-id-17654 .wp-block-post-template .wp-block-read-more:hover {
  background: var(--svk-blue-dark);
  border-color: var(--svk-blue-dark) !important;
  color: #fff !important;
}
.page-id-10703 .entry-content > :last-child h2,
.page-id-10703 .entry-content > :last-child p {
  color: #fff !important;
}

/* A calmer, repeatable desktop rhythm. */
.home #kurser {
  padding-top: 64px !important;
  padding-bottom: 58px !important;
}
.home #svetsevent,
.home #foretag,
.home #presentkort {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}
.page-id-10703 .entry-content > :nth-child(n+3):not(:last-child),
.page-id-115 .entry-content > :nth-child(n+3):not(:last-child),
.page-id-17654 .entry-content > :nth-child(n+3):not(:last-child) {
  padding-top: 52px !important;
  padding-bottom: 52px !important;
}
.page-id-17654 .entry-content > :nth-child(3) { padding-bottom: 58px !important; }
footer > .wp-block-group { border-top-width: 3px !important; }

/* Internal heroes are shorter and more editorial than the home hero. */
.page-id-10703 .entry-content > :nth-child(2),
.page-id-17587 .entry-content > .wp-block-cover:first-child,
.page-id-115 .entry-content > :nth-child(2),
.page-id-17654 .entry-content > :nth-child(2) {
  min-height: 470px !important;
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}
.page-id-17587 .entry-content > .wp-block-cover:first-child .wp-block-cover__inner-container > .wp-block-group {
  width: min(565px,100%) !important;
  padding: clamp(30px,3.6vw,44px) !important;
  background: rgba(1,24,62,.84);
  border-radius: 0 28px 0 0 !important;
}
.page-id-17587 .entry-content > .wp-block-cover:first-child h1 {
  font-size: clamp(2.45rem,4.1vw,3.55rem) !important;
}
.page-id-115 .entry-content > :nth-child(2) .wp-block-cover__image-background {
  object-position: center 46% !important;
}

/* Home: alternate light and photographic sections instead of stacking blue panels. */
.home #svetsevent .wp-block-column:last-child {
  position: relative;
  padding: clamp(34px,5vw,64px) !important;
  background: #fff;
  border-left: 6px solid var(--svk-blue);
}
.home #svetsevent h2 { color: var(--svk-ink) !important; }
.home #svetsevent .wp-block-column:last-child p { color: var(--svk-text) !important; }
.home #svetsevent .wp-block-column:last-child > p:first-child { color: var(--svk-blue-dark) !important; }

/* Course cards: one alignment, one image ratio and one action baseline. */
.home #kurser .wp-block-post-title,
.home #kurser .wp-block-post-title a,
.home #kurser .wc-block-components-product-price,
.tax-product_cat .wp-block-post-title,
.tax-product_cat .wp-block-post-title a,
.tax-product_cat .wc-block-components-product-price {
  width: 100% !important;
  text-align: left !important;
}
.home #kurser .wc-block-components-product-button,
.tax-product_cat .wc-block-components-product-button {
  display: flex !important;
  width: 100% !important;
  align-items: flex-start !important;
  flex-direction: column !important;
  text-align: left !important;
}
.home #kurser .wc-block-product:not(:has(.wc-block-components-product-price)) .wc-block-components-product-button::before,
.tax-product_cat .wc-block-product:not(:has(.wc-block-components-product-price)) .wc-block-components-product-button::before {
  content: "Pris efter upplägg";
  display: block;
  margin: 0 0 16px;
  color: #31475f;
  font-size: .96rem;
  font-weight: 750;
}
.tax-product_cat main.wp-block-group {
  padding-top: 46px !important;
}
.tax-product_cat .wp-block-term-description { margin-bottom: 38px !important; }
.tax-product_cat .wc-block-product-filter-rating,
.tax-product_cat .wp-block-accordion-item:has(input[id^="rating-"]) { display: none !important; }

/* Present card: keep the existing media and add a restrained branded decal. */
.home #presentkort figure::before {
  content: "VALFRITT BELOPP";
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 3;
  display: block;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 3px;
  box-shadow: 0 10px 24px rgba(1,24,62,.22);
  color: var(--svk-blue-deep);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
  transform: rotate(3deg);
}
.home #presentkort img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  filter: grayscale(1) contrast(1.16);
  mix-blend-mode: screen;
  object-position: center 46%;
  transform: scale(1.18);
}
.home #presentkort figure::after { z-index: 2; }

/* Reuse the branded home present-card artwork on the present-card product page. */
.single-product.postid-16185 .wc-block-product-gallery-large-image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  isolation: isolate;
  background-image:
    url('https://svetskurser.se/rebrand/wp-content/uploads/2023/09/pw-gift-card.png'),
    radial-gradient(circle at 42% 44%,rgba(255,255,255,.20) 0 13%,rgba(255,255,255,.06) 25%,transparent 42%),
    linear-gradient(118deg,transparent 0 31%,rgba(255,255,255,.15) 39%,rgba(255,255,255,.045) 49%,transparent 57%),
    linear-gradient(135deg,var(--svk-blue-deep) 0%,var(--svk-blue) 62%,var(--svk-blue-2) 100%);
  background-blend-mode: screen, normal, normal, normal !important;
  background-position: center 70%, center, center, center !important;
  background-repeat: no-repeat !important;
  background-size: 140% auto, auto, auto, auto !important;
  border: 0 !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.10), 0 18px 40px rgba(6,38,72,.12) !important;
}
.single-product.postid-16185 .wc-block-product-gallery-large-image img { opacity: 0 !important; }
.single-product.postid-16185 .wc-block-product-gallery-large-image::before {
  content: "VALFRITT BELOPP" !important;
  position: absolute;
  top: 24px;
  right: 24px;
  left: auto;
  z-index: 3;
  display: block;
  padding: 12px 16px;
  background: #fff;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 3px;
  box-shadow: 0 10px 24px rgba(1,24,62,.22);
  color: var(--svk-blue-deep);
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .08em;
  line-height: 1;
  pointer-events: none;
  text-align: center;
  white-space: nowrap;
  transform: rotate(3deg);
}
.single-product.postid-16185 .wc-block-product-gallery-large-image::after {
  content: "PRESENTKORT PÅ SVETSKURS" !important;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 17px 22px;
  background: rgba(16,36,58,.94);
  border: 0;
  color: #fff;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
}

/* About: remove repeated generic boxes and turn the rows into clear numbered steps. */
.page-id-10703 .entry-content > :nth-child(4) .wp-block-column,
.page-id-10703 .entry-content > :nth-child(7) .wp-block-column {
  position: relative;
  padding: 24px 22px 24px 0 !important;
  background: transparent;
  border: 0 !important;
  border-top: 1px solid var(--svk-line) !important;
  box-shadow: none !important;
}
.page-id-10703 .entry-content > :nth-child(7) .wp-block-column::before {
  display: block;
  margin-bottom: 17px;
  color: var(--svk-blue);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .09em;
}
.page-id-10703 .entry-content > :nth-child(7) .wp-block-column:nth-child(1)::before { content: "01"; }
.page-id-10703 .entry-content > :nth-child(7) .wp-block-column:nth-child(2)::before { content: "02"; }
.page-id-10703 .entry-content > :nth-child(7) .wp-block-column:nth-child(3)::before { content: "03"; }
.page-id-10703 .entry-content > :nth-child(6) .wp-block-column:last-child > .wp-block-group {
  background: rgba(1,24,62,.38);
  border: 1px solid rgba(255,255,255,.20) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
.page-id-10703 .entry-content > :nth-child(8) { padding-top: 40px !important; padding-bottom: 44px !important; }
.page-id-10703 .entry-content > :last-child { margin-top: 0 !important; }

/* Booking: neutral working surface, accessible calendar and calmer product information. */
.single-product main > .wp-block-columns > .wp-block-column:last-child {
  border-left-width: 2px !important;
}
.single-product .wc-bookings-booking-form {
  background: #fff;
  border: 1px solid var(--svk-line) !important;
  border-top: 4px solid var(--svk-blue) !important;
  box-shadow: 0 12px 30px rgba(6,38,72,.08);
}
.single-product .wc-bookings-date-picker .ui-datepicker-header,
.single-product .wc-bookings-date-picker .ui-datepicker-title,
.single-product .wc-bookings-date-picker .ui-datepicker-title span {
  color: #fff !important;
}
.single-product .wc-bookings-date-picker .ui-datepicker-prev,
.single-product .wc-bookings-date-picker .ui-datepicker-next {
  background: rgba(255,255,255,.14);
  color: #fff !important;
}
.single-product .wp-block-woocommerce-product-details { max-width: 820px !important; margin-top: 58px !important; }
.single-product .wp-block-accordion-item__content {
  max-width: 780px !important;
  color: var(--svk-text);
  line-height: 1.72;
}
.single-product .wp-block-accordion-item__content h3,
.single-product .wp-block-accordion-item__content h4,
.single-product .wp-block-accordion-item__content h6 {
  margin-top: 34px !important;
  padding-top: 22px;
  border-top: 1px solid var(--svk-line);
}
.single-product .wp-block-accordion-item__content h6 {
  color: var(--svk-blue-deep);
  font-size: .92rem !important;
  letter-spacing: .06em;
}
.single-product .wp-block-accordion-item__content ul,
.single-product .wp-block-accordion-item__content ol { padding-left: 24px; }

/* News cards: readable excerpts, equal heights and restrained colour. */
.page-id-17654 .wp-block-post-template .wp-block-post-excerpt__excerpt {
  color: var(--svk-text) !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}
.page-id-17654 .wp-block-post-template .wp-block-post-title {
  font-size: 1.16rem !important;
  line-height: 1.3 !important;
}
.page-id-17654 .wp-block-post-template > li > .wp-block-group { padding-bottom: 24px !important; }

/* Compact Aktuellt cards reused below product and course archive pages. */
.single-product .wp-block-post-template,
.tax-product_cat .wp-block-post-template {
  display: grid !important;
  grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  gap: 24px !important;
  align-items: stretch !important;
}
.single-product .wp-block-post-template > li,
.tax-product_cat .wp-block-post-template > li {
  display: flex !important;
  width: auto !important;
  max-width: none !important;
  min-width: 0;
  overflow: hidden !important;
  flex-direction: column !important;
  background: #fff;
  border: 1px solid #c9d4de !important;
  border-radius: 10px !important;
  box-shadow: 0 5px 18px rgba(6,38,72,.06) !important;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease !important;
}
.single-product .wp-block-post-template > li:hover,
.tax-product_cat .wp-block-post-template > li:hover {
  border-color: var(--svk-blue) !important;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(6,38,72,.12) !important;
}
.single-product .wp-block-post-template .wp-block-post-featured-image,
.tax-product_cat .wp-block-post-template .wp-block-post-featured-image {
  margin: 0 !important;
  overflow: hidden;
  background: var(--svk-navy);
  border-radius: 0 !important;
}
.single-product .wp-block-post-template .wp-block-post-featured-image img,
.tax-product_cat .wp-block-post-template .wp-block-post-featured-image img {
  display: block;
  width: 100% !important;
  aspect-ratio: 16/9 !important;
  object-fit: cover !important;
  border-radius: 0 !important;
}
.single-product .wp-block-post-template .wp-block-post-date,
.tax-product_cat .wp-block-post-template .wp-block-post-date {
  margin: 16px 18px 0 !important;
  color: var(--svk-muted) !important;
  font-size: .78rem !important;
  font-weight: 650;
}
.single-product .wp-block-post-template .wp-block-post-title,
.tax-product_cat .wp-block-post-template .wp-block-post-title {
  margin: 8px 18px 14px !important;
  font-size: 1.08rem !important;
  line-height: 1.3 !important;
  letter-spacing: -.01em !important;
}
.single-product .wp-block-post-template .wp-block-post-title a,
.tax-product_cat .wp-block-post-template .wp-block-post-title a {
  color: var(--svk-ink) !important;
  text-decoration: none !important;
}
.single-product .wp-block-post-template .wp-block-read-more,
.tax-product_cat .wp-block-post-template .wp-block-read-more {
  display: inline-flex !important;
  min-height: 40px;
  margin: auto 18px 18px !important;
  padding: 9px 15px !important;
  align-self: flex-start;
  align-items: center;
  background: var(--svk-blue);
  border: 1px solid var(--svk-blue) !important;
  border-radius: 3px !important;
  color: #fff !important;
  font-size: .86rem !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}
.single-product .wp-block-post-template .wp-block-read-more:hover,
.tax-product_cat .wp-block-post-template .wp-block-read-more:hover {
  background: var(--svk-blue-dark);
  border-color: var(--svk-blue-dark) !important;
  color: #fff !important;
}

/* Contact: compact final help panel, aligned like the rest of the site. */
.page-id-115 .entry-content > :nth-child(4) {
  padding-top: 46px !important;
  padding-bottom: 46px !important;
}
.page-id-115 .entry-content > :nth-child(4) > .wp-block-group {
  max-width: 900px !important;
  margin-inline: auto !important;
}
.page-id-115 .entry-content > :nth-child(4) h2 { margin-bottom: 24px !important; }
.page-id-115 .entry-content > :nth-child(4) ul { max-width: 620px; margin: 0 auto 26px !important; }

/* v5: persistent navigation, refined utility bar and full-width related news. */
.wp-site-blocks > header,
.wp-site-blocks > .wp-block-template-part:has(.site-header-shell) {
  position: sticky !important;
  top: 0 !important;
  z-index: 10000 !important;
  width: 100%;
}
.admin-bar .wp-site-blocks > header,
.admin-bar .wp-site-blocks > .wp-block-template-part:has(.site-header-shell) {
  top: 32px !important;
}
.site-header-shell {
  position: relative !important;
  top: auto !important;
}

.svk-utility {
  padding: 6px 24px !important;
  background-color: var(--svk-navy);
  border-bottom: 1px solid rgba(255,255,255,.13) !important;
}
.svk-utility > .wp-block-group {
  width: 100%;
  max-width: var(--svk-content) !important;
  min-height: 30px;
  margin-inline: auto !important;
  gap: 22px !important;
}
.svk-utility p:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.svk-utility p:first-child::before {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 11-8 11S4 15 4 10a8 8 0 1 1 16 0Z'/%3E%3Ccircle cx='12' cy='10' r='2.6'/%3E%3C/svg%3E");
  opacity: .92;
}
.svk-utility p,
.svk-utility a {
  font-size: .76rem !important;
  letter-spacing: .012em;
}
.svk-utility a {
  transition: color .16s ease, opacity .16s ease;
}
.svk-utility a:hover {
  color: #fff !important;
  opacity: .78;
}
.svk-utility .svk-utility-separator {
  margin: 0 14px;
  color: rgba(255,255,255,.36);
}

/* Let the related Aktuellt block use the real desktop content width. */
.single-product .wp-block-query,
.tax-product_cat .wp-block-query {
  position: relative;
  left: 50%;
  width: min(var(--svk-content),calc(100vw - 64px)) !important;
  max-width: none !important;
  margin-right: 0 !important;
  margin-left: 0 !important;
  transform: translateX(-50%);
}
.single-product .wp-block-query .wp-block-post-template,
.tax-product_cat .wp-block-query .wp-block-post-template {
  width: 100% !important;
  max-width: none !important;
  gap: 28px !important;
}

/* Keep every course and Aktuellt card visually consistent and centred. */
.home #kurser .wc-block-product,
.tax-product_cat .wc-block-product,
.home .wp-block-post-template > li,
.page-id-17654 .wp-block-post-template > li,
.single-product .wp-block-post-template > li,
.tax-product_cat .wp-block-post-template > li {
  text-align: center !important;
}

.home #kurser .wc-block-product > .wp-block-group,
.tax-product_cat .wc-block-product > .wp-block-group,
.home .wp-block-post-template > li > .wp-block-group,
.page-id-17654 .wp-block-post-template > li > .wp-block-group {
  align-items: center !important;
}

.home #kurser .wp-block-post-title,
.home #kurser .wp-block-post-title a,
.home #kurser .wc-block-components-product-price,
.tax-product_cat .wc-block-product .wp-block-post-title,
.tax-product_cat .wc-block-product .wp-block-post-title a,
.tax-product_cat .wc-block-product .wc-block-components-product-price,
.home .wp-block-post-template .wp-block-post-title,
.home .wp-block-post-template .wp-block-post-title a,
.home .wp-block-post-template .wp-block-post-date,
.home .wp-block-post-template .wp-block-post-excerpt,
.home .wp-block-post-template .wp-block-post-excerpt__excerpt,
.page-id-17654 .wp-block-post-template .wp-block-post-title,
.page-id-17654 .wp-block-post-template .wp-block-post-title a,
.page-id-17654 .wp-block-post-template .wp-block-post-date,
.page-id-17654 .wp-block-post-template .wp-block-post-excerpt,
.page-id-17654 .wp-block-post-template .wp-block-post-excerpt__excerpt,
.single-product .wp-block-post-template .wp-block-post-title,
.single-product .wp-block-post-template .wp-block-post-title a,
.single-product .wp-block-post-template .wp-block-post-date,
.tax-product_cat .wp-block-post-template .wp-block-post-title,
.tax-product_cat .wp-block-post-template .wp-block-post-title a,
.tax-product_cat .wp-block-post-template .wp-block-post-date {
  text-align: center !important;
}

.home #kurser .wc-block-components-product-button,
.tax-product_cat .wc-block-product .wc-block-components-product-button {
  align-items: center !important;
  text-align: center !important;
}

.home #kurser .wc-block-components-product-button .wp-element-button,
.tax-product_cat .wc-block-product .wc-block-components-product-button .wp-element-button,
.home .wp-block-post-template .wp-block-read-more,
.page-id-17654 .wp-block-post-template .wp-block-read-more,
.single-product .wp-block-post-template .wp-block-read-more,
.tax-product_cat .wp-block-post-template .wp-block-read-more {
  align-self: center !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.home #kurser .wc-block-components-product-image img,
.home #kurser .wc-block-product-image img,
.tax-product_cat .wc-block-components-product-image img,
.tax-product_cat .wc-block-product-image img,
.home .wp-block-post-featured-image img,
.page-id-17654 .wp-block-post-featured-image img,
.single-product .wp-block-post-template .wp-block-post-featured-image img,
.tax-product_cat .wp-block-post-template .wp-block-post-featured-image img {
  object-position: center center !important;
}

@media (min-width: 901px) {
  .single-product .wp-block-query .wp-block-post-template,
  .tax-product_cat .wp-block-query .wp-block-post-template {
    grid-template-columns: repeat(3,minmax(0,1fr)) !important;
  }
}

@media (max-width: 900px) {
  .single-product .wp-block-post-template,
  .tax-product_cat .wp-block-post-template { grid-template-columns: repeat(2,minmax(0,1fr)) !important; }
  .home #svetsevent .wp-block-column:last-child { border-left: 0; border-top: 5px solid var(--svk-blue); }
  .page-id-10703 .entry-content > :nth-child(4) .wp-block-column,
  .page-id-10703 .entry-content > :nth-child(7) .wp-block-column { padding-right: 0 !important; }
}

@media (max-width: 600px) {
  .single-product .wp-block-post-template,
  .tax-product_cat .wp-block-post-template { grid-template-columns: 1fr !important; }
  .home #presentkort figure { min-height: 280px; }
  .home #presentkort figure::before {
    top: 18px;
    right: 18px;
    padding: 10px 13px;
    font-size: .62rem;
  }
  .home #kurser,
  .home #svetsevent,
  .home #foretag,
  .home #presentkort { padding-top: 46px !important; padding-bottom: 46px !important; }
  .page-id-10703 .entry-content > :nth-child(n+3):not(:last-child),
  .page-id-115 .entry-content > :nth-child(n+3):not(:last-child),
  .page-id-17654 .entry-content > :nth-child(n+3):not(:last-child) { padding-top: 46px !important; padding-bottom: 46px !important; }
  .single-product.postid-16185 .wc-block-product-gallery-large-image::before {
    top: 18px;
    right: 18px;
    left: auto;
    padding: 10px 13px;
    font-size: .62rem;
  }
  .single-product.postid-16185 .wc-block-product-gallery-large-image::after {
    right: 0;
    left: 0;
  }
}

@media (max-width: 782px) {
  .admin-bar .wp-site-blocks > header,
  .admin-bar .wp-site-blocks > .wp-block-template-part:has(.site-header-shell) {
    top: 46px !important;
  }
  .svk-utility { display: none !important; }
  .site-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container {
    padding: 4px 0 4px 18px !important;
    background: transparent;
    border: 0 !important;
    box-shadow: none !important;
  }
  .site-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content,
  .site-header-shell .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-submenu__toggle {
    color: #fff !important;
    border-left: 0 !important;
  }
  .single-product .wp-block-query,
  .tax-product_cat .wp-block-query {
    width: calc(100vw - 32px) !important;
  }
}

/* Unified participant quotes: editorial, calm and consistent. */
.home-review,
.event-quote blockquote,
.single-product .wc-block-product-description blockquote {
  margin: 0 !important;
  padding: 2px 0 2px 22px !important;
  background: transparent;
  border: 0 !important;
  border-left: 3px solid var(--svk-blue) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
.home-reviews-grid { gap: clamp(28px, 4vw, 54px) !important; }
.home-review p:first-child,
.event-quote blockquote p:first-child,
.single-product .wc-block-product-description blockquote p:first-child {
  margin: 0 0 12px !important;
  color: var(--svk-ink) !important;
  font-size: clamp(1rem, 1.3vw, 1.12rem) !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}
.home-review footer,
.home-review cite,
.event-quote blockquote cite,
.single-product .wc-block-product-description blockquote cite {
  color: var(--svk-muted) !important;
  font-size: .88rem !important;
  font-style: normal !important;
  font-weight: 600 !important;
}
.single-product .wc-block-product-description blockquote { margin: 22px 0 32px !important; }

/* Svetsarprövning bokas via kontakt, aldrig via kurskalendern. */
.single-product.postid-10999 .product-booking-help,
.single-product.postid-10999 .wp-block-add-to-cart-with-options { display: none !important; }


/* Homepage reviews v3: asymmetrical editorial layout for a more credible feel. */
#omdomen {
  background: #fff;
  padding-top: clamp(58px, 7vw, 88px) !important;
  padding-bottom: clamp(62px, 7vw, 92px) !important;
}
#omdomen .home-reviews-grid {
  display: grid !important;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr) !important;
  grid-template-rows: auto auto !important;
  gap: 0 !important;
  margin-top: 34px !important;
}
#omdomen .home-review {
  position: relative !important;
  min-width: 0 !important;
  padding: 22px 0 !important;
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
}
#omdomen .home-review:nth-child(2) {
  grid-column: 1 !important;
  grid-row: 1 / span 2 !important;
  padding: 34px 58px 30px 42px !important;
  border-right: 1px solid var(--svk-line) !important;
}
#omdomen .home-review:nth-child(1),
#omdomen .home-review:nth-child(3) {
  grid-column: 2 !important;
  margin-left: 34px !important;
  padding-left: 30px !important;
}
#omdomen .home-review:nth-child(3) {
  border-top: 1px solid var(--svk-line) !important;
}
#omdomen .home-review::before {
  content: "“";
  position: absolute;
  top: 5px;
  left: 0;
  color: var(--svk-blue);
  font-family: Georgia, serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1;
}
#omdomen .home-review:nth-child(2)::before {
  top: 8px;
  font-size: 5.5rem;
}
#omdomen .home-review p:first-child {
  margin: 0 0 22px 28px !important;
  color: var(--svk-ink) !important;
  font-size: 1.05rem !important;
  font-weight: 500 !important;
  line-height: 1.65 !important;
}
#omdomen .home-review:nth-child(2) p:first-child {
  margin-left: 46px !important;
  max-width: 620px;
  font-size: clamp(1.45rem, 2.4vw, 2.15rem) !important;
  font-weight: 560 !important;
  letter-spacing: -.02em;
  line-height: 1.42 !important;
}
#omdomen .home-review footer {
  margin-left: 28px;
  color: var(--svk-muted) !important;
  line-height: 1.5;
}
#omdomen .home-review:nth-child(2) footer { margin-left: 46px; }
#omdomen .home-review footer strong {
  color: var(--svk-ink) !important;
  font-weight: 750 !important;
}
#omdomen .home-review:nth-child(1) footer strong {
  font-size: 0 !important;
}
#omdomen .home-review:nth-child(1) footer strong::after {
  content: "Anonym kursdeltagare";
  font-size: .9rem;
}
@media (max-width: 760px) {
  #omdomen .home-reviews-grid { grid-template-columns: 1fr !important; grid-template-rows: auto !important; }
  #omdomen .home-review:nth-child(n) {
    grid-column: 1 !important;
    grid-row: auto !important;
    margin-left: 0 !important;
    padding: 28px 0 28px 30px !important;
    border-right: 0 !important;
    border-top: 1px solid var(--svk-line) !important;
  }
  #omdomen .home-review:nth-child(2) { order: -1; border-top: 0 !important; }
  #omdomen .home-review:nth-child(n) p:first-child,
  #omdomen .home-review:nth-child(n) footer { margin-left: 26px !important; }
}


/* Review v3 polish: quotes already contain quotation marks. */
#omdomen .home-review::before { content: none !important; }
#omdomen .home-review p:first-child,
#omdomen .home-review:nth-child(2) p:first-child,
#omdomen .home-review footer,
#omdomen .home-review:nth-child(2) footer { margin-left: 0 !important; }
@media (max-width: 760px) {
  #omdomen .home-review:nth-child(n) { padding-left: 0 !important; }
  #omdomen .home-review:nth-child(n) p:first-child,
  #omdomen .home-review:nth-child(n) footer { margin-left: 0 !important; }
}


/* Homepage reviews v4: simple named testimonials only. */
#omdomen {
  background: var(--svk-paper);
  padding-top: 62px !important;
  padding-bottom: 68px !important;
}
#omdomen .home-reviews-grid {
  display: block !important;
  max-width: 860px !important;
  margin: 28px 0 0 !important;
}
#omdomen .home-review:nth-child(1) { display: none !important; }
#omdomen .home-review:nth-child(2),
#omdomen .home-review:nth-child(3) {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 190px !important;
  grid-column: auto !important;
  grid-row: auto !important;
  align-items: end !important;
  gap: 34px !important;
  margin: 0 !important;
  padding: 30px 0 !important;
  background: transparent;
  border: 0 !important;
  border-top: 1px solid var(--svk-line) !important;
  box-shadow: none !important;
}
#omdomen .home-review:nth-child(3) { border-bottom: 1px solid var(--svk-line) !important; }
#omdomen .home-review:nth-child(2) p:first-child,
#omdomen .home-review:nth-child(3) p:first-child {
  margin: 0 !important;
  max-width: none !important;
  color: var(--svk-ink) !important;
  font-size: clamp(1.1rem, 1.6vw, 1.3rem) !important;
  font-weight: 520 !important;
  letter-spacing: -.01em !important;
  line-height: 1.55 !important;
}
#omdomen .home-review:nth-child(2) footer,
#omdomen .home-review:nth-child(3) footer {
  margin: 0 !important;
  padding-left: 18px !important;
  border-left: 2px solid var(--svk-blue) !important;
  color: var(--svk-muted) !important;
  font-size: .88rem !important;
  line-height: 1.5 !important;
}
@media (max-width: 680px) {
  #omdomen .home-review:nth-child(2),
  #omdomen .home-review:nth-child(3) {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    padding: 28px 0 !important;
  }
  #omdomen .home-review:nth-child(2) footer,
  #omdomen .home-review:nth-child(3) footer { padding-left: 14px !important; }
}


/* Homepage reviews v5: restore the earlier three-column design. */
#omdomen {
  background: #fbfcfd;
  padding: 46px 24px 50px !important;
}
#omdomen .home-reviews-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  grid-template-rows: auto !important;
  gap: 16px !important;
  max-width: none !important;
  margin: 0 !important;
}
#omdomen .home-review:nth-child(n) {
  display: block !important;
  grid-column: auto !important;
  grid-row: auto !important;
  order: initial !important;
  margin: 0 !important;
  padding: 2px 0 2px 22px !important;
  background: transparent;
  border: 0 !important;
  border-left: 3px solid var(--svk-blue) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#omdomen .home-review:nth-child(n) p:first-child {
  margin: 0 0 12px !important;
  max-width: none !important;
  color: var(--svk-ink) !important;
  font-size: clamp(1rem, 1.3vw, 1.12rem) !important;
  font-weight: 600 !important;
  letter-spacing: normal !important;
  line-height: 1.55 !important;
}
#omdomen .home-review:nth-child(n) footer {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--svk-muted) !important;
  font-size: .88rem !important;
  line-height: 1.5 !important;
}
#omdomen .home-review:nth-child(n) footer strong { font-size: .9rem !important; }
#omdomen .home-review:nth-child(1) footer strong::after { content: none !important; }
@media (max-width: 760px) {
  #omdomen .home-reviews-grid { grid-template-columns: 1fr !important; gap: 28px !important; }
}


/* Homepage reviews v6: polished version of the preferred three-column layout. */
#omdomen .home-reviews-grid { gap: 20px !important; }
#omdomen .home-review:nth-child(n) {
  display: flex !important;
  flex-direction: column !important;
  min-height: 226px !important;
  padding: 26px 26px 23px !important;
  background: #fff;
  border: 1px solid var(--svk-line) !important;
  border-top: 3px solid var(--svk-blue) !important;
  border-radius: 6px !important;
  box-shadow: 0 8px 24px rgba(7, 30, 56, .055) !important;
}
#omdomen .home-review:nth-child(n) p:first-child {
  flex: 1 1 auto !important;
  margin: 0 0 24px !important;
  color: var(--svk-ink) !important;
  font-size: clamp(1rem, 1.25vw, 1.1rem) !important;
  font-weight: 520 !important;
  line-height: 1.62 !important;
}
#omdomen .home-review:nth-child(n) footer {
  margin-top: auto !important;
  padding-top: 15px !important;
  border-top: 1px solid #e7ebf0 !important;
  color: var(--svk-muted) !important;
}
#omdomen .home-review:nth-child(n) footer strong {
  display: inline-block;
  margin-bottom: 2px;
  color: var(--svk-ink) !important;
  font-weight: 750 !important;
}
@media (max-width: 760px) {
  #omdomen .home-review:nth-child(n) { min-height: 0 !important; padding: 24px !important; }
}


/* Homepage reviews v7: remove card treatment and return to the clean preferred style. */
#omdomen .home-reviews-grid { gap: 16px !important; }
#omdomen .home-review:nth-child(n) {
  display: block !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 2px 0 2px 22px !important;
  background: transparent;
  border: 0 !important;
  border-left: 3px solid var(--svk-blue) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}
#omdomen .home-review:nth-child(n) p:first-child {
  margin: 0 0 12px !important;
  color: var(--svk-ink) !important;
  font-size: clamp(1rem, 1.3vw, 1.12rem) !important;
  font-weight: 600 !important;
  line-height: 1.55 !important;
}
#omdomen .home-review:nth-child(n) footer {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  color: var(--svk-muted) !important;
  font-size: .88rem !important;
  line-height: 1.5 !important;
}


/* Homepage reviews v8: familiar testimonial-card pattern without invented ratings. */
#omdomen {
  background: #f4f6f8;
  padding-top: 58px !important;
  padding-bottom: 64px !important;
}
#omdomen .home-reviews-grid { gap: 22px !important; margin-top: 4px !important; }
#omdomen .home-review:nth-child(n) {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: 250px !important;
  padding: 28px !important;
  background: #fff;
  border: 1px solid #e1e6ec !important;
  border-radius: 10px !important;
  box-shadow: 0 10px 28px rgba(15, 35, 60, .075) !important;
}
#omdomen .home-review::before {
  content: "“" !important;
  display: grid;
  width: 38px;
  height: 38px;
  margin-bottom: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--svk-blue);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}
#omdomen .home-review:nth-child(n) p:first-child {
  flex: 1 1 auto !important;
  margin: 0 0 24px !important;
  color: var(--svk-ink) !important;
  font-size: clamp(1rem, 1.25vw, 1.1rem) !important;
  font-weight: 540 !important;
  line-height: 1.62 !important;
}
#omdomen .home-review:nth-child(n) footer {
  position: relative !important;
  min-height: 42px;
  margin: auto 0 0 !important;
  padding: 2px 0 0 54px !important;
  border: 0 !important;
  color: var(--svk-muted) !important;
  line-height: 1.45 !important;
}
#omdomen .home-review footer::before {
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--svk-ice);
  color: var(--svk-blue);
  font-size: .88rem;
  font-weight: 800;
}
#omdomen .home-review:nth-child(1) footer::before { content: "D"; }
#omdomen .home-review:nth-child(2) footer::before { content: "H"; }
#omdomen .home-review:nth-child(3) footer::before { content: "K"; }
#omdomen .home-review footer strong {
  color: var(--svk-ink) !important;
  font-size: .92rem !important;
  font-weight: 750 !important;
}
@media (max-width: 760px) {
  #omdomen .home-review:nth-child(n) { min-height: 0 !important; padding: 24px !important; }
}


/* Homepage reviews v10: balanced proportions, scoped to the homepage review section. */
#omdomen { padding-top: 52px !important; padding-bottom: 56px !important; }
#omdomen .home-reviews-grid { gap: 20px !important; }
#omdomen .home-review:nth-child(n) {
  min-height: 216px !important;
  padding: 24px !important;
}
#omdomen .home-review:nth-child(n)::before {
  position: static !important;
  top: auto !important;
  left: auto !important;
  width: 32px !important;
  height: 32px !important;
  margin: 0 0 15px !important;
  font-size: 1.6rem !important;
  line-height: 1 !important;
}
#omdomen .home-review:nth-child(n) p:first-child {
  margin: 0 0 20px !important;
  font-size: 1rem !important;
  line-height: 1.55 !important;
}
#omdomen .home-review:nth-child(n) footer {
  min-height: 38px !important;
  padding: 0 0 0 48px !important;
}
#omdomen .home-review footer::before {
  width: 38px !important;
  height: 38px !important;
}
@media (max-width: 760px) {
  #omdomen .home-review:nth-child(n) { min-height: 0 !important; }
}


/* Homepage reviews v11: normalize all card alignment after earlier layout experiments. */
#omdomen .home-review:nth-child(n) {
  align-items: stretch !important;
  justify-content: flex-start !important;
  text-align: left !important;
}
#omdomen .home-review:nth-child(n)::before,
#omdomen .home-review:nth-child(n) p:first-child,
#omdomen .home-review:nth-child(n) footer { align-self: stretch !important; }
#omdomen .home-review:nth-child(n)::before { align-self: flex-start !important; }


/* Homepage reviews v12: larger type and tighter, even card rhythm. */
#omdomen .home-reviews-grid { align-items: stretch !important; }
#omdomen .home-review:nth-child(n) {
  height: 248px !important;
  min-height: 248px !important;
  padding: 24px 26px !important;
}
#omdomen .home-review:nth-child(n)::before {
  width: 30px !important;
  height: 30px !important;
  margin-bottom: 14px !important;
  font-size: 1.5rem !important;
}
#omdomen .home-review:nth-child(n) p:first-child {
  flex: 1 1 auto !important;
  margin: 0 0 18px !important;
  color: var(--svk-ink) !important;
  font-size: 1.12rem !important;
  font-weight: 620 !important;
  letter-spacing: -.01em !important;
  line-height: 1.5 !important;
}
#omdomen .home-review:nth-child(n) footer {
  min-height: 38px !important;
  color: var(--svk-muted) !important;
  font-size: .9rem !important;
}
#omdomen .home-review:nth-child(n) footer strong {
  font-size: .95rem !important;
}
@media (max-width: 760px) {
  #omdomen .home-review:nth-child(n) {
    height: auto !important;
    min-height: 220px !important;
  }
}


/* Homepage reviews v13: final footer clearance. */
#omdomen .home-review:nth-child(n) {
  height: 264px !important;
  min-height: 264px !important;
}
@media (max-width: 760px) {
  #omdomen .home-review:nth-child(n) { height: auto !important; min-height: 220px !important; }
}


/* Front-page block migration: rules formerly stored in the Startsida template. */

#kurser .wc-block-product-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;align-items:stretch;gap:22px!important;grid-auto-rows:1fr}
#kurser .wc-block-product{display:flex;height:auto}
#kurser .wc-block-product>.wp-block-group{display:flex;flex-direction:column;width:100%;height:100%;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
#kurser .wc-block-product>.wp-block-group>.wp-block-group{display:flex;flex:1;flex-direction:column;width:100%}
#kurser .wc-block-components-product-button{margin-top:auto}
#kurser .wc-block-product:hover>.wp-block-group,#kurser .wc-block-product:focus-within>.wp-block-group{transform:translateY(-2px);border-color:#c7d3e1!important;box-shadow:0 10px 24px rgba(7,20,38,.09);z-index:2}
#kurser .wc-block-product img{transition:transform .28s ease}
#kurser .wc-block-product:hover img{transform:scale(1.006)}
@media (max-width:900px){#kurser .wc-block-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}} @media (max-width:600px){#kurser .wc-block-product-template{grid-template-columns:1fr!important;gap:20px!important}} @media (prefers-reduced-motion:reduce){#kurser .wc-block-product>.wp-block-group,#kurser .wc-block-product img{transition:none}#kurser .wc-block-product:hover>.wp-block-group{transform:none}}
main+footer{margin-top:0!important}#kurser .wc-block-product>.wp-block-group{border:0!important;border-radius:0!important}#kurser .wc-block-product img{border-radius:4px!important}#kurser .wc-block-product>.wp-block-group>.wp-block-group{align-items:flex-start;text-align:left}#kurser .wp-block-post-title,#kurser .wc-block-components-product-price{text-align:left!important}@media(max-width:780px){#presentkort .wp-block-columns{gap:36px}}
#kurser .wp-block-post-title::after{display:block;margin-top:10px;color:#5f6b78;font-size:.82rem;font-weight:500;line-height:1.45}
#kurser .wc-block-product:nth-child(1) .wp-block-post-title::after{content:"Nybörjare · 4 tillfällen · Flera metoder"}
#kurser .wc-block-product:nth-child(2) .wp-block-post-title::after{content:"Alla nivåer · Privat · Valfri metod"}
#kurser .wc-block-product:nth-child(3) .wp-block-post-title::after{content:"Nybörjare · 3 timmar · Flera metoder"}
#kurser .wc-block-product:nth-child(4) .wp-block-post-title::after{content:"Nybörjare · MMA, MIG/MAG och TIG"}
#kurser .wc-block-product:nth-child(5) .wp-block-post-title::after{content:"Yrkesverksam · Svetsprov · ISO 9606"}
#kurser .wc-block-product:nth-child(6) .wp-block-post-title::after{content:"Alla nivåer · 1 dag · Eget projekt"}
#kurser .wc-block-components-product-button .wp-block-button__link{background:transparent;color:#02338D!important;border:1px solid #b9c7d8!important;box-shadow:none!important}
#kurser .wc-block-components-product-button .wp-block-button__link:hover{background:#eef3f9;border-color:#02338D!important}
@media(max-width:600px){#kurser .wp-block-post-title::after{font-size:.8rem}.home-reviews-grid{grid-template-columns:1fr!important;gap:14px!important}.home-review{min-height:0!important;padding:18px 20px!important}#omdomen{padding:36px 16px 40px!important}}
.home-review{display:flex;min-height:158px;flex-direction:column}.home-review footer{margin-top:auto}

/* Quote blocks use cite instead of the former custom footer element. */
#omdomen .home-review cite {position:relative!important;display:block!important;min-height:38px!important;margin:auto 0 0!important;padding:0 0 0 48px!important;color:var(--svk-muted)!important;font-size:.9rem!important;font-style:normal!important;line-height:1.45!important}
#omdomen .home-review cite::before {position:absolute;top:0;left:0;display:grid;width:38px;height:38px;place-items:center;border-radius:50%;background:var(--svk-ice);color:var(--svk-blue);font-size:.88rem;font-weight:800}
#omdomen .home-review:nth-child(1) cite::before {content:"D"}
#omdomen .home-review:nth-child(2) cite::before {content:"H"}
#omdomen .home-review:nth-child(3) cite::before {content:"K"}
#omdomen .home-review cite strong {color:var(--svk-ink)!important;font-size:.95rem!important}



/* SVK_PAGE_CSS_MIGRATION_2026_11_03 */
/* Page 17587 */
body.page-id-17587 .wp-block-post-featured-image,body.page-id-17587 .wp-block-post-title{display:none!important}body.page-id-17587 main.wp-block-group{padding-top:0!important}body.page-id-17587 .wp-block-post-content{margin-block-start:0!important}
/* Page 17654 */
body.page-id-17654 .wp-block-post-template>li{display:flex}body.page-id-17654 .wp-block-post-template>li>.wp-block-group{width:100%;transition:transform .2s ease,box-shadow .2s ease}body.page-id-17654 .wp-block-post-template>li>.wp-block-group:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(7,20,38,.08)}body.page-id-17654 .wp-block-read-more{display:inline-block;text-decoration:none}body.page-id-17654 .wp-block-post-title:not(.wp-block-post-content .wp-block-post-title),body.page-id-17654 .wp-block-post-featured-image:not(.wp-block-post-content .wp-block-post-featured-image){display:none!important}body.page-id-17654 main.wp-block-group{padding-top:0!important}body.page-id-17654 .wp-block-post-content{margin-block-start:0!important}

/* Page 10703 */
body.page-id-10703 .wp-block-post-featured-image,body.page-id-10703 .wp-block-post-title{display:none!important}body.page-id-10703 main.wp-block-group{padding-top:0!important}body.page-id-10703 .wp-block-post-content{margin-block-start:0!important}

/* Page 115 */
body.page-id-115 .wp-block-post-featured-image,body.page-id-115 .wp-block-post-title{display:none!important}body.page-id-115 main.wp-block-group{padding-top:0!important}body.page-id-115 .wp-block-post-content{margin-block-start:0!important}

/* SVK_HOMEPAGE_EDITOR_PARITY_SCOPED_2026_11_06 */
.editor-styles-wrapper .wp-block-post-content:has(#kurser){max-width:none!important;margin:0!important;padding:0!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>.wp-block-cover:first-child{min-height:535px!important;padding:58px 24px!important;border:0!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>.wp-block-cover:first-child .wp-block-cover__background{background:rgba(4,24,45,.22);}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>.wp-block-cover:first-child .wp-block-cover__inner-container{width:100%;max-width:1180px!important;margin:0 auto!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>.wp-block-cover:first-child .wp-block-cover__inner-container>.wp-block-group{width:min(650px,100%);max-width:none!important;margin:0 auto 0 0!important;padding:clamp(32px,4vw,52px)!important;background:rgba(2,51,141,.94);border-radius:0 42px 0 0!important;box-shadow:0 20px 55px rgba(6,26,47,.2)!important;text-align:left!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>.wp-block-cover:first-child h1:not(.has-text-color){color:#fff!important;font-size:clamp(2.65rem,4.8vw,4.35rem)!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>.wp-block-cover:first-child p:not(.has-text-color){color:rgba(255,255,255,.92)!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:nth-child(2){padding:25px 24px!important;border:0!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:nth-child(2):not(.has-background){background:#012866}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:nth-child(2) .wp-block-columns{gap:0!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:nth-child(2) .wp-block-column{padding:2px 34px;border-right:1px solid rgba(255,255,255,.23)}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:nth-child(2) .wp-block-column:first-child{padding-left:0}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:nth-child(2) .wp-block-column:last-child{padding-right:0;border-right:0}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:nth-child(2) h3:not(.has-text-color){margin:0 0 6px;color:#fff!important;font-size:1rem!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:nth-child(2) p:not(.has-text-color){margin:0;color:rgba(255,255,255,.76)!important;font-size:.91rem}
.editor-styles-wrapper #kurser{padding-top:64px!important;padding-bottom:58px!important}
.editor-styles-wrapper #kurser:not(.has-background){background:#f6f7f9}
.editor-styles-wrapper #kurser>p:first-child:not(.has-text-color),.editor-styles-wrapper #svetsevent p:first-child:not(.has-text-color),.editor-styles-wrapper #foretag p:first-child:not(.has-text-color),.editor-styles-wrapper #presentkort p:first-child:not(.has-text-color){margin-bottom:12px!important;color:#02338d!important;font-size:.78rem!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important}
.editor-styles-wrapper #kurser .wc-block-product-template{gap:24px!important;align-items:stretch!important}
.editor-styles-wrapper #kurser .wc-block-product{overflow:hidden!important;background:#fff;border:0!important;border-top:4px solid #02338d!important;border-radius:0!important;box-shadow:0 5px 20px rgba(6,38,72,.07)!important}
.editor-styles-wrapper #kurser .wc-block-product>.wp-block-group{display:flex!important;height:100%!important;padding:0 22px 23px!important;flex:1 1 auto!important;flex-direction:column!important;background:#fff;border:0!important;border-radius:0!important}
.editor-styles-wrapper #kurser .wc-block-components-product-image,.editor-styles-wrapper #kurser .wc-block-product-image{width:calc(100% + 44px)!important;margin:0 -22px!important;overflow:hidden;border-radius:0!important;background:#eef4fc}
.editor-styles-wrapper #kurser img{display:block;width:100%!important;aspect-ratio:16/10!important;object-fit:cover!important;border-radius:0!important}
.editor-styles-wrapper #kurser .wp-block-post-title{margin:20px 0 10px!important;font-size:1.12rem!important;line-height:1.3!important}
.editor-styles-wrapper #kurser .wc-block-components-product-price:not(.has-text-color){margin:0 0 16px!important;color:#31475f!important;font-weight:750!important}
.editor-styles-wrapper #kurser .wc-block-components-product-button{width:100%!important;margin-top:auto!important;padding-top:4px!important}
.editor-styles-wrapper #svetsevent,.editor-styles-wrapper #foretag,.editor-styles-wrapper #presentkort{padding-top:52px!important;padding-bottom:52px!important}
.editor-styles-wrapper #svetsevent .wp-block-columns,.editor-styles-wrapper #foretag .wp-block-columns,.editor-styles-wrapper #presentkort .wp-block-columns{gap:0!important;align-items:stretch!important}
.editor-styles-wrapper #svetsevent .wp-block-column,.editor-styles-wrapper #foretag .wp-block-column,.editor-styles-wrapper #presentkort .wp-block-column{display:flex;flex-direction:column;justify-content:center}
.editor-styles-wrapper #svetsevent .wp-block-column:last-child{padding:clamp(34px,5vw,64px)!important;background:#fff;border-left:6px solid #02338d}
.editor-styles-wrapper #svetsevent img,.editor-styles-wrapper #foretag img,.editor-styles-wrapper #presentkort img{width:100%;height:100%;min-height:390px;object-fit:cover;border-radius:0!important}
.editor-styles-wrapper #foretag:not(.has-background){background:#eef4fc}
.editor-styles-wrapper #foretag .wp-block-column:first-child,.editor-styles-wrapper #presentkort .wp-block-column:last-child{padding:clamp(34px,5vw,70px)!important}
.editor-styles-wrapper #presentkort:not(.has-background){background:#fff}
.editor-styles-wrapper #presentkort figure{position:relative;min-height:390px;overflow:hidden;background:linear-gradient(135deg,#012866 0%,#02338d 62%,#0245a9 100%);border-radius:0!important}
.editor-styles-wrapper .home-news-grid{gap:28px!important}
.editor-styles-wrapper .home-news-card{height:100%;padding-bottom:20px!important;background:#fff;border-bottom:3px solid #02338d!important;box-shadow:0 4px 16px rgba(6,38,72,.06)!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:last-child{padding:58px 24px!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:last-child:not(.has-background){background:#02338d}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:last-child:not(.has-text-color){color:#fff!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:last-child h2:not(.has-text-color),.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:last-child p:not(.has-text-color){color:#fff!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:last-child .wp-block-button__link:not(.has-background){background:#fff;border-color:#fff!important}
.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:last-child .wp-block-button__link:not(.has-text-color){color:#012866!important}
@media(max-width:600px){.editor-styles-wrapper .wp-block-post-content:has(#kurser)>.wp-block-cover:first-child{min-height:470px!important;padding:28px 16px!important}.editor-styles-wrapper .wp-block-post-content:has(#kurser)>:nth-child(2){padding:4px 18px!important}.editor-styles-wrapper #svetsevent .wp-block-columns,.editor-styles-wrapper #foretag .wp-block-columns,.editor-styles-wrapper #presentkort .wp-block-columns{display:flex!important;flex-direction:column!important}}

/* Lundgrens-avsnitt: inga dekorativa linjer ovanför text och bild. */
.page-id-10703 .entry-content > :nth-child(4) .wp-block-column { border-top: 0 !important; }
