.rejsy-labels {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 1.5rem 0 1rem;
}

.rejsy-label {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(18, 53, 83, 0.85), rgba(32, 94, 150, 0.9));
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
}

.rejsy-details {
    margin-top: 2rem;
}

.rejsy-captain {
    margin: 2rem 0;
    padding: 24px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(18, 53, 83, 0.08);
}

.rejsy-captain-card {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.rejsy-captain-photo {
    flex: 0 0 200px;
    max-width: 200px;
    border-radius: 12px;
    overflow: hidden;
    background: #f6f7f7;
}

.rejsy-captain-photo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rejsy-captain-content {
    flex: 1 1 240px;
}

.rejsy-captain-name {
    margin: 0 0 0.75rem;
    font-size: 1.6rem;
    color: #123553;
}

.rejsy-captain-name a {
    color: inherit;
    text-decoration: none;
}

.rejsy-captain-name a:hover,
.rejsy-captain-name a:focus {
    text-decoration: underline;
}

.rejsy-captain-summary,
.rejsy-captain-bio {
    margin: 0 0 1rem;
    color: #1c3f63;
    line-height: 1.6;
}

.rejsy-captain-socials {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    padding: 0;
    margin: 0 0 1rem;
    list-style: none;
}

.rejsy-captain-socials li {
    margin: 0;
}

.rejsy-captain-socials a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(32, 94, 150, 0.12), rgba(62, 176, 239, 0.2));
    color: #123553;
    font-weight: 600;
    text-decoration: none;
}

.rejsy-captain-socials a:hover,
.rejsy-captain-socials a:focus {
    background: linear-gradient(135deg, rgba(32, 94, 150, 0.25), rgba(62, 176, 239, 0.35));
    color: #0f2a44;
}

.rejsy-captain-profile {
    margin: 0;
}

.rejsy-captain-profile a {
    font-weight: 600;
    color: #205e96;
    text-decoration: none;
}

.rejsy-captain-profile a:hover,
.rejsy-captain-profile a:focus {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .rejsy-captain-card {
        flex-direction: column;
        text-align: center;
    }

    .rejsy-captain-photo {
        margin: 0 auto;
    }

    .rejsy-captain-socials {
        justify-content: center;
    }
}

.rejsy-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 2rem;
}

.rejsy-gallery-item {
    overflow: hidden;
    border-radius: 6px;
    background: #f6f7f7;
}

.rejsy-gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.rejsy-overview {
    margin-bottom: 2rem;
}

.rejsy-overview-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.rejsy-overview-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #e0e0e0;
}

.rejsy-overview-list li:last-child {
    border-bottom: none;
}

.rejsy-experience {
    margin: 2rem 0;
}

.rejsy-experience-scale {
    margin-top: 1.5rem;
    padding: 1.5rem;
    border-radius: 1rem;
    background-color: rgba(15, 23, 42, 0.04);
    display: grid;
    gap: 1.5rem;
}

.rejsy-experience-scale__item {
    display: grid;
    gap: 0.75rem;
}

.rejsy-experience-scale__header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
}

.rejsy-experience-scale__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #123553;
}

.rejsy-experience-scale__value {
    font-size: 0.875rem;
    font-weight: 600;
    color: rgba(18, 53, 83, 0.7);
}

.rejsy-experience-scale__bar {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.5rem;
    align-items: center;
}

.rejsy-experience-scale__segment {
    display: block;
    height: 0.5rem;
    border-radius: 999px;
    background-color: rgba(15, 23, 42, 0.18);
    transition: background-color 0.2s ease-in-out;
}

.rejsy-experience-scale__segment--active {
    background-color:#5143d9;
}

@media (min-width: 768px) {
    .rejsy-experience-scale {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.25rem;
    }

    .rejsy-experience-scale__item {
        gap: 1rem;
    }
}

.rejsy-dates {
    margin-bottom: 2rem;
}

.rejsy-dates-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rejsy-dates-list li {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #f9fbfd;
    font-weight: 600;
    color: #123553;
}

