/* ===== DELEGATES PAGE STYLES ===== */

/* ===== DELEGATES TITLE SECTION ===== */

.delegates-title-section {
    width: calc(100% - 108px);
    margin: 90px 54px 0px 54px;
    padding: 0;
}

.delegates-title {
    flex: 1;
    width: 100%;
    position: relative;
    font-size: 52px;
    line-height: 60px;
    display: inline-block;
    font-family: 'Be Vietnam Pro';
    color: #0065a4;
    text-align: left;
    margin: 0;
    font-weight: 600;
}

/* ===== MOBILE HERO SECTION ===== */

.delegates-hero-section-mobile {
    display: none;
    width: 100%;
    position: relative;
    background-color: #000229;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

.delegates-hero-section-mobile .frame-parent {
    width: 100%;
    position: relative;
    background-color: #000229;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 16px 0px;
    box-sizing: border-box;
    gap: 25px;
    text-align: left;
    font-size: 32px;
    color: #00b1ee;
    font-family: 'Be Vietnam Pro';
}

.delegates-hero-section-mobile .frame-wrapper {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 25px;
}

.delegates-hero-section-mobile .frame-container {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.delegates-hero-section-mobile .frame-div {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.international-water-industry {
    align-self: stretch;
    position: relative;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #00b1ee;
}

.the-global-water-summit-is-ren-wrapper {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 25px;
    font-size: 12px;
    color: #fff;
}

.the-global-water {
    align-self: stretch;
    position: relative;
    line-height: 18px;
    font-weight: 300;
}

/* Mobile Hero Section - Part 2: Image with Card */
.delegates-hero-section-mobile-image {
    display: none;
    width: 100%;
    position: relative;
    overflow: hidden;
    padding: 0;
    box-sizing: border-box;
}

.delegates-hero-section-mobile-image .frame-parent {
    width: 100%;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 0;
    box-sizing: border-box;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center bottom;
    text-align: left;
    font-size: 32px;
    color: #0065a4;
    font-family: 'Be Vietnam Pro';
    min-height: 400px;
    border-radius: 0 !important;
}

.delegates-hero-section-mobile-image .frame-wrapper {
    position: absolute;
    bottom: 0;
    left: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0;
    width: auto;
    z-index: 10;
}

.delegates-hero-section-mobile-image .frame-container {
    border-radius: 12px 12px 0px 0px;
    background: linear-gradient(180deg, #e6f7fd, #00b1ee);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 16px 32px;
    width: 155px;
    height: 130px;
    box-sizing: border-box;
}

.delegates-hero-section-mobile-image .frame-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.delegates-hero-section-mobile-image .wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.delegates-hero-section-mobile-image .b {
    align-self: stretch;
    position: relative;
    font-weight: 700;
    font-size: 32px;
    line-height: 40px;
    color: #0065a4;
}

.delegates-hero-section-mobile-image .frame-div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 12px;
}

.delegates-hero-section-mobile-image .line-parent {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.delegates-hero-section-mobile-image .frame-child {
    align-self: stretch;
    height: 2px;
    position: relative;
    border-top: 2px solid #e6f7fd;
    box-sizing: border-box;
}

.confirmed-delegates {
    align-self: stretch;
    position: relative;
    line-height: 18px;
    font-weight: 300;
    color: #0065a4;
}

/* ===== INTERACTIVE MAP SECTION ===== */

.delegates-map-section {
    width: 100%;
    padding: 0px 79px 90px 79px;
    box-sizing: border-box;
    background: #000229;
    margin-top: -10px;
}

/* Map Header */
.map-header {
    margin-bottom: 40px;
    padding-top: 45px;
}

.map-title {
    font-size: 48px;
    font-weight: 600;
    color: #00d4ff;
    margin: 0 0 20px 0;
    font-family: 'Be Vietnam Pro';
    line-height: 56px;
}

.map-description {
    font-size: 16px;
    color: #e0e0e0;
    margin: 0 0 20px 0;
    line-height: 24px;
    max-width: 900px;
    font-family: 'Be Vietnam Pro';
}

.map-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 212, 255, 0.1);
    border-left: 3px solid #00d4ff;
    border-radius: 4px;
    font-size: 14px;
    color: #e0e0e0;
    font-family: 'Be Vietnam Pro';
}

.map-info-box svg {
    flex-shrink: 0;
    color: #00d4ff;
    margin-top: 2px;
}

/* Map Container with Info Panel */
.map-with-info {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.delegates-map-container {
    flex: 1;
    position: relative;
    height: 597px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3);
    background: rgba(230, 247, 253, 0.3) !important;
    resize: vertical;
    min-height: 300px;
    max-height: 1000px;
}

.delegates-map {
    width: 100%;
    height: 100%;
    background-color: #0a1628 !important;
    position: relative;
}

/* Resize handle for map */
.map-resize-handle {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(to bottom, rgba(0, 101, 164, 0.3), rgba(0, 101, 164, 0.6));
    cursor: ns-resize;
    transition: background 0.2s ease;
    z-index: 10;
}

.map-resize-handle:hover {
    background: linear-gradient(to bottom, rgba(0, 101, 164, 0.6), rgba(0, 101, 164, 0.9));
}

.map-resize-handle.dragging {
    background: linear-gradient(to bottom, rgba(0, 101, 164, 0.9), rgba(0, 101, 164, 1));
}

/* Sort Dropdown Styles */
.sort-dropdown-wrapper {
    position: relative;
    cursor: pointer;
}

.sort-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
    min-width: 120px;
    margin-top: 5px;
}

.sort-dropdown-menu.active {
    display: block;
}

.sort-option {
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #333;
    font-size: 14px;
}

.sort-option:hover {
    background-color: #f0f0f0;
}

.sort-option.selected {
    background-color: #e8f4f8;
    color: #0065a4;
    font-weight: 600;
}

/* Leaflet Zoom Controls Styling */
.delegates-map-container .leaflet-control-zoom {
    background-color: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #ddd !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
}

.delegates-map-container .leaflet-control-zoom a {
    background-color: white !important;
    color: #0065a4 !important;
    border: none !important;
    width: 36px !important;
    height: 36px !important;
    line-height: 36px !important;
    font-size: 18px !important;
    font-weight: bold !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.delegates-map-container .leaflet-control-zoom a:hover {
    background-color: #f0f0f0 !important;
    color: #003d7a !important;
}

.delegates-map-container .leaflet-control-zoom a:first-child {
    border-bottom: 1px solid #ddd !important;
}

.delegates-map-container .leaflet-control-zoom a.leaflet-disabled {
    background-color: #f5f5f5 !important;
    color: #ccc !important;
    cursor: not-allowed !important;
}

.delegates-map::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 117, 255, 0.25) 0%, rgba(26, 117, 255, 0.12) 100%);
    pointer-events: none;
    z-index: 10;
}

