/*
Theme Name: Magno Child
Theme URI: https://www.magnoengenhariaeconstrucao.com.br/
Description: Tema filho da Magno Engenharia baseado no Twenty Twenty-Five.
Author: Magno Engenharia
Template: twentytwentyfive
Version: 1.0.0
Text Domain: magno-child
*/


/* =========================================================
   RESET
========================================================= */

html,
body{
    margin:0;
    padding:0;

    width:100%;
    max-width:100%;

    overflow-x:hidden;
}

body{
    background:#ffffff;

    color:#171717;

    font-family:'Poppins',Arial,sans-serif;
}

*,
*::before,
*::after{
    box-sizing:border-box;
}

img{
    max-width:100%;
    height:auto;
}


/* =========================================================
   HEADER MAGNO
========================================================= */

.magno-single-header{
    position:sticky;

    top:0;

    width:100%;
    max-width:100%;

    margin:0;
    padding:0;

    z-index:999999;

    background:#080B09;

    font-family:'Poppins',Arial,sans-serif;

    transition:
        background-color .30s ease,
        box-shadow .30s ease;
}


/* barra administrativa WP */

body.admin-bar .magno-single-header{
    top:32px;
}


/* header verde depois da rolagem */

.magno-single-header.magno-rolou{
    background:#00B354;

    box-shadow:
        0 4px 18px
        rgba(0,0,0,.18);
}


/* =========================================================
   INTERIOR HEADER
========================================================= */

.magno-single-header-inner{
    width:100%;
    max-width:1240px;

    height:80px;

    margin:0 auto;

    padding:0 22px;

    display:flex;

    align-items:center;
    justify-content:space-between;

    gap:35px;
}


/* =========================================================
   LOGO
========================================================= */

.magno-single-logo{
    display:flex;

    align-items:center;
    justify-content:flex-start;

    flex:0 0 auto;

    text-decoration:none;
}

.magno-single-logo img{
    display:block;

    width:135px;
    max-width:135px;

    height:auto;
}


/* deixa branca quando header fica verde */

.magno-single-header.magno-rolou
.magno-single-logo img{
    filter:
        brightness(0)
        invert(1);
}


/* =========================================================
   MENU DESKTOP
========================================================= */

.magno-single-menu{
    display:flex;

    align-items:center;
    justify-content:flex-end;

    gap:29px;

    margin-left:auto;
}

.magno-single-menu a{
    position:relative;

    display:block;

    padding:12px 0;

    color:#ffffff;

    font-family:'Poppins',Arial,sans-serif;

    font-size:16px;
    line-height:1.2;
    font-weight:400;

    text-decoration:none;

    white-space:nowrap;
}


/* =========================================================
   LINHA MENU
========================================================= */

.magno-single-menu a::after{
    content:"";

    position:absolute;

    left:0;
    right:0;
    bottom:3px;

    width:100%;
    height:3px;

    background:#ffffff;

    border-radius:3px;

    transform:scaleX(0);

    transform-origin:center;

    transition:transform .27s ease;
}


.magno-single-menu a:hover::after,
.magno-single-menu a.magno-ativo::after{
    transform:scaleX(1);
}


/* =========================================================
   HAMBÚRGUER
========================================================= */

.magno-single-toggle{
    display:none;

    width:48px;
    height:48px;

    flex:0 0 48px;

    margin:0;
    padding:0;

    border:0;
    outline:0;

    background:transparent;

    align-items:center;
    justify-content:center;

    flex-direction:column;

    gap:5px;

    cursor:pointer;
}

.magno-single-toggle span{
    display:block;

    width:28px;
    height:3px;

    border-radius:5px;

    background:#ffffff;

    transition:
        transform .25s ease,
        opacity .20s ease;
}


/* X */

.magno-single-toggle.magno-aberto span:nth-child(1){
    transform:
        translateY(8px)
        rotate(45deg);
}

.magno-single-toggle.magno-aberto span:nth-child(2){
    opacity:0;
}

.magno-single-toggle.magno-aberto span:nth-child(3){
    transform:
        translateY(-8px)
        rotate(-45deg);
}


/* =========================================================
   MENU MOBILE
========================================================= */

.magno-single-mobile{
    display:none;

    width:100%;

    margin:0;
    padding:5px 0;

    background:#080B09;

    border-top:
        1px solid
        rgba(255,255,255,.08);

    box-shadow:
        0 14px 25px
        rgba(0,0,0,.22);
}

.magno-single-mobile.magno-aberto{
    display:block;
}

.magno-single-header.magno-rolou
.magno-single-mobile{
    background:#00B354;
}

.magno-single-mobile a{
    display:block;

    width:100%;

    padding:14px 24px;

    color:#ffffff;

    font-family:'Poppins',Arial,sans-serif;

    font-size:15px;
    line-height:1.35;
    font-weight:400;

    text-decoration:none;

    border-bottom:
        1px solid
        rgba(255,255,255,.11);
}

.magno-single-mobile a:last-child{
    border-bottom:0;
}

