		/* Skip link for accessibility */
		.skip-link {
			position: absolute;
			top: -40px;
			left: 6px;
			background: #000;
			color: white;
			padding: 8px;
			text-decoration: none;
			border-radius: 4px;
			z-index: 1000;
			transition: top 0.3s;
		}
		
		.skip-link:focus {
			top: 6px;
		}

		@media (prefers-color-scheme: light) {
		:root {
            --bg-color: #ffffff;
            --text-color: #333333;
            --card-bg: #f0f0f0;
            --border-color: #cccccc;
            --button-bg: #e0e0e0;
            --button-text: #000000;
            --link-color: #333333;         /*#0000ee */
            --footercols-color:#ffffff ;  /*  #4b4f58   */
            --footer-link-color:#000000;  /*  #ffffff   */
            --copyright-color: #ffffff;   /*  #212121   */
			
        }
			/* Hide dark mode logo by default */
			.dark-mode-logo {
				display: none;
			}
			.light-mode-logo {
				display: block;
			}
		}

        @media (prefers-color-scheme: dark) {
            :root {
                --bg-color: #121212;
                --text-color: #ffffff;
                --card-bg: #2b2b2b;
                --border-color: #444444;
                --button-bg: #333333;
                --button-text: #ffffff;
                --link-color: #8ab4f8;
                --footercols-color:#000000;  /* #121212 */
                --footer-link-color:#ffffff; /* #ffffff */
                --copyright-color: #000000;  /* #000000 */
            }
			.light-mode-logo {
				display: none;
			}
			.dark-mode-logo {
				display: block;
			}
        }

        body {
            font-family: "Arial", monospace;
            background-color: var(--bg-color);
            color: var(--text-color);
            margin: 0;
            padding: 0;
            transition: background-color 0.3s, color 0.3s;
            text-align: center;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            overflow-x: hidden;
            box-sizing: border-box;
        }

        main {
            flex: 1;
            display: flex;
            flex-direction: column;
            margin: 0;
            padding: 0;
        }
        
        #app {
            flex: 1;
            display: flex;
            flex-direction: column;
            min-height: 60vh;
            justify-content: center;
            align-items: center;
            margin: 0;
            padding: 0;
        }

		/* General Styles */
		.header {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 10px 20px;
			position: relative;
			z-index: 999; /* High z-index to maintain menu positioning */
			flex-wrap: nowrap;
			min-width: 0;
			background-color: var(--bg-color);
			backdrop-filter: blur(20px);
		}
		
		/* Dark mode header - match mobile menu background */
		@media (prefers-color-scheme: dark) {
			.header {
				background-color: rgba(0, 0, 0, 0.85);
			}
		}
		/* Logo styling */
		.logo {
			display: flex;
			align-items: center;
			flex-shrink: 0;
			z-index: 2;
			position: relative;
		}
		
		/* Logo display rules - default light mode */
		.light-mode-logo {
			display: block !important;
		}
		
		.dark-mode-logo {
			display: none !important;
		}
		
		/* Dark mode logo display */
		@media (prefers-color-scheme: dark) {
			.light-mode-logo {
				display: none !important;
			}
			
			.dark-mode-logo {
				display: block !important;
			}
		}
		

		/* Tagline Container */
		.tagline-container {
			position: absolute;
			left: 50%;
			transform: translateX(-50%);
			height: 50px;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 100%;
			max-width: 1200px;
			z-index: 1;
		}
		
		.tagline {
			font-size: 18px;
			font-weight: 300;
			color: var(--text-color);
			text-align: center;
			margin: 0;
			line-height: 1.4;
			position: absolute;
			opacity: 0;
			width: 100%;
			white-space: nowrap;
			left: 0;
			right: 0;
		}
		
		.tagline.active {
			opacity: 1;
		}
		
		.tagline.transition {
			transition: opacity 1s ease-in-out;
		}
		
		/* Desktop Navigation */
		.desktop-nav {
			display: flex;
			align-items: center;
			gap: 24px;
			flex-shrink: 0;
			z-index: 2;
			position: relative;
		}
		
		.nav-item {
			display: flex;
			align-items: center;
			gap: 8px;
			padding: 8px 12px;
			text-decoration: none;
			color: var(--text-color);
			border-radius: 6px;
			transition: all 0.2s ease;
			font-weight: 500;
		}
		
		.nav-item:hover {
			background-color: var(--card-bg);
			color: var(--link-color);
		}
		
		.nav-text {
			font-size: 18px;
			font-weight: 300;
			white-space: nowrap;
		}
		
		.nav-icon {
			width: 16px;
			height: 16px;
			fill: currentColor;
			flex-shrink: 0;
		}
		
		/* Mobile Navigation */
		.mobile-nav {
			display: none;
			position: relative;
			z-index: 10002; /* Higher than mobile-nav-menu */
		}
		
		/* Show mobile nav on mobile screens and when window is resized */
		@media screen and (max-width: 768px) {
			.mobile-nav {
				display: block !important;
			}
			.desktop-nav {
				display: none !important;
			}
		}
		
		/* Mobile Navigation Menu */
		.mobile-nav-menu {
			position: fixed;
			top: 60px;
			left: 0;
			right: 0;
			bottom: 0;
			z-index: 9998;
			background-color: var(--card-bg);
			backdrop-filter: blur(20px);
			box-shadow: none;
			transform: translateY(-100%);
			transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
			padding-top: 20px;
			min-height: calc(100vh - 60px);
			display: block;
			overflow-y: auto;
		}
		
		/* Mobile menu backdrop */
		.mobile-nav-menu::before {
			content: '';
			position: fixed;
			top: 0;
			left: 0;
			right: 0;
			bottom: 0;
			background-color: rgba(0, 0, 0, 0.5);
			z-index: -1;
			opacity: 0;
			transition: opacity 0.3s ease;
		}
		
		/* Light mode backdrop */
		@media (prefers-color-scheme: light) {
			.mobile-nav-menu::before {
				background-color: rgba(255, 255, 255, 0.5);
			}
		}
		
		.mobile-nav-menu.hidden {
			transform: translateY(-100%);
		}
		
		.mobile-nav-menu:not(.hidden) {
			transform: translateY(0);
		}
		
		
		.mobile-nav-menu:not(.hidden)::before {
			opacity: 1;
		}
		
		/* Prevent body scroll when menu is open */
		body.menu-open {
			overflow: hidden;
		}
		
		/* Header styling when menu is open - Mobile only */
		@media screen and (max-width: 768px) {
			/* Header background when menu is open */
			body.menu-open .header {
				background-color: var(--card-bg) !important;
				backdrop-filter: blur(20px);
				background-image: none !important;
			}
			
			/* Logo swap when menu is open - dark mode */
			@media (prefers-color-scheme: dark) {
				body.menu-open .light-mode-logo {
					display: none !important;
				}
				
				body.menu-open .dark-mode-logo {
					display: block !important;
				}
				
				/* Header text visibility when menu is open */
				body.menu-open .tagline {
					color: #ffffff;
				}
			}
			
			/* Logo swap when menu is open - light mode */
			@media (prefers-color-scheme: light) {
				body.menu-open .light-mode-logo {
					display: block !important;
				}
				
				body.menu-open .dark-mode-logo {
					display: none !important;
				}
				
				/* Header text visibility when menu is open */
				body.menu-open .tagline {
					color: var(--text-color);
				}
			}
		}
		
		
		.mobile-menu-items {
			padding: 0 20px 20px 20px;
			display: flex;
			flex-direction: column;
		}
		
		.mobile-nav-item {
			display: flex;
			align-items: center;
			justify-content: space-between;
			padding: 16px 0;
			text-decoration: none;
			color: var(--text-color);
			border-bottom: none;
			transition: all 0.2s ease;
			font-weight: 600;
			font-size: 17px;
		}
		
		.mobile-nav-item:last-child {
			border-bottom: none;
		}
		
		.mobile-nav-item:hover {
			background-color: var(--button-bg);
			color: var(--text-color);
		}
		
		.mobile-nav-item:active {
			background-color: var(--border-color);
		}
		
		.mobile-nav-text {
			font-size: 17px;
			font-weight: 600;
		}
		
		.mobile-nav-icon {
			width: 20px;
			height: 20px;
			fill: var(--text-color) !important;
			flex-shrink: 0;
		}
		
		/* Force MyBoiler icon to use theme color */
		.mobile-nav-icon path {
			fill: var(--text-color) !important;
		}
		
		/* Hamburger Menu */
		.hamburger-menu {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			width: 30px;
			height: 30px;
			cursor: pointer;
			background: transparent;
			border: none;
			padding: 0;
			position: relative;
			z-index: 10003;
			transition: all 0.3s ease;
		}
		
		.hamburger-menu:hover {
			background-color: transparent;
		}
		
		.hamburger-menu:focus {
			outline: none !important;
			box-shadow: none !important;
			border: none !important;
		}
		
		.hamburger-menu:focus-visible {
			outline: none !important;
			box-shadow: none !important;
			border: none !important;
		}
		
		.hamburger-line {
			width: 20px;
			height: 2px;
			background-color: var(--text-color);
			margin: 3px 0;
			transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
			transform-origin: center;
			position: relative;
			border-radius: 1px;
		}
		
		.hamburger-menu:hover .hamburger-line {
			background-color: var(--link-color);
		}
		
		/* X state styling - dark mode */
		@media (prefers-color-scheme: dark) {
			.hamburger-menu.menu-open .hamburger-line {
				background-color: #ffffff;
			}
			
			.hamburger-menu.menu-open:hover .hamburger-line {
				background-color: #ffffff;
			}
		}
		
		/* X state styling - light mode */
		@media (prefers-color-scheme: light) {
			.hamburger-menu.menu-open .hamburger-line {
				background-color: #000000;
			}
			
			.hamburger-menu.menu-open:hover .hamburger-line {
				background-color: #000000;
			}
		}
		
		/* Dark mode support for hamburger menu */
		@media (prefers-color-scheme: dark) {
			.hamburger-menu:hover {
				background-color: transparent;
			}
		}
		
		/* Transform to X when menu is open */
		.hamburger-menu.menu-open .hamburger-line:first-child {
			transform: rotate(45deg) translate(0, 3px);
		}
		
		.hamburger-menu.menu-open .hamburger-line:last-child {
			transform: rotate(-45deg) translate(2px, -6px);
		}
		
		/* Smooth transition for X transformation */
		.hamburger-menu.menu-open .hamburger-line {
			transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
		}
		
		/* Ensure hamburger menu is visible on mobile */
		@media screen and (max-width: 768px) {
			.hamburger-menu {
				display: flex !important;
			}
		}
		
		/* Old grid menu styles removed - using new mobile navigation */
		
		/* Consistency Across Devices */
		button, .hamburger-menu {
			border-radius: 0; /* Removes rounded corners for consistency */
		}
		
		/* updated menu end */

        .content {
            padding: 20px;
            transition: margin-top 0.3s ease;
        }

        /* Grouping for right alignment */
        .right-header-items {
            display: flex;
            align-items: center;
        }

        /* Full-width banner with adjustable height */
        .banner {
            width: 100%;
            padding-top: 50%; /* This creates a 2:1 aspect ratio for the banner */
            background-image: url('../img/banner.jpg');  /* Placeholder for image */
            background-size: cover;
            background-position: center;
            background-color: var(--card-bg);  /* Fallback color */
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--text-color);  /* For text if you add any */
            margin-bottom: 20px;  /* Space below the banner */
        }

		.container {
		  width: 100%;
		  max-width: 1200px;
		  margin: 0 auto;
		  padding: 20px;
		}
		
		.centered-input {
		  display: flex;
		  justify-content: center; /* Centers horizontally */
		  align-items: center; /* Centers vertically, if needed */
		  margin-bottom: 20px; /* Add some space below the input */
		}
		
		/* Search Container Styles */
		.search-container {
			text-align: center;
			margin: 40px auto;
			padding: 60px 0;
		}
		
		.search-form {
			display: inline-flex;
			align-items: center;
		}
		
		.search-box {
			display: flex;
			gap: 1rem;
			margin: 0.5rem 0;
			max-width: 1200px;
			margin-left: auto;
			margin-right: auto;
			width: 100%;
			box-sizing: border-box;
		}
		
		.search-input-container {
			display: flex;
			width: 100%;
			gap: 0.5rem;
			align-items: stretch; /* This ensures both elements stretch to the same height */
		}
		
		#search-input {
			flex: 1;
			padding: 1rem 1.5rem 1rem 2.5rem;
			font-size: 1.2rem;
			border: 1px solid #ccc;
			border-radius: 4px;
			width: 100%;
			min-width: 600px; /* Restore desktop min-width */
		}
		
		.search-buttons {
			display: flex; /* Keep buttons inline by default */
			gap: 1rem;
			/* justify-content: center; Removed default centering */
		}
		
		#search-button, #reset-button {
			padding: 1rem 2rem;
			font-size: 1.2rem;
			border-radius: 4px;
			cursor: pointer;
			white-space: nowrap;
			/* min-width: 120px; */
		}
		
		#search-button {
			background-color: #333;
			color: white;
			border: 1px solid #333;
			width: 80px;
			padding: 0;
		}
		
		#reset-button {
			background-color: #333;
			color: white;
			border: 1px solid #333;
		}
		
		#reset-button:hover {
			background-color: #444;
		}
		
		/* Search Results Styles */
		.search-result {
			margin: 1rem 0;
			padding: 1.5rem;
			border: 1px solid #eee;
			border-radius: 4px;
			text-align: left;
			background-color: white;
			box-shadow: 0 2px 4px rgba(0,0,0,0.05);
			transition: transform 0.2s ease;
		}
		
		.search-result:hover {
			transform: translateY(-2px);
			box-shadow: 0 4px 8px rgba(0,0,0,0.1);
		}
		
		.search-result h3 {
			margin: 0 0 0.5rem 0;
			color: #333;
		}
		
		.search-result a {
			color: #333;
			text-decoration: none;
		}
		
		.search-result a:hover {
			color: #666;
			text-decoration: underline;
		}
		
		.search-meta {
			margin-top: 0.5rem;
			font-size: 0.9rem;
			color: #666;
		}
		
		.search-date {
			margin-right: 1rem;
		}
		
		.search-type {
			background-color: #e9ecef;
			padding: 0.2rem 0.5rem;
			border-radius: 3px;
			font-size: 0.8rem;
		}
		
		/* Loading and Error States */
		.loading {
			text-align: center;
			padding: 40px;
			color: var(--text-color);
		}
		
		.error-message {
			text-align: center;
			padding: 40px;
			color: #d32f2f;
		}
		
		.error-message h1 {
			color: #d32f2f;
		}
		
		.no-results {
			color: #666;
			font-style: italic;
		}
		
		.search-result-link {
			color: var(--link-color);
			text-decoration: none;
		}
		
		.search-result-link:hover {
			text-decoration: underline;
		}
		
		.search-excerpt {
			margin: 10px 0;
			color: var(--text-color);
			opacity: 0.8;
		}
		
		.hidden {
			display: none;
		}
		
		/* Dark mode support */
		@media (prefers-color-scheme: dark) {
			.search-result {
				background-color: #2b2b2b;
				border-color: #444;
			}
			
			.search-result h3 {
				color: #fff;
			}
			
			.search-meta {
				color: #aaa;
			}
			
			.search-type {
				background-color: #444;
			}
		}
		
		.row {
		  display: flex;
		  flex-wrap: wrap;
		  margin: -10px;
		}
		
		.column {
		  flex: 1;
		  padding: 10px;
		  min-width: 300px;

		}

		.column a{
			color: inherit;
			text-decoration: none; /* Removes underline */
			/*color: var(--bg-color); */
		}
		

		.card {
		  background-color: var(--bg-color); /* Card background color */
		  border: 1px solid #d3d3d3; /* Light grey border */
		  border-radius: 8px; /* Rounded corners */
		  padding: 20px; /* Inner padding */
		  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow */
		   text-align: center;
		}
		
		.no-bullets {
			list-style-type: none; /* Removes bullet points */
			padding: 0;           /* Removes default padding */
			margin: 0;            /* Removes default margin */
		}
		
        /* Main footer styles */
        .footer {
            background-color: var(--bg-color);
            padding: 8px;
            display: flex;
            justify-content: space-around;
            flex-wrap: wrap;
            margin-bottom: 4px;
            width: 100%;
            box-sizing: border-box;
        }

        .footer-column {
            flex-basis: calc(25% - 20px);
            margin-bottom: 8px;
            color: var(--footer-link-color);
            text-align: left;
            padding: 0 6px;
        }

        .footer-column h3 {
            margin-top: 0;
            color: var(--footer-link-color);
            text-align: left;
        }

        .footer-column ul {
            list-style-type: none;
            padding: 0;
            text-align: left;
        }

        .footer-column li {
            margin-bottom: 4px;
        }

        .footer-column a {
            color: var(--footer-link-color);
            text-decoration: none;
        }

		#mce-EMAIL{
			border-color: black;
			border-width: 1px;
			border-radius: 4px;
			padding: 4px;
		}

		#mc-embedded-subscribe{
			
		}

		.social-media{
			fill:var(--footercols-color);
			justify-content:center;
		}

		.wp-block-social-link{
			border-radius:9999px;
			display: inline-block;
			padding:5px 7px 5px 7px;
			margin-left: 10px;
			margin-right: 10px;
		}
		.wp-social-link-x{
			background-color: var(--footer-link-color);
		}
		
		.wp-social-link-youtube{
			background-color: red;
		}
		.wp-social-link-bluesky{
			background-color: #0274be;
		}
		.wp-social-link-facebook{
			background-color: #0866ff;
		}
		.wp-social-link-pinterest{
			background-color: #e60122;
		}
		.wp-social-link-whatsapp{
			background-color: #25d366;
		}

        /* Copyright footer */
        .copyright {
            background-color: var(--bg-color);
            color: var(--footer-link-color);
            text-align: center;
            padding: 10px 20px;
        }  

        /* Responsive Breakpoints */
        @media screen and (max-width: 1024px) {
            .desktop-nav {
                gap: 16px;
            }
            
            .nav-item {
                padding: 6px 10px;
            }
            
            .nav-text {
                font-size: 16px;
            }
        }
        
        @media screen and (max-width: 768px) {
            /* Hide desktop navigation on mobile */
            .desktop-nav {
                display: none !important;
            }
            
            /* Show mobile navigation */
            .mobile-nav {
                display: block !important;
            }
            
            /* Ensure tagline doesn't touch hamburger menu */
            .tagline-container {
                position: absolute;
                left: 50%;
                transform: translateX(-50%);
                width: calc(100vw - 100px);
                max-width: 1200px;
            }
            
            .tagline {
                white-space: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
            
            .hamburger-menu {
                display: flex !important;
            }
            
            .header {
                flex-wrap: nowrap;
            }
            
            .tagline {
                font-size: 16px;
            }

				
			/* Search Container */
			.search-container {
			  margin-top: 40px;
			  margin-bottom: 40px;
			  margin-left: auto;
			  margin-right: auto;
			  padding: 0 1rem;
			  width: 100%;
			  box-sizing: border-box;
			}
            
		   .card {
			margin-right: 40px;
			}   
            
            .footer-column {
                flex-basis: 100%;
                text-align: center;
            }
            
            .footer-column h3 {
                text-align: center;
            }
            
            .footer-column ul {
                text-align: center;
            }
            
            .footer {
                justify-content: center;
            }
            
            .copyright {
                text-align: center;
            }
            
            .search-container {
                padding: 0 1rem;
                width: 100%;
                margin-left: auto;
                margin-right: auto;
                margin: 150px 0px;
                box-sizing: border-box;
            }
            
            .search-box {
                flex-direction: column;
                padding: 0 1rem;
                width: 100%;
                box-sizing: border-box;
            }
            
            .search-input-container {
                display: flex;
                width: 100%;
                gap: 0.5rem;
                align-items: center;
            }
            
            #search-input {
                font-size: 1rem;
                padding: 0.8rem 1rem 0.8rem 2.5rem;
                min-width: 0;
                width: 100%;
                box-sizing: border-box;
                flex: 1;
                margin: 0;
                height: 44px;
            }
            
            .search-buttons {
                display: flex;
                flex-direction: column;
                align-items: center;
                gap: 1rem;
                width: 100%;
            }
            
            #search-button, #reset-button {
                font-size: 1rem;
                padding: 0.8rem 1rem;
                min-width: unset;
                height: 44px;
                display: flex;
                align-items: center;
                justify-content: center;
            }

            #search-button {
                width: 80px;
            }

            #reset-button {
                width: 100px;
            }

            #app {
                min-height: 40vh;
                justify-content: center;
                align-items: center;
            }
            /* Mobile menu uses fixed positioning */
        }