.delegates-map .leaflet-container {
    background-color: #0a1628 !important;
}

/* Info Panel */
.map-info-panel {
    width: 297px;
    background-color: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    gap: 0;
}

/* Component 1: Confirmed Delegates Count Card */
.info-panel-top {
    width: 100%;
    position: relative;
    border-radius: 12px;
    background-color: rgba(230, 247, 253, 0.3);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 25px;
    box-sizing: border-box;
    gap: 32px;
    text-align: left;
    font-size: 28px;
    color: #fff;
    font-family: 'Be Vietnam Pro';
    box-shadow: 0px 8px 24px rgba(0, 0, 0, 0.3);
}

.info-panel-total-label {
    align-self: stretch;
    position: relative;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    font-family: 'Be Vietnam Pro';
}

.info-panel-content {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 12px;
    font-size: 52px;
    color: #00b1ee;
}

.info-panel-count {
    align-self: stretch;
    position: relative;
    font-size: 52px;
    font-weight: 700;
    color: #00b1ee;
    margin: 0;
    font-family: 'Be Vietnam Pro';
    line-height: 60px;
}

.info-panel-label {
    position: relative;
    font-size: 21px;
    color: #00b1ee;
    margin: 0;
    font-family: 'Be Vietnam Pro';
    font-weight: 600;
    line-height: 27px;
}

