/*
Theme Name:         CBTHS
Theme URI:          https://example.com
Description:        Custom theme build for CBT Hospitality Supplies using the Woostify theme with Elementor and the block theme.
Author:             Ben Dishler
Author URI:         https://example.com
Template:           woostify
Version:            1.0.0
License:            GNU General Public License v2 or later
License URI:        http://gnu.org
Text Domain:        woostify-cbths
*/

/* Custom styles for CBTHS go below this line */

/*========== Custom Styles ==========*/

:root {
    --base-fs: 18px;
    --cb-blue: #264356;
    --cb-green: #435526;
    --policy-page-primary: #264356;
    --secondary-color: #A8BBA2;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --border-color: #e2e8f0;
}

body {
    font-family: 'Orienta', Sans-serif;
}

/*========== MAIN SITE STYLES ==========*/
.primary-navigation > li > a, .primary-navigation > li > a:active, .primary-navigation > li > a:focus {
    color: #264356 !important;
    font-size: 34px;
    text-decoration: none;
}

.primary-navigation > li > a:hover {
    opacity: .6;
}

.main-navigation .primary-navigation > .menu-item .sub-menu a, .main-navigation .primary-navigation > .menu-item .sub-menu a:active, .main-navigation .primary-navigation > .menu-item .sub-menu a:focus {
    color: #264356 !important;
    font-size: 26px;
}

.main-navigation .primary-navigation > .menu-item .sub-menu a:hover {
    opacity: .6;
}

.has-header-transparent .site-header-inner {
    padding-top: 50px;
}

.primary-navigation > li > a {
    font-size: 24px;
    box-sizing: border-box;
    font-weight: 600;
}

.primary-navigation > li > a:focus {
    transform: none !important;
}

.has-header-transparent .primary-navigation > li > a, .has-header-transparent .primary-navigation > li > a:active {
    color: #264356 !important;
}

a:focus {
    transform: none !important;
    box-sizing: border-box;
}


/*========== END MAIN SITE STYLES ==========*/

/* FOOTER */
/* Base Layout Wrapper - Full screen width */
.cbt-footer-wrapper {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    min-height: 400px;
    background-color: #1346af;
    color: #ffffff;
    font-family: 'Orienta', sans-serif;
    font-size: 18px;
    font-weight: 400;
    box-sizing: border-box;
    padding: 60px 20px 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Global resets specifically for footer child elements */
.cbt-footer-wrapper *, 
.cbt-footer-wrapper *::before, 
.cbt-footer-wrapper *::after {
    box-sizing: border-box;
}

/* Centered Container Block */
.cbt-container {
    width: 100%;
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* Footer Grid Layout System */
.cbt-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 40px;
    align-items: start;
    width: 100%;
}

/* Logo and Tagline Formatting */
.cbt-footer-logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin-bottom: 15px;
}
.cbt-tagline {
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    max-width: 70%;
}

/* Navigation Links - Stacked with 18px spacing gap */
.cbt-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.cbt-footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease-in-out;
}
.cbt-footer-links a:hover {
    color: #ffffff;
    opacity: .6;
}

/* Contact Blocks Formatting */
.cbt-contact-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
}
.cbt-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    line-height: 1.4;
}
.cbt-contact-item i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    margin-top: 3px;
}
.cbt-contact-item a {
    color: #ffffff;
    text-decoration: none;
}

.cbt-contact-item a:hover {
    color: #ffffff;
    opacity: .6;
}

.cbt-contact-item a:hover {
    opacity: .6;
}

/* Social Icon Blocks - Aligned left underneath contacts */
.cbt-social-icons {
    display: flex;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
}
.cbt-social-icons a {
    color: #ffffff;
    font-size: 20px;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
}
.cbt-social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.6;
    color: #ffffff;
}

/* Center Horizontal Divider Rule */
.cbt-footer-divider {
    border: 0;
    border-top: 1px solid #ffffff;
    width: 100%;
    margin: 50px auto 25px auto;
}

/* Footer Bottom Layout Bar */
.cbt-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    font-size: 16px;
}
.cbt-copyright {
    text-align: left;
}
.cbt-legal {
    text-align: right;
}
.cbt-legal a {
    color: #ffffff;
    text-decoration: none;
}
.cbt-legal a:hover {
    color: #ffffff;
    opacity: .6;
}

/* Responsive breakpoint optimization for tablets and mobile screens */
@media (max-width: 991px) {
    .cbt-footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .cbt-footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .cbt-copyright, .cbt-legal {
        text-align: center;
    }
}
/* End Footer */

/*========== Policy Page ==========*/
body.page-id-22 {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: #ffffff;
            margin: 0;
            padding: 0;
        }

        .container.page-id-22 {
            max-width: 1100px;
            margin: 40px auto;
            padding: 0 20px;
        }

        /* Banner Notification */
        .page-id-22 .policy-banner {
            background-color: var(--policy-page-primary);
            color: #ffffff;
            text-align: center;
            padding: 15px;
            font-size: 0.95rem;
            font-weight: 600;
            letter-spacing: 0.5px;
            border-bottom: 3px solid var(--secondary-color);
            border-radius: 6px;
            margin-bottom: 40px;
        }

        .page-id-22 h1 {
            color: var(--policy-page-primary);
            font-size: 3rem;
            text-align: center;
        }

        .page-id-22 h1, .page-id-22 h2 {
            margin: 30px 0;
            padding: 15px 0;
        }

        /* Policy Sections */
        .page-id-22 .policy-section {
            background: var(--bg-light);
            border-left: 4px solid var(--policy-page-primary);
            padding: 25px;
            margin-bottom: 25px;
            border-radius: 0 8px 8px 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
        }

        .page-id-22 .policy-section h2 {
            color: var(--policy-page-primary);
            margin-top: 0;
            font-size: 1.4rem;
            display: flex;
            align-items: center;
        }

        .page-id-22 .policy-section p {
            margin: 10px 0 0 0;
            color: #4a5568;
        }

        /* Quick Info Grid for Deadlines/Fees */
        .page-id-22 .info-badge-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(225px, 150px));
            gap: 15px;
            margin-top: 15px;
        }

        .page-id-22 .info-badge {
            background: #ffffff;
            border: 1px solid var(--border-color);
            padding: 12px;
            border-radius: 6px;
            font-size: 0.9rem;
        }

        .page-id-22 .info-badge strong {
            color: var(--policy-page-primary);
            display: block;
            margin-bottom: 2px;
        }

        /* Contact Section */
        .page-id-22 .policy-footer {
            margin-top: 50px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
            text-align: center;
            font-size: 0.9rem;
            color: var(--text-light);
        }

        .page-id-22 .policy-footer a {
            color: var(--policy-page-primary);
            text-weight: 600;
            text-decoration: none;
        }

        .page-id-22 .policy-footer a:hover {
            text-decoration: underline;
        }

/* Mobile Nav - Replace SVG Angle Icon */
@media (max-width: 991px) {
    .woostify-svg-icon.icon-angle-down svg {
        display: none !important;
    }
    .woostify-svg-icon.icon-angle-down {
        background-image: url('/wp-content/uploads/2026/05/angle-down-solid.png');
        background-size: contain;
        background-repeat: no-repeat;
        display: inline-block;
        width: 16px;  /* Match your icon width */
        height: 16px; /* Match your icon height */
    }
}