/* =====================================================
   SINGLE COMPANY PAGE – UNIFIED (NO DUPLICATE MOBILE)
===================================================== */

/* =====================================================
   HERO SECTION
===================================================== */

.single-site-hero {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 3rem 2rem;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.company-hero-panel {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    width: 100%;
}

.company-hero-panel-inner {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;

    padding: 1.25rem;
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    border: 1px solid rgba(255, 255, 255, 0.16);
}

/* White hero card */
.company-hero-wrap {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1rem;

    width: 100%;
    padding: 1rem 1.25rem;

    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(35, 50, 100, 0.15);
}


/* =====================================================
   HERO LOGO
===================================================== */

.company-hero-logo {
    width: 220px;
    height: 120px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.company-hero-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}


/* =====================================================
   HERO TITLE + CATEGORIES
===================================================== */

.company-hero-title {
    text-align: center;
}

.company-hero-title h1 {
    margin: 0;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.2;
    color: #233264;
}

.company-category-list {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.company-category-badge {
    font-size: 0.75rem;
    font-weight: 600;

    padding: 0.3rem 0.7rem;
    border-radius: 999px;

    background: rgba(35, 50, 100, 0.1);
    border: 1px solid rgba(35, 50, 100, 0.25);

    color: #233264;
    text-decoration: none;
}



.company-member-icon{
    width:150px;
    height:100px;
    object-fit:contain;
}


/* =====================================================
   HERO ACTION ICONS
===================================================== */



.hero-icon-btn {
    width: 36px;
    height: 36px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    text-decoration: none;

    background: #233264;
    border: 1px solid #233264;
    color: #fff;

    font-size: 0.95rem;

    transition: background 0.2s ease,
                transform 0.15s ease,
                box-shadow 0.15s ease;
}

.hero-icon-btn:hover {
    background: rgba(35, 50, 100, 0.85);
    box-shadow: 0 6px 16px rgba(35, 50, 100, 0.35);
}

.hero-icon-btn:active {
    transform: scale(0.92);
}
.company-hero-actions{
    display:flex;
    flex-direction:column;
    align-items:flex-end;

    
    align-self:stretch;   /* VERY IMPORTANT inside grid */
}

.company-hero-actions .hero-icon-btn-wrapper{
    display:flex;
    gap:10px;
}

.company-member-icon{
    width:150px;
    height:auto;
    object-fit:contain;

    margin-top:auto;      /* pushes image to bottom */
}

/* =====================================================
   CONTENT SECTION
===================================================== */

.company-content-section {
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
    background: #1f2a44;
}

.company-content-panel {
    max-width: 1280px;
    width: 100%;
}

.company-content-panel .company-hero-panel-inner {
    background: #fff;
    border-radius: 18px;
    padding: 3.5rem;
}

.company-main-content {
    max-width: 760px;
}

.company-description {
    font-size: 1rem;
    line-height: 1.7;
    color: #233264;
}

.company-description a {
    color: #233264;
    text-decoration: underline;
}


/* =====================================================
   IMAGE GRID
===================================================== */

.company-image-grid {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
}

.company-image-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
}


/* =====================================================
   INFO SECTION
===================================================== */

.company-info-bottom {
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(35, 50, 100, 0.15);

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
}

.company-info-block h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    color: #233264;
}

.company-info-block p,
.company-info-block a {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #233264;
    text-decoration: none;
}

.company-info-block i {
    margin-right: 8px;
    color: #233264;
}


/* =====================================================
   LAST UPDATED
===================================================== */

.company-last-updated {
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(35, 50, 100, 0.15);

    font-size: 0.85rem;
    color: rgba(35, 50, 100, 0.75);

    display: flex;
    align-items: center;
    gap: 6px;
}

.company-last-updated-date {
    opacity: 0.6;
    font-size: 0.8rem;
}

.company-member-badge{
    height:38px;
    margin-left:10px;
    vertical-align:middle;
}




/* =====================================================
   RESPONSIVE (MOBILE)
===================================================== */

@media (max-width: 768px) {

    .single-site-hero {
        padding: 2rem 1rem;
    }

    .company-hero-wrap {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .company-hero-logo {
        margin: 0 auto;
        width: 180px;
        height: 100px;
    }

    .company-hero-actions {
        align-items: center;
    }

    .company-content-section {
        padding: 2rem 1rem;
    }

    .company-content-panel .company-hero-panel-inner {
        padding: 2rem 1.25rem;
    }

    .company-info-bottom {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

     .company-image-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .company-member-icon{

    width: 100px;
    height: auto;
    object-fit: contain;
    margin-top: 20px;
}



    }

