
.gotoblocks-container {
    background: #f2f2f2
}

.gotoblocks-items-row {
    display: -webkit-box;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    max-width: 1198px;
    margin: 0 auto
}

.gotoblocks-items-row a {
    width: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    aspect-ratio: 1/1;
    -webkit-transition: background-color .25s cubic-bezier(.895,.03,.685,.22);
    transition: background-color .25s cubic-bezier(.895,.03,.685,.22);
    will-change: background-color;
    text-decoration: none
}

.gotoblocks-items-row a:hover {
    background-color: rgb(85 85 85 / 7%);
    -webkit-transition: background-color .25s cubic-bezier(.165,.84,.44,1);
    transition: background-color .25s cubic-bezier(.165,.84,.44,1);
}

.gotoblocks-items-row a:hover .go-to-text {
    opacity: 1
}

.gotoblocks-items-row .gotoblocks-item {
    width: 100%;
    display: -webkit-box;
    display: flex;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    flex-direction: column;
    aspect-ratio: 1/1
}

.gotoblocks-items-row .gotoblocks-item__media {
    position: relative;
    width: 100%;
    padding-bottom: 0;
}

.gotoblocks-items-row .gotoblocks-item__media .media {
    display: flex;
    align-items: center; 
    justify-content: center;
}

.gotoblocks-items-row .gotoblocks-item__title {
    align-items: baseline;
    text-transform: uppercase;
    font-weight: 700;
    color: #f05249;
    font-size: clamp(24px,2vw,32px);
    text-align: center;
}

.gotoblocks-items-row .gotoblocks-item sub {
    color: #f15f57;
    /*padding-left: .625rem;*/
    font-weight: 500;
    font-size: 20px;
}

.gotoblocks-items-row .gotoblocks-item .go-to-text {
    opacity: 0;
    -webkit-transition: opacity .25s cubic-bezier(.165,.84,.44,1);
    transition: opacity .25s cubic-bezier(.165,.84,.44,1);
    line-height: 3.2
}

.gotoblocks-items-row .gotoblocks-item img {
    max-width: 5.5rem;
    -o-object-fit: cover;
    object-fit: cover
}

@media (min-width: 480px) {
    .gotoblocks-items-row {
        -webkit-box-orient:horizontal;
        -webkit-box-direction: normal;
        flex-direction: row
    }
}

@media (min-width: 1024px) {
    .gotoblocks-items-row .gotoblocks-item__title {
        padding-top: 2rem;
        padding-bottom: 0.9375rem;
        font-size: 28px;
    }
    .md\:pb-100 {padding-bottom:100px}
}

@media (max-width: 640px) {
    .gotoblocks-items-row .gotoblocks-item__media {
        max-width:100%;
        width: 70%
    }

    .gotoblocks-items-row .gotoblocks-item__title {
        font-size: 14px!important
    }

    .gotoblocks-items-row .gotoblocks-item__title sub {
        font-size: 12px
    }
}

@media (max-width: 479px) {
    .gotoblocks-items-row .gotoblocks-item {
        justify-content:space-around
    }

    .gotoblocks-items-row .gotoblocks-item__title {
        margin-top: -4.6875rem;
        position: relative
    }

    .gotoblocks-items-row .gotoblocks-item__title sub {
        font-size: 13px
    }

    .gotoblocks-items-row .gotoblocks-item__media {
        padding-bottom: 12rem;
        width: 40%
    }

    .gotoblocks-items-row .gotoblocks-item__media img {
        max-width: 100%;
        min-width: 9.375rem;
        height: auto
    }
}

.btn-link {
    display: -webkit-box;
    display: flex;
    -webkit-box-align: center;
    align-items: center;
    color: #181818;
    font-size: .8125rem;
    line-height: 1.75rem;
    font-weight: 400;
    text-transform: uppercase
}

.btn-link:hover {
    text-decoration: none
}

.btn-link svg {
    width: 1.25rem;
    height: 1.125rem;
    display: -webkit-box;
    display: flex;
    padding-bottom: 1px
}

.pdf-button {
    border: 1px solid #f05249;
}

