
/* Pages WordPress créées automatiquement : Divi leur appliquerait sinon sa
   mise en page standard avec sidebar. Le rendu Tous Azimuts doit occuper la
   même largeur que les anciennes pages Divi déjà validées. */
.rs-ta-page-automatic #main-content .container {
    width: 100% !important;
    max-width: none !important;
    padding-top: 0 !important;
}
.rs-ta-page-automatic #main-content .container::before {
    display: none !important;
}
.rs-ta-page-automatic #left-area {
    float: none !important;
    width: 100% !important;
    padding-right: 0 !important;
}
.rs-ta-page-automatic #sidebar {
    display: none !important;
}
.rs-ta-page-automatic article.page {
    margin-bottom: 0 !important;
}
.rs-ta-page-automatic article.page > .entry-title,
.rs-ta-page-automatic .et_post_meta_wrapper {
    display: none !important;
}
.rs-ta-page-automatic .entry-content {
    width: 100% !important;
}

.rs-ta-rando {
    --ta-dark: #1f2933;
    --ta-muted: #66717b;
    --ta-border: #e0e5e9;
    --ta-blue: #1d5f8a;
    width: min(1480px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0 52px;
    color: var(--ta-dark);
}

.rs-ta-rando *,
.rs-ta-rando *::before,
.rs-ta-rando *::after { box-sizing: border-box; }

.rs-ta-rando-header { text-align: center; margin: 0 0 20px; }
.rs-ta-rando-header h1 {
    margin: 0;
    color: #62686d;
    font-family: "Open Sans", "Arial Narrow", Arial, sans-serif;
    font-stretch: 75%;
    font-size: clamp(38px, 4vw, 60px);
    font-weight: 300;
    line-height: 1.08;
}

/* La photo principale occupe réellement toute la largeur utile :
   pas de fond gris ni d'ombre sur un conteneur plus large que l'image. */
.rs-ta-rando-hero {
    margin: 0;
    background: transparent;
    overflow: visible;
}
.rs-ta-rando-hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: none;
    max-height: none;
    margin: 0 auto;
    object-fit: contain;
    box-shadow: 0 8px 26px rgba(22,32,39,.20);
}
.rs-ta-rando-date {
    margin: 12px 0 22px;
    text-align: center;
    color: #656d73;
    font-size: 15px;
}

