:root {
  --salimos-orange: #ff6b2c;
  --salimos-orange-dark: #e45418;
  --salimos-cream: #fff8f3;
  --salimos-black: #111111;
  --salimos-gray: #6b7280;
  --salimos-border: #ececec;
  --salimos-white: #ffffff;
  --salimos-blue: #153b50;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--salimos-cream);
  color: var(--salimos-black);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.sal-container {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

/* HEADER */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0,0,0,.06);
}

.header-inner {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  width: 220px;
  height: 86px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  overflow: hidden;
}

.logo-wrap {
  width: 210px;
  height: 64px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.logo-wrap .custom-logo-link {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
}

.logo-wrap img,
.logo-wrap .custom-logo,
.site-header img.custom-logo {
  width: 100% !important;
  height: 100% !important;
  max-width: 210px !important;
  max-height: 64px !important;
  object-fit: contain !important;
  display: block !important;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--salimos-orange), #ff9a57);
  color: #fff;
  font-weight: 900;
}

.brand-text {
  margin-left: 10px;
  font-size: 22px;
  font-weight: 900;
}

.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}

.main-nav .menu {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #111;
  font-size: 14px;
  font-weight: 800;
}

.main-nav a:hover {
  color: var(--salimos-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.search-toggle,
.menu-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #111;
  font-size: 21px;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0,0,0,.08);
}

.menu-toggle {
  display: none;
}

.app-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--salimos-orange);
  color: #fff;
  padding: 13px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.05;
}

.app-cta:hover {
  background: var(--salimos-orange-dark);
}

/* SEARCH */

.search-panel {
  display: none;
  border-top: 1px solid var(--salimos-border);
  padding: 16px 0;
  background: #fff;
}

.search-panel.active {
  display: block;
}

.search-form {
  display: flex;
  gap: 10px;
}

.search-form input {
  flex: 1;
  border: 1px solid var(--salimos-border);
  border-radius: 999px;
  padding: 14px 18px;
  font-size: 16px;
}

.search-form button {
  border: 0;
  border-radius: 999px;
  padding: 0 22px;
  background: var(--salimos-black);
  color: #fff;
  font-weight: 900;
}

/* HERO HOME */

.hero-wrap {
  padding: 34px 0 20px;
}

.hero-post {
  position: relative;
  min-height: 620px;
  border-radius: 34px;
  overflow: hidden;
  background: #222;
  box-shadow: 0 25px 70px rgba(0,0,0,.16);
}

.hero-post img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--salimos-orange), var(--salimos-blue));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.72), rgba(0,0,0,.1));
}

.hero-content {
  position: absolute;
  left: 48px;
  bottom: 48px;
  width: min(720px, calc(100% - 60px));
  color: #fff;
}

.hero-kicker {
  display: inline-flex;
  gap: 8px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
}

.hero-kicker a {
  color: #fff;
}

.hero-content h1 {
  max-width: 760px;
  width: 100%;
  margin: 18px 0;
  font-size: clamp(34px, 4.8vw, 68px);
  line-height: .92;
  letter-spacing: -2px;
  font-weight: 900;
  text-wrap: balance;
  overflow-wrap: break-word;
}

/* evita títulos absurdamente largos */
.hero-content {
  position: absolute;
  left: 48px;
  bottom: 48px;
  width: min(760px, calc(100% - 80px));
  color: #fff;
  z-index: 2;
}

/* subtitulo */
.hero-content p {
  max-width: 620px;
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,.92);
}

/* mobile */
@media (max-width: 768px) {

  .hero-content {
    left: 24px;
    right: 24px;
    bottom: 28px;
    width: auto;
  }

  .hero-content h1 {
    font-size: clamp(34px, 10vw, 52px);
    line-height: .94;
    letter-spacing: -1.5px;
    max-width: 100%;
  }

  .hero-content p {
    font-size: 16px;
    line-height: 1.5;
  }
}

.hero-content p {
  font-size: 18px;
  line-height: 1.6;
  max-width: 620px;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--salimos-orange);
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 12px 18px;
}

/* SECTIONS */

