/*
Theme Name: Eugene Pitch
Description: Tema leggero personalizzato per Eugene Pitch, con navigazione condivisa e layout responsive.
Version: 1.0.1
Author: Eugene Pitch
License: GPL-2.0-or-later
Text Domain: eugene-pitch
*/
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#f5f5f3;color:#101010;font:400 16px/1.7 'DM Sans',sans-serif}img{max-width:100%;height:auto}a{color:#76552f;text-underline-offset:4px}h1,h2,h3,h4{font-family:Anton,sans-serif;font-weight:400;line-height:1.15;text-transform:uppercase}button,input,textarea,select{font:inherit}iframe{max-width:100%}.screen-reader-text,.ep-skip{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.ep-skip:focus{position:fixed;top:10px;left:10px;width:auto;height:auto;clip-path:none;padding:12px;background:#fff;z-index:100000}#page-top{width:100%;overflow:clip}.ep-standard{max-width:1160px;margin:auto;padding:64px 32px 88px;min-height:50vh}.ep-standard>.entry-title{font-size:clamp(36px,6vw,62px);max-width:960px;margin:0 auto 56px;text-align:center}.ep-standard .entry-content>p,.ep-standard .entry-content>ul,.ep-standard .entry-content>ol{max-width:850px;margin-left:auto;margin-right:auto}.ep-standard .wp-block-heading{font-size:clamp(28px,4vw,46px);margin-top:1.2em}.ep-standard .wp-block-button__link,.ep-standard input[type=submit]{background:#c6a278;color:#101010;border:1px solid #b28b5c;border-radius:7px;padding:12px 24px;box-shadow:0 4px 0 #8a7154;font-weight:700;text-decoration:none}.ep-standard .wp-block-image{text-align:center}.ep-standard .wp-block-image img{border-radius:7px}.ep-standard input:not([type=checkbox]):not([type=radio]):not([type=submit]),.ep-standard textarea,.ep-standard select{max-width:100%;border:1px solid #999;border-radius:6px;padding:10px;background:white;color:#101010}.ep-standard .wp-block-columns{gap:32px}.ep-standard .entry-content{overflow-wrap:break-word}.ep-standard .wp-block-embed__wrapper iframe{display:block;max-width:100%;margin:auto}.ep-theme-footer{background:#101010;border-top:1px solid #c6a27840;color:#c2c2c2;padding:36px max(24px,calc((100vw - 1240px)/2));display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;font-size:14px}.ep-theme-footer a{color:#eee;text-decoration:none}.ep-theme-footer nav{display:flex;flex-wrap:wrap;gap:20px}.ep-theme-footer .ep-footer-brand{font-family:Anton,sans-serif;font-size:25px;color:#c6a278}.ep-post-summary{padding:36px 0;border-bottom:1px solid #ccc}.ep-post-summary h2{font-size:36px}.ep-empty{text-align:center;min-height:45vh;padding:80px 24px}.wp-caption{max-width:100%}.aligncenter{display:block;margin-left:auto;margin-right:auto}.alignleft{float:left;margin:0 24px 24px 0}.alignright{float:right;margin:0 0 24px 24px}
@media(max-width:700px){.ep-standard{padding:40px 20px 60px}.ep-standard>.entry-title{margin-bottom:36px}.ep-standard .wp-block-spacer{max-height:60px}.ep-theme-footer{align-items:flex-start;flex-direction:column}.alignleft,.alignright{float:none;margin:24px auto}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Archive and search results share one heading and compact article cards. */
.ep-archive{max-width:1240px;margin:auto;padding:64px 32px 88px;min-height:55vh}
.ep-archive-heading{margin:0 0 40px}.ep-archive-heading h1{font-size:clamp(38px,6vw,64px);margin:0;overflow-wrap:anywhere}
.ep-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:stretch}
.ep-archive .ep-post-summary{min-width:0;padding:0;border:1px solid #d5d2cc;border-radius:10px;background:#fff;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 5px 0 -2px #cbc7c0}
.ep-post-image{display:block;aspect-ratio:16/9;overflow:hidden;background:#e6e3dd}.ep-post-image img{display:block;width:100%;height:100%;object-fit:cover}
.ep-post-copy{padding:28px;display:flex;flex-direction:column;align-items:flex-start;flex:1;overflow-wrap:anywhere}
.ep-post-date{font-size:13px;color:#676059}.ep-archive .entry-title{font-size:clamp(26px,2.8vw,36px);margin:14px 0 20px}.ep-archive .entry-title a{color:#101010;text-decoration:none}.ep-archive .entry-title a:hover{color:#76552f}
.ep-post-copy .entry-content{font-size:16px;line-height:1.7;color:#505050}.ep-post-copy .entry-content p{margin:0 0 24px}
.ep-post-read{margin-top:auto;display:inline-flex;align-items:center;min-height:44px;color:#604523;font-weight:700}
.ep-archive .pagination{margin-top:44px}.ep-archive .nav-links{display:flex;justify-content:center;flex-wrap:wrap;gap:10px}.ep-archive .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:8px 14px;border:1px solid #b6a58d;border-radius:6px;text-decoration:none}.ep-archive .page-numbers.current{background:#101010;color:#fff;border-color:#101010}
@media(max-width:950px){.ep-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.ep-archive{padding:40px 20px 60px}.ep-archive-heading{margin-bottom:28px}.ep-archive-grid{grid-template-columns:1fr;gap:24px}.ep-post-copy{padding:24px}}
