:root {
  --uzt-navy: #112f43;
  --uzt-navy-deep: #0b2434;
  --uzt-teal: #0f6e70;
  --uzt-teal-dark: #09575a;
  --uzt-accent: #d77a28;
  --uzt-accent-soft: #fff2e5;
  --uzt-soft: #edf5f3;
  --uzt-page: #f3f5f4;
  --uzt-paper: #ffffff;
  --uzt-ink: #1d2b33;
  --uzt-muted: #63717a;
  --uzt-line: #dbe4e3;
  --uzt-shadow: 0 14px 38px rgba(17, 47, 67, .09);
  --uzt-shadow-small: 0 7px 22px rgba(17, 47, 67, .08);
  --uzt-page-width: 1180px;
}

body.uzt-site {
  background: var(--uzt-page);
  color: var(--uzt-ink);
}

body.uzt-site .wp-site-blocks > header.wp-block-template-part,
body.uzt-site .wp-site-blocks > footer.wp-block-template-part {
  display: none;
}

body.uzt-custom-home .wp-site-blocks > main,
body.uzt-custom-home .wp-site-blocks > .wp-block-group:has(main) {
  display: none !important;
}

a:focus-visible {
  outline: 3px solid rgba(215, 122, 40, .45);
  outline-offset: 3px;
}

.uzt-topbar {
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--uzt-line);
  box-shadow: 0 3px 16px rgba(17, 47, 67, .045);
  color: var(--uzt-ink);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.admin-bar .uzt-topbar {
  top: 32px;
}

.uzt-topbar-inner {
  align-items: center;
  display: flex;
  gap: 1.5rem;
  justify-content: space-between;
  margin: 0 auto;
  max-width: var(--uzt-page-width);
  min-height: 68px;
  padding: .55rem 1rem;
}

.uzt-brand,
.uzt-topbar a {
  color: var(--uzt-navy);
  text-decoration: none;
}

.uzt-brand {
  align-items: center;
  display: inline-flex;
  font-size: 1.12rem;
  font-weight: 820;
  gap: .5rem;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.uzt-brand > span:first-child {
  align-items: center;
  background: var(--uzt-teal);
  border-radius: 50%;
  color: #fff;
  display: inline-flex;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.uzt-nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: .15rem .35rem;
  justify-content: flex-end;
}

.uzt-nav-links a {
  border-radius: 999px;
  font-size: .83rem;
  font-weight: 680;
  padding: .46rem .72rem;
}

.uzt-nav-links a:hover,
.uzt-nav-links a:focus-visible {
  background: var(--uzt-soft);
  color: var(--uzt-teal-dark);
}

.uzt-home-intro {
  box-sizing: border-box;
  margin: 0 auto;
  max-width: var(--uzt-page-width);
  padding: 1.35rem 1rem 3.25rem;
}

.uzt-home-hero {
  background: var(--uzt-navy);
  border-radius: 1.25rem;
  box-shadow: var(--uzt-shadow);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .95fr);
  min-height: 410px;
  overflow: hidden;
}

.uzt-home-copy {
  align-self: center;
  box-sizing: border-box;
  max-width: 650px;
  padding: clamp(2rem, 5vw, 4rem);
}

.uzt-eyebrow {
  color: var(--uzt-teal);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .16em;
  margin: 0 0 .6rem;
}

.uzt-home-hero .uzt-eyebrow {
  color: #75d7d2;
}

.uzt-home-intro h1 {
  color: #fff;
  font-size: clamp(2rem, 4.4vw, 3.45rem);
  letter-spacing: -.04em;
  line-height: 1.04;
  margin: 0 0 1rem;
}

.uzt-home-copy > p:not(.uzt-eyebrow) {
  color: #dbe7eb;
  font-size: 1.04rem;
  line-height: 1.65;
  margin: 0;
  max-width: 570px;
}

.uzt-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.6rem;
}

.uzt-primary-link,
.uzt-secondary-link {
  border: 1px solid transparent;
  border-radius: .55rem;
  display: inline-flex;
  font-size: .86rem;
  font-weight: 760;
  justify-content: center;
  padding: .72rem 1rem;
  text-decoration: none !important;
}

