/* FarmHub — light, editorial video discovery layout */

:root {
  --fh-bg: #fdf8f0;
  --fh-bg-mid: #f9f1e4;
  --fh-bg-alt: #f5ebe0;
  --fh-surface: #fffdf9;
  --fh-surface-2: #faf3e8;
  --fh-panel: rgba(255, 252, 247, 0.92);
  --fh-panel-border: rgba(255, 255, 255, 0.85);
  --fh-line: rgba(80, 60, 40, 0.12);
  --fh-border: rgba(80, 60, 40, 0.1);
  --fh-border-strong: rgba(80, 60, 40, 0.18);
  --fh-text: #2c2419;
  --fh-text-soft: #5c5248;
  --fh-muted: #8a7f72;
  --fh-accent: #c48a1a;
  --fh-accent-hover: #a67010;
  --fh-accent-light: #e8b84a;
  --fh-accent-soft: rgba(196, 138, 26, 0.14);
  --fh-gold: #c48a1a;
  --fh-radius: 12px;
  --fh-radius-lg: 18px;
  --fh-shadow-sm: 0 2px 8px rgba(60, 45, 30, 0.06);
  --fh-shadow: 0 8px 32px rgba(60, 45, 30, 0.08);
  --fh-shadow-lg: 0 20px 48px rgba(60, 45, 30, 0.1);
  --fh-font: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --fh-font-display: "Fraunces", Georgia, "Times New Roman", serif;
}

body.template-farmhub,
body.template-globalsolutions.template-farmhub {
  background: linear-gradient(165deg, var(--fh-bg) 0%, var(--fh-bg-mid) 45%, #f7efe3 100%);
  background-attachment: fixed;
  color: var(--fh-text);
  font-family: var(--fh-font);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  overflow-x: hidden;
  max-width: 100%;
}

@media (max-width: 767px) {
  body.template-farmhub,
  body.template-globalsolutions.template-farmhub {
    background-attachment: scroll;
  }
}

body.template-farmhub h1,
body.template-farmhub h2,
body.template-farmhub h3,
body.template-globalsolutions.template-farmhub h1,
body.template-globalsolutions.template-farmhub h2,
body.template-globalsolutions.template-farmhub h3 {
  font-family: var(--fh-font-display);
  font-weight: 600;
  font-optical-sizing: auto;
}

/* ── Header ── */
.fh-header {
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--fh-border);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 900;
  box-shadow: var(--fh-shadow-sm);
}

/* FarmHub pages also have the main site navbar — keep it above this header on mobile */
@media (max-width: 767.98px) {
  body.template-farmhub .yl-site-nav.sticky-top {
    z-index: 1050 !important;
  }

  body.template-farmhub .fh-header {
    top: 3.5rem;
    z-index: 1040;
  }
}

.fh-header-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.fh-logo {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--fh-text);
  text-decoration: none;
  font-family: var(--fh-font-display);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.fh-search-form {
  flex: 1 1 12rem;
  min-width: 0;
  max-width: 480px;
  display: flex;
  gap: 0;
}

@media (max-width: 575px) {
  .fh-search-form {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .fh-header-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .fh-main {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

.fh-search-input {
  flex: 1;
  background: var(--fh-surface-2);
  border: 1px solid var(--fh-border);
  border-right: none;
  border-radius: var(--fh-radius) 0 0 var(--fh-radius);
  color: var(--fh-text);
  padding: 0.6rem 0.9rem;
  font-size: 0.92rem;
  font-family: inherit;
}

.fh-search-input::placeholder {
  color: var(--fh-muted);
}

.fh-search-input:focus {
  outline: 2px solid var(--fh-accent);
  outline-offset: 0;
  background: #fff;
}

.fh-search-btn {
  background: var(--fh-accent);
  color: #fff;
  border: none;
  border-radius: 0 var(--fh-radius) var(--fh-radius) 0;
  padding: 0.6rem 1.1rem;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: background 0.15s;
}

.fh-search-btn:hover {
  background: var(--fh-accent-hover);
}

.fh-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  width: 100%;
  font-size: 0.82rem;
  padding-top: 0.15rem;
}

.fh-cat-nav a {
  color: var(--fh-muted);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: color 0.15s, background 0.15s, border-color 0.15s;
}

.fh-cat-nav a:hover {
  color: var(--fh-accent-hover);
  background: var(--fh-accent-soft);
  border-color: rgba(196, 138, 26, 0.25);
}

/* ── Main layout ── */
.fh-main {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.25rem 3rem;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.fh-sections,
.fh-section-panel,
.fh-section-body,
.fh-hero-inner {
  min-width: 0;
  max-width: 100%;
}

/* ── Featured hero ── */
.fh-hero {
  padding: 1.75rem 0 0;
}

.fh-hero-inner {
  max-width: 1320px;
  margin: 0 auto;
}

.fh-hero-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--fh-surface);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--fh-shadow-lg);
  transition: box-shadow 0.25s, transform 0.25s;
}

