/*
Theme Name:   Rocket Science Technologies Theme
Template:     hello-biz
Description:  A custom child theme for Rocket Science Technologies
Author:       6degrees.in
Version:      1.0.3
*/

/* Add your custom CSS below this line */

/* =================================
   GLOBAL VARIABLES (New Additions for Uniformity)
   ================================= */
:root {
  --rst-border-subtle: rgba(255, 255, 255, 0.08);
  --rst-border-hover: rgba(255, 255, 255, 0.25);
  --rst-red-brand: #e31e24;
}

/* =================================
   NAVBAR STYLING (Restored)
   ================================= */
/* Mobile only: Set document background to dark */
@media (max-width: 768px) {
  :root,
  html,
  body {
    background-color: #111111 !important;
  }
}
	
.rst-navbar {
  position: relative;
  /* Enhanced dark glassmorphism with previous opacity */
  background: linear-gradient(
    135deg,
    rgba(17, 17, 17, 0.8) 0%,
    rgba(30, 30, 30, 0.75) 50%,
    rgba(17, 17, 17, 0.7) 100%
  );
  backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
  -webkit-backdrop-filter: blur(40px) saturate(200%) brightness(1.1);
  
  /* Enhanced shadow with layered effect */
  box-shadow: 
    0 4px 20px rgba(0, 0, 0, 0.15),
    0 12px 40px rgba(0, 0, 0, 0.25),
    0 1px 0 rgba(255, 255, 255, 0.1) inset,
    0 -1px 0 rgba(255, 255, 255, 0.05) inset;
  border-radius: 0 !important;
  border: none;
  
  /* Smooth shadow transition */
  transition: box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Enhanced gradient overlay with more luminosity */
.rst-navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.12),
    rgba(255, 255, 255, 0.03),
    transparent,
    rgba(17, 17, 17, 0.15)
  );
  pointer-events: none;
  z-index: 0;
}

/* Increased shadow on hover */
.rst-navbar:hover {
  box-shadow: 
    0 6px 24px rgba(0, 0, 0, 0.2),
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 1px 0 rgba(255, 255, 255, 0.15) inset,
    0 -1px 0 rgba(255, 255, 255, 0.08) inset;
}

/* Ensure child elements stay above the overlay */
.rst-navbar > * {
  position: relative;
  z-index: 1;
}	
	
/* =================================
   CREDIT LINK STYLING IN THE FOOTER
   ================================= */
@media (max-width: 768px) {
    #sixdg-credit-line {
        opacity: 75%;
    }
	.credit-link {
		font-weight: 600 !important;
		text-decoration: none !important;
		font-size: 0.95rem !important;
    }
}	
	
/* =====================================
   HIDE BREAK ON MOBILE, SHOW ON DEKSTOP
   ===================================== */
.break-on-desktop {
    display: inline;
}

@media (max-width: 768px) {
    .break-on-desktop {
        display: none;
    }
}	
	
/* ======================================
   CENTER ALIGN TEXT IN ELEMENTOR COUNTER
   ====================================== */
.elementor-counter-title {
  text-align: center;
}
/* -------------- */
	
/* ==============
   HEADER STYLING
   ============== */
.header-container {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  background-color: #fcfffaE6 !important;
  border-radius: 0 !important;
}
/* ---------------------------- */
/* ============================
   CENTERED RED LINE ACROSS DIV
   ============================ */
.in-house-container {
  position: relative;
}

/* Base state (Desktop Defaults) */
.in-house-container::before {
  content: "";
  position: absolute;
  
  /* Desktop Positioning */
  top: 50%;
  left: 25px; /* ✅ start 25px inside */
  
  /* Desktop Dimensions */
  width: 0; 
  height: 0.2rem; /* line thickness */
  
  background-color: #e31e24;
  transform: translateY(-50%);
  transition: all 1.3s cubic-bezier(0.77, 0, 0.175, 1) 0.2s;
}

/* When animated (Desktop) */
.in-house-container.animate-line::before {
  width: calc(100% - 50px); /* ✅ subtract padding on both sides */
}

