/*
Theme Name: PotterHead Full Width
Version: 22.0
*/

/* ================= RESET ================= */

*, *::before, *::after {
    box-sizing: border-box;
}

html, body {
    margin:0;
    padding:0;
    min-height:100vh;
    display:flex;
    flex-direction:column;
    overflow-x:hidden;
    font-family:"Cinzel", serif;
    color:white;
}

/* ================= FONDO ================= */

body{
    background:
        linear-gradient(
            to bottom,
            rgba(0,0,0,0.75) 0%,
            rgba(0,0,0,0.65) 40%,
            rgba(0,0,0,0.80) 100%
        ),
        url("https://wizzard.es/wp-content/uploads/2026/02/40fe44fb-d17a-4f0c-9674-e751c0fc49f0.png")
        center center / cover no-repeat fixed;
}

/* ================= HEADER ================= */

.ph-topbar{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:70px;
    background:url("https://wizzard.es/wp-content/uploads/2026/02/pared-2.png") repeat;
    background-size:120px;
    display:flex;
    align-items:center;
    justify-content:center;
    z-index:1000;
    box-shadow:
        inset 0 8px 25px rgba(0,0,0,.85),
        inset 0 -8px 25px rgba(0,0,0,.85);
}

.ph-topbar::before{
    content:"";
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.30);
    pointer-events:none;
}

.ph-topbar > *{
    position:relative;
    z-index:2;
}

/* ===== PLANTAS ===== */

.ph-header-plant-left,
.ph-header-plant-right{
    position:absolute;
    top:-5px;
    height:95px;
    opacity:.85;
    pointer-events:none;
    z-index:1;
    filter:drop-shadow(0 6px 10px rgba(0,0,0,.6));
}

.ph-header-plant-left{ left:0; }
.ph-header-plant-right{ right:0; transform:scaleX(-1); }

/* ===== LOGO ===== */

.ph-logo{
    height:72px;
    transform:translateY(12px);
}

/* ===== MENU DESKTOP ===== */

.ph-menu{
    position:absolute;
    right:45px;
}

.ph-menu ul{
    list-style:none;
    display:flex;
    gap:35px;
    margin:0;
    padding:0;
}

.ph-menu a{
    color:#d4af37;
    text-decoration:none;
    font-weight:600;
    transition:all .3s ease;
}

.ph-menu a:hover{
    color:#ffffff;
    text-shadow:0 0 10px rgba(212,175,55,.9);
}

/* ================= CONTENIDO ================= */

.ph-wrapper{
    flex:1;
    padding-top:110px;
}

.ph-content{
    width:100%;
}

/* ================= HAMBURGUESA ================= */

.ph-hamburger{
    display:none;
}

@media(max-width:768px){

    .ph-menu{
        position:fixed;
        top:70px;
        left:0;
        width:100%;
        background:rgba(0,0,0,0.95);
        padding:40px 20px;
        display:none;
        z-index:5000;
    }

    body.menu-open .ph-menu{
        display:block;
    }

    .ph-menu ul{
        flex-direction:column;
        gap:25px;
        text-align:center;
    }

    .ph-menu a{
        font-size:22px;
    }

    .ph-hamburger{
        display:flex;
        position:absolute;
        right:20px;
        width:28px;
        height:20px;
        cursor:pointer;
        flex-direction:column;
        justify-content:space-between;
        z-index:6000;
    }

    .ph-hamburger span{
        height:3px;
        background:white;
        border-radius:2px;
        transition:.3s;
    }

    .ph-wrapper{
        padding-top:95px;
    }
}


/* ===== OCULTAR TODOS LOS TITULOS DE PAGINA (ULTRA ESTRICTO) ===== */

.page h1,
.page h1.entry-title,
.page .entry-title,
.page .page-title,
.page header h1,
.page .elementor-page-title,
.page .wp-block-post-title,
.page .bbp-topic-title,
.page .bbp-forum-title {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}