/*
Theme Name: Rectaltronics Heritage
Theme URI: https://rectaltronics.com/
Author: OpenAI
Description: A responsive, archive-inspired classic theme with a top identity header, left navigation, content area, and full-width footer.
Version: 0.6.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: rectaltronics-heritage
*/
:root{--rt-ink:#29251f;--rt-paper:#fffdf5;--rt-panel:#eee8d8;--rt-rule:#8d8068;--rt-link:#173f78;--rt-visited:#65417b;--rt-accent:#8f1f19;--rt-width:1200px}
*{box-sizing:border-box}html{background:#d8d1c1;scroll-behavior:smooth}body{margin:0;color:var(--rt-ink);background:var(--rt-paper);font-family:Georgia,"Times New Roman",serif;font-size:16px;line-height:1.58}a{color:var(--rt-link)}a:visited{color:var(--rt-visited)}a:hover,a:focus{color:var(--rt-accent)}.rt-site{max-width:var(--rt-width);margin:0 auto;background:var(--rt-paper);min-height:100vh;box-shadow:0 0 18px rgba(0,0,0,.16)}
.rt-header{min-height:148px;padding:20px 30px 18px;border-bottom:4px double var(--rt-rule);background:linear-gradient(#fffef9,#eee7d7);display:flex;align-items:center;gap:24px}.rt-brand{flex:1}.rt-header-animation{display:block;flex:0 0 auto;width:auto;height:auto;max-width:180px;max-height:112px;object-fit:contain}.custom-logo{max-width:200px;max-height:120px;width:auto;height:auto}.custom-logo-link{display:block;flex:0 0 auto}.rt-brand{min-width:0}.rt-title{margin:0;color:#30271d;font-size:clamp(2rem,4vw,3.15rem);line-height:1.05;font-weight:700;letter-spacing:.025em}.rt-title a{color:inherit;text-decoration:none}.rt-tagline{margin:8px 0 0;color:#625744;font-size:1.03rem;font-style:italic}
.rt-layout{display:grid;grid-template-columns:252px minmax(0,1fr);align-items:stretch}.rt-sidebar{padding:22px 17px 28px;background:var(--rt-panel);border-right:1px solid #c5b99f}.rt-nav-title{margin:0 0 12px;padding:0 0 7px;color:#5d211c;border-bottom:1px solid var(--rt-rule);font-size:1.05rem;text-transform:uppercase;letter-spacing:.08em}.rt-menu,.rt-menu ul{margin:0;padding:0;list-style:none}.rt-menu li{margin:0;border-bottom:1px dotted #b8aa8e}.rt-menu>li>a{position:relative;display:block;padding:7px 8px 7px 46px;color:#253d61;text-decoration:none;font-weight:600}.rt-menu>li>a:before{content:"";position:absolute;left:8px;top:50%;width:32px;height:32px;transform:translateY(-50%);background-image:url("https://rectaltronics.com/wp-content/uploads/2025/01/buttblt1.gif");background-position:center;background-repeat:no-repeat;background-size:contain}.rt-menu>li>a:hover:before,.rt-menu>li>a:focus:before,.rt-menu>.current-menu-item>a:before,.rt-menu>.current_page_item>a:before,.rt-menu>.current-menu-ancestor>a:before{background-image:url("https://rectaltronics.com/wp-content/uploads/2025/01/buttblt3.gif")}.rt-menu a:hover,.rt-menu a:focus,.rt-menu .current-menu-item>a,.rt-menu .current_page_item>a,.rt-menu .current-menu-ancestor>a{background:#ddd2bb;color:#7b1e19;text-decoration:underline}.rt-menu ul{padding-left:13px;background:rgba(255,255,255,.25)}.rt-menu ul a{font-size:.94rem;font-weight:400;padding-left:8px}.rt-menu ul a:before{content:none}.rt-content{min-width:0;padding:28px 36px 46px}.rt-content h1,.rt-content h2,.rt-content h3{color:#4b261e;line-height:1.2}.rt-content h1{margin-top:0;padding-bottom:10px;border-bottom:1px solid #c9bda5;font-size:clamp(1.7rem,3vw,2.25rem)}.rt-content img{max-width:100%;height:auto}.rt-content table{max-width:100%;border-collapse:collapse}.rt-content th,.rt-content td{padding:6px 9px;border:1px solid #bdb29d}.rt-content blockquote{margin-left:1.2rem;padding-left:1rem;border-left:3px solid #b8a987;color:#625744}.rt-content .alignleft{float:left;margin:0 1.2rem 1rem 0}.rt-content .alignright{float:right;margin:0 0 1rem 1.2rem}.rt-content .aligncenter{display:block;margin-left:auto;margin-right:auto}.rt-content:after{content:"";display:block;clear:both}
.rt-footer{clear:both;padding:18px 24px 22px;border-top:4px double var(--rt-rule);background:#e9e1d0;color:#514938;text-align:center;font-size:.88rem}.rt-footer p{margin:4px 0}.rt-footer a{color:#304c70}.rt-footer .rt-footer-small{font-size:.8rem}.rt-menu-toggle{display:none}.rt-search-form{margin:1rem 0}.rt-pagination{margin-top:2rem}.rt-pagination a,.rt-pagination span{padding:.35rem .65rem;border:1px solid #c5b99f}.screen-reader-text{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:800px){.rt-layout{grid-template-columns:220px minmax(0,1fr)}.rt-content{padding:24px 22px 36px}}
@media(max-width:680px){.rt-header{min-height:0;padding:18px;gap:14px}.rt-header-animation{max-width:120px;max-height:90px}.rt-layout{display:block}.rt-sidebar{padding:12px 16px;border-right:0;border-bottom:1px solid #c5b99f}.rt-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.rt-nav-title{margin:0;border:0}.rt-menu-toggle{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:1px solid #9f9279;border-radius:3px;background:#f8f3e8;color:#382f23;font:inherit;cursor:pointer}.rt-sidebar nav[hidden]{display:none}.rt-menu{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 10px}.rt-content{padding:24px 19px 34px}}
@media(max-width:430px){.rt-header{align-items:center;flex-direction:row}.rt-header-animation{max-width:82px;max-height:76px}.rt-menu{grid-template-columns:1fr}.rt-content .alignleft,.rt-content .alignright{float:none;display:block;margin:1rem auto}}


/* Editable footer block area */
.rt-footer-block-area { max-width: 100%; margin: 0 auto; }
.rt-footer-widget { margin: 0.5rem auto; }
.rt-footer-widget p:last-child { margin-bottom: 0; }
.rt-footer-widget-title { margin: 0 0 0.5rem; font-size: 1.05rem; }
.rt-footer-block-area .wp-block-image { margin-left: auto; margin-right: auto; }
