/* 
 * Landing Pages CSS
 * Shared styles for Products, Parts, Articles, and Search Results pages
 */

/* ==========================================================================
   BASE LAYOUT & CONTAINERS
   ========================================================================== */

.products-layout,
.parts-layout,
.articles-layout { 
    display: flex; 
    gap: 2.5rem; 
}

.products-sidebar,
.parts-sidebar,
.articles-sidebar { 
    width: 260px; 
    min-width: 200px; 
}

.products-main,
.parts-main,
.articles-main { 
    flex: 1; 
}

/* ==========================================================================
   SIDEBAR STYLING
   ========================================================================== */

.sidebar-title { 
    font-size: 1.1rem; 
    font-weight: bold; 
    color: #222; 
}

.product-cat-list,
.part-cat-list,
.article-cat-list { 
    list-style: none; 
    margin: 0 0 0.5rem 0; 
    padding: 0; 
}

.product-cat-item,
.part-cat-item,
.article-cat-item { 
    margin-bottom: 0.2rem; 
    font-weight: 400; 
}

.product-cat-item.current > a,
.part-cat-item.current > a,
.article-cat-item.current > a { 
    color: #186396; 
    font-weight: 400; 
}

.product-cat-item > a,
.part-cat-item > a,
.article-cat-item > a {
    color: #222;
    text-decoration: underline;
    font-weight: 400 !important;
    font-size: 1rem;
    padding-left: 0;
    display: inline;
}

.product-cat-item > a:hover,
.part-cat-item > a:hover,
.article-cat-item > a:hover { 
    text-decoration: underline; 
    color: #186396; 
}

/* Category count styling */
.cat-count {
    color: #666;
    font-weight: 400;
    text-decoration: none;
    pointer-events: none;
}

/* ==========================================================================
   CATEGORY TITLES & DESCRIPTIONS
   ========================================================================== */

.products-category-title,
.parts-category-title,
.articles-category-title { 
    font-size: 2rem; 
    margin: 0 0 0.5rem 0; 
}

.products-category-desc,
.parts-category-desc,
.articles-category-desc { 
    color: #444; 
    margin-bottom: 1.2rem; 
}

.products-count,
.parts-count,
.articles-count { 
    color: #666; 
    margin-bottom: 1.5rem; 
    font-size: 1rem; 
}

/* ==========================================================================
   PRODUCT/PART LISTS & CARDS
   ========================================================================== */

.products-list,
.parts-list { 
    display: grid; 
    grid-template-columns: repeat(2, 1fr); 
    gap: 2rem; 
    margin-bottom: 2rem; 
}

.articles-list {
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 2rem; 
    margin-bottom: 2rem; 
}

.article-card-home {
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); 
    padding: 1.5rem; 
    transition: box-shadow 0.3s ease, transform 0.3s ease; 
    display: flex; 
    gap: 1.5rem; 
    align-items: flex-start; 
}

.article-card-home:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); 
    transform: translateY(-2px); 
}

.article-card-home .article-image {
    flex: 0 0 200px; 
    width: 200px; 
    height: 150px; 
    overflow: hidden; 
    border-radius: 8px; 
}

.article-card-home .article-content {
    flex: 1; 
}

.article-card-home h4,
.article-card-home h5 {
    color: #186396;
    font-weight: 600;
}

.article-card-home h4 a,
.article-card-home h5 a {
    color: #186396 !important;
    text-decoration: none;
}

.article-card-home h4 a:hover,
.article-card-home h5 a:hover {
    color: #186396 !important;
    text-decoration: none;
}

/* ==========================================================================
   SEARCH RESULTS STYLING
   ========================================================================== */

/* Note: Base card styles are now in product-cards-shared.css */

/* ==========================================================================
   PAGINATION
   ========================================================================== */

.no-products,
.no-parts,
.no-articles { 
    text-align: center; 
    color: #666; 
    font-size: 1.1rem; 
    margin: 2rem 0; 
}

.products-pagination,
.parts-pagination,
.articles-pagination { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: 0.5rem; 
    margin: 2rem 0; 
    flex-wrap: wrap; 
}

