/*
    Theme Name: Horror d'Elite (Kadence Child)
    Theme URI: https://www.kadencewp.com/kadence-theme/
    Version: 0.0.0
    Description: Il meglio del mondo Horror e dintorni
    Template: kadence
    Text Domain: kadence
    Author: PMsi.eu
    Author URI: https://www.pmsi.eu
*/

/* default backgrounds, headers and miscellaneous */
body, body.search-results, body.archive, body.blog, #masthead, section.entry-hero {
    background-color: var(--global-palette3);
}
.search-archive-hero-section .entry-hero-container-inner {
    background-image: none;
    background-color: var(--global-palette4);
    .hero-section-overlay {
        display: none;
    }
}
h1, h2, h3, h4, h5, h6 {
    text-transform: unset;
}
div.clear {
    clear: both;
    height: 0;
}
hr {
    clear: both;
    margin: 0 0 32px 0!important;
    padding: 8px 0;
}

/* default wrapper and title */
#inner-wrap {
	background: var(--global-palette4);
}
#inner-wrap > #primary {
    margin-top: 0;
    margin-bottom: 0;
}
.site-branding .site-title {
	font-family: var(--global-heading-font-family);
    letter-spacing: 5px;
	font-weight: 400;
    font-size: 40px;
	color: var(--global-palette9);
}

/* language menu */
#primary-menu .wpml-ls-menu-item ul.sub-menu {
    width: 100%!important;
}
.sub-menu li.wpml-ls-item, .sub-menu li.wpml-ls-item a {
    width: 100%!important;
    text-align: center;
}

/* home page */
.home .wp-block-columns {
    margin-bottom: 0;
}
.home article.type-post {
    background: none;
    .entry-content-wrap {
        background: var(--global-palette5);
    }
    .entry-title {
        color: var(--global-palette3);
    }
}

/* category pages */
#archive-container article.type-post {
	background: none;
    .entry-content-wrap {
	    background: var(--global-palette5);
    }
    .entry-title {
	    color: var(--global-palette3);
    }
}

/* posts thumbnails, meta and content */
.wp-site-blocks .post-thumbnail {
    height: unset;
    padding-bottom: 0;
    .post-thumbnail-inner {
        position: unset;
    }
}
.kadence-thumbnail-position-behind {
    margin-bottom: 0;
}
.content-style-unboxed .kadence-thumbnail-position-behind:after {
    background: linear-gradient(0deg, var(--global-palette9) 10%, rgba(var(--global-palette9rgb), 0.35) 30%, rgba(255, 255, 255, 0) 50%);
}
div.content-wrap {
    position: relative;
}
.kadence-thumbnail-position-behind+.entry {
    position: unset;
}
.entry-meta>*:after {
    margin-bottom: .5em;
}
h1.page-title.search-title, h1.page-title.archive-title, .single-post .entry-content.single-content h1, .single-post .entry-content.single-content h2, .single-post .entry-content.single-content h3, .single-post .entry-content.single-content h4, .single-post .entry-content.single-content h5, .single-post .entry-content.single-content h6 {
	color: var(--global-palette7);
    text-transform: none;
}
.single-post .type-post .entry-content-wrap .entry-header {
	position: absolute;
	left: 0;
	right: 0;
    .entry-taxonomies {
        margin-bottom: 0;
        font-weight: bolder;
    }
    .entry-title {
        font-size: 44px;
    }
    .entry-meta {
	    color: var(--global-palette4);
    }
}
.single-post .entry-meta .author-avatar img {
    background-color: var(--global-palette4);
}
.single-post .carousel-item .entry-meta .author-avatar img {
    background-color: var(--global-palette5);
}
.single-post .carousel-item .entry-content-wrap {
    padding: 1em;
}
.carousel-item .type-post .entry-content-wrap .entry-header {
    position: unset;
    .entry-title {
        font-size: 26px;
    }
    .entry-meta {
        color: var(--global-palette7);
    }
}
.content-wrap a {
    color: var(--global-palette-highlight)!important;
}
.content-wrap a:hover {
    color: var(--global-palette7)!important;
}
.news .entry-content-wrap {
    padding: 1em;
    .entry-title {
        font-size: 26px!important;
    }
}
.entry-tags a.tag-link {
    color: var(--global-palette-highlight);
    padding: 0.7em 0.6em 0.4em 0.6em;
}
.pagination .page-numbers {
    padding-top: 6px;
}

