/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Ciclicamente â€” articolo singolo. Stili limitati al template .sp-single. */
/* Il font esiste giÃ  nel sito; il percorso resta valido anche cambiando dominio. */
@font-face {
  font-family: "SP PopFine";
  src: url("../../uploads/2026/08/POPFINE-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.sp-single {
  --sp-ink: var(--e-global-color-secondary, #2f3024);
  --sp-orange: var(--e-global-color-primary, #ce6f13);
  --sp-olive: var(--e-global-color-accent, #6c6436);
  --sp-line: rgba(47, 48, 36, .24);
  --sp-display: "SP PopFine", "PopFine", sans-serif;
  --sp-body: var(--e-global-typography-text-font-family, "Inter"), Arial, sans-serif;
  background: transparent;
  color: var(--sp-ink);
  font-family: var(--sp-body);
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(56px, 7vw, 100px) 0 clamp(60px, 8vw, 110px);
}
.sp-single, .sp-single * { box-sizing: border-box; }
.sp-single .sp-article { margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.sp-single .sp-shell { width: calc(100% - 64px); max-width: 1124px; margin-inline: auto; }
.sp-single .sp-article-header { max-width: 960px; margin-bottom: clamp(32px, 5vw, 64px); }
.sp-single .sp-article-title {
  display: block;
  color: var(--sp-ink);
  font-family: var(--sp-display);
  font-size: clamp(48px, 7vw, 96px);
  font-style: normal;
  font-weight: 400;
  line-height: .98;
  letter-spacing: -.015em;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  margin: 0;
  padding: 0;
}
.sp-single .sp-featured-image { margin-block: 0 clamp(36px, 5vw, 72px); background: transparent; }
.sp-single .sp-featured-image__media {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 20px 20px 80px 20px;
  box-shadow: none;
}
.sp-single figcaption { color: var(--sp-olive); font-size: 13px; line-height: 1.6; margin-top: 12px; }
.sp-single .sp-entry-content {
  max-width: 780px;
  color: var(--sp-ink);
  font-size: 17px;
  line-height: 1.8;
  background: transparent;
  overflow-wrap: anywhere;
  display: flow-root;
}
.sp-single .sp-entry-content > * { margin-top: 0; margin-bottom: 1.5em; }
.sp-single .sp-entry-content > :last-child { margin-bottom: 0; }
.sp-single .sp-entry-content :is(h1, h2, h3, h4, h5, h6) {
  color: var(--sp-ink);
  font-family: var(--sp-display);
  font-weight: 400;
  line-height: 1.08;
  text-transform: uppercase;
  text-wrap: balance;
  margin-top: 1.2em;
  margin-bottom: .5em;
}
.sp-single .sp-entry-content h1 { font-size: clamp(36px, 5vw, 60px); }
.sp-single .sp-entry-content h2 { font-size: clamp(32px, 4vw, 48px); }
.sp-single .sp-entry-content h3 { font-size: clamp(27px, 3vw, 36px); }
.sp-single .sp-entry-content :is(h4, h5, h6) { font-size: 25px; }
.sp-single .sp-entry-content > :first-child { margin-top: 0; }
.sp-single .sp-entry-content a:not(.wp-element-button):not(.wp-block-button__link) {
  color: var(--sp-olive);
  text-decoration: underline;
  text-underline-offset: .2em;
}
.sp-single .sp-entry-content a:hover { color: var(--sp-orange); }
.sp-single .sp-entry-content :is(ul, ol) { padding-inline-start: 1.4em; }
.sp-single .sp-entry-content li + li { margin-top: .4em; }
.sp-single .sp-entry-content blockquote {
  border: 0;
  border-inline-start: 3px solid var(--sp-orange);
  margin: 2em 0;
  padding: .2em 0 .2em clamp(16px, 3vw, 28px);
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.6;
  background: transparent;
}
.sp-single .sp-entry-content blockquote p:last-child { margin-bottom: 0; }
.sp-single .sp-entry-content :is(img, video) { max-width: 100%; height: auto; }
.sp-single .sp-entry-content iframe { max-width: 100%; }
.sp-single .sp-entry-content .wp-block-embed__wrapper iframe { width: 100%; }
.sp-single .sp-entry-content figure { max-width: 100%; }
.sp-single .sp-entry-content :is(.alignwide, .alignfull) { width: 100%; max-width: 100%; margin-inline: 0; }
.sp-single .sp-entry-content :is(.wp-block-table, pre) { max-width: 100%; overflow-x: auto; }
.sp-single .sp-entry-content pre { padding: 20px; white-space: pre; border: 1px solid var(--sp-line); }
.sp-single .sp-entry-content table { border-collapse: collapse; width: 100%; }
.sp-single .sp-entry-content :is(th, td) { border: 1px solid var(--sp-line); padding: 12px; text-align: start; }
.sp-single .sp-entry-content hr { border: 0; border-top: 1px solid var(--sp-line); margin-block: 2.5em; }
.sp-single .sp-entry-content :is(.wp-element-button, .wp-block-button__link) {
  color: #fff;
  background: var(--sp-olive);
  border-radius: 999px;
  padding: 14px 24px;
  text-decoration: none;
}
.sp-single .sp-entry-content :is(.wp-element-button, .wp-block-button__link):hover { background: var(--sp-orange); color: #fff; }
.sp-single .sp-page-links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 36px; }
.sp-single .sp-page-links > * { padding: 8px 12px; border: 1px solid var(--sp-line); }
.sp-single .sp-post-nav { margin-top: clamp(48px, 7vw, 96px); border-top: 1px solid var(--sp-line); padding-top: 28px; }
.sp-single .sp-post-nav__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 64px; }
.sp-single .sp-post-nav__item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding-block: 12px 28px;
  color: var(--sp-ink);
  text-decoration: none;
  transition: color 180ms ease;
}
.sp-single .sp-post-nav__item--next { grid-column: 2; text-align: right; }
.sp-single .sp-post-nav__label { color: var(--sp-olive); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; line-height: 1.6; }
.sp-single .sp-post-nav__title { font-family: var(--sp-display); font-weight: 400; font-size: clamp(26px, 3vw, 38px); line-height: 1.1; text-transform: uppercase; overflow-wrap: anywhere; }
.sp-single .sp-post-nav__item:hover { color: var(--sp-orange); }
.sp-single .sp-resources-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin: 20px auto 0;
  padding-block: 10px;
  border-bottom: 1px solid currentColor;
  color: var(--sp-olive);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
}
.sp-single .sp-resources-link:hover { color: var(--sp-orange); }
.sp-single :focus-visible { outline: 2px solid var(--sp-orange); outline-offset: 5px; }
@media (max-width: 767px) {
  .sp-single { padding-block: 44px 64px; }
  .sp-single .sp-shell { width: calc(100% - 40px); }
  .sp-single .sp-article-title { font-size: clamp(40px, 9vw, 64px); line-height: 1.02; }
  .sp-single .sp-featured-image__media { border-radius: 14px 14px 44px 14px; }
  .sp-single .sp-entry-content { font-size: 16px; line-height: 1.8; }
  .sp-single .sp-post-nav__grid { grid-template-columns: 1fr; gap: 20px; }
  .sp-single .sp-post-nav__item--next { grid-column: auto; text-align: left; }
  .sp-single .sp-post-nav__item + .sp-post-nav__item { border-top: 1px solid var(--sp-line); padding-top: 24px; }
  .sp-single .sp-entry-content :is(.alignleft, .alignright) { float: none; display: block; margin-inline: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sp-single .sp-post-nav__item { transition: none; }
}