#homepage{max-width:1440px;margin:0 auto;display:grid;grid-template-columns:minmax(0,1fr);min-height:calc(100dvh - var(--header-height,72px));background:#071b13;color:#eef3e9}#homepage[hidden]{display:none!important}.home-sidebar{padding:20px 12px;border-right:1px solid #2c4935}.home-sidebar nav>a{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 12px;color:#dce6dc;text-decoration:none;font-size:14px;border:1px solid transparent;border-radius:8px}.home-sidebar nav>a[aria-current]{background:#244831;border-color:#496844;box-shadow:inset 3px 0 #e5cf71;color:#f6e8a5}.home-sidebar .design-icon{width:23px;height:23px;flex:none}.home-nav-label{margin:22px 12px 8px;color:#afc5b5;font-size:10px;letter-spacing:.08em}.home-content{min-width:0;padding:26px 28px 0}.home-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.home-heading h1{font:700 clamp(28px,3vw,42px)/1.15 Georgia,serif;letter-spacing:-.025em;margin:0 0 8px;color:#eef3e9}.home-heading p{margin:0;color:#c4d2c4;font-size:16px}.home-auth{display:flex;gap:10px;flex-shrink:0}.home-auth button,#home-header-login{min-height:44px;padding:9px 13px;font-size:13px;background:#10291c;border-color:#658367}.home-auth [data-home-guest]{color:#f2d985;border-color:#dfc970}.home-auth span{margin-left:8px}.home-group{margin:0 0 24px}.home-group h2{display:flex;align-items:center;gap:16px;font:700 26px/1.2 Georgia,serif;margin:0 0 14px;color:#eef3e9}.home-group h2::after{content:'';height:1px;flex:1;background:#38543d}.home-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.home-group[data-group=Каталог] .home-tiles{grid-template-columns:repeat(4,minmax(0,1fr))}.home-group[data-group=Допомога] .home-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.home-tile{display:block;position:relative;isolation:isolate;overflow:hidden;min-width:0;border:1px solid #49664b;border-radius:12px;background:#102b1d;color:#eef3e9;text-decoration:none;transition:border-color .15s,background .15s}.home-tile:hover{border-color:#e5cf71;background:#193a26}.home-tile>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;opacity:.64;z-index:-2}.home-tile::before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#062116f5,#062116b8 50%,#06211630);z-index:-1}.home-tile-copy{padding:18px 16px 44px;min-height:174px;position:relative}.home-tile-copy>.design-icon{width:30px;height:30px;color:#ead273;margin-bottom:10px}.home-tile h3{font:700 22px/1.18 Georgia,serif;margin:0 0 8px;color:#f5f5e9;max-width:240px;overflow-wrap:normal}.home-tile p{font-size:13px;line-height:1.5;color:#e1e9dd;margin:0;max-width:230px}.home-arrow{position:absolute;bottom:12px;right:16px;font-size:25px;line-height:1;color:#f3e6a9}.home-group[data-group=Каталог] .home-tile-copy{min-height:205px}.home-group[data-group=Каталог] h3{font-size:21px}.home-group[data-group=Допомога] .home-tile-copy{min-height:146px}.home-footer{border-top:1px solid #38543d;margin-top:24px;padding:18px 0;color:#b7c9ba;font-size:12px;line-height:1.6}#homepage-status:empty{display:none}#homepage-status{color:#f2da8b;font-size:14px}body[data-account-page=home] #guide-panel,body[data-account-page=home] #welcome{display:none!important}body[data-account-page=auth] #guide-panel{display:none!important}body[data-maintenance=true] #homepage{display:none!important}body.site-shell-design #home-header-login{margin-left:auto;order:3}#homepage :is(a,button):focus-visible{outline:3px solid #ffe492;outline-offset:3px}#homepage .home-auth[hidden]{display:none!important}
@media(max-width:1150px){.home-content{padding:24px 20px 0}.home-heading{align-items:flex-start;flex-direction:column}.home-group[data-group=Каталог] .home-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.home-group[data-group=Каталог] .home-tile-copy{min-height:170px}}
@media(max-width:900px){#homepage{display:block}.home-sidebar{display:none}.home-content{max-width:760px;margin:0 auto;padding:22px 20px 0}.home-heading{gap:14px}.home-heading h1{font-size:30px}.home-tiles{gap:12px}.home-tile h3{font-size:21px}.home-auth{width:100%}.home-auth button{flex:1}}
@media(max-width:360px){#homepage .home-tile-copy{padding-top:14px;padding-bottom:44px}#homepage .home-tile h3,#homepage .home-group[data-group=Каталог] h3{font-size:14px;line-height:1.3}.home-tile p{font-size:12px;overflow-wrap:break-word}}
@media(max-width:740px){.home-content{padding:18px 16px 0}.home-heading{margin-bottom:22px}.home-heading h1{font-size:27px}.home-heading p{font-size:14px}.home-auth{flex-direction:column;gap:8px}.home-auth button{width:100%}.home-group{margin-bottom:22px}.home-group h2{font-size:23px;margin-bottom:12px}.home-tiles{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.home-group[data-group=Риболовля] .home-tile:last-child{grid-column:1/-1}.home-group[data-group=Допомога] .home-tiles{grid-template-columns:1fr}.home-tile-copy,.home-group[data-group=Каталог] .home-tile-copy{padding:12px 12px 44px;min-height:162px}.home-tile-copy>.design-icon{width:26px;height:26px;margin-bottom:8px}.home-tile h3,.home-group[data-group=Каталог] h3{font-size:clamp(14px,4.5vw,19px);line-height:1.2}.home-tile p{font-size:12px;line-height:1.45}.home-group[data-group=Риболовля] .home-tile:last-child .home-tile-copy,.home-group[data-group=Допомога] .home-tile-copy{min-height:112px;padding-left:54px}.home-group[data-group=Риболовля] .home-tile:last-child .design-icon,.home-group[data-group=Допомога] .design-icon{position:absolute;left:14px;top:15px}.home-footer{font-size:11px;margin-top:12px}.home-arrow{right:12px;font-size:23px}body.site-shell-design #home-header-login{font-size:12px;padding:8px;min-width:54px}}
@media(prefers-reduced-motion:reduce){.home-tile{transition:none}}

/* Illustrated homepage cards */
#homepage .home-heading h1 {
  font-size: clamp(27px, 3vw, 38px);
}

#homepage .home-group h2 {
  font-size: 25px;
}

#homepage .home-group .home-tiles {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

#homepage .home-group .home-tile { grid-column: auto; }

#homepage :is([data-home-target="guide-hub"], [data-home-target="balance"]).home-tile {
  grid-column: 1 / -1;
}

#homepage .home-tile {
  --cover-width: min(72%, 305px);
  --cover-fade: 30%;
  border-color: #a28e4d;
  background-color: #0b2418;
}

