/* ======================================================
   EURAS THE HUB
   ASSOCIATES FRONT-END CSS

   Full file:
   /public_html_2/euras_the_hub/css/associates.css

   Prepared for: Tim Fischer
   Prepared by: Eva / ChatGPT
   Date: 2026-05-22
   Time: 08:35 AM

   Purpose:
   Dedicated public front-end styling for the Associate
   Members directory and associate profile presentation.

   Notes:
   - This file is for public associate pages only.
   - Do not use this file for admin panels.
   - Do not use this file for evaluator or encoder dashboards.
   - Shared framework CSS remains untouched.
   - Regular associate cards are compact and equal-height.
   - Featured associates are shown in a larger carousel block.
   - Regular cards do not use gray tag/button-style clutter.
   - Country/region text on regular cards is plain text.
====================================================== */


/* ======================================================
   ASSOCIATES PAGE WRAPPER
====================================================== */

.associate-directory-page {
    background: #f4f4f1;
    color: #151515;
    font-family: inherit;
}

.associate-wide-container {
    width: min(1600px, calc(100% - 72px));
    margin: 0 auto;
}


/* ======================================================
   ASSOCIATES HERO / INTRO AREA
====================================================== */

.associate-page-top {
    padding: 72px 0 34px;
    background:
        radial-gradient(circle at 74% 16%, rgba(120, 120, 120, 0.08), transparent 34%),
        linear-gradient(180deg, #f7f6f2 0%, #f4f4f1 100%);
}

.associate-hero-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 42px;
    align-items: start;
}

.associate-intro-panel {
    padding: 12px 0 0;
}

.associate-label {
    display: inline-block;
    color: #d97f00;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    margin-bottom: 14px;
}

.associate-intro-panel h1 {
    margin: 0 0 16px;
    font-size: clamp(44px, 5.2vw, 74px);
    line-height: 0.95;
    letter-spacing: -0.06em;
    color: #151515;
}

.associate-intro-panel p {
    max-width: 650px;
    margin: 0;
    color: #555555;
    font-size: 17px;
    line-height: 1.65;
}

.associate-stat-row {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.associate-stat-box {
    min-width: 170px;
    padding: 0 22px 0 0;
    border-right: 1px solid #d9d9d4;
}

.associate-stat-box:last-child {
    border-right: 0;
}

.associate-stat-box strong {
    display: block;
    font-size: 34px;
    line-height: 1;
    color: #151515;
    margin-bottom: 6px;
}

.associate-stat-box span {
    display: block;
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #444444;
}


/* ======================================================
   FEATURED ASSOCIATE / CAROUSEL AREA
====================================================== */

.associate-featured-shell {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #deded9;
    border-radius: 22px;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.055);
    overflow: hidden;
    min-height: 315px;
    position: relative;
    margin-top: 24px;
}

.associate-featured-slide {
    display: none;
    grid-template-columns: 230px 1fr;
    gap: 28px;
    align-items: center;
    padding: 28px;
}

.associate-featured-slide.active {
    display: grid;
}

.associate-featured-photo {
    width: 205px;
    height: 205px;
    border-radius: 50%;
    overflow: hidden;
    background: #e7e7e2;
    border: 8px solid #f4f4f1;
    justify-self: center;
}

.associate-featured-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.associate-featured-content h2 {
    margin: 0 0 12px;
    font-size: 12px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #d97f00;
}

.associate-featured-content h3 {
    margin: 0 0 8px;
    font-size: 34px;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: #151515;
}

.associate-featured-title {
    margin: 0 0 8px;
    color: #d97f00;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.4;
}

.associate-featured-company {
    margin: 0 0 14px;
    color: #666666;
    font-size: 14px;
    line-height: 1.45;
}

.associate-featured-text {
    max-width: 660px;
    margin: 0 0 16px;
    color: #444444;
    font-size: 15px;
    line-height: 1.65;
}

.associate-featured-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    min-width: 220px;
    border-radius: 11px;
    background: #f79d20;
    color: #151515;
    text-decoration: none;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.04em;
}

.associate-featured-controls {
    position: absolute;
    right: 26px;
    bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.associate-featured-dot {
    width: 10px;
    height: 10px;
    border: 0;
    border-radius: 50%;
    background: #d5d5d0;
    cursor: pointer;
    padding: 0;
}

.associate-featured-dot.active {
    background: #f79d20;
}

.associate-featured-arrow {
    width: 32px;
    height: 32px;
    border: 1px solid #dddddd;
    border-radius: 50%;
    background: #ffffff;
    color: #151515;
    cursor: pointer;
    font-weight: 900;
}


/* ======================================================
   FEATURED TAGS ONLY
====================================================== */

.associate-featured-content .associate-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    max-height: 76px;
    overflow: hidden;
}

