@font-face {
  font-family: YekanBakh;
  src: url("figma-home/YekanBakh-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: YekanBakh;
  src: url("figma-home/YekanBakh-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
:root {
  --fh-primary: #d10208;
  --fh-text: #0c0c0c;
  --fh-surface: #f1f1f1;
  --fh-border: #e7e7e7;
  --fh-muted: #7e7e7e;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #fff;
  color: var(--fh-text);
  font:
    600 14px/1.58 YekanBakh,
    sans-serif;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid var(--fh-primary);
  outline-offset: 4px;
}
img {
  display: block;
}
p,
h1,
h2,
h3 {
  margin: 0;
  font: inherit;
}
button[hidden],
[hidden] {
  display: none !important;
}
.shell {
  width: calc(100% - 114px);
  max-width: 1326px;
  margin-inline: auto;
}
.figma-icon {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  line-height: 0;
}
.figma-icon img {
  max-width: none;
}
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: white;
  padding: 8px;
  z-index: 10;
}
.skip-link:focus {
  top: 8px;
}
.fh-header {
  background: var(--fh-surface);
  border-radius: 0 0 32px 32px;
  padding: 32px 32px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  height: 103px;
}
.brand {
  display: flex;
  flex-direction: column;
  gap: 5.558px;
  align-items: center;
  flex: none;
}
.fh-header nav {
  display: flex;
  gap: 24px;
  align-items: center;
  white-space: nowrap;
}
.fh-header nav a {
  display: flex;
  align-items: center;
}
.fh-header nav .figma-icon {
  transform: rotate(90deg);
}
.header-search {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 40px;
  padding: 8px 16px;
  width: 390px;
  height: 47px;
  flex: none;
  gap: 12px;
}
.header-search input {
  border: 0;
  background: none;
  width: 100%;
  min-width: 0;
  text-align: right;
  font-size: 14px;
  outline: none;
}
.header-search input::placeholder {
  color: var(--fh-muted);
}
.app-button {
  display: flex;
  align-items: center;
  gap: 2.429px;
  flex-direction: row;
  background: var(--fh-primary);
  color: white;
  border-radius: 51px;
  padding: 0 19.429px;
  height: 47px;
  font-size: 18.76px;
  white-space: nowrap;
}
.mobile-brand,
.mobile-menu,
.mobile-search,
.mobile-only {
  display: none;
}
.fh-layout {
  display: grid;
  grid-template-columns: minmax(0, 913px) minmax(0, 395px);
  gap: 19px;
  margin-top: 25px;
  min-height: 1474px;
}
.main-column,
.side-column {
  min-width: 0;
}
.breaking {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--fh-primary);
  color: white;
  border-radius: 32px;
  padding: 8px;
  height: 46px;
  overflow: hidden;
  white-space: nowrap;
}
.breaking strong {
  display: flex;
  align-items: center;
  gap: 3px;
  background: white;
  border-radius: 24px;
  padding: 4px 11px;
  font: inherit;
  color: var(--fh-primary);
  order: 0;
  flex: none;
}
.breaking p {
  flex: none;
}
.breaking-extra {
  display: flex;
  gap: 8px;
  align-items: center;
}
.occasion {
  display: block;
  position: relative;
  margin-top: 25px;
  height: 46px;
  border-radius: 32px;
  overflow: hidden;
}
.occasion > picture,
.occasion > picture > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.occasion > span {
  position: absolute;
  left: 13px;
  top: 13px;
  display: flex;
  width: 20px;
  height: 20px;
  align-items: center;
  justify-content: center;
  background: #ffffff4d;
  border-radius: 50%;
  box-shadow: 0 4px 8px #0000001f;
}
.lead {
  margin-top: 35px;
  position: relative;
  display: grid;
  grid-template-columns: 364px minmax(0, 499px);
  gap: 16px;
  padding: 0 19px 18px 15px;
  min-height: 261px;
  align-items: start;
}
.lead-frame {
  position: absolute;
  inset: 33px 0 0;
  border: 1px solid var(--fh-border);
  border-radius: 16px;
  z-index: -1;
}
.lead-image {
  display: block;
  grid-column: 1;
  grid-row: 1;
}
.lead-image img {
  width: 100%;
  height: 243px;
  object-fit: cover;
  border-radius: 16px;
}
.lead-copy {
  grid-column: 2;
  grid-row: 1;
  padding-top: 47px;
  text-align: right;
}
.lead-date {
  display: flex;
  gap: 9px;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 8px;
}
.lead h1 {
  font-size: 24px;
  line-height: 1.55;
  margin-bottom: 8px;
}
.lead-copy > p {
  font-size: 14px;
  line-height: 1.58;
}
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  direction: rtl;
}
.carousel-controls button {
  display: flex;
}
.lead-pagination {
  position: absolute;
  bottom: 18px;
  left: 192px;
}
.selected {
  margin-top: 37px;
}
.section-bar {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 32px;
  margin-bottom: 24px;
}
.section-bar h2,
.side-panel h2 {
  display: flex;
  gap: 4px;
  align-items: center;
  color: var(--fh-primary);
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}
.news-tabs {
  display: flex;
  align-items: center;
  gap: 24px;
}
.news-tabs button {
  border: 1px solid var(--fh-muted);
  border-radius: 48px;
  padding: 4px 16px;
  height: 32px;
  white-space: nowrap;
}
.news-tabs button[aria-pressed="true"] {
  background: var(--fh-surface);
  border-color: transparent;
}
.see-all {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-inline-start: auto;
  white-space: nowrap;
}
.news-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.news-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--fh-surface);
  padding: 12px;
  border-radius: 16px;
  min-width: 0;
  height: 128.124px;
}
.card-image {
  flex: none;
}
.card-image img {
  border-radius: 12px;
  width: 80px;
  height: 80px;
  object-fit: cover;
}
.card-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  min-width: 0;
  height: 100%;
}
.card-copy h3 {
  font-size: 14px;
  line-height: 22px;
}
.card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.category {
  font-size: 12px;
  white-space: nowrap;
  display: flex;
  gap: 6px;
  align-items: center;
}
.category b {
  font-weight: 600;
  color: var(--fh-primary);
}
.card-stats {
  display: flex;
  align-items: center;
  gap: 11.124px;
  direction: ltr;
}
.card-stats > span {
  display: flex;
  gap: 3.476px;
  align-items: center;
  font-size: 6.952px;
  direction: ltr;
}
.videos {
  margin-top: 32px;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 197px);
  justify-content: space-between;
  gap: 16px;
}
.video-image {
  display: block;
  position: relative;
  width: 100%;
}
.video-image > picture:not(.figma-icon) > img {
  width: 100%;
  height: 115.726px;
  object-fit: cover;
  border-radius: 10.601px;
}
.video-image > .figma-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.video-card h3 {
  margin-top: 8px;
  font-size: 14px;
  line-height: 22px;
}
.video-card .category {
  margin-top: 4px;
}
.videos > .carousel-controls {
  margin-top: 24px;
}
.side-column {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.side-panel {
  border: 1px solid var(--fh-border);
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.side-panel h2 {
  gap: 8px;
}
.paper-meta,
.market-date {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.paper-meta time {
  display: flex;
  align-items: center;
  font-size: 10px;
  direction: ltr;
}
.paper-image {
  display: block;
  width: 100%;
  height: 228px;
  overflow: hidden;
  border: 1px solid var(--fh-border);
  border-radius: 8px;
}
.paper-image img {
  width: 100%;
  height: 106.07%;
  object-fit: fill;
  transform: translateY(-0.09%);
}
.market-date {
  font-size: 12px;
}
.market-date time {
  display: flex;
  align-items: center;
  gap: 2px;
  direction: ltr;
}
.market-tabs {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 2px;
  background: var(--fh-surface);
  padding: 8px;
  border-radius: 8px;
}
.market-tabs button {
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--fh-muted);
  font-size: 12px;
  line-height: 19px;
}
.market-tabs button[aria-pressed="true"] {
  background: var(--fh-primary);
  color: white;
}
.market-values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.market-values > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border: 1px solid var(--fh-border);
  border-radius: 16px;
  text-align: center;
  min-width: 0;
  font-size: 12px;
}
.market-values p {
  color: var(--fh-primary);
  font-size: 24px;
  white-space: nowrap;
}
.market-values small {
  font-size: 10px;
  color: var(--fh-muted);
}
.price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  line-height: 19px;
  text-align: right;
}
.price-table th {
  font-weight: 600;
  background: var(--fh-surface);
  height: 35px;
}
.price-table th:first-child {
  border-radius: 0 8px 8px 0;
}
.price-table th:last-child {
  border-radius: 8px 0 0 8px;
}
.price-table td {
  height: 43px;
  border-bottom: 1px solid var(--fh-border);
  white-space: nowrap;
}
.price-table td:last-child {
  padding-inline-start: 8px;
}
.price-table tr:last-child td {
  border: 0;
}
.price-table small {
  font-size: 10px;
  color: var(--fh-muted);
}
.adverts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.adverts > img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 16px;
}
.fh-footer {
  margin-top: 85px;
  background: var(--fh-surface);
  height: 143px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 26px;
}
.fh-footer nav {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  white-space: nowrap;
}
.fh-footer address {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  font-style: normal;
}
.fh-footer address span {
  margin-inline-start: 18px;
}
.fh-footer address b {
  color: var(--fh-primary);
  font-weight: 600;
}
.footer-social {
  width: 180px;
  text-align: center;
  margin-inline-end: 105px;
  flex: none;
}
.footer-social > div {
  display: flex;
  align-items: center;
  gap: 22px;
  direction: ltr;
}
.footer-social small {
  font-size: 12px;
  display: block;
  margin-top: 19px;
}
.detail-dialog {
  width: min(640px, calc(100% - 32px));
  border: 1px solid var(--fh-border);
  border-radius: 16px;
  padding: 24px;
}
.detail-dialog::backdrop {
  background: #0008;
}
.dialog-close {
  font-size: 28px;
  position: absolute;
  top: 8px;
  left: 16px;
}
.dialog-content {
  padding-top: 20px;
}
.dialog-content img {
  max-width: 100%;
  height: auto;
  margin: 16px auto;
}
.dialog-content h2 {
  font-size: 24px;
}
.search-status {
  margin-top: 12px;
}
.price-table[hidden] + .market-status {
  padding: 24px 0;
}
@media (min-width: 1101px) and (max-width: 1300px) {
  .shell {
    width: calc(100% - 48px);
  }
  .fh-header {
    gap: 12px;
    padding-inline: 24px;
  }
  .fh-header nav {
    gap: 14px;
  }
  .header-search {
    width: 240px;
  }
  .app-button {
    font-size: 15px;
    padding-inline: 12px;
  }
  .fh-layout {
    grid-template-columns: minmax(0, 2.3fr) minmax(300px, 1fr);
  }
  .lead {
    grid-template-columns: minmax(0, 40%) minmax(0, 1fr);
  }
  .lead h1 {
    font-size: 21px;
  }
  .news-tabs {
    gap: 8px;
  }
  .section-bar {
    gap: 14px;
  }
  .news-tabs button {
    padding-inline: 10px;
  }
  .video-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .card-stats {
    gap: 3px;
  }
  .footer-social {
    margin-inline-end: 0;
  }
  .fh-footer address {
    font-size: 10px;
  }
  .footer-inner {
    gap: 14px;
  }
}
@media (max-width: 1100px) {
  body {
    font-size: 14px;
  }
  .shell {
    width: calc(100% - 32px);
    max-width: 500px;
  }
  .fh-header {
    height: 68.174px;
    padding: 24px 32px 16px;
    position: relative;
  }
  .desktop-brand,
  .app-button,
  .fh-header nav,
  .header-search {
    display: none;
  }
  .mobile-brand,
  .mobile-menu,
  .mobile-search {
    display: flex;
  }
  .mobile-brand {
    gap: 3.617px;
    order: 2;
  }
  .mobile-menu {
    order: 1;
  }
  .mobile-search {
    order: 3;
  }
  .fh-header nav.open {
    display: flex;
    position: absolute;
    right: 0;
    left: 0;
    top: 76px;
    z-index: 20;
    background: var(--fh-surface);
    padding: 24px;
    flex-direction: column;
    border-radius: 16px;
  }
  .header-search.open {
    display: flex;
    position: absolute;
    right: 0;
    top: 76px;
    z-index: 21;
    width: 100%;
    box-shadow: 0 2px 12px #0002;
  }
  .fh-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 36.826px;
    min-height: 0;
  }
  .breaking {
    position: relative;
    overflow: visible;
    border-radius: 13px;
    height: 43px;
    padding: 16px 24px 5px;
  }
  .breaking strong {
    position: absolute;
    right: 13.13px;
    top: -10.25px;
    font-size: 9.917px;
    border: 0.708px solid var(--fh-primary);
    padding: 2.833px 7.792px;
    gap: 2.125px;
  }
  .breaking p {
    overflow: hidden;
    white-space: nowrap;
    font-size: 14px;
    direction: rtl;
  }
  .breaking-extra {
    display: none;
  }
  .occasion {
    height: 43px;
    border-radius: 13px;
    margin-top: 18px;
  }
  .occasion > span {
    left: 13px;
    top: 12px;
  }
  .lead {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    padding: 0 13px 0;
    gap: 24px;
    min-height: 382px;
    align-items: stretch;
  }
  .lead-frame {
    inset: 19px 0 0;
  }
  .lead-image img {
    height: 202px;
    aspect-ratio: 303/202;
    object-fit: cover;
  }
  .lead-copy {
    padding: 0;
  }
  .lead-date {
    position: absolute;
    right: 22px;
    top: 10px;
    font-size: 10.935px;
    color: white;
    background: #ffffff1a;
    padding: 4px 8px;
    border-radius: 32px;
    gap: 7.03px;
  }
  .lead h1 {
    font-size: 18px;
    line-height: 28px;
    margin-bottom: 8px;
  }
  .lead-copy > p {
    font-size: 14px;
    line-height: 22px;
  }
  .lead-pagination {
    left: 50%;
    bottom: auto;
    top: 190px;
    transform: translateX(-50%);
    width: 61px;
  }
  .lead-pagination > button {
    display: none;
  }
  .selected {
    margin-top: 18px;
    margin-inline: -8px;
  }
  .section-bar {
    height: auto;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
    justify-content: space-between;
  }
  .section-bar h2 {
    font-size: 14px;
    gap: 4px;
  }
  .news-tabs {
    order: 3;
    gap: 13px;
    width: 100%;
    justify-content: flex-start;
  }
  .news-tabs button {
    font-size: 12px;
    padding: 4px 16px;
    height: 32px;
  }
  .news-tabs .mobile-only {
    display: block;
  }
  .see-all {
    margin: 0;
    font-size: 12px;
    gap: 5px;
  }
  .news-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-card {
    height: 146.124px;
    flex-direction: row;
    gap: 12px;
    padding: 12px;
  }
  .news-card .card-copy {
    height: 100%;
  }
  .news-card .card-image {
    align-self: flex-start;
  }
  .news-card .card-image img {
    width: 80px;
    height: 80px;
  }
  .card-copy h3 {
    font-size: 14px;
    line-height: 22px;
  }
  .card-meta {
    position: relative;
    margin-right: -92px;
  }
  .card-stats {
    gap: 11.124px;
  }
  .desktop-only-card {
    display: none;
  }
  .selected.show-all .desktop-only-card {
    display: flex;
  }
  .videos {
    margin-top: 18px;
    margin-inline: -8px;
  }
  .videos .section-bar {
    margin-bottom: 16px;
  }
  .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .video-card:nth-child(n + 3) {
    display: none;
  }
  .videos.show-all .video-card {
    display: block;
  }
  .video-image > picture:not(.figma-icon) > img {
    height: 96px;
    border-radius: 8px;
  }
  .video-card h3 {
    font-size: 12px;
    line-height: 19px;
  }
  .video-card .category {
    font-size: 10px;
  }
  .videos > .carousel-controls {
    margin-top: 16px;
  }
  .side-column {
    gap: 18px;
  }
  .side-panel {
    padding: 13.286px;
    gap: 13.286px;
    border-radius: 13.286px;
  }
  .side-panel h2 {
    font-size: 13.286px;
    gap: 6.643px;
  }
  .paper-meta {
    font-size: 11.625px;
  }
  .paper-meta time {
    font-size: 8.304px;
  }
  .paper-image {
    height: 189.327px;
    border-radius: 6.643px;
  }
  .newspaper > .carousel-controls > button {
    display: none;
  }
  .newspaper > .carousel-controls {
    height: 19.929px;
  }
  .market-date {
    font-size: 9.965px;
  }
  .market-tabs {
    padding: 6.643px;
    gap: 0;
  }
  .market-tabs button {
    width: 39.858px;
    height: 39.858px;
    font-size: 9.965px;
    line-height: 15.778px;
  }
  .market-values {
    gap: 13.286px;
  }
  .market-values > div {
    padding: 13.286px;
    font-size: 9.965px;
    gap: 3.322px;
    border-radius: 13.286px;
  }
  .market-values p {
    font-size: 19.929px;
  }
  .market-values small {
    font-size: 8.304px;
  }
  .price-table {
    font-size: 9.965px;
    line-height: 15.778px;
  }
  .price-table th {
    height: 29.062px;
  }
  .price-table td {
    height: 35.707px;
  }
  .price-table small {
    font-size: 8.304px;
  }
  .adverts {
    gap: 13.286px;
  }
  .adverts > img {
    height: 116.253px;
    border-radius: 13.286px;
  }
  .fh-footer {
    height: 343px;
    margin-top: 18px;
  }
  .footer-inner {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 30px;
    padding-top: 50px;
  }
  .footer-brand {
    order: 0;
  }
  .fh-footer nav {
    order: 2;
    font-size: 12px;
  }
  .fh-footer address {
    order: 3;
    gap: 8px;
    font-size: 12px;
  }
  .fh-footer address p {
    display: flex;
    gap: 3px;
    justify-content: center;
    flex-wrap: wrap;
  }
  .fh-footer address span {
    display: block;
    width: 100%;
    margin: 0;
  }
  .footer-social {
    order: 1;
    width: auto;
    margin: 0;
  }
  .footer-social .enamad,
  .footer-social small {
    display: none;
  }
  .footer-social > div {
    display: flex;
    gap: 22px;
  }
  .fh-footer .footer-inner {
    gap: 24px;
  }
  .category {
    font-size: 10px;
  }
  .price-table td:last-child {
    padding-inline-start: 3px;
  }
}
/* Match each source image slot; wide thumbnails are distinct from square ones. */
.wide-card .card-image img {
  width: 177px;
  height: 104px;
}
.lead-date time {
  direction: ltr;
  unicode-bidi: isolate;
}
.lead h1 {
  line-height: 37px;
}
.carousel-controls button:last-child .figma-icon,
.occasion > span > .figma-icon {
  transform: scaleX(-1);
}
.paper-meta time {
  flex-direction: row-reverse;
}
.market-date time {
  flex-direction: row-reverse;
}
.side-panel {
  line-height: normal;
}
.mobile-social {
  display: none;
}
.price-table th:last-child {
  position: relative;
}
@media (max-width: 1100px) {
  .wide-card .card-image img {
    width: 80px;
    height: 80px;
  }
  .desktop-break {
    display: none;
  }
  .lead h1 {
    line-height: 28px;
  }
  .desktop-social {
    display: none;
  }
  .mobile-social {
    display: flex;
    gap: 22px;
  }
}
@font-face {
  font-family: YekanBakh;
  src: url("figma-home/YekanBakh-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
.price-table th:last-child > .figma-icon {
  position: absolute;
  left: 9px;
  top: 9px;
  transform: rotate(-90deg);
}
.price-table td:last-child {
  position: relative;
  padding-inline-end: 18px;
}
.price-up,
.price-down {
  position: absolute;
  left: 5px;
  top: 50%;
  display: flex;
  transform: translateY(-50%);
}
.price-up > .figma-icon {
  transform: rotate(180deg);
}
@media (max-width: 1100px) {
  .breaking p {
    flex: 1;
    min-width: 0;
  }
  .news-tabs {
    overflow: hidden;
  }
  .video-grid {
    display: flex;
    gap: 14px;
    overflow: hidden;
    justify-content: flex-start;
  }
  .video-card {
    width: 197px;
    flex: none;
  }
  .video-image > picture:not(.figma-icon) > img {
    height: 115.726px;
    border-radius: 10.601px;
  }
  .video-card h3 {
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
  }
  .video-card .category {
    font-size: 12px;
  }
  .videos.show-all .video-grid {
    flex-wrap: wrap;
  }
  .price-table th:last-child > .figma-icon {
    left: 7px;
    top: 7px;
  }
  .card-copy {
    flex: none;
    width: calc(100% - 92px);
  }
  .card-meta {
    margin-right: -92px;
    width: calc(100% + 92px);
  }
}
@media (max-width: 1100px) {
  .selected .section-bar {
    height: 72px;
  }
  .section-bar h2,
  .section-bar > .see-all {
    height: 32px;
  }
  .news-grid {
    margin-inline: 8px;
  }
  .videos {
    margin-inline: 0;
  }
  .videos .section-bar {
    margin-bottom: 18px;
    height: 32px;
    flex-wrap: nowrap;
  }
  .videos > .carousel-controls {
    margin-top: 18px;
  }
  .video-card h3 {
    min-height: 66px;
  }
  .video-card .category {
    line-height: 19px;
  }
  .fh-footer {
    margin-top: 65.187px;
  }
  .footer-social .mobile-social {
    width: 276.198px;
    justify-content: space-between;
  }
  .fh-footer .footer-inner {
    gap: 30px;
  }
  .fh-footer address p {
    display: block;
    line-height: 19px;
  }
  .fh-footer address {
    gap: 8px;
  }
  .fh-footer address span {
    margin-top: 8px;
  }
  .fh-footer address {
    width: 276.198px;
  }
}

/* Figma's strokes sit inside the frame without reducing its layout box. */
.side-panel {
  border: 0;
  box-shadow: inset 0 0 0 1px var(--fh-border);
}
.side-panel h2 {
  height: 25px;
}
.paper-meta {
  height: 22px;
}
.market-values > div {
  height: 92px;
}
.price-table {
  height: 328px;
}
.price-table td {
  height: auto;
}
.price-table th {
  height: 51px;
  background: linear-gradient(
    to bottom,
    var(--fh-surface) 35px,
    transparent 35px
  );
}
@media (max-width: 1100px) {
  .side-panel h2 {
    height: 21px;
  }
  .paper-meta {
    height: 18px;
  }
  .market-values > div {
    height: 75.938px;
  }
  .price-table {
    height: 272.77px;
  }
  .price-table th {
    height: 42.412px;
    background: linear-gradient(
      to bottom,
      var(--fh-surface) 29.107px,
      transparent 29.107px
    );
  }
  .price-table td {
    height: auto;
  }
  .adverts {
    height: 248.506px;
  }
  .adverts > img {
    height: 116.253px;
    flex: none;
  }
  .adverts {
    justify-content: space-between;
  }
  .fh-footer {
    margin-top: 65.187px;
  }
}
@media (min-width: 1301px) {
  .footer-inner {
    display: grid;
    grid-template-columns: 107px 180px 137px 395px 100px 255px 26px 126px;
    gap: 0;
    direction: ltr;
  }
  .footer-brand {
    grid-column: 8;
    grid-row: 1;
  }
  .fh-footer nav {
    grid-column: 6;
    grid-row: 1;
    direction: rtl;
    justify-content: space-between;
    gap: 0;
  }
  .fh-footer address {
    grid-column: 4;
    grid-row: 1;
    direction: rtl;
  }
  .footer-social {
    grid-column: 2;
    grid-row: 1;
    margin: 0;
  }
  .fh-footer address span {
    margin-inline-start: 12px;
  }
}
@media (max-width: 1100px) {
  .fh-footer {
    min-height: 343px;
  }
  .markets {
    gap: 13.306px;
  }
  .market-tabs {
    padding: 6.653px;
  }
  .market-tabs button {
    height: 39.918px;
  }
  .market-values {
    gap: 13.306px;
  }
  .newspaper {
    gap: 13.286px;
  }
}
@media (max-width: 1100px) {
  .lead {
    padding-inline: 12.5px;
  }
}
.mobile-address {
  display: none !important;
}
@media (max-width: 1100px) {
  .news-card .card-image img {
    width: 88px;
    height: 88px;
  }
  .card-copy {
    width: calc(100% - 100px);
  }
  .card-copy h3 {
    font-weight: 400;
  }
  .card-meta {
    margin-right: -100px;
    width: calc(100% + 100px);
  }
  .videos .carousel-controls > button {
    display: none;
  }
  .desktop-address {
    display: none !important;
  }
  .fh-footer .mobile-address {
    display: flex !important;
    font-size: 15.56px;
    line-height: normal;
    gap: 6.484px;
  }
  .fh-footer .mobile-address p {
    line-height: normal;
  }
}
@media (max-width: 1100px) {
  .footer-social .mobile-social {
    justify-content: center;
    gap: 59px;
  }
}
@media (max-width: 1100px) {
  .fh-footer .mobile-address p {
    line-height: 24px;
  }
}
/* Editorial content uses the same frame geometry as the Figma reference. */
[data-editorial-home] .lead h1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  height: 74px;
}
[data-editorial-home] .lead-copy > p {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
[data-editorial-home] .card-copy h3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
[data-editorial-home] .card-copy .category {
  min-width: 0;
  overflow: hidden;
  font-size: 12px;
  gap: 6px;
}
[data-editorial-home] .card-stats {
  gap: 11.124px;
  flex: none;
}
[data-editorial-home] .lead-image,
[data-editorial-home] .card-image {
  background: var(--fh-surface);
  border-radius: 16px;
  min-width: 80px;
  min-height: 80px;
}
[data-editorial-home] .lead-image {
  width: 364px;
  height: 243px;
}
[data-editorial-home] .newspaper {
  height: 379px;
}
[data-editorial-home] .markets {
  height: 625px;
}
[data-editorial-home] .paper-image {
  display: flex;
  align-items: center;
  justify-content: center;
}
[data-editorial-home] .price-table {
  table-layout: fixed;
}
[data-editorial-home] .price-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-editorial-home] .market-values p {
  font-size: 20px;
}
.editorial-empty {
  color: var(--fh-muted);
  font-size: 12px;
  text-align: center;
  padding: 12px;
}
.editorial-ad {
  height: 140px;
  border-radius: 16px;
  background: var(--fh-surface);
  border: 1px solid var(--fh-border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 12px;
  overflow: hidden;
}
.editorial-ad small {
  font-size: 10px;
  color: var(--fh-muted);
}
.editorial-ad strong {
  font-weight: 700;
}
.editorial-ad span {
  font-size: 12px;
}
.editorial-ad b {
  font-size: 12px;
  color: var(--fh-primary);
}
.source-notice {
  font-size: 12px;
  background: #fff8e7;
  text-align: center;
  padding: 4px;
  position: relative;
}
[data-editorial-home] .video-card h3 {
  height: 66px;
  overflow: hidden;
}
[data-editorial-home] .video-image {
  height: 115.726px;
  background: var(--fh-surface);
  border-radius: 10.601px;
}
[data-editorial-home] .dialog-content > a {
  display: block;
  margin-top: 16px;
  color: var(--fh-primary);
}
@media (max-width: 1100px) {
  [data-editorial-home] .lead h1 {
    height: 56px;
  }
  [data-editorial-home] .lead-copy > p {
    -webkit-line-clamp: 4;
  }
  [data-editorial-home] .card-copy h3 {
    -webkit-line-clamp: 4;
  }
  [data-editorial-home] .lead-image {
    width: 100%;
    height: 202px;
  }
  [data-editorial-home] .newspaper {
    height: 314.686px;
  }
  [data-editorial-home] .markets {
    height: 519.399px;
  }
  [data-editorial-home] .editorial-ad {
    height: 116.253px;
  }
  [data-editorial-home] .market-values p {
    font-size: 16px;
  }
  [data-editorial-home] .card-copy .category {
    font-size: 10px;
  }
}

[data-editorial-home] .news-grid {
  min-height: 608.496px;
  align-content: start;
}
@media (max-width: 1100px) {
  [data-editorial-home] .news-grid {
    min-height: 632.496px;
  }
  [data-editorial-home] .desktop-only-card {
    display: flex;
  }
  [data-editorial-home] .news-card:nth-child(n + 5) {
    display: none;
  }
}
[data-editorial-home] .video-card .category {
  max-width: 100%;
  overflow: hidden;
  font-size: 10px;
  gap: 3px;
}
[data-editorial-home] .video-card .category time {
  flex: none;
}
[data-editorial-home] .video-card .category b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
[data-editorial-home] .price-table {
  display: block;
  height: 328px;
  overflow: auto;
}
[data-editorial-home] .price-table thead,
[data-editorial-home] .price-table tbody {
  display: block;
}
[data-editorial-home] .price-table tr {
  display: table;
  table-layout: fixed;
  width: 100%;
}
[data-editorial-home] .price-table thead {
  margin-bottom: 16px;
}
[data-editorial-home] .price-table th {
  height: 35px;
  background: var(--fh-surface);
}
[data-editorial-home] .price-table td {
  height: 39px;
}
@media (max-width: 1100px) {
  [data-editorial-home] .price-table {
    height: 272.77px;
  }
  [data-editorial-home] .price-table thead {
    margin-bottom: 13.306px;
  }
  [data-editorial-home] .price-table th {
    height: 29.107px;
  }
  [data-editorial-home] .price-table td {
    height: 32.908px;
  }
}
/* Preview metadata occupies the existing header gap, never the page flow. */
.workflow-label {
  font-size: 10px;
  color: var(--fh-muted);
  white-space: nowrap;
}
[data-private-preview] {
  position: absolute;
  top: 108px;
  left: max(57px, calc((100vw - 1326px) / 2));
  margin: 0;
  padding: 0;
  background: transparent;
  color: var(--fh-muted);
  font-size: 10px;
  line-height: 14px;
}
/* Reserve the original image slots even when a draft has no image. */
[data-editorial-home] .card-image {
  position: relative;
  width: 80px;
  height: 80px;
  border-radius: 12px;
}
[data-editorial-home] .wide-card .card-image {
  width: 177px;
  height: 104px;
}
.card-image > .workflow-label {
  position: absolute;
  bottom: 3px;
  inset-inline: 3px;
  padding: 2px;
  border-radius: 4px;
  background: #ffffffeb;
  text-align: center;
  font-size: 9px;
  line-height: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-editorial-home] .card-copy .category time {
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
  direction: ltr;
  unicode-bidi: isolate;
}
[data-editorial-home] .wide-card .card-copy h3 {
  -webkit-line-clamp: 4;
}
@media (max-width: 1100px) {
  [data-private-preview] {
    top: 81px;
    left: 16px;
    right: 16px;
    font-size: 9px;
    text-align: center;
  }
  .workflow-label {
    font-size: 9px;
  }
  .lead-date .workflow-label {
    color: white;
  }
  [data-editorial-home] .card-image,
  [data-editorial-home] .wide-card .card-image {
    width: 88px;
    height: 88px;
    min-width: 88px;
  }
}

/* A still from the original local video fills its Figma image slot. */
.card-image > video,
.video-image > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  pointer-events: none;
}
