/*
Theme Name: One Dice Six
Template: twentytwentyfive
Version: 1.0.0
*/

/* Global form label styling */
label {
    color: var(--wp--preset--color--accent-3);
    font-size: var(--wp--preset--font-size--medium);
    font-weight: 700;
    line-height: 1.5;
    margin-top: 1em;
    margin-bottom: var(--wp--preset--spacing--10);
    display: block; /* makes labels full-width by default */
}

/* Important reset for checkboxes & radios */
/* (prevents labels next to them from inheriting the above styles) */
input[type="checkbox"] + label,
input[type="radio"] + label,
label:has(input[type="checkbox"], input[type="radio"]) {
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    margin-bottom: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}

/* output from generators */
div.onedicesix-table div.output {
    background-color: var(--wp--preset--color--base);
    border-radius: 4px;
    border-color: var(--wp--preset--color--accent-3);
    border-width: 1px;
    border-style: solid;
    color: var(--wp--preset--color--contrast);
    font-size: var(--wp--preset--font-size--medium);
    padding-top: var(--wp--preset--spacing--20);
    padding-right: var(--wp--preset--spacing--30);
    padding-bottom: var(--wp--preset--spacing--20);
    padding-left: var(--wp--preset--spacing--30);
    margin-bottom: 18px;
}
div.onedicesix-table div.output:empty,
div.onedicesix-table div.output:empty::before,
div.onedicesix-table div.output:empty::after {
    display: none;
}

/* Ensure the parent class matches exactly what you put in the 'Advanced' tab */
.home-grid-links a.wp-block-post-excerpt__more-link {
    text-decoration: none !important;
    box-shadow: none !important;
}

/* Add !important here to override the theme's hover defaults */
.home-grid-links a.wp-block-post-excerpt__more-link:hover {
    text-decoration: underline !important;
    box-shadow: none !important;
}