#homepage .home-tile:hover {
  border-color: #f6dc87;
}

#homepage .home-tile:focus-visible {
  outline-offset: -4px;
}

#homepage .home-tile > img {
  inset: 0 0 0 auto;
  width: var(--cover-width);
  height: 100%;
  object-position: right center;
  opacity: 1;
}

#homepage .home-tile::before {
  inset: 0 0 0 auto;
  width: var(--cover-width);
  background: linear-gradient(90deg, #0b2418, transparent 50%);
}

#homepage .home-tile-copy::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #091f17 12%, #091f17eb var(--cover-fade), #091f1788 55%, transparent 79%);
}

#homepage .home-group .home-tile .home-tile-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 148px;
  padding: 16px 36px 16px 17px;
}

#homepage .home-group .home-tile h3 {
  max-width: min(100%, 15ch);
  font: 700 22px/1.16 Georgia, serif;
  margin-bottom: 5px;
  overflow-wrap: anywhere;
  text-shadow: 0 1px 2px #04130e, 0 0 6px #04130e;
}

#homepage .home-tile p {
  max-width: min(100%, 24ch);
  font-size: 13px;
  line-height: 1.4;
  color: #f0f4eb;
  text-shadow: 0 1px 2px #04130e, 0 0 6px #04130e;
}