/* Mobile: vertical version */
@media (max-width: 768px) {
  .in-house-container::before {
    /* Re-orient for vertical */
    top: 25px; /* ✅ start 25px from top */
    left: 50%;
    
    /* Swap dimensions */
    width: 0.2rem; /* Thickness is now width */
    height: 0;     /* Height starts at 0 */
    
    transform: translateX(-50%);
  }

  .in-house-container.animate-line::before {
    height: calc(100% - 50px); /* ✅ subtract top + bottom offset */
    
    /* 🔥 CRITICAL FIX BELOW 🔥 */
    /* We must explicitly force width to stay thin, otherwise 
       it inherits the "100% - 50px" width from the desktop rule above */
    width: 0.2rem; 
  }
}
/* ----------------------------------------------------- */

/* =====================================================
   RST Dark Box Blurred — Subtle Shadow + Lift + Red Glow Accent + Blur
   [UPDATED: Now includes unified border]
   ===================================================== */
.rst-dark-box-blurred {
  position: relative;
  background-color: rgba(28, 28, 28, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 0.75rem;
  
  /* NEW: Unified Border */
  border: 1px solid var(--rst-border-subtle);
  
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}
/* Hover: gentle lift + enhanced shadow + brighter border */
.rst-dark-box-blurred:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  border-color: var(--rst-border-hover);
}
/* Subtle red ambient glow overlay */
.rst-dark-box-blurred::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(227, 30, 36, 0.15),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}
/* Glow fades in on hover */
.rst-dark-box-blurred:hover::before {
  opacity: 1;
}
/* Keep inner content above overlay */
.rst-dark-box-blurred > * {
  position: relative;
  z-index: 1;
}
	
/* =====================================================
   RST Dark Box — Subtle Shadow + Lift + Red Glow Accent
   [UPDATED: Now includes unified border]
   ===================================================== */
.rst-dark-box {
  position: relative;
  background-color: #1C1C1C;
  border-radius: 0.75rem;
  
  /* NEW: Unified Border */
  border: 1px solid var(--rst-border-subtle);
  
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
}

/* Hover: gentle lift + enhanced shadow + brighter border */
.rst-dark-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
  border-color: var(--rst-border-hover);
}

/* Subtle red ambient glow overlay */
.rst-dark-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(227, 30, 36, 0.15),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

/* Glow fades in on hover */
.rst-dark-box:hover::before {
  opacity: 1;
}

/* Keep inner content above overlay */
.rst-dark-box > * {
  position: relative;
  z-index: 1;
}

/* =====================================================
   NEW: RST Gradient Accent
   Usage: Add "rst-gradient-accent" alongside "rst-dark-box"
   ===================================================== */
.rst-gradient-accent {
    position: relative; /* Ensures pseudo-elements position correctly */
    
    /* Adds the tech gradient background */
    background: linear-gradient(145deg, rgba(227, 30, 36, 0.15), rgba(28, 28, 28, 0.6)) !important;
	  backdrop-filter: blur(8px);
	  -webkit-backdrop-filter: blur(8px);
    
    /* Adds the specific red border */
    border: 1px solid rgba(227, 30, 36, 0.25) !important;
    border-radius: 0.75rem;    
    overflow: hidden; /* Ensures the glow stays inside the border radius */
}

/* 1. Define the Diffused Glow Overlay (Hidden by default) */
.rst-gradient-accent::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    
    /* Using #2c2c2c as requested for the diffused glow */
    background: radial-gradient(
        circle at center,
        #2c2c2c, 
        transparent 70%
    ) !important;
    
    opacity: 0; /* Start invisible */
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

/* 2. Trigger the Glow on Hover */
.rst-gradient-accent:hover::before {
    opacity: 1; /* Fade in */
}

/* 3. Handle Shadow & Border on Hover */
.rst-gradient-accent:hover {
    /* Enhanced hover for these specific accented boxes */
    box-shadow: 0 10px 30px rgba(227, 30, 36, 0.15) !important;
    border-color: rgba(227, 30, 36, 0.5) !important;
    transform: translateY(-4px);
}

/* Ensure content stays on top of the glow */
.rst-gradient-accent > * {
    position: relative;
    z-index: 1;
}

