/* Good Deals SXM — v3: the v2 pages with a cleaner, calmer layout (approved mockup, 2026-12-01).
   Loaded after v2.css and only on v3 pages (body.v3). Same brand: original green logo, blue #537CD9,
   green #53D95D, Red Hat Display headings, Lexend Deca text. Ink is a touch deeper for contrast. */
body.v3 {
  --ink: #23384A; --muted: #5A6B7A; --bg: #F4F7FB; --line: #DCE5EF; --line2: #E8EEF5;
  --green-d: #2FB53B; --r2: 12px; --r3: 16px;
  background: var(--bg); color: var(--ink);
}
.v3 .v2-wrap { max-width: 1200px; padding-left: 24px; padding-right: 24px; }
@media (max-width: 900px) { .v3 .v2-wrap { padding-left: 16px; padding-right: 16px; } }

/* Buttons */
.v3-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 48px; padding: 0 20px; border: 0; border-radius: var(--r2); background: var(--green); color: var(--ink) !important; font-weight: 600; font-size: 15px; text-decoration: none; white-space: nowrap; cursor: pointer; transition: background .15s, transform .15s; }
.v3-btn:hover { background: #48CC52; }
.v3-btn:active { transform: translateY(1px); }
.v3-btn--full { width: 100%; }
.v3-btn--outline { background: transparent; border: 1.5px solid var(--ink); }
.v3-btn--outline:hover { background: var(--ink); color: #fff !important; }
.v3-btn--blue { background: var(--blue); color: #fff !important; }
.v3-btn--blue:hover { background: var(--blue-d); }
.v3-link { color: var(--blue-d) !important; font-weight: 600; font-size: 15px; text-decoration: none; }
.v3-link:hover { text-decoration: underline; }
.v3-iconbtn { width: 44px; height: 44px; border: 0; border-radius: var(--r2); background: var(--bg); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; }
.v3-center { text-align: center; margin: 32px 0 0; }
.v3 :focus-visible { outline: 3px solid rgba(83,124,217,.45); outline-offset: 2px; }

/* Header: white, original logo, always readable */
.v3-header { background: #fff; border-bottom: 1px solid var(--line); }
.v3 .v2-header__in { height: 78px; gap: 32px; }
.v3 .v2-logo img { height: 50px; }
.v3 .v2-nav { gap: 26px; font-weight: 500; font-size: 15px; }
.v3 .v2-nav a { color: var(--ink); }
.v3 .v2-nav a.is-on, .v3 .v2-nav a:hover { color: var(--blue); }
.v3-header__right { margin-left: auto; display: flex; align-items: center; gap: 6px; }
.v3-hlink { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px; border-radius: var(--r2); color: var(--ink) !important; text-decoration: none; font-weight: 500; font-size: 15px; position: relative; }
.v3-hlink:hover { background: var(--bg); }
.v3-header__right .v3-btn { margin-left: 8px; }
.v3 .v2-badge { left: 24px; top: 4px; }
@media (max-width: 900px) {
  .v3 .v2-header__in { height: 64px; gap: 8px; }
  .v3 .v2-logo { margin: 0 auto; }
  .v3 .v2-logo img { height: 40px; }
  .v3-header__right { margin-left: 0; }
  .v3-hlink { width: 44px; padding: 0; justify-content: center; background: var(--bg); }
}

/* Hero */
.v3-hero { background-image: linear-gradient(180deg, rgba(14,34,52,.40) 0%, rgba(14,34,52,.18) 42%, rgba(14,34,52,.70) 100%), url('/wp-content/uploads/2024/09/w05095-small.jpg'); background-size: cover; background-position: center 62%; color: #fff; }
.v3-hero__in { padding-top: 84px; padding-bottom: 64px; display: flex; flex-direction: column; gap: 18px; }
.v3-eyebrow { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; }
.v3-hero h1 { margin: 0; max-width: 760px; font-size: 68px; line-height: 1; letter-spacing: -2px; color: #fff; text-wrap: balance; }
.v3-hero h1 span { color: #6BE675; }
.v3-hero__sub { margin: 0; max-width: 560px; font-size: 18px; font-weight: 300; line-height: 1.5; }
.v3-search { margin-top: 10px; max-width: 880px; background: #fff; border-radius: var(--r3); padding: 8px; display: flex; align-items: center; gap: 8px; box-shadow: 0 18px 40px rgba(10,30,50,.25); }
.v3-search__q { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; padding: 0 12px; color: var(--muted); }
.v3-search__q input { flex: 1; min-width: 0; border: 0; outline: 0; height: 50px; font-size: 16px; color: var(--ink); background: transparent; }
.v3-search select { flex: 0 0 220px; height: 50px; border: 0; border-left: 1px solid var(--line); padding: 0 14px; background: transparent; color: var(--ink); font-size: 15px; }
.v3-search button { flex: 0 0 auto; height: 52px; padding: 0 28px; border: 0; border-radius: var(--r2); background: var(--blue); color: #fff; font-weight: 600; font-size: 16px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.v3-search button:hover { background: var(--blue-d); }
.v3-hero__facts { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 14px; }
.v3-hero__facts li { display: flex; align-items: center; gap: 8px; }
.v3-hero__facts b { font-weight: 600; }
.v3-dot { width: 8px; height: 8px; border-radius: 50%; background: #6BE675; box-shadow: 0 0 0 4px rgba(107,230,117,.25); }
@media (max-width: 900px) {
  .v3-hero__in { padding-top: 36px; padding-bottom: 30px; gap: 12px; }
  .v3-hero h1 { font-size: 40px; letter-spacing: -1.2px; }
  .v3-hero__sub { font-size: 15px; }
  .v3-search { padding: 6px; border-radius: 14px; }
  .v3-search select { display: none; }
  .v3-search__q { padding: 0 6px 0 10px; }
  .v3-search__q svg { display: none; }
  .v3-search button { width: 50px; height: 50px; padding: 0; border-radius: 10px; }
  .v3-hero__facts { font-size: 13px; }
}

/* Categories: theme icons tinted blue, on one white band */
.v3-cats { position: relative; margin-top: -1px; background: #fff; border-radius: 0 0 var(--r3) var(--r3); box-shadow: 0 10px 30px rgba(20,50,80,.06); padding: 14px; display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); gap: 4px; }
.v3-cat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 4px 12px; border-radius: var(--r2); color: var(--ink) !important; text-decoration: none; text-align: center; transition: background .15s; }
.v3-cat:hover { background: #EEF3FC; }
.v3-cat__icon { width: 40px; height: 40px; background-color: var(--blue); -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }
.v3-cat__name { font-weight: 600; font-size: 14px; line-height: 1.2; }
.v3-cat small { font-size: 12px; color: var(--muted); }
@media (max-width: 1100px) { .v3-cats { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .v3-cats { display: flex; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: 12px; scrollbar-width: none; margin: 0 -16px; border-radius: 0; padding: 10px 12px; box-shadow: none; border-bottom: 1px solid var(--line); }
  .v3-cats::-webkit-scrollbar { display: none; }
  .v3-cat { flex: 0 0 84px; scroll-snap-align: start; padding: 10px 2px; }
  .v3-cat__icon { width: 34px; height: 34px; }
  .v3-cat__name { font-size: 12px; }
  .v3-cat small { font-size: 11px; }
}

/* Sections */
.v3-section { padding-top: 64px; }
.v3-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.v3-head h2 { margin: 0; font-size: 36px; line-height: 1.05; letter-spacing: -1px; }
.v3-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.v3-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.v3-tabs .listivo-tab-v2 { height: 40px; padding: 0 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--ink); font-size: 14px; cursor: pointer; }
.v3-tabs .listivo-tab-v2:hover { border-color: var(--ink); }
.v3-tabs .listivo-tab-v2--active { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 900px) {
  .v3-section { padding-top: 36px; }
  .v3-head { margin-bottom: 16px; }
  .v3-head h2 { font-size: 26px; letter-spacing: -.6px; }
  .v3-head p { font-size: 14px; }
  .v3-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; width: calc(100% + 32px); }
  .v3-tabs::-webkit-scrollbar { display: none; }
  .v3-tabs .listivo-tab-v2 { flex: 0 0 auto; }
}

/* Listing cards: photo first, price, title, place and age. No chips, no borders. */
.v3 .v2-grid, .v3-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; }
.v3-card { display: flex; flex-direction: column; gap: 12px; color: var(--ink) !important; text-decoration: none; min-width: 0; }
.v3-card__img { position: relative; aspect-ratio: 4 / 3; border-radius: var(--r3); overflow: hidden; background: var(--line2); }
.v3-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s ease; }
.v3-card:hover .v3-card__img img { transform: scale(1.04); }
.v3-card__flag { position: absolute; left: 12px; top: 12px; display: flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #fff; color: #1F8F2A; font-size: 12px; font-weight: 600; }
.v3-card__flag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.v3-card__sold { position: absolute; left: 12px; bottom: 12px; padding: 4px 10px; border-radius: 999px; background: #E24B4B; color: #fff; font-size: 12px; font-weight: 700; text-transform: uppercase; }
.v3-card__count { position: absolute; right: 10px; bottom: 10px; padding: 3px 8px; border-radius: 8px; background: rgba(14,34,52,.7); color: #fff; font-size: 12px; }
.v3-card__fav { position: absolute; right: 10px; top: 10px; }
.v3-card__fav .v2-iconbtn { width: 38px; height: 38px; border: 0; background: rgba(255,255,255,.94); color: var(--ink); box-shadow: 0 2px 8px rgba(14,34,52,.12); }
.v3-card__fav .v2-iconbtn:hover { color: #E24B4B; }
.v3-card__fav .v2-iconbtn.listivo-listing-card-v4__icon--active { background: #fff; color: #E24B4B; }
.v3-card__fav .v2-iconbtn.listivo-listing-card-v4__icon--active svg { fill: currentColor; }
.v3-card__body { display: flex; flex-direction: column; gap: 4px; padding: 0 2px; }
.v3-card__price { font-family: var(--h); font-weight: 800; font-size: 21px; letter-spacing: -.4px; line-height: 1.2; }
.v3 h3.v3-card__title { margin: 0; font-family: var(--t); font-weight: 500; font-size: 15px; line-height: 1.35; letter-spacing: 0; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.v3-card__meta { display: flex; align-items: center; gap: 5px; margin-top: 2px; font-size: 13px; color: var(--muted); min-width: 0; }
.v3-card__meta span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.v3-card__meta span:last-child, .v3-card__meta span[aria-hidden] { flex-shrink: 0; }
.v3-card__meta svg { flex-shrink: 0; }
@media (max-width: 1100px) { .v3 .v2-grid, .v3-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) {
  .v3 .v2-grid, .v3-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .v3-card { gap: 8px; }
  .v3-card__img { aspect-ratio: 1 / 1; border-radius: 14px; }
  .v3-card__fav .v2-iconbtn { width: 34px; height: 34px; }
  .v3-card__count { display: none; }
  .v3-card__flag { left: 8px; top: 8px; font-size: 11px; padding: 3px 8px; }
  .v3-card__price { font-size: 17px; }
  .v3 h3.v3-card__title { font-size: 13px; }
  .v3-card__meta { font-size: 12px; }
  /* Results page on phones keeps 2 columns of cards */
  .v3 .v2-list .v2-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.v3-rail { display: flex; gap: 24px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.v3-rail::-webkit-scrollbar { display: none; }
.v3-rail > * { flex: 0 0 calc((100% - 72px) / 4); scroll-snap-align: start; }
@media (max-width: 900px) { .v3-rail { gap: 12px; margin: 0 -16px; padding: 0 16px; } .v3-rail > * { flex-basis: 44%; } }

/* Sell band */
.v3-sell { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 24px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
.v3-sell__bird { position: absolute; right: -70px; bottom: -50px; width: 440px; opacity: .1; pointer-events: none; }
.v3-sell__text { position: relative; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.v3-sell h2 { margin: 0; color: #fff; font-size: 40px; line-height: 1.05; letter-spacing: -1px; text-wrap: balance; }
.v3-sell p { margin: 0; max-width: 460px; color: #D5E1EC; font-weight: 300; line-height: 1.6; }
.v3-sell .v3-btn { margin-top: 6px; }
.v3-steps { position: relative; list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.v3-steps li { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r3); background: rgba(255,255,255,.07); font-size: 14px; color: #C3D2E0; line-height: 1.5; }
.v3-steps li > span { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--green); color: var(--ink); font-weight: 700; display: flex; align-items: center; justify-content: center; }
.v3-steps b { display: block; color: #fff; font-weight: 600; font-size: 16px; }
@media (max-width: 900px) {
  .v3-sell { grid-template-columns: 1fr; gap: 24px; padding: 28px 22px; border-radius: 20px; }
  .v3-sell h2 { font-size: 28px; }
  .v3-sell__bird { width: 260px; right: -60px; bottom: -30px; }
  .v3-steps li { padding: 14px 16px; }
}

/* Blog teaser */
.v3-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.v3-post { display: flex; flex-direction: column; gap: 10px; color: var(--ink) !important; text-decoration: none; min-width: 0; }
.v3-post__img { display: block; aspect-ratio: 4 / 3; border-radius: var(--r3); overflow: hidden; background: var(--line2); }
.v3-post img { width: 100%; height: 100%; object-fit: cover; display: block; }
.v3-post small { color: var(--muted); font-size: 13px; }
.v3-post strong { font-family: var(--h); font-weight: 700; font-size: 19px; line-height: 1.25; letter-spacing: -.3px; }
.v3-post--big { position: relative; min-height: 320px; border-radius: 20px; overflow: hidden; }
.v3-post--big img { position: absolute; inset: 0; }
.v3-post__over { position: absolute; inset: auto 0 0 0; padding: 60px 24px 22px; background: linear-gradient(180deg, rgba(14,34,52,0), rgba(14,34,52,.85)); color: #fff; display: flex; flex-direction: column; gap: 6px; }
.v3-post__over small { color: #CFE0EE; }
.v3-post__over strong { font-weight: 800; font-size: 26px; line-height: 1.15; }
@media (max-width: 900px) {
  .v3-posts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 16px; scrollbar-width: none; gap: 12px; margin: 0 -16px; padding: 0 16px; }
  .v3-posts::-webkit-scrollbar { display: none; }
  .v3-post { flex: 0 0 72%; scroll-snap-align: start; }
  .v3-post strong { font-size: 15px; }
}

/* Alert band */
.v3-alertband { margin-top: 72px; background-image: linear-gradient(90deg, rgba(18,44,68,.92), rgba(18,44,68,.6)), url('/wp-content/uploads/2024/09/w05095-small.jpg'); background-size: cover; background-position: center 30%; color: #fff; }
.v3-alertband__in { padding-top: 56px; padding-bottom: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.v3-alertband h2 { margin: 0; color: #fff; font-size: 34px; letter-spacing: -.8px; }
.v3-alertband p { margin: 8px 0 0; max-width: 460px; color: #D5E1EC; font-weight: 300; font-size: 15px; }
.v3-alertband form { flex: 1 1 460px; max-width: 600px; display: flex; gap: 6px; padding: 6px; background: #fff; border-radius: 14px; }
.v3-alertband select, .v3-alertband input { height: 48px; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 15px; min-width: 0; }
.v3-alertband select { flex: 0 0 170px; padding: 0 10px; border-right: 1px solid var(--line); }
.v3-alertband input { flex: 1; padding: 0 12px; }
@media (max-width: 900px) {
  .v3-alertband { margin-top: 44px; }
  .v3-alertband__in { padding-top: 36px; padding-bottom: 36px; gap: 18px; }
  .v3-alertband h2 { font-size: 26px; }
  .v3-alertband form { flex-wrap: wrap; }
  .v3-alertband select { flex: 1 1 100%; border-right: 0; border-bottom: 1px solid var(--line); }
  .v3-alertband .v3-btn { flex: 1 1 100%; }
}

/* Footer: white, original logo */
.v3-footer { margin-top: 64px; background: #fff; border-top: 1px solid var(--line); }
main:has(> .v3-alertband:last-child) + .v3-footer { margin-top: 0; }
@media (max-width: 900px) { .v3-footer { margin-top: 40px; } }
.v3-footer__in { padding-top: 48px; padding-bottom: 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; font-size: 14px; }
.v3-footer__brand img { height: 56px; width: auto; display: block; }
.v3-footer__brand p { margin: 14px 0; color: var(--muted); line-height: 1.6; }
.v3-footer h3 { margin: 0 0 12px; font-family: var(--t); font-size: 15px; font-weight: 600; letter-spacing: 0; }
.v3-footer a { display: block; padding: 4px 0; color: var(--ink); text-decoration: none; }
.v3-footer a:hover { color: var(--blue); }
.v3-insta { width: 44px; height: 44px; padding: 0 !important; border-radius: 50%; background: #E1306C; color: #fff !important; display: inline-flex !important; align-items: center; justify-content: center; font-size: 18px; }
.v3-footer__copy { border-top: 1px solid var(--line2); padding: 16px 20px; text-align: center; font-size: 13px; color: var(--muted); }
@media (max-width: 900px) { .v3-footer__in { grid-template-columns: 1fr 1fr; gap: 24px; } .v3-footer__brand { grid-column: 1 / -1; } }

/* Mobile bottom bar and drawer */
.v3 .v2-bottom { height: 68px; border-top-color: var(--line); }
.v3 .v2-bottom a { font-weight: 500; }
.v3 .v2-bottom a.is-on { color: var(--blue-d); }
.v3 .v2-bottom .v2-bottom__add { border-radius: 18px; background: var(--green); color: var(--ink); box-shadow: 0 8px 20px rgba(47,181,59,.35); margin-top: -26px; }
.v3 .v2-drawer__panel { gap: 2px; }
.v3 .v2-drawer__panel .v3-btn { margin-bottom: 10px; color: var(--ink) !important; }
.v3 .v2-drawer__panel a:not(.v3-btn) { font-weight: 500; }

/* Pages that reuse v2 blocks: softer radii and the deeper ink */
.v3 .v2-box, .v3 .v2-filters, .v3 .v2-faq details, .v3 .v2-empty { border-radius: var(--r3); border-color: var(--line2); }
.v3 .v2-results-head input, .v3 .v2-sort, .v3 .v2-pill, .v3 .v2-pagination a, .v3 .v2-pagination span, .v3 .v2-filter .v2-price input { border-radius: 10px; }
.v3 .v2-pill.is-on { background: var(--ink); border-color: var(--ink); }
.v3 .v2-results-head button[type=submit] { border-radius: 10px; }
.v3 .v2-btn { border-radius: var(--r2); }
.v3 .v2-label { border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; }
.v3 .v2-gallery .listivo-gallery-v3__slide:first-child { border-radius: 0; }
.v3 .v2-contact button, .v3 .v2-contact a { border-radius: var(--r2); }
.v3 .v2-phone { border-radius: var(--r2); }
.v3 .v2-features div { border-radius: var(--r2); }
.v3 .v2-tag { border-radius: 999px; }
.v3 .v2-pagehead { border-bottom-color: var(--line); }

/* Language switcher (floating, bottom-left): keep it clear of the phone navigation bars */
@media (max-width: 900px) {
  .v3 .gtranslate_wrapper, .v3 .gtranslate_wrapper > .gt_float_switcher { bottom: 84px !important; transform: scale(.82); transform-origin: left bottom; }
  body.v3.v2-has-mbar .gtranslate_wrapper, body.v3.v2-has-mbar .gtranslate_wrapper > .gt_float_switcher { bottom: 166px !important; }
}
.v3-card__flag--pick { color: var(--blue-d); }
.v3-card__flag--pick::before { background: var(--blue); }

/* article photos (automatic articles) */
.v2-prose .gdx-fig { margin: 24px 0; }
.v2-prose .gdx-fig img { display: block; width: 100%; height: auto; border-radius: 5px; margin: 0; }
.v2-prose .gdx-fig figcaption { font-size: 12.5px; line-height: 1.5; color: #7A8A98; margin-top: 6px; }
.v2-prose .gdx-fig figcaption a { color: inherit; text-decoration: underline; }
.v3-contact { max-width: 760px; margin-top: 48px; scroll-margin-top: 100px; }
.v3-contact .v2-form { margin-top: 16px; }
.v3 .v2-pageside .v3-btn { margin: 4px 0 8px; }

/* automatic articles: punchy, readable on a phone */
.v2-prose.gdx-auto { max-width: 720px; margin: 0 auto; padding: 30px 34px; font-family: var(--t); font-size: 18px; line-height: 1.65; color: #374B5C; }
.gdx-auto p { margin: 0 0 1em; }
.gdx-auto h2 { font-family: var(--h); font-weight: 900; font-size: 30px; letter-spacing: -0.03em; line-height: 1.1; margin: 1.7em 0 .5em; }
.gdx-auto h2::before { content: ''; display: block; width: 46px; height: 6px; background: #53D95D; border-radius: 3px; margin-bottom: 12px; }
.gdx-auto h3 { font-family: var(--h); font-weight: 800; font-size: 22px; letter-spacing: -0.02em; margin: 1.3em 0 .4em; }
.gdx-auto strong { color: #374B5C; background: linear-gradient(transparent 62%, rgba(83, 217, 93, .35) 62%); }
.gdx-auto blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 6px solid #53D95D; font-family: var(--h); font-weight: 900; font-size: 25px; line-height: 1.2; letter-spacing: -0.02em; color: #374B5C; }
.gdx-auto blockquote p { margin: 0; }
.gdx-auto ul, .gdx-auto ol { padding-left: 1.2em; margin: 0 0 1.1em; }
.gdx-auto li { margin: .35em 0; }
.gdx-auto a { color: #3D66C4; font-weight: 600; }
.gdx-tldr { background: #FFFCF4; border: 2px solid #53D95D; border-radius: 5px; padding: 18px 22px; margin: 0 0 1.6em; font-size: 16.5px; }
.gdx-tldr > strong { display: inline-block; background: #53D95D; color: #374B5C; font-family: var(--h); font-weight: 900; text-transform: uppercase; letter-spacing: .04em; font-size: 13px; padding: 4px 10px; border-radius: 5px; }
.gdx-tldr ul { margin: 10px 0 0; }
.gdx-auto .gdx-fig figcaption { font-size: 13px; }
@media (max-width: 640px) {
  .v2-prose.gdx-auto { padding: 22px 18px; font-size: 17px; }
  .gdx-auto h2 { font-size: 26px; }
  .gdx-auto blockquote { font-size: 22px; }
}
.gdx-auto .gdx-fig figcaption { font-size: 14px; color: #374B5C; font-weight: 600; }
.gdx-auto .gdx-credit { display: block; font-size: 11.5px; font-weight: 400; color: #8795A1; margin-top: 2px; }
.gdx-auto .gdx-credit a { color: inherit; font-weight: 400; }

/* Results page filters: category tiles (same icons as the home page), location dropdown */
@media (min-width: 901px) { .v3 .v2-filters { padding: 4px 18px 18px; } }
@media (max-width: 900px) {
  .v3 .v2-filters { padding: 76px 20px 120px; align-self: stretch; justify-self: stretch; height: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .v3 .v2-drawer__panel { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
  .v3 .v2-filters__close { height: 62px; }
  .v3 .v2-filters__done .v2-btn { border-radius: var(--r2); }
  .v3 .v2-results__top .v2-sort { font-size: 14px; padding: 0 8px; }
  .v3 .v2-results__top .gdx-alert-btn { font-size: 14px; }
  .v3-ftile { padding: 11px 8px; font-size: 15px; }
  .v3 .v2-filter a.v2-opt { padding: 9px 0; }
}
.v3 .v2-filter h3 { font-size: 15px; font-family: var(--t); font-weight: 600; letter-spacing: 0; }
.v3-ftiles { display: flex; flex-direction: column; gap: 2px; }
.v3-ftile { display: flex; align-items: center; gap: 10px; padding: 8px 8px; border: 1px solid transparent; border-radius: 10px; color: var(--ink) !important; text-decoration: none; font-size: 14px; font-weight: 500; line-height: 1.2; min-width: 0; }
.v3-ftile:hover { border-color: var(--blue); background: #EEF3FC; }
.v3-ftile .v3-cat__icon { width: 22px; height: 22px; flex-shrink: 0; }
.v3-ftile span:not(.v3-cat__icon) { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v3-ftile small { color: var(--muted); font-size: 12px; }
.v3-fselect { width: 100%; height: 46px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); font-size: 15px; cursor: pointer; }
.v3 .v2-filter .v2-on { border-radius: 999px; }

/* ---------- Rédaction (editorial desk, staff only) ---------- */
.rd { --rd-ink: #374B5C; --rd-green: #53D95D; --rd-blue: #537CD9; --rd-beige: #ECE0C6; --rd-cream: #FFFCF4; --rd-line: #E6E9EC; color: var(--rd-ink); }
.rd-section { margin: 0 0 38px; }
.rd-h2 { font-family: var(--h); font-weight: 800; font-size: 26px; letter-spacing: -.03em; margin: 0 0 14px; display: flex; align-items: center; gap: 10px; }
.rd-count { font-family: var(--t); font-size: 13px; font-weight: 700; background: var(--rd-green); color: var(--rd-ink); border-radius: 5px; padding: 2px 8px; letter-spacing: 0; }
.rd-muted { color: #7A8A98; font-size: 14px; }
.rd-alert { background: var(--rd-cream); border: 2px solid var(--rd-green); border-radius: 5px; padding: 14px 18px; margin-bottom: 26px; }
.rd-chip { display: inline-block; background: var(--rd-beige); color: var(--rd-ink); font-size: 12px; font-weight: 600; border-radius: 5px; padding: 3px 8px; white-space: nowrap; }
.rd-chip--green { background: var(--rd-green); }
.rd-chip--light { background: #F2F4F6; color: #6B7B88; }
.rd-btn { display: inline-flex; align-items: center; justify-content: center; height: 40px; padding: 0 16px; border: 0; border-radius: 5px; background: var(--rd-green); color: var(--rd-ink); font: 600 14px var(--t); cursor: pointer; text-decoration: none; white-space: nowrap; }
.rd-btn:hover { filter: brightness(1.05); color: var(--rd-ink); }
.rd-btn--ghost { background: #fff; border: 1px solid var(--rd-line); }
.rd-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.rd-draft { display: flex; flex-direction: column; background: var(--rd-cream); border: 2px solid var(--rd-green); border-radius: 5px; overflow: hidden; text-decoration: none; color: var(--rd-ink); }
.rd-draft__img { aspect-ratio: 16/9; background: var(--rd-ink); }
.rd-draft__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rd-draft__body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; align-items: flex-start; }
.rd-draft__title { font-family: var(--h); font-weight: 800; font-size: 18px; line-height: 1.2; letter-spacing: -.02em; }
.rd-draft .rd-btn { margin-top: 4px; }
.rd-week { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); margin-bottom: 10px; }
.rd-slot { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; border: 1px solid var(--rd-line); border-radius: 5px; padding: 14px 16px; background: #fff; }
.rd-slot.is-today { border: 2px solid var(--rd-blue); }
.rd-slot__day { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--rd-blue); }
.rd-slot__what { font-family: var(--h); font-weight: 800; font-size: 17px; line-height: 1.2; }
.rd-add { margin: 0 0 16px; }
.rd-add summary { list-style: none; width: fit-content; }
.rd-add summary::-webkit-details-marker { display: none; }
.rd-form { display: grid; gap: 12px; max-width: 560px; margin-top: 12px; padding: 16px; border: 1px solid var(--rd-line); border-radius: 5px; background: #fff; }
.rd-form label { display: grid; gap: 6px; font-weight: 600; font-size: 14px; }
.rd-form input, .rd-form textarea, .rd-form select { font: 15px var(--t); border: 1px solid var(--rd-line); border-radius: 5px; padding: 10px 12px; color: var(--rd-ink); }
.rd-form .rd-btn { justify-self: start; }
.rd-topics { display: grid; gap: 10px; margin-bottom: 10px; }
.rd-topic { display: grid; grid-template-columns: 54px 1fr auto; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--rd-line); border-radius: 5px; padding: 14px 16px; }
.rd-topic.is-prio { background: var(--rd-cream); border: 2px solid var(--rd-green); }
.rd-score { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center;
  background: conic-gradient(var(--rd-green) calc(var(--s) * 1%), #EEF1F3 0); }
.rd-score span { width: 42px; height: 42px; border-radius: 50%; background: #fff; display: grid; place-items: center; font: 800 16px var(--h); }
.rd-topic__top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.rd-topic__top strong { font-family: var(--h); font-weight: 800; font-size: 17px; letter-spacing: -.01em; margin-right: 4px; }
.rd-topic__angle { margin: 6px 0 2px; font-size: 14.5px; line-height: 1.5; }
.rd-topic .rd-muted { margin: 4px 0 0; }
.rd-topic__actions { display: flex; flex-direction: column; gap: 8px; }
.rd-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.rd-list a { font-weight: 600; color: var(--rd-ink); }
.rd-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #C5CDD3; vertical-align: middle; }
.rd-dot--done { background: var(--rd-green); } .rd-dot--failed { background: #E5484D; } .rd-dot--running { background: var(--rd-blue); }
@media (max-width: 700px) {
  .rd-topic { grid-template-columns: 46px 1fr; }
  .rd-score { width: 46px; height: 46px; } .rd-score span { width: 36px; height: 36px; font-size: 14px; }
  .rd-topic__actions { grid-column: 1 / -1; flex-direction: row; }
  .rd-topic__actions .rd-btn { flex: 1; }
}
