.elementor-346 .elementor-element.elementor-element-816c1f6{--display:flex;}.elementor-346 .elementor-element.elementor-element-d4873e6{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + -90px) 0px;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-d4873e6 *//* --- Terms & Conditions Layout --- */
.mgt-legal-page {
    width: 100vw;
    height: 100vh;
    margin-left: calc(-50vw + 50%);
    background-color: #1a0f0a;
    overflow: hidden;
}

.mgt-legal-wrapper {
    display: flex;
    width: 100%;
    height: 100%;
}

/* --- Fixed Sidebar (Left) --- */
.mgt-legal-sidebar {
    flex: 0 0 40%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
}

.mgt-sidebar-bg-tos {
    position: absolute;
    inset: 0;
    /* Ancient Kasbah Image */
    background-image: url('https://moroccoglamourtours.dreamhosters.com/wp-content/uploads/2026/03/IMG_6934.JPG'); 
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.mgt-sidebar-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(26, 15, 10, 0.7), rgba(26, 15, 10, 0.95));
    z-index: 2;
}

.mgt-sidebar-content {
    position: relative;
    z-index: 3;
    color: #F5E6D3;
}

.mgt-legal-tag {
    text-transform: uppercase;
    letter-spacing: 5px;
    color: #B35328;
    font-weight: 700;
    font-size: 0.8rem;
}

.mgt-legal-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 4rem;
    line-height: 1.1;
    margin: 20px 0;
}

.mgt-gold { color: #D9A05B; }

.mgt-legal-divider {
    width: 60px;
    height: 1px;
    background: #D9A05B;
    margin-bottom: 30px;
}

.mgt-legal-intro {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.8;
    max-width: 380px;
}

.mgt-last-updated {
    margin-top: 40px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
}

/* --- Scrollable Content (Right) --- */
.mgt-legal-content {
    flex: 0 0 60%;
    background-color: #F5E6D3; /* Sand Cream */
    padding: 100px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: #D9A05B #F5E6D3;
}

.mgt-legal-scroll {
    max-width: 650px;
}

.mgt-legal-item {
    margin-bottom: 60px;
}

.mgt-legal-item h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #1a0f0a;
    margin-bottom: 20px;
    border-left: 3px solid #B35328;
    padding-left: 20px;
}

.mgt-legal-item p, .mgt-legal-item li {
    font-family: 'Playfair Display', serif;
    color: #1a0f0a;
    line-height: 1.9;
    font-size: 1.15rem;
    opacity: 0.9;
}

.mgt-legal-item ul {
    margin-top: 20px;
    list-style: none;
    padding: 0;
}

.mgt-legal-item li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.mgt-legal-item li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: #B35328;
}

.mgt-legal-footer {
    padding-top: 40px;
    border-top: 1px solid rgba(26, 15, 10, 0.1);
}

.mgt-legal-btn {
    display: inline-block;
    background: #1a0f0a;
    color: #F5E6D3;
    padding: 18px 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    transition: 0.3s;
}

.mgt-legal-btn:hover {
    background: #B35328;
    transform: translateY(-3px);
}

/* --- Mobile Responsiveness --- */
@media (max-width: 1024px) {
    .mgt-legal-page { height: auto; overflow: visible; }
    .mgt-legal-wrapper { flex-direction: column; }
    .mgt-legal-sidebar { flex: 0 0 auto; height: 50vh; width: 100%; padding: 40px; }
    .mgt-legal-content { flex: 0 0 auto; width: 100%; padding: 60px 30px; }
    .mgt-legal-main-title { font-size: 2.8rem; }
}/* End custom CSS */