/* Migrated from companies/templates/companies/company_page.html */

/* Migrated Company detail block 1 */
/*
     * Company profile summary card.
     * Public-facing company overview near the top of profile pages.
     */

    .syg-company-summary-card {
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 22px;
        background:
            radial-gradient(circle at top left, rgba(14, 165, 233, 0.08), transparent 32%),
            #ffffff;
        box-shadow: 0 14px 34px rgba(15, 23, 42, 0.055);
        overflow: hidden;
    }

    .syg-company-summary-logo {
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 18px;
        background: #ffffff;
        min-height: 150px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 1rem;
    }

    .syg-company-summary-logo img {
        max-height: 130px;
        width: auto;
        object-fit: contain;
    }

    .syg-company-summary-placeholder {
        width: 100%;
        min-height: 150px;
        border-radius: 18px;
        background:
            radial-gradient(circle at top left, rgba(14, 165, 233, 0.12), transparent 36%),
            linear-gradient(135deg, #f8fafc, #eef7ff);
        display: flex;
        align-items: center;
        justify-content: center;
        color: #0b3a5b;
        font-weight: 800;
        text-align: center;
        padding: 1rem;
    }

    .syg-company-summary-facts {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .syg-company-summary-fact {
        border: 1px solid rgba(15, 23, 42, 0.06);
        border-radius: 14px;
        background: rgba(248, 250, 252, 0.72);
        padding: 0.75rem;
    }

    .syg-company-summary-fact dt {
        color: #64748b;
        font-size: 0.78rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.06em;
        margin-bottom: 0.25rem;
    }

    .syg-company-summary-fact dd {
        color: #172033;
        margin-bottom: 0;
        font-weight: 600;
    }

    .syg-company-summary-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    @media (max-width: 767.98px) {
        .syg-company-summary-facts {
            grid-template-columns: 1fr;
        }
    }

/* Migrated Company detail block 2 */
/*
     * Company profile listing status card.
     * Adds a clear trust/status panel without changing model data.
     */

    .syg-company-status-card {
        border: 1px solid rgba(15, 23, 42, 0.08);
        border-radius: 20px;
        background:
            radial-gradient(circle at top left, rgba(14, 165, 233, 0.08), transparent 32%),
            #ffffff;
        box-shadow: 0 12px 32px rgba(15, 23, 42, 0.055);
    }

    .syg-company-status-card h2 {
        color: #0b3a5b;
    }

    .syg-company-status-list {
        margin: 0;
    }

    .syg-company-status-list div {
        display: flex;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.55rem 0;
        border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    }

    .syg-company-status-list div:last-child {
        border-bottom: 0;
    }

    .syg-company-status-list dt {
        color: #64748b;
        font-size: 0.88rem;
        font-weight: 600;
    }

    .syg-company-status-list dd {
        color: #172033;
        font-size: 0.88rem;
        margin-bottom: 0;
        text-align: right;
        font-weight: 600;
    }

    .syg-company-status-note {
        color: #64748b;
        font-size: 0.86rem;
        line-height: 1.5;
    }

    .syg-company-status-actions .btn {
        border-radius: 999px;
        font-weight: 600;
    }

/* Migrated Company detail block 3 */
/*
     * Company profile width alignment.
     * Matches company detail hero/content widths to homepage section widths.
     * Width only: no colours, buttons, text, cards or content changed.
     */

    .syg-detail-hero .container,
    .syg-listing-hero > .container,
    body .container.my-5 {
        max-width: 1440px !important;
        width: 96% !important;
    }

/* Migrated Company detail block 4 */
.syg-company-commercial-cta .syg-company-commercial-panel {
            border: 1px solid rgba(16, 44, 70, 0.12);
            border-radius: 1.25rem;
            background: linear-gradient(135deg, #f2f8fc 0%, #ffffff 68%, #eef5f9 100%);
            box-shadow: 0 1rem 2.5rem rgba(10, 35, 55, 0.07);
            padding: clamp(1.25rem, 3vw, 2rem);
        }

        .syg-company-commercial-cta .syg-company-commercial-eyebrow {
            display: inline-flex;
            padding: 0.25rem 0.65rem;
            border-radius: 999px;
            background: #eaf7d8;
            color: #405f12;
            border: 1px solid rgba(64, 95, 18, 0.12);
            font-size: 0.78rem;
            font-weight: 800;
            letter-spacing: 0.05em;
            text-transform: uppercase;
            margin-bottom: 0.75rem;
        }

        .syg-company-commercial-cta .syg-company-commercial-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.65rem;
            margin-top: 1rem;
        }

        .syg-company-commercial-cta .btn {
            font-weight: 800;
        }

/* ==========================================================
   SUPERYACHT GUIDE — COMPANY PROFILE COMPONENTS
   Clean design-system alignment
   ========================================================== */

.syg-company-profile-eyebrow {
    color: var(--syg-gold-dark) !important;
    font-size: .78rem !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
}

.syg-company-profile-title {
    margin-bottom: .75rem !important;
    color: var(--syg-navy) !important;
    font-size: clamp(2.2rem, 3vw, 3rem) !important;
    line-height: 1.16 !important;
    font-weight: 600 !important;
    letter-spacing: -.03em !important;
}

.syg-company-summary-card,
.syg-company-status-card,
.syg-company-commercial-panel {
    border: 1px solid var(--syg-border) !important;
    border-radius: var(--syg-radius) !important;
    background: var(--syg-white) !important;
    box-shadow: none !important;
}

.syg-company-summary-fact {
    border-color: var(--syg-border-soft);
}

.syg-company-summary-placeholder,
.syg-company-status-note {
    color: var(--syg-text-secondary);
}

.syg-company-commercial-panel {
    background: var(--syg-surface-subtle) !important;
}

.syg-company-summary-actions .btn,
.syg-company-status-actions .btn,
.syg-company-commercial-actions .btn {
    border-radius: var(--syg-radius-small);
}
