@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700&family=Chakra+Petch:wght@500;600;700&display=swap');
/* Avada pages (blog, articoli, vecchie pagine) with the header and footer of the React site. Loaded by inc/tm-site-chrome.php. */

/* Avada's header and footer are hidden only when the new ones are in the page. */
body.tm-site-chrome:has(#tm-site-header) .fusion-header-wrapper,
body.tm-site-chrome:has(#tm-site-header) .fusion-tb-header,
body.tm-site-chrome:has(#tm-site-header) #side-header,
body.tm-site-chrome:has(#tm-site-header) .fusion-sliding-bar-wrapper,
body.tm-site-chrome:has(#tm-site-footer) .fusion-footer,
body.tm-site-chrome:has(#tm-site-footer) .fusion-tb-footer{display:none!important}

body.tm-site-chrome{background:#efeeee!important}
body.tm-blog-archive-page{margin:0!important}
body.tm-site-chrome #boxed-wrapper,body.tm-site-chrome #wrapper,body.tm-site-chrome #main{background-color:#efeeee!important}

/* The React header is fixed: this keeps the page content below it. */
.tm-chrome-header{height:80px}
.tm-chrome-header .nav{z-index:10000}
.admin-bar .tm-chrome-header .nav{top:32px}
@media(max-width:860px){.tm-chrome-header{height:68px}}
@media(max-width:782px){.admin-bar .tm-chrome-header .nav{top:46px}}

/* Avada title bar, in the colours of the new site */
body.tm-site-chrome .fusion-page-title-bar{background:#e7e6e6!important;border:0!important}
body.tm-site-chrome .fusion-page-title-bar h1{color:#231f20!important;font-family:Barlow,sans-serif!important;font-weight:800!important;letter-spacing:-.04em!important}
body.tm-site-chrome .fusion-page-title-bar .fusion-breadcrumbs,body.tm-site-chrome .fusion-page-title-bar .fusion-breadcrumbs a{color:#64615f!important;font-family:Barlow,sans-serif!important;font-size:11px!important;letter-spacing:.08em}

/* Blog list (tm-blog-archive.php) */
.tm-blog{min-height:60vh;background:#efeeee;color:#231f20}
.tm-blog a{color:inherit;text-decoration:none}
.tm-blog-hero{padding:clamp(70px,9vw,130px) clamp(24px,8vw,130px) clamp(46px,5vw,70px);background:#e7e6e6}
.tm-blog-hero h1{max-width:980px;margin:0;color:#231f20;font-size:clamp(46px,6.1vw,96px);font-weight:800;letter-spacing:-.085em;line-height:.91}
.tm-blog-hero h1 em,.tm-blog-contact h2 em{color:#656260;font-family:'Chakra Petch',sans-serif;font-weight:500}
.tm-blog-intro{max-width:640px;margin:30px 0 0;color:#64615f;font-size:16px;line-height:1.78}
.tm-blog-filters{display:flex;flex-wrap:wrap;gap:10px;margin-top:38px}
.tm-blog-filters a{padding:9px 16px;border:1px solid rgba(35,31,32,.18);border-radius:999px;font-size:12px;font-weight:800;transition:background .3s,color .3s,border-color .3s}
.tm-blog-filters a:hover,.tm-blog-filters a:focus-visible{border-color:#f47216;color:#f47216}
.tm-blog-filters a[aria-current]{border-color:#231f20;background:#231f20;color:#fff}
.tm-blog-list{padding:clamp(46px,6vw,90px) clamp(24px,8vw,130px)}
.tm-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.4vw,34px)}
.tm-blog-card{min-width:0}
.tm-blog-card-link{display:flex;flex-direction:column;height:100%;overflow:hidden;border:1px solid rgba(35,31,32,.09);border-radius:22px;background:#f6f5f5;box-shadow:0 18px 44px rgba(35,31,32,.06);transition:transform .45s cubic-bezier(.22,.61,.36,1),box-shadow .45s}
.tm-blog-card-link:hover,.tm-blog-card-link:focus-visible{transform:translateY(-5px);box-shadow:0 26px 60px rgba(35,31,32,.12)}
.tm-blog-card-media{position:relative;aspect-ratio:16/10;overflow:hidden;background:#302f2e}
.tm-blog-card-media img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .8s cubic-bezier(.22,.61,.36,1)}
.tm-blog-card-link:hover .tm-blog-card-media img{transform:scale(1.04)}
.tm-blog-card-mark{position:absolute;inset:0;display:grid;place-items:center;color:rgba(255,255,255,.85);font-size:42px;font-weight:800;letter-spacing:-.1em}
.tm-blog-card-body{display:flex;flex:1;flex-direction:column;padding:26px 26px 28px}
.tm-blog-card-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:0 0 14px;color:#8b8683;font:500 10px/1.3 Barlow,sans-serif;letter-spacing:.12em;text-transform:uppercase}
.tm-blog-card-meta span{color:#dd7226}
.tm-blog-card h2{margin:0;color:#231f20;font-size:clamp(20px,1.6vw,24px);font-weight:800;letter-spacing:-.045em;line-height:1.12}
.tm-blog-card-excerpt{margin:14px 0 22px;color:#64615f;font-size:14.5px;line-height:1.7}
.tm-blog-card-more{margin-top:auto;font-size:13px;font-weight:800}
.tm-blog-card-more b{margin-left:8px;color:#dd7226;font-size:16px}
.tm-blog-card-featured{grid-column:1/-1}
.tm-blog-card-featured .tm-blog-card-link{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.tm-blog-card-featured .tm-blog-card-media{aspect-ratio:auto;min-height:340px}
.tm-blog-card-featured .tm-blog-card-body{justify-content:center;padding:clamp(30px,4vw,60px)}
.tm-blog-card-featured h2{font-size:clamp(28px,3vw,44px);letter-spacing:-.06em;line-height:1.02}
.tm-blog-card-featured .tm-blog-card-excerpt{font-size:16px}
.tm-blog-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:52px;font-size:13px;font-weight:800}
.tm-blog-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;padding:0 14px;border:1px solid rgba(35,31,32,.16);border-radius:999px}
.tm-blog-pagination .page-numbers.current{border-color:#231f20;background:#231f20;color:#fff}
.tm-blog-pagination a.page-numbers:hover{border-color:#f47216;color:#f47216}
.tm-blog-empty{color:#64615f;font-size:16px}
.tm-blog-empty a{color:#f47216;font-weight:800}
.tm-blog-contact{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:34px;margin:0 clamp(24px,8vw,130px) clamp(60px,8vw,110px);padding:clamp(34px,5vw,64px);border-radius:28px;background:#e7e6e6}
.tm-blog-contact>div:first-child{max-width:620px}
.tm-blog-contact h2{margin:0;color:#231f20;font-size:clamp(34px,4vw,58px);font-weight:800;letter-spacing:-.075em;line-height:.98}
.tm-blog-contact p:not(.eyebrow){margin:20px 0 0;color:#64615f;font-size:16px;line-height:1.78}
.tm-blog-contact-actions{display:flex;flex-wrap:wrap;align-items:center;gap:28px}
@media(max-width:1020px){.tm-blog-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){
  .tm-blog-grid{grid-template-columns:1fr}
  .tm-blog-card-featured .tm-blog-card-link{display:flex}
  .tm-blog-card-featured .tm-blog-card-media{aspect-ratio:16/10;min-height:0}
  .tm-blog-card-featured .tm-blog-card-body{padding:26px 26px 28px}
}

/* Box at the end of each article */
.tm-article-cta{max-width:900px;margin:64px auto 40px;padding:clamp(30px,5vw,54px);border-radius:28px;background:#231f20;color:#efeeee;font-family:Barlow,sans-serif}
.tm-article-cta p{margin:0}
.tm-article-cta .tm-article-cta-eyebrow{color:#f3a269;font:500 10px/1.2 Barlow,sans-serif;letter-spacing:.15em;text-transform:uppercase}
.tm-article-cta .tm-article-cta-title{margin-top:18px;color:#fff;font-size:clamp(30px,3.6vw,48px);font-weight:800;letter-spacing:-.07em;line-height:1}
.tm-article-cta .tm-article-cta-title em{color:#c1bfbe;font-family:'Chakra Petch',sans-serif;font-weight:500}
.tm-article-cta .tm-article-cta-text{max-width:560px;margin-top:18px;color:#ccc9c8;font-size:16px;line-height:1.7}
.tm-article-cta .tm-article-cta-actions{display:flex;flex-wrap:wrap;align-items:center;gap:26px;margin-top:30px}
.tm-article-cta a{text-decoration:none!important}
.tm-article-cta .tm-article-cta-button{display:inline-flex;align-items:center;min-height:51px;padding:0 23px;border-radius:999px;background:#f47216;color:#fff!important;font-size:13px;font-weight:800;box-shadow:0 13px 26px rgba(204,95,18,.25);transition:transform .45s}
.tm-article-cta .tm-article-cta-button:hover{transform:translateY(-3px)}
.tm-article-cta .tm-article-cta-link{color:#fff!important;font-size:13px;font-weight:800}
.tm-article-cta .tm-article-cta-link b{margin-left:8px;color:#f3a269}
.tm-article-cta .tm-article-cta-back{margin-top:34px;padding-top:22px;border-top:1px solid rgba(239,238,238,.14)}
.tm-article-cta .tm-article-cta-back a{color:#dbdad9!important;font:500 11px Barlow,sans-serif;letter-spacing:.1em;text-transform:uppercase}
.tm-article-cta .tm-article-cta-back a:hover{color:#f3a269!important}
.tm-article-cta .tm-article-cta-tool{margin-top:22px}
.tm-article-cta .tm-article-cta-tool a{color:#f3a269!important;font-size:14px;font-weight:700;border-bottom:1px solid rgba(243,162,105,.4)}
.tm-article-cta .tm-article-cta-tool a:hover{border-bottom-color:#f3a269}
