/**
 * BinnieMedia Theme Styles
 * Mobile-first responsive design
 *
 Theme Name: Binnie Media
 Theme URI: https://wordpress.org/themes/twentytwenty/
 Author: Binnie Media Digital
 Author URI: https://wordpress.org/
 Description: Our is designed to take full advantage of the flexibility of the block editor. Organizations and businesses have the ability to create dynamic, mobile-friendly pages with custom layouts using blocks. The centered content column and fine-tuned typography also makes it perfect for traditional blogs. 
 Tags: blog, one-column, custom-background, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, block-styles, wide-blocks, accessibility-ready
 Version: 1.1
 Requires at least: 6.0
 Tested up to: 6.8.2
 Requires PHP: 8.3 
 License: GNU General Public License v2 or later
 License URI: http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain: BinnieMedia
 * @package BinnieMedia
 */

/* ==========================================================================
   CSS Variables (Custom Properties)
   ========================================================================== */

:root {
    /* Colors */
    --primary-color: #cb3638;
    --primary-dark: #a92e2f;
    --secondary-color: #64748b;
    --accent-color: #f59e0b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* Typography */
    --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-family-secondary: 'Georgia', serif;
    --font-size-xs: 0.75rem;
    --font-size-sm: 0.875rem;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-2xl: 1.5rem;
    --font-size-3xl: 1.875rem;
    --font-size-4xl: 2.25rem;
    --font-size-5xl: 3rem;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Layout */
    --container-max-width: 1400px;
    --container-padding: 1rem;
    --border-radius: 0.375rem;
    --border-radius-lg: 0.5rem;
    --border-radius-xl: 0.75rem;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    
    /* Transitions */
    --transition-fast: 150ms ease-in-out;
    --transition-normal: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
    
    /* Z-index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /*prevent horizontal scrollbar*/
    overflow-x: hidden;
}

body {
    font-family: var(--font-family-primary);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md) 0;
    color: #111827;
}

h1 { font-size: var(--font-size-4xl); }
h2 { font-size: var(--font-size-3xl); }
h3 { font-size: var(--font-size-2xl); }
h4 { font-size: var(--font-size-xl); }
h5 { font-size: var(--font-size-lg); }
h6 { font-size: var(--font-size-base); }

p {
    margin: 0 0 var(--spacing-md) 0;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color var(--transition-fast);
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================================================
   Layout Components
   ========================================================================== */

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Site wrapper */
.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Content wrapper */
.site-content {
    flex: 1;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 6px;
    background: var(--primary-color);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: var(--z-fixed);
    border-radius: var(--border-radius);
}

.skip-link:focus {
    top: 6px;
}

/* Screen reader text */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* ==========================================================================
   Header Styles
   ========================================================================== */

/* Top Bar */
.top-bar {
    background-color: #f8fafc;
    font-size: var(--font-size-sm);
    padding: 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    padding: 0 var(--spacing-sm);
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.top-bar-phone,
.top-bar-email {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--secondary-color);
}

.top-bar-phone a,
.top-bar-email a {
    color: inherit;
    text-decoration: none;
}

.top-bar-phone a:hover,
.top-bar-email a:hover {
    color: var(--primary-color);
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Social Links */
.social-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    color: white;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Top Navigation */
.top-navigation {
    display: none;
}

.top-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-lg);
}

.top-menu a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.top-menu a:hover {
    color: var(--primary-color);
}

/* Main Header */
.site-header {
    background-color: white;
    position: relative;
    z-index: var(--z-sticky);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: var(--spacing-md) 0;
    gap: var(--spacing-xl);
}

/* Site Branding */
.site-branding {
    flex-shrink: 0;
    margin-right: auto;
    margin-left: 0;
}

.custom-logo {
    display: block;
}

.custom-logo img {
    max-height: 150px;
    width: auto;
}

.site-title-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.site-title-link {
    text-decoration: none;
    color: inherit;
}

.site-title {
    font-size: var(--font-size-2xl);
    font-weight: 700;
    margin: 0;
    color: #111827;
}

.site-description {
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
    margin: 0;
}

/* Main Navigation */
.main-navigation {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-left: auto;
}

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-right: 10px;
    border-radius: var(--border-radius);
    transition: background-color var(--transition-fast);
}

.menu-toggle:hover {
    background-color: #f3f4f6;
}

.menu-toggle-icon {
    display: flex;
    flex-direction: column;
    gap: 6px; /* more space between lines */
    width: 28px; /* wider */
    height: 22px; /* taller to fit thicker lines */
}

.hamburger-line {
    width: 120%;
    height: 6px; /* bolder */
    background-color: #fff;
    transition: all var(--transition-fast);
    border-radius: 3px; /* smoother ends for thicker lines */
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(3.5px, 3.5px);
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: white;
    box-shadow: var(--shadow-lg);
    z-index: var(--z-dropdown);
}

.menu-wrapper.active {
    display: block;
}

.primary-menu {
    list-style: none;
    margin: 0;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.primary-menu a {
    display: block;
    padding: var(--spacing-sm) var(--spacing-md);
    color: #374151;
    text-decoration: none;
    border-radius: var(--border-radius);
    transition: all var(--transition-fast);
}

.primary-menu a:hover {
    background-color: #f3f4f6;
    color: var(--primary-color);
}

/* Header CTA */
.header-cta {
    margin-left: var(--spacing-md);
}

.header-cta-button {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.header-cta-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Sticky Header */
.sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #000; /* black background */
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-lg);
    z-index: var(--z-sticky);
    transform: translateY(-100%);
    transition: all var(--transition-normal);
    opacity: 0;
    visibility: hidden;
}

.sticky-header.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}



.sticky-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0; /* extra vertical space */
    min-height: 72px; /* taller sticky */
}

.sticky-branding {
    flex-shrink: 0;
}

.sticky-logo img {
    max-height: 44px;
    width: auto;
}

