/* ==========================================================================
   HELIX & GLOBAL OVERRIDES
   ========================================================================== */
.leftmenu {
    position: sticky;
    top: 90px; 
    display: block !important;
    background-color: #FFD200;
    color: #005B7F;
    z-index: 1000;
    padding: 10px;
    border: 1px solid #005B7F;
}

.bluefirst {
    position: sticky;
    top: 90px;
    display: block !important;
    background-color: #e8eded; 
    color: #FFD200;
    z-index: 1000;
    padding: 10px;
    border: 1px solid #FFD200;
}

.card { --bs-card-border-width: 0px; }
.card-body { background-color: #e8eded; }
span.badge.bg-danger.featured-article-badge { display: none; }

/* ==========================================================================
   SHARED CORE LOGIC (BOXED H1 & SLAB)
   ========================================================================== */
.header-slab { max-width: 60%; text-align: left; margin-bottom: 25px; }

/* Proper Case for all headers */
[class*="style-"] h1, [class*="style-"] h2, [class*="style-"] h3 {
    text-transform: capitalize !important;
    font-weight: 900;
}

/* UNIVERSAL LIGHT BACKGROUND FOR ALL STYLES */
[class*="style-"] {
    background-color: #efefef !important; /* The requested grey background */
    color: #2C3E50 !important;            /* Dark text for readability */
    padding: 40px;
    display: block;
}

/* Base H1 Box Logic */
[class*="style-"] h1 {
    display: inline-block;
    padding: 10px 25px;
    margin-bottom: 30px;
    border-radius: 2px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
}

/* ==========================================================================
   1. MAIN - (Yellow Border)
   ========================================================================== */
.style-main { border-left: 8px solid #ffd200; }
.style-main h1 { background-color: #ffd200 !important; color: #2C3E50 !important; }
.style-main a { color: #005b7f !important; font-weight: bold; text-decoration: underline; }

/* ==========================================================================
   2. BLOG - (Standard Grey)
   ========================================================================== */
.style-blog { border-left: 8px solid #2C3E50; }
.style-blog h1 { background-color: #2C3E50 !important; color: #ffffff !important; }
.style-blog h2 { color: #005b7f !important; }

/* ==========================================================================
   3. AIR FREIGHT - (Teal Border)
   ========================================================================== */
.style-air-freight { border-left: 8px solid #009ca6; }
.style-air-freight h1 { background-color: #009ca6 !important; color: #ffffff !important; }
.style-air-freight h4 { color: #009ca6 !important; font-weight: 800; border-bottom: 1px solid rgba(0, 156, 166, 0.3); padding-bottom: 5px; display: table; }
.style-air-freight a { color: #005b7f !important; font-weight: bold; }

/* ==========================================================================
   4. CUSTOMS BROKERAGE - (Yellow Border)
   ========================================================================== */
.style-customs { border-left: 8px solid #ffd200; }
.style-customs h1 { background-color: #005b7f !important; color: #ffffff !important; }
.style-customs h4 { color: #005b7f !important; font-weight: 800; border-bottom: 1px solid rgba(0, 91, 127, 0.2); padding-bottom: 5px; display: table; }
.style-customs a { color: #005b7f !important; font-weight: bold; }

/* ==========================================================================
   5. PROJECT LOGISTICS - (Teal Border)
   ========================================================================== */
.style-projects { border-left: 8px solid #009ca6; }
.style-projects h1 { background-color: #ffd200 !important; color: #2C3E50 !important; }
.style-projects h4 { color: #009ca6 !important; font-weight: 800; border-bottom: 1px solid rgba(0, 156, 166, 0.3); padding-bottom: 5px; display: table; }

/* ==========================================================================
   6. SEA FREIGHT - (Main Blue Border)
   ========================================================================== */
.style-sea-freight { border-left: 8px solid #005b7f; }
.style-sea-freight h1 { background-color: #ffd200 !important; color: #2C3E50 !important; }
.style-sea-freight h4 { color: #005b7f !important; font-weight: 800; border-bottom: 1px solid rgba(0, 91, 127, 0.2); padding-bottom: 5px; display: table; }

/* ==========================================================================
   7. OTHER - (Dark Blue Border)
   ========================================================================== */
.style-others { border-left: 8px solid #2C3E50; }
.style-others h1 { background-color: #2C3E50 !important; color: #ffffff !important; }
/* ==========================================================================
   ACORN/COPRO TECHNICAL TABLES (FIXED LEAKS & UNIFORM ROWS)
   ========================================================================== */
[class*="style-"] table {
    width: 100% !important;
    border-collapse: collapse !important;
    margin: 30px 0 !important;
    background-color: #ffffff !important; 
    border: 1px solid #cccccc !important;
    /* Fixes edge leak/overflow on DuckDuckGo and Edge */
    overflow: hidden; 
    display: table;
}

/* 1. THE MAIN HEADER ONLY (Row 1) */
[class*="style-"] table thead tr, 
[class*="style-"] table tr:first-child {
    background-color: #2C3E50 !important;
}

[class*="style-"] table thead th,
[class*="style-"] table tr:first-child th,
[class*="style-"] table tr:first-child td {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    padding: 15px !important;
    border: 0px solid #2C3E50 !important;
    background-clip: padding-box; /* Fixes color bleeding past border */
}

/* 2. UNIFORM DATA ROWS (Treats Row 2, 3, 4... exactly the same) */
/* We target 'td' specifically to override Helix/Joomla defaults */
[class*="style-"] table tbody tr td, 
[class*="style-"] table tr:not(:first-child) td {
    padding: 12px 15px !important;
    border: 1px solid #eeeeee !important;
    color: #333333 !important;
    font-weight: 400 !important; /* Uniform weight for all specs */
    background-color: #ffffff !important;
    background-clip: padding-box; /* Fixes browser edge leak */
    text-transform: none !important;
}

/* 3. STRIPING (Alternate Row Shade) */
[class*="style-"] table tbody tr:nth-child(even) td,
[class*="style-"] table tr:nth-child(even) td {
    background-color: #f9f9f9 !important;
}

/* 4. FORCE REMOVE BOLDING FROM FIRST DATA ROW */
/* This ensures "External Dimensions" doesn't stand out */
[class*="style-"] table tbody tr:first-child td {
    font-weight: 400 !important;
    color: #333333 !important;
}