.language-switcher {
	position: absolute;
/* Switcher moves with the page */
	top: 100px;
/* Adjust vertical position */
	right: 20px;
/* Align to the right */
	z-index: 1000;
/* Keep above other elements */
	font-family: 'Montserrat', sans-serif;
	font-size: 14px;
	background: #f9f9f9;
	padding: 5px 15px;
	border-radius: 8px;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
	transition: opacity .3s ease, visibility .3s ease;
/* Smooth transition */
}

.language-switcher.hidden {
	opacity: 0;
/* Invisible */
	visibility: hidden;
/* Prevent interaction */
}

/
.language-switcher {
	border: 1px solid #DB5B1B;
/* Orange border around the whole section */
	padding: 5px;
/* Optional: add padding for better spacing around the links */
}

/* Link Styling */
.language-switcher a {
	text-decoration: none;
	color: #000;
	font-weight: 600;
	margin-left: 10px;
	text-transform: uppercase;
}

/* Remove left margin for the first link */
.language-switcher a:first-child {
	margin-left: 0;
}

/* Hover effect for links */
.language-switcher a:hover {
	color: #DB5B1B;
/* Change text color to orange on hover */
}

/* Mobile-specific adjustments */
@media only screen and (max-width: 768px) {
	.image-container img {
		width: 100vw;
	/* Use the full viewport width */
		margin: 0;
	/* Remove any default margin */
	}
	
	.image-container {
		padding: 0;
	}
}

/* Prevent horizontal scrolling on the page */
body {
	overflow-x: hidden;
}

/* General Button Styling */
.mobile-button {
	display: inline-block;
	padding: 12px 20px;
	font-size: 16px;
	font-family: 'Montserrat', sans-serif;
	text-align: center;
	color: white;
	background-color: #0073aa;
	border: 10px;
	border-radius: 8px;
	text-decoration: none;
	cursor: pointer;
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

/* Hover Effect */
.mobile-button:hover {
	background-color: #005f8c;
}

/* General font size using viewport width for scaling text */
html {
	font-size: 16px;
/* Set a base font size */
}

body {
	font-size: 1rem;
/* Use rem to ensure scalable text size */
}

/* For large screens (desktop) */
@media only screen and (min-width: 1200px) {
	body {
		font-size: 1rem;
	/* Default font size for large screens */
	}
	
	h1 {
		font-size: 3.5vw;
	/* Adjust font size for large screens */
	}
	
	h2 {
		font-size: 2vw;
	}
	
	h3 {
		font-size: 2vw;
	}
	
	p {
		font-size: 1.2rem;
	}
}

/* General font size for the heading */
.wp-block-heading.has-text-align-center.has-montserrat-font-family {
	font-size: 1.5rem;
/* Default font size for larger screens */
}

/* Mobile-specific font size adjustments */
@media only screen and (max-width: 768px) {
	.wp-block-heading.has-text-align-center.has-montserrat-font-family {
		font-size: 1rem;
	/* Smaller font size for tablets and mobile */
	}
}

/* For extra small screens (e.g., phones) */
@media only screen and (max-width: 480px) {
	.wp-block-heading.has-text-align-center.has-montserrat-font-family {
		font-size: 1rem;
	/* Even smaller font size for smaller devices */
	}
}

/* Adjust font size to 1rem for mobile devices with higher specificity */
@media only screen and (max-width: 480px) {
	.has-text-align-center.has-montserrat-font-family.has-large-font-size {
		font-size: 1.5rem !important;
	/* Force font size change on mobile */
	}
}

/* Change font size for the button on all devices */
.wp-block-button__link.has-text-color.has-background.has-link-color.has-border-color.wp-element-button {
	font-size: 1.5rem !important;
/* Set font size to 0.8rem */
}

/* Optional: Ensure it applies only on mobile devices */
@media only screen and (max-width: 480px) {
	.wp-block-button__link.has-text-color.has-background.has-link-color.has-border-color.wp-element-button {
		font-size: .9rem !important;
	/* Force smaller font size on mobile */
	}
}

/* Ensure header uses flexbox to align logo and title horizontally */
/* Logo styling */
.custom-logo {
	max-width: 120px;
/* Set max size of the logo */
	height: auto;
/* Maintain aspect ratio */
	margin-right: 15px;
/* Add space between the logo and title */
}

/* Title styling */
.wp-block-site-title {
	font-size: 1.4rem;
/* Default size for larger screens */
}

/* Mobile-specific adjustments */
@media only screen and (max-width: 768px) {
	/* Reduce logo size for smaller screens */
	.custom-logo {
		max-width: 300px;
	/* Adjust logo size for mobile */
	}
	
	/* Reduce title size for smaller screens */
	.wp-block-site-title {
		font-size: 1rem;
	/* Adjust title size for mobile */
	}
}

/* Logo styling */
.custom-logo {
	max-width: 120px;
/* Limit the logo size */
	height: auto;
/* Maintain aspect ratio */
	margin-right: 20px;
/* Space between the logo and title */
	flex-shrink: 0;
/* Prevent the logo from shrinking */
}

/* Title styling */
.wp-block-site-title {
	font-size: 1.4rem;
/* Default font size */
	white-space: nowrap;
/* Prevent title wrapping */
	overflow: hidden;
/* Hide overflow */
	text-overflow: ellipsis;
/* Show ellipsis for overflow */
	flex-shrink: 0;
/* Prevent the title from shrinking */
}

/* Mobile adjustments */
@media only screen and (max-width: 768px) {
	/* Adjust header padding for mobile */
	.wp-block-group.site-header {
		padding: 10px;
	/* Reduce padding for smaller screens */
	}
	
	/* Adjust the logo size for mobile */
	.custom-logo {
		max-width: 300px;
	/* Logo size on mobile */
	}
	
	/* Adjust title size for mobile */
	.wp-block-site-title {
		font-size: 1rem;
	/* Smaller title size for mobile */
	}
	
	/* Ensure that logo and title stay on the same line */
	.wp-block-group.site-header {
		flex-wrap: nowrap;
	/* Prevent wrapping */
	}
}

/* Very small screens adjustments */
@media only screen and (max-width: 480px) {
	.custom-logo {
		max-width: 300px;
	/* Smaller logo size on very small screens */
	}
	
	.wp-block-site-title {
		font-size: .8rem;
	/* Further reduce title size for very small screens */
	}
}

.wp-block-group.site-header {
	padding: 5px 10px;
/* Further reduce padding */
/* Mobile-specific adjustments for space above and below the logo */
/* Reduce space above and below the logo */
	padding-top: 5px;
/* Reduce space above the header */
	padding-bottom: 5px;
/* Reduce space below the header */
}

/* Adjust logo margins */
.custom-logo {
	margin-top: 0;
/* Remove margin above logo */
	margin-bottom: 0;
/* Remove margin below logo */
}

/* Adjust title margins */
.wp-block-site-title {
	margin-top: 0;
/* Remove margin above title */
	margin-bottom: 0;
/* Remove margin below title */
}	
}