/* Post and Page Content Styles */
.post, .page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
    flex: 1;
    text-align: left;
    width: 100%;
    box-sizing: border-box;
}

.post h1, .page h1 {
    margin-bottom: 2rem;
    font-size: 2rem;
    width: 100%;
}

.post-content, .page-content {
    line-height: 1.6;
    width: 100%;
    box-sizing: border-box;
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
}

/* Markdown content styling */
.page-content h1 {
    color: var(--text-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
}

.page-content h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--link-color);
    border-radius: 2px;
}

.page-content h2 {
    color: var(--text-color);
    font-size: 1.8rem;
    font-weight: 600;
    margin: 2.5rem 0 1.5rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-color);
}

.page-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
}

.page-content p {
    margin-bottom: 1.2rem;
    line-height: 1.7;
    color: var(--text-color);
    font-size: 1rem;
}

.page-content ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.page-content li {
    background: var(--bg-color);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.page-content li:hover {
    transform: translateY(-2px);
    border-color: var(--link-color);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.page-content a {
    color: var(--link-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
    display: block;
    width: 100%;
    height: 100%;
}

.page-content a:hover {
    color: var(--text-color);
}

.page-content strong {
    font-weight: 600;
    color: var(--text-color);
}

.page-content em {
    font-style: italic;
    color: var(--text-color);
    opacity: 0.8;
}

.page-content blockquote {
    background: var(--card-bg);
    border-left: 4px solid var(--link-color);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: var(--text-color);
    position: relative;
}

.page-content blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 3rem;
    color: var(--link-color);
    opacity: 0.3;
}

/* Map container styling */
.map-container {
    margin: 2rem 0;
    text-align: center;
}

.map-container iframe {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.map-container iframe:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.map-container small {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-color);
    opacity: 0.7;
}

.map-container small a {
    color: var(--link-color);
    text-decoration: none;
}

.map-container small a:hover {
    text-decoration: underline;
}

/* Contact page specific styling */
.page-content h3 {
    color: var(--text-color);
    font-size: 1.3rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.page-content h3::before {
    font-size: 1.2rem;
}

.post-content img, .page-content img {
    max-width: 100%;
    height: auto;
}

@media screen and (max-width: 768px) {
    .post, .page {
        padding: 1.5rem 1rem;
        width: 100%;
    }
    
    .post h1, .page h1 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .page-content {
        padding: 15px;
        max-width: 100%;
    }
    
    .page-content h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    .page-content h1::after {
        width: 40px;
        height: 2px;
    }
    
    .page-content h2 {
        font-size: 1.5rem;
        margin: 1.5rem 0 0.8rem 0;
    }
    
    .page-content h3 {
        font-size: 1.2rem;
        margin: 1.2rem 0 0.8rem 0;
    }
    
    .page-content ul {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .page-content li {
        padding: 1rem;
        margin-bottom: 0;
    }
    
    .page-content li:hover {
        transform: translateY(-1px);
    }
}

@media (max-width: 600px) {
  form[role="search"] input[type="search"] {
    width: 65vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    font-size: 15px;
    height: 44px;
  }
  form[role="search"] button[type="submit"] {
    width: 40px !important;
    font-size: 14px;
    height: 44px;
  }
}

form[role="search"] {
  display: inline-flex;
  align-items: center;
  gap: 0;
}
form[role="search"] input[type="search"],
form[role="search"] button[type="submit"] {
  height: 44px;
  box-sizing: border-box;
  border: none;
  vertical-align: top;
}
form[role="search"] input[type="search"] {
  width: 420px;
  max-width: 80%;
  padding: 0 18px;
  border: 1px solid #dfe1e5;
  border-radius: 10px 0 0 10px;
  font-size: 16px;
  background: #f7f7f7;
  outline: none;
}
form[role="search"] button[type="submit"] {
  width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #777;
  border: 1px solid #444;
  border-left: none;
  border-radius: 0 10px 10px 0;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  font-weight: 500;
  letter-spacing: 0.5px;
  line-height: 0;
  padding: 0;
}
@media (max-width: 600px) {
  form[role="search"] input[type="search"] {
    width: 65vw !important;
    min-width: 0 !important;
    max-width: 100vw !important;
    font-size: 15px;
    height: 44px;
  }
  form[role="search"] button[type="submit"] {
    width: 40px !important;
    font-size: 14px;
    height: 44px;
  }
  form[role="search"] {
    width: 100%;
    align-items: center;
  }
}

@media (max-width: 600px) {
  .tagline-break {
    display: block;
  }
  
  /* Extra small screens - more space for hamburger */
  .tagline-container {
    width: calc(100vw - 80px);
  }
  
  .tagline {
    font-size: 14px;
  }
}

/* Copyright row with social media icons left, copyright text centered */
.copyright-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 6px 0 0 0;
    background-color: var(--bg-color);
    color: var(--footer-link-color);
    position: static;
    min-height: unset;
}
.footer-links, .newsletter-and-copyright {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}
.copyright-social {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0;
    padding: 0;
    margin-left: 0;
    height: 100%;
}
.copyright-social .social-media {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    height: 100%;
}
.copyright-social .social-media li {
    margin: 0 6px;
    margin-top: 0;
    display: flex;
    align-items: center;
    height: 24px;
}
.copyright-social .social-media li svg {
    width: 20px !important;
    height: 20px !important;
    vertical-align: middle;
    display: inline-block;
}
.newsletter-and-copyright {
    justify-content: flex-end;
    gap: 8px;
    padding-right: 16px;
}
.footer-links {
    justify-content: flex-start;
    gap: 12px;
    margin-right: 0;
    padding-left: 16px;
    align-items: center;
}
.footer-link {
    color: var(--footer-link-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: none;
}
.footer-link:hover {
    text-decoration: underline;
    color: var(--footer-link-color);
}
@media screen and (max-width: 768px) {
    .copyright-row {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 4px 0 0 0;
        justify-content: center;
        width: 100%;
        box-sizing: border-box;
    }
    .footer-links, .newsletter-and-copyright {
        width: 100%;
        justify-content: center;
        margin: 0 0 2px 0;
        align-items: center;
        padding-left: 0;
        padding-right: 0;
        box-sizing: border-box;
    }
    .footer-links {
        flex-direction: row;
        gap: 16px;
        justify-content: center;
        padding-left: 0;
        margin-left: 0;
        margin-right: 0;
        flex-wrap: wrap;
    }
    .newsletter-and-copyright {
        justify-content: center;
        padding-right: 0;
        flex-wrap: wrap;
    }
    .copyright-social {
        width: 100%;
        justify-content: center;
        margin-bottom: 2px;
        box-sizing: border-box;
    }
    .footer {
        width: 100%;
        box-sizing: border-box;
        overflow-x: hidden;
    }
}

/* Footer layout styles */
.footer, .copyright-row, .copyright-text {
    flex-shrink: 0;
    margin: 0;
}

.copyright-text {
    text-align: center;
    width: 100%;
    padding: 8px 20px;
    box-sizing: border-box;
}

.footer-links-row {
    margin-left: 20px;
    margin-right: 20px;
    width: calc(100% - 40px);
    box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .nav-menu {
    top: 70px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
  }
  #app {
    flex: 1 0 auto;
  }
  .footer {
    position: static;
    left: unset;
    bottom: unset;
    width: 100vw;
    z-index: unset;
  }
  body {
    padding-bottom: 0;
  }
  /* Grid menu removed - using new mobile navigation */
  .footer-links {
    flex-direction: row;
    gap: 16px;
  }
  .footer-links-row {
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
  }
}
