/*
Theme Name: Leidland Hav
Description: Et fotografisk magasin om havet. Utviklet for Tor Inge Leidland, Gutenberg og Leidland Språk.
Version: 2.0.0
Requires at least: 6.6
Requires PHP: 7.4
Author: Tor Inge Leidland
Text Domain: leidland-hav
License: GPL-2.0-or-later
*/
@font-face{font-family:Newsreader;src:url("assets/fonts/newsreader.ttf") format("truetype");font-style:normal;font-weight:200 800;font-display:swap}
:root{--lh-paper:#f7f5ef;--lh-ink:#15332f;--lh-muted:#65716b;--lh-line:#d8dcd2;--lh-sand:#eae7dd;--lh-sea:#092f34;--lh-accent:#9c6c45;--lh-serif:Newsreader,Georgia,serif;--lh-sans:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--lh-paper);color:var(--lh-ink);font-family:var(--lh-sans);font-size:17px;line-height:1.8;-webkit-font-smoothing:antialiased}img{height:auto;max-width:100%}a{color:inherit;text-underline-offset:5px;text-decoration-thickness:1px}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #a66b3d;outline-offset:5px}h1,h2,h3,h4,h5{font-family:var(--lh-serif);font-weight:400;line-height:1.08;letter-spacing:-.04em;text-wrap:balance}h1 em,h2 em{font-weight:350}p{margin-top:0}figure{margin:0}main{overflow-x:clip}.wp-site-blocks{padding-top:0}.wp-site-blocks>*{margin-block-start:0}body .lh-shell{width:min(100%,1440px);max-width:1440px;margin-inline:auto;padding-inline:clamp(22px,4.7vw,76px)}.lh-section{padding-block:clamp(64px,7.5vw,120px)}.lh-eyebrow{font-family:var(--lh-sans);font-size:10px;font-weight:600;letter-spacing:.2em;line-height:1.6;text-transform:uppercase;color:var(--lh-muted)}.lh-text-link{font-size:13px;font-weight:500;line-height:1.5}.lh-text-link a{text-decoration:none;border-bottom:1px solid currentColor;padding-block:7px}.lh-text-link a span{display:inline-block;margin-left:14px;transition:transform .2s}.lh-text-link a:hover span{transform:translate(3px,-3px)}.wp-block-button__link{font-family:var(--lh-sans);font-size:12px;letter-spacing:.04em;font-weight:500;border-radius:2px;padding:17px 26px;transition:background .2s;background:var(--lh-ink);color:#fff}.wp-block-button__link:hover{background:#315e55}.is-style-outline>.wp-block-button__link{border:1px solid var(--lh-ink);color:var(--lh-ink);background:transparent}.lh-header{background:var(--lh-paper);position:relative;z-index:20;border-bottom:1px solid var(--lh-line)}.lh-masthead{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:104px;padding-block:22px}.lh-brand{display:flex;align-items:center;gap:15px;flex-shrink:0}.lh-brand>*{margin-block:0!important}.lh-monogram{font-family:var(--lh-serif);font-size:27px;line-height:1;margin:0;letter-spacing:-.1em}.lh-monogram a{display:flex;width:49px;height:49px;align-items:center;justify-content:center;border:1px solid #859c8e;border-radius:50%;padding-right:3px;text-decoration:none}.lh-wordmark .wp-block-site-title{font-family:var(--lh-serif);font-weight:450;font-size:24px;line-height:1.1;margin:0;letter-spacing:-.04em}.lh-wordmark .wp-block-site-title a{text-decoration:none}.lh-brand-note{margin:6px 0 0!important;font-size:8px;letter-spacing:.18em;line-height:1.4;color:var(--lh-muted)}.lh-masthead>.wp-block-navigation{margin-top:0;font-size:11px}.lh-masthead .ll-navigation{margin-top:0;font-size:11px;gap:20px;line-height:1.4;justify-content:flex-end}.lh-masthead .ll-navigation ul{gap:12px 15px;justify-content:flex-end}.lh-masthead .ll-navigation a{text-decoration:none}.lh-masthead .ll-navigation>nav>ul>li>a{position:relative;white-space:nowrap}.lh-masthead .ll-navigation>nav>ul>li>a::after{content:"";position:absolute;bottom:-7px;left:0;right:0;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .2s}.lh-masthead .ll-navigation>nav>ul>li>a:hover::after{transform:scaleX(1)}.lh-masthead .ll-language{gap:0;line-height:1;font-size:10px;border-left:1px solid var(--lh-line);padding-left:11px}.lh-masthead .ll-language a{border:0;border-radius:0;padding:8px 7px;color:var(--lh-muted)}.lh-masthead .ll-language a[aria-current=true]{background:transparent;color:var(--lh-ink);text-decoration:underline;text-underline-offset:5px}.lh-menu-toggle{display:none}
.lh-editorial-hero{display:grid;grid-template-columns:.85fr 1.2fr;gap:clamp(30px,5vw,80px);align-items:center;padding-block:44px 54px}.lh-hero-copy{padding-block:35px 15px}.lh-hero-copy>.lh-eyebrow{margin-bottom:30px}.lh-hero-title{font-family:var(--lh-serif);font-size:clamp(66px,7.8vw,116px);line-height:.95;letter-spacing:-.055em;font-weight:350;margin:0 0 29px!important}.lh-hero-copy .lh-lead{font-size:15px;line-height:1.85;max-width:330px;color:#5b6962;margin-bottom:30px}.lh-hero-copy .wp-block-buttons{margin-top:30px}.lh-hero-signature{font-size:10px;color:#6b756c;line-height:1.6;margin-top:31px!important}.lh-hero-art{position:relative;margin-top:0!important;align-self:stretch;min-height:590px;overflow:hidden;background:#153c3c}.lh-hero-art .lh-hero-photo{height:100%;margin:0}.lh-hero-photo img{width:100%;height:100%;min-height:590px;object-fit:cover;object-position:56% center;display:block}.lh-photo-label{position:absolute;bottom:24px;left:28px;right:22px;font-size:8px;letter-spacing:.17em;line-height:2;color:#fff;margin:0;padding-top:13px;border-top:1px solid #ffffff5c;text-shadow:0 1px 14px #000}.lh-photo-label strong{font-family:var(--lh-serif);font-weight:400;font-size:21px;letter-spacing:-.02em;line-height:1.5}.lh-topics{display:grid;grid-template-columns:repeat(3,1fr);padding-bottom:32px}.lh-topic{position:relative;border-top:1px solid var(--lh-line);padding:25px 0 0 34px;margin-top:0!important}.lh-topic:not(:last-child){margin-right:40px}.lh-topic .lh-topic-number{position:absolute;top:29px;left:0;font-size:9px;letter-spacing:.1em;color:#849082}.lh-topic h2{font-size:25px;letter-spacing:-.035em;margin:0 0 4px}.lh-topic h2 a{display:flex;justify-content:space-between;gap:15px;text-decoration:none}.lh-topic h2 span{font-family:var(--lh-sans);font-size:17px}.lh-topic>p:last-child{font-size:11px;color:var(--lh-muted);margin:0}
.lh-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:25px;margin-bottom:48px}.lh-section-heading .lh-eyebrow{margin-bottom:20px}.lh-section-heading h2{font-size:clamp(40px,4.5vw,66px);margin:0;line-height:1.02;font-weight:350}.lh-section-heading>.lh-text-link{flex-shrink:0;margin:0 0 10px}.lh-gallery{background:#eeeee6}.lh-gallery-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:clamp(40px,7vw,108px);align-items:start}.lh-gallery-large,.lh-gallery-small{margin-block:0!important}.lh-gallery-small{padding-top:110px}.lh-gallery-photo img{display:block;width:100%;object-fit:cover}.lh-gallery-large .lh-gallery-photo img{aspect-ratio:1.11;object-position:48% center}.lh-gallery-small .lh-gallery-photo img{aspect-ratio:1.16;object-position:center}.lh-caption{margin:20px 0 0!important}.lh-caption span{display:block;font-size:8px;font-weight:550;letter-spacing:.16em;color:var(--lh-muted);margin-bottom:7px}.lh-caption strong{font-family:var(--lh-serif);font-weight:400;font-size:27px;line-height:1.3;letter-spacing:-.035em}.lh-gallery-note{max-width:300px;color:var(--lh-muted);font-size:12px;line-height:1.85;margin-top:17px!important}
.lh-feature{background:var(--lh-sea);color:#f3f1e9;padding-block:76px}.lh-feature-inner{display:grid;grid-template-columns:1.1fr .9fr;gap:clamp(40px,7vw,100px);align-items:center}.lh-feature-photo img{display:block;width:100%;height:500px;object-fit:cover}.lh-feature-copy{padding-block:20px;margin-top:0!important}.lh-feature-copy .lh-eyebrow{color:#b4c6bd;margin-bottom:28px}.lh-feature-copy h2{font-size:clamp(40px,4.6vw,67px);line-height:1.02;margin:0 0 26px;font-weight:350}.lh-feature-copy>p:not(.lh-eyebrow):not(.lh-text-link){color:#bccdc5;font-size:13px;line-height:1.9;max-width:345px}.lh-feature-copy .lh-text-link{margin-top:31px;color:#fff}.lh-stories{margin-top:0!important}.lh-stories .wp-block-post-template{gap:38px!important;list-style:none;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}.lh-story{padding-bottom:23px;border-bottom:1px solid var(--lh-line);height:100%}.lh-story .wp-block-post-featured-image{margin:0 0 22px;overflow:hidden;background:var(--lh-sand)}.lh-story .wp-block-post-featured-image img{aspect-ratio:1.52;object-fit:cover;display:block;width:100%;transition:transform .45s}.lh-story .wp-block-post-featured-image:hover img{transform:scale(1.035)}.lh-story .wp-block-post-date{font-size:9px;letter-spacing:.1em;text-transform:uppercase;line-height:1.6;color:var(--lh-muted);margin-bottom:12px}.lh-story h3,.lh-story .wp-block-post-title{font-size:30px!important;line-height:1.12;margin:12px 0 14px;font-weight:400;letter-spacing:-.035em}.wp-block-post-title a{text-decoration:none}.wp-block-post-title a:hover{text-decoration:underline;text-decoration-thickness:1px}.lh-story .wp-block-post-excerpt{margin-top:0}.lh-story .wp-block-post-excerpt__excerpt{font-size:12px;line-height:1.9;color:var(--lh-muted)}.lh-story .wp-block-post-excerpt__more-text{margin-top:19px;font-size:11px}.lh-story .wp-block-post-excerpt__more-link{text-decoration:none;border-bottom:1px solid var(--lh-line);padding-bottom:5px}.lh-about{border-top:1px solid var(--lh-line);background:#eae8de}.lh-about-inner{display:grid;grid-template-columns:.85fr 1.15fr;gap:clamp(40px,8vw,130px);align-items:center}.lh-about-photo img{display:block;width:100%;aspect-ratio:1.2;object-fit:cover;object-position:center}.lh-about-copy{max-width:540px;margin-top:0!important}.lh-about-copy .lh-eyebrow{margin-bottom:24px}.lh-about-copy h2{font-size:clamp(38px,4vw,59px);margin:0 0 24px;line-height:1.08}.lh-about-copy>p:not(.lh-eyebrow):not(.lh-text-link){color:var(--lh-muted);font-size:13px;line-height:1.95;max-width:450px}.lh-about-copy .lh-text-link{margin-top:28px}.lh-footer{background:#173b35;color:#eef0e7;padding-top:78px}.lh-footer-grid{display:grid;grid-template-columns:2.2fr .8fr 1fr;gap:60px}.lh-footer .lh-eyebrow{color:#abbfb0;font-size:9px}.lh-footer h2{font-size:clamp(36px,4vw,58px);line-height:1.04;margin:26px 0 20px}.lh-footer-intro>p:last-child{font-size:11px;color:#abc0b2}.lh-footer-links{padding-top:4px;margin-top:0!important}.lh-footer-links a{font-size:12px;line-height:2.4;text-decoration:none;color:#e5ebdf}.lh-footer-links a:hover{text-decoration:underline}.lh-footer-bottom{display:flex;justify-content:space-between;gap:25px;border-top:1px solid #ffffff26;padding-block:25px;margin-top:65px!important}.lh-footer-bottom p{font-size:8px;color:#b4c4b6;line-height:1.7;letter-spacing:.025em;margin:0}.lh-footer-bottom p:last-child{letter-spacing:.14em;flex-shrink:0}
.lh-document{padding-block:clamp(50px,7vw,104px) 100px}.lh-document-header{padding-bottom:40px}.lh-document-header .wp-block-post-title,.lh-archive-title{font-size:clamp(40px,5.8vw,78px);max-width:21ch;margin:0 auto 25px;text-align:center;font-weight:350;line-height:1.04}.lh-document-header .wp-block-post-date{text-align:center;font-size:10px;letter-spacing:.11em;text-transform:uppercase;color:var(--lh-muted)}.lh-document-header .wp-block-post-terms{text-align:center;font-size:11px;margin-bottom:16px;color:var(--lh-muted)}.lh-document>.wp-block-post-featured-image{width:min(1240px,100% - 44px);max-width:1240px;margin:15px auto 65px}.lh-document>.wp-block-post-featured-image img{width:100%;max-height:680px;object-fit:cover;display:block}.lh-reading{padding-inline:22px}.lh-reading .wp-block-post-content{max-width:760px;margin-inline:auto}.lh-reading .wp-block-post-content>p,.lh-reading .wp-block-post-content>ul,.lh-reading .wp-block-post-content>ol{font-size:17px;line-height:1.95;color:#43564d}.lh-reading .wp-block-post-content>p:first-child{font-size:21px;line-height:1.8;color:#2f4c40}.lh-reading h2{font-size:40px;margin-block:52px 20px}.lh-reading h3{font-size:30px;margin-block:40px 18px}.lh-reading .wp-block-image{margin-block:36px}.lh-reading .wp-block-image img{height:auto;width:auto;max-width:100%;display:block;margin:auto}.lh-reading figcaption{font-size:12px;color:var(--lh-muted);line-height:1.6;margin-top:12px}.lh-reading blockquote{border-left:1px solid #8caa96;padding-left:28px;margin-left:0;color:#45604f;font-family:var(--lh-serif);font-size:25px}.lh-reading iframe{max-width:100%;border:0}.lh-reading .wp-block-embed__wrapper{position:relative}.lh-reading .wp-block-embed.is-type-video iframe{width:100%;aspect-ratio:16/9;height:auto}.lh-adjacent{display:flex;justify-content:space-between;gap:40px;max-width:760px;margin:70px auto 0;padding-top:25px;border-top:1px solid var(--lh-line);font-size:12px}.lh-archive{padding-block:70px 100px}.lh-archive .wp-block-query-title,.lh-archive h1{font-size:clamp(42px,5vw,72px);margin-bottom:45px}.wp-block-query-pagination{gap:22px;font-size:13px;margin-block:45px 0}.wp-block-query-pagination .current{border-bottom:1px solid var(--lh-ink)}.wp-block-search__input{border:1px solid var(--lh-line);padding:14px;background:transparent}.wp-block-search__button{background:var(--lh-ink);color:#fff;border:0;padding:14px 22px}
@media(min-width:1001px){.lh-editorial-hero:lang(en) .lh-hero-title{font-size:clamp(60px,6.5vw,92px)}.lh-masthead:lang(en) .ll-navigation{font-size:10px}.lh-masthead:lang(en) .ll-navigation ul{gap:11px}}
@media(max-width:1200px) and (min-width:1001px){.lh-masthead{gap:20px}.lh-wordmark .wp-block-site-title{font-size:20px}.lh-masthead .ll-navigation{gap:8px;font-size:10px}.lh-masthead .ll-navigation ul{gap:10px}.lh-brand{gap:10px}.lh-monogram a{width:40px;height:40px}.lh-editorial-hero{grid-template-columns:.85fr 1.15fr;gap:35px}.lh-hero-art,.lh-hero-photo img{min-height:530px}.lh-topic h2{font-size:23px}}
@media(max-width:1000px){.lh-masthead{min-height:89px;flex-wrap:wrap;position:relative;gap:15px}.lh-masthead>.ll-navigation{flex:1}.lh-masthead .ll-navigation{position:static;gap:14px}.lh-menu-toggle{display:inline-flex;align-items:center;gap:8px;background:transparent;border:1px solid var(--lh-line);padding:10px 14px;font-size:11px;color:var(--lh-ink);cursor:pointer}.lh-menu-toggle::before{content:"☰";font-size:14px}.lh-masthead .ll-navigation>nav:first-of-type.is-collapsible{position:absolute;top:100%;left:0;right:0;background:var(--lh-paper);padding:25px clamp(22px,4.7vw,76px);border-block:1px solid var(--lh-line);box-shadow:0 18px 25px #112d2010;z-index:20}.lh-masthead .ll-navigation>nav:first-of-type.is-collapsible[hidden]{display:none}.lh-masthead .ll-navigation ul{justify-content:flex-start;gap:20px 28px;font-size:14px}.lh-editorial-hero{grid-template-columns:.9fr 1.1fr;gap:25px;padding-top:30px}.lh-hero-title{font-size:78px}.lh-hero-copy .lh-lead{font-size:13px}.lh-hero-art,.lh-hero-photo img{min-height:500px}.lh-topic h2{font-size:22px}.lh-topic:not(:last-child){margin-right:25px}.lh-gallery-grid{gap:50px}.lh-gallery-small{padding-top:80px}.lh-feature-photo img{height:420px}.lh-stories .wp-block-post-template{gap:25px!important}.lh-story h3{font-size:26px!important}}
@media(max-width:700px){body{font-size:16px}.lh-masthead{min-height:82px;padding-block:17px}.lh-brand{gap:10px}.lh-monogram a{width:38px;height:38px;font-size:24px}.lh-wordmark .wp-block-site-title{font-size:21px}.lh-brand-note{font-size:7px;letter-spacing:.12em}.lh-masthead .ll-language{border:0;padding-left:0}.lh-masthead .ll-language a{font-size:9px;padding:7px 5px}.lh-menu-toggle{padding:8px 10px;font-size:10px}.lh-masthead .ll-navigation{gap:8px}.lh-editorial-hero{grid-template-columns:1fr;gap:27px;padding-block:38px 30px}.lh-hero-copy{padding:0}.lh-hero-copy>.lh-eyebrow{font-size:9px;margin-bottom:22px}.lh-hero-title{font-size:clamp(72px,17vw,100px);max-width:8ch;margin-bottom:20px!important}.lh-hero-copy .lh-lead{font-size:14px;max-width:380px;margin-bottom:22px}.lh-hero-copy .wp-block-buttons{margin-top:22px}.lh-hero-signature{display:none}.lh-hero-art{min-height:0;aspect-ratio:1.14}.lh-hero-photo img{min-height:0;aspect-ratio:1.14;object-position:50% center}.lh-photo-label{bottom:20px;left:20px;right:20px;font-size:7px}.lh-photo-label strong{font-size:21px}.lh-topics{grid-template-columns:1fr;padding-bottom:15px}.lh-topic{padding:21px 0 18px 32px}.lh-topic:not(:last-child){margin-right:0}.lh-topic .lh-topic-number{top:25px}.lh-topic h2{font-size:26px}.lh-topic>p:last-child{font-size:11px}.lh-section-heading{gap:18px;align-items:flex-start;flex-direction:column;margin-bottom:32px}.lh-section-heading h2{font-size:44px}.lh-section-heading .lh-eyebrow{margin-bottom:16px}.lh-section-heading>.lh-text-link{margin-top:7px;font-size:12px}.lh-gallery-grid{grid-template-columns:1fr;gap:38px}.lh-gallery-small{padding-top:0;width:85%;margin-left:auto}.lh-gallery-large .lh-gallery-photo img{aspect-ratio:1.05}.lh-caption{margin-top:16px!important}.lh-caption strong{font-size:25px}.lh-gallery-note{font-size:12px;max-width:none}.lh-feature{padding-block:40px 50px}.lh-feature-inner{grid-template-columns:1fr;gap:31px}.lh-feature-photo img{height:auto;aspect-ratio:1.18}.lh-feature-copy{padding-block:0}.lh-feature-copy h2{font-size:49px}.lh-feature-copy h2 br{display:none}.lh-feature-copy>p:not(.lh-eyebrow):not(.lh-text-link){max-width:none;font-size:14px}.lh-feature-copy .lh-eyebrow{margin-bottom:20px}.lh-stories .wp-block-post-template{grid-template-columns:1fr!important;gap:38px!important}.lh-story .wp-block-post-featured-image{margin-bottom:19px}.lh-story h3,.lh-story .wp-block-post-title{font-size:32px!important}.lh-story .wp-block-post-excerpt__excerpt{font-size:14px}.lh-story .wp-block-post-date{font-size:10px}.lh-story .wp-block-post-excerpt__more-text{font-size:12px}.lh-about-inner{grid-template-columns:1fr;gap:36px}.lh-about-photo{width:86%}.lh-about-copy h2{font-size:42px}.lh-about-copy>p:not(.lh-eyebrow):not(.lh-text-link){font-size:14px}.lh-footer{padding-top:56px}.lh-footer-grid{grid-template-columns:1fr 1fr;gap:32px}.lh-footer-intro{grid-column:1/-1}.lh-footer h2{font-size:48px}.lh-footer-bottom{margin-top:45px!important;flex-direction:column;gap:12px}.lh-footer-links a{font-size:13px}.lh-document-header .wp-block-post-title{font-size:44px;text-align:left;margin-left:0;max-width:none}.lh-document-header .wp-block-post-date,.lh-document-header .wp-block-post-terms{text-align:left}.lh-document-header{padding-bottom:10px}.lh-document>.wp-block-post-featured-image{margin-bottom:35px}.lh-reading .wp-block-post-content>p{font-size:16px}.lh-reading .wp-block-post-content>p:first-child{font-size:19px}.lh-reading h2{font-size:34px}.lh-reading blockquote{font-size:23px;padding-left:20px}.lh-adjacent{font-size:11px}.lh-archive{padding-block:45px 65px}}
@media(max-width:380px){.lh-brand-note{display:none}.lh-wordmark .wp-block-site-title{font-size:19px}.lh-masthead .ll-navigation{gap:3px}.lh-menu-toggle{font-size:0;gap:0}.lh-menu-toggle::before{font-size:16px}.lh-hero-title{font-size:68px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}.lh-story .wp-block-post-featured-image:hover img{transform:none}}

/* Readability and preservation of the photographs’ bottom-right credit. */
.lh-masthead .ll-navigation{font-size:13px}.lh-masthead:lang(en) .ll-navigation{font-size:12px}.lh-hero-copy .lh-lead{font-size:16px}.lh-hero-photo img,.lh-gallery-photo img,.lh-feature-photo img{object-position:right center}@media(max-width:1200px) and (min-width:1001px){.lh-masthead .ll-navigation,.lh-masthead:lang(en) .ll-navigation{font-size:11px}}@media(max-width:700px){.lh-hero-copy .lh-lead{font-size:14px}}

.lh-brand-note{font-size:9px}.lh-caption span{font-size:10px}.lh-story .wp-block-post-date{font-size:11px}.lh-footer-bottom p{font-size:10px}.lh-hero-signature{font-size:11px}.lh-topic .lh-topic-number{color:var(--lh-muted);font-size:10px}@media(max-width:700px){.lh-brand-note{font-size:7px}.lh-footer-bottom p{font-size:10px}}
