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

.ee-rp-card {
    border: 1px solid #dbece8;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(10, 80, 72, 0.08);
    overflow: hidden;
}

.ee-rp-card-media {
    position: relative;
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1.414;
    padding: 14px;
    background: linear-gradient(180deg, #f7fcfb 0%, #edf8f5 100%);
    text-decoration: none;
}

.ee-rp-card-media img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 10px;
    box-shadow: 0 12px 28px rgba(7, 59, 76, 0.10);
}

.ee-rp-card-media > span {
    display: grid;
    place-items: center;
    height: 100%;
    color: #0f766e;
    font-weight: 800;
}

.ee-rp-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #0f766e;
    color: #ffffff;
    font-style: normal;
    font-size: 13px;
    font-weight: 800;
}

.ee-rp-badge-member { background: #6d5dfc; }
.ee-rp-badge-login { background: #f59e0b; }

.ee-rp-card-body {
    display: grid;
    gap: 12px;
    padding: 18px;
}

.ee-rp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 12px;
}

.ee-rp-tags span {
    padding: 4px 9px;
    border-radius: 999px;
    background: #edf8f5;
    color: #0f766e;
    font-size: 12px;
    font-weight: 700;
}

.ee-rp-card h3 {
    margin: 0 0 8px;
    font-size: 18px;
    line-height: 1.35;
}

.ee-rp-card h3 a {
    color: #073b4c;
    text-decoration: none;
}

.ee-rp-card-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-top: 16px;
}

.ee-rp-card-meta span {
    color: #78909c;
    font-size: 13px;
}

.ee-rp-card-meta a,
.ee-rp-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border-radius: 999px;
    background: #0f766e;
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
}

.ee-rp-button.secondary {
    background: #edf8f5;
    color: #0f766e;
}

.ee-rp-download-box {
    display: grid;
    gap: 12px;
    margin-top: 18px;
}

.ee-rp-download-message,
.ee-rp-download-note,
.ee-rp-license-note {
    margin: 0;
    color: #5c6f78;
    line-height: 1.65;
}

.ee-rp-download-message strong {
    color: #073b4c;
}

.ee-rp-link-panel {
    display: grid;
    gap: 10px;
    padding: 16px;
    border: 1px solid #dbece8;
    border-radius: 16px;
    background: #f8fcfb;
}

.ee-rp-link-panel h3 {
    margin: 0;
    color: #073b4c;
    font-size: 18px;
}

.ee-rp-link-panel p {
    margin: 0;
    color: #5c6f78;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.ee-rp-license-note {
    padding-top: 8px;
    border-top: 1px solid #dbece8;
    font-size: 13px;
}

.ee-rp-page {
    background: #f8fcfb;
}

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

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

.ee-rp-archive-hero h1,
.ee-rp-single-hero h1 {
    margin: 0;
    color: #073b4c;
    font-size: clamp(34px, 5vw, 58px);
}

.ee-rp-searchbar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    margin-top: 22px;
    padding: 8px;
    border: 1px solid #cfe8e3;
    border-radius: 999px;
    background: #ffffff;
}

.ee-rp-searchbar input {
    border: 0;
    padding: 0 18px;
    font-size: 16px;
    outline: none;
}

.ee-rp-searchbar button {
    border: 0;
    border-radius: 999px;
    padding: 13px 24px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 800;
}

.ee-rp-filter-panel {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
    margin: 26px 0;
}

.ee-rp-filter-panel a {
    padding: 13px 14px;
    border: 1px solid #dbece8;
    border-radius: 14px;
    background: #ffffff;
    color: #073b4c;
    text-decoration: none;
    font-weight: 750;
    text-align: center;
}

.ee-rp-archive-main {
    padding: 34px 0 64px;
}

.ee-rp-single-grid {
    display: grid;
    grid-template-columns: minmax(300px, 420px) minmax(0, 1fr);
    gap: 34px;
    padding: 42px 0 70px;
    align-items: start;
}

.ee-rp-preview,
.ee-rp-panel {
    border: 1px solid #dbece8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(10, 80, 72, 0.08);
}

.ee-rp-preview img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.ee-rp-preview {
    display: grid;
    place-items: center;
    aspect-ratio: 1 / 1.414;
    max-width: 420px;
    padding: 18px;
}

.ee-rp-preview img {
    border-radius: 12px;
    box-shadow: 0 14px 32px rgba(7, 59, 76, 0.12);
}

.ee-rp-panel,
.ee-rp-detail-section {
    padding: 24px;
}

