/*
Theme Name: LDHS Heritage
Description: A warm, photographic heritage journal for Longstanton & District Heritage Society. Child theme of Twenty Twenty-Four.
Author: Longstanton & District Heritage Society
Template: twentytwentyfour
Version: 0.1.5
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ldhs-heritage
*/
:root{--ldhs-ivory:#faf7f0;--ldhs-ink:#292831;--ldhs-muted:#605969;--ldhs-plum:#503950;--ldhs-lavender:#e7dff0;--ldhs-line:#ded7d2}
*{box-sizing:border-box}body{margin:0;background:var(--ldhs-ivory);color:var(--ldhs-ink);font:18px/1.7 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}.wp-site-blocks{padding:0}a{color:var(--ldhs-plum);text-underline-offset:.2em}a:hover{text-decoration-thickness:2px}a:focus-visible,button:focus-visible{outline:3px solid #805ba2;outline-offset:5px}h1,h2,h3{font-family:Georgia,"Times New Roman",serif;font-weight:400;line-height:1.15;color:var(--ldhs-plum)}h1{font-size:clamp(2.3rem,4.6vw,4.1rem)}h2{font-size:clamp(2rem,3vw,2.8rem)}h3{font-size:1.45rem}p{margin:0 0 1.1em}img{max-width:100%;height:auto}.ldhs-shell,.ldhs-header-inner{width:min(1180px,calc(100% - 64px));margin-inline:auto}.ldhs-header{margin:0}.ldhs-header-inner{padding:28px 0 25px}.ldhs-eyebrow{font-size:11px;font-weight:700;letter-spacing:.16em;line-height:1.5;text-transform:uppercase;margin:0 0 15px;color:var(--ldhs-muted)}.ldhs-masthead{display:flex;align-items:center;justify-content:space-between;gap:28px;margin:0}.ldhs-brand{display:flex;align-items:center;gap:18px;margin:0}.ldhs-monogram{display:grid;place-content:center;flex-shrink:0;width:67px;height:67px;border:1px solid #ac98ac;border-radius:50%;font:20px/1 Georgia,serif;letter-spacing:.08em;color:var(--ldhs-plum);margin:0}.ldhs-brand .wp-block-site-title{font:clamp(1.45rem,2.7vw,2.1rem)/1.15 Georgia,serif;margin:0;max-width:680px}.wp-block-site-title a{text-decoration:none}.ldhs-tagline{margin:13px 0 0 85px;font-size:13px;color:var(--ldhs-muted)}.wp-block-buttons{display:flex;flex-wrap:wrap;gap:10px;margin:24px 0}.ldhs-masthead .wp-block-buttons{margin:0;flex-shrink:0}.wp-block-button__link{display:inline-block;background:var(--ldhs-plum);color:#fff;border:1px solid var(--ldhs-plum);border-radius:2px;padding:11px 20px;font:600 13px/1.5 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-decoration:none}.wp-block-button__link:hover{background:#6a4e6c;color:#fff}.ldhs-nav-wrap{background:var(--ldhs-plum);color:#fff;margin:0}.ldhs-navigation{width:min(1180px,calc(100% - 64px));margin:auto!important;padding:15px 0;font-size:13px}.ldhs-navigation .wp-block-navigation__container{gap:28px}.ldhs-navigation a{color:inherit;text-decoration:none}.ldhs-navigation a:hover{text-decoration:underline}.ldhs-navigation .wp-block-navigation__responsive-container.is-menu-open{background:var(--ldhs-plum);color:white}.ldhs-hero{position:relative;min-height:430px;margin-top:32px;overflow:hidden;background:#ddd5c9}.ldhs-hero-image{position:absolute;inset:0;margin:0}.ldhs-hero-image img{width:100%;height:100%;object-fit:cover;object-position:center}.ldhs-hero:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(30,24,33,.83),rgba(30,24,33,.28) 68%,rgba(30,24,33,.05));pointer-events:none}.ldhs-hero-copy{position:relative;z-index:1;padding:52px;max-width:760px;color:#fff}.ldhs-hero-copy .ldhs-eyebrow{color:#e7dff0}.ldhs-hero-copy h1{color:#fff;margin:0 0 20px}.ldhs-hero-copy>p:not(.ldhs-eyebrow){font-size:16px;max-width:440px}.ldhs-hero-copy a{color:#fff}.ldhs-hero-link{margin-top:24px!important;font-weight:600}.ldhs-photo-caption{font-size:11px;color:var(--ldhs-muted);margin:9px 0 0}.ldhs-main-grid{display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);gap:80px;margin:62px 0 64px}.ldhs-introduction h2{margin:0 0 24px}.ldhs-introduction>p{max-width:620px;font-size:17px}.ldhs-news{border-top:3px solid var(--ldhs-plum);padding-top:20px;margin:0;font-size:14px}.ldhs-news h2{font-size:1.9rem;margin:0 0 24px}.ldhs-news-list ul{list-style:none;padding:0;margin:0}.ldhs-news-list li{padding:0 0 20px;margin-bottom:20px;border-bottom:1px solid var(--ldhs-line)}.ldhs-news-list .wp-block-post-date{font-size:11px;text-transform:uppercase;letter-spacing:.06em;color:var(--ldhs-muted);margin-bottom:7px}.ldhs-news-list h3{font:400 18px/1.4 Georgia,serif;margin:0}.ldhs-news-list a{text-decoration:none}.ldhs-news-list a:hover{text-decoration:underline}.ldhs-memory{padding:24px 28px;background:var(--ldhs-lavender);border-left:3px solid #9b81a1;margin-top:32px}.ldhs-memory-title{font:24px/1.3 Georgia,serif;color:var(--ldhs-plum);margin-bottom:12px}.ldhs-memory p:last-child{font-size:14px;margin:0}.ldhs-explore{border-top:1px solid var(--ldhs-line);padding:40px 0 60px;margin:0}.ldhs-section-heading h2{margin:0 0 28px}.ldhs-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px}.ldhs-feature{margin:0}.ldhs-feature figure{margin:0 0 20px}.ldhs-feature img{width:100%;height:190px;object-fit:cover}.ldhs-feature h3{margin:0 0 14px}.ldhs-feature h3 a{text-decoration:none}.ldhs-feature>p:not(.ldhs-eyebrow){font-size:14px;color:var(--ldhs-muted)}.ldhs-feature-text{background:var(--ldhs-lavender);padding:30px}.ldhs-feature-text h3{font-size:2rem;margin-top:25px}.ldhs-footer{margin:0;background:var(--ldhs-plum);color:#eee6f0}.ldhs-footer-callout{padding:42px 0;border-bottom:1px solid #836d84}.ldhs-footer-callout h2{color:#fff;margin:0 0 12px}.ldhs-footer-callout p{font-size:15px}.ldhs-footer .wp-block-button__link{background:var(--ldhs-lavender);color:var(--ldhs-plum)}.ldhs-footer a{color:inherit}.ldhs-footer-bottom{padding:28px 0;font-size:12px;max-width:800px}.ldhs-footer-name{font:19px/1.3 Georgia,serif}.ldhs-article{max-width:100%;margin:60px auto 80px;overflow-wrap:anywhere}.ldhs-article h1{margin-bottom:32px}.ldhs-article .wp-block-post-content{font-size:18px}.ldhs-article table{max-width:100%}.ldhs-article iframe{max-width:100%}.ldhs-article .wp-block-post-featured-image{margin-bottom:32px}
@media(max-width:900px){.ldhs-brand .wp-block-site-title{font-size:25px}.ldhs-main-grid{gap:40px}.ldhs-hero-copy{padding:38px}.ldhs-navigation .wp-block-navigation__container{gap:18px}.ldhs-tagline{margin-left:0}.ldhs-masthead .wp-block-buttons{display:none}}
@media(max-width:650px){.ldhs-shell,.ldhs-header-inner,.ldhs-navigation{width:calc(100% - 36px)}.ldhs-header-inner{padding:20px 0}.ldhs-monogram{width:52px;height:52px;font-size:16px}.ldhs-brand{gap:12px}.ldhs-brand .wp-block-site-title{font-size:23px}.ldhs-tagline{font-size:11px;line-height:1.7}.ldhs-hero{margin-top:18px;min-height:430px}.ldhs-hero-copy{padding:32px 24px}.ldhs-hero-copy h1{font-size:40px}.ldhs-hero:after{background:rgba(30,24,33,.62)}.ldhs-main-grid{grid-template-columns:1fr;gap:40px;margin:40px 0}.ldhs-feature-grid{grid-template-columns:1fr;gap:30px}.ldhs-feature img{height:230px}.ldhs-article{margin:36px auto}.ldhs-footer-callout h2{font-size:30px}.ldhs-photo-caption{font-size:10px}.ldhs-memory{padding:22px}.ldhs-navigation{min-height:48px;display:flex;align-items:center}.ldhs-navigation a{min-height:44px;display:flex;align-items:center}}

.ldhs-navigation .wp-block-navigation__submenu-container{background:var(--ldhs-ivory);color:var(--ldhs-plum);font-size:14px}.ldhs-navigation .wp-block-navigation__submenu-container a{padding:10px 14px}

/* A quieter heading scale, with emphasis reserved for the homepage feature. */
h1{font-size:clamp(2rem,3.2vw,3rem)}
h2{font-size:clamp(1.6rem,2.2vw,2rem)}
h3{font-size:1.3rem}
.ldhs-hero-copy h1{font-size:clamp(2rem,3.7vw,3.3rem)}
.ldhs-article h1{font-size:clamp(1.9rem,2.8vw,2.65rem);margin-bottom:24px}
.ldhs-article h2{font-size:clamp(1.5rem,2vw,1.85rem);margin-top:1.5em;margin-bottom:.6em}
.ldhs-article h3{font-size:1.35rem;margin-top:1.4em;margin-bottom:.55em}
.ldhs-article h4{font-size:1.15rem;line-height:1.35}
.ldhs-article h5,.ldhs-article h6{font-size:1rem;line-height:1.4}
.ldhs-news h2{font-size:1.6rem}
.ldhs-news-list h3{font-size:17px}
.ldhs-feature h3{font-size:1.3rem}
.ldhs-feature-text h3{font-size:1.65rem}
.ldhs-memory-title{font-size:21px}
.ldhs-footer-callout h2{font-size:clamp(1.6rem,2.2vw,2rem)}
