/*
Theme Name: 	Betheme Child
Theme URI: 		http://themes.muffingroup.com/betheme
Author: 		Muffin group
Author URI: 	http://muffingroup.com
Description:	Child Theme for Betheme - Premium WordPress Theme
Template:		betheme
Version: 		1.6.1.1
*/

/* Theme customization starts here
-------------------------------------------------------------- */
@font-face {
    font-family:'Myriad Pro';
    src: url('fonts/MyriadPro-Regular.eot');
	src: url('fonts/MyriadPro-Regular.eot?#iefix') format('embedded-opentype'),
		url('fonts/MyriadPro-Regular.woff2') format('woff2'),
		url('fonts/MyriadPro-Regular.woff') format('woff'),
		url('fonts/MyriadPro-Regular.svg#MyriadPro-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
   
}
@font-face {
    font-family:'Galano Grotesque SemiBold';
    src: url('fonts/Galano Grotesque SemiBold.eot');
	src: url('fonts/Galano Grotesque SemiBold.eot?#iefix') format('embedded-opentype'),
		url('fonts/Galano Grotesque SemiBold.woff2') format('woff2'),
		url('fonts/Galano Grotesque SemiBold.woff') format('woff'),
		url('fonts/Galano Grotesque SemiBold.svg#Galano Grotesque SemiBold') format('svg');
    font-weight: 600;
    font-style: normal;
    font-stretch: normal;
   
}
@font-face {
    font-family:'Old English Text MT';
    src: url('fonts/Old English Text MT.eot');
	src: url('fonts/Old English Text MT.eot?#iefix') format('embedded-opentype'),
		url('fonts/Old English Text MT.woff2') format('woff2'),
		url('fonts/Old English Text MT.woff') format('woff'),
		url('fonts/Old English Text MT.svg#Old English Text MT') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
  
}
@font-face {
    font-family:'Old London Alternate';
    src: url('fonts/OldLondonAlternate.eot');
	src: url('fonts/OldLondonAlternate.eot?#iefix') format('embedded-opentype'),
		url('fonts/OldLondonAlternate.woff2') format('woff2'),
		url('fonts/OldLondonAlternate.woff') format('woff'),
		url('fonts/OldLondonAlternate.svg#OldLondonAlternate') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
   
}
@font-face {
    font-family:'Ophir WF';
    src: url('fonts/Ophir WF.eot');
	src: url('fonts/Ophir WF.eot?#iefix') format('embedded-opentype'),
		url('fonts/Ophir WF.woff2') format('woff2'),
		url('fonts/Ophir WF.woff') format('woff'),
		url('fonts/Ophir WF.svg#Ophir WF') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
  
}
@font-face {
    font-family:'Rodeo Grunge';
    src: url('fonts/Rodeo Grunge.eot');
	src: url('fonts/Rodeo Grunge.eot?#iefix') format('embedded-opentype'),
		url('fonts/Rodeo Grunge.woff2') format('woff2'),
		url('fonts/Rodeo Grunge.woff') format('woff'),
		url('fonts/Rodeo Grunge.svg#Rodeo Grunge') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
  
}
@font-face {
    font-family:'Rodeo Shaddow Wave';
    src: url('fonts/Rodeo Shaddow Wave.eot');
	src: url('fonts/Rodeo Shaddow Wave.eot?#iefix') format('embedded-opentype'),
		url('fonts/Rodeo Shaddow Wave.woff2') format('woff2'),
		url('fonts/Rodeo Shaddow Wave.woff') format('woff'),
		url('fonts/Rodeo Shaddow Wave.svg#Rodeo Shaddow Wave') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
  
}
@font-face {
    font-family:'1805 Austerlitz Script';
    src: url('fonts/1805AusterlitzScript-Light.eot');
	src: url('fonts/1805AusterlitzScript-Light.eot?#iefix') format('embedded-opentype'),
		url('fonts/1805AusterlitzScript-Light.woff2') format('woff2'),
		url('fonts/1805AusterlitzScript-Light.woff') format('woff'),
		url('fonts/1805AusterlitzScript-Light.svg#1805AusterlitzScript-Light') format('svg');
    font-weight: 300;
    font-style: normal;
    font-stretch: normal;
   
}
@font-face {
    font-family:'Apercu Medium';
    src: url('fonts/Apercu-Medium.eot');
	src: url('fonts/Apercu-Medium.eot?#iefix') format('embedded-opentype'),
		url('fonts/Apercu-Medium.woff2') format('woff2'),
		url('fonts/Apercu-Medium.woff') format('woff'),
		url('fonts/Apercu-Medium.svg#Apercu-Medium') format('svg');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
  
}
@font-face {
    font-family:'Apercu';
    src: url('fonts/Apercu-Bold.eot');
	src: url('fonts/Apercu-Bold.eot?#iefix') format('embedded-opentype'),
		url('fonts/Apercu-Bold.woff2') format('woff2'),
		url('fonts/Apercu-Bold.woff') format('woff'),
		url('fonts/Apercu-Bold.svg#Apercu-Bold') format('svg');
    font-weight: 700;
    font-style: normal;
    font-stretch: normal;
   
}

@font-face {
    font-family:'Apercu';
    src: url('fonts/Apercu-Regular.eot');
	src: url('fonts/Apercu-Regular.eot?#iefix') format('embedded-opentype'),
		url('fonts/Apercu-Regular.woff2') format('woff2'),
		url('fonts/Apercu-Regular.woff') format('woff'),
		url('fonts/Apercu-Regular.svg#Apercu-Regular') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
   
}
@font-face {
    font-family:'AquilineTwo';
    src: url('fonts/AquilineTwo.eot');
	src: url('fonts/AquilineTwo.eot?#iefix') format('embedded-opentype'),
		url('fonts/AquilineTwo.woff2') format('woff2'),
		url('fonts/AquilineTwo.woff') format('woff'),
		url('fonts/AquilineTwo.svg#AquilineTwo') format('svg');
    font-weight: 500;
    font-style: normal;
    font-stretch: normal;
  
}
@font-face {
    font-family:'Asphaltum WF';
    src: url('fonts/Asphaltum WF.eot');
	src: url('fonts/Asphaltum WF.eot?#iefix') format('embedded-opentype'),
		url('fonts/Asphaltum WF.woff2') format('woff2'),
		url('fonts/Asphaltum WF.woff') format('woff'),
		url('fonts/Asphaltum WF.svg#Asphaltum WF') format('svg');
    font-weight: 400;
    font-style: normal;
    font-stretch: normal;
 
}

/* New Font Declarations for Redesign */
@font-face {
    font-family:'ASPHALWF';
    src: url('fonts/ASPHALWF.otf');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family:'Arvocado';
    src: url('fonts/Arvocado-Regular.otf');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family:'Confidential Regular';
    src: url('fonts/Confidential Regular_2.otf');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family:'Helvetica LT Pro Light Condensed';
    src: url('fonts/HelveticaLTPro-LightCond.otf');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family:'Tierra Script';
    src: url('fonts/TierraScript-8020908.otf');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family:'Broadveau';
    src: url('fonts/broadveau.ttf');
    font-weight: 400;
    font-style: normal;
}

.marti-two-bottle-section h5{
    font-family:'Arvocado', 'Apercu', sans-serif !important;
}
.marti-two-bottle-section h3{font-family:'Ophir WF';}
.button-font-style .mfn-link{font-family:'Ophir WF';}
.rum-is-made h4{font-family:'Ophir WF';}

#av-overlay-wrap {
    background: url(./images/age-bg-placeholder.jpg) no-repeat !important;
    background-size: cover !important;
    background-position: center center !important;
	height: 100vh;
}
.site_logo {
    text-align: center;
    margin: 0 0 30px;
}
div#av-overlay {
    text-align: center;
}
div#av-overlay h1 {
	font-weight: 900;
	font-size: 40px;
	text-transform: uppercase;
	margin-bottom: 20px;
}
div#av-overlay p {
	font-size: 16px;
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 20px;
}
div#av-overlay #av_verify {
	display: block;
	margin: 0 auto;
	font-size: 14px;
	font-weight: 900;
	background: #000;
	color: #fff;
	border: 0;
	padding: 17px 30px;
	letter-spacing: 1px;
	text-transform: uppercase;
	border-radius: 0;
}
div#av-overlay .submit label {
    margin: 20px 0;
    font-size: 15px;
    text-transform: capitalize;
}
#av-overlay input[type=text] {
    display: inline-block;
	font-weight: 900;
	height: 40px;
	display: inline-block;
	font-size: 14px;
	padding: 0 10px;
	background: #fbf0d0;
	border: none;
	border-radius: 0;
	margin-bottom: 20px;
}