.section-block,
.posts-grid-wrap {
  padding: 36px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-head h1,
.section-head h2 {
  font-size: clamp(30px, 4vw, 54px);
  line-height: 1;
  margin: 0;
}

.section-head p {
  color: var(--salimos-gray);
  max-width: 480px;
}

.section-head.compact {
  display: block;
}

.trend-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
}

.trend-pill {
  flex: 0 0 auto;
  width: 260px;
  min-height: 112px;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(135deg, #fff, var(--salimos-cream));
  border: 1px solid var(--salimos-border);
  border-radius: 24px;
  padding: 18px;
  font-weight: 900;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

/* POSTS GRID */

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.post-card {
  background: #fff;
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 12px 34px rgba(0,0,0,.06);
  transition: .25s ease;
}

.post-card:hover {
  transform: translateY(-5px);
}

.post-card-img {
  display: block;
  aspect-ratio: 1.35 / 1;
  background: #eee;
  overflow: hidden;
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.img-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #ffefe5, #fff);
  color: var(--salimos-orange);
  font-weight: 900;
}

.post-card-body {
  padding: 20px;
}

.meta-row {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 900;
  color: var(--salimos-orange);
}

.post-card h2 {
  font-size: 24px;
  line-height: 1.08;
  margin: 10px 0;
}

.post-card p {
  color: var(--salimos-gray);
  line-height: 1.55;
}

.read-more {
  font-weight: 900;
  color: var(--salimos-orange-dark);
}

/* NEWSLETTER */

.newsletter-box {
  margin-top: 30px;
  margin-bottom: 46px;
  background: linear-gradient(135deg, var(--salimos-blue), #102532);
  color: #fff;
  border-radius: 32px;
  padding: 38px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.newsletter-box h2 {
  font-size: 40px;
  line-height: 1;
  margin: 8px 0;
}

.eyebrow {
  color: #ffd5c2;
  text-transform: uppercase;
  font-weight: 900;
  font-size: 12px;
}

.newsletter-box a,
.footer-cta,
.post-cta-box a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--salimos-orange);
  color: #fff;
  font-weight: 900;
  border-radius: 999px;
  padding: 12px 18px;
}

/* ARCHIVE */

.archive-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  padding: 40px 0;
}

/* SINGLE POST */

.single-hero,
.single-hero-modern {
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: #171717;
  color: #fff;
}

.single-hero img,
.single-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0,0,0,.82), rgba(0,0,0,.22), rgba(0,0,0,.1)),
    radial-gradient(circle at 20% 80%, rgba(255,107,44,.45), transparent 38%);
  z-index: 1;
}

.single-hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 72px;
  max-width: 980px;
}

.single-hero-content h1,
.single-hero h1 {
  max-width: 980px;
  margin: 18px 0 0;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .92;
  letter-spacing: -3px;
  font-weight: 900;
}

.single-meta {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  color: rgba(255,255,255,.86);
  font-weight: 700;
}

.single-meta span {
  background: rgba(255,255,255,.14);
  backdrop-filter: blur(10px);
  padding: 9px 13px;
  border-radius: 999px;
}

.single-layout,
.single-layout-modern {
  display: grid;
  grid-template-columns: minmax(0, 780px) 320px;
  gap: 56px;
  align-items: start;
  padding-top: 58px;
  padding-bottom: 80px;
}

.single-content,
.single-entry {
  background: #fff;
  border-radius: 30px;
  padding: 48px;
  box-shadow: 0 18px 50px rgba(0,0,0,.06);
}

.single-content p,
.single-entry p {
  font-size: 19px;
  line-height: 1.85;
  color: #252525;
  margin-bottom: 28px;
}

.single-content h2,
.single-entry h2 {
  font-size: 36px;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-top: 46px;
  margin-bottom: 18px;
}

.single-content h3,
.single-entry h3 {
  font-size: 27px;
  margin-top: 36px;
  margin-bottom: 14px;
}

.single-content ul,
.single-content ol,
.single-entry ul,
.single-entry ol {
  padding-left: 22px;
  margin-bottom: 28px;
}

.single-content li,
.single-entry li {
  margin-bottom: 10px;
  line-height: 1.7;
  font-size: 18px;
}