/* accedi - password dimenticata - mio account - notice*/
div.woocommerce {
    Padding: 2em;
    form .form-row label {
        color: var(--global-palette7);
    }
}
.woocommerce.kadence-woo-messages-none-woo-pages.woocommerce-notices-wrapper {
    display: none;
}

/* iscriviti a YouTube */
#iscriviti {
    margin-bottom: 2em;
    a.logo {
        float: left;
    }
    p {
        display: inline-block;
        vertical-align: middle;
        margin-bottom: 0;
    }
    p.invito {
        margin-top: 1em;
        margin-left: 1em;
    }
}

/* login ℼ the_net */
.site-info .wrapper {
    position: relative;
    a.the_net {
        position: absolute;
        right: 1em;
        bottom: .5em;
        color: white;
        opacity: .1;
    }
    a.the_help {
        position: absolute;
        right: 2.5em;
        bottom: .4em;
        color: white;
        opacity: .1;
    }
}

/* AdSense margins*/
div.google-auto-placed {
    margin-bottom: 1em!important;
}

/* footer */
#colophon {
    background-image: url(/wp-content/themes/kadence-child/images/fog.webp);
    background-size: cover;
    background-position: center;
}
.social-link-custom1 img, .social-link-custom2 img {
    opacity: 0.025;
}

/*
    R.I.P.
*/
html:has(#rip) {
    margin-top: 0!important;
}
body:has(#rip) {
    #wpadminbar, #main-header, header.entry-header, .wp-site-blocks .post-thumbnail, div.entry-content > figure, div.entry-content > h1, div.entry-content > h2, div.entry-content > h3, div.entry-content > h4, div.entry-content > p, div.entry-content > ul, div.entry-content > ol, div.entry-content > ol, div.entry-content > hr, div.entry-content > div#iscriviti, nav.navigation, div.entry-related, #comments, footer, #cmplz-manage-consent {
        display: none;
    }
}
body:has(#rip) #inner-wrap {
    background-color: black;
}
#copyRIP {
    color: white;
    font-weight: bolder;
    font-size: 30px;
    margin-right: .5em;
    margin-bottom: .5em;
    margin-left: 1px;
    padding: 0 20px;
}
#rip {
    position: relative;
    width: 600px;
    height: 755px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    overflow: hidden;
    /* margin-left: -0.5px; */
    #hashtag {
        position: absolute;
        text-align: center;
        z-index: 999;
        display: inline-block;
        margin-bottom: 0;
        width: 450px;
        transform: rotate(-45deg);
        left: -130px;
        top: 35px;
        padding: 10px 120px 30px 120px;
        font-weight: bold;
        font-size: 20px;
        background-image: linear-gradient(to top left, #000000, #00000030);
    }
    #logo {
        position: absolute;
        right: 0;
        top: 0;
        max-width: 150px;
        padding: 0 0 5px 10px;
        border-radius: 0 0 0 45px;
        background-image: linear-gradient(to left, #ffffffa0, #ffffff00);
        z-index: 999;
    }
    #dettagli {
        position: absolute;
        width: 100%;
        bottom: -10px;
        left: 0;
        padding: 10px 10px 30px 10px;
        text-align: center;
        background-image: linear-gradient(to right, #000000, #00000030);
        border-radius: 0 80px 0 0;
        h3 {
            text-align: center;
        }
    }
}
#rip-testo {
    margin-top: 3em;
    margin-bottom: 2em;
    margin-left: 1px;
    h3 {
        margin-bottom: 3px;
    }
    pre {
        color: black;
    }
    #copy, #copyInsta, #copyComment {
        float: left;
        color: white;
        font-weight: bolder;
        font-size: 30px;
        margin-right: .5em;
        padding: 0 20px;
    }
}

