/*
Theme Name: New Haven Journal
Theme URI: https://thenewhavencafe.com/
Author: The New Haven Cafe
Description: A custom editorial food theme with an editable cafe-history homepage, 50 original article assets, featured images, native WordPress content importer and Rank Math compatible SEO. Appearance > Cafe Setup imports content in resumable batches.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 6.8
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: new-haven-journal
Tags: blog, food-and-drink, custom-logo, custom-menu, featured-images, editor-style, wide-blocks
*/
:root{--cream:#fcf8ef;--paper:#f3eddf;--red:#8c302f;--ink:#292b25;--muted:#69685f;--line:#d8d1c1;--sage:#dce0d1;--serif:Georgia,'Times New Roman',serif;--sans:Arial,Helvetica,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;background:var(--cream);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration-thickness:1px;text-underline-offset:4px}a:hover{color:var(--red)}button,input{font:inherit}button,a,input{touch-action:manipulation}button{cursor:pointer}img{max-width:100%;height:auto;vertical-align:middle}h1,h2,h3,h4{font-family:var(--serif);font-weight:400;letter-spacing:-.045em;line-height:1.08;margin:0 0 20px}p{margin:0 0 24px}h1{font-size:clamp(40px,5.2vw,78px)}h2{font-size:clamp(33px,3.5vw,52px)}h3{font-size:28px}::selection{background:var(--red);color:var(--cream)}:focus-visible{outline:3px solid #b07630;outline-offset:5px}.wrap{width:min(1240px,calc(100% - 96px));margin-inline:auto}.skip-link{position:absolute;left:12px;top:-70px;background:var(--red);color:#fff;padding:12px;z-index:999}.skip-link:focus{top:10px}.topbar{background:var(--red);color:var(--cream);padding:9px 48px;display:flex;justify-content:space-between;font-size:10px;font-weight:700;letter-spacing:.14em}.topbar a{letter-spacing:.02em;text-decoration:none}.topbar a:hover{color:#fff}.site-header{border-bottom:1px solid var(--line)}.header-inner{width:min(1360px,calc(100% - 96px));margin:auto;min-height:112px;display:flex;align-items:center;gap:32px}.brand{display:flex;align-items:center;gap:14px;margin-right:auto}.custom-logo-link img,.brand-mark img{width:60px;height:60px;object-fit:contain}.wordmark{font-family:var(--serif);color:var(--red);font-size:34px;line-height:1.04;letter-spacing:-.04em;text-decoration:none;white-space:nowrap}.wordmark span{display:block;font-family:var(--sans);font-weight:700;font-size:8px;letter-spacing:.19em;margin-top:10px;color:var(--ink)}.primary-nav .menu{list-style:none;display:flex;gap:28px;margin:0;padding:0;align-items:center}.primary-nav a{font-size:13px;text-decoration:none;font-weight:600}.primary-nav .current-menu-item>a{color:var(--red)}.primary-nav li{position:relative}.primary-nav .sub-menu{position:absolute;z-index:20;left:-20px;top:24px;display:none;list-style:none;padding:16px 20px;background:var(--cream);border:1px solid var(--line);min-width:210px;box-shadow:0 8px 20px #292b2512}.primary-nav li:hover>.sub-menu,.primary-nav li:focus-within>.sub-menu{display:block}.primary-nav .sub-menu a{display:block;padding:7px 0}.header-search{border-left:1px solid var(--line);padding-left:28px;line-height:0}.menu-toggle{display:none}.eyebrow{font-family:var(--sans);font-weight:700;font-size:10px;letter-spacing:.17em;line-height:1.4;text-transform:uppercase;color:var(--red);margin-bottom:20px;display:block;text-decoration:none}.button,.wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:12px;background:var(--red);color:var(--cream);border:1px solid var(--red);border-radius:0;padding:15px 25px;font-family:var(--sans);font-size:12px;font-weight:700;line-height:1.4;text-decoration:none;letter-spacing:.01em}.button:hover,.wp-block-button__link:hover{color:var(--cream);background:#64201f;border-color:#64201f}.button.outline,.is-style-outline .wp-block-button__link{background:transparent;color:var(--red);border-color:var(--red)}.button.light{background:var(--cream);color:var(--red);border-color:var(--cream)}.wp-block-buttons{display:flex;gap:20px;align-items:center;flex-wrap:wrap}.text-link{font-size:12px;font-weight:700;text-decoration:none;border-bottom:1px solid var(--red);padding-bottom:7px;color:var(--red)}.home-main>.wp-block-group{margin:0}.home-hero{max-width:1360px;margin:auto!important;padding:66px 48px 62px}.home-hero>.wp-block-columns{margin:0;gap:64px;align-items:center!important}.hero-copy{max-width:510px}.home-hero h1{font-size:clamp(50px,5.6vw,84px);color:var(--red);line-height:.98;margin:26px 0}.home-hero .hero-intro{max-width:360px;font-size:15px;color:var(--muted);line-height:1.8;margin:25px 0 30px}.hero-image{position:relative;margin:0;overflow:visible}.hero-image img{width:100%;height:520px;object-fit:cover;border-radius:46% 46% 0 0}.hero-image figcaption{font-size:10px;color:var(--muted);padding-top:12px}.hero-image:after{content:'MADE FOR\A THE EVERYDAY';white-space:pre;position:absolute;right:-26px;bottom:60px;border-radius:50%;background:var(--red);color:var(--cream);border:6px double var(--cream);height:115px;width:115px;display:grid;place-content:center;text-align:center;font-size:11px;font-weight:700;letter-spacing:.1em;line-height:1.7;transform:rotate(12deg)}.hero-footnote{font-size:10px!important;line-height:1.6;letter-spacing:.03em;color:var(--muted);margin-top:36px!important}.category-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:23px 40px;background:var(--paper)}.category-strip .wp-block-buttons{justify-content:center;gap:0 28px}.category-strip .wp-block-button__link{background:none;color:var(--ink);padding:5px 0;border:0;font-size:11px;letter-spacing:.06em;text-transform:uppercase}.category-strip .wp-block-button:not(:last-child):after{content:'✳';color:var(--red);margin-left:28px}.heritage-section{padding:94px 0 85px;max-width:1240px;margin:auto!important;width:calc(100% - 96px)}.heritage-section>.wp-block-columns{gap:85px;align-items:center!important}.heritage-art{margin:0;position:relative}.heritage-art img{width:100%;height:360px;object-fit:cover}.heritage-art figcaption{font-size:10px;color:var(--muted);margin-top:12px}.heritage-section h2{color:var(--red);max-width:430px}.heritage-section p:not(.eyebrow){font-size:14px;color:var(--muted);line-height:1.9}.archive-pullquote{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:17px 0!important;color:var(--red)!important;font-family:var(--serif)!important;font-size:23px!important;font-style:italic!important;line-height:1.4!important}.archive-source{font-size:10px!important}.latest-section{padding:22px 0 90px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:24px;margin-bottom:35px}.section-head h2{font-size:42px;margin-bottom:0}.section-head .eyebrow{margin-bottom:14px}.recipe-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:40px 28px}.recipe-card{border:0;background:none;min-width:0}.card-image{display:block;overflow:hidden;background:var(--paper);aspect-ratio:1.42}.card-image img{width:100%;height:100%;object-fit:cover;transition:transform .35s}.card-image:hover img{transform:scale(1.035)}.card-copy{padding:23px 0 0}.card-copy .eyebrow{font-size:9px;margin-bottom:11px}.card-copy h3{font-size:28px;letter-spacing:-.035em;line-height:1.16}.card-copy h3 a{text-decoration:none}.card-copy p{font-size:13px;line-height:1.8;color:var(--muted);margin:0 0 22px}.card-meta{border-top:1px solid var(--line);padding-top:13px;display:flex;justify-content:space-between;font-size:9px;color:var(--muted)}.image-fallback{height:100%;display:grid;place-items:center;font-family:var(--serif);font-size:30px;color:var(--red)}.closing-band{text-align:center;padding:70px 24px;background:var(--sage);border-top:1px solid #c9cdbd}.closing-band h2{font-size:50px;color:var(--red);margin-bottom:28px}.site-footer{padding:70px 48px 25px;background:var(--red);color:var(--cream)}.footer-top{max-width:1240px;margin:auto;display:grid;grid-template-columns:1.3fr 1fr;gap:90px;padding-bottom:50px}.site-footer .eyebrow{color:#edc5a3}.footer-top h2{font-size:44px}.footer-top h3{font-family:var(--sans);font-size:12px;font-weight:bold;letter-spacing:.06em;margin-bottom:22px}.footer-top p{font-size:13px;color:#eddacf}.footer-top a{display:block;text-decoration:none;font-size:13px;margin-bottom:13px}.site-footer a:hover{color:#edc5a3}.footer-bottom{max-width:1240px;margin:auto;padding-top:22px;border-top:1px solid #b57169;display:flex;justify-content:space-between;gap:28px;font-size:10px}.footer-bottom .menu{display:flex;gap:20px;list-style:none;padding:0;margin:0;flex-wrap:wrap}.footer-bottom a{text-decoration:none}.heritage-note{max-width:1240px;margin:22px auto 0;font-size:9px;color:#e5bdb0;max-width:1240px}.page-main,.archive-main,.recipe-index{padding:65px 0 90px;min-height:50vh}.page-heading{max-width:850px;margin:0 auto 48px;text-align:center}.page-heading h1{font-size:64px;color:var(--red)}.page-heading p{font-size:16px;color:var(--muted)}.page-content{max-width:780px;margin:auto}.page-content h2{font-size:33px;margin-top:40px}.page-content h3{font-size:24px;margin-top:25px}.entry-content{font-size:17px;line-height:1.9}.entry-content li{margin-bottom:9px}.entry-content h2{margin-top:42px;font-size:34px;scroll-margin-top:30px}.entry-content h3{font-size:25px;margin-top:32px}.entry-content a{color:var(--red)}.recipe-search{max-width:780px;margin:35px auto}.recipe-search label{display:block;font-size:11px;font-weight:bold;letter-spacing:.1em;text-transform:uppercase;color:var(--red);margin-bottom:10px}.recipe-search>div{display:flex}.recipe-search input{flex:1;min-width:0;padding:17px 20px;border:1px solid var(--line);background:#fffdf8;border-radius:0}.recipe-search button{padding:15px 24px;background:var(--red);color:var(--cream);border:1px solid var(--red);font-size:12px;font-weight:bold}.category-pills{display:flex;gap:10px;flex-wrap:wrap;justify-content:center;margin:30px 0 50px}.category-pills a{border:1px solid var(--line);padding:9px 15px;text-decoration:none;font-size:11px}.category-pills span{margin-left:9px;color:var(--red)}.pagination{margin:40px 0;text-align:center}.pagination .page-numbers{display:inline-block;padding:7px 14px;text-decoration:none;border:1px solid var(--line);margin:3px}.pagination .current{background:var(--red);color:var(--cream)}.article-main{padding:30px 0 80px}.breadcrumbs{display:flex;gap:9px;flex-wrap:wrap;font-size:10px;color:var(--muted);margin:0 0 45px}.breadcrumbs a{text-decoration:none}.article-heading{max-width:920px;margin:0 auto 40px;text-align:center}.article-heading h1{font-size:clamp(42px,4.5vw,64px);color:var(--red);line-height:1.08}.article-deck{font-size:17px;max-width:700px;margin:22px auto;color:var(--muted)}.article-byline{font-size:11px;color:var(--muted);line-height:1.9}.article-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap}.article-feature{margin:0 auto 50px;max-width:1060px}.article-feature img{width:100%;max-height:600px;object-fit:cover}.article-feature figcaption{font-size:10px;margin-top:10px;color:var(--muted)}.article-layout{display:grid;grid-template-columns:minmax(0,780px) 250px;gap:70px;justify-content:center}.article-content h2#ingredients{border-top:3px solid var(--red);padding-top:25px}.article-content h2#ingredients+ul{background:var(--paper);padding:25px 40px}.article-content ol{padding-left:27px}.article-content ol li{margin-bottom:20px;padding-left:8px}.article-aside{align-self:start;background:var(--paper);border:1px solid var(--line);padding:28px;margin-top:8px}.article-aside h2{font-size:30px;color:var(--red)}.article-aside p{font-size:12px;color:var(--muted)}.article-aside a{font-size:11px;color:var(--red)}.article-aside hr{border:0;border-top:1px solid var(--line);margin:30px 0}.author-note{max-width:780px;background:var(--paper);padding:20px;font-size:11px;line-height:1.9;margin:40px auto;color:var(--muted)}.related-posts{margin-top:65px}.comments-area{max-width:780px;margin:70px auto}.comment-form label{display:block}.comment-form input,.comment-form textarea{max-width:100%;padding:12px;border:1px solid var(--line)}.comment-form input[type=submit]{background:var(--red);color:var(--cream);border:0}body .wp-block-columns{display:flex}.wp-block-columns>.wp-block-column{flex:1;min-width:0}.wp-block-image{margin-left:0;margin-right:0}.wp-block-image img{height:auto}.home-hero .hero-image img{height:520px}.heritage-section .heritage-art img{height:360px}.wp-block-group.is-layout-constrained>.alignwide{max-width:1240px}.recipe-summary{border-block:1px solid var(--line);padding:15px 0;color:var(--red);font-size:13px}.source-note{font-size:12px;color:var(--muted)}
@media(min-width:1600px){.home-hero h1{font-size:88px}.home-hero .hero-image img{height:550px}}
@media(max-width:1100px){.primary-nav .menu{gap:18px}.header-inner{gap:20px}.wordmark{font-size:28px}.header-search{padding-left:20px}.home-hero>.wp-block-columns{gap:40px}.home-hero h1{font-size:68px}.home-hero .hero-image img{height:460px}.hero-image:after{right:-15px}.heritage-section>.wp-block-columns{gap:40px}.article-layout{grid-template-columns:minmax(0,760px) 210px;gap:35px}.article-aside{padding:22px}}
@media(max-width:850px){.wrap,.header-inner{width:calc(100% - 48px)}.topbar{padding:9px 24px}.topbar>a{display:none}.header-inner{min-height:92px;position:relative}.wordmark{font-size:27px}.wordmark span{font-size:7px}.custom-logo-link img,.brand-mark img{width:50px;height:50px}.menu-toggle{display:block;border:0;background:none;color:var(--red);font-size:12px}.menu-toggle span{margin-left:7px;font-size:20px}.header-search{border:0;padding:0}.primary-nav{display:none;position:absolute;z-index:30;left:-24px;right:-24px;top:92px;background:var(--cream);padding:25px;border-bottom:1px solid var(--line);box-shadow:0 10px 20px #292b2510}.primary-nav.is-open{display:block}.primary-nav .menu{display:flex;flex-direction:column;align-items:start;gap:16px}.primary-nav .sub-menu{position:static;display:block;padding:4px 0 0 16px;border:0;box-shadow:none}.home-hero{padding:45px 24px}.home-hero h1{font-size:59px}.home-hero .hero-image img{height:420px}.hero-image:after{width:95px;height:95px;font-size:9px;right:-8px;bottom:40px}.home-hero>.wp-block-columns{gap:30px}.hero-intro{font-size:14px!important}.heritage-section{width:calc(100% - 48px);padding:70px 0}.heritage-section h2{font-size:39px}.heritage-section .heritage-art img{height:320px}.recipe-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:35px 24px}.section-head h2{font-size:36px}.article-layout{display:block;max-width:780px;margin:auto}.article-aside{display:none}.footer-top{gap:50px}.footer-bottom{display:block}.footer-bottom nav{margin-top:20px}.site-footer{padding:55px 24px 25px}.page-heading h1{font-size:52px}}
@media(max-width:600px){.topbar{font-size:8px;text-align:center;justify-content:center;letter-spacing:.1em}.wordmark{font-size:24px}.wordmark span{font-size:6px;letter-spacing:.12em;margin-top:7px}.brand{gap:8px}.custom-logo-link img,.brand-mark img{width:42px;height:42px}.header-inner{gap:14px;min-height:86px}.primary-nav{top:86px}.header-search svg{width:20px}.menu-toggle{font-size:0;padding:0}.menu-toggle span{font-size:22px}.home-hero>.wp-block-columns,.heritage-section>.wp-block-columns{display:flex;flex-direction:column;gap:35px}.home-hero h1{font-size:62px;max-width:390px}.hero-copy{max-width:none}.home-hero .hero-intro{max-width:none}.hero-footnote{margin-top:23px!important}.hero-image{width:100%}.home-hero .hero-image img{height:400px;border-radius:46% 46% 0 0}.hero-image:after{right:10px;bottom:45px;width:108px;height:108px;font-size:10px}.category-strip{padding:17px 20px}.category-strip .wp-block-buttons{gap:7px 18px}.category-strip .wp-block-button__link{font-size:9px}.category-strip .wp-block-button:not(:last-child):after{margin-left:18px;font-size:11px}.heritage-section{padding:50px 0}.heritage-section .heritage-art img{height:300px}.heritage-section h2{font-size:42px}.heritage-section .wp-block-column{width:100%}.heritage-section .wp-block-column:first-child{order:2}.latest-section{padding:15px 0 55px}.section-head{display:block;margin-bottom:28px}.section-head h2{font-size:38px}.section-head>a{display:inline-block;margin-top:22px}.recipe-grid{gap:30px 16px}.card-copy{padding-top:16px}.card-copy h3{font-size:23px}.card-copy p{display:none}.card-copy .eyebrow{font-size:8px}.card-meta{font-size:8px;gap:8px;flex-wrap:wrap}.closing-band{padding:50px 22px}.closing-band h2{font-size:40px}.footer-top{grid-template-columns:1fr;gap:25px;padding-bottom:30px}.footer-top h2{font-size:40px}.footer-top a{font-size:12px;overflow-wrap:anywhere}.footer-bottom .menu{gap:12px}.heritage-note{font-size:9px}.page-main,.recipe-index,.archive-main{padding:45px 0 60px}.page-heading h1{font-size:46px}.recipe-search input{padding:14px 12px;font-size:13px}.recipe-search button{padding:13px;font-size:11px}.category-pills{gap:8px;justify-content:start}.category-pills a{font-size:10px;padding:7px 10px}.article-heading h1{font-size:44px}.article-deck{font-size:15px}.article-feature{margin-bottom:30px}.article-content{font-size:16px}.entry-content h2{font-size:29px}.breadcrumbs{margin-bottom:30px;font-size:9px}.button,.wp-block-button__link{padding:13px 19px}.article-byline{font-size:10px}.article-feature img{min-height:250px}.related-posts .recipe-grid{grid-template-columns:1fr 1fr}.page-content{font-size:16px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.card-image img{transition:none}}
@media print{.topbar,.site-header,.site-footer,.article-aside,.related-posts,.article-actions,.breadcrumbs,.comments-area,.author-note{display:none!important}body{background:white;color:black;font-size:11pt}.wrap{width:100%}.article-layout{display:block}.article-heading h1{font-size:25pt;color:black}.article-feature{max-width:320px;float:right;margin:0 0 20px 25px}.article-feature figcaption{font-size:7pt}.article-content{font-size:11pt;line-height:1.5}.article-content h2{font-size:17pt;color:black;break-after:avoid}.article-content li{break-inside:avoid}a{color:black!important;text-decoration:none}.article-main{padding:0}.entry-content h2#ingredients+ul{background:none}.article-deck{font-size:11pt}}
.category-strip .wp-block-button{display:flex;align-items:center}.category-strip .wp-block-button:not(:last-child):after{display:inline-block}

@media(max-width:600px){.home-hero{padding-top:32px}.home-hero h1{font-size:48px}.home-hero .hero-intro{margin-bottom:24px}.home-hero .hero-image img{height:340px}}