.magno-single-mobile a:hover{
    background:
        rgba(255,255,255,.08);
}


/* =========================================================
   HERO DO ARTIGO
========================================================= */

.magno-post-hero{
    position:relative;

    width:100%;
    min-height:390px;

    display:flex;

    align-items:flex-end;

    background-color:#0a0d0b;

    background-size:cover;

    background-position:center center;

    background-repeat:no-repeat;

    color:#ffffff;
}

.magno-post-hero::before{
    content:"";

    position:absolute;

    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(0,0,0,.78) 0%,
            rgba(0,0,0,.60) 48%,
            rgba(0,0,0,.38) 100%
        );
}

.magno-post-hero-inner{
    position:relative;

    z-index:2;

    width:100%;
    max-width:1120px;

    margin:0 auto;

    padding:
        85px 30px
        58px;
}


/* =========================================================
   BREADCRUMB
========================================================= */

.magno-post-breadcrumb{
    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:6px;

    margin:0 0 14px;

    font-size:13px;
    line-height:1.45;
    font-weight:500;

    color:
        rgba(255,255,255,.88);
}

.magno-post-breadcrumb a{
    color:#ffffff;

    text-decoration:none;
}

.magno-post-breadcrumb a:hover{
    text-decoration:underline;
}


/* =========================================================
   TÍTULO DO ARTIGO
========================================================= */

.magno-post-title{
    max-width:900px;

    margin:0;

    padding:0;

    color:#ffffff;

    font-family:'Poppins',Arial,sans-serif;

    font-size:46px;
    line-height:1.12;
    font-weight:600;

    letter-spacing:-1px;
}


/* =========================================================
   META
========================================================= */

.magno-post-meta{
    display:flex;

    align-items:center;

    flex-wrap:wrap;

    gap:10px;

    margin-top:18px;

    color:
        rgba(255,255,255,.84);

    font-size:13px;
    line-height:1.4;
}


/* =========================================================
   CONTEÚDO DO POST
========================================================= */

.magno-post-main{
    width:100%;

    background:#ffffff;
}

.magno-post-container{
    width:100%;
    max-width:920px;

    margin:0 auto;

    padding:
        65px 30px
        72px;
}

.magno-post-content{
    color:#292929;

    font-family:'Poppins',Arial,sans-serif;

    font-size:17px;
    line-height:1.8;
    font-weight:400;
}


/* =========================================================
   PARÁGRAFOS
========================================================= */

.magno-post-content p{
    margin:
        0 0
        24px;
}


/* =========================================================
   TÍTULOS INTERNOS
========================================================= */

.magno-post-content h2{
    margin:
        45px 0
        18px;

    color:#111111;

    font-size:30px;
    line-height:1.25;
    font-weight:600;
}

.magno-post-content h3{
    margin:
        36px 0
        15px;

    color:#111111;

    font-size:24px;
    line-height:1.3;
    font-weight:600;
}

.magno-post-content h4{
    margin:
        30px 0
        14px;

    color:#111111;

    font-size:20px;
    line-height:1.35;
    font-weight:600;
}


/* =========================================================
   LISTAS
========================================================= */

.magno-post-content ul,
.magno-post-content ol{
    margin:
        0 0
        25px;

    padding-left:26px;
}

.magno-post-content li{
    margin-bottom:9px;
}


/* =========================================================
   LINKS
========================================================= */

.magno-post-content a{
    color:#00A850;

    text-decoration:underline;
}


/* =========================================================
   IMAGENS
========================================================= */

.magno-post-content img{
    display:block;

    max-width:100%;
    height:auto;

    margin:
        32px auto;

    border-radius:14px;
}


/* =========================================================
   FIGURE / GUTENBERG
========================================================= */

.magno-post-content figure{
    max-width:100%;

    margin:
        32px auto;
}

.magno-post-content figure img{
    margin:0 auto;
}

.magno-post-content figcaption{
    margin-top:8px;

    color:#777777;

    font-size:13px;
    line-height:1.45;

    text-align:center;
}


/* =========================================================
   BLOCKQUOTE
========================================================= */

.magno-post-content blockquote{
    margin:
        35px 0;

    padding:
        23px 26px;

    border-left:
        4px solid
        #00B95A;

    background:#f5f5f5;

    border-radius:
        0 10px 10px 0;

    color:#303030;

    font-size:18px;
    line-height:1.65;
}


/* =========================================================
   TABELAS
========================================================= */

.magno-post-content table{
    width:100%;

    margin:
        30px 0;

    border-collapse:collapse;
}

.magno-post-content th,
.magno-post-content td{
    padding:12px 14px;

    border:1px solid #dddddd;

    text-align:left;
}


/* =========================================================
   EMBEDS
========================================================= */

.magno-post-content iframe{
    width:100%;
    max-width:100%;

    border:0;

    border-radius:12px;
}


/* =========================================================
   CTA
========================================================= */

