/* Use modern, clean font */

body {
    margin: 0;
    padding: 0 10px; /* Adds left and right padding for content */
    width: 100%;
    box-sizing: border-box; /* Ensures padding doesn't break layout */font-family: 'Inter', sans-serif; /* Modern font */
    font-size: 12.6px; /* Previously 14px, reduced by 10% */
    padding-top: 110px; /* Previously 80px */
}



ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ✅ Ensure the main content container grows to push the footer down */
.container {
    flex-grow: 1; /* Makes content take up available space */
}




.beta-banner {
    width: calc(100% - 40px); /* ✅ Adds left/right spacing */
    height: 200px; /* ✅ Fixed height */
    border-radius: 4.5px;
    display: flex;
    justify-content: left; /* ✅ Centers inner content */
    align-items: center; /* ✅ Centers text vertically */
    padding: 15px 40px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    margin: 10px auto 16px auto; /* ✅ Centers it and adds spacing */
    position: relative; /* ✅ Keeps overlay and text inside */
}

/* ✅ Optional: Add an Overlay for Readability */
.beta-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(95, 162, 223, 0.2); /* ✅ Light blue overlay for readability */
    border-radius: 4.5px;
    z-index: 1;
}

/* ✅ Inner Content Stays Above the Background */
.beta-banner-content {
    max-width: 1100px;
    width: 100%;
    text-align: left;
    font-size: 14.6px;
    color: white;
    position: relative;
    z-index: 2; /* ✅ Ensures content stays above overlay */
}

/* ✅ Strapline Styling */
.beta-banner-content h2 {
    font-size: 24px;
    font-weight: bold;
    color: white;
    text-align: left;
    margin-bottom: 6px; /* 🔽 Reduced spacing */
}

/* ✅ New Structure for Emoji as Bullets */
.beta-banner-item {
    display: flex;
    align-items: center; /* ✅ Ensures emoji and text are vertically aligned */
    gap: 10px; /* ✅ Space between emoji and text */
    margin-bottom: 3px; /* 🔽 Reduced spacing between lines */
}

.beta-banner-item .emoji {
    font-size: 18px; /* ✅ Makes emoji larger */
    line-height: 1; /* ✅ Fixes vertical alignment */
    flex-shrink: 0; /* ✅ Prevents emoji from resizing */
    display: flex;
    align-items: center; /* ✅ Ensures perfect centering */
}

/* ✅ Style the link */
.beta-banner-content a {
    color: white;
    font-weight: bold;
    text-decoration: none;
}

.beta-banner-content a:hover {
    color: white;
    text-decoration: underline;
}



/* ✅ Full-screen overlay */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* ✅ Semi-transparent dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* ✅ Pop-up styling */
.popup {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    width: 600px; /* ✅ Increased width */
    max-width: 90%;
    border: 3px solid #0073e6; /* ✅ Blue border */
}

/* ✅ Buttons inside the pop-up */
.popup-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
}

/* ✅ Close & Propose Buttons */
.popup-buttons button {
    padding: 10px 15px;
    font-size: 14px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}

/* ✅ Close Button */
#close-popup {
    background: #ccc;
    color: black;
}

#close-popup:hover {
    background: #aaa;
}

/* ✅ Propose Company Button */
#propose-company {
    background: #0073e6;
    color: white;
}

#propose-company:hover {
    background: #005bb5;
}




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

/* ✅ Unique styling for the intro banner */
.intro-banner {
    width: 100%; /* ✅ Ensure it takes full width without shrinking */
    max-width: 100vw; /* ✅ Prevents it from exceeding the viewport width */
    min-height: 120px;
    border-radius: 4.5px;
    display: flex;
    justify-content: left;
    align-items: center;
    padding: 20px 30px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
    background-color: #f4f4f4;
    margin: 10px auto 16px auto;
    position: relative;
    overflow: hidden; /* ✅ Prevents internal elements from causing overflow */
    box-sizing: border-box; /* ✅ Ensures padding doesn’t add extra width */
}




/* ✅ Inner content split into two equal sections */
.intro-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* ✅ Prevents overflow */
    align-items: center;
    width: 100%;
    max-width: 100%;
    text-align: left;
    font-size: 14.6px;
    color: black;
    position: relative;
    margin: 0;
    padding-left: 0;

}

