/*
Theme Name: Arenella
Theme URI: https://arenella.it/
Author: Arenella.it
Description: Tema editoriale responsive per Arenella.it — Da Napoli, via Milano, verso il mondo. Tre sezioni autonome, SEO-ready e predisposto per Google AdSense.
Version: 2.6
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: arenella
License: GNU General Public License v2 or later
*/
:root{--yellow:#ffb300;--ink:#111;--muted:#666;--line:#e9e9e9;--soft:#faf8f3;--wrap:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:Arial,Helvetica,sans-serif;line-height:1.55}a{color:inherit;text-decoration:none}img{max-width:100%;height:auto;display:block}.wrap{width:min(calc(100% - 40px),var(--wrap));margin-inline:auto}.site-header{background:#fff;border-bottom:1px solid #f1f1f1;position:relative;z-index:20}.header-inner{min-height:112px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{display:block}.brand-name{font-family:"Segoe Print","Bradley Hand",cursive;font-size:42px;line-height:1;font-weight:700;letter-spacing:-2px}.brand-name .dotit{color:inherit}.tagline{font-family:Georgia,serif;font-size:13px;margin-top:5px}.main-nav ul,.section-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:38px}.main-nav a{font-size:13px;font-weight:800;text-transform:uppercase;letter-spacing:.02em}.main-nav a:hover,.main-nav .current-menu-item>a{color:#d99500}.menu-toggle{display:none;border:0;background:transparent;font-size:28px;padding:8px}.hero{padding:52px 0 34px}.hero-grid{min-height:255px;display:grid;grid-template-columns:minmax(0,500px) 1fr;align-items:center}.hero h1{font-family:Georgia,serif;font-size:64px;line-height:.98;margin:0;letter-spacing:-2.5px;max-width:500px}.hero h1 .accent{color:var(--yellow)}.yellow-rule{width:48px;height:3px;background:var(--yellow);margin:24px 0}.button-yellow,.button-black{display:inline-flex;align-items:center;justify-content:center;padding:14px 22px;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.03em}.button-yellow{background:var(--yellow)}.button-black{background:#111;color:#fff}.section-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:18px}.section-card{border:1px solid var(--line);background:#fff;min-width:0}.card-photo{aspect-ratio:2.65/1;overflow:hidden;background:#f4f4f4}.card-photo img{width:100%;height:100%;object-fit:cover}.card-content{text-align:center;padding:18px 18px 22px}.card-content h2{font-family:Georgia,serif;font-size:25px;margin:0 0 3px}.card-content p{font-family:Georgia,serif;margin:0 auto 17px;max-width:260px;font-size:14px}.card-content span{font-size:11px;font-weight:800;text-transform:uppercase}.card-content b,.block-head b,.section-link b{color:var(--yellow);margin-left:10px}.promo-bar{background:var(--yellow);min-height:82px;display:grid;grid-template-columns:1fr auto;align-items:center;gap:24px;padding:16px 24px;margin-block:18px}.promo-copy h2{font-family:Georgia,serif;font-size:22px;margin:0;text-transform:uppercase}.promo-copy p{font-size:13px;margin:2px 0 0;max-width:780px}.latest{padding:12px 0 30px}.block-head{display:flex;align-items:end;justify-content:space-between;border-bottom:1px solid var(--line);margin-bottom:16px;padding-bottom:8px}.block-head h2{font-size:16px;margin:0;text-transform:uppercase}.block-head h2:after{content:"";display:block;width:30px;height:2px;background:var(--yellow);margin-top:7px}.block-head a{font-size:11px;font-weight:800;text-transform:uppercase}.latest-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px}.post-card .post-thumb{aspect-ratio:1.7/1;overflow:hidden;background:#f4f4f4}.post-card .post-thumb img{width:100%;height:100%;object-fit:cover}.post-card .post-section{font-size:9px;text-transform:uppercase;font-weight:800;margin:8px 0 3px}.post-card h3{font-family:Georgia,serif;font-size:16px;line-height:1.2;margin:0 0 6px}.post-card time{font-size:10px;color:#777}.about-strip{background:linear-gradient(90deg,#fffaf0,#fff);border-top:1px solid #f4eee1;border-bottom:1px solid #f4eee1;padding:22px 0}.about-row{display:grid;grid-template-columns:118px minmax(0,360px) 1fr;gap:28px;align-items:center}.about-photo{width:105px;height:105px;border-radius:50%;overflow:hidden}.about-photo img{width:100%;height:100%;object-fit:cover}.about-copy h2{font-family:"Segoe Print","Bradley Hand",cursive;font-size:25px;margin:0 0 4px;font-weight:500}.about-copy h2 .accent{color:var(--yellow)}.about-copy p{font-size:12px;margin:0 0 10px}.about-links{display:grid;grid-template-columns:repeat(5,1fr);gap:16px;text-align:center}.about-links a{font-size:10px;font-weight:800;text-transform:uppercase;padding:12px 3px}.site-footer{padding:28px 0 20px}.footer-grid{display:grid;grid-template-columns:1.2fr repeat(4,1fr);gap:35px}.footer-brand .brand-name{font-size:32px}.footer-grid h3{font-size:11px;text-transform:uppercase;margin:5px 0 10px}.footer-grid ul{list-style:none;margin:0;padding:0}.footer-grid li{font-size:11px;margin:4px 0}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);margin-top:22px;padding-top:14px;font-size:10px}.section-hero{padding:48px 0 24px}.section-hero h1,.archive-title,.single-title,.page-title{font-family:Georgia,serif;font-size:52px;line-height:1.05;margin:0}.section-nav{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:13px 0;margin-top:22px}.section-nav a{font-size:11px;font-weight:800;text-transform:uppercase}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:26px;padding:30px 0 60px}.article-shell{width:min(calc(100% - 40px),860px);margin:0 auto;padding:46px 0}.single-title{font-size:58px}.single-meta{color:#777;font-size:13px;margin:13px 0 28px}.single-featured{margin-bottom:32px}.entry-content{font-family:Georgia,serif;font-size:19px;line-height:1.75}.entry-content h2,.entry-content h3{font-family:Arial,Helvetica,sans-serif}.entry-content img{margin:28px auto}.ad-wrap{margin:22px auto;text-align:center;min-height:0}.ad-label{font-size:9px;color:#999;text-transform:uppercase;letter-spacing:.12em;margin-bottom:6px}.about-page{padding:50px 0 60px}.about-page-grid{display:grid;grid-template-columns:320px 1fr;gap:60px;align-items:start}.about-page-photo{border-radius:50%;aspect-ratio:1/1;overflow:hidden}.about-page-photo img{width:100%;height:100%;object-fit:cover}.about-page-copy h1{font-family:"Segoe Print","Bradley Hand",cursive;font-size:50px;margin:0 0 18px}.about-page-copy p{max-width:690px}.about-page-copy .lead{font-family:Georgia,serif;font-size:21px}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:900px){.wrap{width:min(calc(100% - 28px),var(--wrap))}.header-inner{min-height:78px}.brand-name{font-size:31px}.tagline{font-size:10px}.main-nav{display:none;position:absolute;top:78px;left:0;right:0;background:#fff;border-bottom:1px solid var(--line);padding:20px}.main-nav.open{display:block}.main-nav ul{display:block}.main-nav li{margin:13px 0}.menu-toggle{display:block}.hero{padding:32px 0 26px}.hero-grid{display:block;min-height:0}.hero h1{font-size:44px;max-width:360px}.section-cards{grid-template-columns:1fr;gap:14px}.section-card{display:grid;grid-template-columns:120px 1fr}.card-photo{aspect-ratio:auto;height:120px}.card-content{text-align:left;padding:15px 18px}.card-content h2{font-size:19px}.card-content p{margin:0 0 10px;font-size:12px}.promo-bar{grid-template-columns:1fr;padding:18px;margin-block:16px}.promo-copy h2{font-size:18px}.promo-bar .button-black{width:100%}.latest-grid{grid-template-columns:1fr}.post-card{display:grid;grid-template-columns:135px 1fr;gap:15px}.post-card .post-thumb{aspect-ratio:1.35/1}.about-row{grid-template-columns:90px 1fr}.about-photo{width:82px;height:82px}.about-links{grid-column:1/-1;grid-template-columns:repeat(2,1fr);text-align:left}.footer-grid{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}.footer-bottom{display:block}.section-hero h1,.archive-title,.single-title,.page-title{font-size:40px}.section-nav ul{overflow:auto;gap:22px}.archive-grid{grid-template-columns:1fr}.article-shell{width:min(calc(100% - 28px),860px);padding-top:30px}.single-title{font-size:42px}.entry-content{font-size:18px}.about-page-grid{grid-template-columns:1fr;gap:28px}.about-page-photo{width:210px}.about-page-copy h1{font-size:40px}}
@media(max-width:520px){.hero h1{font-size:39px}.section-card{grid-template-columns:110px 1fr}.card-photo{height:110px}.latest .block-head a{display:none}.footer-grid{grid-template-columns:1fr}.footer-grid>div{grid-column:auto}.about-page-photo{width:170px}.about-page-copy h1{font-size:36px}}


/* Arenella v2.5 — pulsante Esplora nei riquadri gialli */
.section-card .text-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin-top: 18px;
  padding: 11px 20px;
  background: #ffd400;
  color: #111;
  border: 2px solid #ffd400;
  border-radius: 4px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, border-color .18s ease;
}
.section-card .text-link:hover,
.section-card .text-link:focus-visible {
  background: #111;
  border-color: #111;
  color: #fff;
  transform: translateY(-1px);
}
@media (max-width: 720px) {
  .section-card .text-link {
    padding: 10px 18px;
    margin-top: 14px;
  }
}

/* Arenella v2.6 — intestazione pulita */
.site-header::before,.header-inner::before,.brand::before,.brand-name::before{
  content:none!important;
  display:none!important;
}
