/*
Theme Name: Batting Cage Center
Theme URI: https://example.com/batting-cage-center/
Author: Roo Code Gemini
Author URI: https://example.com/
Description: A custom theme for Batting Cage Center directory website.
Version: 1.3
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: directory, custom-theme, batting-cage, light-theme, modern, baseball-theme
Text Domain: batting-cage-center
*/

/*
Baseball Color Palette:
Field Green: #5C8C4E (Primary Accent)
Dirt Brown: #A0522D (Secondary Accent, Borders)
Base White: #FFFFFF (Content Background)
Sky Blue (Subtle): #ADD8E6 (Very Light Background / Subtle UI)
Text Dark Gray: #333333
Stitching Red: #D22B2B
*/

/* Global Resets & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    color: #333333;
    background-color: #F0F5E9; /* Very light green/off-white, like a distant field */
    /* Subtle baseball pattern - a simple one with CSS */
    background-image:
        linear-gradient(135deg, rgba(92, 140, 78, 0.05) 25%, transparent 25%),
        linear-gradient(225deg, rgba(92, 140, 78, 0.05) 25%, transparent 25%),
        linear-gradient(45deg, rgba(92, 140, 78, 0.05) 25%, transparent 25%),
        linear-gradient(315deg, rgba(92, 140, 78, 0.05) 25%, #F0F5E9 25%);
    background-size: 40px 40px; /* Size of the pattern squares */
    line-height: 1.7;
    font-size: 16px;
}

a {
    color: #5C8C4E; /* Field Green for links */
    text-decoration: none;
    transition: color 0.2s ease-in-out, opacity 0.2s ease-in-out;
}

a:hover, a:focus {
    color: #4a703f; /* Darker Field Green */
    opacity: 0.85;
}

img { max-width: 100%; height: auto; display: block; }

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 25px 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6,
.site-title, .entry-title {
    font-weight: 600;
    color: #2c3e50; /* Darker, slightly desaturated blue/gray for headings */
    line-height: 1.3;
    margin-top: 1.5em;
    margin-bottom: 0.75em;
}
h1, .site-main h1.page-title, .entry-title.single-post-title { font-size: 2.5rem; }
h2, .site-main h2 { font-size: 2rem; }
h3, .site-main h3 { font-size: 1.75rem; }
h4, .site-main h4 { font-size: 1.5rem; }
p { margin-bottom: 1.25rem; }

/* Header Styling */
header#masthead {
    background-color: #FFFFFF;
    padding: 10px 0; /* Reduced padding */
    border-bottom: 1px solid #E0E0E0; /* Lighter, more subtle border */
    box-shadow: 0 2px 4px rgba(0,0,0,0.05); /* Softer shadow */
    position: sticky; top: 0; z-index: 1020; /* Ensure header is above other sticky elements if any */
}
header#masthead .container { /* Ensure container in header aligns items well */
    display: flex;
    justify-content: space-between;
    align-items: center;
}
header#masthead .site-branding {
    display: flex; /* Keep this for logo and title/desc alignment */
    align-items: center;
    /* No justify-content here, let the container handle it */
}
header#masthead .site-logo img {
    max-height: 55px; /* Adjusted logo size */
    width: auto;
    margin-right: 12px; /* Adjusted margin */
}
header#masthead .site-title-group { display: flex; flex-direction: column; }
header#masthead .site-title a {
    font-size: 1.6em; /* Slightly adjusted */
    font-weight: 700;
    color: #333333;
    letter-spacing: -0.5px; /* Modern touch */
}
header#masthead .site-description {
    font-size: 0.85em; /* Slightly smaller */
    color: #777777;
    margin-top: 0; /* Align better with title */
}

/* Modern Navigation */
nav#site-navigation ul {
    list-style: none; padding: 0; margin: 0; display: flex; align-items: center;
}
nav#site-navigation ul li { margin-left: 10px; } /* Reduced margin for tighter modern look */
nav#site-navigation ul li:first-child { margin-left: 0; }

