/*
Theme Name: Isle Drive You
Theme URI: https://isledriveyou.ca
Author: Isle Drive You
Author URI: https://isledriveyou.ca
Description: A modern WordPress block theme for Isle Drive You — compassionate through-the-door non-emergency medical transport on Vancouver Island. Includes page layouts for Home, About Us, Driver Companion Service, and Isle Fund You Cancer Travel Support.
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: isledriveyou
Tags: full-site-editing, block-patterns, block-styles, custom-colors, custom-logo, custom-menu, editor-style, one-column, wide-blocks, accessibility-ready
*/

/* Base refinements beyond theme.json */

html {
	scroll-behavior: smooth;
}

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.entry-content, footer.wp-block-template-part {
	margin-block-start: 0;
}

/* Smooth image display */
img {
	height: auto;
	max-width: 100%;
}

/* Navigation refinements */
.wp-block-navigation .wp-block-navigation-item__content {
	text-decoration: none;
}

.wp-block-navigation .wp-block-navigation-item__content:hover {
	text-decoration: underline;
}

/* Button hover polish */
.wp-block-button__link {
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

/* Card-style group borders used in patterns */
.isledriveyou-card {
	height: 100%;
}

/* FAQ details if used with group styling */
.wp-block-details summary {
	cursor: pointer;
	font-weight: 600;
}

/* Reduce default paragraph margin in tight card stacks */
.wp-block-group.is-style-card p:last-child {
	margin-bottom: 0;
}

/* Force hamburger button to show below 1000px */
@media screen and (max-width: 850px) {
    .wp-block-navigation__responsive-container-open {
        display: block !important;
    }
    /* Hide the default desktop horizontal row layout */
    .wp-block-navigation__responsive-container:not(.is-menu-open.has-modal-open) {
        display: none !important;
    }
}