/*
 Theme Name:   Stanley Kiosk
 Theme URI:    
 Description:  Custom child theme for Stanley & Tarkine Kiosk
 Author:       Stanley Tarkine
 Template:     hello-elementor
 Version:      1.0.5
 Text Domain:  stanley-kiosk
*/

/* Kiosk display: 3840x2160, no scrolling */
html, body {
    overflow: hidden !important;
    width: 3840px !important;
    height: 2160px !important;
    max-width: 3840px !important;
    max-height: 2160px !important;
    margin: 0 !important;
    padding: 0 !important;
}

.elementor-page [data-elementor-type="wp-page"] > .elementor-element {
    max-height: 2160px;
    overflow: hidden;
}

/* ===== Sidebar nav heading links ===== */
.elementor-13990 .elementor-heading-title a {
    color: inherit !important;
    text-decoration: none !important;
}

/* ===== Location cards clickability (Accommodations page) ===== */
.location-card { position: relative; cursor: pointer; }
.location-card .elementor-heading-title a {
    color: inherit !important;
    text-decoration: none !important;
}
.location-card .elementor-heading-title a::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

/* ===== Itinerary accordion: scrollable container with hidden scrollbar ===== */
.elementor-element-34779ea {
    max-height: 2160px !important;
    overflow-y: auto !important;
    scrollbar-width: none;          /* Firefox */
    -ms-overflow-style: none;       /* IE/Edge */
}
.elementor-element-34779ea::-webkit-scrollbar {
    display: none;                  /* Chrome/Safari */
}

/* Itinerary toggle: 12px gap between items (Figma) */
.elementor-element-7ee5983 .elementor-toggle-item:not(:last-child) {
    margin-bottom: 12px;
}

/* Itinerary map: iframe fills the full container */
.elementor-element-2cab7cf .elementor-widget-html {
    flex-grow: 1;
    width: 100%;
}
.elementor-element-2cab7cf .elementor-widget-html .elementor-widget-container,
.elementor-element-2cab7cf .elementor-widget-html iframe {
    width: 100%;
    height: 100%;
}

/* ===== Homepage search form: hide submit button & success message ===== */
.elementor-element[data-id="srchfrm"] .elementor-field-type-submit,
.elementor-widget-form .elementor-field-type-submit {
    display: none !important;
}
.elementor-message {
    display: none !important;
}

/* ===== Sidebar template (shared across all pages, template ID 13990) ===== */
/* "Discover More" heading: stretch to full width so padding-left:110px positions text correctly */
.elementor-13990 .elementor-element-1b3956b {
    align-self: stretch !important;
}

/* ===== Loop card overlay link (Listing page) ===== */
/* Card link overlay positioning handled via inline script in shortcode */

/* ===== View Map gallery ===== */
.gallery-main-image { aspect-ratio: 839 / 697; min-height: 0 !important; }
.gallery-thumbnail  { aspect-ratio: 269.1 / 223.56; min-height: 0 !important; }
[data-role="thumb"] { cursor: pointer; transition: border-color .2s; border: 3px solid transparent; }
[data-role="thumb"]:hover { border-color: #03A7B5; }

.elementor-popup-modal .dialog-close-button svg {
    fill: #ffffff !important;
    height: 2em !important;
    width: 2em !important;
}

div[aria-label="Search widget"] {
	width: 30vw !important;
    margin: 0 auto !important;
}

gen-search-widget::part(content) {
    max-width: 800px !important;
    width: 800px !important;
}

gen-search-widget::part(dialog) {
    max-width: 800px !important;
}