.uzt-primary-link {
  background: var(--uzt-accent);
  color: #fff !important;
}

.uzt-primary-link:hover {
  background: #bc641b;
}

.uzt-secondary-link {
  border-color: rgba(255, 255, 255, .34);
  color: #fff !important;
}

.uzt-secondary-link:hover {
  background: rgba(255, 255, 255, .1);
}

.uzt-hero-media {
  color: #fff !important;
  display: block;
  min-height: 410px;
  overflow: hidden;
  position: relative;
  text-decoration: none !important;
}

.uzt-hero-media::after {
  background: linear-gradient(to top, rgba(5, 23, 34, .88), transparent 65%);
  content: "";
  inset: 0;
  position: absolute;
}

.uzt-hero-media img {
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
  width: 100%;
}

.uzt-hero-media:hover img {
  transform: scale(1.025);
}

.uzt-hero-media > span {
  bottom: 0;
  display: grid;
  gap: .15rem;
  left: 0;
  padding: 1.65rem;
  position: absolute;
  right: 0;
  z-index: 1;
}

.uzt-hero-media small {
  color: #8de1dd;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .14em;
}

.uzt-hero-media strong {
  font-size: 1.42rem;
}

.uzt-hero-media em {
  color: #fff;
  font-size: .8rem;
  font-style: normal;
  font-weight: 700;
  margin-top: .3rem;
}

.uzt-category-section,
.uzt-home-editorial {
  margin-top: 3rem;
}

/* L'en-tête reste visible pendant le défilement. Cette marge empêche le lien
   « Explorer les catégories » de placer le titre sous la navigation fixe. */
.uzt-category-section {
  scroll-margin-top: 6rem;
}

.admin-bar .uzt-category-section {
  scroll-margin-top: 8rem;
}

.uzt-section-heading {
  align-items: end;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  margin-bottom: 1.1rem;
}

.uzt-section-heading h2 {
  color: var(--uzt-navy);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -.025em;
  line-height: 1.16;
  margin: 0;
}

.uzt-section-heading > p {
  color: var(--uzt-muted);
  font-size: .88rem;
  line-height: 1.5;
  margin: 0 0 .15rem;
  max-width: 420px;
  text-align: right;
}

.uzt-category-grid {
  display: grid;
  gap: .9rem;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.uzt-category-card {
  background: var(--uzt-paper);
  border: 1px solid var(--uzt-line);
  border-radius: .85rem;
  box-shadow: 0 5px 16px rgba(17, 47, 67, .045);
  color: var(--uzt-ink) !important;
  min-width: 0;
  overflow: hidden;
  text-decoration: none !important;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.uzt-category-card:hover,
.uzt-category-card:focus-visible {
  border-color: #a8c1c0;
  box-shadow: var(--uzt-shadow-small);
  transform: translateY(-3px);
}

.uzt-category-card img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  transition: transform .3s ease;
  width: 100%;
}

.uzt-category-card:hover img {
  transform: scale(1.025);
}

.uzt-category-card > span {
  display: grid;
  gap: .28rem;
  min-height: 105px;
  padding: .82rem .85rem .9rem;
  position: relative;
}

.uzt-category-card strong {
  color: var(--uzt-navy);
  font-size: .9rem;
  line-height: 1.3;
  padding-right: 1.1rem;
}

.uzt-category-card small {
  color: var(--uzt-muted);
  font-size: .72rem;
  line-height: 1.45;
}

.uzt-category-card em {
  color: var(--uzt-accent);
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
  position: absolute;
  right: .82rem;
  top: .75rem;
}

.uzt-home-showcase {
  align-items: stretch;
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1.55fr) minmax(330px, .85fr);
}

.uzt-home-post-card {
  background: var(--uzt-paper);
  border: 1px solid var(--uzt-line);
  border-radius: .9rem;
  box-shadow: 0 5px 18px rgba(17, 47, 67, .05);
  min-width: 0;
  overflow: hidden;
}

