/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  A lightweight child theme for GeneratePress.
 Author:       South Burnett Advocate
 Author URI:   https://kingaroy.org
 Template:     generatepress
 Version:      1.0
*/

/* This rule targets an element that has ALL three of these classes simultaneously */
.gb-text.gb-text-83150a8d.dynamic-term-class {
  display: none; /* This will completely hide the element and remove it from the document flow */
  /* If you want it to be invisible but still take up space, use: */
  /* visibility: hidden; */
}

/* Arrow */
.arrow {
    color: #2980b9;
    font-weight: 500;
    margin-right: 5px;
    font-size: 1.2em;
}

/* Legal Card */
.legal-card {
    padding: 20px;
}
	
/* Styling for the WordPress Quote Block */
.wp-block-quote {
    font-style: italic;
    color: #6c7a7d;
    border-left: 0.1875rem solid #6c7a7d; /* Added missing 'solid' and color */
    padding-left: 0.9375rem;
    margin-top: 0.1rem;
    margin-bottom: 0.8rem;
    font-size: 1.1em; /* Increased from 0.9em for better readability */
    line-height: 1.4;
}

/* Styling for the WordPress Pullquote Block */
.wp-block-pullquote {
    font-style: italic;
    color: #6c7a7d;
    border-left: 0.1875rem solid #6c7a7d; /* Added missing 'solid' and color */
    padding-left: 0.9375rem;
    margin-top: 0.1rem;
    margin-bottom: 0.8rem;
    border-top: none;
    border-bottom: none;
    text-align: left;
    font-size: 1.1em; /* Increased from 0.9em to match quote block */
    line-height: 1.4;
}

/* Override for Solid Color Pullquote style to match your custom design */
.wp-block-pullquote.is-style-solid-color {
    background-color: transparent !important;
    border: none !important;
    border-left: 0.1875rem solid #6c7a7d; /* Maintain your custom left border */
    padding: 0;
    padding-left: 0.9375rem; /* Keep consistent left padding */
    font-style: italic;
    color: #6c7a7d;
    font-size: 1.1em;
    line-height: 1.4;
}

/* Styling for citations within these blocks */
.wp-block-quote cite,
.wp-block-quote .wp-block-quote__citation,
.wp-block-pullquote cite,
.wp-block-pullquote .wp-block-pullquote__citation {
    display: block;
    font-style: normal;
    font-size: 0.9em; /* Increased from 0.8em for better proportion */
    color: #888;
    margin-top: 0.5em;
    text-align: left;
}

/* Search block input styling */
.wp-block-search input {
    border-radius: 8px; /* or 999px for pill shape */
    padding: 8px 12px; /* Increased padding for better touch targets */
    border: 1px solid #ccc;
    width: 220px;
    font-size: 14px; /* Added consistent font size */
    background-color: #fff; /* Explicit background color */
    transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Added smooth transitions */
}

/* Focus state for search input */
.wp-block-search input:focus {
    outline: none;
    border-color: #007cba; /* WordPress blue or your theme color */
    box-shadow: 0 0 0 1px rgba(0, 124, 186, 0.3);
}

/* Rounded corners for category dropdowns */
.wp-block-categories.is-style-rounded select {
    border-radius: 8px;
    padding: 8px 12px; /* Increased to match search input */
    border: 1px solid #ccc;
    background-color: #fff;
    font-size: 14px;
    width: 220px;
    cursor: pointer; /* Better UX for dropdown */
    transition: border-color 0.2s ease, box-shadow 0.2s ease; /* Added transitions */
}

/* Focus state for category dropdown */
.wp-block-categories.is-style-rounded select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 1px rgba(0, 124, 186, 0.3);
}

/* Improved styling for tag cloud */
.wp-block-tag-cloud.is-style-rounded {
    display: flex;
    flex-wrap: wrap;
    gap: 8px; /* Increased gap slightly for better spacing */
    line-height: 1.4;
    padding-top: 4px;
}

/* Each tag link */
.wp-block-tag-cloud.is-style-rounded a {
    display: inline-block;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 8px 12px; /* Increased to match other elements */
    background-color: #f9f9f9;
    color: #333; /* Explicit text color for consistency */
    text-decoration: none;
    font-size: 14px; /* Changed from 0.85rem to match other elements */
    transition: background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

/* Hover state for tag links */
.wp-block-tag-cloud.is-style-rounded a:hover {
    background-color: #e6e6e6;
    border-color: #999; /* Darker border on hover */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Slightly stronger shadow */
    text-decoration: none; /* Ensure no underline on hover */
}

/* Focus state for tag links (accessibility) */
.wp-block-tag-cloud.is-style-rounded a:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}