.jga-media-area-widget {
    margin-top: 32px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.85);
    box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.4);
}

.jga-media-area-widget > :first-child {
    margin-top: 0;
}

.jga-media-area-widget > :last-child {
    margin-bottom: 0;
}

.jga-media-area-bokun__empty {
    margin: 0;
    padding: 16px;
    border: 1px dashed rgba(15, 23, 42, 0.2);
    border-radius: 12px;
    color: #64748b;
    font-size: 0.95rem;
}

.jga-media-area-bokun--editor-preview {
    margin: 0;
    padding: 16px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    background: #f8fafc;
}

.jga-media-area-bokun__meta {
    margin: 0 0 8px;
    font-size: 0.95rem;
}

.jga-media-area-bokun__hint {
    margin: 0 0 12px;
    color: #64748b;
    font-size: 0.875rem;
}

.jga-media-area-bokun__script {
    margin: 0;
    padding: 12px;
    max-height: 220px;
    overflow: auto;
    border: 1px solid rgba(15, 23, 42, 0.1);
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
    user-select: text;
    pointer-events: none;
}

.jga-media-area-single-body {
    margin-top: 50px;
}

.jga-media-area-single-hero--no-image .wp-block-post-title,
.jga-media-area-single-hero--no-image .wp-block-post-content {
    color: #f8fafc;
}

.jga-media-area-single-hero .jga-media-area-single-title,
.jga-media-area-single-hero .wp-block-post-title {
    text-transform: uppercase;
}

.jga-media-area-single-hero .wp-block-post-content {
    text-align: center;
}

.jga-media-entity-grid,
.jga-media-guide-review-grid {
    display: grid;
    gap: 24px;
}

.jga-media-entity-grid {
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
}

.jga-media-guide-review-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.jga-media-tour-grid {
    display: block;
}

.jga-media-tour-grid::after {
    content: "";
    display: table;
    clear: both;
}

.jga-media-entity-card,
.jga-media-tour-card {
    height: 100%;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.45);
}

.jga-media-entity-card {
    overflow: hidden;
}

.jga-media-entity-card--cover .jga-media-entity-card__cover-link {
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    height: auto;
    min-height: 220px;
    padding: 24px;
    border-radius: inherit;
    position: relative;
    background-repeat: no-repeat;
}

.jga-media-entity-card--cover .jga-media-entity-card__cover-link::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: rgba(15, 23, 42, 0.4);
    pointer-events: none;
    transition: background 0.2s ease;
}

.jga-media-entity-card--cover:hover .jga-media-entity-card__cover-link::after,
.jga-media-entity-card--cover:focus-within .jga-media-entity-card__cover-link::after {
    background: rgba(15, 23, 42, 0.32);
}

.jga-media-entity-card--cover .jga-media-entity-card__title {
    position: relative;
    z-index: 1;
    margin: 0;
    padding: 0;
    max-width: 100%;
    text-align: center;
    font-size: 5rem;
    font-weight: 600;
    line-height: 1.35;
    color: #fff;
    text-shadow:
        0 1px 2px rgba(0, 0, 0, 0.55),
        0 2px 24px rgba(0, 0, 0, 0.45);
}

.jga-media-list--area .jga-media-entity-card--cover {
    aspect-ratio: 1 / 1;
    height: auto;
}

.jga-media-list--area .jga-media-entity-card--cover .jga-media-entity-card__cover-link {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.jga-media-list--area .jga-media-entity-card--cover .jga-media-entity-card__title {
    font-size: clamp(1.25rem, 4vw, 3rem);
}

.jga-media-tour-card {
    position: relative;
    display: flex;
    flex-direction: column;
    float: left;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin-bottom: 20px;
    min-height: 0;
    overflow: visible;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition:
        box-shadow 0.22s ease,
        transform 0.22s ease;
}

@media only screen and (min-width: 48rem) {
    .jga-media-tour-card {
        height: 420px;
        margin: 0 10px 20px;
        width: calc(50% - 20px);
    }
}

@media only screen and (min-width: 64rem) {
    .jga-media-tour-card {
        margin: 0 20px 40px;
        width: calc(33.33333% - 40px);
    }
}

.jga-media-tour-card:hover,
.jga-media-tour-card:focus-within {
    box-shadow:
        0 28px 55px -28px rgba(15, 23, 42, 0.55),
        0 12px 24px -16px rgba(15, 23, 42, 0.2);
    transform: translateY(-5px);
}

.jga-media-tour-card:active {
    outline: none;
}

.jga-media-tour-card__stretch-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: inherit;
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

.jga-media-tour-card__stretch-link:focus {
    outline: none;
}

.jga-media-tour-card__stretch-link:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.55);
    outline-offset: 3px;
    z-index: 4;
}