.single-content a,
.single-entry a {
  color: var(--salimos-orange);
  font-weight: 700;
}

.single-content img,
.single-entry img {
  border-radius: 24px;
  margin: 28px 0;
  width: 100%;
  height: auto;
}

.single-content blockquote,
.single-entry blockquote {
  margin: 42px 0;
  padding: 30px;
  border-left: 6px solid var(--salimos-orange);
  background: #fff4ee;
  border-radius: 22px;
  font-size: 24px;
  line-height: 1.45;
  font-weight: 800;
}

/* SHARE */

.single-content-modern {
  position: relative;
}

.single-floating-share {
  position: absolute;
  left: -76px;
  top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.single-floating-share a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #111;
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  font-weight: 900;
  text-transform: uppercase;
  transition: .25s ease;
}

.single-floating-share a:hover {
  background: var(--salimos-orange);
  transform: translateY(-2px);
}

/* CTA POST */

.post-cta-box,
.post-cta-modern {
  margin-top: 34px;
  padding: 42px;
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(255,255,255,.35), transparent 30%),
    linear-gradient(135deg, #ff642d, #ef3e23);
  color: #fff;
  box-shadow: 0 18px 45px rgba(255,100,45,.25);
}

.post-cta-modern span {
  font-weight: 900;
  text-transform: uppercase;
  font-size: 13px;
  opacity: .9;
}

.post-cta-box h3,
.post-cta-modern h3 {
  font-size: 36px;
  margin: 10px 0;
  letter-spacing: -1px;
}

.post-cta-box p,
.post-cta-modern p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.55;
}

.post-cta-box a,
.post-cta-modern a {
  display: inline-flex;
  margin-top: 14px;
  background: #fff;
  color: #ef3e23;
  text-decoration: none;
  font-weight: 900;
  padding: 13px 20px;
  border-radius: 999px;
}

/* RELATED POSTS */

.related-posts-modern {
  margin-top: 54px;
}

.related-posts-modern h3 {
  font-size: 30px;
  letter-spacing: -1px;
  margin-bottom: 22px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.related-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none;
  color: #111;
  box-shadow: 0 14px 38px rgba(0,0,0,.06);
  transition: .3s ease;
}

.related-card:hover {
  transform: translateY(-4px);
}

.related-card img {
  width: 100%;
  height: 145px;
  object-fit: cover;
}

.related-card div {
  padding: 16px;
}

.related-card span {
  color: var(--salimos-orange);
  font-size: 12px;
  font-weight: 900;
}

.related-card h4 {
  margin: 7px 0 0;
  font-size: 17px;
  line-height: 1.2;
}

/* SIDEBAR */

.sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: sticky;
  top: 110px;
}

.sal-card,
.widget {
  background: #fff;
  border: 1px solid var(--salimos-border);
  border-radius: 24px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}

.widget-title {
  font-size: 20px;
  margin-bottom: 18px;
}

/* COMMENTS */

.comments-area {
  margin-top: 52px;
  background: #fff;
  border-radius: 30px;
  padding: 40px;
  box-shadow: 0 10px 40px rgba(0,0,0,.05);
}

/* PAGE */

.page-content {
  margin-top: 42px;
  margin-bottom: 42px;
}

/* FOOTER */

.site-footer {
  background: #111;
  color: #fff;
  padding: 48px 0 24px;
  margin-top: 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 30px;
}

.footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 28px;
  padding-top: 20px;
  color: #aaa;
}

/* RESPONSIVE */

@media (max-width: 1024px) {
  .single-layout,
  .single-layout-modern,
  .archive-layout {
    grid-template-columns: 1fr;
  }

  .single-floating-share {
    position: static;
    flex-direction: row;
    margin-bottom: 18px;
  }

  .sidebar {
    position: static;
  }
}

