/*
 Theme Name:   Manasu Child
 Theme URI:    https://wdtmanasu.wpengine.com
 Description:  Manasu Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     manasu
 Version:      1.0.0
 Text Domain:  manasu-child
*/

/* Layout archivio News */
body.category-news #primary.content-full-width{padding-top:70px;padding-bottom:80px}
body.category-news .tpl-blog-holder.apply-isotope{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px;height:auto!important;margin:0!important}
body.category-news .tpl-blog-holder .grid-sizer{display:none!important}
body.category-news .tpl-blog-holder .wdt-post-entry{position:relative!important;left:auto!important;top:auto!important;width:auto!important;transform:none!important;margin:0!important;padding:0!important;float:none!important}
body.category-news article.category-news.blog-entry{height:100%;display:flex;flex-direction:column;padding:30px;border:1px solid #dbe8f2;border-radius:18px;background:#fff;box-shadow:0 14px 36px rgba(19,69,122,.10);overflow:hidden;transition:transform .25s ease,box-shadow .25s ease}
body.category-news article.category-news.blog-entry:hover{transform:translateY(-5px);box-shadow:0 20px 44px rgba(19,69,122,.16)}
body.category-news article.category-news.blog-entry .entry-thumb:empty{display:none!important}
body.category-news article.category-news.blog-entry .entry-meta-group{margin:0 0 18px}
body.category-news article.category-news.blog-entry .entry-date{display:inline-flex;align-items:center;width:auto;padding:8px 13px;border-radius:999px;background:#e6f4ff;color:#13457a;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
body.category-news article.category-news.blog-entry .entry-date i{color:#2390eb;margin-right:7px}
body.category-news article.category-news.blog-entry .entry-title{margin:0 0 16px}
body.category-news article.category-news.blog-entry .entry-title h4{margin:0;font-family:Georgia,serif;font-size:25px;line-height:1.35}
body.category-news article.category-news.blog-entry .entry-title a{color:#13457a}
body.category-news article.category-news.blog-entry .entry-title a:hover{color:#2390eb}
body.category-news article.category-news.blog-entry .entry-body{color:#4b6981;font-size:16px;line-height:1.75}
body.category-news article.category-news.blog-entry .entry-body p{margin:0 0 22px}
body.category-news article.category-news.blog-entry .entry-button{margin-top:auto}
body.category-news article.category-news.blog-entry .entry-button .wdt-button{display:inline-flex;align-items:center;gap:9px;padding:12px 18px;border-radius:10px;background:#2390eb;color:#fff!important;font-size:0;font-weight:600}
body.category-news article.category-news.blog-entry .entry-button .wdt-button:before{content:'Leggi l’articolo';font-size:14px}
body.category-news article.category-news.blog-entry .entry-button .wdt-button span{display:inline-flex}
body.category-news article.category-news.blog-entry .entry-button .wdt-button svg{width:14px;height:14px;fill:#fff}
body.category-news .pagination{margin-top:46px}
body.category-news .pagination a,body.category-news .pagination .current{border-radius:8px!important}

/* Layout articoli appartenenti alla categoria News */
body.single-post article.category-news.blog-single-entry{max-width:1160px;margin:70px auto 80px;color:#365c7d}
body.single-post article.category-news.blog-single-entry .entry-thumb.single-preview-img{display:none!important}
body.single-post article.category-news.blog-single-entry .post-meta{max-width:1040px;margin:0 auto 18px}
body.single-post article.category-news.blog-single-entry .single-entry-date{display:inline-flex;padding:8px 14px;border-radius:999px;background:#e6f4ff;color:#13457a;font-size:13px;font-weight:600;letter-spacing:.04em;text-transform:uppercase}
body.single-post article.category-news.blog-single-entry .single-entry-body{max-width:1040px;margin:0 auto;padding:34px;border:1px solid #dbe8f2;border-radius:18px;background:#fff;box-shadow:0 16px 42px rgba(19,69,122,.11)}
body.single-post article.category-news.blog-single-entry .single-entry-body>.w3-custom-home,body.single-post article.category-news.blog-single-entry .single-entry-body>.w3-threequarter{width:100%!important;float:none!important;margin:0!important}
body.single-post article.category-news.blog-single-entry .single-entry-body img{display:block;width:auto;max-width:100%;max-height:720px;margin:0 auto 30px;padding:10px;border-radius:15px;background:#f4f9fd;box-shadow:0 10px 28px rgba(19,69,122,.10);object-fit:contain}
body.single-post article.category-news.blog-single-entry .single-entry-body p{margin:0 0 18px;color:#365c7d;font-size:17px;line-height:1.85}
body.single-post article.category-news.blog-single-entry .single-entry-body a{color:#2390eb}
body.single-post article.category-news.blog-single-entry .single-entry-body ul,body.single-post article.category-news.blog-single-entry .single-entry-body ol{margin:18px 0;padding:20px 24px 20px 44px;border-left:4px solid #2390eb;border-radius:0 12px 12px 0;background:#edf7ff;color:#365c7d}
body.single-post article.category-news.blog-single-entry .entry-post-navigation{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;max-width:1040px;margin:34px auto 0;padding:0;border:0}
body.single-post article.category-news.blog-single-entry .entry-post-navigation>div{padding:22px;border:1px solid #dbe8f2;border-radius:14px;background:#f4f9fd}
body.single-post article.category-news.blog-single-entry .entry-post-navigation p{margin:0 0 8px;color:#2390eb;font-size:13px;font-weight:600;text-transform:uppercase}
body.single-post article.category-news.blog-single-entry .entry-post-navigation h3{margin:0;font-family:Georgia,serif;font-size:19px;line-height:1.4}
body.single-post article.category-news.blog-single-entry .entry-post-navigation h3 a{color:#13457a}
body.single-post article.category-news.blog-single-entry .entry-post-navigation h3 a:hover{color:#2390eb}

@media(max-width:900px){body.category-news .tpl-blog-holder.apply-isotope{grid-template-columns:1fr}body.single-post article.category-news.blog-single-entry{margin-top:45px}body.single-post article.category-news.blog-single-entry .single-entry-body{padding:26px}}
@media(max-width:620px){body.category-news #primary.content-full-width{padding-top:45px}body.category-news article.category-news.blog-entry{padding:23px;border-radius:14px}body.category-news article.category-news.blog-entry .entry-title h4{font-size:22px}body.single-post article.category-news.blog-single-entry{margin-top:30px}body.single-post article.category-news.blog-single-entry .single-entry-body{padding:20px;border-radius:14px}body.single-post article.category-news.blog-single-entry .single-entry-body p{font-size:16px}body.single-post article.category-news.blog-single-entry .entry-post-navigation{grid-template-columns:1fr}}

/* Compattazione intestazione articoli News */
body.single-post:has(article.category-news.blog-single-entry) .main-title-section h1{font-size:clamp(23px,1.65vw,28px)!important;line-height:1.22!important;width:100%!important;max-width:1300px!important;margin-bottom:10px!important}
body.single-post:has(article.category-news.blog-single-entry) .main-title-section-container{padding-top:50px!important;padding-bottom:8px!important}
body.single-post:has(article.category-news.blog-single-entry) #header-wrapper{margin-bottom:8px!important}
body.single-post article.category-news.blog-single-entry .single-entry-date{padding:4px 9px!important;font-size:11px!important;line-height:1.2!important}
body.single-post article.category-news.blog-single-entry .post-meta{margin-bottom:10px!important}

/* Marcellus self-hosted locally — privacy hardening 2026-09-14. */
@font-face {
    font-family: 'Marcellus';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/wp-content/uploads/2026/09/marcellus-latin-ext-v14.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: 'Marcellus';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('/wp-content/uploads/2026/09/marcellus-latin-v14.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Global textual typography: Marcellus. Icon fonts are intentionally preserved. */
html,
body,
body :where(
    h1, h2, h3, h4, h5, h6,
    p, a, li, dt, dd,
    blockquote, figcaption, caption,
    label, legend,
    input, textarea, select, option, button,
    table, thead, tbody, tfoot, tr, th, td,
    address, time, small, strong, em, b, mark, code, pre
),
body .elementor-icon-list-text,
body .subrani-word-document,
body .subrani-word-document *,
body main span:not([class*='icon']):not([class*='Icon']):not([class^='fa']):not([class*=' fa']):not(.fas):not(.far):not(.fab):not([class^='eicon']):not([class*=' eicon']),
body footer div {
    font-family: 'Marcellus', serif !important;
}

/* Keep the CookieYes revisit control permanently available. */
body .cky-btn-revisit-wrapper,
body .cky-btn-revisit-wrapper.cky-revisit-hide {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    z-index: 2147483647 !important;
}
