/* Plugin: InstructorPro Suite | File Version: 2016v5 */
/* ======================================================
   EZ2D FE HOME - MODERN PUBLIC LAYOUT
   ====================================================== */

.ez2d-fe-home {
    background:
        radial-gradient(1200px 600px at 80% -10%, rgba(99, 140, 255, 0.25), transparent 60%),
        radial-gradient(900px 500px at 5% 0%, rgba(32, 76, 140, 0.18), transparent 60%),
        #f5f7fc;
    color: #0f172a;
    padding-bottom: 60px;
}

.ez2d-fe-home .ez2d-btn-primary,
.ez2d-fe-home .ez2d-btn-ghost,
.ez2d-fe-home .ez2d-btn-small {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    border-radius: 999px;
    transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.ez2d-fe-home .ez2d-btn-primary {
    background: #e11d48;
    color: #fff;
    padding: 12px 24px;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.25);
}

.ez2d-fe-home .ez2d-btn-primary:hover {
    transform: translateY(-1px);
}

.ez2d-fe-home .ez2d-btn-ghost {
    background: rgba(255,255,255,0.85);
    color: #1e293b;
    padding: 12px 24px;
    border: 1px solid rgba(148, 163, 184, 0.5);
}

.ez2d-fe-home .ez2d-btn-small {
    padding: 8px 14px;
    font-size: 12px;
}

/* ======================================================
   HERO
   ====================================================== */

.ez2d-fe-home-hero {
    position: relative;
    width: 100%;
    min-height: 470px;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 1px solid #e2e8f0;
}

.ez2d-fe-home-hero-img {
    object-position: right center !important;
}

.ez2d-fe-home-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(9, 36, 82, 0.9) 0%, rgba(9, 36, 82, 0.65) 45%, rgba(9, 36, 82, 0.05) 75%, rgba(9, 36, 82, 0) 100%);
    z-index: 1;
}

/* Fallback diagonal (no clip-path support) */
.ez2d-fe-home-hero::after {
    content: "";
    position: absolute;
    left: -5%;
    right: -5%;
    bottom: -60px;
    height: 120px;
    background: #f5f7fc;
    transform: rotate(-2.5deg);
    z-index: 3;
}

@supports (clip-path: polygon(0 0, 100% 0, 100% 80%, 0 92%)) {
    .ez2d-fe-home-hero {
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 78%, 0 90%);
        clip-path: polygon(0 0, 100% 0, 100% 78%, 0 90%);
    }
    .ez2d-fe-home-hero::after {
        display: none;
    }
}

.ez2d-fe-home-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: right center;
}

.ez2d-fe-home-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(9, 36, 82, 0.75), rgba(9, 36, 82, 0.2)),
        linear-gradient(180deg, rgba(9, 36, 82, 0.35), rgba(9, 36, 82, 0.6));
    z-index: 2;
}

.ez2d-fe-home-hero-inner {
    position: relative;
    z-index: 3;
    width: 100%;
    padding: 64px 20px 82px;
    display: flex;
    justify-content: flex-start !important;
    align-items: center;
    text-align: left !important;
}

.ez2d-fe-hero-text {
    max-width: 600px;
    color: #f8fafc;
    text-align: left;
    margin-left: 0 !important;
    margin-right: auto;
}

.ez2d-fe-hero-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    margin-bottom: 14px;
}

.ez2d-fe-home-title {
    max-width: 11ch;
    font-size: clamp(24px, 3.1vw, 36px);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -0.02em;
    margin: 0 0 12px;
}

.ez2d-fe-home-subtitle {
    max-width: 56ch;
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255,255,255,0.85);
    margin: 0 0 24px;
}

.ez2d-fe-hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

/* ======================================================
   SECTION HEAD
   ====================================================== */

.ez2d-fe-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 40px auto 18px;
    max-width: 1200px;
    padding: 0 20px;
}

.ez2d-fe-home-cards .ez2d-fe-section-head {
    margin-top: 70px !important;
}