/* ✅ Left Section */
.intro-left {
    flex-grow: 1; /* Takes remaining space */
    color: black;
}

.intro-left h2 {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
}

/* ✅ Left section text items */
.intro-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.intro-item .emoji {
    font-size: 18px;
    flex-shrink: 0;
}

/* ✅ Right Section */
.intro-right {
    max-width: 300px;
    width: 100%;
    flex-direction: column;
    align-items: center;
    background: tan;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* ✅ Magic Wand Title */
.intro-right h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.magic-wand {
    font-size: 20px;
    color: #0073e6;
}

/* ✅ Form Styling */
#categorize-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-width: 320px;
}

/* ✅ Input Fields */
#categorize-form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}

/* ✅ Submit Button */
#categorize-form button {
    background: #0073e6;
    color: white;
    border: none;
    padding: 10px;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.3s ease-in-out;
}

#categorize-form button:hover {
    background: #005bb5;
}

/* ✅ Responsive Design */
@media screen and (max-width: 768px) {
    .intro-content {
        flex-direction: column;
    }

    .intro-left {
        width: 100%;
        padding-right: 0;
    }

    .intro-right {
        max-width: 90%;
        width: 100%;
        flex-direction: column;
        align-items: center;
        background: white;
        padding: 20px;
        border-radius: 5px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    #categorize-form {
        max-width: 100%;
    }

    .hide-on-mobile {
        display: none !important;
      }

}

/* ✅ Ensure links in .intro-left stay white */
.intro-left a,
.intro-left a:visited,
.intro-left a:active {
    color: white !important;
    font-weight: bold;
    text-decoration: underline;
}

/* ✅ Add a hover effect */
.intro-left a:hover {
    text-decoration: underline;
}


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



#market-map {
    display: flex;
    flex-wrap: wrap; /* ✅ Allows multiple rows */
    justify-content: flex-start; /* ✅ Aligns items from the left */
    align-items: stretch; /* ✅ Ensures equal heights */
    gap: 20px; /* ✅ Keeps spacing consistent */
}



.main-category-box {
    border: 2px solid white; /* White border */
    border-radius: 9px; /* Slightly rounded */
    border-color: #e3e0d5ff;
    padding: 18px; /* Previously 20px */
    margin-bottom: 18px; /* Reduced by 10% */
    background-color: #f4f3efff; /* Light grey background */
    display: inline-block; /* Adjusts width to fit content */
    min-height: 280px; /* ✅ Fixes height (adjust as needed) */
}


/* Main Category Title */
.main-category-title {
    font-size: 14.4px; /* Previously 16px, reduced by 10% */
    font-weight: bold;
    color: #0073e6;
    padding-bottom: 9px; /* Adjusted padding */
}

/* Subcategory Container */
.sub-category-container {
    display: flex;
    flex-wrap: wrap;
    gap: 18px; /* Reduced gap between categories */
}

/* Subcategory Box */
.category-box {
    background: white;
    border-radius: 5.4px; /* Previously 6px */
    box-shadow: 0 3.6px 5.4px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
    width: 270px; /* Previously 198px*/
    min-height: 198px; /* Previously 220px */
    display: block;
    overflow: hidden;
    padding-bottom: 9px; /* Adjusted padding */
    box-sizing: border-box;
    max-width: 100%;
}

/* ✅ Fixed Height & Vertically Centered Wrapping Text */
.category-header {
    background-color: #0073e6;
    color: white;
    padding: 7px 10px;
    margin: 0;
    font-size: 12.6px; /* ✅ Keeps existing font size */
    font-weight: bold;
    text-align: left;
    width: 100%;
    height: auto; /* ✅ Allows height to expand for wrapping */
    min-height: 40px; /* ✅ Ensures consistent look when single-line */
    display: flex; /* ✅ Enables flexbox */
    align-items: center; /* ✅ Vertically centers text */
    word-wrap: break-word; /* ✅ Ensures long words wrap */
    overflow-wrap: break-word; /* ✅ Alternative text-wrapping support */
    white-space: normal; /* ✅ Allows multiple lines */
    box-sizing: border-box;
}

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