.associate-featured-content .associate-tag {
    display: inline-flex;
    align-items: center;
    max-width: 230px;
    padding: 5px 9px;
    border: 1px solid rgba(247, 157, 32, 0.28);
    border-radius: 999px;
    background: #fff6e8;
    color: #d97f00;
    font-size: 11px;
    font-weight: 900;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


/* ======================================================
   ASSOCIATES SEARCH AND FILTER AREA
====================================================== */

.associate-filter-section {
    padding: 18px 0 18px;
    background: #f4f4f1;
}

.associate-search-bar {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #deded9;
    border-radius: 16px;
    padding: 14px;
    display: grid;
    grid-template-columns: 1.6fr 0.8fr 0.8fr auto auto;
    gap: 10px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.045);
}

.associate-search-bar input,
.associate-search-bar select {
    width: 100%;
    min-height: 44px;
    border: 1px solid #dddddd;
    border-radius: 9px;
    padding: 0 12px;
    background: #ffffff;
    color: #151515;
    font-size: 13px;
    font-family: inherit;
}

.associate-search-button,
.associate-reset-button {
    min-height: 44px;
    border-radius: 9px;
    padding: 0 18px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
}

.associate-search-button {
    border: 0;
    background: #333333;
    color: #ffffff;
}

.associate-reset-button {
    background: #ffffff;
    border: 1px solid #dddddd;
    color: #151515;
}


/* ======================================================
   ASSOCIATES DIRECTORY GRID
====================================================== */

.associate-directory-body {
    padding: 16px 0 74px;
    background: #f4f4f1;
}

.associate-directory-topline {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 18px;
    color: #555555;
    font-size: 13px;
}

.associate-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}


/* ======================================================
   ASSOCIATE CARD DESIGN
====================================================== */

.associate-profile-card {
    height: 228px;
    background: #ffffff;
    border: 1px solid #e2e2de;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.045);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.associate-profile-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.075);
}

.associate-card-main {
    display: grid;
    grid-template-columns: 82px 1fr;
    gap: 16px;
    align-items: start;
    margin-bottom: 10px;
}

.associate-card-photo {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    overflow: hidden;
    background: #e7e7e2;
    border: 4px solid #f4f4f1;
}

.associate-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.associate-card-info h3 {
    margin: 0 0 5px;
    font-size: 20px;
    letter-spacing: -0.03em;
    color: #151515;
}

.associate-title {
    margin: 0 0 5px;
    color: #d97f00;
    font-size: 13px;
    font-weight: 800;
    line-height: 1.35;
}

.associate-company {
    margin: 0;
    color: #666666;
    font-size: 12px;
    line-height: 1.4;
}

.associate-country {
    display: block;
    margin-top: 5px;
    padding: 0;
    background: transparent;
    border-radius: 0;
    color: #777777;
    font-size: 12px;
    font-weight: 500;
}

.associate-bio {
    margin: 0 0 10px;
    color: #555555;
    font-size: 13px;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
}

/* Hide regular card tags completely. They are still available for search data. */
.associate-card-tags {
    display: none;
}

.associate-card-footer {
    margin-top: auto;
}

.associate-profile-link {
    display: inline-flex;
    color: #d97f00;
    text-decoration: none;
    font-weight: 900;
    font-size: 12px;
}

.associate-empty-card {
    background: #ffffff;
    border: 1px solid #e2e2de;
    border-left: 6px solid #f79d20;
    border-radius: 18px;
    padding: 24px;
}

.associate-empty-card h3 {
    margin-top: 0;
    color: #151515;
}

.associate-empty-card p {
    margin-bottom: 0;
    color: #555555;
    line-height: 1.6;
}


/* ======================================================
   ASSOCIATE DETAIL PROFILE PAGE
====================================================== */


/* Reserved for individual associate profile page styling. */


/* ======================================================
   RESPONSIVE RULES
====================================================== */

@media (max-width: 1280px) {
    .associate-hero-layout {
        grid-template-columns: 1fr;
    }

    .associate-featured-shell {
        margin-top: 0;
    }

    .associate-featured-slide {
        grid-template-columns: 220px 1fr;
    }

    .associate-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .associate-search-bar {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .associate-wide-container {
        width: min(100% - 32px, 1600px);
    }

    .associate-page-top {
        padding: 42px 0 24px;
    }

    .associate-featured-slide {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .associate-featured-photo {
        justify-self: start;
        width: 170px;
        height: 170px;
    }

    .associate-search-bar {
        grid-template-columns: 1fr;
    }

    .associate-card-grid {
        grid-template-columns: 1fr;
    }

    .associate-profile-card {
        height: auto;
        min-height: 228px;
    }

    .associate-directory-topline {
        display: block;
    }

    .associate-directory-topline div + div {
        margin-top: 8px;
    }
}