.pdf-button:hover {
    background-color: transparent;
    border: 1px solid #f05249;
    color: #fff !important;
}

#vessel-wrapper table tr td:first-child { 
    min-width: 250px;
}

.grid-cols-\[minmax\(0\,3fr\)_minmax\(0\,5fr\)_minmax\(0\,5fr\)\] {
    grid-template-columns: minmax(0, 3fr) minmax(0, 5fr) minmax(0, 5fr);
}

@media (max-width: 768px) {
    #vessel-wrapper table tr td:first-child { 
        min-width: 200px;
    }

    #vessel-wrapper .text-editor {
        overflow-x: scroll;
    }
}

.fleet-list__item .accordion-header .fleet-list__item-img {
    -webkit-box-flex: 0;
    flex: 0 1 50%;
    width: 50%
}

/* Fleet List Styles - Enhanced */
.fleet-list__item {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.08);
    margin-bottom: 30px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    border: 1px solid rgba(0,0,0,0.05);
}

.fleet-list__item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.fleet-list__item.active {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: #f05249;
}

.fleet-list__item-container {
    display: flex;
    align-items: flex-start;
    padding: 25px;
    gap: 70px;
}

.fleet-list__item-column {
    flex: 1;
    padding: 0;
}

.fleet-list__item-column:first-child {
    flex: 0 0 45%;
}

.fleet-list__item-column:last-child {
    flex: 0 0 50%;
}

.fleet-subtitle {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    color: #f05249;
    margin-bottom: 12px;
    letter-spacing: 1.5px;
    background: rgba(240,82,73,0.1);
    padding: 6px 12px;
    border-radius: 20px;
    display: inline-block;
}

.fleet-list__item-column h4 {
    font-size: 26px;
    font-weight: 700;
    color: #052453;
    margin-bottom: 10px;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
}

.small-subtitle {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 0.5px;
}

.fleet-list__item-img {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    /* margin-bottom: 18px; */
    background: #f8fafc;
}