.sticky-site-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    color: #111827;
    text-decoration: none;
}

.sticky-navigation {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
}

/* Sticky quick actions (mobile) */
@media (max-width: 1023px) {
    .sticky-navigation { 
        width: 100%; 
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    .sticky-quick-actions { 
        display: flex; 
        flex-direction: column;
        width: 100%;
        margin-bottom: 0;
        gap: 16px;
    }
    /* Hide logo/branding on sticky mobile header to maximize space */
    .sticky-header .sticky-branding { display: none; }
    
    /* Top row: icons and hamburger side by side */
    .sticky-icons { 
        display: flex; 
        align-items: center; 
        gap: 14px; 
        margin-right: auto; 
    }
    
    /* Make the icons container take full width and position hamburger on the right */
    .sticky-quick-actions {
        position: relative;
    }
    
    .sticky-quick-actions .sticky-icons {
        width: 100%;
        justify-content: flex-start;
    }
    .sticky-icon { 
        display: inline-flex; 
        width: 36px; 
        height: 36px; 
        align-items: center; 
        justify-content: center; 
        color: #fff; 
    }
    /* Position hamburger menu toggle on the right side of top row */
    .sticky-menu-toggle {
        position: absolute;
        top: 0;
        right: 0;
    }
    /* Buttons on their own line below icons */
    .sticky-buttons { 
        display: grid; 
        grid-template-columns: 1fr 1fr; 
        gap: 12px; 
        width: 100%;
        margin-top: 0;
    }
    .sticky-quick-button { display: inline-flex; flex: 1 1 auto; flex-direction: column; align-items: center; justify-content: center; padding: 12px 18px; background: #fff; color: #000; border-radius: 999px; text-decoration: none; box-shadow: 0 6px 20px rgba(0,0,0,.25); font-weight: 900; line-height: 1; text-transform: uppercase; }
    .sticky-quick-button .btn-title { text-align: center; font-size: 15px; }
    .sticky-quick-button .btn-sub { text-align: center; font-size: 13px; opacity: .95; }
    .sticky-quick-button:hover { background: #cb3638; color: #fff; }
}

/* Hide the main header hamburger when sticky header is active (mobile) */
@media (max-width: 1023px) {
    body.has-sticky-header .menu-toggle { display: none !important; }
    /* Hide desktop order button on mobile sticky menu */
    .sticky-order-btn { display: none !important; }
}

/* Ensure only the real sticky menu toggle is visible when sticky header is active */
@media (max-width: 1023px) {
    .sticky-header.active .sticky-menu-toggle-icon { display: none !important; }
    .sticky-header.active .sticky-menu-toggle .sticky-menu-toggle-icon { display: flex !important; }
}

.sticky-menu {
    display: none;
}

/* Show sticky menu on desktop */
@media (min-width: 768px) {
    .sticky-menu {
        display: flex !important;
    }
}

.sticky-cta-button {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.sticky-cta-button:hover {
    background-color: var(--primary-dark);
    color: white;
}



/* ==========================================================================
   Front Page Styles
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: var(--spacing-3xl) 0;
    text-align: center;
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    background: rgba(0, 0, 0, 0.4);
    padding: var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.hero-text {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero-kicker {
    font-size: 1.2rem;
    font-weight: 600;
    color: #cb3638;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
    width: 100%;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: var(--spacing-lg);
    line-height: 1.1;
    text-align: center;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-2xl);
    opacity: 0.9;
    line-height: 1.5;
}

/* Hero Breadcrumbs */
.hero-breadcrumbs {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    padding: var(--spacing-md) 0;
}

.hero-breadcrumbs .breadcrumb-navigation {
    margin: 0;
}

.hero-breadcrumbs .breadcrumb-navigation a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.hero-breadcrumbs .breadcrumb-navigation a:hover {
    color: white;
}

.hero-breadcrumbs .breadcrumb-navigation .current {
    color: white;
    font-weight: 600;
}

.hero-breadcrumbs .breadcrumb-navigation .separator {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 var(--spacing-xs);
}

/* Responsive breadcrumbs */
@media (max-width: 768px) {
    .hero-breadcrumbs {
        padding: var(--spacing-sm) 0;
    }
    
    .hero-breadcrumbs .breadcrumb-navigation {
        font-size: var(--font-size-sm);
    }
}

@media (max-width: 480px) {
    .hero-breadcrumbs {
        padding: var(--spacing-xs) 0;
    }
    
    .hero-breadcrumbs .breadcrumb-navigation {
        font-size: var(--font-size-xs);
    }
}

.hero-cta {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Hero CTA Button Styles */
.hero-cta-wrapper {
    margin-top: var(--spacing-lg);
}

.hero-cta-button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-2xl);
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: var(--font-size-lg);
    border-radius: 50px;
    border: 2px solid transparent;
    transition: all var(--transition-fast);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-width: 200px;
}

.hero-cta-button:hover {
    background: linear-gradient(135deg, #f8fafc 0%, #ffffff 100%);
    color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
}

.hero-cta-button:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-cta-button:focus {
    outline: 2px solid rgba(255, 255, 255, 0.8);
    outline-offset: 2px;
}

.hero-button {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: var(--font-size-lg);
}

.primary-button {
    background-color: white;
    color: var(--primary-color);
}

.primary-button:hover {
    background-color: #f8fafc;
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.secondary-button {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.secondary-button:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-image {
    flex: 1;
    max-width: 400px;
}

.hero-img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-xl);
    box-shadow: var(--shadow-xl);
}

/* Featured Content */
.featured-content {
    padding: var(--spacing-3xl) 0;
    background-color: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    color: #111827;
}

.section-description {
    font-size: var(--font-size-lg);
    color: var(--secondary-color);
    max-width: 600px;
    margin: 0 auto;
}

.featured-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

.featured-post {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.featured-post:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.featured-post-thumbnail {
    position: relative;
    overflow: hidden;
}

.featured-post-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.featured-post:hover .featured-post-image {
    transform: scale(1.05);
}

.featured-post-content {
    padding: var(--spacing-lg);
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
}

.featured-post-date {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.featured-post-category a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.featured-post-title {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-md);
    line-height: 1.3;
}

.featured-post-title a {
    color: #111827;
    text-decoration: none;
}

.featured-post-title a:hover {
    color: var(--primary-color);
}

.featured-post-excerpt {
    color: var(--secondary-color);
    margin-bottom: var(--spacing-lg);
    line-height: 1.6;
}

.featured-post-link {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: gap var(--transition-fast);
}

.featured-post-link:hover {
    gap: var(--spacing-sm);
}

.arrow {
    font-size: var(--font-size-lg);
}

.featured-posts-cta {
    text-align: center;
}

.view-all-posts-button {
    display: inline-flex;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    transition: all var(--transition-fast);
}

.view-all-posts-button:hover {
    background-color: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Page Content */
.page-content {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    width: 100%;
}

/* Full-width and Wide Block Alignment Support */
.alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    width: 100vw;
    max-width: 100vw;
}

.alignwide {
    margin-left: calc(-100vw / 2 + 100% / 2 + 50px);
    margin-right: calc(-100vw / 2 + 100% / 2 + 50px);
    width: calc(100vw - 100px);
    max-width: calc(100vw - 100px);
}

/* Ensure full-width blocks break out of containers properly */
.content-wrapper .alignfull,
.container .alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    width: 100vw;
    max-width: 100vw;
}

.content-wrapper .alignwide,
.container .alignwide {
    margin-left: calc(-100vw / 2 + 100% / 2 + 50px);
    margin-right: calc(-100vw / 2 + 100% / 2 + 50px);
    width: calc(100vw - 100px);
    max-width: calc(100vw - 100px);
}

/* Services Section */
.services-section {
    padding: var(--spacing-xl) 0;
    background-color: white;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
}

/* CTA Section styles moved to: themes/binniemedia/acf-blocks/blocks/cta-section/cta-section.css */

/* Testimonials Section - Styles moved to block-specific CSS file */

/* ==========================================================================
   Single Post Styles
   ========================================================================== */

.site-main {
    padding: var(--spacing-2xl) 0;
}

/* Remove padding for front page to eliminate white space between header and hero */
.site-main.front-page {
    padding: 0;
}

.single-post {
    max-width: none;
    margin: 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.single-post-wrapper {
    max-width: none;
    width: 100%;
}

.entry-header {
    padding: var(--spacing-xl) 0;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: var(--spacing-xl);
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
    flex-wrap: wrap;
}

.posted-on,
.cat-links,
.tags-links {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.entry-date {
    color: inherit;
    text-decoration: none;
}

.cat-links a,
.tags-links a {
    color: var(--primary-color);
    text-decoration: none;
}

.cat-links a:hover,
.tags-links a:hover {
    color: var(--primary-dark);
}

.entry-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--spacing-md);
    color: #111827;
    line-height: 1.2;
}

.entry-summary {
    font-size: var(--font-size-lg);
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
}

.author-info {
    margin-top: var(--spacing-lg);
}

.byline {
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
}

.author a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.post-thumbnail {
    margin-bottom: var(--spacing-lg);
}

.featured-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-lg);
}

.entry-content {
    padding: 0;
    line-height: 1.7;
    max-width: 100%;
    width: 100%;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.entry-content p {
    margin-bottom: var(--spacing-lg);
    font-size: var(--font-size-lg);
    line-height: 1.6;
    color: #000000;
    margin: 0;
}

.entry-content img {
    border-radius: var(--border-radius);
    margin: var(--spacing-lg) 0;
}

.entry-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: var(--spacing-lg);
    margin: var(--spacing-xl) 0;
    font-style: italic;
    color: var(--secondary-color);
}

.entry-footer {
    padding: var(--spacing-xl) 0;
    background-color: transparent;
    margin-top: var(--spacing-xl);
}

.entry-utility {
    display: flex;
    justify-content: flex-end;
}

.edit-link a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: var(--font-size-sm);
}

.edit-link a:hover {
    color: var(--primary-color);
}

/* Post Navigation */
.post-navigation {
    margin: var(--spacing-2xl) 0;
    padding: var(--spacing-xl) 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
}

.nav-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
}

