:root {
    --ee-v2-green: #0f766e;
    --ee-v2-mint: #eaf8f5;
    --ee-v2-ink: #073b4c;
    --ee-v2-muted: #5f7480;
    --ee-v2-yellow: #ffd166;
    --ee-v2-purple: #6d5dfc;
    --ee-v2-line: #dbece8;
    --ee-v2-shadow: 0 18px 48px rgba(10, 80, 72, 0.10);
}

.ee-v2-site {
    margin: 0;
    background: #fbfefd;
    color: var(--ee-v2-ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
}

.ee-v2-wrap {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.ee-v2-header {
    position: sticky;
    top: 0;
    z-index: 20;
    border-bottom: 1px solid var(--ee-v2-line);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
}

.ee-v2-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 74px;
}

.ee-v2-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ee-v2-ink);
    font-weight: 900;
    text-decoration: none;
}

.ee-v2-brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.ee-v2-nav {
    display: flex;
    gap: 18px;
    align-items: center;
}

.ee-v2-menu-toggle {
    display: none;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid var(--ee-v2-line);
    border-radius: 999px;
    background: #ffffff;
    color: var(--ee-v2-green);
    font-weight: 850;
}

.ee-v2-nav ul,
.ee-v2-menu {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ee-v2-nav li {
    position: relative;
    margin: 0;
}

.ee-v2-nav li.menu-item-has-children > a::after {
    content: "⌄";
    display: inline-block;
    margin-left: 6px;
    color: var(--ee-v2-green);
    font-size: 12px;
    line-height: 1;
}

.ee-v2-sub-toggle {
    display: none;
}

.ee-v2-nav .sub-menu {
    display: none;
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    min-width: 190px;
    padding: 12px;
    border: 1px solid var(--ee-v2-line);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: var(--ee-v2-shadow);
    z-index: 30;
}

.ee-v2-nav .sub-menu::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -14px;
    height: 14px;
}

.ee-v2-nav .sub-menu .sub-menu {
    top: 0;
    left: calc(100% + 10px);
}

.ee-v2-nav li:hover > .sub-menu,
.ee-v2-nav li:focus-within > .sub-menu {
    display: grid;
    gap: 8px;
}

.ee-v2-nav a {
    display: inline-flex;
    align-items: center;
    color: var(--ee-v2-ink);
    text-decoration: none;
    font-weight: 760;
}

.ee-v2-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    background: var(--ee-v2-green);
    color: #fff;
    font-weight: 850;
    text-decoration: none;
    border: 0;
}

.ee-v2-cta.subtle {
    background: var(--ee-v2-mint);
    color: var(--ee-v2-green);
}

.ee-v2-cta.wide {
    width: 100%;
    margin: 10px 0;
}

.ee-v2-auth {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.ee-v2-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 12px;
    color: var(--ee-v2-green);
    font-weight: 850;
    text-decoration: none;
}

.ee-v2-hero {
    padding: 72px 0 52px;
    background:
        radial-gradient(circle at 82% 20%, rgba(255, 209, 102, 0.30), transparent 28%),
        linear-gradient(135deg, #ffffff 0%, #eaf8f5 100%);
}

.ee-v2-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(360px, 0.82fr);
    gap: 32px;
    align-items: center;
}

.ee-v2-eyebrow {
    display: inline-flex;
    margin-bottom: 14px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ee-v2-green);
    font-weight: 850;
    box-shadow: 0 8px 22px rgba(15, 118, 110, 0.10);
}

.ee-v2-hero h1,
.ee-v2-archive-hero h1 {
    margin: 0;
    color: var(--ee-v2-ink);
    font-size: clamp(38px, 6vw, 68px);
    line-height: 1.08;
    letter-spacing: 0;
    word-break: keep-all;
}

.ee-v2-hero h1 {
    white-space: nowrap;
}

.ee-v2-hero p {
    margin: 16px 0 0;
    color: var(--ee-v2-muted);
    font-size: 19px;
}

.ee-v2-search {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    max-width: 760px;
    margin-top: 28px;
    padding: 9px;
    border: 1px solid #cfe8e3;
    border-radius: 999px;
    background: #ffffff;
    box-shadow: var(--ee-v2-shadow);
}

.ee-v2-search input {
    border: 0;
    min-height: 48px;
    padding: 0 20px;
    font-size: 16px;
    outline: none;
}

.ee-v2-search button {
    border: 0;
    border-radius: 999px;
    padding: 0 28px;
    background: var(--ee-v2-green);
    color: #ffffff;
    font-weight: 850;
}

.ee-v2-hero-panel,
.ee-v2-download-panel,
.ee-v2-resource-preview,
.ee-v2-resource-detail {
    border: 1px solid var(--ee-v2-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--ee-v2-shadow);
}

.ee-v2-hero-panel {
    padding: 0;
    overflow: hidden;
}