.uzt-home-post-image {
  background: var(--uzt-soft);
  display: block;
  overflow: hidden;
  text-decoration: none !important;
}

.uzt-home-post-image img {
  display: block;
  height: 100%;
  object-fit: cover;
  transition: transform .3s ease;
  width: 100%;
}

.uzt-home-post-card:hover .uzt-home-post-image img {
  transform: scale(1.02);
}

.uzt-home-post-featured .uzt-home-post-image {
  aspect-ratio: 16 / 8.5;
}

.uzt-home-post-body {
  padding: 1.1rem 1.2rem 1.25rem;
}

.uzt-content-label {
  color: var(--uzt-teal);
  display: block;
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .11em;
  margin-bottom: .38rem;
  text-transform: uppercase;
}

.uzt-home-post-body h3 {
  font-size: 1.35rem;
  letter-spacing: -.015em;
  line-height: 1.25;
  margin: 0;
}

.uzt-home-post-body h3 a {
  color: var(--uzt-navy) !important;
  text-decoration: none !important;
}

.uzt-home-post-body h3 a:hover {
  color: var(--uzt-teal-dark) !important;
}

.uzt-home-post-body p {
  color: var(--uzt-muted);
  font-size: .87rem;
  line-height: 1.56;
  margin: .65rem 0 .8rem;
}

.uzt-text-link {
  color: var(--uzt-teal-dark) !important;
  font-size: .8rem;
  font-weight: 780;
  text-decoration: none !important;
}

.uzt-text-link span {
  color: var(--uzt-accent);
}

.uzt-home-latest {
  background: var(--uzt-navy);
  border-radius: .9rem;
  box-shadow: var(--uzt-shadow-small);
  display: flex;
  flex-direction: column;
  gap: .7rem;
  padding: 1.05rem;
}

.uzt-home-latest > h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 .1rem;
}

.uzt-home-post-compact {
  align-items: stretch;
  background: rgba(255, 255, 255, .98);
  border: 0;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
}

.uzt-home-post-compact .uzt-home-post-image {
  min-height: 100%;
}

.uzt-home-post-compact .uzt-home-post-body {
  padding: .72rem .75rem;
}

.uzt-home-post-compact .uzt-home-post-body h3 {
  font-size: .87rem;
  line-height: 1.3;
}

.uzt-home-post-compact .uzt-home-post-body p,
.uzt-home-post-compact .uzt-text-link {
  display: none;
}

.uzt-home-post-compact .uzt-content-label {
  font-size: .56rem;
}

.uzt-home-more-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 1rem;
}

.uzt-home-post-small {
  display: flex;
  flex-direction: column;
}

.uzt-home-post-small .uzt-home-post-image {
  aspect-ratio: 16 / 9;
}

.uzt-home-post-small .uzt-home-post-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: .85rem .9rem 1rem;
}

.uzt-home-post-small .uzt-home-post-body h3 {
  font-size: .96rem;
}

.uzt-home-post-small .uzt-home-post-body p {
  font-size: .76rem;
}

.uzt-home-post-small .uzt-text-link {
  margin-top: auto;
}

