/* TalatYai homepage — professional blue/orange redesign. */
:root {
  --ty-home-blue: #2477c9;
  --ty-home-blue-dark: #102e50;
  --ty-home-orange: #f58220;
  --ty-home-orange-dark: #d96b0b;
  --ty-home-surface: #f5f7f9;
  --ty-home-line: #dde3e8;
  --ty-home-muted: #667789;
}

.sp-visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body.sp-home-page {
  background: #fff;
  color: var(--ty-home-blue-dark);
  font-family: Arial, sans-serif;
}

/* One-line, product-like navigation on the homepage. */
body.sp-home-page header.header {
  height: 72px;
  border-bottom: 1px solid var(--ty-home-line);
  background: #fff;
  box-shadow: none;
}
body.sp-home-page .header-end {height: 72px;}
body.sp-home-page header.header .sp-header-shell {
  height: 72px;
  grid-template-rows: 72px;
}
body.sp-home-page header.header .sp-header-main {
  width: min(calc(100% - 48px), 1480px);
  max-width: 1480px;
  min-height: 72px;
  gap: 24px;
}
body.sp-home-page .sp-header-main .header-logo {order: 1;}
body.sp-home-page .sp-header-main .header-logo p {margin: 0;}
body.sp-home-page .sp-header-main .header-logo img {width: 166px; margin: 0;}
body.sp-home-page .sp-primary-nav {
  display: flex;
  order: 2;
  align-self: stretch;
  align-items: center;
  gap: 40px;
  margin-left: 28px;
}
body.sp-home-page .sp-primary-nav a {
  position: relative;
  display: flex;
  height: 100%;
  align-items: center;
  color: var(--ty-home-blue-dark);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
}
body.sp-home-page .sp-primary-nav a::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: transparent;
}
body.sp-home-page .sp-primary-nav a:is(:hover, :focus-visible),
body.sp-home-page .sp-primary-nav a.is-active {color: var(--ty-home-blue);}
body.sp-home-page .sp-primary-nav a:is(:hover, :focus-visible)::after,
body.sp-home-page .sp-primary-nav a.is-active::after {background: var(--ty-home-blue);}
body.sp-home-page .sp-header-search-wrap,
body.sp-home-page header.header .sp-category-navigation {display: none;}
body.sp-home-page .sp-header-main .header-links {order: 3; flex: 0 0 auto; margin: 0 0 0 auto;}
body.sp-home-page .sp-header-main .header-links .menu {gap: 14px;}
body.sp-home-page .sp-header-main .sp-header-deposit {
  order: 4;
  min-height: 46px;
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  padding: 0 20px;
  border: 1px solid var(--ty-home-orange);
  border-radius: 10px;
  background: var(--ty-home-orange);
  box-shadow: none;
  color: #fff;
  font: 700 15px/1 Arial, sans-serif;
}
body.sp-home-page .sp-header-main .header-flags {order: 5; margin-left: 0;}
body.sp-home-page .sp-header-main .sp-header-deposit:is(:hover, :focus-visible) {
  border-color: var(--ty-home-orange-dark);
  background: var(--ty-home-orange-dark);
  text-decoration: none;
}

/* Le contenu de l'accueil suit la même largeur que le header (1480 px). */
@media (min-width: 961px) {
  body.sp-home-page .sp-site-surface--home {width: 100%; max-width: none; padding: 0 0 30px;}
  body.sp-home-page .sp-site-surface--home > .container-100 > .index-container {width: min(calc(100% - 64px), 1480px); max-width: 1480px;}
}