/* Component 2 & 3: Delegates List Section */
.info-panel-companies {
    border-top: none;
    padding-top: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    margin-top: 25px;
    background-color: transparent;
    gap: 16px;
    max-height: 350px;
}

/* Component 2: Title with Divider (horizontal layout) */
.confirmed-delegates-parent {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
    text-align: left;
    font-size: 14px;
    color: rgba(230, 247, 253, 0.45);
    font-family: 'Be Vietnam Pro';
    flex-shrink: 0;
}

.companies-label {
    font-size: 14px;
    font-weight: 500;
    color: rgba(230, 247, 253, 0.45);
    text-transform: capitalize;
    letter-spacing: 0px;
    margin: 0;
    padding: 0;
    font-family: 'Be Vietnam Pro';
    flex-shrink: 0;
    line-height: 20px;
    white-space: nowrap;
}

.companies-divider {
    height: 1px;
    flex: 1;
    position: relative;
    background-color: rgba(230, 247, 253, 0.5);
    border-top: 1px solid rgba(230, 247, 253, 0.5);
    box-sizing: border-box;
    margin: 0;
}

/* Component 3: Delegates List */
.companies-list {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    text-align: center;
    font-size: 17px;
    color: #fff;
    font-family: 'Be Vietnam Pro';
    flex: 1;
    overflow: hidden;
    background: #000229;
    padding: 15px 0;
}

/* Frame wrapper for rows */
.companies-list .frame-wrapper {
    width: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    padding: 0 15px 0 15px;
    box-sizing: border-box;
}

/* Row of badges */
.companies-list .frame-wrapper .frame-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    width: 100%;
}

/* Badge container */
.companies-list .frame-wrapper .frame-container {
    border-radius: 12px;
    background-color: rgba(230, 247, 253, 0.3);
    display: flex;
    align-items: center;
    width: fit-content;
    flex-shrink: 0;
}

.companies-list .frame-wrapper .frame-div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 25px;
}

