/*
Theme Name: RSMA Gallery
Author: RSMA website project
Description: WordPress starter theme based on the approved RSMA prototype.
Version: 1.4
Requires at least: 6.4
Text Domain: rsma-gallery
*/
:root{--navy:#073c63;--ink:#17222a;--sea:#8ebee0;--mist:#edf3f4;--cream:#f6f2e9;--line:#d8dedf;--max:1240px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);font-family:Arial,Helvetica,sans-serif;background:#fff}a{color:inherit;text-decoration:none}.site-header{height:104px;max-width:var(--max);margin:auto;padding:14px 28px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:flex;align-items:center;gap:14px;font-family:Georgia,serif;font-size:19px;line-height:1.05}.brand b{font-size:23px;font-weight:normal}.brand img{width:72px;height:72px;object-fit:contain;filter:contrast(1.2)}nav{display:flex;align-items:center;gap:24px;font-size:14px}nav a:hover,.text-link:hover{text-decoration:underline;text-underline-offset:5px}.outline{border:1px solid var(--navy);padding:11px 15px}.menu{display:none;background:none;border:1px solid var(--ink);padding:10px 13px}.hero{position:relative;min-height:690px;display:grid;grid-template-columns:1.35fr .85fr;background:var(--cream)}.hero-image{background:url('assets/hero-white-cliffs.jpg') center/cover no-repeat;min-height:520px}.hero-copy{align-self:end;padding:70px 7vw 90px 60px}.eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;font-weight:bold;color:var(--navy)}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:normal}h1{font-size:68px;line-height:.98;margin:14px 0 26px}h2{font-size:46px;line-height:1.05;margin:10px 0 24px}.hero p:not(.eyebrow){font-family:Georgia,serif;font-size:20px;line-height:1.55}.actions{display:flex;gap:24px;align-items:center;margin-top:32px}.button{background:var(--navy);color:#fff;padding:14px 20px;font-size:14px}.text-link{color:var(--navy);font-weight:bold;font-size:14px}.intro{max-width:850px;margin:0 auto;padding:120px 28px;text-align:center}.intro>p:not(.eyebrow){font-family:Georgia,serif;font-size:24px;line-height:1.55}.artists,.news{max-width:var(--max);margin:auto;padding:30px 28px 110px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:38px}.artist-grid,.news-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.artist-grid article{border-top:1px solid var(--line);padding-top:14px}.artist-grid img{width:100%;aspect-ratio:4/3;object-fit:cover}.artist-grid h3{font-size:25px;margin:15px 0 3px}.artist-grid p{margin:0;color:#58656c}.exhibition{background:var(--navy);color:#fff;display:grid;grid-template-columns:1fr 1fr;align-items:stretch}.exhibition>div{padding:90px max(7vw,40px)}.exhibition img{width:100%;height:100%;min-height:520px;object-fit:cover}.light{color:#fff}.date{font-family:Georgia,serif;font-size:21px}.cream{background:var(--cream);color:var(--navy)}.pathways{display:grid;grid-template-columns:repeat(4,1fr);max-width:var(--max);margin:110px auto;padding:0 28px}.pathways a{padding:25px 28px 38px;border-left:1px solid var(--line);min-height:190px}.pathways a:last-child{border-right:1px solid var(--line)}.pathways span{font-size:12px;color:#728089}.pathways h3{font-size:27px;margin:35px 0 8px}.pathways p{color:#5f6a70}.awards{background:var(--mist);padding:90px max(calc((100vw - 1184px)/2),28px);display:grid;grid-template-columns:.8fr 1.2fr;gap:80px}.award-list{border-top:1px solid #b9c5c8}.award-list a{display:flex;justify-content:space-between;padding:22px 4px;border-bottom:1px solid #b9c5c8;font-family:Georgia,serif;font-size:20px}.news{padding-top:110px}.news-grid{grid-template-columns:repeat(3,1fr)}.news-grid img{width:100%;aspect-ratio:16/10;object-fit:cover}.news-grid h3{font-size:26px;margin:8px 0}.news-grid article>p:last-child{line-height:1.6;color:#56636a}footer{background:#102b3d;color:#fff;padding:60px max(calc((100vw - 1184px)/2),28px);display:grid;grid-template-columns:2fr 1fr 1fr;gap:50px;font-size:14px;line-height:1.7}.footer-brand{display:flex;gap:20px;align-items:center}.footer-brand img{width:90px;height:90px;object-fit:contain;filter:invert(1) grayscale(1) brightness(3)}footer a{display:block;margin-bottom:8px}@media(max-width:900px){.site-header{height:auto;padding:12px 18px}.brand img{width:58px;height:58px}.brand{font-size:15px}.brand b{font-size:18px}.menu{display:block}nav{display:none;position:absolute;z-index:10;top:82px;left:0;right:0;background:#fff;padding:24px;flex-direction:column;align-items:flex-start;border-top:1px solid var(--line);box-shadow:0 12px 20px #0001}nav.open{display:flex}.hero{grid-template-columns:1fr}.hero-image{min-height:58vh}.hero-copy{padding:45px 24px 55px}.hero{min-height:0}h1{font-size:48px}h2{font-size:36px}.artist-grid{grid-template-columns:repeat(2,1fr)}.exhibition{grid-template-columns:1fr}.exhibition>div{padding:60px 28px}.exhibition img{min-height:360px}.pathways{grid-template-columns:1fr 1fr;margin:70px auto}.pathways a:nth-child(3),.pathways a:nth-child(4){border-top:1px solid var(--line)}.awards{grid-template-columns:1fr;gap:30px}.news-grid{grid-template-columns:1fr}footer{grid-template-columns:1fr}}@media(max-width:520px){.artist-grid{grid-template-columns:1fr 1fr;gap:12px}.artist-grid h3{font-size:20px}.pathways{grid-template-columns:1fr}.pathways a{border-right:1px solid var(--line);border-top:1px solid var(--line)}.section-head{align-items:flex-start;gap:20px;flex-direction:column}.actions{align-items:flex-start;flex-direction:column}h1{font-size:43px}}

/* Refined laptop hero */
@media(min-width:901px){.hero{min-height:520px;grid-template-columns:55% 45%}.hero-copy{padding:44px clamp(30px,4vw,70px) 55px}.hero h1{font-size:clamp(46px,4.3vw,64px)}.hero-image{min-height:520px}}
@media(max-width:900px){.hero-image{min-height:0;aspect-ratio:1.45;background-size:cover}}

/* Exhibition artwork: never enlarge an old browser screenshot */
.exhibition-art{display:flex;align-items:center;justify-content:center;min-width:0;padding:clamp(28px,5vw,80px);background:#e8edf0}.exhibition-art img{display:block;width:100%;max-width:580px;height:auto;min-height:0;max-height:440px;object-fit:contain;box-shadow:0 15px 35px #092c4022}.exhibition>div{padding:clamp(48px,5vw,85px) clamp(30px,6vw,100px)}@media(max-width:900px){.exhibition-art{padding:30px}.exhibition-art img{max-height:360px;min-height:0}}

/* Members directory and artist profile */
.directory-hero{background:var(--cream);padding:75px max(calc((100vw - 1184px)/2),28px) 78px}.directory-hero h1,.profile-heading h1{font-size:clamp(45px,6vw,78px);margin:15px 0 22px}.directory-hero>p:last-child,.profile-heading>p:last-child{font:22px/1.5 Georgia,serif;max-width:720px}.directory-main{max-width:1240px;margin:auto;padding:60px 28px 120px}.directory-toolbar{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:22px}.directory-toolbar label{font-size:13px;font-weight:bold;display:grid;gap:9px;min-width:230px}.directory-toolbar input,.directory-toolbar select{border:1px solid #b7c3c8;padding:13px;font:16px Arial;background:#fff;max-width:100%}.directory-note{font-size:13px;color:#68767c;line-height:1.6;max-width:780px}.directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:45px 24px;margin-top:35px}.member-card{min-width:0;border-top:1px solid var(--line);padding-top:13px}.member-card img{display:block;width:100%;height:250px;object-fit:cover;background:var(--mist)}.member-card h3{font-size:26px;margin:16px 0 5px}.member-card p{color:#60717b;margin:0 0 14px}.member-link{color:var(--navy);font-size:14px;font-weight:bold}.member-link:hover{text-decoration:underline}.member-pending{font-size:13px;color:#7d898e}.profile-heading{padding:65px max(calc((100vw - 1184px)/2),28px);background:var(--cream)}.profile-heading .eyebrow{margin-top:50px}.profile-heading h1 em{font-size:.35em;font-style:normal;color:var(--navy);vertical-align:middle}.profile-body{max-width:1240px;margin:auto;padding:90px 28px;display:grid;grid-template-columns:1.1fr 1fr;gap:75px}.profile-body img{width:100%;height:auto;max-height:560px;object-fit:contain;background:#eef1f2}.profile-body p{line-height:1.8}.profile-actions{display:flex;gap:20px;flex-wrap:wrap;align-items:center;margin-top:35px}.profile-more{padding:65px max(calc((100vw - 1184px)/2),28px) 95px;background:var(--mist)}@media(max-width:850px){.directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-body{grid-template-columns:1fr;gap:35px}}@media(max-width:520px){.directory-grid{grid-template-columns:1fr}.member-card img{height:auto;aspect-ratio:4/3}.directory-hero{padding-top:55px}.profile-body{padding-top:45px}}

/* Three-work artist galleries */
.works-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin-top:32px}.work-card{min-width:0}.work-awaiting{aspect-ratio:4/3;background:#dde6e8;border:1px solid #c5d2d5;display:grid;place-items:center;padding:24px;text-align:center;color:#64777f;font-size:14px}.work-card h3{font-size:23px;margin:15px 0 6px}.work-card p{margin:0;color:#5d6d75;font-size:14px}@media(max-width:650px){.works-grid{grid-template-columns:1fr}}

/* The Society and History */
.society-hero{display:grid;grid-template-columns:45% 55%;background:var(--cream);min-height:510px}.society-hero-copy{padding:clamp(48px,6vw,100px) clamp(28px,6vw,90px);align-self:center}.society-hero h1,.history-hero h1{font-size:clamp(43px,5.4vw,78px);line-height:1.04}.society-hero-copy>p:not(.eyebrow),.history-hero>p:last-child{font:clamp(19px,2vw,24px)/1.5 Georgia,serif;max-width:640px}.society-hero-art{min-width:0}.society-hero-art img{display:block;width:100%;height:100%;max-height:590px;object-fit:cover}.society-statement{max-width:860px;text-align:center;margin:auto;padding:110px 28px}.society-statement p:not(.eyebrow){font:21px/1.65 Georgia,serif}.society-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:0;background:var(--navy);color:#fff;padding:50px max(calc((100vw - 1184px)/2),28px)}.society-stats div{border-right:1px solid #ffffff44;padding:15px 25px}.society-stats div:last-child{border:0}.society-stats strong{display:block;font:46px Georgia,serif}.society-stats span{display:block;margin-top:12px;font-size:13px}.society-split{max-width:1240px;margin:auto;padding:115px 28px;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:85px}.society-image img{display:block;width:100%;max-height:480px;object-fit:contain;background:#e7edef}.society-copy p:not(.eyebrow){line-height:1.8;color:#46565e}.society-paths{background:var(--mist);padding:95px max(calc((100vw - 1184px)/2),28px)}.society-links{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:35px}.society-links a{border-top:1px solid #b7c7cb;padding:25px 5px}.society-links span{font-size:12px;color:#61737c;text-transform:uppercase;letter-spacing:.08em}.society-links h3{font-size:30px}.society-links p{line-height:1.6;color:#51636b;min-height:60px}.society-links b{color:var(--navy);font-size:14px}.society-governance{max-width:1240px;margin:auto;padding:105px 28px;display:grid;grid-template-columns:1.25fr .75fr;gap:80px}.society-governance p{line-height:1.7}.governance-mark{text-align:center;background:var(--cream);padding:30px}.governance-mark img{width:100%;max-width:210px;mix-blend-mode:multiply}.governance-mark p{font-size:13px}.history-hero{padding:95px max(calc((100vw - 1184px)/2),28px);background:var(--cream)}.history-hero h1{max-width:820px}.history-intro{max-width:1240px;margin:auto;padding:105px 28px;display:grid;grid-template-columns:.9fr 1.1fr;gap:90px}.history-intro p:not(.eyebrow){font:19px/1.8 Georgia,serif}.history-timeline{background:var(--mist);padding:90px max(calc((100vw - 1184px)/2),28px)}.timeline-item{display:grid;grid-template-columns:190px 1fr;gap:35px;border-top:1px solid #b9c7cb;padding:27px 0}.timeline-item strong{font:40px Georgia,serif;color:var(--navy)}.timeline-item h3{font-size:28px;margin:0 0 10px}.timeline-item p{margin:0;line-height:1.65;color:#52616a}.history-end{max-width:1100px;margin:auto;display:grid;grid-template-columns:1fr 300px;gap:80px;align-items:center;padding:100px 28px}.history-end p:not(.eyebrow){line-height:1.7}.history-end img{width:100%;mix-blend-mode:multiply}@media(max-width:850px){.society-hero,.society-split,.society-governance,.history-intro,.history-end{grid-template-columns:1fr;gap:35px}.society-hero-art img{max-height:400px}.society-stats{grid-template-columns:repeat(2,1fr)}.society-stats div:nth-child(2){border-right:0}.society-links{grid-template-columns:1fr}.society-links p{min-height:0}.history-end img{max-width:260px}.society-statement,.society-split,.society-governance,.history-intro,.history-end{padding-top:65px;padding-bottom:65px}}@media(max-width:520px){.society-stats{grid-template-columns:1fr}.society-stats div{border:0;border-bottom:1px solid #ffffff44}.timeline-item{grid-template-columns:1fr;gap:5px}.history-hero{padding-top:60px;padding-bottom:60px}}

/* Annual Exhibition and Awards */
.feature-banner{display:grid;grid-template-columns:49% 51%;background:var(--cream);min-height:510px}.feature-banner>div:first-child{padding:clamp(48px,6vw,90px) clamp(28px,6vw,90px);align-self:center}.feature-banner h1,.awards-banner h1{font-size:clamp(44px,5.3vw,76px);line-height:1.05;margin:15px 0 24px}.feature-banner p:not(.eyebrow),.awards-banner>p:last-child{font:clamp(19px,1.9vw,23px)/1.55 Georgia,serif;max-width:690px}.feature-banner .button{display:inline-block;margin-top:18px}.feature-image{min-width:0;background:#e7edef;display:flex;align-items:center;justify-content:center;padding:clamp(24px,4vw,60px)}.feature-image img{display:block;width:100%;height:auto;max-height:440px;object-fit:contain}.feature-content{max-width:1240px;margin:auto;padding:95px 28px;display:grid;grid-template-columns:1.3fr .7fr;gap:85px;align-items:center}.feature-content h2,.feature-band h2,.award-feature h2,.prize-section h2{font-size:clamp(34px,4vw,50px)}.feature-content p:not(.eyebrow),.feature-band>p:not(.eyebrow),.award-feature p:not(.eyebrow){line-height:1.75;color:#4c5e66}.feature-note{background:var(--mist);padding:35px}.feature-note h3{font-size:30px}.feature-band{background:var(--navy);color:#fff;padding:85px max(calc((100vw - 1184px)/2),28px)}.feature-band>p:not(.eyebrow){max-width:820px;color:#e0eaf0}.feature-band .eyebrow{color:#b9d9ea}.feature-links{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;margin-top:45px}.feature-links a{border-top:1px solid #ffffff77;padding-top:20px}.feature-links h3{font-size:27px}.feature-links p{color:#d9e7ed;line-height:1.65}.feature-links b{color:#fff}.feature-band .button{display:inline-block;background:#fff;color:var(--navy);margin-top:25px}.feature-image.inset{padding:20px}.awards-banner{background:var(--cream);padding:90px max(calc((100vw - 1184px)/2),28px)}.award-feature{max-width:1240px;margin:auto;padding:95px 28px;display:grid;grid-template-columns:1fr 1fr;gap:80px;align-items:center}.prize-section{background:var(--mist);padding:90px max(calc((100vw - 1184px)/2),28px)}.prize-section .section-head{display:flex;align-items:end;justify-content:space-between}.prize-list{margin-top:40px;border-top:1px solid #b9c7cb}.prize-row{display:grid;grid-template-columns:1.2fr .8fr;gap:25px;padding:23px 0;border-bottom:1px solid #b9c7cb;align-items:center}.prize-row h3{font-size:clamp(21px,2.1vw,27px);margin:0 0 7px}.prize-row p{margin:0;line-height:1.5}.prize-winner{font-weight:600;color:var(--navy)}.prize-row em{font-family:Georgia,serif;color:#435862}@media(max-width:850px){.feature-banner,.feature-content,.award-feature{grid-template-columns:1fr;gap:28px}.feature-banner .feature-image{min-height:0}.feature-links{grid-template-columns:1fr}.feature-content,.award-feature{padding-top:55px;padding-bottom:55px}.prize-row{grid-template-columns:1fr;gap:7px}.feature-band,.prize-section{padding-top:60px;padding-bottom:60px}}

/* Additions for the final design-section prototype */
.small-note{font-size:.88rem;color:#66727a;max-width:58ch}
.feature-content a:not(.text-link){color:#244c66;text-underline-offset:3px}
@media(max-width:900px){.feature-banner{grid-template-columns:1fr!important}.feature-banner .feature-image{max-height:420px;overflow:hidden}.feature-banner .feature-image img{width:100%;height:100%;object-fit:cover}}

.admin-bar .site-header{top:32px}
.wp-block-image img{height:auto}
.profile-body .wp-post-image{max-width:100%;height:auto}
.directory-grid .member-card img{object-fit:cover}
.entry-content{line-height:1.7}

/* RSMA v0.2: more restrained gallery typography and spacing */
@media (min-width:901px){
 .site-header{height:88px;padding-top:9px;padding-bottom:9px}
 .brand img{width:60px;height:60px}
 .brand{font-size:17px}.brand b{font-size:21px}
 nav{font-size:13px;gap:20px}
}
.directory-hero{padding-top:52px;padding-bottom:52px}
.directory-hero h1{font-size:clamp(38px,4.5vw,58px);line-height:1.08}
.directory-hero>p:last-child{font-size:19px}
.directory-main{padding-top:42px;padding-bottom:78px}
.profile-heading{padding-top:35px;padding-bottom:42px}
.profile-heading .eyebrow{margin-top:24px}
.profile-heading h1{font-size:clamp(40px,4.4vw,60px);line-height:1.1;margin:12px 0 0}
.profile-heading h1 em{font-size:.32em;white-space:nowrap}
.profile-body{padding-top:52px;padding-bottom:56px;gap:clamp(30px,4vw,60px);align-items:start}
.profile-body .entry-content{font-size:17px;line-height:1.65}
.profile-body .entry-content p{font-size:inherit;line-height:inherit;margin:0 0 1em}
.profile-body .eyebrow{margin-top:3px;margin-bottom:20px}
.profile-body img{display:block;max-height:490px}
.profile-actions{margin-top:24px}
.profile-actions .button{font-size:13px;padding:11px 15px}
.profile-actions .text-link{font-size:13px}
.profile-more{padding-top:46px;padding-bottom:65px}
.profile-more h2{font-size:clamp(32px,3vw,42px);margin:8px 0 18px}
.works-grid{gap:24px;margin-top:22px}
.work-card h3{font-size:18px;line-height:1.35;margin:12px 0 5px;overflow-wrap:anywhere}
@media(max-width:850px){.profile-body{padding-top:35px;padding-bottom:42px}.profile-heading{padding-top:28px;padding-bottom:34px}}
@media(max-width:520px){.profile-heading h1{font-size:38px}.profile-body .entry-content{font-size:16px}.work-card h3{font-size:17px}}

/* Editable Gutenberg text within the established Society / History layouts */
.rsma-editable-content > *:first-child { margin-top: 0; }
.rsma-editable-content > *:last-child { margin-bottom: 0; }
.rsma-editable-content p { max-width: 70ch; }
.rsma-editable-content a { text-decoration: underline; text-underline-offset: .18em; }
.rsma-editable-content img { max-width: 100%; height: auto; }


/* RSMA v0.5 — restrained editorial scale, preserving existing layouts */
@media (min-width: 851px) {
  .history-hero { padding-top: 62px; padding-bottom: 64px; }
  .history-hero h1 { font-size: clamp(42px, 4.1vw, 60px); line-height: 1.08; max-width: 980px; }
  .history-hero > p:last-child { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.55; max-width: 820px; }
  .society-hero { min-height: 430px; }
  .society-hero-copy { padding-top: 42px; padding-bottom: 42px; }
  .society-hero h1 { font-size: clamp(42px, 4.2vw, 62px); line-height: 1.08; }
  .society-hero-copy > p:not(.eyebrow) { font-size: clamp(18px, 1.6vw, 21px); }
  .society-hero-art img { max-height: 500px; }
  .profile-heading { padding-top: 28px; padding-bottom: 32px; }
  .profile-heading .eyebrow { margin-top: 16px; }
  .profile-heading h1 { font-size: clamp(38px, 3.8vw, 52px); }
  .directory-hero { padding-top: 42px; padding-bottom: 44px; }
  .directory-hero h1 { font-size: clamp(38px, 4vw, 54px); }
}
@media (max-width: 850px) {
  .history-hero { padding-top: 45px; padding-bottom: 48px; }
  .history-hero h1, .society-hero h1 { font-size: clamp(36px, 7vw, 51px); line-height: 1.1; }
  .history-hero > p:last-child, .society-hero-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.55; }
  .society-hero-copy { padding-top: 40px; padding-bottom: 40px; }
}

/* Award artwork in the editable winners list */
.award-work-image{display:block;max-width:180px;width:100%;height:auto;object-fit:contain;margin:0 0 10px}

/* News & Events: editable social feed beneath the archive */
.rsma-news-social { padding: 55px clamp(24px, 5vw, 90px) 65px; background: #f7f5ef; }
.rsma-news-social-inner { max-width: 1380px; margin: 0 auto; }
.rsma-news-social h2 { margin: 10px 0 28px; }
.rsma-news-social-content { max-width: 100%; }
@media (max-width: 700px) { .rsma-news-social { padding: 36px 22px 45px; } }

/* v1.2 — tighter editorial rhythm; retain the existing gallery layout. */
@media (min-width: 851px) {
  .feature-content { padding-top: 48px; padding-bottom: 48px; align-items: start; }
  .feature-content h2 { font-size: clamp(32px, 3.3vw, 44px); margin-bottom: 16px; }
  .feature-content .feature-note { padding: 28px 32px; }
  .rsma-news-social { padding-top: 32px; padding-bottom: 44px; }
  .rsma-news-social h2 { font-size: clamp(34px, 3.6vw, 48px); margin: 6px 0 18px; }
  .feature-band { padding-top: 55px; padding-bottom: 60px; }
  .feature-banner { min-height: 430px; }
  .feature-banner > div:first-child { padding-top: 42px; padding-bottom: 42px; }
  .feature-banner h1 { font-size: clamp(42px, 4.3vw, 62px); }
  .feature-banner p:not(.eyebrow) { font-size: clamp(18px, 1.6vw, 21px); }
  .feature-links { margin-top: 28px; }
  .society-split { padding-top: 70px; padding-bottom: 70px; }
  .society-paths { padding-top: 65px; padding-bottom: 65px; }
}
@media (max-width: 850px) {
  .feature-content { padding-top: 36px; padding-bottom: 38px; }
  .rsma-news-social { padding-top: 30px; padding-bottom: 38px; }
  .rsma-news-social h2 { margin-bottom: 18px; }
}

/* v1.3 — homepage-only typography: preserve artwork and all other pages. */
@media (min-width: 901px) {
  .hero-copy { padding-top: 38px; padding-bottom: 48px; }
  .hero h1 { font-size: clamp(39px, 3.65vw, 55px); line-height: 1.07; margin: 12px 0 18px; }
  .hero p:not(.eyebrow) { font-size: clamp(17px, 1.25vw, 19px); line-height: 1.48; }
  .hero .actions { margin-top: 24px; }
}
@media (max-width: 900px) {
  .hero h1 { font-size: clamp(36px, 6vw, 46px); line-height: 1.08; margin-bottom: 17px; }
  .hero p:not(.eyebrow) { font-size: 17px; line-height: 1.5; }
}

/* v1.4 — shared, compact editorial scale across RSMA pages. */
:root { --rsma-title-size: clamp(38px, 4vw, 58px); --rsma-section-title-size: clamp(30px, 3.1vw, 43px); --rsma-intro-size: clamp(17px, 1.35vw, 20px); }
@media (min-width: 901px) {
  .hero { min-height: 480px; }
  .hero-copy { align-self: center; padding: 34px clamp(28px, 4vw, 65px); }
  .hero-image { min-height: 480px; }
  .hero h1, .society-hero h1, .history-hero h1, .feature-banner h1, .awards-banner h1, .directory-hero h1, .profile-heading h1 { font-size: var(--rsma-title-size); line-height: 1.08; margin: 10px 0 16px; }
  .hero p:not(.eyebrow), .society-hero-copy > p:not(.eyebrow), .history-hero > p:last-child, .feature-banner p:not(.eyebrow), .awards-banner > p:last-child, .directory-hero > p:last-child, .profile-heading > p:last-child { font-size: var(--rsma-intro-size); line-height: 1.5; }
  .society-hero { min-height: 440px; }
  .society-hero-copy, .feature-banner > div:first-child { padding-top: 38px; padding-bottom: 38px; }
  .feature-banner { min-height: 440px; }
  .history-hero, .awards-banner, .directory-hero, .profile-heading { padding-top: 48px; padding-bottom: 50px; }
  .feature-content, .award-feature { padding-top: 54px; padding-bottom: 54px; }
  .prize-section, .history-timeline { padding-top: 62px; padding-bottom: 62px; }
  .intro, .society-statement { padding-top: 70px; padding-bottom: 70px; }
  .hero .actions { margin-top: 20px; }
}
.feature-content h2, .feature-band h2, .award-feature h2, .prize-section h2, .rsma-news-social h2, .society-split h2, .society-paths h2 { font-size: var(--rsma-section-title-size); line-height: 1.12; margin-top: 8px; margin-bottom: 18px; }
@media (max-width: 900px) {
  .hero-copy { align-self: start; padding: 34px 24px 40px; }
  .hero h1, .society-hero h1, .history-hero h1, .feature-banner h1, .awards-banner h1, .directory-hero h1 { font-size: clamp(35px, 6.5vw, 49px); line-height: 1.1; margin: 10px 0 16px; }
  .awards-banner, .history-hero, .directory-hero { padding-top: 44px; padding-bottom: 46px; }
  .hero p:not(.eyebrow), .feature-banner p:not(.eyebrow), .society-hero-copy > p:not(.eyebrow) { font-size: 18px; line-height: 1.5; }
}
