.elementor-4567 .elementor-element.elementor-element-47cd407b{--display:flex;}.elementor-widget-global{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-size:var( --e-global-typography-secondary-font-size );font-weight:var( --e-global-typography-secondary-font-weight );text-transform:var( --e-global-typography-secondary-text-transform );font-style:var( --e-global-typography-secondary-font-style );text-decoration:var( --e-global-typography-secondary-text-decoration );line-height:var( --e-global-typography-secondary-line-height );}.elementor-4567 .elementor-element.elementor-global-3697{width:var( --container-widget-width, 45% );max-width:45%;margin:-90px 0px calc(var(--kit-widget-spacing, 0px) + 60px) 32px;--container-widget-width:45%;--container-widget-flex-grow:0;z-index:10;font-family:"Poppins", Sans-serif;font-size:40px;font-weight:300;text-transform:none;font-style:normal;line-height:1em;color:#FFFFFF;}.elementor-4567 .elementor-element.elementor-global-3697 a{color:#FFFFFF;}.elementor-4567 .elementor-element.elementor-global-3697 a:hover{color:#D7E9F8;}.elementor-widget-global .elementor-icon-list-item:not(:last-child):after{border-color:var( --e-global-color-text );}.elementor-widget-global .elementor-icon-list-icon i{color:var( --e-global-color-primary );}.elementor-widget-global .elementor-icon-list-icon svg{fill:var( --e-global-color-primary );}.elementor-widget-global .elementor-icon-list-text, .elementor-widget-global .elementor-icon-list-text a{color:var( --e-global-color-secondary );}.elementor-widget-global .elementor-icon-list-item{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-size:var( --e-global-typography-text-font-size );font-weight:var( --e-global-typography-text-font-weight );text-transform:var( --e-global-typography-text-text-transform );font-style:var( --e-global-typography-text-font-style );text-decoration:var( --e-global-typography-text-text-decoration );line-height:var( --e-global-typography-text-line-height );}.elementor-4567 .elementor-element.elementor-global-5807{width:var( --container-widget-width, 44.6% );max-width:44.6%;margin:-92px 14px calc(var(--kit-widget-spacing, 0px) + 44px) 0px;padding:0px 6px 0px 0px;--container-widget-width:44.6%;--container-widget-flex-grow:0;z-index:20;}.elementor-4567 .elementor-element.elementor-global-5807.elementor-element{--align-self:flex-end;}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:last-child){padding-bottom:calc(10px/2);}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-items:not(.elementor-inline-items) .elementor-icon-list-item:not(:first-child){margin-top:calc(10px/2);}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item{margin-right:calc(10px/2);margin-left:calc(10px/2);}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-items.elementor-inline-items{margin-right:calc(-10px/2);margin-left:calc(-10px/2);}body.rtl .elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:after{left:calc(-10px/2);}body:not(.rtl) .elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-items.elementor-inline-items .elementor-icon-list-item:after{right:calc(-10px/2);}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-icon i{color:#FFFFFF;font-size:20px;}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-icon svg{fill:#FFFFFF;--e-icon-list-icon-size:20px;}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-icon{width:20px;}body:not(.rtl) .elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-text{padding-left:6px;}body.rtl .elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-text{padding-right:6px;}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-item{font-family:"Poppins", Sans-serif;font-size:14px;font-weight:300;line-height:1.12em;letter-spacing:-0.5px;}.elementor-widget-global.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-primary );}.elementor-widget-global.elementor-view-framed .elementor-icon, .elementor-widget-global.elementor-view-default .elementor-icon{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-widget-global.elementor-view-framed .elementor-icon, .elementor-widget-global.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-primary );}.elementor-4567 .elementor-element.elementor-global-1772{margin:40px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;}.elementor-4567 .elementor-element.elementor-global-1772 .elementor-icon-wrapper{text-align:center;}.elementor-4567 .elementor-element.elementor-global-1772.elementor-view-stacked .elementor-icon{background-color:#5AA1F7;}.elementor-4567 .elementor-element.elementor-global-1772.elementor-view-framed .elementor-icon, .elementor-4567 .elementor-element.elementor-global-1772.elementor-view-default .elementor-icon{color:#5AA1F7;border-color:#5AA1F7;}.elementor-4567 .elementor-element.elementor-global-1772.elementor-view-framed .elementor-icon, .elementor-4567 .elementor-element.elementor-global-1772.elementor-view-default .elementor-icon svg{fill:#5AA1F7;}.elementor-4567 .elementor-element.elementor-global-1772.elementor-view-stacked .elementor-icon:hover{background-color:#1775D7;}.elementor-4567 .elementor-element.elementor-global-1772.elementor-view-framed .elementor-icon:hover, .elementor-4567 .elementor-element.elementor-global-1772.elementor-view-default .elementor-icon:hover{color:#1775D7;border-color:#1775D7;}.elementor-4567 .elementor-element.elementor-global-1772.elementor-view-framed .elementor-icon:hover, .elementor-4567 .elementor-element.elementor-global-1772.elementor-view-default .elementor-icon:hover svg{fill:#1775D7;}.elementor-4567 .elementor-element.elementor-global-1772 .elementor-icon{font-size:60px;}.elementor-4567 .elementor-element.elementor-global-1772 .elementor-icon svg{height:60px;}@media(max-width:1024px){.elementor-widget-global{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-4567 .elementor-element.elementor-global-3697{width:100%;max-width:100%;margin:-60px 0px calc(var(--kit-widget-spacing, 0px) + 30px) 0px;font-size:38px;}.elementor-widget-global .elementor-icon-list-item{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-4567 .elementor-element.elementor-global-5807{width:100%;max-width:100%;margin:20px 0px calc(var(--kit-widget-spacing, 0px) + 40px) 0px;}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-item{font-size:15px;}.elementor-4567 .elementor-element.elementor-global-1772{margin:20px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;}}@media(max-width:767px){.elementor-widget-global{font-size:var( --e-global-typography-secondary-font-size );line-height:var( --e-global-typography-secondary-line-height );}.elementor-4567 .elementor-element.elementor-global-3697{font-size:35px;}.elementor-widget-global .elementor-icon-list-item{font-size:var( --e-global-typography-text-font-size );line-height:var( --e-global-typography-text-line-height );}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-icon{width:14px;}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-icon i{font-size:14px;}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-icon svg{--e-icon-list-icon-size:14px;}.elementor-4567 .elementor-element.elementor-global-5807 .elementor-icon-list-item{font-size:14px;}.elementor-4567 .elementor-element.elementor-global-1772{margin:20px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;}}/* Start custom CSS *//* Hero Section - Diagonal Wedge Layout */

.hero {
    width: 100%;
    background: white;
    position: relative;
    overflow: visible;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
    margin-bottom: 60px;
}

.hero-grid {
    display: flex;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 12px 0 24px;
    position: relative;
    height: 540px;
    min-height: 520px;
}

p#breadcrumbs {
    line-height: 1em;
    max-height: 25px;
    width: 94%;
    opacity: 0.9;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
}