.uzt-photo-placeholder {
  align-items: center;
  background: linear-gradient(135deg, #e8f1ef, #f7f9f8);
  color: var(--uzt-muted);
  display: flex;
  flex-direction: column;
  gap: .35rem;
  height: 100%;
  justify-content: center;
  min-height: 145px;
  text-align: center;
  width: 100%;
}

.uzt-photo-placeholder > span {
  font-size: 1.8rem;
}

.uzt-photo-placeholder strong {
  color: var(--uzt-navy);
  font-size: .96rem;
}

.uzt-photo-placeholder small {
  font-size: .72rem;
}

body.uzt-site main {
  box-sizing: border-box;
  margin-inline: auto;
  max-width: var(--uzt-page-width) !important;
  padding-top: 1.5rem;
  width: calc(100% - 2rem);
}

body.uzt-site main .is-layout-constrained > :where(:not(.alignleft):not(.alignright):not(.alignfull)),
body.uzt-site main .entry-content,
body.uzt-site main .wp-block-post-content,
body.uzt-site main .wp-block-query,
body.uzt-site main .wp-block-post-template,
body.uzt-site main .wp-block-comments,
body.uzt-site main .comments-area {
  box-sizing: border-box;
  max-width: var(--uzt-page-width) !important;
  width: 100% !important;
}

body.uzt-site main .entry-content > *,
body.uzt-site main .wp-block-post-content > * {
  max-width: none !important;
  width: 100%;
}

.single-post .wp-block-post-title,
.single-post h1.wp-block-post-title {
  color: var(--uzt-navy);
  font-size: clamp(2rem, 4.4vw, 3.25rem);
  letter-spacing: -.035em;
  line-height: 1.08;
  margin-bottom: .7rem;
  max-width: 950px !important;
}

.single-post .wp-block-post-date {
  color: var(--uzt-muted);
  font-size: .75rem;
  margin-bottom: 1.3rem;
}

.uzt-article-shell {
  align-items: start;
  display: grid;
  gap: 1.35rem;
  grid-template-columns: minmax(0, 1fr) 315px;
  margin-top: .5rem;
}

.uzt-article-main {
  background: var(--uzt-paper);
  border: 1px solid var(--uzt-line);
  border-radius: 1rem;
  box-shadow: var(--uzt-shadow-small);
  box-sizing: border-box;
  font-size: 1rem;
  line-height: 1.72;
  min-width: 0;
  padding: clamp(1.2rem, 3vw, 2rem);
}

.uzt-article-main > :first-child {
  margin-top: 0;
}

.uzt-article-main > h2 {
  border-bottom: 1px solid var(--uzt-line);
  color: var(--uzt-navy);
  font-size: clamp(1.35rem, 2.5vw, 1.72rem);
  margin-top: 2.3rem;
  padding-bottom: .4rem;
}

.uzt-article-main > h3 {
  color: var(--uzt-navy);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  margin-top: 1.8rem;
}

.uzt-article-main a:not(.uzt-amazon-button) {
  color: var(--uzt-teal-dark);
}

.uzt-article-visual {
  background: #eef2f1;
  border: 1px solid var(--uzt-line);
  border-radius: .8rem;
  margin: 0 0 1.45rem;
  overflow: hidden;
}

.uzt-article-visual img {
  display: block;
  max-height: 550px;
  object-fit: contain;
  width: 100%;
}

.uzt-guide-visual img {
  aspect-ratio: 16 / 8.7;
  object-fit: cover;
}

.uzt-photo-reserved {
  aspect-ratio: 16 / 8.7;
}

.uzt-photo-reserved .uzt-photo-placeholder {
  min-height: 100%;
}

.uzt-article-visual figcaption {
  background: var(--uzt-paper);
  color: var(--uzt-muted);
  font-size: .68rem;
  padding: .45rem .7rem;
}

body.uzt-product-page .wp-block-post-featured-image {
  display: none;
}

.uzt-affiliate-disclosure {
  background: none;
  border: 0;
  color: #7b848a;
  font-size: .68rem;
  font-weight: 400;
  line-height: 1.45;
  margin: .9rem 0 1.3rem;
  padding: 0;
}

.uzt-affiliate-disclosure span {
  font-weight: 700;
}

.uzt-product-action {
  border-bottom: 1px solid var(--uzt-line);
  clear: both;
  margin: 1.1rem 0 1.9rem;
  padding: 0 0 1.3rem;
}

.uzt-amazon-button,
.wp-block-button__link.uzt-amazon-button {
  align-items: center;
  background: #fff !important;
  border: 1px solid var(--uzt-teal) !important;
  border-radius: .45rem !important;
  box-sizing: border-box;
  color: var(--uzt-teal-dark) !important;
  display: inline-flex !important;
  font-size: .8rem !important;
  font-weight: 720 !important;
  justify-content: center;
  line-height: 1.2;
  margin: 0 !important;
  max-width: none !important;
  min-height: 34px;
  padding: .46rem .7rem !important;
  text-decoration: none !important;
  width: auto !important;
}

.uzt-amazon-button:hover,
.uzt-amazon-button:focus-visible {
  background: var(--uzt-soft) !important;
  border-color: var(--uzt-navy) !important;
  color: var(--uzt-navy) !important;
}

.uzt-product-selection {
  background: transparent;
  border: 0;
  box-shadow: none;
  margin: 1.5rem 0;
  padding: 0;
}

.uzt-product-card {
  background: var(--uzt-paper);
  border: 1px solid var(--uzt-line);
  border-radius: .65rem;
  box-shadow: none;
  margin: 0 0 1rem;
  padding: 1rem;
}

.uzt-product-number,
.uzt-product-position,
.uzt-selection-kicker {
  display: none;
}

.uzt-article-sidebar {
  display: grid;
  gap: 1rem;
  min-width: 0;
  position: sticky;
  top: 88px;
}

.admin-bar .uzt-article-sidebar {
  top: 120px;
}

.uzt-sidebar-intro,
.uzt-sidebar-related {
  background: var(--uzt-paper);
  border: 1px solid var(--uzt-line);
  border-radius: .9rem;
  box-shadow: 0 5px 18px rgba(17, 47, 67, .05);
  padding: 1rem;
}

.uzt-sidebar-intro {
  background: var(--uzt-navy);
  border-color: var(--uzt-navy);
  color: #dce8eb;
}

.uzt-sidebar-intro .uzt-content-label {
  color: #7fddd8;
}

.uzt-sidebar-intro h2 {
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.25;
  margin: 0;
}

.uzt-sidebar-intro p {
  font-size: .78rem;
  line-height: 1.5;
  margin: .55rem 0 .75rem;
}

.uzt-sidebar-intro a {
  color: #fff !important;
  font-size: .76rem;
  font-weight: 760;
  text-decoration: none !important;
}

.uzt-sidebar-intro a span {
  color: #f2a663;
}

.uzt-sidebar-related {
  display: grid;
  gap: .75rem;
}

.uzt-sidebar-related > h2 {
  border: 0 !important;
  color: var(--uzt-navy);
  font-size: 1rem !important;
  margin: 0 !important;
  padding: 0 0 .1rem !important;
}

.uzt-sidebar-card {
  border-top: 1px solid var(--uzt-line);
  display: grid;
  gap: .7rem;
  grid-template-columns: 86px minmax(0, 1fr);
  margin: 0;
  padding-top: .75rem;
}

.uzt-sidebar-image {
  background: var(--uzt-soft);
  border-radius: .45rem;
  display: block;
  min-height: 72px;
  overflow: hidden;
}

.uzt-sidebar-image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.uzt-sidebar-image .uzt-photo-placeholder {
  min-height: 72px;
}

.uzt-sidebar-image .uzt-photo-placeholder > span {
  font-size: 1rem;
}

.uzt-sidebar-image .uzt-photo-placeholder small {
  display: none;
}

.uzt-sidebar-card > div > span {
  color: var(--uzt-teal);
  display: block;
  font-size: .56rem;
  font-weight: 820;
  letter-spacing: .06em;
  line-height: 1.25;
  margin-bottom: .22rem;
  text-transform: uppercase;
}

.uzt-sidebar-card h3 {
  font-size: .76rem;
  line-height: 1.34;
  margin: 0;
}

.uzt-sidebar-card h3 a {
  color: var(--uzt-navy) !important;
  text-decoration: none !important;
}

.uzt-sidebar-card h3 a:hover {
  color: var(--uzt-teal-dark) !important;
}

.archive .wp-block-query,
.blog .wp-block-query {
  margin-inline: 0 !important;
}

.archive .wp-block-post-template,
.blog .wp-block-post-template {
  align-items: stretch !important;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-inline: 0 !important;
  max-width: var(--uzt-page-width) !important;
  width: 100% !important;
}

.archive .wp-block-post-template > li,
.blog .wp-block-post-template > li {
  align-self: stretch !important;
  background: var(--uzt-paper);
  border: 1px solid var(--uzt-line);
  border-radius: .9rem;
  box-shadow: 0 6px 20px rgba(17, 47, 67, .055);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: 100%;
  margin-block: 0 !important;
  min-width: 0;
  overflow: hidden;
  padding: 0 1rem 1.05rem;
  transition: box-shadow .18s ease, transform .18s ease;
}

.archive .wp-block-post-template > li:hover,
.blog .wp-block-post-template > li:hover {
  box-shadow: var(--uzt-shadow-small);
  transform: translateY(-3px);
}

.archive .wp-block-post-template > li::before,
.blog .wp-block-post-template > li::before {
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, #dfeceb, #f5f7f6);
  background-position: center;
  background-size: cover;
  content: "";
  display: block;
  margin: 0 -1rem .95rem;
}

.category-gps-securite .wp-block-post-template > li::before {
  background-image: url("guides/gps-securite.webp");
}

.category-cameras-surveillance .wp-block-post-template > li::before {
  background-image: url("guides/cameras-surveillance.webp");
}

.category-distributeurs-automatiques .wp-block-post-template > li::before {
  background-image: url("guides/distributeurs-automatiques.webp");
}

.category-fontaines-hydratation .wp-block-post-template > li::before {
  background-image: url("guides/fontaines-hydratation.webp");
}

.category-chatieres-intelligentes .wp-block-post-template > li::before {
  background-image: url("guides/chatieres-intelligentes.webp");
}

.archive .wp-block-post-template > li.uzt-card-visual-gps-android::before,
.blog .wp-block-post-template > li.uzt-card-visual-gps-android::before {
  background-image: url("guides/gps-android-support-silicone.webp");
}

.archive .wp-block-post-template > li.uzt-card-visual-gps-sans-abonnement::before,
.blog .wp-block-post-template > li.uzt-card-visual-gps-sans-abonnement::before {
  background-image: url("guides/gps-sans-abonnement.webp");
}

.archive .wp-block-post-template > li.uzt-card-visual-gps-dispositif::before,
.blog .wp-block-post-template > li.uzt-card-visual-gps-dispositif::before {
  background-image: url("guides/gps-dispositif-collier.webp");
}

.archive .wp-block-post-template > li.uzt-card-visual-gps-guide::before,
.blog .wp-block-post-template > li.uzt-card-visual-gps-guide::before {
  background-image: url("guides/gps-securite.webp");
}

.archive .wp-block-post-template > li:has(.wp-block-post-featured-image img)::before,
.blog .wp-block-post-template > li:has(.wp-block-post-featured-image img)::before {
  display: none;
}

.archive .wp-block-post-featured-image,
.blog .wp-block-post-featured-image {
  margin: 0 -1rem .95rem !important;
  width: calc(100% + 2rem) !important;
}

.archive .wp-block-post-featured-image img,
.blog .wp-block-post-featured-image img {
  aspect-ratio: 16 / 9;
  display: block;
  object-fit: cover;
  width: 100%;
}

.archive .wp-block-post-title,
.blog .wp-block-post-title {
  color: var(--uzt-navy);
  font-size: 1.08rem;
  line-height: 1.35;
  margin-bottom: .45rem;
}

.archive .wp-block-post-title a,
.blog .wp-block-post-title a {
  color: inherit;
  text-decoration: none;
}

.archive .wp-block-post-title a:hover,
.blog .wp-block-post-title a:hover {
  color: var(--uzt-teal-dark);
}

.archive .wp-block-post-date,
.blog .wp-block-post-date {
  color: var(--uzt-muted);
  font-size: .7rem;
}

.archive .wp-block-post-excerpt,
.blog .wp-block-post-excerpt {
  color: var(--uzt-ink);
  flex: 1;
  font-size: .85rem;
  line-height: 1.55;
}

.archive .wp-block-read-more,
.archive .wp-block-post-excerpt__more-text,
.archive .wp-block-post-excerpt__more-link,
.blog .wp-block-read-more,
.blog .wp-block-post-excerpt__more-text,
.blog .wp-block-post-excerpt__more-link {
  display: none !important;
}

.archive main > .wp-block-query,
.archive main > .wp-block-group,
.archive main > h1,
.archive main > h2 {
  max-width: var(--uzt-page-width) !important;
}

.uzt-archive-description {
  color: var(--uzt-muted);
  font-size: .92rem;
  line-height: 1.55;
  margin: -.4rem 0 1.5rem;
  max-width: none !important;
}

.wp-block-comments,
.comments-area {
  background: var(--uzt-paper);
  border: 1px solid var(--uzt-line);
  border-radius: .9rem;
  box-sizing: border-box;
  margin-top: 1.5rem;
  max-width: calc(100% - 335px) !important;
  padding: 1.25rem;
}

.uzt-footer {
  background: var(--uzt-navy-deep);
  color: #dbe6ea;
  font-size: .72rem;
  line-height: 1.45;
  margin-top: 3rem;
  padding: 1.2rem 1rem;
  text-align: center;
}

.uzt-footer p {
  margin: .2rem auto;
  max-width: 900px;
}

@media (max-width: 980px) {
  .uzt-home-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .8fr);
  }

  .uzt-category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .uzt-home-showcase {
    grid-template-columns: minmax(0, 1.25fr) minmax(300px, .8fr);
  }

  .uzt-home-more-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uzt-article-shell {
    grid-template-columns: minmax(0, 1fr) 285px;
  }

  .archive .wp-block-post-template,
  .blog .wp-block-post-template {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .uzt-topbar {
    top: 46px;
  }

  .admin-bar .uzt-category-section {
    scroll-margin-top: 9rem;
  }

  .uzt-home-hero,
  .uzt-home-showcase,
  .uzt-article-shell {
    grid-template-columns: 1fr;
  }

  .uzt-home-hero {
    min-height: 0;
  }

  .uzt-hero-media {
    min-height: 310px;
  }

  .uzt-article-sidebar {
    grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
    position: static;
  }

  .wp-block-comments,
  .comments-area {
    max-width: 100% !important;
  }
}