/* Main company list wrapper */
.company-list {
    list-style: none;
    padding: 10px 8px; /* ✅ Add left/right inline padding */
    margin: 0;
}

/* Each row */
.company-list li {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Push name left, icons right */
    padding: 2px 0; /* Vertical spacing */
    margin: 0;
    box-sizing: border-box;
    border-bottom: 1px solid #ddd; /* ✅ Light grey separator line */
}

/* Company name */
.company-list li span {
    font-size: 12px;
    font-weight: normal;

    padding: 7px; /* ✅ Space before company name */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Icons wrapper (logo + flag) */
.company-icons {
    display: flex;
    align-items: center;
    gap: 4px; /* Space between logo and flag */
    padding-right: 10px; /* ✅ Space after icons (before box edge) */
}

/* Logo */
.company-logo {
    width: 18px;
    height: 16px;
    object-fit: contain;
    border-radius: 3px;
    flex-shrink: 0;
}

/* Flag */
.country-icon {
    width: 14px;
    height: 12px;
    flex-shrink: 0;
}



/* "See More" Link */
.show-more {
    color: #0073e6;
    text-decoration: none;
    display: block;
    text-align: left;
    padding-left: 14px;
    padding-top: 5px;
    font-size: 10.8px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease-in-out;
    margin-top: 3.6px;
}

.show-more:hover {
    color: #005bb5;
}



/* HEADER LAYOUT - DESKTOP */
.sticky-header {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 110px;
    background: #5FA2DF;
    color: #fff;
    display: grid;
    /* logo | title | search | spacer | buttons */
    grid-template-columns: auto max-content auto 1fr auto;
    align-items: center;
    column-gap: 0;                 /* no auto gap between title + search */
    padding: 0 18px;
    font-size: 14.4px;
    font-weight: bold;
    z-index: 1000;
    box-shadow: 0 1.8px 3.6px rgba(0, 0, 0, .2);
  }
  
  .logo-title-search-wrapper { display: contents; }

  /* Default logo size */
  .header-logo {
    grid-column: 1;
    height: 80px;
    width: auto;
    object-fit: contain;
    margin-right: 20px;
  }
  
  /* Title */
  .header-title {
    grid-column: 2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-right: 20px;
    font-family: 'Instrument Serif', serif;
    font-size: 30px;
    font-weight: 800;
  }
  
  /* BETA Label */
  .beta-label {
    font-size: 10.8px;
    vertical-align: super;
  }
  
  /* Search */
  .search-container {
    display: flex;
    align-items: center;
    height: 38px;                /* lock row height */
    width: 300px;              /* fills the 300px grid track you set */
  }
  
  .search-input {
    flex: 1;
    padding: 8px 12px;
    font-size: 16px;
    border: 2px solid #ffffff;
    border-right: none;
    border-radius: 10px 0 0 10px;
    outline: none;
  }
  
  .search-button {
    padding: 8px 12px;
    font-size: 15px;
    border: 1px solid #ffffff;
    border-left: none;
    border-radius: 0 10px 10px 0;
    background: #005bb5;
    color: white;
    cursor: pointer;
  }
  
  .search-button:hover {
    background: #0073e6;
  }
  
  .search-dropdown {
    position: absolute;
    top: 74%; /* directly below input */
    width: 500px; /* match search bar */
    background: white;
    border: 3px solid #5FA2DF;
    box-shadow: 0px 8px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
    max-height: 400px;
    overflow-y: auto;
  }
  
  /* Search results */
  .search-option {
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
    color: #535151;
    border-bottom: 1px solid #ddd;
  }
  .search-option:hover {
    background: #0073e6;
    color: white;
  }
  
  /* Buttons always right */
  .button-wrapper {
    grid-column: 5;
    justify-self: end;
    display: flex;
  }
  
  .propose-button {
    margin-right: 30px;
    font-size: 12.6px;
    border: none;
    background-color: #005bb5;
    color: white;
    border-radius: 4.5px;
    cursor: pointer;
  }
  .propose-button:hover {
    background-color: #004494;
  }

  


/* Reload Button */
.reload-button {
    margin-top: 9px;
    margin-bottom: 13.5px;
    padding: 7.2px 13.5px;
    font-size: 12.6px;
    border: none;
    background-color: #C7C7C7;
    color: white;
    border-radius: 4.5px;
    cursor: pointer;
}

.reload-button:hover {
    background-color: #005bb5;
}



/* Company Profile Container */
.company-profile-container {
    max-width: 720px; /* Previously 800px */
    margin: 45px auto;
    padding: 18px;
    background: #f8f8f8;
    border-radius: 7.2px;
    box-shadow: 0 3.6px 5.4px rgba(0, 0, 0, 0.1);
}

/* Table Adjustments */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 9px;
    border: 1px solid #ddd;
}