p#breadcrumbs span {
    color: #fff;
    font-size: 16px;
    letter-spacing: -1px;
}

@media (max-width: 1023.98px) {

p#breadcrumbs span, p#breadcrumbs span a {
    color: #000 !important;
}

p#breadcrumbs {
    margin-top: 30px;
    margin-bottom: -10px;
    width: 100%;
    max-height: none;
    white-space: normal;
}

}

/* Gradient Panel - Left (with diagonal cut) */
.hero-content {
    flex: 0 0 58.33%;
    background: linear-gradient(90deg, #3983F5 0%, #3B82F6 100%);
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 56px 82px 56px 46px;
    clip-path: polygon(0 0, calc(100% - 120px) 0, 100% 50%, calc(100% - 120px) 100%, 0 100%);
    margin-right: -130px;
}

/* Optional depth overlay */
.hero-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #60a5fa 0%, #0066CC 100%);
    pointer-events: none;
}

.hero-content-inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
}

/* Typography */
.hero-title {
    font-weight: 700;
    font-size: clamp(40px, 4vw, 56px);
    line-height: 0.92 !important;
    letter-spacing: -0.064em;
    color: #ffffff !important;
    margin: 0;
    max-width: 24ch;
}

.hero-subtitle {
    font-weight: 450;
    font-size: 20px !important;
    line-height: 1 !important;
    letter-spacing: -0.01em;
    color: rgba(255, 255, 255, 0.92) !important;
    margin: 14px 0 0 0;
    max-width: 60ch;
}

/* CTA Button */
.hero-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 20px;
    border-radius: 9999px;
    background: #ffffff;
    color: #1e3a8a;
    font-weight: 700;
    font-size: 20px !important;
    letter-spacing: -0.005em;
    line-height: 1em !important;
    text-decoration: none;
    text-align: center;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    margin-top: 40px;
    transition: all 200ms ease;
}