@media (max-width: 680px) {
  .uzt-topbar {
    position: relative;
    top: 0 !important;
  }

  .uzt-category-section {
    scroll-margin-top: 1rem;
  }

  .admin-bar .uzt-category-section {
    scroll-margin-top: 4rem;
  }

  .uzt-topbar-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: .45rem;
  }

  .uzt-nav-links {
    flex-wrap: nowrap;
    justify-content: flex-start;
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: .25rem;
  }

  .uzt-nav-links a {
    white-space: nowrap;
  }

  .uzt-home-intro {
    padding: .8rem .65rem 2.5rem;
  }

  .uzt-home-copy {
    padding: 2rem 1.35rem;
  }

  .uzt-home-intro h1 {
    font-size: 2.15rem;
  }

  .uzt-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: .35rem;
  }

  .uzt-section-heading > p {
    text-align: left;
  }

  .uzt-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uzt-category-card > span {
    min-height: 112px;
  }

  .uzt-home-latest {
    padding: .8rem;
  }

  .uzt-article-main {
    padding: 1.05rem;
  }

  .uzt-article-sidebar {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .uzt-hero-actions,
  .uzt-primary-link,
  .uzt-secondary-link {
    width: 100%;
  }

  .uzt-category-grid,
  .uzt-home-more-grid,
  .archive .wp-block-post-template,
  .blog .wp-block-post-template {
    grid-template-columns: 1fr;
  }

  .uzt-category-card {
    display: grid;
    grid-template-columns: 125px minmax(0, 1fr);
  }

  .uzt-category-card img {
    aspect-ratio: auto;
    height: 100%;
  }

  .uzt-category-card > span {
    min-height: 96px;
  }

  .uzt-home-post-compact {
    grid-template-columns: 95px minmax(0, 1fr);
  }

  .uzt-amazon-button,
  .wp-block-button__link.uzt-amazon-button {
    width: auto !important;
  }
}