.ee-v2-hero-panel img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.ee-v2-section {
    padding: 56px 0;
}

.ee-v2-tint {
    background: #f2fbf8;
}

.ee-v2-section h2 {
    margin: 0 0 22px;
    font-size: 30px;
    color: var(--ee-v2-ink);
}

.ee-v2-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.ee-v2-section-head a {
    color: var(--ee-v2-green);
    font-weight: 800;
    text-decoration: none;
}

.ee-v2-chip-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.ee-v2-chip-grid.six {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.ee-v2-chip-grid a {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--ee-v2-line);
    border-radius: 18px;
    background: #ffffff;
    color: var(--ee-v2-ink);
    font-weight: 850;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(10, 80, 72, 0.06);
}

.ee-v2-columns {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}

.ee-v2-archive-hero {
    padding: 54px 0 36px;
    background: linear-gradient(135deg, #ffffff 0%, #eaf8f5 100%);
}

.ee-v2-filter-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.ee-v2-filter-row a {
    padding: 10px 14px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--ee-v2-green);
    text-decoration: none;
    font-weight: 800;
}

.ee-v2-resource-layout {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    gap: 34px;
    align-items: start;
}

.ee-v2-resource-hero {
    padding: 28px 0 0;
    background: linear-gradient(135deg, #ffffff 0%, #eaf8f5 100%);
}

.ee-v2-breadcrumb {
    margin: 0;
    color: var(--ee-v2-muted);
    font-size: 14px;
}

.ee-v2-breadcrumb a {
    color: var(--ee-v2-green);
    font-weight: 800;
    text-decoration: none;
}

.ee-v2-resource-preview {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1.414;
    width: min(420px, 100%);
    padding: 18px;
    background: linear-gradient(180deg, #ffffff 0%, #f2fbf8 100%);
}

.ee-v2-resource-preview img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(7, 59, 76, 0.12);
}

.ee-v2-download-panel {
    padding: 26px;
}

.ee-v2-resource-summary h1 {
    margin: 14px 0 12px;
    color: var(--ee-v2-ink);
    font-size: clamp(30px, 4.4vw, 52px);
    line-height: 1.12;
    letter-spacing: 0;
}

.ee-v2-short {
    margin: 0 0 18px;
    color: var(--ee-v2-muted);
    font-size: 17px;
    line-height: 1.75;
}

.ee-v2-resource-detail {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 28px;
}

.ee-v2-resource-detail > div {
    min-width: 0;
}

.ee-v2-resource-detail h2 {
    margin: 0 0 10px;
    font-size: 23px;
}

.ee-v2-resource-detail p {
    margin: 0;
    color: var(--ee-v2-muted);
    line-height: 1.8;
}

.ee-v2-page-content {
    max-width: 920px;
    padding: 32px;
    border: 1px solid var(--ee-v2-line);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: var(--ee-v2-shadow);
}

.ee-v2-page-content > *:first-child {
    margin-top: 0;
}

.ee-v2-page-content > *:last-child {
    margin-bottom: 0;
}

.ee-v2-post-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ee-v2-post-card,
.ee-v2-empty {
    border: 1px solid var(--ee-v2-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--ee-v2-shadow);
    overflow: hidden;
}

.ee-v2-post-card > div,
.ee-v2-empty {
    padding: 22px;
}

.ee-v2-post-thumb {
    display: block;
    aspect-ratio: 16 / 9;
    background: var(--ee-v2-mint);
}

.ee-v2-post-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ee-v2-post-card h2 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.35;
}

.ee-v2-post-card h2 a,
.ee-v2-read-more {
    color: var(--ee-v2-ink);
    text-decoration: none;
}

.ee-v2-post-card p {
    color: var(--ee-v2-muted);
    line-height: 1.7;
}

.ee-v2-read-more {
    color: var(--ee-v2-green);
    font-weight: 850;
}

.ee-v2-course-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.ee-v2-course-card {
    overflow: hidden;
    border: 1px solid var(--ee-v2-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(10, 80, 72, 0.08);
}

.ee-v2-course-cover {
    display: flex;
    aspect-ratio: 16 / 10;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #eaf8f5, #fff8df);
    color: var(--ee-v2-green);
    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.ee-v2-course-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ee-v2-course-body {
    padding: 18px;
}

.ee-v2-course-status {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--ee-v2-mint);
    color: var(--ee-v2-green);
    font-size: 13px;
    font-weight: 900;
}

.ee-v2-course-card h2 {
    margin: 0 0 10px;
    font-size: 21px;
    line-height: 1.3;
}

.ee-v2-course-card h2 a {
    color: var(--ee-v2-ink);
    text-decoration: none;
}

.ee-v2-course-card p {
    margin: 0 0 14px;
    color: var(--ee-v2-muted);
    line-height: 1.7;
}

.ee-v2-course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.ee-v2-course-meta span {
    padding: 5px 9px;
    border-radius: 999px;
    background: #f2fbf8;
    color: var(--ee-v2-green);
    font-size: 13px;
    font-weight: 800;
}

.ee-v2-course-detail {
    display: grid;
    grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
    gap: 28px;
    align-items: start;
}

.ee-v2-course-detail-cover,
.ee-v2-course-detail-body {
    border: 1px solid var(--ee-v2-line);
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 12px 32px rgba(10, 80, 72, 0.08);
}

.ee-v2-course-detail-cover {
    overflow: hidden;
}

.ee-v2-course-detail-cover img {
    display: block;
    width: 100%;
    height: auto;
}

.ee-v2-course-detail-body {
    padding: 26px;
}

.ee-v2-content {
    color: var(--ee-v2-ink);
    line-height: 1.85;
}

.ee-v2-empty {
    max-width: 680px;
}

.ee-v2-pagination {
    margin-top: 26px;
}

.ee-v2-preview-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 42px;
}

