/*
Theme Name: GF Divi Child Theme
Description: Child Theme for Divi Theme
Version: 1.0.0
Author: 
Author URI: 
Theme URI: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: Divi
*/

/* ========== Custom CSS from Generator ========== */

/* Selection styling for highlighted text */
::selection {
    background: var(--gcid-heading-color);
    color: #fff;
}
:is(h1,h2,h3,h4,h5,h6)::selection {
    background: var(--gcid-secondary-color);
    color: var(--gcid-heading-color);
}
a::selection {
    background: var(--gcid-primary-color);
    color: #fff;
}

/* Fix bottom spacing on elements */
.dsa-text p:last-of-type {
    padding-bottom:1em;
}
.dsa-text :is(p,ul,ol,blockquote):last-child {
    padding-bottom:0;
}

/* Style links */
.dsa-text a {
    transition: all .2s linear;
    text-underline-offset:.15em;
    text-decoration-thickness:.2em;
    text-decoration-skip-ink: none;
}
.dsa-text a:hover {
    text-underline-offset:0;
}

/* Style quotes */
.dsa-text blockquote {
    padding-left: 0;
}

/* Add space before headings */
.dsa-text :is(p,ul,ol,blockquote) ~ :is(h1,h2,h3,h4,h5,h6) {
    padding-top:.75em;
}

/* Custom list markers */
.dsa-text li::marker {
    color: var(--gcid-primary-color);
    font-weight: 900;
}