.hero-cta:hover {
    background: #f3f6ff;
    transform: translateY(-1px);
}

[data-kubio] a,
[data-kubio] a:not([class*=wp-block-button]) {
    text-decoration: none !important;
}

/* Image Section - Right (beside gradient, overlapped by diagonal edge) */
.hero-image-wrapper {
    flex: 1;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.hero-picture {
    display: block;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    min-height: 540px;
    max-height: 540px;
    object-fit: cover;
    aspect-ratio: 4 / 3;
    display: block;
}

/* ===========================
   Simplify hero on tablet & mobile
   =========================== */

@media (max-width: 1023.98px) {
    .hero-grid {
        flex-direction: column;
        height: auto;
        min-height: auto;
    }

    .hero-image-wrapper {
        border: 10px double #fff;
        border-radius: 40px;
        box-shadow: 2px 2px 2px #bbb;
        margin: 20px auto;
        max-height: 360px;
        max-width: 360px;
        order: 1;
        min-height: 320px;
    }

    .hero-content {
        order: 2;
        flex: 1 1 auto;
        margin-right: 0;
        padding: 32px 24px 48px;
        clip-path: none !important;
        -webkit-clip-path: none !important;
        background: linear-gradient(90deg, #3983F5 0%, #3B82F6 100%) !important;
    }

    /* Tone down text sizes a bit */
    .hero-title {
        font-size: clamp(30px, 4vw, 30px) !important;
        line-height: 1.05;
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-subtitle {
        font-size: 16px !important;
        line-height: 1.2;
        text-align: center;
    }

    .hero-cta {
        height: 44px;
        font-size: 16px !important;
        margin-top: 24px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
    }

    .hero-image {
        width: 100%;
        height: 100%;
        min-height: 320px;
        object-fit: cover;
        aspect-ratio: 4 / 3;
        display: block;
    }
}

/* Even smaller screens */
@media (max-width: 639.98px) {
    .hero-content {
        padding: 24px 20px 36px;
        background: #3B82F6 !important;
        /* solid blue variant */
    }
}


/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .hero-content {
        background: #3B82F6 !important;
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}

/* BRIDGE */

.bridge-section {
    width: 100%;
    position: relative;
}

.bridge-container {
    max-width: 1148px;
    margin: 0 auto;
    background: #ffffff;
    padding: 64px 32px 32px 32px;
    position: relative;
    overflow: hidden;
    margin-top: -60px !important;
}

.bridge-two-column {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.bridge-diagonal-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: transparent;
}

.bridge-subtitle {
    text-align: center;
}

@media (max-width: 1248px) {

    .bridge-diagonal-accent {
        background: transparent;
    }

}

@media (min-width: 768px) {
    .bridge-two-column {
        grid-template-columns: 1fr 1fr;
        gap: 64px;
        align-items: start;
    }
}

.bridge-heading-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 24px;
}

.bridge-main-heading {
    font-size: 2rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1 !important;
    letter-spacing: -0.015em;
    margin: 0;
}

.bridge-paragraph {
    font-size: 1.24em !important;
    font-weight: 300 !important;
    color: #334155;
    line-height: 1.48 !important;
    margin-top: ;
    margin-bottom: 32px;
    text-align: left;
    max-width: 100%;
}

.bridge-paragraph strong {
    color: #1675D7;
    font-weight: 450;
}

.bridge-paragraph:last-of-type {
    margin-bottom: 0;
}

.bridge-subheading-wrapper {
    display: flex;
    flex-direction: column;
    margin-bottom: 32px;
}

.bridge-subheading {
    font-size: 1.8rem !important;
    font-weight: 700;
    color: #0f172a;
    text-align: center !important;
    line-height: 1.2 !important;
    letter-spacing: -0.01em;
    margin: 0;
}

.bridge-badges-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 768px) {
    .bridge-main-heading {
        font-size: 2.25rem;
    }

    .bridge-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}

.bridge-badge {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bridge-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.bridge-badge-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3983F5, #3B82F6);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 22px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.35);
    ;
    transition: box-shadow 0.2s ease;
    margin-bottom: 24px;
}

.bridge-badge:hover .bridge-badge-icon {
    box-shadow: 0 10px 22px rgba(59, 130, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.bridge-badge-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.bridge-badge-label {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 20px;
    font-size: 1.36rem !important;
    letter-spacing: -1px !important;
    line-height: 1em !important;
}

.bridge-badge-description {
    font-size: 16px !important;
    font-weight: 300 !important;
    line-height: 1.25 !important;
}

.bridge-divider {
    width: 100%;
    height: 1px;
    margin-bottom: 48px;
}

.bridge-transition-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bridge-transition-heading {
    text-align: center;
    margin-bottom: 72px;
}

@media (min-width: 768px) {
    .bridge-transition-heading {
        font-size: 2.25rem;
    }

}

@media (max-width: 1023.98px) {

    .bridge-main-heading {
        font-size: 1.8rem !important;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .bridge-paragraph {
        font-size: 1.12em !important;
        line-height: 1.12em !important;
        text-align: center;
    }

    .bridge-transition-heading {
        margin-bottom: 48px;
        margin-top: -24px;
    }

    .bridge-two-column {
        display: flex;
        /* override grid for simple ordering */
        flex-direction: column;
        gap: 28px;
    }

    .bridge-col-text {
        order: 1;
    }

    .bridge-col-cities {
        order: 2;
    }
}

/* Guard: neutralize the tablet two-column rule you had at ≥768px */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .bridge-section .bridge-two-column {
        display: flex !important;
    }
}

/* Keep badge layout nice on tablet even when stacked */
@media (min-width: 768px) and (max-width: 1023.98px) {
    .bridge-badges-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* TABLE OF CONTENTS */

.toc-container {
    width: 92%;
    max-width: 1148px;
    margin: 0 0 50px 0;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: border-color 0.2s ease;
    margin-left: auto;
    margin-right: auto;
}

.toc-header {
    background: linear-gradient(135deg, #86b6f0 0%, #2C6ED3 50%, #1775D7 100%);
    padding: 20px 24px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #BFDBFE;
    text-align: center;
}

.toc-heading {
    margin: 20px 0 40px 0;
    font-size: 24px;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: -0.025em;
}

.toc-blurb {
    margin: 0 0 20px 0;
    font-size: 20px !important;
    line-height: 1.2 !important;
    letter-spacing: -0.5px !important;
    color: #fff !important;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-list-item {
    display: block;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
}

.toc-list-item:last-child {
    border-bottom: none;
}

.toc-list-item-link {
    display: grid;
    grid-template-columns: 40px 1fr auto;
    align-items: center;
    gap: 16px;
    padding: 24px 24px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;

}

.toc-list-item-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0%, transparent 100%);
    transition: width 0.3s ease;
}

.toc-list-item-link:hover {
    background-color: #f8fafc;
    transform: translateX(2px);
}

.toc-list-item-link:hover::before {
    width: 100%;
}

.toc-list-item-link:hover .toc-company-name {
    color: #3983F5;
}

.toc-list-item-link:hover .toc-medal {
    transform: scale(1.1) rotate(5deg);
}

.toc-list-item-link:active {
    transform: translateX(1px);
}

.toc-rank {
    font-size: 30px;
    font-weight: 700;
    color: #334155;
    text-align: center;
}

.toc-company {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
}

.toc-medal {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    transition: transform 0.2s ease;
}

.toc-company-name {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: color 0.2s ease;
    line-height: 1em;
    letter-spacing: -0.5px;
    padding-top: 2px;
    padding-bottom: 2px;
}

.toc-score-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.toc-score-value {
    font-size: 20px;
    font-weight: 450;
    color: #1e293b;
    line-height: 1em;
    letter-spacing: -0.5px;
}

.with-kubio-global-style a:not([class*=wp-block-button]),
.wp-block-woocommerce-mini-cart-contents a:not([class*=wp-block-button]),
[data-kubio] a:not([class*=wp-block-button]),
a:not([class*=wp-block-button])[data-kubio] {
    text-decoration: none !important;
}

@media (max-width: 767px) {
    .toc-container {
        border-radius: 8px;
    }

    .toc-header {
        padding: 16px 18px;
        border-radius: 8px 8px 0 0;
    }

    .toc-heading {
        font-size: 24px !important;
        margin-bottom: 20px;
    }

    .toc-blurb {
        font-size: 16px !important;
    }

    .toc-list-item-link {
        grid-template-columns: 32px 1fr auto;
        gap: 12px;
        padding: 18px 18px;
    }

    .toc-rank {
        font-size: 18px;
    }

    .toc-company-name {
        font-size: 15px;
        white-space: normal;
        word-break: break-word;
    }

    .toc-medal {
        width: 24px;
        height: 24px;
    }

    .toc-score-value {
        font-size: 14px;
        display: none;
    }
}

/* CSS ONLY — Company Card */

.company-card {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.45;
    color: #1a1a1a;
    font-weight: 400;
}

.directory {
    counter-reset: rank;
}

.directory .company-card {
    counter-increment: rank;
}

/* Badge Gradient Variables */
:root {
    --badge-gradient-blue: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --badge-gradient-green: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --badge-gradient-amber: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    --badge-gradient-primary: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
}

.icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.icon-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.icon-badge svg {
    width: 32px;
    height: 32px;
    color: #ffffff;
}

.icon-badge--inline {
    margin: 0 1rem 0 0;
}

.company-card__title-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.icon-badge--primary {
    background: var(--badge-gradient-primary);
}

.icon-badge--blue {
    background: var(--badge-gradient-blue);
}

.icon-badge--green {
    background: var(--badge-gradient-green);
}

.icon-badge--amber {
    background: var(--badge-gradient-amber);
}

.company-card__ranking-number {
    position: absolute;
    top: 0.6rem;
    right: 0.75rem;
    min-width: 98%;
    opacity: 0.95;
    height: 32px;
    display: flex;
    align-items: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    background: linear-gradient(135deg, #3b82f6 0%, #60a5fa 100%);
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
    line-height: 1;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-family: system-ui, -apple-system, sans-serif;
    padding: 0 0.75rem;
    letter-spacing: -0.02em;
}

:root {
    counter-reset: company-counter;
}

.company-card {
    counter-increment: company-counter;
    position: relative;
}

.company-card__ranking-number::before {
    content: "Best In Your Area: #";
}

.company-card__ranking-number::after {
    content: counter(company-counter);
}

@media (max-width: 767px) {
    .company-card__ranking-number {
        display: none;
    }

    .icon-badge {
        display: none;
    }

}

/* HEADER */

.company-card__header {
    background: linear-gradient(135deg, #f0f7ff 0%, #ffffff 100%);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1023.98px) {
    .company-card__header {
        grid-template-columns: 1fr auto;
    }
}

.company-card__identity h3 {
    margin: 0.85rem 0 0.5rem 0;
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.1;
    letter-spacing: -0.05em;
}

.company-card__location {
    display: flex;
    flex-wrap: wrap;
    gap: 0.18rem;
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.company-card__location svg {
    margin-right: 5px;
}

.company-card__contact {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.8rem;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.company-card__contact a {
    color: #0066cc;
    text-decoration: none;
}

.company-card__contact a:hover {
    text-decoration: underline;
}

.nolink {
     background: #0066cc;
    color: #ffffff !important;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1em !important;
    opacity: 75%;
    filter: grayscale(50%);
}

.company-card__contact-btn {
    background: #0066cc;
    color: #ffffff !important;
    padding: 0.65rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 102, 204, 0.2);
    margin-bottom: 1.5rem;
    text-align: center;
    line-height: 1em !important;
}

.company-card__contact-btn:hover {
    background: #0052a3;
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 102, 204, 0.3);
}

.company-card__overview {
    color: #444;
    margin: 0;
    font-weight: 400;
    line-height: 1.45;
}

.company-card__mini-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid #e5e7eb;
    min-width: 220px;
    max-width: 280px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    align-self: center;
}

.company-card__mini-card h4, .company-card__photos h4 {
    margin: 0 0 1rem 0;
    font-size: 1.1rem;
    color: #1a1a1a;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.005em;
}

.company-card__mini-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.company-card__mini-card li {
    padding: 0.5rem 0;
    color: #444;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 400;
    line-height: 1.45;
}

.company-card__mini-card li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #0066cc;
    font-weight: bold;
}

.company-card__section {
    margin-bottom: 3rem;
}

.company-card__section-title,
.company-card__reviews h4,
.company-card__photos h4 {
    font-size: 1.625rem !important;
    font-weight: 700 !important;
    color: #1a1a1a;
    margin: 0 0 2rem 0;
    text-align: center;
    letter-spacing: -0.025em;
    line-height: 1.3;
}

.company-card__features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .company-card__features {
        grid-template-columns: repeat(3, 1fr);
    }
}

.company-card__feature {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    border-top: 4px solid;
    transition: all 0.3s ease;
}

.company-card__feature:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.company-card__feature:nth-child(1) {
    border-top-color: #3b82f6;
}

.company-card__feature:nth-child(2) {
    border-top-color: #3b82f6;
}

.company-card__feature:nth-child(3) {
    border-top-color: #3b82f6;
}

.company-card__feature strong {
    display: block;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: #1a1a1a;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.company-card__feature p {
    margin: 0;
    color: #4b5563;
    font-weight: 400;
    line-height: 1.45;
}

.company-card__review-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .company-card__review-cards {
        grid-template-columns: repeat(3, 1fr);
    }
}

.company-card__review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
    border-top: 4px solid;
}