@media only screen and (min-width: 320px) and (max-width: 480px) { 
div#av-overlay {
    text-align: center;
    width: 85%;
    height: 84vh;
    padding: 10px;
    margin: 50px auto;
    float: none;
    display: block;
    left: 0;
    right: 0;
}
.sd_right_contact {
    position: relative!important;
    float: none !important;
    text-align: left;
    margin-bottom: 20px;
}
.less_than_five_gram h3{line-height: inherit!important;}
}

@media only screen and (min-width: 481px) and (max-width: 767px) { 
div#av-overlay {
    text-align: center;
    width: 85%;
    height: 84vh;
    padding: 10px;
    margin: 5px auto;
    float: none;
    display: block;
    left: 0;
    right: 0;
}
.sd_right_contact {
    position: relative !important;
    float: none !important;
    text-align: left;
    margin-bottom: 20px;
}
.less_than_five_gram h3{line-height: inherit!important;}
}


.sd_right_contact {
    float: right;
    position: absolute;
    right: -46px;
    top: 22px;
}


.photo-zoomed {
	position: relative;
	overflow: hidden;
}

.cocktail-details {
	padding-top: 10px;
	padding-left: 20px;
	box-sizing: border-box;
}

.cocktail-details .product-title {
	font-size: 36px;
}