/* =====================================================
   NEW: Pulsing Dot Animation
   ===================================================== */
.rst-pulse-dot {
    width: 8px;
    height: 8px;
    background-color: #4ade80;
    border-radius: 50%;
    box-shadow: 0 0 10px #4ade80;
    animation: rstPulse 2s infinite;
    display: inline-block;
    margin-right: 8px;
    vertical-align: middle;
}

@keyframes rstPulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
    100% { opacity: 1; transform: scale(1); }
}

/* ----------------------------------------------------- */

/* ======================================================
   RST Light Box — Subtle Shadow + Lift + Red Glow Accent
   ====================================================== */
.rst-light-box {
  position: relative;
  background-color: #FCFFFA;
  border-radius: 0.75rem;
  /* Layered shadow for better visibility on light backgrounds */
  box-shadow:
    0 2px 6px rgba(0, 0, 0, 0.08),
    0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

/* Hover: lift + stronger, deeper shadow */
.rst-light-box:hover {
  transform: translateY(-4px);
  box-shadow:
    0 4px 10px rgba(0, 0, 0, 0.12),
    0 12px 28px rgba(0, 0, 0, 0.18);
}

/* Subtle red ambient glow overlay */
.rst-light-box::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(
    circle at center,
    rgba(227, 30, 36, 0.12),
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 0;
}

/* Glow fades in on hover */
.rst-light-box:hover::before {
  opacity: 1;
}

/* Keep inner content above overlay */
.rst-light-box > * {
  position: relative;
  z-index: 1;
}
/* ------------------------------------------------------ */
	
/* =======================================================================
   Soft Red Glow Background
   Usage: Add class "container-glow-background" to any Elementor container
   ======================================================================= */
.container-glow-background {
  position: relative;
  background-color: #FCFFFA; /* optional base background */
  overflow: hidden;
}

.container-glow-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at center, rgba(227, 30, 36, 0.25) 0%, transparent 55%);
  opacity: 0.35;
  mix-blend-mode: multiply;
  pointer-events: none;
  z-index: 0;
}

/* ensure content is above the glow layer */
.container-glow-background > * {
  position: relative;
  z-index: 1;
}
/* -------------------------------------------------------- */

/* ========================================================
   Glassmorphic Info Box (Restored)
   Usage: Add class "glass-box" to your Elementor container
   ======================================================== */
.glass-box {
  position: relative;
  background: rgba(255, 255, 255, 0.22); /* subtle translucent white layer */
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border-radius: 0.75rem;
  border: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* Optional subtle gradient overlay for depth */
.glass-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  pointer-events: none;
  z-index: 0;
}

/* Keep inner content above the background effects */
.glass-box > * {
  position: relative;
  z-index: 1;
}
	
/* ==========================================================
   UNIVERSAL ICON BOX MICRO-INTERACTION
   Grow Icon • Animate Title Underline • Move Description Down
   Usage: Add class "iconbox-animate" to any Elementor Icon Box widget
   ========================================================== */

.iconbox-animate .elementor-icon-box-wrapper {
  transition: all 0.4s ease;
}

.iconbox-animate .elementor-icon-box-icon {
  transition: transform 0.4s ease;
}

.iconbox-animate .elementor-icon-box-title {
  position: relative;
  display: inline-block;
}

/* Underline animation (hidden by default) */
.iconbox-animate .elementor-icon-box-title::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 0.2rem;
  background-color: #e31e24; /* your brand red */
  transition: width 0.4s ease;
}

/* Description transition */
.iconbox-animate .elementor-icon-box-description {
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Hover Effects */
.iconbox-animate:hover .elementor-icon-box-icon {
  transform: scale(1.1);
}

.iconbox-animate:hover .elementor-icon-box-title::after {
  width: 100%;
}

.iconbox-animate:hover .elementor-icon-box-description {
  transform: translateY(6px);
  opacity: 0.95;
}
/* -------------------------------------------------------- */
/* ============================
   Specifications table styling (Restored)
   ============================ */
.spec-table-container {
    position: relative;
    margin: 0 auto;
    border-radius: 0.75rem;
    overflow: hidden;
}

.spec-table-container .table-wrapper {
    position: relative;
    z-index: 1;
    overflow-x: auto;
}

.spec-table-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: #FCFFFA;
    border: none;
    border-top: none !important;
    table-layout: fixed; /* Forces consistent column widths */
}

