/*
Theme Name: CACCC Next
Theme URI: https://caccc-usa.org/
Author: Clayton Ou
Author URI: mailto:co.helix010@icloud.com
Description: A modern theme designed for CACCC throughout 2024-2025.
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0.0
License: Proprietary
License URI: https://caccc-usa.org/
Text Domain: caccc
Domain Path: /languages
Tags: block-patterns, full-site-editing
*/

/* Style the TranslatePress language switcher */
.trp-language-switcher a {
    font-size: 1rem;
    font-family: "Source Sans";
    color: inherit !important;
    text-decoration: none;
}

/* Remove default space before footer */
footer {
    margin-block-start: 0;
}

/* Add padding in Spectra Timeline block elements */
.uagb-timeline__events-inner--content {
    padding: 20px;
    border-radius: 100px;
}

/* restore Mailchimp's override of font size */
.display_archive {
    font-size: inherit !important;
}

.page-highlight-image img {
  height: 600px !important;           /* Set desired height */
  width: auto;             /* Let width scale proportionally */
  object-fit: cover;       /* Crop to fill container without distortion */
  display: block;         /* Removes inline spacing issues */
}

/* Fix WooCommerce Cart title misalignment */
.woocommerce-cart .wp-block-post-title {
    max-width: var(--wp--style--global--content-size);
}

/* Prevent underlying items from interfering with navigation menu display */
.wp-block-navigation {
    z-index: 100;
}

/* Mobile overrides */
@media screen and (max-width: 599px) { 
    .center-on-mobile {
        text-align: center;
        justify-content: center;
    }

    /* Scale logo on mobile */
    .custom-logo {
        width: 32vw;
    }

    .cta-main-text {
      
    }

    .cta-sub-text {
        
    }
}