:root {
    --ed-bg: #ffffff;
    --ed-soft-bg: #f4f6f8;
    --ed-text: #111827;
    --ed-muted: #6b7280;
    --ed-line: #e5e7eb;
    --ed-primary: #5866dd;
    --ed-dark: #12151c;
    --ed-card-shadow: 0 14px 35px rgba(17, 24, 39, 0.08);
}

.ed-body {
    background: var(--ed-bg);
    color: var(--ed-text);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ed-container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.ed-topbar {
    border-bottom: 1px solid var(--ed-line);
    font-size: 14px;
    color: var(--ed-muted);
}

.ed-topbar-inner,
.ed-brandbar-inner,
.ed-navrow-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ed-topbar-inner {
    min-height: 52px;
    gap: 24px;
}

.ed-trending {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.ed-trending a {
    color: var(--ed-text);
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ed-bolt {
    color: #ef4444;
    transform: rotate(180deg);
    display: inline-block;
}

.ed-top-contact {
    display: flex;
    gap: 18px;
    white-space: nowrap;
}

.ed-top-contact a {
    color: var(--ed-text);
    text-decoration: none;
}

.ed-brandbar {
    border-bottom: 1px solid var(--ed-line);
    background: #fff;
}

.ed-brandbar-inner {
    min-height: 88px;
}

.ed-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ed-text);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -0.04em;
    font-size: 34px;
}

.ed-logo img {
    max-height: 54px;
    width: auto;
}

.ed-logo-mark {
    display: inline-grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, #57b8ff, #5866dd);
    color: #fff;
    font-size: 16px;
    letter-spacing: 0;
}

.ed-logo-name::after {
    content: ".";
    color: var(--ed-primary);
}

.ed-brand-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.ed-theme-toggle {
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}

.ed-buy-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 28px;
    border-radius: 8px;
    background: var(--ed-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
}

.ed-navrow {
    background: #fff;
    border-bottom: 1px solid var(--ed-line);
}

.ed-navrow-inner {
    min-height: 58px;
    gap: 24px;
}

.ed-nav-list,
.ed-submenu,
.ed-footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ed-nav-list {
    display: flex;
    align-items: center;
    gap: 34px;
}

.ed-nav-list a {
    color: #111827;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.ed-has-children {
    position: relative;
}

.ed-submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 20;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--ed-line);
    box-shadow: var(--ed-card-shadow);
    padding: 12px 0;
}

.ed-has-children:hover > .ed-submenu {
    display: block;
}

.ed-submenu a {
    display: block;
    padding: 10px 18px;
}

.ed-socials {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ed-socials a,
.ed-search-toggle {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    border: 0;
    text-decoration: none;
    background: #eef2ff;
    color: #334155;
    font-weight: 800;
    cursor: pointer;
}

.ed-socials a:first-child {
    background: #31579f;
    color: #fff;
}

.ed-socials a:nth-child(2) {
    background: #50a8df;
    color: #fff;
}

.ed-socials a:nth-child(3) {
    background: #c40025;
    color: #fff;
}

.ed-menu-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    border: 0;
    background: transparent;
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
}

.ed-menu-toggle span {
    display: block;
    width: 34px;
    height: 2px;
    background: #64748b;
    margin: 5px 0;
}

.ed-menu-toggle strong {
    font-weight: 700;
}

.ed-mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(15, 23, 42, 0.62);
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
}

.ed-mobile-panel.is-open {
    opacity: 1;
    visibility: visible;
}

.ed-mobile-panel-inner {
    margin-left: auto;
    width: min(380px, 88vw);
    height: 100%;
    background: #fff;
    padding: 34px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: 0.24s ease;
}

.ed-mobile-panel.is-open .ed-mobile-panel-inner {
    transform: translateX(0);
}

.ed-mobile-close {
    float: right;
    border: 0;
    background: transparent;
    font-size: 36px;
    cursor: pointer;
}

.ed-mobile-panel .ed-nav-list {
    display: block;
    clear: both;
}

.ed-mobile-panel .ed-nav-list li {
    border-bottom: 1px solid var(--ed-line);
}

.ed-mobile-panel .ed-nav-list a {
    display: block;
    padding: 14px 0;
    font-size: 18px;
}

.ed-mobile-topics {
    margin-top: 34px;
}

.ed-mobile-topics a {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    color: var(--ed-muted);
    text-decoration: none;
    border-bottom: 1px dotted var(--ed-line);
}

.ed-main {
    min-height: 55vh;
}

.ed-footer {
    margin-top: 90px;
    padding: 76px 0 34px;
    background: #f4f6f8;
    border-top: 1px solid var(--ed-line);
}

.ed-footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr 1fr 1.3fr;
    gap: 42px;
}

.ed-footer h4 {
    position: relative;
    margin-bottom: 24px;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.14em;
}

.ed-footer h4::after {
    content: "";
    display: block;
    width: 34px;
    height: 2px;
    margin-top: 10px;
    background: #111827;
}

.ed-footer p,
.ed-footer li,
.ed-footer a,
.ed-footer span {
    color: #5f6877;
    font-size: 14px;
}

.ed-footer a {
    text-decoration: none;
}

.ed-footer li {
    padding: 8px 0;
    border-bottom: 1px dotted #d8dde5;
}

.ed-address {
    margin-top: 18px;
}

.ed-address strong,
.ed-address span {
    display: block;
}

.ed-footer-socials {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 18px;
}

.ed-footer-socials a {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    background: #31579f;
    color: #fff;
    font-weight: 700;
}

.ed-tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.ed-tagcloud a {
    padding: 8px 15px;
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 999px;
}

.ed-newsletter-form {
    display: flex;
    align-items: center;
    margin-top: 20px;
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 999px;
    overflow: hidden;
}

.ed-newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    padding: 14px 20px;
    outline: 0;
    background: transparent;
}

