/*
 * Company single (Nuxt PageLayoutArticle + InfoBox + map, no related slider)
 */
.ccs-wrapper {
    --e-global-color-primary: #253789;
    --ccs-sand: #f6f6f6;
    --e-global-color-accent: #ee5e29;
    --ccs-white: #fff;
    --ccs-grid-max: 1320px;
}

.ccs-wrapper *,
.ccs-wrapper *::before,
.ccs-wrapper *::after {
    box-sizing: border-box;
}

.ccs-main-grid {
    max-width: var(--ccs-grid-max);
    margin-left: auto;
    margin-right: auto;
}

.ccs-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -1.2rem;
    margin-right: -1.2rem;
}

/* Title + teaser (PageLayoutArticle headline-3 area) */
.ccs-title {
    color: var(--e-global-color-primary);
    text-transform: uppercase;
    font-size: clamp(3.2rem,3.3802816901vw,4.8rem);
    font-weight: 900;
    line-height: clamp(3.8rem,3.3802816901vw,4.8rem);
    margin: 0 0 clamp(2rem, 2vw, 4rem);
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    width: 100%;
    max-width: 58.3333%; /* col-lg-7 */
}

@media (max-width: 992px) {
    .ccs-title {
        max-width: 100%;
    }
}

.ccs-teaser {
    width: 100%;
    max-width: 58.3333%;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    margin-bottom: 4rem;
    font-size: 1.6rem;
    line-height: 1.5;
}

.ccs-teaser p {
    margin: 0 0 1em;
}

@media (max-width: 992px) {
    .ccs-teaser {
        max-width: 100%;
        margin-bottom: 6rem;
    }
}

.color-blue-bay-of-many {
    color: var(--e-global-color-primary);
}

/* Image slider */
.ccs-image-section {
    margin-bottom: 2rem;
}

.ccs-image-slider {
    position: relative;
    width: 100%;
    max-height: 53.4rem;
    overflow: hidden;
    margin-bottom: 3.2rem;
}

.ccs-slide {
    width: 100%;
    max-height: 53.4rem;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 0.8s ease;
    position: absolute;
    top: 0;
    left: 0;
}

.ccs-slide.is-active {
    opacity: 1;
    position: relative;
}

@media (max-width: 992px) {
    .ccs-image-slider {
        max-height: none;
    }
    .ccs-slide {
        max-height: none;
        aspect-ratio: 16 / 9;
    }
}

/* Two-column body */
.ccs-body-grid {
    margin-bottom: 4rem;
}

.ccs-body-row {
    align-items: flex-start;
}

.ccs-col-content {
    width: 100%;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    flex: 0 0 100%;
    max-width: 100%;
}

.ccs-col-sidebar {
    width: 100%;
    padding-left: 1.2rem;
    padding-right: 1.2rem;
    flex: 0 0 100%;
    max-width: 100%;
}

@media (min-width: 992px) {
    .ccs-col-content {
        flex: 0 0 66.6667%;
        max-width: 66.6667%;
    }
    .ccs-col-sidebar {
        flex: 0 0 33.3333%;
        max-width: 33.3333%;
    }
}

.ccs-spacer-sm {
    height: 1.6rem;
}

.ccs-intro {
    font-size: 1.6rem;
    line-height: 1.6;
}

.ccs-intro p {
    margin: 0 0 1em;
}

/* Map (reuse collection look) */
.ccs-map-wrap {
    position: relative;
}

.ccs-map-wrap .map {
    width: 100%;
    aspect-ratio: 16 / 8;
    background: #e8e8e8;
}

@media (max-width: 1024px) {
    .ccs-map-wrap .map {
        aspect-ratio: 73 / 128;
    }
}

.ccs-map-wrap .map-controls {
    position: absolute;
    bottom: 24px;
    left: 24px;
    z-index: 4;
    display: flex;
    flex-direction: row;
    gap: 10px;
}

.ccs-map-wrap .map-btn {
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    background-color: var(--e-global-color-primary) !important;
    padding: 12px !important;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    cursor: pointer;
}

.ccs-map-wrap .map-btn:hover {
    background-color: #1b2a6e !important;
}

.ccs-map-wrap .ol-control,
.ccs-map-wrap .ol-attribution {
    display: none !important;
}

/* InfoBox (from InfoBox.scss) */
.ccs-wrapper .infobox {
    color: var(--e-global-color-primary);
    background-color: var(--ccs-sand);
    padding: 3.2rem;
}

.ccs-wrapper .infobox__image-wrap {
    width: 11.2rem;
    aspect-ratio: 16 / 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ccs-wrapper .infobox__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ccs-wrapper .infobox__wave {
    width: 7.4rem;
    height: 0.8rem;
    display: block;
}

.ccs-wrapper .infobox__title {
    margin: 0 0 0.8rem;
}

.ccs-wrapper .contact-info-item__entry {
    font-size: 2rem;
    line-height: 2rem;
    display: block;
    margin-bottom: 8px;
    text-decoration: none;
}

.ccs-wrapper p.contact-info-item__entry {
    color: var(--e-global-color-primary);
}


/* Email / other links: blue + hover (URL links under “Links” use .text-black below) */
.ccs-wrapper a.contact-info-item__entry {
    color: var(--e-global-color-primary);
}

.ccs-wrapper a.contact-info-item__entry:hover {
    color: var(--e-global-color-accent);
}

.ccs-wrapper a.contact-info-item__entry.text-black:hover {
    color: var(--e-global-color-accent);
}

.ccs-wrapper .bt-solid {
    border-top: 1px solid var(--e-global-color-primary);
}

.ccs-wrapper .c-mb-s { margin-bottom: 1.6rem; }
.ccs-wrapper .c-mt-s { margin-top: 1.6rem; }
.ccs-wrapper .c-mt-l { margin-top: 3.2rem; }
.ccs-wrapper .c-pt-s { padding-top: 1.6rem; }

@media (max-width: 992px) {
    .ccs-col-sidebar .infobox {
        margin-top: 2rem;
    }
}

/* Footer wave + SoMe banner */
.ccs-footer-wave {
    max-width: var(--ccs-grid-max);
    margin: 0 auto 0;
    padding: 0 2.4rem;
}

.ccs-footer-wave .hr-wave-line {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 3.2rem;
}

.ccs-some-banner {
    background-color: var(--e-global-color-accent);
    padding: 4rem 2.4rem;
    margin-bottom: 0;
}

.ccs-some-inner {
    max-width: 66.6667%;
    margin: 0 auto;
    text-align: center;
}

@media (max-width: 992px) {
    .ccs-some-inner {
        max-width: 100%;
    }
}

.ccs-some-title {
    color: var(--ccs-white);
    font-size: clamp(2.4rem, 3vw, 4rem);
    font-weight: 900;
    margin: 0 0 1.6rem;
}

.ccs-some-desc {
    color: var(--ccs-white);
    font-size: 1.4rem;
    line-height: 1.5;
    margin: 0 auto 2rem;
    max-width: 70%;
}

.ccs-some-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.6rem;
}

.ccs-some-link {
    display: inline-flex;
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    border: 2px solid var(--ccs-white);
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.ccs-some-link:hover {
    background: rgba(255, 255, 255, 0.15);
}

.ccs-some-dot {
    width: 1.2rem;
    height: 1.2rem;
    border-radius: 50%;
    background: var(--ccs-white);
}

.ccs-error {
    padding: 2rem;
    color: #c00;
}
