body {position:relative; padding-top:130px}
#mast {position:absolute; inset:0 0 auto; height:355px; overflow:hidden}
#header {left:50%; transform:translateX(-50%); z-index:auto}
.tagline,.sky {position:absolute; display:block; background-image:url('/templates/images/head_bg.jpg'); background-repeat:no-repeat}
.tagline {left:402px; top:13px; width:137px; height:28px; background-position:-810px -20px; background-size:1890px auto; color:#c90082; text-align:left; font:12px/13px Arial,sans-serif; text-shadow:0 1px white}
.sky {left:655px; top:27px; width:260px; height:51px; background-position:-1640px -95px; background-size:3780px auto; mask-image:linear-gradient(to right,transparent,#000 3%,#000 98%,transparent)}
#logo {left:258px; top:6px; height:88px; width:208px}
#icons {white-space:nowrap; display:flex}
#icons img {display:block}
#searchtext {color:#413239; background:white}
#container {top:0; left:0; max-width:100%; padding-bottom:18px}
#content-tb {display:grid; grid-template-columns:190px minmax(0,1fr) 190px; align-items:start; max-width:96%}
#content {width:auto; min-width:0; overflow-wrap:anywhere}
#left-menu {height:auto; padding-bottom:25px}
#news {margin-top:0}
#allnews {float:none; display:block; text-align:right; margin-top:15px}
h1.page-title {box-sizing:border-box; width:100%; height:auto; min-height:35px; padding:7px 10px}
.crumb,.count {color:#756c67; font-size:11px; margin:8px 0 12px}
.cards {display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px 5px; margin:12px 0}
.cards .card {min-height:183px; padding:9px 5px; text-align:center; background:url('/templates/images/cont-block.jpg') center top / 100% 100% no-repeat; text-decoration:none; font:12px/15px Arial,sans-serif}
.photo,.detailphoto {display:flex; align-items:center; justify-content:center; color:#797979; font-size:11px}
.photo {height:102px}
.photo img {max-width:100%; width:102px; height:102px; object-fit:contain}
.caption strong,.caption span {display:block; margin-top:8px}
.caption span {color:#d0009e; font-weight:bold}
.caption strong {color:#004ba7; font-size:14px; text-decoration:underline}
.card:hover strong {color:#d0009e}
.pages {display:flex; align-items:center; justify-content:center; gap:15px; padding:12px; background:#fff9e5}
.brands {columns:3 125px; padding:10px 0; list-style:none}
.brands li,.stories li {padding:4px 0; break-inside:avoid}
.brands small {color:#777}
.stories {padding:10px 18px}
.detailphoto {float:left; margin:0 15px 10px 0; max-width:45%}
.detailphoto img {display:block; width:auto; height:auto; max-width:100%; max-height:350px}
.detail .brand {color:#d0009e; font-weight:bold}
.detail h1 {width:auto; background-color:transparent}
.prose {line-height:1.55}
#footer {position:relative; margin:auto; width:100%; background-position:center top}
#authors {inset:65px 5% auto; text-align:center}
a:focus-visible,button:focus-visible,input:focus-visible {outline:2px solid #004ba7; outline-offset:1px}
@media(max-width:999px){
 #container {background:#fff9eb; width:96%}
 #menu {width:100%; background-size:100% 38px}
 #content-tb {grid-template-columns:150px minmax(0,1fr) 150px}
 #left,#right,#left-menu,#houses,#news {box-sizing:border-box; width:100%}
 #houses ul,#left-menu ul {margin-left:10px; left:0}
 #houses ul li,#houses ul li a {width:auto}
 #houses h5 {margin-left:14px}
}
@media(max-width:760px){
 body {padding-top:124px}
 #mast {height:150px}
 #header {left:0; transform:none; width:100%; background-position:-231px 0}
 #logo {left:26px}
 .tagline {left:171px}
 .sky {left:424px}
 #icons {display:none}
 #searchbox {left:4%; top:98px; width:min(328px,92%); background-size:100% 19px}
 #searchtext {width:70%; margin-left:5%; top:0}
 #searchsubmit {width:22%; vertical-align:top}
 #container {width:100%; padding-bottom:10px}
 #menu {top:0; height:auto; min-height:38px}
 #menu ul {position:static; margin:0; padding:7px 4px; display:flex; justify-content:space-evenly; gap:4px}
 #menu ul li {float:none; margin:0}
 #menu ul li a {font-size:13px}
 #content-tb {display:flex; flex-direction:column; max-width:none; width:auto; padding:0 8px}
 #content {order:-1; box-sizing:border-box; width:100%; padding:0}
 #right,#left {margin-top:15px}
 #houses ul {columns:2}
 #houses ul li {break-inside:avoid}
 #houses {margin-bottom:0}
 #footer {background-position:16% top}
 #authors {top:69px}
}
@media(max-width:520px){.cards {grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Carry the clouds immediately above and below the old lettering through the header. */
.tagline {background-size:1260px 3550px; background-position:-402px -74px}
.sky {background-size:1260px 3550px; background-position:-655px -202px; mask-image:linear-gradient(to right,transparent,#000 3%,#000 98%,transparent)}
.sky::after {content:""; position:absolute; inset:0; background:url('/templates/images/head_bg.jpg') -655px -763px / 1260px 3550px no-repeat; mask-image:linear-gradient(to bottom,transparent,#000)}
