/* ===================================================================
   LessonCreate – Forside (pænere design)
   Farver afledt af sitets farvepalet.
   =================================================================== */

:root {
    --lc-front-bg: #f7f7f7;
    --lc-front-text: #1a1a1a;
    --lc-front-accent: #849ccf;
    --lc-front-soft: #e0cff7;
    --lc-front-deep: #2a3b66;
    --lc-front-muted: #696969;
    --lc-front-paper: #ded8ce;
    --lc-front-border: rgba(42, 59, 102, 0.12);
    --lc-front-white: #ffffff;
    --lc-front-radius: 24px;
    --lc-front-radius-sm: 16px;
    --lc-front-radius-lg: 32px;
    --lc-front-shadow: 0 4px 24px rgba(42, 59, 102, 0.08);
    --lc-front-shadow-hover: 0 12px 40px rgba(42, 59, 102, 0.14);
    --lc-front-transition: 220ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hero-karussel: klikbare dots + klik på billede til næste slide */
.lc-front-hero__carousel {
    cursor: pointer;
}

.lc-front-hero__carousel-slide {
    animation: none !important;
    transition: opacity 700ms ease-in-out;
}

.lc-front-hero__carousel-slide.is-active {
    opacity: 1;
}

.lc-front-hero__carousel-track .lc-front-hero__carousel-slide:not(.is-active) {
    opacity: 0;
}

.lc-front-hero__carousel-dot {
    appearance: none;
    border: 0;
    padding: 0;
    display: block;
    animation: none !important;
    cursor: pointer;
}

.lc-front-hero__carousel-dot.is-active {
    background: var(--lc-front-white);
    transform: scale(1.15);
}

.lc-front-hero__carousel-dot:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.95);
    outline-offset: 3px;
}

/* ---- Container – fuld bredde, uafhængig af temaets constraint ---- */
.lc-forside-page-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    background: var(--lc-front-bg);
    box-sizing: border-box;
}

/* Sørg for at temaets standardmargener ikke ødelægger vores layout */
.lc-forside-page-content .lc-front,
.lc-forside-page-content .lc-front * {
    box-sizing: border-box;
}

/* Undgå ekstra topmargin fra tema på første sektion */
.lc-forside-page-content .lc-front > section:first-child {
    margin-top: 0;
}

.lc-front {
    width: min(1400px, 100%);
    margin: 0 auto;
    padding: 0 20px 80px;
    color: var(--lc-front-text);
    display: grid;
    gap: 0;
}

/* ===================================================================
   Hero – fuld bredde, stærkere udtryk
   =================================================================== */
.lc-front-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 40px;
    align-items: stretch;
    margin: 0 0 64px;
    padding: 48px 24px 56px;
    background: linear-gradient(160deg, var(--lc-front-deep) 0%, #1e2a47 40%, #2a3b66 100%);
    border-radius: var(--lc-front-radius-lg);
    box-shadow: 0 24px 56px rgba(42, 59, 102, 0.25);
    position: relative;
    overflow: hidden;
}

.lc-front-hero::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(ellipse, rgba(224, 207, 247, 0.12) 0%, transparent 70%);
    pointer-events: none;
}