.cocktail-details .qty {
	display: inline-block;
	vertical-align: top;
	width: 60px;
	padding-right: 15px;
	text-align: right;
}

.cocktail-details .second-line {
	display: block;
	padding-left: 68px;
}

.cocktail-details .ingredients {
	display: block;
	margin-top: 15px;
}

.quick-links {
	color: #fff;
	font-family: "Great Vibes";
	font-size: 12px;
}

.quick-links a {
	display: inline-block;
	vertical-align: top;
	margin: 0 15px;
	font-size: 32px;
}

@media (min-width: 768px) {
	.row-inverse .mcb-wrap-inner{display: flex; flex-direction: row-reverse}
}


@media (max-width: 767px) {
	.quick-links {
		font-size: 8px;
	}
	
	.quick-links a {
		margin: 0 5px;
		font-size: 21px;
	}
	
	.page-id-173 .section_wrapper, 
	.page-id-173 .container, 
	.page-id-173 .four.columns .widget-area {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.cocktail-details .product-title {
		line-height: 38px;
	}
}

/* New Tropical Theme Enhancements */
/* Logo styling improvements */
#Header .logo {
    max-height: 80px;
}

#Header .logo img {
    max-height: 70px;
    width: auto;
}

/* Tropical color scheme */
:root {
    --tropical-green: #4ECDC4;
    --tropical-blue: #44A08D;
    --tropical-yellow: #F7DC6F;
    --tropical-orange: #F39C12;
    --rum-brown: #8B4513;
}

/* Header styling improvements */
#Header_wrapper {
    position: relative;
}

/* Hide only the title and breadcrumbs content, not the subheader container */
#Subheader .breadcrumbs,
#Subheader .title_wrapper .breadcrumbs,
#Subheader .title_wrapper .title,
#Subheader .title_wrapper h1.title,
#Subheader .container .column .title,
#Subheader .container .column h1.title,
#Subheader .container .column ul.breadcrumbs {
    display: none !important;
}

