/*
Theme Name: UEAD Press
Theme URI: https://uead.ir/
Description: قالب فارسی پایگاه خبری و خدمات اتحادیه نمایشگاه ها و فروشندگان خودرو تهران
Author: آریان دیتا
Author URI: https://www.ariandata.ir/
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: uead-press
*/
:root {
  --radius: 16px;
  --content: 1248px;
  color-scheme: light;
  scrollbar-color: #78968c #edf3ef;
  scrollbar-width: auto;
  scrollbar-gutter: stable;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 1rem/1.85 var(--uead-font-family);
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  line-height: 1.55;
  text-wrap: pretty;
}
h1,
h2 {
  font-weight: 850;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--action-text);
}
img {
  max-inline-size: 100%;
  block-size: auto;
  vertical-align: middle;
}
button,
input,
textarea {
  font: inherit;
}
select {
  font-family: inherit;
}
button,
summary {
  cursor: pointer;
}
summary {
  list-style: none;
}
summary::-webkit-details-marker {
  display: none;
}
:focus-visible {
  outline: 3px solid #b36a2d;
  outline-offset: 4px;
}
[hidden] {
  display: none !important;
}
.wrap {
  width: min(var(--content), 100% - 72px);
  margin-inline: auto;
}
.screen-reader-text,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  inset: 8px 8px auto auto;
  padding: 12px;
  background: var(--white);
  z-index: 10;
}
.site-footer a:hover {
  color: var(--accent-on-deep);
}
.site-head {
  background: var(--action);
  color: var(--on-action);
  border-bottom: 2px solid var(--copper);
  position: relative;
  z-index: 2;
}
.head-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 52px;
  background: var(--deep);
  color: var(--on-deep);
  padding-inline: 12px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1.4;
  flex: none;
}
.brand strong,
.brand small {
  display: block;
}
.brand strong {
  font-size: 1rem;
  font-weight: 850;
}
.brand small {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 5px;
}
.brand img,
.brand-mark {
  width: 47px;
  height: 47px;
  object-fit: contain;
}
.brand-mark {
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: var(--action);
  color: var(--on-action);
}
.icon {
  width: 23px;
  height: 23px;
  flex: none;
  vertical-align: middle;
}
.brand-mark .icon {
  width: 28px;
  height: 28px;
}
.head-nav {
  flex: 1;
}
.menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
  font-size: 0.875rem;
  font-weight: 650;
}
.menu li {
  position: relative;
}
.menu a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.menu .current-menu-item > a,
.menu a[aria-current="page"] {
  color: var(--action-text);
  text-decoration: underline;
  text-underline-offset: 7px;
}
.menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px 14px;
  min-width: 185px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 8px 20px #102b2b14;
  border-radius: 9px;
}
.head-nav .sub-menu {
  position: absolute;
  top: 100%;
  inset-inline-start: 0;
  display: none;
}
.head-nav li:hover > .sub-menu,
.head-nav li:focus-within > .sub-menu {
  display: block;
}
.head-nav .sub-menu .sub-menu {
  top: 0;
  inset-inline-start: 100%;
}
.head-actions {
  display: flex;
  gap: 8px;
  margin-inline-start: auto;
  align-items: center;
}
.icon-btn {
  display: grid;
  place-items: center;
  width: 45px;
  height: 45px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  background: var(--white);
}
.icon-btn:hover,
.icon-btn[aria-expanded="true"],
details[open] > .icon-btn {
  background: var(--soft);
  color: var(--action-text);
}
.mobile-nav {
  display: none;
}
.search-pop,
.mobile-panel {
  position: absolute;
  top: 100%;
  inset-inline: 0;
  background: var(--white);
  box-shadow: 0 12px 32px #102b2b22;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.search-form {
  display: flex;
  gap: 8px;
}
.search-field {
  min-width: 0;
  flex: 1;
  position: relative;
}
.search-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
}
.search-field input:placeholder-shown {
  direction: rtl;
}
.search-field:has(.search-clear:not([hidden])) input {
  padding-inline-end: 48px;
}
.search-field:has(.search-clear:not([hidden])) input::-webkit-search-cancel-button {
  display: none;
}
.search-clear.icon-btn {
  position: absolute;
  inset-block-start: 50%;
  inset-inline-end: 1px;
  translate: 0 -50%;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
}
.search-clear.icon-btn:hover {
  background: var(--soft);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 8px 19px;
  background: var(--action);
  color: var(--on-action);
  border: 1px solid transparent;
  border-radius: 9px;
  font-weight: 750;
  font-size: 0.875rem;
  gap: 8px;
}
.btn:hover {
  background: color-mix(in srgb, var(--action) 90%, var(--on-action));
  color: var(--on-action);
}
.btn-outline {
  background: transparent;
  color: var(--action-text);
  border-color: var(--line);
}
.kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.88rem;
  font-weight: 750;
  color: var(--action-text);
  margin-bottom: 12px;
}
.kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  background: currentColor;
}
.services {
  margin-top: 26px;
  background: var(--white);
  padding: 20px 22px 22px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px #102b2b0b;
  border-radius: var(--radius);
}
.services h2 {
  font-size: 1.1rem;
  margin-bottom: 13px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(215px, 100%), 1fr));
  gap: 10px;
}
.service {
  display: flex;
  gap: 12px;
  align-items: center;
  min-height: 78px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: #fbfdfa;
}
.service:hover {
  background: var(--soft);
  border-color: #9bc7b7;
}
.service strong,
.service small {
  display: block;
}
.service strong {
  font-size: 0.9rem;
}
.service small {
  font-size: 0.75rem;
  color: var(--muted);
}
.service-icon {
  width: 41px;
  height: 41px;
  flex: none;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--action-text);
  border-radius: 10px;
}
.section {
  margin-block: 44px;
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}
.section-head h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.035em;
}
.section-head .kicker {
  margin-bottom: 3px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.card,
.notice-box,
.panel,
.archive-head,
.article,
.widget {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.card {
  overflow: hidden;
  min-width: 0;
}
.card-media {
  display: grid;
  place-items: center;
  aspect-ratio: 16/9;
  background: linear-gradient(130deg, #cadfd5, #e9f3ed);
  color: var(--action-text);
  overflow: hidden;
}
.card-media .icon {
  width: 40px;
  height: 40px;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}
.card-media:hover img {
  transform: scale(1.035);
}
.card-body {
  padding: 15px 17px 18px;
}
.card h3 {
  font-size: 1.1rem;
  margin: 6px 0;
}
.meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px 12px;
  font-size: 0.8rem;
  color: var(--muted);
}
.chip {
  display: inline-block;
  background: var(--soft);
  border-radius: 6px;
  color: var(--action-text);
  padding: 0 7px;
  font-size: 0.75rem;
  font-weight: 650;
}
.excerpt {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 8px;
}
.notice-box,
.panel {
  padding: 19px;
}
.notice-box h2 {
  font-size: 1.18rem;
}
.notice-box ul {
  list-style: none;
  padding: 0;
  margin: 8px 0 0;
}
.notice-box li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.notice-box li:last-child {
  border: 0;
}
.notice-box li a {
  font-weight: 720;
  display: block;
}
.notice-box .btn {
  margin-top: 9px;
}
.media-section {
  background: #eaf2ee;
  padding-block: 32px;
  margin-bottom: 0;
}
.archive-head,
.article {
  padding: clamp(18px, 4vw, 38px);
  margin-block: 24px;
}
.archive-head h1,
.article h1 {
  font-size: clamp(1.65rem, 4vw, 2.75rem);
  letter-spacing: -0.035em;
  overflow-wrap: anywhere;
}
.archive-head p,
.article .meta {
  margin-top: 8px;
}
.archive-head form {
  margin-top: 16px;
  max-width: 620px;
}
.article {
  max-width: 930px;
  margin-inline: auto;
}
.article-wide {
  max-width: none;
}
.article-cover {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  border-radius: 12px;
  margin-top: 24px;
}
.breadcrumbs {
  font-size: 0.82rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 13px;
  list-style: none;
  padding: 0;
}
.breadcrumbs li + li::before {
  content: "/";
  padding-inline-end: 8px;
  color: #77918a;
}
.entry {
  margin-top: 23px;
  overflow-wrap: anywhere;
}
.entry > * + * {
  margin-top: 1em;
}
.entry a:not(.wp-block-button__link) {
  color: var(--action-text);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.entry iframe {
  max-width: 100%;
}
.entry pre,
.wp-block-table {
  overflow: auto;
}
.entry blockquote {
  margin-inline: 0;
  padding: 8px 17px;
  border-inline-start: 3px solid var(--action);
  background: var(--soft);
}
.entry video {
  width: 100%;
  height: auto;
}
.entry table {
  width: 100%;
  border-collapse: collapse;
}
.entry td,
.entry th {
  border: 1px solid var(--line);
  padding: 7px;
}
.share-row {
  margin-top: 25px;
  padding-top: 15px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.share-url {
  padding: 7px;
  max-width: 100%;
  width: 275px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.pagination {
  margin-block: 24px;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.page-numbers {
  padding: 6px 13px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.page-numbers.current {
  background: var(--action);
  color: var(--on-action);
}
.widgets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 14px;
  margin-block: 22px;
}
.widget {
  padding: 16px;
  overflow-wrap: anywhere;
}
.comment-area {
  margin-top: 25px;
}
.comment-area ol {
  padding-inline-start: 23px;
}
.comment-area article {
  margin: 12px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.comment-form label {
  display: block;
  font-weight: 650;
}
.comment-form input:not([type="checkbox"]),
.comment-form textarea {
  width: min(100%, 480px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
}
.comment-form .form-submit input {
  background: var(--action);
  color: var(--on-action);
  cursor: pointer;
}
.comment-form p {
  margin-block: 9px;
}
.comment-form-cookies-consent label {
  display: inline;
}
.site-footer {
  background: var(--deep);
  color: var(--on-deep);
  margin-top: 45px;
}
.footer-main {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 24px;
  padding-block: 29px;
}
.site-footer .brand small {
  color: var(--on-deep);
}
.site-footer .sub-menu {
  background: var(--deep);
  border-color: color-mix(in srgb, var(--on-deep) 40%, var(--deep));
}
.copyright {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  padding-block: 17px;
  border-top: 1px solid color-mix(in srgb, var(--on-deep) 40%, var(--deep));
  color: var(--on-deep);
  font-size: 0.81rem;
}
.copyright a {
  color: var(--accent-on-deep);
}
@media (max-width: 1080px) {
  .head-nav {
    display: none;
  }
  .mobile-nav {
    display: block;
  }
  .mobile-panel .menu {
    align-items: start;
    gap: 4px 16px;
  }
  .mobile-panel .sub-menu {
    box-shadow: none;
  }
  .mobile-panel {
    max-height: 65dvh;
    overflow: auto;
  }

}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 30px);
  }
  .head-inner {
    min-height: 51px;
    gap: 8px;
  }
  .brand {
    gap: 8px;
  }
  .brand strong {
    font-size: 0.875rem;
  }
  .brand small {
    font-size: 0.67rem;
  }
  .brand img,
  .brand-mark {
    width: 37px;
    height: 37px;
  }
  .services {
    padding: 13px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .service {
    align-items: start;
    flex-direction: column;
    gap: 6px;
  }
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section {
    margin-block: 32px;
  }
  .footer-main {
    flex-direction: column;
  }
}
@media (max-width: 410px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .head-actions {
    gap: 4px;
  }
  .head-actions .icon-btn {
    width: 44px;
  }
  .section-head {
    align-items: start;
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
@media (forced-colors: active) {
  :root {
    scrollbar-color: auto;
  }
}
@media print {
  .site-head,
  .site-footer,
  .share-row,
  .comment-area,
  .breadcrumbs {
    display: none;
  }
  .article {
    border: 0;
    margin: 0;
    padding: 0;
  }
  .wrap {
    width: 100%;
  }
  body {
    background: white;
    color: black;
  }
}
.advanced-search .search-form {
  margin-top: 0;
}
.filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.filter-grid label {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
}
.filter-grid select {
  font: inherit;
  font-size: 0.875rem;
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  padding-inline: 8px;
}
.reset-filters {
  display: inline-block;
  margin-top: 8px;
  color: var(--action-text);
  text-decoration: underline;
}
@media (max-width: 560px) {
  .filter-grid {
    grid-template-columns: 1fr;
  }
}
.spotlight {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.spotlight-header {
  min-height: 65px;
  padding: 8px 17px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px 12px;
}
.spotlight-header h2 {
  font-size: clamp(1.13rem, 2.4vw, 1.45rem);
  border-inline-start: 3px solid var(--action);
  padding-inline-start: 10px;
}
.spotlight-controls,
.spotlight-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.spotlight-controls .icon-btn {
  width: 44px;
  height: 44px;
  padding: 0;
}
.spotlight-controls .icon-btn:active,
.spotlight-pick:active {
  background: var(--line);
}
.spotlight-count {
  min-width: 3.4ch;
  margin-inline: 5px;
  color: var(--muted);
  font-size: 0.875rem;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.spotlight-stage {
  touch-action: pan-y pinch-zoom;
}
.spotlight-slide {
  display: grid;
  position: relative;
  min-height: clamp(320px, 33vw, 430px);
  align-items: end;
  background: var(--deep);
  color: var(--on-deep);
}
.spotlight-slide:only-child {
  border-radius: 0 0 var(--radius) var(--radius);
  overflow: hidden;
}
.spotlight-media {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--action-text);
  overflow: hidden;
}
.spotlight-media img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.spotlight-media > .icon {
  width: 58px;
  height: 58px;
}
.spotlight-copy {
  position: relative;
  display: flex;
  background: var(--deep);
  background: color-mix(in srgb, var(--deep) 96%, transparent);
  border-inline-start: 4px solid var(--copper);
  flex-direction: column;
  align-items: start;
  justify-content: center;
  padding: 14px clamp(14px, 3vw, 28px) 7px;
  min-width: 0;
}
.spotlight-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 11px;
  color: var(--on-deep);
  font-size: 0.82rem;
}
.spotlight-meta span {
  color: var(--accent-on-deep);
  font-weight: 750;
}
.spotlight-copy h3 {
  width: 100%;
  font-size: clamp(1.25rem, 2.2vw, 1.85rem);
  font-weight: 830;
  letter-spacing: -0.03em;
  line-height: 1.5;
  margin-block: 5px 0;
  overflow-wrap: anywhere;
}
.spotlight-copy h3 a {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.spotlight-copy h3 a:hover,
.spotlight-link {
  color: var(--accent-on-deep);
}
.spotlight-copy a:focus-visible {
  outline-color: var(--on-deep);
}
.spotlight-link {
  min-height: 44px;
  font-size: 0.9rem;
  font-weight: 750;
}
.spotlight-link:hover {
  color: var(--on-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.spotlight-link .icon {
  width: 17px;
  height: 17px;
}
.spotlight-rail {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 9px;
  border-radius: 0 0 var(--radius) var(--radius);
  overscroll-behavior-inline: contain;
}
.spotlight-pick {
  flex: 1 0 144px;
  min-width: 0;
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 64px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  text-align: start;
}
.spotlight-pick:hover,
.spotlight-pick[aria-current="true"] {
  background: var(--soft);
  border-color: var(--action-text);
}
.spotlight-pick[aria-current="true"] {
  box-shadow: inset 0 -3px var(--action);
}
.spotlight-pick:focus-visible {
  outline-offset: -3px;
}
.spotlight-pick-image {
  display: grid;
  place-items: center;
  width: 44px;
  height: 40px;
  flex: none;
  overflow: hidden;
  border-radius: 5px;
  background: var(--soft);
  color: var(--action-text);
}
.spotlight-pick-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.spotlight-pick-title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  overflow-wrap: anywhere;
  font-size: 0.8rem;
  line-height: 1.55;
  font-weight: 680;
}
.spotlight-fallback {
  margin: 0;
  padding: 10px 34px 12px 14px;
}
.spotlight-fallback a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.notice-box {
  border-top: 3px solid var(--copper);
}
.notice-heading {
  display: flex;
  align-items: center;
  gap: 9px;
}
.notice-heading .service-icon {
  background: #faeddf;
  color: var(--ink);
}
.notice-box li a,
.notice-box h2,
.card h3 {
  overflow-wrap: anywhere;
}
.notice-box > p {
  margin-block: 12px 5px;
  color: var(--muted);
}
.notice-box .btn {
  width: 100%;
}
@media (max-width: 540px) {
  .spotlight-slide {
    display: block;
    min-height: 0;
  }
  .spotlight-media {
    position: relative;
    aspect-ratio: 16 / 9;
  }
  .spotlight-copy {
    padding: 12px 15px 7px;
  }
  .spotlight-copy h3 {
    min-height: 3em;
    margin-block: 6px 3px;
  }
  .spotlight-copy h3 a {
    -webkit-line-clamp: 2;
  }
  .spotlight-header {
    padding-inline: 11px;
  }
  .spotlight-pick {
    flex-basis: min(45%, 176px);
    min-width: 135px;
  }
}
@media (forced-colors: active) {
  .spotlight-pick[aria-current="true"] {
    border: 2px solid Highlight;
  }
}

.site-head .head-nav > .menu > li > a:hover,
.site-head .head-nav > .menu > .current-menu-item > a,
.site-footer .menu .current-menu-item > a,
.site-footer .menu a[aria-current="page"] {
  color: var(--accent-on-deep);
}
.site-head .brand small,
.site-head .masthead a:hover {
  color: var(--on-action);
}
.site-head .masthead a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.site-head .head-nav .sub-menu,
.site-head .mobile-panel,
.site-head .search-pop {
  color: var(--ink);
}
.site-head summary.icon-btn {
  color: var(--on-deep);
  border-color: color-mix(in srgb, var(--on-deep) 45%, transparent);
  background: transparent;
}
.site-head summary.icon-btn:hover,
.site-head details[open] > summary.icon-btn {
  background: color-mix(in srgb, var(--on-deep) 18%, transparent);
}
.site-head summary:focus-visible,
.site-footer a:focus-visible {
  outline-color: var(--on-deep);
}
.breaking-bar {
  display: flex;
  align-items: stretch;
  gap: 14px;
  min-height: 47px;
  margin-top: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  font-size: 0.89rem;
}
.breaking-bar strong,
.breaking-bar a {
  display: flex;
  align-items: center;
  padding: 6px 12px;
}
.breaking-bar strong {
  flex: none;
  background: var(--action);
  color: var(--on-action);
}
.breaking-bar a {
  font-weight: 650;
  overflow-wrap: anywhere;
}
.breaking-bar a:focus-visible {
  outline-offset: -3px;
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas: "feature" "side" "stream";
  gap: 19px;
  margin-block: 16px 30px;
}
.home-layout-with-sidebar {
  grid-template-columns: minmax(0, 1fr) clamp(242px, 24%, 298px);
  grid-template-areas: "feature side" "stream side";
}
.home-layout-with-sidebar.home-layout-right {
  grid-template-columns: clamp(242px, 24%, 298px) minmax(0, 1fr);
  grid-template-areas: "side feature" "side stream";
}
.home-feature {
  grid-area: feature;
  min-width: 0;
}
.home-stream {
  grid-area: stream;
  min-width: 0;
}
.home-sidebar {
  grid-area: side;
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 14px;
}
.home-sidebar .services,
.home-sidebar .widgets,
.home-stream > .section:first-child {
  margin-top: 0;
}
.home-sidebar .service-grid {
  grid-template-columns: 1fr;
}
.home-sidebar .service {
  min-height: 62px;
}
.home-links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin-block-end: 8px;
  padding-inline: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.home-links a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 750;
}
.news-rows {
  display: grid;
  gap: 9px;
}
.card-row {
  display: grid;
  grid-template-columns: clamp(84px, 24%, 174px) minmax(0, 1fr);
  min-height: 116px;
}
.card-row .card-media {
  aspect-ratio: auto;
  min-height: 100%;
  position: relative;
}
.card-row .card-media img {
  position: absolute;
  inset: 0;
}
.card-row .card-body {
  padding: 10px 14px 12px;
}
.card-row .excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}
.page-numbers {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.news-archive-head {
  border-inline-start: 4px solid var(--copper);
}
.news-archive-head .archive-filters {
  display: grid;
  grid-template-columns: minmax(180px, 1.6fr) minmax(144px, 1.1fr) repeat(2, minmax(110px, 1fr)) auto;
  align-items: end;
  gap: 10px;
  max-width: none;
}
.archive-filters label {
  display: block;
  font-size: 0.88rem;
  font-weight: 750;
  margin-bottom: 3px;
}
.archive-filters select {
  min-height: 46px;
  width: 100%;
  font-size: 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding-inline: 8px;
}
.archive-results-head p {
  color: var(--muted);
  font-size: 0.88rem;
}
@media (max-width: 810px) {
  .home-layout-with-sidebar,
  .home-layout-with-sidebar.home-layout-right {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "feature" "side" "stream";
  }
  .home-sidebar .service-grid {
    grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  }
}
@media (max-width: 900px) {
  .news-archive-head .archive-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .archive-filter-search {
    grid-column: 1 / -1;
  }
}
@media (max-width: 540px) {
  .home-links {
    gap: 0 11px;
  }
  .card-row .card-body {
    padding: 8px 10px;
  }
  .card-row h3 {
    font-size: 0.96rem;
  }
  .card-row .excerpt {
    display: none;
  }
  .home-sidebar .service {
    flex-direction: row;
    align-items: center;
  }
}

.masthead,
.masthead-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 18px;
}
.masthead {
  min-height: 83px;
  padding-block: 9px;
}
.masthead .brand-mark {
  background: var(--on-action);
  color: var(--action);
}
.masthead .brand strong {
  font-size: clamp(1rem, 2.4vw, 1.65rem);
}
.masthead-meta time {
  padding: 3px 11px;
  border: 1px solid currentColor;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 650;
}
.masthead a:focus-visible {
  outline-color: var(--on-action);
}
.mobile-news-link {
  display: none;
  align-items: center;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 750;
}
.mobile-news-link:hover {
  color: var(--accent-on-deep);
}
.lead-layout {
  display: grid;
  gap: 16px;
  margin-block: 15px 20px;
}
.lead-with-pick {
  grid-template-columns: minmax(0, 1fr) clamp(210px, 26%, 310px);
}
.spotlight-lead .spotlight-slide {
  grid-template-columns: minmax(0, 1.52fr) minmax(0, 1fr);
  align-items: stretch;
  min-height: clamp(260px, 24vw, 326px);
  background: var(--white);
  color: var(--ink);
  border-block: 1px solid var(--line);
}
.spotlight-lead .spotlight-media {
  position: relative;
}
.spotlight-lead .spotlight-copy {
  background: var(--white);
  border-inline-start: 0;
  padding: clamp(13px, 2.3vw, 26px);
}
.spotlight-lead .spotlight-copy h3 a {
  -webkit-line-clamp: 3;
}
.spotlight-lead .spotlight-copy h3 a:hover,
.spotlight-lead .spotlight-link,
.spotlight-lead .spotlight-meta span {
  color: var(--action-text);
}
.spotlight-lead .spotlight-meta {
  color: var(--muted);
}
.spotlight-lead .spotlight-copy a:focus-visible {
  outline-color: var(--action-text);
}
.spotlight-excerpt {
  color: var(--muted);
  margin-block: 7px 0;
  font-size: 0.89rem;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.spotlight-column .spotlight-slide {
  min-height: clamp(270px, 26vw, 326px);
}
.editorial-pick {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(180px, 1fr) auto;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--copper);
  color: var(--on-copper);
}
.editorial-pick:hover {
  color: var(--on-copper);
}
.editorial-pick-media {
  position: relative;
  display: grid;
  place-items: center;
  background: var(--soft);
  color: var(--action-text);
}
.editorial-pick-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.editorial-pick-copy {
  display: grid;
  padding: 14px;
  gap: 5px;
  overflow-wrap: anywhere;
}
.editorial-pick-copy span {
  font-size: 0.84rem;
  font-weight: 650;
}
.editorial-pick-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.13rem;
  line-height: 1.6;
}
.editorial-pick:hover strong {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.editorial-roundup {
  margin-block: 20px;
}
.editorial-roundup .section-head {
  margin-bottom: 8px;
}
.editorial-roundup ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 14px;
  margin: 0;
  padding: 8px 13px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.editorial-roundup a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-block: 9px;
}
.editorial-roundup strong,
.editorial-roundup time {
  display: block;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.editorial-roundup strong {
  font-size: 0.92rem;
}
.editorial-roundup time {
  font-size: 0.81rem;
  color: var(--muted);
  margin-top: 3px;
}
.roundup-image {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  flex: none;
  overflow: hidden;
  border-radius: 50%;
  background: var(--soft);
  color: var(--action-text);
}
.roundup-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-stream .section-head h2,
.editorial-roundup .section-head h2 {
  border-inline-start: 4px solid var(--copper);
  padding-inline-start: 9px;
}
@media (max-width: 1080px) {
  .mobile-news-link {
    display: inline-flex;
  }
}
@media (max-width: 680px) {
  .lead-with-pick {
    grid-template-columns: minmax(0, 1fr);
  }
  .editorial-pick {
    grid-template-columns: minmax(105px, 1fr) minmax(0, 1.6fr);
    grid-template-rows: auto;
  }
  .editorial-pick-media {
    min-height: 112px;
  }
  .editorial-roundup ul {
    grid-template-columns: none;
    grid-auto-columns: minmax(230px, 72%);
    grid-auto-flow: column;
    overflow-x: auto;
  }
}
@media (max-width: 540px) {
  .masthead {
    min-height: 70px;
  }
  .masthead-meta time {
    font-size: 0.75rem;
    padding-inline: 7px;
  }
  .spotlight-lead .spotlight-slide {
    display: block;
    min-height: 0;
  }
  .spotlight-column .spotlight-slide {
    min-height: 0;
  }
  .spotlight-excerpt {
    display: none;
  }
}

.topic-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.topic-tabs [aria-selected="true"] {
  background: var(--action);
  color: var(--on-action);
  border-color: var(--action);
}
.home-topics [data-topic-panel] + [data-topic-panel]:not([role="tabpanel"]) {
  margin-top: 21px;
}
.media-section + .media-section {
  margin-top: 16px;
}