.lc-front-hero__text {
    position: relative;
    z-index: 1;
    color: var(--lc-front-white);
    padding-left: 8px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lc-front-hero__text h1 {
    margin: 0 0 20px;
    font-size: clamp(1.85rem, 4vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--lc-front-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.lc-front-hero__lead {
    margin: 0 0 32px;
    font-size: clamp(1rem, 1.7vw, 1.12rem);
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.92);
    max-width: 52ch;
}

.lc-front-hero__bullets {
    margin: 0 0 28px;
    padding: 0 0 0 1.2rem;
    display: grid;
    gap: 10px;
    max-width: 56ch;
}

.lc-front-hero__bullets li {
    margin: 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: clamp(1rem, 1.5vw, 1.08rem);
    line-height: 1.6;
}

.lc-front-hero__bullets li::marker {
    color: rgba(224, 207, 247, 0.95);
}

.lc-front-hero__actions {
    margin: 0 0 18px;
    width: 100%;
}

.lc-front-hero__social-login {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 14px;
}

.lc-front-hero .lc-front-cta--primary {
    padding: 16px 36px;
    font-size: 1.06rem;
    box-shadow: 0 10px 28px rgba(132, 156, 207, 0.48);
    width: 100%;
}

.lc-front-hero__student {
    max-width: 56ch;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.lc-front-hero__student-row {
    display: flex;
    align-items: flex-end;
    gap: 14px;
}

.lc-front-hero__student-label {
    margin: 0 0 6px;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.lc-front-hero__student-text {
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.98rem;
    line-height: 1.6;
    flex: 1;
}

.lc-front-hero .lc-front-cta--secondary {
    padding: 12px 22px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.55);
    color: rgba(255, 255, 255, 0.94);
    box-shadow: none;
    font-size: 0.97rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.lc-front-hero .lc-front-cta--secondary:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.75);
    box-shadow: none;
    transform: none;
}

.lc-front-hero .lc-front-cta--secondary:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 3px;
}

.lc-front-hero__media {
    margin: 0;
    position: relative;
    z-index: 1;
    border-radius: var(--lc-front-radius);
    overflow: hidden;
    box-shadow: var(--lc-front-shadow-hover);
    min-height: clamp(320px, 34vw, 500px);
    height: 100%;
}

.lc-front-hero__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(42, 59, 102, 0.06) 0%, rgba(42, 59, 102, 0.18) 100%);
    pointer-events: none;
}

/* Hero karussel – blød crossfade, 40 s samlet cyklus (10 s per billede) */
.lc-front-hero__carousel {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
}

.lc-front-hero__carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.lc-front-hero__carousel-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.lc-front-hero__carousel-slide:nth-child(1) { animation: lc-hero-fade-1 40s ease-in-out infinite; }
.lc-front-hero__carousel-slide:nth-child(2) { animation: lc-hero-fade-2 40s ease-in-out infinite; }
.lc-front-hero__carousel-slide:nth-child(3) { animation: lc-hero-fade-3 40s ease-in-out infinite; }
.lc-front-hero__carousel-slide:nth-child(4) { animation: lc-hero-fade-4 40s ease-in-out infinite; }

.lc-front-hero__carousel-slide img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    transform: scale(1.04);
}

/* Billede 2, 3 og 4: zoomet ud til fuld højde (hele billedet synligt) */
.lc-front-hero__carousel-slide:nth-child(2) img,
.lc-front-hero__carousel-slide:nth-child(3) img,
.lc-front-hero__carousel-slide:nth-child(4) img {
    object-fit: contain;
    transform: none;
}

/* Crossfade: ca. 2 s fade ind/ud mellem hvert billede – roligere overgang */
@keyframes lc-hero-fade-1 {
    0%, 100% { opacity: 0; }
    5% { opacity: 1; }
    20% { opacity: 1; }
    25% { opacity: 0; }
}

@keyframes lc-hero-fade-2 {
    0%, 25% { opacity: 0; }
    30% { opacity: 1; }
    45% { opacity: 1; }
    50% { opacity: 0; }
}

@keyframes lc-hero-fade-3 {
    0%, 50% { opacity: 0; }
    55% { opacity: 1; }
    70% { opacity: 1; }
    75% { opacity: 0; }
}

@keyframes lc-hero-fade-4 {
    0%, 75% { opacity: 0; }
    80% { opacity: 1; }
    95% { opacity: 1; }
    100% { opacity: 0; }
}

/* Karussel-indikatorer (dots) – viser aktiv slide */
.lc-front-hero__carousel-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(42, 59, 102, 0.5);
    border-radius: 20px;
    backdrop-filter: blur(6px);
}

.lc-front-hero__carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    transition: background var(--lc-front-transition), transform var(--lc-front-transition);
}