.ed-newsletter-form button {
    border: 0;
    padding: 14px 24px;
    background: var(--ed-primary);
    color: #fff;
    font-weight: 800;
}

.ed-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
}

.ed-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 56px;
    padding-top: 26px;
    border-top: 1px solid #dfe4ea;
}

.ed-scroll-top {
    position: fixed;
    right: 28px;
    bottom: 28px;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    border: 0;
    background: var(--ed-primary);
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    box-shadow: var(--ed-card-shadow);
    cursor: pointer;
    z-index: 80;
    opacity: 0;
    visibility: hidden;
    transition: 0.2s ease;
}

.ed-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 991px) {
    .ed-container {
        width: min(100% - 32px, 760px);
    }

    .ed-topbar {
        display: none;
    }

    .ed-brandbar-inner {
        min-height: 128px;
    }

    .ed-logo {
        font-size: 34px;
    }

    .ed-nav {
        display: none;
    }

    .ed-menu-toggle {
        display: inline-flex;
    }

    .ed-navrow-inner {
        min-height: 84px;
    }

    .ed-socials {
        margin-left: auto;
    }

    .ed-search-toggle {
        display: none;
    }

    .ed-footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .ed-footer-bottom {
        display: block;
    }
}

@media (max-width: 640px) {
    .ed-container {
        width: min(100% - 24px, 100%);
    }

    .ed-brandbar-inner {
        min-height: 110px;
    }

    .ed-logo-name {
        font-size: 28px;
    }

    .ed-logo-mark {
        width: 38px;
        height: 38px;
        border-radius: 12px;
    }

    .ed-buy-btn {
        min-height: 42px;
        padding: 0 18px;
    }

    .ed-theme-toggle {
        font-size: 22px;
    }

    .ed-navrow-inner {
        min-height: 72px;
    }

    .ed-footer {
        margin-top: 60px;
        padding-top: 52px;
    }

    .ed-footer-grid {
        grid-template-columns: 1fr;
    }

    .ed-newsletter-form {
        display: block;
        border-radius: 18px;
        background: transparent;
        border: 0;
    }

    .ed-newsletter-form input {
        width: 100%;
        margin-bottom: 10px;
        border: 1px solid var(--ed-line);
        border-radius: 999px;
        background: #fff;
    }

    .ed-newsletter-form button {
        border-radius: 999px;
        width: 100%;
    }
}


.ed-home-hero {
    padding: 64px 0 36px;
}

.ed-page-heading {
    margin-bottom: 46px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--ed-line);
}

.ed-page-heading h1 {
    margin: 0 0 8px;
    font-size: clamp(42px, 5vw, 72px);
    line-height: 0.95;
    letter-spacing: -0.07em;
    color: var(--ed-text);
}

.ed-page-heading p {
    margin: 0;
    color: var(--ed-muted);
    font-size: 18px;
}

.ed-feature-layout {
    display: grid;
    grid-template-columns: 1.45fr 0.85fr;
    gap: 28px;
    margin-bottom: 30px;
}

.ed-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.ed-feature-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--ed-line);
    border-radius: 10px;
    background: #fff;
    box-shadow: var(--ed-card-shadow);
}

.ed-feature-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #eef2f7;
}

.ed-feature-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transform: scale(1);
    transition: transform 0.35s ease;
}

.ed-feature-card:hover .ed-feature-image img {
    transform: scale(1.04);
}

.ed-feature-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.78));
    pointer-events: none;
}

.ed-feature-card-large .ed-feature-image {
    height: 420px;
}

.ed-feature-card-side .ed-feature-image {
    height: 220px;
}

.ed-feature-card-small .ed-feature-image {
    height: 210px;
}

.ed-feature-content {
    padding: 26px 30px 28px;
}

.ed-feature-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    color: #fff;
}

.ed-feature-cats {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    color: #299ad6;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ed-feature-card-large .ed-feature-cats {
    color: #50d0a4;
}

.ed-feature-content h2,
.ed-feature-content h3 {
    margin: 0;
    letter-spacing: -0.04em;
}

.ed-feature-content h2 {
    max-width: 760px;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.02;
}

.ed-feature-content h3 {
    font-size: 23px;
    line-height: 1.13;
}

.ed-feature-content a {
    color: inherit;
    text-decoration: none;
}

.ed-feature-meta {
    margin-top: 18px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ed-feature-overlay .ed-feature-meta {
    color: rgba(255, 255, 255, 0.9);
}

.ed-feature-meta span {
    display: inline-block;
    margin: 0 8px;
}

.ed-feature-badge {
    position: absolute;
    top: 26px;
    left: 26px;
    z-index: 3;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #f59e0b;
    color: #fff;
    font-size: 15px;
}

.ed-empty-state {
    padding: 60px;
    border: 1px dashed var(--ed-line);
    border-radius: 12px;
    text-align: center;
    background: #fff;
}

.ed-empty-state h2 {
    margin: 0 0 8px;
}

.ed-empty-state p {
    margin: 0;
    color: var(--ed-muted);
}

@media (max-width: 991px) {
    .ed-home-hero {
        padding-top: 42px;
    }

    .ed-feature-layout,
    .ed-feature-grid {
        grid-template-columns: 1fr;
    }

    .ed-feature-card-large .ed-feature-image,
    .ed-feature-card-side .ed-feature-image,
    .ed-feature-card-small .ed-feature-image {
        height: 380px;
    }

    .ed-feature-card {
        border-radius: 16px;
    }

    .ed-feature-content {
        padding: 32px;
    }

    .ed-feature-card-large .ed-feature-content {
        position: static;
        color: var(--ed-text);
    }

    .ed-feature-card-large .ed-feature-gradient {
        background: linear-gradient(to bottom, rgba(15, 23, 42, 0.02), rgba(15, 23, 42, 0.45));
    }

    .ed-feature-card-large .ed-feature-cats {
        color: #299ad6;
    }

    .ed-feature-card-large .ed-feature-meta {
        color: var(--ed-muted);
    }
}

@media (max-width: 640px) {
    .ed-page-heading {
        margin-bottom: 30px;
    }

    .ed-page-heading h1 {
        font-size: 48px;
    }

    .ed-page-heading p {
        font-size: 17px;
    }

    .ed-feature-card-large .ed-feature-image,
    .ed-feature-card-side .ed-feature-image,
    .ed-feature-card-small .ed-feature-image {
        height: 330px;
    }

    .ed-feature-content {
        padding: 28px 26px 34px;
    }

    .ed-feature-content h2 {
        font-size: 31px;
    }

    .ed-feature-content h3 {
        font-size: 29px;
    }

    .ed-feature-meta {
        margin-top: 52px;
        font-size: 12px;
    }
}


.ed-latest-section {
    margin-top: 54px;
}

.ed-section-heading {
    margin-bottom: 26px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ed-line);
}

