/* Figma list 3131:6429/15482 and detail 3131:11788/14832. */
.fv-layout {
  margin-top: 31px;
  margin-bottom: 48px;
  grid-template-columns: minmax(0, 913px) minmax(0, 395px);
}
.fv-main,
.fv-rail,
.fv-detail-rail {
  min-width: 0;
}
.fv-feature {
  position: relative;
  min-height: 260px;
}
.fv-feature::before {
  content: "";
  position: absolute;
  inset: 34px 0 0;
  border: 1px solid var(--fh-border);
  border-radius: 16px;
}
.fv-slide {
  position: relative;
  display: grid;
  grid-template-columns: 363px minmax(0, 1fr);
  gap: 16px;
  padding: 0 20px;
  align-items: center;
  min-height: 242px;
}
.fv-feature-image {
  position: relative;
  width: 363px;
  height: 242px;
  overflow: hidden;
  border-radius: 16px;
  background: #111;
}
.fv-feature-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fv-feature-play,
.fv-card-play,
.fv-tile-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.fv-feature-copy {
  align-self: start;
  padding-top: 44px;
}
.fv-date {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 22px;
}
.fv-feature h1 {
  font-size: 24px;
  line-height: 38px;
  font-weight: 700;
  margin-top: 12px;
}
.fv-feature-copy > p {
  font-size: 14px;
  line-height: 22px;
  margin-top: 12px;
}
.fv-carousel {
  position: absolute;
  bottom: 16px;
  left: calc((100% - 383px) / 2);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 20px;
  direction: ltr;
}
.fv-carousel > button {
  display: flex;
  align-items: center;
  justify-content: center;
}
.fv-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  height: 24px;
  min-width: 61px;
  padding: 0 8px;
  background: var(--fh-surface);
  border-radius: 20px;
  direction: rtl;
}
.fv-dots button {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--fh-text);
}
.fv-dots button[aria-pressed="true"] {
  background: var(--fh-primary);
  width: 8px;
  height: 8px;
}
.fv-catalog-section {
  margin-top: 28px;
}
.fv-catalog-heading {
  display: flex;
  align-items: center;
  gap: 32px;
  min-height: 32px;
}
.fv-sort {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 12px;
  line-height: 22px;
}
.fv-sort button {
  border: 1px solid var(--fh-muted);
  border-radius: 24px;
  padding: 3px 16px;
  white-space: nowrap;
}
.fv-sort button[aria-pressed="true"] {
  background: var(--fh-surface);
  border-color: var(--fh-surface);
}
.fv-catalog-section > .fn-news-grid {
  margin-top: 38px;
}
.fv-card {
  min-height: 112px;
}
.fv-card .category b,
.fv-tile .category b {
  color: var(--fh-primary);
}
.fv-card .card-image {
  position: relative;
}
.fv-card-play > .figma-icon {
  transform: scale(0.44);
}
.fv-rail > .fn-heading {
  justify-content: flex-start;
}
.fv-popular {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 14px;
}
.fv-popular .fn-card {
  min-height: 109px;
}
.fv-popular .card-copy {
  max-width: none;
}
.fv-rail .side-column {
  margin-top: 40px;
}
.fv-rail .paper-image {
  min-height: 242px;
}
.fv-rail .side-panel h2 {
  justify-content: flex-start;
}
.fv-detail .fv-layout {
  margin-top: 25px;
  min-height: 1188px;
}
.fv-detail .header-search {
  width: 444px;
}
.fv-detail .fv-main > .breaking {
  height: 46px;
  margin: 0 0 17px;
}
.fv-story-heading {
  display: grid;
  grid-template-columns: 364px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}