.company-card__review-card:nth-child(1) {
    border-color: #3b82f6;
}

.company-card__review-card:nth-child(2) {
    border-color: #3b82f6;
}

.company-card__review-card:nth-child(3) {
    border-color: #3b82f6;
}

.company-card__review-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.06);
}

.company-card__review-card strong {
    display: block;
    margin: 0 0 1rem 0;
    font-size: 1.25rem;
    color: #1a1a1a;
    font-weight: 700;
    text-align: center;
    line-height: 1.3;
    letter-spacing: -0.01em;
}


.company-card__review-card p {
    margin: 0 0 1rem 0;
    color: #4b5563;
    font-weight: 400;
    line-height: 1.45;
}

.company-card__pros {
    margin: 0 0 1rem 0;
    padding: 0;
    list-style: none;
}

.company-card__pros li {
    padding: 0.5rem 0;
    color: #00aa44;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 400;
    line-height: 1.45;
}

.company-card__pros li:before {
    content: "✓";
    position: absolute;
    left: 0;
    font-weight: bold;
}

.company-card__cons {
    margin: 0;
    padding: 0;
    list-style: none;
}

.company-card__cons li {
    padding: 0.5rem 0;
    color: #cc6600;
    position: relative;
    padding-left: 1.5rem;
    font-weight: 400;
    line-height: 1.45;
}