.nav-previous,
.nav-next {
    padding: var(--spacing-lg);
    border-radius: var(--border-radius);
    background-color: #f8fafc;
    transition: background-color var(--transition-fast);
}

.nav-previous:hover,
.nav-next:hover {
    background-color: #e2e8f0;
}

.nav-subtitle {
    display: block;
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-xs);
}

.nav-title {
    font-weight: 600;
    color: #111827;
}

.nav-next {
    text-align: right;
}

/* Author Bio */
.author-bio {
    margin: var(--spacing-2xl) 0;
    padding: var(--spacing-xl) 0;
    background-color: transparent;
    border-radius: 0;
    box-shadow: none;
    display: flex;
    gap: var(--spacing-lg);
    align-items: flex-start;
    padding-top: var(--spacing-xl);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-size: var(--font-size-xl);
    margin-bottom: var(--spacing-sm);
    color: #111827;
}

.author-description {
    color: var(--secondary-color);
    line-height: 1.6;
    margin-bottom: var(--spacing-md);
}

.author-posts-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
}

.author-posts-link:hover {
    color: var(--primary-dark);
}

/* Related Posts */
.related-posts {
    margin: var(--spacing-2xl) 0;
    padding-top: var(--spacing-xl);
}

.related-posts-title {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--spacing-xl);
    color: #111827;
    text-align: center;
}

.related-posts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--spacing-lg);
}