.ee-rp-panel h1 {
    margin: 12px 0 12px;
    color: #073b4c;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.ee-rp-short {
    color: #5c6f78;
    font-size: 17px;
    line-height: 1.75;
}

.ee-rp-detail-section {
    margin-bottom: 70px;
    border: 1px solid #dbece8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(10, 80, 72, 0.08);
}

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

.ee-rp-related {
    padding-bottom: 70px;
}

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

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

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

.ee-rp-info-list {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ee-rp-info-list li {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid #edf5f3;
    padding-bottom: 10px;
}

.ee-rp-account-center {
    display: grid;
    gap: 24px;
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    padding: 42px 0 70px;
}

.ee-rp-account-hero {
    padding: 34px;
    border: 1px solid #dbece8;
    border-radius: 22px;
    background: linear-gradient(135deg, #ffffff 0%, #edf8f5 100%);
    box-shadow: 0 16px 38px rgba(10, 80, 72, 0.08);
}

.ee-rp-account-kicker {
    width: fit-content;
    margin: 0 0 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: #dff5ef;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
}

.ee-rp-account-hero h2 {
    margin: 0 0 10px;
    color: #073b4c;
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.12;
}

.ee-rp-account-hero p:last-child {
    margin: 0;
    color: #5c6f78;
    font-size: 17px;
}

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

.ee-rp-account-card,
.ee-rp-account-notice {
    padding: 24px;
    border: 1px solid #dbece8;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(10, 80, 72, 0.08);
}

.ee-rp-account-card h3 {
    margin: 0 0 16px;
    color: #073b4c;
    font-size: 22px;
}

.ee-rp-account-list {
    display: grid;
    gap: 12px;
    margin: 0 0 18px;
}

.ee-rp-account-list div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid #edf5f3;
}

.ee-rp-account-list dt {
    color: #5c6f78;
    font-weight: 700;
}

.ee-rp-account-list dd {
    margin: 0;
    color: #073b4c;
    font-weight: 800;
    overflow-wrap: anywhere;
}

.ee-rp-account-actions,
.ee-rp-quick-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ee-rp-membership-label {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 12px;
    padding: 7px 12px;
    border-radius: 999px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 800;
}

.ee-rp-account-muted {
    margin: 0 0 16px;
    color: #5c6f78;
    line-height: 1.65;
}

.ee-rp-benefit-list {
    display: grid;
    gap: 8px;
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}

.ee-rp-benefit-list li {
    position: relative;
    padding-left: 20px;
    color: #073b4c;
    font-weight: 700;
}

.ee-rp-benefit-list li::before {
    content: "";
    position: absolute;
    top: 0.72em;
    left: 0;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: #19b6a4;
}

.ee-rp-quick-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 15px;
    border-radius: 999px;
    background: #edf8f5;
    color: #0f766e;
    text-decoration: none;
    font-weight: 800;
}

.ee-rp-account-notice {
    color: #8a5a00;
    background: #fff7df;
    border-color: #f6dea1;
    font-weight: 700;
}

.ee-rp-account-notice.success {
    color: #0f766e;
    background: #edf8f5;
    border-color: #ccebe4;
}

.ee-rp-profile-form {
    scroll-margin-top: 30px;
}

.ee-rp-profile-form form {
    display: grid;
    gap: 16px;
}

.ee-rp-profile-form label {
    display: grid;
    gap: 7px;
    color: #073b4c;
    font-weight: 800;
}

.ee-rp-profile-form input {
    width: 100%;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid #cfe8e3;
    border-radius: 14px;
    background: #ffffff;
    color: #073b4c;
}

.ee-rp-account-footer {
    display: flex;
    justify-content: flex-end;
}

.ee-rp-benefits-page {
    padding-top: 36px;
}

.ee-rp-benefits-current {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    padding: 16px 18px;
    border: 1px solid #dbece8;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(10, 80, 72, 0.06);
    color: #073b4c;
}

.ee-rp-benefits-current strong {
    color: #0f766e;
}

.ee-rp-benefits-current span {
    color: #5c6f78;
}

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

.ee-rp-benefits-card {
    display: grid;
    gap: 18px;
    align-content: start;
    min-height: 100%;
    padding: 26px;
    border: 1px solid #dbece8;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 16px 38px rgba(10, 80, 72, 0.08);
}