.spec-table-container thead {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.1));
    border-top: none !important;
}

.spec-table-container thead tr:first-child th {
    border-top: none !important;
}

.spec-table-container th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    color: #E31E24;
    border-bottom: 2px solid rgba(227, 30, 36, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-top: none !important;
    word-wrap: break-word; /* Handles long text */
}

.spec-table-container th:first-child,
.spec-table-container td:first-child {
    width: 45%;
    /* Parameter column width */
}

.spec-table-container th:last-child,
.spec-table-container td:last-child {
    width: 55%;
    /* Specification column width */
}

.spec-table-container th:first-child {
    border-left: none;
}

.spec-table-container td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-top: none;
    word-wrap: break-word;
    /* Handles long text */
    vertical-align: top;
    /* Aligns content to top for better readability */
}

.spec-table-container td:first-child {
    border-left: none;
}

.spec-table-container tbody tr {
    transition: background-color 0.2s ease;
}

.spec-table-container tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

.spec-table-container tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.2);
}

.spec-table-container tbody tr:hover {
    background-color: rgba(227, 30, 36, 0.08);
}

.spec-table-container tbody tr:last-child td {
    border-bottom: none;
}

.spec-table-container td:last-child {
    color: #FCFFFA;
}

@media screen and (max-width: 768px) {
    .spec-table-container {
        font-size: 0.85rem;
    }

    .spec-table-container th,
    .spec-table-container td {
        padding: 0.75rem 1rem;
    }

    .spec-table-container th {
        font-size: 0.75rem;
    }

    /* Adjust column widths for mobile */
    .spec-table-container th:first-child,
    .spec-table-container td:first-child {
        width: 50%;
    }

    .spec-table-container th:last-child,
    .spec-table-container td:last-child {
        width: 50%;
    }
}

@media screen and (max-width: 480px) {
    .spec-table-container {
        font-size: 0.8rem;
    }

    .spec-table-container th,
    .spec-table-container td {
        padding: 0.6rem 0.8rem;
    }

    /* More compact column widths for small screens */
    .spec-table-container th:first-child,
    .spec-table-container td:first-child {
        width: 55%;
    }

    .spec-table-container th:last-child,
    .spec-table-container td:last-child {
        width: 45%;
    }
}
/* ---------------------------- */
/* ============================
   4-Column Specifications Table (Restored)
   ============================ */
.spec-table-4col-container {
    position: relative;
    margin: 0 auto;
    border-radius: 0.75rem;
    overflow: hidden;
}

.spec-table-4col-container .table-wrapper {
    position: relative;
    z-index: 1;
    overflow-x: auto;
}

.spec-table-4col-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: #FCFFFA;
    border: none;
    border-top: none !important;
    table-layout: fixed;
}

.spec-table-4col-container thead {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.1));
    border-top: none !important;
}

.spec-table-4col-container thead tr:first-child th {
    border-top: none !important;
}

.spec-table-4col-container th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    color: #E31E24;
    border-bottom: 2px solid rgba(227, 30, 36, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-top: none !important;
    word-wrap: break-word;
    width: 25%;
}

.spec-table-4col-container th:first-child {
    border-left: none;
}

.spec-table-4col-container td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-top: none;
    word-wrap: break-word;
    vertical-align: top;
    width: 25%;
}

.spec-table-4col-container td:first-child {
    border-left: none;
}

.spec-table-4col-container tbody tr {
    transition: background-color 0.2s ease;
}

.spec-table-4col-container tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

.spec-table-4col-container tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.2);
}

.spec-table-4col-container tbody tr:hover {
    background-color: rgba(227, 30, 36, 0.08);
}

.spec-table-4col-container tbody tr:last-child td {
    border-bottom: none;
}

.spec-table-4col-container td:last-child {
    color: #FCFFFA;
}

/* ============================
   Mobile Card Layout
   ============================ */