.related-post {
    background-color: white;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.related-post:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.related-post-thumbnail {
    position: relative;
    overflow: hidden;
}

.related-post-image {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.related-post:hover .related-post-image {
    transform: scale(1.05);
}

.related-post-content {
    padding: var(--spacing-lg);
}

.related-post-title {
    font-size: var(--font-size-lg);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

.related-post-title a {
    color: #111827;
    text-decoration: none;
}

.related-post-title a:hover {
    color: var(--primary-color);
}

.related-post-meta {
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
}

.related-post-date {
    color: inherit;
    text-decoration: none;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */

/* Tablet (768px and up) */
@media (min-width: 768px) {
    :root {
        --container-padding: 2rem;
    }
    
    .content-wrapper {
        max-width: 1400px;
        padding: 0 var(--container-padding);
        width: 100%;
    }
    
    .hero-content {
        flex-direction: row;
        text-align: left;
    }
    
    .hero-text {
        text-align: left;
    }
    
    .hero-cta {
        justify-content: flex-start;
    }
    
    .featured-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        grid-template-columns: 1fr 1fr;
    }
    
    .author-bio {
        flex-direction: row;
    }
}

/* Ensure menu toggle is visible on smaller screens */
@media (max-width: 1023px) {
    .menu-toggle {
        display: flex;
    }
}

/* Desktop (1024px and up) - Hide sticky header, keep main nav sticky */
@media (min-width: 1024px) {
    /* Hide the separate sticky header on desktop */
    .sticky-header {
        display: none !important;
    }
    
    /* Make the main header sticky on desktop */
    #masthead {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #000;
        border-bottom: 1px solid rgba(255,255,255,.1);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    }
    
    /* Add padding to body to account for fixed header */
    body {
        padding-top: 80px; /* Adjust based on your header height */
    }
}
    .content-wrapper {
        max-width: 1400px;
        padding: 0 var(--container-padding);
        width: 100%;
    }
    
    .menu-wrapper {
        position: static;
        display: flex;
        align-items: center;
        gap: var(--spacing-xl);
        background: none;
        border: none;
        box-shadow: none;
        padding: 0;
    }
    
    .menu-toggle {
        display: none;
    }
    /* Ensure the top (main header) hamburger is visible at the top of the page on mobile */
    @media (max-width: 1023px) {
        body:not(.has-sticky-header) .menu-toggle { display: flex !important; }
    }
    
    .primary-menu {
        flex-direction: row;
        padding: 0;
        gap: var(--spacing-lg);
    }
    
    .primary-menu a {
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--border-radius);
    }
    
    .sticky-menu {
        display: flex;
        list-style: none;
        margin: 0;
        padding: 0;
        gap: var(--spacing-lg);
    }
    
    .sticky-menu a {
        color: #374151;
        text-decoration: none;
        font-size: var(--font-size-sm);
        transition: color var(--transition-fast);
    }
    
    .sticky-menu a:hover {
        color: var(--primary-color);
    }
    
    .featured-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .related-posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .top-navigation {
        display: block;
    }


/* Large Desktop (1280px and up) */
@media (min-width: 1280px) {
    .content-wrapper {
        max-width: 1400px;
        padding: 0 var(--container-padding);
        width: 100%;
    }
    
    .hero-title {
        font-size: var(--font-size-5xl);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-2xl);
    }
}