nav#site-navigation ul li a {
    font-weight: 500;
    color: #495057; /* Consistent with other text */
    padding: 10px 15px; /* Balanced padding */
    border-radius: 20px; /* Pill shape for modern feel */
    transition: background-color 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
    font-size: 0.9rem; /* Slightly smaller nav text */
    text-transform: capitalize; /* Or uppercase, depending on desired style */
    letter-spacing: 0.3px;
}
nav#site-navigation ul li a:hover,
nav#site-navigation ul li.current-menu-item > a,
nav#site-navigation ul li.current_page_item > a {
    color: #FFFFFF;
    background-color: #5C8C4E; /* Field Green background */
    box-shadow: 0 2px 5px rgba(92, 140, 78, 0.3);
    text-decoration: none;
}
.menu-toggle {
    display: none; background: #5C8C4E; color: #FFFFFF; border: none;
    padding: 8px 12px; border-radius: 5px; cursor: pointer; font-size: 1rem;
}
/* Ensure mobile menu toggle is styled well if it becomes visible */
@media (max-width: 992px) {
    header#masthead .container {
        flex-wrap: wrap; /* Allow wrapping for mobile */
    }
    nav#site-navigation {
        order: 3; /* Ensure it's below site branding */
        width: 100%;
        margin-top: 10px; /* Space from branding */
    }
    nav#site-navigation ul li { margin-left: 0; width: 100%; }
    nav#site-navigation ul li a { border-radius: 5px; margin-bottom: 5px; text-align: center;}
}


.content-area { padding: 40px 0; }

/* Card Grid & Dimensional Card Styling */
.card-grid { display: grid; gap: 30px; margin-top: 25px; }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(450px, 1fr)); }

