.home-market-home .home-market-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 4fr);
  gap: 22px;
  margin-block: 26px;
  padding: 20px;
  border: 1px solid var(--line, #e4e7ed);
  border-radius: 6px;
  background: #fff;
  color: var(--ink, #272b34);
}
.home-market-home .home-market-feature--authorities {
  grid-template-columns: minmax(0, 1fr) minmax(0, 3fr);
  background: #fff;
}
.home-market-feature-intro h2 {
  margin: 0;
  color: var(--ink, #272b34);
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.15;
}
.home-market-feature-intro p {
  margin: 8px 0 0;
  color: var(--muted, #68717e);
  font-size: 13px;
  line-height: 1.5;
}
.home-market-feature-art {
  display: block;
  width: 67px;
  height: 40px;
  margin-top: 16px;
  background: linear-gradient(to top, #fbeab0 35%, transparent 35%) 0 0 / 18% 100% no-repeat,
    linear-gradient(to top, #f8df88 55%, transparent 55%) 28% 0 / 18% 100% no-repeat,
    linear-gradient(to top, #f5d366 48%, transparent 48%) 56% 0 / 18% 100% no-repeat,
    linear-gradient(to top, #eac143 78%, transparent 78%) 84% 0 / 18% 100% no-repeat;
  border-bottom: 1px solid #e4ce91;
}
.home-market-feature--authorities .home-market-feature-art {
  width: 42px;
  height: 46px;
  border: 0;
  background: #eac143;
  clip-path: polygon(50% 0, 95% 17%, 90% 59%, 76% 79%, 50% 100%, 24% 79%, 10% 59%, 5% 17%, 50% 0, 50% 14%, 18% 24%, 23% 55%, 34% 72%, 50% 85%, 66% 72%, 77% 55%, 82% 24%, 50% 14%);
}
.home-market-feature-data { min-width: 0; }
.home-market-feature-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 6px 12px;
  margin-bottom: 10px;
  font-size: 13px;
}
.home-market-feature-actions > a { margin-inline-start: auto; color: var(--gold-dark, #80601f); font-weight: 700; }

.home-market-rates {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.home-market-rates-table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.home-market-rates-table :is(th, td) { padding: 6px 4px; }
.home-market-rates-table thead { color: var(--muted, #68717e); font-size: 12px; }
.home-market-rates-table tbody tr { height: 44px; border-top: 1px solid var(--line, #e4e7ed); }
.home-market-rates-table tbody { font-size: 14px; }
.home-market-rates-table :is(thead th:first-child, tbody th) { text-align: left; }
.home-market-rates-table tbody th a { color: var(--ink, #272b34); font-weight: 700; }
.home-market-rates-table tbody th time { display: block; color: var(--muted, #68717e); font-size: 11px; font-weight: 400; }
.home-market-rates-table tbody td { font-weight: 650; }
.home-market-rates-table .home-market-change-positive { color: #16805d; }
.home-market-rates-table .home-market-change-negative { color: #c53c45; }
.home-market-rates-table .home-market-change-neutral { color: #758092; }
.home-market-authorities {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.home-market-authorities > li { display: flex; min-width: 0; }
.home-market-authorities > li > a {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 8px 5px;
  border: 1px solid var(--line, #e4e7ed);
  border-radius: 6px;
  color: var(--ink, #272b34);
  text-align: center;
  overflow-wrap: anywhere;
}
.home-market-authorities > li > a:hover { border-color: #d2a528; }
.home-market-authority-logo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 48px;
}
.home-market-authority-logo img { display: block; width: 100%; max-width: 96px; height: 100%; object-fit: contain; }
.home-market-authority-name { font-size: 12px; line-height: 1.3; }
.home-market-authority-location { margin-top: auto; color: var(--muted, #68717e); font-size: 11px; }
.home-market-feature-empty { margin: 0; padding-block: 10px; color: var(--muted, #68717e); }

.home-market-home .home-research-categories .hrc-card { border-color: var(--line, #e4e7ed); }
.home-market-home .home-research-categories .hrc-card-heading { border-color: #eef0f3; }

@media (min-width: 768px) {
  .home-market-home .home-market-feature {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 12px;
    padding: 0;
    border: 0;
    background: transparent;
  }
  .home-market-feature-intro,
  .home-market-feature-data,
  .home-market-feature-toolbar { display: contents; }
  .home-market-feature-art { display: none; }
  .home-market-feature-intro h2 { grid-area: 1 / 1; font-size: 24px; }
  .home-market-feature-actions { grid-area: 1 / 2; align-self: center; margin: 0; font-size: 13px; }
  .home-market-feature-intro p { grid-area: 2 / 1 / auto / -1; margin: 0; }
  .home-market-rates,
  .home-market-authorities,
  .home-market-feature-empty { grid-column: 1 / -1; }
  .home-market-rates,
  .home-market-authorities {
    gap: 0;
    margin-top: 5px;
    padding: 8px 0;
    border: 1px solid var(--line, #e4e7ed);
    border-radius: 6px;
    background: #fff;
  }
  .home-market-rates { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .home-market-rates-table,
  .home-market-rates-table tbody { display: contents; }
  .home-market-rates-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }
  .home-market-rates-table tbody tr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: 4px 6px;
    height: auto;
    min-width: 0;
    padding: 5px clamp(6px, 1vw, 16px);
    border: 0;
    border-inline-end: 1px solid var(--line, #e4e7ed);
  }
  .home-market-rates-table tbody tr:nth-child(6n) { border-inline-end: 0; }
  .home-market-authorities > li:nth-child(n+7) { border-block-start: 1px solid var(--line, #e4e7ed); }
  .home-market-rates-table tbody th { grid-column: 1 / -1; }
  .home-market-rates-table tbody :is(th, td) { padding: 0; font-size: clamp(11px, 1.05vw, 14px); white-space: nowrap; }
  .home-market-rates-table tbody td:first-of-type { text-align: left; }
  .home-market-authorities > li:not(:nth-child(6n+1)) { border-inline-start: 1px solid var(--line, #e4e7ed); }
  .home-market-authorities > li > a { padding: 5px 8px; border: 0; border-radius: 0; }

}

@media (max-width: 767px) {
  .home-market-home .home-market-feature {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    margin-block: 24px;
    padding: 12px;
  }
  .home-market-home .home-market-feature--authorities { padding-inline: 0; border-inline: 0; border-radius: 0; }
  .home-market-feature-art { display: none; }
  .home-market-feature-intro,
  .home-market-feature-data,
  .home-market-feature-toolbar { display: contents; }
  .home-market-feature-intro h2 { grid-area: 1 / 1; align-self: center; }
  .home-market-feature-actions {
    grid-area: 1 / 2;
    align-self: center;
    margin: 0;
    font-size: 12px;
  }
  .home-market-feature-intro p { grid-area: 2 / 1 / auto / -1; margin: 0; }
  .home-market-rates,
  .home-market-authorities,
  .home-market-feature-empty { grid-column: 1 / -1; }
  .home-market-rates { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-market-rates-table { table-layout: fixed; }
  .home-market-authorities { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .home-market-authorities > li > a {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 2px;
    padding: 9px 0;
    border: 0;
    border-top: 1px solid var(--line, #e4e7ed);
    border-radius: 0;
    text-align: left;
  }
  .home-market-authority-logo { grid-area: 1 / 1 / 4 / 2; }
  .home-market-authority-location { margin: 0; }
  [data-home-rotation="regulators"]:not([data-rotation-half="second"]) .home-market-authorities > li:nth-child(n+7),
  [data-home-rotation="regulators"][data-rotation-half="second"] .home-market-authorities > li:nth-child(-n+6) { display: none; }
  .home-market-authority-name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }
}

@media (min-width: 1024px) {
  .home-market-home .home-market-layout > .home-section { align-self: stretch; }
  .home-market-home .home-news-section > .home-news-panels {
    display: flex;
    flex: 1;
    flex-direction: column;
  }
  .home-market-home .home-news-section .home-news-panels > .home-news-tab-panel:not([hidden]) {
    flex: 1;
    grid-auto-rows: minmax(var(--home-news-row-height), 1fr);
    align-content: stretch;
  }
  .home-market-home .home-news-section .home-news-tab-panel .home-news-feed-card {
    height: auto;
    max-height: none;
  }
}
.home-market-feature-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: baseline; gap: 4px 10px; }
.home-market-feature-actions > a { margin: 0; }
.home-market-feature-actions > button {
  padding: 2px 4px;
  border: 1px solid var(--line, #e4e7ed);
  border-radius: 4px;
  background: #fff;
  color: var(--gold-dark, #80601f);
  font: inherit;
  cursor: pointer;
}
.home-market-feature [data-rotation-batch][hidden],
.home-market-feature [data-rotation-toggle][hidden] { display: none; }
.home-market-home .home-market-rates-table tbody tr:is(:hover, :focus-within),
.home-market-home .home-market-authorities > li > a:is(:hover, :focus-visible),
.home-market-home .home-research-categories .hrc-links a:is(:hover, :focus-visible) {
  background: #fff9e8;
  box-shadow: inset 0 0 0 1px #ead18b;
}
.home-market-home .home-market-feature a:is(:hover, :focus-visible),
.home-market-home .home-market-feature a:is(:hover, :focus-visible) *,
.home-market-home .home-research-categories .hrc-links a:is(:hover, :focus-visible) {
  color: #80601f;
  text-decoration: none;
}
.home-market-home .home-market-rates-table tbody tr:is(:hover, :focus-within) th a { color: #80601f; text-decoration: none; }