/* Responsive hero title adjustments */
@media (max-width: 1023px) {
    .hero-kicker {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .hero-subtitle {
        font-size: var(--font-size-lg);
    }
}

@media (max-width: 767px) {
    .hero-kicker {
        font-size: 0.9rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-subtitle {
        font-size: var(--font-size-base);
        margin-bottom: var(--spacing-xl);
    }
    
    .hero-content {
        gap: var(--spacing-xl);
        padding: var(--spacing-lg);
        background: rgba(0, 0, 0, 0.5);
    }
    
    .hero-cta-button {
        padding: var(--spacing-sm) var(--spacing-xl);
        font-size: var(--font-size-base);
        min-width: 180px;
    }
}

@media (max-width: 480px) {
    .hero-kicker {
        font-size: 0.8rem;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-content {
        padding: var(--spacing-md);
        background: rgba(0, 0, 0, 0.6);
    }
    
    .hero-cta-button {
        padding: var(--spacing-xs) var(--spacing-lg);
        font-size: var(--font-size-sm);
        min-width: 160px;
    }
}
    
    .hero-subtitle {
        font-size: var(--font-size-sm);
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-section {
        min-height: 40vh;
        padding: var(--spacing-2xl) 0;
    }

/* ==========================================================================
   Footer Styles
   ========================================================================== */

/* Footer Widgets */
.footer-widgets {
    background-color: #f8fafc;
    padding: var(--spacing-2xl) 0;
    border-top: 1px solid #e2e8f0;
}

.footer-widget-area {
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-normal);
}

.footer-widget-area.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.footer-widgets-grid {
    display: grid;
    gap: var(--spacing-xl);
    grid-template-columns: 1fr;
}

.footer-widget-area {
    padding: 0;
}

.footer-widget-area h3,
.footer-widget-area h4,
.footer-column h3,
.footer-column h4 {
    margin-bottom: var(--spacing-md);
}

.footer-widget-area ul,
.footer-column ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-widget-area ul li,
.footer-column ul li {
    margin-bottom: var(--spacing-sm);
}

.footer-widget-area ul li a,
.footer-column ul li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-widget-area ul li a:hover,
.footer-column ul li a:hover {
    color: var(--primary-color);
}

/* Main Footer */
.site-footer {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    padding: var(--spacing-2xl) 0 var(--spacing-lg);
}

/* Footer Branding Section */
.footer-branding-section {
    margin-bottom: var(--spacing-xl);
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

/* Footer Columns */
.footer-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.footer-widget-1,
.footer-widget-2,
.footer-widget-3,
.footer-widget-4 {
    text-align: center;
}

.footer-contact-column {
    text-align: left;
}

/* Footer Branding */
.footer-branding {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.footer-logo {
    display: inline-block;
}

.footer-logo img {
    max-height: 60px;
    width: auto;
    background: rgba(0, 0, 0, 0.4);
    padding: var(--spacing-sm);
    border-radius: var(--border-radius-lg);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.footer-site-info {
    text-align: center;
}

.footer-site-title {
    margin: 0 0 var(--spacing-sm) 0;
    font-size: var(--font-size-xl);
    font-weight: 600;
}

.footer-site-title a {
    color: #ffffff;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-site-title a:hover {
    color: var(--primary-color);
}

.footer-site-description {
    color: #fff;
    margin: 0;
    font-size: var(--font-size-sm);
}

/* Footer Social Links */
.footer-social-links {
    display: flex;
    justify-content: left;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #334155;
    color: #cbd5e1;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition-fast);
}

.footer-social-link:hover,
.footer-social-link.hover {
    background-color: var(--primary-color);
    color: #ffffff;
    transform: translateY(-2px);
}

.footer-social-link.facebook:hover {
    background-color: #1877f2;
}

.footer-social-link.twitter:hover {
    background-color: #1da1f2;
}

.footer-social-link.linkedin:hover {
    background-color: #0077b5;
}

.footer-social-link.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.footer-social-link.youtube:hover {
    background-color: #ff0000;
}

/* Footer Navigation - Removed as navigation is now handled by widget areas */

/* Footer Contact */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

.footer-contact-icon {
    color: var(--primary-color);
    flex-shrink: 0;
}

.footer-contact-item a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-contact-item a:hover {
    color: var(--primary-color);
}

/* Footer Bottom */
.footer-bottom {
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid #fff;
}

.footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    font-size: var(--font-size-sm);
    color: #fff;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
}

.footer-link {
    color: #fff;
    text-decoration: none;
    font-size: var(--font-size-sm);
    transition: color var(--transition-fast);
}

.footer-link:hover {
    color: var(--primary-color);
}

.footer-powered-by {
    font-size: var(--font-size-sm);
    color: #fff;
}

.footer-powered-by a {
    color: #fff;
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-powered-by a:hover {
    color: var(--primary-color);
}

.custom-subtitle {
    font-size: 1.8rem;
    font-family: "Averia Serif Libre", sans-serif;
    font-weight: 600;
    color: #000000; /* Black color to match the image */
    line-height: 1.3;
    margin: 0 !important;
    margin-top: var(--spacing-xs) !important;
    margin-bottom: var(--spacing-xs) !important;
    text-transform: uppercase;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #cb3638;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
    box-shadow: var(--shadow-lg);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #a92e2f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Responsive Footer */
@media (min-width: 768px) {
    .footer-widgets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-branding-section {
        text-align: left;
    }
    
    .footer-content {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
        gap: var(--spacing-lg);
    }
    
    .footer-column {
        flex: 1;
        min-width: 0;
    }
    
    .footer-branding {
        text-align: left;
    }
    
    .footer-widget-1,
    .footer-widget-2,
    .footer-widget-3,
    .footer-widget-4 {
        text-align: left;
    }
    
    .footer-contact-column {
        text-align: left;
    }
    
    .footer-contact {
        text-align: left;
        align-items: flex-start;
    }
    
    .footer-social-links {
        gap: var(--spacing-xs);
    }
    
    .footer-bottom-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }
    
    .footer-links {
        justify-content: flex-end;
    }
}

/* Mobile footer styles - improved layout */
@media (max-width: 767px) {
    .footer-branding-section {
        text-align: center;
    }
    
    .footer-content {
        gap: var(--spacing-lg);
        flex-direction: column;
    }
    
    /* Create a grid for the first 4 columns to be side by side */
    .footer-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-lg);
    }
    
    /* Make footer-contact-column span full width and be centered */
    .footer-contact-column {
        grid-column: 1 / -1;
        text-align: center;
        margin-top: var(--spacing-lg);
    }
    
    .footer-column {
        text-align: center;
    }
    
    .footer-branding {
        text-align: center;
    }
    
    .footer-widget-1,
    .footer-widget-2,
    .footer-widget-3,
    .footer-widget-4 {
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
        align-items: center;
    }
    
    .footer-contact-item {
        justify-content: center;
    }
    
    /* Center social icons on mobile */
    .footer-social-links {
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .footer-widgets-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .footer-widget-area {
        padding: 0 var(--spacing-md);
    }
    
    .footer-widget-area:first-child {
        padding-left: 0;
    }
    
    .footer-widget-area:last-child {
        padding-right: 0;
    }
}

/* Extra small devices - stack columns vertically */
@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .footer-contact-column {
        margin-top: var(--spacing-md);
    }
}

/* ==========================================================================
   Mobile Sticky Header Styles
   ========================================================================== */

/* Sticky header for all devices */
.sticky-header {
    display: block;
    /* Ensure sticky header is always on top */
    z-index: 1030;
}

/* Mobile-specific sticky header styles */
@media (max-width: 767px) {
    .sticky-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        min-height: 50px;
        background-color: rgba(255, 255, 255, 0.98);
        z-index: 1030;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease-in-out;
    }
    
    .sticky-header.active {
        transform: translateY(0);
    }
    
    .sticky-header-content {
        padding: var(--spacing-xs) 0;
        min-height: 50px;
    }
    
    .sticky-logo img {
        max-height: 30px;
    }
    
    .sticky-site-title {
        font-size: var(--font-size-base);
    }
    
    .sticky-navigation {
        gap: var(--spacing-sm);
    }
    
    /* Remove sticky menu - main navigation will handle mobile menu */
    .sticky-menu {
        display: none !important;
    }
    
    .sticky-cta-button {
        padding: var(--spacing-xs) var(--spacing-sm);
        font-size: var(--font-size-xs);
        white-space: nowrap;
    }
    
    /* Optimize sticky header for mobile performance */
    .sticky-header {
        will-change: transform;
        transform: translateZ(0);
    }
    
    /* Touch-friendly improvements for mobile */
    .sticky-header a,
    .sticky-header button {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .sticky-cta-button {
        min-height: 36px;
        border-radius: var(--border-radius);
    }
    
    /* Add hamburger menu toggle to sticky header */
    .sticky-menu-toggle {
        background: none;
        border: none;
        cursor: pointer;
        padding: var(--spacing-xs);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all var(--transition-fast);
    }
    
    .sticky-menu-toggle:hover {
        background-color: rgba(0, 124, 186, 0.1);
        border-radius: var(--border-radius);
    }
    
    .sticky-menu-toggle-icon {
        display: flex;
        flex-direction: column;
        gap: 6px; /* match primary toggle spacing */
        width: 28px; /* wider */
        height: 22px; /* taller */
    }
    
    .sticky-menu-toggle .hamburger-line {
        width: 100%;
        height: 4px; /* thicker for visibility */
        background-color: #fff;
        transition: transform 0.3s ease-in-out, opacity 0.2s ease-in-out;
        border-radius: 3px;
    }

    /*convert hamburger menu to x when expanded*/
    .sticky-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(3px, 10px);
    }
    
    .sticky-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .sticky-menu-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(3px, -10px);
    }

    /* Ensure sticky hamburger toggle remains visible on small screens */
    .sticky-header .sticky-menu-toggle {
        display: flex !important;
    }
    .sticky-header .sticky-menu-toggle-icon {
        display: flex !important;
    }
    .sticky-header .sticky-menu-toggle .hamburger-line {
        display: block;
        height: 4px;
        background-color: #fff;
        border-radius: 3px;
    }
    
    /* Accessibility improvements for mobile sticky header */
    .sticky-header:focus-within {
        outline: 2px solid var(--primary-color);
        outline-offset: -2px;
    }
}

/* Tablet and desktop sticky header styles */
@media (min-width: 768px) {
    .sticky-header {
        min-height: 60px;
        background: #000; /* match main header */
        border-bottom: 1px solid rgba(255,255,255,.1);
    }
    
    .sticky-header-content {
        padding: var(--spacing-sm) 0;
        min-height: 60px;
        display: grid;
        grid-template-columns: auto 1fr; /* logo + nav */
        align-items: center;
        gap: 24px;
    }
    
    .sticky-logo img {
        max-height: 40px;
    }
    
    .sticky-site-title {
        font-size: var(--font-size-lg);
    }
    
    .sticky-navigation { 
        gap: var(--spacing-lg); 
        width: 100%; 
        display: flex;
        align-items: center;
        justify-content: space-between;
    }
    .sticky-quick-actions { display: none; }
    .sticky-menu { 
        display: flex; 
        align-items: center; 
        justify-content: center; 
        gap: var(--spacing-lg);
        list-style: none;
        margin: 0;
        padding: 0;
        flex: 1;
    }
    .sticky-menu a {
        padding: var(--spacing-sm) var(--spacing-md);
        color: #fff;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1.6rem;
        line-height: 1.2;
        text-decoration: none;
        transition: all var(--transition-fast);
        white-space: nowrap;
        border-radius: var(--border-radius);
    }
    .sticky-menu .current-menu-item > a,
    .sticky-menu .current_page_item > a { color: #cb3638; }
    .sticky-menu a:hover { 
        color: #cb3638; 
        background-color: rgba(255, 255, 255, 0.1);
    }
    
    /* Desktop order button */
    .sticky-order-btn {
        display: inline-flex;
        align-items: center;
        padding: 12px 24px;
        background: #ff6b6b;
        color: #fff;
        text-decoration: none;
        border-radius: 999px;
        font-weight: 600;
        font-size: 1.4rem;
        transition: all var(--transition-fast);
        white-space: nowrap;
        margin-left: auto;
    }
    .sticky-order-btn:hover {
        background: #ff5252;
        color: #fff;
        transform: translateY(-1px);
    }
    
    .sticky-cta-button {
        padding: var(--spacing-xs) var(--spacing-md);
        font-size: var(--font-size-sm);
    }
}

/* Tablet Menu Styles - use sidebar for tablets too */
@media (max-width: 1023px) {
    .menu-wrapper {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.92);
        backdrop-filter: blur(12px);
        z-index: 9999;
        display: block;
        overflow-y: auto;
        transform: translateX(100%);
        transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
        opacity: 0;
        visibility: hidden;
    }
    
    .menu-wrapper.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }
    
    /* When sticky header is active, mirror full-screen overlay behaviour */
    body.has-sticky-header .menu-wrapper {
        left: 0;
        width: 100%;
        height: 100vh;
    }
    
    .primary-menu {
        list-style: none;
        margin: 0;
        padding: 120px 30px 30px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    
    .primary-menu a {
        color: #fff;
        text-decoration: none;
        font-size: 18px;
        font-weight: 600;
        padding: 15px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        transition: color 0.3s ease;
        white-space: normal;
        line-height: 1.4;
        word-break: break-word;
    }
    
    .primary-menu a:hover {
        color: #cb3638;
    }
    
    .primary-menu .current-menu-item a {
        color: #cb3638;
    }
    
    /* Close button for mobile menu */
    .menu-close {
        position: absolute;
        top: 70px;
        right: 20px;
        background: none;
        border: none;
        color: #fff;
        font-size: 90px;
        cursor: pointer;
        padding: 10px;
        z-index: 10000;
    }
    
    .menu-close:hover {
        color: #cb3638;
        text-decoration: none;
        border-radius: var(--border-radius);
    }
}

/* Mobile Menu Styles - keep for specific mobile adjustments if needed */
@media (max-width: 767px) {
    /* Mobile-specific adjustments can go here if needed */
}

/* Hide menu close button on larger screens */
@media (min-width: 1024px) {
    .menu-close {
        display: none;
        transition: all var(--transition-fast);
    }
    
    .primary-menu a:hover {
        background-color: #f3f4f6;
        color: var(--primary-color);
    }
}

/* Ensure desktop navigation overrides tablet styles */
@media (min-width: 1024px) {
    .menu-wrapper {
        position: static !important;
        display: flex !important;
        align-items: center;
        gap: var(--spacing-xl);
        background: none !important;
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        top: auto !important;
        right: auto !important;
        left: auto !important;
        width: auto !important;
        height: auto !important;
        transform: none !important;
        overflow: visible !important;
        z-index: auto !important;
    }
    
    .primary-menu {
        flex-direction: row !important;
        padding: 0 !important;
        gap: var(--spacing-lg);
        list-style: none;
        margin: 0;
        display: flex !important;
        align-items: center;
    }
    
    .primary-menu a {
        padding: var(--spacing-sm) var(--spacing-md);
        border-radius: var(--border-radius);
        text-decoration: none;
        transition: all var(--transition-fast);
        display: block;
    }
    
    .primary-menu a:hover {
        background-color: #f3f4f6;
        color: #ffffff;
    }
}

/* ==========================================================================
   Sidebar Styles
   ========================================================================== */

/* Sidebar Widget Styles */
.widget-area .widget {
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-lg);
    border-bottom: 1px solid #e2e8f0;
}

.widget-area .widget:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-title {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

/* Search Widget */
.widget_search .search-form {
    display: flex;
    gap: var(--spacing-sm);
}

.widget_search input[type="search"] {
    flex: 1;
    padding: var(--spacing-sm);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
}

.widget_search input[type="submit"] {
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-size: var(--font-size-sm);
    transition: background-color var(--transition-fast);
}

.widget_search input[type="submit"]:hover {
    background: var(--primary-dark);
}

/* Recent Posts Widget */
.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-post-item {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid #f1f5f9;
}

.recent-post-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-post-link {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: var(--spacing-xs);
    transition: color var(--transition-fast);
}

.recent-post-link:hover {
    color: var(--primary-color);
}

.recent-post-date {
    font-size: var(--font-size-sm);
    color: var(--secondary-color);
}

/* Categories Widget */
.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: var(--spacing-xs);
}

.categories-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-color);
    text-decoration: none;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.categories-list a:hover {
    color: var(--primary-color);
}

