
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&display=swap');

/* =====================================================
   BASE — paid course only (postid-40136)
   ===================================================== */
body.postid-40136 {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif !important;
    background: #f7f7f7 !important;
}

/* HERO BANNER — Duolingo blue gradient */
body.postid-40136 .entry-hero,
body.postid-40136 .entry-hero.sfwd-courses-hero-section {
    background: linear-gradient(135deg, #1cb0f6 0%, #0a91d1 100%) !important;
    background-image: linear-gradient(135deg, #1cb0f6 0%, #0a91d1 100%) !important;
}
body.postid-40136 .entry-hero-container-inner,
body.postid-40136 .sfwd-courses-hero-section .entry-hero-container-inner {
    background: linear-gradient(135deg, #1cb0f6 0%, #0a7abf 40%, #0d5fa0 100%) !important;
    background-image: linear-gradient(135deg, #1cb0f6 0%, #0a7abf 40%, #0d5fa0 100%) !important;
    overflow: hidden !important;
}
body.postid-40136 .entry-hero-container-inner::before {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    width: 300px !important;
    height: 300px !important;
    background: rgba(255,255,255,0.07) !important;
    border-radius: 50% !important;
    top: -80px !important;
    right: -60px !important;
}
body.postid-40136 .entry-hero-container-inner::after {
    content: "" !important;
    display: block !important;
    position: absolute !important;
    width: 200px !important;
    height: 200px !important;
    background: rgba(255,255,255,0.05) !important;
    border-radius: 50% !important;
    bottom: -60px !important;
    left: 10% !important;
}
body.postid-40136 .hero-section-overlay { display: none !important; }
body.postid-40136 .entry-header .entry-title,
body.postid-40136 .entry-hero .entry-title {
    font-family: 'Nunito', sans-serif !important;
    font-size: 2.2rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
    padding: 2rem 0 !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.15) !important;
}

/* LEARNDASH WRAPPER */
body.postid-40136 .learndash-wrapper {
    font-family: 'Nunito', sans-serif !important;
    max-width: 860px !important;
    margin: 0 auto !important;
    padding: 0 1.5rem 3rem !important;
}

/* PROGRESS OUTER WRAPPER — green gradient card (Duolingo style) */
body.postid-40136 .learndash-shortcode-wrap-ld_infobar-40136_,
body.postid-40136 .learndash-shortcode-wrap[class*="ld_infobar-40136"] {
    background: linear-gradient(135deg, #58cc02 0%, #46a302 100%) !important;
    border-radius: 16px !important;
    padding: 10px !important;
    margin: 1.5rem 0 !important;
    box-shadow: 0 4px 0 #3d8f00 !important;
}

/* PROGRESS INNER CARD — white card inside green */
body.postid-40136 .learndash-wrapper .ld-course-status {
    background: #ffffff !important;
    border-radius: 10px !important;
    padding: 10px 20px !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
}
body.postid-40136 .learndash-wrapper .ld-progress {
    background: transparent !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
}
body.postid-40136 .learndash-wrapper .ld-progress-heading {
    margin-bottom: 0 !important;
}
body.postid-40136 .learndash-wrapper .ld-progress-stats {
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
    justify-content: flex-start !important;
    font-size: 0.875rem !important;
    margin-bottom: 0 !important;
}
body.postid-40136 .learndash-wrapper .ld-progress-percentage {
    color: #58cc02 !important;
    font-weight: 800 !important;
    font-size: 1rem !important;
    text-transform: uppercase !important;
}
body.postid-40136 .learndash-wrapper .ld-progress-steps {
    color: #aaa !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
}
body.postid-40136 .learndash-wrapper .ld-progress-bar {
    background: rgba(255,255,255,0.3) !important;
    background-color: #e5e5e5 !important;
    border-radius: 100px !important;
    height: 18px !important;
    overflow: hidden !important;
    padding: 0 !important;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.1) !important;
    margin-top: 8px !important;
}
body.postid-40136 .learndash-wrapper .ld-progress-bar-percentage {
    background: #01c425 !important;
    border-radius: 100px !important;
    height: 100% !important;
    transition: width 0.5s ease !important;
}

/* COURSE CONTENT LIST CONTAINER */
body.postid-40136 .learndash-wrapper .ld-item-list {
    background: transparent !important;
    border-radius: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    border: none !important;
    padding: 0 !important;
}

/* "FRISIAN CONTENT" SECTION HEADING — Duolingo green */
body.postid-40136 .ld-section-heading,
body.postid-40136 .learndash-wrapper .ld-section-heading,
body.postid-40136 .learndash-wrapper .ld-item-list .ld-section-heading {
    background: #58cc02 !important;
    background-color: #58cc02 !important;
    background-image: none !important;
    padding: 16px 24px !important;
    border-radius: 12px 12px 0 0 !important;
    margin: 0 !important;
    border: none !important;
    box-shadow: 0 3px 0 #46a302 !important;
}
body.postid-40136 .ld-section-heading h2,
body.postid-40136 .ld-section-heading h3,
body.postid-40136 .learndash-wrapper .ld-section-heading h2,
body.postid-40136 .learndash-wrapper .ld-section-heading h3 {
    font-family: 'Nunito', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* SECTION HEADERS INSIDE LIST ("INTRODUCTION", "FRISIAN KICK-START", etc.) */
body.postid-40136 .ld-lesson-section-heading,
body.postid-40136 .ld-item-list-section-heading,
body.postid-40136 .learndash-wrapper .ld-lesson-section-heading,
body.postid-40136 .learndash-wrapper .ld-item-list-section-heading,
body.postid-40136 .learndash-wrapper .ld-item-list .ld-lesson-section-heading,
body.postid-40136 .ld-item-list-section-heading .ld-lesson-section-heading {
    background: #58cc02 !important;
    background-color: #58cc02 !important;
    background-image: none !important;
    border: none !important;
    padding: 12px 24px !important;
    margin: 12px 0 0 !important;
    color: #ffffff !important;
    font-family: 'Nunito', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    border-radius: 12px 12px 0 0 !important;
    box-shadow: 0 3px 0 #46a302 !important;
}

/* LESSON LIST ITEMS — Duolingo card style */
body.postid-40136 .learndash-wrapper .ld-item-list-item,
body.postid-40136 .learndash-wrapper .ld-item-list .ld-item-list-item {
    background: #f0fcde !important;
    margin: 0 !important;
    border-radius: 0 !important;
    padding: 6px !important;
    border: none !important;
    border-bottom: 2px solid #e5f5c8 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background 0.15s ease !important;
}
body.postid-40136 .learndash-wrapper .ld-item-list .ld-item-list-item:last-child {
    border-bottom: none !important;
    border-radius: 0 0 12px 12px !important;
}
body.postid-40136 .learndash-wrapper .ld-item-list .ld-item-list-item:hover {
    background: #e5f5c8 !important;
    transform: none !important;
    box-shadow: none !important;
}

/* LESSON ITEM PREVIEW ROW — white card inside green tint */
body.postid-40136 .learndash-wrapper .ld-item-list-item-preview,
body.postid-40136 .learndash-wrapper .ld-item-list .ld-item-list-item-preview,
body.postid-40136 .ld-item-list-item-preview {
    padding: 16px 20px !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    background: #ffffff !important;
    border-radius: 10px !important;
    border: 1.5px solid #e5e5e5 !important;
    box-shadow: 0 2px 0 #d9d9d9 !important;
    margin: 0 !important;
    transition: box-shadow 0.15s ease !important;
}
body.postid-40136 .learndash-wrapper .ld-item-list-item:hover .ld-item-list-item-preview {
    border-color: #84d64a !important;
    box-shadow: 0 2px 0 #84d64a !important;
}

/* LESSON TITLE */
body.postid-40136 .learndash-wrapper .ld-item-title {
    font-family: 'Nunito', sans-serif !important;
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #3c3c3c !important;
    line-height: 1.4 !important;
}
body.postid-40136 .learndash-wrapper .ld-item-list-item:hover .ld-item-title {
    color: #46a302 !important;
}

/* COMPLETION CIRCLE */
body.postid-40136 .learndash-wrapper .ld-status-icon {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border: none !important;
    border-radius: 50% !important;
    background: #e5e5e5 !important;
    flex-shrink: 0 !important;
}
body.postid-40136 .learndash-wrapper .ld-status-complete .ld-status-icon {
    background: #58cc02 !important;
}

/* "1 LESSON" BADGE */
body.postid-40136 .learndash-wrapper .ld-item-component,
body.postid-40136 .learndash-wrapper .ld-item-list-item .ld-item-component {
    background: #fef3e2 !important;
    color: #ff9600 !important;
    border: 1.5px solid #ffd591 !important;
    border-radius: 100px !important;
    font-size: 0.6875rem !important;
    font-weight: 700 !important;
    padding: 0.15rem 0.6rem !important;
    display: inline-flex !important;
    align-items: center !important;
}

/* EXPAND BUTTON — Duolingo orange pill */
body.postid-40136 .learndash-wrapper .ld-expand-button,
body.postid-40136 .learndash-wrapper .ld-expand-button.ld-primary-color-hover {
    background: #fff !important;
    border: 2px solid #e5e5e5 !important;
    color: #777 !important;
    font-size: 0.6875rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    border-radius: 100px !important;
    padding: 0.3rem 1rem !important;
    cursor: pointer !important;
    transition: all 0.15s ease !important;
    margin-left: auto !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 0 #d9d9d9 !important;
}
body.postid-40136 .learndash-wrapper .ld-expand-button:hover {
    background: #ff9600 !important;
    border-color: #ff9600 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 0 #d17600 !important;
}
body.postid-40136 .learndash-wrapper .ld-expand-button .ld-icon,
body.postid-40136 .learndash-wrapper .ld-expand-button .ld-expand-button-icon {
    display: none !important;
}

/* TABLE LIST (Chapter Content) container */
body.postid-40136 .learndash-wrapper .ld-table-list {
    border-radius: 0 0 12px 12px !important;
    border: none !important;
    box-shadow: none !important;
    margin: 0 !important;
    overflow: hidden !important;
}

/* TABLE LIST HEADER (inner "Chapter Content") */
body.postid-40136 .learndash-wrapper .ld-table-list-header,
body.postid-40136 .learndash-wrapper .ld-primary-background {
    background: #1cb0f6 !important;
    background-color: #1cb0f6 !important;
    background-image: none !important;
    padding: 10px 20px !important;
    border-radius: 0 !important;
    box-shadow: 0 3px 0 #0a91d1 !important;
}
body.postid-40136 .learndash-wrapper .ld-table-list-header .ld-text,
body.postid-40136 .learndash-wrapper .ld-table-list-header .ld-table-list-title span {
    font-family: 'Nunito', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #ffffff !important;
}
body.postid-40136 .learndash-wrapper .ld-table-list-header .ld-item-icon {
    display: none !important;
}

/* QUIZ ITEMS GRID — override 2-col grid to vertical list */
body.postid-40136 .ld-table-list-items,
body.postid-40136 .learndash-wrapper .ld-table-list-items {
    display: block !important;
    grid-template-columns: unset !important;
    gap: 0 !important;
    padding: 6px !important;
    background: #e8f9d0 !important;
    border-top: none !important;
}

/* QUIZ ITEMS — match lesson item card style */
body.postid-40136 .ld-table-list-item,
body.postid-40136 .learndash-wrapper .ld-table-list-item {
    border-radius: 10px !important;
    background: #ffffff !important;
    border: 1.5px solid #e5e5e5 !important;
    border-bottom: none !important;
    box-shadow: 0 2px 0 #d9d9d9 !important;
    overflow: hidden !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 0 6px !important;
}
body.postid-40136 .ld-table-list-item:last-child {
    margin-bottom: 0 !important;
}
body.postid-40136 .ld-table-list-item:hover {
    transform: none !important;
    border-color: #84d64a !important;
    box-shadow: 0 2px 0 #84d64a !important;
    background: #fff !important;
}

/* QUIZ/TOPIC PREVIEW ROWS */
body.postid-40136 .ld-table-list-item-preview.ld-topic-row,
body.postid-40136 .ld-table-list-item.learndash-complete .ld-table-list-item-preview.ld-topic-row,
body.postid-40136 .ld-table-list-item.learndash-incomplete .ld-table-list-item-preview.ld-topic-row,
body.postid-40136 .ld-table-list-item-preview {
    border-radius: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 14px 16px !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
}

/* Quiz tooltip/item wrapper */
body.postid-40136 .ld-table-list-item-quiz,
body.postid-40136 .ld-tooltip {
    display: block !important;
    width: 100% !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    background: transparent !important;
}

/* HIDE EMPTY TABS: CSS rule removed 2026-09-25, it hid the whole lesson path for enrolled users. The JS below hides only truly empty tabs. */

/* Title sits in the content column (no hero banner) so white text was invisible. Added 2026-09-25. */
body.postid-40136 .entry-content-wrap .entry-header .entry-title { color: #1f2a37 !important; text-shadow: none !important; padding: 1.5rem 0 0.5rem !important; }

/* LINKS */
body.postid-40136 .learndash-wrapper a { color: #3c3c3c !important; text-decoration: none !important; }
body.postid-40136 .learndash-wrapper a:hover { color: #46a302 !important; }
body.postid-40136 .learndash-wrapper .ld-primary-color { color: #1cb0f6 !important; }
body.postid-40136 .learndash-wrapper .ld-secondary-color { color: #58cc02 !important; }
body.postid-40136 .learndash-wrapper .ld-primary-color-hover:hover { color: #1cb0f6 !important; background: transparent !important; }

