/* Alignfull Compatibility */
body {
    overflow-x: hidden;
}
.entry-content .alignfull {
    margin-left: calc( -50vw + 50%);
    margin-right: calc( -50vw + 50%);
    max-width: 100vw;
    width: 100vw;
}



/*Reset Default Blocks Gap*/
.wp-site-blocks > * {
    margin-block-start: 0;
}

/* Navigation */
@media screen and (min-width: 600px){
    .wp-block-navigation ul.wp-block-navigation-submenu li {
        border-bottom: 1px solid rgba(0,0,0,.15);
    }
    .wp-block-navigation ul.wp-block-navigation-submenu li:last-child {
        border: none;
    }
}


/* ====================================
   MAIN STYLESHEET - Cedre Group
   Based on Brandbook Guidelines
   ==================================== */

/* ---------- CSS Variables (Root) ---------- */
:root {
    /* Primary Colors */
    --cedre-green: #6B7D5B;        /* RGB: 107, 125, 91 */
    --dark-charcoal: #2B2B2B;       /* RGB: 43, 43, 43 - Main text color */
    --white: #FFFFFF;               /* RGB: 255, 255, 255 */

    /* Secondary / Accent Colors */
    --light-olive: #BD7D9A;         /* Provided as "HB3, 189, 122, 154" - interpreted as RGB 189,122,154 -> #BD7D9A */
    --copper-accent: #B87333;       /* Standard Copper approximation - can be adjusted */

    /* Functional Colors */
    --background-light: #F8F8F8;     /* Light background for sections */
    --border-color: rgba(43, 43, 43, 0.1);

    /* Typography - Font Families */
    --font-headings: 'Inter', 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
}

/* ---------- Reset & Base Styles ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--dark-charcoal);
    background-color: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography - Headings ---------- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-headings);
    font-weight: 600;               /* Inter/Manrope Semi-bold works well */
    line-height: 1.2;
    color: var(--cedre-green);       /* Primary green for headings */
    margin-bottom: var(--spacing-sm);
    letter-spacing: -0.02em;         /* Modern touch for clean tech feel */
}

h1 {
    font-size: 3.5rem;               /* 56px - Adjust based on viewport */
    font-weight: 700;                 /* Bold for H1 */
}

h2 {
    font-size: 2.5rem;               /* 40px */
    font-weight: 600;
}

h3 {
    font-size: 2rem;                 /* 32px */
    font-weight: 600;
}

h4 {
    font-size: 1.5rem;               /* 24px */
    font-weight: 600;
    color: var(--dark-charcoal);      /* Example: subheadings might use charcoal */
}

h5 {
    font-size: 1.25rem;              /* 20px */
    font-weight: 600;
    text-transform: uppercase;        /* As seen in the brandbook example */
    letter-spacing: 0.05em;
    color: var(--cedre-green);
}

h6 {
    font-size: 1rem;                 /* 16px */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

/* ---------- Body Text ---------- */
p {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-charcoal);
    margin-bottom: var(--spacing-sm);
    font-weight: 400;
}

/* Bold text inside paragraphs for emphasis */
p strong, b {
    font-weight: 600;
    color: var(--cedre-green);        /* Emphasized text in brand green */
}

/* ---------- Small Text / Technical Details ---------- */
small, .text-small {
    font-family: var(--font-body);
    font-size: 0.875rem;              /* 14px */
    line-height: 1.5;
    color: var(--dark-charcoal);
    opacity: 0.8;
    letter-spacing: 0.01em;
    font-weight: 400;
}

/* Technical specifications / uppercase lists as in brandbook */
.technical-list {
    list-style: none;
    padding: 0;
}

.technical-list li {
    font-family: var(--font-headings);
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--cedre-green);
    margin-bottom: var(--spacing-xs);
    padding-left: 0;
    position: relative;
}

/* ---------- Color Utility Classes ---------- */
.bg-white {
    background-color: var(--white);
}

.bg-light-olive {
    background-color: var(--light-olive);
}

.bg-cedre-green {
    background-color: var(--cedre-green);
}

.text-cedre-green {
    color: var(--cedre-green);
}

.text-dark-charcoal {
    color: var(--dark-charcoal);
}

.text-white {
    color: var(--white);
}

/* Copper accent - used sparingly as per brandbook */
.accent-copper {
    color: var(--copper-accent);
    border-color: var(--copper-accent);
}

/* ---------- Layout & Section Styles ---------- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

section {
    padding: var(--spacing-lg) 0;
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-lg);
}

.section-title h2 {
    color: var(--cedre-green);
    margin-bottom: var(--spacing-xs);
}

.section-title .subheading {
    font-family: var(--font-headings);
    font-size: 1.125rem;
    color: var(--dark-charcoal);
    opacity: 0.8;
}

/* ---------- Buttons (Example) ---------- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    font-family: var(--font-headings);
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    border-radius: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--cedre-green);
    color: var(--white);
    border: 2px solid var(--cedre-green);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--cedre-green);
}

.btn-outline {
    background-color: transparent;
    color: var(--cedre-green);
    border: 2px solid var(--cedre-green);
}

.btn-outline:hover {
    background-color: var(--cedre-green);
    color: var(--white);
}

/* ---------- Lists ---------- */
ul, ol {
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-md);
}

li {
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-body);
    color: var(--dark-charcoal);
}

/* Brandbook specific: "TRANSPARENT AND RESPONSIVE PROCESSES" style */
.list-features {
    list-style: none;
    padding-left: 0;
}

.list-features li {
    font-family: var(--font-headings);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--cedre-green);
    margin-bottom: var(--spacing-xs);
    padding-left: 1.5rem;
    position: relative;
}

.list-features li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--cedre-green);
}

/* ---------- Blockquotes / Highlighted Text ---------- */
blockquote {
    font-family: var(--font-headings);
    font-size: 1.5rem;
    font-weight: 300;
    line-height: 1.4;
    color: var(--cedre-green);
    border-left: 4px solid var(--cedre-green);
    padding-left: var(--spacing-md);
    margin: var(--spacing-md) 0;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    h4 {
        font-size: 1.25rem;
    }

    section {
        padding: var(--spacing-md) 0;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h5 {
        font-size: 1rem;
    }

    .btn {
        padding: 0.6rem 1.5rem;
        font-size: 0.875rem;
    }
}

/* ---------- Print Styles ---------- */
@media print {
    body {
        color: #000;
        background: #fff;
    }

    h1, h2, h3 {
        color: #000;
    }
}