.jga-media-tour-card__stretch-link:active {
    outline: none;
}

.jga-media-tour-card .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.jga-media-entity-card > a,
.jga-media-tour-card__stretch-link {
    color: inherit;
    text-decoration: none;
}

.jga-media-entity-card > a {
    display: block;
    height: 100%;
}

.jga-media-entity-card__image,
.jga-media-tour-card__image {
    display: block;
    width: 100%;
    object-fit: cover;
}

.jga-media-entity-card__image {
    aspect-ratio: 4 / 3;
}

.jga-media-entity-card__image--square {
    aspect-ratio: 1 / 1;
}

.jga-media-tour-card__image {
    height: 220px;
}

.jga-media-entity-card__title,
.jga-media-tour-card__title {
    margin: 0;
    line-height: 1.3;
}

.jga-media-entity-card__title {
    font-size: 1.25rem;
}

.jga-media-entity-card__title,
.jga-media-entity-card__excerpt {
    padding-inline: 20px;
}

.jga-media-entity-card__title {
    padding-top: 20px;
    padding-bottom: 8px;
}

.jga-media-entity-card__excerpt {
    margin: 0;
    padding-bottom: 20px;
    color: rgba(17, 24, 39, 0.72);
    line-height: 1.7;
}

.jga-media-entity-card--cover .jga-media-entity-card__title {
    padding: 0;
}

.jga-media-tour-card__media {
    position: relative;
    z-index: 2;
    overflow: visible;
    pointer-events: none;
    border-radius: 24px 24px 0 0;
}

.jga-media-tour-card__image-frame {
    overflow: hidden;
    border-radius: inherit;
    background: rgba(15, 23, 42, 0.06);
}

.jga-media-tour-card__avatar-link {
    position: absolute;
    left: 16px;
    bottom: 16px;
    z-index: 3;
    display: block;
    width: 64px;
    height: 64px;
    overflow: visible;
    border-radius: 999px;
    background: transparent;
    box-shadow: none;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.jga-media-tour-card__avatar-link:focus {
    outline: none;
}

.jga-media-tour-card__avatar-link:focus-visible {
    outline: 2px solid rgba(59, 130, 246, 0.55);
    outline-offset: 3px;
}

.jga-media-tour-card__avatar-link:active {
    outline: none;
}

.jga-media-tour-card__avatar-inner {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 20px -14px rgba(15, 23, 42, 0.8);
}

.jga-media-tour-card__avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.jga-media-tour-card__avatar-tooltip {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    z-index: 4;
    box-sizing: border-box;
    width: max-content;
    max-width: min(280px, calc(100vw - 32px));
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.92);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    box-shadow: 0 8px 20px -10px rgba(0, 0, 0, 0.45);
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 4px);
    transition:
        opacity 0.18s ease,
        visibility 0.18s ease,
        transform 0.18s ease;
}

.jga-media-tour-card__avatar-link:hover .jga-media-tour-card__avatar-tooltip,
.jga-media-tour-card__avatar-link:focus-visible .jga-media-tour-card__avatar-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.jga-media-tour-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 10px;
    min-height: 0;
    padding: 20px;
    pointer-events: none;
    border-radius: 0 0 24px 24px;
}

.jga-media-tour-card__guide-label{
    font-size: 1rem;
}

.jga-media-tour-card__guide-label {
    color: #133467;
}

.jga-media-tour-card__guide-label {
    margin: 0;
}

.jga-media-tour-card__title {
    font-weight: 600;
    font-size: 1.125rem;
}

.jga-media-tour-card__date {
    margin: auto 0 0;
}

/* Guide info block: cover + avatar row + byline + content */
.jga-media-guide-info {
    box-sizing: border-box;
    padding: 32px 24px;
    background-color: #f4f8fd;
}

.jga-media-guide-info__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    max-width: min(100%, var(--wp--style--global--content-size, 960px));
    margin-left: auto;
    margin-right: auto;
}

@media only screen and (min-width: 48rem) {
    .jga-media-guide-info__inner {
        flex-direction: row;
        align-items: flex-start;
    }
}