/* Tags Widget */
.tagcloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.tagcloud a {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background: #f8fafc;
    color: var(--text-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm) !important;
    transition: all var(--transition-fast);
}

.tagcloud a:hover {
    background: var(--primary-color);
    color: white;
}

/* Archives Widget */
.archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archives-list li {
    margin-bottom: var(--spacing-xs);
}

.archives-list a {
    display: block;
    color: var(--text-color);
    text-decoration: none;
    padding: var(--spacing-xs) 0;
    transition: color var(--transition-fast);
}

.archives-list a:hover {
    color: var(--primary-color);
}

/* Author Info Widget */
.author-info {
    text-align: center;
}

.author-avatar {
    margin-bottom: var(--spacing-md);
}

.author-avatar img {
    border-radius: 50%;
    width: 80px;
    height: 80px;
}

.author-name {
    font-size: var(--font-size-lg);
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: var(--primary-color);
}

.author-bio {
    font-size: var(--font-size-sm);
    line-height: 1.5;
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.author-posts-link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: color var(--transition-fast);
}

.author-posts-link:hover {
    color: var(--primary-dark);
}

/* Newsletter Widget */
.newsletter-content {
    text-align: center;
}

.newsletter-description {
    font-size: var(--font-size-sm);
    margin-bottom: var(--spacing-md);
    color: var(--secondary-color);
}