/* Navigation discrète entre les jours d'une ancienne page multi-randonnées. */
.rs-ta-series {
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    margin:-5px 0 18px;
    padding:10px 13px;
    border:1px solid #e4e8eb;
    border-radius:7px;
    background:#fbfcfc;
    color:#58636b;
    font-size:13.5px;
    line-height:1.35;
}
.rs-ta-series-summary {
    display:flex;
    align-items:baseline;
    flex-wrap:wrap;
    gap:6px 10px;
    min-width:0;
}
.rs-ta-series-base {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
}
.rs-ta-series-summary strong { color:#2d373e; font-weight:600; white-space:nowrap; }
.rs-ta-series-links { display:flex; flex-wrap:wrap; gap:6px; justify-content:flex-end; }
.rs-ta-series-link {
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:30px;
    padding:4px 9px;
    border:1px solid #cfd8de;
    border-radius:5px;
    background:#fff;
    color:#315d76 !important;
    text-decoration:none !important;
    font-weight:600;
}
.rs-ta-series-link:hover,
.rs-ta-series-link:focus-visible { border-color:#8fb5ca; background:#f1f7fa; outline:none; }
.rs-ta-series-link.is-current {
    border-color:#8fb5ca;
    background:#eaf4f9;
    color:#1d526f !important;
    cursor:default;
}

.rs-ta-kpi-grid {
    display: grid;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 7px;
    margin: 0 0 30px;
}
.rs-ta-kpi {
    display: flex;
    align-items: center;
    min-width: 0;
    min-height: 66px;
    padding: 9px;
    border: 1px solid var(--ta-border);
    border-radius: 7px;
    background: #fafbfc;
    color: #202830 !important;
    text-decoration: none !important;
    text-align: left;
}
button.rs-ta-kpi {
    width: 100%;
    margin: 0;
    appearance: none;
    font: inherit;
    cursor: pointer;
}
.rs-ta-kpi-icon {
    display: inline-flex;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    margin-right: 7px;
    align-items: center;
    justify-content: center;
    color: #52616d;
}
.rs-ta-kpi-icon svg {
    display: block;
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.2;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}
.rs-ta-kpi-text, .rs-ta-kpi-label, .rs-ta-kpi-value { display:block; min-width:0; }
.rs-ta-kpi-label { margin-bottom:3px; color:#68727c; font-size:11px; line-height:1.12; }
.rs-ta-kpi-value { color:#202830; font-size:14px; line-height:1.18; overflow-wrap:anywhere; }

.rs-ta-kpi-cotation-yellow { border-color:#e4c13f; background:#fffaf0; }
.rs-ta-kpi-cotation-red { border-color:#e6a0a4; background:#fff8f8; }
.rs-ta-kpi-cotation-blue { border-color:#9dbce1; background:#f7faff; }
.rs-ta-kpi-cotation-yellow .rs-ta-kpi-value { color:#6f5600; }
.rs-ta-kpi-cotation-red .rs-ta-kpi-value { color:#8f1f28; }
.rs-ta-kpi-cotation-blue .rs-ta-kpi-value { color:#1e4f8f; }

.rs-ta-kpi-label { position:relative; }
.rs-ta-kpi-help {
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:17px;
    height:17px;
    margin-left:3px;
    padding:0;
    border:1px solid #aab5ad;
    border-radius:999px;
    background:#fff;
    color:#526158;
    font:inherit;
    font-size:11px;
    font-weight:800;
    line-height:1;
    cursor:help;
    vertical-align:middle;
}
.rs-ta-kpi-help-tooltip {
    position:absolute;
    z-index:30;
    left:50%;
    bottom:calc(100% + 8px);
    width:min(320px, calc(100vw - 42px));
    padding:9px 11px;
    border:1px solid #d8e1da;
    border-radius:8px;
    background:#fff;
    color:#1f2933;
    box-shadow:0 8px 22px rgba(31,55,39,.15);
    font-size:12px;
    font-weight:500;
    line-height:1.4;
    text-transform:none;
    letter-spacing:normal;
    opacity:0;
    visibility:hidden;
    transform:translate(-50%,4px);
    transition:opacity .12s ease, transform .12s ease, visibility .12s ease;
    pointer-events:none;
}
.rs-ta-kpi-help:hover .rs-ta-kpi-help-tooltip,
.rs-ta-kpi-help:focus-visible .rs-ta-kpi-help-tooltip,
.rs-ta-kpi-help:focus .rs-ta-kpi-help-tooltip {
    opacity:1;
    visibility:visible;
    transform:translate(-50%,0);
}
.rs-ta-kpi-grid > .rs-ta-kpi:first-child .rs-ta-kpi-help-tooltip {
    left:0;
    transform:translate(0,4px);
}
.rs-ta-kpi-grid > .rs-ta-kpi:first-child .rs-ta-kpi-help:hover .rs-ta-kpi-help-tooltip,
.rs-ta-kpi-grid > .rs-ta-kpi:first-child .rs-ta-kpi-help:focus-visible .rs-ta-kpi-help-tooltip,
.rs-ta-kpi-grid > .rs-ta-kpi:first-child .rs-ta-kpi-help:focus .rs-ta-kpi-help-tooltip {
    transform:translate(0,0);
}
.rs-ta-kpi-action {
    border-color:#b9cfdd;
    background:#f4f9fc;
    cursor:pointer;
    transition:border-color .18s ease, background-color .18s ease, transform .18s ease;
}
.rs-ta-kpi-action:hover, .rs-ta-kpi-action:focus-visible {
    border-color:var(--ta-blue);
    background:#eaf4fa;
    transform:translateY(-1px);
    outline:none;
}
.rs-ta-kpi-action .rs-ta-kpi-icon { color:var(--ta-blue); }
.rs-ta-kpi-disabled { opacity:.62; }

.rs-ta-rando-description {
    margin: 0 0 38px;
    padding: 0 3px;
    font-size: 17.5px;
    line-height: 1.82;
    color: #3e474e;
}
.rs-ta-rando-description p { margin:0 0 1.15em; }
.rs-ta-rando-description p:last-child { margin-bottom:0; }

.rs-ta-unmarked {
    display:inline-flex;
    align-items:center;
    gap:7px;
    margin:-12px 0 26px 3px;
    padding:7px 11px;
    border:1px solid #ead69b;
    border-radius:6px;
    background:#fff8df;
    color:#745b13;
    font-size:14.5px;
    line-height:1.25;
}

.rs-ta-videos { margin:0 0 34px; }
.rs-ta-videos-grid {
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:22px;
}
.rs-ta-video {
    position:relative;
    aspect-ratio:16 / 9;
    overflow:hidden;
    background:#111;
}
.rs-ta-video iframe,
.rs-ta-video video {
    display:block;
    width:100% !important;
    height:100% !important;
    border:0;
    object-fit:contain;
}
.rs-ta-video-external {
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:160px;
    background:#f5f7f8;
    border:1px solid var(--ta-border);
}
.rs-ta-video-external a {
    color:var(--ta-blue);
    font-weight:600;
}
.rs-ta-videos-grid > .rs-ta-video:only-child { grid-column:1 / -1; }

/* Reportage photographique : masonry sans recadrage.
   Le JS calcule uniquement la hauteur de grille ; l'ordre HTML reste inchangé. */
.rs-ta-reportage { margin-top: 8px; }
.rs-ta-reportage-grid {
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    grid-auto-rows:8px;
    column-gap:22px;
    row-gap:8px;
    align-items:start;
}
.rs-ta-reportage-item {
    min-width:0;
    margin:0;
    background:#fff;
}
.rs-ta-reportage-photo {
    display:block;
    width:100%;
    margin:0;
    padding:0;
    border:0;
    background:#eef1f3;
    cursor:zoom-in;
    appearance:none;
    box-shadow:0 3px 12px rgba(0,0,0,.08);
    overflow:hidden;
}
.rs-ta-reportage-photo img {
    display:block;
    width:100%;
    height:auto;
    max-width:100%;
    transition:transform .2s ease, filter .2s ease;
}
/* Les portraits restent intacts dans la lightbox. Dans la grille uniquement,
   un léger recadrage vertical (env. 7 % en haut et en bas) limite les grands
   décalages du masonry sans modifier la largeur de la photo. */
.rs-ta-reportage-photo--portrait img {
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
}
.rs-ta-reportage-photo:hover img,
.rs-ta-reportage-photo:focus-visible img { transform:scale(1.008); filter:brightness(.985); }
.rs-ta-reportage-photo:focus-visible { outline:3px solid rgba(29,95,138,.35); outline-offset:3px; }
.rs-ta-reportage-caption {
    padding:9px 2px 0;
    color:#464d52;
    font-size:14.5px;
    line-height:1.52;
}
.rs-ta-reportage-caption p { margin:0; }
.rs-ta-reportage-caption-text {
    display:-webkit-box;
    margin:0;
    overflow:hidden;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    line-clamp:2;
    max-height:3.04em;
}

.rs-ta-rando-warning, .rs-ta-rando-error {
    padding:14px 16px;
    border:1px solid #d8dde3;
    background:#fafbfc;
    color:#4b555d;
}
.rs-ta-rando-error { border-color:#d7a7a7; background:#fff3f3; color:#842029; }

/* Lightbox photo + description complète. */
.rs-ta-lightbox[hidden], .rs-ta-weather[hidden] { display:none !important; }
.rs-ta-lightbox, .rs-ta-weather {
    position:fixed;
    z-index:1000000200;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:14px;
}
.rs-ta-lightbox-backdrop, .rs-ta-weather-backdrop {
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.92);
}
.rs-ta-lightbox-dialog {
    position:relative;
    z-index:1;
    display:grid;
    grid-template-rows:minmax(0,1fr) auto;
    width:100%;
    height:100%;
    color:#fff;
}
.rs-ta-lightbox-image-wrap {
    display:flex;
    min-height:0;
    align-items:center;
    justify-content:center;
    padding:8px 70px 0;
}
.rs-ta-lightbox-image-wrap img {
    display:block;
    max-width:100%;
    max-height:100%;
    object-fit:contain;
}
.rs-ta-lightbox-info {
    width:min(1060px, 92vw);
    max-height:22vh;
    margin:8px auto 0;
    overflow:auto;
    text-align:center;
}
.rs-ta-lightbox-counter { margin-bottom:5px; font-size:14px; font-weight:700; opacity:.82; }
.rs-ta-lightbox-caption { font-size:17px; line-height:1.45; }
.rs-ta-lightbox-caption p { margin:0 0 .65em; }
.rs-ta-lightbox-caption p:last-child { margin-bottom:0; }
.rs-ta-lightbox-close, .rs-ta-lightbox-fullscreen, .rs-ta-lightbox-nav, .rs-ta-lightbox-play {
    position:absolute;
    z-index:3;
    border:0;
    color:#fff;
    cursor:pointer;
}
.rs-ta-lightbox-close {
    top:8px;
    right:10px;
    width:48px;
    height:48px;
    border-radius:5px;
    background:rgba(0,0,0,.34);
    font-size:42px;
    line-height:1;
}
.rs-ta-lightbox-fullscreen {
    display:none;
    position:absolute;
    z-index:3;
    top:8px;
    left:10px;
}
.rs-ta-lightbox-controls {
    display:block;
}
.rs-ta-lightbox-play {
    display:none;
}
.rs-ta-lightbox-nav {
    top:50%;
    width:62px;
    height:86px;
    padding:0;
    transform:translateY(-50%);
    background:transparent;
    font-size:54px;
    opacity:.58;
}
.rs-ta-lightbox-nav:hover, .rs-ta-lightbox-nav:focus-visible { opacity:1; outline:none; }
.rs-ta-lightbox-prev { left:4px; }
.rs-ta-lightbox-next { right:4px; }
body.rs-ta-modal-open { overflow:hidden; }

/* Météo : même principe de lightbox que les pages Randosuisse. */
.rs-ta-weather-modal {
    position:relative;
    z-index:1;
    width:min(430px, calc(100vw - 24px));
    height:min(550px, calc(100vh - 24px));
    overflow:hidden;
    border-radius:10px;
    background:#fff;
    box-shadow:0 18px 65px rgba(0,0,0,.35);
}
.rs-ta-weather-close {
    position:absolute;
    z-index:2;
    top:5px;
    right:10px;
    width:38px;
    height:38px;
    padding:0;
    border:0;
    background:transparent;
    color:#333;
    font-size:34px;
    line-height:1;
    cursor:pointer;
}
.rs-ta-weather-modal iframe { display:block; width:100%; height:100%; border:0; }

@media (max-width:1350px) {
    .rs-ta-rando { width:min(1360px, calc(100% - 30px)); }
    .rs-ta-kpi-grid { grid-template-columns:repeat(5, minmax(0,1fr)); }
    .rs-ta-kpi-value { font-size:15px; }
}
@media (max-width:1000px) {
    .rs-ta-reportage-grid { grid-template-columns:repeat(2, minmax(0,1fr)); }
    .rs-ta-videos-grid { grid-template-columns:1fr; }
}
@media (max-width:650px) {
    .rs-ta-rando { width:min(100% - 20px, 1360px); padding-top:8px; }
    .rs-ta-rando-header h1 { font-size:clamp(34px, 10vw, 46px); font-weight:300; }
    .rs-ta-rando-date { margin:11px 0 18px; }
    .rs-ta-series { align-items:flex-start; flex-direction:column; margin-top:-3px; padding:10px; }
    .rs-ta-series-base { white-space:normal; }
    .rs-ta-series-links { width:100%; justify-content:flex-start; }
    .rs-ta-kpi-grid { grid-template-columns:repeat(2, minmax(0,1fr)); gap:7px; }
    .rs-ta-kpi { min-height:63px; padding:9px; }
    .rs-ta-kpi-icon { flex-basis:27px; width:27px; height:27px; margin-right:6px; }
    .rs-ta-kpi-icon svg { width:23px; height:23px; }
    .rs-ta-kpi-value { font-size:14px; }
    .rs-ta-kpi { position:relative; }
    .rs-ta-kpi-label, .rs-ta-kpi-help { position:static; }
    .rs-ta-kpi-help-tooltip { width:min(300px, calc(100vw - 40px)); max-width:calc(100vw - 40px); }
    .rs-ta-kpi-grid > .rs-ta-kpi:nth-child(odd) .rs-ta-kpi-help-tooltip { left:0; right:auto; transform:translate(0,4px); }
    .rs-ta-kpi-grid > .rs-ta-kpi:nth-child(even) .rs-ta-kpi-help-tooltip { left:auto; right:0; transform:translate(0,4px); }
    .rs-ta-kpi-grid > .rs-ta-kpi:nth-child(odd) .rs-ta-kpi-help:hover .rs-ta-kpi-help-tooltip,
    .rs-ta-kpi-grid > .rs-ta-kpi:nth-child(odd) .rs-ta-kpi-help:focus-visible .rs-ta-kpi-help-tooltip,
    .rs-ta-kpi-grid > .rs-ta-kpi:nth-child(odd) .rs-ta-kpi-help:focus .rs-ta-kpi-help-tooltip,
    .rs-ta-kpi-grid > .rs-ta-kpi:nth-child(even) .rs-ta-kpi-help:hover .rs-ta-kpi-help-tooltip,
    .rs-ta-kpi-grid > .rs-ta-kpi:nth-child(even) .rs-ta-kpi-help:focus-visible .rs-ta-kpi-help-tooltip,
    .rs-ta-kpi-grid > .rs-ta-kpi:nth-child(even) .rs-ta-kpi-help:focus .rs-ta-kpi-help-tooltip { transform:translate(0,0); }
    .rs-ta-rando-description { font-size:16.5px; line-height:1.76; }
    .rs-ta-reportage-grid { grid-template-columns:1fr; column-gap:0; }
    .rs-ta-reportage-photo--portrait { aspect-ratio:auto !important; }
    .rs-ta-reportage-photo--portrait img { height:auto; object-fit:contain; }
    .rs-ta-reportage-caption { font-size:15px; line-height:1.54; }
    .rs-ta-reportage-caption-text { max-height:3.08em; }
    .rs-ta-lightbox { padding:0; }
    .rs-ta-lightbox-caption { font-size:16px; }
}

/* v0.4.9 : le corps automatique est désormais rendu par un modèle dédié,
   comme pour les pages automatiques Randosuisse. */
.rs-ta-automatic-main {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* v0.5.6 — Lightbox smartphone : légende tactile + comportement v0.5.5.
   - aucune bande noire réservée sous la photo ;
   - texte superposé au bas de l'image, avec défilement propre s'il est long ;
   - grandes flèches masquées au profit du balayage tactile ;
   - panoramas très larges déplacés automatiquement et manuellement ;
   - l'affichage ordinateur historique reste inchangé. */
@media (max-width:700px),
       ((hover:none) and (pointer:coarse) and (max-height:600px)) {
    .rs-ta-lightbox {
        padding:0;
    }

    .rs-ta-lightbox-dialog {
        display:flex;
        flex-direction:column;
        width:100vw;
        height:100vh;
        height:100dvh;
    }

    .rs-ta-lightbox-image-wrap {
        position:relative;
        display:flex;
        flex:1 1 auto;
        min-height:0;
        align-items:center;
        justify-content:center;
        padding:0;
        overflow:hidden;
        touch-action:none;
    }

    .rs-ta-lightbox-image-wrap img {
        display:block;
        max-width:100%;
        max-height:100%;
        object-fit:contain;
        transform-origin:center center;
        will-change:transform;
        transition:transform .08s linear;
        user-select:none;
        -webkit-user-drag:none;
    }

    .rs-ta-lightbox-nav {
        display:none;
    }

    .rs-ta-lightbox-close,
    .rs-ta-lightbox-fullscreen {
        display:block;
        position:absolute;
        z-index:6;
        top:calc(10px + env(safe-area-inset-top, 0px));
        width:38px;
        min-width:38px;
        height:38px;
        padding:0;
        border:0;
        border-radius:50%;
        background:rgba(0,0,0,.48);
        color:#fff;
        box-shadow:0 2px 10px rgba(0,0,0,.20);
        -webkit-backdrop-filter:blur(5px);
        backdrop-filter:blur(5px);
    }

    .rs-ta-lightbox-close {
        right:calc(10px + env(safe-area-inset-right, 0px));
        font-size:34px;
        line-height:36px;
    }

    .rs-ta-lightbox-fullscreen {
        left:calc(10px + env(safe-area-inset-left, 0px));
        font-size:20px;
        line-height:38px;
    }

    /* display:contents empêche la zone d'information de réserver de la hauteur. */
    .rs-ta-lightbox-info {
        display:contents;
    }

    .rs-ta-lightbox-controls {
        position:absolute;
        z-index:6;
        left:50%;
        bottom:calc(var(--rs-ta-mobile-overlay-bottom, 10px) + env(safe-area-inset-bottom, 0px));
        display:flex;
        align-items:center;
        justify-content:center;
        transform:translateX(-50%);
        width:max-content;
        max-width:calc(100vw - 28px);
        gap:7px;
        padding:5px 11px;
        border-radius:999px;
        background:rgba(0,0,0,.54);
        box-shadow:0 2px 12px rgba(0,0,0,.24);
        -webkit-backdrop-filter:blur(6px);
        backdrop-filter:blur(6px);
    }

    .rs-ta-lightbox-play {
        display:block;
        position:static;
        width:26px;
        height:26px;
        padding:0;
        border:0;
        border-radius:50%;
        background:transparent;
        color:#fff;
        font-size:14px;
        line-height:26px;
    }

    .rs-ta-lightbox-counter {
        margin:0;
        font-size:14px;
        font-weight:700;
        line-height:1;
        white-space:nowrap;
        opacity:1;
    }

    /* La légende reste entièrement indépendante de la taille de la photo :
       même un texte long recouvre le bas de l'image au lieu de la pousser
       vers le haut. Il devient défilable si nécessaire. */
    .rs-ta-lightbox-caption {
        position:absolute;
        z-index:5;
        left:50%;
        bottom:calc(var(--rs-ta-mobile-overlay-bottom, 10px) + 43px + env(safe-area-inset-bottom, 0px));
        transform:translateX(-50%);
        width:min(92vw, 900px);
        max-height:min(28vh, 210px);
        min-height:0;
        margin:0;
        padding:8px 11px;
        overflow:auto;
        overscroll-behavior:contain;
        border-radius:9px;
        background:rgba(0,0,0,.48);
        color:#fff;
        font-size:14px;
        line-height:1.38;
        text-align:left;
        text-shadow:0 1px 2px rgba(0,0,0,.50);
        box-sizing:border-box;
        opacity:1;
        visibility:visible;
        transition:opacity .18s ease, transform .18s ease, visibility 0s linear 0s;
        -webkit-backdrop-filter:blur(5px);
        backdrop-filter:blur(5px);
    }

    /* Un tap bref sur la photo masque la légende après lecture ;
       un second tap la réaffiche. La classe n'agit qu'en présentation mobile. */
    .rs-ta-lightbox-caption.rs-ta-caption-hidden {
        opacity:0;
        visibility:hidden;
        pointer-events:none;
        transform:translate(-50%, 8px);
        transition:opacity .18s ease, transform .18s ease, visibility 0s linear .18s;
    }

    .rs-ta-lightbox-caption p {
        margin:0 0 .55em;
    }
    .rs-ta-lightbox-caption p:last-child {
        margin-bottom:0;
    }
    .rs-ta-lightbox-caption:empty {
        display:none;
    }

    .rs-ta-lightbox-image-wrap.rs-ta-lightbox-panorama {
        cursor:ew-resize;
    }
    .rs-ta-lightbox-image-wrap.rs-ta-lightbox-panorama img {
        width:auto;
        height:100%;
        max-width:none;
        max-height:100%;
        object-fit:contain;
    }
}