@media (max-width: 900px) {
  .header-inner {
    height: 68px;
  }

  .brand {
    width: 155px;
    height: 68px;
  }

  .logo-wrap {
    width: 145px;
    height: 46px;
  }

  .logo-wrap img,
  .logo-wrap .custom-logo,
  .site-header img.custom-logo {
    max-width: 145px !important;
    max-height: 46px !important;
  }

  .main-nav {
    display: none;
    position: absolute;
    left: 16px;
    right: 16px;
    top: 78px;
    background: #fff;
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 20px 50px rgba(0,0,0,.14);
  }

  .main-nav.active {
    display: block;
  }

  .main-nav .menu {
    display: grid;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-grid;
    place-items: center;
  }

  .app-cta {
    display: none;
  }

  .posts-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section-head {
    display: block;
  }

  .hero-post {
    min-height: 520px;
    border-radius: 26px;
  }

  .hero-content {
    left: 24px;
    bottom: 28px;
  }

  .newsletter-box {
    display: block;
    padding: 26px;
  }

  .newsletter-box h2 {
    font-size: 30px;
  }

  .single-hero,
  .single-hero-modern {
    min-height: 520px;
  }

  .single-hero-content {
    padding-bottom: 46px;
  }

  .single-hero-content h1,
  .single-hero h1 {
    font-size: clamp(38px, 12vw, 58px);
    letter-spacing: -2px;
  }

  .single-content,
  .single-entry {
    padding: 26px;
    border-radius: 24px;
  }

  .single-content p,
  .single-entry p {
    font-size: 17px;
    line-height: 1.75;
  }

  .single-content h2,
  .single-entry h2 {
    font-size: 30px;
  }

  .single-content h3,
  .single-entry h3 {
    font-size: 24px;
  }

  .single-content blockquote,
  .single-entry blockquote {
    font-size: 20px;
    padding: 24px;
  }

  .post-cta-box,
  .post-cta-modern {
    padding: 28px;
  }

  .post-cta-box h3,
  .post-cta-modern h3 {
    font-size: 30px;
  }

  .related-grid {
    grid-template-columns: 1fr;
  }

  .comments-area {
    padding: 24px;
  }
}/* =========================
   FIX DEFINITIVO COMENTARIOS
========================= */

#comments.comments-modern,
.comments-area.comments-modern {
  width: 100% !important;
  margin-top: 56px !important;
  background: #fff !important;
  border-radius: 32px !important;
  padding: 42px !important;
  box-shadow: 0 18px 50px rgba(0,0,0,.06) !important;
}

#respond {
  width: 100% !important;
}

#reply-title,
.comment-reply-title {
  margin: 0 0 22px !important;
  font-size: 32px !important;
  line-height: 1.1 !important;
  letter-spacing: -1px !important;
  font-weight: 900 !important;
}

#commentform,
.comment-form,
.comment-form-modern {
  width: 100% !important;
  display: block !important;
}

#commentform .logged-in-as,
.comment-form .logged-in-as {
  margin: 0 0 24px !important;
  padding: 14px 18px !important;
  border-radius: 18px !important;
  background: #fff8f3 !important;
  color: #444 !important;
  font-size: 15px !important;
  line-height: 1.5 !important;
}

#commentform .logged-in-as a {
  color: var(--salimos-orange) !important;
  font-weight: 900 !important;
}

#commentform .comment-form-comment {
  width: 100% !important;
  display: block !important;
  margin: 0 0 20px !important;
}

#commentform .comment-form-comment label {
  display: block !important;
  margin-bottom: 10px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: .04em !important;
  color: #111 !important;
}

#comment,
#commentform textarea,
.comment-form-comment textarea {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 100% !important;
  height: 180px !important;
  min-height: 180px !important;
  border: 1px solid #ffe0d1 !important;
  border-radius: 24px !important;
  padding: 18px 20px !important;
  background: #fff8f3 !important;
  font-family: inherit !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #111 !important;
  resize: vertical !important;
  outline: none !important;
  box-shadow: none !important;
}

#comment:focus {
  background: #fff !important;
  border-color: var(--salimos-orange) !important;
  box-shadow: 0 0 0 4px rgba(255,107,44,.12) !important;
}

#commentform .form-submit {
  margin: 8px 0 0 !important;
}

#submit,
#commentform input[type="submit"],
#commentform button[type="submit"] {
  appearance: none !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--salimos-orange) !important;
  color: #fff !important;
  padding: 14px 24px !important;
  font-family: inherit !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 28px rgba(255,107,44,.25) !important;
}