#homepage .home-tile-copy > .design-icon {
  position: static;
  width: 26px;
  height: 26px;
  margin-bottom: 6px;
}

#homepage .home-arrow {
  bottom: 9px;
  right: 10px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #0a2419d9;
  font-size: 19px;
}

#homepage .home-tile[data-home-target="guide-hub"] {
  --cover-width: min(83%, 820px);
  --cover-fade: 33%;
}

#homepage .home-tile[data-home-target="guide-hub"] > img {
  object-position: right 39%;
}

#homepage .home-tile[data-home-target="guide-hub"] .home-tile-copy {
  min-height: 248px;
  padding-left: 26px;
}

#homepage .home-tile[data-home-target="guide-hub"] h3 {
  font-size: clamp(25px, 3vw, 36px);
}

#homepage .home-tile[data-home-target="balance"] {
  --cover-width: min(64%, 450px);
}

#homepage .home-tile[data-home-target="balance"] > img {
  object-position: right 62%;
}

@media (max-width: 740px) {
  #homepage .home-group h2 {
    font-size: 24px;
  }

  #homepage .home-tile {
    --cover-width: 100%;
    --cover-fade: 25%;
  }

  #homepage .home-group .home-tile .home-tile-copy {
    justify-content: flex-start;
    min-height: 149px;
    padding: 11px 10px 29px;
  }

  #homepage .home-group .home-tile h3 {
    font-size: clamp(16px, 4.3vw, 20px);
  }

  #homepage .home-tile p {
    max-width: min(100%, 20ch);
    font-size: 12px;
  }

  #homepage .home-tile::before { display: none; }

  #homepage .home-tile-copy::before {
    background:
      linear-gradient(0deg, #091f17bc 0%, #091f1744 28%, transparent 62%),
      linear-gradient(90deg, #091f17ee 0%, #091f1799 42%, transparent 78%);
  }

  #homepage .home-tile-copy > .design-icon {
    width: 23px;
    height: 23px;
    margin-bottom: 5px;
  }

  #homepage .home-tile[data-home-target="guide-hub"],
  #homepage .home-tile[data-home-target="balance"] {
    --cover-width: 100%;
  }

  #homepage .home-tile[data-home-target="guide-hub"] .home-tile-copy {
    min-height: 163px;
    padding: 15px 14px 27px;
    justify-content: center;
  }

  #homepage .home-tile[data-home-target="guide-hub"] h3 {
    font-size: clamp(22px, 6vw, 28px);
  }

  #homepage .home-tile[data-home-target="balance"] > img {
    width: 70%;
  }

  #homepage .home-tile[data-home-target="balance"] .home-tile-copy {
    min-height: 125px;
    padding-left: 14px;
    justify-content: center;
  }
}



@media (max-width: 360px) {
  #homepage .home-tile[data-home-target="gear"] h3 {
    font-size: 14.5px;
  }
}


/* Full-photo desktop cards; mobile keeps its established source and framing. */
#homepage .home-tile > picture{position:absolute;inset:0 0 0 auto;width:var(--cover-width);height:100%;z-index:-2}
#homepage .home-tile > picture > img{display:block;width:100%;height:100%;object-fit:cover;object-position:right center}
#homepage .home-tile[data-home-target="guide-hub"] > picture > img{object-position:right 39%}
#homepage .home-tile[data-home-target="balance"] > picture > img{object-position:right 62%}
@media(min-width:741px){
 #homepage .home-tile > picture{inset:0;width:100%}
 #homepage .home-tile::before{display:none}
 #homepage .home-tile-copy::before{background:linear-gradient(90deg,#041a12cc 0%,#041a1280 45%,#041a1226 78%,#041a1210 100%),linear-gradient(0deg,#041a1244,transparent 60%)}
 #homepage .home-tile[data-home-target="guide-hub"] > picture > img{object-position:right 50%}
 #homepage .home-tile[data-home-target="balance"] > picture > img{object-position:right 60%}
}
@media(max-width:740px){#homepage .home-tile[data-home-target="balance"] > picture{width:70%}}
