/*
Theme Name: McLane Middleton Trust
Theme URI: https://mclanetrustcompany.com
Author: McLane Middleton
Author URI: https://mclanetrustcompany.com
Description: A premium WordPress theme for McLane Middleton Trust Company featuring Gutenberg block patterns and Full Site Editing support.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mclane-trust
Tags: full-site-editing, block-patterns, custom-colors, custom-logo

McLane Middleton Trust Company - Trusted Fiduciary Services
*/

/* ==========================================================================
   CSS VARIABLES (Design Tokens)
   ========================================================================== */
:root {
    --primary: #004f71;
    --primary-hover: #47749a;
    --primary-dark: #003a54;
    --text: #00070b;
    --text-light: #4a5568;
    --text-muted: #718096;
    --bg: #ffffff;
    --bg-alt: #f7f7f7;
    --bg-dark: #00070b;
    --border: #e2e8f0;
    --accent: #c9a962;
    --accent-light: #7eb8d8;
    --font-heading: 'EB Garamond', Georgia, serif;
    --font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-md: 0 15px 50px rgba(0,0,0,0.12);
    --shadow-lg: 0 20px 60px rgba(0,79,113,0.1);
}

/* ==========================================================================
   BASE STYLES
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   TYPOGRAPHY
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.15;
    color: var(--text);
}

h1 { font-size: clamp(42px, 5.5vw, 80px); }
h2 { font-size: clamp(36px, 4.5vw, 60px); }
h3 { font-size: clamp(28px, 3vw, 48px); }
h4 { font-size: clamp(22px, 2.5vw, 34px); }
h5 { font-size: clamp(18px, 2vw, 24px); }
h6 { font-size: clamp(16px, 1.5vw, 20px); }

p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--primary-hover);
}

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

/* ==========================================================================
   LAYOUT
   ========================================================================== */
.container,
.wp-block-group.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container,
    .wp-block-group.container {
        padding: 0 24px;
    }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn,
.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 40px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

.btn-primary,
.wp-block-button.is-style-primary .wp-block-button__link {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-primary:hover,
.wp-block-button.is-style-primary .wp-block-button__link:hover {
    background: var(--primary-hover);
    border-color: var(--primary-hover);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,79,113,0.25);
}

.btn-outline,
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.5);
}

.btn-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
    transform: translateY(-3px);
}

.btn-white,
.wp-block-button.is-style-white .wp-block-button__link {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

.btn-white:hover,
.wp-block-button.is-style-white .wp-block-button__link:hover {
    background: transparent;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255,255,255,0.15);
}

/* Link Arrow */
.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.02em;
    transition: all var(--transition);
}

.link-arrow svg {
    width: 18px;
    height: 18px;
    transition: transform var(--transition);
}

.link-arrow:hover {
    gap: 14px;
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
    background: var(--primary);
    padding: 10px 0;
}

.top-bar-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 28px;
}

.top-bar a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    transition: all var(--transition);
}

.top-bar a:hover {
    color: #fff;
}

.top-bar a svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header,
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #fff;
    transition: all var(--transition);
    border-bottom: 1px solid transparent;
}

