/*
 Theme Name:   BeLocal Custom Theme
 Theme URI:    https://mathesonconstructors.com
 Description:  Custom child theme for Matheson Constructors, based on Divi
 Author:       Matheson Constructors
 Template:     Divi
 Version:      1.0.1
 Text Domain:  belocal-custom-theme
*/

/* Skip-to-content link (WCAG 2.4.1) */
.skip-to-content {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
    z-index: 999999;
    padding: 12px 24px;
    background: #25285F;
    color: #ffffff;
    font-size: 16px;
    text-decoration: none;
}

.skip-to-content:focus {
    position: fixed;
    top: 10px;
    left: 10px;
    width: auto;
    height: auto;
    overflow: visible;
    outline: 2px solid #B0C637;
}

/* ==========================================================================
   Global Layout: max-width cap
   Matches the 1208px used in footer and project grid.
   ========================================================================== */

:root {
    --msc-content-max-width: 1208px;
}

/* Divi content rows — override default 1080px */
.et_pb_row {
    max-width: var(--msc-content-max-width) !important;
}

/* Header container */
#main-header .container {
    max-width: var(--msc-content-max-width);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

/* Fullwidth nav header variant */
.et_fullwidth_nav #main-header .container {
    max-width: var(--msc-content-max-width);
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