.ed-section-heading h2 {
    margin: 0 0 6px;
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    color: var(--ed-text);
}

.ed-section-heading p {
    margin: 0;
    color: var(--ed-muted);
    font-size: 14px;
}

.ed-latest-list {
    display: grid;
    gap: 24px;
}

.ed-latest-card {
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 26px;
    align-items: stretch;
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--ed-card-shadow);
}

.ed-latest-thumb {
    display: block;
    min-height: 180px;
    background: #eef2f7;
    overflow: hidden;
}

.ed-latest-thumb img {
    width: 100%;
    height: 100%;
    min-height: 180px;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ed-latest-card:hover .ed-latest-thumb img {
    transform: scale(1.04);
}

.ed-latest-content {
    padding: 28px 30px 28px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ed-card-category {
    margin-bottom: 10px;
}

.ed-card-category a {
    color: #299ad6;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.ed-latest-content h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.ed-latest-content h3 a {
    color: var(--ed-text);
    text-decoration: none;
}

.ed-latest-content p {
    margin: 14px 0 0;
    color: var(--ed-muted);
    font-size: 15px;
    line-height: 1.65;
}

.ed-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
    color: #6b7280;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ed-card-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 10px;
    color: #9ca3af;
}

@media (max-width: 768px) {
    .ed-latest-card {
        grid-template-columns: 1fr;
    }

    .ed-latest-thumb,
    .ed-latest-thumb img {
        min-height: 280px;
    }

    .ed-latest-content {
        padding: 26px;
    }

    .ed-latest-content h3 {
        font-size: 28px;
    }
}



.ed-secondary-section {
    margin-top: 54px;
}

.ed-secondary-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.ed-secondary-card {
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--ed-card-shadow);
}

.ed-secondary-thumb {
    display: block;
    height: 230px;
    overflow: hidden;
    background: #eef2f7;
}

.ed-secondary-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ed-secondary-card:hover .ed-secondary-thumb img {
    transform: scale(1.04);
}

.ed-secondary-content {
    padding: 26px 28px 28px;
}

.ed-secondary-content h3 {
    margin: 0;
    font-size: 23px;
    line-height: 1.15;
    letter-spacing: -0.04em;
}

.ed-secondary-content h3 a {
    color: var(--ed-text);
    text-decoration: none;
}

.ed-secondary-content p {
    margin: 14px 0 0;
    color: var(--ed-muted);
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .ed-secondary-grid {
        grid-template-columns: 1fr;
    }

    .ed-secondary-thumb {
        height: 300px;
    }

    .ed-secondary-content {
        padding: 26px;
    }

    .ed-secondary-content h3 {
        font-size: 28px;
    }
}



.ed-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 34px 0 0;
}

.ed-page-btn {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 6px;
    border: 1px solid var(--ed-line);
    background: #fff;
    color: var(--ed-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    transition: 0.2s ease;
}

.ed-page-btn:hover,
.ed-page-btn.is-active {
    background: var(--ed-primary);
    border-color: var(--ed-primary);
    color: #fff;
}

@media (max-width: 640px) {
    .ed-pagination {
        justify-content: center;
    }

    .ed-page-btn {
        width: 46px;
        height: 46px;
    }
}


.ed-home-subscribe {
    margin: 42px 0 54px;
}

.ed-home-subscribe-inner {
    display: grid;
    grid-template-columns: 0.9fr 1.4fr;
    gap: 28px;
    align-items: center;
    padding: 34px 38px;
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 12px;
    box-shadow: var(--ed-card-shadow);
}

.ed-home-subscribe-text h2 {
    margin: 0 0 10px;
    font-size: 24px;
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--ed-text);
}

.ed-home-subscribe-text p {
    margin: 0;
    color: var(--ed-muted);
    font-size: 15px;
    line-height: 1.6;
}

.ed-home-subscribe-form {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid var(--ed-line);
    border-radius: 999px;
    overflow: hidden;
}

.ed-home-subscribe-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 16px 22px;
    outline: none;
    color: var(--ed-text);
}

.ed-home-subscribe-form button {
    border: 0;
    padding: 16px 28px;
    background: var(--ed-primary);
    color: #fff;
    font-weight: 800;
    cursor: pointer;
}

@media (max-width: 768px) {
    .ed-home-subscribe-inner {
        grid-template-columns: 1fr;
        padding: 28px;
    }

    .ed-home-subscribe-form {
        display: block;
        background: transparent;
        border: 0;
        border-radius: 0;
    }

    .ed-home-subscribe-form input {
        width: 100%;
        margin-bottom: 10px;
        border: 1px solid var(--ed-line);
        border-radius: 999px;
        background: #fff;
    }

    .ed-home-subscribe-form button {
        width: 100%;
        border-radius: 999px;
    }
}



