/*
Theme Name: Cr8v Stacks Events - Black & White Craft
Theme URI: https://cr8vstacks.com/dev-playground/
Author: Cr8v Stacks
Author URI: https://cr8vstacks.com/dev-playground/
Description: Bespoke live event management, technical stage architecture, and entertainment booking agency WordPress theme.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: cr8v-events
Tags: events, entertainment, portfolio, custom-colors, custom-menu, featured-images, flexible-header, full-width-template, theme-options

--------------------------------------------------------------
Note: Core layout, typography, and responsive styles are loaded
via assets/css/styles.css for optimal modularity and caching.
--------------------------------------------------------------
*/

/* WordPress Core Alignment & Utility Fallbacks */
.alignnone { margin: 5px 20px 20px 0; }
.aligncenter, div.aligncenter { display: block; margin: 5px auto 5px auto; }
.alignright { float:right; margin: 5px 0 20px 20px; }
.alignleft { float: left; margin: 5px 20px 20px 0; }
.aligncenter { display: block; margin: 5px auto 5px auto; }
a img.alignright { float: right; margin: 5px 0 20px 20px; }
a img.alignnone { margin: 5px 20px 20px 0; }
a img.alignleft { float: left; margin: 5px 20px 20px 0; }
a img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption { background: #fff; border: 1px solid #f0f0f0; max-width: 96%; padding: 5px 3px 10px; text-align: center; }
.wp-caption.alignnone { margin: 5px 20px 20px 0; }
.wp-caption.alignleft { margin: 5px 20px 20px 0; }
.wp-caption.alignright { margin: 5px 0 20px 20px; }
.wp-caption img { border: 0 none; height: auto; margin: 0; max-width: 98.5%; padding: 0; width: auto; }
.wp-caption p.wp-caption-text { font-size: 11px; line-height: 17px; margin: 0; padding: 0 4px 5px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }

/* ==============================================================
   CRITICAL BRAND LOGO CLAMPING & DISPLAY RULES (Header, Drawer, Footer)
   ============================================================== */
.bwc-header .bwc-brand {
  display: flex !important;
  align-items: center !important;
  height: 100% !important;
  max-height: 72px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.bwc-header .bwc-brand-logo,
.bwc-header .custom-logo-link {
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  max-height: 52px !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

.bwc-header .bwc-logo-img,
.bwc-header .bwc-logo-svg,
.bwc-header .bwc-brand img,
.bwc-header .custom-logo {
  height: 44px !important;
  max-height: 44px !important;
  width: auto !important;
  max-width: 140px !important;
  display: block !important;
  object-fit: contain !important;
  margin: auto 0 !important;
}

@media (max-width: 768px) {
  .bwc-header {
    height: 62px !important;
  }
  .bwc-header .bwc-logo-img,
  .bwc-header .bwc-logo-svg,
  .bwc-header .bwc-brand img,
  .bwc-header .custom-logo {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 110px !important;
  }
}

@media (max-width: 480px) {
  .bwc-header {
    height: 58px !important;
  }
  .bwc-header .bwc-logo-img,
  .bwc-header .bwc-logo-svg,
  .bwc-header .bwc-brand img,
  .bwc-header .custom-logo {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 95px !important;
  }
}

/* Mobile Drawer Inactive State */
.bwc-mobile-drawer {
  display: none !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  z-index: 99999 !important;
}

.bwc-mobile-drawer.is-active {
  display: block !important;
}

.bwc-mobile-drawer .bwc-logo-img,
.bwc-mobile-drawer .bwc-brand img {
  height: 34px !important;
  max-height: 34px !important;
  width: auto !important;
  max-width: 105px !important;
  display: block !important;
  object-fit: contain !important;
}

/* Footer Logo Clamping */
.bwc-footer-logo-img,
.bwc-footer-brand img {
  height: 42px !important;
  max-height: 42px !important;
  width: auto !important;
  max-width: 130px !important;
  display: block !important;
  object-fit: contain !important;
}

@media (max-width: 768px) {
  .bwc-footer-logo-img,
  .bwc-footer-brand img {
    height: 36px !important;
    max-height: 36px !important;
    max-width: 110px !important;
  }
}

@media (max-width: 480px) {
  .bwc-footer-logo-img,
  .bwc-footer-brand img {
    height: 32px !important;
    max-height: 32px !important;
    max-width: 95px !important;
  }
}