/*
    REELS
*/
html:has(#reel) {
    margin-top: 0!important;
}
body:has(#reel) {
    #wpadminbar, #main-header, header.entry-header, .wp-site-blocks .post-thumbnail, div.entry-content > figure, div.entry-content > h1, div.entry-content > h2, div.entry-content > h3, div.entry-content > h4, div.entry-content > p, div.entry-content > ul, div.entry-content > ol, div.entry-content > ol, div.entry-content > hr, div.entry-content > div#iscriviti, nav.navigation, div.entry-related, #comments, footer, #cmplz-manage-consent {
        display: none;
    }
}
body:has(#reel) #inner-wrap {
    background-color: black;
}
#reel {
    a img {
        margin-bottom: 1em;
    }
}
#reel-testo {
    margin-top: 3em;
    margin-bottom: 2em;
    margin-left: 1px;
    h3 {
        margin-bottom: 3px;
    }
    pre {
        color: black;
    }
    #copy {
        float: left;
        color: white;
        font-weight: bolder;
        font-size: 30px;
        margin-right: .5em;
        padding: 0 20px;
    }
}

/*
    COMPLEANNO (E MORTO)
*/
html:has(#compleanno) {
    margin-top: 0!important;
}
body:has(#compleanno) {
    #wpadminbar, #main-header, header.entry-header, .wp-site-blocks .post-thumbnail, div.entry-content > figure, div.entry-content > h1, div.entry-content > h2, div.entry-content > h3, div.entry-content > h4, div.entry-content > p, div.entry-content > ul, div.entry-content > ol, div.entry-content > ol, div.entry-content > hr, div.entry-content > div#iscriviti, nav.navigation, div.entry-related, #comments, footer, #cmplz-manage-consent {
        display: none;
    }
}
body:has(#compleanno) #inner-wrap {
    background-color: black;
}
#copyCompleanno {
    color: white;
    font-weight: bolder;
    font-size: 30px;
    margin-right: .5em;
    margin-bottom: .5em;
    margin-left: 1px;
    padding: 0 20px;
}
#compleanno {
    position: relative;
    width: 600px;
    height: 756px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    overflow: hidden;
    /* margin-left: -0.5px; */
    #hashtag {
        position: absolute;
        width: 755px;
        text-shadow: black 1px 1px 3px;
        z-index: 999;
        padding-left: 30px;
        display: inline-block;
        transform: translateX(-330px) translateY(360px) rotate(90deg);
        margin-bottom: 0;
    }
    #logo {
        position: absolute;
        right: 0;
        top: 0;
        max-width: 150px;
        padding: 0 0 5px 10px;
        border-radius: 0 0 0 45px;
        background-image: linear-gradient(to left, #ffffffa0, #ffffff00);
        z-index: 999;
    }
    #candeline {
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 0);
    }
    #dettagli {
        position: absolute;
        width: 100%;
        bottom: -10px;
        left: 0;
        padding: 10px 10px 30px 10px;
        text-align: center;
        background-image: linear-gradient(to right, #000000, #00000030);
        border-radius: 0 80px 0 0;
        h3 {
            line-height: 1.2;
            text-align: center;
        }
    }
}
#compleanno.morto {
    margin-left: 0;
    #hashtag {
        position: absolute;
        text-align: center;
        z-index: 999;
        display: inline-block;
        margin-bottom: 0;
        width: 450px;
        transform: rotate(-45deg);
        left: -140px;
        top: 35px;
        padding: 10px 120px 30px 120px;
        font-weight: bold;
        font-size: 20px;
        background-image: linear-gradient(to top left, #000000, #00000030);
    }
    #candeline {
        display: none;
    }
}
#compleanno-testo {
    margin-top: 3em;
    margin-bottom: 2em;
    margin-left: 1px;
    h3 {
        margin-bottom: 3px;
    }
    pre {
        color: black;
    }
    #copy, #copyInsta, #copyComment {
        float: left;
        color: white;
        font-weight: bolder;
        font-size: 30px;
        margin-right: .5em;
        padding: 0 20px;
    }
}

