/* Page-local repairs: let content determine height instead of export coordinates. */
body.tf-wedding-fix #tf-main > section:not(.u-hidden):not(.u-dialog-block) { min-width:0; }
body.tf-wedding-fix #carousel_dd5e { position:relative; display:grid; align-content:center; gap:24px; min-height:540px; padding:64px 60px; isolation:isolate; }
body.tf-wedding-fix #carousel_dd5e > .u-gallery { position:absolute!important; inset:0; width:100%!important; height:100%!important; margin:0!important; z-index:-2; }
body.tf-wedding-fix #carousel_dd5e::after { content:""; position:absolute; inset:0; background:rgba(0,0,0,.24); z-index:-1; pointer-events:none; }
body.tf-wedding-fix #carousel_dd5e > h1 { font-size:52px; line-height:1.15; max-width:1080px; width:auto; margin:0 auto!important; }
body.tf-wedding-fix #carousel_dd5e > p { font-size:24px; line-height:1.5; margin:0 auto!important; max-width:680px; }
body.tf-wedding-fix #carousel_dd5e > .u-layout-wrap { width:auto!important; margin:0 auto!important; }
body.tf-wedding-fix #carousel_dd5e .u-layout-cell { min-height:0!important; }
body.tf-wedding-fix #carousel_dd5e .u-container-layout { padding:8px!important; }
body.tf-wedding-fix #carousel_dd5e .u-btn { margin:0!important; min-height:48px; }
body.tf-wedding-fix #carousel_dd5e .u-gallery-nav { top:auto!important; bottom:16px!important; transform:none!important; }
body.tf-wedding-fix #carousel_9db9 > .u-sheet { min-height:0!important; padding:48px 0; }
body.tf-wedding-fix #carousel_9db9 h3 { margin:0 auto 28px!important; width:auto!important; max-width:100%; font-size:28px; line-height:1.3; }
body.tf-wedding-fix #carousel_9db9 .u-gallery { margin:0 0 24px!important; }
body.tf-wedding-fix #carousel_9db9 .u-btn { display:inline-flex; align-items:center; justify-content:center; margin:8px!important; min-height:48px; max-width:calc(100% - 16px); }
body.tf-wedding-fix #block-12 > .u-sheet { display:grid; grid-template-columns:1fr 1fr; gap:20px 40px; min-height:0!important; padding:48px 0; }
body.tf-wedding-fix #block-12 .u-text { width:auto!important; margin:0!important; }
body.tf-wedding-fix #block-12 > .u-sheet > p { grid-column:1/-1; font-size:28px; font-weight:700; margin-bottom:12px!important; }
body.tf-wedding-fix #block-12 ul { padding-left:30px; line-height:1.6; }
body.tf-wedding-fix #block-1 > .u-sheet { min-height:0!important; padding:48px 0; }
body.tf-wedding-fix #block-1 .u-group-1 { width:640px; max-width:100%; min-height:0!important; margin:0 0 0 auto!important; background:rgba(255,255,255,.94); color:#232a30; }
body.tf-wedding-fix #block-1 .u-container-layout-1 { padding:32px!important; }
body.tf-wedding-fix #block-1 .u-text { width:auto!important; margin:0!important; }
body.tf-wedding-fix #block-1 h2 { font-size:30px; line-height:1.3; letter-spacing:0!important; }
body.tf-wedding-fix #block-1 p { font-size:18px; line-height:1.7; margin-top:24px!important; }
body.tf-wedding-fix #block-1 .u-group-elements { display:flex; flex-wrap:wrap; gap:12px; width:100%!important; height:auto!important; min-height:0!important; margin:24px 0 0!important; }
body.tf-wedding-fix #block-1 .u-btn { position:static!important; display:inline-flex; align-items:center; justify-content:center; width:auto!important; margin:0!important; min-height:48px; box-shadow:none; }
body.tf-wedding-fix #block-1 .u-btn-1 { color:#257329!important; border-color:#257329!important; }
body.tf-wedding-fix #block-1 .u-icon-1 { display:none; }
body.tf-wedding-fix #sec-130f > .u-sheet { min-height:0!important; padding:56px 0; }
body.tf-wedding-fix #sec-130f h2 { margin:0 auto 24px!important; }
body.tf-wedding-fix #sec-130f > .u-sheet > p { display:none; }
body.tf-wedding-fix #sec-130f .u-slider { width:760px!important; max-width:100%!important; min-height:0!important; height:auto!important; margin:0 auto!important; }
body.tf-wedding-fix #sec-130f .u-carousel-inner { min-height:0!important; }
body.tf-wedding-fix #sec-130f .u-carousel-item { min-height:0!important; height:auto!important; }
body.tf-wedding-fix #sec-130f .u-carousel-item .u-container-layout { padding:32px 48px 64px!important; min-height:0!important; }
body.tf-wedding-fix #sec-130f .u-carousel-item .u-image { width:80px!important; height:80px!important; margin:0 auto 24px!important; }
body.tf-wedding-fix #sec-130f .u-carousel-item p { width:auto!important; margin:0!important; font-size:17px!important; line-height:1.7; text-align:left!important; }
body.tf-wedding-fix #sec-130f .u-carousel-item h4 { width:auto!important; margin:24px 0 0!important; font-size:21px; }
body.tf-wedding-fix #sec-130f .u-carousel-item h6 { width:auto!important; margin:8px 0 0!important; }
body.tf-wedding-fix #sec-130f .u-carousel-indicators { bottom:24px!important; }
body.tf-wedding-fix #sec-130f .u-carousel-control-prev { left:-64px!important; }
body.tf-wedding-fix #sec-130f .u-carousel-control-next { right:-64px!important; }
body.tf-wedding-fix #block-11 > .u-sheet { min-height:0!important; padding:48px 0; }
body.tf-wedding-fix #block-11 h2 { margin:0 auto 24px!important; }
body.tf-wedding-fix #block-11 > .u-sheet > p { width:812px!important; max-width:100%; margin:24px auto!important; }
body.tf-wedding-fix #block-11 .u-layout-wrap { width:812px!important; max-width:100%; margin:28px auto!important; }
body.tf-wedding-fix #block-11 .u-layout-row { display:grid!important; grid-template-columns:1fr 1fr; gap:16px; margin:0!important; }
body.tf-wedding-fix #block-11 .u-layout-cell { width:auto!important; max-width:100%!important; min-width:0!important; min-height:0!important; border:0!important; border-radius:8px!important; }
body.tf-wedding-fix #block-11 .u-layout-cell .u-container-layout { padding:28px!important; }
body.tf-wedding-fix #block-11 .u-layout-cell p { width:auto!important; margin:0!important; font-size:18px; line-height:1.6; }
body.tf-wedding-fix #block-11 .u-layout-cell p + p { margin-top:16px!important; }
body.tf-wedding-fix #block-11 .u-group-1 { max-width:100%; min-height:0!important; margin:24px auto!important; }
body.tf-wedding-fix #sec-6faf > .u-sheet { min-height:0!important; padding:48px 0; }
body.tf-wedding-fix #sec-6faf h2, body.tf-wedding-fix #sec-6faf > .u-sheet > p { margin:0 auto 16px!important; }
body.tf-wedding-fix #sec-6faf .u-accordion { margin:28px 0 0!important; }
body.tf-wedding-fix #sec-6faf .u-accordion-link { display:flex; align-items:center; gap:16px; min-height:64px; padding:18px 24px!important; border-radius:8px; }
body.tf-wedding-fix #sec-6faf .u-accordion-link-text { flex:1; min-width:0; font-size:17px; line-height:1.5; }
body.tf-wedding-fix #sec-6faf .u-accordion-link-icon { flex:0 0 28px; width:28px; height:28px; margin:0!important; }
body.tf-wedding-fix #sec-6faf .u-accordion-pane .u-container-layout { padding:20px 24px!important; }
body.tf-wedding-fix #sec-6faf .u-accordion-pane .u-text { margin:0!important; }
body.tf-wedding-fix #sec-6faf .u-accordion-pane p, body.tf-wedding-fix #sec-6faf .u-accordion-pane span { font-size:17px!important; line-height:1.7; }
body.tf-wedding-fix #sec-04db .u-sheet { min-height:0!important; padding:32px 0!important; }
body.tf-wedding-fix #sec-04db .u-layout-wrap { width:100%!important; margin:0!important; }
body.tf-wedding-fix #sec-04db .u-layout-cell { min-height:0!important; }
body.tf-wedding-fix #sec-04db .u-btn { min-height:48px; margin:0 auto!important; }
body.tf-wedding-fix #tf-contact-modal .tf-form-row { gap:16px; }
body.tf-wedding-fix #tf-contact-modal label { display:block; margin-bottom:6px; }
body.tf-wedding-fix #tf-contact-modal .tf-form-group { min-width:0; margin-bottom:16px; }
body.tf-wedding-fix #tf-contact-modal input:not([data-tf-honeypot]), body.tf-wedding-fix #tf-contact-modal select, body.tf-wedding-fix #tf-contact-modal textarea { width:100%; box-sizing:border-box; min-height:48px; padding:10px 12px; border:1px solid #c7cfd5; border-radius:5px; background:white; color:#202a33; }
body.tf-wedding-fix #tf-contact-modal .tf-form-actions { display:flex; flex-wrap:wrap; gap:12px; }
body.tf-wedding-fix #tf-contact-modal .tf-form-actions > * { min-height:48px; padding:12px 18px; border-radius:5px; }
body.tf-wedding-fix #tf-contact-modal .tf-btn-primary { background:#245e91; color:white; border:0; cursor:pointer; }
body.tf-wedding-fix #tf-contact-modal .tf-btn-whatsapp { color:#257329; border:1px solid #257329; }
@media(max-width:991px) {
  body.tf-wedding-fix #carousel_dd5e > h1 { font-size:40px; }
  body.tf-wedding-fix #sec-130f .u-carousel-control-prev { left:8px!important; }
  body.tf-wedding-fix #sec-130f .u-carousel-control-next { right:8px!important; }
}
@media(max-width:767px) {
  body.tf-wedding-fix #carousel_dd5e { min-height:500px; padding:48px 28px; gap:28px; }
  body.tf-wedding-fix #carousel_dd5e > h1 { font-size:34px; }
  body.tf-wedding-fix #carousel_dd5e > p { font-size:20px; line-height:1.5; }
  body.tf-wedding-fix #carousel_9db9 h3 { font-size:24px; }
  body.tf-wedding-fix #block-12 > .u-sheet { grid-template-columns:1fr; gap:20px; }
  body.tf-wedding-fix #block-1 .u-container-layout-1 { padding:24px 20px!important; }
  body.tf-wedding-fix #block-1 p { font-size:17px; }
  body.tf-wedding-fix #sec-130f .u-carousel-item .u-container-layout { padding:24px 20px 60px!important; }
  body.tf-wedding-fix #sec-130f .u-carousel-item p { font-size:16px!important; }
  body.tf-wedding-fix #block-11 .u-layout-row { grid-template-columns:1fr; }
  body.tf-wedding-fix #sec-6faf .u-accordion-link { padding:16px!important; }
  body.tf-wedding-fix #sec-6faf .u-accordion-pane .u-container-layout { padding:20px 16px!important; }
  body.tf-wedding-fix #tf-contact-modal { padding:12px; }
  body.tf-wedding-fix #tf-contact-modal .tf-modal-dialog { max-height:calc(100dvh - 24px); }
}