.fh-hero-card:hover {
  box-shadow: 0 24px 56px rgba(60, 45, 30, 0.12);
  transform: translateY(-2px);
}

@media (min-width: 768px) {
  .fh-hero-card {
    grid-template-columns: 1.55fr 1fr;
  }
}

.fh-hero-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #2c2419;
  min-height: 200px;
  width: 100%;
  overflow: hidden;
}

.fh-hero-media img,
.fh-hero-media .fh-thumb-video,
.fh-hero-placeholder {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fh-hero-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(44, 36, 25, 0.12) 0%,
    rgba(44, 36, 25, 0.4) 100%
  );
  pointer-events: none;
}

.fh-hero-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 4.25rem;
  height: 4.25rem;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: none;
  transition: transform 0.2s, background 0.2s;
}

.fh-hero-card:hover .fh-hero-play {
  transform: scale(1.06);
  background: rgba(196, 138, 26, 0.55);
  border-color: #fff;
}

.fh-hero-play::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 11px solid transparent;
  border-left: 17px solid #fff;
}

.fh-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.75rem 1.75rem 1.85rem;
  background: linear-gradient(160deg, var(--fh-surface) 0%, var(--fh-surface-2) 100%);
  border-top: 1px solid var(--fh-border);
  container-type: inline-size;
  container-name: fh-hero-copy;
  min-width: 0;
}

@media (min-width: 768px) {
  .fh-hero-copy {
    border-top: none;
    border-left: 1px solid var(--fh-border);
    padding: 2rem 2.25rem;
  }
}

.fh-hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-bottom: 0.65rem;
}

.fh-hero-label {
  display: inline-block;
  color: #fff;
  background: linear-gradient(135deg, var(--fh-accent), var(--fh-accent-light));
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

.fh-hero-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--fh-accent-hover);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.fh-hero-title {
  font-family: var(--fh-font-display);
  font-size: clamp(1.55rem, 2.8vw, 2.25rem);
  font-weight: 600;
  font-style: normal;
  margin: 0 0 0.65rem;
  line-height: 1.12;
  color: var(--fh-text);
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}

.fh-hero-title--medium {
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.14;
}

.fh-hero-title--long {
  font-size: clamp(1.2rem, 2.1vw, 1.72rem);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.fh-hero-title--xl {
  font-size: clamp(1.08rem, 1.85vw, 1.48rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}

.fh-hero-desc {
  color: var(--fh-text-soft);
  margin: 0 0 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.fh-hero-meta {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin: 0 0 1.15rem;
  padding: 0;
  font-size: 0.82rem;
  color: var(--fh-muted);
}

.fh-hero-meta li:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--fh-border-strong);
}

.fh-hero-cta {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 0.35rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--fh-accent);
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: var(--fh-accent-soft);
  border: 1px solid rgba(196, 138, 26, 0.28);
  transition: background 0.15s, color 0.15s;
}

.fh-hero-card:hover .fh-hero-cta {
  background: var(--fh-accent);
  color: #fff;
}

.fh-hero-cta::after {
  content: "→";
  font-size: 1rem;
  line-height: 1;
}

/* ── Section panels & separators ── */
.fh-sections {
  padding: 2rem 0 2.75rem;
  display: flex;
  flex-direction: column;
}

