/**
 * Theme Name:     Spagna Podcast Child
 * Author:         Giancarlo Lavenuta
 * Template:       spagna-podcast
 * Text Domain:	   spagna-podcast-child
 * Description:    
 */

/*** Fuente ***/
@font-face {
    font-family: 'Mega Fresh';
    src: url('fuente/mega_fresh-webfont.ttf') format('truetype');
    font-style: normal;
    font-weight: normal;
}

/*** Colores ***/

:root {
	--primary-color: #f24c4c; /*rojo*/
	--secondary-color: #333; /*gris muy oscuro*/
    --third-color: #fdc128; /*Amarillo*/
	--white: #fff;
	--black: #000;
    --especial01: #FF4C52; /*Variante rojo*/
  
    --family-texto: "stolzl", sans-serif;
	--family-opcional: "Mega Fresh", sans-serif;
  }

/*** General ***/
body.page {
    margin: unset;
    padding: unset;
    width: unset
}

.t-podcast-spagne .u-fuente-opcional {
    font-family: var(--family-opcional);
    font-size: 10rem;
    font-weight: 400;
    line-height: 1.2;
    text-transform: unset
}
.t-podcast-spagne .u-fuente-normal {font-family: var(--family-texto);}

/*** home ***/
.home * {box-sizing: border-box}

.home h1 {
    left: 50%;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    z-index: 1
}
.home .u-contenedora {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
    min-height: 20rem;
    position: relative;
    width: 100%;
    z-index: 2
}
    .home .u-contenedora .c-selecciona {
        background: #fff;
        align-items: stretch;
        display: flex;
        justify-content: space-between;
        margin: 0 auto;
        max-width: 70rem;
        padding: 1.5rem;
        width: 100%
    }
    .home .c-selecciona > div {
        align-content: flex-end;
        background: transparent url() no-repeat center center;
        border-radius: 1rem;
        box-shadow: 0 4px 19px 0 rgba(0, 0, 0, 0.51);
        display: flex;
        flex-wrap: wrap;
        height: 34rem;
        padding: 1.5rem 1.75rem;
        position: relative;
        width: 30rem
    }
        .home .c-selecciona .c-el-viaje {
            background-image: url("../../uploads/2024/05/fndElViaje.jpg");
            background-size: cover;
        }
        .home .c-selecciona .c-spagna {
            background-color: var(--especial01);
            background-image: url("../../uploads/2024/06/fndSpagna.png");
            background-position: center top;
            background-size: 20rem;
        }
        .home .c-el-viaje::before {
            background: rgba(0, 0, 0, 0.3);
            border-radius: 1rem;
            content: '';
            height: 100%;
            left: 0;
            position: absolute;
            top: 0;
            width: 100%;
            z-index: 1
        }
        .home .c-el-viaje img {max-width: 22rem}
        .home .c-spagna p,
        .home .c-el-viaje p {
            color: var(--white);
            padding: 0 0 1.5rem;
            position: relative;
            text-align: center;
            width: 100%;
            z-index: 2
        }
            .home .c-spagna p:last-child,
            .home .c-el-viaje p:last-child {padding: 0}
        .home .c-spagna a,
        .home .c-el-viaje a {
            background: var(--third-color);
            border-radius: 1.5rem;
            color: var(--white);
            display: inline-block;
            padding: .75rem 1rem;
            text-align: center;
            transition: .5s;
            width: 100%
        }
            .home .c-spagna a {
                background: var(--white);
                color: var(--primary-color)
            }
            .home .c-spagna a:focus,
            .home .c-spagna a:hover,
            .home .c-el-viaje a:focus,
            .home .c-el-viaje a:hover {background: var(--secondary-color)}
            .home .c-spagna a:focus,
            .home .c-spagna a:hover {color: var(--white)}

/*** interiores ***/

/** Podcast Spagna **/
.t-podcast-spagne .superpage + .superpage {padding: 0 .5rem}

.t-podcast-spagne .elem-1 {
    background-image: url("../../uploads/2024/05/imgAdorno02.png");
    z-index: 3
}
.t-podcast-spagne .elem-2 {
    background-image: url("../../uploads/2024/05/imgAdorno01.png");
    right: -90px
}
.t-podcast-spagne .elem-3 {
    background-image: url("../../uploads/2024/05/imgAdorno03.png");
    bottom: 350px
}

.t-podcast-spagne .u-rojo {background: var(--primary-color)}

.u-rojo .titolo-top .logo {margin: 1rem 0}
.u-rojo .titolo-top p,
.u-rojo .titolo-top h6 {color: var(--white)}
    .u-rojo .titolo-top p {font-size: 1rem}