.lc-front-hero__carousel-dot:nth-child(1) { animation: lc-hero-dot-1 40s ease-in-out infinite; }
.lc-front-hero__carousel-dot:nth-child(2) { animation: lc-hero-dot-2 40s ease-in-out infinite; }
.lc-front-hero__carousel-dot:nth-child(3) { animation: lc-hero-dot-3 40s ease-in-out infinite; }
.lc-front-hero__carousel-dot:nth-child(4) { animation: lc-hero-dot-4 40s ease-in-out infinite; }

@keyframes lc-hero-dot-1 {
    0%, 24% { background: var(--lc-front-white); transform: scale(1.15); }
    25%, 100% { background: rgba(255, 255, 255, 0.5); transform: scale(1); }
}

@keyframes lc-hero-dot-2 {
    0%, 25% { background: rgba(255, 255, 255, 0.5); transform: scale(1); }
    26%, 49% { background: var(--lc-front-white); transform: scale(1.15); }
    50%, 100% { background: rgba(255, 255, 255, 0.5); transform: scale(1); }
}

@keyframes lc-hero-dot-3 {
    0%, 50% { background: rgba(255, 255, 255, 0.5); transform: scale(1); }
    51%, 74% { background: var(--lc-front-white); transform: scale(1.15); }
    75%, 100% { background: rgba(255, 255, 255, 0.5); transform: scale(1); }
}

@keyframes lc-hero-dot-4 {
    0%, 75% { background: rgba(255, 255, 255, 0.5); transform: scale(1); }
    76%, 99% { background: var(--lc-front-white); transform: scale(1.15); }
    100% { background: rgba(255, 255, 255, 0.5); transform: scale(1); }
}

/* ===================================================================
   CTA-knap – mere fremtrædende
   =================================================================== */
.lc-front-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.01em;
    background: var(--lc-front-accent);
    color: var(--lc-front-white);
    transition: background-color var(--lc-front-transition), transform var(--lc-front-transition), box-shadow var(--lc-front-transition);
    box-shadow: 0 6px 20px rgba(132, 156, 207, 0.4);
}

.lc-front-cta:hover {
    background: #6b8bc4;
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(132, 156, 207, 0.45);
}

.lc-front-cta:focus-visible {
    outline: 3px solid var(--lc-front-accent);
    outline-offset: 3px;
}

/* ===================================================================
   Sektionsoverskrifter – fælles stil
   =================================================================== */
.lc-front-examples h2,
.lc-front-views__intro h2,
.lc-front-video__info h2,
.lc-front-plus__text h2,
.lc-front-platforms__text h2,
.lc-front-workflow h2 {
    margin: 0 0 28px;
    font-size: clamp(1.5rem, 2.8vw, 2.1rem);
    font-weight: 700;
    color: var(--lc-front-text);
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* ===================================================================
   Lektionsvisninger – tydelig social proof
   =================================================================== */
.lc-front-views {
    margin: 0 0 72px;
    padding: clamp(24px, 3.2vw, 34px);
    background: var(--lc-front-white);
    border: 1px solid var(--lc-front-border);
    border-radius: var(--lc-front-radius);
    box-shadow: var(--lc-front-shadow);
    display: grid;
    gap: 18px;
}

.lc-front-views__intro {
    max-width: 72ch;
}

.lc-front-views__intro p {
    margin: 0;
    color: var(--lc-front-muted);
    line-height: 1.65;
    font-size: 1rem;
}

.lc-front-views__cards {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.lc-front-views .lc-lesson-views-counter {
    margin: 0;
    border-left: 0;
    border: 1px solid rgba(132, 156, 207, 0.38);
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(132, 156, 207, 0.12) 0%, rgba(224, 207, 247, 0.2) 100%);
    box-shadow: none;
    gap: 10px 20px;
    min-height: 0;
    padding: 18px 22px;
}

.lc-front-views .lc-lesson-views-counter__title {
    font-size: 1.03rem;
    font-weight: 700;
}

.lc-front-views .lc-lesson-views-counter__value {
    font-size: clamp(2.1rem, 6vw, 3.5rem);
}

.lc-front-views .lc-lesson-views-counter__subtitle {
    font-size: 0.96rem;
}

.lc-front-views .lc-lesson-views-counter--teachers {
    border-color: rgba(42, 59, 102, 0.25);
    background: linear-gradient(135deg, rgba(224, 207, 247, 0.2) 0%, rgba(132, 156, 207, 0.12) 100%);
}

/* ===================================================================
   Skriftlighedstræning - ny forsideboks
   =================================================================== */
.lc-front-writing {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
    gap: 22px;
    align-items: stretch;
    margin: 0 0 72px;
    padding: clamp(24px, 3vw, 34px);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(132, 156, 207, 0.08));
    border: 1px solid rgba(132, 156, 207, 0.28);
    border-radius: var(--lc-front-radius);
    box-shadow: var(--lc-front-shadow);
    position: relative;
    overflow: hidden;
}