.products-pagination .page-numbers,
.parts-pagination .page-numbers,
.articles-pagination .page-numbers { 
    display: inline-block; 
    padding: 0.5rem 1rem; 
    margin: 0 0.2rem; 
    background: #fff; 
    color: #186396; 
    text-decoration: none; 
    border: 1px solid #186396; 
    border-radius: 4px; 
    font-weight: 500; 
    transition: all 0.3s ease; 
    min-width: 40px; 
    text-align: center; 
}

.products-pagination .page-numbers:hover,
.parts-pagination .page-numbers:hover,
.articles-pagination .page-numbers:hover { 
    background: #186396; 
    color: #fff; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(24, 99, 150, 0.3); 
}

.products-pagination .page-numbers.current,
.parts-pagination .page-numbers.current,
.articles-pagination .page-numbers.current { 
    background: #186396; 
    color: #fff; 
    border-color: #186396; 
    font-weight: 600; 
}

.products-pagination .prev,
.parts-pagination .prev,
.articles-pagination .prev { 
    display: inline-flex; 
    align-items: center; 
    gap: 0.5rem; 
    padding: 0.5rem 1rem; 
    background: #fff; 
    color: #186396; 
    text-decoration: none; 
    border: 1px solid #186396; 
    border-radius: 4px; 
    font-weight: 500; 
    transition: all 0.3s ease; 
}

.products-pagination .prev:hover,
.parts-pagination .prev:hover,
.articles-pagination .prev:hover { 
    background: #186396; 
    color: #fff; 
    transform: translateY(-2px); 
    box-shadow: 0 4px 8px rgba(24, 99, 150, 0.3); 
}

.products-pagination .dots,
.parts-pagination .dots,
.articles-pagination .dots { 
    color: #666; 
    padding: 0.5rem; 
    border: none; 
    background: none; 
    cursor: default; 
}

/* ==========================================================================
   FILTERS & FILTER BAR
   ========================================================================== */

.products-filters-bar,
.parts-filters-bar,
.articles-filters-bar { 
    display: flex; 
    flex-wrap: wrap; 
    gap: 1rem; 
    align-items: center; 
}

.filters-chips { 
    width: 100%; 
}

.filters-list { 
    list-style: disc inside; 
    margin: 0 0 0.5em 0; 
    padding: 0; 
}

.filter-list-item { 
    margin-bottom: 0.2em; 
    color: #186396; 
    font-size: 1rem; 
}

