/*
Theme Name:Thriller Café
Author:Thriller Café (https://www.thrillercafe.it)
Description:Theme for ThrillerCafe.it
Version:1.0
*/

/* ========================================
Variabili / Palette
======================================== */

/* Breakpoints
xs: 0
sm: 576px
md: 768px
lg: 992px
xl: 1200px
xxl: 1400px
*/

:root{
--paper:#fff;
--ink:#000;
--brand-red:#9D1C20;
--brand-maroon:#580306;
--brand-green:#3CAC68;
--gray-300:#C0BCBC;
--bullet-w:24px;
--bullet-h:24px;
--bullet-gap:10px;
--bullet-url:url('../thrillercafe/img/bullet.png');
}

/* ========================================
Base / Typography / Links / Buttons
======================================== */
*,
*::before,*::after{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:var(--paper);font-family:'Nunito',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink)}
header,main,footer{max-width:1920px;margin:auto}
header{background:#000}
footer{background:var(--brand-maroon)}
h1,h2,h3,h4,h5,h6{color:var(--ink);text-align:justify;letter-spacing:-1px;}
h1,h2{font-family:'Platypi';font-weight:700}
h3,h4,h5,h6{font-family:'Platypi';font-weight:600}
h1{font-size:60px;line-height:72px;}
h2{font-size:45px;line-height:50px;}
h3{font-size:35px;line-height:40px;}
h4{font-size:25px;line-height:30px;}
h5{font-size:20px;line-height:35px;}
h6{font-size:15px;line-height:20px;}
p, li{font-family:'Nunito';font-weight:500;font-size:20px;line-height:25px;text-align:justify;color:#0D0D0D;}
.wp-block-quote p{font-family:'Space Mono';font-style:oblique;}
.wp-block-quote p em{font-style:normal;}
.catchy{font-family:'Space Mono';font-weight:700;font-size:24px;line-height:32px;letter-spacing:3px;text-align:justify}
.catchy-banner{font-size:20px;line-height:20px;letter-spacing:1px;display:block;padding:15px;color:#FFF7F7;text-align:center}
label{font-family:'Nunito';font-weight:400;font-size:12px;line-height:18px;text-align:justify}
ul{list-style:none;margin:5px 0;padding-left:0;}
li{position:relative;padding-left:calc(var(--bullet-w) + var(--bullet-gap));}
ul > li::before{content:"";position:absolute;left:0;top:50%;transform:translateY(-50%);width:var(--bullet-w);height:var(--bullet-h);background:var(--bullet-url) no-repeat 0 50% / contain;}
ul ul > li{--bullet-w:14px;--bullet-h:6px;padding-left:calc(var(--bullet-w) + var(--bullet-gap));}
a{color:var(--brand-red);text-decoration:underline}
a:hover{color:#580306;text-decoration:underline}
button{background:var(--brand-red)!important;border:1px solid var(--brand-red)!important;border-radius:8px!important;padding:10px 16px!important;color:#FFF7F7!important}
button:focus{outline:0}
button.white{background:#fff;border:1px solid var(--gray-300);color:#000}
button.green{background:#3CAC68;border:1px solid #3CAC68;color:#FFF7F7}
.btn{display:inline-block;padding:10px 16px;border-radius:8px;text-decoration:none;font-weight:600}
.btn-primary{background:var(--brand-red)!important;border:1px solid var(--brand-red)!important;color:#FFF7F7}
.btn-primary-green{background:var(--brand-green)!important;border:1px solid var(--brand-green)!important;color:#FFF7F7}
.btn-primary:hover{background:#580306!important;border-color:#580306!important}
a.btn:hover{text-decoration:none!important}
/* Background helpers */
.bg-primary{background:#FFF}
.bg-secondary{background:#000}
.bg-tertiary{background:#FFF7F7}

/* ========================================
Layout / Grid / Utilities
======================================== */
.wrapper{max-width:1600px;background-color:#fff;border-radius:10px;padding:35px 55px;margin:35px auto;display:block}
.container{max-width:1920px;margin-inline:auto;background-color:#000;padding:15px}
.row{display:flex;flex-wrap:wrap}
.flex{display:flex}
.center{display:flex;justify-content:center;align-items:center}
.left, .alignleft {float:left!important;margin-right:20px!important}
.right, .alignright{float:right!important;margin-left:20px!important}
.flex-bottom-left, .flex-bottom-right{display:flex;flex-direction:row;align-items:flex-end}
.flex-bottom-right{justify-content:flex-end}


/* Social */
.social{font-size:20px}
.social-right{padding-right:20px}
.social>a{color:#fff!important}
.social>a:hover{color:var(--brand-red)!important}

/* ========================================
Header / Navbar
======================================== */

.header-main{width:100%;padding-inline:0!important;background:#000;color:#fff}
.header-wrapper{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;max-width:1600px;margin:auto;background:#000}
.logo-bar{min-height:150px;margin:25px 45px;padding:clamp(8px,1vw,20px)}
.navbar-border{border-top:.5px solid var(--gray-300);border-bottom:.5px solid var(--gray-300);min-height:60px;display:flex;align-items:center;margin:0 25px;max-width:1600px;padding:10px 0}
.navbar{position:relative;width:100%}
.nav-toggle{display:none} /* visibile da 1024px in giù */
.nav-toggle__label{font-family:'Space Mono';font-weight:700}
/* Menu base */
.navbar .menu{list-style:none;margin:0;padding:0;display:flex;gap:clamp(12px,1vw,28px);align-items:center}
.navbar .menu>li{position:relative}
.navbar a{color:#fff;font-family:'Space Mono',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;font-size:14px;line-height:20px;font-weight:700;text-decoration:none;padding:8px 12px;border-radius:4px}
.navbar a:hover,.navbar a:focus-visible{background:var(--brand-red);outline:none}
.navbar .current-menu-item>a,.navbar .current_page_item>a{background:var(--brand-red)}
.navbar a:active{transform:translateY(1px)}
/* ========================================
Submenu (Desktop)
======================================== */
#primary-menu li{position:relative;padding-left: calc(var(--bullet-gap));}
#primary-menu li::before{background:none}
#primary-menu li>ul,#primary-menu li>.sub-menu{display:none;list-style:none;margin:0;padding:0}
#primary-menu li.is-open>ul,#primary-menu li.is-open>.sub-menu{display:block}
.submenu-toggle{background:transparent;border:0;color:#fff;padding:6px 8px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}
.submenu-toggle:focus-visible{outline:2px solid var(--brand-red);outline-offset:2px}
.is-open>.submenu-toggle .bi{transform:rotate(180deg);transition:transform .2s ease}
#primary-menu>li.has-children>a{padding-right:35px}
#primary-menu>li.has-children>.submenu-toggle{position:absolute;right:0;top:60%;transform:translateY(-50%)}
#primary-menu>li>button{background:transparent!important;padding:10px!important;border:0!important}
/* Dropdown desktop */
#primary-menu>li>ul,#primary-menu>li>.sub-menu{position:absolute;top:100%;left:0;min-width:220px;background:var(--brand-red);border:1px solid var(--brand-red);z-index:1100;padding:8px 0;border-radius:10px}
#primary-menu>li>ul>li::before{background:none}
#primary-menu>li>ul>li>a,#primary-menu>li>.sub-menu>li>a{display:block;padding:10px 16px;border-radius:0}

/* ========================================
Search (header)
======================================== */
.site-search .search{position:relative;width:100%}
.search-input{width:100%;padding:10px 40px 10px 12px;border-radius:8px;border:1px solid var(--gray-300);background:transparent!important;color:var(--gray-300);caret-color:var(--gray-300)}
.search-input::placeholder{color:var(--gray-300)}
.search-input:focus::placeholder, .search-input:focus::-webkit-input-placeholder{color:transparent}
.search-input::-webkit-input-placeholder{color:var(--gray-300)}
.form-control:focus{border:0!important;color:#fff!important}
.search-submit{position:absolute;right:8px;top:50%;transform:translateY(-50%);background:transparent!important;border:0!important;color:#fff;cursor:pointer;width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center}
.search-submit:hover{color:var(--brand-red)}
.search-toggle{display:none;background:transparent!important;border:1px solid var(--gray-300);color:#fff;padding:8px 12px;border-radius:8px;margin-left:8px}
.search-input:focus,.search-submit:focus-visible,.search-toggle:focus-visible{outline:1px solid var(--gray-300);outline-offset:1px}

/* Clear "X" personalizzata */
:root{--search-clear:var(--brand-red)}
.search-input::-webkit-search-cancel-button{-webkit-appearance:none;appearance:none;height:18px;width:18px;margin-right:6px;cursor:pointer;background-color:var(--search-clear);-webkit-mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.3 5.7a1 1 0 0 0-1.4 0L12 10.6 7.1 5.7A1 1 0 1 0 5.7 7.1L10.6 12l-4.9 4.9a1 1 0 1 0 1.4 1.4L12 13.4l4.9 4.9a1 1 0 0 0 1.4-1.4L13.4 12l4.9-4.9a1 1 0 0 0 0-1.4z'/></svg>") no-repeat center/100% 100%;mask:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M18.3 5.7a1 1 0 0 0-1.4 0L12 10.6 7.1 5.7A1 1 0 1 0 5.7 7.1L10.6 12l-4.9 4.9a1 1 0 1 0 1.4 1.4L12 13.4l4.9 4.9a1 1 0 0 0 1.4-1.4L13.4 12l4.9-4.9a1 1 0 0 0 0-1.4z'/></svg>") no-repeat center/100% 100%;}
.search-input:hover::-webkit-search-cancel-button,
.search-input:focus::-webkit-search-cancel-button{background-color:#fff}

/* ========================================
Banner / Media
======================================== */
.banner-header{width:100%;padding-inline:0!important;background:#000;max-width:1600px;max-height:375px}
.banner-footer{width:100%;padding-inline:clamp(40px,0vw,160px);background:var(--brand-maroon);display:flex;justify-content:center;padding-bottom:75px}
.fluid,.banner-header img,.banner-footer img{display:block;width:100%;height:auto;max-width:1600px;max-height:375px}

/* ========================================
Footer
======================================== */
.footer-wrapper{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;margin:auto;padding:50px 160px}
#footer-newsletter{width:100%;padding-bottom:45px}
#footer-newsletter .newsletter-title{font-family:'Platypi';font-weight:700;font-size:45px;line-height:50px;letter-spacing:-1px;color:#fff}
#footer-newsletter .newsletter-claim{font-family:'Nunito';font-weight:500;font-size:18px;line-height:25px;color:#fff;display:flex;flex-wrap:wrap}
#footer-newsletter .col-xs-12,
#footer-newsletter .footer-logo,
#footer-newsletter .footer-newsletter-title,
#footer-newsletter .footer-newsletter-claim,
#footer-newsletter .footer-newsletter-form{max-width:100%;justify-content:center}
.footer-newsletter-form{margin-left:auto;display:flex;flex-direction:column;align-items:flex-end;text-align:right;float:none}
.footer-newsletter-form .mx-auto{margin-left:auto!important;margin-right:0!important}
.footer-newsletter-form [data-supascribe-subscribe],
.footer-newsletter-form .custom-substack-widget{width:100%;max-width:680px;margin-left:auto}
.custom-substack-widget input{height:46px!important}
.footer-newsletter-form .custom-substack-widget input[type="email"]{width:100%;border:1px solid transparent}
.footer-newsletter-form .custom-substack-widget.csw-layout-row .csw-container{display:flex;align-items:center;gap:4px;flex-wrap:nowrap!important;width: 100%;}
.footer-newsletter-form .custom-substack-widget .flex-wrap{flex-wrap:nowrap!important}
.footer-newsletter-form .custom-substack-widget.csw-layout-row .csw-container>:first-child{flex:1 1 auto;min-width:0}
.footer-newsletter-form .custom-substack-widget.csw-layout-row .csw-container>:last-child{flex:0 0 auto}
.footer-newsletter-form .custom-substack-widget button{width:auto!important;white-space:nowrap}
.footer-newsletter-form form{display:flex;gap:4px;max-width:680px;margin-left:auto}
.footer-newsletter-form form input[type="email"]{flex:1 1 auto;min-width:0}
.footer-newsletter-form form button{flex:0 0 auto;white-space:nowrap}
.footer-newsletter-legal{max-width:520px;margin-top:8px;margin-left:auto;text-align:right;color:#fff;font-size:12px;font-family:'Nunito';}
.footer-newsletter-legal a{color:#fff;text-decoration:underline;font-weight:bold;}
.footer-menu-wrapper{width:100%;display:flex;justify-content:left;margin:0!important}
.footer-menu-title{font-family:'Nunito';font-weight:700;font-size:25px;line-height:27px;letter-spacing:-1px;color:#fff;padding:20px 0px}
.footer-menu-list{display:flex;flex-direction:row;align-content:center;justify-content:flex-start;align-items:flex-start;flex-wrap:wrap;padding:0px!important}
.footer-menu-list ul li{list-style:none;padding:0!important}
.footer-menu-list ul li::before{background:none;width:0}
.footer-menu-list ul li a{font-family:'Space Mono';font-weight:700;font-size:14px;line-height:20px;color:#fff;text-decoration:underline}
.subfooter{background:#000;color:#fff;font-size:12px;line-height:18px;padding:42px 160px;text-align:left;font-family:'Nunito';}

/* Substack widget tweaks */
.custom-substack-widget{max-width:500px!important}
.custom-substack-widget button{background:var(--brand-red)!important;border:1px solid #fff!important;font-family:'Nunito'!important;font-weight:600!important;font-size:16px!important;line-height:24px!important;width:125px!important;margin-left:1px!important}
.custom-substack-widget input{color:#5B5151!important;font-size:14px!important;font-weight:500!important;line-height:20px!important;border-radius:10px}

/* ========================================
Homepage
======================================== */
.home-bg{background-color:#000}
.home-intro{background:url('./img/home-bg.jpg');height:750px;padding:105px 0;display:flex;flex-direction:column;flex-wrap: nowrap;justify-content: center;}
.home-logo{text-align: center;display:block;margin:0 auto;max-width:420px}
.home-intro-catchy{color:#9D1C20;text-align: center;padding: 50px 150px;}
.home-intro-btn{text-align: center;display:block;margin:0 auto}
.books-loop-wrapper, .books-carousel-home-wrapper{padding:35px 0}
.books-loop-wrapper-title, .books-loop-wrapper-title h2, .books-loop-wrapper-title p, .books-carousel-home-wrapper-title, .books-carousel-home-wrapper-title h2, .books-carousel-home-wrapper-title p {text-align:center}
.books-loop-wrapper-title h2, .books-carousel-home-wrapper-title h2{color:#fff}
.books-loop-wrapper h3{font-size: 25px;line-height: 30px;text-align:left;}
.books-loop-wrapper h3 a{margin-bottom: 20px;color: #FCFCFC;text-decoration: none;}
.books-loop-wrapper-title p, .books-carousel-home-wrapper-title p {font-family:'Space Mono';font-weight:700;font-size:24px;line-height:32px;letter-spacing:1px;padding:28px 0;color:#fff}
.books-carousel-home-wrapper-title p{color:#9D1C20!important}
.books-carousel-home-wrapper-title p.catchy-w{color:#fff!important}
.books-carousel-home-wrapper .bg-secondary{background:#000!important;padding:0 150px}
.books-carousel-home-wrapper .carousel-home-card {flex:0 1 calc((100% - 3 *var(--gap)) / 4)!important;flex-direction:column}
.books-loop-wrapper .bg-secondary{background:#000!important;}
.books-loop-wrapper .sponsored{flex: 0 1 calc((66.67% - 0.5 *var(--gap)) / 1)!important;background: linear-gradient(200.87deg, #5B5151 30.99%, #000 90.21%);border: 1px solid #C0BCBC}
.books-loop-wrapper .sponsored-sx{flex: 0 0 auto;width: 25%!important;}
.books-loop-wrapper .cat-btn {background:#fff;color:#000;text-decoration:none;border:#000 0.5px solid;border-radius: 10px;opacity: 1;padding-top: 2px;padding-right: 5px;padding-bottom: 2px;padding-left: 5px;font-family: Nunito;font-weight: 400;font-size: 12px;line-height: 18px;}
.home-news{background:radial-gradient(40.96% 31.24% at 46.87% 42.3%, #414529 0%, #000000 100%)}
.books-carousel-home-wrapper .home-news{background:radial-gradient(40.96% 31.24% at 46.87% 42.3%, #414529 0%, #000000 100%)!important}
.books-carousel h3{text-align:left;}
.card-news{background:#fff!important;border: 1px solid #000!important}
.card-news p, .card-news a{color:#000!important}
.post-image-container {width: 100%;padding-bottom:100%;position: relative;}
.books-carousel-card img {aspect-ratio: 1 / 1.43}
.books-loop-wrapper .books-carousel-card img{width: 100%;display: block;position: absolute; top: auto; left: auto;object-fit: fill;aspect-ratio: 1 / 1.43}
.books-loop-wrapper .banner{display: flex;align-content: center;flex-direction: row;justify-content: center;align-items: center;background:linear-gradient(200.87deg, #ffc107 30.99%, #ffffff 90.21%);border:solid 1px #ffc107}
.books-loop-wrapper .banner img{aspect-ratio:auto}
.books-carousel-card .banner img{width:100%;display:block;height:auto;object-fit:none;position:relative;}
.post-banner-container{width: 100%;padding-bottom: 0%;position: relative;}

/* ========================================
Single post
======================================== */
.single_post{}
.sponsored-post{display:block;width:100%;margin-bottom:20px;}
.sponsored-claim{color:#9D1C20;font-size:20px;letter-spacing:2px}
.sponsored-claim a{color:#000}
.book-cover{display:flex;gap:clamp(16px, 2vw, 24px);align-items:flex-start;padding-bottom:35px}
.book-cover .cover{flex:0 0 clamp(220px, 28vw, 400px);margin:0;float:none;}
.book-cover .cover img{display:block;width:100%;height:auto;}
.book-cover .details{flex:1 1 0;min-width:0;display:flex;flex-direction:column;gap:14px;}
.book-cover .details h1{margin:0 0 6px;text-align:left;}
.book-cover .series a{font-family:'Nunito';font-weight:500;font-size:20px;line-height:25px;}
.book-cover .series .catchy{padding-right:10px;}
.book-cover .author{display:flex;align-items:flex-start;gap:16px;padding:12px 0;}
.book-cover .author .author-info{}
.book-cover .author .author-img img{flex:0 0 66px;width:66px;height:66px;border-radius:50%;object-fit:cover;margin:0;}
.book-cover .author .protocol{font-family:'Nunito';font-weight:500;font-size:16px;line-height:24px;color:#0D0D0D;}
.book-cover .author .count{font-family:'Nunito';font-weight:400;font-size:12px;line-height:18px;color:#0D0D0D;opacity:.4;}
.book-cover .archives .cat-tag{font-family:'Space Mono';font-weight:700;font-size:14px;line-height:20px;color:#0D0D0D;}
.book-cover .author a, .book-cover .archives a{font-family:'Space Mono';font-weight:700;font-size:14px;line-height:20px;text-decoration:underline;}
.book-cover .amazon{padding:12px 0;}
.book-cover .audio{font-family:'Space Mono';font-weight:700;font-size:20px;line-height:25px;display:flex;flex-direction:row;gap:8px;    align-items: center;align-content: center;justify-content: flex-start;
}
.book-cover .audio .audio-claim{padding-bottom:10px;}
.book-cover .audio .wp-block-audio{margin:0;}
.book-cover .audio audio{width:100%;max-width:100%;min-width: 300px;}
.rating{--rating:0;--star-size:16px;--star-gap:0px;--star-empty:#D7D7D7;--star-fill:#FFC107;--percent:calc(var(--rating)/5*100%);position:relative;display:inline-block;width:calc(var(--star-size) * 5 + var(--star-gap) * 4);height:var(--star-size);background:var(--star-empty);-webkit-mask:url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 51 48'>\<path d='M25 1 L32 18 H50 L36 29 L41 46 L25 36 L9 46 L14 29 L0 18 H18 Z'/>\</svg>") left center / var(--star-size) var(--star-size) repeat-x;mask:url("data:image/svg+xml;utf8,\<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 51 48'>\<path d='M25 1 L32 18 H50 L36 29 L41 46 L25 36 L9 46 L14 29 L0 18 H18 Z'/>\</svg>") left center / var(--star-size) var(--star-size) repeat-x;-webkit-mask-composite:source-over;}
.rating::before{content:"";position:absolute;inset:0;width:var(--percent);background:var(--star-fill);-webkit-mask:inherit;mask:inherit;}
.rating.sm{--star-size:16px;}
.rating.lg{--star-size:28px;}
.related{margin-bottom:50px}



/* ========================================
Books Carousel
======================================== */
.books-carousel-wrapper{padding:35px 0}
.books-carousel-wrapper-title, .books-carousel-wrapper-title h2, .books-carousel-wrapper-title h3{text-align:center}
.books-carousel-wrapper-title h3{color:#9D1C20;padding:28px 0}
.books-carousel{display:flex ;flex-wrap:wrap;flex-direction:row;justify-content:flex-start;background:#fff;margin:0;align-items:stretch!important;--gap:20px;gap:var(--gap);}
.books-carousel, .books-carousel *{box-sizing:border-box;}
.books-carousel .col-lg-3, .books-carousel .col-lg-4{width:auto!important;max-width:none!important;flex:0 1 auto;}
.books-carousel-card{background:linear-gradient(200.87deg, #000000 30.99%, #9D1C20 90.21%);border-radius:10px;border:0.5px solid var(--Thriller-red,#9D1C20);padding:15px;flex-wrap:nowrap;align-content:flex-start;flex-direction:row;display:flex;gap:10px;
 flex:0 1 calc((100% - 2 *var(--gap)) / 3)!important;min-height:400px} 
.books-carousel-card img{width:100%;display:block;height:auto;}
.books-carousel-card h4{padding-right:15px;text-align:left;margin-bottom:auto!important;}
.books-carousel-card h4 a{margin-bottom:20px;color:#FCFCFC;text-decoration:none}
.books-carousel-card p{font-size:16px;text-align:left;color:#FCFCFC;line-height:24px}
.books-carousel-card .book-carousel-more{color:#FCFCFC;font-family:'Space Mono'}
.books-carousel-card .rightcol{padding-right:15px;}

/* ========================================
Events
======================================== */
.event {flex-direction:row-reverse}
.event .protocol{font-size:24px!important;margin-bottom:50px}
.event h2{padding-bottom:25px}
.event a {font-family: 'Nunito'!important;font-weight: 500!important; font-size: 20px!important; line-height: 25px!important;}
/* ========================================
Amazon
======================================== */

/* Amazon wide */
.amazon-inpost{border-radius:10px!important;opacity:1!important;padding:15px!important;background:linear-gradient(200.87deg, #000000 30.99%, #9D1C20 90.21%)!important;border:0.5px solid var(--Text-color-light,#C0BCBC)!important;min-height:auto!important;width:100%!important;max-width:100%!important;display:grid!important;column-gap:16px!important;row-gap:12px!important;align-items:start!important;}
.aawp-product{display:grid!important;}
.aawp-product__ribbon--sale{font-family:'Nunito'!important;font-weight:500!important;font-size:16px!important;line-height:24px!important;color:var(--Tertiary-background, #FFF7F7)!important;width:172px!important;height:34px!important;opacity:1!important;background:var(--Amazon-green, #3CAC68)!important;border:1px solid var(--Amazon-green, #3CAC68)!important;border-radius:10px!important;text-align:center!important;padding:5px!important;margin:20px 0!important;display:inline-block!important;grid-column:1 / -1!important;justify-self:start!important;position:relative!important}
.aawp .aawp-product--horizontal{background:linear-gradient(200.87deg, #000000 30.99%, #9D1C20 90.21%)!important;border:0px!important;padding:0!important}
.amazon-inpost .aawp-product__thumb{ grid-column:1!important;float:none!important;width:auto!important;display: flex !important;}
.amazon-inpost .aawp-product__content{ grid-column:2!important;min-width:0!important;display: flex;flex-direction: column;align-content: flex-end!important;flex-wrap: nowrap;justify-content: flex-start;align-items: flex-end;flex-wrap: wrap}
.aawp .aawp-product--horizontal .aawp-product__image{width:325px!important;border:0.5px;display:block;max-height:500px!important;margin:0px}
.aawp-product__title{font-family:Platypi!important;font-weight:600!important;font-size:26px!important;margin-bottom:20px!important;display:inline-block!important;line-height:35px!important;text-decoration:none!important;color:#fff!important;} 
.aawp-product__content a:hover{color:#fff!important;}
.aawp-product__description ul{list-style:none!important;margin-bottom:0!important;}
.aawp-product__description ul li::before{background:none!important}
.aawp-product__description ul li{font-family:Nunito!important;font-weight:700!important;font-style:Bold!important;font-size:20px!important;line-height:32px!important;color:#fff!important;margin-bottom:20px!important}
.amazon-inpost .aawp-product__footer{grid-column:2!important;display:flex!important;flex-direction:column!important;gap:10px!important;align-items:flex-end!important;text-align:right!important;width:100%!important;margin-top:-200px!important;align-content: space-around!important;margin-left:0px!important}
.amazon-inpost .aawp-product__pricing{display:grid!important;grid-template-columns:auto auto!important;grid-template-areas:"old saved""current prime"!important;justify-content:end!important;align-items:center!important;gap:6px 10px!important;width:auto!important;text-align:right!important;}
.amazon-inpost .aawp-product__price--old{grid-area:old!important;display:inline-block!important;white-space:nowrap!important;font-family:'Nunito'!important;font-weight:500!important;font-size:16px!important;line-height:24px!important;vertical-align:middle!important;color:#FFF7F7!important;justify-self:center!important;text-decoration:line-through!important;background:#9D1C20!important;padding:5px!important;border-radius:10px!important;width:120px!important;text-align:center!important;height:35px!important;}
.amazon-inpost .aawp-product__price--saved{grid-area:saved!important;display:inline-flex!important;justify-self:end!important;white-space:nowrap!important;justify-content:center!important;background:var(--Amazon-green, #3CAC68)!important;display:block!important;text-align:right!important;border:1px solid var(--Amazon-green, #3CAC68)!important;box-shadow:0px 1px 2px 0px #1018280D!important;font-family:Nunito!important;font-weight:500!important;font-size:16px!important;line-height:24px!important;border-radius:10px!important;width:110px!important;height:35px!important;padding:5px!important;letter-spacing:0%!important;color:#FFF7F7!important}
.amazon-inpost .aawp-product__price--current{grid-area:current!important;display:inline-block!important;white-space:nowrap!important;font-family:Nunito!important;font-weight:700!important;font-size:25px!important;line-height:27px!important;letter-spacing:0%!important;vertical-align:middle!important;color:#FDA72A!important;}
.amazon-inpost .aawp-product__pricing > img{grid-area:prime!important;justify-self:center!important;align-self:center!important;float:none!important;max-height:16px!important;}
.amazon-inpost .aawp-product__footer .aawp-button{align-self:flex-end!important;display:inline-flex!important;gap:6px!important;width:auto!important;width:327px!important;height:52px!important;border-radius:8px!important;border-width:1px!important;angle:0 deg!important;opacity:1!important;gap:6px!important;padding-top:10px!important;padding-right:16px!important;padding-bottom:10px!important;padding-left:16px!important;background:#F4D48A!important;border:1px solid #F4D48A!important;box-shadow:0px 1px 2px 0px #1018280D!important;text-decoration:none!important;color:#000!important;font-family:Nunito!important;font-weight:500!important;font-size:20px!important;line-height:32px!important;letter-spacing:0%!important;margin:10px 0!important;justify-content: flex-end!important}
.aawp-product__footer a:hover{text-decoration:underline!important}
.amazon-inpost .aawp-product__info{align-self:flex-end!important;text-align:right!important;display:block!important;font-family:Nunito!important;font-weight:400!important;font-size:12px!important;line-height:18px!important;letter-spacing:0%;color:#FCFCFC!important;}
.amazon-inpost .aawp-product__pricing > *{margin:0!important;}
/* Amazon small */
.amazon-inpost-mini{width:600px!important;float:none;display:block;margin-left:0px;margin-bottom:20px;min-height:200px!important;max-height:600px!important;column-gap:12px;row-gap:8px;align-items:center;}
.amazon-inpost-mini .aawp-product__title{float:none;display:block;}
.amazon-inpost-mini .aawp-product__ribbon--sale{font-size:12px;padding:4px 8px;}
.amazon-inpost-mini .aawp-product__thumb{width:200px}
.amazon-inpost-mini .aawp-product__thumb img{width:175px;height:250px}
.amazon-inpost-mini .aawp-product__footer{align-items:flex-end;gap:8px;margin-top:-50px}
 .amazon-inpost-mini .aawp-product__pricing{ display:flex;gap:6px 8px;flex-wrap:wrap;justify-content:flex-end; align-items:center;}
.amazon-inpost-mini .aawp-product__footer .aawp-button{font-size:14px;line-height:20px;padding:8px 12px;
  align-self:flex-end;width:auto;}
.amazon-inpost-banner{width:400px!important;float:none;display:block;margin-left:0px;margin-bottom:20px;}
.amazon-inpost-banner img{display:block;margin:auto;text-align:center;}
/* ========================================
Newsletter banner
======================================== */
.newsletter-inpost{width:100%;display:grid;grid-template-columns:1fr 1fr;grid-template-areas:"sx dx";align-items:stretch;margin:20px 0;background:#000}
.newsletter-inpost-sx{grid-area:sx;background:linear-gradient(270deg, rgba(19, 11, 0, 0) 0%, #130B00 6.49%),linear-gradient(0deg, #0E0800, #0E0800);padding:50px 100px;max-height:400px}
.newsletter-inpost-title{font-family:'Platypi';font-weight:600;font-size:35px;line-height:40px;color:#FCFCFC;;display:inline-block;}
.newsletter-inpost-claim{font-family:'Nunito';font-weight:500;font-size:16px;line-height:24px;color:#fafafa;display:inline-block;margin:20px 0}
.newsletter-inpost-legal{max-width:520px;margin-top:8px;color:#fff;font-size:12px;text-align:left;margin-left:0;font-family:'Nunito'}
.newsletter-inpost-legal a{color:#fff;text-decoration:underline;font-weight:bold;}
.newsletter-inpost-dx{grid-area:dx;position:relative;background:url('./img/nl-bg-desk.jpg');height:400px}
.newsletter-inpost .custom-substack-widget{border:none!important}
.custom-substack-widget{    border: 2px solid var(--csw-primary-color);
    border-radius: 4px;
    border-width: 2px;
    box-sizing: border-box;
    display: inline-flex
;
    flex-direction: row;
    flex-wrap: wrap;
    font-size: 16px;
    height: auto;
    line-height: 24px;
    max-width: 384px;
    overflow: hidden;
    padding: 0;
    width: 100%;
}
.custom-substack-widget.csw-layout-row .csw-container {
    display: flex;
    flex-wrap: wrap;
}
.custom-substack-widget .csw-container {
    width: 100%;
}
.custom-substack-widget input {background-color: #fff!important;    border-radius: 0;
    border-style: none;
    border-width: 0 !important;
    display: block;
    margin: 0;
    outline: 2px solid transparent;
    outline-offset: 2px;
    width: 100%;
	min-width: 300px;
}


/* ========================================
Author
======================================== */
.author-page{background:url('./img/background-author.png');background-repeat:no-repeat;padding:20px;border-radius:10px;min-height:862px}
.author-page .details{padding:50px 0}
.author-page img{border-radius:10px}
.author-page h1, .author-page .catchy, .author-page .author-info a{color:#FCFCFC}
.carousel-author .wp-pagenavi a {color:#000!important}

/* ========================================
Single series
======================================== */
.single-series-wrapper{padding:10px;}
.single-series-wrapper-title{padding-bottom:28px}
.books-carousel-series{}
.books-carousel-series .books-carousel-card{display:flex!important;flex-direction:column!important;align-items:stretch;justify-content:flex-start;gap:12px;max-height:none!important;flex:0 1 calc((100% - 3*var(--gap)) / 4)!important;}
.books-carousel-series img{margin-right:0;float:none}
.books-carousel-series h3{font-family:'Platypi';font-weight:600;font-size:20px;line-height:35px;margin-bottom:auto!important;}
.books-carousel-series h3 a{color:#FCFCFC;text-decoration:none;}
.books-carousel-series .books-carousel-series-btn{width:100%;border:1px solid #FCFCFC!important}
.books-carousel-series a.books-carousel-series-btn-amz{align-self:flex-start;display:inline-flex;width:100%;padding:10px 16px;background:#F4D48A;border:1px solid #000;border-radius:10px;box-shadow:0px 1px 2px 0px #1018280D;text-decoration:none;color:#000;font-family:'Nunito';font-weight:500;font-size:16px;line-height:24px;margin:10px 0;justify-content:center;}

/* ========================================
Series List
======================================== */
.series-list-bg{background-color:#000}
.list-series-wrapper{padding:10px;background:radial-gradient(40.96% 31.24% at 46.87% 42.3%, #414529 0%, #000000 100%);}
.list-series-wrapper-title{text-align:center;padding-bottom:75px;color:#fff}
.list-series-wrapper-catchy p {color:#fff;font-family:'Space Mono';font-weight:700;font-size:24px;line-height:32px;letter-spacing:3px;text-align:justify}
.books-carousel-series-list{background:#000;justify-content:space-between;}
.books-carousel-series-list .books-carousel-card{background:linear-gradient(312deg, #000000 19.23%, #9D1C20 80.08%);text-align:left;padding:5px;border:0.5px solid #9d1c20;display:flex!important;flex-direction:column!important;align-items:stretch;justify-content:space-between;gap:12px;max-height:none!important;flex:0 1 calc((100% - 4 * var(--gap)) / 5)!important;}
.books-carousel-series-list .books-carousel-card img{}
.books-carousel-series-list h2{margin-bottom:0}
a.series-list-name{font-family:'Nunito';font-weight:700;font-size:20px;line-height:32px;letter-spacing:0%;text-align:left;text-decoration:none;color:#FCFCFC;}
.series-author-small{font-size:14px;line-height:18px;margin-bottom:0}
.series-list-filter{display:block;text-align:center;padding:45px 0}
.series-list-filter-btn{width:33;height:22;border-radius:10px;border-width:0.5px;angle:0 deg;opacity:1;padding-top:2px;padding-right:5px;padding-bottom:2px;padding-left:5px;gap:4px;background:var(--Thriller-red, #9D1C20);font-family:Nunito;font-weight:400;font-style:Regular;font-size:12px;line-height:18px;letter-spacing:0%;border:0.5px solid var(--Primary-Background, #FFFFFF);color:#FFF7F7;}
.books-carousel-series-list.is-filtered{justify-content:flex-start!important;}
.books-carousel-series-list .books-carousel-card.is-hidden{display:none!important;}
.series-list-filter a.is-active{background:#FFFFFF!important;color:#9D1C20!important;border-color:#9D1C20!important;}

/* ========================================
Pagination
======================================== */
.wp-pagenavi {font-family: Nunito; font-weight: 700; font-style: Bold; font-size: 20px; line-height: 32px;display:block;width:100%;text-align:center;color:#000}
.wp-pagenavi span{margin-right:10px}
.wp-pagenavi a{color:#000;text-decoration:underline;margin-right:10px}
.wp-pagenavi a.nextpostslink{border: 1px solid #9D1C20;background:#9D1C20;padding:0px 8px;border-radius: 8px;text-decoration: none;}
.wp-pagenavi a.previouspostslink{border: 1px solid #FFF7F7;background:#FFF7F7;color:#9D1C20;padding: 0px 8px;border-radius: 8px;text-decoration: none;}
.wp-pagenavi .extend {color:#000}
.wp-pagenavi .current{border: 1px solid #9D1C20;background:#9D1C20;padding:0px 8px;border-radius: 8px;text-decoration: none;color:#FCFCFC}

/* =======================================
Gutemberg
========================================*/
.wp-block-gallery:not(.has-nested-images){display:flex;flex-wrap:wrap;list-style-type:none;margin:0;padding:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item{display:flex;flex-direction:column;flex-grow:1;justify-content:center;margin:0 1em 1em 0;position:relative;width:calc(50% - 1em)}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:nth-of-type(2n){margin-right:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figure,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figure,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figure{align-items:flex-end;display:flex;height:100%;justify-content:flex-start;margin:0}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item img{display:block;height:auto;max-width:100%;width:auto}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption{background:linear-gradient(0deg,#000000b3,#0000004d 70%,#0000);bottom:0;box-sizing:border-box;color:#fff;font-size:.8em;margin:0;max-height:100%;overflow:auto;padding:3em .77em .7em;position:absolute;text-align:center;width:100%;z-index:2}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image figcaption img,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image figcaption img,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item figcaption img{display:inline}.blocks-gallery-grid:not(.has-nested-images) figcaption,.wp-block-gallery:not(.has-nested-images) figcaption{flex-grow:1}.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-image img,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item a,.blocks-gallery-grid:not(.has-nested-images).is-cropped .blocks-gallery-item img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-image img,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item a,.wp-block-gallery:not(.has-nested-images).is-cropped .blocks-gallery-item img{flex:1;height:100%;object-fit:cover;width:100%}.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item{margin-right:0;width:100%}@media (min-width:600px){.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item{margin-right:1em;width:calc(33.33333% - .66667em)}.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item{margin-right:1em;width:calc(25% - .75em)}.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item{margin-right:1em;width:calc(20% - .8em)}.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item{margin-right:1em;width:calc(16.66667% - .83333em)}.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item{margin-right:1em;width:calc(14.28571% - .85714em)}.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image,.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image,.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item{margin-right:1em;width:calc(12.5% - .875em)}.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.blocks-gallery-grid:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-image:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-1 .blocks-gallery-item:nth-of-type(1n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-image:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-2 .blocks-gallery-item:nth-of-type(2n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-image:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-3 .blocks-gallery-item:nth-of-type(3n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-image:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-4 .blocks-gallery-item:nth-of-type(4n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-image:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-5 .blocks-gallery-item:nth-of-type(5n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-image:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-6 .blocks-gallery-item:nth-of-type(6n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-image:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-7 .blocks-gallery-item:nth-of-type(7n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-image:nth-of-type(8n),.wp-block-gallery:not(.has-nested-images).columns-8 .blocks-gallery-item:nth-of-type(8n){margin-right:0}}.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-image:last-child,.blocks-gallery-grid:not(.has-nested-images) .blocks-gallery-item:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-image:last-child,.wp-block-gallery:not(.has-nested-images) .blocks-gallery-item:last-child{margin-right:0}.blocks-gallery-grid:not(.has-nested-images).alignleft,.blocks-gallery-grid:not(.has-nested-images).alignright,.wp-block-gallery:not(.has-nested-images).alignleft,.wp-block-gallery:not(.has-nested-images).alignright{max-width:420px;width:100%}.blocks-gallery-grid:not(.has-nested-images).aligncenter .blocks-gallery-item figure,.wp-block-gallery:not(.has-nested-images).aligncenter .blocks-gallery-item figure{justify-content:center}.wp-block-gallery:not(.is-cropped) .blocks-gallery-item{align-self:flex-start}figure.wp-block-gallery.has-nested-images{align-items:normal}.wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image){margin:0;width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)/2)}.wp-block-gallery.has-nested-images figure.wp-block-image{box-sizing:border-box;display:flex;flex-direction:column;flex-grow:1;justify-content:center;max-width:100%;position:relative}.wp-block-gallery.has-nested-images figure.wp-block-image>a,.wp-block-gallery.has-nested-images figure.wp-block-image>div{flex-direction:column;flex-grow:1;margin:0}.wp-block-gallery.has-nested-images figure.wp-block-image img{display:block;height:auto;max-width:100%!important;width:auto}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption,.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before{bottom:0;left:0;max-height:100%;position:absolute;right:0}.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);content:"";height:100%;-webkit-mask-image:linear-gradient(0deg,#000 20%,#0000);mask-image:linear-gradient(0deg,#000 20%,#0000);max-height:40%}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{background:linear-gradient(0deg,#0006,#0000);box-sizing:border-box;color:#fff;font-size:13px;margin:0;overflow:auto;padding:1em;scrollbar-color:#0000 #0000;scrollbar-gutter:stable both-edges;scrollbar-width:thin;text-align:center;text-shadow:0 0 1.5px #000;will-change:transform}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar{height:12px;width:12px}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-track{background-color:initial}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:initial;border:3px solid #0000;border-radius:8px}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within::-webkit-scrollbar-thumb,.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus::-webkit-scrollbar-thumb,.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover::-webkit-scrollbar-thumb{background-color:#fffc}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus,.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:focus-within,.wp-block-gallery.has-nested-images figure.wp-block-image figcaption:hover{scrollbar-color:#fffc #0000}@media (hover:none){.wp-block-gallery.has-nested-images figure.wp-block-image figcaption{scrollbar-color:#fffc #0000}}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption img{display:inline}.wp-block-gallery.has-nested-images figure.wp-block-image figcaption a{color:inherit}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border img{box-sizing:border-box}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>a,.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border>div,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>a,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded>div{flex:1 1 auto}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border figcaption,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded figcaption{background:none;color:inherit;flex:initial;margin:0;padding:10px 10px 9px;position:relative;text-shadow:none}.wp-block-gallery.has-nested-images figure.wp-block-image.has-custom-border:before,.wp-block-gallery.has-nested-images figure.wp-block-image.is-style-rounded:before{content:none}.wp-block-gallery.has-nested-images figcaption{flex-basis:100%;flex-grow:1;text-align:center}.wp-block-gallery.has-nested-images:not(.is-cropped) figure.wp-block-image:not(#individual-image){margin-bottom:auto;margin-top:0}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image){align-self:inherit}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image)>div:not(.components-drop-zone){display:flex}.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) a,.wp-block-gallery.has-nested-images.is-cropped figure.wp-block-image:not(#individual-image) img{flex:1 0 0%;height:100%;object-fit:cover;width:100%}.wp-block-gallery.has-nested-images.columns-1 figure.wp-block-image:not(#individual-image){width:100%}@media (min-width:600px){.wp-block-gallery.has-nested-images.columns-3 figure.wp-block-image:not(#individual-image){width:calc(33.33333% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-4 figure.wp-block-image:not(#individual-image){width:calc(25% - var(--wp--style--unstable-gallery-gap, 16px)*.75)}.wp-block-gallery.has-nested-images.columns-5 figure.wp-block-image:not(#individual-image){width:calc(20% - var(--wp--style--unstable-gallery-gap, 16px)*.8)}.wp-block-gallery.has-nested-images.columns-6 figure.wp-block-image:not(#individual-image){width:calc(16.66667% - var(--wp--style--unstable-gallery-gap, 16px)*.83333)}.wp-block-gallery.has-nested-images.columns-7 figure.wp-block-image:not(#individual-image){width:calc(14.28571% - var(--wp--style--unstable-gallery-gap, 16px)*.85714)}.wp-block-gallery.has-nested-images.columns-8 figure.wp-block-image:not(#individual-image){width:calc(12.5% - var(--wp--style--unstable-gallery-gap, 16px)*.875)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image){width:calc(33.33% - var(--wp--style--unstable-gallery-gap, 16px)*.66667)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2),.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:nth-last-child(2)~figure.wp-block-image:not(#individual-image){width:calc(50% - var(--wp--style--unstable-gallery-gap, 16px)*.5)}.wp-block-gallery.has-nested-images.columns-default figure.wp-block-image:not(#individual-image):first-child:last-child{width:100%}}.wp-block-gallery.has-nested-images.alignleft,.wp-block-gallery.has-nested-images.alignright{max-width:420px;width:100%}.wp-block-gallery.has-nested-images.aligncenter{justify-content:center}


/* ========================================
Responsive
======================================== */

@media (max-width:1399px){
.footer-wrapper{padding:40px 100px}
.book-cover h1{font-size: 50px;line-height: 60px;}
.books-carousel-card{flex-direction:row;flex:0 1 calc((100% - 1 *var(--gap)) / 2)!important}
.amazon-inpost .aawp-product__footer{margin-top:-50px}
.newsletter-inpost-sx{display:grid;align-items: center;padding:20px 40px}
.books-loop-wrapper .sponsored{flex: 0 1 100%!important;}
.books-carousel-home-wrapper .bg-secondary {padding:0 50px}
.books-carousel-card{min-height:450px}
}

@media (max-width:1199px){
.navbar{position:relative}
.logo-bar{justify-content:center}
.navbar-border{margin:0 0 0 -12px;padding:0 10px}
.nav-toggle{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 12px;background:transparent;border:1px solid var(--gray-300);border-radius:6px;color:#fff;font-weight:700;line-height:1;-webkit-tap-highlight-color:transparent}
.nav-toggle__label{font-size:14px;line-height:20px}
/* Cambia background nav quando il menu è aperto */
.navbar.is-menu-open{background:#9D1C20;border-radius:10px 10px 0 0}
.navbar.is-menu-open #primary-menu{background:#9D1C20;border-radius:0 0 10px 10px}
/* Collassa menu solo con JS */
.js #primary-menu{display:none}
.js #primary-menu.is-open{display:flex;align-content:flex-start;align-items:flex-start;width:100%;animation:menuIn .14s ease-out both}
/* Pannello dropdown */
#primary-menu{position:absolute;top:100%;background:var(--brand-red);z-index:1000;flex-direction:column;gap:0;padding:8px 0;border-radius:0 0 10px 10px;max-height:min(70vh,480px);overflow:auto;overscroll-behavior:contain}
@keyframes menuIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
/* Voci top-level */
#primary-menu>li{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding-inline:4px}
#primary-menu>li.has-children{justify-content:space-between}
#primary-menu>li>a{display:block;padding:12px 16px;border-radius:0;color:#fff;text-decoration:none;flex:1 1 auto}
#primary-menu>li>a:hover,#primary-menu>li>a:focus-visible{background:rgba(0,0,0,.12);outline:none}
/* Fisarmonica (tutti i livelli) */
#primary-menu li>.sub-menu,#primary-menu li>ul{position:static;display:none;flex-direction:column;width:100%;margin:6px 0 4px;padding-left:16px;border-left:1px dashed rgba(255,255,255,.2);background:transparent;order:3}
#primary-menu li.is-open>.sub-menu,#primary-menu li.is-open>ul{display:block}
#primary-menu .sub-menu .sub-menu{padding-left:20px}
#primary-menu li>.sub-menu a,#primary-menu li>ul a{display:block;padding:10px 14px;color:#fff;text-decoration:none}
#primary-menu li>.sub-menu a:hover,#primary-menu li>ul a:hover,
#primary-menu li>.sub-menu a:focus-visible,#primary-menu li>ul a:focus-visible{background:rgba(0,0,0,.12);outline:none}
.submenu-toggle{background:transparent;color:#fff;border:1px solid rgba(255,255,255,.35);border-radius:6px;padding:6px 8px;line-height:1;flex:0 0 auto}
.submenu-toggle:focus-visible{outline:2px solid #fff;outline-offset:2px}
/* Search:solo icona + pannello */
.site-search{text-align:right;position:relative}
.js .site-search .search{display:none}
.js .site-search .search-toggle{display:inline-flex}
button.search-toggle{padding:0;border:0!important;background:#000}
.js .site-search.is-open .search{display:block;position:absolute;right:0;top:calc(100% + 8px);width:min(90vw,360px);z-index:1000;background:#000;padding:8px;border-radius:8px}
.custom-substack-widget{max-width:100%!important}
#footer-newsletter .col-xs-12,
#footer-newsletter .footer-logo,
#footer-newsletter .footer-newsletter-title,
#footer-newsletter .footer-newsletter-claim,
#footer-newsletter .footer-newsletter-form{flex:0 0 100%;max-width:100%;display:flex;justify-content:flex-end;text-align:right}
#footer-newsletter .footer-logo{margin-bottom:20px}
#footer-newsletter .footer-newsletter-title{margin-bottom:20px}
#footer-newsletter .footer-newsletter-claim{margin-bottom:20px;font-size:14px}
#footer-newsletter .newsletter-claim{max-width:48ch;margin-left:auto}
/* Form mobile:input 100%, bottone sotto a sinistra */
.footer-newsletter-form{align-items:stretch;text-align:right}
.footer-newsletter-form [data-supascribe-subscribe],
.footer-newsletter-form .custom-substack-widget,
.footer-newsletter-form form.supascribe-widget{width:100%;max-width:none;margin-left:0}
.footer-newsletter-form .custom-substack-widget .csw-container{display:flex;flex-direction:column!important;align-items:stretch!important;gap:8px}
.footer-newsletter-form .custom-substack-widget .flex-row,
.footer-newsletter-form .custom-substack-widget .flex-row-reverse{flex-direction:column!important}
.footer-newsletter-form .custom-substack-widget input[type="email"],
.footer-newsletter-form form.supascribe-widget input[type="email"]{width:100%!important}
.footer-newsletter-form .custom-substack-widget button,
.footer-newsletter-form form.supascribe-widget button{width:auto!important;align-self:flex-start!important;margin:0!important;white-space:nowrap;display:inline-flex}
.footer-newsletter-form .custom-substack-widget .w-full{width:auto!important}
.footer-newsletter-form .custom-substack-widget .mx-auto{margin-left:0!important;margin-right:auto!important}
.subfooter{padding:20px}
.newsletter-inpost-sx{display:grid;align-items: center;padding:20px 40px}
.book-cover h1{font-size: 40px;line-height: 50px;}
.single_post h2{font-size: 36px;line-height: 40px;}
.single_post h3{font-size: 32px;line-height: 35px;}
.books-carousel-home{padding:20px 80px}
.books-carousel-series .books-carousel-card{flex:0 1 calc((100% - 2 * var(--gap)) / 3)!important}
}	

/* <1024px :tablet */
@media (max-width:1023px){
.wrapper{padding:25px 22px;margin:25px auto;}	
.newsletter-inpost-sx{padding:20px 40px}
.footer-wrapper{padding:20px 50px}
.books-carousel-card {flex-direction:column}
.books-carousel-home-wrapper .books-carousel.bg-secondary {flex-direction: row !important;flex-wrap: nowrap !important;padding-inline: 56px;scroll-padding-left: 56px;scroll-padding-right: 56px;position: relative;overflow-x: auto;-webkit-overflow-scrolling: touch;scroll-snap-type: x mandatory;gap: var(--gap, 20px);padding-inline: 16px; scroll-padding-left: 16px;}
.books-carousel-home-wrapper .books-carousel.bg-secondary .carousel-home-card{flex: 0 0 calc(50% - (var(--gap, 20px) / 2))!important;scroll-snap-align: start;scroll-snap-stop: always;}
.books-carousel-home-wrapper .bg-secondary{padding-left: 0 !important;padding-right: 0 !important;}
.books-carousel-home-wrapper .books-carousel.bg-secondary{ scrollbar-width: none; /* Firefox */}
.books-carousel-home-wrapper .books-carousel.bg-secondary::-webkit-scrollbar{display: none;}
.books-carousel-home-wrapper .carousel-btn{ position: absolute; top: 50%; transform: translateY(-50%);width: 30px;border: 1px solid #fff!important;box-shadow: 0px 1px 2px 0px #1018280D; display: grid; place-items: center;     font-size: 20px; line-height: 1; cursor: pointer; z-index: 5;height: 25px;padding: 0 !important}
.books-carousel-home-wrapper .carousel-btn--prev{ left: 0px; }
.books-carousel-home-wrapper .carousel-btn--next{ right: 0px; }
.books-carousel-home-wrapper .carousel-btn:hover{ filter: brightness(0.95); }
.books-carousel-home-wrapper .carousel-btn:focus-visible{outline: 2px solid #fff; outline-offset: 2px;}
.books-carousel-home-wrapper .books-carousel.bg-secondary.at-start .carousel-btn--prevx{ opacity: .3; pointer-events: none; }
.books-carousel-home-wrapper .books-carousel.bg-secondary.at-end .carousel-btn--next{ opacity: .3; pointer-events: none; }
.author-page {background: url(./img/background-author-md.png);background-repeat:no-repeat;min-height:650px}
.books-carousel-series .books-carousel-card {flex: 0 1 calc((100% - 1 * var(--gap)) / 2) !important;}
.post-image-container {width: 100%;padding-bottom: 1%;position: relative;}
.books-loop-wrapper .books-carousel-card img {width: 100%;position: relative;object-fit: fill; aspect-ratio: 1 / 1.43;}
.books-carousel-card .banner img{width:100%;display:block;height:auto;object-fit:fill!important;position:relative;aspect-ratio: 1 / 1}
.post-banner-container{width: 100%;padding-bottom: 0%;position: relative;}
}

@media (max-width:991px){
.book-cover .details h1 {font-size:30px;line-height:35px}
.book-cover .catchy {font-size:20px;line-height:25px}
.book-cover .series a {font-size: 18px;}
.book-cover .amazon {display:none}
.book-cover .author .protocol {font-size: 12px;line-height: 18px;}
.book-cover .audio{flex-direction:row;font-size: 16px;}
.amazon-inpost-mini{width: 100% !important;}
.newsletter-inpost{grid-template-columns:1fr;grid-template-areas:"dx";position:relative;}
.newsletter-inpost-sx{grid-area:dx;z-index:2;background:transparent!important;margin:0;padding:clamp(12px, 4vw, 20px);}
.newsletter-inpost-dx{ z-index:1;height:auto!important;min-height:260px;position:relative;background-position-x:right;background-size:728px}
.newsletter-inpost-dx::before{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.35));z-index:0;content:"";}
.newsletter-inpost-sx > *{position:relative;z-index:1;color:#FCFCFC;}
.books-carousel-home-wrapper{--bullet-url: url('../thrillercafe/img/bullet-w.png')!important;}
.books-carousel-card {flex-direction:column}
.books-loop-wrapper .sponsored{flex-direction:row!important}
.books-carousel-home-wrapper .carousel-dots{display: flex;justify-content: center;align-items: center;gap: 5px;padding: 12px 0 4px;}
.books-carousel-home-wrapper .carousel-dot{width: 14px;height: 14px;border: 0;background: var(--bullet-url) center / contain no-repeat!important;opacity: .35;transform: scale(.9);transition: opacity .2s, transform .2s;cursor: pointer;}
.books-carousel-home-wrapper .carousel-dot.is-active{opacity: 1;transform: scale(1);}
.home-intro-catchy {padding: 20px;}
#cgBannerATF_1 {display:none}
}

/* <=768px :mobile grande */
@media (max-width:767px){
h1{font-size:clamp(24px, 6vw, 34px);line-height:1.2;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-align:left;letter-spacing:-0.02em;}
.book-cover .details h1 {font-size:40px;line-height:50px}
.logo-bar{gap:clamp(12px,3vw,24px)}
.logo-bar .col-4{flex:0 0 100%;max-width:100%}
.logo-bar .col-4:nth-child(2){order:1;justify-content:center}
.logo-bar .col-4:nth-child(1){order:2;justify-content:center}
.logo-bar .col-4:nth-child(3){order:3;justify-content:center}
.book-cover{flex-direction:column;}
.book-cover .cover{flex:none;margin:0 auto;}
.book-cover .details{gap:12px;}
.book-cover .amazon {display:block}
.book-cover .audio, .book-cover-big .audio{flex-direction:column;align-items:flex-start}
/* Author page */
.author-page{padding:10px;min-height:647px;}
.author-page h1{color:#FCFCFC;}
.author-page .details{padding:10px 0;}
/* Banner */
.banner-footer{padding-bottom:25px}
/* Amazon */
.amazon-inpost{grid-template-columns:1fr!important;min-height:auto!important;max-height:none!important;}
.amazon-inpost .aawp-product__thumb, .amazon-inpost .aawp-product__content, .amazon-inpost .aawp-product__footer{grid-column:1!important;}
.amazon-inpost .aawp-product__footer{align-items:stretch!important; text-align:left!important;margin-top:0px!important;}
.amazon-inpost .aawp-product__pricing{justify-content:center!important;width:100%!important;}
.amazon-inpost .aawp-button{width:100%!important;justify-content:center!important;align-self:center!important;text-align:center!important;}
.amazon-inpost .aawp-product__info{text-align:left!important;align-self:stretch!important;}
.aawp-product__title{ padding:10px 10px!important;}
.amazon-inpost-mini {grid-template-columns:1fr!important;min-height:auto!important;max-height:none!important;	}
.amazon-inpost-mini .aawp-product__footer .aawp-button{ align-self:center!important;}
.amazon-inpost.amazon-inpost-banner{grid-template-columns:1fr!important;padding:12px!important;}
.amazon-inpost .amazon-inpost-banner .aawp-product__footer{align-items:stretch!important;text-align:left!important;margin-top:0px!important;}
.amazon-inpost.amazon-inpost-banner .aawp-product__pricing{justify-content:start!important;width:100%!important;}
.amazon-inpost.amazon-inpost-banner .aawp-button{width:100%!important;justify-content:center!important;}	
/* Newsletter */
.newsletter-inpost{grid-template-columns:1fr;grid-template-areas:"dx";position:relative;}
.newsletter-inpost-sx{grid-area:dx;z-index:2;background:transparent!important;margin:0;padding:clamp(12px, 4vw, 20px);}
.newsletter-inpost-dx{ z-index:1;height:auto!important;min-height:260px;position:relative;background-position-x:right;background-size:728px}
.newsletter-inpost-dx::before{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.35),rgba(0,0,0,.35));z-index:0;content:"";}
.newsletter-inpost-sx > *{position:relative;z-index:1;color:#FCFCFC;}
#footer-newsletter .col-xs-12, #footer-newsletter .footer-logo, #footer-newsletter .footer-newsletter-title, #footer-newsletter .footer-newsletter-claim, #footer-newsletter .footer-newsletter-form{flex:0 0 100%;max-width:100%;display:flex ;justify-content:flex-start;text-align:right;}
.footer-newsletter-form{align-items:stretch;text-align:right}
.footer-newsletter-form [data-supascribe-subscribe],
.footer-newsletter-form .custom-substack-widget,
.footer-newsletter-form form.supascribe-widget{width:100%;max-width:none;margin-left:0}
.footer-newsletter-form .custom-substack-widget .csw-container{display:flex;flex-direction:column!important;align-items:stretch!important;gap:8px}
.footer-newsletter-form .custom-substack-widget .flex-row,
.footer-newsletter-form .custom-substack-widget .flex-row-reverse{flex-direction:column!important}
.footer-newsletter-form .custom-substack-widget input[type="email"],
.footer-newsletter-form form.supascribe-widget input[type="email"]{width:100%!important}
.footer-newsletter-form .custom-substack-widget button,
.footer-newsletter-form form.supascribe-widget button{width:auto!important;align-self:flex-start!important;margin:0!important;white-space:nowrap;display:inline-flex}
.footer-newsletter-form .custom-substack-widget .w-full{width:auto!important}
.footer-newsletter-form .custom-substack-widget .mx-auto{margin-left:0!important;margin-right:auto!important}
.footer-wrapper{padding:20px}
.books-carousel, .books-carousel-card {flex-direction:column}
.books-carousel-home-wrapper .books-carousel.bg-secondary .carousel-home-card {flex: 0 0 100%!important;}
.books-carousel-home-wrapper .books-carousel.bg-secondary {flex-direction: row !important;}
.books-carousel-home-wrapper .books-carousel-card {flex-direction: column;}
.books-loop-wrapper .sponsored{flex-direction:column!important}
.books-loop-wrapper .sponsored-sx{width:100%!important}
.author-page {background: url(./img/background-author-sm.png);background-repeat:no-repeat}
.author-page h1 {margin-top:170px!important;color:#000!important}
.author-page .series .catchy {color:#000!important}
.author-page .author-info a {color:#9D1C20!important}
.wp-pagenavi{font-size:16px;overflow:hidden}
.wp-pagenavi span, .wp-pagenavi a {margin-right:5px}
.books-carousel-series .books-carousel-card{flex: 0 1 calc((100% - 1 * var(--gap)) / 2) !important;min-height:730px!important}
}

/* <=640px :mobile medio */
@media (max-width:640px){
.navbar .menu{gap:12px}
.navbar a{font-size:13px;line-height:18px}
.newsletter-inpost-title{font-size:20px;line-height:25px}
}

/* <=480px :mobile stretto */
@media (max-width:480px){
h1{font-size:clamp(22px, 7.2vw, 30px);}
.amazon-inpost-banner img{display:block;margin:auto;text-align:center;}
.books-carousel-wrapper-title h2{font-size:35px;line-height:40px}
}

/* <=429px :mobile stretto */
@media (max-width:429px)
{
.aawp-product {     display: flex !important;     align-content: center!important;     align-items: center!important;     justify-items: center!important;     flex-direction: column!important;     flex-wrap: nowrap!important;     justify-content: center!important; }
.aawp .aawp-product--horizontal .aawp-product__ribbon {position:relative!important}
.aawp .aawp-product--horizontal .aawp-product__image {max-width:250px}
.aawp-product__thumb, .aawp .aawp-product--horizontal .aawp-product__content,.aawp .aawp-product--horizontal .aawp-product__footer {max-width:260px!important}
.amazon-inpost .aawp-product__content{align-items: center!important;text-align:center!important}
.aawp .aawp-button.aawp-button--amazon, .aawp-button.aawp-button--amazon{max-width: 260px !important;font-size: 16px !important;}
.aawp .aawp-product--horizontal .aawp-product__info{text-align:center!important}
}

/* Riduzione movimento */
@media (prefers-reduced-motion:reduce){
@keyframes menuIn{from{opacity:0}to{opacity:1}}
}

@media (min-width:991px){
#desktopbanner {display:none}
}