.rejsy-boarding,
.rejsy-contact,
.rejsy-faq,
.rejsy-payment-schedule,
.rejsy-pricing,
.rejsy-transport {
    margin-bottom: 2rem;
}

.rejsy-boarding-content > *:last-child {
    margin-bottom: 0;
}

.rejsy-payment-schedule-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rejsy-payment-schedule-list li {
    padding: 0.75rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(18, 53, 83, 0.05);
    color: #1c3f63;
    font-weight: 500;
}

.rejsy-pricing-grid-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.rejsy-pricing-grid-column {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rejsy-pricing-grid-column .rejsy-pricing-table {
    flex: 0 1 auto;
    width: 100%;
}

.rejsy-pricing-table {
    flex: 1 1 320px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    box-shadow: 0 16px 30px rgba(18, 53, 83, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.rejsy-pricing-table h2 {
    margin: 0;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(32, 94, 150, 0.12), rgba(62, 176, 239, 0.2));
    color: #123553;
    font-size: 1.35rem;
}

.rejsy-pricing-table-table {
    width: 100%;
    border-collapse: collapse;
}

.rejsy-pricing-table-table td {
    padding: 14px 24px;
    border-top: 1px solid #e0e0e0;
    font-weight: 500;
    color: #1c3f63;
}

.rejsy-pricing-table-table tr:first-child td {
    border-top: 0;
}

.rejsy-pricing-table-includes {
    order: 0;
}

.rejsy-pricing-table-excludes {
    order: 1;
}

.rejsy-pricing-content p {
    margin: 0 0 0.75rem;
}

.rejsy-pricing-content p:last-child {
    margin-bottom: 0;
}

.rejsy-location-hero {
    position: relative;
    color: #fff;
    padding: 120px 20px 140px;
    margin-bottom: 60px;
    overflow: hidden;
}

.rejsy-location-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9, 32, 63, 0.85) 0%, rgba(32, 94, 150, 0.65) 50%, rgba(32, 94, 150, 0.25) 100%);
    z-index: 1;
}

.rejsy-location-hero.has-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: var(--rejsy-hero-background);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.5;
    z-index: 0;
}

.rejsy-location-hero .container {
    position: relative;
    z-index: 2;
    max-width: 960px;
}

.rejsy-location-hero h1 {
    font-size: clamp(2.5rem, 4vw, 3.75rem);
    margin-bottom: 16px;
}

.rejsy-location-kicker {
    display: inline-block;
    font-size: 0.9rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 18px;
    font-weight: 600;
}

.rejsy-location-hero .rejsy-location-intro {
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 680px;
}