.magno-post-cta{
    width:100%;

    margin-top:55px;

    padding:
        38px 40px;

    background:#080B09;

    border-radius:18px;

    color:#ffffff;

    text-align:center;
}

.magno-post-cta h3{
    margin:
        0 0
        10px;

    color:#ffffff;

    font-size:27px;
    line-height:1.25;
    font-weight:600;
}

.magno-post-cta p{
    max-width:650px;

    margin:
        0 auto
        22px;

    color:
        rgba(255,255,255,.83);

    font-size:15px;
    line-height:1.6;
}

.magno-post-cta a{
    display:inline-flex;

    min-height:45px;

    padding:
        11px 25px;

    align-items:center;
    justify-content:center;

    border-radius:30px;

    background:#00B95A;

    color:#ffffff;

    font-size:14px;
    font-weight:600;

    text-decoration:none;

    transition:
        background .2s ease,
        transform .2s ease;
}

.magno-post-cta a:hover{
    background:#00A34F;

    transform:
        translateY(-2px);
}


/* =========================================================
   VOLTAR
========================================================= */

.magno-voltar-blog{
    margin-top:34px;

    text-align:center;
}

.magno-voltar-blog a{
    color:#00A850;

    font-size:14px;
    line-height:1.4;
    font-weight:500;

    text-decoration:none;
}


/* =========================================================
   FOOTER
========================================================= */

.magno-single-footer{
    width:100%;

    background:#050706;

    color:#ffffff;

    font-family:'Poppins',Arial,sans-serif;
}

.magno-single-footer-inner{
    width:100%;
    max-width:1240px;

    margin:0 auto;

    padding:
        58px 25px
        48px;

    display:grid;

    grid-template-columns:
        1.1fr .8fr 1.05fr 1.35fr;

    gap:50px;
}


/* =========================================================
   LOGO FOOTER
========================================================= */

.magno-single-footer-logo{
    display:inline-block;

    text-decoration:none;
}

.magno-single-footer-logo img{
    display:block;

    width:185px;
    height:auto;

    margin-bottom:27px;
}


/* =========================================================
   FOOTER TEXTOS
========================================================= */

.magno-single-footer h3{
    margin:
        0 0
        18px;

    color:#ffffff;

    font-size:16px;
    line-height:1.3;
    font-weight:600;

    text-transform:uppercase;
}

.magno-single-footer p,
.magno-single-footer a{
    color:#ffffff;

    font-size:14px;
    line-height:1.65;

    text-decoration:none;
}

.magno-single-footer ul{
    list-style:none;

    margin:0;
    padding:0;
}

.magno-single-footer li{
    margin-bottom:9px;
}

.magno-single-footer a:hover{
    color:#00B95A;
}


/* =========================================================
   COPYRIGHT
========================================================= */

.magno-single-footer-bottom{
    width:100%;

    padding:
        13px 20px;

    background:#00B95A;

    color:#ffffff;

    text-align:center;

    font-size:13px;
    line-height:1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media(max-width:1024px){

    .magno-single-footer-inner{
        grid-template-columns:
            1fr 1fr;

        gap:40px 50px;
    }

}


/* =========================================================
   MOBILE HEADER
========================================================= */

@media(max-width:900px){

    .magno-single-menu{
        display:none;
    }

    .magno-single-toggle{
        display:flex;
    }

    .magno-single-header-inner{
        height:92px;

        padding:
            12px 20px
            4px;
    }

    .magno-single-logo img{
        width:145px;
        max-width:145px;
    }

}


/* barra administrativa mobile */

@media(max-width:782px){

    body.admin-bar
    .magno-single-header{
        top:46px;
    }

}


/* =========================================================
   MOBILE CONTEÚDO
========================================================= */

@media(max-width:767px){

    .magno-post-hero{
        min-height:340px;
    }

    .magno-post-hero-inner{
        padding:
            70px 22px
            38px;
    }

    .magno-post-title{
        font-size:34px;

        line-height:1.14;

        letter-spacing:-.6px;
    }

    .magno-post-container{
        padding:
            45px 21px
            52px;
    }

    .magno-post-content{
        font-size:16px;

        line-height:1.72;
    }

    .magno-post-content h2{
        font-size:27px;
    }

    .magno-post-content h3{
        font-size:22px;
    }

    .magno-post-content blockquote{
        padding:
            20px 19px;

        font-size:16px;
    }

    .magno-post-cta{
        margin-top:42px;

        padding:
            30px 22px;

        border-radius:15px;
    }

    .magno-post-cta h3{
        font-size:23px;
    }

    .magno-single-footer-inner{
        grid-template-columns:1fr;

        gap:34px;

        padding:
            45px 25px
            40px;
    }

}


/* =========================================================
   MOBILE PEQUENO
========================================================= */

@media(max-width:480px){

    .magno-single-header-inner{
        height:90px;

        padding:
            12px 17px
            4px;
    }

    .magno-single-logo img{
        width:142px;
        max-width:142px;
    }

    .magno-post-title{
        font-size:30px;
    }

}