/* Reviott Management — mobile layout. Desktop is unchanged; everything applies below 820px. */
.rv-menu-btn{display:none}

@media (max-width: 820px){
  html,body{overflow-x:hidden}

  /* Header: logo + menu button on one row, links in a drop-down panel */
  header{position:sticky;top:0;z-index:50}
  header > div{padding:10px 20px!important;gap:0!important;flex-wrap:wrap!important}
  header img{height:42px!important}
  .rv-menu-btn{display:flex;align-items:center;justify-content:center;width:46px;height:46px;margin-left:auto;padding:0;border:1.5px solid #002A42;border-radius:8px;background:#fff;color:#002A42;cursor:pointer}
  .rv-menu-btn svg{width:24px;height:24px}
  .rv-menu-btn .rv-close{display:none}
  header.rv-open .rv-menu-btn .rv-open-ic{display:none}
  header.rv-open .rv-menu-btn .rv-close{display:block}
  .rv-js header nav{display:none!important}
  .rv-js header.rv-open nav{display:flex!important}
  header nav{flex:1 1 100%;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:8px 0 14px;font-size:16px!important}
  header nav > a,header nav > span{padding:13px 2px!important;border-bottom:1px solid #E3E8EC}
  header nav > span{font-size:15px!important}
  header nav > a[style*="border-radius"]{text-align:center;margin-top:12px;padding:14px 20px!important}
  header nav > a[style*="background"]{border-bottom:0}

  /* Page gutters and vertical rhythm */
  [style*="max-width: 1240px"],[style*="max-width: 1000px"],[style*="max-width: 900px"]{padding-left:20px!important;padding-right:20px!important}
  [style*="padding: 104px"],[style*="padding: 96px"],[style*="padding: 88px"],[style*="padding: 80px"],[style*="padding: 72px"]{padding-top:52px!important;padding-bottom:52px!important}
  [style*="padding: 64px"]{padding-top:44px!important;padding-bottom:44px!important}
  [style*="gap: 56px"],[style*="gap: 64px"]{gap:36px!important}
  [style*="gap: 44px"],[style*="gap: 48px"]{gap:28px!important}

  /* Type that fits the screen */
  h1{font-size:clamp(30px,8.6vw,52px)!important;line-height:1.15!important}
  h2{font-size:clamp(24px,6.8vw,38px)!important;line-height:1.22!important}
  h3{font-size:clamp(19px,5.2vw,24px)!important}
  h1,h2,h3,p,li,a,span,div{overflow-wrap:break-word}
  h1,h2{hyphens:auto}
  p[style*="font-size: 19px"],p[style*="font-size: 18px"]{font-size:17px!important}
  [style*="white-space: nowrap"]{white-space:normal!important}

  /* Buttons stretch to full width so they are easy to tap */
  section a[style*="border-radius: 6px"][style*="padding: 1"]{flex:1 1 100%;text-align:center}

  /* Cards and tables */
  [style*="padding: 28px"]{padding:20px!important}
  [style*="padding: 32px"],[style*="padding: 36px"],[style*="padding: 40px"]{padding:22px!important}
  [style*="repeat(2, minmax(0, 1fr))"] > div{padding:14px!important;font-size:14px}
  [style*="width: 120px"]{width:92px!important;flex-shrink:0}
  [style*="minmax(270px"],[style*="minmax(250px"],[style*="minmax(240px"]{grid-template-columns:1fr!important}
  iframe{max-width:100%}
}

@media (max-width: 380px){
  [style*="repeat(3, minmax(0, 1fr))"]{gap:8px!important}
  [style*="repeat(3, minmax(0, 1fr))"] > div{padding:10px!important}
}