/* v1.3.18 — only Journal (archive + single) and existing grading Gutenberg page. */
body.gr-site .gr-journal { --gr-jgreen:#102117; --gr-jgold:#B89655; --gr-jgold2:#DFBD78; --gr-jivory:#F5F2EB; --gr-jborder:#DED8CA; padding-bottom:64px; }
body.gr-site .gr-journal :is(h1,h2,h3), body.gr-site .gr-editorial .gr-grading :is(h1,h2,h3) {font-family:'Cormorant Garamond',serif;letter-spacing:normal;}
body.gr-site .gr-journal a {text-decoration:none;}
body.gr-site .gr-journal .gr-crumb {font:400 11.5px/1.6 Inter,sans-serif;color:#6B665D;padding:18px 0 14px;overflow-wrap:anywhere;}
body.gr-site .gr-journal .gr-crumb a {color:inherit;}
body.gr-site .gr-journal .gr-crumb a:hover {color:#8C6D32;}
body.gr-site .gr-journal .gr-journal-eyebrow {font:600 10.5px/1.6 Inter,sans-serif;text-transform:uppercase;letter-spacing:2.5px;color:#8C6D32;margin:0 0 8px;}
body.gr-site .gr-journal-masthead {text-align:center;padding:28px 0 24px;border-bottom:2px solid #102117;margin-bottom:24px;}
body.gr-site .gr-journal-masthead h1 {color:#102117;font:600 clamp(33px,3.8vw,46px)/1.08 'Cormorant Garamond',serif;margin:4px 0 10px;max-width:none;}
body.gr-site .gr-journal-masthead > p:last-child {font:400 13.5px/1.65 Inter,sans-serif;color:#6B665D;max-width:720px;margin:0 auto;}
body.gr-site .gr-journal-rubrics {display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 32px;padding:0;}
body.gr-site .gr-journal-rubric {display:inline-flex;align-items:center;justify-content:center;min-height:36px;padding:8px 18px;border:1px solid #DED8CA;background:#fff;color:#181816;font:500 11.5px/1.3 Inter,sans-serif;text-transform:uppercase;letter-spacing:1.2px;transition:background .2s,color .2s,border-color .2s;}
body.gr-site .gr-journal-rubric:hover,body.gr-site .gr-journal-rubric.is-active {color:#DFBD78;background:#102117;border-color:#102117;}
body.gr-site .gr-journal-items {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;align-items:stretch;}
body.gr-site .gr-journal-featured {grid-column:1/-1;min-width:0;display:grid;grid-template-columns:390px minmax(0,1fr);background:#fff;border:1px solid #B89655;overflow:hidden;margin:0 0 14px;}
body.gr-site .gr-journal-featured-art {display:block;aspect-ratio:1;background:#111;overflow:hidden;min-height:0;}
body.gr-site .gr-journal-featured-art img {width:100%;height:100%;object-fit:cover;display:block;}
body.gr-site .gr-journal-featured-copy {padding:34px 42px;display:flex;flex-direction:column;justify-content:center;min-width:0;}
body.gr-site .gr-journal-featured-copy h2 {font:700 clamp(26px,2.6vw,34px)/1.12 'Cormorant Garamond',serif;color:#102117;margin:6px 0 14px;}
body.gr-site .gr-journal-featured-copy h2 a,body.gr-site .gr-journal-tile h3 a {color:inherit;}
body.gr-site .gr-journal-featured-copy h2 a:hover,body.gr-site .gr-journal-tile h3 a:hover {color:#8C6D32;}
body.gr-site .gr-journal-featured-excerpt {font:400 13.5px/1.67 Inter,sans-serif;color:#3E3B35;margin:0 0 16px;}
body.gr-site .gr-journal-meta {font:400 12px/1.6 Inter,sans-serif;color:#6B665D;margin:0 0 14px;}
body.gr-site .gr-journal-read {align-self:flex-start;color:#102117;font:600 12px/1.5 Inter,sans-serif;border-bottom:1px solid #B89655;padding-bottom:2px;}
body.gr-site .gr-journal-tile {display:flex;flex-direction:column;min-width:0;background:#fff;border:1px solid #DED8CA;transition:border-color .2s,box-shadow .2s;}
body.gr-site .gr-journal-tile:hover {border-color:#B89655;box-shadow:0 12px 28px rgba(16,33,23,.08);}
body.gr-site .gr-journal-tile-art {display:block;aspect-ratio:1;overflow:hidden;background:#171717;border-bottom:1px solid #DED8CA;}
body.gr-site .gr-journal-tile-art img {width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s;}
body.gr-site .gr-journal-tile:hover img {transform:scale(1.03);}
body.gr-site .gr-journal-empty-art {display:block;width:100%;height:100%;background:radial-gradient(circle at 45% 50%,#2b3d2f,#0b1710 65%);}
body.gr-site .gr-journal-tile-content {padding:18px 20px;display:flex;flex-direction:column;flex:1;min-width:0;}
body.gr-site .gr-journal-tile-content .gr-journal-eyebrow {font-size:10px;letter-spacing:1.4px;font-weight:600;margin-bottom:5px;}
body.gr-site .gr-journal-tile h3 {font:700 21.5px/1.16 'Cormorant Garamond',serif;color:#181816;margin:0 0 8px;}
body.gr-site .gr-journal-excerpt {font:400 12px/1.55 Inter,sans-serif;color:#4A4740;margin:0 0 14px;}
body.gr-site .gr-journal-tile-foot {display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:10px;border-top:1px solid #EFECE5;font:400 11px/1.45 Inter,sans-serif;color:#6B665D;}
body.gr-site .gr-journal-tile-foot a {font-weight:600;color:#102117;white-space:nowrap;}
body.gr-site .gr-journal-tile-foot a:hover {color:#B89655;}
body.gr-site .gr-journal .navigation.pagination {margin-top:30px;}
body.gr-site .gr-journal-empty {text-align:center;margin:28px 0 50px;}
/* Single article: reference 1fr / 340px layout. */
body.gr-site .gr-journal-article-layout {display:grid;grid-template-columns:minmax(0,1fr);gap:40px;align-items:start;}
body.gr-site .gr-journal-article-layout.has-product {grid-template-columns:minmax(0,1fr) 340px;}
body.gr-site .gr-journal-paper {background:#fff;border:1px solid #DED8CA;padding:42px 48px;min-width:0;}
body.gr-site .gr-journal-paper h1 {font:600 clamp(29px,3vw,40px)/1.12 'Cormorant Garamond',serif;color:#102117;margin:6px 0 16px;}
body.gr-site .gr-journal-article-content {font:400 14.5px/1.82 Inter,sans-serif;color:#242320;overflow-wrap:anywhere;}
body.gr-site .gr-journal-article-content p {font:inherit;margin:0 0 18px;}
body.gr-site .gr-journal-article-content :is(h2,h3,h4) {color:#102117;margin:22px 0 12px;}
body.gr-site .gr-journal-article-content :is(img,iframe,video,figure) {max-width:100%;height:auto;}
body.gr-site .gr-journal-related-record {position:sticky;top:64px;background:#102117;color:#fff;border:1px solid #B89655;padding:24px;min-width:0;}
body.gr-site .gr-journal-related-record .gr-journal-eyebrow {color:#DFBD78;font-size:10px;letter-spacing:2px;}
body.gr-site .gr-journal-related-image {display:block;aspect-ratio:1;overflow:hidden;margin:12px 0;border:1px solid rgba(184,150,85,.42);}
body.gr-site .gr-journal-related-image img {display:block;width:100%;height:100%;object-fit:cover;}
body.gr-site .gr-journal-related-meta {font:400 11px/1.65 Inter,sans-serif;color:#C2C9C5;margin:8px 0 5px;}
body.gr-site .gr-journal-related-record h2 {font:600 23px/1.38 'Cormorant Garamond',serif;color:#fff;margin:4px 0 12px;}
body.gr-site .gr-journal-product-button {display:block;background:#B89655;color:#0A140E;padding:12px;font:700 11px/1.3 Inter,sans-serif;text-align:center;letter-spacing:1.4px;text-transform:uppercase;transition:background .2s;}
body.gr-site .gr-journal-product-button:hover {background:#DFBD78;color:#0A140E;}
body.gr-site .gr-journal-comments {max-width:850px;margin-top:35px;}
/* Grading page: preserve editable existing Gutenberg content while matching the HTML. */
body.gr-site .gr-editorial .gr-grading {width:100%;max-width:100%;margin:0;padding:0;}
body.gr-site .gr-editorial .gr-grading .grading-hero {padding:44px 50px;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:40px;align-items:center;margin-bottom:32px;}
body.gr-site .gr-editorial .gr-grading .grading-hero h1 {font:600 clamp(30px,3.6vw,44px)/1.08 'Cormorant Garamond',serif;max-width:none;color:white;margin-bottom:14px;}
body.gr-site .gr-editorial .gr-grading .grading-hero > .wp-block-group > p:not(.eyebrow) {font-size:13.5px;line-height:1.65;color:#C2C9C5;max-width:560px;}
body.gr-site .gr-editorial .gr-grading .curator-quote-box {min-width:0;padding:24px 28px;}
body.gr-site .gr-editorial .gr-grading .grade-type-tabs {display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px;padding:0 0 16px;border-bottom:1px solid #DED8CA;}
body.gr-site .gr-editorial .gr-grading .g-tab {display:inline-block;padding:11px 24px;border:1px solid #DED8CA;color:#181816;background:#fff;font:600 20px/1.3 'Cormorant Garamond',serif;text-decoration:none;}
body.gr-site .gr-editorial .gr-grading .g-tab.active,body.gr-site .gr-editorial .gr-grading .g-tab[aria-selected="true"],body.gr-site .gr-editorial .gr-grading .g-tab:hover {background:#102117;color:#DFBD78;border-color:#102117;}
body.gr-site .gr-editorial .gr-grading .grades-stack {display:flex;flex-direction:column;gap:14px;margin-bottom:30px;}
body.gr-site .gr-editorial .gr-grading .grades-stack[hidden] {display:none!important;}
body.gr-site .gr-editorial .gr-grading .grades-stack > h2 {display:none;}
body.gr-site .gr-editorial .gr-grading .grade-row-card {display:grid;grid-template-columns:minmax(175px,220px) minmax(0,1fr) minmax(160px,220px);gap:28px;align-items:center;padding:22px 28px;min-width:0;}
body.gr-site .gr-editorial .gr-grading .grade-row-card .grade-code {font:700 30px/1 'Cormorant Garamond',serif;color:#102117;}
body.gr-site .gr-editorial .gr-grading .grade-row-card .grade-desc {font:400 13px/1.65 Inter,sans-serif;color:#2B2A27;}
body.gr-site .gr-editorial .gr-grading .grade-row-card .grade-seo-link {text-align:right;}
body.gr-site .gr-editorial .gr-grading .grade-seo-link a {display:inline-block;padding:8px 12px;background:#fff;border:1px solid #DED8CA;color:#102117;font:500 11px/1.5 Inter,sans-serif;text-decoration:none;}
body.gr-site .gr-editorial .gr-grading .grade-seo-link a:hover {background:#102117;color:#DFBD78;border-color:#102117;}
body.gr-site .gr-editorial .gr-grading .lab-grid {grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;}
@media(max-width:1100px){
    body.gr-site .gr-journal-featured {grid-template-columns:minmax(0,35%) minmax(0,1fr);}
    body.gr-site .gr-journal-items {grid-template-columns:repeat(2,minmax(0,1fr));}
    body.gr-site .gr-journal-article-layout.has-product {grid-template-columns:minmax(0,1fr) 295px;gap:22px;}
    body.gr-site .gr-editorial .gr-grading .grade-row-card {grid-template-columns:minmax(140px,210px) minmax(0,1fr);gap:18px;}
    body.gr-site .gr-editorial .gr-grading .grade-row-card .grade-seo-link {grid-column:2;text-align:left;}
}
@media(max-width:780px){
    body.gr-site .gr-journal-masthead {padding-top:15px;}
    body.gr-site .gr-journal-rubrics {gap:7px;justify-content:flex-start;}
    body.gr-site .gr-journal-rubric {font-size:10px;min-height:33px;padding:8px 11px;}
    body.gr-site .gr-journal-featured {grid-template-columns:minmax(0,1fr);}
    body.gr-site .gr-journal-featured-art {max-height:none;}
    body.gr-site .gr-journal-featured-copy {padding:22px;}
    body.gr-site .gr-journal-article-layout.has-product {grid-template-columns:minmax(0,1fr);}
    body.gr-site .gr-journal-related-record {position:static;max-width:450px;}
    body.gr-site .gr-journal-paper {padding:25px;}
    body.gr-site .gr-editorial .gr-grading .grading-hero {grid-template-columns:minmax(0,1fr);gap:22px;padding:28px;}
    body.gr-site .gr-editorial .gr-grading .grade-row-card {grid-template-columns:minmax(0,1fr);gap:12px;padding:18px;}
    body.gr-site .gr-editorial .gr-grading .grade-row-card .grade-seo-link {grid-column:auto;}
    body.gr-site .gr-editorial .gr-grading .lab-grid {grid-template-columns:minmax(0,1fr);}
}
@media(max-width:540px){
    body.gr-site .gr-journal-items {grid-template-columns:minmax(0,1fr);}
    body.gr-site .gr-journal-featured {grid-column:auto;}
    body.gr-site .gr-journal-featured-copy {padding:20px;}
    body.gr-site .gr-journal-tile-content {padding:16px;}
    body.gr-site .gr-journal-paper {padding:19px 16px;}
    body.gr-site .gr-journal-tile-foot {flex-wrap:wrap;}
    body.gr-site .gr-editorial .gr-grading .g-tab {font-size:15px;padding:10px 12px;}
    body.gr-site .gr-editorial .gr-grading .grading-hero {padding:20px;}
}
