/*
Theme Name: The Den — First Edition
Version: 1.3.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: the-den
*/
:root{--teal:#103b40;--dark:#182c2c;--paper:#f2e8d5;--gold:#b79556;--red:#701e2c}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--dark);font:19px/1.65 Georgia,serif}header,footer{background:var(--teal);color:var(--paper);text-align:center;padding:28px 24px}small,.eyebrow,nav,button{font:11px/1.5 Arial,sans-serif;letter-spacing:2px;text-transform:uppercase}.eyebrow{color:#d8bb80}h1{font-size:clamp(36px,6vw,84px);font-weight:400;letter-spacing:-2px;line-height:1.05;margin:14px 0}header p{margin:0 0 24px;font-style:italic}nav{border-top:1px solid #b7955666;padding-top:18px;display:flex;justify-content:center;gap:24px;flex-wrap:wrap}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline}button{cursor:pointer;border:1px solid var(--gold);background:transparent;color:inherit;padding:12px 18px}button:hover{background:#b7955633}button:focus-visible,a:focus-visible{outline:3px solid #d6a94c;outline-offset:4px}.hero{position:relative;background:#182c2c}.hero img{width:100%;height:clamp(360px,65vw,760px);object-fit:cover;display:block}.hero .overlay{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#101b1bdd);padding:90px 24px 35px;text-align:center;color:white}.overlay h2{font-size:clamp(32px,5vw,60px);font-weight:400;margin:0}.wrap{max-width:1200px;margin:auto;padding:65px 32px}.welcome{display:grid;grid-template-columns:1.3fr 1fr;gap:48px;align-items:center}.welcome img{width:100%;display:block;box-shadow:0 12px 30px #30261e33}.kicker{font:11px Arial,sans-serif;letter-spacing:2px;text-transform:uppercase;color:var(--red)}h2{font-weight:400;font-size:clamp(32px,4vw,54px);line-height:1.12;margin:12px 0 20px}.rule{border-top:1px solid var(--gold);border-bottom:1px solid var(--gold);padding:18px 12px;text-align:center;font-style:italic}.entries{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}.entry{border-top:3px solid var(--teal);padding:20px 0}.entry h3{font-weight:400;font-size:29px;line-height:1.15;margin:12px 0}.entry p{font-size:17px}.entry button{color:var(--teal)}.whimsy{background:var(--dark);color:var(--paper);display:grid;grid-template-columns:1fr 1fr;align-items:center}.whimsy img{width:100%;height:100%;object-fit:cover;min-height:320px}.whimsy div{padding:48px}.whimsy blockquote{font-size:32px;font-style:italic;margin:0}.note{font:12px Arial,sans-serif;color:#6e6253}.season{margin-top:20px}dialog{max-width:620px;width:90%;background:var(--paper);color:var(--dark);border:1px solid var(--gold);padding:32px}dialog::backdrop{background:#0009}footer p{margin:10px} @media(max-width:700px){.welcome,.entries,.whimsy{grid-template-columns:1fr}.wrap{padding:40px 22px}.welcome{gap:24px}.whimsy div{padding:28px}nav{gap:12px}h1{letter-spacing:-1px}.hero .overlay{padding-bottom:20px}}
body{font-family:'Source Serif 4',Georgia,serif}h1{font-family:'Bodoni Moda',Didot,'Bodoni 72',Georgia,serif;font-weight:500;font-optical-sizing:auto;letter-spacing:-.035em; font-size:clamp(36px,6vw,84px)}h2,.overlay h2,.entry h3{font-family:'Cormorant Garamond','Baskerville',Georgia,serif;font-weight:600;letter-spacing:-.025em}h2{font-size:clamp(36px,4.5vw,60px)}.entry h3{font-size:33px;line-height:1.08}.overlay h2{font-size:clamp(40px,6vw,72px)}header p,.whimsy blockquote,.rule{font-family:'Cormorant Garamond','Baskerville',Georgia,serif;font-weight:600;font-style:italic}header p{font-size:23px}.rule{font-size:23px}.whimsy blockquote{font-size:38px;line-height:1.2}small,.eyebrow,nav,button,.kicker,.note{font-family:'Lexend',Arial,sans-serif}nav,button{letter-spacing:1.35px;font-weight:400}nav{font-size:12px}.kicker,.eyebrow{letter-spacing:2px}.entry p{font-size:18px}
 .menu{position:relative;z-index:10}.menu summary{cursor:pointer}.menu div{position:absolute;top:25px;left:50%;transform:translateX(-50%);width:310px;background:#103b40;padding:18px;border:1px solid #b79556;text-align:left;box-shadow:0 8px 20px #0005}.menu a{display:block;padding:9px 0}.dept{padding:65px max(6vw,22px);min-height:330px;display:grid;align-items:center;gap:30px;grid-template-columns:1fr 1fr}.dept h2{font-size:clamp(45px,7vw,95px);line-height:.95}.dept p{max-width:580px}.ornament{font-family:'Bodoni Moda',Georgia,serif;font-size:clamp(90px,20vw,260px);line-height:1;text-align:center;border:1px solid currentColor;padding:20px;opacity:.8}.intimate{background:#e6d6bc;color:#573722}.archive{background:#182c2c;color:#e9d6ae}.celestial{background:#20394b;color:#e7d6ac;text-align:center;grid-template-columns:1fr}.celestial .ornament{font-size:90px;border:0}.academic{background:#103b40;color:#f2e8d5}.academic .ornament{order:-1}.opinion{background:#701e2c;color:#f2e8d5;grid-template-columns:1fr}.opinion .ornament{display:none}.slow{background:#d9dfcf;color:#344638}.slow .ornament{border-radius:50%;font-size:120px}.travel{background:#c7d8d9;color:#173e49}.travel .ornament{border:double 6px currentColor}.directory{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:24px}.directory a{border-top:1px solid #b79556;padding:20px;display:block}.directory h2{font-size:36px}.sample{border-top:1px solid #b79556;padding:24px 0;max-width:760px}.sample h3{font:600 38px/1.1 'Cormorant Garamond',Georgia,serif;margin:10px 0}@media(max-width:700px){.dept{grid-template-columns:1fr}.menu div{position:fixed;top:130px;left:50%;max-width:90vw}}
:root{--teal:#071b29;--dark:#10232d;--gold:#b79556}header{padding:22px 24px 15px}.masthead{display:block;width:min(780px,100%);margin:0 auto 12px}.masthead img{width:100%;height:auto;display:block}header p{margin:8px 0 20px}.seal{width:94px;height:94px;border-radius:50%}.hero img{height:clamp(350px,48vw,680px)}.reading{max-width:800px;margin:auto;padding:50px 24px}.reading img{max-width:100%;height:auto}.reading a{text-decoration:underline}.reading h1{font-size:clamp(40px,6vw,68px)}.reading blockquote{border-left:3px solid var(--gold);padding-left:24px;font-style:italic}.entry img{width:100%;height:210px;object-fit:cover}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;background:white;color:black;z-index:100}.directory a:hover{background:#b795561a}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}.wp-block-image img{max-width:100%;height:auto}.footer-search input{max-width:100%;padding:10px}.footer-search{margin:20px auto}.footer-search button{padding:10px}.entry a{text-decoration:underline}.menu div{background:#071b29}.whimsy img{max-height:500px}.wp-block-button__link{background:#10232d;color:white;padding:12px 20px}
/* Editorial edition */
.directory{grid-template-columns:repeat(12,minmax(0,1fr));gap:30px 24px;align-items:start}.directory a{grid-column:span 4;padding:0 0 18px;overflow:hidden}.directory a:first-child{grid-column:span 7}.directory a:nth-child(2){grid-column:span 5}.directory a:nth-child(3),.directory a:nth-child(4),.directory a:nth-child(5){grid-column:span 4}.directory a:nth-child(6){grid-column:span 12;display:grid;grid-template-columns:1fr 1fr;gap:25px;align-items:center}.directory a:last-child{grid-column:span 12;display:grid;grid-template-columns:1.5fr 1fr;align-items:center;background:var(--teal);color:var(--paper);gap:30px;padding:0}.directory a:last-child .dept-copy{padding:24px 30px 24px 0}.directory a:last-child .kicker{color:#d8bb80}.directory img{display:block;width:100%;height:230px;object-fit:cover}.directory a:first-child img,.directory a:nth-child(2) img{height:330px}.directory a:first-child img{object-position:center 35%}.directory a:last-child img{height:350px}.directory .dept-copy{padding:18px 12px 0}.directory h2{font-size:clamp(26px,3vw,40px);margin:10px 0}.directory p{margin:0;font-size:18px}.directory .dept-link{display:block;font:12px Arial,sans-serif;letter-spacing:1px;margin-top:18px;text-transform:uppercase}.footer-search form{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.footer-search input[type=search]{background:#10232d;color:#f2e8d5;border:1px solid #b79556;border-radius:0;padding:12px 15px;width:min(320px,100%);font:inherit}.footer-search button{background:#b79556;color:#071b29;border:1px solid #b79556;padding:12px 18px}.footer-search input::placeholder{color:#e1d3b7}.whimsy img{height:100%;max-height:520px;object-position:center}.whimsy blockquote{font-size:clamp(26px,3vw,38px)}footer{padding:40px 24px}.dept-photo{width:100%;max-height:400px;object-fit:cover}.dept .eyebrow{color:inherit}.dept.celestial,.dept.opinion{grid-template-columns:1fr 1fr}.dept h2{overflow-wrap:anywhere}@media(max-width:850px){.directory a,.directory a:first-child,.directory a:nth-child(2),.directory a:nth-child(3),.directory a:nth-child(4),.directory a:nth-child(5){grid-column:span 6}.directory a:nth-child(6),.directory a:last-child{grid-column:span 12}.directory a:first-child img,.directory a:nth-child(2) img{height:240px}}@media(max-width:600px){.directory{display:block}.directory a,.directory a:nth-child(6),.directory a:last-child{display:block;margin-bottom:28px}.directory a:last-child .dept-copy{padding:20px}.directory img,.directory a:last-child img{height:230px}.dept.celestial,.dept.opinion{grid-template-columns:1fr}.whimsy img{min-height:0}.footer-search form{flex-direction:column;align-items:center}.masthead{margin-bottom:8px}}

/* Portrait focal points and editorial links */
.directory a:hover{text-decoration:none}.directory a:hover .dept-link{text-decoration:underline}.directory a:first-child img,.dept.intimate .dept-photo{object-position:center 72%}.directory a:nth-child(3) img{object-position:center 25%}.directory a:nth-child(5) img{object-position:center 30%}.dept.intimate{background:#e8dcc5}.dept.archive{background:#26352f;color:#f2e8d5}.dept.celestial{background:#24364a;color:#f2e8d5}.dept.academic{background:#ded0b5;color:#172b32}.dept.opinion{background:#701e2c;color:#fff0db}.dept.slow{background:#dbe5dc;color:#263e35}.dept.travel{background:#10232d;color:#f2e8d5}.dept .dept-photo{border:1px solid #b79556}.dept.intimate .dept-photo{max-height:520px}.dept.archive .dept-photo{object-position:center 55%}.dept.celestial .dept-photo{object-position:center 25%}.dept.opinion .dept-photo{object-position:center 30%}

.directory a:first-child img,.dept.intimate .dept-photo{object-position:center 58%}