/* Shared card shell — new (.fh-section-panel) and legacy (.fh-row) markup */
.fh-section-panel,
.fh-row,
.fh-section.fh-section--divider {
  background: var(--fh-panel);
  border: 1px solid var(--fh-panel-border);
  border-radius: var(--fh-radius-lg);
  padding: 1.65rem 1.5rem 1.75rem;
  margin: 0.75rem 0;
  box-shadow:
    0 1px 2px rgba(60, 45, 30, 0.03),
    0 6px 20px rgba(60, 45, 30, 0.045);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Line + gap between stacked section cards (when no <hr> separator in markup) */
.fh-section-panel + .fh-section-panel,
.fh-row + .fh-row,
.fh-section-panel + .fh-row,
.fh-row + .fh-section-panel,
.fh-section.fh-section--divider + .fh-section.fh-section--divider,
.fh-section.fh-section--divider + .fh-row,
.fh-row + .fh-section.fh-section--divider {
  margin-top: 3rem;
  position: relative;
}

.fh-section-panel + .fh-section-panel::before,
.fh-row + .fh-row::before,
.fh-section-panel + .fh-row::before,
.fh-row + .fh-section-panel::before,
.fh-section.fh-section--divider + .fh-section.fh-section--divider::before,
.fh-section.fh-section--divider + .fh-row::before,
.fh-row + .fh-section.fh-section--divider::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  left: 1.25rem;
  right: 1.25rem;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--fh-line) 12%,
    var(--fh-line) 88%,
    transparent 100%
  );
}

.fh-section-sep {
  border: 0;
  height: 1px;
  margin: 1.5rem 1.25rem;
  padding: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--fh-line) 12%,
    var(--fh-line) 88%,
    transparent 100%
  );
  flex-shrink: 0;
}

.fh-section-sep + .fh-section-panel,
.fh-section-sep + .fh-row,
.fh-section-sep + .fh-section.fh-section--divider {
  margin-top: 0.75rem;
}

.fh-section-panel + .fh-section-sep,
.fh-row + .fh-section-sep,
.fh-section.fh-section--divider + .fh-section-sep {
  margin-top: 0;
}

.fh-section-head,
.fh-row-head {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin-bottom: 1.35rem;
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--fh-line);
  position: relative;
}

.fh-section-head::before,
.fh-row-head::before {
  content: "";
  width: 3px;
  flex-shrink: 0;
  margin-right: 0.85rem;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--fh-accent) 0%, var(--fh-accent-light) 100%);
  opacity: 0.85;
}

/* Legacy row header: title only, no flex gold bar child */
.fh-row-head:not(.fh-section-head) {
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding-left: 1rem;
}

.fh-row-head:not(.fh-section-head)::before {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 1.1rem;
  width: 3px;
  margin-right: 0;
}

.fh-section-head-text {
  flex: 1;
  min-width: 0;
}

.fh-row-head.fh-section-head {
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.fh-section-eyebrow {
  margin: 0 0 0.3rem;
  font-family: var(--fh-font);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--fh-accent-hover);
}

.fh-section-title,
.fh-row-title {
  font-family: var(--fh-font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 600;
  margin: 0;
  color: var(--fh-text);
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-optical-sizing: auto;
}

.fh-row-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}

.fh-row-title a:hover {
  color: var(--fh-accent);
}

.fh-row-more {
  flex-shrink: 0;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--fh-muted);
  text-decoration: none;
  padding: 0.35rem 0;
  transition: color 0.15s;
}

.fh-row-more:hover {
  color: var(--fh-accent);
}

/* ── Video grid ── */
.fh-video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 1.35rem 1.15rem;
  width: 100%;
  min-width: 0;
}

@media (max-width: 639px) {
  .fh-video-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Few videos: expand cards to fill the row instead of hugging the left */
@media (min-width: 640px) {
  .fh-video-grid--few.fh-video-grid--n1 {
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;
  }

  .fh-video-grid--few.fh-video-grid--n2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fh-video-grid--few.fh-video-grid--n3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fh-video-grid--few.fh-video-grid--n4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .fh-video-grid--few.fh-video-grid--n1 {
    grid-template-columns: minmax(320px, 480px);
  }
}

.fh-video-card {
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
  container-type: inline-size;
  container-name: fh-video-card;
}

.fh-video-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  width: 100%;
  min-width: 0;
}

.fh-video-card-link .fh-video-card-copy {
  padding: 0.65rem 0.2rem 0.15rem;
  min-width: 0;
}

.fh-video-card:hover .fh-video-card-title {
  color: var(--fh-accent-hover);
}

.fh-video-card:hover .fh-video-card-meta {
  border-color: rgba(196, 138, 26, 0.28);
  background: var(--fh-surface-2);
}