th {
    background: #0073e6;
    color: white;
    text-align: left;
}

/* Clickable Company Links */
.clickable-company {
    cursor: pointer;
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

.clickable-company:hover {
    color: #005bb5;
}










/* 📱 Reduce logo size for mobile screens (max-width: 768px) */
/* MOBILE */
@media (max-width: 768px) {

    /* two-row header: [logo | title | buttons] on row 1, search on row 2 */
    .sticky-header {
        grid-template-columns: max-content 1fr auto;
    }
  
    /* search spans full width on its own row */
    .search-container {
      width: 100px;
      position: relative;
      display: flex;
      align-items: center;
      height: 40px;         /* single source of truth for control height */
    }
  
    .search-input,
    .search-button {
      height: 100%;
      box-sizing: border-box;
      line-height: 1;
      -webkit-appearance: none;
      appearance: none;
    }
  
    .search-input {
      flex: 1;
      font-size: 13px;
      padding: 0 12px;                /* vertical = 0; height controls size */
      border: 2px solid #ffffff;
      border-right: none;
      border-radius: 10px 0 0 10px;
      width: 140px;
    }
  
    .search-button {
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 0 12px;                /* horizontal only */
      border: 2px solid #ffffff;
      border-left: none;
      border-radius: 0 10px 10px 0;
      background: #005bb5;
      color: #fff;
      cursor: pointer;
    }
  
    /* dropdown aligns to the search width */
    .search-dropdown {
      position: absolute;
      top: calc(100% + 4px);
      left: ;
      right: -80%;
      width: 300px;
      max-height: 400px;
      overflow-y: auto;
      border: 2px solid #5FA2DF;
      background: #fff;
      z-index: 2000;
    }
  
    /* logo size on mobile */
    .header-logo {
      height: 58px;
      width: auto;
      object-fit: contain;
    }
  
    /* hide right-side buttons on mobile (optional) */
    .button-wrapper { display: none; }

    /* Prevent iOS zoom-on-focus */
    input, select, textarea, button {
        font-size: 16x;   /* >=16px stops the zoom */
    }

    /* your search specifically */
    .search-input { font-size: 16px; }
    .search-button { font-size: 16px; }

  }

  

  @media screen and (max-width: 768px) {
    .category-box {
        width: 300px !important; /* ✅ Makes sub-category boxes full width */
        display: block !important; /* ✅ Ensures they stack properly */
        box-sizing: border-box !important; /* ✅ Prevents overflow */
    }
}


/* ✅ Hide "Propose Company" Button & Title on Mobile */
@media (max-width: 768px) {
    .propose-button {
        display: none;
    }

    .header-title {
        display: none;
    }
}



/*--------------CONTACT FORM---------------*/

/* ✅ Ensures Full-Width Blue Background */
.contact-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 10px; /* ✅ Add rounded corners */
    height: 100vh; /* ✅ Full screen height */
}

/* ✅ Contact Form Container */
.contact-form-container {
    background-color: #5FA2DF; /* ✅ Matches header */
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto; /* ✅ Center the container itself */
    border-radius: 10px; /* ✅ Add rounded corners */
    overflow: hidden; /* ✅ Ensures children don't "bleed" over rounded corners */
    padding: 30px 20px; /* ✅ Adds vertical padding + fixes side spacing */
    width: 100%; /* ✅ Ensures container spans full width */
    max-width: 1100px; /* ✅ Prevents it from getting too wide */
    box-sizing: border-box; /* ✅ Prevents padding from increasing width */
    margin-bottom: 40px; /* ✅ Extra space below the container */
}