.lc-front-writing::before {
    content: "";
    position: absolute;
    inset: 18px auto auto 18px;
    width: 8px;
    height: calc(100% - 36px);
    border-radius: 999px;
    background: linear-gradient(180deg, var(--lc-front-accent), var(--lc-front-soft));
}

.lc-front-writing__eyebrow {
    margin: 0 0 10px;
    color: var(--lc-front-accent);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.lc-front-writing__text h2 {
    margin: 0 0 10px;
    color: var(--lc-front-text);
    font-size: clamp(1.42rem, 2.4vw, 1.9rem);
    line-height: 1.22;
    font-weight: 800;
}

.lc-front-writing__text p:not(.lc-front-writing__eyebrow),
.lc-front-writing__aside p {
    margin: 0 0 10px;
    color: var(--lc-front-muted);
    line-height: 1.58;
    font-size: 0.98rem;
}

.lc-front-writing__text p:last-child,
.lc-front-writing__aside p:last-of-type {
    margin-bottom: 0;
}

.lc-front-writing__text,
.lc-front-writing__aside {
    position: relative;
    z-index: 1;
}

.lc-front-writing__text {
    padding-left: 18px;
}

.lc-front-writing__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 16px;
}

.lc-front-writing__chips span {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border: 1px solid rgba(42, 59, 102, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.74);
    color: var(--lc-front-deep);
    font-size: 0.86rem;
    font-weight: 700;
}

.lc-front-writing__aside {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    padding: 20px;
    border: 1px solid rgba(132, 156, 207, 0.34);
    border-radius: var(--lc-front-radius-sm);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 10px 24px rgba(42, 59, 102, 0.07);
}

.lc-front-writing__aside strong {
    color: var(--lc-front-deep);
    font-size: 1.08rem;
}

.lc-front-writing__aside .lc-front-cta {
    width: 100%;
    min-height: 44px;
    padding-block: 11px;
    padding-inline: 18px;
}

/* ===================================================================
   Eksempler – pænere kort med label
   =================================================================== */
.lc-front-examples {
    text-align: center;
    margin-bottom: 72px;
}

.lc-front-examples > h2 {
    position: relative;
    padding-bottom: 12px;
}

.lc-front-examples > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lc-front-accent), var(--lc-front-soft));
}

/* Tre lige kolonner – minmax(0,1fr) så kolonnerne kan krympes og ikke tvinger wrap */
.lc-front-examples__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    align-items: stretch;
}

/* Defensive: flatten wrapper tags injected by content filters. */
.lc-front-examples__grid > p,
.lc-front-workflow__grid > p {
    display: contents;
    margin: 0;
}

.lc-front-examples__grid > br,
.lc-front-workflow__grid > br {
    display: none;
}

/* Kort skal fylde grid-cellen og kunne krympes – undgår misalignment og huller */
.lc-front-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    width: 100%;
    background: var(--lc-front-white);
    border: 1px solid var(--lc-front-border);
    border-radius: var(--lc-front-radius-sm);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform var(--lc-front-transition), box-shadow var(--lc-front-transition), border-color var(--lc-front-transition);
    box-shadow: var(--lc-front-shadow);
}

