
/* =====================================================
   CLE4Less Front Page
   Section 1: Why Attorneys Choose CLE4Less
   ===================================================== */

.cle-home-benefits {
    width: 100%;
    padding: 88px 24px 96px;
    background: #F4EFE3;
    color: #1E2A38;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.cle-home-benefits *,
.cle-home-benefits *::before,
.cle-home-benefits *::after {
    box-sizing: border-box;
}

.cle-home-benefits-inner {
    max-width: 1180px;
    margin: 0 auto;
}

/* Section heading */

.cle-home-benefits-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.cle-home-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #8C6239;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;
    text-transform: uppercase;
}

.cle-home-benefits-heading h2 {
    margin: 0 0 20px;
    color: #1E2A38;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 600;
    line-height: 1.2;
}

.cle-home-benefits-heading h2 span {
    color: #8C6239;
}

.cle-home-benefits-heading p {
    margin: 0 auto;
    max-width: 660px;
    color: #5F6872;
    font-size: 16px;
    line-height: 1.75;
}

/* Benefit cards */

.cle-home-benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.cle-home-benefit-card {
    position: relative;
    padding: 32px 26px 36px;
    border: 1px solid #E5DED5;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(30, 42, 56, 0.05);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.cle-home-benefit-card:hover {
    transform: translateY(-5px);
    border-color: #C9AE8A;
    box-shadow: 0 14px 30px rgba(30, 42, 56, 0.1);
}

/* Numbered markers */

.cle-home-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 28px;
    border-radius: 16px;
    background: #F4EFE3;
    color: #8C6239;
    font-size: 19px;
    font-weight: 700;
    letter-spacing: -0.03em;
}

/* Card typography */

.cle-home-benefit-card h3 {
    margin: 0 0 14px;
    color: #1E2A38;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.35;
}

.cle-home-benefit-card p {
    margin: 0;
    color: #5F6872;
    font-size: 14px;
    line-height: 1.7;
}

/* Tablet */