.ee-v2-preview-strip figure {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1.414;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--ee-v2-line);
    border-radius: 18px;
    background: #ffffff;
}

.ee-v2-preview-strip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 10px;
}

.ee-v2-access {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--ee-v2-yellow);
    color: var(--ee-v2-ink);
    font-weight: 900;
}

.ee-v2-access-member {
    background: #ebe8ff;
    color: var(--ee-v2-purple);
}

.ee-v2-access-login {
    background: #fff3d1;
    color: #9a5b00;
}

.ee-v2-download-panel dl {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
}

.ee-v2-download-panel dt {
    color: var(--ee-v2-muted);
}

.ee-v2-download-panel dd {
    margin: 0;
    font-weight: 800;
}

.ee-v2-footer {
    padding: 34px 0;
    background: #073b4c;
    color: #ffffff;
}

.ee-v2-footer p {
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 980px) {
    .ee-v2-header-inner {
        flex-wrap: wrap;
        gap: 12px;
    }

    .ee-v2-menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .ee-v2-nav {
        display: none;
        order: 5;
        width: 100%;
    }

    .ee-v2-nav.is-open {
        display: block;
    }

    .ee-v2-nav ul,
    .ee-v2-menu {
        display: grid;
        gap: 8px;
        align-items: stretch;
        padding: 12px;
        border: 1px solid var(--ee-v2-line);
        border-radius: 18px;
        background: #ffffff;
    }

    .ee-v2-nav li {
        width: 100%;
    }

    .ee-v2-nav a {
        display: flex;
        min-height: 42px;
        align-items: center;
        justify-content: space-between;
    }

    .ee-v2-nav li.menu-item-has-children {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }

    .ee-v2-nav li.menu-item-has-children > a::after {
        content: none;
    }

    .ee-v2-sub-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border: 0;
        border-radius: 999px;
        background: var(--ee-v2-mint);
        color: var(--ee-v2-green);
        font-weight: 900;
        cursor: pointer;
    }

    .ee-v2-nav li.is-open > .ee-v2-sub-toggle {
        transform: rotate(180deg);
    }

    .ee-v2-nav .sub-menu,
    .ee-v2-nav .sub-menu .sub-menu {
        grid-column: 1 / -1;
        position: static;
        display: none;
        min-width: 0;
        margin: 4px 0 8px 12px;
        padding: 8px 12px;
        box-shadow: none;
        background: #f8fcfb;
    }

    .ee-v2-nav li.is-open > .sub-menu {
        display: grid;
    }

    .ee-v2-auth {
        margin-left: 0;
    }

    .ee-v2-hero-grid,
    .ee-v2-columns,
    .ee-v2-resource-layout,
    .ee-v2-course-detail {
        grid-template-columns: 1fr;
    }

    .ee-v2-resource-preview {
        margin: 0 auto;
    }

    .ee-v2-resource-detail {
        grid-template-columns: 1fr;
    }

    .ee-v2-preview-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ee-v2-post-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ee-v2-course-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .ee-v2-chip-grid,
    .ee-v2-chip-grid.six {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 620px) {
    .ee-v2-header-inner {
        min-height: 66px;
    }

    .ee-v2-hero {
        padding: 46px 0 36px;
    }

    .ee-v2-hero h1 {
        white-space: normal;
        font-size: clamp(34px, 9.4vw, 46px);
    }

    .ee-v2-search {
        grid-template-columns: 1fr;
        border-radius: 24px;
    }

    .ee-v2-search button {
        min-height: 46px;
    }

    .ee-v2-chip-grid,
    .ee-v2-chip-grid.six {
        grid-template-columns: 1fr;
    }

    .ee-v2-preview-strip {
        grid-template-columns: 1fr;
    }

    .ee-v2-post-grid {
        grid-template-columns: 1fr;
    }

    .ee-v2-course-grid {
        grid-template-columns: 1fr;
    }
}