.u-rojo a.button {
    background: var(--white);
    color: var(--primary-color) !important;
}
    .u-rojo a.button:focus,
    .u-rojo a.button:hover {
        background: var(--secondary-color);
        color: var(--white) !important
    }
    .u-rojo a.button svg path {
        fill: var(--primary-color);
        transition: .5s
    }
        .u-rojo a.button:focus svg path,
        .u-rojo a.button:hover svg path {fill: var(--white)}

.u-rojo a.slick-arrow {background: var(--white)}

/** Podcast individual **/
body.single-podcast {
    clear: unset;
    display: unset;
    margin: unset
}
.superpage.t-spagna .logo-single {width: 12.5rem}
.superpage.t-spagna .yellow {
    background: var(--primary-color) !important;
    color: var(--white)
}
.superpage.t-spagna .yellow p,
.superpage.t-spagna .yellow h4,
.superpage.t-spagna .yellow h6,
.superpage.t-spagna .yellow h6 .time-pod {color: var(--white) !important}
.superpage.t-spagna .yellow .line {background: var(--white)}
.superpage.t-spagna .yellow svg {fill: var(--white)}

.superpage.t-spagna h4.u-spagna {
    font-family: var(--family-opcional);
    font-size: 3.5rem;
    line-height: 1.2
}

.superpage .u-ritorno {
    margin: 0 0 2rem;
    padding: 0
}
    .superpage.u-rojo .u-ritorno,
    .superpage.yellow .u-ritorno {
        left: 1.25rem;
        margin: 0;
        position: absolute;
        top: 3.75rem;
        z-index: 3
    }
        .superpage.yellow .u-ritorno {top: 2rem}
    .superpage .u-ritorno svg {
        margin: 0 .5rem 0 0;
        transform: rotate(180deg)
    }

/*** Responsive ***/

@media only screen and (max-width: 1440px) {
    body.page {
        margin: unset;
        padding: unset !important;
        width: unset
    }
    .u-rojo .titolo-top h6 {margin: 1rem 0}
    .u-rojo .titolo-top p {
        font-size: .9375rem;
        padding: 0;
    }
}

@media screen and (max-width: 1400px) {
    .t-podcast-spagne .u-fuente-opcional {font-size: 9rem}
    .superpage.u-rojo {padding-top: 3rem}
    .superpage.u-rojo .u-ritorno {top: 2.75rem}
    .u-rojo .page-top {padding: 3rem 1.5rem 0 !important}
    .u-rojo .titolo-top {width: 31%}
    .u-rojo .logo img {max-width: 22rem;}
    .u-rojo .titolo-top p {font-size: .875rem}
    .u-rojo .carosello-content {margin-top: 3rem}
    .u-rojo .white {height: 3rem}
}

@media screen and (max-width: 1300px) {
    .u-rojo .white {height: 2rem}
    .yellow .elem-3,
    .t-podcast-spagne .elem-3 {
        bottom: 300px;
        left: 35vw;
        right: auto;
    }
    .yellow .elem-3 {bottom: 200px;}
    .yellow .logo img {
        max-width: 20rem;
        width: 100%
    }
}

@media screen and (max-width: 1279px) {
    .superpage.u-rojo .u-ritorno {top: 1.25rem}
    .u-rojo .logo img {max-width: 20rem;}
    .u-rojo .white {height: 1.5rem}
    .superpage.yellow .u-ritorno {top: 1rem}
}

@media screen and (max-width: 1200px) {
    .home .u-contenedora .c-selecciona {padding: 2rem 3rem;}
    .home .c-selecciona > div {
        height: 32rem;
        width: 28rem
    }
    .home .c-selecciona > div p {padding: 0 0 1rem}
    .home .c-selecciona .c-el-viaje img {max-width: 20rem}
	.home .c-selecciona .c-spagna {background-size: 18rem}

    .t-podcast-spagne .elem-3 {bottom: 250px}
    .superpage.t-spagna h4.u-spagna {font-size: 3rem}
    .yellow .logo img {max-width: 18rem}
}

@media only screen and (max-width: 1199px) {
    .u-rojo .page-top {padding: 2rem 1.5rem 1rem !important;}
    .u-rojo .titolo-top {width: 37%}
    .u-rojo .logo img {max-width: 18rem;}
    .u-rojo .titolo-top p {font-size: .8125rem}
    .u-rojo a.slick-arrow {
        background: var(--primary-color);
        bottom: -2.25rem !important;
    }
    .t-podcast-spagne .elem-3 {left: 37vw}
    .yellow .logo img {max-width: 16rem}
}

@media screen and (max-width: 1100px) {
    .t-podcast-spagne .elem-3 {left: 40vw}
    .u-rojo .titolo-top {width: 40%}
    .u-rojo .titolo-top p {font-size: .75rem}
    .u-rojo .logo img {max-width: 16rem;}
    .u-rojo .titolo-top h6 {margin: .75rem 0;}
    .u-rojo .carosello-content {
        margin-top: 6rem;
        width: 55%
    }
}

