.ed-section {
    padding-block: clamp(42px, 6vw, 86px);
    background: var(--paper);
    color: var(--ink);
}

.ed-filters { gap: 10px; margin-bottom: 32px; }
.ed-filters a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    border-color: #d8d2c4;
    color: #475b64;
    font-size: 14px;
    font-weight: 650;
    overflow-wrap: anywhere;
}
.ed-filters small { font-size: 12px; font-variant-numeric: tabular-nums; opacity: .8; }
.ed-filters [aria-current="page"] { background: var(--ink); border-color: var(--ink); }
.ed-filters a:hover:not([aria-current]), .ed-pages a:hover { color: #805d19; border-color: var(--gold); }

.ed-news-grid, .ed-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.ed-news-grid { gap: 40px clamp(20px, 3vw, 32px); }
.ed-case-grid { gap: 20px; }
.ed-empty { grid-column: 1 / -1; }
.ed-news-grid .ed-list-card {
    border: 0;
    border-top: 2px solid var(--ink);
    border-radius: 0;
    padding-top: 22px;
    background: transparent;
    overflow: visible;
}
.ed-news-grid .ed-card-link { display: flex; flex-direction: column; }
.ed-news-grid .ed-card-image {
    aspect-ratio: 16 / 10;
    min-height: 0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 18px;
}
.ed-news-grid .ed-card-content { flex: 1; padding: 0; }
.ed-news-grid .ed-card-content h2 { font-size: 18px; margin: 12px 0 8px; }
.ed-news-grid .ed-card-content p { font-size: 14px; color: #566973; }
.ed-meta { color: #52656e; font-size: 13px; gap: 10px; }
.ed-news-grid .ed-topic, .ed-detail-meta .ed-topic {
    display: inline-block;
    border-radius: 100px;
    padding: 4px 10px;
    background: #f0e9d8;
    color: #78571a;
    font-size: 12px;
}
.ed-news-grid .ed-more { color: #855f19; padding-top: 18px; }
.ed-card-link:hover h2 { color: #815d17; }
.ed-case-grid .ed-list-card {
    border: 0;
    background: var(--ink);
    border-radius: 16px;
}
.ed-case-grid .ed-card-link {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 4 / 3.6;
}
.ed-case-grid .ed-card-image { position: absolute; inset: 0; aspect-ratio: auto; z-index: -2; }
.ed-case-grid .ed-card-link::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(0deg, rgba(9,29,38,.97) 0%, rgba(9,29,38,.74) 32%, rgba(9,29,38,.06) 72%);
}
.ed-case-grid .ed-card-content { padding: clamp(18px, 2.2vw, 26px); width: 100%; }
.ed-case-grid .ed-topic { color: #f1d18b; font-size: 12px; }
.ed-case-grid .ed-card-content h2 { margin: 6px 0; font-size: 20px; color: #fff; }
.ed-case-grid .ed-card-content p {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #e3e9ec;
    font-size: 13px;
    line-height: 1.65;
}
.ed-case-grid .ed-card-link:focus-visible { outline: 3px solid #f2d592; outline-offset: -4px; }

.ed-crumb-band { color: #fff; background: linear-gradient(105deg, #14313d, #244c5b); }
.ed-crumb-band .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    padding-block: clamp(24px, 3.5vw, 48px);
    margin: 0;
    color: #d6e2e6;
    font-size: 13px;
    overflow-wrap: anywhere;
}
.ed-crumb-band .breadcrumb a { color: #e1ebef; }
.ed-crumb-band .breadcrumb a:hover { color: #efd395; }
.ed-crumb-band .breadcrumb [aria-current] { color: #fff; }
.ed-detail-section { padding-top: clamp(32px, 4vw, 52px); }
.ed-case-detail { max-width: 1000px; }
.ed-columns { grid-template-columns: minmax(0, 1fr) minmax(230px, 300px); gap: clamp(28px, 4vw, 56px); }
.ed-full-case .ed-detail-header, .ed-detail-header { margin: 0; border: 0; padding: 0; }
.ed-detail-meta { margin: 0 0 14px; }
.ed-detail-meta:empty { display: none; }
.ed-full-case .ed-detail-meta .ed-topic { background: var(--ink); color: #fff; }
.ed-detail-header h1 { font-size: clamp(26px, 3.4vw, 42px); line-height: 1.25; }
.ed-lead { margin-top: 14px; max-width: 70ch; color: #53636c; font-size: 15px; }
.ed-cover { margin: 26px 0; }
.ed-cover .ed-photo { border-radius: 16px; }
.ed-cover .ed-photo img { aspect-ratio: 2 / 1; }
.ed-cover-case .ed-photo img { aspect-ratio: 16 / 9; }
.ed-facts { gap: 12px; margin-block: 26px; }
.ed-facts > div { padding: 16px 18px; }
.ed-prose { color: #344850; font-size: 16px; line-height: 1.95; }
.ed-prose h2, .ed-related h2 { border-color: var(--gold); }
.ed-links a { background: #eee8da; color: #704f17; }
.ed-adjacent a:hover { border-color: var(--gold); }
.ed-sidebar { gap: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.ed-side-box { padding: 0; border: 0; border-radius: 0; }
.ed-side-box h2 { padding: 16px 20px; color: #fff; background: var(--ink); font-size: 15px; }
.ed-side-box li a { display: block; padding: 13px 20px; font-size: 14px; color: #314a55; }
.ed-side-box li a:hover, .ed-side-box li [aria-current] { background: var(--paper); color: #795715; }
.ed-side-box li [aria-current] { box-shadow: inset 3px 0 0 var(--gold); font-weight: 700; }
.ed-side-contact { padding: 22px 20px; background: #f0ede5; color: var(--ink); }
.ed-side-contact h2 { background: none; padding: 0; border: 0; color: inherit; }
.ed-side-contact p { color: #4d6068; font-size: 13px; }
.ed-side-contact .ed-phone { color: var(--ink); font-size: 22px; }
.ed-side-contact .button { width: 100%; justify-content: center; }
.ed-project-contact { padding-block: clamp(32px, 5vw, 68px); background: #fff; }
.ed-project-box {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(22px, 5vw, 64px);
    padding: clamp(24px, 5vw, 64px);
    border-radius: 24px;
    color: #fff;
    background: linear-gradient(115deg, #14313d, #2b5666);
}
.ed-project-box h2 { color: #fff; margin: 0; font-size: clamp(25px, 3.2vw, 40px); }
.ed-project-box p { color: #d6e0e4; margin: 12px 0 0; }
.ed-project-actions { display: grid; gap: 12px; }
.ed-project-actions a { justify-content: center; padding: 10px 16px; text-align: center; overflow-wrap: anywhere; }
.ed-project-phone { color: #fff; border: 1px solid #96acb5; border-radius: 100px; font-weight: 700; }

@media (max-width: 960px) {
    .ed-news-grid, .ed-case-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ed-columns { grid-template-columns: minmax(0, 1fr); }
    .ed-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}
@media (max-width: 620px) {
    .ed-news-grid, .ed-case-grid, .ed-sidebar, .ed-project-box, .ed-adjacent { grid-template-columns: minmax(0, 1fr); }
    .ed-filters { gap: 8px; }
    .ed-filters a { padding: 9px 12px; }
    .ed-case-grid .ed-card-link { aspect-ratio: 4 / 3; }
}