/*
    Duelli
*/
html:has(#duello) {
    margin-top: 0!important;
}
body:has(#duello) {
    #wpadminbar, #main-header, header.entry-header, .wp-site-blocks .post-thumbnail, div.entry-content > figure, div.entry-content > h1, div.entry-content > h2, div.entry-content > h3, div.entry-content > h4, div.entry-content > p, div.entry-content > ul, div.entry-content > ol, div.entry-content > hr, div.entry-content > div#iscriviti, nav.navigation, div.entry-related, #comments, footer, #cmplz-manage-consent {
        display: none;
    }
}
body:has(#duello) #inner-wrap {
    background-color: black;
}
body:has(#duello.risultato) #result {
    display: none;
}
#duello {
    #result1, #result2 {
        display: none;
    }
}
body:has(#duello.risultato) #result1, body:has(#duello.risultato) #result2 {
    display: block;
    position: absolute;
}
#copyDuello {
    color: white;
    font-weight: bolder;
    font-size: 30px;
    margin-right: .5em;
    margin-bottom: .5em;
    margin-left: 1px;
    padding: 0 20px;
}
#result {
    float: right; 
    color: white;
    font-weight: bolder;
    font-size: 30px;
    margin-right: calc(100% - 600px);
    margin-bottom: .5em;
    margin-left: 1px;
    padding: 0 20px;
}
#duello {
    position: relative;
    width: 600px;
    height: 755px;
    margin-bottom: 0;
    overflow: hidden;
    #hashtag {
        position: absolute;
        width: 755px;
        text-shadow: black 1px 1px 3px;
        z-index: 999;
        padding-left: 30px;
        display: inline-block;
        transform: translateX(-330px) translateY(360px) rotate(90deg);
        margin-bottom: 0;
    }
    #logo {
        position: absolute;
        right: 0;
        top: 0;
        max-width: 150px;
        padding: 0 0 5px 10px;
        border-radius: 0 0 0 45px;
        background-image: linear-gradient(to left, #ffffffa0, #ffffff00);
        z-index: 999;
    }
    #duello1, #duello2 {
        position: relative;
        background-size: cover;
        background-position: center;
    }
    #duello1 {
        height: 350px;
    }
    #duello1.perso {
        opacity: .3;
    }
    #duello2 {
        height: 405px;
    }
    #duello2.perso {
        opacity: .3;
    }
    #duello1 p, #duello2 p {
        position: absolute;
        font-weight: bolder;
        text-shadow: 2px 2px #000000c4;
        color: #ffffffb5;
        font-size: 24px;
    }
    #duello1 p {
        bottom: 1em;
        left: .5em;
        text-align: left;
    }
    #duello2 p {
        top: 0;
        right: .5em;
        text-align: right;
    }
    #duello1 svg, #duello2 svg {
        width: 30px;
        vertical-align: middle;
    }
    #result1, #result2 {
        left: 50%;
        transform: translate(-50%, 0);
        font-size: 80px;
        text-shadow: black 1px 1px 3px;
    }
    #result1 {
        top: 0;
    }
    #result1.perso {
        opacity: .5;
    }
    #result2 {
        top: 4em;
    }
    #result2.perso {
        opacity: .5;
    }
    #dettagli {
        position: absolute;
        width: 100%;
        bottom: -10px;
        left: 0;
        padding: 10px 10px 30px 10px;
        text-align: center;
        background-image: linear-gradient(to right, #000000, #00000030);
        border-radius: 0 80px 0 0;
        h3 {
            text-align: center;
        }
    }
}
#duello-testo {
    margin-top: 3em;
    margin-bottom: 2em;
    margin-left: 1px;
    h3 {
        margin-bottom: 3px;
    }
    pre {
        color: black;
    }
    #copy, #copyInsta, #copyComment {
        float: left;
        color: white;
        font-weight: bolder;
        font-size: 30px;
        margin-right: .5em;
        padding: 0 20px;
    }
}

