/* RC45: profile sections share one content column and a single optional sidebar.
   Loaded after RC43 only on talent and event detail pages. No global overrides. */
body.public-shell #main-content .talent-profile-v6 .talent-main-v6.vv45-profile-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  align-items:start!important;
  align-content:start!important;
  column-gap:clamp(14px,2vw,24px)!important;
  row-gap:clamp(14px,2vw,24px)!important;
  margin-top:0!important;
  padding:clamp(14px,2.5vw,26px) 0 clamp(22px,3vw,38px)!important;
  min-width:0;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout>.talent-content-v6{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:clamp(12px,1.7vw,18px)!important;
  align-content:start!important;
  min-width:0;
  width:100%;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout>.talent-content-v6>section{
  margin:0!important;
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:0!important;
  box-sizing:border-box;
  align-self:start;
}
/* Primary booking card stays visually prominent but follows the same column width. */
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout .vv43-rate{
  display:flex;
  flex-direction:column;
  align-items:stretch;
  gap:clamp(9px,1.5vw,14px);
  padding:clamp(18px,2.4vw,30px)!important;
  border-radius:18px;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout .vv43-rate h2{
  font-size:clamp(27px,4.4vw,43px);
  overflow-wrap:anywhere;
  max-width:100%;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout .vv43-rate .btn{
  width:100%;
  max-width:400px;
  min-height:48px;
  align-self:flex-start;
  white-space:normal;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout :is(.vv-talent-riders,.vv43-documents,#pengalaman,#event-terbaru,.vv45-quotes-panel){
  border-radius:18px;
  min-width:0;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout .vv43-documents{
  padding:clamp(17px,2.4vw,27px)!important;
  align-content:start;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout .vv43-documents .talent-docs-v6{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,225px),1fr));
  align-items:start;
  gap:10px;
  min-width:0;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout .vv43-documents .talent-docs-v6>*{
  min-width:0;
  max-width:100%;
}
/* Quotes have their own panel, never an empty event-history box. */
body.public-shell #main-content .talent-profile-v6 .vv45-quotes-panel .vv14-quote-section{
  border-top:0!important;
  padding-top:0!important;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout>.talent-side-v6{
  display:grid!important;
  grid-template-columns:minmax(0,1fr);
  gap:clamp(12px,1.7vw,18px)!important;
  align-content:start;
  min-width:0;
  width:100%;
  margin:0!important;
  padding:0!important;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout>.talent-side-v6>.talent-side-card-v6{
  margin:0!important;
  width:100%;
  min-width:0;
  max-width:100%;
  min-height:0!important;
  box-sizing:border-box;
  align-self:start;
}
body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout :is(#rate-booking,#riders,#dokumen-booking,#pengalaman,#event-terbaru,#press-testimonial,#profil,#musik,#store-talent){
  scroll-margin-top:calc(var(--vv-header-clearance,100px) + 24px)!important;
}
/* One column is the mobile default. Larger mobile/tablet surfaces may place sidebar cards in a natural grid. */
@media (min-width:650px) and (max-width:980px){
  body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout>.talent-side-v6{
    grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))!important;
  }
}
@media (min-width:981px){
  body.public-shell #main-content .talent-profile-v6 .talent-main-v6.vv45-profile-layout:not(.no-sidebar-v941){
    grid-template-columns:minmax(0,1fr) minmax(272px,29%)!important;
  }
  body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout>.talent-side-v6{
    /* Keep RC15's independently scrollable sticky sidebar for longer profiles. */
    grid-template-columns:minmax(0,1fr)!important;
  }
}
@media (max-width:480px){
  body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout>.talent-content-v6{
    gap:12px!important;
  }
  body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout .vv43-rate .btn{max-width:none}
  body.public-shell #main-content .talent-profile-v6 .vv45-profile-layout .vv43-documents .talent-docs-v6{
    grid-template-columns:minmax(0,1fr);
  }
}
/* RSVP and PR share the same CTA row, tap target, baseline and size at all screen widths. */
body.public-shell #main-content .event-detail-v904 .event-detail-copy-v904 .hero-actions.vv45-event-actions{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  align-items:stretch!important;
  gap:clamp(8px,1.5vw,12px)!important;
  width:100%;
  max-width:540px;
  margin:clamp(14px,2vw,20px) 0 10px!important;
  min-width:0;
}
body.public-shell #main-content .event-detail-v904 .event-detail-copy-v904 .hero-actions.vv45-event-actions--single{
  grid-template-columns:minmax(0,1fr)!important;
  max-width:270px;
}
body.public-shell #main-content .event-detail-v904 .vv45-event-actions>a.btn{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:56px!important;
  height:100%;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:8px!important;
  padding:10px clamp(9px,1.6vw,17px)!important;
  text-align:center!important;
  white-space:normal!important;
  overflow-wrap:anywhere;
  font-size:clamp(12px,1.2vw,14px)!important;
  line-height:1.3!important;
  border-radius:12px;
  box-sizing:border-box;
}
body.public-shell #main-content .event-detail-v904 .vv45-event-actions>a.btn>.ui-icon,
body.public-shell #main-content .event-detail-v904 .vv45-event-actions>a.btn>svg{
  flex:0 0 auto;
  width:16px;
  height:16px;
}
body.public-shell #main-content .event-detail-v904 .vv45-event-actions>a.btn:focus-visible{
  outline:3px solid #d4fa63;
  outline-offset:3px;
}
/* A third action (tickets) takes the next full row instead of leaving a ragged half-card. */
body.public-shell #main-content .event-detail-v904 .vv45-event-actions>a.btn:nth-child(3):last-child{
  grid-column:1/-1;
}
@media (max-width:520px){
  body.public-shell #main-content .event-detail-v904 .event-detail-copy-v904 .hero-actions.vv45-event-actions{max-width:none}
  body.public-shell #main-content .event-detail-v904 .vv45-event-actions>a.btn{min-height:62px!important}
}
@media (max-width:340px){
  body.public-shell #main-content .event-detail-v904 .vv45-event-actions>a.btn{font-size:12px!important;gap:4px!important;padding-inline:7px!important}
}