.fh-video-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  min-width: 0;
  border-radius: var(--fh-radius);
  overflow: hidden;
  background: var(--fh-bg-alt);
  box-shadow: var(--fh-shadow-sm);
  border: 1px solid var(--fh-border);
  transition: box-shadow 0.2s, transform 0.2s;
}

.fh-video-card:hover .fh-video-card-thumb {
  box-shadow: var(--fh-shadow);
  transform: translateY(-2px);
}

/* Global site CSS sets img { max-width: 100% } — posters must scale up to fill the box */
.fh-video-card-thumb img,
.fh-video-card-thumb .fh-thumb-video {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border: 0;
  vertical-align: top;
}

.fh-thumb-video {
  background: #2c2419;
  pointer-events: none;
}

.fh-thumb-play-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background: rgba(44, 36, 25, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.2s, background 0.2s;
}

.fh-video-card:hover .fh-thumb-play-overlay {
  transform: translate(-50%, -50%) scale(1.06);
  background: rgba(44, 36, 25, 0.55);
}

.fh-thumb-play-overlay::after {
  content: "";
  position: absolute;
  left: 54%;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 7px solid transparent;
  border-left: 11px solid #fff;
}

.fh-video-card-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #f5ebe0, #ede0d0);
}

.fh-play-icon {
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 20px solid rgba(196, 138, 26, 0.65);
}

.fh-badge {
  position: absolute;
  z-index: 3;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.18rem 0.45rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}

.fh-badge-duration {
  bottom: 8px;
  right: 8px;
  background: rgba(44, 36, 25, 0.82);
  color: #fff;
}

.fh-badge-res {
  bottom: 8px;
  left: 8px;
  background: rgba(255, 253, 249, 0.94);
  color: var(--fh-accent-hover);
  border: 1px solid rgba(196, 138, 26, 0.3);
}

.fh-video-card-meta {
  flex: 1;
  margin-top: 0.35rem;
  padding: 0.55rem 0.7rem 0.65rem;
  background: rgba(255, 252, 247, 0.75);
  border: 1px solid var(--fh-line);
  border-radius: var(--fh-radius);
  transition: background 0.2s, border-color 0.2s;
}

.fh-video-card-title {
  font-family: var(--fh-font);
  font-size: 0.8125rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.35;
  color: var(--fh-text);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s;
  letter-spacing: -0.01em;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}

.fh-video-card-title--medium {
  font-size: clamp(0.72rem, 0.58rem + 0.78cqi, 0.8125rem);
  line-height: 1.36;
  -webkit-line-clamp: 3;
}

.fh-video-card-title--long {
  font-size: clamp(0.6875rem, 0.54rem + 0.72cqi, 0.78rem);
  line-height: 1.38;
  -webkit-line-clamp: 3;
}

.fh-video-card-title--xl {
  font-size: clamp(0.65rem, 0.5rem + 0.66cqi, 0.74rem);
  line-height: 1.4;
  -webkit-line-clamp: 3;
  letter-spacing: 0;
}

.fh-video-card-desc {
  font-family: var(--fh-font);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--fh-text-soft);
  margin: 0.35rem 0 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (min-width: 768px) {
  .fh-video-card-title {
    font-size: 0.875rem;
  }

  .fh-video-card-title--medium {
    font-size: clamp(0.75rem, 0.6rem + 0.75cqi, 0.8125rem);
  }

  .fh-video-card-title--long {
    font-size: clamp(0.71rem, 0.56rem + 0.7cqi, 0.79rem);
  }

  .fh-video-card-title--xl {
    font-size: clamp(0.68rem, 0.52rem + 0.65cqi, 0.75rem);
  }

  .fh-video-card-desc {
    font-size: 0.8125rem;
  }
}

.fh-video-card-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  font-family: var(--fh-font);
  font-size: 0.6875rem;
  font-weight: 500;
  color: var(--fh-muted);
  margin: 0 0 0.35rem;
  line-height: 1.4;
}

.fh-video-card-stat {
  display: inline-flex;
  align-items: center;
}

.fh-video-card-stat:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
  color: var(--fh-border-strong);
  font-weight: 400;
}

.fh-video-card-cat {
  color: var(--fh-accent-hover);
  font-weight: 600;
}

/* ── Horizontal scroll row (many videos) / grid (few videos) ── */
.fh-scroll-row {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.65rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--fh-border-strong) transparent;
  width: 100%;
  max-width: 100%;
  min-width: 0;
}

