/* ==========================================================================
   DERETICULAR WIDESCREEN & DESKTOP CENTERING ENGINE (1340px EXPANDED)
   ========================================================================== */

/* 1. Global Viewport & Root Lock */
html,
body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    background-color: #0c0d0e !important;
    color: #e6e8ea !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important; /* Establishes root centering baseline */
}

*,
*::before,
*::after {
    box-sizing: border-box !important;
}

/* 2. Break Float Traps & Center All Genesis Structural Tiers */
.site-container,
.site-inner,
.site-inner .wrap,
.content-sidebar-wrap,
main.content,
.content,
article.entry,
.entry-content {
    float: none !important;
    clear: both !important;
    display: block !important;
    max-width: 100% !important;
    width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    text-align: left !important; /* Re-aligns internal copy to natural left */
}

/* 3. Expanded Widescreen Viewport Container (1340px Desktop Master) */
.dr-viewport-container {
    width: 100% !important;
    max-width: 1340px !important; /* Expanded from 1140px for larger desktop view */
    margin-left: auto !important;
    margin-right: auto !important;
    padding-left: clamp(20px, 3vw, 40px) !important;
    padding-right: clamp(20px, 3vw, 40px) !important;
    box-sizing: border-box !important;
}

/* 4. Full-Bleed Section Normalization */
.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.alignwide {
    width: 100% !important;
    max-width: 1340px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 5. 3-Column Responsive Flex Grid */
.wp-block-columns {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 0 !important;
}

.wp-block-column {
    flex: 1 1 340px !important; /* Broadens base column width for wider cards */
    min-width: 0 !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
}

/* 6. Tactical Cards (Uniform Height & Balanced Internal Padding) */
.dr-tactical-card {
    background-color: #16191c !important;
    border: 1px solid #31373d !important;
    border-top: 3px solid #c8963e !important;
    border-radius: 4px !important;
    padding: 22px 20px !important;
    height: 100% !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
    text-align: left !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4) !important;
}

.dr-tactical-card--cyan {
    border-top-color: #00e5ff !important;
}

.dr-tactical-card h3,
.dr-tactical-card h4 {
    color: #c8963e !important;
    margin-top: 0 !important;
    margin-bottom: 8px !important;
    font-size: 1.15rem !important;
    line-height: 1.3 !important;
    letter-spacing: 0.5px !important;
}

.dr-tactical-card--cyan h3 {
    color: #00e5ff !important;
}

.dr-tactical-card p {
    color: #a0aab2 !important;
    font-size: 0.92rem !important;
    line-height: 1.5 !important;
    margin-bottom: 14px !important;
}

/* Compact Buttons */
.dr-btn-compact {
    display: inline-block !important;
    background: #c8963e !important;
    color: #0c0d0e !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    padding: 8px 18px !important;
    border-radius: 2px !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: background 0.15s ease, transform 0.1s ease !important;
}

.dr-btn-compact:hover {
    background: #e0aa4c !important;
    color: #0c0d0e !important;
    transform: translateY(-1px) !important;
}

/* 7. Mobile & Tablet Breakpoints (<= 992px) */
@media (max-width: 992px) {
    .dr-viewport-container {
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    .wp-block-columns {
        gap: 12px !important;
    }

    .wp-block-column {
        flex: 1 1 100% !important;
    }
}