/* Homepage canvas and hero. */
body.sp-home-page .sp-site-surface--home,
body.sp-home-page .sp-home-canvas {background: #fff;}
body.sp-home-page .index-container {
  box-sizing: border-box;
  width: min(calc(100% - 64px), 1480px);
  max-width: 1480px;
  margin: 0 auto;
  padding: 18px 0 72px;
}
body.sp-home-page .index-container .sp-home-hero {
  position: relative;
  display: flex;
  min-height: 306px;
  aspect-ratio: auto;
  box-sizing: border-box;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 0 36px;
  padding: 42px clamp(28px, 6vw, 96px) 32px;
  overflow: visible;
  border: 1px solid #e7ebef;
  border-radius: 14px;
  background: var(--ty-home-surface);
  isolation: auto;
}
body.sp-home-page .index-container .sp-home-hero-copy {
  position: static;
  width: auto;
  max-width: 900px;
  padding: 0;
  transform: none;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-align: center;
}
body.sp-home-page .sp-home-eyebrow {
  margin: 0 0 12px;
  color: var(--ty-home-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .18em;
  line-height: 1.3;
  text-transform: uppercase;
}
body.sp-home-page .index-container .sp-home-hero-copy h1 {
  margin: 0;
  color: var(--ty-home-blue-dark);
  font-size: clamp(38px, 4.4vw, 64px);
  font-weight: 700;
  letter-spacing: -.045em;
  line-height: 1.05;
  text-align: center;
}
body.sp-home-page .index-container .sp-home-hero-copy .sp-home-intro {
  margin: 10px 0 0;
  color: var(--ty-home-blue-dark);
  font-size: clamp(18px, 1.7vw, 23px);
  line-height: 1.4;
  text-align: center;
}
body.sp-home-page .sp-home-search-wrap {
  position: relative;
  z-index: 20;
  width: min(100%, 1160px);
  margin: 26px auto 0;
}
body.sp-home-page .sp-home-search {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) minmax(175px, .75fr) minmax(190px, .8fr) auto;
  width: 100%;
  min-height: 68px;
  box-sizing: border-box;
  align-items: stretch;
  margin: 0;
  padding: 5px;
  border: 1px solid #d5dde4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(16, 46, 80, .07);
}
body.sp-home-page .sp-home-search-field {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  box-sizing: border-box;
  padding: 0 20px;
  color: var(--ty-home-blue-dark);
}
body.sp-home-page .sp-home-search-field + .sp-home-search-field::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 0;
  width: 1px;
  background: var(--ty-home-line);
}
body.sp-home-page .sp-home-search-field svg {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
}
body.sp-home-page .sp-home-search :is(input, select) {
  width: 100%;
  min-width: 0;
  height: 56px;
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ty-home-blue-dark);
  font: 400 16px/1.3 Arial, sans-serif;
}
body.sp-home-page .sp-home-search input::placeholder {color: #65778a; opacity: 1;}
body.sp-home-page .sp-home-search select {cursor: pointer;}
body.sp-home-page .sp-home-search-field .sp-modern-select {min-width: 0;}
body.sp-home-page .sp-home-search-field .sp-modern-select-trigger {
  min-height: 56px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ty-home-blue-dark);
  font-size: 16px;
}
body.sp-home-page .sp-home-search-field .sp-modern-select-trigger:is(:hover, :focus-visible),
body.sp-home-page .sp-home-search-field .sp-modern-select.is-open .sp-modern-select-trigger {border: 0; box-shadow: none;}
body.sp-home-page .sp-home-search-field .sp-modern-select-panel {
  top: calc(100% + 10px);
  left: -55px;
  width: 340px;
  min-width: 280px;
  padding: 10px;
  border-radius: 12px;
}
body.sp-home-page .sp-home-search-field .sp-modern-select-list {max-height: min(48vh, 360px);}
body.sp-home-page .sp-home-search > button[type="submit"] {
  display: inline-flex;
  min-width: 176px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0 25px;
  border: 0;
  border-radius: 8px;
  background: var(--ty-home-orange);
  color: #fff;
  cursor: pointer;
  font: 700 16px/1 Arial, sans-serif;
}
body.sp-home-page .sp-home-search > button[type="submit"]:is(:hover, :focus-visible) {
  outline: 0;
  background: var(--ty-home-orange-dark);
}
body.sp-home-page .sp-home-search > button[type="submit"] svg {width: 22px; height: 22px;}
body.sp-home-page .sp-home-search-menu {
  top: calc(100% + 10px);
  width: 100%;
  min-width: 0;
  max-height: min(62vh, 560px);
  text-align: left;
}
body.sp-home-page .sp-home-deposit-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 17px;
  color: var(--ty-home-blue);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