/* Keep the subheader container visible for background image */
#Subheader {
    display: block !important;
}

/* Ensure header has proper height to show full tropical image */
.home #Header_wrapper {
    min-height: 920px;
}

.page-id-22 #Header_wrapper {
    min-height: 800px;
}

.page-id-173 #Header_wrapper {
    min-height: 700px;
}

/* Subheader styling for full-width image display */
.home #Subheader {
    min-height: 920px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100%;
}

.page-id-22 #Subheader {
    min-height: 800px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100%;
}

.page-id-173 #Subheader {
    min-height: 700px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100%;
}

/* For ultra-wide screens, prevent header clipping with max-width constraints */
@media (min-width: 1920px) {
    .home #Header_wrapper,
    .page-id-22 #Header_wrapper,
    .page-id-173 #Header_wrapper {
        max-width: 1920px;
        margin: 0 auto;
        overflow: hidden;
    }
    
    .home #Subheader,
    .page-id-22 #Subheader,
    .page-id-173 #Subheader {
        background-size: cover !important;
        background-position: center center !important;
        max-width: 1920px;
        margin: 0 auto;
    }
}

/* For extremely wide screens (4K+), use a larger max-width */
@media (min-width: 2560px) {
    .home #Header_wrapper,
    .page-id-22 #Header_wrapper,
    .page-id-173 #Header_wrapper {
        max-width: 2560px;
    }
    
    .home #Subheader,
    .page-id-22 #Subheader,
    .page-id-173 #Subheader {
        max-width: 2560px;
    }
}

/* Other pages header background */
body:not(.home) #Header_wrapper {
    background: linear-gradient(135deg, var(--tropical-blue), var(--tropical-green));
}

/* Age gate styling with new background */
#av-overlay-wrap .site_logo img {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.5));
}

/* Button styling to match tropical theme */
.mfn-button, 
input[type="submit"], 
button {
    background: var(--tropical-orange) !important;
    border: none !important;
    transition: all 0.3s ease !important;
}

.mfn-button:hover, 
input[type="submit"]:hover, 
button:hover {
    background: var(--rum-brown) !important;
    transform: translateY(-2px) !important;
}

/* Typography enhancements using new fonts */
h1, h2, h3 {
    font-family: 'ASPHALWF', 'Helvetica LT Pro Light Condensed', sans-serif !important;
    letter-spacing: 3px !important;
}

.tropical-script {
    font-family: 'Tierra Script', cursive !important;
}

.tropical-heading {
    font-family: 'Broadveau', 'ASPHALWF', sans-serif !important;
    color: var(--rum-brown) !important;
}

/* Our Rum page product styling */
.page-id-22 h2 {
    font-family: 'Tierra Script', cursive !important;
    font-weight: 100 !important;
}

.page-id-22 h5 {
    font-family: 'Arvocado', sans-serif !important;
}

/* Recipes page specific styling */
.page-id-173 h2 {
    font-family: 'Tierra Script', cursive !important;
    font-weight: 100 !important;
}

.page-id-173 h3,
.page-id-173 h5 {
    font-family: 'Arvocado', sans-serif !important;
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;
    -webkit-text-fill-color: currentColor !important;
    color: #333 !important;
    font-weight: normal !important;
}

/* Fix hollow R in Arvocado font */
.page-id-173 h3 {
    text-shadow: 0 0 1px currentColor !important;
}