/*
    SOCIAL
*/
html:has(#social) {
    margin-top: 0!important;
}
body:has(#social) {
    #wpadminbar, #main-header, header.entry-header, .wp-site-blocks .post-thumbnail, div.entry-content > figure, div.entry-content > h1, div.entry-content > h2, div.entry-content > h3, div.entry-content > h4, div.entry-content > p, div.entry-content > ul, div.entry-content > ol, div.entry-content > hr, div.entry-content > div#iscriviti, nav.navigation, div.entry-related, #comments, footer, #cmplz-manage-consent {
        display: none;
    }
}
body:has(#social) #inner-wrap {
    background-color: black;
}
#copySocial {
    color: white;
    font-weight: bolder;
    font-size: 30px;
    margin-right: .5em;
    margin-bottom: .5em;
    margin-left: 1px;
    padding: 0 20px;
}
#social {
    position: relative;
    width: 600px;
    height: 755px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    overflow: hidden;
    /* margin-left: -0.5px; */
    #hashtag {
        position: absolute;
        width: 755px;
        text-align: center;
        text-shadow: black 1px 1px 3px;
        z-index: 999;
        padding-left: 30px;
        display: inline-block;
        transform: translateX(-330px) translateY(360px) rotate(90deg);
        margin-bottom: 0;
    }
    #hashtag.no-hash {
        display: none;
    }
    #logo {
        position: absolute;
        right: 0;
        top: 0;
        max-width: 150px;
        padding: 0 0 5px 10px;
        border-radius: 0 0 0 45px;
        background-image: linear-gradient(to left, #ffffffa0, #ffffff00);
        z-index: 999;
    }
    #logo.no-logo {
        display: none;
    }
    #dettagli {
        position: absolute;
        width: 100%;
        bottom: -10px;
        left: 0;
        padding: 10px 10px 30px 10px;
        text-align: center;
        background-image: linear-gradient(to right, #000000, #00000030);
        border-radius: 0 80px 0 0;
        h3 {
            line-height: 1.2;
            text-align: center;
        }
    }
    #dettagli.no-overlay {
        display: none;
    }
}
#social-testo {
    margin-top: 3em;
    margin-bottom: 2em;
    margin-left: 1px;
    h3 {
        margin-bottom: 3px;
    }
    pre {
        color: black;
    }
    #copy, #copyInsta, #copyComment {
        float: left;
        color: white;
        font-weight: bolder;
        font-size: 30px;
        margin-right: .5em;
        padding: 0 20px;
    }
}