.ed-intro-hero {
    padding: 84px 0;
    background: #f4f6f8;
    border-bottom: 1px solid var(--ed-line);
}

.ed-intro-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 56px;
}

.ed-intro-kicker {
    margin: 0 0 12px;
    color: var(--ed-text);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1.05;
    font-weight: 900;
    letter-spacing: -0.06em;
}

.ed-intro-kicker::first-letter {
    color: var(--ed-primary);
}

.ed-intro-content h1 {
    margin: 0;
    color: var(--ed-text);
    font-size: clamp(42px, 6vw, 86px);
    line-height: 0.95;
    font-weight: 950;
    letter-spacing: -0.08em;
}

.ed-intro-text {
    max-width: 680px;
    margin: 28px 0 34px;
    color: #667085;
    font-size: clamp(20px, 2.4vw, 32px);
    line-height: 1.18;
    font-weight: 700;
    letter-spacing: -0.04em;
}

.ed-intro-form {
    display: flex;
    width: min(680px, 100%);
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 999px;
    overflow: hidden;
    box-shadow: 0 12px 32px rgba(17, 24, 39, 0.06);
}

.ed-intro-form input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 20px 28px;
    outline: none;
    color: var(--ed-text);
    font-size: 16px;
}

.ed-intro-form button {
    border: 0;
    background: var(--ed-primary);
    color: #fff;
    padding: 0 42px;
    font-size: 16px;
    font-weight: 900;
    cursor: pointer;
}

.ed-intro-art {
    position: relative;
    min-height: 360px;
    display: grid;
    place-items: center;
}

.ed-intro-circle {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 30%, rgba(88, 102, 221, 0.25), transparent 35%),
        linear-gradient(135deg, rgba(88, 102, 221, 0.16), rgba(41, 154, 214, 0.1));
    border: 1px solid rgba(88, 102, 221, 0.18);
}

.ed-intro-card {
    position: absolute;
    width: 260px;
    padding: 28px;
    border-radius: 22px;
    background: #fff;
    border: 1px solid var(--ed-line);
    box-shadow: var(--ed-card-shadow);
}

.ed-intro-card span {
    display: block;
    width: 54px;
    height: 54px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: linear-gradient(135deg, #57b8ff, #5866dd);
}

.ed-intro-card strong {
    display: block;
    color: var(--ed-text);
    font-size: 26px;
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.05em;
}

.ed-intro-card em {
    display: block;
    margin-top: 8px;
    color: var(--ed-muted);
    font-style: normal;
    font-weight: 700;
}

@media (max-width: 991px) {
    .ed-intro-hero {
        padding: 70px 0;
    }

    .ed-intro-grid {
        grid-template-columns: 1fr;
    }

    .ed-intro-art {
        display: none;
    }
}

@media (max-width: 640px) {
    .ed-intro-hero {
        padding: 58px 0;
    }

    .ed-intro-content h1 {
        font-size: 56px;
    }

    .ed-intro-text {
        font-size: 25px;
    }

    .ed-intro-form {
        display: block;
        border-radius: 22px;
        background: transparent;
        border: 0;
        box-shadow: none;
    }

    .ed-intro-form input {
        width: 100%;
        margin-bottom: 12px;
        border: 1px solid var(--ed-line);
        border-radius: 999px;
        background: #fff;
    }

    .ed-intro-form button {
        width: 100%;
        min-height: 56px;
        border-radius: 999px;
    }
}


.ed-most-read-section {
    padding: 38px 0 20px;
}

.ed-most-read-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.ed-most-read-card {
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--ed-card-shadow);
}

.ed-most-read-thumb {
    display: block;
    height: 170px;
    overflow: hidden;
    background: #eef2f7;
}

.ed-most-read-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ed-most-read-card:hover .ed-most-read-thumb img {
    transform: scale(1.04);
}

.ed-most-read-content {
    padding: 22px 24px 24px;
}

.ed-most-read-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
    color: var(--ed-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
}

.ed-most-read-meta span:not(:last-child)::after {
    content: "—";
    margin-left: 8px;
    color: #9ca3af;
}

.ed-most-read-content h3 {
    margin: 0;
    font-size: 19px;
    line-height: 1.22;
    letter-spacing: -0.04em;
}

.ed-most-read-content h3 a {
    color: var(--ed-text);
    text-decoration: none;
}

.ed-most-read-content small {
    display: block;
    margin-top: 14px;
    color: var(--ed-muted);
    font-size: 12px;
}

@media (max-width: 991px) {
    .ed-most-read-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ed-most-read-thumb {
        height: 220px;
    }
}

@media (max-width: 640px) {
    .ed-most-read-grid {
        grid-template-columns: 1fr;
    }

    .ed-most-read-thumb {
        height: 300px;
    }

    .ed-most-read-content h3 {
        font-size: 25px;
    }
}

.ed-pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 38px 0 0;
}

.ed-page-btn,
.ed-page-dots {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.ed-page-btn {
    border: 1px solid var(--ed-line);
    background: #fff;
    color: var(--ed-text);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(17, 24, 39, 0.04);
    transition: 0.2s ease;
}

.ed-page-btn:hover,
.ed-page-btn.is-active {
    background: var(--ed-primary);
    border-color: var(--ed-primary);
    color: #fff;
}

.ed-page-btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
}

.ed-page-dots {
    color: var(--ed-muted);
}

@media (max-width: 640px) {
    .ed-pagination {
        justify-content: center;
        flex-wrap: wrap;
    }

    .ed-page-btn,
    .ed-page-dots {
        width: 46px;
        height: 46px;
    }
}


/* sidevar */

.ed-sidebar {
    display: grid;
    gap: 32px;
}

.ed-sidebar-author,
.ed-sidebar-block,
.ed-sidebar-newsletter {
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 14px;
    box-shadow: var(--ed-card-shadow);
}

