/*
Theme Name: Erotic Mysteries
Theme URI: https://www.schooloferoticmysteries.com/
Author: School of Erotic Mysteries
Description: Dark glamour block theme for the School of Erotic Mysteries.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: erotic-mysteries
*/

/* ---------- Header ---------- */
.em-header { border-bottom: 1px solid var(--wp--preset--color--border); }
.em-brand { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.em-brand img.em-wordmark { height: 30px; width: auto; max-width: 62vw; display: block; }
.em-brand .wp-block-site-logo img { display: block; }
.em-header .wp-block-navigation a { color: var(--wp--preset--color--foreground); text-decoration: none; }
.em-header .wp-block-navigation a:hover,
.em-header .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--secondary); }
.em-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--wp--preset--color--background) !important; color: var(--wp--preset--color--foreground) !important; }
@media (max-width: 600px) { .em-brand img.em-wordmark { height: 20px; } .em-brand .wp-block-site-logo img { width: 48px !important; } }

/* ---------- General ---------- */
a { text-underline-offset: 3px; }
.wp-block-separator { border-color: var(--wp--preset--color--border); opacity: 1; }
.wp-block-button.is-style-outline > .wp-block-button__link { background: transparent; color: var(--wp--preset--color--heading); border: 1px solid var(--wp--preset--color--primary); }
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--wp--preset--color--tertiary); }
.em-card { background: var(--wp--preset--color--tertiary); border: 1px solid var(--wp--preset--color--border); }
.em-card > .wp-block-image { margin: 0; }
.em-card > .wp-block-image img { width: 100%; height: auto; display: block; border-bottom: 1px solid var(--wp--preset--color--border); }
.em-band { background: #1E1219; border-top: 1px solid var(--wp--preset--color--border); border-bottom: 1px solid var(--wp--preset--color--border); }
.em-hero-photos img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Forms (Contact Form 7, newsletter) */
input[type="text"], input[type="email"], input[type="tel"], input[type="url"], textarea, select {
	background: #1E1219; color: var(--wp--preset--color--foreground); border: 1px solid #5A3A4B;
	padding: 10px 12px; font: inherit; font-size: 17px; max-width: 100%; box-sizing: border-box;
}
input:focus, textarea:focus, select:focus { outline: 2px solid var(--wp--preset--color--secondary); outline-offset: 1px; }
.wpcf7-form input[type="text"], .wpcf7-form input[type="email"], .wpcf7-form textarea { width: 100%; }
input[type="submit"], .wpcf7-submit {
	background: var(--wp--preset--color--primary); color: var(--wp--preset--color--ink); border: 0;
	padding: 12px 26px; font: inherit; font-weight: 600; letter-spacing: 0.06em; cursor: pointer; min-height: 44px;
}
input[type="submit"]:hover, .wpcf7-submit:hover { background: #F0C9B6; }
.wpcf7 form .wpcf7-response-output { border-color: var(--wp--preset--color--primary); }

/* ---------- Modern Events Calendar on dark ---------- */
.mec-wrap, .mec-wrap p, .mec-wrap span, .mec-wrap div, .mec-wrap li { color: var(--wp--preset--color--foreground); }
.mec-wrap h1, .mec-wrap h2, .mec-wrap h3, .mec-wrap h4, .mec-wrap h5, .mec-wrap h4 a, .mec-wrap h3 a,
.mec-wrap .mec-event-title, .mec-wrap .mec-event-title a { color: var(--wp--preset--color--heading) !important; font-family: var(--wp--preset--font-family--cormorant) !important; }
.mec-wrap .mec-color, .mec-wrap .mec-color-hover:hover, .mec-wrap .mec-event-date, .mec-wrap .mec-start-date-label { color: var(--wp--preset--color--secondary) !important; }
.mec-wrap .mec-event-article, .mec-wrap article, .mec-event-grid-classic .mec-event-content,
.mec-wrap .mec-event-list-classic .mec-event-article { background: transparent !important; border-color: var(--wp--preset--color--border) !important; }
.mec-wrap .mec-event-grid-classic .mec-event-article { background: var(--wp--preset--color--tertiary) !important; border: 1px solid var(--wp--preset--color--border) !important; }
.mec-wrap .mec-month-divider span, .mec-wrap .mec-month-divider h5 { color: var(--wp--preset--color--heading) !important; background: var(--wp--preset--color--background) !important; }
.em-band .mec-wrap .mec-month-divider span, .em-band .mec-wrap .mec-month-divider h5 { background: #1E1219 !important; }
.mec-wrap .mec-month-divider:before { border-color: var(--wp--preset--color--border) !important; }
.mec-wrap .mec-booking-button, .mec-wrap .mec-event-footer .mec-booking-button, .mec-wrap a.button {
	background: var(--wp--preset--color--primary) !important; color: var(--wp--preset--color--ink) !important; border: 0 !important;
}
.mec-wrap .mec-event-footer { background: transparent !important; border-color: var(--wp--preset--color--border) !important; }
.mec-single-event, .mec-single-event .mec-events-content, .mec-single-event .mec-event-info-desktop, .mec-single-event .mec-frontbox,
.mec-single-event .mec-event-meta, .mec-events-meta-group, .mec-single-event .mec-event-export-module, .mec-wrap .mec-frontbox {
	background: var(--wp--preset--color--tertiary) !important; color: var(--wp--preset--color--foreground) !important; border-color: var(--wp--preset--color--border) !important; box-shadow: none !important;
}
.mec-single-event .mec-single-title { color: var(--wp--preset--color--heading) !important; }
.mec-wrap .mec-single-event .mec-event-meta h3, .mec-wrap .mec-single-event .mec-event-meta dt, .mec-wrap .mec-single-event .mec-event-meta dd,
.mec-wrap .mec-single-event .mec-event-meta abbr { color: var(--wp--preset--color--foreground) !important; }
.mec-wrap .mec-single-event .mec-event-meta i:before { color: var(--wp--preset--color--secondary) !important; }

/* ---------- Footer ---------- */
.em-footer { border-top: 1px solid var(--wp--preset--color--border); }
.em-footer .wp-block-social-links .wp-social-link a, .em-footer .wp-block-social-links .wp-block-social-link-label { color: var(--wp--preset--color--primary); }
.em-footer .wp-block-social-links.is-style-logos-only .wp-social-link svg { fill: currentColor; }