.rejsy-location-hero-cta {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.rejsy-location-cta-button {
    background: linear-gradient(135deg, #205e96, #3eb0ef);
    color: #fff;
    border-radius: 999px;
    padding: 14px 36px;
    font-size: 1.05rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 18px 30px rgba(32, 94, 150, 0.28);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.rejsy-location-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 40px rgba(32, 94, 150, 0.35);
    color: #fff;
}

.rejsy-location-anchor-nav {
    background-color: #ffffff;
    border-bottom: 1px solid rgba(9, 32, 63, 0.08);
    box-shadow: 0 8px 24px rgba(9, 32, 63, 0.08);
    position: relative;
    z-index: 5;
}

.rejsy-location-anchor-nav .container {
    display: flex;
    justify-content: center;
    padding: 18px 20px;
}

.rejsy-location-anchor-nav__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
}

.rejsy-location-anchor-nav__item {
    margin: 0;
}

.rejsy-location-anchor-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    color: #1c3f63;
    background: rgba(32, 94, 150, 0.12);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.rejsy-location-anchor-nav__link:hover,
.rejsy-location-anchor-nav__link:focus {
    color: #0b2542;
    background: rgba(32, 94, 150, 0.22);
    transform: translateY(-1px);
}

@media (max-width: 768px) {
    .rejsy-pricing-grid-inner {
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .rejsy-location-anchor-nav .container {
        justify-content: flex-start;
    }

    .rejsy-location-anchor-nav__link {
        padding: 9px 18px;
        font-size: 0.9rem;
    }
}

.rejsy-location-section[id] {
    scroll-margin-top: 120px;
}

.rejsy-location-sections {
    max-width: 1080px;
    margin: 0 auto 80px;
    padding: 0 20px;
}

.rejsy-location-section {
    margin-bottom: 64px;
}

.rejsy-location-section:last-child {
    margin-bottom: 0;
}

.rejsy-location-heading {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: 28px;
    position: relative;
}

.rejsy-location-heading::after {
    content: '';
    width: 72px;
    height: 4px;
    background: linear-gradient(90deg, #205e96, #3eb0ef);
    display: block;
    margin-top: 12px;
}


.rejsy-location-content {
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    line-height: 1.75;
    color: #14324d;
    margin-bottom: 32px;
    position: static;
    overflow: visible;
}

.rejsy-location-content::before {
    content: none;
}

.rejsy-location-content > *:last-child {
    margin-bottom: 0;
}

.rejsy-location-section-detail {
    margin-bottom: 64px;
}

.rejsy-media-block {
    display: flex;
    gap: clamp(24px, 4vw, 56px);
    align-items: stretch;
    margin-bottom: clamp(24px, 4vw, 40px);
}

.rejsy-media-block.layout-image-right .rejsy-media-block__media {
    order: 2;
}

.rejsy-media-block.layout-text-only {
    display: block;
}

.rejsy-media-block__media {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.rejsy-media-block__image-wrap {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 30px rgba(12, 31, 57, 0.08);
}

.rejsy-media-block__image-wrap img,
.rejsy-media-block__image {
    width: 100%;
    height: auto;
    display: block;
}

.rejsy-media-block__content {
    flex: 1 1 0;
    line-height: 1.75;
    color: #14324d;
}

.rejsy-media-block__content > *:last-child {
    margin-bottom: 0;
}

.rejsy-location-cruise-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

@media (min-width: 992px) {
    .rejsy-location-cruise-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 640px) and (max-width: 991px) {
    .rejsy-location-cruise-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.rejsy-location-cruise-card {
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 24px 40px rgba(12, 31, 57, 0.08);
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.rejsy-location-cruise-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 50px rgba(12, 31, 57, 0.12);
}

.rejsy-location-cruise-media img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.rejsy-location-cruise-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rejsy-location-cruise-title {
    font-size: 1.3rem;
    margin: 0;
}

.rejsy-location-cruise-title a {
    color: inherit;
    text-decoration: none;
}

.rejsy-location-cruise-title a:hover {
    color: #3eb0ef;
}

.rejsy-location-cruise-meta {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    font-size: 0.95rem;
    color: #324a5f;
}

.rejsy-location-cruise-meta li span {
    font-weight: 600;
    color: #205e96;
}

.rejsy-location-cruise-footer {
    margin-top: auto;
}

.rejsy-location-cruise-footer .button {
    background: linear-gradient(135deg, #205e96, #3eb0ef);
    color: #fff;
    border-radius: 50px;
    padding: 10px 22px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.3s ease;
}

.rejsy-location-cruise-footer .button:hover {
    transform: translateX(4px);
    color: #fff;
}

.rejsy-location-highlights-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.rejsy-location-highlights-list li {
    background: #f3f7fb;
    border-radius: 16px;
    padding: 22px;
    box-shadow: inset 0 0 0 1px rgba(32, 94, 150, 0.08);
    color: #14324d;
    line-height: 1.6;
}

.rejsy-location-faq-items {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 18px 30px rgba(12, 31, 57, 0.05);
}

.rejsy-location-faq-item {
    background: #fff;
}

.rejsy-location-faq-question {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    padding: 20px 28px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #205e96;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.rejsy-location-faq-question:focus {
    outline: none;
    box-shadow: inset 0 0 0 2px rgba(62, 176, 239, 0.6);
}

.rejsy-location-faq-question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.rejsy-location-faq-item[open] .rejsy-location-faq-question::after {
    transform: rotate(45deg);
}

.rejsy-location-faq-answer {
    padding: 0 28px 24px;
    display: none;
    color: #14324d;
    line-height: 1.7;
}

.rejsy-location-faq-item[open] .rejsy-location-faq-answer {
    display: block;
}

.rejsy-location-faq-item + .rejsy-location-faq-item {
    border-top: 1px solid rgba(32, 94, 150, 0.1);
}

.rejsy-location-faq-question {
    list-style: none;
}

.rejsy-location-faq-question::-webkit-details-marker {
    display: none;
}

.rejsy-location-transport {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rejsy-location-transport-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rejsy-location-transport-tab {
    border: 1px solid rgba(32, 94, 150, 0.15);
    background: #f3f7fb;
    color: #205e96;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.rejsy-location-transport-tab.is-active {
    background: linear-gradient(135deg, #205e96, #3eb0ef);
    color: #fff;
    box-shadow: 0 12px 24px rgba(32, 94, 150, 0.25);
}

.rejsy-location-transport-tab:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(62, 176, 239, 0.35);
}

.rejsy-location-transport-panel {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 30px rgba(12, 31, 57, 0.08);
    padding: 24px;
}

.rejsy-location-transport-panel.has-image {
    display: grid;
    gap: 24px;
    align-items: start;
}

@media (min-width: 768px) {
    .rejsy-location-transport-panel.has-image {
        grid-template-columns: minmax(0, 320px) minmax(0, 1fr);
    }
}

.rejsy-location-transport-media img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    object-fit: cover;
}

.rejsy-location-transport-text {
    color: #14324d;
}

.rejsy-location-transport-title {
    margin: 0 0 16px;
    font-size: 1.25rem;
    color: #205e96;
}

.rejsy-location-transport-content {
    line-height: 1.7;
}

.rejsy-location-transport-content > *:last-child {
    margin-bottom: 0;
}

.rejsy-location-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.rejsy-location-gallery figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(12, 31, 57, 0.08);
}

.rejsy-location-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rejsy-ports {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.rejsy-ports-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 18px 34px rgba(12, 31, 57, 0.12);
}

.rejsy-ports-map-image {
    display: block;
    width: 100%;
    height: auto;
}

.rejsy-ports-tabs {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rejsy-ports-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.rejsy-ports-tab {
    border: 1px solid rgba(32, 94, 150, 0.15);
    background: #f3f7fb;
    color: #205e96;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.rejsy-ports-tab.is-active {
    background: linear-gradient(135deg, #205e96, #3eb0ef);
    color: #fff;
    box-shadow: 0 12px 24px rgba(32, 94, 150, 0.25);
}

.rejsy-ports-tab:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(62, 176, 239, 0.35);
}

.rejsy-ports-panel {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 30px rgba(12, 31, 57, 0.08);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.rejsy-ports-description {
    color: #14324d;
    line-height: 1.7;
}

.rejsy-ports-description > *:last-child {
    margin-bottom: 0;
}

.rejsy-ports-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.rejsy-ports-gallery-item {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 28px rgba(12, 31, 57, 0.08);
}

.rejsy-ports-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 782px) {
    .rejsy-location-hero {
        padding: 100px 16px 110px;
        margin-bottom: 40px;
        text-align: center;
    }

    .rejsy-location-hero .rejsy-location-intro {
        margin: 0 auto;
    }

    .rejsy-location-hero-cta {
        margin-top: 24px;
    }

    .rejsy-location-heading::after {
        margin-left: auto;
        margin-right: auto;
    }

    .rejsy-location-cruise-media img {
        height: 200px;
    }

    .rejsy-media-block {
        flex-direction: column;
    }

    .rejsy-media-block.layout-image-right .rejsy-media-block__media {
        order: 0;
    }

    .rejsy-media-block__media,
    .rejsy-media-block__content {
        width: 100%;
    }

    .rejsy-location-transport-panel {
        padding: 20px;
    }
}