@media screen and (max-width: 1024px) {
    .home .c-selecciona > div {
        height: 30rem;
        width: 26rem
    }
    .home .c-selecciona .c-el-viaje img {max-width: 18rem}

    .t-podcast-spagne .u-fuente-opcional {font-size: 8rem}
    .yellow .logo img {max-width: 14rem}
}

@media screen and (max-width: 999px) {
    .u-rojo .elem-1,
    .yellow .elem-1 {top: 400px}
    .u-rojo .elem-2 {right: -70px}
    .yellow .elem-3,
    .u-rojo .elem-3 {left: 0}
    .u-rojo .titolo-top {width: 100%}
    .yellow .carosello-content,
    .u-rojo .carosello-content {
        padding: 0 2rem;
        width: calc(100% - 4rem)
    }
    .u-rojo .carosello-content {margin-top: 2rem}
    .u-rojo a.slick-arrow {bottom: -3rem !important}
}

@media screen and (max-width: 950px) {
    .home .c-selecciona > div {
        height: 28rem;
        width: 22rem
    }
    .home .c-selecciona .c-el-viaje img {max-width: 16rem}
    .home .c-selecciona .c-spagna {background-size: 16rem}
    .home .c-selecciona p {font-size: .9375rem;}
}

@media screen and (max-width: 820px) {
    .home .c-selecciona > div {width: 20rem}
    .home .c-selecciona .c-el-viaje img {max-width: 14rem}
    .home .c-selecciona .c-spagna {background-size: 14rem}
    .home .c-selecciona p {font-size: .875rem;}
}

@media screen and (max-width: 750px) {
    .home .u-contenedora {height: auto}
    .home .u-contenedora .c-selecciona {
        align-items: normal;
        flex-wrap: wrap;
        justify-content: center;
        padding: 3rem 1rem;
    }
    .home .c-selecciona > div {
        height: 28rem;
        width: 26rem
    }
    .home .c-selecciona .c-el-viaje img {max-width: 16rem}
    .home .c-selecciona .c-spagna {
        background-size: 16rem;
        margin-top: 3rem
    }
    .home .c-selecciona p {font-size: 1rem;}
    .yellow .elem-1,
    .u-rojo .elem-1 {right: 90px}
        .u-rojo .elem-1 {top: 475px}
    .yellow .elem-2,
    .u-rojo .elem-2 {bottom: 175px}
    .yellow .elem-3,
    .u-rojo .elem-3 {bottom: 200px}
    .t-podcast-spagne .u-fuente-opcional {font-size: 7rem}
    .superpage.t-spagna h4.u-spagna {font-size: 2.5rem}
}

@media screen and (max-width: 480px) {
    .home .c-selecciona > div {
        height: 29rem;
        width: calc(100% - 4rem)
    }

    .yellow .elem-1,
    .u-rojo .elem-1 {
        right: 40px;
        top: 525px
    }
    .yellow .elem-2,
    .u-rojo .elem-2 {bottom: 100px}
    .yellow .elem-3,
    .u-rojo .elem-3 {bottom: 125px}
    .t-podcast-spagne .u-fuente-opcional {font-size: 6rem}
}
@media screen and (max-width: 420px) {
    .home div.main {overflow: visible !important}
    .home .c-selecciona > div {
        height: 30rem;
        width: calc(100% - 3rem)
    }
    .home .c-selecciona .c-spagna {margin-top: 2rem}
    .home .u-contenedora .c-selecciona {padding: 2rem 0}

    .u-rojo .carosello-content {
        padding: 0 1rem;
        width: calc(100% - 2rem)
    }
    .yellow .elem-1,
    .u-rojo .elem-1 {
        right: 25px;
        top: 550px
    }
    .u-rojo .elem-1 {
        right: 20px;
        top: 575px
    }
    .yellow .elem-2,
    .u-rojo .elem-2 {bottom: 50px}
    .yellow .elem-3,
    .u-rojo .elem-3 {bottom: 75px}
    .t-podcast-spagne .u-fuente-opcional {font-size: 5rem}
    .superpage.t-spagna h4.u-spagna {font-size: 2rem}
}

@media screen and (max-width: 380px) {
    .home .c-selecciona > div {height: 32rem}
    .home .c-selecciona .c-el-viaje img {max-width: 15rem}
    .u-rojo .elem-1 {
        right: 10px;
        top: 650px
    }
    .u-rojo .carosello-content {margin-top: 3rem}
}

@media screen and (max-width: 360px) {
    .u-rojo .elem-1 {
        right: 5px;
        top: 700px
    }
    .u-rojo .carosello-content {margin-top: 4rem}
}

@media screen and (max-width: 350px) {
    .home .c-selecciona > div {height: 33rem}
    .home .c-selecciona .c-el-viaje img {max-width: 13rem}
    .u-rojo .elem-1 {
        right: 5px;
        top: 750px
    }
}