/* Mobile-specific image resizing */
@media only screen and (max-width: 768px) {
	.wp-block-cover-image img {
		width: 100% !important;
	/* Ensure the image takes up full width */
		height: auto !important;
	/* Maintain the aspect ratio while resizing */
		object-fit: cover;
	/* Make sure the image covers the container properly */
		object-position: center;
	/* Center the image in the container */
	}
	
	.wp-block-cover {
		padding-left: 0 !important;
	/* Remove any left padding */
		padding-right: 0 !important;
	/* Remove any right padding */
		overflow: hidden;
	/* Prevent overflow content */
	}
}

/* Desktop Image */
.wp-block-cover__image-background {
	display: block;
/* Ensure the image is visible on desktop */
}

/* Mobile Image */
@media screen and (max-width: 768px) {
	.wp-block-cover__image-background {
		display: none;
	/* Hide the original image */
	}
	
	.wp-block-cover {
		background-image: url('https://tblgym.com/wp-content/uploads/2024/11/dsc02719-1-2-1972889667-e1732887072822.jpg');
		background-size: cover;
		background-position: center;
		height: 100%;
	/* Ensure it fills the container */
	}
}

/* Default Aspect Ratio (Desktop) */
#block-e6fbb6d6-32b2-44a8-8cca-d88970925de5 {
	aspect-ratio: 16 / 9;
}

