.editorial-photo {
    overflow: hidden;
    border-radius: var(--radius-xl, 18px);
    background: var(--card-bg);
}

.editorial-photo img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

.editorial-photo-tools img {
    aspect-ratio: 16 / 9;
}

.editorial-lead,
.editorial-examples {
    display: grid;
    align-items: center;
    gap: 24px clamp(30px, 5vw, 72px);
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
    text-align: left;
}

.editorial-lead .resources-hero-content {
    margin: 0;
}

.editorial-lead > .seo-breadcrumb {
    grid-column: 1 / -1;
    padding-bottom: 0;
}

.editorial-lead .article-meta {
    flex-wrap: wrap;
    row-gap: 8px;
}

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

.editorial-example-figure {
    margin: 0;
}

.editorial-example-figure figcaption {
    margin-top: 12px;
    max-width: 56ch;
    font-size: 14px;
    line-height: 1.5;
    color: var(--color-gray-600);
}

:root[data-theme="dark"] .editorial-example-figure figcaption {
    color: #cbd5e1;
}

.editorial-examples .seo-example-grid {
    grid-template-columns: 1fr;
    gap: 0;
    margin: 0;
}

.editorial-examples .seo-example-card {
    padding: 18px 0;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--card-border);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.editorial-examples .seo-example-card:first-child {
    padding-top: 0;
}

.editorial-examples .seo-example-card:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.editorial-example-card {
    overflow: hidden;
}

.editorial-example-card .editorial-photo {
    margin: -22px -22px 18px;
    border-radius: 0;
}

.seo-mockup .editorial-photo {
    margin-bottom: 14px;
    border-radius: var(--radius-md, 12px);
}

:root[data-theme="dark"] .editorial-examples .seo-example-card {
    background: transparent;
}

:root[data-theme="dark"] .editorial-lead .article-method-note {
    color: #cbd5e1;
    background: #18212e;
    border-color: #334155;
}

@media (min-width: 720px) and (max-width: 960px) {
    .seo-example-grid:has(.editorial-example-card) {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 14px;
    }
}

@media (max-width: 719px) {
    .editorial-lead,
    .editorial-examples {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .editorial-lead .article-method-note {
        margin-bottom: 0;
    }
}