.media-wrap {
    position: relative;
    width: 100%;
    padding-top: 66.67%; /* 3:2 aspect ratio */
    background: linear-gradient(45deg, #f1f5f9, #e2e8f0);
}

.media {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.media__item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    filter: brightness(0.95);
}

.fleet-list__item:hover .media__item {
    transform: scale(1.08);
    filter: brightness(1.05);
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #f05249, #e53e3e);
    color: white;
    text-decoration: none;
    padding: 0 15px 0 5px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 2px 8px rgba(240,82,73,0.3);
    position: relative;
    overflow: hidden;
    margin-left: 25px;
}

.download-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.download-link:hover::before {
    left: 100%;
}

.download-link:hover {
    background: linear-gradient(135deg, #d32f2f, #f05249);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240,82,73,0.4);
}

.download-link .icon {
    width: 45px;
    height: 45px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.download-link:hover .icon {
    transform: translateY(-1px);
}

.accordion-header {
    cursor: pointer;
    padding: 25px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
}

.accordion-header:hover {
    background: #f8fafc;
}

.accordion-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25px;
    right: 25px;
    height: 2px;
    background: linear-gradient(90deg, #f05249, #e53e3e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.accordion-header:hover::after {
    transform: scaleX(1);
}

.accordion-body {
    display: none;
    padding: 25px;
    /* background: linear-gradient(135deg, #f8fafc, #f1f5f9); */
    border-top: 1px solid #e2e8f0;
    animation: slideDown 0.4s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fleet-list__item-data {
    /* display: flex; */
    /* justify-content: space-between; */
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #e2e8f0;
    transition: background-color 0.3s ease;
}

.fleet-list__item-data:hover {
    background: rgba(240,82,73,0.02);
    padding-left: 10px;
    padding-right: 10px;
    margin-left: -10px;
    margin-right: -10px;
    border-radius: 6px;
}

.fleet-list__item-data:last-child {
    /* border-bottom: none; */
}

.fleet-list__item-data .small-subtitle {
    font-size: 11px;
    color: #a7a7a8;
    font-weight: 600;
    text-transform: uppercase;
    margin: 0;
    letter-spacing: 1px;
}

.fleet-list__item-data p {
    font-size: 15px;
    color: #334155;
    font-weight: 500;
    margin: 0;
}

.accordion-icon {
    position: absolute;
    top: 25px;
    right: 25px;
    /* width: 45px; */
    /* height: 45px; */
    background: linear-gradient(135deg, #f05249, #e53e3e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 4px 15px rgba(240,82,73,0.3);
}

.accordion-icon:hover {
    background: linear-gradient(135deg, #d32f2f, #f05249);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(240,82,73,0.4);
}

.accordion-icon .icon {
    width: 45px;
    height: 45px;
    fill: white;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform: rotate(90deg);
}

.fleet-list__item.active .accordion-icon .icon {
    transform: rotate(180deg);
}

/* Hide header image when accordion is active */
.fleet-list__item.active .accordion-header .fleet-list__item-img {
    display: none;
}

@media (min-width: 1024px) {
    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
    .fleet-list {
    }
    
    .fleet-list__item-container {
        padding: 20px;
        gap: 15px;
    }
    
    .fleet-list__item-column h4 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .fleet-list__item .accordion-header .fleet-list__item-img {
        -webkit-box-flex: 0;
        flex: 0 1 100%;
        width: 100%;
    }
    
    .fleet-list__item {
        margin-bottom: 25px;
        border-radius: 10px;
    }
    
    .fleet-list__item-container {
        flex-direction: column;
        padding: 20px;
        gap: 15px;
    }
    
    .fleet-list__item-column {
        width: 100%;
        padding: 0;
        margin-bottom: 0;
    }
    
    .fleet-list__item-column:first-child {
        flex: none;
    }
    
    .fleet-list__item-column:last-child {
        flex: none;
    }
    
    .fleet-list__item-column h4 {
        font-size: 22px;
    }
    
    .accordion-header {
        padding: 20px;
    }
    
    .accordion-body {
        padding: 20px;
    }
    
    .accordion-icon {
        top: 20px;
        right: 20px;
        width: 40px;
        height: 40px;
    }
    
    .accordion-icon .icon {
        width: 20px;
        height: 20px;
    }
    
    .download-link {
        padding: 0 15px 0 5px;
        font-size: 14px;
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .fleet-list {
    }
    
    .fleet-list__item {
        margin-bottom: 20px;
        border-radius: 8px;
    }
    
    .fleet-list__item-container {
        padding: 15px;
        gap: 12px;
    }
    
    .fleet-list__item-column h4 {
        font-size: 20px;
    }
    
    .fleet-subtitle {
        font-size: 10px;
        padding: 5px 10px;
    }
    
    .accordion-header {
        padding: 15px;
    }
    
    .accordion-body {
        padding: 15px;
    }
    
    .accordion-icon {
        top: 15px;
        right: 15px;
        width: 35px;
        height: 35px;
    }
    
    .accordion-icon .icon {
        width: 25px;
        height: 25px;
    }
    
    .download-link {
        padding: 0 15px 0 5px;
        font-size: 13px;
        margin-top: 12px;
        margin-left: 10px;
    }
    
    .fleet-list__item-data {
        padding: 12px 0;
    }
}

/* Enhanced Animation Classes */
.fleet-list__item {
    animation: fadeInUp 0.8s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.fleet-list__item:nth-child(2) {
    animation-delay: 0.1s;
}

.fleet-list__item:nth-child(3) {
    animation-delay: 0.2s;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State Enhancement */
.fleet-list__item.loading {
    opacity: 0.7;
    pointer-events: none;
}

.fleet-list__item.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 24px;
    height: 24px;
    margin: -12px 0 0 -12px;
    border: 3px solid #f05249;
    border-top-color: transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Focus States for Accessibility */
.fleet-list__item:focus-within {
    outline: 2px solid #f05249;
    outline-offset: 2px;
}

.accordion-header:focus {
    outline: none;
    background: #fef2f2;
}

.download-link:focus {
    outline: 2px solid #f05249;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .fleet-list__item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #000;
    }
    
    .accordion-body {
        display: block !important;
    }
    
    .accordion-icon {
        display: none;
    }
}