.products-filters-bar *,
.parts-filters-bar *,
.articles-filters-bar * { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

.products-filters-bar h4.sidebar-title,
.parts-filters-bar h4.sidebar-title,
.articles-filters-bar h4.sidebar-title { 
    font-size: 1.1rem; 
    font-weight: bold; 
    color: #222; 
    margin-bottom: 0.5rem; 
    padding-bottom: 0.5rem; 
}

.products-sidebar h4.sidebar-title:last-of-type,
.parts-sidebar h4.sidebar-title:last-of-type,
.articles-sidebar h4.sidebar-title:last-of-type { 
    margin-top: 0; 
    background: #f8f9fa; 
    padding: 1rem 1rem 0.5rem 1rem; 
    border-radius: 6px 6px 0 0; 
    border: 1px solid #e9ecef; 
    border-bottom: none; 
    margin-bottom: 0; 
    font-size: 1.1rem; 
    font-weight: bold; 
    color: #222; 
}

.products-filters-bar h4.sidebar-title,
.parts-filters-bar h4.sidebar-title,
.articles-filters-bar h4.sidebar-title { 
    margin-bottom: 0.5rem; 
    padding-bottom: 0.5rem; 
    font-size: 1.1rem; 
    font-weight: bold; 
    color: #222; 
}

.products-sidebar h4.sidebar-title:last-of-type + ul,
.parts-sidebar h4.sidebar-title:last-of-type + ul { 
    background: #f8f9fa; 
    padding: 0.5rem 1rem 1rem 1rem; 
    border-radius: 0 0 6px 6px; 
    border: 1px solid #e9ecef; 
    border-top: none; 
    margin-top: 0; 
    list-style: none; 
    margin-bottom: 1.5rem; 
}

/* Filter option container - single grey box for all filters */
.filter_option {
    background: #f8f9fa; 
    padding: 1rem; 
    border-radius: 6px; 
    border: 1px solid #e9ecef; 
    margin-bottom: 1.5rem; 
}

.filter_option h4.sidebar-title {
    margin-top: 0; 
    margin-bottom: 0.5rem; 
    padding-bottom: 0.5rem; 
    font-size: 1.1rem; 
    font-weight: bold; 
    color: #222; 
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 0 0.5rem 0 !important;
}

.filter_option h4.sidebar-title:first-child {
    margin-top: 0;
}

.filter_option h4.sidebar-title:not(:first-child) {
    margin-top: 1.5rem;
}

.filter_option .article-cat-list {
    margin-bottom: 0;
    background: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

.filter_option .article-cat-list:last-child {
    margin-bottom: 0;
}

.filters-title { 
    font-size: 1.1rem; 
    font-weight: bold; 
    color: #222; 
    margin-bottom: 0.5rem; 
}

.filters-chips { 
    width: 100%; 
}

.filters-list { 
    list-style: disc inside; 
    margin: 0 0 0.5em 0; 
    padding: 0; 
}

.filter-list-item { 
    margin-bottom: 0.2em; 
    color: #186396; 
    font-size: 1rem; 
}

.filter-link { 
    color: #186396; 
    text-decoration: underline; 
    font-weight: 400; 
    cursor: pointer; 
}

.filter-link:hover { 
    color: #14507a; 
    text-decoration: none; 
}

.filter-remove { 
    color: #186396; 
    text-decoration: none; 
    font-size: 1.1em; 
    margin-left: 0.4em; 
    cursor: pointer; 
    font-weight: bold; 
}

.filter-remove:hover { 
    color: #14507a; 
    text-decoration: none; 
}

.filter-clear { 
    color: #186396; 
    background: none; 
    border: none; 
    border-radius: 0; 
    padding: 0; 
    text-decoration: underline; 
    font-weight: 400; 
    margin-top: 0.5em; 
    margin-bottom: 1.5rem; 
    margin-left: 0; 
    display: inline-block; 
    cursor: pointer; 
    font-weight: 400 !important; 
}

.filter-clear:hover { 
    color: #14507a; 
    text-decoration: none; 
}

.filter-sep { 
    display: none; 
}

/* ==========================================================================
   CATEGORY LISTS (SIDEBAR)
   ========================================================================== */

.category-list { 
    list-style: none; 
    padding: 0; 
    margin: 0; 
}

.category-item { 
    margin-bottom: 0.5rem; 
}

.category-item a { 
    color: #222; 
    text-decoration: underline; 
    font-weight: 400 !important; 
    font-size: 1rem; 
    padding-left: 0; 
    display: inline; 
    transition: color 0.3s ease; 
}

.category-item a:hover { 
    color: #186396; 
    text-decoration: underline; 
}

.category-item.current a { 
    color: #186396; 
    font-weight: 600; 
}

.subcategory-list { 
    list-style: none; 
    padding-left: 1rem; 
    margin: 0.5rem 0; 
}

.subcategory-item { 
    margin-bottom: 0.3rem; 
}

.subcategory-item a { 
    color: #666; 
    text-decoration: underline; 
    font-size: 0.9rem; 
}

.subcategory-item a:hover { 
    color: #186396; 
    text-decoration: underline; 
}

.subcategory-item.current a { 
    color: #186396; 
    font-weight: 500; 
}

/* ==========================================================================
   SEARCH RESULTS PAGE
   ========================================================================== */

.container.search-results-page.search-results-container {
    max-width: 1320px; 
    margin: 0 auto; 
    padding: 2rem 1rem 3rem 1rem; 
    background: #fff; 
}





.search-results-section {
    margin-bottom: 3rem; 
}

.search-results-section-header {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 1.5rem; 
}

.search-results-section-title-group {
    display: flex; 
    align-items: center; 
    gap: 1rem; 
}

.search-results-section-title {
    font-size: 1.5rem; 
    font-weight: 600; 
    color: #111; 
}

.cpt-count-label {
    color: #666; 
    font-size: 1rem; 
}

.view-all-cpt-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    color: #222;
}

.view-all-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #FFD34E;
    border-radius: 50%;
    margin-left: 0.5rem;
}

