/*
Theme Name: 48SFA Heritage
Description: A WordPress conversion of the original Special Forces Association Chapter XLVIII site.
Version: 1.0.0
Text Domain: 48sfa
*/
:root{--green:#003118;--gold:#ca9906}body{margin:0;background:var(--green);color:var(--gold);font-family:"Times New Roman",serif;text-align:center}a{color:var(--gold)}a:hover{color:#0f0}header{padding:12px}header h1{margin:8px;font-size:2rem}.site-nav{display:flex;flex-wrap:wrap;justify-content:center;max-width:1100px;margin:0 auto 18px}.site-nav ul{list-style:none;margin:0;padding:0}.site-nav>ul{display:flex;flex-wrap:wrap;justify-content:center}.site-nav li{position:relative;min-width:160px;background:var(--green)}.site-nav a{display:block;padding:8px 15px;border:1px solid var(--gold);text-decoration:none}.site-nav li:hover>a,.site-nav li:focus-within>a{background:#060}.site-nav ul ul{display:none;position:absolute;z-index:20;left:0;top:100%;min-width:200px}.site-nav li:hover>ul,.site-nav li:focus-within>ul{display:block}.site-nav ul ul ul{left:100%;top:0}.site-main{max-width:1250px;margin:auto;padding:10px 20px 50px;overflow-wrap:anywhere}.site-main img{max-width:100%;height:auto}.site-main table{max-width:100%;margin-left:auto;margin-right:auto}.site-main iframe{max-width:100%}.legacy-content{min-width:0;max-width:100%}.legacy-content h1,.legacy-content h2{color:var(--gold)}footer{padding:24px}.screen-reader-text{position:absolute;left:-10000px}@media(max-width:700px){.site-nav>ul{display:block;width:100%}.site-nav li{width:100%}.site-nav ul ul,.site-nav ul ul ul{position:static;left:auto}.site-main{padding:8px}.site-main table{display:table}}
/* Fit legacy page layouts to the viewport without horizontal scrollbars. */
*,*::before,*::after{box-sizing:border-box}
.legacy-content table{width:100%!important;max-width:100%!important;table-layout:fixed}
.legacy-content td,.legacy-content th{width:auto!important;min-width:0!important;max-width:100%;white-space:normal!important;overflow-wrap:anywhere;word-break:normal}
.legacy-content img,.legacy-content video,.legacy-content iframe,.legacy-content embed,.legacy-content object{max-width:100%!important}
.legacy-content pre{white-space:pre-wrap;overflow-wrap:anywhere}
.legacy-content [style*="width"]{max-width:100%!important}
/* Keep memorial photos at the reference portrait height, without cropping. */
.sfa-memorial .legacy-content img{height:403px!important;width:auto!important;max-width:100%!important;object-fit:contain}
@media(max-width:500px){.sfa-memorial .legacy-content img{height:auto!important;max-height:403px!important}}
/* Hide divider rules on memorial pages. */
.sfa-memorial .legacy-content hr{display:none!important}
/* Match memorial narrative text to the Robert Dolan memorial. */
.sfa-memorial .legacy-content :is(p,h3,h4,h5,h6,li,td,blockquote){
 font-family:"Times New Roman",Times,serif!important;
 font-size:1.17rem!important;
 font-weight:700!important;
 line-height:normal!important;
 text-align:center!important;
 color:var(--gold)!important;
}
.sfa-memorial .legacy-content :is(p,h3,h4,h5,h6){margin:1em 0}
.sfa-memorial .legacy-content :is(p,h3,h4,h5,h6,li,td,blockquote) :is(span,font){
 font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;line-height:inherit!important;color:inherit!important;
}
.sfa-memorial .legacy-content > :is(font,span){
 font-family:"Times New Roman",Times,serif!important;font-size:1.17rem!important;font-weight:700!important;color:var(--gold)!important;
}
/* One line of space between the last page element and chapter footer. */
.site-main{padding-bottom:0}
.site-main article{margin-bottom:0;padding-bottom:0}
.site-main article :last-child{margin-bottom:0!important}
body > footer{margin-top:1em;padding-top:0}