.ez2d-fe-section-head h2 {
    font-size: clamp(20px, 3vw, 28px);
    margin: 0;
    color: #0f172a;
}

.ez2d-fe-section-head--stack {
    display: block;
}

.ez2d-fe-section-head--stack p {
    margin: 10px 0 0;
    max-width: 860px;
    color: #475569;
    font-size: 16px;
    line-height: 1.7;
}

.ez2d-fe-home-seo,
.ez2d-fe-home-faq,
.ez2d-fe-home-seo-extra {
    margin-top: 64px;
}

.ez2d-fe-home-seo-extra {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 72px;
    padding: 0 20px;
    box-sizing: border-box;
}

.ez2d-fe-home-seo-grid,
.ez2d-fe-home-faq-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    align-items: stretch;
}

.ez2d-fe-home-seo-card,
.ez2d-fe-home-faq-item {
    padding: 24px;
    min-height: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    border-radius: 18px;
    box-shadow: 0 12px 26px rgba(37, 99, 235, 0.12);
}

.ez2d-fe-home-seo-card h3,
.ez2d-fe-home-faq-item h2,
.ez2d-fe-home-faq-item h3 {
    margin: 0 0 12px;
    color: #0f172a;
    font-size: 22px;
}

.ez2d-fe-home-richtext,
.ez2d-fe-home-seo-card p,
.ez2d-fe-home-faq-item p {
    margin: 0;
    color: #475569;
    line-height: 1.7;
}

.ez2d-fe-home-seo .ez2d-fe-section-head,
.ez2d-fe-home-faq .ez2d-fe-section-head,
.ez2d-fe-home-seo-extra .ez2d-fe-section-head {
    max-width: 1200px;
    margin: 0 auto 22px;
    padding: 0 20px;
}

.ez2d-fe-home-seo-extra .ez2d-fe-home-seo-card {
    width: 100%;
    max-width: none;
    margin: 0;
    box-sizing: border-box;
}

.ez2d-fe-home-seo-extra .ez2d-fe-home-seo-card h2 {
    margin: 0 0 14px;
    font-size: clamp(22px, 3vw, 30px);
    color: #0f172a;
}

.ez2d-fe-home-seo-extra .ez2d-fe-home-seo-card p + p {
    margin-top: 14px;
}

.ez2d-fe-home-richtext a {
    color: #2563eb;
    text-decoration: underline;
    font-weight: 600;
}

.ez2d-fe-home-richtext p {
    margin: 0 0 10px;
}

.ez2d-fe-home-richtext p:last-child {
    margin-bottom: 0;
}

.ez2d-fe-seo-landing-body {
    max-width: 1200px;
    margin: 0 auto;
}

.ez2d-fe-seo-landing-body h2,
.ez2d-fe-seo-landing-body h3 {
    margin: 0 0 12px;
    color: #0f172a;
}

