/*
Theme Name: Scratch Child
Author: Cariad Marketing
Requires at least: 5.8
Tested up to: 5.9
Requires PHP: 5.7
Version: 2.0.1
License: GNU General Public License v3 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: scratch
Text Domain: scratchchild
Tags: blog, education, news, one-column, two-columns, three-columns, four-columns, left-sidebar, right-sidebar, wide-blocks, accessibility-ready, block-patterns, block-styles, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, flexible-header, full-site-editing, full-width-template, rtl-language-support, sticky-post, style-variations, template-editing, translation-ready
*/

p {
    color: var(--wp--preset--color--dark);
}

.entry-content .wp-social-link a:hover {
    color: var(--wp--preset--color--primary) !important;
}

.zigzag-rows h3 {
    color: var(--wp--preset--color--dark) !important;
}

/* WPCF7 Forms */
p .wpcf7-submit {
    padding: 0.9rem 2.4rem !important;
    border-radius: 10px;
    background-color: var(--wp--preset--color--tertiary) !important;
    margin: 0px auto;
}

.wp-block-post-template.is-layout-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    /* Adjust column size */
    gap: 20px;
    /* Adjust spacing */
    list-style: none;
    padding: 0;
}

.has-border-color {
    border-style: solid !important;
}

html :where([style*=border-bottom-width]) {
    border-bottom-style: solid !important;
}

.is-content-justification-space-between {
    justify-content: space-between !important;
}

.kt-blocks-accordion-icon-trigger {
    border: 4px solid black;
    border-radius: 50%;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 6px;
}

.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger:after,
.kt-accodion-icon-style-basic .kt-blocks-accordion-icon-trigger:before,
.kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger:after,
.kt-accodion-icon-style-basiccircle .kt-blocks-accordion-icon-trigger:before {
    left: auto !important;
    top: auto !important;
    width: 16px !important;
}

/* blog Post */
.single-post h1 {
    margin-bottom: 30px !important;
}

.single-post .blog h1, .single-post .blog h2, .single-post .blog h3, .single-post .blog h4, .single-post .blog h5, .single-post .blog h6 {
    color: black !important;
}

.single-post .blog h1 {
    font-size: 1.8rem;
}

.single-post .blog h2 {
    font-size: 1.6rem;
}

.single-post .blog h3 {
    font-size: 1.4rem;
}

.dem-vote li {
    color: black;
}

.dem-add-answer a {
    font-size: 18px;
    color: black;
    font-weight: 700;
}

.dem-add-answer a:hover {
    color: var(--wp--preset--color--primary) !important;
}