/* ==========================================================================
   FILTERED BY SECTION STYLING
   ========================================================================== */

/* Filtered by section should be white background with no padding */
/* Specific override for "Filtered by" heading only */
.products-filters-bar h4.sidebar-title,
.parts-filters-bar h4.sidebar-title,
.articles-filters-bar h4.sidebar-title {
    background: #fff !important;
    padding: 0 !important;
    margin-bottom: 0.5rem !important;
    border: none !important;
    border-radius: 0 !important;
}

.products-filters-bar,
.parts-filters-bar,
.articles-filters-bar {
    background: #fff !important;
    padding: 0 !important;
    margin-bottom: 1rem !important;
    border: none !important;
    border-radius: 0 !important;
}


/* ==========================================================================
   IMAGE FIXES
   ========================================================================== */

/* Fix product/part card images */
.products-list img,
.parts-list img {
    width: 100% !important;
    height: 180px !important;
    object-fit: contain !important;
    border-radius: 8px 8px 0 0 !important;
}

/* Fix article card images */
.articles-list img,
.article-card-home img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
}

/* ==========================================================================
   PROJECT LIST & INDUSTRY PAGES
   ========================================================================== */

.container {
    max-width: 1320px; 
    margin: 0 auto; 
    padding: 2rem 1rem 0rem 1rem; 
    background: #fff; 
}

.project-list {
    margin-top: 2rem; 
}

/* Default project list image float - scoped to avoid conflicts with industries landing */
.project-list-image-float:not(.industries-landing .project-list-image-float) {
    position: fixed; 
    top: 50%; 
    right: 2rem; 
    transform: translateY(-50%); 
    width: 300px; 
    height: 400px; 
    z-index: 100; 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); 
    opacity: 0; 
    transition: opacity 0.3s ease; 
}

.industry-float-link {
    display: block; 
    width: 100%; 
    height: 100%; 
    position: relative; 
}

/* Default diagonal styles - scoped to avoid conflicts with industries landing */
.industry-float-diagonal:not(.industries-landing .industry-float-diagonal) {
    position: absolute; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%; 
    background: linear-gradient(135deg, rgba(24, 99, 150, 0.9) 0%, rgba(24, 99, 150, 0.7) 50%, rgba(24, 99, 150, 0.9) 100%); 
    display: flex; 
    align-items: center; 
    justify-content: center; 
    color: #fff; 
    font-size: 1.2rem; 
    font-weight: 600; 
    text-decoration: none; 
    transition: all 0.3s ease; 
}

.industry-float-diagonal.active {
    background: linear-gradient(135deg, rgba(24, 99, 150, 1) 0%, rgba(24, 99, 150, 0.9) 50%, rgba(24, 99, 150, 1) 100%); 
    transform: scale(1.05); 
}

.project-list-image-float img {
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    border-radius: 8px; 
    transition: transform 0.3s ease; 
}

.project-list-table {
    width: 100%; 
}

/* Default project list row - scoped to avoid conflicts with industries landing */
.project-list-row:not(.industries-landing .project-list-row) {
    display: flex; 
    align-items: center; 
    padding: 1.5rem; 
    border-bottom: 1px solid #e9ecef; 
    transition: background-color 0.3s ease; 
    cursor: pointer; 
    position: relative; 
}

.project-list-row:hover {
    background-color: #f8f9fa; 
}

.industry-row-content {
    display: flex; 
    align-items: center; 
    gap: 2rem; 
    flex: 1; 
    min-width: 0; 
}

.h3.industry-row-title {
    font-size: 1.3rem; 
    font-weight: 600; 
    color: #111; 
    margin: 0; 
    flex: 1; 
    min-width: 0; 
}

.industry-row-link {
    color: #186396; 
    text-decoration: none; 
    font-weight: 500; 
}