.ed-sidebar-author {
    padding: 34px 30px;
    text-align: center;
}

.ed-sidebar-author-img {
    width: 82px;
    height: 82px;
    display: block;
    margin: 0 auto 18px;
    border-radius: 999px;
    object-fit: cover;
}

.ed-sidebar-avatar {
    width: 82px;
    height: 82px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, #57b8ff, #5866dd);
    color: #fff;
    font-size: 24px;
    font-weight: 900;
}

.ed-sidebar-author h3 {
    margin: 0 0 10px;
    color: var(--ed-text);
    font-size: 22px;
    letter-spacing: -0.04em;
}

.ed-sidebar-author p {
    margin: 0;
    color: var(--ed-muted);
    font-size: 14px;
    line-height: 1.65;
}

.ed-sidebar-socials {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 20px;
}

.ed-sidebar-socials a {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--ed-primary);
    text-decoration: none;
    font-weight: 900;
    text-transform: uppercase;
}

.ed-sidebar-block {
    padding: 28px;
}

.ed-sidebar-block h4,
.ed-sidebar-newsletter h4 {
    position: relative;
    margin: 0 0 22px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ed-line);
    color: var(--ed-text);
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.ed-sidebar-block h4::after,
.ed-sidebar-newsletter h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 38px;
    height: 2px;
    background: var(--ed-text);
}

.ed-sidebar-cats {
    display: grid;
    gap: 10px;
}

.ed-sidebar-cats a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 50px;
    padding: 0 14px 0 16px;
    border-radius: 9px;
    background: #f8fafc;
    color: var(--ed-text);
    text-decoration: none;
    font-weight: 800;
}

.ed-sidebar-cats em {
    min-width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #fff;
    color: var(--ed-muted);
    font-size: 12px;
    font-style: normal;
    border: 1px solid var(--ed-line);
}

.ed-sidebar-stories,
.ed-sidebar-comments {
    display: grid;
    gap: 18px;
}

.ed-sidebar-story {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 14px;
    align-items: center;
}

.ed-sidebar-story-img {
    width: 92px;
    height: 78px;
    overflow: hidden;
    border-radius: 9px;
    background: #eef2f7;
}

.ed-sidebar-story-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ed-sidebar-story h5,
.ed-sidebar-comment h5 {
    margin: 0;
    color: var(--ed-text);
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: -0.03em;
}

.ed-sidebar-story h5 a {
    color: inherit;
    text-decoration: none;
}

.ed-sidebar-story small {
    display: block;
    margin-top: 7px;
    color: var(--ed-muted);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ed-sidebar-comment {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 13px;
}

.ed-comment-avatar {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--ed-primary);
    font-weight: 900;
}

.ed-sidebar-comment p {
    margin: 6px 0 0;
    color: var(--ed-muted);
    font-size: 13px;
    line-height: 1.5;
}

.ed-sidebar-instagram {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.ed-sidebar-instagram a {
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 9px;
    background: #eef2f7;
}

.ed-sidebar-instagram img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ed-sidebar-newsletter {
    padding: 28px;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.ed-sidebar-newsletter p {
    margin: 0 0 18px;
    color: var(--ed-muted);
    font-size: 14px;
    line-height: 1.6;
}

.ed-sidebar-newsletter form {
    display: grid;
    gap: 10px;
}

.ed-sidebar-newsletter input {
    width: 100%;
    border: 1px solid var(--ed-line);
    border-radius: 999px;
    padding: 13px 16px;
    outline: none;
}

.ed-sidebar-newsletter button {
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    background: var(--ed-primary);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 991px) {
    .ed-sidebar {
        margin-top: 44px;
    }
}

/* secondary post grid */
.ed-category-columns-section {
    margin: 76px 0 34px;
    padding-top: 56px;
    border-top: 1px solid var(--ed-line);
}

.ed-category-columns-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.ed-category-column-heading {
    margin-bottom: 28px;
    border-bottom: 1px solid var(--ed-line);
}

.ed-category-column-heading h3 {
    position: relative;
    display: inline-block;
    margin: 0;
    padding-bottom: 14px;
    color: var(--ed-text);
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.ed-category-column-heading h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 54px;
    height: 3px;
    background: var(--ed-text);
}

.ed-category-column-heading a {
    color: inherit;
    text-decoration: none;
}

.ed-category-column-posts {
    display: grid;
    gap: 26px;
}

.ed-category-column-post {
    display: grid;
    grid-template-columns: 116px 1fr;
    gap: 18px;
    align-items: center;
}

.ed-category-column-thumb {
    display: block;
    width: 116px;
    height: 90px;
    overflow: hidden;
    border-radius: 8px;
    background: #eef2f7;
}

.ed-category-column-thumb img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ed-category-column-post:hover .ed-category-column-thumb img {
    transform: scale(1.05);
}

.ed-category-column-content h4 {
    margin: 0;
    color: var(--ed-text);
    font-size: 18px;
    line-height: 1.18;
    letter-spacing: -0.035em;
}

.ed-category-column-content h4 a {
    color: inherit;
    text-decoration: none;
}

.ed-category-column-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
    color: var(--ed-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ed-category-column-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 10px;
    color: #9ca3af;
}

@media (max-width: 991px) {
    .ed-category-columns-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ed-category-column-post {
        grid-template-columns: 140px 1fr;
    }

    .ed-category-column-thumb {
        width: 140px;
        height: 104px;
    }
}

@media (max-width: 520px) {
    .ed-category-column-post {
        grid-template-columns: 96px 1fr;
        gap: 14px;
    }

    .ed-category-column-thumb {
        width: 96px;
        height: 78px;
    }

    .ed-category-column-content h4 {
        font-size: 16px;
    }
}


/* footer */
.ed-footer-picks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 34px;
    margin-bottom: 64px;
    padding-bottom: 48px;
    border-bottom: 1px solid #dfe4ea;
}

.ed-footer-pick {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 18px;
    align-items: center;
}

.ed-footer-pick img {
    width: 110px;
    height: 82px;
    object-fit: cover;
    border-radius: 8px;
    background: #eef2f7;
}

.ed-footer-pick h4 {
    margin: 0;
    font-size: 17px;
    line-height: 1.2;
    letter-spacing: -0.03em;
    text-transform: none;
}

.ed-footer-pick h4::after {
    display: none;
}

.ed-footer-pick h4 a {
    color: var(--ed-text);
    text-decoration: none;
}

.ed-footer-pick span {
    display: block;
    margin-top: 8px;
    color: var(--ed-muted);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
}

.ed-footer-bottom a {
    color: inherit;
    text-decoration: underline;
}

@media (max-width: 991px) {
    .ed-footer-picks {
        grid-template-columns: 1fr;
    }
}

/* help scrolling */
html,
body {
    overflow-y: auto !important;
}


/* override scrolling */

/* Editorial spacing cleanup */
.ed-category-columns-section {
    margin: 52px 0 24px;
    padding-top: 42px;
}

.ed-footer {
    margin-top: 42px;
    padding: 46px 0 24px;
}

.ed-footer-picks {
    margin-bottom: 34px;
    padding-bottom: 30px;
}

.ed-footer-grid {
    gap: 34px;
}

.ed-footer-bottom {
    margin-top: 34px;
    padding-top: 22px;
}

/* Make footer editor picks less oversized */
.ed-footer-pick {
    grid-template-columns: 86px 1fr;
    gap: 14px;
}

.ed-footer-pick img {
    width: 86px;
    height: 62px;
}

.ed-footer-pick h4 {
    font-size: 14px;
    line-height: 1.25;
}

.ed-footer-pick span {
    font-size: 10px;
}

/* content from single */
/* Editorial single post */
.ed-single {
    background: #fff;
}

.ed-single-hero {
    padding: 74px 0 42px;
    background: #f8fafc;
    border-bottom: 1px solid var(--ed-line);
}

.ed-single-breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 28px;
    color: var(--ed-muted);
    font-size: 13px;
    font-weight: 800;
}

