/* 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;
}

.contact-form-alert {
    border-radius: 0;
    margin-bottom: 24px;
}

.contact-captcha-col .form-control {
    text-align: left;
}

.contact-form-feedback {
    margin-top: 8px;
    color: #c1121f;
    font-size: 12px;
    line-height: 1.5;
}

.contact-field-invalid {
    border-color: #c1121f !important;
}

.blog-filter-group + .blog-filter-group {
    margin-top: 18px;
}

.blog-filter-label {
    display: inline-block;
    margin-bottom: 12px;
    color: #667085;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.box-tags .btn-tags.active {
    background: #034460;
    color: #ffffff;
}

.box-tags .btn-tags.active:hover {
    background: #023247;
}

/* 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;
}

.service-card-grid .cardService .cardInfo > a {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.service-card-grid .service-card-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: #f3f6fa;
    color: #034460;
    font-size: 24px;
    line-height: 1;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.service-card-grid .cardService .cardInfo:hover .service-card-icon {
    background: #fec201;
    color: #034460;
    transform: translateY(-2px);
}

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

/* Contact page */
.contact-office-grid .contact-office-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #f4f7fb 0%, #e7eef6 100%);
    color: #034460;
    font-size: 24px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(3, 68, 96, 0.08);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.contact-office-grid .cardService .cardInfo:hover .contact-office-icon {
    background: #fec201;
    color: #034460;
    transform: translateY(-2px);
}


/* Team simple portrait card */
.cardTeam-simple {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0px 10px 42px rgba(1, 9, 20, 0.06);
    height: 100%;
}

.cardTeam-simple-image {
    aspect-ratio: 4/5;
    overflow: hidden;
}

.cardTeam-simple-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.cardTeam-simple-image img.team-photo-carl {
    object-position: center 24%;
}

.cardTeam-simple-image img.team-photo-panji {
    object-position: center 18%;
}

.cardTeam-simple-info {
    padding: 20px;
}

.team-contact-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.team-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-contact-item svg {
    flex-shrink: 0;
}

.team-contact-item a {
    text-decoration: none;
}

.team-contact-item a:hover {
    color: #034460 !important;
}

/* Home page */
.home-service-card .card-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-service-icon {
    width: 96px;
    height: 96px;
    border-radius: 26px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f4f7fb 0%, #e7eef6 100%);
    color: #034460;
    font-size: 42px;
    line-height: 1;
    box-shadow: inset 0 0 0 1px rgba(3, 68, 96, 0.08);
    transition: transform 0.2s ease, background-color 0.2s ease, color 0.2s ease;
}

.home-service-card:hover .home-service-icon {
    background: #034460;
    color: #ffffff;
    transform: translateY(-3px);
}

.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;
    width: 100%;
    height: 620px;
}

.home-map-join .box-map {
    min-height: 620px;
}

.contact-map-card {
    color: #344054;
}

.box-contactform-right {
    padding: 36px 38px 36px 28px;
}

.contact-map-card p {
    line-height: 1.6;
}

.contact-map-card .contact-map-company {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 16px;
}

.contact-map-card .contact-map-address {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 16px;
    word-break: break-word;
}

.contact-map-card .contact-map-row {
    flex-wrap: nowrap;
    margin-bottom: 8px !important;
}

.contact-map-card .contact-map-row .col {
    min-width: 0;
}

.contact-map-card .contact-map-row p {
    margin-bottom: 0;
    word-break: break-word;
}

.contact-map-card .contact-map-note {
    display: inline-block;
    margin-left: 4px;
    vertical-align: baseline;
}

.contact-map-card .line-border {
    margin-top: 14px;
    margin-bottom: 0;
}

.home-map-join .map-info {
    top: 36px;
    bottom: auto;
    max-width: 360px;
    padding: 28px 28px 26px;
    overflow: visible;
}

@media (max-width: 991.98px) {
    .home-map-join .box-map {
        min-height: 0;
    }

    .home-map-join .box-map iframe {
        height: 540px;
    }

    .home-map-join .map-info {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: none;
        margin-top: -80px;
        padding: 24px 22px;
    }
}

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