.industry-row-excerpt {
    color: #666; 
    font-size: 0.9rem; 
    line-height: 1.5; 
    flex: 2; 
    min-width: 0; 
}

.industry-row-arrow {
    display: flex; 
    align-items: center; 
    justify-content: center; 
    width: 40px; 
    height: 40px; 
    border-radius: 50%; 
    background: #186396; 
    color: #fff; 
    transition: all 0.3s ease; 
    flex-shrink: 0; 
}

.industry-arrow-icon {
    font-size: 1rem; 
    font-weight: bold; 
}

.project-list-experts {
    font-size: 1.1rem; 
    color: #186396; 
    opacity: 0.8; 
    white-space: nowrap; 
    font-weight: 400; 
}

.problems-we-solve {
    margin-top: 200px; 
    margin-bottom: 40px; 
    white-space: nowrap; 
}

.problems-we-solve-title {
    font-size: 2rem; 
    color: #111; 
    font-weight: 700; 
}

/* ==========================================================================
   BREADCRUMB & TYPOGRAPHY
   ========================================================================== */

.breadcrumb {
    font-size: 1rem; 
    color: #666; 
    margin-top: 0; 
    margin-bottom: 60px; 
    font-weight: 400; 
}

.breadcrumb a {
    text-decoration: underline; 
    font-weight: 400 !important; 
    color: #186396; 
}


.h3 {
    font-size: 2.2rem; 
    margin-bottom: 2rem; 
    color: #111; 
    font-weight: 700; 
}

/* ==========================================================================
   CSS VARIABLES & GLOBAL STYLES
   ========================================================================== */

:root {
    --nav-super-height: 40px;
    --nav-main-height: 71px;
    --nav-total-height: calc(var(--nav-super-height) + var(--nav-main-height));
}

body {
    padding-top: var(--nav-total-height);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 900px) { 
    .products-layout,
    .parts-layout,
    .articles-layout { 
        flex-direction: column; 
    } 
    
    .products-sidebar,
    .parts-sidebar,
    .articles-sidebar { 
        width: 100%; 
        min-width: 0; 
        margin-bottom: 2rem; 
    } 
    
    .products-list,
    .parts-list,
    .articles-list { 
        grid-template-columns: 1fr; 
    }

    #industry-float-image { 
        display: none !important; 
    }
    .industry-row-content { 
        flex-direction: column !important; 
        align-items: flex-start !important; 
        gap: 0.2rem !important; 
    }
    .industry-row-excerpt { 
        display: none !important; 
    }
    .industry-row-title { 
        width: 100%; 
    }

    .search-results-list { 
        grid-template-columns: 1fr; 
    }

    .article-card-home {
        flex-direction: column;
    }

    .article-card-home .article-image {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }

    .search-result-card {
        flex-direction: column;
    }

    .search-result-image {
        flex: 0 0 auto;
        width: 100%;
        height: 200px;
    }
    
    /* ========================================
     * PARTS IMAGE STYLING IN LANDING PAGES
     * ======================================== */
    
    /* Override search result image styling specifically for parts to show full unzoomed images */
    .parts-list .search-result-card .search-result-image img,
    .parts-main .search-result-card .search-result-image img {
        object-fit: contain !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        max-height: 100% !important;
        object-position: center !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        border-radius: 8px !important;
    }
    
    /* Ensure the image container centers the images properly */
    .parts-list .search-result-card .search-result-image,
    .parts-main .search-result-card .search-result-image {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #ffffff !important;
        border: 1px solid #e6e6e6 !important;
        padding: 1rem !important;
        border-radius: 12px !important;
        min-width: 150px !important;
        min-height: 150px !important;
        overflow: hidden !important;
    }

}

/* ========================================
 * PARTS & PRODUCTS - NO ZOOM, VERTICALLY CENTERED
 * ======================================== */

/* Parts and products in search results, landing pages, and detail pages */
.search-result-card[href*="/parts/"] .search-result-image,
.search-result-card[href*="/products/"] .search-result-image,
.parts-list .search-result-card .search-result-image,
.products-list .search-result-card .search-result-image,
.core-products .search-result-card .search-result-image,
.related-parts .search-result-card .search-result-image,
.parts-section .search-result-card .search-result-image {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}