.jga-media-guide-info__avatar {
    flex-shrink: 0;
}

.jga-media-guide-info__avatar-link {
    display: inline-block;
    color: inherit;
    text-decoration: none;
}

.jga-media-guide-info__avatar-link:focus {
    outline: none;
}

.jga-media-guide-info__avatar-link:focus-visible .jga-media-guide-info__avatar-frame {
    outline: 2px solid #2da1c4;
    outline-offset: 2px;
}

/* Match single template featured avatar: circle, border, shadow */
.jga-media-guide-info__avatar-frame {
    display: block;
    width: 120px;
    height: 120px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 20px -14px rgba(15, 23, 42, 0.8);
    box-sizing: border-box;
}

.jga-media-guide-info__avatar-frame--placeholder {
    background: #e2e8f0;
}

.jga-media-guide-info__avatar-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
}

.jga-media-guide-info__main {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.jga-media-guide-info__byline {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.35;
    color: #0f172a;
    text-transform: uppercase;
}

.jga-media-guide-info__nickname {
    color: #2da1c4;
}

a.jga-media-guide-info__nickname {
    text-decoration: none;
}

a.jga-media-guide-info__nickname:hover{
    color: #0f172a;
    text-decoration: none;
}

.jga-media-guide-info__content.entry-content {
    font-size: 16px;
    color: #575760;
}

.jga-media-guide-info__content > :first-child {
    margin-top: 0;
}

.jga-media-guide-info__content > :last-child {
    margin-bottom: 0;
}

.jga-media-guide-info__empty {
    margin: 0;
}

.jga-media-guide-booking__empty {
    margin: 0;
}

.wp-block-jga-guide-booking.wp-block-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5em;
}

/* Guide single hero: band background, centered post header + content */
.jga-media-guide-single-hero {
    box-sizing: border-box;
    background-color: #f4f8fd;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 48px 24px;
    gap: 1.25rem;
}

/* Featured image: same circular treatment as .jga-media-tour-card__avatar-link / __avatar-inner */
.jga-media-guide-single-hero .wp-block-post-featured-image.jga-media-guide-single-featured-avatar {
    width: 120px;
    height: 120px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 20px -14px rgba(15, 23, 42, 0.8);
    box-sizing: border-box;
}

.jga-media-guide-single-hero .wp-block-post-featured-image.jga-media-guide-single-featured-avatar :is(a, img) {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.jga-media-guide-single-hero .wp-block-post-featured-image.jga-media-guide-single-featured-avatar img {
    object-fit: cover;
    height: 100%;
}

/* Tour list block: offset from hero above */
.jga-media-guide-single-tours {
    margin-top: 50px;
}

.jga-media-guide-single-reviews {
    margin-top: 50px;
}

.jga-media-guide-single-hero .wp-block-post-title,
.jga-media-guide-single-hero .wp-block-post-content {
    width: 100%;
    max-width: min(100%, 1200px, var(--wp--style--global--content-size, 100%));
}

.jga-media-guide-single-hero .jga-media-guide-single-title,
.jga-media-guide-single-hero .wp-block-post-title {
    text-transform: uppercase;
}

.jga-media-guide-single-hero .wp-block-post-content .alignwide,
.jga-media-guide-single-hero .wp-block-post-content .alignfull {
    text-align: center;
}

.jga-media-guide-review-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    padding: 20px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.45);
}

.jga-media-guide-review-card::after {
    content: "";
    display: block;
    width: 100px;
    height: 32px;
    margin-top: 15px;
    background-image: url("../img/tripadvisor.png");
    background-repeat: no-repeat;
    background-size: contain;
    box-sizing: border-box;
}

.jga-media-guide-review-card__stars {
    margin: 0 0 10px;
    line-height: 1;
}

.jga-media-guide-review-card__stars-inner {
    display: inline-block;
    font-size: 1.125rem;
    letter-spacing: 0.12em;
    color: #f5a623;
}

.jga-media-guide-review-card__meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 0.875rem;
    line-height: 1.4;
}

.jga-media-guide-review-card__date {
    color: rgba(17, 24, 39, 0.55);
}

.jga-media-guide-review-card__reviewer {
    font-weight: 600;
    color: #111827;
}

.jga-media-guide-review-card__content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    min-height: 0;
}

.jga-media-guide-review-card__excerpt,
.jga-media-guide-review-card__full {
    margin: 0;
    color: rgba(17, 24, 39, 0.82);
    font-size: 1.125rem;
    line-height: 1.7;
}

