/* TuneGrizzy V24: Contact-only responsive repair. Loaded both as linked CSS
   and inline inside the AJAX fragment. No effect on the homepage or beat store. */
#cont:has(.tg-contact-v24) {background:#09090b!important;height:auto!important;min-height:0!important;padding-bottom:0!important;}
#cont .tg-contact-v24 {
 width:min(1160px,calc(100% - 32px))!important; max-width:1160px!important;
 margin:86px auto 32px!important;padding:0!important;
 height:auto!important;min-height:0!important;position:relative!important;
 box-sizing:border-box!important;display:block!important;float:none!important;
 clear:both!important;overflow:visible!important;
}
#cont .tg-contact-v24 #wb_contact {
 position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
 width:100%!important;height:auto!important;min-height:0!important;
 padding:clamp(20px,3vw,38px)!important;box-sizing:border-box!important;
 background:linear-gradient(135deg,#1c171d,#0e0d11)!important;
 border:1px solid #642534!important;border-radius:18px!important;
 box-shadow:0 18px 50px #0009!important;
 display:block!important;overflow:visible!important;
}
#cont .tg-contact-v24 #contact {
 display:grid!important; grid-template-columns:minmax(0,.96fr) minmax(0,1.04fr)!important;
 grid-template-areas:
 'details status'
 'details name'
 'details email'
 'details phone'
 'details subject'
 'details message'
 'details capimage'
 'details capinput'
 'beatcover send'
 'beatinfo .'!important;
 align-items:start!important;column-gap:clamp(20px,4vw,54px)!important;row-gap:12px!important;
 height:auto!important;min-height:0!important;margin:0!important;padding:0!important;
 position:relative!important;box-sizing:border-box!important;
}
#cont .tg-contact-v24 #contact > :not(input[type="hidden"]) {
 position:relative!important;inset:auto!important;left:auto!important;top:auto!important;
 right:auto!important;bottom:auto!important;max-width:100%!important;
 min-width:0!important;width:100%!important;height:auto!important;
 margin:0!important;box-sizing:border-box!important;
}
#cont .tg-contact-v24 #contact #Html3 {grid-area:details!important;min-height:180px!important;max-height:none!important;overflow:visible!important;padding:8px 8px 10px 0!important;color:#e6dfe4!important;line-height:1.6!important;}
#cont .tg-contact-v24 #contact #Html3 span {color:#e3dce1!important;font-size:clamp(15px,1.5vw,18px)!important;line-height:1.75!important;overflow-wrap:anywhere!important;}
#cont .tg-contact-v24 #contact #Html3 span:first-child {font-size:clamp(25px,2.6vw,32px)!important;color:#fff!important;}
#cont .tg-contact-v24 #contact #Html3 a {color:#ff5067!important;}
#cont .tg-contact-v24 #contact #statmsg {grid-area:status!important;min-height:0!important;padding:0!important;}
#cont .tg-contact-v24 #contact #Editbox1 {grid-area:name!important;}
#cont .tg-contact-v24 #contact #contemail {grid-area:email!important;}
#cont .tg-contact-v24 #contact #contphone {grid-area:phone!important;}
#cont .tg-contact-v24 #contact #consubj {grid-area:subject!important;}
#cont .tg-contact-v24 #contact #message {grid-area:message!important;min-height:146px!important;resize:vertical!important;}
#cont .tg-contact-v24 #contact #Html1 {grid-area:capimage!important;min-height:0!important;}
#cont .tg-contact-v24 #contact #Html1 img {max-width:100%!important;}
#cont .tg-contact-v24 #contact > div:has(> #Captcha1) {grid-area:capinput!important;}
#cont .tg-contact-v24 #contact #Captcha1 {position:static!important;width:100%!important;height:45px!important;box-sizing:border-box!important;color:#fff!important;}
#cont .tg-contact-v24 #contact #sendbut {grid-area:send!important;}
#cont .tg-contact-v24 #contact #Html2 {grid-area:beatcover!important;min-height:0!important;overflow:visible!important;}
#cont .tg-contact-v24 #contact #Html6 {grid-area:beatinfo!important;min-height:0!important;overflow:visible!important;}
#cont .tg-contact-v24 #contact input:not([type="hidden"]),
#cont .tg-contact-v24 #contact textarea {
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
 min-height:46px!important;padding:11px 14px!important;margin:0!important;
 color:#fff!important;background:#222027!important;
 border:1px solid #52303a!important;border-radius:9px!important;
 outline:none!important;font-size:15px!important;line-height:1.4!important;
}
#cont .tg-contact-v24 #contact input:focus,#cont .tg-contact-v24 #contact textarea:focus {
 border-color:#f13954!important;box-shadow:0 0 0 3px #f1395429!important;
}
#cont .tg-contact-v24 #contact #sendbut button#send {
 width:100%!important;height:auto!important;min-height:46px!important;
 border:1px solid #ff5368!important;border-radius:10px!important;
 background:linear-gradient(95deg,#dd172f,#ac112b)!important;
 color:#fff!important;font-weight:700!important;cursor:pointer!important;
}
#cont .tg-contact-v24 #maplayer {z-index:11000!important;}
/* Make Contact footer flow directly after the Contact card, never from fixed y-coordinates. */
#cont:has(.tg-contact-v24) > #footer,
#cont:has(.tg-contact-v24) #footer {
 position:relative!important;inset:auto!important;top:auto!important;left:auto!important;
 right:auto!important;bottom:auto!important;float:none!important;clear:both!important;
 margin:0 auto!important;box-sizing:border-box!important;width:100%!important;
 height:352px!important;min-height:352px!important;max-height:none!important;
 padding:12px 0!important;overflow:hidden!important;
 border-top:2px solid #ca1c37!important;
 background:linear-gradient(130deg,#191518,#100f12)!important;
}
#cont:has(.tg-contact-v24) #footer_Container {
 position:relative!important;max-width:1200px!important;width:min(1200px,100%)!important;
 min-height:0!important;height:315px!important;margin:0 auto!important;
}
body:has(#cont .tg-contact-v24) > #container #defload {display:none!important;}
@media(max-width:979px){
 #cont .tg-contact-v24 {margin-top:80px!important;width:calc(100% - 22px)!important;}
 #cont .tg-contact-v24 #wb_contact {padding:22px 18px!important;}
 #cont .tg-contact-v24 #contact {
   grid-template-columns:minmax(0,1fr)!important;
   grid-template-areas:'details' 'status' 'name' 'email' 'phone' 'subject' 'message' 'capimage' 'capinput' 'send' 'beatcover' 'beatinfo'!important;
   row-gap:11px!important;
 }
 #cont .tg-contact-v24 #contact #Html3 {min-height:0!important;padding:0 0 12px!important;}
 #cont:has(.tg-contact-v24) #footer {
   height:auto!important;min-height:0!important;max-height:none!important;
   padding:26px 14px 115px!important;overflow:visible!important;
 }
 #cont:has(.tg-contact-v24) #footer_Container {
   position:relative!important;display:grid!important;
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
   width:min(540px,100%)!important;height:auto!important;min-height:0!important;
   gap:14px 16px!important;
 }
 #cont:has(.tg-contact-v24) #footer_Container > * {
   position:relative!important;inset:auto!important;top:auto!important;left:auto!important;
   right:auto!important;bottom:auto!important;max-width:100%!important;
   width:100%!important;height:auto!important;min-height:0!important;
   box-sizing:border-box!important;margin:0!important;
 }
 #cont:has(.tg-contact-v24) #footer_Container #Html17,
 #cont:has(.tg-contact-v24) #footer_Container #Html15,
 #cont:has(.tg-contact-v24) #footer_Container #Html16,
 #cont:has(.tg-contact-v24) #footer_Container #Html14,
 #cont:has(.tg-contact-v24) #footer_Container #Html12,
 #cont:has(.tg-contact-v24) #footer_Container #Html24 {overflow:visible!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html14{grid-column:1/-1!important;text-align:center!important;}
 #cont:has(.tg-contact-v24) #footer_Container input {width:100%!important;min-width:0!important;}
}
@media(max-width:520px){
 #cont .tg-contact-v24 #wb_contact{padding:18px 14px!important;}
 #cont .tg-contact-v24 #contact #Html3 span{font-size:15px!important;}
 #cont:has(.tg-contact-v24) #footer_Container{grid-template-columns:1fr!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html14{grid-column:1!important;}
}