.companies-list .frame-wrapper .acciona-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.companies-list .frame-wrapper .acciona {
    position: relative;
    line-height: 23px;
    font-size: 17px;
    color: #fff;
    font-weight: 500;
    font-family: 'Be Vietnam Pro';
    white-space: nowrap;
    margin: 0;
    text-align: center;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.company-badge {
    border-radius: 12px;
    background-color: rgba(230, 247, 253, 0.3);
    display: flex;
    align-items: center;
    padding: 12px 25px;
    font-size: 17px;
    color: #fff;
    font-weight: 500;
    font-family: 'Be Vietnam Pro';
    white-space: nowrap;
    line-height: 23px;
    width: fit-content;
    max-width: 300px;
    flex-shrink: 0;
    border: none;
    cursor: pointer;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ===== ALL DELEGATES SECTION ===== */

.all-delegates-section {
    width: calc(100% - 108px);
    padding: 0;
    box-sizing: border-box;
    margin: 45px 54px 0px 54px;
}

.all-delegates-section .container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.all-delegates-section .frame-parent {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0;
    box-sizing: border-box;
    gap: 0;
    text-align: left;
    font-size: 16px;
    color: #000229;
    font-family: 'Be Vietnam Pro';
}

.all-delegates-section .company-search-parent {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 25px 25px 0px 25px;
    gap: 12px;
    font-size: 28px;
}

.all-delegates-section .company-search {
    align-self: stretch;
    position: relative;
    font-size: 28px;
    display: inline-block;
    font-family: 'Be Vietnam Pro';
    color: #000229;
    text-align: left;
    font-weight: 600;
    margin: 0;
}

.all-delegates-section .frame-child {
    align-self: stretch;
    width: 100%;
    height: 1px;
    position: relative;
    background-color: rgba(0, 101, 164, 0.3);
    border: none;
    box-sizing: border-box;
    flex-shrink: 0;
}

.all-delegates-section .company-search-parent .frame-child {
    display: block;
    margin-bottom: 45px;
}

.all-delegates-section .frame-group {
    align-self: stretch;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 20px 25px;
    gap: 20px;
    background-color: #eeeeef;
    flex-wrap: wrap;
    overflow: visible;
}

.all-delegates-section .frame-wrapper.navmenu-row {
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.all-delegates-section .navmenu-parent {
    display: flex;
    align-items: center;
    gap: 25px;
}

.all-delegates-section .of-210-results-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: flex-end;
    margin-left: auto;
    margin-right: 25px;
    font-size: 14px;
    color: #545560;
    min-width: 220px;
}

.all-delegates-section .of-210-results-wrapper .close-parent-mobile {
    display: none;
}

.all-delegates-section #delegates-count {
    margin-left: 12px;
    text-align: right;
}

.all-delegates-section .navmenu {
    box-shadow: 0px 2px 4px rgba(21, 22, 25, 0.08);
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 16px 25px;
    gap: 32px;
    border-radius: 4px;
}

.all-delegates-section .company-expertise-parent {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
}

.all-delegates-section .company-expertise {
    position: relative;
    line-height: 24px;
    font-size: 14px;
    font-weight: 500;
    color: #000229;
}

.all-delegates-section .chevrondown-icon {
    height: 24px;
    width: 24px;
    position: relative;
    color: #545560;
}

.all-delegates-section .chevrondown-desktop {
    display: block;
}

.all-delegates-section .chevrondown-mobile {
    display: none;
}

.all-delegates-section .close-parent {
    display: flex;
    align-items: center;
    gap: 8px;
    text-align: right;
    font-size: 14px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.all-delegates-section .close-parent:hover {
    background-color: #f5f5f5;
}

.all-delegates-section .close-parent svg {
    width: 20px;
    height: 20px;
    color: #545560;
}

.all-delegates-section .remove-filters {
    position: relative;
    line-height: 20px;
    font-weight: 500;
    color: #545560;
}

.all-delegates-section .of-210-results-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    text-align: left;
    font-size: 14px;
    color: #545560;
}

.all-delegates-section .frame-container {
    align-self: stretch;
    display: flex;
    align-items: flex-start;
    padding: 0px 25px;
    text-align: center;
    font-size: 21px;
    color: #0065a4;
}

.all-delegates-grid {
    align-self: stretch;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(192.83px, 192.83px));
    align-items: start;
    justify-content: center;
    padding: 45px 25px;
    box-sizing: border-box;
    gap: 15px;
    background-color: #eeeeef;
    min-height: 1200px;
}

