/* About page */
.about-point-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 24px;
    column-gap: 24px;
}

.about-point-item h6 {
    margin-bottom: 8px;
}

.about-point-item p {
    margin-bottom: 0;
}

.about-ship-stack img,
.about-ship-main,
.about-ship-section {
    width: 100%;
    display: block;
    object-fit: cover;
}

.about-ship-stack img {
    height: 170px;
}

.about-ship-main {
    height: 360px;
}

.about-ship-section {
    height: 440px;
}

@media (min-width: 992px) {
    .item-about-2 > .about-grid-content-col,
    .item-about-2.item-about-2-revert > .about-grid-content-col {
        padding-left: calc(var(--bs-gutter-x) / 2) !important;
        padding-right: calc(var(--bs-gutter-x) / 2) !important;
    }

    .about-point-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 40px;
        row-gap: 28px;
    }
}

@media (max-width: 991.98px) {
    .about-ship-stack img {
        height: 180px;
    }

    .about-ship-main {
        height: 300px;
    }

    .about-ship-section {
        height: 320px;
    }
}

/* Blog page */
.blog-article-grid .card-blog-grid .card-image {
    position: relative;
    overflow: hidden;
}

.blog-article-grid .card-blog-grid .card-image > a:first-child {
    display: block;
    aspect-ratio: 16 / 10;
}

.blog-article-grid .card-blog-grid .card-image > a:first-child img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 767.98px) {
    .blog-article-grid .card-blog-grid .card-image > a:first-child {
        aspect-ratio: 16 / 11;
    }
}

/* Blog detail page */
.article-detail-content img,
.article-detail-content video,
.article-detail-content iframe {
    max-width: 100%;
    border-radius: 12px;
}

.article-detail-content p,
.article-detail-content li {
    color: #667085;
}

.article-detail-content h1,
.article-detail-content h2,
.article-detail-content h3,
.article-detail-content h4 {
    color: #101828;
    margin-top: 1.2rem;
}

.article-detail-content blockquote {
    border-left: 3px solid #f59e0b;
    padding-left: 16px;
    margin: 20px 0;
    color: #344054;
    font-style: italic;
}

.article-share-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.article-share-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 12px;
    border: 1px solid #d0d5dd;
    border-radius: 999px;
    color: #344054;
    font-size: 12px;
    line-height: 1;
    transition: all 0.2s ease;
}

.article-share-links a:hover {
    color: #fff;
    border-color: #101828;
    background: #101828;
}

.article-meta-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    align-items: center;
}

.article-meta-inline .meta-sep {
    width: 4px;
    height: 4px;
    border-radius: 999px;
    background: #d0d5dd;
}

.article-taxonomy-row .box-tags {
    text-align: left;
}

.article-taxonomy-row .box-tags .btn-tags {
    margin-right: 8px;
    margin-bottom: 8px;
}

/* Services page */
.service-card-grid .cardService {
    display: flex;
    flex-direction: column;
}

.service-card-grid .cardService .cardImage {
    overflow: hidden;
}

.service-card-grid .cardService .cardImage > a {
    display: block;
    height: 240px;
}

.service-card-grid .cardService .cardImage img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (min-width: 1200px) {
    .service-card-grid .cardService .cardImage > a {
        height: 220px;
    }
}

/* Home page */
.home-maritime-visual .img-main {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-maritime-visual .image-2 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.home-faq-ship-gallery img {
    width: 100%;
    display: block;
    object-fit: cover;
}

.home-faq-ship-gallery .image-top img {
    height: 290px;
}

.home-faq-ship-gallery .image-faq-1 img,
.home-faq-ship-gallery .image-faq-2 img {
    height: 165px;
}

@media (max-width: 991.98px) {
    .home-faq-ship-gallery .image-top img {
        height: 230px;
    }

    .home-faq-ship-gallery .image-faq-1 img,
    .home-faq-ship-gallery .image-faq-2 img {
        height: 140px;
    }
}

.home-map-join {
    display: block !important;
    position: relative;
    margin-bottom: -4px;
    background: linear-gradient(to bottom, transparent 0 50%, #034460 50% 100%);
}

.home-map-join::before {
    display: none;
}

.home-map-join::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #034460;
    pointer-events: none;
}

.home-map-join .box-map iframe {
    display: block;
}

main.main + footer.footer {
    margin-top: -20px;
    position: relative;
    z-index: 3;
}