.site-header.scrolled,
.header.scrolled {
    box-shadow: var(--shadow-sm);
    border-bottom-color: var(--border);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-svg,
.custom-logo {
    height: 42px;
    width: auto;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav,
.wp-block-navigation {
    display: flex;
    align-items: center;
    gap: 0;
}

.nav-item {
    position: relative;
}

.nav-link,
.wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 28px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    position: relative;
    letter-spacing: 0.01em;
    transition: color var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 16px;
    right: 16px;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform var(--transition);
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* Dropdown */
.dropdown,
.wp-block-navigation__submenu-container {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 240px;
    background: #fff;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all var(--transition);
    z-index: 100;
    border-radius: 0 0 4px 4px;
    overflow: hidden;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition);
}

.dropdown a:last-child {
    border-bottom: none;
}

.dropdown a:hover {
    background: var(--primary);
    color: #fff;
    padding-left: 24px;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 0;
}

.mobile-toggle span {
    height: 2px;
    background: var(--text);
    transition: all var(--transition);
    border-radius: 2px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero,
.mclane-hero {
    position: relative;
    height: 100vh;
    min-height: 800px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #111;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: 
        linear-gradient(180deg, rgba(17,17,17,0.5) 0%, rgba(17,17,17,0.25) 40%, rgba(17,17,17,0.65) 100%),
        linear-gradient(90deg, rgba(17,17,17,0.4) 0%, transparent 50%);
}

.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    align-items: center;
    min-height: 100vh;
}

.hero-content {
    max-width: 900px;
    padding: 120px 0;
}

.hero-eyebrow {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 32px;
    opacity: 0;
    animation: heroFadeUp 1s ease forwards 0.2s;
}

.hero-title {
    font-size: clamp(42px, 5.5vw, 80px);
    font-weight: 400;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

.hero-title-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
}

.hero-title-text {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    animation: heroRevealUp 1.2s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-title-line:nth-child(1) .hero-title-text {
    animation-delay: 0.3s;
}

.hero-title-line:nth-child(2) .hero-title-text {
    animation-delay: 0.45s;
}

.hero-title em {
    font-style: italic;
    color: var(--accent-light);
}

.hero-desc {
    font-size: 17px;
    line-height: 1.75;
    color: rgba(255,255,255,0.75);
    max-width: 540px;
    margin-bottom: 44px;
    opacity: 0;
    animation: heroFadeUp 1s ease forwards 0.7s;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0;
    animation: heroFadeUp 1s ease forwards 0.9s;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 38px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.hero-btn-primary {
    background: var(--primary);
    color: #fff;
    border: none;
}

.hero-btn-primary:hover {
    background: #0369a1;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(0,79,113,0.35);
}

.hero-btn-secondary {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.4);
}

.hero-btn-secondary:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}

/* Hero Stats */
.hero-stats {
    position: absolute;
    right: 80px;
    bottom: 100px;
    z-index: 20;
    text-align: right;
    opacity: 0;
    animation: heroFadeUp 1s ease forwards 1.1s;
}

.hero-stat {
    margin-bottom: 36px;
}

.hero-stat:last-child {
    margin-bottom: 0;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-size: 60px;
    font-weight: 400;
    font-style: italic;
    color: #fff;
    line-height: 1;
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.22em;
    color: rgba(255,255,255,0.5);
    margin-top: 10px;
}

/* Hero Scroll Indicator */
.hero-scroll {
    position: absolute;
    left: 80px;
    bottom: 100px;
    z-index: 20;
    opacity: 0;
    animation: heroFadeUp 1s ease forwards 1.2s;
}

.hero-scroll-inner {
    display: flex;
    align-items: center;
    gap: 16px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.hero-scroll-text {
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.5);
}

.hero-scroll-line {
    width: 1px;
    height: 70px;
    background: rgba(255,255,255,0.25);
    position: relative;
    overflow: hidden;
}

.hero-scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40%;
    background: #fff;
    animation: scrollMove 2s ease-in-out infinite;
}

/* ==========================================================================
   ABOUT SECTION
   ========================================================================== */
.about,
.mclane-about {
    padding: 160px 0;
    background: var(--bg);
    overflow: visible;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    align-items: center;
    overflow: visible;
}

.about-label {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--primary);
    margin-bottom: 28px;
}

.about-label::before {
    content: '';
    width: 40px;
    height: 2px;
    background: var(--primary);
}

.about-content h2 {
    color: var(--text);
    margin-bottom: 36px;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.15;
}

.about-text p {
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-light);
    margin-bottom: 24px;
}

.about-text p:last-child {
    margin-bottom: 32px;
}

.about-image {
    position: relative;
}

.about-image-wrapper {
    position: relative;
    display: block;
    height: 520px;
}

.about-image-main {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about-quote {
    position: absolute;
    left: -40px;
    bottom: 60px;
    background: var(--primary);
    padding: 36px 40px;
    width: 280px;
    z-index: 20;
}

.about-quote blockquote {
    font-family: var(--font-heading);
    font-size: 26px;
    font-weight: 500;
    font-style: italic;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 24px;
}

.about-quote a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255,255,255,0.8);
    transition: all var(--transition);
}

.about-quote a:hover {
    color: #fff;
    gap: 12px;
}

/* ==========================================================================
   FEATURES SECTION
   ========================================================================== */
.features,
.mclane-features {
    padding: 120px 0;
    background: var(--bg-alt);
    position: relative;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border), transparent);
}

.features-header {
    text-align: center;
    margin-bottom: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
}

.feature-card {
    padding: 60px 50px;
    background: var(--bg);
    border-right: 1px solid var(--border);
    position: relative;
    transition: all var(--transition);
}

