/* ===== RESPONSIVE TRAVEL ITINERARY – CLEAN MODERN DESIGN ===== */
@import url('https://fonts.googleapis.com/css2?family=K2D:wght@300;500;700&family=Niramit:wght@300;400;700&display=swap');

/* ===== CRITICAL: Force border-box on ALL elements inside wrapper for Elementor compatibility ===== */
.rti-light-wrapper,
.rti-light-wrapper *,
.rti-light-wrapper *::before,
.rti-light-wrapper *::after {
    box-sizing: border-box !important;
}

.rti-light-wrapper {
    max-width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
    font-family: 'Niramit', sans-serif;
    background: #fff;
    color: #333;
    line-height: 1.8;
    overflow-x: hidden;
    width: 100%;
}

/* Header */
.rti-header {
    text-align: left;
    margin: 0 0 2rem;
}
.rti-header h1 {
    font-family: 'K2D', sans-serif;
    font-size: 3.2rem;
    margin: 0 0 0.5rem;
    color: #222;
    font-weight: 700;
}
.rti-location {
    font-size: 1.4rem;
    color: #e74c3c;
    margin: 0;
    font-weight: 500;
}
.rti-location i {
    margin-right: 10px;
    font-size: 1.3em;
}

/* Hero */
.rti-hero {
    height: 70vh;
    min-height: 500px;
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.7)), #333 center/cover no-repeat;
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    background-size: cover !important;
    overflow: hidden;
    width: 100%;
}
.rti-badge {
    position: absolute;
    top: 30px;
    right: 30px;
    background: #e74c3c;
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: 1.5px;
    box-shadow: 0 10px 30px rgba(231,76,60,0.4);
}

/* Day Blocks – Oval Day Number */
.rti-day-block {
    background: white;
    padding: 28px 32px;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    overflow: hidden;
    width: 100%;
}
.rti-day-heading {
    display: flex;
    align-items: center;
    gap: 18px;
    margin: 0 0 1.4rem;
    flex-wrap: wrap;
}
.rti-day-oval {
    background: #e74c3c;
    color: white;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: bold;
    font-size: 1.1rem;
    min-width: 90px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(231,76,60,0.3);
}
.rti-day-heading h3 {
    margin: 0;
    font-size: 1.55rem;
    color: #222;
    font-weight: 600;
}
.rti-day-content {
    font-size: 1.1rem;
    color: #444;
    line-height: 1.8;
}

/* About Card */
.rti-about-card {
    background: #ffffff;
    padding: 2.4rem;
    border-radius: 16px;
    font-size: 1.12rem;
    line-height: 1.9;
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
    border: 1px solid #eee;
    overflow: hidden;
    width: 100%;
}

/* Grid */
.rti-grid {
    display: grid;
    gap: 3rem;
    margin-top: 4rem;
    width: 100%;
}
@media (min-width: 768px) {
    .rti-grid { grid-template-columns: 1fr 1fr; }
}
.rti-icon-list {
    list-style: none;
    padding: 1.8rem;
    margin: 0;
    background: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}
.rti-icon-list li {
    padding: 0.9rem 0;
    font-size: 1.12rem;
    display: flex;
    align-items: center;
}
.rti-icon-list.inclusion i { color: #27ae60; margin-right: 14px; font-size: 1.4em; }
.rti-icon-list.exclusion i { color: #e74c3c; margin-right: 14px; font-size: 1.4em; }

/* Back Button */
.rti-back-center { text-align: center; margin: 5rem 0 2rem; }
.rti-back-btn {
    background: #e74c3c;
    color: white;
    padding: 16px 50px;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 12px 35px rgba(231,76,60,0.4);
    transition: all 0.3s;
    display: inline-block;
    
}


.rti-back-btn:hover {
    transform: translateY(-5px);
    background: #c0392b;
}
.rti-back-btn i { margin-right: 10px; }

/* Responsive */
@media (max-width: 768px) {
    .rti-header h1 { font-size: 2.6rem; }
    .rti-hero { height: 55vh; min-height: 400px; }
    .rti-day-heading { flex-direction: column; align-items: flex-start; }
    .rti-day-oval { font-size: 1rem; padding: 6px 16px; }
}