.all-delegates-section .frame-div {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.frame-parent2 {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.ml-parent {
    height: 100%;
    width: 100%;
    position: relative;
    border-radius: 12px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    box-sizing: border-box;
    text-align: center;
    font-size: 21px;
    color: #0065a4;
    font-family: 'Be Vietnam Pro';
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 80px;
    overflow: hidden;
}

.ml-parent .ml {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.ml-parent:hover {
    transform: translateY(-2px);
}

.ml-parent:focus {
    outline: 2px solid #0065a4;
    outline-offset: 2px;
}

.ml-wrapper {
    align-self: stretch;
    width: 192.8px;
    border-radius: 12px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
    box-sizing: border-box;
}

.ml {
    align-self: stretch;
    position: relative;
    line-height: 27px;
    font-weight: 600;
}

.frame-wrapper2 {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 0px 30px;
}

.frame-parent4 {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.aski-wrapper {
    align-self: stretch;
    width: 192.8px;
    border-radius: 12px;
    background-color: #e6f7fd;
    border: 2px solid #00b1ee;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px 10px;
}

.frame-parent6 {
    align-self: stretch;
    border-radius: 12px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    padding: 25px 25px 50px;
    gap: 25px;
    text-align: left;
}

.frame-item {
    width: 56px;
    height: 56px;
    border-radius: 12px;
}

.frame-parent7 {
    align-self: stretch;
    display: flex;
    align-items: flex-start;
    gap: 25px;
}

.frame-wrapper3 {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.frame-wrapper4 {
    align-self: stretch;
    display: flex;
    align-items: flex-start;
}

.frame-wrapper5 {
    flex: 1;
    border-radius: 12px;
    background-color: rgba(230, 247, 253, 0.5);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 25px;
}

.frame-parent8 {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 45px;
}

.frame-parent9 {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
}

.frame-parent10 {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.aski-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.linkedin-icon {
    height: 21px;
    width: 21px;
}

.frame-wrapper6 {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    font-size: 17px;
}

.frame-wrapper7 {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.company-expertise2 {
    position: relative;
    line-height: 23px;
    font-weight: 300;
}

.line-parent {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
    font-size: 17px;
}

.frame-parent11 {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.frame-wrapper8 {
    align-self: stretch;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-parent {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.text-button {
    display: flex;
    align-items: center;
    justify-content: center;
}

.united-kingdom {
    position: relative;
    line-height: 28px;
    font-weight: 300;
}

.frame-parent12 {
    flex: 1;
    border-radius: 12px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 25px;
    gap: 10px;
}

.director-of-innovation {
    position: relative;
    line-height: 27px;
    font-weight: 600;
}

.navmenu-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 0px 25px 0px 0px;
}

.navmenu2 {
    box-shadow: 0px 2px 4px rgba(21, 22, 25, 0.08);
    background-color: #fff;
    display: flex;
    align-items: center;
    padding: 10px 30px;
    gap: 32px;
}

.all-delegates-section .container {
    align-self: stretch;
    border-radius: 12px;
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    color: #0065a4;
}

/* Modal Styles */
.delegate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #545560;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #000229;
}

.modal-body {
    padding: 40px;
}

.delegate-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeef;
}

.delegate-detail-name {
    font-size: 28px;
    font-weight: 700;
    color: #0065A4;
    margin: 0;
    flex: 1;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #0A66C2;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background-color: #084399;
    transform: scale(1.1);
}

.delegate-detail-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #545560;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expertise-list,
.roles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expertise-item {
    padding: 12px;
    background-color: #f0f0f0;
    border-left: 3px solid #0065A4;
    border-radius: 4px;
    font-size: 14px;
    color: #000229;
}

.role-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.location-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.role-title {
    font-size: 14px;
    font-weight: 600;
    color: #0065A4;
}

.role-location {
    font-size: 13px;
    color: #545560;
    margin-top: 4px;
}

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

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

.navmenu-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 10px;
    gap: 16px;
    background-color: #fff;
    border-radius: 12px;
    width: auto;
    max-width: calc(100% - 90px);
    box-sizing: border-box;
    margin-top: 45px;
    margin-right: 45px;
    margin-bottom: 45px;
}

.pagination-scroll-container {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
}

.pagination-scroll-container::-webkit-scrollbar {
    height: 4px;
}

.pagination-scroll-container::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.pagination-scroll-container::-webkit-scrollbar-thumb {
    background: #0065a4;
    border-radius: 2px;
}

.navmenu2 {
    display: flex;
    gap: 8px;
    white-space: nowrap;
    align-items: center;
}

.pagination-btn {
    padding: 10px 16px;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Be Vietnam Pro';
    color: #000229;
    transition: all 0.3s ease;
    min-width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.pagination-btn:hover:not(:disabled) {
    border-color: #0065a4;
    color: #0065a4;
    background: #f5f5f5;
}

.pagination-btn:focus,
.pagination-btn:active {
    background: #0065a4;
    color: #fff;
    border-color: #0065a4;
}

.pagination-btn.active {
    background: #0065a4;
    color: white;
    border-color: #0065a4;
}

.pagination-btn.active:hover,
.pagination-btn.active:focus,
.pagination-btn.active:active {
    background: #0065a4;
    color: #fff;
    border-color: #0065a4;
}

.pagination-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ===== MODAL STYLES ===== */

.delegate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0px 8px 32px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #545560;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background-color: #f0f0f0;
    color: #000229;
}

.modal-body {
    padding: 40px;
}

.delegate-detail-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #eeeeef;
}

.delegate-detail-name {
    font-size: 28px;
    font-weight: 700;
    color: #0065A4;
    margin: 0;
    flex: 1;
}

.linkedin-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #0A66C2;
    border-radius: 4px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.linkedin-link:hover {
    background-color: #084399;
    transform: scale(1.1);
}

.delegate-detail-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.detail-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.section-title {
    font-size: 14px;
    font-weight: 600;
    color: #545560;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expertise-list,
.roles-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.expertise-item {
    padding: 12px;
    background-color: #f0f0f0;
    border-left: 3px solid #0065A4;
    border-radius: 4px;
    font-size: 14px;
    color: #000229;
}

.role-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.location-icon {
    font-size: 18px;
    flex-shrink: 0;
}

.role-title {
    font-size: 14px;
    font-weight: 600;
    color: #0065A4;
}

.role-location {
    font-size: 13px;
    color: #545560;
    margin-top: 4px;
}

/* ===== COMPANY DETAIL PANEL ===== */

.company-detail-panel {
    width: 100%;
    position: relative;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8fb 100%);
    display: flex;
    flex-direction: column;
    padding: 0;
    box-sizing: border-box;
    text-align: left;
    color: #0065a4;
    font-family: 'Be Vietnam Pro';
    grid-column: 1 / -1;
    margin-top: 20px;
}

/* Close button */
.detail-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    cursor: pointer;
    color: #0065a4;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: color 0.2s ease;
}

.detail-close-btn:hover {
    color: #004080;
}

.detail-close-btn svg {
    width: 24px;
    height: 24px;
}

/* Wrapper for content with padding */
.company-detail-panel .detail-wrapper {
    position: relative;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    box-sizing: border-box;
    width: 100%;
}

/* Left side: Company info */
.detail-left {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.company-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.detail-company-name {
    font-size: 28px;
    font-weight: 600;
    color: #0065a4;
    margin: 0;
}

.detail-linkedin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(0, 101, 164, 0.1);
    color: #0065a4;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    flex-shrink: 0;
}

.detail-linkedin:hover {
    background-color: #0065a4;
    color: #fff;
}

.linkedin-icon {
    width: 20px;
    height: 20px;
}

/* Company Expertise Section */
.company-expertise-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.expertise-label {
    font-size: 14px;
    font-weight: 600;
    color: #0065a4;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.expertise-divider {
    height: 1px;
    background-color: #d0d0d0;
}

/* Locations Section */
.locations-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid #d0d0d0;
}

.locations-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.location-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #0065a4;
}

.location-icon {
    width: 20px;
    height: 20px;
    color: #0065a4;
    flex-shrink: 0;
}

.location-text {
    color: #0065a4;
}

/* Right side: Roles */
.detail-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.roles-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.role-item {
    font-size: 16px;
    font-weight: 500;
    color: #0065a4;
    padding: 0;
    margin: 0;
    line-height: 1.4;
}

/* ===== MOBILE RESPONSIVE ===== */

@media (max-width: 1024px) {
    .all-delegates-grid {
        grid-template-columns: repeat(4, 1fr);
        min-height: 900px;
    }
}

@media (max-width: 768px) {
    /* Hide map section on tablet and mobile */
    .delegates-map-section {
        display: none;
    }

    /* Show mobile hero sections */
    .delegates-hero-section-mobile {
        display: block;
    }

    .delegates-hero-section-mobile-image {
        display: block;
    }

    .delegates-title-section {
        width: calc(100% - 40px);
        margin: 60px 20px 0px 20px;
    }

    .delegates-title {
        font-size: 36px;
        line-height: 44px;
    }

    .all-delegates-section {
        width: 100%;
        margin: 20px 0 0 0;
        padding: 0 16px;
        box-sizing: border-box;
        background-color: transparent;
        overflow: visible !important;
    }

    .all-delegates-section .company-search-parent {
        width: 100%;
        margin: 0;
        padding: 25px 0 16px;
        gap: 2px;
    }

    .all-delegates-section .company-search {
        font-size: 24px;
        line-height: 32px;
        margin-bottom: 16px;
    }

    .all-delegates-section .company-search-parent .frame-child {
        display: block;
        margin-bottom: 32px;
    }

    .all-delegates-section .frame-parent {
        gap: 0px;
        overflow: visible !important;
    }

    .all-delegates-section .frame-group {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 0px;
        gap: 0px;
        background-color: #eeeeef;
        flex-wrap: wrap;
        margin-top: 12px;
        border-radius: 0px;
        overflow: visible;
        position: relative;
    }

    .all-delegates-section .frame-wrapper {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 12px;
        flex-wrap: wrap;
        min-width: 0;
        background-color: transparent;
        padding: 16px 0;
        border-radius: 4px;
        width: 100%;
        margin-bottom: 16px;
        margin-left: 0;
        margin-right: 0;
        overflow: visible !important;
        position: relative;
        z-index: 10;
    }

    .all-delegates-section .navmenu-parent {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 12px;
        width: 100%;
        flex-wrap: nowrap;
        padding: 0px;
        padding-bottom: 100px;
        margin-bottom: -100px;
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        position: relative;
        z-index: 1;
    }

    .all-delegates-section .navmenu-parent .close-parent {
        display: none;
    }

    .navmenu {
        flex-wrap: nowrap;
        display: flex;
        gap: 12px;
        background-color: transparent;
        padding: 0px;
        box-shadow: none;
        border-radius: 0px;
        flex: 1;
        overflow: visible !important;
        align-items: center;
        min-width: 0;
        position: static;
    }

    .all-delegates-section .company-expertise-parent {
        display: flex;
        align-items: center;
        gap: 6px;
        flex-shrink: 0;
        overflow: visible !important;
        position: relative;
    }

    .all-delegates-section .company-expertise {
        font-size: 13px;
        white-space: nowrap;
    }

    .all-delegates-section .chevrondown-icon {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
    }

    .chevrondown-desktop {
        display: none;
    }

    .chevrondown-mobile {
        display: block;
    }

    .all-delegates-section .sort-dropdown-wrapper {
        position: relative;
        z-index: 9998;
    }

    .all-delegates-section .sort-dropdown-menu {
        position: absolute !important;
        top: calc(100% + 8px) !important;
        left: 0 !important;
        z-index: 9999 !important;
        background: white !important;
        border: 1px solid #ddd !important;
        border-radius: 4px !important;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
        min-width: 140px !important;
    }

    .search-parent {
        align-items: stretch;
    }

    .of-210-results-wrapper {
        font-size: 14px;
        color: #545560;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        margin-top: 0px;
        margin-left: 0;
        margin-right: 0;
        padding: 12px 16px;
        background-color: #eeeeef;
        gap: 0px;
        margin-bottom: 32px;
    }

    .all-delegates-section .of-210-results-wrapper .close-parent-mobile {
        display: flex !important;
        align-items: center;
        gap: 6px;
        padding: 0px;
        background-color: transparent;
        margin: 0;
        margin-right: 6px;
    }

    .all-delegates-section .of-210-results-wrapper .close-parent-mobile svg {
        width: 18px;
        height: 18px;
        color: #545560;
        flex-shrink: 0;
        margin: 0;
    }

    .all-delegates-section .of-210-results-wrapper .close-parent-mobile .remove-filters {
        font-size: 13px;
        font-weight: 500;
        color: #545560;
        line-height: 20px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .of-210-results-wrapper #delegates-count {
        text-align: right;
        margin-left: auto;
        font-size: 13px;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .all-delegates-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 0px 8px;
        align-items: start;
        margin-top: 0px;
        min-height: 800px;
    }

    .navmenu-wrapper {
        width: 100%;
        margin: 32px 0 25px 0;
        padding: 16px 0;
        box-sizing: border-box;
        justify-content: space-between;
        gap: 0;
        max-width: none;
        align-self: stretch;
        box-shadow: none;
        background: #ffffff;
        border-radius: 0;
        border: none;
    }

    .pagination-scroll-container {
        flex: 1;
        width: auto;
        justify-content: flex-start;
        margin: 0;
    }

    .navmenu2 {
        width: 100%;
        justify-content: flex-start;
        box-shadow: none;
        background: transparent;
        gap: 12px;
    }

    .pagination-btn {
        border: none;
        box-shadow: none;
        background: transparent;
        padding: 0;
        min-width: 48px;
        height: 48px;
        font-size: 18px;
        font-weight: 600;
    }

    /* Botones de navegación (prev/next) pegados a los bordes */
    .pagination-prev,
    .pagination-next {
        padding: 0 16px;
        font-size: 24px;
        min-width: 48px;
        height: 48px;
    }

    .pagination-btn:focus,
    .pagination-btn:active {
        border: none;
        background: #0065a4;
        color: #fff;
    }

    .pagination-btn.active {
        border: none;
        background: #0065a4;
        color: #fff;
    }

    .frame-item-wrapper {
        height: 48px;
    }

    .ml-parent {
        font-size: 14px;
    }

    .delegate-avatar {
        font-size: 20px;
    }

    .delegate-name {
        font-size: 14px;
    }

    .delegate-title {
        font-size: 14px;
    }

    .delegate-company {
        font-size: 14px;
    }

    .modal-content {
        width: 95%;
        max-height: 90vh;
    }

    .modal-body {
        padding: 24px;
    }

    .delegate-detail-name {
        font-size: 22px;
    }

    .company-detail-panel {
        margin-top: 15px;
    }

    .company-detail-panel .detail-wrapper {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 20px;
    }

    .detail-company-name {
        font-size: 22px;
    }

    .company-header {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .delegates-title-section {
        width: calc(100% - 20px);
        margin: 40px 10px 0px 10px;
    }

    .delegates-title {
        font-size: 28px;
        line-height: 36px;
    }

    .all-delegates-section {
        width: calc(100% - 32px);
        margin: 20px 16px 0px 16px;
        padding: 0px;
        box-sizing: border-box;
    }

    .all-delegates-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 12px 8px;
        align-items: start;
    }

    .frame-item-wrapper {
        height: 48px;
    }

    .ml-parent {
        font-size: 14px;
    }

    .delegate-avatar {
        font-size: 20px;
    }

    .delegate-name {
        font-size: 14px;
    }

    .delegate-title {
        font-size: 14px;
    }

    .delegate-company {
        font-size: 14px;
    }

    .navmenu {
        gap: 8px;
    }

    .company-expertise-parent {
        font-size: 11px;
        gap: 6px;
    }

    .company-expertise {
        font-size: 11px;
        white-space: nowrap;
    }
}

/* ========================================
   LARGE SCREEN ADJUSTMENTS (from DreamHost)
   Additional responsive styles for screens 1440px+
   ======================================== */

/* Base styles - apply to all screen sizes */
.company-search-parent {
	background-color: #eeeeef;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
}

.all-delegates-grid .ml-parent {
	max-height: 89px;
}

.all-delegates-grid {
	min-height: 265px!important;
}

.map-info-panel {
	width: 370px!important;
}

.all-delegates-section .frame-parent {
	background-color: #eeeeef;
	border-bottom-left-radius: 12px;
	border-bottom-right-radius: 12px;
}

.all-delegates-section .navmenu-wrapper{
	width: fit-content;
	margin-left: auto;
}

/* Large screens - 1440px */
@media(min-width: 1440px) {
	.delegates-map-section .map-header,
	.delegates-map-section .map-with-info,
	.all-delegates-section {
		max-width: 1440px!important;
	}
}

/* Extra large screens - 1441px */
@media(min-width: 1441px) {
	.delegates-map-section .map-header,
	.delegates-map-section .map-with-info{
		margin-left: 8vw!important;
	}
	.all-delegates-section {
		margin-left: 12vw!important;
	}
	.all-delegates-grid {
		padding-right: 5vw!important;
		grid-template-columns: repeat(auto-fill, minmax(192.83px, 200px))!important;
	}
	.all-delegates-section .navmenu-wrapper{
		margin-right: 5vw!important;
	}
}

/* Ultra wide screens - 2160px */
@media (min-width: 2160px) {
	.delegates-map-section .map-header,
	.delegates-map-section .map-with-info{
		margin-left: 12vw!important;
	}
	.all-delegates-section {
		margin-left: 15vw!important;
	}
}