/* V24 final footer normalization on phones: explicit visual order */
#cont:has(.tg-contact-v24) #footer {display:block!important;}
@media(max-width:520px){
 #cont:has(.tg-contact-v24) #footer_Container {
  display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;
  align-items:start!important;gap:10px 8px!important;
 }
 #cont:has(.tg-contact-v24) #footer_Container > * {grid-column:1/-1!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html13{order:1!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html17{order:2!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html18{order:3!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html15{order:4!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html19{order:5!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html16{order:6!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html20{order:7!important;}
 #cont:has(.tg-contact-v24) #footer_Container #name{order:8!important;}
 #cont:has(.tg-contact-v24) #footer_Container #email{order:9!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html11{order:10!important;}
 #cont:has(.tg-contact-v24) #footer_Container #wb_fb{order:11!important;grid-column:span 1!important;}
 #cont:has(.tg-contact-v24) #footer_Container #wb_tt{order:12!important;grid-column:span 1!important;}
 #cont:has(.tg-contact-v24) #footer_Container #wb_pi{order:13!important;grid-column:span 1!important;}
 #cont:has(.tg-contact-v24) #footer_Container #wb_in{order:14!important;grid-column:span 1!important;}
 #cont:has(.tg-contact-v24) #footer_Container #wb_yo{order:15!important;grid-column:span 1!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html12{order:16!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html24{order:17!important;}
 #cont:has(.tg-contact-v24) #footer_Container #Html14{order:18!important;}
}