@media (max-width: 1024px) {
    .cle-home-benefits {
        padding: 72px 24px 80px;
    }

    .cle-home-benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Mobile */

@media (max-width: 767px) {
    .cle-home-benefits {
        padding: 56px 16px 64px;
    }

    .cle-home-benefits-heading {
        margin-bottom: 32px;
    }

    .cle-home-benefits-heading h2 {
        font-size: 30px;
    }

    .cle-home-benefits-heading p {
        font-size: 15px;
    }

    .cle-home-benefits-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .cle-home-benefit-card {
        padding: 26px 24px;
    }

    .cle-home-benefit-icon {
        margin-bottom: 20px;
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .cle-home-benefit-card {
        transition: none;
    }

    .cle-home-benefit-card:hover {
        transform: none;
    }
}



/* =====================================================
   CLE4Less Front Page
   Section 2: Featured CLE Courses
   ===================================================== */

.cle-home-featured {
    width: 100%;
    padding: 88px 24px 96px;
    color: #1E2A38;
    font-family: 'Roboto', sans-serif;
    box-sizing: border-box;
}

.cle-home-featured *,
.cle-home-featured *::before,
.cle-home-featured *::after {
    box-sizing: border-box;
}

.cle-home-featured-inner {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
}

/* Heading */

.cle-home-featured-heading {
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.cle-home-featured-eyebrow {
    display: block;
    margin-bottom: 16px;
    color: #8C6239;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    line-height: 1.5;
}

.cle-home-featured-heading h2 {
    margin: 0 0 20px;
    color: #1E2A38;
    font-size: clamp(30px, 3vw, 44px);
    font-weight: 600;
    line-height: 1.2;
}

.cle-home-featured-heading h2 span {
    color: #8C6239;
}

.cle-home-featured-heading p {
    max-width: 660px;
    margin: 0 auto;
    color: #5F6872;
    font-size: 16px;
    line-height: 1.75;
}

/* Three-column course grid */

.cle-home-featured-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: stretch;
}

/* Individual course card */

.cle-home-featured-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid #E5DED5;
    border-radius: 18px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(30, 42, 56, 0.07);
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.cle-home-featured-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 34px rgba(30, 42, 56, 0.14);
}

/* Branded navy course artwork */

.cle-home-featured-art {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 270px;
    padding: 26px;
    overflow: hidden;
    background: #1E2A38;
    color: #FFFFFF;
}

.cle-home-featured-art::before {
    content: '';
    position: absolute;
    top: -75px;
    right: -85px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(57, 99, 140, 0.24);
}

.cle-home-featured-art::after {
    content: '';
    position: absolute;
    bottom: -105px;
    left: -55px;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(199, 146, 62, 0.1);
}

.cle-home-featured-brand,
.cle-home-featured-art-content {
    position: relative;
    z-index: 1;
}

.cle-home-featured-brand {
    color: #C3B09E;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.cle-home-featured-position {
    display: block;
    margin-bottom: 12px;
    color: #C7923E;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.cle-home-featured-art h3 {
    margin: 0 0 22px;
    color: #FFFFFF;
    font-size: clamp(19px, 1.65vw, 24px);
    font-weight: 500;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.cle-home-featured-gold-line {
    display: block;
    width: 52px;
    height: 3px;
    border-radius: 3px;
    background: #C7923E;
}

/* Course details */

.cle-home-featured-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 26px;
}

.cle-home-featured-practice {
    color: #1E2A38;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
}

.cle-home-featured-hours,
.cle-home-featured-mcle {
    color: #5F6872;
    font-size: 13px;
    line-height: 1.5;
}

/* Course button */

.cle-home-featured-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: auto;
    padding: 12px 18px;
    border-radius: 8px;
    background: #8C6239;
    color: #FFFFFF !important;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.cle-home-featured-button:hover {
    background: #A87949;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}

/* Empty state and admin notices */

.cle-home-featured-empty {
    text-align: center;
    color: #5F6872;
    font-size: 15px;
}

.cle-home-featured-admin-notice {
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid #D6A14A;
    border-radius: 10px;
    background: #FFF8EA;
    color: #6E4C2C;
    font-size: 14px;
    line-height: 1.6;
}

/* Tablet */

@media (max-width: 1024px) {
    .cle-home-featured {
        padding: 72px 24px 80px;
    }

    .cle-home-featured-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cle-home-featured-art {
        min-height: 250px;
    }
}

/* Mobile */

@media (max-width: 767px) {
    .cle-home-featured {
        padding: 56px 16px 64px;
    }

    .cle-home-featured-heading {
        margin-bottom: 32px;
    }

    .cle-home-featured-heading h2 {
        font-size: 30px;
    }

    .cle-home-featured-heading p {
        font-size: 15px;
    }

    .cle-home-featured-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cle-home-featured-art {
        min-height: 230px;
        padding: 24px;
    }

    .cle-home-featured-art h3 {
        font-size: 22px;
    }

    .cle-home-featured-card-body {
        padding: 24px;
    }
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .cle-home-featured-card,
    .cle-home-featured-button {
        transition: none;
    }

    .cle-home-featured-card:hover,
    .cle-home-featured-button:hover {
        transform: none;
    }
}

/* Featured Courses - Brown Section */

.cle-home-featured-eyebrow {
    color: #F4EFE3;
}

.cle-home-featured-heading h2,
.cle-home-featured-heading h2 span {
    color: #FFFFFF;
}

.cle-home-featured-heading p {
    color: #F4EFE3;
}



/* =====================================================
   Featured Courses - Equal Artwork Heights & Alignment
   ===================================================== */

@media (min-width: 1025px) {

    .cle-home-featured-art {
        height: 320px;
        min-height: 320px;
        justify-content: flex-start;
    }

    .cle-home-featured-brand {
        margin-bottom: 12px;
    }

    .cle-home-featured-art-content {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .cle-home-featured-position {
        margin-bottom: 12px;
    }

    .cle-home-featured-art h3 {
        margin: 0 0 20px;
    }

    .cle-home-featured-gold-line {
        margin-top: auto;
    }
}



/* =====================================================
   CLE4Less - Why Attorneys Choose Us
   Two-Column GSAP Card Stack
   ===================================================== */

.cle-home-benefits {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cle-home-benefits-inner {
    width: 100%;
    max-width: 1380px;
    margin: 0 auto;
    padding: 80px 30px;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: center;
    gap: clamp(40px, 6vw, 100px);
}

/* Left column */

.cle-home-benefits-heading {
    max-width: 490px;
}

.cle-home-benefits-heading h2 {
    margin: 18px 0 24px;
    line-height: 1.15;
}

.cle-home-benefits-heading > p {
    margin-bottom: 28px;
    line-height: 1.75;
}

.cle-home-benefits-accent {
    width: 65px;
    height: 4px;
    background: #C7923E;
    margin-bottom: 24px;
}

.cle-home-benefits-scroll-hint {
    display: block;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    color: #8C6239;
}

/* Right column */

.cle-home-benefits-stack {
    position: relative;
    width: 100%;
    min-width: 0;
}

.cle-home-benefits-cards {
    position: relative;
    width: 100%;
    height: 420px;
    overflow: hidden;
    border-radius: 18px;
}

/* Overlapping cards */

.cle-home-benefits-cards .cle-home-benefit-card {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: clamp(30px, 5vw, 60px);

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;

    border: none;
    border-radius: 18px;
    box-shadow: none;
    transition: none;
}

/* Stack order: first card visible initially */

.cle-home-benefits-cards .cle-home-benefit-card:nth-child(1) {
    z-index: 4;
    background: #1E2A38;
    color: #FFFFFF;
}

.cle-home-benefits-cards .cle-home-benefit-card:nth-child(2) {
    z-index: 3;
    background: #8C6239;
    color: #FFFFFF;
}

.cle-home-benefits-cards .cle-home-benefit-card:nth-child(3) {
    z-index: 2;
    background: #DDE6EF;
    color: #1E2A38;
}

.cle-home-benefits-cards .cle-home-benefit-card:nth-child(4) {
    z-index: 1;
    background: #14233D;
    color: #FFFFFF;
}

/* Card typography */

.cle-home-benefits-cards .cle-home-benefit-card h3 {
    margin: 22px 0 16px;
    font-size: clamp(1.65rem, 2.5vw, 2.4rem);
    line-height: 1.2;
    color: inherit;
}

.cle-home-benefits-cards .cle-home-benefit-card p {
    max-width: 420px;
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: inherit;
}

.cle-home-benefits-cards .cle-home-benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 1px solid currentColor;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 600;
    color: inherit;
}

/* Prevent old card hover transforms from interfering */

.cle-home-benefits-cards .cle-home-benefit-card:hover {
    transform: none;
    box-shadow: none;
}

/* Card progress indicator */

.cle-home-benefits-counter {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 22px;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1E2A38;
}

.cle-home-benefits-current {
    color: #8C6239;
}

.cle-home-benefits-divider {
    opacity: 0.4;
}

/* Tablet */

@media (max-width: 1024px) {
    .cle-home-benefits-inner {
        gap: 35px;
        padding: 65px 24px;
    }

    .cle-home-benefits-cards {
        height: 380px;
    }
}

/* Mobile: display cards in normal document flow */

@media (max-width: 767px) {
    .cle-home-benefits-inner {
        grid-template-columns: 1fr;
        gap: 35px;
        padding: 55px 20px;
    }

    .cle-home-benefits-heading {
        max-width: 100%;
    }

    .cle-home-benefits-cards {
        height: auto;
        overflow: visible;
        display: grid;
        gap: 16px;
    }

    .cle-home-benefits-cards .cle-home-benefit-card {
        position: relative;
        inset: auto;
        height: auto;
        min-height: 250px;
        padding: 30px;
    }

    .cle-home-benefits-counter,
    .cle-home-benefits-scroll-hint {
        display: none;
    }
}



/* =====================================================
   CLE4Less - Expanded Editorial Benefits Layout
   ===================================================== */

@media (min-width: 1025px) {

    .cle-home-benefits-inner {
        min-height: 95vh;
        max-width: 1500px;
        padding: 90px 5%;
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        gap: clamp(70px, 8vw, 150px);
    }

    .cle-home-benefits-heading {
        max-width: 560px;
    }

    .cle-home-benefits-heading h2 {
        font-size: clamp(2.8rem, 4vw, 4.5rem);
        line-height: 1.08;
    }

    .cle-home-benefits-heading > p {
        font-size: 1.125rem;
        line-height: 1.8;
    }

    .cle-home-benefits-cards {
        height: clamp(440px, 58vh, 560px);
        border-radius: 22px;
    }

    .cle-home-benefits-cards .cle-home-benefit-card {
        padding: clamp(45px, 5vw, 80px);
        border-radius: 22px;
    }

}
