/* =======================================================
   FERRY.CSS - PREMIUM FERIBOT ROTA THEME
   Listeleme (feribot-seferleri.php) + Detay (ferry-detay.php)
   ======================================================= */

/* ============================================
   HERO SECTION (DETAY)
   ============================================ */
.ferry-hero {
    position: relative;
    min-height: 540px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
    z-index: 10;
}

.ferry-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 20, 40, 0.3) 0%,
            rgba(0, 20, 40, 0.6) 50%,
            rgba(0, 20, 40, 0.85) 100%);
    z-index: 1;
}

.ferry-hero-content {
    position: relative;
    z-index: 10;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 40px 50px;
}

.ferry-breadcrumb-hero {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 18px;
}

.ferry-breadcrumb-hero a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s;
}

.ferry-breadcrumb-hero a:hover {
    color: #fff;
}

.ferry-breadcrumb-hero i.fa-chevron-right {
    font-size: 0.6rem;
    opacity: 0.5;
}

.ferry-hero-title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    line-height: 1.15;
}

.ferry-hero-desc {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 650px;
    line-height: 1.6;
    margin-bottom: 22px;
}

.ferry-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.ferry-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.ferry-badge i {
    font-size: 0.9rem;
}

.ferry-badge-arrow {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

.ferry-badge-price {
    background: rgba(34, 197, 94, 0.25);
    border-color: rgba(34, 197, 94, 0.4);
    color: #86efac;
}

/* ============================================
   QUICK INFO STRIP
   ============================================ */
.ferry-quick-strip {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ferry-quick-items {
    display: flex;
    justify-content: center;
    gap: 36px;
    padding: 16px 0;
    overflow-x: auto;
}

.ferry-quick-item {
    display: flex;
    align-items: center;
    gap: 12px;
    white-space: nowrap;
}

.ferry-quick-item i {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #e0f2fe, #bae6fd);
    color: #0369a1;
    border-radius: 10px;
    font-size: 1.1rem;
}

.ferry-quick-item small {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    font-weight: 500;
}

.ferry-quick-item strong {
    font-size: 0.95rem;
    color: #1e293b;
}

.ferry-quick-item strong a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.ferry-quick-item strong a:hover {
    color: #006994;
}

/* ============================================
   MAIN LAYOUT
   ============================================ */
.ferry-main {
    padding: 50px 40px 60px;
    max-width: 1600px;
    margin: 0 auto;
}

.ferry-content-full {
    width: 100%;
}

.ferry-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
}

/* ============================================
   TABLE OF CONTENTS (collapsible)
   ============================================ */
.ferry-toc {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    margin-bottom: 40px;
    overflow: hidden;
}

.ferry-toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 18px 24px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    text-align: left;
    transition: background-color 0.2s ease, color 0.2s ease;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
}

.ferry-toc-header:hover {
    background: rgba(0, 105, 148, 0.06);
    color: #006994;
}

.ferry-toc-header:focus-visible {
    outline: 2px solid #006994;
    outline-offset: 2px;
}

