/* Phone landscape follows the wide campaign composition. */
@media (min-width: 480px) and (max-width: 1023px) and (orientation: landscape) {
  html:has(#winterEntryForm) { font-size: clamp(10px, 1.15vw, 12px); }
  .reference-home:has(#winterEntryForm) { --campaign-title-size: 3.1vw; --mechanic-title-size: 1.25rem; --mechanic-detail-size: .9rem; }
  .reference-home:has(#winterEntryForm) #sd-app-root,
  .reference-home:has(#winterEntryForm) .site-layout { height: 100svh !important; min-height: 100svh !important; }
  .reference-home:has(#winterEntryForm) .container-layout-header { height: 38px; flex: 0 0 38px; }
  .reference-home:has(#winterEntryForm) .container-layout-header .menu-desktop { display: flex !important; height: 38px; padding: 0 6%; }
  .reference-home:has(#winterEntryForm) .container-layout-header .menu-mobile { display: none !important; }
  .reference-home:has(#winterEntryForm) .menu-desktop .menu-item { font-size: 12px; margin-right: 5vw; }
  .reference-home:has(#winterEntryForm) .menu-desktop .social-side .social-item { display: block; flex: 0 0 18px; width: 18px; height: 18px; }
  .reference-home:has(#winterEntryForm) .menu-desktop .social-item picture { display: block; width: 18px; height: 18px; }
  .reference-home:has(#winterEntryForm) .menu-desktop .social-item img { display: block; width: 18px; height: 18px; max-width: none; object-fit: contain; }
  .reference-home:has(#winterEntryForm) .winter-home { flex: 1 1 0 !important; min-height: 0 !important; }
  .reference-home:has(#winterEntryForm) .container-home .text-headline-logo { left: 16% !important; top: calc(8% + 10px) !important; width: 68% !important; }
  .reference-home:has(#winterEntryForm) .winter-headline-slot { width: 42%; margin: 0; }
  .reference-home:has(#winterEntryForm) .winter-ghost-claim { left: 12%; bottom: 2.3rem; }
  .reference-home:has(#winterEntryForm) .winter-main-claim { margin-top: .2rem !important; font-size: var(--campaign-title-size) !important; }
  .reference-home:has(#winterEntryForm) .winter-poster-sleigh { top: 3%; right: 38%; width: 14%; transform: rotate(-24deg); transform-origin: center; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue { top: calc(23% + 10px) !important; height: 7rem !important; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue .banda-blue-mecanica { padding: 1rem 12% !important; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue .mecanica { display: flex !important; gap: 2rem !important; align-items: center; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue .mecanica .mecanica-item { flex: 1 1 0; width: auto !important; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue .mecanica-item-2 .mecanica-text { flex-direction: column !important; align-items: flex-start; gap: .2rem; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue .button { font-size: 1.15rem; }
  .reference-home:has(#winterEntryForm) .container-home .bottle-with-lines-mobile .winter-standard-bottle { height: 78% !important; left: 3.5rem !important; bottom: 4% !important; }
  .reference-home:has(#winterEntryForm) .container-home .bottle-with-lines-mobile .winter-xmas-bottle { height: 85% !important; right: 2.5rem !important; bottom: 4% !important; }
  .reference-home:has(#winterEntryForm) .container-home .bottle-with-lines-mobile { z-index: 185 !important; }
  .reference-home:has(#winterEntryForm) .winter-home::after { height: 18% !important; }
  .reference-home:has(#winterEntryForm) .winter-home::before { background-size: 48% auto !important; }
  .reference-home:has(#winterEntryForm) .container-home .premii-container { inset: 45% 15% 29% 22% !important; }
  .reference-home:has(#winterEntryForm) .container-home .premii-container .winter-prizes { display: grid !important; grid-template-columns: 1.5fr 1fr 1fr 1fr !important; grid-template-rows: 1fr !important; gap: 1rem !important; transform: rotate(-10.9deg) !important; transform-origin: center; }
  .reference-home:has(#winterEntryForm) .container-home .premii-container .winter-prize { grid-column: auto !important; grid-row: 1 !important; width: 100% !important; margin: 0 !important; align-self: end; }
  .reference-home:has(#winterEntryForm) .winter-prize.prize-item1 { order: 1; }
  .reference-home:has(#winterEntryForm) .winter-prize.prize-item2 { order: 2; }
  .reference-home:has(#winterEntryForm) .winter-prize.prize-item3 { order: 3; }
  .reference-home:has(#winterEntryForm) .winter-prize.prize-item4 { order: 4; }
  /* Keep the spacing independent of the entrance animation's translate. */
  .reference-home:has(#winterEntryForm) .container-home .premii-container .winter-prize:not(.grand-prize) { top: 32px !important; }
  .reference-home:has(#winterEntryForm) .container-home .premii-container .winter-prize .prize-image,
  .reference-home:has(#winterEntryForm) .container-home .premii-container .winter-prize.grand-prize .prize-image { height: clamp(40px, 13svh, 66px) !important; width: 100% !important; }
  .reference-home:has(#winterEntryForm) .winter-instant-heading { position: absolute; grid-area: auto !important; top: 10px; left: 35%; width: 65%; font-size: 12px; }
  .reference-home:has(#winterEntryForm) .container-home .corner-white .tuborg-da-tonul-logo { width: 5rem; right: 18% !important; }
  .reference-home:has(#winterEntryForm) .container-home .corner-white .age-img { width: 3rem; right: 2%; bottom: .5rem; }
  .reference-home:has(#winterEntryForm) .winter-tree-left { width: 5% !important; }
  .reference-home:has(#winterEntryForm) .winter-tree-left-small { width: 3% !important; left: 6% !important; }
  .reference-home:has(#winterEntryForm) .winter-tree-right { width: 7% !important; }
  .reference-home:has(#winterEntryForm) .winter-tree-right-mid { width: 4% !important; right: 8% !important; }
  .reference-home:has(#winterEntryForm) .container-footer { height: 30px; flex: 0 0 30px; padding: 4px 5%; flex-direction: row; gap: 18px; }
  .reference-home:has(#winterEntryForm) .container-footer .footer-items { flex-direction: row; gap: 18px; }
  .reference-home:has(#winterEntryForm) .container-footer .footer-item,
  .reference-home:has(#winterEntryForm) .container-footer .text-powered-by { font-size: 9px; padding: 0; }
}

@media (min-width: 480px) and (max-width: 700px) and (orientation: landscape) {
  .reference-home:has(#winterEntryForm) .container-home .text-headline-logo { top: calc(4% + 10px) !important; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue { top: calc(20% + 10px) !important; height: 6.5rem !important; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue .banda-blue-mecanica { padding: .6rem 9% !important; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue .mecanica { gap: 1rem !important; }
  .reference-home:has(#winterEntryForm) .container-home .banda-blue .button { font-size: 1rem; padding: .4rem .5rem; }
  .reference-home:has(#winterEntryForm) .winter-instant-heading { top: 10px; font-size: 10px; }
  .reference-home:has(#winterEntryForm) .container-home .premii-container .winter-prize .winter-prize-label .prize-name { font-size: 9px !important; }
}
