/*
Theme Name: Classima Child
Description: Child theme for Pilates World Directory. All PWD template overrides and custom code live here so a Classima update cannot erase them.
Author: PWD Team
Template: classima
Version: 1.1.0
*/

/* --- PWD fix 23 Aug 2026: RTCL popup never becomes visible ------------------
   rtcl-public.min.css sets .rtcl-popup-wrapper { opacity: 0 } and its .show
   class only sets display:block, so no rule ever restores opacity. Every RTCL
   modal - the claim form included - opened invisible. Nobody could claim a
   listing. Fixed here rather than in the plugin so an update cannot undo it. */
.rtcl-popup-wrapper.show {
	display: block;
	opacity: 1;
}


/* =========================================================================
   PWD BRAND HEADER - wired 15 Sep 2026 by Claude.
   classima[logo] 17825 / classima[logo_light] 17826 replaced the old 285x84
   mark. The new files are 2560x547, so with no height rule the theme rendered
   the mobile header logo at 488x100. Measured before 488x100, after 187x40.
   The wordmark PNGs carry about 7.6% transparent padding top and bottom, so a
   40px box gives a 34px VISIBLE wordmark - the size Kaz approved.
   Same wordmark on phones, scaled down. Never the app tile in the header.
   ========================================================================= */
.dark-logo img,
.light-logo1 img,
.mean-logo-area img.logo-small {
	height: 40px !important;
	width: auto !important;
	max-width: 100% !important;
	display: block;
}

@media (max-width: 767px) {
	.dark-logo img,
	.light-logo1 img,
	.mean-logo-area img.logo-small {
		height: 32px !important;
	}
}