.ferry-toc-title {
    font-weight: 700;
    color: inherit;
    font-size: 1.05rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ferry-toc-title i {
    color: #0ea5e9;
}

.ferry-toc-chevron {
    flex-shrink: 0;
    margin-left: 12px;
    color: #006994;
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.ferry-toc--open .ferry-toc-chevron {
    transform: rotate(180deg);
}

.ferry-toc-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.ferry-toc--open .ferry-toc-body {
    max-height: 420px;
}

.ferry-toc-body .ferry-toc-links {
    padding: 12px 24px 24px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ferry-toc-body .ferry-toc-links a {
    display: block;
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
    font-size: 0.95rem;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
    background: transparent;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: none;
    box-shadow: none;
}

.ferry-toc-body .ferry-toc-links a:last-child {
    border-bottom: none;
}

.ferry-toc-body .ferry-toc-links a:hover {
    color: #006994;
    background: transparent;
    border-color: #f1f5f9;
    transform: none;
    box-shadow: none;
}

.ferry-toc-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ferry-toc-links a {
    display: inline-flex;
    align-items: center;
    padding: 8px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #475569;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.ferry-toc-links a:hover {
    background: #006994;
    color: #fff;
    border-color: #006994;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 105, 148, 0.2);
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.ferry-section {
    margin-bottom: 50px;
}

.ferry-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.ferry-section-header.ferry-center {
    flex-direction: column;
    text-align: center;
    gap: 8px;
}

.ferry-section-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #006994, #0ea5e9);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    border-radius: 12px;
    flex-shrink: 0;
}

.ferry-section:nth-child(4n+2) .ferry-section-number {
    background: linear-gradient(135deg, #d97706, #f59e0b);
}

.ferry-section:nth-child(4n+3) .ferry-section-number {
    background: linear-gradient(135deg, #059669, #10b981);
}

.ferry-section:nth-child(4n+4) .ferry-section-number {
    background: linear-gradient(135deg, #7c3aed, #a78bfa);
}

.ferry-section-header h2 {
    font-size: 1.6rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
    margin: 0;
}

.ferry-section-reverse .ferry-section-header {
    flex-direction: row-reverse;
    text-align: right;
}

.ferry-section-desc {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 700px;
}

.ferry-center .ferry-section-desc {
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   CONTENT BLOCKS (Alternating Layout)
   ============================================ */
.ferry-content-block {
    display: grid;
    grid-template-columns: 7fr 3fr;
    gap: 36px;
    align-items: center;
    padding: 36px;
    border-radius: 20px;
    transition: all 0.4s;
}

.ferry-content-block.ferry-content-reverse {
    grid-template-columns: 3fr 7fr;
}

.ferry-content-block.ferry-content-reverse .ferry-text-side {
    order: 2;
}

.ferry-content-block.ferry-content-reverse .ferry-image-side {
    order: 1;
}

.ferry-section:nth-child(4n+1) .ferry-content-block {
    background: linear-gradient(135deg, #f8fafc 0%, #eef7ff 100%);
    border: 1px solid #dbeafe;
}

.ferry-section:nth-child(4n+2) .ferry-content-block {
    background: linear-gradient(135deg, #fefce8 0%, #fffbeb 100%);
    border: 1px solid #fef08a;
}

.ferry-section:nth-child(4n+3) .ferry-content-block {
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
}

.ferry-section:nth-child(4n+4) .ferry-content-block {
    background: linear-gradient(135deg, #fdf4ff 0%, #faf5ff 100%);
    border: 1px solid #e9d5ff;
}

.ferry-content-block:hover {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.ferry-text-side {
    min-width: 0;
}

.ferry-rich-content {
    font-size: 1rem;
    color: #334155;
    line-height: 1.75;
}

.ferry-rich-content h2,
.ferry-rich-content h3,
.ferry-rich-content h4 {
    color: #006994;
    font-weight: 700;
    margin: 24px 0 12px;
    line-height: 1.3;
}

.ferry-rich-content h2 {
    font-size: 1.5rem;
}

.ferry-rich-content h3 {
    font-size: 1.3rem;
}

.ferry-rich-content h4 {
    font-size: 1.15rem;
    color: #1e293b;
}

.ferry-rich-content p {
    margin-bottom: 14px;
}

.ferry-rich-content ul,
.ferry-rich-content ol {
    margin-bottom: 14px;
    padding-left: 20px;
}

.ferry-rich-content li {
    margin-bottom: 6px;
}

.ferry-rich-content strong,
.ferry-rich-content b {
    font-weight: 700;
    color: #0f172a;
}

.ferry-rich-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 16px 0;
}

.ferry-rich-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 16px;
    font-size: 0.95rem;
}

.ferry-rich-content th,
.ferry-rich-content td {
    border: 1px solid #e2e8f0;
    padding: 10px;
}

.ferry-rich-content th {
    background: #f8fafc;
    font-weight: 600;
    color: #006994;
}

.ferry-image-side {
    min-width: 0;
}

.ferry-content-image {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.ferry-content-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.ferry-content-image:hover img {
    transform: scale(1.03);
}

/* ============================================
   VOYAGE SCHEDULE TABLE
   ============================================ */
.ferry-schedule-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ferry-schedule-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.ferry-schedule-table thead {
    background: linear-gradient(135deg, #006994, #0284c7);
}

.ferry-schedule-table th {
    padding: 14px 18px;
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    text-align: left;
    white-space: nowrap;
}

.ferry-schedule-table th i {
    margin-right: 6px;
    opacity: 0.8;
}

.ferry-schedule-table tbody tr {
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.2s;
}

.ferry-schedule-table tbody tr:hover {
    background: #f8fafc;
}

.ferry-schedule-table td {
    padding: 14px 18px;
    color: #334155;
}

.ferry-vessel-cell {
    font-weight: 600;
    color: #1e293b !important;
}

.ferry-vessel-cell i {
    color: #006994;
    margin-right: 6px;
}

.ferry-days-badge {
    display: inline-block;
    background: #f0f9ff;
    color: #0369a1;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
}

.ferry-price-cell strong {
    color: #006994 !important;
    font-size: 1.05rem;
}

.ferry-schedule-note {
    margin-top: 14px;
    padding: 12px 16px;
    background: #f0f9ff;
    border-radius: 8px;
    font-size: 0.88rem;
    color: #475569;
    border-left: 3px solid #006994;
}

.ferry-schedule-note i {
    color: #006994;
    margin-right: 4px;
}

/* ============================================
   PHOTO GALLERY
   ============================================ */
.ferry-gallery-section {
    background: #f8fafc;
    padding: 40px 0 50px;
    border-bottom: 1px solid #e2e8f0;
}

.ferry-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.ferry-gallery-featured {
    grid-column: span 2;
    grid-row: span 2;
}

.ferry-gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4/3;
}

.ferry-gallery-featured {
    aspect-ratio: auto;
}

.ferry-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.ferry-gallery-item:hover img {
    transform: scale(1.08);
}

.ferry-gallery-hover {
    position: absolute;
    inset: 0;
    background: rgba(0, 105, 148, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.ferry-gallery-item:hover .ferry-gallery-hover {
    opacity: 1;
}

.ferry-gallery-hover i {
    color: #fff;
    font-size: 1.6rem;
}

/* Mobile Search Box (Hidden on Desktop) */
.mobile-search-box {
    display: none;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

.mobile-search-box form {
    display: flex;
    min-width: 0;
    width: 100%;
}

.mobile-search-box input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px 0 0 8px;
    outline: none;
    font-size: 0.9rem;
    background: #fff;
    transition: border-color 0.2s;
}

.mobile-search-box input:focus {
    border-color: #006994;
}

.mobile-search-box button {
    background: #006994;
    color: #fff;
    border: none;
    padding: 0 16px;
    border-radius: 0 8px 8px 0;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-search-box button:hover {
    background: #004e6e;
}

/* ============================================
   SHARE & TAGS
   ============================================ */
.ferry-share-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 40px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.ferry-tags-area {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ferry-tag {
    display: inline-block;
    background: #f1f5f9;
    color: #475569;
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.ferry-tag:hover {
    background: #006994;
    color: #fff;
}

.ferry-share-links {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ferry-share-links strong {
    color: #64748b;
    font-size: 0.9rem;
}

.ferry-share-links a {
    font-size: 1.5rem;
    transition: transform 0.2s, color 0.2s;
    text-decoration: none;
}

.ferry-share-links a:hover {
    transform: scale(1.15);
}

.share-wa {
    color: #25d366;
}

.share-fb {
    color: #1877f2;
}

.share-tw {
    color: #1da1f2;
}

.share-mail {
    color: #ea4335;
}

/* ============================================
   SIDEBAR
   ============================================ */
.ferry-sidebar-col {
    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.ferry-sidebar-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.ferry-sidebar-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ferry-sidebar-card h4 i {
    color: #006994;
}

/* Booking Widget */
.ferry-sidebar-booking {
    border-top: 4px solid #006994;
}

.ferry-sidebar-booking h4 {
    color: #006994;
}

.ferry-booking-field {
    margin-bottom: 14px;
}

.ferry-booking-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: #475569;
    margin-bottom: 6px;
}

.ferry-booking-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.92rem;
    color: #1e293b;
    transition: border-color 0.2s;
    background: #fff;
}

.ferry-booking-input:focus {
    outline: none;
    border-color: #006994;
    box-shadow: 0 0 0 3px rgba(0, 105, 148, 0.1);
}

.ferry-booking-btn {
    width: 100%;
    padding: 13px;
    background: linear-gradient(135deg, #006994, #0284c7);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
}

.ferry-booking-btn:hover {
    background: linear-gradient(135deg, #004e6e, #006994);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 105, 148, 0.3);
}

.ferry-booking-trust {
    text-align: center;
    margin-top: 14px;
    font-size: 0.78rem;
    color: #94a3b8;
}

.ferry-booking-trust i {
    color: #22c55e;
    margin-right: 4px;
}

/* Info List */
.ferry-info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ferry-info-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.ferry-info-list li:last-child {
    border-bottom: none;
}

.ferry-info-list li span {
    color: #64748b;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ferry-info-list li span i {
    color: #006994;
    width: 16px;
    text-align: center;
}

.ferry-info-list li strong {
    color: #1e293b;
    font-size: 0.92rem;
}

.ferry-info-list li strong a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}

.ferry-info-list li strong a:hover {
    color: #006994;
}

.ferry-info-list .text-primary {
    color: #006994 !important;
}

/* Sidebar Routes */
.ferry-sidebar-routes {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ferry-mini-route {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.ferry-mini-route:hover {
    background: #f8fafc;
}

.ferry-mini-route img {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.ferry-mini-route div {
    flex: 1;
    min-width: 0;
}

.ferry-mini-route strong {
    display: block;
    font-size: 0.88rem;
    color: #1e293b;
    font-weight: 600;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ferry-mini-route small {
    font-size: 0.78rem;
    color: #64748b;
}

.ferry-mini-route i.fa-chevron-right {
    color: #cbd5e1;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.ferry-mini-route:hover i.fa-chevron-right {
    color: #006994;
}

/* ============================================
   FAQ SECTION (Full Width)
   ============================================ */
.ferry-faq-section {
    background: #f8fafc;
    padding: 60px 20px;
    margin-top: 20px;
}

.ferry-faq-section .container {
    max-width: 800px;
    margin: 0 auto;
}

.ferry-faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.ferry-faq-item {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.ferry-faq-item:hover {
    border-color: #cbd5e1;
}

.ferry-faq-item.active {
    border-color: #006994;
    box-shadow: 0 4px 16px rgba(0, 105, 148, 0.08);
}

.ferry-faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 22px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    text-align: left;
    gap: 12px;
    transition: color 0.2s;
}

.ferry-faq-question:hover {
    color: #006994;
}

.ferry-faq-question i {
    color: #006994;
    font-size: 0.9rem;
    transition: transform 0.3s;
    flex-shrink: 0;
}

.ferry-faq-item.active .ferry-faq-question i {
    transform: rotate(45deg);
}

.ferry-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 22px;
    color: #475569;
    font-size: 0.95rem;
    line-height: 1.7;
}

.ferry-faq-item.active .ferry-faq-answer {
    max-height: 600px;
    padding: 0 22px 20px;
}

/* ============================================
   ROUTE MAP SECTION (Full Width)
   ============================================ */
.ferry-map-section {
    background: #fff;
    padding: 60px 0;
    border-top: 1px solid #e2e8f0;
}

.ferry-map-container {
    margin-top: 10px;
}

.ferry-map-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.ferry-map-wrapper iframe {
    display: block;
    width: 100%;
    min-height: 450px;
}

.ferry-map-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 28px;
    padding: 24px 30px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
}

.ferry-map-point {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ferry-map-point-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.ferry-map-origin {
    background: linear-gradient(135deg, #006994, #0ea5e9);
    color: #fff;
    box-shadow: 0 4px 12px rgba(0, 105, 148, 0.3);
}

.ferry-map-dest {
    background: linear-gradient(135deg, #dc2626, #ef4444);
    color: #fff;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.ferry-map-point small {
    display: block;
    font-size: 0.78rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ferry-map-point strong {
    display: block;
    font-size: 1.05rem;
    color: #1e293b;
    font-weight: 700;
}

.ferry-map-point span {
    display: block;
    font-size: 0.82rem;
    color: #64748b;
    margin-top: 2px;
}

.ferry-map-line {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, #006994, #0ea5e9, #dc2626);
    border-radius: 2px;
    flex-shrink: 0;
}

.ferry-map-line i {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    color: #0ea5e9;
    font-size: 1.1rem;
    padding: 6px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .ferry-map-info {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
    }

    .ferry-map-line {
        width: 2px;
        height: 40px;
        background: linear-gradient(180deg, #006994, #0ea5e9, #dc2626);
    }

    .ferry-map-line i {
        left: 50%;
        top: 50%;
    }

    .ferry-map-wrapper iframe {
        min-height: 350px;
    }
}

/* ============================================
   RELATED ROUTES SECTION (Full Width)
   ============================================ */
.ferry-related-section {
    padding: 60px 20px;
    max-width: 1600px;
    margin: 0 auto;
}

.ferry-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.ferry-related-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s;
}

.ferry-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #006994;
}

.ferry-related-img {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.ferry-related-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.ferry-related-card:hover .ferry-related-img img {
    transform: scale(1.08);
}

.ferry-related-price {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 105, 148, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.ferry-related-info {
    padding: 16px 18px;
}

.ferry-related-info h4 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
    line-height: 1.3;
}

.ferry-related-info span {
    font-size: 0.85rem;
    color: #64748b;
}

/* ============================================
   HERO SEARCH BOX
   ============================================ */
.ferry-hero-search {
    margin-top: 24px;
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 16px 20px;
    max-width: 1000px;
    position: relative;
    z-index: 60;
}

.ferry-hsearch-trip-toggle {
    display: flex;
    gap: 6px;
    margin-bottom: 14px;
}

.ferry-trip-option {
    cursor: pointer;
    display: inline-flex;
}

.ferry-trip-option input {
    display: none;
}

.ferry-trip-option span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.25s;
}

.ferry-trip-option:hover span {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
}

.ferry-trip-option.active span {
    background: #fff;
    color: #006994;
    border-color: #fff;
}

.ferry-hsearch-fields {
    display: flex;
    gap: 8px;
    align-items: flex-end;
}

.ferry-hsearch-field {
    flex: 1;
    min-width: 0;
}

.ferry-hsearch-field label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 5px;
    padding-left: 2px;
}

.ferry-hsearch-field label i {
    margin-right: 3px;
    font-size: 0.7rem;
}

.ferry-hsearch-field select,
.ferry-hsearch-field input[type="date"] {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
}

.ferry-hsearch-field select:focus,
.ferry-hsearch-field input[type="date"]:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.2);
}

.ferry-hsearch-route {
    flex: 1.5;
}

.ferry-hsearch-route-display {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 44px;
    padding: 0 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
}

.ferry-hsearch-route-display i {
    color: #006994;
    font-size: 0.75rem;
}

.ferry-hsearch-pax {
    position: relative;
}

.ferry-pax-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    font-weight: 500;
    color: #1e293b;
    cursor: pointer;
    transition: border-color 0.25s;
    white-space: nowrap;
}

.ferry-pax-trigger:hover {
    border-color: rgba(255, 255, 255, 0.4);
}

.ferry-pax-trigger i {
    font-size: 0.65rem;
    color: #94a3b8;
    margin-left: 6px;
}

.ferry-pax-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    min-width: 260px;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    padding: 16px;
    z-index: 100;
}

.ferry-pax-dropdown.open {
    display: block;
}

.ferry-pax-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.ferry-pax-row:last-of-type {
    border-bottom: none;
}

.ferry-pax-info strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
}

.ferry-pax-info small {
    font-size: 0.78rem;
    color: #94a3b8;
}

.ferry-pax-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ferry-pax-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    color: #006994;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.ferry-pax-btn:hover {
    background: #e0f2fe;
    border-color: #006994;
}

.ferry-pax-count {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    min-width: 20px;
    text-align: center;
}

.ferry-pax-done {
    width: 100%;
    margin-top: 10px;
    padding: 10px;
    background: #006994;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s;
}

.ferry-pax-done:hover {
    background: #005577;
}

.ferry-hsearch-submit {
    flex: none;
    width: auto;
}

.ferry-hsearch-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 44px;
    padding: 0 28px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(231, 76, 60, 0.35);
}

.ferry-hsearch-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.45);
}

/* ============================================
   VOYAGE SECTION (Date Picker + Cards)
   ============================================ */
.ferry-voyages-section {
    background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
    padding: 50px 0 60px;
    border-top: 1px solid #e2e8f0;
}

.ferry-center {
    text-align: center;
    align-items: center;
}

.ferry-voyages-section .ferry-section-header {
    flex-direction: column;
}

.ferry-section-desc {
    font-size: 0.95rem;
    color: #64748b;
    margin-top: 8px;
    max-width: 600px;
}

.ferry-date-picker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 32px;
}

.ferry-date-arrow {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.ferry-date-arrow:hover {
    border-color: #006994;
    color: #006994;
    background: #e0f2fe;
}

.ferry-date-track {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex: 1;
    padding: 4px 0;
}

.ferry-date-track::-webkit-scrollbar {
    display: none;
}

.ferry-date-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-width: 72px;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.25s;
    position: relative;
    flex-shrink: 0;
}

.ferry-date-btn:hover {
    border-color: #bae6fd;
    background: #f0f9ff;
}

.ferry-date-btn.active {
    background: linear-gradient(135deg, #006994, #0891b2);
    border-color: #006994;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 105, 148, 0.3);
}

.ferry-date-btn.no-voyage {
    opacity: 0.45;
}

.ferry-date-day {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #94a3b8;
}

.ferry-date-btn.active .ferry-date-day {
    color: rgba(255, 255, 255, 0.8);
}

.ferry-date-num {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.ferry-date-btn.active .ferry-date-num {
    color: #fff;
}

.ferry-date-month {
    font-size: 0.7rem;
    font-weight: 600;
    color: #94a3b8;
}

.ferry-date-btn.active .ferry-date-month {
    color: rgba(255, 255, 255, 0.8);
}

.ferry-date-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #0ea5e9;
    margin-top: 2px;
}

.ferry-date-btn.active .ferry-date-dot {
    background: #fff;
}

.ferry-voyage-day {
    display: none;
}

.ferry-voyage-day.active {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ferry-voyage-card {
    display: grid;
    grid-template-columns: 220px 1fr 180px;
    gap: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.ferry-voyage-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    border-color: #bae6fd;
    transform: translateY(-2px);
}

.ferry-voyage-ship {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    border-right: 1px solid #f1f5f9;
}

.ferry-voyage-ship img {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}

.ferry-voyage-ship-info strong {
    display: block;
    font-size: 0.92rem;
    color: #1e293b;
    margin-bottom: 4px;
}

.ferry-voyage-features {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.ferry-voyage-features span {
    font-size: 0.72rem;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    gap: 3px;
}

.ferry-voyage-features i {
    color: #16a34a;
    font-size: 0.6rem;
}

.ferry-voyage-times {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    padding: 20px 30px;
}

.ferry-voyage-point {
    text-align: center;
}

.ferry-voyage-time {
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1;
}

.ferry-voyage-port {
    display: block;
    font-size: 0.78rem;
    color: #64748b;
    margin-top: 4px;
    font-weight: 500;
}

.ferry-voyage-line {
    text-align: center;
    flex: 1;
}

.ferry-voyage-duration {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    color: #006994;
    margin-bottom: 6px;
}

.ferry-voyage-connector {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ferry-vdot-start,
.ferry-vdot-end {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0ea5e9;
    flex-shrink: 0;
}

.ferry-vdash {
    height: 2px;
    flex: 1;
    min-width: 30px;
    background: linear-gradient(90deg, #0ea5e9, #06b6d4);
}

.ferry-voyage-connector i {
    color: #006994;
    font-size: 0.9rem;
    margin: 0 6px;
}

.ferry-voyage-price {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border-left: 1px solid #f1f5f9;
    background: #fafcff;
    text-align: center;
}

.ferry-vp-label {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
    text-transform: uppercase;
}

.ferry-vp-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #006994;
    line-height: 1.1;
    margin: 2px 0;
}

.ferry-vp-per {
    font-size: 0.75rem;
    color: #94a3b8;
    margin-bottom: 10px;
}

.ferry-voyage-book-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 20px;
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: #fff;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
}

.ferry-voyage-book-btn:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
    transform: translateY(-1px);
}

.ferry-voyage-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #94a3b8;
}

.ferry-voyage-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    color: #cbd5e1;
}

.ferry-voyage-empty h3 {
    font-size: 1.2rem;
    color: #64748b;
    margin-bottom: 8px;
}

.ferry-voyage-empty p {
    font-size: 0.9rem;
    max-width: 400px;
}


/* ============================================
   GALLERY SLIDER
   ============================================ */
.ferry-gallery-slider-wrapper {
    position: relative;
    max-width: 100%;
    overflow: hidden;
    padding: 0 40px;
    /* Space for arrows */
}

.ferry-gallery-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: 16px;
}

.ferry-gallery-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    width: 100%;
}

.ferry-gallery-slide {
    flex: 0 0 33.333%;
    /* 3 items on desktop */
    position: relative;
    padding: 0 6px;
    box-sizing: border-box;
    cursor: pointer;
    overflow: hidden;
    height: 300px;
}

.ferry-gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.ferry-gallery-slide:hover img {
    transform: scale(1.05);
}

.fg-overlay {
    position: absolute;
    top: 0;
    left: 6px;
    right: 6px;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.ferry-gallery-slide:hover .fg-overlay {
    opacity: 1;
}

.fg-overlay i {
    color: #fff;
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.fg-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #1e293b;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.fg-nav:hover {
    background: #006994;
    color: #fff;
    border-color: #006994;
}

.fg-prev {
    left: 0;
}

.fg-next {
    right: 0;
}

@media (max-width: 1024px) {
    .ferry-gallery-slide {
        flex: 0 0 50%;
        /* 2 items on tablet */
    }
}

@media (max-width: 768px) {
    .ferry-gallery-slider-wrapper {
        padding: 0;
        /* Full width on mobile */
    }

    .ferry-gallery-track-container {
        border-radius: 0;
    }

    .ferry-gallery-slide {
        flex: 0 0 100%;
        /* 1 item on mobile */
        height: 250px;
        padding: 0 4px;
    }

    .fg-nav {
        display: none;
        /* Hide arrows on mobile, use swipe */
    }

    .ferry-gallery-slide img {
        border-radius: 8px;
    }
}

.ferry-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ferry-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.ferry-lightbox img {
    max-width: 90%;
    max-height: 88vh;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    animation: ferryZoomIn 0.3s ease;
}

@keyframes ferryZoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.ferry-lb-close {
    position: absolute;
    top: 20px;
    right: 30px;
    background: none;
    border: none;
    color: #fff;
    font-size: 2.5rem;
    cursor: pointer;
    transition: transform 0.2s;
    z-index: 10;
}

.ferry-lb-close:hover {
    transform: scale(1.2);
}

.ferry-lb-prev,
.ferry-lb-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(6px);
    z-index: 10;
}

.ferry-lb-prev:hover,
.ferry-lb-next:hover {
    background: rgba(255, 255, 255, 0.3);
}

.ferry-lb-prev {
    left: 20px;
}

.ferry-lb-next {
    right: 20px;
}

/* ============================================
   LISTING PAGE (feribot-seferleri.php)
   ============================================ */
.fd-wrapper {
    max-width: 1600px;
    margin: 30px auto 60px;
    padding: 0 40px;
    display: flex;
    gap: 30px;
    align-items: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.fd-main {
    flex: 3;
    width: 100%;
    min-width: 0;
}

.fd-sidebar {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: sticky;
    top: 100px;
}

.ferry-list-header {
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e2e8f0;
    max-width: 100%;
    box-sizing: border-box;
}

.ferry-breadcrumb {
    font-size: 0.85rem;
    color: #94a3b8;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    max-width: 100%;
    min-width: 0;
}

.ferry-breadcrumb a {
    color: #64748b;
    text-decoration: none;
}

.ferry-breadcrumb a:hover {
    color: #006994;
}

.ferry-breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.ferry-page-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 8px;
    line-height: 1.2;
    letter-spacing: -0.5px;
    max-width: 100%;
}

.ferry-page-desc {
    font-size: 1rem;
    color: #475569;
    opacity: 0.9;
    max-width: 800px;
    margin-bottom: 20px;
}

/* Category Pills */
.port-scroll-wrapper {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: thin;
    max-width: 100%;
    min-width: 0;
}

.port-scroll-wrapper::-webkit-scrollbar {
    height: 3px;
}

.port-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.port-btn {
    white-space: nowrap;
    padding: 6px 16px;
    border-radius: 50px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}

.port-btn:hover,
.port-btn.active {
    background: #006994;
    color: #fff;
    border-color: #006994;
    box-shadow: 0 3px 8px rgba(0, 105, 148, 0.2);
}

/* Route Cards Grid */
.ferry-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.f-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.25s ease;
}

.f-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
    border-color: #006994;
}

.f-thumb {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #e2e8f0;
}

.f-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.f-card:hover .f-thumb img {
    transform: scale(1.05);
}

.f-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: #1e293b;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 5px;
}

.f-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.f-meta-row {
    font-size: 0.8rem;
    color: #94a3b8;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.f-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 10px;
    line-height: 1.3;
}

.f-title a {
    color: inherit;
    text-decoration: none;
}

.f-title a:hover {
    color: #006994;
}

.f-excerpt {
    font-size: 0.9rem;
    color: #475569;
    margin-bottom: 15px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.f-footer {
    padding-top: 15px;
    border-top: 1px solid #f1f5f9;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-f-read {
    font-size: 0.85rem;
    font-weight: 600;
    color: #006994;
    display: flex;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.btn-f-read:hover {
    gap: 8px;
}

/* Pagination */
.f-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding-top: 20px;
}

.f-page-btn {
    min-width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s;
}

.f-page-btn:hover,
.f-page-btn.active {
    background: #006994;
    color: #fff;
    border-color: #006994;
}

/* Sidebar Widgets (Listing Page) */
.fd-widget {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.fd-widget-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.fd-widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #006994;
}

.bw-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
    background: #fff;
    transition: border-color 0.2s;
}

.bw-input:focus {
    outline: none;
    border-color: #006994;
}

.mini-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mini-item {
    display: flex;
    gap: 12px;
    align-items: center;
    text-decoration: none;
    padding: 6px;
    border-radius: 8px;
    transition: background 0.2s;
}

.mini-item:hover {
    background: #f8fafc;
}

.mini-thumb {
    width: 52px;
    height: 52px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.mini-info {
    min-width: 0;
    flex: 1;
}

.mini-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.3;
    margin: 0 0 3px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mini-item:hover .mini-info h4 {
    color: #006994;
}

.mini-meta {
    font-size: 0.75rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .ferry-layout {
        grid-template-columns: 1fr;
    }

    .ferry-sidebar-col {
        position: static;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ferry-sidebar-booking {
        grid-column: span 2;
    }

    .ferry-related-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .fd-wrapper {
        flex-direction: column;
    }

    .fd-sidebar {
        width: 100%;
        min-width: auto;
        position: static;
    }

    /* Show mobile search box */
    .mobile-search-box {
        display: block;
    }

    /* Hide duplicate sidebar search on mobile */
    .fd-sidebar .w-search {
        display: none;
    }

    .ferry-hero {
        min-height: 380px;
    }

    .ferry-content-block {
        grid-template-columns: 1fr;
        padding: 24px;
    }

    .ferry-content-block.ferry-content-reverse {
        grid-template-columns: 1fr;
    }

    .ferry-content-block.ferry-content-reverse .ferry-text-side,
    .ferry-content-block.ferry-content-reverse .ferry-image-side {
        order: unset;
    }

    .ferry-content-image img {
        height: 200px;
    }

    .ferry-hsearch-fields {
        flex-wrap: wrap;
    }

    .ferry-hsearch-field {
        flex: 1 1 45%;
        min-width: 140px;
    }

    .ferry-hsearch-route {
        flex: 1 1 100%;
    }

    .ferry-hsearch-submit {
        flex: 1 1 100%;
    }

    .ferry-hsearch-btn {
        width: 100%;
        justify-content: center;
    }

    .ferry-voyage-card {
        grid-template-columns: 1fr;
    }

    .ferry-voyage-ship {
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .ferry-voyage-price {
        border-left: none;
        border-top: 1px solid #f1f5f9;
    }
}

@media (max-width: 768px) {
    .ferry-hero {
        min-height: 320px;
    }

    .ferry-hero-content {
        padding: 40px 16px 35px;
    }

    .ferry-quick-items {
        gap: 16px;
        padding: 12px 16px;
        justify-content: flex-start;
    }

    .ferry-layout {
        grid-template-columns: 1fr;
    }

    .ferry-sidebar-col {
        grid-template-columns: 1fr;
    }

    .ferry-sidebar-booking {
        grid-column: auto;
    }

    .ferry-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .ferry-gallery-featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .ferry-related-grid {
        grid-template-columns: 1fr;
    }

    .ferry-list-grid {
        grid-template-columns: 1fr;
    }

    .ferry-schedule-table {
        font-size: 0.85rem;
    }

    .ferry-schedule-table th,
    .ferry-schedule-table td {
        padding: 10px 12px;
    }

    .ferry-share-section {
        flex-direction: column;
        align-items: flex-start;
    }

    .ferry-faq-question {
        padding: 16px;
        /* Larger touch target */
    }

    /* Global Safety */
    body {
        overflow-x: hidden;
    }
}

@media (max-width: 480px) {
    .ferry-hero {
        min-height: 280px;
    }

    .ferry-hero-badges {
        gap: 6px;
    }

    .ferry-badge {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .ferry-toc-links {
        flex-direction: column;
    }

    .ferry-toc-links a {
        width: 100%;
    }

    .ferry-gallery-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .ferry-gallery-featured {
        grid-column: span 2;
    }

    .ferry-gallery-item {
        height: 150px;
        /* Fixed height for uniformity */
    }

    .ferry-faq-question {
        padding: 16px;
        /* Larger touch target */
    }

    /* Global Safety */
    body {
        overflow-x: hidden;
    }
}

.ferry-gallery-item img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* ============================================
   LISTING PAGE - ADDITIONAL CLASSES
   ============================================ */
.ferry-search-result-info {
    margin-bottom: 30px;
    color: #475569;
    font-size: 1rem;
    padding: 14px 18px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.ferry-search-result-info i {
    color: #006994;
}

.ferry-empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
}

.ferry-empty-state i {
    font-size: 3.5rem;
    color: #cbd5e1;
    margin-bottom: 20px;
    display: block;
}

.ferry-empty-state h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 10px;
}

.ferry-empty-state p {
    color: #64748b;
    font-size: 1rem;
    margin-bottom: 20px;
}

.ferry-empty-state .btn-f-read {
    justify-content: center;
    font-size: 1rem;
    display: inline-flex;
}

.f-price-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 105, 148, 0.9);
    color: #fff;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

.f-price-text {
    font-size: 0.85rem;
    color: #64748b;
}

.f-price-text strong {
    color: #006994;
    font-size: 1rem;
}

.ferry-sidebar-search-form {
    display: flex;
    gap: 10px;
}

.ferry-sidebar-search-form .bw-input {
    margin-bottom: 0;
    flex: 1;
}

.ferry-sidebar-search-btn {
    background: #006994;
    color: #fff;
    border: none;
    border-radius: 8px;
    width: 45px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ferry-sidebar-search-btn:hover {
    background: #004e6e;
}

.ferry-cat-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ferry-tag.active {
    background: #006994;
    color: #fff;
}

.fd-widget-title i {
    color: #006994;
    margin-right: 6px;
}

/* ============================================
   MOBILE ENHANCEMENTS (PROFESSIONAL TOUCH)
   ============================================ */
@media (max-width: 768px) {

    /* Main Wrapper Adjustments - taşmayı önlemek için tam sığdırma */
    .fd-wrapper {
        padding: 0 16px;
        margin-top: 20px;
        margin-left: 0;
        margin-right: 0;
        gap: 30px;
        overflow-x: hidden;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
    }

    .ferry-list-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
        text-align: center;
        overflow-x: hidden;
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }

    .ferry-page-desc {
        max-width: 100%;
        font-size: 0.95rem;
        margin-bottom: 16px;
    }

    .ferry-page-title {
        font-size: 1.6rem;
        margin-bottom: 6px;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .ferry-breadcrumb {
        justify-content: center;
        overflow-x: hidden;
    }

    /* Mobile search box - full width, taşmasın */
    .mobile-search-box {
        margin-top: 12px;
        margin-bottom: 16px;
        max-width: 100%;
    }

    .mobile-search-box button {
        min-width: 48px;
        padding: 12px 18px;
        -webkit-tap-highlight-color: transparent;
    }

    /* Category Pills - sayfa dışına taşmasın, padding içinde kalsın */
    .port-scroll-wrapper {
        padding-bottom: 10px;
        margin: 0;
        padding-left: 0;
        padding-right: 0;
        scroll-padding-left: 0;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }

    .port-btn {
        font-size: 0.8rem;
        padding: 8px 14px;
        background: #f8fafc;
        -webkit-tap-highlight-color: transparent;
    }

    /* Card Mobile Optimization */
    .f-card {
        border-radius: 12px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
        border: 1px solid #f1f5f9;
    }

    .f-thumb {
        height: 180px;
    }

    .f-content {
        padding: 16px;
    }

    .f-title {
        font-size: 1.1rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .f-excerpt {
        font-size: 0.85rem;
        line-height: 1.5;
        margin-bottom: 12px;
    }

    .f-meta-row {
        font-size: 0.75rem;
        flex-wrap: wrap;
        gap: 6px;
    }

    /* Footer: stack price and button on mobile */
    .f-footer {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding-top: 12px;
    }

    .f-footer .f-price-text {
        order: 1;
    }

    .btn-f-read {
        padding: 10px 14px;
        background: #f0f9ff;
        border-radius: 8px;
        width: 100%;
        justify-content: center;
        margin-top: 0;
        min-height: 44px;
        -webkit-tap-highlight-color: transparent;
    }

    /* Pagination: wrap on small screens */
    .f-pagination {
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        margin-top: 32px;
        padding-top: 24px;
    }

    /* Sidebar category tags - wrap on mobile */
    .ferry-cat-tags {
        flex-wrap: wrap;
        gap: 8px;
    }

    .ferry-search-result-info {
        padding: 12px 14px;
        font-size: 0.9rem;
        flex-wrap: wrap;
        word-wrap: break-word;
    }

    .ferry-empty-state {
        padding: 40px 16px;
    }

    .ferry-empty-state h3 {
        font-size: 1.25rem;
    }

    .ferry-empty-state .btn-f-read {
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
    }

    /* Sidebar Mobile Optimization */
    .fd-sidebar,
    .fd-main {
        margin-top: 0;
        gap: 16px;
        /* MAGIC: Ungroup both containers to interleave children */
        display: contents;
    }

    /* ORDER 1: Header (Title, Breadcrumbs, Categories) */
    .ferry-list-header {
        order: 1;
    }

    /* ORDER 2: Search Widget (First child of sidebar) */
    .fd-sidebar>.fd-widget:first-child {
        order: 2;
        margin-bottom: 20px;
    }

    /* ORDER 3: Content (Results Info, Grid, Pagination, Empty State) */
    .ferry-search-result-info,
    .ferry-list-grid,
    .ferry-empty-state,
    .f-pagination {
        order: 3;
    }

    /* ORDER 4: Other Sidebar Widgets */
    .fd-sidebar>.fd-widget:not(:first-child) {
        order: 4;
        width: 100%;
        /* Ensure full width */
    }

    /* General Widget Mobile Styling */
    .fd-widget {
        width: 100%;
        box-sizing: border-box;
        /* Prevent padding from breaking width */
    }

    .ferry-sidebar-search-btn {
        width: 50px;
        /* Larger touch target */
    }

    /* Pagination Button Size */
    .f-page-btn {
        min-width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .fd-wrapper {
        padding: 0 12px;
    }

    .ferry-page-title {
        font-size: 1.35rem;
        line-height: 1.25;
    }

    .ferry-page-desc {
        font-size: 0.9rem;
    }

    .f-thumb {
        height: 160px;
    }

    .f-content {
        padding: 14px;
    }

    .f-title {
        font-size: 1rem;
    }

    /* Make price badge more visible */
    .f-price-badge {
        font-size: 0.8rem;
        padding: 4px 8px;
        bottom: 10px;
        right: 10px;
    }

    /* Pagination: smaller buttons on very small screens */
    .f-page-btn {
        min-width: 38px;
        height: 38px;
        font-size: 0.85rem;
    }

    /* Full width search on mobile sidebar */
    .ferry-sidebar-search-form {
        flex-direction: column;
    }

    .ferry-sidebar-search-btn {
        width: 100%;
        height: 44px;
    }

    /* Mini list (sidebar) - compact on small screens */
    .mini-thumb {
        width: 44px;
        height: 44px;
    }

    .mini-info h4 {
        font-size: 0.82rem;
    }

    /* FAQ section (listing page) - reduce padding on mobile */
    .ferry-faq-section {
        padding: 40px 0 !important;
    }

    .ferry-faq-section .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

/* ============================================
   MOBILE: FERRY DETAIL PAGE (ferry-detay.php)
   ============================================ */
@media (max-width: 768px) {

    /* Hero Section */
    .ferry-hero {
        min-height: auto;
        padding-bottom: 40px;
    }

    .ferry-hero-content {
        padding: 24px 12px;
    }

    /* GENERAL CONTAINER SPACING OPTIMIZATION */
    .ferry-main,
    .ferry-voyages-section>div,
    .ferry-faq-section>div,
    .ferry-map-section>div,
    .ferry-related-section>div,
    .ferry-quick-strip>div,
    .ferry-gallery-section>div {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    .ferry-hero-title {
        font-size: 1.75rem;
        /* Slightly smaller for better fit */
        line-height: 1.2;
        letter-spacing: -0.5px;
    }

    .ferry-hero-desc {
        font-size: 1rem;
    }

    .ferry-hero-badges {
        justify-content: center;
        margin-bottom: 24px;
    }

    /* Hero Search (Stacked) */
    .ferry-hero-search {
        padding: 20px;
    }

    .ferry-hsearch-fields {
        flex-direction: column;
        gap: 12px;
    }

    .ferry-hsearch-field {
        width: 100%;
        min-width: 0;
    }

    .ferry-hsearch-route-display,
    .ferry-pax-trigger,
    .ferry-hsearch-field select,
    .ferry-hsearch-field input,
    .ferry-hsearch-field input[type="date"],
    .ferry-hsearch-field input[type="text"] {
        height: 48px;
        width: 100% !important;
        /* Force full width */
        max-width: 100% !important;
        min-width: 0 !important;
        /* Create shrinking room */
        box-sizing: border-box !important;
        /* Include padding in width */
        margin: 0 !important;
        font-size: 16px !important;
        /* Prevents iOS zoom on focus */


        /* IPHONE / IOS FIXes */
        -webkit-appearance: none !important;
        appearance: none !important;
        background-color: #fff !important;
        /* Ensure background is solid */
        border-radius: 10px !important;
        /* Match design */
    }

    /* Container constraint */
    .ferry-hsearch-field {
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .ferry-hsearch-btn {
        width: 100%;
        height: 48px;
        justify-content: center;
        margin-top: 8px;
    }

    /* Passenger Dropdown Mobile Fix */
    .ferry-pax-dropdown {
        position: fixed;
        /* Fixed on mobile for better control */
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 90%;
        max-width: 320px;
        z-index: 9999;
        box-shadow: 0 0 0 100vh rgba(0, 0, 0, 0.5);
        /* Backdrop */
    }

    /* Quick Info Strip (Horizontal Scroll - No Scrollbar) */
    .ferry-quick-items {
        justify-content: flex-start;
        overflow-x: auto;
        padding: 16px;
        gap: 16px;
        /* Tighter gap */
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .ferry-quick-items::-webkit-scrollbar {
        display: none;
        /* Chrome/Safari */
    }

    .ferry-quick-item {
        flex-shrink: 0;
    }

    /* Table of Contents (collapsible – padding on header/body) */
    .ferry-toc {
        margin-bottom: 30px;
    }

    .ferry-toc-links {
        flex-direction: column;
        gap: 8px;
    }

    .ferry-toc-links a {
        width: 100%;
        justify-content: space-between;
    }

    .ferry-toc-links a::after {
        content: '\f054';
        /* fa-chevron-right */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        font-size: 0.7rem;
        opacity: 0.5;
    }

    /* Content Blocks */
    .ferry-content-block,
    .ferry-content-block.ferry-content-reverse {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }

    .ferry-content-image img {
        height: 200px;
    }

    /* Voyage Date Picker - FIXED OVERFLOW (Retry) */
    .ferry-date-picker {
        display: flex;
        align-items: center;
        width: 100%;
        max-width: 100%;
        gap: 2px;
        /* Reduce gap */
        padding: 0;
        box-sizing: border-box;
        overflow: hidden;
        /* Contain wrappers */
    }

    .ferry-date-arrow {
        width: 32px;
        height: 32px;
        /* Slightly smaller */
        flex-shrink: 0;
        z-index: 2;
    }

    .ferry-date-track {
        flex: 1;
        width: 1px;
        /* Force flex shrinking */
        min-width: 0;
        display: flex;
        gap: 6px;
        overflow-x: auto;
        padding: 4px 2px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar */
    }

    .ferry-date-track::-webkit-scrollbar {
        display: none;
    }

    .ferry-date-btn {
        min-width: 60px;
        padding: 8px 4px;
    }

    /* Voyage Card (Stacked Layout) */
    .ferry-voyage-card {
        grid-template-columns: 1fr;
        display: flex;
        flex-direction: column;
    }

    .ferry-voyage-ship {
        padding: 16px;
        border-right: none;
        border-bottom: 1px solid #f1f5f9;
    }

    .ferry-voyage-times {
        padding: 20px 16px;
        gap: 16px;
    }

    .ferry-voyage-time {
        font-size: 1.25rem;
    }

    .ferry-voyage-line {
        /* Hide line on very small screens if needed, but keeping for now */
    }

    .ferry-voyage-price {
        border-left: none;
        border-top: 1px solid #f1f5f9;
        padding: 16px;
        /* Horizontal layout for price & button on mobile */
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        gap: 16px;
    }

    .ferry-vp-per {
        margin-bottom: 0;
    }

    .ferry-voyage-book-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Map Info */
    .ferry-map-info {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }

    .ferry-map-line {
        width: 2px;
        height: 40px;
        margin: 0 auto;
        /* Center vertical line */
        background: linear-gradient(180deg, #006994, #0ea5e9, #dc2626);
    }

    .ferry-map-line i {
        left: 50%;
        top: 50%;
    }

}

@media (max-width: 480px) {
    .ferry-voyage-price {
        flex-direction: column;
        text-align: center;
    }

    .ferry-voyage-book-btn {
        width: 100%;
        justify-content: center;
    }
}