.company-card__cons li:before {
    content: "⚠";
    position: absolute;
    left: 0;
}

.score-ring {
    --p: 92;
    --size: 128px;
    --thickness: 12px;

    width: var(--size);
    height: var(--size);
    margin: 0 auto 1rem auto;
    border-radius: 50%;
    background: conic-gradient(from 0deg,
            #3b82f6 0%,
            #03A9F4 calc(var(--p) * 1%),
            #e5e7eb calc(var(--p) * 1%),
            #e5e7eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.875rem;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 0.95;
    letter-spacing: -0.02em;
    position: relative;
}

.score-ring::before {
    content: '';
    position: absolute;
    inset: var(--thickness);
    border-radius: 50%;
    background: #ffffff;
    z-index: 1;
}

.score-ring > * {
    position: relative;
    z-index: 2;
}

.reviewsubtitle {
    display:block;
    line-height: 1em !important;
    letter-spacing: -0.5px;
    opacity: 0.9;
    width: 100%;
    text-align: center;
    font-size: 14px !important;
    margin-bottom: 20px !important;
    margin-top: -10px !important;
}

.company-card__rating-text {
    margin: 0;
    color: #4b5563;
    text-align: center;
    font-weight: 400;
    line-height: 1.45;
}

.company-card__review-card:nth-child(3) {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Photos Section */
.company-card__photos {
  margin-top: 2rem;
}

.company-card__photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .company-card__photo-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.company-card__photo-box {
  position: relative;
  aspect-ratio: 3 / 2;
  max-width: 300px;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
margin-left: auto;
margin-right: auto;
}

.company-card__photo-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.company-card__photo-icon {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 2;
  color: #1e293b;
}

.company-card__photo-icon svg {
  width: 18px;
  height: 18px;
}

.company-card__photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.95;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.company-card__photo-box:hover .company-card__photo-img {
  opacity: 1;
  transform: scale(1.05);
}


/* GO TO TOP  */

div#gototop {
    max-width: 100%;
    margin: 40px 0px calc(var(--kit-widget-spacing, 0px) + 20px) 0px;
    display: flex !important;
    justify-content: center !important;
}

div#gototop a {
    background-color: #5AA1F7;
    font-size: 60px;
    color: #fff;
}

div#gototop:hover a {
    background-color: #1775D7 !important;
}/* End custom CSS */