/*
    PROSSIMAMENTE
*/
html:has(#prossimamente) {
    margin-top: 0!important;
}
body:has(#prossimamente) {
    #wpadminbar, #main-header, header.entry-header, .wp-site-blocks .post-thumbnail, div.entry-content > figure, div.entry-content > h1, div.entry-content > h2, div.entry-content > h3, div.entry-content > h4, div.entry-content > p, div.entry-content > ul, div.entry-content > ol, div.entry-content > hr, div.entry-content > div#iscriviti, nav.navigation, div.entry-related, #comments, footer, #cmplz-manage-consent {
        display: none;
    }
}
body:has(#prossimamente) #inner-wrap {
    background-color: black;
}
#copyProssimamente {
    color: white;
    font-weight: bolder;
    font-size: 30px;
    margin-right: .5em;
    margin-bottom: .5em;
    margin-left: 1px;
    padding: 0 20px;
}
#prossimamente {
    position: relative;
    width: 600px;
    height: 755px;
    background-size: cover;
    background-position: center;
    margin-bottom: 0;
    overflow: hidden;
    /* margin-left: -0.5px; */
    #hashtag {
        position: absolute;
        width: 755px;
        text-shadow: black 1px 1px 3px;
        z-index: 999;
        padding-left: 30px;
        display: inline-block;
        transform: translateX(-330px) translateY(360px) rotate(90deg);
        margin-bottom: 0;
    }
    #hashtag.no-hash {
        display: none;
    }
    #logo {
        position: absolute;
        right: 0;
        top: 0;
        max-width: 150px;
        padding: 0 0 5px 10px;
        border-radius: 0 0 0 45px;
        background-image: linear-gradient(to left, #ffffffa0, #ffffff00);
        z-index: 999;
    }
    #logo.no-logo {
        display: none;
    }
    #dettagli {
        position: absolute;
        width: 100%;
        bottom: -10px;
        left: 0;
        padding: 10px 10px 30px 10px;
        text-align: center;
        background-image: linear-gradient(to right, #000000, #00000030);
        border-radius: 0 80px 0 0;
        h3 {
            line-height: 1.2;
            text-align: center;
        }
    }
    #dettagli.no-overlay {
        display: none;
    }
}
#prossimamente-testo {
    margin-top: 3em;
    margin-bottom: 2em;
    margin-left: 1px;
    h3 {
        margin-bottom: 3px;
    }
    pre {
        color: black;
    }
    #copy, #copyInsta, #copyComment {
        float: left;
        color: white;
        font-weight: bolder;
        font-size: 30px;
        margin-right: .5em;
        padding: 0 20px;
    }
}