.card {
    background-color: #FFFFFF; /* Base White */
    border: 1px solid #D3B8AE; /* Lighter Dirt Brown for border */
    border-radius: 10px; /* More rounded */
    padding: 0;
    box-shadow: 0 5px 15px rgba(160, 82, 45, 0.1), 0 2px 6px rgba(160, 82, 45, 0.1); /* Softer, more dimensional shadow */
    transition: transform 0.25s ease-in-out, box-shadow 0.25s ease-in-out;
    display: flex; flex-direction: column; overflow: hidden;
}
.card:hover {
    transform: translateY(-8px) scale(1.02); /* More pronounced hover */
    box-shadow: 0 10px 25px rgba(160, 82, 45, 0.15), 0 6px 10px rgba(160, 82, 45, 0.12);
}
.card img.featured-image { width: 100%; height: 240px; object-fit: cover; }
.card .card-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.card .entry-title, .card .card-title { margin-top: 0; margin-bottom: 10px; font-size: 1.35rem; font-weight: 600; }
.card .entry-title a, .card .card-title a { color: #5C8C4E; }
.card .entry-title a:hover, .card .card-title a:hover { color: #4a703f; }
.card p, .card .acf-detail, .card .acf-address, .card .acf-url {
    font-size: 0.9rem; color: #555555; margin-bottom: 12px; line-height: 1.6;
}
.card p:last-child, .card .acf-detail:last-child { margin-bottom: 0; }

.card .button, .button {
    display: inline-block; background-color: #5C8C4E; color: #FFFFFF;
    padding: 10px 20px; border-radius: 20px; /* Pill shape */
    text-align: center; font-weight: 500; margin-top: auto;
    transition: background-color 0.2s ease, transform 0.2s ease;
    border: none; cursor: pointer; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.card .button:hover, .button:hover {
    background-color: #4a703f; transform: translateY(-2px);
}

/* Breadcrumbs */
.breadcrumb {
    padding: 12px 0; font-size: 0.85rem; color: #777777; margin-bottom: 25px;
    background-color: rgba(255,255,255,0.8); padding: 10px 20px; border-radius: 5px;
    border: 1px solid #D3B8AE;
}
.breadcrumb a { color: #5C8C4E; font-weight: 500; }
.breadcrumb a:hover { color: #4a703f; }
.breadcrumb span { margin: 0 10px; }

/* Footer Styling */
footer#colophon {
    background-color: #A0522D; /* Dirt Brown footer */
    color: #F0F5E9; /* Light text on brown */
    padding: 40px 0; text-align: center; margin-top: 50px;
    border-top: 3px solid #D22B2B; /* Stitching Red accent top border */
}
footer#colophon .site-info { margin-bottom: 15px; font-size: 0.85rem; }
footer#colophon .site-info a { color: #F0F5E9; text-decoration: underline; }
footer#colophon .footer-navigation ul { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; flex-wrap: wrap; }
footer#colophon .footer-navigation ul li { margin: 5px 12px; }
footer#colophon .footer-navigation ul li a { color: #FFFFFF; font-size: 0.9rem; }
footer#colophon .footer-navigation ul li a:hover { color: #F0F5E9; opacity: 0.8; }
footer#colophon .footer-logo img { max-height: 50px; opacity: 0.9; margin-bottom: 15px; filter: brightness(0) invert(1); /* Make logo white for dark bg */ }

/* Responsive Design */
@media (max-width: 992px) { /* Tablet and below */
    .menu-toggle { display: block; }
    nav#site-navigation {
        position: absolute; top: 100%; left: 0; width: 100%;
        background-color: #FFFFFF; box-shadow: 0 3px 5px rgba(0,0,0,0.05);
        border-top: 1px solid #D3B8AE;
    }
    nav#site-navigation ul { flex-direction: column; align-items: stretch; display: none; padding: 10px 0; }
    nav#site-navigation ul.toggled { display: flex; }
    nav#site-navigation ul li { margin: 0; }
    nav#site-navigation ul li a { display: block; padding: 12px 20px; border-radius: 0; border-bottom: 1px solid #F1F3F5; }
    nav#site-navigation ul li:last-child a { border-bottom: none; }
}
@media (max-width: 768px) { /* Mobile */
    h1, .site-main h1.page-title, .entry-title.single-post-title { font-size: 2rem; }
    h2, .site-main h2 { font-size: 1.75rem; }
    h3, .site-main h3 { font-size: 1.5rem; }
    .card-grid-4, .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
    .taxonomy-dropdowns { flex-direction: column; align-items: stretch; }
    .taxonomy-dropdowns div { width: 100%; margin-bottom: 15px; }
    .taxonomy-dropdowns select { width: 100%; }
    header#masthead .site-branding { flex-direction: column; text-align: center; }
    header#masthead .site-logo img { margin-right: 0; margin-bottom: 10px; }
}

/* Helper classes */
.text-center { text-align: center; }
.mt-20 { margin-top: 20px !important; } .mb-20 { margin-bottom: 20px !important; }
.mt-30 { margin-top: 30px !important; } .mb-30 { margin-bottom: 30px !important; }

/* Icons - Font Awesome */
.icon:before, [class^="fas fa-"].icon:before, [class*=" fas fa-"].icon:before {
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif; font-weight: 900;
    margin-right: 10px; font-style: normal; font-variant: normal; text-rendering: auto;
    -webkit-font-smoothing: antialiased;
}
.icon-home:before { content: "\f015"; } .icon-folder:before { content: "\f07b"; }
.icon-tag:before { content: "\f02b"; } .icon-map-marker:before { content: "\f3c5"; }
.icon-map-pin:before { content: "\f276"; } .icon-map:before { content: "\f279"; }
.icon-flag:before { content: "\f024"; } .icon-fire:before { content: "\f06d"; }
.icon-clock:before { content: "\f017"; } .icon-phone:before { content: "\f095"; }
.icon-link:before { content: "\f0c1"; } .icon-star:before { content: "\f005"; } /* Default star */
.icon-baseball-ball:before { content: "\f433"; } /* Font Awesome baseball */
.icon-arrow-left:before { content: "\f060"; } .icon-search:before { content: "\f002"; }
.icon-search-location:before { content: "\f689"; }
.fas.fa-info-circle.icon:before { content: "\f05a"; } .fas.fa-cogs.icon:before { content: "\f085"; }
.fas.fa-map-marker-alt.icon:before { content: "\f3c5"; } .fas.fa-map-marked-alt.icon:before { content: "\f5a0"; }

/* Prominent Search Bar (Taxonomy Dropdowns) with Animation */
.taxonomy-dropdowns-container { /* New wrapper for better prominence */
    background-color: #FFFFFF;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(160, 82, 45, 0.1);
    margin-bottom: 40px;
    border: 1px solid #D3B8AE;
}
.taxonomy-dropdowns-container h3 {
    text-align: center;
    margin-top: 0;
    margin-bottom: 25px;
    color: #A0522D; /* Dirt Brown for this heading */
}
.taxonomy-dropdowns {
    display: flex; gap: 25px; align-items: flex-end;
}
.taxonomy-dropdowns div { flex: 1; }
.taxonomy-dropdowns label {
    font-weight: 500; display: block; margin-bottom: 8px;
    color: #555555; font-size: 0.9rem;
}
.taxonomy-dropdowns select {
    width: 100%; padding: 14px 18px; /* Larger padding */
    border: 2px solid #D3B8AE; /* Thicker border */
    border-radius: 5px; background-color: #FFFFFF; color: #333333; font-size: 1rem;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%235C8C4E'%3E%3Cpath d='M8 11.207l-4.604-4.603.707-.707L8 9.793l3.896-3.896.707.707z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right 15px center; background-size: 16px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.taxonomy-dropdowns select:focus {
    border-color: #5C8C4E; /* Field Green on focus */
    outline: 0;
    box-shadow: 0 0 0 0.25rem rgba(92, 140, 78, 0.25); /* Animated focus glow */
}
.taxonomy-dropdowns select.loading { opacity: 0.7; }

/* Hero Section - Modernized */
.hero-section {
    background-size: cover;
    background-position: center center;
    color: #FFFFFF;
    padding: 100px 20px; /* Adjusted padding */
    text-align: center;
    position: relative;
    min-height: 480px; /* Adjusted height */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px; /* Increased space below hero */
    overflow: hidden; /* To ensure pseudo-elements don't overflow if rounded */
}
.hero-section::before { /* Overlay for text contrast and modern feel */
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgba(92, 140, 78, 0.6), rgba(160, 82, 45, 0.5)); /* Gradient with theme colors */
    opacity: 0.85; /* Adjust opacity of the gradient layer */
    z-index: 1;
}
.hero-section .container {
    position: relative;
    z-index: 2;
    max-width: 900px; /* Control width of text content */
}
.hero-section h1 {
    font-size: 3rem; /* Adjusted size */
    margin-bottom: 0.5em;
    color: #FFFFFF;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5); /* More subtle but effective shadow */
    line-height: 1.2;
}
.hero-section p {
    font-size: 1.25rem; /* Adjusted size */
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #E9ECEF; /* Lighter text for better contrast on gradient */
    text-shadow: 0 1px 5px rgba(0,0,0,0.4);
    line-height: 1.7;
}

/* Single Post Specifics */
.single-post-title { margin-bottom: 25px; font-size: 2.75rem; }
.taxonomy-breadcrumb { margin-bottom: 25px; font-size: 0.9rem; }
.single-featured-image {
    width: 100%; max-height: 500px; object-fit: cover; border-radius: 10px;
    margin-bottom: 30px; border: 1px solid #D3B8AE;
    box-shadow: 0 5px 15px rgba(160, 82, 45, 0.1);
}
.post-content-section, .acf-details-section, .nearby-listings-section {
    margin-bottom: 40px; padding: 30px; background-color: #FFFFFF;
    border: 1px solid #D3B8AE; border-radius: 10px;
    box-shadow: 0 3px 10px rgba(160, 82, 45, 0.08);
}
.acf-details-section h3, .nearby-listings-section h2, .post-content-section h3 {
    margin-top: 0; border-bottom: 2px solid #5C8C4E; padding-bottom: 15px;
    margin-bottom: 25px; font-size: 1.6rem; color: #333333;
}
.acf-detail { margin-bottom: 15px; line-height: 1.8; font-size: 0.95rem; }
.acf-detail strong { display: inline-block; min-width: 170px; color: #333333; font-weight: 500; margin-right: 8px; }
.attributes-list ul { list-style: none; padding-left: 0; }
.attributes-list h5 { color: #555555; font-size: 1.15rem; margin-top: 20px; margin-bottom: 8px; font-weight: 600; }
.attributes-list li { padding: 10px 0; border-bottom: 1px solid #E9ECEF; color: #555555; font-size: 0.95rem; }
.attributes-list li:last-child { border-bottom: none; }

/* Work Time Table */
.work-time-table {
    width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 0.9rem;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05); border-radius: 5px; overflow: hidden;
}
.work-time-table th, .work-time-table td { text-align: left; padding: 12px 15px; border: 1px solid #E9ECEF; }
.work-time-table th { background-color: #F8F9FA; color: #333333; font-weight: 600; }
.work-time-table td { color: #555555; }
.current-status {
    font-weight: 600; padding: 8px 15px; border-radius: 20px; display: inline-block;
    margin-top: 15px; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.5px;
}
.status-open { background-color: #5C8C4E; color: #FFFFFF; }
.status-closed { background-color: #A0522D; color: #FFFFFF; }
.status-unknown { background-color: #ADB5BD; color: #FFFFFF; }

/* Visual Rating System - Baseball Icons */
.rating-display .icon-baseball-ball {
    font-size: 1.2em; /* Adjust size as needed */
    color: #A0522D; /* Dirt Brown for filled baseballs */
    margin-right: 2px;
}
.rating-display .icon-baseball-ball.empty {
    color: #D3B8AE; /* Lighter brown for empty */
}
.rating-display .rating-text {
    font-size: 0.9rem; color: #777777; margin-left: 8px;
}

/* Baseball Stitching Divider */
.baseball-stitch-divider {
    height: 10px; /* Adjust height of the stitch area */
    background-image:
        radial-gradient(circle at 5px 5px, transparent 3px, #D22B2B 3px, #D22B2B 4px, transparent 4px), /* Stitch dot */
        radial-gradient(circle at 5px 5px, transparent 3px, #D22B2B 3px, #D22B2B 4px, transparent 4px); /* Stitch dot */
    background-repeat: repeat-x;
    background-position: 0px 0px, 15px 0px; /* Spacing of stitches */
    background-size: 30px 10px; /* Controls stitch density and line */
    margin: 30px 0;
    border: none;
    border-top: 2px dashed #D3B8AE; /* Main line of the seam */
    border-bottom: 2px dashed #D3B8AE; /* Main line of the seam */
    padding: 5px 0; /* Space around stitches */
}
.baseball-stitch-divider.alt-color { /* Example for different color stitches if needed */
    background-image:
        radial-gradient(circle at 5px 5px, transparent 3px, #FFFFFF 3px, #FFFFFF 4px, transparent 4px),
        radial-gradient(circle at 5px 5px, transparent 3px, #FFFFFF 3px, #FFFFFF 4px, transparent 4px);
    border-top: 2px dashed #A0522D;
    border-bottom: 2px dashed #A0522D;
}


/* Contact Info List */
.contact-info-list { list-style: none; padding-left: 0; }
.contact-info-list li { margin-bottom: 10px; color: #555555; font-size: 0.95rem; }
.contact-info-list li .icon { color: #5C8C4E; margin-right: 8px; }
.contact-info-list strong { color: #333333; font-weight: 500; }

/* Edit link */
.edit-link a { color: #A0522D; font-size: 0.85rem; }
.edit-link a:hover { color: #5C8C4E; }

/* WordPress Core Alignments */
.alignleft { float: left; margin: 0.5em 1.5em 1em 0; }
.alignright { float: right; margin: 0.5em 0 1em 1.5em; }
.aligncenter { display: block; margin: 0.5em auto 1em auto; text-align: center; }
.alignwide, .alignfull { clear: both; }

/* Clearfix */
.clearfix::after { content: ""; clear: both; display: table; }
/* Homepage Content Sections */
.page-section {
    padding: 35px 0; /* Increased padding */
    margin-bottom: 20px; /* Space between sections */
}
.page-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}
.page-section h2 { /* For main section titles like "Find Your Perfect..." and FAQ */
    text-align: center;
    margin-top: 0; /* Remove top margin if it's the first element in .page-section */
    margin-bottom: 35px; /* Increased bottom margin */
    font-size: 2.2rem;
    color: #A0522D; /* Dirt Brown for these titles */
    font-weight: 700;
}
.page-section h3 { /* For sub-section titles like "Popular Batting Cage Options" */
    margin-top: 0;
    margin-bottom: 25px; /* Increased bottom margin */
    font-size: 1.8rem;
    color: #5C8C4E; /* Field Green for these titles */
    font-weight: 600;
}

.intro-section, .why-choose-us-section, .conclusion-section {
    background-color: #FFFFFF;
    padding: 40px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(160, 82, 45, 0.08);
    border: 1px solid #D3B8AE;
}
.intro-section p, .why-choose-us-section p {
    font-size: 1.05rem; /* Slightly larger text */
    line-height: 1.8;
    text-align: center;
    max-width: 850px; /* Wider max-width */
    margin-left: auto;
    margin-right: auto;
    color: #495057;
}
.conclusion-section p {
    font-size: 1.25rem; /* Larger conclusion text */
    font-weight: 500;
    color: #333333;
}

.options-section ul {
    list-style: none;
    padding-left: 0;
    margin-top: 0; /* Remove top margin from ul */
    columns: 2;
    column-gap: 40px;
}
.options-section ul li {
    margin-bottom: 12px; /* Increased spacing */
    padding-left: 30px; /* More padding for icon */
    position: relative;
    font-size: 1rem; /* Standardized font size */
    color: #333333;
}
.options-section ul li::before {
    content: "\f433"; /* Font Awesome baseball icon */
    font-family: "Font Awesome 5 Free", "FontAwesome", sans-serif;
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px; /* Adjusted for alignment */
    color: #5C8C4E; /* Field Green for icons */
    font-size: 1.1em; /* Slightly larger icon */
}

@media (max-width: 768px) {
    .options-section ul {
        columns: 1;
    }
    .page-section h2 { font-size: 1.8rem; }
    .page-section h3 { font-size: 1.5rem; }
}

/* FAQ Accordion */
.faq-section {
    background-color: #FFFFFF;
    padding: 40px 25px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(160, 82, 45, 0.08);
    border: 1px solid #D3B8AE;
}
.faq-accordion {
    max-width: 850px; /* Wider FAQ */
    margin: 0 auto;
}
.faq-item {
    border: 1px solid #D3B8AE;
    border-radius: 8px;
    margin-bottom: 15px;
    background-color: #FFFFFF; /* Ensure white background for item itself */
    box-shadow: 0 2px 8px rgba(160, 82, 45, 0.07);
    overflow: hidden;
}
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 25px; /* Increased padding */
    font-size: 1.2rem; /* Larger question text */
    font-weight: 600; /* Bolder question */
    color: #333333;
    background-color: #F8F9FA; /* Light background for question button */
    border: none;
    border-bottom: 1px solid #E9ECEF; /* Separator if answer is hidden */
    text-align: left;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.faq-item:last-child .faq-question {
     border-bottom: none; /* Remove border for last item if not expanded */
}
.faq-question[aria-expanded="true"] {
    background-color: #5C8C4E; /* Field Green when expanded */
    color: #FFFFFF;
    border-bottom-color: transparent; /* Hide border when expanded */
}
.faq-question:hover, .faq-question:focus {
    background-color: #e9ecef; /* Slightly darker hover for non-expanded */
    outline: none;
}
.faq-question[aria-expanded="true"]:hover, .faq-question[aria-expanded="true"]:focus {
    background-color: #4a703f; /* Darker green for expanded hover */
}

.faq-icon {
    width: 1em;
    height: 1em;
    transition: transform 0.3s ease;
    position: relative;
    font-size: 0.8em; /* Make icon slightly smaller relative to text */
}
.faq-icon::before,
.faq-icon::after {
    content: '';
    position: absolute;
    background-color: #5C8C4E; /* Default icon color */
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.2s ease;
}
.faq-question[aria-expanded="true"] .faq-icon::before,
.faq-question[aria-expanded="true"] .faq-icon::after {
    background-color: #FFFFFF; /* White icon when expanded */
}

.faq-icon::before { /* Horizontal line */
    width: 100%;
    height: 3px; /* Thicker line */
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.faq-icon::after { /* Vertical line */
    width: 3px; /* Thicker line */
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}
.faq-question[aria-expanded="true"] .faq-icon::after {
    transform: translateX(-50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    padding: 20px 25px;
    font-size: 1rem; /* Standardized answer text */
    line-height: 1.7;
    color: #495057;
    background-color: #FFFFFF;
    /* border-top: 1px solid #E9ECEF; Removed, question border handles it */
}
.faq-answer p:last-child {
    margin-bottom: 0;
}