/*
 Theme Name:   Pena Child
 Description:  Pena Child Theme
 Author:       Simon Labonne
 Template:     pena-lite
*/

/* FONTS */
@import url('//fonts.googleapis.com/css2?family=Work+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body,
button,
input,
select,
h1,
h2,
h3,
h4,
h5,
h6,
p,
.main-navigation li,
.content-caption .entry-content h1,
.content-caption .entry-content h2,
.content-caption .entry-content h3,
.content-caption .entry-content h4,
.content-caption .entry-content h5,
.content-caption .entry-content h6 {
    font-family: 'Work Sans', sans-serif;
}

a {
    color: rgb(227, 31, 38);
}

a:hover,
a:focus,
a:visited {
    color: rgb(160, 29, 41);
}

p {
    line-height: 1.5rem;
    font-family: 'Work Sans', sans-serif;
    margin-bottom: 2rem;
}

li {
    margin-bottom: 1rem;
}

hr.short {
    background-color: rgb(58, 175, 189);
}

.main-navigation a:hover,
.main-navigation a:focus,
.main-navigation a:active {
    border-color: rgb(58, 175, 189);
}

.wp-block-image,
.wp-block-image img {
    margin: 0;
    margin-bottom: 1rem;
}

.wp-block-pullquote {
    margin: 0;
    margin-bottom: 2rem;
    border-color: black;
    color: black;
}

.wp-block-pullquote blockquote {
    margin-bottom: 0;
}

.wp-block-pullquote p {
    margin-bottom: 0;
}

.home.standard-menu .section {
    padding: 10% 0 5% 0;
}

.cd-main-content h2 {
    font-size: 3rem;
}

.content-caption .entry-content p {
    font-size: 1.25rem;
}

.content-caption .entry-content .button {
    background-color: rgb(7, 129, 154);
}

.entry-content a.button {
    background-color: rgb(7, 129, 154);
    color: white;
    border: 1px solid transparent;
}

.entry-content a.button:hover {
    text-decoration: none;
    background-color: white;
    color: rgb(7, 129, 154);
    border-color: rgb(7, 129, 154);
}

.cd-main-content cite {
    font-size: 1rem;
    font-style: italic;
}

.wp-block-latest-posts__post-date {
    color: rgb(65, 64, 66);
}

.site-title {
    margin-bottom: 0;
}

.site-title a {
    display: inline-block;
    width: 100%;
    max-width: 200px;
}

.widget-area .site-title a {
    display: inline-block;
    width: 100%;
    max-width: 250px;
}

.site-title a:focus,
.site-branding a:focus img {
    border: 0;
}

.site-title a img {
    vertical-align: middle;
}

.standard-menu .site-header {
    background-color: white;
    align-items: center;
    padding: 15px 15px;
}


.menu-toggle {
    top: 1rem;
}

#site-navigation button.menu-toggle {
    color: black;
}

.main-navigation a {
    color: black;
    padding-bottom: 0.25rem;
}

.main-navigation ul ul {
    background: white;
}

.wp-block-quote__citation,
.wp-block-quote cite,
.wp-block-quote footer {
    color: white;
}

.wp-block-latest-posts.wp-block-latest-posts__list {
    padding-left: 0;
}

.wp-block-latest-posts.wp-block-latest-posts__list li {
    display: block;
}

.wp-block-latest-posts.wp-block-latest-posts__list a {
    display: block;
    border-bottom: 0;
}

.sidebar-right-layout .wp-post-image,
.single .wp-post-image,
.page .wp-post-image {
    margin-bottom: 0;
}

.textwidget a,
.entry-content a,
.comment-content a {
    display: inline-block;
    line-height: 1rem;
}

.alignleft {
    margin: 0;
}

.inner .block-one {
    text-align: initial;
}

.site-footer {
    background: black;
}

.footer-widgets.clear {
    border: 0;
}

.site-footer .widget {
    margin: 0;
}

.schema-faq-answer {
    display: none;
}

/* QUOTE */
.quote {
    text-align: center;
    padding: 2rem;
    /* background-color: rgb(65, 64, 66); */
    background-color: black;
}

.quote p,
.quote blockquote {
    color: white;
}

.quote h2 {
    color: white;
}

.quote a {
    color: rgb(58, 175, 189);
}

.quote a:hover {
    color: rgb(148, 214, 218);
}

.quote blockquote,
.quote blockquote p:last-child {
    margin-bottom: 0;
}

.blocks-gallery-caption, .wp-block-embed figcaption, .wp-block-image figcaption {
    color: rgb(65, 64, 66);
}

/* DESKTOP */
@media(min-width: 55em) {
    .singular .site-main {
        margin: 0;
    }

    .site-title a {
        max-width: 345px;
    }

    .widget-area .site-title a {
        max-width: 250px;
    }

    #site-navigation {
        margin-top: 0;
    }

    .standard-menu .site-header {
        display: flex;
        padding: 15px 30px;
    }

    .main-navigation ul ul li:hover>ul,
    .main-navigation ul ul li.focus>ul {
        left: 100%;
    }

    .main-navigation ul ul {
        padding: 1rem 0.75rem;
        top: 1.65rem;
    }

    .schema-faq-answer {
        display: none;
        margin-left: 2rem;
    }

    .quote {
        width: 75%;
        margin: auto;
    }
}

/* FAQ */
.schema-faq-section {
    margin-bottom: 2rem;
}

.schema-faq-question {
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1.5rem;
    transition: 0.2s;
    margin-bottom: 1rem;
    display: block;
}

.ab-block-accordion .ab-accordion-title {
    background: transparent;
    color: black;
    transition: 0.2s;
    padding: 0;
}

.schema-faq-question:hover,
.ab-block-accordion .ab-accordion-title:hover {
    color: rgb(58, 175, 189);
    transition: 0.2s;
}

.schema-faq-question::before {
    content: "+";
    margin-right: 1rem;
}

.schema-faq-question.active {
    color: rgb(58, 175, 189);
}

.schema-faq-question.active::before {
    content: "-";
    margin-right: 1rem;
}

.ab-block-accordion {
    margin-top: -1.5rem;
    cursor: pointer;
}