.ee-rp-benefits-card.is-ee {
    border-color: #c9d5ff;
    background: linear-gradient(180deg, #ffffff 0%, #f5f7ff 100%);
}

.ee-rp-benefits-tier,
.ee-rp-status-pill {
    display: inline-flex;
    width: fit-content;
    margin: 0 0 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #dff5ef;
    color: #0f766e;
    font-size: 13px;
    font-weight: 800;
}

.ee-rp-benefits-card.is-ee .ee-rp-benefits-tier {
    background: #eceeff;
    color: #5a50d8;
}

.ee-rp-benefits-card h3 {
    margin: 0 0 10px;
    color: #073b4c;
    font-size: 26px;
}

.ee-rp-benefits-action {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ee-rp-status-pill {
    margin: 0;
    background: #0f766e;
    color: #ffffff;
}

.ee-rp-benefits-note {
    margin: 0;
    color: #5c6f78;
    line-height: 1.65;
    font-weight: 700;
}

.post-type-resource .ee-rp-admin-sections {
    display: grid;
    gap: 18px;
}

.post-type-resource .ee-rp-admin-section {
    padding: 18px;
    border: 1px solid #dbece8;
    border-radius: 14px;
    background: #f8fcfb;
}

.post-type-resource .ee-rp-admin-section h3 {
    margin: 0 0 14px;
    color: #073b4c;
    font-size: 17px;
}

.post-type-resource .ee-rp-admin-field {
    display: grid;
    gap: 7px;
    margin-bottom: 14px;
}

.post-type-resource .ee-rp-admin-field label,
.post-type-resource .ee-rp-admin-taxonomy h4 {
    margin: 0;
    color: #073b4c;
    font-weight: 700;
}

.post-type-resource .ee-rp-admin-field input,
.post-type-resource .ee-rp-admin-field select,
.post-type-resource .ee-rp-admin-field textarea {
    width: 100%;
    max-width: 100%;
}

.post-type-resource .ee-rp-admin-tax-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 14px;
}

.post-type-resource .ee-rp-admin-taxonomy {
    padding: 12px;
    border: 1px solid #dbece8;
    border-radius: 12px;
    background: #ffffff;
}

.post-type-resource .ee-rp-admin-taxonomy label {
    display: block;
    margin: 7px 0 0;
}

.post-type-resource .ee-rp-cover-guide {
    margin-left: 18px;
    color: #3d5560;
    line-height: 1.55;
}

.post-type-resource .ee-rp-preview-admin {
    display: grid;
    gap: 12px;
}

.post-type-resource .ee-rp-preview-admin-list {
    display: grid;
    grid-template-columns: repeat(6, minmax(80px, 1fr));
    gap: 10px;
    margin: 0;
}

.post-type-resource .ee-rp-preview-admin-item {
    position: relative;
    display: grid;
    gap: 6px;
    margin: 0;
    padding: 8px;
    border: 1px solid #dbece8;
    border-radius: 10px;
    background: #ffffff;
    cursor: move;
}

.post-type-resource .ee-rp-preview-admin-item img {
    width: 100%;
    aspect-ratio: 1 / 1.414;
    object-fit: contain;
    border-radius: 7px;
    background: #f8fcfb;
}

.post-type-resource .ee-rp-remove-preview-image {
    text-align: center;
}

.post-type-resource .ee-rp-admin-badge {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 9px;
    border-radius: 999px;
    background: #0f766e;
    color: #ffffff;
    font-weight: 700;
    font-size: 12px;
}

.post-type-resource .ee-rp-admin-badge-login {
    background: #f59e0b;
}

.post-type-resource .ee-rp-admin-badge-member {
    background: #6d5dfc;
}

.post-type-resource .ee-rp-admin-empty {
    color: #78909c;
}

@media (max-width: 782px) {
    .post-type-resource .ee-rp-admin-tax-grid {
        grid-template-columns: 1fr;
    }

    .post-type-resource .ee-rp-preview-admin-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .ee-rp-filter-panel,
    .ee-rp-single-grid {
        grid-template-columns: 1fr;
    }

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

    .ee-rp-preview {
        width: min(420px, 100%);
        margin: 0 auto;
    }

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

    .ee-rp-account-grid {
        grid-template-columns: 1fr;
    }

    .ee-rp-benefits-grid {
        grid-template-columns: 1fr;
    }

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

    .ee-rp-searchbar {
        border-radius: 22px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 620px) {
    .ee-rp-grid {
        grid-template-columns: 1fr;
    }

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

    .ee-rp-account-hero,
    .ee-rp-account-card {
        padding: 20px;
    }

    .ee-rp-account-list div {
        display: grid;
        gap: 4px;
    }

    .ee-rp-account-footer {
        justify-content: stretch;
    }

    .ee-rp-account-footer .ee-rp-button {
        width: 100%;
    }
}
