/* RAYMOND REST: consolidated public theme (previously /rc-theme.css) */
/* RAYMOND REST · approved premium responsive theme */
:root{color-scheme:dark;--rp-bg:#08080b;--rp-panel:#121115;--rp-gold:#d8ab63;--rp-text:#E8E3D8;--rp-muted:#AAA69E;--rp-border:rgba(216,171,99,.26)}
*,*::before,*::after{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0!important;background:var(--rp-bg)!important;color:var(--rp-text)!important;font:15px/1.6 -apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif!important}a{color:var(--rp-gold)}a:hover{color:#E8E3D8}a:focus-visible,summary:focus-visible{outline:2px solid #f3c97d;outline-offset:4px}.rp-skip{position:absolute;top:-100px;left:10px;z-index:100;padding:10px;background:#000}.rp-skip:focus{top:10px}
.rp-header{position:relative;z-index:10;background:#09090c;border-bottom:1px solid #28222a}.rp-header-inner{max-width:1450px;min-height:78px;margin:auto;padding:10px 28px;display:flex;align-items:center;gap:28px}.rp-brand{display:flex;align-items:center;gap:12px;color:#E8E3D8;text-decoration:none;flex:none}.rp-mark{font:italic 49px/1 Georgia,serif;color:var(--rp-gold);text-shadow:0 0 15px #b478293b}.rp-brand strong{display:block;font-size:19px;line-height:1.1;letter-spacing:.045em}.rp-brand small{display:block;color:#cbbba7;font-size:12px;margin-top:3px}.rp-desktop-nav{display:flex;gap:19px;align-items:center;justify-content:center;flex:1;flex-wrap:wrap}.rp-desktop-nav a{font-size:13px;color:#e9e4df;text-decoration:none;white-space:nowrap;padding:8px 0;border-bottom:1px solid transparent}.rp-desktop-nav a[aria-current=page],.rp-desktop-nav a:hover{color:#edc17c;border-bottom-color:#d8ab63}.rp-header-actions{display:flex;gap:15px;align-items:center;flex:none}.rp-phone{font-size:13px;color:#eee;text-decoration:none;white-space:nowrap}.rp-book{padding:10px 15px;border:1px solid var(--rp-gold);border-radius:10px;color:#E8E3D8;text-decoration:none;font-size:12px;white-space:nowrap}.rp-mobile-menu{display:none}
.rp-main{max-width:1160px;margin:0 auto;padding:45px 26px 85px;min-height:55vh}.rp-main h1{font:500 clamp(28px,3.5vw,40px)/1.22 Georgia,serif;color:#E8E3D8;margin:0 0 30px}.rp-main h2{font-size:21px}.rp-main p{color:#d4cdc4}.rp-main img{max-width:100%;height:auto}.rp-main .rc-archive{max-width:980px;margin:0 auto}.rp-main .rc-archive-row{border-bottom:1px solid #302b30;padding:19px 0}.rp-main .rc-archive-row h2{font-size:18px;font-weight:550}.rp-main .rc-archive-row time{color:#c6a87f;opacity:1}.rp-main .rc-archive-actions a{border:1px solid #65513b;border-radius:8px}.rp-main .rc-archive-nav a,.rp-main .rc-archive-nav span{border:1px solid #534331;border-radius:7px}.rp-main .rc-archive-nav .active{background:#cda365;color:#15100b}.rp-main .rc-content{max-width:850px;line-height:1.8;font-size:15px;overflow-wrap:anywhere}.rp-main .rc-content img{max-width:100%;height:auto}
.rp-footer{border-top:1px solid #312a30;background:#0b0a0d}.rp-footer-inner{max-width:1450px;margin:auto;padding:26px 28px;display:flex;align-items:center;justify-content:space-between;gap:30px}.rp-footer-name{display:flex;align-items:center;gap:12px;font-weight:700;letter-spacing:.05em;font-size:14px}.rp-footer-r{font:italic 34px Georgia,serif;color:var(--rp-gold)}.rp-footer-name small{display:block;color:#b4a99e;font-weight:400;font-size:11px;letter-spacing:0}.rp-footer-info{display:flex;gap:22px;flex-wrap:wrap;font-size:12px;color:#ccc0b5}.rp-footer-info a{color:#e2d0b5;text-decoration:none}.rp-footer-copy{font-size:11px;color:#9b9088;white-space:nowrap}
.rp-hero{min-height:470px;position:relative;background:linear-gradient(90deg,#09070dfc 0%,#0c0814ed 30%,#100b1aaa 54%,#09060b22 100%),var(--rc-hero-image,url('/rc-hero.webp')) right center/auto 100% no-repeat,#0a0710;display:flex;align-items:center}.rp-hero-inner{width:100%;max-width:1360px;margin:auto;padding:55px 45px}.rp-hero h1{font:500 clamp(42px,5vw,76px)/1.1 Georgia,serif;letter-spacing:.035em;margin:0 0 6px;background:linear-gradient(110deg,#e0b36b,#fff8ed 70%);color:transparent;background-clip:text}.rp-hero-sub{font:400 clamp(23px,2.7vw,36px)/1.25 Georgia,serif;color:#E8E3D8;margin:0}.rp-hero-rule{width:76px;height:2px;background:var(--rp-gold);margin:24px 0}.rp-hero-desc{max-width:450px;font-size:18px;line-height:1.55;color:#E8E3D8;margin:0 0 24px}.rp-hero-cta{display:flex;gap:12px;flex-wrap:wrap}.rp-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 23px;border:1px solid #e0b46c;border-radius:11px;text-decoration:none;font-weight:650;font-size:14px}.rp-btn-gold{background:linear-gradient(130deg,#f8d388,#d4a15b);color:#1b130b}.rp-btn-gold:hover{color:#1b130b}.rp-btn-outline{color:#E8E3D8;border-color:#ddd0c4;background:#0c0910aa}
.rp-home-sections{max-width:1240px;margin:0 auto;padding:30px 28px 60px;display:grid;grid-template-columns:1fr 1fr;gap:22px}.rp-panel{border:1px solid var(--rp-border);border-radius:15px;padding:23px 25px;background:linear-gradient(145deg,#141118,#0b0b0e)}.rp-panel-head{display:flex;justify-content:space-between;align-items:baseline;gap:12px;margin-bottom:12px}.rp-panel h2{font-size:22px;margin:0}.rp-panel-head a{font-size:12px;text-decoration:none;white-space:nowrap}.rp-entry{padding:13px 0;border-top:1px solid #332d34}.rp-entry time{display:block;color:#c7a678;font-size:12px;margin-bottom:4px}.rp-entry h3{font-size:16px;font-weight:600;line-height:1.4;margin:0}.rp-entry h3 a{color:#E8E3D8;text-decoration:none}.rp-entry p{color:#bfb6af;font-size:13px;line-height:1.5;margin:5px 0 0}.rp-empty{color:#aaa;font-size:13px}
@media(max-width:1250px){.rp-desktop-nav{gap:12px}.rp-desktop-nav a{font-size:12px}.rp-phone{display:none}.rp-header-inner{gap:18px}}
@media(max-width:940px){.rp-desktop-nav,.rp-header-actions{display:none}.rp-header-inner{min-height:69px;padding:8px 19px;justify-content:space-between}.rp-mobile-menu{display:block;position:static}.rp-mobile-menu summary{cursor:pointer;list-style:none;font-size:27px;color:var(--rp-gold);width:45px;text-align:center}.rp-mobile-menu summary::-webkit-details-marker{display:none}.rp-menu-close{display:none}.rp-mobile-menu[open] .rp-burger{display:none}.rp-mobile-menu[open] .rp-menu-close{display:inline}.rp-mobile-menu nav{position:absolute;left:0;right:0;top:100%;background:#0d0c11;border-bottom:1px solid #58422a;box-shadow:0 22px 45px #000c;padding:13px 20px 24px;display:grid;gap:2px;max-height:calc(100vh - 70px);overflow-y:auto}.rp-mobile-menu nav a{display:block;color:#E8E3D8;text-decoration:none;padding:12px 13px;border-radius:9px;font-size:15px}.rp-mobile-menu nav a[aria-current=page]{background:#30251d;color:#E8E3D8}.rp-hero{min-height:440px;background-position:right center}.rp-hero-inner{padding:50px 30px}.rp-home-sections{grid-template-columns:1fr}.rp-footer-inner{flex-wrap:wrap}}
@media(max-width:600px){.rp-brand strong{font-size:17px}.rp-brand small{font-size:11px}.rp-mark{font-size:44px}.rp-hero{min-height:510px;align-items:flex-end;background:linear-gradient(0deg,#09070dfa 0%,#09070ddf 40%,#09070d44 90%),var(--rc-hero-mobile-image,url('/rc-hero.webp')) center top/auto 75% no-repeat,#0a0710}.rp-hero-inner{padding:36px 22px}.rp-hero h1{font-size:39px}.rp-hero-sub{font-size:23px}.rp-hero-desc{font-size:15px;max-width:360px}.rp-hero-rule{margin:15px 0}.rp-hero-cta{flex-direction:column}.rp-btn{width:100%}.rp-home-sections{padding:18px 14px 45px;gap:14px}.rp-panel{padding:18px 17px}.rp-panel h2{font-size:19px}.rp-main{padding:31px 18px 60px}.rp-main h1{font-size:29px}.rp-main .rc-archive-row h2{font-size:17px}.rp-footer-inner{padding:24px 18px;display:grid;gap:15px}.rp-footer-info{display:grid;gap:8px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v5.6: editorial typography and long-form CMS pages */
.rp-main:has(.rc-content){max-width:1140px;padding-top:58px;padding-bottom:100px}
.rp-main:has(.rc-content)>h1{max-width:940px;margin:0 auto 36px;font:400 clamp(36px,4vw,52px)/1.15 Georgia,serif;letter-spacing:-.018em}
.rp-main .rc-content{max-width:940px;margin:0 auto;font-size:16px;line-height:1.85;color:#ddd4ca;overflow-wrap:break-word}
.rp-main .rc-content p{margin:0 0 22px;color:#dcd3c9;line-height:1.85}
.rp-main .rc-content h2{font:400 clamp(25px,2.8vw,33px)/1.25 Georgia,serif;color:#E8E3D8;margin:52px 0 20px;padding:0 0 14px;border-bottom:1px solid rgba(216,171,99,.26)}
.rp-main .rc-content h3{font:500 22px/1.4 Georgia,serif;color:#eac18a;margin:32px 0 15px}
.rp-main .rc-content h4{font-size:17px;color:#E8E3D8;margin:24px 0 12px}
.rp-main .rc-content a{color:#e2b36f;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#a27c49}
.rp-main .rc-content a:hover{color:#E8E3D8}
.rp-main .rc-content ul,.rp-main .rc-content ol{margin:16px 0 28px;padding-left:28px}
.rp-main .rc-content li{padding-left:5px;margin:8px 0;line-height:1.7}
.rp-main .rc-content li::marker{color:#d8ab63}
.rp-main .rc-content strong{color:#E8E3D8;font-weight:650}
.rp-main .rc-content blockquote{border-left:3px solid #d8ab63;padding:15px 22px;margin:26px 0;background:#171317;border-radius:0 12px 12px 0}
.rp-main .rc-content hr{height:1px;border:0;background:linear-gradient(90deg,transparent,#85613a,transparent);margin:36px 0}
.rp-main .rc-content table{border-collapse:collapse;width:100%;margin:24px 0 32px;font-size:14px}
.rp-main .rc-content th,.rp-main .rc-content td{padding:12px 15px;border-bottom:1px solid #383039;text-align:left}
.rp-main .rc-content th{background:#1b171a;color:#e8c18a}
.rp-main .rc-content img{border-radius:12px;margin:15px auto}
.rp-main .rc-content :is(h2,h3,h4){scroll-margin-top:28px}
.rp-main .rc-content a[href^="#"]{display:inline-block;margin:3px 7px 3px 0;padding:7px 12px;border:1px solid rgba(216,171,99,.35);border-radius:999px;background:#181419;text-decoration:none;font-size:13px;line-height:1.4}
.rp-main .rc-content a[href^="#"]:hover{background:#292019;border-color:#d8ab63}
@media(max-width:700px){.rp-main:has(.rc-content){padding:34px 18px 65px}.rp-main:has(.rc-content)>h1{margin-bottom:25px}.rp-main .rc-content{font-size:15px;line-height:1.75}.rp-main .rc-content h2{margin-top:36px}.rp-main .rc-content table{display:block;overflow-x:auto;white-space:nowrap}}

/* Custom text from Settings -> Footer */
.rp-footer-custom{max-width:1200px;margin:0 auto;padding:12px 24px 24px;text-align:center;color:#bdb5a7;font-size:13px;line-height:1.6;white-space:pre-line;border-top:1px solid rgba(215,170,101,.12)}

/* v7.5: size selected in Raymond Core visual editor; public CMS pages */
.rp-main article.rc-content img.rc-img-small{width:30%;max-width:100%;height:auto}
.rp-main article.rc-content img.rc-img-medium{width:60%;max-width:100%;height:auto}
.rp-main article.rc-content img.rc-img-large{width:100%;max-width:100%;height:auto}
@media(max-width:600px){
 .rp-main article.rc-content img.rc-img-small{width:50%}
 .rp-main article.rc-content img.rc-img-medium{width:85%}
}

/* v7.7: image alignment, preserved by HTML sanitizer */
.rc-content img.rc-align-left{margin-left:0!important;margin-right:auto!important}
.rc-content img.rc-align-center{margin-left:auto!important;margin-right:auto!important}
.rc-content img.rc-align-right{margin-left:auto!important;margin-right:0!important}

/* v8.6: unified responsive polish across pages, news, gallery, navigation */
.rp-main .rc-content iframe,.rp-main .rc-content video{max-width:100%}
.rp-main .rc-content pre{max-width:100%;overflow-x:auto}
.rp-main .rc-content img{object-fit:contain}
.rp-main .rc-content a:focus-visible,.rp-mobile-menu nav a:focus-visible{outline:2px solid #f3c97d;outline-offset:3px}
.rp-mobile-menu summary{touch-action:manipulation}
.rp-main .rc-archive-row,.rp-main .rc-archive-actions{min-width:0}
.rp-main .rc-archive-row h2{overflow-wrap:anywhere}
@media(max-width:940px){.rp-mobile-menu nav{overscroll-behavior:contain}.rp-header-inner{gap:12px}}
@media(max-width:600px){
 .rp-main .rc-content img.rc-img-small{max-width:100%}
 .rp-main .rc-content img.rc-img-medium{max-width:100%}
 .rp-main .rc-content table{max-width:100%;overflow-x:auto}
 .rp-main .rc-archive-actions{display:flex;gap:8px;flex-wrap:wrap}
 .rp-main .rc-archive-actions a{min-height:40px;display:inline-flex;align-items:center}
 .rp-header-inner{padding-left:14px;padding-right:14px}
 .rp-brand{min-width:0}.rp-brand strong{overflow-wrap:anywhere}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important}}

/* v8.7: keyboard accessibility */
.rc-skip-link{position:absolute;left:12px;top:-100px;z-index:10000;padding:12px 16px;border:2px solid #cda36b;border-radius:8px;background:#161412;color:#E8E3D8;text-decoration:none}
.rc-skip-link:focus{top:12px}
.rc-archive-nav a:focus-visible,.rc-archive-actions a:focus-visible,.rc-archive-row a:focus-visible{outline:2px solid #d6ad72;outline-offset:3px}

/* v9.8: public menu scalability and mobile nested path display */
.rp-desktop-nav{min-width:0}
.rp-desktop-nav a.rp-nav-ancestor{color:#e6c18a}
@media(max-width:940px){
 .rp-mobile-menu{z-index:20}
 .rp-mobile-menu[open] nav{max-height:min(75dvh,680px);overflow-y:auto;overscroll-behavior:contain}
 .rp-mobile-menu nav a.rp-mobile-nav-depth-1{padding-left:28px;border-left:2px solid #8c6a40;margin-left:12px}
 .rp-mobile-menu nav a.rp-mobile-nav-depth-2{padding-left:40px;border-left:2px solid #8c6a40;margin-left:18px}
 .rp-mobile-menu nav a.rp-mobile-nav-depth-3{padding-left:52px;border-left:2px solid #8c6a40;margin-left:24px}
 .rp-mobile-menu nav a.rp-nav-ancestor{color:#eac88f}
 .rp-mobile-menu nav a:focus-visible{outline:2px solid #edc17c;outline-offset:-2px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* v7: accessible type size control across public Raymond Core pages */
.rp-header-inner{position:relative}
.rp-font-toggle{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;border:1px solid #9d7a49;border-radius:50%;background:#1b1715;color:#e7bd7c;font:italic 23px/1 Georgia,serif;cursor:pointer;transition:background .15s,color .15s}
.rp-font-toggle:hover,.rp-font-toggle[aria-pressed="true"]{background:#b98d50;color:#120d08}
.rp-font-toggle:focus-visible{outline:2px solid #f0ca85;outline-offset:3px}
@media(max-width:940px){.rp-font-toggle{margin-left:auto;width:40px;height:40px}.rp-mobile-menu{margin-left:0}}
/* CSS zoom scales fixed-pixel text, controls and spacing consistently (100% / 120%). */
html.rp-large-text body{zoom:1.2}


/* RAYMOND REST: shared header, footer and legacy page styles */
/* RAYMOND REST: shared public layout CSS. Original rules preserved. */

/* HEADER */
/* Unified Raymond Core header — loaded by rp_header() on every public page. */
.rp-header,.rp-header *{box-sizing:border-box}
.rp-header{position:relative;z-index:100;background:#09090c;border-bottom:1px solid #29242b}
.rp-header .rp-header-inner{width:100%;max-width:1600px;min-height:86px;margin:0 auto;padding:12px 24px;display:flex;align-items:center;gap:20px;flex-wrap:nowrap}
.rp-header .rp-brand{display:flex;flex:0 0 auto;align-items:center;gap:12px;min-width:0;text-decoration:none}
.rp-header .rp-brand strong{white-space:nowrap}
.rp-header .rp-desktop-nav{display:flex;flex:1 1 auto;min-width:0;justify-content:center;align-items:center;gap:clamp(8px,1.05vw,18px);flex-wrap:wrap}
.rp-header .rp-desktop-nav a{display:inline-block;white-space:nowrap;line-height:1.3;padding:6px 0;font-size:clamp(12px,.82vw,14px)}
.rp-header .rp-header-actions{display:flex;flex:0 0 auto;align-items:center;gap:10px}
.rp-header .rp-font-toggle{flex:0 0 auto}
.rp-header .rp-mobile-menu{display:none}
@media(max-width:1180px){
 .rp-header .rp-header-inner{gap:14px;padding:10px 18px}
 .rp-header .rp-desktop-nav{gap:9px}
 .rp-header .rp-desktop-nav a{font-size:12px}
 .rp-header .rp-header-actions{display:none}
}
@media(max-width:980px){
 .rp-header .rp-header-inner{min-height:72px;justify-content:space-between;gap:12px}
 .rp-header .rp-desktop-nav,.rp-header .rp-header-actions{display:none!important}
 .rp-header .rp-font-toggle{margin-left:auto}
 .rp-header .rp-mobile-menu{display:block;position:static;flex:0 0 auto}
 .rp-header .rp-mobile-menu summary{display:flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;cursor:pointer;list-style:none;color:#d8ab63}
 .rp-header .rp-mobile-menu summary::-webkit-details-marker{display:none}
 .rp-header .rp-mobile-menu nav{position:absolute;top:100%;left:0;right:0;z-index:110;background:#111015;border-bottom:1px solid #57412a;padding:12px 20px 22px;display:grid;gap:2px;max-height:calc(100dvh - 72px);overflow-y:auto;box-shadow:0 22px 45px #000b}
 .rp-header .rp-mobile-menu nav a{display:block;color:#E8E3D8;padding:12px 14px;text-decoration:none;border-radius:8px;font-size:15px}
 .rp-header .rp-mobile-menu nav a[aria-current=page]{background:#35281b;color:#E8E3D8}
}
@media(max-width:420px){.rp-header .rp-header-inner{padding:8px 12px;gap:7px}.rp-header .rp-brand{gap:7px}.rp-header .rp-brand strong{font-size:15px}.rp-header .rp-brand small{font-size:10px}.rp-header .rp-mark{font-size:39px}}

/* v121: elegant shared header, two-level navigation */
.rp-header{background:#0c0b0f;border-bottom:1px solid #463626}
.rp-header .rp-header-inner{max-width:1900px;min-height:92px;padding:14px clamp(20px,3vw,56px);gap:clamp(16px,2vw,38px)}
.rp-header .rp-brand{gap:15px;min-width:245px;max-width:380px}
.rp-header .rp-brand strong{letter-spacing:.06em;font-size:clamp(17px,1.35vw,23px)}
.rp-header .rp-brand small{letter-spacing:.08em}
.rp-header .rp-desktop-nav{flex-wrap:nowrap;gap:clamp(15px,1.65vw,32px)}
.rp-header .rp-desktop-nav a{font-size:clamp(13px,.9vw,16px);padding:12px 0;transition:color .15s}
.rp-header .rp-desktop-nav a:hover{color:#e9bf77}
.rp-header .rp-desktop-nav a[aria-current=page]{color:#edc17b;border-bottom:2px solid #d8a65b}
.rp-header .rp-header-actions{display:flex!important;gap:0}
.rp-header .rp-more{position:relative}
.rp-header .rp-more summary{list-style:none;display:flex;align-items:center;gap:11px;cursor:pointer;padding:13px 16px;border:1px solid #b88947;border-radius:12px;color:#E8E3D8;white-space:nowrap;background:#141217}
.rp-header .rp-more summary::-webkit-details-marker{display:none}
.rp-header .rp-more[open] summary,.rp-header .rp-more summary:hover{border-color:#edc17b;background:#211b17}
.rp-header .rp-more-icon{color:#dfb36d;font-size:21px}
.rp-header .rp-more nav{position:absolute;z-index:200;right:0;top:calc(100% + 8px);width:max-content;min-width:245px;max-width:340px;background:#151318;border:1px solid #59462e;border-radius:14px;padding:10px;box-shadow:0 16px 36px #000a;display:grid;gap:3px}
.rp-header .rp-more nav a{color:#E8E3D8;text-decoration:none;padding:12px 14px;border-radius:8px;font-size:14px}
.rp-header .rp-more nav a:hover,.rp-header .rp-more nav a[aria-current=page]{background:#332718;color:#E8E3D8}
.rp-header .rp-font-toggle{margin-left:0}
@media(max-width:1200px){.rp-header .rp-header-actions{display:flex!important}.rp-header .rp-desktop-nav{gap:12px}.rp-header .rp-brand{min-width:210px}}
@media(max-width:1080px){.rp-header .rp-desktop-nav,.rp-header .rp-header-actions{display:none!important}.rp-header .rp-mobile-menu{display:block}.rp-header .rp-brand{min-width:0}}
@media(max-width:420px){.rp-header .rp-brand strong{font-size:15px}.rp-header .rp-brand small{letter-spacing:0}}

/* v122 — logo and typography refinement, without changing navigation behavior */
.rp-header .rp-brand{gap:clamp(12px,1.25vw,22px);max-width:none;min-width:0;overflow:visible}
.rp-header .rp-mark{display:inline-flex;position:relative;align-items:center;justify-content:center;flex:0 0 auto;width:clamp(48px,4.5vw,76px);height:clamp(60px,5vw,86px);font-family:Georgia,'Times New Roman',serif;font-size:clamp(65px,5.6vw,94px);font-weight:400;font-style:italic;line-height:1;letter-spacing:-.14em;padding-right:.15em;color:#e5b96b;text-shadow:0 0 14px rgba(224,165,67,.36),0 0 28px rgba(193,120,26,.2)}
.rp-header .rp-mark:after{content:"";position:absolute;left:15%;right:4%;bottom:2px;height:1px;background:linear-gradient(90deg,transparent,#f5c97b,transparent);box-shadow:0 0 8px #e8aa52}
.rp-header .rp-brand-divider{flex:0 0 1px;height:clamp(40px,3.8vw,65px);background:linear-gradient(transparent,#8f7451,transparent)}
.rp-header .rp-brand-type{display:flex;flex-direction:column;min-width:0;gap:5px}
.rp-header .rp-brand-type strong{font-family:Georgia,'Times New Roman',serif;font-size:clamp(18px,1.55vw,27px);font-weight:400;letter-spacing:.075em;line-height:1.1;color:#E8E3D8;white-space:nowrap}
.rp-header .rp-brand-type small{font-size:clamp(9px,.7vw,12px);font-weight:400;letter-spacing:.27em;text-transform:uppercase;color:#d8c4a7;white-space:nowrap}
.rp-header .rp-header-inner{min-height:100px}
@media(max-width:1320px){.rp-header .rp-brand-type strong{font-size:20px}.rp-header .rp-brand-type small{font-size:10px;letter-spacing:.16em}.rp-header .rp-mark{width:55px;height:65px;font-size:70px}}
@media(max-width:1080px){.rp-header .rp-header-inner{min-height:76px}.rp-header .rp-mark{width:46px;height:58px;font-size:61px}.rp-header .rp-brand-divider{height:40px}.rp-header .rp-brand-type strong{font-size:18px}.rp-header .rp-brand-type small{font-size:9px;letter-spacing:.12em}}
@media(max-width:420px){.rp-header .rp-brand{gap:8px}.rp-header .rp-mark{width:38px;height:49px;font-size:51px}.rp-header .rp-brand-divider{height:34px}.rp-header .rp-brand-type strong{font-size:15px}.rp-header .rp-brand-type small{font-size:8px;letter-spacing:.04em}}


/* FOOTER */
/* v136: discreet text-only guest navigation, no images. */
.rp-footer{display:block;clear:both;position:relative;width:100%;visibility:visible;opacity:1}
.rp-footer--guest{background:#0b0a0d;border-top:1px solid rgba(213,164,93,.22);padding:22px 16px calc(22px + env(safe-area-inset-bottom,0px))}
.rp-guest-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;max-width:680px;margin:auto}
.rp-guest-nav-link{display:flex;min-width:0;min-height:52px;align-items:center;justify-content:center;gap:11px;padding:12px 14px;box-sizing:border-box;background:#151316!important;background-image:none!important;border:1px solid rgba(198,153,89,.27);border-radius:12px;color:#e8ded0!important;text-decoration:none!important;font:500 13px/1.2 Arial,sans-serif;letter-spacing:.09em;box-shadow:none;transition:background .2s,border-color .2s,color .2s}
.rp-guest-nav-link:hover{background:#211a17!important;border-color:rgba(225,177,106,.6);color:#E8E3D8!important}
.rp-guest-nav-link:focus-visible{outline:2px solid #dfb574;outline-offset:3px}
.rp-guest-nav-link .rp-guest-nav-icon{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important;font:400 18px/1 Georgia,serif;color:#a88b65;opacity:.7}
.rp-guest-nav-link .rp-guest-nav-text{position:static!important;width:auto!important;height:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important}
@media(max-width:540px){.rp-footer--guest{padding:15px 10px calc(18px + env(safe-area-inset-bottom,0px))}.rp-guest-nav{gap:7px}.rp-guest-nav-link{min-height:48px;padding:10px 5px;gap:5px;font-size:10px;letter-spacing:.045em;border-radius:9px}.rp-guest-nav-link .rp-guest-nav-icon{font-size:15px}}
@media(prefers-reduced-motion:reduce){.rp-guest-nav-link{transition:none}}

/* v137: ensure shared footer is visible after standalone legacy pages. */
html body > footer.rp-footer{display:block!important;visibility:visible!important;opacity:1!important;position:relative!important;clear:both!important;width:100%!important;min-height:76px!important;z-index:1!important;background:#0b0a0d!important;border-top:1px solid rgba(216,171,99,.24)!important;color:#e7dfd5!important}
html body > footer.rp-footer .rp-footer-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;max-width:1450px;margin:0 auto;padding:24px 28px;gap:18px}
html body > footer.rp-footer .rp-footer-name{display:flex;align-items:center;gap:12px;color:#E8E3D8}
html body > footer.rp-footer .rp-footer-name small{display:block;color:#b4a99e}
html body > footer.rp-footer .rp-footer-copy{color:#a79a8c}
html body > footer.rp-footer--guest .rp-guest-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-width:680px;margin:auto}
html body > footer.rp-footer--guest .rp-guest-nav-link{background-image:none!important;aspect-ratio:auto!important;min-height:52px!important}
html body > footer.rp-footer--guest .rp-guest-nav-link .rp-guest-nav-icon,html body > footer.rp-footer--guest .rp-guest-nav-link .rp-guest-nav-text{display:inline!important;position:static!important;clip-path:none!important;overflow:visible!important;width:auto!important;height:auto!important;white-space:normal!important}
@media(max-width:600px){html body > footer.rp-footer .rp-footer-inner{display:grid;padding:20px 16px;gap:12px}html body > footer.rp-footer--guest .rp-guest-nav-link{gap:5px;padding:9px 5px;min-height:46px!important}}

/* v139: guest footer = 3 tabs + ONLY the admin-configured footer text. */
html body > footer.rp-footer--guest .rp-footer-custom--guest{display:block!important;max-width:1450px;margin:18px auto 0;padding:15px 16px 0;border-top:1px solid rgba(216,171,99,.14);text-align:center;font-size:13px;line-height:1.5;color:#b7a99a}

/* v141: compact legacy-page bottom whitespace; keep CMS page layout unchanged. */
html body > main.rp-main.rc-legacy-page{min-height:0!important;padding-bottom:20px!important}
html body > main.rp-main.rc-legacy-page:has(.rating-page-main){padding-top:18px!important;padding-bottom:0!important}
html body > main.rp-main.rc-legacy-page .rating-page-main{padding-bottom:18px!important}
html body > footer.rp-footer--guest{padding-top:16px!important;padding-bottom:18px!important}
html body > footer.rp-footer--guest .rp-footer-custom--guest{margin-top:12px!important;padding-top:12px!important}


/* v142: reduce legacy page bottom gap, do not alter CMS pages. */
html body main.rp-main.rc-legacy-page{margin-bottom:0!important;min-height:0!important}
html body main.rp-main.rc-legacy-page:has(.rating-page-main){padding-bottom:0!important}
html body .rating-page-main{margin-bottom:0!important;padding-bottom:8px!important}
html body .rating-page-main .msg{margin-bottom:0!important}
html body footer.rp-footer--guest{margin-top:0!important}
html body footer.rp-footer--guest .rp-footer-custom--guest{
  display:block!important;visibility:visible!important;opacity:1!important;
  margin:12px auto 0!important;min-height:18px!important;
}



/* Shared legacy-section layout: migrated from /rc-legacy.css. */
/* Legacy standalone pages — matched to approved Raymond Core black/gold theme. */
.rc-legacy-page{max-width:1180px;min-height:60vh;color:#e8dfd5}
.rc-legacy-page :is(h1,h2,h3,h4){color:#E8E3D8}
.rc-legacy-page :is(a){color:#dfb374}
.rc-legacy-page :is(input,select,textarea){max-width:100%;background:#19171b;color:#E8E3D8;border:1px solid #695339;border-radius:8px;padding:10px}
.rc-legacy-page :is(button,.btn,input[type=submit]){background:#d8ab63;color:#1b120b;border:0;border-radius:9px;padding:10px 16px;cursor:pointer}
.rc-legacy-page :is(.rules-block,.delivery-page details){border:1px solid #55402d;background:#151218;border-radius:12px;margin:12px 0;padding:14px 18px}
.rc-legacy-page :is(.rules-block__summary,.rules-nav){color:#edca93}
.rc-legacy-page :is(.rules-nav){display:flex;flex-wrap:wrap;gap:10px;margin-bottom:24px}
.rc-legacy-page .rules-nav a{padding:8px 12px;border:1px solid #6c5131;border-radius:8px;text-decoration:none}
.rc-legacy-page :is(img,video,iframe){max-width:100%}
.rc-legacy-page table{max-width:100%;display:block;overflow-x:auto}
@media(max-width:700px){.rc-legacy-page{padding:22px 14px 50px}.rc-legacy-page .rules-nav{gap:7px}.rc-legacy-page .rules-nav a{font-size:12px}}


/* v103: Raymond Rest desktop navigation — gold separators (variant 3).
   Desktop only; mobile navigation and link destinations are untouched. */
@media (min-width:1081px) {
  .rp-header .rp-desktop-nav {
    gap: 0;
  }
  .rp-header .rp-desktop-nav > a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px clamp(11px, 1.15vw, 20px);
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: clamp(11px, .76vw, 13px);
    font-weight: 500;
    letter-spacing: .085em;
    line-height: 1.4;
    text-transform: uppercase;
    color: #e9e0d5;
    transition: color .2s ease;
  }
  .rp-header .rp-desktop-nav > a + a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 15px;
    transform: translateY(-50%);
    background: linear-gradient(to bottom, transparent, rgba(202,153,84,.65), transparent);
    pointer-events: none;
  }
  .rp-header .rp-desktop-nav > a:hover,
  .rp-header .rp-desktop-nav > a[aria-current="page"],
  .rp-header .rp-desktop-nav > a.rp-nav-ancestor {
    color: #e6b66d !important;
  }
  .rp-header .rp-desktop-nav > a:focus-visible {
    outline: 2px solid #d6a65f;
    outline-offset: -2px;
  }
}


/* v104 — Midnight Cards: mobile navigation only. No HTML/JS/link changes. */
@media (max-width:1080px) {
  .rp-header .rp-mobile-menu[open] nav {
    box-sizing:border-box;
    left:0;right:0;
    padding:16px clamp(14px,4vw,24px) calc(24px + env(safe-area-inset-bottom,0px));
    background:#0b090d;
    border-bottom:1px solid #6b4d2c;
    display:grid;
    gap:8px;
    counter-reset:raymond-mobile-item;
    max-height:min(80dvh,760px);
    overflow-y:auto;
    overscroll-behavior:contain;
    box-shadow:0 24px 45px rgba(0,0,0,.68);
  }
  .rp-header .rp-mobile-menu nav a,
  .rp-header .rp-mobile-menu nav a.rp-mobile-nav-depth-1,
  .rp-header .rp-mobile-menu nav a.rp-mobile-nav-depth-2,
  .rp-header .rp-mobile-menu nav a.rp-mobile-nav-depth-3 {
    counter-increment:raymond-mobile-item;
    display:flex;
    align-items:center;
    gap:14px;
    box-sizing:border-box;
    width:100%;
    min-height:54px;
    margin:0;
    padding:13px 15px;
    border:1px solid #352932;
    border-radius:11px;
    background:#19151a;
    color:#e8ded2;
    font:500 15px/1.35 Arial,Helvetica,sans-serif;
    text-decoration:none;
    overflow-wrap:anywhere;
    box-shadow:none;
    transition:background-color .16s,border-color .16s,color .16s;
  }
  .rp-header .rp-mobile-menu nav a::before {
    content:counter(raymond-mobile-item,decimal-leading-zero);
    flex:0 0 24px;
    color:#c39b66;
    font:500 12px/1.2 Arial,Helvetica,sans-serif;
    letter-spacing:.04em;
  }
  .rp-header .rp-mobile-menu nav a::after {
    content:'›';
    margin-left:auto;
    color:#8d6d48;
    font:400 24px/1 Arial,Helvetica,sans-serif;
  }
  .rp-header .rp-mobile-menu nav a:hover,
  .rp-header .rp-mobile-menu nav a:focus-visible {
    background:#261e1c;
    border-color:#a77d49;
    color:#E8E3D8;
  }
  .rp-header .rp-mobile-menu nav a[aria-current="page"] {
    background:#382819;
    border-color:#b58b52;
    color:#E8E3D8;
  }
  .rp-header .rp-mobile-menu nav a[aria-current="page"]::after {color:#e0b477}
  .rp-header .rp-mobile-menu nav a.rp-nav-ancestor {color:#e8c38c}
  .rp-header .rp-mobile-menu nav a:focus-visible {outline:2px solid #e0b477;outline-offset:2px}
}
@media (max-width:380px) {
  .rp-header .rp-mobile-menu nav a {font-size:14px;min-height:50px;padding:11px 12px;gap:10px}
}
@media (prefers-reduced-motion:reduce) {
  .rp-header .rp-mobile-menu nav a {transition:none}
}

/* v105: shorter mobile home hero + backdrop behind the opened Midnight Cards menu. */
@media (max-width:600px) {
  body .rp-hero { min-height:420px; }
  body .rp-hero-inner { padding-bottom:26px; }
  body .rp-home-sections { padding-top:12px; }
}
@media (max-width:1080px) {
  body:has(.rp-header .rp-mobile-menu[open])::before {
    content:"";
    position:fixed;
    inset:0;
    z-index:99;
    background:rgba(0,0,0,.82);
    pointer-events:auto;
  }
  body:has(.rp-header .rp-mobile-menu[open]) .rp-header {
    position:relative;
    z-index:100;
  }
  .rp-header .rp-mobile-menu[open] nav {
    z-index:110;
    max-height:calc(100dvh - 90px);
    box-shadow:0 26px 60px rgba(0,0,0,.85);
  }
}

/* v106: lock the document while mobile navigation is open; only the menu scrolls. */
@media (max-width:1080px) {
  html:has(.rp-header .rp-mobile-menu[open]) { overflow:hidden; overscroll-behavior:none; }
  body.rp-mobile-nav-locked { overflow:hidden; overscroll-behavior:none; }
  .rp-header .rp-mobile-menu[open] nav {
    max-height:calc(100dvh - 90px - env(safe-area-inset-bottom,0px));
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    touch-action:pan-y;
  }
}

/* RAYMOND REST unified text palette */
:root{--raymond-ivory:#E8E3D8;--raymond-input:#C9C3B8;--raymond-label:#B8B2A8;--raymond-hint:#AAA69E}

/* News editor: safe alignment classes preserved by rc_html(). */
.rp-main .rc-content .rc-news-align-left{text-align:left}
.rp-main .rc-content .rc-news-align-center{text-align:center}
.rp-main .rc-content .rc-news-align-right{text-align:right}

/* Alignment from the news rich-text editor (allowlisted by rc_html). */
.rc-content .rc-news-align-left{text-align:left}
.rc-content .rc-news-align-center{text-align:center}
.rc-content .rc-news-align-right{text-align:right}