.fh-scroll-row .fh-video-card {
  flex: 0 0 min(260px, calc(100vw - 2.5rem));
  min-width: 0;
  scroll-snap-align: start;
}

/* Category rows with few clips: use full-width grid like Trending */
.fh-scroll-row--few {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  overflow: visible;
  padding-bottom: 0;
  scroll-snap-type: none;
}

.fh-scroll-row--few .fh-video-card {
  flex: unset;
  scroll-snap-align: unset;
}

@media (min-width: 640px) {
  .fh-scroll-row--few.fh-scroll-row--n1 {
    grid-template-columns: minmax(280px, 420px);
    justify-content: center;
  }

  .fh-scroll-row--few.fh-scroll-row--n2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fh-scroll-row--few.fh-scroll-row--n3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fh-scroll-row--few.fh-scroll-row--n4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

/* ── Creators ── */
.fh-creator-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.fh-creator-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--fh-text);
  min-width: 100px;
  padding: 0.75rem;
  border-radius: var(--fh-radius);
  transition: background 0.15s;
}

.fh-creator-card:hover {
  background: var(--fh-surface-2);
}

.fh-creator-card:hover .fh-creator-name {
  color: var(--fh-accent);
}

.fh-creator-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--fh-surface-2);
  border: 2px solid var(--fh-border);
  box-shadow: var(--fh-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.fh-creator-card:hover .fh-creator-avatar {
  border-color: var(--fh-accent);
  box-shadow: var(--fh-shadow);
}

.fh-creator-avatar--lg {
  width: 120px;
  height: 120px;
}

.fh-creator-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fh-creator-initial {
  font-family: var(--fh-font-display);
  font-size: 2rem;
  font-weight: 600;
  color: var(--fh-accent);
}

.fh-creator-name {
  font-family: var(--fh-font);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
  transition: color 0.15s;
  letter-spacing: -0.01em;
}

/* ── Video detail & inner pages ── */
.fh-video-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 992px) {
  .fh-video-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    grid-template-rows: auto auto auto;
    column-gap: 1.5rem;
    row-gap: 1rem;
  }

  .fh-video-player-wrap {
    grid-column: 1;
    grid-row: 1;
  }

  .fh-video-sidebar {
    grid-column: 2;
    grid-row: 1 / -1;
    align-self: start;
    position: sticky;
    top: 1rem;
    container-type: inline-size;
    container-name: fh-video-sidebar;
    min-width: 0;
  }

  .fh-video-under {
    grid-column: 1;
    grid-row: 2;
  }

  .fh-video-body {
    grid-column: 1;
    grid-row: 3;
  }
}

.fh-video-body {
  min-width: 0;
  max-width: 100%;
  padding-top: 0;
}

.fh-video-body .fh-video-desc {
  padding-top: 0.15rem;
}

.fh-video-body .fh-tags {
  margin-top: 1rem;
}

.fh-video-under {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1rem;
  padding-top: 0.15rem;
}

.fh-video-under .fh-engagement-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fh-muted);
}

.fh-video-under .fh-engagement-label {
  display: inline;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--fh-muted);
}

.fh-video-under__category {
  margin: 0;
}

.fh-video-player-wrap {
  align-self: start;
  width: 100%;
  max-width: 100%;
  border-radius: var(--fh-radius);
  overflow: hidden;
  box-shadow: var(--fh-shadow);
  border: 1px solid var(--fh-border);
  background: var(--fh-surface);
  line-height: 0;
}

@media (min-width: 992px) {
  .fh-video-player-wrap {
    width: fit-content;
  }
}

.fh-detail-video {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  max-height: min(72vh, 900px);
  vertical-align: top;
  background: #1a1612;
  object-fit: contain;
}

@media (min-width: 992px) {
  .fh-detail-video {
    width: auto;
  }
}

