/* Migrated from core/templates/core/largest_superyachts_page.html */

/* Original intelligence component CSS */
.syg-intelligence-report-panel {
        border-radius: 1.5rem;
        background:
            radial-gradient(circle at top right, rgba(14, 116, 144, .13), transparent 32%),
            linear-gradient(135deg, #f8fafc 0%, #eef6f9 100%);
        border: 1px solid rgba(15, 23, 42, .08);
        box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .syg-intelligence-report-panel h2 {
        color: #0b3a5b;
        font-weight: 800;
        letter-spacing: -0.025em;
    }

    .syg-intelligence-kpi-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
        margin: 1.25rem 0;
    }

    @media (min-width: 992px) {
        .syg-intelligence-kpi-grid {
            grid-template-columns: repeat(3, minmax(0, 1fr));
        }
    }

    .syg-intelligence-kpi {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 1rem;
        padding: 1rem;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .04);
    }

    .syg-intelligence-kpi-label {
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .08em;
        color: #64748b;
        margin-bottom: .25rem;
    }

    .syg-intelligence-kpi-value {
        font-size: 1.35rem;
        font-weight: 800;
        color: #0b3a5b;
        line-height: 1.15;
    }

    .syg-company-description table,
    .syg-company-description .table {
        border-radius: 1rem;
        overflow: hidden;
        box-shadow: 0 8px 28px rgba(15, 23, 42, .04);
    }

    .syg-company-description thead th,
    .syg-company-description .table thead th {
        background: #0b3a5b;
        color: #ffffff;
        border-color: rgba(255,255,255,.18);
        font-weight: 700;
    }

    .syg-company-description tbody tr:hover {
        background: rgba(14, 116, 144, .06);
    }

    .syg-intelligence-bar-chart {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 1.25rem;
        padding: 1.25rem;
        margin: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    }

    .syg-intelligence-bar-row {
        display: grid;
        grid-template-columns: 92px 1fr 72px;
        align-items: center;
        gap: .75rem;
        margin-bottom: .7rem;
    }

    .syg-intelligence-bar-label {
        font-size: .82rem;
        font-weight: 700;
        color: #334155;
    }

    .syg-intelligence-bar-track {
        height: 14px;
        background: #e2e8f0;
        border-radius: 999px;
        overflow: hidden;
    }

    .syg-intelligence-bar-fill {
        height: 100%;
        background: linear-gradient(90deg, #0b3a5b, #0e7490);
        border-radius: 999px;
    }

    .syg-intelligence-bar-value {
        text-align: right;
        font-size: .82rem;
        font-weight: 800;
        color: #0b3a5b;
    }

    .syg-intelligence-chart-note {
        font-size: .78rem;
        color: #64748b;
        margin-top: .75rem;
        margin-bottom: 0;
    }


    .syg-intelligence-age-chart {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 1.25rem;
        padding: 1.25rem;
        margin: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    }


    .syg-intelligence-financial-chart {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 1.25rem;
        padding: 1.25rem;
        margin: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    }

    .syg-intelligence-financial-bar-fill {
        height: 100%;
        background: linear-gradient(90deg, #92400e, #0e7490);
        border-radius: 999px;
    }


    .syg-intelligence-builder-financial-chart {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 1.25rem;
        padding: 1.25rem;
        margin: 1.5rem 0;
        box-shadow: 0 10px 30px rgba(15, 23, 42, .05);
    }

    .syg-intelligence-builder-financial-chart .syg-intelligence-bar-row {
        grid-template-columns: 150px 1fr 88px;
    }

    .syg-role-page-hero {
        background:
            radial-gradient(circle at top right, rgba(180, 83, 9, .16), transparent 34%),
            radial-gradient(circle at bottom left, rgba(14, 116, 144, .18), transparent 36%),
            linear-gradient(135deg, #f8fafc 0%, #eef6f9 52%, #ffffff 100%);
        border-bottom: 1px solid rgba(15, 23, 42, .08);
    }

    .syg-role-page-wrap {
        margin-top: 3rem !important;
        margin-bottom: 3rem !important;
    }

    .syg-role-page-wrap .syg-company-description {
        background: #ffffff;
        border: 1px solid rgba(15, 23, 42, .08);
        border-radius: 1.5rem;
        padding: 2rem;
        box-shadow: 0 18px 45px rgba(15, 23, 42, .06);
    }

    .syg-role-page-wrap .syg-company-description h2 {
        color: #0b3a5b;
        font-weight: 800;
        letter-spacing: -0.025em;
        margin-top: 1.75rem;
        margin-bottom: .75rem;
    }

    .syg-role-page-wrap .syg-company-description h2:first-child {
        margin-top: 0;
    }

    .syg-role-page-wrap .syg-company-description p {
        color: #475569;
        font-size: 1.02rem;
        line-height: 1.7;
    }

    .syg-role-page-wrap .syg-company-description ul {
        display: grid;
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: .75rem;
        list-style: none;
        padding-left: 0;
        margin: 1.25rem 0 1.75rem;
    }

    @media (min-width: 768px) {
        .syg-role-page-wrap .syg-company-description ul {
            grid-template-columns: repeat(2, minmax(0, 1fr));
        }
    }

    .syg-role-page-wrap .syg-company-description li {
        margin: 0;
    }

    .syg-role-page-wrap .syg-company-description li a {
        display: block;
        height: 100%;
        padding: .95rem 1rem;
        border-radius: 1rem;
        background: #f8fafc;
        border: 1px solid rgba(15, 23, 42, .08);
        color: #0b3a5b;
        font-weight: 700;
        text-decoration: none;
        transition: all .18s ease;
    }

    .syg-role-page-wrap .syg-company-description li a:hover {
        background: #eef6f9;
        border-color: rgba(14, 116, 144, .28);
        transform: translateY(-1px);
    }

    .syg-role-page-wrap .syg-company-description p:last-child {
        display: flex;
        flex-wrap: wrap;
        gap: .75rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(15, 23, 42, .08);
    }

    .syg-role-page-wrap .syg-company-description .btn {
        border-radius: 999px;
        padding: .7rem 1.1rem;
        font-weight: 700;
    }

/* Original Largest editorial hero CSS */
/*
         * Largest Superyachts editorial hero.
         * Based directly on the live Superyacht Guide
         * homepage editorial hero treatment.
         */

        .syg-editorial-hero.syg-largest-editorial-hero {
            --syg-hero-accent: #73baff;
            --syg-hero-text: #ffffff;
            --syg-hero-muted: rgba(236,245,253,0.88);

            position: relative;
            isolation: isolate;

            width: 100%;

            min-height:
                clamp(
                    750px,
                    calc(100vh - 68px),
                    920px
                );

            display: flex;
            align-items: stretch;

            overflow: hidden;

            color: var(--syg-hero-text);

            background-color: #06182a;

            background-image:
                var(--syg-hero-yacht-image);

            background-repeat: no-repeat;
            background-position: center center;
            background-size: cover;
        }


        .syg-editorial-hero.syg-largest-editorial-hero::before {
            content: none;

            position: absolute;
            inset: 0;

            z-index: -2;

            background:
                linear-gradient(
                    90deg,
                    rgba(2,16,30,0.98) 0%,
                    rgba(3,20,37,0.92) 24%,
                    rgba(3,20,37,0.66) 43%,
                    rgba(3,20,37,0.18) 66%,
                    rgba(3,20,37,0.04) 100%
                );
        }


        .syg-editorial-hero.syg-largest-editorial-hero::after {
            content: none;

            position: absolute;
            inset: auto 0 0;

            height: 42%;

            z-index: -1;
            pointer-events: none;

            background:
                linear-gradient(
                    180deg,
                    rgba(2,14,27,0) 0%,
                    rgba(2,14,27,0.48) 45%,
                    rgba(2,14,27,0.92) 100%
                );
        }


        .syg-largest-editorial-hero
        .syg-editorial-hero__container {
            width:
                min(
                    calc(100% - 40px),
                    1520px
                );

            min-height: inherit;

            margin-inline: auto;

            padding-top:
                clamp(
                    62px,
                    6.8vh,
                    98px
                );

            padding-bottom: 40px;

            display: flex;
            align-items: center;
        }


        .syg-largest-editorial-hero
        .syg-editorial-hero__content {
            width:
                min(
                    100%,
                    880px
                );
        }


        .syg-largest-editorial-hero
        .syg-editorial-hero__eyebrow {
            width:
                min(
                    100%,
                    610px
                );

            margin: 0 0 31px;

            padding-left: 26px;

            border-left:
                3px solid
                var(--syg-hero-accent);

            color: #9fd0ff;

            font-size:
                clamp(
                    0.78rem,
                    1vw,
                    1.02rem
                );

            font-weight: 600;
            line-height: 1.55;
            letter-spacing: 0.14em;
            text-transform: uppercase;
            text-wrap: balance;
        }


        .syg-largest-editorial-hero
        .syg-editorial-hero__title {
            max-width: 920px;
            margin: 0;

            color: #ffffff;

            font-family:
                Georgia,
                "Times New Roman",
                serif;

            font-size:
                clamp(
                    3.375rem,
                    6vw,
                    6.3rem
                );

            font-weight: 400;
            line-height: 0.9;
            letter-spacing: -0.055em;

            text-wrap: balance;

            text-shadow:
                0 3px 25px
                rgba(0,0,0,0.24);
        }


        .syg-largest-editorial-hero
        .syg-editorial-hero__rule {
            width: 70px;
            height: 2px;

            margin:
                29px
                0
                24px;

            border: 0;
            opacity: 1;

            background:
                var(--syg-hero-accent);
        }


        .syg-largest-editorial-hero
        .syg-editorial-hero__description {
            max-width: 700px;
            margin: 0;

            color:
                var(--syg-hero-muted);

            font-size:
                clamp(
                    1rem,
                    1.35vw,
                    1.22rem
                );

            line-height: 1.55;

            text-shadow:
                0 2px 12px
                rgba(0,0,0,0.28);
        }


        @media (min-width: 901px) and (max-height: 850px) {

            .syg-editorial-hero.syg-largest-editorial-hero {
                min-height:
                    calc(
                        100vh - 64px
                    );
            }

        }


        @media (max-width: 900px) {

            .syg-editorial-hero.syg-largest-editorial-hero {
                min-height: 680px;

                background-position:
                    64% center;
            }


            .syg-editorial-hero.syg-largest-editorial-hero::before {
                background:
                    linear-gradient(
                        90deg,
                        rgba(2,16,30,0.96) 0%,
                        rgba(3,20,37,0.86) 48%,
                        rgba(3,20,37,0.34) 100%
                    );
            }


            .syg-largest-editorial-hero
            .syg-editorial-hero__container {
                width:
                    min(
                        calc(100% - 28px),
                        1520px
                    );

                padding-top: 62px;
            }


            .syg-largest-editorial-hero
            .syg-editorial-hero__title {
                font-size:
                    clamp(
                        3.5rem,
                        13vw,
                        6rem
                    );
            }

        }


        @media (max-width: 650px) {

            .syg-editorial-hero.syg-largest-editorial-hero {
                min-height: 620px;

                background-position:
                    68% center;
            }


            .syg-editorial-hero.syg-largest-editorial-hero::before {
                background:
                    linear-gradient(
                        180deg,
                        rgba(2,16,30,0.88) 0%,
                        rgba(2,16,30,0.76) 54%,
                        rgba(2,16,30,0.94) 100%
                    );
            }


            .syg-largest-editorial-hero
            .syg-editorial-hero__container {
                width:
                    min(
                        calc(100% - 22px),
                        1520px
                    );

                padding-top: 45px;
                padding-bottom: 30px;
            }


            .syg-largest-editorial-hero
            .syg-editorial-hero__eyebrow {
                margin-bottom: 25px;
                padding-left: 16px;
                font-size: 0.72rem;
            }


            .syg-largest-editorial-hero
            .syg-editorial-hero__title {
                max-width: 100%;

                font-size:
                    clamp(
                        3rem,
                        15vw,
                        5.2rem
                    );

                line-height: 0.91;
            }


            .syg-largest-editorial-hero
            .syg-editorial-hero__description {
                font-size: 0.98rem;
            }

        }

/* Static intelligence width classes */
.syg-largest-intelligence-width-1-2 { width: 1.2%; }
.syg-largest-intelligence-width-2-7 { width: 2.7%; }
.syg-largest-intelligence-width-2-9 { width: 2.9%; }
.syg-largest-intelligence-width-5-0 { width: 5.0%; }
.syg-largest-intelligence-width-8-9 { width: 8.9%; }
.syg-largest-intelligence-width-13-7 { width: 13.7%; }
.syg-largest-intelligence-width-15-6 { width: 15.6%; }
.syg-largest-intelligence-width-19 { width: 19%; }
.syg-largest-intelligence-width-20 { width: 20%; }
.syg-largest-intelligence-width-22 { width: 22%; }
.syg-largest-intelligence-width-23 { width: 23%; }
.syg-largest-intelligence-width-23-1 { width: 23.1%; }
.syg-largest-intelligence-width-31 { width: 31%; }
.syg-largest-intelligence-width-34 { width: 34%; }
.syg-largest-intelligence-width-38 { width: 38%; }
.syg-largest-intelligence-width-39-0 { width: 39.0%; }
.syg-largest-intelligence-width-39 { width: 39%; }
.syg-largest-intelligence-width-39-2 { width: 39.2%; }
.syg-largest-intelligence-width-40-2 { width: 40.2%; }
.syg-largest-intelligence-width-47-6 { width: 47.6%; }
.syg-largest-intelligence-width-49 { width: 49%; }
.syg-largest-intelligence-width-54-2 { width: 54.2%; }
.syg-largest-intelligence-width-60-0 { width: 60.0%; }
.syg-largest-intelligence-width-60-6 { width: 60.6%; }
.syg-largest-intelligence-width-69-4 { width: 69.4%; }
.syg-largest-intelligence-width-77-9 { width: 77.9%; }
.syg-largest-intelligence-width-83-5 { width: 83.5%; }
.syg-largest-intelligence-width-85-1 { width: 85.1%; }
.syg-largest-intelligence-width-89-4 { width: 89.4%; }
.syg-largest-intelligence-width-90-8 { width: 90.8%; }
.syg-largest-intelligence-width-97 { width: 97%; }
.syg-largest-intelligence-width-99-9 { width: 99.9%; }
.syg-largest-intelligence-width-100 { width: 100%; }

/* ==========================================================
   SUPERYACHT GUIDE — LARGEST SUPERYACHTS
   Clean design-system alignment
   ========================================================== */

.syg-largest-page-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-largest-page-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-largest-page-lead {
    margin-bottom: 0 !important;
    color: var(--syg-text-secondary) !important;
    font-size: clamp(1.08rem, 1.35vw, 1.25rem) !important;
    line-height: 1.62 !important;
    font-weight: 400 !important;
}

.syg-largest-intelligence-static-panel,
.syg-intelligence-report-panel,
.syg-intelligence-kpi,
.syg-intelligence-bar-chart,
.syg-intelligence-age-chart,
.syg-intelligence-financial-chart,
.syg-intelligence-builder-financial-chart {
    border-color: var(--syg-border) !important;
    border-radius: var(--syg-radius) !important;
    box-shadow: none !important;
}

.syg-largest-intelligence-static-panel {
    border: 1px solid var(--syg-border);
    background: var(--syg-surface-soft);
}

.syg-intelligence-report-panel,
.syg-intelligence-kpi {
    background: var(--syg-white);
}

.syg-intelligence-kpi-label,
.syg-intelligence-bar-label,
.syg-intelligence-bar-value,
.syg-intelligence-chart-note {
    color: var(--syg-text-secondary);
}

.syg-intelligence-kpi-value {
    color: var(--syg-navy);
    font-weight: 600;
}

.syg-intelligence-bar-track {
    background: var(--syg-surface-soft);
}

.syg-intelligence-bar-fill,
.syg-intelligence-financial-bar-fill {
    background: var(--syg-navy);
}

.syg-largest-intelligence-dark-panel {
    border: 1px solid var(--syg-navy);
    border-radius: var(--syg-radius) !important;
    background: var(--syg-navy);
    color: var(--syg-white);
    box-shadow: none !important;
}

.syg-largest-intelligence-dark-eyebrow {
    color: rgba(255,255,255,.72) !important;
    font-size: .78rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: .12em;
}

.syg-largest-intelligence-dark-copy {
    color: rgba(255,255,255,.86) !important;
}

.syg-largest-editorial-hero,
.syg-largest-editorial-hero * {
    font-family: var(--syg-font);
}

.syg-largest-editorial-hero .syg-editorial-hero__eyebrow {
    color: var(--syg-gold);
    font-weight: 600;
    letter-spacing: .1em;
}

.syg-largest-editorial-hero .syg-editorial-hero__title {
    font-family: var(--syg-font);
    font-weight: 600;
    letter-spacing: -.04em;
}

.syg-largest-editorial-hero .syg-editorial-hero__rule {
    background: var(--syg-gold);
}