body.sp-home-page .sp-home-deposit-link:is(:hover, :focus-visible) {text-decoration: underline;}

/* Shared section heading. */
body.sp-home-page .index-container .sp-home-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 18px;
}
body.sp-home-page .index-container .sp-home-section-heading h2,
body.sp-home-page .index-container .sp-home-latest-heading h2 {
  margin: 0;
  padding: 0;
  color: var(--ty-home-blue-dark);
  background: none;
  font: 700 27px/1.25 Arial, sans-serif;
  letter-spacing: -.025em;
  text-transform: none;
}
body.sp-home-page .index-container .sp-home-section-heading > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: var(--ty-home-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
body.sp-home-page .index-container .sp-home-section-heading > a:is(:hover, :focus-visible) {text-decoration: underline;}

/* Large visual category cards. */
body.sp-home-page .index-container .sp-home-categories {margin: 0 0 42px;}
body.sp-home-page .index-container .sp-home-categories-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 20px;
  overflow: visible;
  padding: 0;
}
body.sp-home-page .index-container .sp-home-category-card,
body.sp-home-page .index-container .sp-home-category-card:is(:hover, :focus-visible) {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  aspect-ratio: 4 / 5 !important;
  box-sizing: border-box;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 20px;
  background: #fff;
  box-shadow: none;
  color: var(--ty-home-blue-dark);
  text-decoration: none;
  transform: none;
}
body.sp-home-page .index-container .sp-home-category-card > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .22s ease;
}
body.sp-home-page .index-container .sp-home-category-card > span {
  position: absolute;
  right: 16px;
  bottom: 16px;
  left: 16px;
  display: flex;
  width: max-content;
  max-width: calc(100% - 32px);
  min-height: 46px;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 5px 18px rgba(16, 46, 80, .13);
  color: var(--ty-home-blue-dark);
  font-size: 16px;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.sp-home-page .index-container .sp-home-category-card span svg {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  color: var(--ty-home-blue);
}
body.sp-home-page .index-container .sp-home-category-card:is(:hover, :focus-visible) {
  outline: 0;
}
body.sp-home-page .index-container .sp-home-category-card:is(:hover, :focus-visible) > img {transform: scale(1.035);}
body.sp-home-page .index-container .sp-home-category-card:is(:hover, :focus-visible) svg {color: var(--ty-home-orange);}

/* Recent listings. */
body.sp-home-page .index-container .sp-home-latest {margin: 0 0 34px;}
body.sp-home-page .sp-home-latest-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.sp-home-page .sp-home-latest-filters a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  box-sizing: border-box;
  padding: 0 14px;
  border: 1px solid var(--ty-home-line);
  border-radius: 8px;
  background: #fff;
  color: var(--ty-home-blue-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
body.sp-home-page .sp-home-latest-filters a.is-active {
  border-color: var(--ty-home-blue);
  background: var(--ty-home-blue);
  color: #fff;
}
body.sp-home-page .sp-home-latest-filters a.sp-home-latest-all {
  gap: 7px;
  margin-left: 10px;
  padding-right: 0;
  border-color: transparent;
  color: var(--ty-home-blue);
}
body.sp-home-page .index-container .list-premium.sp-home-latest-cards {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: visible;
}
body.sp-home-page .index-container .sp-home-latest-cards > a.background-ads-premium,
body.sp-home-page .index-container .sp-home-latest-cards > a.background-ads-premium:is(:hover, :focus-visible) {
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--ty-home-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
  transform: none;
}
body.sp-home-page .index-container .sp-home-latest-cards > a.background-ads-premium:hover {
  border-color: #b7c7d5;
  box-shadow: 0 8px 20px rgba(16, 46, 80, .08);
}
body.sp-home-page .index-container .sp-home-latest-cards > a.background-ads-premium > .sp-premium-photo,
body.sp-home-page .index-container .sp-home-latest-cards > a.background-ads-premium > .sp-premium-photo > img,
body.sp-home-page .index-container .sp-home-latest-cards > a.background-ads-premium > img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9 !important;
  border-radius: 0;
  object-fit: cover;
}
body.sp-home-page .index-container .sp-home-latest-cards .bloc-premium-infos {
  min-height: 126px;
  box-sizing: border-box;
  padding: 14px 16px 15px;
}
body.sp-home-page .index-container .sp-home-latest-cards .sp-premium-title {font-size: 16px; line-height: 1.35;}
body.sp-home-page .index-container .sp-home-latest-cards .sp-premium-preview {display: none;}
body.sp-home-page .index-container .sp-home-latest-cards .sp-premium-price {
  margin-top: 7px;
  color: var(--ty-home-blue);
  font-size: 18px;
}
body.sp-home-page .index-container .sp-home-latest-cards .sp-premium-location {color: var(--ty-home-muted);}

/* Trust strip. */
body.sp-home-page .sp-home-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0 0 44px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--ty-home-blue-dark);
  color: #fff;
}
body.sp-home-page .sp-home-trust > div {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: center;
  gap: 15px;
  box-sizing: border-box;
  padding: 18px 24px;
}
body.sp-home-page .sp-home-trust > div + div {border-left: 1px solid rgba(255, 255, 255, .24);}
body.sp-home-page .sp-home-trust svg {flex: 0 0 29px; width: 29px; height: 29px;}
body.sp-home-page .sp-home-trust p {margin: 0; text-align: left;}
body.sp-home-page .sp-home-trust strong,
body.sp-home-page .sp-home-trust span {display: block;}
body.sp-home-page .sp-home-trust strong {font-size: 15px;}
body.sp-home-page .sp-home-trust span {margin-top: 3px; color: #c8d6e3; font-size: 12px; line-height: 1.35;}

/* Lower dynamic sections reuse the same disciplined system. */
body.sp-home-page .index-container .sp-home-premium-heading,
body.sp-home-page .index-container .sp-home-ad-section {margin-top: 42px;}
body.sp-home-page .index-container .sp-home-ad-section .list-premium,
body.sp-home-page .index-container > .list-premium {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
body.sp-home-page .index-container .sp-home-ad-section .list-premium > a:nth-child(n+5),
body.sp-home-page .index-container > .list-premium > a:nth-child(n+5) {display: none;}
body.sp-home-page .sp-home-seo {
  max-width: 860px;
  margin: 56px auto 0;
  padding-top: 28px;
  border-top: 1px solid var(--ty-home-line);
}
body.sp-home-page .sp-home-seo p {
  margin: 0;
  color: var(--ty-home-muted);
  font-size: 15px;
  line-height: 1.65;
  text-align: center;
}
body.sp-home-page > .categories {display: block;}

@media (min-width: 961px) {
  body.sp-home-page .sp-header-main .toggle-menu {display: none;}
  body.sp-home-page .sp-header-main .header-links {position: static; display: block; width: auto; height: auto; background: transparent;}
  body.sp-home-page .sp-header-main .header-links .menu {position: static; display: flex; width: auto; height: auto; padding: 0; overflow: visible; background: transparent;}
  body.sp-home-page .sp-header-main .header-links .ring,
  body.sp-home-page .sp-header-main .header-links .selection,
  body.sp-home-page .sp-header-main .header-links .connexion,
  body.sp-home-page .sp-header-main .header-links .deconnexion {display: inline-flex;}
  body.sp-home-page .sp-header-main .sp-header-deposit {display: inline-flex;}
}

@media (max-width: 1180px) {
  body.sp-home-page .sp-primary-nav {gap: 24px; margin-left: 12px;}
  body.sp-home-page .sp-header-main .header-links .ring {display: none;}
  body.sp-home-page .sp-home-search {grid-template-columns: minmax(230px, 1.25fr) minmax(160px, .7fr) minmax(170px, .75fr) auto;}
  body.sp-home-page .index-container .sp-home-categories-grid {grid-template-columns: repeat(3, minmax(0, 1fr));}
}

@media (max-width: 960px) {
  body.sp-home-page .sp-primary-nav {display: none;}
  body.sp-home-page header.header .sp-header-main {width: calc(100% - 32px); max-width: none; gap: 10px;}
  body.sp-home-page .sp-header-main .header-logo {margin-right: auto;}
  body.sp-home-page .sp-header-main .sp-header-deposit {display: none;}
  body.sp-home-page .sp-header-main .header-flags {margin-left: 0;}
  body.sp-home-page .index-container {width: min(calc(100% - 36px), 900px); padding-top: 16px;}
  body.sp-home-page .sp-home-search-wrap {width: 100%;}
  body.sp-home-page .sp-home-search {grid-template-columns: 1fr 1fr; gap: 0; padding: 6px;}
  body.sp-home-page .sp-home-search-keywords {grid-column: 1 / -1; border-bottom: 1px solid var(--ty-home-line);}
  body.sp-home-page .sp-home-search-field:nth-of-type(2)::before {display: none;}
  body.sp-home-page .sp-home-search > button[type="submit"] {min-height: 52px; margin-top: 6px; grid-column: 1 / -1;}
  body.sp-home-page .index-container .list-premium.sp-home-latest-cards,
  body.sp-home-page .index-container .sp-home-ad-section .list-premium,
  body.sp-home-page .index-container > .list-premium {grid-template-columns: repeat(2, minmax(0, 1fr));}
  body.sp-home-page .sp-home-latest-heading {align-items: flex-start; flex-direction: column;}
  body.sp-home-page .sp-home-latest-filters {width: 100%; overflow-x: auto; padding-bottom: 3px;}
  body.sp-home-page .sp-home-latest-filters a {white-space: nowrap;}
}

@media (max-width: 700px) {
  body.sp-home-page header.header,
  body.sp-home-page.sp-mobile-header-compact header.header {height: 72px;}
  body.sp-home-page header.header .sp-header-shell,
  body.sp-home-page.sp-mobile-header-compact header.header .sp-header-shell {height: 72px; grid-template-rows: 72px;}
  body.sp-home-page header.header .sp-header-shell .sp-header-main,
  body.sp-home-page.sp-mobile-header-compact header.header .sp-header-shell .sp-header-main {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 64px;
    grid-template-rows: 44px;
    height: 72px;
    min-height: 72px;
    align-items: center;
    padding: 14px 0;
  }
  body.sp-home-page.sp-mobile-header-compact header.header .sp-header-shell .header-logo,
  body.sp-home-page.sp-mobile-header-compact header.header .sp-header-shell .header-flags {display: flex;}
  body.sp-home-page header.header .sp-header-main .header-logo {grid-column: 2; grid-row: 1; justify-content: center;}
  body.sp-home-page header.header .sp-header-main .header-logo img {width: 142px;}
  body.sp-home-page header.header .sp-header-main .toggle-menu {grid-column: 1; grid-row: 1;}
  body.sp-home-page header.header .sp-header-main .header-flags {grid-column: 3; grid-row: 1;}
  body.sp-home-page .sp-header-main .header-links {top: 72px; height: calc(100dvh - 72px);}
  body.sp-home-page .header-end {height: 72px;}
  body.sp-home-page .index-container {width: calc(100% - 24px); padding: 12px 0 48px;}
  body.sp-home-page .index-container .sp-home-hero {
    min-height: 0;
    margin-bottom: 30px;
    padding: 32px 16px 22px;
    border-radius: 12px;
  }
  body.sp-home-page .index-container .sp-home-hero-copy h1 {font-size: clamp(34px, 10vw, 46px);}
  body.sp-home-page .sp-home-eyebrow {font-size: 11px; letter-spacing: .13em;}
  body.sp-home-page .index-container .sp-home-hero-copy .sp-home-intro {font-size: 17px;}
  body.sp-home-page .sp-home-search-wrap {margin-top: 22px;}
  body.sp-home-page .sp-home-search {display: block; margin-top: 0;}
  body.sp-home-page .sp-home-search-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    width: 100%;
    max-height: min(64vh, 520px);
  }
  body.sp-home-page .sp-home-search-field {min-height: 58px; padding: 0 14px; border-bottom: 1px solid var(--ty-home-line);}
  body.sp-home-page .sp-home-search-field .sp-modern-select-panel {left: -48px; width: min(340px, calc(100vw - 48px));}
  body.sp-home-page .sp-home-search-field + .sp-home-search-field::before {display: none;}
  body.sp-home-page .sp-home-search > button[type="submit"] {width: 100%; min-height: 52px; margin-top: 6px;}
  body.sp-home-page .index-container .sp-home-section-heading h2,
  body.sp-home-page .index-container .sp-home-latest-heading h2 {font-size: 23px;}
  body.sp-home-page .index-container .sp-home-categories {margin-bottom: 34px;}
  body.sp-home-page .index-container .sp-home-categories-grid {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; overflow: visible;}
  body.sp-home-page .index-container .sp-home-category-card {min-height: 0; flex-basis: auto; scroll-snap-align: none;}
  body.sp-home-page .index-container .sp-home-category-card > span {right: 10px; bottom: 10px; left: 10px; max-width: calc(100% - 20px); min-height: 38px; padding: 0 11px; font-size: 13px;}
  body.sp-home-page .index-container .sp-home-section-heading > a {font-size: 13px;}
  body.sp-home-page .index-container .list-premium.sp-home-latest-cards {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    overflow: visible;
  }
  body.sp-home-page .index-container .sp-home-latest-cards > a.background-ads-premium,
  body.sp-home-page .index-container .sp-home-latest-cards > a.background-ads-premium:is(:hover, :focus-visible) {
    display: block;
    width: auto;
    flex: none;
    scroll-snap-align: none;
    border-radius: 10px;
  }
  body.sp-home-page .index-container .sp-home-latest-cards .bloc-premium-infos {min-height: 126px; padding: 11px 12px 12px;}
  body.sp-home-page .index-container .sp-home-latest-cards .sp-premium-title {font-size: 15px;}
  body.sp-home-page .index-container .sp-home-latest-cards .sp-premium-price {font-size: 17px;}
  body.sp-home-page .sp-home-latest-filters a:not(.is-active):not(.sp-home-latest-all) {display: none;}
  body.sp-home-page .sp-home-latest-filters a.sp-home-latest-all {margin-left: auto;}
  body.sp-home-page .sp-home-seo {margin-top: 42px;}
}

@media (max-width: 420px) {
  body.sp-home-page .index-container .sp-home-latest-cards .sp-premium-location {font-size: 12px;}
  body.sp-home-page .index-container .sp-home-latest-cards .sp-premium-pro-badge {display: none;}
  body.sp-home-page .index-container .sp-home-category-card > span {gap: 6px; padding: 0 9px; font-size: 12px;}
  body.sp-home-page .index-container .sp-home-category-card span svg {width: 18px; height: 18px; flex-basis: 18px;}
}

@media (prefers-reduced-motion: reduce) {
  body.sp-home-page .sp-home-category-card svg {transition: none;}
}