/* ✅ Wrapper to Center Form */
.contact-form-wrapper {
    width: 100%; /* ✅ Takes full width of container */
    max-width: 500px; /* ✅ Restricts form from stretching */
    display: flex;
    justify-content: center;
}

/* ✅ Actual Contact Form */
.contact-form {
    width: 100%; /* ✅ Takes full available space */
    max-width: 500px; /* ✅ Prevents it from being too large */
    background: white;
    padding: 20px; /* ✅ Increased padding inside form */
    border-radius: 10px;
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2);
    text-align: left;
    box-sizing: border-box; /* ✅ Ensures padding doesn't add to width */
}

/* ✅ Form Styling */
form {
    width: 100%;  /* ✅ Takes full width of container */
    display: flex;
    flex-direction: column;
}

/* ✅ Increase spacing before form labels */
label {
    font-weight: bold;
    margin-top: 15px; /* ✅ More space above labels */
    padding-bottom: 5px; /* ✅ Space between label & input field */
    color: black;
}

/* ✅ Fix Inputs Overflowing */
input, textarea {
    padding: 12px; /* ✅ More padding */
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    box-sizing: border-box; /* ✅ Prevents overflow due to padding */
}

/* ✅ Add extra padding below Submit Button */
button {
    background: #005bb5;
    color: white;
    border: none;
    padding: 12px;
    font-size: 12.6px;
    cursor: pointer;
    border-radius: 5px;
}

button:hover {
    background: #004494;
}




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

/* ✅ Styled pop-up modal */
.search-modal {
    display: none; /* Initially hidden */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 20px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    text-align: center;
    z-index: 1000;
    width: 300px;
}

.search-modal p {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
}

.search-modal a {
    text-decoration: none;
    color: #0073e6;
    font-weight: bold;
}

.search-modal a:hover {
    text-decoration: underline;
}

/* ✅ Modal background overlay */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 999;
}


/* ✅ --------CATEGORY SELECTOR ON INDEX PAGE--------- */

.category-selector-wrapper {
    display: flex;
    align-items: center; /* Keep everything aligned horizontally */
    gap: 10px; /* Space between dropdown and example text */
    padding-bottom: 10px; /* Space below the dropdown */
}

#category-dropdown {
    width: 250px; /* Set dropdown width */
    padding: 10px; /* Padding inside dropdown */
    background-color: #005bb5; /* Match "Suggestions" button background */
    color: white; /* White text for dropdown */
    border: none; /* Remove default border */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor */
    font-weight: bold; /* Ensure text is clear */
    text-align: left; /* Center text */
}

/* ✅ Ensure the dropdown options keep their original styling */
#category-dropdown option {
    padding: 12px;
    cursor: pointer;
    font-size: 14px;
    font-weight: normal;
    color: #535151;
    border-bottom: 1px solid #ddd;
}



#category-example {
    font-size: 14px;
}


/* ✅ Styling for the example hyperlink */
.example-text a {
    color: #5FA2DF; /* ✅ Ensures link is blue */
    text-decoration: underline; /* ✅ Removes underline */
}

.example-text a:hover {
    text-decoration: underline; /* ✅ Optional: Add underline on hover */
}


/* ✅ Footer always at bottom, full width */
footer {
    width: 100%; /* Full width, no calc */
    padding: 20px 10px; /* Match body's left/right padding */
    background-color: #333;
    color: white;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    box-sizing: border-box;
}

.footer-left {
    text-align: left;
    padding-left: 10px; /* Optional if you want extra spacing */
}

.footer-right {
    text-align: right;
    padding-right: 10px; /* Optional if you want extra spacing */
}

.footer-right a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.footer-right a:hover {
    text-decoration: underline;
}


/* ✅ Green Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 5px solid rgba(40, 167, 69, 0.3);
    border-top-color: #28a745; /* Green top border */
    border-radius: 50%;
    animation: spin 1s linear infinite !important; /* Forces animation */
}