.lc-front-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--lc-front-shadow-hover);
    border-color: rgba(132, 156, 207, 0.4);
}

.lc-front-card__media {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
    min-width: 0;
}

.lc-front-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-front-card:hover .lc-front-card__media img {
    transform: scale(1.1);
}

.lc-front-card__body {
    flex: 1;
    min-width: 0;
    padding: 24px 24px 28px;
    text-align: left;
}

.lc-front-card__body h3 {
    margin: 0 0 8px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--lc-front-deep);
}

.lc-front-card__body p {
    margin: 0;
    color: var(--lc-front-muted);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ===================================================================
   Video + trin – mere luft og tydelige numre
   =================================================================== */
.lc-front-video {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 72px;
    background: var(--lc-front-white);
    border: 1px solid var(--lc-front-border);
    border-radius: var(--lc-front-radius);
    padding: clamp(36px, 4vw, 52px);
    box-shadow: var(--lc-front-shadow);
}

.lc-front-video__info h2 {
    margin: 0 0 8px;
}

.lc-front-video__subtitle {
    margin: 0 0 24px;
    color: var(--lc-front-muted);
    font-size: 1.05rem;
}

.lc-front-steps {
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    gap: 14px;
    counter-reset: lc-step;
    list-style: none;
}

.lc-front-steps li {
    counter-increment: lc-step;
    position: relative;
    padding-left: 48px;
    line-height: 1.6;
    color: var(--lc-front-text);
    font-size: 1rem;
}

.lc-front-steps li::before {
    content: counter(lc-step);
    position: absolute;
    left: 0;
    top: -2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--lc-front-deep), #3d4d7a);
    color: var(--lc-front-white);
    font-weight: 700;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(42, 59, 102, 0.25);
}

.lc-front-video__embed {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    border-radius: var(--lc-front-radius-sm);
    overflow: hidden;
    box-shadow: var(--lc-front-shadow-hover);
}

.lc-front-video__embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ===================================================================
   LessonCreate Plus – premium sektion
   =================================================================== */
.lc-front-plus {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: stretch;
    margin-bottom: 72px;
    padding: clamp(40px, 4.5vw, 56px);
    background: linear-gradient(135deg, rgba(224, 207, 247, 0.25) 0%, rgba(222, 216, 206, 0.2) 100%);
    border-radius: var(--lc-front-radius);
    border: 1px solid var(--lc-front-border);
}

.lc-front-plus__text,
.lc-front-plus__media {
    min-width: 0;
}

.lc-front-plus__text h2 {
    margin: 0 0 20px;
}

.lc-front-plus__text > p {
    margin: 0 0 18px;
    line-height: 1.7;
    font-size: 1.05rem;
    color: var(--lc-front-text);
}

.lc-front-plus__features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: grid;
    gap: 14px;
}

.lc-front-plus__features li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 18px;
    background: var(--lc-front-white);
    border-radius: 12px;
    border: 1px solid var(--lc-front-border);
    line-height: 1.5;
    font-size: 0.98rem;
    color: var(--lc-front-text);
    transition: border-color var(--lc-front-transition), box-shadow var(--lc-front-transition);
}

.lc-front-plus__tier {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.lc-front-plus__tier-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    line-height: 1.25;
}

