/* ==========================================================================
   Rhodes Adventures - Adventures & Tours Overview Archive Styling
   ========================================================================== */

.ra-tours-archive-page {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e293b;
    overflow-x: hidden;
}

/* ==========================================================================
   ARCHIVE HERO - Pure Black 100% Edge-to-Edge with 60px Diagonal Tilt
   ========================================================================== */

.ra-tours-hero {
    background-color: transparent;
    width: 100% !important;
    padding: 40px 0 !important;
    color: #ffffff;
    position: relative;
    box-sizing: border-box;
}

@media (max-width: 767px) {
    .ra-tours-hero {
        padding: 30px 0 !important;
    }
}

.ra-tours-hero-container,
.elementor-section.ra-tours-hero > .elementor-container {
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

@media (max-width: 1199px) {
    .ra-tours-hero-container,
    .elementor-section.ra-tours-hero > .elementor-container {
        padding: 0 24px !important;
    }
}

/* Top Bar: Breadcrumbs & Angled Badge */
.ra-tours-top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.ra-tours-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #94a3b8;
}

.ra-tours-breadcrumbs a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ra-tours-breadcrumbs a:hover {
    color: #f7941d;
}

.ra-tours-breadcrumbs .ra-sep {
    color: #64748b;
}

.ra-tours-breadcrumbs .ra-current {
    color: #f7941d;
}

.ra-hero-badge {
    display: inline-block;
    background: #f7941d;
    color: #07192f;
    font-size: 11.5px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 7px 22px;
    transform: skewX(-14deg);
    box-shadow: 0 4px 12px rgba(247, 148, 29, 0.35);
}

.ra-hero-badge span {
    display: inline-block;
    transform: skewX(14deg);
}

/* Hero Content */
.ra-tours-hero-content {
    max-width: 900px;
    margin: 0 0 32px 0;
}

.ra-tours-kicker,
.ra-tours-kicker .elementor-heading-title {
    display: block !important;
    color: #f7941d !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin-bottom: 12px !important;
}

.ra-tours-hero-title,
.ra-tours-hero-title .elementor-heading-title {
    font-size: clamp(36px, 5vw, 62px) !important;
    font-weight: 900 !important;
    line-height: 1.05 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    color: #ffffff !important;
    margin: 0 0 20px 0 !important;
}

.ra-tours-hero-desc,
.ra-tours-desc-wrap p {
    font-size: clamp(16px, 1.8vw, 19px) !important;
    line-height: 1.6 !important;
    color: #cbd5e1 !important;
    margin: 0 0 28px 0 !important;
    max-width: 780px !important;
}

/* Reassurance Strip in Hero */
.ra-hero-trust-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.ra-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    color: #e2e8f0;
}

.ra-hero-chip a {
    color: #ffb703;
    text-decoration: none;
}

.ra-hero-chip a:hover {
    text-decoration: underline;
}

/* ==========================================================================
   CONTENT AREA - White Background & Cards Grid
   ========================================================================== */

.ra-tours-main {
    max-width: 1170px !important;
    margin: 0 auto !important;
    padding: 20px 0 100px !important;
    box-sizing: border-box !important;
}

@media (max-width: 1199px) {
    .ra-tours-main {
        padding: 20px 24px 100px !important;
    }
}

/* Category Filter Bar */
.ra-tours-filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 48px auto 48px auto !important;
    position: relative;
    z-index: 5;
    background: #141414 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 6px;
    padding: 16px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.ra-filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 12.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.ra-filter-btn:hover,
.ra-filter-btn.is-active {
    background: #f7941d;
    border-color: #f7941d;
    color: #07192f;
}

/* Tours Grid */
.ra-tours-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

@media (max-width: 991px) {
    .ra-tours-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }
}

/* Individual Tour Card */
.ra-tour-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.ra-tour-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
    border-color: #cbd5e1;
}

/* Card Media */
.ra-tour-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #111111 !important;
}

.ra-tour-card-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.ra-tour-card:hover .ra-tour-card-img {
    transform: scale(1.05);
}

.ra-tour-card-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: #f7941d;
    color: #07192f;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 5px 14px;
    transform: skewX(-12deg);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 2;
}

.ra-tour-card-badge span {
    display: inline-block;
    transform: skewX(12deg);
}