.ez2d-fe-home-faq-actions {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.ez2d-fe-home-faq .ez2d-fe-section-head {
    margin-bottom: 32px;
}

.ez2d-fe-home-products {
    margin-top: 68px;
}

@media (max-width: 1100px) {
    .ez2d-fe-home-seo-grid,
    .ez2d-fe-home-faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .ez2d-fe-home-seo-grid,
    .ez2d-fe-home-faq-list {
        grid-template-columns: 1fr;
        padding: 0 12px;
    }

    .ez2d-fe-home-seo-card,
    .ez2d-fe-home-faq-item {
        padding: 20px;
    }
}

/* ======================================================
   HOME PAGE INFO CARDS
   ====================================================== */

.ez2d-fe-home-cards {
    padding-top: 10px;
}

.ez2d-fe-home-cards .ez2d-fe-home-cards-grid {
    margin-bottom: 32px !important;
}

.ez2d-fe-home-cards-grid {
    display: grid;
    grid-template-columns: repeat(var(--ez2d-cols, 3), minmax(0, 1fr));
    gap: 16px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.ez2d-fe-home-cards-grid--nested {
    grid-column: 2 / span 2;
    max-width: 100%;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(var(--ez2d-cols, 2), minmax(0, 1fr));
    gap: 16px;
}

.ez2d-fe-home-cards-grid--below {
    grid-column: 1 / -1;
    max-width: 100%;
    width: 100%;
    margin: 16px 0 0;
    padding: 0;
}

.ez2d-fe-home-card--col2 {
    grid-column: 2 / 3;
    width: 100%;
}

.ez2d-fe-home-card--col3 {
    grid-column: 3 / 4;
    width: 100%;
}

.ez2d-fe-home-card--colspan {
    grid-column: 2 / -1 !important;
    width: 100%;
}

.ez2d-fe-home-lesson-day {
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.ez2d-fe-home-lesson-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.ez2d-fe-home-lesson-item {
    font-size: 13px;
    color: #0f172a !important;
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none !important;
}

.ez2d-fe-home-lesson-item.is-assigned {
    color: #94a3b8 !important;
}

.ez2d-fe-home-lesson-item.is-assigned .ez2d-fe-home-lesson-time,
.ez2d-fe-home-lesson-item.is-assigned .ez2d-fe-home-lesson-status {
    color: #94a3b8 !important;
    font-weight: 400 !important;
    text-decoration: none;
}

.ez2d-fe-home-lesson-item.is-available {
    color: #15803d !important;
    font-weight: 700 !important;
}

.ez2d-fe-home-lesson-item.is-available .ez2d-fe-home-lesson-time,
.ez2d-fe-home-lesson-item.is-available .ez2d-fe-home-lesson-status {
    color: #15803d !important;
    font-weight: 700 !important;
}

.ez2d-fe-home-lesson-status {
    font-weight: 700 !important;
    color: #15803d !important;
}

.ez2d-fe-home-lesson-time {
    font-weight: inherit;
    color: inherit !important;
}

.ez2d-fe-home-lesson-empty {
    font-size: 13px;
    color: #94a3b8;
}

.ez2d-fe-home-week-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ez2d-fe-home-week-day {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ez2d-fe-home-week-day.is-active {
    display: block;
    opacity: 1;
}

.ez2d-fe-home-week-label {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a !important;
    margin-bottom: 4px;
}

.ez2d-fe-home-week-day .ez2d-fe-home-lesson-empty {
    font-size: 12px;
}

.ez2d-fe-home-week-title {
    font-size: 22px !important;
    font-weight: 700;
    color: #0f172a !important;
    margin: 0 0 4px 0 !important;
}

.ez2d-fe-home-week-footer {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin: 8px 0 0 0 !important;
}

.ez2d-fe-home-lesson-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    background: #2563eb !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25);
    border: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: none !important;
    line-height: 1;
    text-decoration: none !important;
    min-height: 40px;
    cursor: pointer;
}

.ez2d-fe-home-calendar-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
    padding: 4px;
    background: #e9f2ff;
    border: 1px solid #d4e4ff;
    box-shadow: 0 14px 28px rgba(30, 64, 175, 0.12);
    color: inherit;
    text-decoration: none;
    cursor: pointer;
}

.ez2d-fe-home-calendar-card * {
    text-decoration: none;
    color: inherit;
}

.ez2d-fe-home-calendar-card h3 {
    color: #0f172a !important;
}

.ez2d-fe-home-calendar-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(30, 64, 175, 0.18);
}

.ez2d-fe-home-calendar-thumb {
    width: 100%;
    height: 260px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: none;
    background: #f8fafc;
    border: none;
    padding: 0;
    box-sizing: border-box;
}

.ez2d-fe-home-calendar-thumb iframe {
    --ez2d-cal-scale: 0.5;
    width: 100%;
    height: 520px;
    border: 0;
    display: block;
    pointer-events: none;
    transform: scale(var(--ez2d-cal-scale));
    transform-origin: top left;
    width: calc(100% / var(--ez2d-cal-scale));
}

.ez2d-fe-home-calendar-cta {
    align-self: flex-start;
    font-weight: 700;
    margin-top: 4px;
}

.ez2d-fe-home-card {
    background: #fff;
    border-radius: 14px;
    padding: 16px 16px 14px;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.08);
    border: 1px solid #eef2f7;
    text-align: center;
    transition: transform .15s ease, box-shadow .15s ease;
}

