/*
Theme Name: La Locanda di Arturo
Theme URI: https://lalocandadiarturo.com
Author: La Locanda di Arturo
Description: Tema editoriale per la cucina e i prodotti della Valle di Comino.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: locanda-arturo
*/

:root {
  --ink: #142018;
  --forest: #294633;
  --moss: #789248;
  --cream: #f5f0e5;
  --paper: #fffdf8;
  --terracotta: #bd5637;
  --line: rgba(20, 32, 24, .16);
  --display: Georgia, 'Times New Roman', serif;
  --sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.6; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.site-header { position: absolute; top: 0; width: 100%; z-index: 3; color: white; }
.site-header__inner, .container { width: min(1160px, calc(100% - 48px)); margin: auto; }
.site-header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { font: 700 clamp(1.2rem, 2vw, 1.55rem)/1 var(--display); letter-spacing: .02em; }
.brand a { color: inherit; text-decoration: none; }
.brand span { display: block; margin-top: 5px; font: 500 .62rem/1 var(--sans); letter-spacing: .22em; text-transform: uppercase; }
.brand .custom-logo-link { display: block; line-height: 0; }
.brand .custom-logo { display: block; width: auto; max-width: min(300px, 35vw); height: auto; max-height: 76px; object-fit: contain; object-position: left center; }
.main-nav ul { margin: 0; padding: 0; display: flex; list-style: none; gap: clamp(14px, 2.2vw, 34px); }
.main-nav a { font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; text-decoration: none; }
.main-nav a:hover { color: #dce8bb; }
.hero { min-height: 100vh; display: grid; align-items: end; padding: 150px 0 68px; color: white; background: linear-gradient(110deg, rgba(12,24,17,.82), rgba(12,24,17,.35) 58%, rgba(12,24,17,.52)), url('https://www.lalocandadiarturo.it/wp-content/uploads/2024/04/carni.png') center/cover; }
.hero__content { width: min(760px, 100%); }
.eyebrow { margin: 0 0 18px; font-size: .72rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; }
.hero h1, .section-title { margin: 0; font-family: var(--display); font-weight: 400; line-height: .96; letter-spacing: -.035em; }
.hero h1 { max-width: 700px; font-size: clamp(3.6rem, 8vw, 7.4rem); }
.hero h1 em { color: #d9e89e; font-style: italic; }
.hero p:not(.eyebrow) { max-width: 520px; margin: 28px 0 0; font-size: 1.05rem; }
.button { display: inline-flex; align-items: center; justify-content: center; margin-top: 32px; padding: 14px 22px; border: 1px solid currentColor; font-size: .73rem; font-weight: 700; letter-spacing: .13em; text-decoration: none; text-transform: uppercase; transition: background .2s, color .2s; }
.button:hover { background: white; color: var(--forest); }
.intro { padding: 110px 0; background: var(--cream); }
.intro__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(42px, 8vw, 130px); align-items: start; }
.section-label { margin: 0 0 18px; color: var(--terracotta); font-size: .72rem; font-weight: 700; letter-spacing: .17em; text-transform: uppercase; }
.section-title { font-size: clamp(2.7rem, 5vw, 5rem); }
.intro__copy { font-size: 1.16rem; }
.intro__copy p:first-child { margin-top: 0; }
.signature { margin-top: 30px; color: var(--forest); font: italic 2.1rem var(--display); }
.values { padding: 0 0 110px; background: var(--cream); }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.value { padding: 34px 30px 18px 0; border-right: 1px solid var(--line); }
.value + .value { padding-left: 30px; }
.value:last-child { border-right: 0; }
.value__number { color: var(--moss); font: 400 clamp(2.9rem, 5vw, 4.8rem)/1 var(--display); }
.value h3 { margin: 13px 0 8px; font: 400 1.35rem var(--display); }
.value p { margin: 0; max-width: 280px; font-size: .93rem; }
.brade { padding: 128px 0; background: var(--ink); color: #f7f4eb; overflow: hidden; }
.brade__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(320px, 1.1fr); gap: clamp(42px, 8vw, 120px); align-items: center; }
.brade .section-label { color: #dce8bb; }
.brade .section-title { font-size: clamp(3.4rem, 6vw, 6.2rem); }
.brade__copy > p:not(.section-label) { max-width: 520px; margin: 26px 0 0; color: rgba(247,244,235,.78); font-size: 1.05rem; line-height: 1.7; }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; color: #f7f4eb; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-decoration: none; text-transform: uppercase; }
.text-link span { font-size: 1.15rem; transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -3px); }
.brade__image { position: relative; min-height: 530px; margin: 0; }
.brade__image::after { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 52%, rgba(10,28,19,.48)); content: ''; pointer-events: none; }
.brade__image img { width: 100%; height: 100%; min-height: 530px; object-fit: cover; display: block; }
.brade__image figcaption { position: absolute; right: 24px; bottom: 21px; z-index: 1; color: white; font-size: .67rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.products { padding: 110px 0; }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 48px; }
.section-heading .button { margin: 0; color: var(--forest); }
.product-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.product-card { position: relative; min-height: 400px; overflow: hidden; background: var(--forest); color: white; }
.product-card img { width: 100%; height: 100%; position: absolute; object-fit: cover; opacity: .72; transition: transform .5s ease; }
.product-card:hover img { transform: scale(1.045); }
.product-card__copy { position: absolute; inset: auto 0 0; padding: 28px; z-index: 1; background: linear-gradient(transparent, rgba(10,21,15,.87)); }
.product-card__category { font-size: .68rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.product-card h3 { margin: 6px 0 0; font: 400 2rem/1 var(--display); }
.territory { padding: 110px 0; color: white; background: var(--forest); }
.territory__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center; }
.territory .section-label { color: #c7dd8f; }
.territory .section-title { max-width: 650px; }
.territory__facts { display: grid; gap: 0; border-top: 1px solid rgba(255,255,255,.25); }
.fact { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.fact strong { display: block; font: 400 1.4rem var(--display); }
.fact span { opacity: .82; font-size: .92rem; }
.news { padding: 110px 0; background: #e5ebcf; }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { padding-top: 18px; border-top: 1px solid var(--line); }
.news-card time { color: var(--terracotta); font-size: .72rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.news-card h3 { margin: 13px 0 10px; font: 400 1.85rem/1.08 var(--display); }
.news-card p { margin: 0; font-size: .94rem; }
.cta { padding: 100px 0; text-align: center; background: var(--terracotta); color: white; }
.cta .section-title { max-width: 800px; margin: auto; }
.cta p { margin: 25px auto 0; max-width: 540px; }
.cta .button { margin: 30px 7px 0; }
.site-footer { padding: 50px 0 30px; background: #102119; color: white; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 36px; }
.footer-grid h2 { margin: 0 0 10px; font: 400 1.55rem var(--display); }
.footer-grid p { margin: 0; color: rgba(255,255,255,.76); font-size: .9rem; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 45px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); color: rgba(255,255,255,.55); font-size: .72rem; }
.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 8; display: inline-flex; align-items: center; gap: 9px; padding: 11px 14px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; background: rgba(20,32,24,.92); box-shadow: 0 8px 26px rgba(0,0,0,.18); color: white; font-size: 1.15rem; line-height: 1; text-decoration: none; transition: transform .2s ease, background .2s ease; }
.back-to-top span { font-size: .65rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.back-to-top:hover { background: var(--terracotta); transform: translateY(-3px); }
.page-hero { padding: 175px 0 70px; color: white; background: var(--forest); background-size: cover; background-position: center; }
.page-hero h1 { margin: 0; font: 400 clamp(3rem, 6vw, 5.5rem)/1 var(--display); }
.page-content { padding: 80px 0 110px; }
.page-content .entry-content { width: min(760px, 100%); font-size: 1.08rem; }
.page-content .entry-content h2 { margin-top: 2.2em; font: 400 2.4rem/1.1 var(--display); }
.page-content .entry-content a { color: var(--terracotta); }
.content-layout { display: grid; gap: clamp(36px, 6vw, 84px); align-items: start; }
.content-layout--right-sidebar { grid-template-columns: minmax(0, 1fr) minmax(235px, 310px); }
.content-layout--left-sidebar { grid-template-columns: minmax(235px, 310px) minmax(0, 1fr); }
.content-layout--left-sidebar .site-sidebar { order: -1; }
.content-layout--full { display: block; }
.content-layout--full .entry-content, .content-layout--full .post-list { width: 100%; max-width: none; }
.site-sidebar { padding: 26px; background: var(--cream); border-top: 3px solid var(--moss); }
.sidebar-widget + .sidebar-widget { margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.sidebar-widget__title { margin: 0 0 10px; font: 400 1.45rem var(--display); }
.sidebar-widget p, .sidebar-widget li { font-size: .93rem; }
.sidebar-widget ul { margin: 0; padding-left: 18px; }
.post-list { display: grid; gap: 24px; }
.post-list article { padding: 28px 0; border-top: 1px solid var(--line); }
.post-list h2 { margin: 5px 0; font: 400 2.3rem/1.1 var(--display); }
.screen-reader-text { position: absolute; left: -10000px; }
@media (max-width: 780px) { .site-header__inner { min-height: 76px; } .main-nav ul { gap: 12px; flex-wrap: wrap; justify-content: end; } .main-nav a { font-size: .62rem; } .hero { min-height: 760px; padding-bottom: 48px; } .intro, .products, .territory, .news, .brade { padding: 78px 0; } .intro__grid, .territory__grid, .brade__grid, .footer-grid, .content-layout--right-sidebar, .content-layout--left-sidebar { grid-template-columns: 1fr; } .value-grid, .product-grid, .news-grid { grid-template-columns: 1fr; } .value, .value + .value { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); } .section-heading { display: block; } .section-heading .button { margin-top: 22px; } .product-card, .brade__image, .brade__image img { min-height: 330px; } .footer-bottom { display: block; } .back-to-top { right: 14px; bottom: 14px; padding: 10px 12px; } .back-to-top span { display: none; } }