/* Featured Companies container */
#featured-companies-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 5px;
    align-items: flex-start;
    justify-content: flex-start; /* Prevents centering/stretching */
  }
  
  /* Individual featured company box */
  .featured-company {
    width: 390px;
    max-width: 300px;
    flex: 0 0 350px;
    height: 110px;
    display: flex;               /* ✅ Correct */
    flex-direction: row;         /* ✅ Horizontal layout */
    align-items: center;
    gap: 15px;
    padding: 14px, 14px,14px,0px;
    padding-right: 10px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-sizing: border-box;
    font-weight: bold;
    font-size: 14px;
    color: white;
    text-decoration: none;
    background-color: #faf0e6;
  }
  
  /* Category label (grey text) */
.featured-company div.category {
    font-size: 12px;
    color: lightgray;
    margin-top: 5px;
    margin-bottom: 5px;
  }
  
  /* Company logo styling */
  .featured-company img {
    width: 140px;
    height: 90px;
    object-fit: cover;       /* Will crop instead of squish */
    border-radius: 2px;
    background: #f9f9f9;
    margin-left: 10px;
    display: block;          /* ✅ ensures it respects size */
    flex-shrink: 0;     
  }
    


  /* Mobile behavior */
  @media (max-width: 768px) {
    .featured-company {
      width: 100% !important;     /* ✅ Full width on mobile */
      max-width: 100%;
      justify-content: center;
      text-align: left;
      margin: 0 auto;             /* ✅ Center on page */
    }
  
    #featured-companies-container {
      justify-content: center;
    }
  }
  
  .featured-tag {
    font-size: 11px;
    font-weight: normal;
    color: white;
    margin-top: 4px;
  }
  

  /* New Market Maps Row */
#new-maps-row {
    margin-top: 20px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    background-color: #f9f9f9;
    padding: 10px;
    margin-bottom: 10px;
    border: 0px solid #ddd;
    border-radius: 8px;
  }
  
  /* 🗺️ Title spacing */
  #new-maps-row .new-maps-title {
    font-size: 12px;
    margin-left: 10px;
  }
  
  /* Map link container */
  #map-links-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
  }
  
  .new-maps-title {
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    line-height: 1.2; /* Ensures vertical centering works more predictably */
  }  

  /* Individual map box */
  .map-link-box {
    background-color: #31a3e9;
    font-size: 14px;
    color: white;
    font-weight: 400;
    padding: 6px 12px 6px 12px; /* top right bottom left */
    padding-right: 22px;        /* ⬅️ adds 10px extra to the right */
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    cursor: pointer;
    width: 100;
  }
  
  
  /* Responsive mobile tweaks */
  @media (max-width: 600px) {
  /*  #new-maps-row .new-maps-title {
      display: none;
    } */

    #map-links-container .map-link-box:nth-child(n+2) {
      display: none;
    }
  
    #map-links-container .map-link-box:first-child {
      width: 120%;
    }
  }
  

  .map-badge {
    background-color: rgb(243, 91, 36);
    color: white;
    font-weight: normal;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }
  
  .map-badge.inline {
    display: inline-flex;
    vertical-align: middle;
    margin-right: 6px;
    background-color: rgb(243, 91, 36);
    color: white;
    font-weight: bold;
    font-size: 11px;
    width: 18px;
    height: 18px;
    border-radius: 20%;
    align-items: center;
    justify-content: center;
    line-height: 1; /* ⬅️ Ensures no extra height inside the span */
  }


  .intro-banner-simple {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 16px;
    padding-bottom:15px;
    margin: 10px 0;
    font-size: 24px;
    font-weight:600;
    color: rgb(57, 57, 57);
    border: 0px solid #ddd;
  }
  
  .intro-line {
    display: flex;
    align-items: center; /* <-- changed from flex-start to center */
    margin-bottom: 0px;
    font-family: 'Instrument Serif', serif;
    font-weight: 600;
    font-size: 24px;
  }
  
  .intro-line .emoji {
    margin-right: 8px;
    font-size: 20px;
    line-height: 1;
  }



  .mapco-btn {
    display: flex;
    align-items: center;
    gap: 8px;              /* spacing between logo + text */
  }
  
  .mapco-logo {
    width: 90px;           /* adjust size as needed */
    height: auto;
    object-fit: contain;
  }

  