/* Tehnical Description */
.tehnical_description {
    margin-top: 48px;
    margin-bottom: 40px;
}

.data h2 {
    margin-bottom: 40px;
}

.tehnical_description .image {
    position: relative;
    width: 180px;
    height: 90%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
}



.yacht-detail-wrapper {
    background-color: #f2f2f2;
    padding: 30px;
    border-radius: 8px;
    max-width: 900px;
    margin: 0 auto;
}

.yacht-specification-container {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.specification-heading,
.rates-heading {
    text-transform: uppercase;
    font-size: 1.2em;
    color: #2e707f;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.specification-items,
.rates-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
    margin-top: 10px !important;
}

.spec-label,
.rates-label {
    color: #ff7d41;
    font-weight: bold;
    margin-left: 4px;
}

.spec-detail,
.rates-detail {
    color: #333;
    font-style: italic;
}

.tehnical_description svg path {
    fill: #00394f;
    stroke: #eee;
    stroke-width: .25;
}

.tehnical_description svg path:hover {
    fill: #006284;
    cursor: pointer;
    transition: 0.6s;
}

.cta:hover {
    background-color: #00394f;
}

figcaption {
    color: gray;
    font-style: italic;
}

/* Breakout - Divider */
.breakout {
    margin-top: 80px;
    width: 100%;
    background: url('/assets/images/carpe-diem/gallery/outer/carpe_2.webp') no-repeat center center/cover;
    position: relative;
    padding: 100px 0;
    color: #fff;
    text-align: center; /* to center the text */
}

.breakout::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.breakout .container {
    position: relative;
    max-width: 1140px;
    margin: 0 auto;
    z-index: 1;
}

.breakout h4 {
    font-size: 1.5em;
    margin-bottom: 20px;
}

.breakout p {
    font-size: 1em;
    margin-bottom: 30px;
    line-height: 1.5;
}

/* End Tehnical Desctiption */

@media only screen and (max-width: 991px) {

    .breakout {
        margin-top: 50px;
    }

    .yacht-detail-wrapper {
        margin-bottom: -90px;
        padding: 10px;
    }

    .tehnical_description .image {
        rotate: 90deg;
        height: 100%;
        width: 130px;
        max-width: 100%;
    }

    .tehnical_description h2 {
        margin-top: 30px;
    }

    .tehnical_description .data {
        margin-bottom: -80px;
    }

    figcaption {
        margin-top: -120px;
    }

    .yacht-detail-wrapper {
        margin-top: 30px;
    }

    .data h2 {
        margin-bottom: -70px;
    }
}


/* Mobile */
@media only screen and (max-width: 479px) {

    .tehnical_description p {
        text-align: left !important;
    }

    figcaption {
        margin-top: -80px;
    }

    .tehnical_description .image {
        rotate: 90deg;
        height: 100%;
        width: 80px;
        max-width: 100%;
    }

    .tehnical_description .data {
        margin-bottom: -48px;
    }

    .breakout p {
        font-size: 0.9em;
        margin-bottom: 30px;
        line-height: 1.5;
    }

    .yacht-detail-wrapper {
        margin-bottom: -40px;
    }


    .data h2 {
        margin-bottom: -60px;
    }

}