.ed-single-breadcrumb a {
    color: var(--ed-muted);
    text-decoration: none;
}

.ed-single-hero h1 {
    max-width: 940px;
    margin: 0;
    color: var(--ed-text);
    font-size: clamp(42px, 6vw, 78px);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.ed-single-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
    color: var(--ed-muted);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.ed-single-meta span:not(:last-child)::after {
    content: "•";
    margin-left: 12px;
    color: #9ca3af;
}

.ed-single-share,
.ed-single-share-bottom {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 24px;
}

.ed-single-share span,
.ed-single-share-bottom span {
    color: var(--ed-muted);
    font-weight: 800;
}

.ed-single-share a,
.ed-single-share-bottom a {
    width: 32px;
    height: 32px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--ed-primary);
    text-decoration: none;
    font-size: 12px;
    font-weight: 900;
}

.ed-single-featured {
    margin: 48px 0 48px;
    border-radius: 18px;
    overflow: hidden;
    background: #eef2f7;
    box-shadow: var(--ed-card-shadow);
}

.ed-single-featured img {
    width: 100%;
    max-height: 620px;
    display: block;
    object-fit: cover;
}

.ed-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: start;
}

.ed-single-main {
    min-width: 0;
}

.ed-single-excerpt {
    margin: 0 0 34px;
    color: #667085;
    font-size: 24px;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: -0.035em;
}

.ed-single-content {
    color: #1f2937;
    font-size: 18px;
    line-height: 1.9;
}

.ed-single-content p {
    margin: 0 0 28px;
}

.ed-single-content h2,
.ed-single-content h3,
.ed-single-content h4 {
    margin: 46px 0 18px;
    color: var(--ed-text);
    line-height: 1.18;
    letter-spacing: -0.05em;
}

.ed-single-content h2 {
    font-size: 36px;
}

.ed-single-content h3 {
    font-size: 28px;
}

.ed-single-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

.ed-single-content blockquote {
    margin: 38px 0;
    padding: 28px 34px;
    border-left: 4px solid var(--ed-primary);
    background: #f8fafc;
    color: var(--ed-text);
    font-size: 22px;
    line-height: 1.55;
    font-style: italic;
}

.ed-single-post-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: center;
    margin-top: 48px;
    padding-top: 28px;
    border-top: 1px solid var(--ed-line);
}

.ed-single-tag {
    display: inline-flex;
    padding: 9px 16px;
    border-radius: 999px;
    background: #f8fafc;
    border: 1px solid var(--ed-line);
    color: var(--ed-text);
    text-decoration: none;
    font-weight: 800;
}

.ed-single-share-bottom {
    margin-top: 0;
}

.ed-single-author {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 22px;
    margin-top: 42px;
    padding: 30px;
    border: 1px solid var(--ed-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--ed-card-shadow);
}

.ed-single-author img {
    width: 86px;
    height: 86px;
    border-radius: 999px;
    object-fit: cover;
}

.ed-single-author h3 {
    margin: 0;
    color: var(--ed-text);
    font-size: 24px;
    letter-spacing: -0.04em;
}