@media screen and (max-width: 768px) {
    .spec-table-4col-container table,
    .spec-table-4col-container thead,
    .spec-table-4col-container tbody,
    .spec-table-4col-container tr,
    .spec-table-4col-container th,
    .spec-table-4col-container td {
        display: block;
        width: 100%;
    }
    
    .spec-table-4col-container thead {
        display: none;
    }
    
    .spec-table-4col-container tr {
        margin-bottom: 1rem;
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0.5rem;
        overflow: hidden;
        background-color: rgba(0, 0, 0, 0.2);
    }
    
    .spec-table-4col-container tr:hover {
        background-color: rgba(227, 30, 36, 0.08);
    }
    
    .spec-table-4col-container td {
        padding: 0.75rem 1rem;
        border: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
        display: flex;
        justify-content: space-between;
        align-items: center;
        background-color: transparent;
    }
    
    .spec-table-4col-container td:before {
        content: attr(data-label);
        font-weight: 600;
        color: #E31E24;
        text-transform: uppercase;
        font-size: 0.75rem;
        letter-spacing: 0.5px;
        margin-right: 1rem;
        flex-shrink: 0;
    }
    
    .spec-table-4col-container td:last-child {
        border-bottom: none;
    }
}

@media screen and (max-width: 480px) {
    .spec-table-4col-container {
        font-size: 0.85rem;
    }
    
    .spec-table-4col-container td {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .spec-table-4col-container td:before {
        font-size: 0.7rem;
    }
}	

/* ============================
   6-Column Specifications Table (Restored)
   ============================ */
.spec-table-6col-container {
    position: relative;
    margin: 0 auto;
    border-radius: 0.75rem;
    overflow: hidden;
}

.spec-table-6col-container .table-wrapper {
    position: relative;
    z-index: 1;
    overflow-x: auto;
}

.spec-table-6col-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
    color: #FCFFFA;
    border: none;
    border-top: none !important;
    table-layout: fixed;
}

.spec-table-6col-container thead {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.1));
    border-top: none !important;
}

.spec-table-6col-container thead tr:first-child th {
    border-top: none !important;
}