.jga-media-guide-review-card__full > :first-child {
    margin-top: 0;
}

.jga-media-guide-review-card__full > :last-child {
    margin-bottom: 0;
}

.jga-media-guide-review-card__read-more {
    align-self: flex-start;
    margin-top: auto;
    padding: 10px 0 0;
    border: 0;
    background: none;
    color: #2563eb;
    font: inherit;
    font-size: 1.125rem;
    text-decoration: underline;
    cursor: pointer;
}

.jga-media-guide-review-card__read-more:hover,
.jga-media-guide-review-card__read-more:focus-visible {
    color: #1d4ed8;
}

.jga-media-guide-review-card__read-more:focus {
    outline: none;
}

.jga-media-guide-review-card__read-more:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.jga-media-guide-review-list__empty {
    padding: 20px;
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.04);
    color: rgba(17, 24, 39, 0.72);
}

.jga-media-list.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.jga-media-list__pagination {
    margin-top: 28px;
    text-align: center;
}

.jga-media-area-pagination,
.jga-media-guide-pagination,
.jga-media-tour-pagination,
.jga-media-guide-review-pagination,
.jga-media-list-page-nav {
    display: flex;
    justify-content: center;
    border: none;
    box-shadow: none;
    background: transparent;
}

.jga-media-list-page-nav__inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.jga-media-list-page-nav__status {
    min-width: 6.5rem;
    color: rgba(17, 24, 39, 0.72);
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1.4;
    text-align: center;
}

.jga-media-list-page-nav__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #111827;
    box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.35);
    text-decoration: none;
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jga-media-list-page-nav__btn:hover,
.jga-media-list-page-nav__btn:focus-visible {
    border-color: rgba(37, 99, 235, 0.35);
    color: #1d4ed8;
    box-shadow: 0 24px 55px -28px rgba(15, 23, 42, 0.4);
    transform: translateY(-1px);
}

.jga-media-list-page-nav__btn:focus {
    outline: none;
}

.jga-media-list-page-nav__btn:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.jga-media-list-page-nav__btn.is-disabled {
    opacity: 0.35;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.jga-media-list-page-nav__icon {
    display: block;
    font-size: 1.125rem;
    line-height: 1;
}

.jga-media-list__load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.75rem;
    padding: 0 24px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 999px;
    background: #fff;
    color: #111827;
    font: inherit;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.2;
    cursor: pointer;
    box-shadow: 0 20px 50px -30px rgba(15, 23, 42, 0.35);
    transition:
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.2s ease;
}

.jga-media-list__load-more:hover,
.jga-media-list__load-more:focus-visible {
    border-color: rgba(37, 99, 235, 0.35);
    color: #1d4ed8;
    box-shadow: 0 24px 55px -28px rgba(15, 23, 42, 0.4);
    transform: translateY(-1px);
}

.jga-media-list__load-more:focus {
    outline: none;
}

.jga-media-list__load-more:focus-visible {
    outline: 2px solid rgba(37, 99, 235, 0.45);
    outline-offset: 2px;
}

.jga-media-hero-cover {
    overflow: hidden;
    border-radius: 28px;
    box-shadow: 0 30px 60px -40px rgba(15, 23, 42, 0.8);
}

.jga-media-hero-cover .wp-block-cover__inner-container {
    padding-inline: 16px;
}

.jga-media-hero-cover__content {
    max-width: 720px;
    margin-inline: auto;
}

.wp-block-table thead {
    border-bottom: none;
}

.wp-block-table tfoot{
    border-top: none;
}

.wp-block-table thead th, .wp-block-table thead td {
    background: #f4f8fd;
}

.jga-tour-transport-table-wrap {
    overflow-x: auto;
    max-width: 100%;
    -webkit-overflow-scrolling: touch;
}

.wp-block-table.jga-tour-transport-table-wrap table.has-fixed-layout {
    table-layout: auto;
    width: max-content;
    min-width: 100%;
}

.wp-block-table.jga-tour-transport-table-wrap table.has-fixed-layout :is(thead, tbody) td:nth-child(1),
.wp-block-table.jga-tour-transport-table-wrap table.has-fixed-layout :is(thead, tbody) td:nth-child(2),
.wp-block-table.jga-tour-transport-table-wrap table.has-fixed-layout :is(thead, tbody) td:nth-child(4) {
    width: 8rem;
    white-space: nowrap;
}