.ed-single-author span {
    display: block;
    margin-top: 4px;
    color: var(--ed-primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.ed-single-author p {
    margin: 12px 0 0;
    color: var(--ed-muted);
    line-height: 1.65;
}

.ed-related-posts,
.ed-comments {
    margin-top: 58px;
}

.ed-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.ed-related-card {
    border: 1px solid var(--ed-line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: var(--ed-card-shadow);
}

.ed-related-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: #eef2f7;
}

.ed-related-card h3 {
    margin: 0;
    padding: 18px;
    font-size: 17px;
    line-height: 1.22;
}

.ed-related-card h3 a {
    color: var(--ed-text);
    text-decoration: none;
}

.ed-alert {
    margin-bottom: 22px;
    padding: 14px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.ed-alert-success {
    background: #dcfce7;
    color: #166534;
}

.ed-alert-error {
    background: #fee2e2;
    color: #991b1b;
}

.ed-comment-list {
    display: grid;
    gap: 18px;
    margin-bottom: 34px;
}

.ed-comment {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 16px;
    padding: 22px;
    border: 1px solid var(--ed-line);
    border-radius: 12px;
    background: #fff;
}

.ed-comment h4 {
    margin: 0;
    color: var(--ed-text);
}

.ed-comment span {
    display: block;
    margin-top: 3px;
    color: var(--ed-muted);
    font-size: 12px;
}

.ed-comment p {
    margin: 12px 0 0;
    color: #4b5563;
    line-height: 1.65;
}

.ed-no-comments {
    color: var(--ed-muted);
}

.ed-comment-form {
    display: grid;
    gap: 14px;
}

.ed-comment-form textarea,
.ed-comment-form input {
    width: 100%;
    border: 1px solid var(--ed-line);
    border-radius: 12px;
    padding: 16px 18px;
    outline: none;
    background: #fff;
}

.ed-comment-form textarea {
    min-height: 180px;
    resize: vertical;
}

.ed-comment-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.ed-comment-form button {
    justify-self: start;
    border: 0;
    border-radius: 999px;
    padding: 14px 28px;
    background: var(--ed-primary);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

@media (max-width: 991px) {
    .ed-single-layout {
        grid-template-columns: 1fr;
    }

    .ed-single-sidebar {
        margin-top: 30px;
    }

    .ed-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .ed-single-hero {
        padding: 54px 0 34px;
    }

    .ed-single-hero h1 {
        font-size: 44px;
    }

    .ed-single-excerpt {
        font-size: 21px;
    }

    .ed-single-content {
        font-size: 17px;
    }

    .ed-single-post-footer {
        display: block;
    }

    .ed-single-share-bottom {
        margin-top: 18px;
    }

    .ed-single-author {
        grid-template-columns: 1fr;
    }

    .ed-comment-form-grid {
        grid-template-columns: 1fr;
    }
}



/* content */

/* Editorial admin-created pages */
.ed-page {
    background: #fff;
}

.ed-page-hero {
    padding: 72px 0 42px;
    background: #f8fafc;
    border-bottom: 1px solid var(--ed-line);
}

.ed-page-hero h1 {
    max-width: 900px;
    margin: 0;
    color: var(--ed-text);
    font-size: clamp(42px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.ed-page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: start;
    padding: 54px 0 28px;
}

.ed-page-main {
    min-width: 0;
}

.ed-page-featured {
    margin-bottom: 38px;
    border-radius: 18px;
    overflow: hidden;
    background: #eef2f7;
    box-shadow: var(--ed-card-shadow);
}

.ed-page-featured img {
    width: 100%;
    max-height: 520px;
    display: block;
    object-fit: cover;
}

.ed-page-content {
    color: #1f2937;
    font-size: 18px;
    line-height: 1.9;
}

.ed-page-content p {
    margin: 0 0 26px;
}

.ed-page-content h2,
.ed-page-content h3,
.ed-page-content h4 {
    margin: 42px 0 16px;
    color: var(--ed-text);
    line-height: 1.18;
    letter-spacing: -0.05em;
}

.ed-page-content h2 {
    font-size: 36px;
}

.ed-page-content h3 {
    font-size: 28px;
}

.ed-page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
}

@media (max-width: 991px) {
    .ed-page-layout {
        grid-template-columns: 1fr;
    }

    .ed-page-sidebar {
        margin-top: 30px;
    }
}

@media (max-width: 640px) {
    .ed-page-hero {
        padding: 54px 0 34px;
    }

    .ed-page-hero h1 {
        font-size: 44px;
    }

    .ed-page-content {
        font-size: 17px;
    }
}

/* blog section */

/* Editorial archive/blog page */
.ed-archive-page {
    background: #fff;
}

.ed-archive-hero {
    padding: 72px 0 42px;
    background: #f8fafc;
    border-bottom: 1px solid var(--ed-line);
}

.ed-archive-hero h1 {
    margin: 0;
    color: var(--ed-text);
    font-size: clamp(44px, 6vw, 82px);
    line-height: 0.95;
    letter-spacing: -0.08em;
}

.ed-archive-hero p {
    max-width: 680px;
    margin: 16px 0 0;
    color: var(--ed-muted);
    font-size: 19px;
    line-height: 1.5;
}

.ed-archive-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 64px;
    align-items: start;
    padding: 54px 0 32px;
}

.ed-archive-main {
    min-width: 0;
}

.ed-archive-list {
    display: grid;
    gap: 26px;
}

.ed-archive-card {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 28px;
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--ed-card-shadow);
}

.ed-archive-thumb {
    display: block;
    min-height: 190px;
    overflow: hidden;
    background: #eef2f7;
}

.ed-archive-thumb img {
    width: 100%;
    height: 100%;
    min-height: 190px;
    display: block;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.ed-archive-card:hover .ed-archive-thumb img {
    transform: scale(1.04);
}

.ed-archive-content {
    padding: 30px 30px 30px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ed-archive-content h2 {
    margin: 0;
    color: var(--ed-text);
    font-size: 28px;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.ed-archive-content h2 a {
    color: inherit;
    text-decoration: none;
}

.ed-archive-content p {
    margin: 14px 0 0;
    color: var(--ed-muted);
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 991px) {
    .ed-archive-layout {
        grid-template-columns: 1fr;
    }

    .ed-archive-sidebar {
        margin-top: 34px;
    }
}

@media (max-width: 700px) {
    .ed-archive-card {
        grid-template-columns: 1fr;
    }

    .ed-archive-content {
        padding: 26px;
    }

    .ed-archive-thumb,
    .ed-archive-thumb img {
        min-height: 280px;
    }

    .ed-archive-content h2 {
        font-size: 27px;
    }
}


/* Editorial 404 page */
.ed-error-page {
    min-height: 68vh;
    display: grid;
    place-items: center;
    padding: 86px 0;
    background: #f8fafc;
    border-bottom: 1px solid var(--ed-line);
}

.ed-error-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 64px 48px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 18px;
    box-shadow: var(--ed-card-shadow);
}

.ed-error-code {
    display: inline-grid;
    place-items: center;
    width: 92px;
    height: 92px;
    margin-bottom: 28px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--ed-primary);
    font-size: 28px;
    font-weight: 950;
    letter-spacing: -0.04em;
}

.ed-error-card h1 {
    margin: 0;
    color: var(--ed-text);
    font-size: clamp(44px, 6vw, 76px);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.ed-error-card p {
    max-width: 560px;
    margin: 22px auto 0;
    color: var(--ed-muted);
    font-size: 18px;
    line-height: 1.65;
}

.ed-error-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.ed-error-primary,
.ed-error-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
}

.ed-error-primary {
    background: var(--ed-primary);
    color: #fff;
}

.ed-error-secondary {
    background: #fff;
    color: var(--ed-text);
    border: 1px solid var(--ed-line);
}

@media (max-width: 640px) {
    .ed-error-card {
        padding: 46px 26px;
    }

    .ed-error-actions {
        display: grid;
    }
}

/* search */

.ed-search-page header p {
    font-style: italic;
    color: var(--ed-muted);
}


/* Editorial subscribe page */
.ed-subscribe-page {
    padding: 76px 0;
    background: #f8fafc;
    border-bottom: 1px solid var(--ed-line);
}

.ed-subscribe-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--ed-line);
    border-radius: 18px;
    box-shadow: var(--ed-card-shadow);
}

.ed-subscribe-image {
    min-height: 520px;
    background: #eef2f7;
}

.ed-subscribe-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ed-subscribe-content {
    padding: 64px;
}

.ed-subscribe-content h1 {
    margin: 0;
    color: var(--ed-text);
    font-size: clamp(42px, 5vw, 68px);
    line-height: 0.98;
    letter-spacing: -0.08em;
}

.ed-subscribe-content > p {
    margin: 22px 0 30px;
    color: var(--ed-muted);
    font-size: 18px;
    line-height: 1.65;
}

.ed-subscribe-form {
    display: flex;
    margin-bottom: 18px;
    border: 1px solid var(--ed-line);
    border-radius: 999px;
    overflow: hidden;
    background: #f8fafc;
}

.ed-subscribe-form input[type="email"] {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    padding: 17px 22px;
    outline: none;
}

.ed-subscribe-form button {
    border: 0;
    padding: 0 30px;
    background: var(--ed-primary);
    color: #fff;
    font-weight: 900;
    cursor: pointer;
}

.ed-subscribe-content small {
    color: var(--ed-muted);
}

.ed-alert-warning {
    background: #fef3c7;
    color: #92400e;
}

@media (max-width: 900px) {
    .ed-subscribe-card {
        grid-template-columns: 1fr;
    }

    .ed-subscribe-image {
        min-height: 320px;
    }

    .ed-subscribe-content {
        padding: 42px 28px;
    }
}

@media (max-width: 560px) {
    .ed-subscribe-form {
        display: grid;
        border: 0;
        background: transparent;
        gap: 10px;
        border-radius: 0;
    }

    .ed-subscribe-form input[type="email"] {
        border: 1px solid var(--ed-line);
        border-radius: 999px;
        background: #fff;
    }

    .ed-subscribe-form button {
        min-height: 52px;
        border-radius: 999px;
    }
}


/* Improve Editorial previous/next article cards */
.ed-single-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 48px 0 36px;
}

