/*!
Theme Name: Outgrid Child
Theme URI: https://uicore.co
Description: Multi-Purpose Elementor WordPress Theme
Author: UiCore
Author URI: https://uicore.co
Template: outgrid
Version: 1.0.0
Text Domain: outgrid
*/



/*
 * FULL-WIDTH CAROUSEL SECTION FOR LARGE DESKTOP
 * Makes carousels extend full-width on large desktop screens (1240px+)
 * Uses negative margins and positioning to break out of container
 */
@media screen and (min-width: 1240px) {
 .sample-carousel-section, .carousel-overflow {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }
  
.sample-carousel-section .elementor-widget-container, .carousel-overflow .elementor-widget-container {
    max-width: calc(1240px + 50vw);
    margin-left: calc((100vw - 1240px) / 2) !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/*
 * FULL-WIDTH CAROUSEL SECTION FOR SMALLER DESKTOP
 * Similar to above but for smaller desktop screens (1025px-1239px)
 * Adjusts calculations to use percentage-based widths
 */
@media screen and (min-width: 1025px) and (max-width: 1239px) {
.sample-carousel-section,  .carousel-overflow {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
  }
  
.sample-carousel-section .elementor-widget-container, .carousel-overflow .elementor-widget-container {
    max-width: calc(95% + 50vw);
    margin-left: calc((100vw - 95%) / 2) !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}

/*
 * CAROUSEL OVERFLOW VISIBILITY
 * Ensures carousel items outside the viewport remain visible on desktop
 * Prevents Swiper's default overflow:hidden from hiding carousel items
 */
@media screen and (min-width: 1025px) {
  .carousel-overflow .swiper,
  .carousel-overflow .swiper-wrapper {
    overflow: visible !important;
  }
}

/*
 * MENU ITEM VISIBILITY CONTROLS
 * Controls which menu items are visible at different screen sizes
 * Hides menu item 707 on desktop and menu item 411 on mobile
 */
@media (min-width: 980px) {
  .menu-item-242 {
    display: none !important;
  }
}

@media (max-width: 980px) {
  li.menu-item.menu-item-47.menu-item-has-children.menu-item-has-megamenu.uicore-visible {
    display: none !important;
  }
}

/*
 * HOME SAMPLES SECTION FULL-WIDTH LAYOUT
 * Makes the samples section on homepage extend full-width
 * Uses transform for horizontal centering
 */
@media screen and (min-width: 1025px) {
.sampleshome {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(10px) !important;
  margin-right: calc(-50vw + 50%) !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  position: relative;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
}
}

/*
 * TAB SPACING ADJUSTMENT
 * Adds right margin to the first tab item for better spacing
 * Only applies on screens wider than 800px
 */
@media only screen and (min-width: 800px) {
	
.eael-tab-item-trigger[data-tab="1"] {
  margin-right: 40px
}
}

/*
 * SECTOR HERO SECTION DECORATIVE BORDERS
 * Creates decorative lines/borders around the sector hero section
 * Includes vertical lines, horizontal lines with color gradients
 * Only applies on large screens (1300px+)
 */
@media only screen and (min-width: 1300px) {
.sectorhero {
  position: relative;
  --top-white-length: 1280px;
  --left-white-length: 550px;
  --right-white-length: 100%; /* Right border entirely white */
  --accent-color: #9e7653; /* Warm bronze/brown color */
  --line-width: 2px;
  --top-offset: -60px;
}


/* Left vertical line */
.sectorhero::before {
  content: '';
  position: absolute;
  top: var(--top-offset);
  left: 0;
  height: 70vh;
  width: var(--line-width);
  background-image: linear-gradient(
    to bottom,
    white 0,
    white var(--left-white-length),
    var(--accent-color) var(--left-white-length),
    var(--accent-color) calc(var(--left-white-length) + 100px),
        white calc(var(--left-white-length) + 100px),
    white 100%
  );
  z-index: 1;
}

/* Right vertical line - all white */
.sectorhero::after {
  content: '';
  position: absolute;
  top: var(--top-offset);
  right: 0;
  height: 500px;
  width: var(--line-width);
  background-color: white; /* Completely white */
  z-index: 1;
}

/* Horizontal top line */
.sectorhero > div:first-child::before {
  content: '';
  position: absolute;
  left: -100px;
  right: -100px;
  top: -10px;
  height: var(--line-width);
  width: 100vw;
  background-image: linear-gradient(
    to right,
    white 0,
    white var(--top-white-length),
    var(--accent-color) var(--top-white-length),
    var(--accent-color) 100% /* Make accent color run to the end */
  );
  z-index: 1;
}

/* New feature to the left of the top white line */
.sectorhero > div:first-child::after {
  content: '';
  position: absolute;
  left: -1560px; /* Further left than the main line */
  top: -10px;
  height: var(--line-width);
  width: 1500px; /* Width of the new feature */
  background-color: var(--accent-color); 
  z-index: 1;
}

/* Cancel out any other potential pseudo-elements */
.sectorhero > div:not(:first-child)::before,
.sectorhero > div:not(:first-child)::after {
  display: none !important;
}
}

/*
 * DOWNLOAD GUIDE DECORATIVE BORDERS
 * Creates white decorative lines/borders around the downloadguide section
 * Top and bottom lines extend full width to the left
 * Vertical lines are centered with faded edges
 * Only applies on large screens (1300px+)
 */
@media only screen and (min-width: 1300px) {
  .downloadguide {
    position: relative;
    --line-width: 1px;
    --side-height: 700px;
    --line-color: white;
  }
  
  /* Left vertical line - centered vertically with faded edges */
  .downloadguide::before {
    content: '';
    position: absolute;
    /* Center vertically relative to the element */
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    height: var(--side-height);
    width: var(--line-width);
    /* Replace solid background with gradient for faded edges */
    background-image: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 5%,
      var(--line-color) 15%,
      var(--line-color) 85%,
      transparent 95%,
      transparent 100%
    );
    z-index: 1;
    display: block !important; /* Ensure visibility */
  }
  
  /* Right vertical line - centered vertically with faded edges */
  .downloadguide::after {
    content: '';
    position: absolute;
    /* Center vertically relative to the element */
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: var(--side-height);
    width: var(--line-width);
    /* Replace solid background with gradient for faded edges */
    background-image: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 5%,
      var(--line-color) 15%,
      var(--line-color) 85%,
      transparent 95%,
      transparent 100%
    );
    z-index: 1;
    display: block !important; /* Ensure visibility */
  }
  
  /* Horizontal top line - extending full width to the left */
.downloadguide:nth-child(1) > div:first-child::before {
    content: '';
    position: absolute;
    top: -43px;
    left: -100vw; /* Extend to the full left of the viewport */
    right: 0;
    height: var(--line-width);
    width: 200vw; /* Make it extra wide to ensure full coverage */
    background-color: var(--line-color);
    z-index: 1;
    display: block !important; /* Ensure visibility */
  }
  
  /* Horizontal bottom line - extending full width to the left */
.downloadguide:nth-child(1) > div:first-child::after {
    content: '';
    position: absolute;
    bottom: -188px; /* Position at bottom */
    left: -100vw; /* Extend to the full left of the viewport */
    right: 0;
    height: var(--line-width);
    width: 200vw; /* Make it extra wide to ensure full coverage */
    background-color: var(--line-color);
    z-index: 1;
    display: block !important; /* Ensure visibility */
  }
  
  /* Cancel out any other potential pseudo-elements */
  .downloadguide > div:not(:first-child)::before,
  .downloadguide > div:not(:first-child)::after {
    display: none !important;
  }
}

.download-text, .eael-tabs-content h3 {
    position: relative;
    width: fit-content;
}

/* download text hover style */
/* Download text with 15px margin */
.download-text {
   position: relative;
   width: fit-content;
}

.download-text::after {
   content: '';
   position: absolute;
   width: 0;
   height: 2px;
   bottom: -2px;
   left: calc(50% + 7.5px);
   transform: translateX(-50%);
   background-color: #9e7653;
   transition: width 0.3s;
}

.download-text:hover::after {
   width: calc(100% - 15px);
}

/* Download text without margin */
.related-product-title, .download-text-other, .eael-tabs-content h3 {
   position: relative;
   width: fit-content;
}

.related-product-title::after, .download-text-other::after, .eael-tabs-content h3::after {
   content: '';
   position: absolute;
   width: 0;
   height: 2px;
   bottom: -3px;
   left: 50%;
   transform: translateX(-50%);
   background-color: #9e7653;
   transition: width 0.3s;
}

.related-product-title:hover::after, .download-text-other:hover::after, .eael-tabs-content h3:hover::after {
   width: 100%;
}

.related-product-title a {
   display: inline !important;
   text-decoration: none;
}

.faq-right, .footer-right {
  position: relative;
  padding-left: 100px; /* Adds space between content and the border */
}

.faq-right::after {
  content: '';
  position: absolute;
  top: -100px;
  bottom: -190px;
  right: -88px; /* Positions the border 10px away from the div */
  width: 2px;
  background:  #F4F7FA6E
}


/* Right border with gradient fade-out at bottom */
.footer-right::after {
  content: '';
  position: absolute;
  top: -80px;
  bottom: -190px;
  right: -88px; /* Positions the border 10px away from the div */
  width: 2px;
  background: linear-gradient(to bottom, 
                             #F4F7FA6E 0%, 
                             #F4F7FA6E 80%, 
                             transparent 100%);
  z-index: 100;
}

.showmore .e-n-accordion-item-title {
    width: 150px;
    margin: 0 auto;
    z-index: 1;
}

/* Sector Hub Tabs */

        /* Tab Container */
        .tab-container {
            background-color: white;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
            overflow: hidden;
            margin-bottom: 20px;
            width: 90%;
            margin-left: auto;
            margin-right: auto;
            padding-top: 15px;
            padding-bottom: 15px;
        }
        
        /* Tab Navigation */
        .tabs {
            display: flex;
			gap: 60px;
			justify-content: center;
        }
        
        .tab-btn {
            padding: 30px 0px;
            border: none;
            background: none;
            cursor: pointer;
            font-weight: bold;
            font-size: 16px;
            transition: all 0.3s;
            position: relative;
        }
        
        /* NEW tag styling */
.tab-btn.new-item::before {
    content: 'NEW';
    position: absolute;
    top: 8px;
    right: 1px;
    background-color: #eee3d2;
    color: #9e7853;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    text-transform: uppercase;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}
        /* Added underline effect for tab buttons */
        .tab-btn::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: 15px;
            left: 50%;
            transform: translateX(-50%);
            background-color: #9e7653;
            transition: width 0.3s;
        }
        
        .tab-btn:hover::after {
            width: 100%;
        }
        
        .tab-btn.active::after {
            width: 100%;
        }
        
        .tab-btn:hover {
            color: #9e7653;
            opacity: 0.8;
        }
        
        .tab-btn.active {
            color: #9e7653;
            font-weight: bolder;
        }
        
        /* Tab Content */
        .tab-content {
            display: none;
            padding: 20px;
        }
        
        .tab-content.active {
            display: block;
        }
        
        .tab-description {
            margin-bottom: 30px;
            font-size: 18px;
            line-height: 1.5;
            color: #444;
            text-align: center;
            width: 70%;
            margin-left: auto;
            margin-right: auto;
        }
        
        /* Product Grid */
        .product-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 20px;
        }
        
        /* Responsive Tabs for Mobile - Dropdown Style */
        @media (max-width: 768px) {
            .tabs {
                position: relative;
                display: block;
                border-bottom: none;
            }
            
            .tab-btn {
                display: none;
                width: 100%;
                text-align: center;
                padding: 12px 15px;
                color: black;
            }
            
            .tab-btn.active {
                display: block;
                position: relative;
            }
            
            /* Mobile arrow indicator */
            .tab-btn.active::before {
                content: "▼";
                position: absolute;
                right: 15px;
                top: 50%;
                transform: translateY(-50%);
                font-size: 12px;
            }
           
			.tab-btn.new-item::before {
				    right: 15px;
			}
				
            /* Adjust NEW tag position for mobile active tab */
            .tab-btn.new-item.active::before {
                content: 'NEW';
    position: absolute;
    right: 35px;
    background-color: #eee3d2;
    color: #9e7853;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 8px;
    text-transform: uppercase;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
            }
            
            /* Arrow for mobile dropdown when NEW tag is present */
            .tab-btn.new-item.active::after {
                content: "▼";
                position: absolute;
                right: 15px;
                top: 50%;
                transform: translateY(-50%);
                font-size: 12px;
                background: none;
                height: auto;
                width: auto;
                bottom: auto;
                left: auto;
            }
            
            /* Remove the underline effect completely on mobile */
            .tab-btn:not(.new-item.active)::after {
                display: none;
            }
            
            .tabs.open .tab-btn {
                display: block;
            }
            
            .tabs.open .tab-btn.new-item.active::after {
                content: "▲";
            }
            
            .product-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .tab-description {
                width: 100%;
            }
			
			.product-title::after {
				height: 0px !important;
			}
        }
        
        .product-item {
            text-decoration: none;
            color: inherit;
            transition: transform 0.3s;
            display: block;
        }
        
        .product-item:hover {
            transform: translateY(-5px);
        }
        
        .product-image {
            width: 100%;
            aspect-ratio: 4/3;
            object-fit: cover;
            border-radius: 0;
            margin-bottom: 10px;
        }
        
        .product-subtitle {
            color: #9e7653;
            font-size: 14px;
            margin-bottom: 5px;
            text-transform: uppercase;
			font-weight: 600;
        }
        
        .product-title {
            font-weight: bold;
            font-size: 1.5rem !important;
            color: #222;
            position: relative;
            display: inline-block;
			margin-top: 0px;
        }
        
        .product-title::after {
            content: '';
            position: absolute;
            width: 0;
            height: 2px;
            bottom: -2px;
            left: 0;
            background-color: #9e7653;
            transition: width 0.3s;
        }
        
        .product-item:hover .product-title::after {
            width: 100%;
        }