#submit:hover,
#commentform input[type="submit"]:hover,
#commentform button[type="submit"]:hover {
  background: var(--salimos-orange-dark) !important;
  transform: translateY(-2px) !important;
}

@media (max-width: 768px) {
  #comments.comments-modern,
  .comments-area.comments-modern {
    padding: 26px !important;
    border-radius: 26px !important;
  }

  #reply-title,
  .comment-reply-title {
    font-size: 26px !important;
  }

  #comment,
  #commentform textarea {
    height: 150px !important;
    min-height: 150px !important;
  }
}

.ranking-preview-home {
  margin-top: 54px !important;
  margin-bottom: 54px !important;
  padding: 26px !important;
  background: #fff8f3 !important;
  border: 1px solid #f3d7c8 !important;
  border-radius: 30px !important;
  box-shadow: 0 18px 55px rgba(0,0,0,.07) !important;
}

.ranking-preview-head {
  display: flex !important;
  justify-content: space-between !important;
  gap: 24px !important;
  margin-bottom: 18px !important;
}

.ranking-kicker {
  display: inline-flex !important;
  background: #fff !important;
  color: #e45418 !important;
  padding: 8px 14px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 900 !important;
}

.ranking-preview-head h2 {
  max-width: 560px !important;
  margin: 12px 0 6px !important;
  font-size: clamp(30px, 4vw, 42px) !important;
  line-height: .95 !important;
  letter-spacing: -1.5px !important;
}

.ranking-preview-head p {
  max-width: 520px !important;
  margin: 0 !important;
  color: #8a6b5d !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
}

.ranking-preview-link {
  height: fit-content !important;
  white-space: nowrap !important;
  background: #d95d27 !important;
  color: #fff !important;
  padding: 13px 18px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.ranking-preview-tabs {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  padding: 4px 0 12px !important;
}

.ranking-tab {
  border: 1px solid #ead7cc !important;
  background: #fff !important;
  color: #111 !important;
  padding: 12px 17px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.ranking-tab.active {
  background: #e0642c !important;
  color: #fff !important;
  border-color: #e0642c !important;
}

.ranking-preview-status {
  margin: 4px 0 16px !important;
  color: #9c8474 !important;
  font-size: 14px !important;
}

.ranking-preview-scroll {
  display: flex !important;
  gap: 14px !important;
  overflow-x: auto !important;
  padding: 2px 2px 12px !important;
  scroll-snap-type: x mandatory !important;
}

.ranking-mini-card {
  position: relative !important;
  flex: 0 0 245px !important;
  height: 260px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #222 !important;
  color: #fff !important;
  scroll-snap-align: start !important;
  box-shadow: 0 14px 35px rgba(0,0,0,.12) !important;
}

.ranking-mini-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.ranking-mini-card::after {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(to top, rgba(0,0,0,.84), rgba(0,0,0,.12)) !important;
}

.ranking-mini-rank {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 2 !important;
  background: rgba(255,255,255,.94) !important;
  color: #111 !important;
  padding: 8px 11px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
}

.ranking-mini-info {
  position: absolute !important;
  left: 14px !important;
  right: 14px !important;
  bottom: 14px !important;
  z-index: 2 !important;
}

.ranking-mini-info h3 {
  margin: 0 0 5px !important;
  font-size: 20px !important;
  line-height: 1.05 !important;
  color: #fff !important;
}

.ranking-mini-info p {
  margin: 0 0 10px !important;
  font-size: 12px !important;
  line-height: 1.25 !important;
  color: rgba(255,255,255,.88) !important;
}

.ranking-mini-meta {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.ranking-mini-meta span {
  background: rgba(0,0,0,.5) !important;
  color: #fff !important;
  padding: 7px 9px !important;
  border-radius: 999px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

@media (max-width: 768px) {
  .ranking-preview-home {
    padding: 18px !important;
    border-radius: 24px !important;
  }

  .ranking-preview-head {
    display: block !important;
  }

  .ranking-preview-link {
    display: inline-flex !important;
    margin-top: 14px !important;
  }

  .ranking-mini-card {
    flex-basis: 220px !important;
    height: 250px !important;
  }
}