/*
Theme Name: Gadd-Watson
Version: 1.0.2
Description: Dansk familiewebsted med opskrifter, fotoalbum og Depeche Mode.
Requires PHP: 7.4
Text Domain: gadd-watson
*/
:root{--ink:#202723;--paper:#f5f3ec;--olive:#677258;--line:#d7d9cf}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.65 Arial,sans-serif}a{color:inherit}header{background:#1e2823;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:25px 5%;gap:30px}a.brand{font-size:20px;font-weight:700;letter-spacing:3px;text-decoration:none;white-space:nowrap}.brand span{color:#aeb89d}.brand small{display:block;font-size:8px;letter-spacing:3px;font-weight:400;margin-top:4px}nav{display:flex;gap:25px}nav a{text-decoration:none;font-size:13px}nav a:hover{color:#ccd7b5}#menu{display:none}.eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:bold;margin:0 0 25px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,serif;font-weight:400;line-height:1.06;letter-spacing:-2px}h1{font-size:76px}h2{font-size:58px}h3{font:30px Georgia,serif;margin:10px 0 15px}img{max-width:100%;height:auto}figure{margin:0}figcaption{font-size:9px;letter-spacing:2px;margin-top:13px}.hero{padding:70px 7% 60px;display:grid;grid-template-columns:1.05fr 1fr;gap:9%;align-items:center}.hero h1{font-size:28px;letter-spacing:0}.hero h1 span{display:block;font-size:67px;letter-spacing:-2px;margin-top:25px}.hero p:not(.eyebrow){max-width:400px;color:#5a6159;font-size:15px}.hero figure img{width:100%;height:450px;object-fit:cover}.button{display:inline-flex;gap:50px;justify-content:space-between;background:#3d4c3a;color:white;text-decoration:none;padding:16px 23px;font-size:12px;margin-top:12px}.intro{border-top:1px solid var(--line);margin:0 7%;padding:55px 0 25px;display:grid;grid-template-columns:1fr 2fr;gap:0 10%}.intro .eyebrow{grid-column:1/-1}.intro p:last-child{max-width:370px;align-self:center;color:#5a6159}.cards{display:grid;grid-template-columns:1fr 1fr;gap:40px;margin:15px 7% 75px}.cards a{text-decoration:none}.cards img{width:100%;height:310px;object-fit:cover}.cards span{display:block;font-size:10px;letter-spacing:2px;margin-top:25px}.cards p{font-size:14px;color:#5a6159}.music{background:#1d2323;color:#f5f3ec;padding:75px 10%;display:grid;grid-template-columns:1fr 1fr;gap:12%;align-items:center}.music h2{font-size:95px}.music em{font-weight:normal;color:#c2c8b9}.music p:not(.eyebrow){max-width:320px;color:#c6ccc6}.music img{width:100%;max-height:430px;object-fit:contain}.light{background:#e2e6d6;color:#202723}.more{padding:70px 7%}.more a{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:24px 0;text-decoration:none;font:26px Georgia,serif}.more a span{font:13px Arial,sans-serif;color:#5a6159;align-self:center}footer{background:#e7e8df;padding:45px 7%;font-size:13px}footer .fine{font-size:11px;margin-top:35px}.page-title{padding:65px 8%;border-bottom:1px solid var(--line)}.page-title h1{overflow-wrap:anywhere}.dark{background:#1d2323;color:white}.content{padding:35px 8% 80px}.archive-note{font-size:12px;color:#5a6159;border-left:2px solid var(--olive);padding-left:14px}.legacy{max-width:1000px;overflow-wrap:anywhere}.legacy p{margin:20px 0}.legacy img{max-height:600px;object-fit:contain;margin:15px 10px 15px 0}.legacy-row{display:flex;flex-wrap:wrap;gap:20px}.legacy-row>div{max-width:100%}.missing{display:block;padding:15px;background:#e7e8df;font-size:12px}input{display:block;width:100%;max-width:650px;padding:18px;margin:15px 0 25px;border:1px solid #87917e;font:inherit;background:transparent}.result{display:flex;justify-content:space-between;padding:18px 0;border-bottom:1px solid var(--line);text-decoration:none}.result[hidden]{display:none}:focus-visible{outline:3px solid #a07439;outline-offset:5px}.skip{position:absolute;top:-60px}.skip:focus{top:0;background:white;padding:15px;z-index:5}@media(max-width:800px){header{padding:20px 6%;flex-wrap:wrap}#menu{display:block;background:none;color:white;border:1px solid #7e8d7d;padding:8px 12px}nav{display:none;width:100%;flex-direction:column;gap:15px}nav.open{display:flex}.hero{padding-top:40px;grid-template-columns:1fr;gap:35px}.hero h1 span{font-size:55px}.hero figure img{height:340px}.intro{display:block;padding-top:35px}.cards{gap:24px}.cards img{height:220px}h2{font-size:42px}.music{padding:50px 7%;gap:35px}.music h2{font-size:65px}.more a{font-size:22px}.more a span{display:none}h1{font-size:48px}}@media(max-width:500px){.cards,.music{grid-template-columns:1fr}.cards img{height:300px}.music figure{max-width:300px}.page-title{padding:40px 7%}.legacy-row{display:block}.content{padding:25px 7%}.hero h1 span{font-size:48px}}
.subnav{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1px;margin:30px 8%;background:var(--line);border:1px solid var(--line)}.subnav a{padding:24px;background:var(--paper);text-decoration:none}.subnav a:hover{background:#e7e8df}
.viewer{border:0;padding:20px;background:var(--paper);max-width:96vw;max-height:96vh}.viewer::backdrop{background:#101712de}.viewer button{border:1px solid #6c7667;background:var(--paper);padding:10px 16px;margin:0 10px 12px 0;font:inherit;cursor:pointer}.viewer img{display:block;max-height:75vh;max-width:85vw;margin:auto}.viewer .image-scroll{overflow:auto;max-height:80vh;max-width:90vw}.viewer.zoomed img{max-width:none;max-height:none}
/* Approved photographic homepage direction */
.sketch-header{background:linear-gradient(110deg,#1c262c,#302d2d);padding:14px 3.4%;gap:35px;min-height:85px;position:relative;z-index:20}.sketch-brand{display:flex;align-items:center;gap:18px;text-decoration:none;font:40px Georgia,serif;white-space:nowrap}.tree{width:58px;height:57px}.sketch-header nav{align-items:center;gap:clamp(16px,2.6vw,42px)}.sketch-header nav>a,.sketch-header summary{font:17px Arial,sans-serif;white-space:nowrap;cursor:pointer}.sketch-header summary{list-style:none}.sketch-header summary::-webkit-details-marker{display:none}.sketch-header details{position:relative}.sketch-header details>div{position:absolute;top:35px;left:-18px;min-width:215px;background:#293034;padding:12px;box-shadow:0 8px 30px #0003}.sketch-header details a{display:block;padding:9px;font-size:14px}.sketch-header nav a:hover{color:#e2bd83}.frontpage{background:#f3f0eb}.frontpage .sketch-header nav>a:first-child{position:relative;font-weight:bold}.frontpage .sketch-header nav>a:first-child:after{content:'';height:3px;background:#d8ad6c;position:absolute;bottom:-14px;left:0;right:0}.coast-hero{height:500px;position:relative;color:white;overflow:hidden}.coast{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 58%}.coast-hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#15212d60,transparent 75%)}.welcome{position:relative;z-index:1;padding:78px 6.4%}.welcome>p{font-size:19px;letter-spacing:5px;margin:0 0 8px}.welcome h1{font-size:82px;letter-spacing:-1px;margin:0 0 14px}.welcome h2{font:28px/1.3 Georgia,serif;letter-spacing:0}.welcome i{display:block;background:#e4b260;width:80px;height:3px;margin-top:30px}.front-content{position:relative;margin:-97px 3.3% 0;z-index:2}.gateway{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.gateway-card{position:relative;height:auto;aspect-ratio:1.51;overflow:hidden;border-radius:13px;background:#20201b;box-shadow:0 0 0 1px #fff5;text-decoration:none;container-type:inline-size}.reference-photo{position:absolute;inset:0;background-image:url('assets/design-reference.png');background-repeat:no-repeat;background-size:429.05% auto;background-position:4.24% 62.025%;transition:filter .2s}.album .reference-photo{background-position:35.65% 62.025%}.travel .reference-photo{background-position:65.96% 62.025%}.dm .reference-photo{background-position:96.1% 62.025%}.gateway-card:hover .reference-photo{filter:brightness(1.12)}.card-caption{position:absolute;bottom:0;left:0;right:0;padding:10px 8% 18px;color:#fff;background:linear-gradient(transparent,#141510 19%);min-height:37%;}.card-caption h2{font:clamp(20px,2.1vw,32px)/1.15 Georgia,serif;letter-spacing:-.5px;margin:0 0 6px}.card-caption p{font-size:clamp(11px,1.12vw,17px);line-height:1.2;margin:0;padding-right:24px}.card-caption>span{position:absolute;right:6%;bottom:14px;font-size:30px}.front-bottom{display:grid;grid-template-columns:36.5fr 62fr;gap:22px;margin-top:32px}.latest{border:1px solid #e5e0d9;border-radius:14px;padding:20px 34px;background:#f7f5f1}.latest h2{font-size:34px;letter-spacing:-1px;margin:0 0 20px}.latest>a{display:flex;gap:18px;text-decoration:none;align-items:center}.latest>a+a{margin-top:17px;padding-top:15px;border-top:1px solid #d9d2c9}.latest img{width:100px;height:65px;object-fit:cover;border-radius:4px}.latest h3{font:bold 18px/1.3 Georgia,serif;margin:0 0 6px}.latest p{font-size:13px;line-height:1.3;color:#555;margin:0}.family-history{border-radius:14px;overflow:hidden;display:grid;grid-template-columns:60% 40%;background:#ede7de;min-height:250px}.history-photo{background-image:url('assets/design-reference.png');background-repeat:no-repeat;background-size:285% auto;background-position:59.7% 100%;}.history-caption{padding:32px 22px;align-self:center}.history-caption h2{font-size:44px;letter-spacing:-1px;margin:0 0 14px}.history-caption p{font-size:18px;line-height:1.4;margin-bottom:25px}.history-caption a{display:inline-block;background:#d6bea0;border-radius:7px;padding:13px 22px;text-decoration:none;font-weight:bold}.design-note{font-size:11px;color:#6b665d;margin:16px 0 26px}.frontpage footer{margin-top:30px}.new-section{max-width:1050px}.new-section .subnav{margin:25px 0}@media(min-width:1500px){.coast-hero{height:500px}}@media(max-width:1250px){.sketch-brand{font-size:29px;gap:10px}.tree{width:42px}.sketch-header{gap:20px}.sketch-header nav{gap:17px}.sketch-header nav>a,.sketch-header summary{font-size:13px}.history-caption h2{font-size:34px}.history-caption p{font-size:15px}.latest{padding:22px}.latest img{width:70px}}@media(max-width:1000px){.sketch-header{flex-wrap:wrap}.sketch-header #menu{display:block;background:none;border:1px solid #aaa;color:white;padding:8px 14px}.sketch-header nav{display:none;width:100%;align-items:stretch;flex-direction:column}.sketch-header nav.open{display:flex}.sketch-header nav>a,.sketch-header summary{font-size:16px;padding:6px 0}.sketch-header details>div{position:static;box-shadow:none}.frontpage .sketch-header nav>a:first-child:after{display:none}.coast-hero{height:460px}.welcome h1{font-size:65px}.welcome h2{font-size:24px}.gateway{grid-template-columns:repeat(2,1fr);gap:18px}.card-caption h2{font-size:30px}.card-caption p{font-size:16px}.front-bottom{grid-template-columns:1fr}.family-history{min-height:260px}.history-caption h2{font-size:40px}.latest{padding:25px}.latest>a{max-width:600px}.front-content{margin-top:-80px}.welcome{padding-top:65px}}@media(max-width:520px){.sketch-brand{font-size:27px}.sketch-header{padding:12px 5%}.tree{width:35px;height:42px}.welcome{padding:52px 6%}.welcome h1{font-size:44px}.welcome h2{font-size:21px;max-width:320px}.welcome>p{font-size:12px;letter-spacing:4px}.coast-hero{height:400px}.coast{object-position:65% center}.front-content{margin-left:5%;margin-right:5%;margin-top:-65px}.gateway{gap:12px}.card-caption{padding:9px 9px 13px;min-height:43%;background:linear-gradient(transparent,#141510 12%)}.card-caption h2{font-size:19px;margin-bottom:4px}.card-caption p{font-size:11px;padding-right:0}.card-caption>span{display:none}.gateway-card{aspect-ratio:1.2}.reference-photo{background-size:429.05% auto;background-position-y:65.6%}.front-bottom{margin-top:22px}.family-history{grid-template-columns:1fr}.history-photo{height:205px;background-size:285% auto;background-position:59.7% 100%}.history-caption{padding:24px}.history-caption h2{font-size:37px}.latest h2{font-size:31px}.latest h3{font-size:16px}.latest p{font-size:12px}}
.album .reference-photo{background-size:445.22% auto;background-position:35.35% 61.65%}.travel .reference-photo{background-size:448.54% auto;background-position:65.13% 61.53%}.dm .reference-photo{background-size:433.9% auto;background-position:95.77% 62.04%}.history-photo{background-size:auto 400%;background-position:58% 100%}@media(max-width:520px){.album .reference-photo,.travel .reference-photo,.dm .reference-photo{background-position-y:65.6%}.history-photo{background-size:auto 400%;background-position:58% 100%}}
.wedding .reference-photo{background-image:url('assets/5 etager_glassur.JPG');background-size:cover;background-position:center 35%}.cooking .reference-photo{background-image:url('assets/recipe-book.svg');background-size:cover;background-position:center}.recipe-heading{padding:45px max(6%,calc((100% - 860px)/2));background:#eae5db}.recipe-heading>a{font-size:14px;text-decoration:none}.recipe-heading .eyebrow{margin:30px 0 12px}.recipe-heading h1{font-size:48px;line-height:1.15;margin:0;letter-spacing:-1px}.recipe-wrap,.recipe-index{max-width:860px;margin:auto;padding:40px 24px 70px}.recipe{margin-bottom:55px;padding-bottom:35px;border-bottom:1px solid #d5cabb}.recipe>h2{font-size:31px;letter-spacing:-.5px;line-height:1.2}.recipe h3{font:600 22px Arial,sans-serif;margin:35px 0 18px}.recipe-note{font-size:14px;color:#655c50;line-height:1.6}.ingredients{padding:0;list-style:none;border-top:1px solid #d9cfc0}.ingredients li{padding:10px 14px;border-bottom:1px solid #e3dace;font-size:17px}.ingredients li:nth-child(odd){background:#eee8dd}.method{padding-left:28px}.method li{padding:0 0 18px 10px;font-size:18px;line-height:1.8}.method li::marker{font-weight:bold;color:#6c7257}.recipe-toc,.recipe-links{display:grid;grid-template-columns:1fr 1fr;gap:10px}.recipe-toc{margin-bottom:45px}.recipe-toc a,.recipe-links a{padding:18px;border:1px solid #d8cdbc;background:#fbf8f2;text-decoration:none;border-radius:7px;font-size:16px;line-height:1.5}.recipe-links a{display:flex;justify-content:space-between;gap:15px}.recipe-links a:hover,.recipe-toc a:hover{background:#e9e0d0}.recipe-index section{margin:40px 0}.recipe-index h2{font-size:34px;letter-spacing:-.5px}.original-recipe{margin-top:35px;border:1px solid #d8cdbc;padding:18px;border-radius:7px;overflow-wrap:anywhere}.original-recipe summary{cursor:pointer;font-weight:bold}.original-recipe[open]>summary{margin-bottom:20px}@media(max-width:600px){.recipe-heading{padding:35px 6%}.recipe-heading h1{font-size:35px}.recipe-links,.recipe-toc{grid-template-columns:1fr}.recipe>h2{font-size:27px}.method li{font-size:17px}.recipe-wrap,.recipe-index{padding:30px 6%}.card-caption h2{font-size:18px}}
/* Native menu remains operable without JavaScript, including local previews. */
.mobile-menu{display:none}.mobile-menu>summary{cursor:pointer;list-style:none;border:1px solid #a9a9a0;padding:9px 15px;color:#fff;font:14px Arial,sans-serif}.mobile-menu>summary::-webkit-details-marker{display:none}.mobile-menu>summary:focus-visible{outline:3px solid #e4b260;outline-offset:4px}.mobile-menu[open]>summary{background:#424841}.mobile-menu nav details>div{position:static;box-shadow:none;min-width:0}.mobile-menu nav a,.mobile-menu nav summary{padding:10px 0}.mobile-menu nav{max-height:75vh;overflow-y:auto}@media(max-width:1000px){.sketch-header{position:relative;flex-wrap:nowrap}.sketch-header>#navigation{display:none!important}.mobile-menu{display:block;margin-left:auto}.sketch-header .mobile-menu nav{display:flex;position:absolute;top:100%;left:0;right:0;width:100%;padding:18px 6% 25px;box-sizing:border-box;background:#242c2e;flex-direction:column;align-items:stretch;gap:8px;box-shadow:0 12px 20px #0003;z-index:100}.mobile-menu:not([open]) nav{display:none!important}}
/* Photo collections */
.album-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;margin:40px 7% 65px}.album-card{background:#fffaf2;border:1px solid #ded6c8;border-radius:12px;overflow:hidden;text-decoration:none;transition:transform .18s}.album-card:hover{transform:translateY(-3px)}.album-card>img{display:block;width:100%;height:230px;object-fit:cover}.album-card>div{padding:22px}.album-card h2{font-size:28px;line-height:1.2;letter-spacing:-.5px;margin:0 0 14px}.album-card p{margin:0;font-size:14px;color:#6c655b}.album-card p span{float:right}.photo-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding:40px 6% 65px}.photo-grid figure{min-width:0;background:#e8e3d9;border-radius:10px;overflow:hidden}.photo-grid a{display:block;background:#252a28}.photo-grid img{display:block;width:100%;height:240px;object-fit:contain}.photo-grid figcaption{font-size:13px;letter-spacing:0;line-height:1.5;padding:12px 15px;margin:0;overflow-wrap:anywhere}.album-history{margin:0 7% 45px;border-top:1px solid #d6cbbb;padding-top:20px}.album-history summary{cursor:pointer}.back-link{display:inline-block;margin-bottom:25px;font-size:14px;text-decoration:none}
/* Calm, spacious dropdowns and mobile navigation */
.sketch-header #navigation>details>summary{display:flex;gap:12px;align-items:center}.sketch-header #navigation>details>div{top:calc(100% + 20px);left:-18px;min-width:255px;padding:10px;background:#252d2f;border:1px solid #58605f;border-radius:12px;box-shadow:0 16px 38px #0005}.sketch-header #navigation>details>div a{padding:12px 14px;line-height:1.4;color:#ece8dd;border-radius:6px;white-space:normal}.sketch-header #navigation>details>div a:hover{background:#3a4444;color:#e7c491}.sketch-header summary{list-style:none}.sketch-header summary::-webkit-details-marker{display:none}.sketch-header nav details>summary::after{content:'';display:inline-block;width:6px;height:6px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin:0 4px 3px 12px;transition:transform .15s}.sketch-header nav details[open]>summary::after{transform:rotate(225deg);margin-bottom:-3px}.mobile-menu>summary{border-radius:7px;background:#ffffff08;letter-spacing:.3px}.mobile-menu[open]>summary{border-color:#c8ac84;color:#edd1a4;background:#3b4445}.sketch-header .mobile-menu nav a:hover{background:#3a4444;color:#f4d3a0}.sketch-header .mobile-menu nav details>summary{display:flex;align-items:center;justify-content:space-between;cursor:pointer}.sketch-header .mobile-menu nav>details[open]>summary{color:#edcca0}.sketch-header .mobile-menu nav details>div{position:static;min-width:0;padding:2px 0 8px 14px;margin:0 0 8px 11px;border-left:1px solid #64716e;background:transparent;box-shadow:none}.sketch-header .mobile-menu nav details>div a{font-size:14px;padding:11px 14px;color:#cfd6cf}.sketch-header .mobile-menu nav>details,.sketch-header .mobile-menu nav>a{border-bottom:1px solid #ffffff12}.sketch-header .mobile-menu nav>details:last-child,.sketch-header .mobile-menu nav>a:last-child{border:0}.sketch-header .mobile-menu nav>a,.sketch-header .mobile-menu nav>details>summary{padding:15px 16px;border-radius:6px;color:#f4efe4;font-size:16px;line-height:1.4}.sketch-header .mobile-menu nav>a[aria-current="page"]{color:#ebc48e;background:#ffffff09}
@media(max-width:1000px){.sketch-header .mobile-menu nav{top:calc(100% + 10px);left:auto;right:3%;width:min(360px,94vw);padding:10px;background:#252d2f;border:1px solid #5d6765;border-radius:13px;box-shadow:0 18px 40px #0006;gap:0;max-height:calc(100dvh - 120px)}.album-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.photo-grid img{height:200px}}
@media(max-width:600px){.album-overview{grid-template-columns:1fr;gap:18px}.photo-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.photo-grid img{height:170px}.photo-grid figcaption{font-size:12px;padding:10px}.album-card>img{height:240px}.page-title h1{font-size:40px}}

.wp-block-gallery{gap:20px}.wp-block-image img{height:auto}.wp-block-heading{letter-spacing:0}.content h2{font-size:34px;letter-spacing:0}.content h3{font-size:25px}.content li{margin-bottom:8px}.content>.wp-block-image{margin:25px 0}.content .wp-block-image img{max-height:800px;object-fit:contain}.gw-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:20px}.gw-list a{padding:20px;border:1px solid #d7d9cf;border-radius:8px;text-decoration:none}.gw-list img{width:100%;height:180px;object-fit:cover}.content .legacy{max-width:100%}

.gw-album-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:25px;align-items:start}.gw-album-grid .wp-block-image{margin:0}.gw-album-grid img{width:100%;height:260px;object-fit:contain;background:#e9e6df}.gw-album-grid figcaption{font-size:14px;letter-spacing:0}body.admin-bar .sketch-header{top:32px}

/* Full-screen reading of scanned articles, using the linked original. */
.viewer{box-sizing:border-box;width:98vw;height:96vh;max-width:98vw;max-height:96vh;padding:12px;overflow:hidden}
.viewer[open]{display:flex;flex-direction:column}
.viewer-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-bottom:10px;flex-shrink:0}
.viewer .viewer-controls button,.viewer .original-view{margin:0;padding:8px 12px;font:inherit}
.viewer .original-view{color:inherit;text-decoration:underline}
.viewer .image-scroll{flex:1;min-height:0;max-height:none;max-width:none;width:100%;overflow:auto}
.viewer img{width:auto;height:auto;max-width:100%;max-height:100%;object-fit:contain;margin:auto}
.viewer.zoomed img{max-width:none;max-height:none;margin:0}