/*
    PALINSESTO TV
*/
article.category-palinsesto {
    div.entry-summary, .posted-on, .posted-by:after {
        display: none;
    }
}
body:has(#palinsesto) {
    div.entry-summary, div.entry-related {
        display: none;
    }
    header.entry-header {
        margin-bottom: 0;
    }
}
html:has(#collage), html:has(#single) {
    margin-top: 0!important;
}
body:has(#collage), body:has(#single) {
    #wpadminbar, #main-header, header.entry-header, .wp-site-blocks .post-thumbnail, div.entry-content > figure, div.entry-content > h1, div.entry-content > h2, div.entry-content > h3, div.entry-content > h4, div.entry-content > p, div.entry-content > ul, div.entry-content > ol, div.entry-content > hr, div.entry-content > div#iscriviti, nav.navigation, div.entry-related, #comments, footer, #cmplz-manage-consent {
        display: none;
    }
    #inner-wrap {
        background-color: black;
    }
    h3, h3 {
        margin-top: 2em;
        margin-bottom: 3px;
    }
    #copyImage, #copy, #copyInsta, #copyComment {
        float: left; 
        color: white;
        font-weight: bolder;
        font-size: 30px;
        margin-right: .5em;
        padding: 0 20px;
    }
    #previous, #next {
        float: right; 
        color: white;
        margin-left: .2em;
        font-weight: bolder;
        font-size: 48px;
        line-height: 32px;
        padding: 0 5px 16px 5px;
    }
    #buttons-name {
        display: inline-block;
        float: right;
        margin-top: 0;
        margin-left: .4em;
    }
    #text pre {
        color: black;
    }
}
body:has(#collage) {
    #text {
        padding-right: 1%;
        padding-left: 1%;
    }
    #copyImage {
        margin-left: 1%;
    }
    #next {
        margin-right: 1%;
    }
}
body:has(#single) {
    #copyImage {
        margin-bottom: 1%;
    }
    #next {
        margin-right: calc(100% - 600px);
    }
}
#palinsesto {
    #author {
        .author-name {
            margin-top: -2.8em;
            margin-left: 5.5em;
        }
        #toggles {
            margin-top: .5em;
        }
    }
    .riassunto-mobile, .riassunto-mobile-full {
        display: none;
        margin-top: -.3em;
        margin-bottom: 3em;
        font-size: 16px;
        line-height: 18px;
        .read-more {
            color: #e5383e;
            font-size: 30px;
            font-weight: bold; 
        }   
    }
}
#palinsesto, #collage {
    padding: 1%;
    a.link {
        text-decoration: none;
    }
    a.link:hover .details p, .details .ora-canale {
        color: #e5383e;
    }
    a.link:hover .details .riassunto, .details .riassunto {
        color: #ccc;
    }
    .film span.tooltip {
        display: none;
        position: absolute;
        top: 40px;
        color: white;
        background: #00000099;
        padding: 0 5px;
        right: 0;
        white-space: nowrap;
        border-radius: 5px;
    }
    .film.even {
        margin-left: 1.6%;
    }
    .film.identity {
        background-color: #ffffff40;
        padding-top: 0;
        vertical-align: top;
        border-radius: 25px;
        img {
            float: right!important;
            position: absolute;
            top: 0;
        }
        p {
            text-align: center;
        }
        p.site-title {
            position: absolute;
            width: 100%;
            margin: 90px auto -10px auto;
            font-size: 70px;
            font-family: var(--global-heading-font-family);
            color: white;
            text-shadow: 2px 2px #666;
        }
        p.site-description {
            position: absolute;
            width: 100%;
            margin: 200px auto -10px auto;
            color: #ef0606 !important;
            text-shadow: 1px 1px #666;
            font-family: var(--global-heading-font-family);
            font-size: 26px;
            margin-bottom: .5em;
        }
        p.palinsesto-title {
            position: absolute;
            width: 100%;
            margin: 250px auto -10px auto;
            font-family: var(--global-heading-font-family);
            color: white;
            text-shadow: 1px 1px #666;
            text-align: center;
            font-size: 28px;
        }
    }   
    .generi {
        position: absolute;
        top: 5px;
        left: 5px;
    }
    .genere {
        position: absolute;
        width: 25px;
        height: 25px;
        border-radius: 15px;
        border: 1px solid #ffffffaa;
    }
    #author {
        width: 19%;
        display: inline-block;
        vertical-align: bottom;
        text-align: left;
        .author-name {
            position: absolute;
            display: inline-block;
        }
    }
    #legenda {
        display: inline-block;
        width: 80%;
        padding-left: 50px; 
        margin-top: -50px;
        margin-bottom: 1.5em;
        h4 {
            transform: translateX(-235px) translateY(-85px) rotate(270deg);
            width: 400px;
            font-size: 20px;
        }
        .legenda-genere {
            display: inline-block;
            width: 24.5%;
            p {
                font-size: 18px;
                margin-left: 36px;
                margin-bottom: .3em;
            }
        }
    }
}
#palinsesto, #collage, #single {
    .film {
        position: relative;
        display: inline-block;
        width: 49%;
        height: 320px;
        background-size: cover;
        background-position-x: center;
        background-position-y: center;
        margin-bottom: 1em;
        .canale {
            float: right;
            width: 70px;
        }   
        .details {
            display: inline-block;
            bottom: 0;
            position:  absolute;
            width: 100%;
            margin-left: 0;
            padding: .5em .5em 0 .5em;
            background-color: #00000080;
            border-radius: 10px 10px 0 0;
            h3 {
                margin-top: 0;
                margin-bottom: 0;
                font-weight: bold;
                font-size: 24px;
                color: white;
                text-transform: none;
            }
            .ora-canale {
                margin-bottom: 0;
                font-weight: bold;
                font-size: 24px;
            }
            .riassunto {
                font-size: 18px;
                line-height: 1.3em;
                margin-bottom: .3em;
            }
        }
    }
}
#collage {
    background-color: black;
    #author {
        a {
            display: inline-block;
        }
        .author-name {
            margin-top: 2.5em;
        }
    }
}
#single {
    position: relative;
    background-color: black;
    width: 600px;
    height: 754px;
    .film {
        width: 600px;
        height: 755px;
        /* height: 754px;
        width: 600.5px;
        margin-left: -0.5px; */
        .details {
            width: 757px;
            transform: translateX(-302px) translateY(-302px) rotate(90deg);
            .ora-canale {
                text-shadow: 1px 1px #ffffff55;
                font-weight: bold;
                color: #ef0606;
            }
            .riassunto {
                padding-bottom: 1em;
            }
        }
    }
    #author {
        position: absolute;
        bottom: 0;
        left: 100px;
        width: 400px;
        background-image: url(/wp-content/themes/kadence-child/images/hde-logo-black-fog-large.webp);
        background-size: contain;
        background-repeat: no-repeat;
        background-position: center;
        .site-description {
            margin-top: -10px;
            margin-bottom: 40px;
            color: #ef0606 !important;
            text-shadow: 1px 1px #666;
            font-size: 24px;
            font-weight: bold;
        }
        p.site-title {
            margin-top: 60px;
            margin-bottom: 0;
            font-size: 64px;
            font-family: var(--global-heading-font-family);
            color: white;
            text-shadow: 2px 2px 4px black;
        }
    }
}