.fh-video-title {
  font-family: var(--fh-font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: var(--fh-text);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-optical-sizing: auto;
  text-wrap: balance;
  overflow-wrap: anywhere;
  min-width: 0;
  max-width: 100%;
}

.fh-video-title--medium {
  font-size: clamp(1.22rem, 2.1vw, 1.58rem);
  line-height: 1.18;
}

.fh-video-title--long {
  font-size: clamp(1.1rem, 1.85vw, 1.38rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.fh-video-title--xl {
  font-size: clamp(1rem, 1.65vw, 1.22rem);
  line-height: 1.22;
  letter-spacing: -0.015em;
}

@container fh-video-sidebar (max-width: 300px) {
  .fh-video-title--medium {
    font-size: clamp(1.05rem, 0.66rem + 2.2cqi, 1.32rem);
  }

  .fh-video-title--long {
    font-size: clamp(0.98rem, 0.6rem + 2cqi, 1.18rem);
  }

  .fh-video-title--xl {
    font-size: clamp(0.92rem, 0.56rem + 1.85cqi, 1.08rem);
  }
}

.fh-video-stats {
  color: var(--fh-muted);
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
}

.fh-video-creator-link {
  display: inline-block;
  color: var(--fh-accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-decoration: none;
}

.fh-video-creator-link:hover {
  color: var(--fh-accent-hover);
}

.fh-video-desc {
  color: var(--fh-text-soft);
  font-size: 0.92rem;
  line-height: 1.6;
  margin-top: 0;
  max-width: 72rem;
}

.fh-video-desc--richtext > :first-child {
  margin-top: 0;
}

.fh-video-desc--richtext img,
.fh-video-desc--richtext .richtext-image {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
  border-radius: 0.35rem;
}

.fh-video-desc--richtext .responsive-object {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1rem 0;
  overflow: hidden;
}

.fh-video-desc--richtext .responsive-object iframe,
.fh-video-desc--richtext .responsive-object object,
.fh-video-desc--richtext .responsive-object embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.fh-video-sidebar .fh-video-desc--lead {
  margin-top: 0.75rem;
}

.fh-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.75rem;
}

.fh-tag {
  display: inline-block;
  background: var(--fh-surface);
  border: 1px solid var(--fh-border);
  color: var(--fh-muted);
  font-size: 0.78rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.fh-tag:hover {
  color: var(--fh-accent-hover);
  border-color: rgba(196, 138, 26, 0.4);
  background: var(--fh-accent-soft);
}

.fh-back {
  display: inline-block;
  color: var(--fh-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  transition: color 0.15s;
}

.fh-back:hover {
  color: var(--fh-accent);
}

.fh-page-head h1 {
  font-family: var(--fh-font-display);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: var(--fh-text);
  letter-spacing: -0.025em;
  line-height: 1.12;
  font-optical-sizing: auto;
}

.fh-page-intro {
  color: var(--fh-muted);
  margin: 0 0 1.25rem;
  line-height: 1.5;
}

.fh-creator-profile-inner {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  margin-top: 0.5rem;
}

.fh-empty,
.fh-empty-inline {
  color: var(--fh-muted);
  text-align: center;
  padding: 3rem 1rem;
  background: var(--fh-surface);
  border-radius: var(--fh-radius-lg);
  border: 1px dashed var(--fh-border-strong);
  margin-top: 2rem;
}

.fh-related {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--fh-border);
}

.fh-similar-clips {
  margin-top: 2.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--fh-border);
  min-width: 0;
  max-width: 100%;
}

.fh-similar-clips__head {
  margin-bottom: 1.15rem;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.fh-similar-clips__head .fh-section-title {
  margin-bottom: 0;
}

.fh-similar-clips__hint {
  margin: 0;
  color: var(--fh-muted);
  font-size: 0.88rem;
  white-space: nowrap;
}

.fh-similar-clips__carousel-wrap {
  width: 100%;
  max-width: min(980px, 100%);
  margin: 0 auto;
  min-width: 0;
}

.fh-similar-clips__carousel {
  position: relative;
  background: var(--fh-surface);
  border: 1px solid var(--fh-border);
  border-radius: var(--fh-radius-lg);
  box-shadow: var(--fh-shadow);
  overflow: hidden;
}

.fh-similar-clips__viewport {
  position: relative;
}

.fh-similar-clips__track {
  position: relative;
  width: 100%;
  margin: 0;
  padding: 0;
}

.fh-similar-clips__slide {
  width: 100%;
}

.fh-similar-clips__slide[hidden] {
  display: none !important;
}

.fh-similar-clips__chrome {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  aspect-ratio: 16 / 9;
  pointer-events: none;
  z-index: 30;
}

.fh-similar-clips__chrome > * {
  pointer-events: auto;
}

.fh-similar-clip__figure {
  margin: 0;
}

.fh-similar-clip__media {
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #1a1612;
  overflow: hidden;
  position: relative;
}

.fh-similar-clip__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #1a1612;
}

.fh-similar-clip__photo {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #1a1612;
}

.fh-similar-clip__media--photo {
  background: #1a1612;
}

.fh-similar-clip__caption {
  margin: 0;
  padding: 0.85rem 1rem;
  text-align: center;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--fh-text);
  line-height: 1.4;
  background: var(--fh-surface);
  border-top: 1px solid var(--fh-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.fh-similar-clip__caption-title {
  display: block;
}

.fh-similar-clip__caption .fh-engagement {
  width: 100%;
  margin: 0;
  padding: 0.35rem 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  justify-content: center;
}

.fh-similar-clip__caption .fh-engagement--compact .fh-engagement-stats {
  justify-content: center;
}

.fh-similar-clip__caption .fh-engagement--compact .fh-engagement-actions {
  justify-content: center;
}

.fh-similar-clips__indicators {
  position: absolute;
  left: 50%;
  bottom: 0.85rem;
  transform: translateX(-50%);
  margin: 0;
  padding: 0.4rem 0.75rem;
  gap: 0.45rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  z-index: 31;
  border-radius: 999px;
  background: rgba(22, 18, 12, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(6px);
}

.fh-similar-clips__dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
  cursor: pointer;
  transition: width 0.22s ease, background-color 0.22s ease, transform 0.22s ease;
}

.fh-similar-clips__dot:hover {
  background: rgba(255, 255, 255, 0.72);
  transform: scale(1.08);
}

.fh-similar-clips__dot.is-active {
  width: 24px;
  background: linear-gradient(90deg, var(--fh-accent) 0%, var(--fh-accent-light) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.fh-similar-clips__control {
  position: absolute;
  width: 2.85rem;
  height: 2.85rem;
  top: 50%;
  transform: translateY(-50%);
  opacity: 1;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(22, 18, 12, 0.24);
  z-index: 32;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: var(--fh-text);
}

.fh-similar-clips__control--prev {
  left: 0.85rem;
}

.fh-similar-clips__control--next {
  right: 0.85rem;
}

.fh-similar-clips__control-icon {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
  color: var(--fh-text);
  font-weight: 700;
}

.fh-similar-clips__control:hover,
.fh-similar-clips__control:focus {
  background: #fff;
  box-shadow: 0 10px 28px rgba(22, 18, 12, 0.28);
}

.fh-similar-clip--single {
  max-width: min(980px, 100%);
  margin: 0 auto;
}

.fh-similar-clip__media--single {
  border-radius: var(--fh-radius-lg);
  overflow: hidden;
  border: 1px solid var(--fh-border);
  box-shadow: var(--fh-shadow);
}

.fh-similar-clip--single .fh-similar-clip__caption {
  border-top: none;
  padding-top: 0.65rem;
  background: transparent;
}

@media (max-width: 767px) {
  .fh-similar-clips__head {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .fh-similar-clips__hint {
    white-space: normal;
  }

  .fh-similar-clips__control {
    width: 2.5rem;
    height: 2.5rem;
  }

  .fh-similar-clips__control--prev {
    left: 0.45rem;
  }

  .fh-similar-clips__control--next {
    right: 0.45rem;
  }
}

/* ── Views, likes, share ── */
.fh-engagement {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 0.75rem;
  margin-top: 0.65rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--fh-line);
}

.fh-engagement--compact {
  margin-top: 0.55rem;
  padding-top: 0.55rem;
}

.fh-video-sidebar > .fh-engagement {
  margin-top: 0.35rem;
  padding-top: 0;
  border-top: none;
  margin-bottom: 0.5rem;
}

.fh-engagement-stats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.85rem;
}

.fh-engagement-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--fh-muted);
}

.fh-engagement-stat--likes {
  color: var(--fh-text-soft);
}

.fh-engagement-stat--shares {
  color: var(--fh-text-soft);
}

.fh-engagement-stat--page-views {
  color: var(--fh-text-soft);
}

.fh-engagement-label {
  display: none;
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--fh-muted);
}

.fh-video-sidebar > .fh-engagement .fh-engagement-label {
  display: inline;
}

.fh-engagement--compact .fh-engagement-label {
  display: none !important;
}

.fh-engagement-icon {
  display: inline-block;
  width: 0.95rem;
  height: 0.95rem;
  opacity: 0.75;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.fh-engagement-icon--views {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M8 5v14l11-7z'/%3E%3C/svg%3E");
}

.fh-engagement-icon--page-views {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z'/%3E%3Cpolyline points='14 2 14 8 20 8'/%3E%3Cline x1='16' y1='13' x2='8' y2='13'/%3E%3Cline x1='16' y1='17' x2='8' y2='17'/%3E%3C/svg%3E");
}

.fh-engagement-icon--likes {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-8.1C.5 9.5 1.57 5.5 5.1 4.4c2-.65 4.15.2 5.5 1.9 1.35-1.7 3.5-2.55 5.5-1.9 3.53 1.1 4.6 5.1 2.43 8.5C18.7 16.65 12 21 12 21Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-8.1C.5 9.5 1.57 5.5 5.1 4.4c2-.65 4.15.2 5.5 1.9 1.35-1.7 3.5-2.55 5.5-1.9 3.53 1.1 4.6 5.1 2.43 8.5C18.7 16.65 12 21 12 21Z'/%3E%3C/svg%3E");
}

.fh-engagement-icon--shares {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8'/%3E%3Cpolyline points='16 6 12 2 8 6'/%3E%3Cline x1='12' y1='2' x2='12' y2='15'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8'/%3E%3Cpolyline points='16 6 12 2 8 6'/%3E%3Cline x1='12' y1='2' x2='12' y2='15'/%3E%3C/svg%3E");
}

.fh-engagement-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.fh-like-btn,
.fh-share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-family: var(--fh-font);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.38rem 0.62rem;
  border-radius: 999px;
  border: 1px solid var(--fh-line);
  background: rgba(255, 252, 247, 0.9);
  color: var(--fh-text-soft);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.12s;
}

.fh-like-btn:hover,
.fh-share-btn:hover {
  border-color: rgba(196, 138, 26, 0.35);
  color: var(--fh-accent-hover);
  background: var(--fh-accent-soft);
}

.fh-like-btn:active,
.fh-share-btn:active {
  transform: scale(0.97);
}

.fh-like-btn.is-liked,
.fh-like-btn:disabled {
  border-color: rgba(196, 138, 26, 0.45);
  background: var(--fh-accent-soft);
  color: var(--fh-accent-hover);
  cursor: default;
}

.fh-like-btn-icon,
.fh-share-btn-icon {
  width: 0.85rem;
  height: 0.85rem;
  background: currentColor;
  mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  -webkit-mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
}

.fh-like-btn-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-8.1C.5 9.5 1.57 5.5 5.1 4.4c2-.65 4.15.2 5.5 1.9 1.35-1.7 3.5-2.55 5.5-1.9 3.53 1.1 4.6 5.1 2.43 8.5C18.7 16.65 12 21 12 21Z'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M12 21s-6.7-4.35-9.33-8.1C.5 9.5 1.57 5.5 5.1 4.4c2-.65 4.15.2 5.5 1.9 1.35-1.7 3.5-2.55 5.5-1.9 3.53 1.1 4.6 5.1 2.43 8.5C18.7 16.65 12 21 12 21Z'/%3E%3C/svg%3E");
}

.fh-share-btn-icon {
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12v7a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7'/%3E%3Cpath d='M16 6l-4-4-4 4'/%3E%3Cpath d='M12 2v14'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2'%3E%3Cpath d='M4 12v7a1 1 0 0 0 1 1h14a1 1 0 0 0 1-1v-7'/%3E%3Cpath d='M16 6l-4-4-4 4'/%3E%3Cpath d='M12 2v14'/%3E%3C/svg%3E");
}

.fh-engagement--compact .fh-like-btn-label,
.fh-engagement--compact .fh-share-btn-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fh-engagement--compact .fh-like-btn,
.fh-engagement--compact .fh-share-btn {
  padding: 0.4rem 0.45rem;
}

.fh-engagement--compact.fh-engagement--labeled .fh-like-btn-label,
.fh-engagement--compact.fh-engagement--labeled .fh-share-btn-label {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
  border: 0;
}

.fh-engagement--compact.fh-engagement--labeled .fh-like-btn,
.fh-engagement--compact.fh-engagement--labeled .fh-share-btn {
  padding: 0.38rem 0.62rem;
}

.fh-toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translateX(-50%) translateY(120%);
  z-index: 1200;
  background: rgba(44, 36, 25, 0.92);
  color: #fffdf9;
  font-family: var(--fh-font);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  box-shadow: var(--fh-shadow);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}

.fh-toast.is-visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}