/* Card Body */
.ra-tour-card-body {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.ra-tour-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.ra-tour-card-rating .ra-stars {
    color: #ffb703;
    letter-spacing: 1px;
    font-size: 14px;
}

.ra-tour-card-title {
    font-size: 24px;
    font-weight: 900;
    color: #0b2545;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
    margin: 0 0 12px 0;
}

.ra-tour-card-title a {
    color: #0b2545;
    text-decoration: none;
    transition: color 0.2s ease;
}

.ra-tour-card-title a:hover {
    color: #f7941d;
}

.ra-tour-card-desc {
    font-size: 14.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0 0 18px 0;
    flex-grow: 1;
}

/* Specs Pills inside card */
.ra-tour-card-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.ra-card-spec-pill {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 700;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Card Footer: Price & Dual Buttons */
.ra-tour-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ra-tour-card-price {
    display: flex;
    flex-direction: column;
}

.ra-card-price-amount {
    font-size: 22px;
    font-weight: 900;
    color: #f7941d;
    line-height: 1;
}

.ra-card-price-unit {
    font-size: 11.5px;
    color: #64748b;
    font-weight: 600;
    margin-top: 2px;
}

.ra-tour-card-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ra-btn-explore {
    display: inline-block;
    padding: 10px 18px;
    border: 1.5px solid #0b2545;
    color: #0b2545;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.ra-btn-explore:hover {
    background: #0b2545;
    color: #ffffff;
}

/* Primary Details-Only Button when Book Now / Enquire is disabled */
.ra-tour-card-actions.has-details-only .ra-btn-explore.ra-btn-details-primary {
    background: #0b2545;
    color: #ffffff !important;
    border-color: #0b2545;
    padding: 10px 24px;
    font-weight: 900;
    box-shadow: 0 4px 12px rgba(11, 37, 69, 0.15);
}

.ra-tour-card-actions.has-details-only .ra-btn-explore.ra-btn-details-primary:hover {
    background: #f7941d;
    border-color: #f7941d;
    color: #07192f !important;
    box-shadow: 0 6px 16px rgba(247, 148, 29, 0.3);
}

.ra-btn-card-book {
    display: inline-block;
    padding: 10px 20px;
    background: #f7941d;
    color: #07192f !important;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transform: skewX(-10deg);
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(247, 148, 29, 0.3);
    transition: all 0.2s ease;
}

.ra-btn-card-book span {
    display: inline-block;
    transform: skewX(10deg);
}

.ra-btn-card-book:hover {
    background: #e67e22;
    transform: skewX(-10deg) translateY(-2px);
    box-shadow: 0 6px 14px rgba(230, 126, 34, 0.4);
}

/* ==========================================================================
   WHY BOOK WITH US (Trust Grid)
   ========================================================================== */

.ra-why-us-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 48px 36px;
    margin-bottom: 80px;
}

.ra-why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 36px;
}

@media (max-width: 991px) {
    .ra-why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 575px) {
    .ra-why-us-grid {
        grid-template-columns: 1fr;
    }
}

.ra-why-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ra-why-icon {
    font-size: 28px;
    color: #f7941d;
    margin-bottom: 4px;
}

.ra-why-item h4 {
    font-size: 16px;
    font-weight: 800;
    color: #0b2545;
    margin: 0;
}

.ra-why-item p {
    font-size: 13.5px;
    line-height: 1.6;
    color: #64748b;
    margin: 0;
}

/* ==========================================================================
   LARGE GROUP / CUSTOM PRIVATE TOURS BANNER
   ========================================================================== */

.ra-private-banner {
    background: linear-gradient(135deg, #121212 0%, #1c1c1c 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px;
    padding: 48px;
    color: #ffffff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.ra-private-text h3 {
    font-size: 26px;
    font-weight: 900;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0 0 10px 0;
}

.ra-private-text p {
    font-size: 15px;
    line-height: 1.6;
    color: #cbd5e1;
    margin: 0;
    max-width: 680px;
}

.ra-btn-private-contact {
    display: inline-block;
    padding: 16px 32px;
    background: #f7941d;
    color: #07192f !important;
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transform: skewX(-12deg);
    border: none;
    box-shadow: 0 6px 18px rgba(247, 148, 29, 0.35);
    transition: all 0.25s ease;
    white-space: nowrap;
}

.ra-btn-private-contact span {
    display: inline-block;
    transform: skewX(12deg);
}

.ra-btn-private-contact:hover {
    background: #e67e22;
    transform: skewX(-12deg) translateY(-2px);
    box-shadow: 0 10px 24px rgba(230, 126, 34, 0.45);
}
