/* Content-specific additions to the supplied editorial layouts. */
.gr-editorial {
    --border-gold: #b896556b;
    --gold-soft: #f4e8cf;
}
.gr-editorial .eyebrow {
    display: block; color: var(--gold-bright); font-size: 10px;
    font-weight: 700; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 7px;
}
.gr-editorial-content section { scroll-margin-top: 65px; }
.gr-editorial .gr-editorial-banner {
    background: var(--green); border: 1px solid var(--gold); color: #dfe3da;
    padding: clamp(20px, 4vw, 46px); margin-bottom: 20px;
}
.gr-editorial .gr-editorial-banner h1 { color: #fff7e7; }
.gr-editorial .gr-editorial-banner .gr-eyebrow, .gr-editorial .gr-map-link .gr-eyebrow { color: var(--gold-bright); }
.gr-editorial .gr-editorial-banner p:last-child { max-width: 70ch; margin-bottom: 0; }
.gr-editorial-box {
    background: #fffdf7; border: 1px solid var(--border);
    padding: clamp(16px, 3vw, 28px); margin-bottom: 18px;
}
.gr-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gr-editorial .gr-map-link {
    display: grid; place-content: center; text-align: center; min-height: 250px; padding: 20px;
    color: #fff7e7; background: radial-gradient(ellipse at 50% 30%, #2e4a34, #102117 70%);
}
.gr-editorial .gr-contact-form { display: grid; gap: 10px; }
.gr-editorial .gr-contact-form label { display: grid; gap: 4px; font-size: 12px; }
.gr-contact-form-fields { display: grid; grid-template-columns: 1fr 1fr; min-width: 0; gap: 10px; }
.gr-contact-form :where(input:not([type="checkbox"]), textarea) {
    width: 100%; display: block; color: var(--text); min-height: 37px; border: 1px solid var(--border); background: #fffefb; padding: 7px 9px;
}
.gr-editorial .gr-contact-form label.gr-contact-consent { display: flex; align-items: flex-start; }
.gr-editorial .gr-contact-form label.gr-contact-consent input { margin: 4px 0 0; }
.gr-contact-form button { justify-self: start; }
.gr-form-result { border-left: 3px solid var(--gold); padding: 8px; background: var(--ivory); }
.gr-editorial [id$="Grades"] { scroll-margin-top: 70px; margin-block: 16px; }
.gr-editorial .grade-type-tabs a { text-decoration: none; }
.gr-editorial .grade-type-tabs a:hover { background: var(--green); color: white; }
.gr-editorial .gr-about .founder-portrait-frame:not(:has(img)) { background: repeating-radial-gradient(circle, #102117 0 8px, #253b2a 9px 14px); min-height: 210px; }
.gr-editorial .gr-about .label-tag { cursor: default; }
.gr-article-row:has(.gr-article-product) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(215px, 290px); align-items: start; gap: 22px; }
.gr-article-product { position: sticky; top: 72px; background: #fffdf7; border: 1px solid var(--border); padding: 14px; }
.gr-article-product img { width: 100%; max-width: 100%; }
.gr-article-with-product { max-width: 1100px; }
.gr-article-product h2 { font-size: 28px; }
.gr-article-product > a:first-child { display: block; margin-bottom: 12px; }
.gr-story-featured:not(:has(.gr-story-image)) { display: block; }
@media (max-width: 1000px) {
    .gr-editorial .gr-delivery .pack-grid-4, .gr-editorial .gr-delivery .geo-grid,
    .gr-editorial .gr-delivery .pay-grid, .gr-editorial .gr-about .manifesto-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .gr-review-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .gr-editorial .gr-about :is(.founder-section, .manifesto-grid, .standards-3col, .service-2col, .club-tg-grid),
    .gr-editorial .gr-contacts :is(.contacts-top-grid, .contacts-bottom-grid),
    .gr-editorial .gr-delivery :is(.delivery-hero, .ship-grid, .delivery-grid),
    .gr-editorial .gr-grading :is(.grading-hero, .grade-row-card, .lab-grid),
    .gr-article-row:has(.gr-article-product) { grid-template-columns: 1fr; }
    .gr-article-product { position: static; }
    .gr-editorial .gr-delivery .delivery-hero { align-items: start; }
    .gr-editorial .gr-contacts table { overflow-wrap: anywhere; }
}
@media (max-width: 490px) {
    .gr-editorial .gr-delivery :is(.pack-grid-4, .geo-grid, .pay-grid), .gr-review-grid, .gr-contact-form-fields { grid-template-columns: 1fr; }
    .gr-editorial .grade-type-tabs a { font-size: 11px; padding-inline: 7px; }
}
