/*!
Theme Name: Maria Teresa Madeira 2025
Version: 1.0.0
Description: A custom theme for Maria Teresa Madeira.
Author: Gabriela Silva
Author URI: gabrielagomes.tf@gmail.com
*/


html {
    scroll-behavior: smooth;
}

body {
    margin: auto;
    font-family: "Averia Serif Libre", serif;
    background-color: var(--cor-pagina);
    color: var(--cor-texto-principal);
    font-size: 14px;
}

a {text-decoration: none; color: var(--cor-primaria);}

.content {
    width: 90%;
    margin: auto;
}

.flex {
    display: flex;
}

.flex-h {flex-direction:row;}
.flex-v {flex-direction:column;}

.site-footer {
    color: #fff;
    text-align: center;
    padding: 45px 10px;
    font-size: 12px;
    letter-spacing: 0.5px;
}

.site-footer .copyright {
    margin-top: 10px;
    text-transform: uppercase;
    font-size: 11px;
}

input, textarea {
    padding: 12px 20px;
    border-radius: 0px;
    border: none;
    outline: none;
    font-family: "Averia Serif Libre", serif;
}

button, .btn, input[type="submit"] {
    padding: 12px 20px;
    border-radius: 0px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-family: "Averia Serif Libre", serif;
    background: var(--cor-primaria);
    color:black;
}

.btn-outline {
    border: 1px solid;
    background: none !important;
}

.p50 {width: 50%;}


textarea::placeholder, input::placeholder {font-style: italic;}

.title {font-size: 46px; line-height: 46px;font-weight: bold;}
.subtitle {font-size: 14px; line-height: 14px;}

footer {
    background-color: var(--cor-rodape);
}

#musica {
    color: white;
    padding: 100px 0px;
    background-position:top center;
    background-repeat:no-repeat;
    background-size:cover;
    background-attachment:fixed
}

#musica .content {max-width:1170px}

#musica #agenda .title {color: var(--cor-primaria)}

#musica .subtitle {margin: 40px 0px 20px;}

.agenda-more {display: block; text-align: center;margin-top: 30px;color: var(--cor-primaria); text-transform: uppercase;}

#agenda {
    padding-top: 100px;
    border-top: 2px solid rgba(255,255,255,0.1);
}

#header {
    height: 100vh;
    justify-content:right;
    align-items:center;
    padding:5vw;
    box-sizing:border-box;
    background-size: cover !important;
}

#header .p50 {display:flex;align-items: end;flex-direction:column;gap:60px}

.mobile {display:none;}

#header h1 {font-family: "Meddon", cursive;font-size:64px;
           text-align:right; color:white;line-height:72px;
        font-weight: 100;}

#header-page {
    height:460px;
    color:white;
    display:flex;justify-content:center;align-items:center;
    text-transform:uppercase;
    font-family: "Nanum Myeongjo", serif;
}

#header-page h1 {
    font-size:72px;
    line-height:72px;
    font-weight:100;
    letter-spacing:20px;
    text-shadow:0px 0px 20px #0000005e;
    text-align:center;
}

#top-menu .logo {margin-right:auto;}
#top-menu .menu {gap: 20px;}

@media(max-width:768px) {
    #musica {padding-bottom:5vw}

    #header .desktop {display:none;}
    .mobile {display:block;}
    #header .p50 {width:100%}

    #header-page h1 {font-size:7vw;line-height:7vw;}
}

#single-body {
    background: #ffffff;
    padding: 30px;
    width: 90%;
    margin: -30px auto 0px;
    max-width: 960px;
    position: relative;
    font-size: 16px;
    line-height: 22px;
    box-shadow:0px -30px 80px rgba(0,0,0,0.3);
        box-sizing:border-box
}

#single-body .flex {
    justify-content: space-between
}

#single-body .post-info {
    position: relative;
    margin-bottom: 50px
}

#single-body .post-info .flex {justify-content:center}

#single-body .post-info:after {
    content: '';
    display: block;
    width: 100%;
    border-bottom: 1px solid rgb(255 255 255 / .3);
    margin-top: -8px
}

#single-body .post-info h1 {
    font-size: 42px;
    line-height: 42px;
    margin: 0
}

@media (max-width: 768px) {
    #single-body .post-info h1 {
        font-size:6vw;
        line-height: 7vw
    }

    .post-nav {
        font-size: 28px
    }

    .post-nav .prev:before,.post-nav .next:after {
        width: 26px;
        height: 20px;
        background-size: 26px
    }

    #single-body {
        font-size: 4vw;
        line-height: 6vw;
        width: 100%;
    }

    #single-body .flex {
        flex-direction: column
    }

    #single-body .flex span:last-child {
        padding: 0 20px
    }
}

#single-body .post-info span a {
    color: var(--cor-primaria)
}

#single-body .post-info span a:before {
    content: '#'
}

#single-header {
    box-shadow: 0 0 40px #000;
    height: 500px;
    overflow: hidden;
    border-radius: 30px;
    position: relative;
    margin-bottom: -100px
}

#single-header img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translateX(-50%) translateY(-50%)
}