.spec-table-6col-container th {
    padding: 1rem 1.5rem;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    color: #E31E24;
    border-bottom: 2px solid rgba(227, 30, 36, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-top: none !important;
    word-wrap: break-word;
}

/* Column width distribution for 6 columns */
.spec-table-6col-container th:nth-child(1),
.spec-table-6col-container td:nth-child(1) { width: 12%;
} /* Model */

.spec-table-6col-container th:nth-child(2),
.spec-table-6col-container td:nth-child(2) { width: 15%; } /* Pixel Pitch */

.spec-table-6col-container th:nth-child(3),
.spec-table-6col-container td:nth-child(3) { width: 15%;
} /* LED Type */

.spec-table-6col-container th:nth-child(4),
.spec-table-6col-container td:nth-child(4) { width: 20%; } /* Module Resolution */

.spec-table-6col-container th:nth-child(5),
.spec-table-6col-container td:nth-child(5) { width: 18%;
} /* Pixels/m² */

.spec-table-6col-container th:nth-child(6),
.spec-table-6col-container td:nth-child(6) { width: 20%; } /* Cabinet Resolution */

.spec-table-6col-container th:first-child {
    border-left: none;
}

.spec-table-6col-container td {
    padding: 1rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    border-right: none;
    border-top: none;
    word-wrap: break-word;
    vertical-align: top;
}

.spec-table-6col-container td:first-child {
    border-left: none;
}

.spec-table-6col-container tbody tr {
    transition: background-color 0.2s ease;
}

.spec-table-6col-container tbody tr:nth-child(odd) {
    background-color: rgba(255, 255, 255, 0.02);
}

.spec-table-6col-container tbody tr:nth-child(even) {
    background-color: rgba(0, 0, 0, 0.2);
}

.spec-table-6col-container tbody tr:hover {
    background-color: rgba(227, 30, 36, 0.08);
}

.spec-table-6col-container tbody tr:last-child td {
    border-bottom: none;
}

.spec-table-6col-container td:last-child {
    color: #FCFFFA;
}

/* ============================
   Mobile Card Layout
   ============================ */
@media screen and (max-width: 768px) {
    .spec-table-6col-container table,
    .spec-table-6col-container thead,
    .spec-table-6col-container tbody,
    .spec-table-6col-container tr,
    .spec-table-6col-container th,
    .spec-table-6col-container td {
        display: block !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .spec-table-6col-container thead {
        display: none !important;
    }
    
    .spec-table-6col-container tr {
        margin-bottom: 1rem !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-radius: 0.5rem !important;
        overflow: hidden !important;
        background-color: rgba(0, 0, 0, 0.2) !important;
    }
    
    .spec-table-6col-container tr:hover {
        background-color: rgba(227, 30, 36, 0.08) !important;
    }
    
    .spec-table-6col-container td {
        padding: 0.75rem 1rem !important;
        border: none !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        background-color: transparent !important;
        text-align: right !important;
    }
    
    .spec-table-6col-container td:before {
        content: attr(data-label) !important;
        font-weight: 600 !important;
        color: #E31E24 !important;
        text-transform: uppercase !important;
        font-size: 0.75rem !important;
        letter-spacing: 0.5px !important;
        margin-right: 1rem !important;
        flex-shrink: 0 !important;
        text-align: left !important;
        display: inline-block !important;
    }
    
    .spec-table-6col-container td:last-child {
        border-bottom: none !important;
    }
}

@media screen and (max-width: 480px) {
    .spec-table-6col-container {
        font-size: 0.85rem;
    }
    
    .spec-table-6col-container td {
        padding: 0.6rem 0.8rem !important;
        font-size: 0.85rem !important;
    }
    
    .spec-table-6col-container td:before {
        font-size: 0.7rem !important;
    }
}
	

/* ===================================
   Resources Datasheets Download Table (Restored)
   =================================== */
.responsive-table {
  width: 100%;
  overflow-x: auto;
}

.responsive-table table {
  width: 100%;
  border-collapse: collapse;
}

.responsive-table th,
.responsive-table td {
  text-align: left;
  padding: 12px;
  border: 1px solid #ddd;
  vertical-align: top;
  word-wrap: break-word;
}

.responsive-table th {
  font-weight: bold;
}

/* ---------- Mobile View ---------- */
@media (max-width: 768px) {
  .responsive-table table {
    display: block;
    background: transparent;
  }

  .responsive-table thead {
    display: none;
  }

  /* make tbody a regular block so backgrounds render consistently across browsers */
  .responsive-table tbody {
    display: block;
  }

  .responsive-table tr {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 20px 18px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background-color: #f4f6f1 !important; /* <- force same background for every row on mobile */
    row-gap: 12px;
    margin-bottom: 20px; /* use margins between cards for consistent rendering */
    box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}

  /* Ensure no 'cell' level background overrides the row */
  .responsive-table td {
    border: none;
    display: block;
    background: transparent !important;
  }

  /* Disable any nth-child based alternate coloring by explicitly overriding */
  .responsive-table tbody tr:nth-child(even),
  .responsive-table tbody tr:nth-child(odd) {
    background-color: #f4f6f1 !important;
  }

  .responsive-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-weight: bold;
    margin-bottom: 6px;
  }

  .responsive-table td[data-label="Description"] {
    grid-column: 1 / -1;
    margin-top: 6px;
  }

  .responsive-table td[data-label="Description"]::before {
    margin-bottom: 4px;
  }

  .responsive-table td[data-label="Download"] {
    margin-top: 4px;
  }

  .responsive-table td a {
    color: #E31E24;
    text-decoration: none;
    font-weight: bold;
    background: transparent;
  }

  .responsive-table tr + tr {
    margin-top: 0;
    /* spacing handled by margin-bottom on each tr */
  }
}

/* Utility Class to Remove Borders */
.rst-no-border {
    border: none !important;
}

/* Ensure image boxes don't clip images inside them */
.responsive-image-box {
  aspect-ratio: 16 / 10;
}

@media (max-width: 767px) {
  .responsive-image-box {
    aspect-ratio: 16 / 9 !important;
  }
}