.buttonaccessory1{
    background-color: #010325;
    color: white;
	font-weight: 600;
}

.buttonaccessory1:hover{
    background-color: #000;
    color: white;
	font-weight: 600;
}

.buttonaccessory2 {
    background-color: #9e7653;
    color: white;
	font-weight: 600;
}

.buttonaccessory2:hover {
    background-color: #010325;
	color: white;
}


/* Configurator Shared Styles */
.option-row {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    min-height: 40px;
}

.option-label {
    width: 140px;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    font-weight: 600;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
}

.option-button {
    position: relative;
}

.option-button input[type="radio"] {
    display: none;
}

.option-button label {
    display: block;
    padding: 8px 16px;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.option-button input[type="radio"]:checked + label {
    background: #9E7653;
    color: white;
}

.option-button label:hover {
    background: #e0e0e0;
}

.option-button input[type="radio"]:checked + label:hover {
    background: #9E7653;
}

/* Confugartor Coming Soon Styles */
.option-button.coming-soon {
    position: relative;
}

.option-button.coming-soon label {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed !important;
    pointer-events: none;
}

.option-button.coming-soon input[type="radio"] {
    pointer-events: none;
}

.disabled-row {
    display: none !important;
    pointer-events: none;
}

/* Configurator Download Buttons Styles */
.downloads-section {
    margin-bottom: 25px;
}

.download-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.download-button {
    padding: 8px 16px;
    border: none;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.download-button {
    background-color: #010325;
    color: white;
}

.download-button:hover {
    background-color: #000218;
}

.download-button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Configurator Styles */
.configurator-container {
    margin: 0 auto;
    overflow: hidden;
}

.configurator-main-content {
    display: flex;
    min-height: 500px;
}

.configurator-options-panel {
    flex: 1;
    padding: 40px;
    background: white;
}

.configurator-image-panel {
    flex: 1;
    background: #ede7e7;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 500px;
}

.configurator-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.locker-animation-container {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    transition: transform 0.2s ease;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    background: #ede7e7 !important;
    min-height: 400px;
	align-content: center;
}

.configurator-preview-image {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    display: block;
    position: relative;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.locker-closed {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
    transition: opacity 2s ease, transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.locker-open {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    transform: scale(0.98) rotateY(-15deg);
    transition: opacity 2s ease, transform 2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.locker-animation-container.open .locker-closed {
    opacity: 0;
    transform: scale(0.98) rotateY(15deg);
}

.locker-animation-container.open .locker-open {
    opacity: 1;
    transform: scale(1) rotateY(0deg);
}

.configurator-image-placeholder {
    width: 100%;
    height: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: #ede7e7;
    text-align: center;
}

.configurator-support-text {
    margin-top: 40px;
    font-size: 16px;
    color: #666;
    line-height: 1.5;
}

.configurator-support-text a {
    color: #666;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .configurator-main-content {
        flex-direction: column;
        min-height: auto;
    }
    
    .configurator-options-panel, .configurator-image-panel {
        padding: 20px;
        flex: none;
    }

 .locker-animation-container, .configurator-image-placeholder,  .configurator-image-panel {
        min-height: 200px;
    }
    
    .option-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px !important;
		margin-bottom: 10px !important;
    }
	
	.option-button label {
		padding: 2px 6px !important;
	}

    
    .option-label {
        width: auto;
    }

    .configurator-preview-image {
        max-width: 100%;
        height: 100%;
    }


	.download-button {
		padding: 4px 6px !important;
		
	}
		
.configurator-support-text {
		 margin-top: 20px !important;	
		}
}

.coming-soon {
    font-size: 12px;
    color: red;
    text-align: center;
	margin-bottom: 0px;
}

/* Cubicle Dims Shortcode */
        .cubicle-container {
            display: flex;
            gap: 40px;
            align-items: flex-start;
            max-width: 1200px;
            margin: 0 auto;
        }

        .table-section {
            flex: 1;
            overflow: hidden;
        }

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

        th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
            border-bottom: 1px solid #eee;
            text-transform: uppercase;
            font-size: 16px;
            letter-spacing: 0.5px;
            color: #666;
        }

        tr {
            transition: all 0.3s ease;
            cursor: pointer;
        }

        tr.highlighted {
            background-color: #010325;
        }
		
		 td.highlighted {
           color: white;
        }

        td {
            padding: 10px;
            border-bottom: 1px solid #eee;
        }

        .number-cell {
            font-weight: bold;
            color: #333;
            text-align: center;
            width: 60px;
        }

        .lorem-text {
            padding-top: 10px;
            color: #666;
            line-height: 1.6;
        }

        .image-section {
            flex: 1;
            position: relative;
            padding: 0px;
        }

        .drawing-placeholder {
            width: 500px;
            height: 500px;
            background-color: #ede7e7;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .drawing-image {
            width: 100%;
        }

        .number-icon {
            position: absolute;
            width: 30px;
            height: 30px;
            background-color: grey;
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: bold;
            font-size: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 2px 5px rgba(0,0,0,0.2);
        }

        .number-icon:hover, .number-icon.highlighted {
            background-color: #010325;
            transform: scale(1.2);
            z-index: 10;
        }

        @media (max-width: 1000px) {
            .cubicle-container {
                flex-direction: column;
                gap: 20px;
            }
            
			.image-section {
				display: none;
			}
        }


/* Material Shortcode */

        .material-container {
            display: flex;
            gap: 40px;
            align-items: flex-start;
            max-width: 1200px;
            margin: 0 auto;
        }

        .material-drawing-placeholder {
            width: 100%;
			height:300px;
            max-width: 600px;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
			background-color: #e5e5e5;
        }
        
        @media (max-width: 1000px) {
			
		.material-container {
                flex-direction: column;
                gap: 20px;
            }
            
            .material-drawing-placeholder {
                height: 300px;
                width: 100%;
                margin: 0px;
            }
        }

/* Related Product Shortcode */
       .related-products-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin: 20px 0;
}
        .related-product-item {
            flex: 0 0 calc(33.333% - 14px); /* Exactly 1/3 width minus gap adjustment */
            max-width: calc(33.333% - 14px);
        }
        
        .related-product-item img {
            width: 100%;
            height: auto;
            object-fit: cover; /* Ensures consistent rectangle shape */
            margin-bottom: 5px;
        }
        
        .related-product-item h6,
        .related-product-item h5 {
            margin: 5px 0;
            text-align: left;
        }
        
        .related-product-item h5 {
            display: block;
        }
        
        .related-product-item a {
            text-decoration: none;
        }
        
        @media (max-width: 768px) {
            .related-products-row {
                flex-direction: row;
				flex-wrap: wrap;
				gap: 10px;
            }
            
			.related-product-item img {
height: 200px !important;
			}
 
            .related-product-item {
				max-width: 50%;
                margin-bottom: 10px;
				flex:0 0 calc(50% - 5px);
            }
        }


    /* Case Studies Section on Pages */
    .case-studies-grid {
        display: grid;
        gap: 10px;
        margin: 20px 0;
        min-height: 500px;
    }
    
    /* 3 items layout */
    .case-studies-count-3 {
        grid-template-columns: 2fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .case-studies-count-3 .case-study-item:first-child {
        grid-row: 1 / 3;
    }
    
    /* 2 items layout */
    .case-studies-count-2 {
        grid-template-columns: 1fr 1fr;
    }
    
    /* 4 items layout */
    .case-studies-count-4 {
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
    
    .case-studies-count-4 .case-study-item:first-child {
        grid-row: 1 / 3;
    }
    
    .case-studies-count-4 .case-study-item:nth-child(2) {
        grid-column: 2 / 4;
    }
    
    /* Case study item styles */
    .case-study-item {
        position: relative;
        overflow: hidden;
        min-height: 250px;
    }
    
    .case-study-link {
        display: block;
        width: 100%;
        height: 100%;
        text-decoration: none;
        color: inherit;
    }
    
    .case-study-image {
        width: 100%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        position: relative;
        min-height: 250px;
    }
    
.case-study-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    transition: all 0.3s ease;
}
    
    .case-study-content {
        color: white;
        width: 100%;
    }
    
    .case-study-title {
        font-size: 20px !important;
        font-weight: 500;
        color: white;
        margin: 0 0 10px 0;
        line-height: 1.2;
        transition: all 0.3s ease;
        display: flex;
        align-items: flex-start;
    }
    
    .case-study-arrow {
        transition: all 0.3s ease;
        margin-left: 10px;
        line-height: 1.2;
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
    
    .case-study-arrow img {
        width: 25px;
        height: 25px;
        transition: all 0.3s ease;
        filter: brightness(0) invert(1); /* Makes the SVG white */
    }
    
    .case-study-excerpt {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease, margin-top 0.3s ease;
        opacity: 0;
    }
    
    .case-study-excerpt p {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
        color: rgba(255,255,255,0.9);
    }
    
    /* Hover effects */
    .case-study-item:hover .case-study-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0) 100%);
    }
    
    .case-study-item:hover .case-study-arrow img {
        transform: scaleX(1.3);
        transform-origin: left center;
    }
    
    .case-study-item:hover .case-study-excerpt {
        max-height: 100px;
        opacity: 1;
        margin-top: 15px;
    }
    
    /* Mobile responsive - 2x2 grid */
    @media (max-width: 768px) {
        .case-studies-grid {
            grid-template-columns: 1fr 1fr !important;
            grid-template-rows: auto auto !important;
            gap: 8px;
			min-height: 250px;
        }
		
		.case-studies-count-1 {
			        grid-template-columns: 1fr 0fr !important;
			grid-template-rows: 1fr !important;
		}
        
        .case-studies-grid .case-study-item {
            grid-row: auto !important;
			grid-column: auto !important;
min-height: 200px;

        }
        
        .case-study-overlay {
            padding: 20px;
        }
        
        .case-study-title {
            font-size: 18px !important;
        }
        
        .case-study-excerpt p {
            font-size: 12px;
        }
    }
    
    @media (max-width: 480px) {
        .case-study-item {
            min-height: 160px;
        }
        
        .case-study-overlay {
            padding: 15px;
        }
        
        .case-study-title {
            font-size: 16px !important;
        }
    }


    /* Sample Page Table */
        .acf-product-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        .acf-product-table {
            width: 100%;
            border-collapse: collapse;
        }
        .acf-product-table th {
            padding: 15px;
            text-align: left;
            font-weight: 600;
            border-bottom: 1px solid #eee;
            text-transform: uppercase;
            font-size: 16px;
            letter-spacing: 0.5px;
            color: #666;
        }
        .acf-product-table tr {
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .acf-product-table tr:hover {
            background-color: #010325;
        }
        .acf-product-table tr:hover td {
            color: white;
        }
        .acf-product-table td {
            padding: 15px;
            border-bottom: 1px solid #eee;
        }
        .acf-row-label {
            font-weight: bold;
            color: #333;
            width: 50%;
        }
        .acf-data-cell {
            width: 50%;
        }

/* Dimension Selector Specific Styles */
.dimensions-selector-section {
    margin-bottom: 20px;
    width: fit-content;
}

.dimensions-selector-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.option-row {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    min-height: 40px;
}

.option-label {
    width: 140px;
    font-size: 14px;
    color: #333;
    text-transform: uppercase;
    font-weight: 500;
}

.option-buttons {
    display: flex;
    flex-wrap: wrap;
}

.option-button {
    position: relative;
}

.option-button input[type="radio"] {
    display: none;
}

.option-button label {
    display: block;
    padding: 8px 16px;
    color: #666;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.option-button input[type="radio"]:checked + label {
    background: #9E7653;
    color: white;
}

.option-button label:hover {
    background: #e0e0e0;
}

.option-button input[type="radio"]:checked + label:hover {
    background: #9e7653;
}

.option-button.disabled {
    opacity: 1;
    pointer-events: none;
}

.option-button.disabled label {
    color: black;
    cursor: not-allowed;
    margin-top: -5px;
}

.coming-soon {
    font-size: 12px;
    color: red;
    margin-top: 4px;
    text-align: center;
    font-weight: normal;
    text-transform: none;
    margin-top: -1px;
}

@media (max-width: 1000px) {
    .option-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .option-label {
        width: auto;
    }
}

/* Brand Button Styling */
.brand-button {
    background: #010325;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    padding: 12px 24px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

.brand-button:hover {
    color: #020540;
    background: white;
    text-decoration: none;
}

/* Download Link Styling */
.download-link {
    font-weight: 600;
    color: #9e7653;
	font-size: 20px;
}

/* Alternative approach using CSS Grid */
@media (max-width: 768px) {
    .configurator-options-panel {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }
    
    .configurator-title {
        grid-column: 1 / -1;
    }
    
    .downloads-section,
    .configurator-support-text {
        grid-column: 1 / -1;
    }
}

.wp-block-pullquote cite {
    position: relative;
    display: inline-block;
	font-weight: 400;
}

.wp-block-pullquote cite::before {
	display: none;
}
	
.wp-block-pullquote cite::after {
    content: '';
    position: absolute;
    left: calc(100% + 10px);
    top: 69%;
    transform: translateY(-50%);
    width: 100vw;
    height: 1px;
    background-color: #9e7653;
}

.wp-block-pullquote blockquote {
	background: none;
}

@media (min-width: 1100px) {
.wp-block-pullquote blockquote {
	margin-left: 130px;
}
}


@media (max-width: 800px) {
	.wp-block-pullquote blockquote {
	padding: 0;
}
}

.wp-block-pullquote p {
	font-size: 2rem !important;
	font-weight: 600;
	line-height: 40px !important;
	width: 80%;
}

.wp-block-columns {
	gap: 20px
}

/* Mobile carousel styling for partial slides */
@media (max-width: 768px) {
    .mobile-offset-carousel .samples-carousel {
        /* Ensure smooth partial slide display */
        overflow: visible;
    }
    
    .mobile-offset-carousel .slick-list {
        /* Allow partial slides to show */
        overflow: visible;
    }
    
    .mobile-offset-carousel .carousel-slide {
        /* Ensure slides don't get cut off awkwardly */
        padding-right: 10px;
    }
}

@media (max-width: 480px) {
    .mobile-offset-carousel .carousel-slide {
        /* Tighter spacing on smaller screens */
        padding-right: 8px;
    }
}
@media (min-width: 1000px) {
.wp-block-heading {
	margin-top: 0px;
	margin-bottom: 10px;
	
	}
	
.post p,
.wp-block-heading {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
  text-align: justify;
}


.wp-block-image {
    margin-top: 75px;
    margin-bottom: 75px;
}
	.wp-block-gallery {
		 display: flex;
    flex-direction: column;
    gap: 30px !important;
		margin-top: 75px;
    margin-bottom: 75px;
	}
}

@media (max-width: 1000px) {
.wp-block-heading {
	margin-top: 0px;
	margin-bottom: 10px;
	
	}
	
.post p,
.wp-block-heading {
  max-width: 95%;
  margin-right: auto;
  text-align: justify;
}


.wp-block-image {
    margin-top: 35px;
    margin-bottom: 35px;
}
	.wp-block-gallery {
		 display: flex;
    flex-direction: column;
    gap: 20px !important;
		margin-top: 35px;
    margin-bottom: 35px;
	}
}

.e-n-tabs-mobile .e-n-tab-title {
        order: 0 !important;
}



.sh-line {
  width: 2000px !important;
}

.edudownload {
    position: relative !important;
}

.edudownload::after {
    content: '' !important;
    position: absolute !important;
    top: -5px !important;
    left: -5px !important;
    right: 0 !important;
    bottom: 0 !important;
    border: 5px solid #ffe371!important;
    filter: url(#roughen) !important;
    pointer-events: none !important;
    z-index: 1 !important;
} 

@media (min-width: 1024px) {
    @keyframes smoothFlow {
        0% { transform: translate3d(0, 0, 0); }
        100% { transform: translate3d(-100%, 0, 0); }
    }
    .autocarousel .swiper-wrapper {
        animation: smoothFlow 30s linear infinite;
    }
    .autocarousel:hover .swiper-wrapper {
        animation-play-state: paused !important;
    }

}

#wrapper-navbar {
  z-index: 9999 !important;
}

.featureline {
    margin-left: 1240px;
    width: calc(100vw - 1240px) !important;
}




@media (min-width: 1024px) {
.downloadcarousel {
    max-width: 1000px !important;
}
}



.archivetabs .e-n-tabs-heading {
    background-color: transparent !important;
}




.e-n-tab-title[aria-selected="true"] {
  font-weight: 700 !important;
}



/* Mega Menu Tab Spacing */
.e-n-tabs-heading{
background-color: #371d36;
padding-top: 6px;
padding-bottom: 6px;
}


@media (min-width: 1025px) {
    .asymmetric-section {
        width: calc(100% - 100px); 
        margin-right: -100px; 
}
}

h6 {
    font-weight: 800 !important; 
}
  
.imgcarousel {
    height: 400px;
    width: auto;
    object-fit: cover; 

}
	
.resourcesimage {
    position: relative;
}

.resourcesimage::before,
.resourcesimage::after {
    content: '';
    position: absolute;
    border: 2px solid #000; /* Adjust color and thickness as needed */
    pointer-events: none;
}

.resourcesimage::before {
    /* Horizontal lines (top and bottom borders) */
    width: calc(100% + 40px); /* Extends 20px on each side */
    height: 100%;
    top: 0;
    left: -20px;
    border-left: none;
    border-right: none;
}

.resourcesimage::after {
    /* Vertical lines (left and right borders) */
    width: 100%;
    height: calc(100% + 40px); /* Extends 20px on top and bottom */
    top: -20px;
    left: 0;
    border-top: none;
    border-bottom: none;
}

@media (max-width: 768px) {
    br {
        display: none;
    }
}

@media (max-width: 768px) {
    .configurator-main-content {
        flex-direction: column-reverse;
    }
    
    .locker-animation-container {
        display: flex;
        position: relative;
        height: 100%;
    }
    
    .locker-animation-container::before {
        content: '';
        position: absolute;
        left: 50%;
        top: 0;
        bottom: 0;
        width: 8px;
        background: white;
        transform: translateX(-50%);
        z-index: 10;
    }
    
    .locker-animation-container .configurator-preview-image {
        position: relative !important;
        width: 50%;
        height: 300px;
        object-fit: cover;
        object-position: center;
        opacity: 1 !important;
    }
    
    .locker-animation-container .locker-closed::after {
        content: "Closed";
    }
    
    .locker-animation-container .locker-open::after {
        content: "Open";
    }
    
    .option-row:has(input[name="config-position"]) {
        display: none;
    }
    
    .configurator-options-panel, .configurator-image-panel {
        padding: 0px;
    }
    
    .configurator-options-panel {
        display: block !important;
        grid-template-columns: none !important;
    }
    
    .option-row {
        flex-direction: row !important;
        align-items: center !important;
        gap: 15px !important;
    }
}