.feature-card:last-child {
    border-right: none;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.feature-card:hover {
    background: var(--bg);
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 32px;
    color: var(--primary);
}

.feature-card h4 {
    color: var(--text);
    margin-bottom: 20px;
    transition: color var(--transition);
}

.feature-card:hover h4 {
    color: var(--primary);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 28px;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta,
.mclane-cta {
    padding: 140px 0;
    background: var(--primary);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 80% at 0% 50%, rgba(0,0,0,0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 60% at 100% 50%, rgba(201,169,98,0.15) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.cta-text h2 {
    color: #fff;
    margin-bottom: 20px;
}

.cta-text p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 600px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer,
.site-footer {
    background: var(--bg-alt);
    padding: 0;
}

.footer-top-bar {
    background: var(--primary);
    padding: 50px 0;
}

.footer-top-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.footer-top-text h3 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 8px;
}

.footer-top-text p {
    color: rgba(255,255,255,0.8);
    font-size: 15px;
}

.footer-main {
    padding: 70px 0 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 50px;
}

.footer-brand .logo-svg {
    margin-bottom: 20px;
    height: 48px;
}

.footer-brand-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 8px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-alt);
    color: var(--text-light);
    border: 1px solid var(--border);
    border-radius: 4px;
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    transform: translateY(-2px);
}

.footer-col h4 {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col a {
    display: inline-flex;
    font-size: 14px;
    color: var(--text-light);
    padding: 7px 0;
    transition: all var(--transition);
}

.footer-col a:hover {
    color: var(--primary);
}

.footer-bottom {
    padding: 24px 0;
    background: #fff;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-legal {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-legal a {
    font-size: 13px;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-legal a:hover {
    color: var(--primary);
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes heroRevealUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heroFadeUp {
    from {
        opacity: 0;
        transform: translateY(25px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scrollMove {
    0% { top: -40%; }
    50% { top: 100%; }
    50.01%, 100% { top: -40%; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */
@media (max-width: 1200px) {
    .hero-container { padding: 0 60px; }
    .hero-stats { right: 60px; bottom: 80px; }
    .hero-scroll { left: 60px; bottom: 80px; }
    .hero-title { font-size: clamp(38px, 5vw, 70px); }
}

@media (max-width: 1024px) {
    .hero-container { padding: 0 40px; }
    .hero-stats { right: 40px; bottom: 60px; }
    .hero-stat-value { font-size: 48px; }
    .hero-scroll { left: 40px; bottom: 60px; }
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-image { order: -1; max-width: 600px; margin: 0 auto; }
    .about-image-wrapper { height: 450px; }
    .about-quote { left: -20px; bottom: 50px; width: 250px; padding: 30px 34px; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { border-right: none; border-bottom: 1px solid var(--border); }
    .feature-card:last-child { border-bottom: none; }
    .cta-content { grid-template-columns: 1fr; text-align: center; }
    .cta-text p { margin: 0 auto 32px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 768px) {
    .top-bar { display: none; }
    .header-inner { height: 70px; }
    .mobile-toggle { display: flex; }
    
    .nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition);
        z-index: 1001;
    }
    
    .nav.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero { height: auto; min-height: 100vh; }
    .hero-container { padding: 0 24px; }
    .hero-content { padding: 140px 0 60px; text-align: center; }
    .hero-title { font-size: clamp(24px, 5.5vw, 42px); }
    .hero-title-line { white-space: normal; }
    .hero-desc { max-width: 100%; font-size: 15px; }
    .hero-buttons { justify-content: center; }
    .hero-stats { 
        position: relative;
        right: auto;
        bottom: auto;
        text-align: center;
        display: flex;
        justify-content: center;
        gap: 60px;
        padding-bottom: 60px;
    }
    .hero-scroll { display: none; }
    
    .about { padding: 80px 0; }
    .features { padding: 80px 0; }
    .cta { padding: 80px 0; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-brand { text-align: center; }
    .footer-social { justify-content: center; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ==========================================================================
   WORDPRESS SPECIFIC STYLES
   ========================================================================== */
.wp-block-group.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(-50vw + 50%);
}

.wp-block-group.alignwide {
    max-width: 1440px;
    margin-left: auto;
    margin-right: auto;
}

.has-primary-background-color {
    background-color: var(--primary);
}

.has-primary-color {
    color: var(--primary);
}

.has-white-color {
    color: #fff;
}

.has-dark-background-color {
    background-color: var(--bg-dark);
}

.has-alt-background-color {
    background-color: var(--bg-alt);
}

/* Admin bar adjustment */
.admin-bar .site-header,
.admin-bar .header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .site-header,
    .admin-bar .header {
        top: 46px;
    }
}