.wp-block-table.jga-tour-transport-table-wrap table.has-fixed-layout tfoot td:last-child {
    white-space: nowrap;
}

.jga-media-tour-grid li:first-child{
    margin-block-start: 1.2rem;
}

/* Featured tour slider (jga/tour-featured) */
.jga-media-tour-featured {
    position: relative;
    margin-bottom: 20px;
}

.jga-media-tour-featured__viewport {
    overflow: hidden;
    border-radius: 24px;
}

.jga-media-tour-featured__track {
    display: flex;
    transition: transform 0.4s ease;
}

.jga-media-tour-featured__slide {
    flex: 0 0 100%;
    min-width: 100%;
}

.jga-media-tour-featured__card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 24px;
    height: 420px;
    background: #0f172a;
}

.jga-media-tour-featured__image-frame {
    position: absolute;
    inset: 0;
}

.jga-media-tour-featured__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.jga-media-tour-featured__avatar-link {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 3;
    display: block;
    width: 64px;
    height: 64px;
    border-radius: 999px;
    -webkit-tap-highlight-color: transparent;
}

.jga-media-tour-featured__avatar-inner {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 10px 20px -14px rgba(15, 23, 42, 0.8);
}

.jga-media-tour-featured__avatar {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    object-fit: cover;
}

.jga-media-tour-featured__overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    color: #fff;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.78) 0%,
        rgba(15, 23, 42, 0.15) 55%,
        transparent 100%
    );
}

.jga-media-tour-featured__guide-label {
    margin: 0 0 6px;
    font-size: 1.25rem;
    opacity: 0.9;
}

.jga-media-tour-featured__title {
    margin: 0 0 8px;
    font-size: clamp(1.4rem, 2.4vw, 2.2rem);
    font-weight: 700;
    line-height: 1.25;
}

.jga-media-tour-featured__date {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.85;
}

.jga-media-tour-featured__stretch-link {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.jga-media-tour-featured__nav {
    position: absolute;
    bottom: 20px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #fff;
    color: #0f172a;
    cursor: pointer;
    box-shadow: 0 6px 18px -6px rgba(15, 23, 42, 0.45);
    transition:
        background 0.18s ease,
        color 0.18s ease,
        transform 0.18s ease;
}

.jga-media-tour-featured__nav:hover {
    background: #0f172a;
    color: #fff;
}

.jga-media-tour-featured__nav:active {
    transform: scale(0.94);
}

.jga-media-tour-featured__nav:focus {
    outline: none;
}

.jga-media-tour-featured__nav:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: 2px;
}

.jga-media-tour-featured__nav-icon {
    display: block;
    width: 20px;
    height: 20px;
}

.jga-media-tour-featured__nav--prev {
    right: 76px;
}

.jga-media-tour-featured__nav--next {
    right: 24px;
}

.jga-media-tour-featured__dots {
    display: none;
}

@media only screen and (min-width: 64rem) {
    .jga-media-tour-featured {
        float: left;
        width: calc(66.66667% - 40px);
        margin: 0 20px 40px;
    }
}

/*
 * Home "featured row": wrap the slider block and the tour list block in one
 * Group and add the CSS class `jga-featured-row` to that Group. This makes both
 * children resolve their percentage widths against the SAME box (the group), so
 * the first row (slider + card #1) and the 3-column grid below stay aligned even
 * under constrained/wide theme layouts.
 */
.jga-featured-row .jga-media-tour-featured,
.jga-featured-row .jga-media-list {
    max-width: none;
}

.jga-featured-row .jga-media-list {
    margin-left: 0;
    margin-right: 0;
}

.single-guide .jga-media-guide-review-grid {
    grid-template-columns: 1fr;
    margin-left: 0;
    margin-right: 0;
}

@media only screen and (min-width: 48rem) {
    .single-guide .jga-media-guide-review-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (min-width: 64rem) {
    .single-guide .jga-media-guide-review-grid {
        grid-template-columns: repeat(3, 1fr);
        margin-left: 20px;
        margin-right: 20px;
    }
}

/*
 * Constrained layout injects `margin-left/right: auto !important` on its direct
 * children, which cancels the slider's gutter (the block sits flush left, out of
 * line with the card grid). Re-assert the 20px gutter with matching importance.
 */
@media only screen and (min-width: 64rem) {
    .jga-featured-row .jga-media-tour-featured {
        margin-right: 20px !important;
        margin-left: 20px !important;
    }
}