.ed-single-nav-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 34px;
    border: 1px solid var(--ed-line);
    border-radius: 14px;
    background: #fff;
    color: var(--ed-text);
    text-decoration: none;
    box-shadow: var(--ed-card-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ed-single-nav-card:hover {
    transform: translateY(-2px);
    border-color: var(--ed-primary);
}

.ed-single-nav-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--ed-primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ed-single-nav-card strong {
    color: var(--ed-text);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 900;
}

.ed-single-nav-next {
    text-align: right;
}

@media (max-width: 640px) {
    .ed-single-navigation {
        grid-template-columns: 1fr;
    }

    .ed-single-nav-next {
        text-align: left;
    }
}


.ed-single-navigation {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin: 48px 0 36px;
}

.ed-single-nav-card {
    min-height: 132px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 28px 34px;
    border: 1px solid var(--ed-line);
    border-radius: 14px;
    background: #fff;
    color: var(--ed-text);
    text-decoration: none;
    box-shadow: var(--ed-card-shadow);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.ed-single-nav-card:hover {
    transform: translateY(-2px);
    border-color: var(--ed-primary);
}

.ed-single-nav-card span {
    display: block;
    margin-bottom: 10px;
    color: var(--ed-primary);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.ed-single-nav-card strong {
    color: var(--ed-text);
    font-size: 18px;
    line-height: 1.3;
    font-weight: 900;
}

.ed-single-nav-next {
    text-align: right;
}

.ed-single-nav-empty {
    display: block;
}

@media (max-width: 640px) {
    .ed-single-navigation {
        grid-template-columns: 1fr;
    }

    .ed-single-nav-next {
        text-align: left;
    }

    .ed-single-nav-empty {
        display: none;
    }
}

.ed-sidebar-author-title {
    display: inline-block;
    margin: 0 0 12px;
    padding: 5px 10px;
    border-radius: 999px;
    background: #eef2ff;
    color: var(--ed-primary);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}