.lc-front-plus__tier-desc {
    margin: 0;
    color: var(--lc-front-muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.lc-front-plus__tier-tag {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    border: 1px solid rgba(42, 59, 102, 0.12);
    background: rgba(42, 59, 102, 0.06);
    color: var(--lc-front-deep);
}

.lc-front-plus__tier-tag--standard {
    background: rgba(132, 156, 207, 0.18);
    border-color: rgba(132, 156, 207, 0.35);
    color: var(--lc-front-deep);
}

.lc-front-plus__tier-tag--plus {
    background: rgba(224, 207, 247, 0.35);
    border-color: rgba(224, 207, 247, 0.6);
    color: var(--lc-front-deep);
}

.lc-front-plus__features li:hover {
    border-color: rgba(132, 156, 207, 0.35);
    box-shadow: var(--lc-front-shadow);
}

.lc-front-plus__icon {
    flex-shrink: 0;
    font-size: 1.35rem;
    width: 2rem;
    text-align: center;
}

.lc-front-plus__media {
    margin: 0;
    width: 100%;
    max-width: 100%;
    border-radius: var(--lc-front-radius);
    overflow: hidden;
    box-shadow: var(--lc-front-shadow-hover);
    min-height: clamp(360px, 36vw, 720px);
    height: 100%;
}

.lc-front-plus__media img {
    width: 100%;
    max-width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transform: scale(1.03);
}

/* ===================================================================
   Platforme – ren og luftig
   =================================================================== */
.lc-front-platforms {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 72px;
    background: var(--lc-front-white);
    border: 1px solid var(--lc-front-border);
    border-radius: var(--lc-front-radius);
    padding: clamp(36px, 4vw, 52px);
    box-shadow: var(--lc-front-shadow);
}

.lc-front-platforms__media {
    margin: 0;
    border-radius: var(--lc-front-radius-sm);
    overflow: hidden;
    box-shadow: var(--lc-front-shadow);
}

.lc-front-platforms__media img {
    width: 100%;
    height: auto;
    display: block;
}

.lc-front-platforms__text h2 {
    margin: 0 0 20px;
}

.lc-front-platforms__text ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 14px;
}

.lc-front-platforms__text li {
    position: relative;
    padding-left: 28px;
    line-height: 1.65;
    color: var(--lc-front-muted);
    font-size: 1.02rem;
}

.lc-front-platforms__text li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--lc-front-accent);
}

/* ===================================================================
   Tre trin (workflow) – nummererede kort
   =================================================================== */
.lc-front-workflow {
    text-align: center;
    margin-bottom: 0;
}

.lc-front-workflow > h2 {
    position: relative;
    margin-bottom: 40px;
    padding-bottom: 14px;
}

.lc-front-workflow > h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--lc-front-accent), var(--lc-front-soft));
}

.lc-front-workflow__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
    width: 100%;
    align-items: stretch;
}

.lc-front-workflow__step {
    position: relative;
    min-width: 0;
    width: 100%;
    background: var(--lc-front-white);
    border: 1px solid var(--lc-front-border);
    border-radius: var(--lc-front-radius-sm);
    overflow: hidden;
    transition: transform var(--lc-front-transition), box-shadow var(--lc-front-transition);
    box-shadow: var(--lc-front-shadow);
}

.lc-front-workflow__step:hover {
    transform: translateY(-4px);
    box-shadow: var(--lc-front-shadow-hover);
}

.lc-front-workflow__step figure {
    margin: 0;
    overflow: hidden;
    aspect-ratio: 16 / 10;
}

.lc-front-workflow__step figure img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 400ms cubic-bezier(0.4, 0, 0.2, 1);
}

.lc-front-workflow__step:hover figure img {
    transform: scale(1.03);
}

.lc-front-workflow__step h3 {
    margin: 22px 24px 10px;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--lc-front-deep);
    text-align: left;
}

.lc-front-workflow__step p {
    margin: 0 24px 26px;
    color: var(--lc-front-muted);
    line-height: 1.6;
    font-size: 0.97rem;
    text-align: left;
}

/* ===================================================================
   Responsive – tablet
   =================================================================== */
