.home-shell { padding-block: .75rem 1.6rem; overflow-x: hidden; }
.home-hero {
  position: relative;
  border-radius: 20px;
  border: 1px solid var(--border-color, rgba(130,130,130,.26));
  padding: 1.2rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 184, 77, .14), transparent 38%),
    radial-gradient(circle at 85% 12%, rgba(134, 92, 250, .22), transparent 34%),
    var(--bg-secondary, #f6f6fb);
}
.home-hero::after {
  content: "";
  position: absolute;
  inset: -40% -55% auto auto;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(99, 210, 255, .18), transparent 65%);
  pointer-events: none;
}
.home-grid { display: grid; gap: 1rem; position: relative; z-index: 1; }
.home-title {
  margin: 0 0 .35rem;
  font-size: clamp(1.45rem, 2.8vw, 2.25rem);
  line-height: 1.06;
  letter-spacing: -.02em;
  font-weight: 600;
}
.home-lead {
  margin: 0;
  color: var(--text-muted, #8f8f96);
  max-width: 760px;
  font-size: .95rem;
}
.home-actions { display: flex; gap: .65rem; margin-top: .95rem; flex-wrap: wrap; }
.home-actions .btn {
  border-radius: 12px;
  padding-inline: 1rem;
  font-weight: 700;
  box-shadow: var(--shadow-soft);
}
.home-hero-search { margin-top: .85rem; }
.home-hero-search #inlineListSearch > section.container {
  margin-top: 0 !important;
  padding: 0;
  max-width: 100%;
}
.home-hero-search #inlineListSearch .search-card { max-width: 100% !important; }

.home-hub { margin-top: 1rem; display: grid; gap: 1rem; }
.home-category-hubs { margin-top: 1rem; display: grid; gap: 1rem; }

.home-hub-grid { display: grid; grid-template-columns: 1fr; gap: .9rem; align-items: start; }
.home-panel {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-panel);
  box-shadow: var(--shadow-soft);
  padding: .95rem;
  height: auto;
  align-self: start;
}
.home-panel-head { display: flex; align-items: center; justify-content: space-between; gap: .6rem; margin-bottom: .9rem; }
.home-panel-title { margin: 0; font-weight: 700; font-size: 1rem; color: var(--text-heading); }
.home-panel-link { font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.home-panel-note { margin: .7rem 0 0; color: var(--text-secondary); font-size: .84rem; }

.home-slider-head-left { display:flex; align-items:center; gap:.55rem; min-width:0; }
.home-slider-head-controls { display:flex; align-items:center; gap:.35rem; }
.home-slider-nav {
  width: 30px;
  height: 30px;
  border-radius: 10px;
  border: 1px solid var(--line-soft);
  background: var(--surface-raised);
  color: var(--text-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}
.home-slider-nav:hover { border-color: var(--border-hover, #f0c674); }
.home-slider-panel {
  padding-bottom: .75rem;
  margin-bottom: .25rem;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: visible;
}

.home-splide-wrap {
  padding-top: .2rem;
  min-width: 0;
  width: 100%;
}

.home-splide-wrap .splide {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.home-splide-wrap .splide__track,
.home-splide-wrap .splide__list {
  min-width: 0;
}

.home-splide-wrap .splide__slide { height: auto; }

.home-pill-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
.home-pill {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .4rem;
}
.home-pill-name { font-size: .83rem; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-list-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.home-list-item {
  display: flex;
  justify-content: space-between;
  gap: .6rem;
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-heading);
  background: var(--surface-raised);
  padding: .5rem .6rem;
  font-weight: 600;
  font-size: .88rem;
  min-width: 0;
}

.home-subpanel { margin-top: .85rem; border-top: 1px solid var(--line-soft); padding-top: .8rem; }
.home-subpanel-title { margin: 0 0 .55rem; font-size: .83rem; font-weight: 700; color: var(--text-secondary); text-transform: uppercase; letter-spacing: .05em; }

.home-city-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; }
.home-city-chip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  font-weight: 600;
  min-width: 0;
}
.home-city-chip span,
.home-list-item span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.home-news-list { display: grid; gap: .45rem; }
.home-news-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .5rem;
  align-items: center;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--border-color, rgba(130,130,130,.22));
  background: var(--bg-primary, #fff);
  border-radius: 10px;
  padding: .45rem .55rem;
  min-width: 0;
}
.home-news-item:hover { border-color: var(--border-hover, #f0c674); }
.home-news-pill {
  font-size: .72rem;
  font-weight: 800;
  border-radius: 999px;
  padding: .12rem .45rem;
  border: 1px solid var(--border-color, rgba(130,130,130,.22));
  background: rgba(99,102,241,.10);
  color: inherit;
  white-space: nowrap;
}
.home-news-info { background: rgba(13,110,253,.10); }
.home-news-success { background: rgba(25,135,84,.12); }
.home-news-warning { background: rgba(255,193,7,.16); }
.home-news-danger { background: rgba(220,53,69,.12); }
.home-news-title { font-weight: 650; font-size: .86rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-news-date { font-size: .78rem; color: var(--text-muted, #8d8d96); white-space: nowrap; }
.home-news-pin { color: var(--text-muted, #8d8d96); font-weight: 700; }
@media (max-width: 576px) {
  .home-news-item { grid-template-columns: auto 1fr; }
  .home-news-date { display: none; }
}

.home-eeat {
  margin-top: 1rem;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  background: var(--surface-panel);
  box-shadow: var(--shadow-soft);
  padding: 1rem;
}
.home-eeat h2 { margin: 0 0 .45rem; font-size: 1.02rem; font-weight: 700; color: var(--text-heading); }
.home-eeat p { margin: 0; font-size: .9rem; color: var(--text-secondary); }
.home-eeat-links { margin-top: .8rem; display: grid; grid-template-columns: 1fr; gap: .45rem; }

@media (max-width:768px){
  .home-hero { padding: .85rem; border-radius: 14px; }
  .home-title { font-size: 1.55rem; margin-bottom: .25rem; }
  .home-lead { font-size: .88rem; }
  .home-actions { margin-top: .65rem; gap: .45rem; }
  .home-actions .btn { padding: .32rem .7rem; border-radius: 12px; font-size: .75rem; }
  .home-hero-search { margin-top: .6rem; }
  .home-slider-nav { width: 28px; height: 28px; }
}
@media (max-width:576px){
  .home-actions .btn:nth-child(3) { display: none; }
}
@media (min-width: 992px){
  .home-grid { grid-template-columns: 1fr; align-items: start; }
  .home-hub-grid { grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); }
  .home-pill-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-city-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .home-eeat-links { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .home-list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