.newsletter-form .form-group {
    margin-bottom: var(--spacing-sm);
}

.newsletter-form input[type="email"] {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
}

.newsletter-submit {
    width: 100%;
    padding: var(--spacing-sm);
    font-size: var(--font-size-sm);
}

/* Social Links Widget */
.social-links {
    display: flex;
    justify-content: center;
    gap: var(--spacing-md);
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #f8fafc;
    color: var(--text-color);
    border-radius: 50%;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}



/* ==========================================================================
   Print Styles
   ========================================================================== */

@media print {
    .site-header,
    .top-bar,
    .sticky-header,
    .hero-cta,
    .cta-buttons,
    .post-navigation,
    .related-posts,
    .comments-area,
    .footer-widgets,
    .footer-social-links,
    .back-to-top {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
        background: white;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    a {
        color: black;
        text-decoration: underline;
    }
    
    .hero-section {
        background: white;
        color: black;
        padding: 1em 0;
    }
    
    .site-footer {
        background: white;
        color: black;
        border-top: 1px solid #ccc;
    }
} 

/* ==========================================================================
   About Us Page Styles
   ========================================================================== */

/* Introduction Section */
.about-introduction {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.intro-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.intro-text {
    font-size: var(--font-size-lg);
    line-height: 1.8;
    color: #4a5568;
}

.intro-text p {
    margin-bottom: var(--spacing-md);
}

.intro-text p:last-child {
    margin-bottom: 0;
}

/* Team Members Block styles moved to dedicated CSS file */

/* Values Section */
.values-section {
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl) 0;
}

.values-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.values-intro {
    font-size: var(--font-size-lg);
    color: #4a5568;
    margin-top: var(--spacing-md);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.value-card {
    text-align: center;
    padding: var(--spacing-lg);
    background: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-fast);
    border: 1px solid #e2e8f0;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.value-icon {
    margin-bottom: var(--spacing-md);
    color: var(--primary-color);
}

.value-title {
    font-size: var(--font-size-xl);
    font-weight: 600;
    color: #1a202c;
    margin-bottom: var(--spacing-sm);
}

.value-description {
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: #4a5568;
}

/* Section Titles */
.section-title {
    font-size: var(--font-size-3xl);
    font-weight: 700;
    color: #1a202c;
    margin-bottom: var(--spacing-md);
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .values-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .value-card {
        margin-bottom: var(--spacing-md);
    }
}

@media (max-width: 480px) {
    .value-card {
        padding: var(--spacing-md);
    }
}

@media (min-width: 1024px) {
    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

 
/* ==========================================================================
   404 Error Page Styles
   ========================================================================== */

.error-404 {
    padding: var(--spacing-3xl) 0;
    background-color: #f8fafc;
    min-height: 60vh;
    display: flex;
    align-items: center;
}

.error-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* 404 Icon - Centered */
.error-icon {
    margin-bottom: var(--spacing-xl);
    display: flex;
    justify-content: center;
    align-items: center;
}

.error-icon svg {
    width: 120px;
    height: 120px;
    color: var(--primary-color);
    opacity: 0.8;
}

/* Error Header - Centered */
.error-404 .page-header {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.error-404 .page-title {
    font-size: var(--font-size-4xl);
    color: #111827;
    margin-bottom: var(--spacing-md);
    font-weight: 700;
}

/* Error Description - Centered */
.error-description {
    font-size: var(--font-size-lg);
    color: var(--secondary-color);
    margin-bottom: var(--spacing-2xl);
    line-height: 1.6;
}

/* Page Content - Left Aligned */
.error-404 .page-content {
    text-align: left;
    margin-bottom: var(--spacing-2xl);
}

/* Search Section */
.error-search {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.search-title {
    font-size: var(--font-size-xl);
    color: #111827;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.error-search .search-form {
    display: flex;
    gap: var(--spacing-sm);
    max-width: 400px;
}

.error-search input[type="search"] {
    flex: 1;
    padding: var(--spacing-md);
    border: 2px solid #e2e8f0;
    border-radius: var(--border-radius);
    font-size: var(--font-size-base);
    transition: border-color var(--transition-fast);
}

.error-search input[type="search"]:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.error-search input[type="submit"] {
    padding: var(--spacing-md) var(--spacing-lg);
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: background-color var(--transition-fast);
}

.error-search input[type="submit"]:hover {
    background-color: var(--primary-dark);
}

/* Recent Posts Section */
.error-recent-posts {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.recent-posts-title {
    font-size: var(--font-size-xl);
    color: #111827;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.recent-posts-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recent-posts-list li {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid #e2e8f0;
}

.recent-posts-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.recent-posts-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.recent-posts-list a:hover {
    color: var(--primary-dark);
}

/* Categories Section */
.error-categories {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.categories-title {
    font-size: var(--font-size-xl);
    color: #111827;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.categories-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.categories-list li {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid #e2e8f0;
}

.categories-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.categories-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.categories-list a:hover {
    color: var(--primary-dark);
}

/* Archives Section */
.error-archives {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.archives-title {
    font-size: var(--font-size-xl);
    color: #111827;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.archives-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.archives-list li {
    margin-bottom: var(--spacing-sm);
    padding-bottom: var(--spacing-sm);
    border-bottom: 1px solid #e2e8f0;
}

.archives-list li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.archives-list a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color var(--transition-fast);
}

.archives-list a:hover {
    color: var(--primary-dark);
}

/* Tags Section */
.error-tags {
    margin-bottom: var(--spacing-2xl);
    padding: var(--spacing-lg);
    background-color: white;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

.tags-title {
    font-size: var(--font-size-xl);
    color: #111827;
    margin-bottom: var(--spacing-md);
    font-weight: 600;
}

.tags-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-sm);
}

.tags-cloud a {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-sm);
    background-color: #f1f5f9;
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-size: var(--font-size-sm);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.tags-cloud a:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-1px);
}

/* Error Actions - Centered */
.error-actions {
    text-align: center;
    margin-top: var(--spacing-2xl);
    padding-bottom: var(--spacing-2xl);
}

.error-actions .button {
    display: inline-block;
    padding: var(--spacing-md) var(--spacing-xl);
    margin: 0 var(--spacing-sm);
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-fast);
    font-size: var(--font-size-lg);
}

.error-actions .primary-button {
    background-color: var(--primary-color);
    color: white;
}

.error-actions .primary-button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.error-actions .secondary-button {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.error-actions .secondary-button:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.error-actions .tertiary-button {
    background-color: transparent;
    color: var(--secondary-color);
    border: 2px solid var(--secondary-color);
}

.error-actions .tertiary-button:hover {
    background-color: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Responsive Design */
@media (max-width: 768px) {
    .error-404 {
        padding: var(--spacing-2xl) 0;
    }
    
    .error-content {
        padding: 0 var(--spacing-md);
    }
    
    .error-icon svg {
        width: 100px;
        height: 100px;
    }
    
    .error-404 .page-title {
        font-size: var(--font-size-3xl);
    }
    
    .error-description {
        font-size: var(--font-size-base);
    }
    
    .error-actions .button {
        display: block;
        margin: var(--spacing-sm) 0;
        width: 100%;
        text-align: center;
    }
    
    .error-search .search-form {
        flex-direction: column;
    }
    
    .error-search input[type="submit"] {
        margin-top: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .error-404 .page-title {
        font-size: var(--font-size-2xl);
    }
    
    .error-icon svg {
        width: 80px;
        height: 80px;
    }
    
    .error-search,
    .error-recent-posts,
    .error-categories,
    .error-archives,
    .error-tags {
        padding: var(--spacing-md);
    }
} 

.gform-theme--framework .gfield--input-type-datepicker .ginput_container_date input{
    margin: 0 auto;
}

#field_2_8{
    text-align: center;
}

/* Hidden fields container */
.hidden-fields-container {
    display: none;
}

.gform_title{
    text-align: center;
    color: white;
}
