/*
Theme Name: O Cafezinho
Version: 2.0
Author: hello.digital - Leandro Guedes
Author URI: https://hellodigital.pt/
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;700&display=swap');

:root {
    --red: #CD152B;
    --black: #262626;
    --gray: #898989;
    --light-gray: #F4F4F4;
    --blue: #608BCD;
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body, html {
    font-weight: 500;
    color: var(--black);
    font-size: 17px;
    font-family: 'Inter', sans-serif;
}

strong, b {
    font-weight: 700;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

    h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
        color: var(--black);
    }

    h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover {
        color: var(--red);
    }

h1 {
    font-size: 1.7rem;
}

h2 {
    font-size: 1.5rem;
}

h3 {
    font-size: 1.8rem;
}

h4 {
    font-size: 1.1rem;
}

h5 {
    font-size: .9rem;
}

article h1 {
    font-size: 2rem;
}
@media (min-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
    h2 {
        font-size: 2.0rem;
    }

    article h1 {
        font-size: 2.3rem;
    }
}

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

    a:hover {
        opacity: 1;
        color: var(--red);
    }

    a:hover img {
        
    }

.logo {
    height: 60px;
    width: auto;
}

@media (min-width: 768px) {

    .logo {
        position: absolute;
        top: 4px;
        height: 100px
    }
}

/* Navigation */
a.nav-link, .menu-item a {
    font-size: .8rem;
    color: var(--black);
}

.nav .dropdown-menu {
    box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

    .nav .dropdown-item {
        font-size: .7rem;
        color: var(--darkgray);
    }

    .nav .dropdown-item.active, .nav .dropdown-item:active {
        background-color: var(--red);
        color: white;
    }

.mobile_menu ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

    .mobile_menu ul li {
        margin-bottom: 15px;
    }

    .mobile_menu ul li a {
        font-size: 1.1rem;
    }

.border {
    border-color: #EFEFEF !important;
}

/* Buttons */
.btn {
    border-radius: 4px;
}

.btn-primary {
    background-color: var(--red);
    color: white;
    border-color: var(--red);
}

    .btn-primary:hover {
        background-color: var(--blue);
        border-color: var(--blue);
    }

.btn-outline {
    border: 1px solid #EFEFEF;
    color: var(--gray);
    font-size: .9rem;
}

    .btn-outline:hover {
        background-color: var(--red);
        color: white;
        border: 1px solid var(--red);
    }

/* Texts */
.text-gray {
    color: var(--gray);
}

.text-red {
    color: var(--red);
}

.text-blue {
    color: var(--blue);
}

.text-sm {
    font-size: .8rem;
}

/* Images */
.fit {
    object-fit: cover;
    object-position: center;
}

/* Background */
.bg-lightgray {
    background-color: var(--light-gray);
}

.tag, a[rel*=tag] {
    font-size: .8rem;
    font-weight: 700;
}

    .tag:hover, a[rel*=tag]:hover {
        opacity: .7;
        color: var(--red);
    }

.date, time {
    color: var(--gray);
    font-size: .8rem;
    background-image: url('img/icon-calendar.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: left center;
    text-indent: 25px;
}

.icon-comments {
    color: var(--gray);
    font-size: .8rem;
    background-image: url('img/icon-comments.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: left center;
    text-indent: 25px;
}

.icon-author {
    color: var(--gray);
    font-size: .8rem;
    background-image: url('img/icon-person.svg');
    background-size: 20px 20px;
    background-repeat: no-repeat;
    background-position: left center;
    text-indent: 25px;
}

    .icon-author a {
        color: var(--gray)
    }

address {
    margin: 0;
    padding: 0;
}

hr.bar {
    border: 3px solid var(--red);
    margin: 0;
    padding: 0;
    width: 100%;
    opacity: 1;
    margin-top: -50px;
}

/* Images Sizes */
.thumb-md {
    height: 185px;
    width: 100%;
}

.thumb-square {
    height: 80px;
    width: 80px;
    min-width: 80px;
    max-width: 80px;
}

ul.two-columns {
    columns: 2;
    -webkit-columns: 2;
    -moz-columns: 2;
}

footer ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

    footer ul li a {
        font-size: .8rem;
        color: var(--black);
    }

/* columnist */
.columnists .author {
    font-size: .9rem;
}

.columnists hr {
    border-top: 1px solid #EFEFEF;
    opacity: 1;
}
.columnists h3 {
    font-size: 1.2rem;
}

.google-news {
    text-align: center;
    width: 100%;
    display: block;
    border-radius: 4px;
    background-color: var(--light-gray);
    padding: 10px;
    font-size: .8rem;
    color: var(--gray);
}

figcaption {
    color: #848484;
    font-size: .8rem;
    margin: 10px 0;
}

.next-post {
}

.next-post .thumb {
    object-fit: cover;
    object-position: center;
    height: 320px;
    width: 100%;
    border-radius: 4px;
}

a.next-post-link {
    background-color: var(--light-gray);
    height: 100%;
    display: flex;
    align-items: center;
    padding: 10px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    width: 100%;
    justify-content: center;
}

@media (min-width: 768px) {
    .next-post {
        height: 320px;
    }

    .next-post .thumb {
        min-width: 320px;
    }

    a.next-post-link {
        width: 50px;
    }
}

/* Scrolling Horizontal */
.columnists {
    width: 80%;
}

.overflow-scroll {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}

.overflow-scroll::-webkit-scrollbar {
    display: none;
}

.horizontal-opaque {
    opacity: .5;
    cursor: pointer;
}

@media (min-width: 768px) {
    .columnists {
        width: 25%;
    }
}

.text img {
    max-width: 100%;
    height: auto;
}

/* WordPress Core
-------------------------------------------------------------- */
.alignnone {
    margin: 5px 20px 20px 0;
}
 
.aligncenter,
div.aligncenter {
    display: block;
    margin: 5px auto 5px auto;
}
 
.alignright {
    float:right;
    margin: 5px 0 20px 20px;
}
 
.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
 
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}
 
a img.alignnone {
    margin: 5px 20px 20px 0;
}
 
a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}
 
a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto;
}
 