.ez2d-fe-tutorials .ez2d-fe-home-card {
    text-align: left;
}

.ez2d-fe-tutorials .ez2d-fe-home-card h3 {
    text-align: center;
}

.ez2d-fe-tutorials .ez2d-fe-home-card-content {
    text-align: initial;
}

.ez2d-fe-home-card.is-clickable:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.12);
}

.ez2d-fe-home-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    background: #e8f0ff;
    margin: 0 auto 12px;
}

.ez2d-fe-home-card-icon span {
    font-size: 18px;
    color: #2563eb;
}

.ez2d-fe-home-card-icon svg {
    width: 20px;
    height: 20px;
    display: block;
    fill: #2563eb;
}

.ez2d-fe-home-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
}

.ez2d-fe-home-card-content {
    margin: 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.6;
}

.ez2d-fe-home-card-content::after {
    content: "";
    display: block;
    clear: both;
}

.ez2d-fe-home-card-content img {
    float: left;
    max-width: 90px;
    height: auto;
    margin: 2px 21px 15px 0;
    border-radius: 8px;
    shape-margin: 15px;
}

.ez2d-fe-tutorials .ez2d-fe-home-card-content img {
    max-width: 140px;
}

.ez2d-fe-home-card-content p {
    margin: 0 0 8px;
}

.ez2d-fe-home-card-content p:last-child {
    margin-bottom: 0;
}

.ez2d-fe-home-card-content ul,
.ez2d-fe-home-card-content ol {
    margin: 0 0 8px 18px;
    padding: 0;
}

.ez2d-fe-card-more {
    margin-top: 12px;
    border: none;
    background: transparent;
    color: #2563eb;
    font-weight: 700;
    cursor: pointer;
    padding: 0;
}

.ez2d-fe-card-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: none;
}

.ez2d-fe-card-modal.is-open {
    display: block;
}

.ez2d-fe-card-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
}

.ez2d-fe-card-modal__content {
    position: relative;
    background: #fff;
    border-radius: 18px;
    max-width: 720px;
    margin: 8vh auto;
    padding: 28px 28px 24px;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.35);
    z-index: 2;
}

.ez2d-fe-card-modal__close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: none;
    background: transparent;
    font-size: 24px;
    cursor: pointer;
    color: #0f172a;
}

.ez2d-fe-card-modal__body {
    font-size: 14px;
    line-height: 1.7;
    color: #0f172a;
}

.ez2d-fe-home-category-cta {
    display: flex;
    justify-content: flex-end;
    max-width: 1200px;
    margin: 6px auto 32px !important;
    padding: 0 20px;
}

.ez2d-fe-home-category-cta .ez2d-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.7) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    color: #1e293b !important;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.12);
    visibility: visible;
    opacity: 1;
}

.ez2d-fe-home .ez2d-fe-products-cta {
    margin: 0 auto 32px !important;
    padding-top: 44px !important;
    justify-content: center !important;
}

/* ======================================================
   PRODUCTS SECTION
   ====================================================== */

.ez2d-fe-home-products {
    display: block;
    width: 100%;
    margin: 0 auto;
    padding-top: 10px;
    overflow-x: clip;
}

.ez2d-fe-products-grid {
    display: grid;
    grid-template-columns: repeat(var(--ez2d-cols, 3), minmax(0, 1fr));
    gap: 48px;
    row-gap: 48px;
    width: 100%;
    margin: 0 auto;
    align-items: stretch;
    justify-items: stretch;
    grid-auto-rows: auto;
}