/* Tighten up recipe sections - target only recipe content areas */
.page-id-173 .mcb-section .section_wrapper {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

.page-id-173 .mcb-section .mcb-wrap {
    margin-bottom: 0 !important;
}

.page-id-173 .mcb-section .column div {
    padding: 20px 4% 0 0 !important;
}

/* Align images and text better */
.page-id-173 .mcb-section .image_frame {
    margin-bottom: 0 !important;
    vertical-align: top !important;
}

/* Mobile responsive adjustments for recipes page */
@media (max-width: 768px) {
    .page-id-173 .mcb-section .column div {
        padding: 15px 4% 0 4% !important;
    }
    
    .page-id-173 .mcb-section .section_wrapper {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }
}

/* Our Rum page mobile layout fix - info then image order */
@media (max-width: 768px) {
    /* Make sections use flexbox and reverse column order */
    .page-id-22 .mcb-section .mcb-wrap-inner {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* First section: Put text content first, then image */
    .page-id-22 .mcb-section:first-child .mcb-wrap-inner .column_column {
        order: 1 !important;
    }
    
    .page-id-22 .mcb-section:first-child .mcb-wrap-inner .column_image {
        order: 2 !important;
    }
    
    /* Second section: Already has text first, image second - keep natural order */
    .page-id-22 .mcb-section:nth-child(2) .mcb-wrap-inner .column_column {
        order: 1 !important;
    }
    
    .page-id-22 .mcb-section:nth-child(2) .mcb-wrap-inner .column_image {
        order: 2 !important;
    }
    
    /* Remove the excessive padding on mobile for better spacing */
    .page-id-22 .column_column .column div {
        padding: 20px 4% !important;
    }
}

/* Recipes page mobile layout fix - info then image order for all 4 recipes */
@media (max-width: 768px) {
    /* Make sections use flexbox and control column order */
    .page-id-173 .mcb-section .mcb-wrap-inner {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* All sections: Put text content first, then image */
    .page-id-173 .mcb-section .mcb-wrap-inner .column_column {
        order: 1 !important;
    }
    
    .page-id-173 .mcb-section .mcb-wrap-inner .column_image {
        order: 2 !important;
    }
    
    /* Remove the excessive padding on mobile for better spacing */
    .page-id-173 .column_column .column div {
        padding: 15px 4% !important;
    }
}

/* Homepage Sections Styling */

/* Product Section with Two Bottles */
.homepage-product-section {
    padding: 60px 0;
    background: #fff;
    text-align: center;
}

.homepage-product-section .product-logo {
    max-width: 200px;
    margin: 0 auto 30px;
}

.homepage-product-section .product-description {
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 16px;
    line-height: 1.6;
}

.homepage-bottles-container {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 40px;
    margin: 40px 0;
}

.homepage-bottles-container img {
    max-height: 400px;
    width: auto;
}

/* Lifestyle Photos Section */
.lifestyle-photos-section {
    padding: 60px 0;
    background: #f8f9fa;
}

.lifestyle-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.lifestyle-photo {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.lifestyle-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Color backgrounds for lifestyle photos */
.lifestyle-photo.teal { background: var(--tropical-green); }
.lifestyle-photo.pink { background: #FFB6C1; }
.lifestyle-photo.orange { background: var(--tropical-orange); }

/* Call to Action Section */
.cta-section {
    padding: 80px 0;
    background: #fff;
    text-align: center;
    position: relative;
}

.cta-section .container {
    position: relative;
}

.cta-section h2 {
    font-family: 'Arvocado', sans-serif !important;
    font-size: 48px;
    color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    margin: 0;
    width: 100%;
}

.cta-section .mermaid-decoration {
    width: 100%;
    margin: 0;
    position: relative;
    z-index: 1;
}

.cta-section .mermaid-decoration img {
    width: 100%;
    height: auto;
    display: block;
}

.cta-section .wave-decoration {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 40px;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1200 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0,120 C150,80 350,40 600,60 C850,80 1050,40 1200,20 L1200,120 L0,120 Z' fill='%234ECDC4'/%3E%3C/svg%3E") repeat-x;
    background-size: cover;
}

/* Footer Styling - Black footer with white logo */
#Footer {
    background: #000 !important;
    color: #fff !important;
    text-align: center;
    margin-top: 0 !important;
    padding-top: 0 !important;
    border: none !important;
    outline: none !important;
    margin: 0 !important;
}

/* Remove spacing between sections */
.cta-section {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

#Footer .widgets_wrapper {
    display: none !important;
}

#Footer .footer_copy {
    background: #000 !important;
    padding: 20px 0 40px 0 !important;
    margin: 0 !important;
}

#Footer .footer_copy .copyright {
    color: #fff !important;
    text-align: center !important;
    font-size: 12px !important;
    font-family: 'Arvocado', sans-serif !important;
}

#Footer .footer_copy .copyright a {
    color: #fff !important;
    font-family: 'Arvocado', sans-serif !important;
}

/* Footer logo styling */
.footer-marti-logo {
    max-width: 200px;
    margin: 0 auto 20px;
    display: block;
}

/* Footer widget styling */
#Footer .widgets_wrapper .textwidget {
    font-family: 'Arvocado', sans-serif !important;
}