/* Mobile Aspect Ratio (Vertical Layout) */
@media screen and (max-width: 768px) {
	#block-e6fbb6d6-32b2-44a8-8cca-d88970925de5 {
		aspect-ratio: 4 / 5;
	/* Adjust to a vertical ratio */
		font-size: 1.5rem;
	/* Reduce font size for better readability */
		padding: 20px;
	/* Add spacing for mobile */
	}
	
	#block-e6fbb6d6-32b2-44a8-8cca-d88970925de5 img.wp-block-cover__image-background {
		object-position: center;
	/* Center the image for a better mobile layout */
	}
	
	#block-e6fbb6d6-32b2-44a8-8cca-d88970925de5 h4,
																							    #block-e6fbb6d6-32b2-44a8-8cca-d88970925de5 p {
		margin: 10px 0;
		text-align: center;
	/* Keep text centered */
	}
	
	#block-e6fbb6d6-32b2-44a8-8cca-d88970925de5 .wp-block-buttons {
		flex-direction: column;
	/* Stack buttons vertically */
		align-items: center;
	}
	
	#block-e6fbb6d6-32b2-44a8-8cca-d88970925de5 .wp-block-button {
		margin-bottom: 15px;
	/* Add spacing between buttons */
	}
}

.wp-block-cover {
	aspect-ratio: 16 / 9 !important;
}

@media screen and (max-width: 768px) {
	.wp-block-cover {
		aspect-ratio: 4 / 5 !important;
	}
}

/* Default size for larger screens */
#block-6c357b42-af12-4c5d-a4b8-20d3db81bd44 h2 {
	font-size: 2rem;
}

/* Default size for larger screens */
#text_bluefont {
	font-size: 2rem;
/* Default font size for larger screens */
}

/* Default size for larger screens */
.wp-block-heading#text_bluefont {
	font-size: 2rem;
/* Default font size for larger screens */
}

@media only screen and (max-width: 768px) {
	.wp-block-heading.has-text-align-center.has-montserrat-font-family {
		padding-left: 20px;
	/* Add space on the left */
		padding-right: 20px;
	/* Add space on the right */
		box-sizing: border-box;
	/* Ensures padding doesn't affect width */
	}
}

.wp-block-heading.has-text-align-center.has-background-color.has-text-color.has-link-color.has-montserrat-font-family.has-x-large-font-size {
	font-size: 2rem !important;
}

/* Target the main block container */
.block-editor-block-list__block.wp-block.is-selected.alignwide {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	overflow: visible !important;
	height: auto !important;
}

/* Ensure all child elements are displayed and visible */
.block-editor-block-list__block.wp-block.is-selected.alignwide * {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Ensure individual blog post articles are styled correctly */
.block-editor-block-list__block.wp-block.is-selected.alignwide .post-has-image.category-uncategorized.type-post {
	display: block !important;
	visibility: visible !important;
	min-height: auto !important;
	padding-top: 10px !important;
	padding-bottom: 10px !important;
	opacity: 1 !important;
	overflow: visible !important;
}

/* Style images inside blog posts */
.block-editor-block-list__block.wp-block.is-selected.alignwide .post-has-image img {
	display: block !important;
	max-width: 100% !important;
	height: auto !important;
	visibility: visible !important;
	opacity: 1 !important;
}

/* Style the entry-wrapper and its children (title, excerpt, etc.) */
.block-editor-block-list__block.wp-block.is-selected.alignwide .entry-wrapper,
.block-editor-block-list__block.wp-block.is-selected.alignwide .entry-title,
.block-editor-block-list__block.wp-block.is-selected.alignwide .excerpt-contain,
.block-editor-block-list__block.wp-block.is-selected.alignwide .more-link {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	height: auto !important;
	overflow: visible !important;
}

#actionbar {
	display: none;
}

/* Mobile-specific image replacement */
@media screen and (max-width: 768px) {
	/* Mobile Image */
	@media screen and (max-width: 768px) {
	/* Mobile Image */
	@media screen and (max-width: 768px) {
	/* Mobile Image */
	@media screen and (max-width: 768px) {
	/* Hide the original image */
	.wp-block-group.is-vertical.is-content-justification-center.is-layout-flex.wp-container-core-group-is-layout-5.wp-block-group-is-layout-flex .wp-block-image.size-large img[src="https://tblgym.com/wp-content/uploads/2024/12/dsc02410-2.jpg?w=1024"] {
		display: none;
	}
	
	.wp-block-group.is-vertical.is-content-justification-center.is-layout-flex.wp-container-core-group-is-layout-5.wp-block-group-is-layout-flex .wp-block-image.size-large img[src="https://tblgym.com/wp-content/uploads/2024/12/dsc02410-3-3938109483-e1734389358135.jpg"] {
		display: block;
	}
}

.sharedaddy, .share-buttons {
	display: none !important;
}	
}