@media (max-width: 900px) {
    .lc-front {
        padding: 0 18px 64px;
    }

    .lc-front-hero {
        grid-template-columns: 1fr;
        margin: 0 0 48px;
        padding: 40px 20px 44px;
        border-radius: var(--lc-front-radius);
    }

    .lc-front-hero__text {
        padding-left: 0;
    }

    .lc-front-hero__lead {
        max-width: none;
    }

    .lc-front-hero__bullets {
        max-width: none;
    }

    .lc-front-hero__media {
        min-height: 260px;
    }

    .lc-front-examples {
        margin-bottom: 56px;
    }

    .lc-front-views {
        margin-bottom: 56px;
        padding: 24px 20px;
    }

    .lc-front-views__cards {
        grid-template-columns: 1fr;
    }

    .lc-front-writing {
        grid-template-columns: 1fr;
        margin-bottom: 56px;
        padding: 30px 24px;
    }

    /* Eksempler forbliver 3 kolonner ved 900px – skift kun ved 768px (se nedenfor) */

    .lc-front-video {
        grid-template-columns: 1fr;
        margin-bottom: 56px;
        padding: 32px 24px;
    }

    .lc-front-plus {
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 56px;
        padding: 32px 24px;
    }

    .lc-front-plus__media {
        min-height: 300px;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .lc-front-platforms {
        grid-template-columns: 1fr;
        margin-bottom: 56px;
        padding: 32px 24px;
    }

    .lc-front-platforms__media {
        order: -1;
    }

    /* Workflow forbliver 3 kolonner ved 900px – skift kun ved 768px (se nedenfor) */
}

/* ===================================================================
   Eksempler + workflow: 2 kolonner fra 768px (så 3 kolonner vises på desktop)
   =================================================================== */
@media (max-width: 768px) {
    .lc-front-examples__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .lc-front-workflow__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .lc-front-workflow__grid .lc-front-workflow__step:nth-child(3) {
        grid-column: 1 / -1;
        max-width: 400px;
        justify-self: center;
    }
}

/* ===================================================================
   Responsive – mobil
   =================================================================== */
@media (max-width: 640px) {
    .lc-front {
        /* Mindre sidepadding = boksene fylder mere på mobil */
        padding: 0 0px 48px;
        /* Let kompensation for skub til højre på telefon – diskret til venstre */
        transform: translateX(0px);
    }

    .lc-front-hero {
        margin: 0 0 40px;
        padding: 32px 16px 36px;
        border-radius: var(--lc-front-radius-sm);
    }

    .lc-front-hero__text h1 {
        margin-bottom: 16px;
    }

    .lc-front-hero__lead {
        margin-bottom: 24px;
    }

    .lc-front-hero__bullets {
        margin-bottom: 22px;
    }

    .lc-front-hero__student {
        padding-top: 12px;
    }

    .lc-front-hero__student-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .lc-front-hero__media {
        min-height: 220px;
    }

    .lc-front-examples {
        margin-bottom: 44px;
    }

    .lc-front-views {
        margin-bottom: 44px;
        padding: 20px 16px;
    }

    .lc-front-views .lc-lesson-views-counter {
        padding: 14px 16px;
    }

    .lc-front-writing {
        margin-bottom: 44px;
        padding: 24px 18px;
    }

    .lc-front-writing__aside .lc-front-cta {
        width: 100%;
    }

    .lc-front-examples__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lc-front-video {
        padding: 24px 18px;
        margin-bottom: 44px;
    }

    .lc-front-steps li {
        padding-left: 44px;
    }

    .lc-front-steps li::before {
        width: 32px;
        height: 32px;
        font-size: 0.88rem;
    }

    .lc-front-plus {
        padding: 24px 18px;
        margin-bottom: 44px;
    }

    .lc-front-plus__features li {
        padding: 12px 14px;
    }

    .lc-front-plus__text .lc-front-cta {
        width: 100%;
    }

    .lc-front-platforms {
        padding: 24px 18px;
        margin-bottom: 44px;
    }

    .lc-front-workflow__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .lc-front-workflow__grid .lc-front-workflow__step:nth-child(3) {
        grid-column: auto;
        max-width: none;
        justify-self: stretch;
    }

    .lc-front-workflow__step h3,
    .lc-front-workflow__step p {
        margin-left: 20px;
        margin-right: 20px;
    }

    .lc-front-workflow__step p {
        margin-bottom: 22px;
    }
}