#Footer .widgets_wrapper .textwidget p {
    font-family: 'Arvocado', sans-serif !important;
}

#Footer .widgets_wrapper .textwidget a {
    font-family: 'Arvocado', sans-serif !important;
}

/* Remove borders from footer images */
#Footer .image_frame {
    border: none !important;
    padding: 0 !important;
}

#Footer .image_frame.no_border {
    border: none !important;
}

/* Contact section styling */
#Footer .sd_right_contact {
    font-family: 'Arvocado', sans-serif !important;
}

#Footer .sd_right_contact p {
    font-family: 'Arvocado', sans-serif !important;
}

#Footer .sd_right_contact a {
    font-family: 'Arvocado', sans-serif !important;
}

/* Remove borders from lifestyle image section */
.image_frame.has_border {
    border: none !important;
    padding: 0 !important;
}

.image_frame.has_border .image_wrapper {
    border: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .homepage-bottles-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .lifestyle-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    /* Mobile header fixes */
    .home #Header_wrapper,
    .page-id-22 #Header_wrapper,
    .page-id-173 #Header_wrapper {
        min-height: 300px;
    }
    
    .home #Subheader,
    .page-id-22 #Subheader,
    .page-id-173 #Subheader {
        min-height: 300px;
        background-size: cover !important;
        background-position: center center !important;
    }
    
    /* Mobile logo fixes */
    #Header .logo {
        max-height: 60px !important;
        padding: 10px 0;
    }
    
    #Header .logo img {
        max-height: 50px !important;
        width: auto !important;
        max-width: 200px !important;
    }
    
    /* Ensure header container doesn't cut off logo */
    #Top_bar {
        min-height: 70px !important;
    }
    
    #Top_bar .container {
        padding: 5px 15px !important;
    }
    
    /* Mobile CTA section fixes - keep overlay layout */
    .cta-section {
        padding: 20px 15px !important;
    }
    
    .cta-section .container {
        padding: 0;
        position: relative;
    }
    
    .cta-section h2 {
        font-size: 24px !important;
        line-height: 1.2 !important;
        padding: 15px !important;
        background: rgba(255,255,255,0.9);
        border-radius: 8px;
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        z-index: 2 !important;
        width: 80% !important;
        max-width: 300px !important;
        text-align: center !important;
    }
    
    .cta-section .mermaid-decoration {
        width: 100% !important;
        height: 250px !important;
        margin: 0 !important;
        position: relative;
        z-index: 1;
        overflow: hidden;
    }
    
    .cta-section .mermaid-decoration img {
        width: auto !important;
        height: 250px !important;
        display: block !important;
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

/* Tablet responsive adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .home #Header_wrapper {
        min-height: 600px;
    }
    
    .page-id-22 #Header_wrapper {
        min-height: 500px;
    }
    
    .page-id-173 #Header_wrapper {
        min-height: 450px;
    }
    
    .home #Subheader {
        min-height: 600px;
    }
    
    .page-id-22 #Subheader {
        min-height: 500px;
    }
    
    .page-id-173 #Subheader {
        min-height: 450px;
    }
    
    .cta-section h2 {
        font-size: 40px;
    }
}