/* ==========================================================================
   edume – global.css (effekt-lagret)
   Endast det Bricks native-settings inte kan uttrycka: hover/transitions,
   alpha-skuggor, rotation, animation, line-clamp, sticky med media query,
   aria-current. All typografi/färg/spacing/layout ligger på ed-klasserna i Bricks.
   Varianter/tillstånd skrivs med dubblerad selektor (.x.x) så de vinner oavsett
   registrets ordning (KB 12).
   ========================================================================== */

/* ---- Bas ------------------------------------------------------------------ */
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }            /* clip, inte hidden – annars dör sticky (KB 12) */
body { background: #ffffff; }
::selection { background: #20B58F; color: #084435; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 2px solid #20B58F; outline-offset: 2px;
}

/* ---- Knappar (theme style-varianter + ed-btn) ------------------------------- */
.bricks-button { transition: background-color .18s ease, color .18s ease, transform .18s ease; }
.bricks-button.bricks-background-primary:hover { background-color: #AD5787; color: #ffffff; }
.bricks-button.bricks-background-secondary:hover { background-color: #ECEAEB; color: #084435; }
.bricks-button.bricks-background-light:hover { background-color: #AD5787; color: #ffffff; }
.ed-menu-btn { transition: background-color .18s ease; }
.ed-menu-btn:hover { background-color: #AD5787; }
.ed-icon-btn { transition: background-color .18s ease; }
.ed-icon-btn.ed-icon-btn:hover { background-color: #ECEAEB; }

/* Textlänk-CTA: "Läs mer →" */
.ed-link-cta, .ed-link-cta-light { transition: color .15s ease, border-color .15s ease; }
.ed-link-cta.ed-link-cta:hover { color: #277561; }
.ed-link-cta-light.ed-link-cta-light:hover { color: #CFE9DF; }

/* ---- Header ----------------------------------------------------------------- */
.ed-topbar-link, .ed-nav-link, .ed-footer-link { transition: color .15s ease; }
.ed-topbar-link:hover { color: #ffffff; }
.ed-nav-link:hover { color: #277561; }
.ed-footer-link:hover { color: #ffffff; }
/* Aktiv sida: Bricks sätter aria-current="page" på aktiv menylänk */
.ed-nav-link[aria-current="page"],
.ed-header [aria-current="page"] .ed-nav-link { font-weight: 700; border-bottom: 3px solid #20B58F; }
.ed-drawer-link[aria-current="page"] { box-shadow: inset 3px 0 0 #20B58F; padding-left: 14px; }
.ed-drawer-link::after { content: "→"; color: #20B58F; font-family: 'DM Sans', sans-serif; }
/* Drawer: glider in från höger, tonad bakgrund (Bricks offcanvas) */
.ed-drawer .brx-offcanvas-inner { transition: transform .3s cubic-bezier(.2,.8,.2,1); }
.ed-drawer .brx-offcanvas-backdrop { background: rgba(8,68,53,.45); }

/* ---- Kort: skugga + hover-lyft --------------------------------------------- */
.ed-card { box-shadow: 0 2px 10px rgba(8,68,53,.05); }
.ed-card-float { box-shadow: 0 14px 36px rgba(8,68,53,.14); }
.ed-course-card, .ed-card-grey { transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
a.ed-course-card:hover, .ed-course-card.ed-course-card:hover,
a.ed-card-grey:hover {
	background-color: #ECEAEB; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(8,68,53,.10);
}
.ed-stat-strip { box-shadow: 0 14px 36px rgba(8,68,53,.14); }

/* Kurstitel i kort: max 3 rader */
.ed-h-course {
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}

/* ---- Hero: stickers, blob, lutande bilder ---------------------------------- */
.ed-sticker { transform: rotate(-2.5deg); }
.ed-sticker-white { transform: rotate(2deg); box-shadow: 0 14px 36px rgba(8,68,53,.14); }
.ed-blob {
	border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%;
	transform: rotate(-1.5deg);
}
.ed-img-tilt { box-shadow: 0 20px 40px rgba(0,0,0,.32); }
.ed-deco-layer { pointer-events: none; }

/* ---- Rullande band ---------------------------------------------------------- */
.ed-band-bg { background: linear-gradient(#084435 50%, #ffffff 50%); overflow: hidden; }
.ed-band { width: 108%; margin-left: -4%; transform: rotate(-1.6deg); }
.ed-band-track { animation: ed-marquee 28s linear infinite; }
.ed-band-item, .ed-band-star { white-space: nowrap; }
@keyframes ed-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ed-band-track { animation: none; } }

/* ---- Förloppsring (Mina kurser) – procent sätts som --p på elementet ------- */
.ed-ring {
	width: 26px; height: 26px; border-radius: 50%; flex-shrink: 0;
	background: conic-gradient(#20B58F calc(var(--p, 0) * 3.6deg), #D9D6D7 0);
	display: grid; place-items: center;
}
.ed-ring::after { content: ""; width: 18px; height: 18px; border-radius: 50%; background: #F7F5F6; }

/* ---- LearnDash-skal: sticky sidomeny endast ≥760px ------------------------- */
@media (min-width: 760px) {
	.ed-ld-aside, .ed-ld-teacher { position: sticky; top: 24px; }
}

/* ---- "Visa mer"-klippning (kort beskrivning, utbildarbio) ------------------ */
.ed-clamp { max-height: 174px; overflow: hidden; position: relative; }
.ed-clamp::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px;
	background: linear-gradient(rgba(8,68,53,0), #084435);
}
.ed-clamp.is-open { max-height: none; }
.ed-clamp.is-open::after { display: none; }

/* ---- Dropdown (Tips & råd, För utbildare) ---------------------------------- */
.ed-dropdown-panel { box-shadow: 0 14px 36px rgba(8,68,53,.14); }
.ed-dropdown-link { transition: background-color .15s ease; }
.ed-dropdown-link.ed-dropdown-link:hover { background-color: #F7F5F6; color: #084435; }
.ed-drawer-close { cursor: pointer; transition: background-color .15s ease; }
.ed-drawer-close:hover { background-color: #AD5787; }

/* ---- LearnDash-skal: hopfällbar kursnavigering (<details>) ----------------- */
.ed-ld-aside summary { list-style: none; cursor: pointer; }
.ed-ld-aside summary::-webkit-details-marker { display: none; }
.ed-ld-aside-chevron { transition: transform .2s ease; }
.ed-ld-aside details[open] .ed-ld-aside-chevron { transform: rotate(180deg); }
.ed-progress-card { box-shadow: 0 14px 36px rgba(8,68,53,.14); }
.ed-teacher-img { transform: rotate(-4deg); }
.ed-ld-progress-bar, .ed-ld-progress-light .ed-ld-progress-bar { transition: width .4s ease; }
.ed-avatar-ring { box-shadow: 0 14px 30px rgba(0,0,0,.3); }

/* ---- Utbildare-listan ------------------------------------------------------- */
.ed-instructor-card { box-shadow: 0 2px 10px rgba(8,68,53,.05); transition: transform .18s ease, box-shadow .18s ease; }
.ed-instructor-card.ed-instructor-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(8,68,53,.10); }
.ed-instructor-card[hidden], .ed-empty-state[hidden] { display: none !important; }
.ed-search-pill { border: 0; box-shadow: 0 14px 36px rgba(8,68,53,.14); outline: none; }
.ed-search-pill::placeholder { color: #6B7A74; }

/* ---- Utbildarsidan ---------------------------------------------------------- */
.ed-portrait { transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(0,0,0,.32); }
.ed-portrait-wrap .ed-sticker { position: absolute; right: -12px; bottom: 24px; }
.ed-social-btn { transition: background-color .15s ease; }
.ed-social-btn.ed-social-btn:hover { background-color: #AD5787; color: #fff; }
.ed-clamp-toggle { background: none; border: 0; border-bottom: 2px solid #20B58F; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.ed-clamp-toggle[hidden] { display: none; }
.ed-course-card-v { transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.ed-course-card-v.ed-course-card-v:hover { background-color: #ECEAEB; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(8,68,53,.10); }
.ed-line-2, .ed-line-3 { display: -webkit-box; -webkit-box-orient: vertical; overflow: hidden; }
.ed-line-2 { -webkit-line-clamp: 2; }
.ed-line-3 { -webkit-line-clamp: 3; min-height: 4.8em; } /* min-höjd ⇒ lika höga kort */

/* ---- Startsidan ------------------------------------------------------------- */
/* "nytt" i H1: turkos organisk blob bakom ordet, mörkgrön text */
/* inline (inte inline-block) så att kommatecknet efter ordet aldrig hamnar ensamt på nästa rad */
.ed-blob-word { position: relative; display: inline; color: #084435; z-index: 0; }
.ed-blob-word::before {
	content: ""; position: absolute; inset: -4px -14px -6px -14px; z-index: -1; background: #20B58F;
	border-radius: 40% 60% 55% 45% / 60% 40% 60% 40%; transform: rotate(-1.5deg);
}
.ed-sticker-caps { transform: rotate(-2.5deg); }
.ed-hero-img-a { transform: rotate(4deg); box-shadow: 0 20px 40px rgba(0,0,0,.32); }
.ed-hero-img-b { transform: rotate(-6deg); box-shadow: 0 20px 40px rgba(0,0,0,.34); }
.ed-float-note { transform: rotate(-4deg); box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.ed-float-note-pink { transform: rotate(5deg); box-shadow: 0 10px 26px rgba(0,0,0,.28); }
.ed-btn-shadow { box-shadow: 0 10px 24px rgba(0,0,0,.22); }
.ed-btn-shadow:hover { transform: translateY(-2px); }
/* Pris i kurskort: WooCommerce skriver rea som <del>/<ins> */
/* (rea-priset först, det överstrukna efter – beloppet och "kr" i sig vänds aldrig) */
.ed-price { display: inline-flex; align-items: baseline; flex-wrap: wrap; column-gap: 8px; }
.ed-price ins { text-decoration: none; order: 1; }
.ed-price del { font-family: 'DM Sans', sans-serif; font-size: 13px; font-weight: 400; color: #9A93A0; order: 2; }
.ed-price .screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Inloggningsformuläret på startsidan ([edume_login_form]) */
.ed-login-form { display: flex; flex-direction: column; gap: 12px; }
.ed-login-row { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; gap: 12px; }
@media (max-width: 767px) { .ed-login-row { grid-template-columns: 1fr; } }
.ed-login-form input[type="text"], .ed-login-form input[type="password"] {
	background: #fff; border: 1.5px solid #E6E3E4; border-radius: 999px; padding: 15px 20px;
	font: 15px/1.2 'DM Sans', sans-serif; color: #084435; min-width: 0; width: 100%;
}
.ed-login-form input:focus { border-color: #20B58F; outline: none; }
.ed-login-form button {
	background: #084435; color: #fff; font: 700 16px/1.2 'DM Sans', sans-serif; padding: 15px 30px;
	border-radius: 999px; border: 0; cursor: pointer; transition: background-color .18s ease;
}
.ed-login-form button:hover { background: #277561; }
.ed-login-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding: 0 8px; font-size: 14px; }
.ed-login-meta label { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.ed-login-meta input[type="checkbox"] { accent-color: #084435; width: 16px; height: 16px; }
.ed-login-meta a { font-weight: 500; color: #277561; }
.ed-login-form .woocommerce-error, .ed-login-form .woocommerce-message { list-style: none; margin: 0; padding: 12px 18px; border-radius: 14px; background: #FFEEF6; color: #084435; }

/* ---- Kurser-listan ---------------------------------------------------------- */
.ed-filter-card { box-shadow: 0 14px 36px rgba(8,68,53,.14); }
.ed-filters { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)) minmax(0,1.2fr); gap: 14px; }
@media (max-width: 991px) { .ed-filters { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 560px) { .ed-filters { grid-template-columns: 1fr; } }
.ed-filter { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.ed-filter-label { font: 700 12px/1.2 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .06em; color: #084435; padding-left: 18px; }
.ed-filter select, .ed-filter input {
	appearance: none; -webkit-appearance: none; width: 100%; min-width: 0;
	background: #F7F5F6; border: 1.5px solid #F7F5F6; border-radius: 999px; padding: 14px 18px;
	font: 500 15px/1.2 'DM Sans', sans-serif; color: #084435; cursor: pointer;
}
.ed-filter select {
	padding-right: 44px;
	background: #F7F5F6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23084435' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 20px center;
}
.ed-filter input { cursor: text; font-weight: 400; }
.ed-filter select:focus, .ed-filter input:focus { border-color: #20B58F; outline: none; }
.ed-catalog-card[hidden], .ed-catalog-empty[hidden], .ed-catalog-reset[hidden], .ed-catalog-pager[hidden] { display: none !important; }
.ed-catalog-reset { background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.ed-catalog-pager button {
	display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; margin: 0; padding: 0 14px;
	height: 44px; min-width: 44px; border-radius: 999px; border: 0; background: #F7F5F6; color: #084435; text-align: center;
	font: 700 15px/1 'DM Sans', sans-serif; cursor: pointer; transition: background-color .15s ease;
}
.ed-catalog-pager .ed-pager-wide { padding: 0 22px; }
.ed-catalog-pager button:hover { background: #ECEAEB; }
.ed-catalog-pager button[aria-current="page"] { background: #084435; color: #fff; }
.ed-gift-icon { transform: rotate(-5deg); box-shadow: 0 12px 28px rgba(8,68,53,.22); }
.ed-gift-card .ed-sticker { transform: rotate(4deg); }

/* ---- Sälj onlinekurser ------------------------------------------------------ */
.ed-free-course-card { transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.ed-free-course-card.ed-free-course-card:hover { background-color: #ECEAEB; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(8,68,53,.10); }
.ed-free-course-img { transform: rotate(-4deg); box-shadow: 0 10px 24px rgba(8,68,53,.18); }
.ed-price-plan-featured { box-shadow: 0 20px 44px rgba(8,68,53,.28); }
.ed-pill-link { transition: background-color .15s ease; }
.ed-pill-link.ed-pill-link:hover { background-color: #ECEAEB; }
.ed-check-list { list-style: none; margin: 0; padding: 0; }
.ed-check-item { list-style: none; }
.ed-check-item::marker { content: none; }
.ed-check-item::before { content: "✓"; position: absolute; left: 0; top: 0; color: #20B58F; font-weight: 700; }
.ed-quote-card-dark { transform: rotate(-1deg); }
.ed-advice-img { transform: rotate(-3deg); box-shadow: 0 20px 40px rgba(8,68,53,.18); }
/* FAQ (<details>) */
.ed-faq-q { list-style: none; cursor: pointer; }
.ed-faq-q::-webkit-details-marker { display: none; }
.ed-faq-plus { transition: transform .2s ease; }
details[open] > .ed-faq-q .ed-faq-plus { transform: rotate(45deg); }
/* Kontaktformuläret (Bricks Form i .ed-form-card) */
.ed-form-card .brxe-form { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
@media (max-width: 560px) { .ed-form-card .brxe-form { grid-template-columns: 1fr; } }
.ed-form-card .brxe-form .form-group { width: auto !important; margin: 0; padding: 0; }
.ed-form-card .brxe-form .form-group:has(textarea), .ed-form-card .brxe-form .form-group:has(input[type="checkbox"]),
.ed-form-card .brxe-form .submit-button-wrapper, .ed-form-card .brxe-form .message { grid-column: 1 / -1; }
.ed-form-card .brxe-form label { font: 700 14px/1.3 'DM Sans', sans-serif; color: #084435; margin-bottom: 6px; display: block; }
.ed-form-card .brxe-form input:not([type="checkbox"]), .ed-form-card .brxe-form textarea {
	width: 100%; background: #F7F5F6; border: 1.5px solid #F7F5F6; border-radius: 14px; padding: 13px 16px;
	font: 400 15px/1.4 'DM Sans', sans-serif; color: #084435;
}
.ed-form-card .brxe-form input:focus, .ed-form-card .brxe-form textarea:focus { border-color: #20B58F; outline: none; }
.ed-form-card .brxe-form .required { color: #AD5787; }
.ed-form-card .brxe-form .options-wrapper li { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; }
.ed-form-card .brxe-form input[type="checkbox"] { accent-color: #084435; width: 18px; height: 18px; margin-top: 2px; flex-shrink: 0; }
.ed-form-card .brxe-form .bricks-button[type="submit"] {
	width: 100%; justify-content: center; background: #084435; color: #fff; border-radius: 999px; padding: 16px; font: 700 17px/1.2 'DM Sans', sans-serif;
}
.ed-form-card .brxe-form .bricks-button[type="submit"]:hover { background: #AD5787; }
.ed-form-card .brxe-form .message.success { background: #E6F4EE; color: #084435; border-radius: 16px; padding: 16px 20px; font-weight: 700; }

/* ---- Support ---------------------------------------------------------------- */
.ed-form-float .ed-form-card { box-shadow: 0 22px 50px rgba(8,68,53,.22); }
.ed-link-card { transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.ed-link-card.ed-link-card:hover { background-color: #ECEAEB; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(8,68,53,.10); }
/* Filfält (skärmdump) i Bricks Form: streckad ruta */
.ed-form-card .brxe-form .form-group:has(input[type="file"]) { grid-column: 1 / -1; }
.ed-form-card .brxe-form input[type="file"] {
	width: 100%; background: #F7F5F6; border: 2px dashed #D9D6D7; border-radius: 14px; padding: 14px 16px; font: 14px/1.4 'DM Sans', sans-serif; color: #6B7A74; cursor: pointer;
}
.ed-form-card .brxe-form input[type="file"]::file-selector-button {
	background: #084435; color: #fff; border: 0; border-radius: 999px; padding: 9px 16px; margin-right: 14px; font: 700 14px/1 'DM Sans', sans-serif; cursor: pointer;
}
.ed-form-card .brxe-form input[type="file"]::file-selector-button:hover { background: #AD5787; }

/* ---- Tips & råd (blogg) ----------------------------------------------------- */
.ed-cat-pill { transition: background-color .15s ease, color .15s ease; }
.ed-cat-pill.ed-cat-pill:hover { background-color: #1A6552; color: #fff; }
.ed-blog-featured-img { transform: rotate(-1.5deg); box-shadow: 0 20px 40px rgba(8,68,53,.18); }
.ed-blog-hero-img { box-shadow: 0 22px 50px rgba(8,68,53,.22); }
a.ed-blog-featured:hover .ed-link-cta { color: #277561; }
/* Inläggets text (Gutenberg-innehåll) */
.ed-post-body > p:first-child { font-size: 21px; line-height: 1.6; color: #084435; }
.ed-post-body p { margin: 0 0 22px; }
.ed-post-body h2 { font: 700 30px/1.15 'Schibsted Grotesk', sans-serif; letter-spacing: -.01em; color: #084435; margin: 44px 0 14px; }
.ed-post-body h3 { font: 700 22px/1.25 'Schibsted Grotesk', sans-serif; color: #084435; margin: 32px 0 10px; }
.ed-post-body ul, .ed-post-body ol { padding-left: 1.3em; margin: 0 0 22px; }
.ed-post-body li { margin-bottom: 6px; }
.ed-post-body li::marker { color: #20B58F; font-weight: 700; }
.ed-post-body blockquote, .ed-post-body .wp-block-quote {
	background: #F7F5F6; border: 0; border-radius: 24px; padding: 28px 32px; margin: 32px 0;
	font: 700 22px/1.4 'Schibsted Grotesk', sans-serif; color: #084435;
}
.ed-post-body blockquote p { margin: 0; font: inherit; }
.ed-post-body img { border-radius: 20px; height: auto; }
.ed-post-body a { font-weight: 700; color: #084435; border-bottom: 2px solid #20B58F; }
.ed-post-body figure { margin: 28px 0; }
.ed-post-body figcaption { font-size: 14px; color: #6B7A74; margin-top: 8px; }
.ed-copy-link { cursor: pointer; border: 0; }

/* ---- Lathundar ------------------------------------------------------------- */
@media (min-width: 760px) { .ed-guides-aside { position: sticky; top: 24px; } }
.ed-guides-nav a { display: flex; align-items: center; gap: 10px; width: 100%; border-radius: 14px; padding: 10px 14px; font: 500 15px/1.3 'DM Sans', sans-serif; color: #084435; transition: background-color .15s ease; }
.ed-guides-nav a:hover { background: #ECEAEB; }
.ed-guides-nav a.is-active { background: #084435; color: #fff; font-weight: 700; }
.ed-guides-hub { padding: 12px 14px !important; font-weight: 700 !important; }
.ed-guides-label { font: 700 12px/1.3 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .07em; color: #277561; padding: 12px 14px 6px; }
.ed-guides-nav ol { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.ed-guides-num { font: 700 13px/1 'Schibsted Grotesk', sans-serif; color: #277561; min-width: 18px; }
.ed-guides-nav a.is-active .ed-guides-num { color: #20B58F; }
.ed-guides-help { margin: 14px 6px 4px; padding: 16px; border-radius: 16px; background: #fff; font-size: 14px; }
.ed-guides-help strong { display: block; color: #084435; margin-bottom: 4px; }
.ed-guides-help a { font-weight: 700; color: #084435; border-bottom: 2px solid #20B58F; }
.ed-guides-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.ed-guide-card { display: flex; flex-direction: column; gap: 10px; background: #F7F5F6; border-radius: 22px; padding: 22px; transition: background-color .18s ease, transform .18s ease, box-shadow .18s ease; }
.ed-guide-card:hover { background: #ECEAEB; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(8,68,53,.10); }
.ed-guide-card-num { font: 700 36px/.9 'Schibsted Grotesk', sans-serif; color: #20B58F; }
.ed-guide-card-title { font: 700 18px/1.25 'Schibsted Grotesk', sans-serif; color: #084435; }
.ed-guide-card-desc { font-size: 14px; line-height: 1.5; color: #4F5F59; }
.ed-guide-card-more { margin-top: auto; align-self: flex-start; font-weight: 700; font-size: 14px; color: #084435; border-bottom: 2px solid #20B58F; padding-bottom: 1px; }
.ed-guides-prevnext { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 48px; }
@media (max-width: 560px) { .ed-guides-prevnext { grid-template-columns: 1fr; } }
.ed-guides-prevnext a { display: block; border-radius: 20px; padding: 18px 22px; transition: background-color .18s ease; }
.ed-guides-prevnext span { display: block; font: 700 12px/1.3 'DM Sans', sans-serif; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 4px; }
.ed-guides-prevnext strong { font: 700 17px/1.3 'Schibsted Grotesk', sans-serif; }
.ed-guides-prev { background: #F7F5F6; color: #084435; }
.ed-guides-prev span { color: #277561; }
.ed-guides-prev:hover { background: #ECEAEB; }
.ed-guides-next { background: #084435; color: #fff; text-align: right; grid-column: 2; }
.ed-guides-next span { color: #BFEBDD; }
.ed-guides-next:hover { background: #AD5787; }
@media (max-width: 560px) { .ed-guides-next { grid-column: 1; } }

/* Utbildarkorten: namnen är ofta långa (företag + namn) – mindre rubrik */
.ed-instructor-card h3 { font-size: 15px !important; font-weight: 600 !important; line-height: 1.3 !important; }

/* Standardsidor (Köpvillkor, Integritet …): ingen ingress-stil på första stycket, tabeller läsbara */
.ed-page-body > p:first-child { font-size: inherit; line-height: inherit; color: inherit; }
.ed-page-body table { width: 100%; border-collapse: collapse; margin: 0 0 22px; font-size: 15px; }
.ed-page-body th, .ed-page-body td { border-bottom: 1px solid #ECEAEB; padding: 10px 8px; text-align: left; vertical-align: top; }