/* ==========================================================================
   INDUSTRIES & SOLUTIONS LANDING PAGE SPECIFIC STYLES
   ========================================================================== */

/* Solutions-specific padding override */
.solutions-landing .container {
  padding: 2rem 1rem 0rem 1rem !important;
}

/* Override container padding for solutions grid */
#solutions-grid .container {
    padding: 0;
}

/* Solutions Grid Styles */
#solutions-grid .service-two-box {
  height: 350px !important;
}

.service-two-icon {
  position: absolute !important;
  top: 224px !important;
  left: 39px !important;
  z-index: 1 !important;
}

.service-style-two .service-two-box:before {
    background-color: #186396 !important;
    z-index: -1;
    opacity: 1;
}

.gap {
  padding: 0px 0 !important;
}

/* Industries We Serve Section */
.industries-we-serve {
  margin-top: 100px;
}

.industries-we-serve-title {
  font-size: 2rem;
  color: #111;
  font-weight: 700;
  white-space: nowrap;
}

/* Problems We Solve Section */
.problems-we-solve {
  margin-top: 200px;
  white-space: nowrap;
}

.problems-we-solve-title {
  font-size: 2rem;
  color: #111;
  font-weight: 700;
}

/* Project List Styles (Industries specific) */
.project-list {
  position: relative;
}

/* Enhanced project list image float with existing transition */
.industries-landing .project-list-image-float {
  position: absolute;
  top: -20px;
  right: 0;
  width: 340px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
  transition: top 0.2s, opacity 0.2s;
}

.industry-float-link {
  display: block;
  position: relative;
  width: 320px;
  height: 220px;
  overflow: visible;
}

.industries-landing .industry-float-diagonal {
  content: '';
  position: absolute;
  left: 50%;
  top: -14%;
  transform: translateX(-50%) skew(-23deg, 0deg) translateX(-10px);
  width: 140px;
  height: 280px;
  background: #186396;
  z-index: 0;
  border-radius: 0;
  box-shadow: 0 3px 8px rgba(24, 99, 150, 0.12);
  opacity: 1;
  transition: opacity 0.3s, transform 0.6s;
}

.industries-landing .industry-float-diagonal.active {
  opacity: 1;
  transform: translateX(-50%) skew(-23deg, 0deg) translateX(0);
}

.industries-landing .project-list-image-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 2;
  transition: opacity 0.6s;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(24,99,150,0.08);
}

.industries-landing .project-list-table {
  width: 100%;
}

.industries-landing .project-list-row {
  border-bottom: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  min-height: 100px;
  cursor: pointer;
  background: #fff;
  text-decoration: none !important;
  color: inherit;
  transition: background 0.15s;
  padding-left: 1.5rem;
}

.industries-landing .project-list-row:hover {
  background: #f5faff;
}

.industry-row-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 0.5rem;
}

.h3.industry-row-title {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.5rem;
  font-weight: 700;
  flex: 1;
}

.industry-row-experts {
  text-align: center;
  flex: 1;
  display: flex;
  justify-content: center;
  margin-left: -120%;
}

.industry-row-link {
  color: #186396;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
}

.industry-arrow-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 0.2em;
    transform: rotate(45deg); 
    font-weight: 900;
    font-size: 1.3rem;
}


.project-list-experts {
  font-size: 1.1rem;
  color: #004C7F;
  opacity: 0.8;
  white-space: nowrap;
  font-weight: 400;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .industry-row-content { 
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .industry-row-experts {
    text-align: left;
    margin-left: 0;
    order: 2;
  }
  
  .industry-row-title {
    order: 1;
    width: 100%;
  }
}

@media (max-width: 900px) {
  #industry-float-image { 
    display: none !important; 
  }
  
  .industry-row-content { 
    flex-direction: column !important; 
    align-items: flex-start !important; 
    gap: 0.2rem !important; 
  }
    
  .industry-row-excerpt { 
    display: none !important; 
  }
  
  .industry-row-title { 
    width: 100%; 
  }
}
