    /* Ensure all images and tables fit within the viewport */
    img, .main-content img, .content-wrapper img, .main-article img {
        max-width: 100%;
        width: 100%;
        height: auto;
        display: block;
        box-sizing: border-box;
    }

    table {
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
        overflow-x: auto;
        display: block;
    }
/* Mobile CSS for Modern HTML5 Layout */

/* Auto Ads Mobile Optimization */
.adsbygoogle {
    display: block !important;
    margin: 10px auto;
    text-align: center;
}

/* Ensure ads don't overflow on mobile */
@media (max-width: 767px) {
    .adsbygoogle {
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
    }
    
    /* Hide large desktop ads on mobile if manually placed */
    .adsbygoogle[style*="728px"] {
        display: none !important;
    }
    
    /* Mobile-friendly ad spacing */
    .adsbygoogle {
        margin: 15px 5px;
    }
}

/* Mobile-specific overrides for modern layout */
@media (max-width: 767px) {
    /* Ensure no horizontal overflow */
    html, body {
        overflow-x: hidden;
        width: 100%;
        min-width: 0;
        padding: 0;
        margin: 0;
    }
    }
    }
    
    /* Hero section mobile adjustments */
    .hero-section {
        height: 250px;
    }
    
    .hero-title {
        font-size: 1.8rem !important;
        line-height: 1.2;
        padding: 0 1rem;
    }
    
    .hero-subtitle {
        font-size: 1rem !important;
        padding: 0 1rem;
    }
    
    /* Navigation mobile adjustments - ensure menu button is accessible */
    .nav-container {
        padding: 0 1rem;
    }
    
    .site-logo {
        font-size: 1.2rem;
    }
    
    /* Content mobile adjustments - proper padding to prevent text touching edges */
    .content-wrapper {
        width: 100%;
        box-sizing: border-box;
        padding-left: 1rem !important;
        padding-right: 1rem !important;
        word-break: break-word;
        overflow-x: hidden;
    }

    .main-content {
        width: 100%;
        box-sizing: border-box;
        padding: 1rem 0 1rem 0;
        word-break: break-word;
        overflow-x: hidden;
    }

    .main-article {
        width: 100%;
        box-sizing: border-box;
        padding: 1rem 1rem 1rem 1rem !important;
        margin: 0;
        border-radius: 4px;
        word-break: break-word;
        overflow-x: hidden;
    }
    
    .main-article p,
    .main-article h1,
    .main-article h2,
    .main-article h3,
    .main-article h4,
    .main-article ul,
    .main-article ol {
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
    }
    
    .sidebar-content {
        padding: 1rem;
    }
    
    /* Mobile callouts - ensure proper padding */
    .callout-info,
    .callout-success,
    .callout-warning,
    .callout-cultural,
    .callout-luxury,
    [class^="callout-"] {
        padding: 1rem !important;
        margin: 1rem 0 !important;
        font-size: 0.9rem;
        box-sizing: border-box;
    }
    
    /* Footer mobile adjustments */
    .footer-links {
        font-size: 0.7rem;
        gap: 0.3rem;
        justify-content: center;
        text-align: center;
    }
    
    .footer-links li {
        border-right: none;
        padding: 0.2rem 0;
    }
    
    .social-links {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* Images mobile-friendly - contain within screen */
    .main-article img {
        max-width: 100%;
        width: 100%;
        height: auto;
        border-radius: 4px;
        display: block;
    }
    
    /* Hero image must fit on mobile */
    .hero-bg {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
    }
}

/* Extra small mobile devices */
@media (max-width: 480px) {
    .content-wrapper {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    
    .hero-section {
        height: 200px;
    }
    
    .hero-title {
        font-size: 1.5rem !important;
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem !important;
        padding: 0 0.5rem;
    }
    
    .main-article {
        padding: 1rem !important;
    }
    
    .sidebar-content {
        padding: 0.8rem;
    }
}

/* Legacy styles for older template system - keep for backwards compatibility */
#wrapperContent {
    width:auto
}

.headerWrapper {
	padding-top: 49px;
    float:none;
    width:auto
}

#indexHeaderWrapper {
    height:auto
}

#insideHeaderWrapper {
    height:auto
}

#insideHeaderWrapper #slideWrapper {
    height:150px;
    overflow:hidden
}

#midWrapper {
    float:none;
    width:auto;
    margin: 5px
}

#footerWrapper {
    float:none;
    width:auto
}

.footerList li {
    float:none
}

#mobile-menu-button-a {
    color:#000;
    padding:5px;
    text-decoration:none
}

#mobile-menu-button {
    font-size:25px;
    float:left;
    z-index:103;
    position:absolute;
    left:2rem;
    top:2rem
}

#nav-menu {
    position:fixed;
    margin-top:25px;
    left:-300px;
    width:300px;
    z-index:199
}

#nav-menu ul {
    padding:0
}

#nav-menu li {
    float:none;
    width:95%;
    padding-bottom: 8px;
    background: none;
}

#nav-menu a {
    float:none
}

#logo {
    float:none;
     top: 25px;
}

#logo2 {
    float:none
}

#logo2 a,img {
    border:0
}

div {
    max-width:640px
}

img {
    max-width:640px
}

#slideshowID img {
    max-width:640px
}

.slideshowClass {
	
	height: 150px;
	
}

.thickBorderOverBox {
    margin-top:5px
}

#mid1 {
    float:none;
    width:auto;
    margin-right: 0
}

#mid2 {
    float:none;
    width:auto;
    margin-top: 15px;
    margin-right: 0

}

#mid3 {
    float:none;
    width:auto;
    margin-top: 15px;
    margin-right: 0

}

#mid4 {
    float:none;
    width:auto;
    margin-top: 15px    ;
    margin-right: 0

}

#mainContent {
    float:none;
    width:auto;
    min-height:0;
    padding:0
}

#insideRightSidebar {
    float:none;
    width:auto;
    min-height:0;
    padding-top:5px
}

.callOutImage {
    float:none;
	display:inline-block;    
}

.mobile-only {
    display:block
}

#mobile-menu-button-a img {position: relative;
top: 8px;}

.adsenseMobileFullWidth {
	clear:both;
	margin-left:0;
	margin-right:0;
	width:initial;
	display:initial;
	height:initial;
	float: initial; 
}

.addthis_floating_style {
	 display: none
}


article img {max-width:90%; 
height: auto;
padding: 10px

 }


body {
padding: 0
}

#mainWrapperClip {
padding: 2px
}


/* mobile style sheet */

