/*
Theme Name: Word4ya
Theme URI: https://word4ya.net/
Author: Word4ya
Author URI: https://word4ya.net/
Description: A framework theme for creating business websites
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: word4ya
*/

/* Alternative: Use :root for even higher specificity */
:root body {
    line-height: normal;
}

.header-content {
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto;
    padding: 1rem;
    border: 0px solid orange;
}

/* General Header Styles */
.debug-header-background-color {
    background: orange !important;
}

.header-row {
    /*
    display: flex;
    justify-content: space-between;
    align-items: center;
    */
    width: 100%;
    border: 2px solid green;
}

.header-branding {
    display: flex;
    align-items: center;
}

.site-identity {
    display: flex;
    flex-direction: column;
}

.wp-block-site-title {
    margin: 0;
    padding: 0;
    text-align: left;
}

.wp-block-site-tagline {
    margin: 0;
    padding: 0;
    text-align: left;
}

.header-navigation {
    margin-left: auto;
}

.header-1-navigation-container {
    position: relative;
}

.main-navigation {
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto;
    padding: 0.5rem;
    border: 0px solid yellow;
}

/* Footer Styles */
.footer-container {
    padding: 4rem 2rem 2rem;
    color: #333;
}

.footer-content {
    max-width: var(--wp--style--global--content-size);
    margin: 0 auto;
}

.footer-columns {
    margin-bottom: 3rem;
}

.footer-column {
    padding: 0 1rem;
}

.footer-heading {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-text {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
}

.footer-contact {
    gap: 0.5rem;
}

.footer-contact p {
    margin: 0;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-menu a {
    text-decoration: none;
    color: inherit;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer-copyright {
    font-size: 0.875rem;
    margin: 0;
}

.footer-legal-menu {
    gap: 1.5rem;
    font-size: 0.875rem;
}

.footer-legal-menu a {
    text-decoration: none;
    color: inherit;
}

/* Footer 2 Specific Styles */
.footer-column-left {
    padding-right: 2rem;
}

.footer-column-right {
    padding-left: 2rem;
}

.footer-social-icons {
    margin-top: 1.5rem;
    gap: 0.75rem;
}

.footer-separator {
    margin: 2rem 0;
    border-color: rgba(0, 0, 0, 0.1);
}

.footer-hours {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
}

/* Footer 3 Specific Styles */
.footer-3-container .footer-banner {
    margin-bottom: 2rem;
}

.footer-columns-4 {
    margin: 2rem 0;
}

.footer-list {
    padding-left: 1.5rem;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.8;
}

.footer-newsletter-text {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    margin-bottom: 1rem;
}

.footer-newsletter-button .wp-block-button__link {
    width: 100%;
    text-align: center;
}

/* Footer 4 Specific Styles */
.footer-4-container {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.footer-center-content {
    gap: 1.5rem;
    align-items: center;
}

.footer-social-links {
    margin: 1rem 0;
    gap: 1.5rem;
}

.footer-social-links .wp-block-social-link {
    margin: 0 0.5rem;
}

.footer-tagline {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

.footer-site-title {
    margin-bottom: 0;
}

.footer-navigation {
    margin: 1rem 0;
}

.footer-navigation a {
    padding: 0.5rem 1rem;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

.footer-address, 
.footer-contact-info {
    font-size: clamp(0.875rem, 1.5vw, 0.9rem);
    margin: 0.25rem 0;
}

/* Header Navigation Container Specific Styles */
.header-2-navigation-container {
    z-index: 200;
    position: relative;
}

.header-4-navigation-container {
    z-index: 200;
    position: relative;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-container {
        padding: 2rem 1rem 1rem;
    }

    .footer-columns, 
    .footer-columns-4 {
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-legal-menu {
        justify-content: center;
    }
    
    .footer-column-left,
    .footer-column-right {
        padding: 0;
    }
    
    .footer-social-links {
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* CM Content Width (patterns/cm-content-width.php), 2026-11-06 (plan 05.1-09, Item H7): the pattern's group sizes itself with cm-alpha's
   width classes (zc100 zo100 zm90 …), which are COLUMN classes (float: left; width: N% !important), so the 90% column sat against the left
   edge. The owner: "CM Content Width will have to have a float: none added when used … centre the column". This class rides on the group
   in the pattern and on every stored use; the canvas and the page alike. */
.editor-styles-wrapper .wp-block-group.cm-content-width,
.wp-block-group.cm-content-width { float: none; margin-left: auto; margin-right: auto; }