/*
    MOBILE VIEW
*/
@media only screen and (max-width: 1024px) {

    /* overflow hidden suggested by NitroPack */
    html, body {
        overflow-x: hidden;
    }

    /* pics in mobile view - but respect avatars and palinsesto */
    .entry-content figure {
        width: 100%!important;
    }
    .category-palinsesto .entry-content figure {
        width: 200px!important;
    }
    .entry-content img:not(.canale):not(.avatar) {
        width: 100%;
        margin-bottom: .5em;
    }
    .home .entry-content img:not(.canale):not(.avatar) {
        margin-bottom: 0;
    }

    /* user page */
    .entry-content #iscriviti a.logo img {
        width: 64px!important;
        margin-bottom: 0!important;
    }
    .entry-content #iscriviti p.invito {
        font-size: 14px;
    }

    /* posts thumbnails and meta */
    .single-post .type-post .entry-content-wrap .entry-header {
        top: -195px;
        .entry-title {
            font-size: 24px;
        }
    }
    .content-style-unboxed .kadence-thumbnail-position-behind:after {
        background: linear-gradient(0deg, var(--global-palette9) 10%, rgba(var(--global-palette9rgb), 0.7) 30%, rgba(255, 255, 255, 0) 80%);
    }

    /* palinsesto mobile */
    article.category-palinsesto .entry-content > p, article.category-palinsesto .entry-content > figure {
        display:none;
    }
    #palinsesto {
        padding: 0;
        .responsive {
            width: 100%;
        }
        p.palinsesto-title {
            font-size: 16px;
            margin-top: 160px;
        }
        .film {
            margin: 0;
            width: 100%;
            height: 240px;
        }
        .film.even {
            margin-left: 0;
        }
        .canale {
            position: absolute;
            top: 0;
            right: 0;
            width: 50px;
        }
        .riassunto {
            display: none;
        }
        .riassunto-mobile {
            display: block;
        }
        #legenda h4 {
            transform: translateX(-235px) translateY(-55px) rotate(270deg);
        }
        #legenda, #author {
            width: 100%;
        }
        .legenda-genere {
            width: 49%!important;
        }
        #author {
            vertical-align: unset;
        }
    }

    /* footer */
    #colophon #block-41 p {
        font-size: 12px!important;
    }
}