/* Match Public Products card surface exactly (desktop + mobile) */
.ez2d-fe-home .ez2d-fe-home-products .fe-product-card {
    background: var(--ez2d-bg-elevated, #ffffff) !important;
    border: 1px solid var(--ez2d-border-subtle, #e2e8f0) !important;
    box-shadow: 0 5px 20px var(--ez2d-primary-soft, rgba(37, 99, 235, 0.12)) !important;
    border-radius: 20px !important;
}

.ez2d-fe-home .ez2d-fe-home-products .fe-product-card:hover {
    box-shadow: 0 10px 25px var(--ez2d-primary-soft, rgba(37, 99, 235, 0.18)) !important;
}

.ez2d-fe-product-card {
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 260px;
    padding: 18px 18px 16px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    text-align: left;
    border: 1px solid #eef2f7;
    transition: transform .15s ease, box-shadow .15s ease;
}

.ez2d-fe-product-card:hover {
    transform: translateY(-4px);
}

.ez2d-fe-product-card.is-featured {
    border-color: #2563eb;
    box-shadow: 0 18px 36px rgba(37, 99, 235, 0.18);
}

.fe-product-icon {
    font-size: 30px;
    margin-bottom: 8px;
}

.ez2d-fe-product-title {
    font-size: 1rem;
    margin-bottom: 6px;
}

.ez2d-fe-product-price {
    font-size: 1.1rem;
    font-weight: 700;
}

.ez2d-fe-product-desc {
    margin: 6px 0 12px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

.ez2d-fe-product-card .fe-product-bullets {
    flex-grow: 1;
    margin: 14px 0 16px;
    padding-left: 18px;
    color: #475569;
    font-size: 13px;
}

.ez2d-fe-product-card .fe-btn-add {
    margin-top: auto;
    width: 100%;
    height: 46px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 12px;
    box-sizing: border-box;
}

.ez2d-fe-product-card .fe-popular-ribbon {
    position: absolute;
    top: 33px;
    right: -42px;
    width: 175px;
    padding: 10px 0;
    background: #e11d48;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-align: center;
    transform: rotate(45deg);
    transform-origin: center;
    box-shadow: 0 8px 18px rgba(225, 29, 72, 0.35);
    pointer-events: none;
    z-index: 2;
    clip-path: polygon(38px 0, calc(100% - 38px) 0, 100% 38px, 100% 100%, 0 100%, 0 38px);
}

@media (max-width: 768px) {
    .ez2d-fe-product-card .fe-popular-ribbon {
        top: 27px;
        right: -38px;
        width: 150px;
        font-size: 10px;
        padding: 8px 0;
        clip-path: polygon(32px 0, calc(100% - 32px) 0, 100% 32px, 100% 100%, 0 100%, 0 32px);
    }
}

/* ======================================================
   CTA
   ====================================================== */

.ez2d-fe-home-cta {
  margin-top: 40px;
}

.ez2d-fe-home-reviews {
  margin-top: 40px;
  margin-bottom: 28px;
}

.ez2d-fe-reviews-actions {
  display: inline-flex;
  gap: 10px;
  align-items: center;
}

.ez2d-fe-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.ez2d-fe-review-card {
  padding: 18px;
}

.ez2d-fe-review-card .ez2d-fe-review-header {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  margin-bottom: 6px;
}

.ez2d-fe-review-card .ez2d-fe-review-author,
.ez2d-fe-review-card .ez2d-fe-review-author-link {
  display: inline-flex !important;
  align-items: center;
  gap: 6px;
}

.ez2d-fe-review-avatar {
  width: 56px;
  height: 36px;
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  border: 2px solid #fff;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 20px;
  text-transform: none;
  flex: 0 0 auto;
}

.ez2d-fe-review-card .ez2d-fe-review-head-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.ez2d-fe-review-card .ez2d-fe-review-author {
  font-weight: 600;
  color: #1d4ed8;
  font-size: 15px;
  line-height: 1.2;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ez2d-fe-review-author-link {
  color: #1d4ed8;
  text-decoration: none;
}

.ez2d-fe-review-author-link:hover {
  text-decoration: underline;
}

.ez2d-fe-review-date {
  font-size: 12px;
  color: #6b7280;
}

.ez2d-fe-review-stars {
  color: #f59e0b !important;
  font-size: 16px;
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.ez2d-star {
  color: #d1d5db;
}

.ez2d-star.is-on {
  color: #f59e0b !important;
}

.ez2d-fe-review-text {
  color: #334155;
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}

.ez2d-fe-review-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
  font-weight: 600;
}

.ez2d-fe-review-source {
  font-size: 12px;
  color: #64748b;
  margin: -6px 0 14px;
}

.ez2d-fe-review-card .ez2d-fe-review-meta-line {
  font-size: 12px;
  color: #6b7280;
  line-height: 1.2;
}

.ez2d-fe-review-card .ez2d-fe-review-rating-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 4px 0 10px;
}

.ez2d-fe-review-card .ez2d-fe-review-rating-row * {
  display: inline-flex;
  align-items: center;
}

.ez2d-fe-review-card .ez2d-fe-review-stars {
  margin-bottom: 0;
  line-height: 1;
  font-size: 14px;
  color: #f59e0b !important;
}

.ez2d-fe-review-card .ez2d-fe-review-date {
  line-height: 1;
}

.ez2d-fe-review-verified {
  font-size: 11px;
  font-weight: 600;
  color: #0f766e;
  background: #ccfbf1;
  border: 1px solid #99f6e4;
  padding: 2px 6px;
  border-radius: 999px;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.ez2d-fe-summary-card {
  border: 1px solid #e5e7eb;
  background: #fff;
}

.ez2d-fe-summary-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
}

.ez2d-fe-summary-body {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.ez2d-fe-summary-bars {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ez2d-fe-summary-row {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 8px;
  align-items: center;
}

.ez2d-fe-summary-label {
  font-size: 14px;
  color: #6b7280;
  text-align: right;
}

.ez2d-fe-summary-track {
  height: 10px;
  border-radius: 999px;
  background: #e5e7eb;
  overflow: hidden;
  max-width: 165px;
}

.ez2d-fe-summary-fill {
  height: 100%;
  display: block;
  background: #f2b325;
  border-radius: 999px;
}

.ez2d-fe-summary-row-count {
  font-size: 13px;
  color: #64748b;
  min-width: 16px;
  text-align: right;
}

.ez2d-fe-summary-side {
  text-align: left;
}

.ez2d-fe-summary-main {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  color: #0f172a;
  margin-bottom: 8px;
}

.ez2d-fe-summary-count {
  color: #2563eb;
  font-weight: 700;
  margin-top: 6px;
}

.ez2d-fe-summary-note {
  margin-top: 10px;
  font-size: 12px;
  color: #6b7280;
}

.ez2d-google-review-fab {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10020;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border-radius: 999px;
  background: #ffffff;
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 12px 28px rgba(2, 6, 23, .18);
  text-decoration: none;
  font-weight: 700;
}

.ez2d-google-review-fab:hover {
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(2, 6, 23, .24);
}

.ez2d-google-review-fab-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #4285f4 0 25%, #34a853 25% 50%, #fbbc05 50% 75%, #ea4335 75% 100%);
}

.ez2d-google-review-fab-text {
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ez2d-fe-reviews-grid {
    grid-template-columns: 1fr !important;
  }

  .ez2d-fe-reviews-actions {
    margin-top: 10px;
  }

  .ez2d-google-review-fab {
    top: auto;
    bottom: 16px;
    right: 12px;
    transform: none;
    padding: 10px;
  }

  .ez2d-google-review-fab-text {
    display: none;
  }
}
.ez2d-fe-home-cta .ez2d-fe-cta-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 28px 28px;
    border-radius: 20px;
    background:
        linear-gradient(135deg, #1e3a8a, #2563eb) !important;
    color: #fff !important;
    box-shadow: 0 18px 38px rgba(30, 58, 138, 0.25);
}

.ez2d-fe-home-cta .ez2d-fe-cta-card h2 {
    margin: 0 0 6px;
    font-size: 22px;
    color: #fff !important;
}

.ez2d-fe-home-cta .ez2d-fe-cta-card p {
    margin: 0;
    color: rgba(255,255,255,0.85);
}

/* ======================================================
   RESPONSIVE
   ====================================================== */

@media (max-width: 1024px) {
    .ez2d-fe-home-hero {
        min-height: 390px;
    }

    .ez2d-fe-home-hero-inner {
        padding: 48px 20px 64px;
    }

    .ez2d-fe-hero-text {
        max-width: 100%;
    }

    .ez2d-fe-home-title {
        max-width: none;
        font-size: clamp(22px, 4.2vw, 30px);
    }

    .ez2d-fe-home-subtitle {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.55;
    }

    .ez2d-fe-products-grid,
    .ez2d-fe-home-cards-grid {
        grid-template-columns: 1fr !important;
    }

    .ez2d-fe-cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 1200px) {
    .ez2d-fe-home-cards-grid,
    .ez2d-fe-home-cards-grid--nested,
    .ez2d-fe-home-cards-grid--below {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 980px) {
    .ez2d-fe-home-cards-grid,
    .ez2d-fe-products-grid {
        grid-template-columns: 1fr !important;
    }

    .ez2d-fe-home .ez2d-fe-products-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
    }

    .ez2d-fe-home .fe-product-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .ez2d-fe-home.ez2d-fe-tutorials .ez2d-fe-home-cards.ez2d-page-shell {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
        overflow-x: clip;
    }

    .ez2d-fe-home.ez2d-fe-tutorials .ez2d-fe-home-cards-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .ez2d-fe-home.ez2d-fe-tutorials .ez2d-fe-home-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-wrap: anywhere;
    }

    .ez2d-fe-home-cards-grid--nested {
        grid-column: 1 / -1;
        grid-template-columns: 1fr !important;
    }

    .ez2d-fe-home-calendar-card,
    .ez2d-fe-home-card--col2,
    .ez2d-fe-home-card--col3,
    .ez2d-fe-home-card--colspan {
        grid-column: 1 / -1 !important;
        width: 100%;
    }
}

@media (max-width: 768px) {
    .ez2d-fe-home-cards-grid {
        grid-template-columns: 1fr !important;
    }
    .ez2d-fe-home-cards-grid--below {
        grid-template-columns: 1fr !important;
    }
}

.ez2d-fe-home .fe-product-card {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
}

.ez2d-fe-home .fe-product-card .fe-btn-add {
    margin-top: auto !important;
}

.ez2d-fe-home .fe-product-card .fe-product-bullets {
    flex: 1 1 auto;
}

.ez2d-fe-home .ez2d-fe-home-calendar-card .ez2d-fe-home-lesson-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 10px 16px !important;
    border-radius: 12px !important;
    background: #2563eb !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    box-shadow: 0 8px 16px rgba(37, 99, 235, 0.25) !important;
    border: 0 !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: none !important;
    line-height: 1 !important;
    min-height: 40px !important;
}

@media (max-width: 820px) {
    .ez2d-fe-home .ez2d-fe-home-cards-grid,
    .ez2d-fe-home .ez2d-fe-home-cards-grid--nested,
    .ez2d-fe-home .ez2d-fe-home-cards-grid--below {
        grid-template-columns: 1fr !important;
    }

    .ez2d-fe-home .ez2d-fe-home-calendar-card,
    .ez2d-fe-home .ez2d-fe-home-card--col2,
    .ez2d-fe-home .ez2d-fe-home-card--col3,
    .ez2d-fe-home .ez2d-fe-home-card--colspan {
        grid-column: 1 / -1 !important;
        width: 100% !important;
    }
}

.ez2d-fe-home .ez2d-fe-products-grid {
    align-items: stretch !important;
}

.ez2d-fe-home-powered {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    margin: 22px auto 10px;
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}