.fv-player {
  position: relative;
  width: 364px;
  height: 244px;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
}
.fv-player video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fv-player.playing video {
  object-fit: contain;
}
.fv-player > [data-video-play] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fv-story-copy {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 20px;
  min-width: 0;
}
.fv-story-copy h1 {
  font-size: 24px;
  line-height: 38px;
  font-weight: 700;
  overflow-wrap: anywhere;
}
.fv-standfirst {
  font-size: 14px;
  line-height: 22px;
}
.fv-story-copy [data-news-source] {
  margin-inline-start: auto;
}
.fv-story-body {
  font-size: 18px;
  line-height: 35px;
  margin-top: 20px;
  overflow-wrap: anywhere;
}
.fv-story-body p {
  margin: 0 0 8px;
}
.fv-story-body video,
.fv-story-body img {
  max-width: 100%;
  height: auto;
}
.fv-related {
  margin-top: 28px;
}
.fv-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 197px));
  justify-content: space-between;
  gap: 28px 16px;
  margin-top: 26px;
}
.fv-tile {
  min-width: 0;
}
.fv-tile-image {
  display: block;
  position: relative;
  width: 100%;
  height: 117px;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.fv-tile-image img,
.fv-tile-image video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fv-tile-play > .figma-icon {
  transform: scale(0.6);
}
.fv-tile h3 {
  font-size: 14px;
  line-height: 22px;
  font-weight: 600;
  margin-top: 8px;
  overflow-wrap: anywhere;
}
.fv-tile .category {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  line-height: 22px;
  margin-top: 4px;
}
.fv-tile .category:has(b:empty) > .figma-icon {
  display: none;
}
.fv-detail-rail .fv-selected {
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.fv-detail-rail .fv-tile {
  display: grid;
  grid-template-columns: 118.147px minmax(0, 1fr);
  gap: 8px;
}
.fv-detail-rail .fv-tile-image {
  height: 69.405px;
  border-radius: 8px;
}
.fv-detail-rail .fv-tile h3 {
  margin-top: 0;
  line-height: 22px;
}
.fv-detail-rail .fv-tile-play > .figma-icon {
  transform: scale(0.4);
}
.fv-detail-rail > .fn-ads {
  margin-top: 24px;
}
.fv-surface [data-video-status]:empty {
  display: none;
}
@media (max-width: 1300px) and (min-width: 1101px) {
  .fv-slide {
    grid-template-columns: minmax(0, 45%) minmax(0, 1fr);
  }
  .fv-feature-image {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
  }
  .fv-feature h1 {
    font-size: 20px;
    line-height: 30px;
  }
  .fv-story-heading {
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  }
  .fv-player {
    width: 100%;
    height: auto;
    aspect-ratio: 3/2;
  }
  .fv-tiles {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .fv-catalog .fv-layout {
    margin-top: 42px;
    display: block;
    margin-bottom: 24px;
  }
  .fv-rail,
  .fv-detail-rail,
  .fv-surface .fh-footer {
    display: none;
  }
  .fv-feature {
    min-height: 360px;
  }
  .fv-feature::before {
    inset: 20px 0 0;
  }
  .fv-slide {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    min-height: 0;
  }
  .fv-feature-image {
    width: calc(100% - 24px);
    height: auto;
    aspect-ratio: 3/2;
  }
  .fv-feature-copy {
    padding: 26px 10px 7px;
    align-self: stretch;
  }
  .fv-feature h1 {
    font-size: 18px;
    line-height: 28px;
    margin-top: 0;
  }
  .fv-feature-copy > p {
    font-size: 14px;
    line-height: 22px;
    margin-top: 8px;
  }
  .fv-feature .fv-date {
    position: absolute;
    top: 10px;
    right: 22px;
    background: #ffffff33;
    color: #fff;
    border-radius: 24px;
    padding: 2px 8px;
    font-size: 11px;
    line-height: 20px;
  }
  .fv-carousel {
    top: 190px;
    bottom: auto;
    left: 50%;
    transform: translateX(-50%);
    gap: 0;
  }
  .fv-carousel > button {
    display: none;
  }
  .fv-catalog-section {
    margin-top: 48px;
  }
  .fv-catalog-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .fv-sort {
    gap: 12px;
    align-self: flex-start;
  }
  .fv-sort button {
    padding: 4px 12px;
    min-height: 32px;
  }
  .fv-catalog-section > .fn-news-grid {
    margin-top: 16px;
  }
  .fv-card {
    height: 146.124px;
    min-height: 0;
  }
  .fv-card .fv-card-play > .figma-icon {
    transform: scale(0.5);
  }
  .fv-catalog-section > .fn-inline-ads {
    margin-top: 16px;
  }
  .fv-detail .fv-layout {
    margin-top: 61px;
    min-height: 0;
    margin-bottom: 48px;
    display: block;
  }
  .fv-detail .fv-main > .breaking {
    display: none;
  }
  .fv-story-heading {
    display: flex;
    flex-direction: column;
    gap: 0;
  }
  .fv-player {
    width: calc(100% - 1px);
    height: auto;
    aspect-ratio: 3/2;
    align-self: flex-start;
  }
  .fv-story-copy {
    width: 100%;
    padding-bottom: 0;
    gap: 8px;
  }
  .fv-story-copy h1 {
    order: 1;
    font-size: 18px;
    line-height: 28px;
    margin-top: 4px;
  }
  .fv-story-copy .fv-date {
    order: 2;
    font-size: 14px;
    line-height: 22px;
  }
  .fv-story-copy .fv-standfirst {
    order: 3;
    font-size: 14px;
    line-height: 22px;
  }
  .fv-story-body {
    font-size: 14px;
    line-height: 24px;
    margin-top: 8px;
  }
  .fv-detail .fn-keywords {
    padding: 0;
  }
  .fv-related {
    margin-top: 44px;
  }
  .fv-tiles {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 20px;
  }
  .fv-tile {
    display: grid;
    grid-template-columns: 118.147px minmax(0, 1fr);
    gap: 8px;
    min-height: 88px;
  }
  .fv-tile-image {
    height: 69.405px;
    border-radius: 8px;
  }
  .fv-tile h3 {
    font-weight: 400;
    margin: 0;
    min-height: 66px;
    line-height: 22px;
  }
  .fv-tile .category {
    margin-top: 0;
    font-size: 12px;
    line-height: 22px;
  }
  .fv-tile-play > .figma-icon {
    transform: scale(0.4);
  }
}
/* Orient the existing triangle to the right and match each visible Figma play slot.
   SVG root dimensions stay intrinsic; only its enclosing layer is transformed. */
.fv-feature-play > .figma-icon {
  transform: translateX(-3px) rotate(180deg) scale(2.2);
}
.fv-player > [data-video-play] > .figma-icon {
  transform: translateX(-3px) rotate(180deg) scale(2.1);
}
.fv-card-play > .figma-icon {
  transform: rotate(180deg) scale(0.8);
}
.fv-tile-play > .figma-icon {
  transform: rotate(180deg) scale(1.1);
}
.fv-detail-rail .fv-tile-play > .figma-icon {
  transform: rotate(180deg) scale(0.75);
}
.fv-story {
  direction: rtl;
}
.fv-story-copy h1 {
  text-align: right;
}
.fv-rail .market-values > .editorial-empty {
  font-size: 12px;
  line-height: 22px;
  color: var(--fh-muted);
}
@media (max-width: 1100px) {
  .fv-player > [data-video-play] > .figma-icon {
    transform: translateX(-2px) rotate(180deg) scale(1.94);
  }
  .fv-card .fv-card-play > .figma-icon {
    transform: rotate(180deg) scale(0.9);
  }
  .fv-tile-play > .figma-icon {
    transform: rotate(180deg) scale(0.75);
  }
}
.fv-popular .card-stats {
  display: none;
}
.fv-card .category:has(b:empty) > .figma-icon {
  display: none;
}
@media (max-width:1100px) {
 .fv-feature .fv-date > .figma-icon {filter:brightness(0) invert(1)}
}
@media (min-width: 1101px) and (max-width: 1300px) {
  .fv-layout {
    grid-template-columns: minmax(0, 1fr) 300px;
  }
  .fv-detail .header-search {
    width: 240px;
  }
  .fv-sort {
    gap: 8px;
  }
  .fv-catalog-heading {
    gap: 12px;
  }
}
/* Photo dimensions must not stretch the SVG play layer nested in its anchor. */
.fv-card .card-image .fv-card-play img {
  width: auto;
  height: auto;
  border-radius: 0;
  object-fit: initial;
}
.fv-detail .fh-footer {margin-top:0}
.fv-carousel {gap:16px}
.fv-carousel [data-feature-step="-1"]>.figma-icon {transform:scaleX(-1)}

/* Video frames use the original 32px coverage icon, including on mobile. */
@media (max-width: 1100px) {
  .fv-catalog-heading > .fn-heading,
  .fv-related > .fn-heading {
    margin-inline-start: -8px;
  }
  .fv-feature {
    min-height: max(360px, calc(min(100vw - 56px, 476px) * 2 / 3 + 157.333px));
  }
  .fv-carousel {
    top: calc(min(100vw - 56px, 476px) * 2 / 3 - 12px);
  }
  .fv-card .card-copy h3 {
    align-self: start;
  }
}

.fv-surface .fn-heading {height:25px}