#single-header:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(to top,#1a1a1a,#0000)
}

.single #rodape {
    margin-top: 60px
}

.single #blog {
    padding-bottom: 80px
}

#single-share {
    text-align: center;
    border-top: 1px solid rgb(255 255 255 / .5);
    margin-top: 50px
}

#single-share h2 {
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 2px;
    margin: 16px 0
}

#single-share svg {
    width: 16px;
    height: auto;
    display: inline-block
}

@media (max-width: 768px) {
    #single-share svg {
        width:3vw
    }
}

#single-share a {
    background: #4267b2;
    display: inline-flex;
    color: #fff;
    margin: 4px;
    align-items: center;
    line-height: 12px;
    border-radius: 4px
}

#single-share a.li {
    background: #0e76a8
}

#single-share a.tg {
    background: #08c
}

#single-share a.tt {
    background: #03A9F4
}

#single-share a.wpp {
    background: #25d366
}

#single-share span {
    padding: 8px
}

@media (max-width: 768px) {
    #single-share span {
        padding:8px
    }
}

#single-share .icon {
    background: #0000002e;
    border-radius: 4px 0 0 4px
}

#related_posts {
    text-align: center
}

#related_posts ul {
    display: flex;
    gap: 2%;
    flex-wrap: wrap;
    padding: 0;
    justify-content: center
}

#related_posts ul li {
    width: 32%;
    position: relative;
    display: block;
    box-shadow: 0 0 30px rgb(0 0 0 / .5)
}

#related_posts ul li .relatedcontent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    text-align: left;
    font-size: 12px;
    background: linear-gradient(to top,#0c0c1b,#0000)
}

#related_posts ul li .relatedcontent h3 {
    font-size: 22px;
    line-height: 28px;
    font-weight: 800;
    border-top: 1px solid rgb(255 255 255 / .5);
    margin: 10px 0 0;
    padding-top: 10px
}

@media (max-width: 768px) {
    #related_posts ul li .relatedcontent h3 {
        font-size:32px;
        line-height: 36px
    }
}

#related_posts ul li .relatedcontent h3 a {
    color: #fff
}

#related_posts ul li .relatedcontent span a {
    color: #fff
}

#related_posts ul li .relatedcontent span a:before {
    content: "#"
}

@media (max-width: 768px) {
    #related_posts ul li .relatedcontent {
        font-size:4vw;
        line-height: 5vw
    }
}

@media (max-width: 768px) {
    #related_posts ul li {
        width:100%
    }
}

#related_posts ul li img {
    max-width: 100%;
    border-radius: 20px
}

@media (max-width: 768px) {
    #related_posts ul {
        gap:30px
    }
}

#related_posts>h3 {
    display: inline-block;
    position: relative;
    padding: 30px 0 0 40px;
    line-height: 48px;
    margin: 40px 0;
    font-size: 24px
}

#related_posts>h3::before {
    content: '';
    width: 80px;
    height: 80px;
    display: block;
    background: url(/wp-content/themes/ibsec-2022/2024/images/semi-circle.png) no-repeat;
    background-size: contain;
    transform: rotate(180deg);
    position: absolute;
    top: 0;
    left: 0
}

#header-page.single {position:relative;}

#header-page.single:before {
    content:"";
    position:absolute;
    top:0px;
    right:0px;
    bottom:0px;
    left:0px;
    background:rgba(0,0,0,0.3);
}

#header-page.single h1 {
    font-size:48px;
    line-height:52px;
    letter-spacing:2px;
    text-align:center;
    text-transform:none;
    position:relative;
}
#header-page.single {position:relative;background-size:cover !important;}

@media(max-width: 768px) {
    #header-page.single h1 {font-size:6vw;line-height:6vw}
    #header-page.single {position:relative;background-size:cover !important;background-attachment:initial !important;}
}

blockquote, figcaption {
    margin:0px;
    padding-left:20px;
    border-left:4px solid var(--cor-primaria);
    color:darkslategray;
    font-style:italic
}

#single-body a {color:var(--cor-primaria)}
#single-body .links a {color:black}

#single-share a {color:white}

textarea#comment {
    width: 100%;
    height: 200px;
    resize: vertical;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.1);
    box-sizing: border-box;
    padding: 20px;
}

.comment-author cite {margin-top:8px;display:inline-block;}
.comment-author cite a {color:var(--yellow)}
.comment {margin-top:20px;background:rgba(0,0,0,0.1);padding:22px;border-radius:10px;}
.comment .comment {margin-bottom:0;padding-left: 32px;margin-left: 24px; border:none;background:none;border:1px solid rgba(0,0,0,0.05)}
.comment.parent {border-left:2px solid rgba(255,255,255,0.1);}
.comment .reply {margin-bottom: 0px;text-align:right;}
#single-body .comment-reply-link {background: var(--cor-primaria); padding:8px 12px;text-transform:uppercase;font-size:12px;color:darkslategray;}
.comment .avatar {float:left;margin-right:12px;border-radius:50%}
#single-body .comment-meta a {color:gray; text-transform:uppercase;font-size:12px;}