.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
}
 
.wp-caption.alignnone {
    margin: 5px 20px 20px 0;
}
 
.wp-caption.alignleft {
    margin: 5px 20px 20px 0;
}
 
.wp-caption.alignright {
    margin: 5px 0 20px 20px;
}
 
.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}
 
.wp-caption p.wp-caption-text {
    font-size: .8rem;
    color: var(--gray);
    margin: 0;
    margin-top: 5px;
}
 
/* Text meant only for screen readers. */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute !important;
    width: 1px;
    word-wrap: normal !important; /* Many screen reader and browser combinations announce broken words as they would appear visually. */
}
 
.screen-reader-text:focus {
    background-color: #eee;
    clip: auto !important;
    clip-path: none;
    color: #444;
    display: block;
    font-size: 1em;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000;
    /* Above WP toolbar. */
}


/* Apoie */
section.apoie {
    padding-bottom: 80px;
    font-size: 18px;
}

section.apoie .row {
    margin-top: 35px;
}

section.apoie .plan {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 30px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

    section.apoie .plan h2 {
        font-size: 15px;
        text-transform: uppercase;
        font-weight: 700;
    }

    section.apoie .plan p.amount {
        font-size: 30px;
        margin-top: 25px;
        position: relative;
        font-weight: 700;
    }

        section.apoie .plan p.amount .superscript  {
            vertical-align: super;
            font-size: 15px;
        }

        section.apoie .plan .period  {
            font-size: 12px;
            position: absolute;
            display: inline-block;
            top: 44px;
            right: -10px;
        }

    
    @media (min-width: 768px) {
        section.apoie .plan h2 {
            font-size: 22px;
        }
        section.apoie .plan p.amount {
            font-size: 54px;
        }
        section.apoie .plan p.amount .superscript  {
            font-size: 30px;
        }
        section.apoie .plan .period  {
            font-size: 14px;
            top: 44px;
            right: 0;
        }
    }


    section.apoie .plan .buttons {
        margin-top: 35px;
    }

    section.apoie .btn-apoie {
        background-color: var(--red);
        font-size: 14px;
        color: white;
        display: inline-block;
        text-transform: uppercase;
        min-height: 40px;
        min-width: 175px;
        padding: 10px;
        border: 1px solid var(--red);

        transition: .3s ease-in-out;
    }

        section.apoie .btn-apoie:hover {
            background-color: white;
            color: var(--red);
        }

    section.apoie .plan p.small {
        font-size: 11px;
        line-height: 15px;
    }
    
    section.apoie .pix {
        padding: 35px;
        background-color: var(--red);
        color: white;
        box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 30px;
    }

    section.apoie .pix .pix-box {
        margin-top: 20px;
        border: 1px solid white;
        padding: 10px;
        width: 70%;
        margin: 25px auto 0 auto;
    }

        section.apoie .pix h2 {
            margin: 0;
            font-size: 21px;
        }

        @media (min-width: 768px) {
            section.apoie .pix h2 {
                font-size: 22px;
            }
        }