.uzg-gear-cards-page--compact-title .c-pageTitle,
.uzg-gear-cards-page--compact-title .p-pageTitle,
.uzg-gear-cards-page--compact-title .entry-title {
  margin-bottom: 0 !important;
}

.uzg-gear-cards-page--compact-title .l-mainContent__inner > .post_content,
.uzg-gear-cards-page--compact-title .l-mainContent__inner > .entry-content,
.uzg-gear-cards-page--compact-title main .post_content {
  margin-top: 7px !important;
}

.uzg-gear-guide {
  margin: 0;
}

.uzg-gear-guide__intro {
  margin: 0 0 0.75em;
  color: #3f5261;
  font-size: clamp(0.92rem, 1.1vw, 1rem);
  line-height: 1.85;
}

.uzg-gear-guide__intro p {
  margin: 0;
}

.uzg-gear-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
  margin: 0.35em 0 2em;
}

.uzg-gear-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  color: inherit;
  text-decoration: none !important;
  background: #fff;
  border: 1px solid rgba(20, 47, 78, 0.12);
  border-radius: 14px;
  box-shadow: 0 7px 22px rgba(20, 47, 78, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.uzg-gear-card:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: rgba(14, 74, 130, 0.28);
  box-shadow: 0 12px 30px rgba(20, 47, 78, 0.14);
}

.uzg-gear-card:focus-visible {
  outline: 3px solid rgba(17, 98, 166, 0.45);
  outline-offset: 3px;
}

.uzg-gear-card__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #eef4f8;
}

.uzg-gear-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.uzg-gear-card:hover .uzg-gear-card__image {
  transform: scale(1.025);
}

.uzg-gear-card__placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: linear-gradient(145deg, #edf5fa, #dbeaf4);
  color: #17486e;
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 700;
}

.uzg-gear-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: clamp(12px, 1.5vw, 18px);
}

.uzg-gear-card__title {
  display: block;
  margin-bottom: 0.28em;
  color: #163f61;
  font-size: clamp(1rem, 1.35vw, 1.22rem);
  font-weight: 700;
  line-height: 1.45;
}

.uzg-gear-card__description {
  display: -webkit-box;
  overflow: hidden;
  margin-bottom: 1em;
  color: #4b5e6d;
  font-size: clamp(0.83rem, 1vw, 0.94rem);
  line-height: 1.75;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.uzg-gear-card__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45em;
  width: 100%;
  min-height: 42px;
  margin-top: auto;
  padding: 0.65em 0.8em;
  color: #fff;
  font-size: clamp(0.78rem, 0.95vw, 0.9rem);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  background: #174f79;
  border-radius: 999px;
}

.uzg-gear-card.is-coming-soon {
  cursor: default;
  opacity: 0.72;
}

.uzg-gear-card.is-coming-soon:hover {
  transform: none;
  box-shadow: 0 7px 22px rgba(20, 47, 78, 0.08);
}

.uzg-gear-card.is-coming-soon .uzg-gear-card__button {
  color: #526270;
  background: #e7edf1;
}

@media (max-width: 600px) {
  .uzg-gear-cards-page--compact-title .l-mainContent__inner > .post_content,
  .uzg-gear-cards-page--compact-title .l-mainContent__inner > .entry-content,
  .uzg-gear-cards-page--compact-title main .post_content {
    margin-top: 3px !important;
  }

  .uzg-gear-guide__intro {
    margin-bottom: 0.65em;
    font-size: 0.86rem;
    line-height: 1.75;
  }

  .uzg-gear-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 0.2em;
  }

  .uzg-gear-card {
    border-radius: 11px;
  }

  .uzg-gear-card__body {
    padding: 10px;
  }

  .uzg-gear-card__title {
    min-height: 0;
    margin-bottom: 0.12em;
    font-size: 0.93rem;
  }

  .uzg-gear-card__description {
    margin-top: 0;
    margin-bottom: 0.8em;
    font-size: 0.75rem;
    line-height: 1.6;
    -webkit-line-clamp: 2;
  }

  .uzg-gear-card__button {
    min-height: 38px;
    padding: 0.55em 0.45em;
    font-size: 0.72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .uzg-gear-card,
  .uzg-gear-card__image {
    transition: none;
  }
}

/* Detailed child / grandchild navigation */
.uzg-gear-details {
  margin: clamp(20px, 3vw, 38px) 0 2em;
}

.uzg-gear-details__title {
  margin: 0 0 0.28em !important;
  padding: 0.18em 0 0.28em 0.62em;
  color: #163f61;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.45;
  border-left: 5px solid #174f79;
  border-bottom: 1px solid rgba(23, 79, 121, 0.2);
}

.uzg-gear-details__intro {
  margin: 0 0 0.8em !important;
  color: #4b5e6d;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.8;
}

.uzg-gear-details__groups {
  display: grid;
  gap: clamp(16px, 2vw, 24px);
}

.uzg-gear-detail-group {
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(20, 47, 78, 0.12);
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(20, 47, 78, 0.07);
}

.uzg-gear-detail-group__head {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: linear-gradient(135deg, #f5f9fc, #eef5f9);
  border-bottom: 1px solid rgba(20, 47, 78, 0.1);
}

.uzg-gear-detail-group__thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 9px;
}

.uzg-gear-detail-group__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.uzg-gear-detail-group__copy {
  min-width: 0;
}

.uzg-gear-detail-group__title {
  margin: 0 0 0.25em;
  font-size: clamp(1.08rem, 1.5vw, 1.3rem);
  line-height: 1.45;
}

.uzg-gear-detail-group__title a {
  color: #163f61;
  text-decoration: none;
}

.uzg-gear-detail-group__description {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: #526574;
  font-size: 0.9rem;
  line-height: 1.65;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.uzg-gear-detail-group__footer {
  padding: 0 14px 14px;
}

.uzg-gear-detail-group__all {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.62em 1em;
  color: #fff !important;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none !important;
  background: #174f79;
  border-radius: 999px;
}

.uzg-gear-detail-group__terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding: 14px;
}

.uzg-gear-detail-link {
  display: flex;
  min-width: 0;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0.72em 0.85em;
  color: #174566 !important;
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none !important;
  background: #f8fbfd;
  border: 1px solid rgba(23, 79, 121, 0.16);
  border-radius: 9px;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.uzg-gear-detail-link:hover {
  transform: translateY(-1px);
  background: #eef6fb;
  border-color: rgba(23, 79, 121, 0.34);
}

.uzg-gear-detail-link__name {
  min-width: 0;
}

.uzg-gear-detail-link__arrow {
  flex: 0 0 auto;
  color: #2c6d9a;
}

.uzg-gear-detail-link__meta {
  flex: 0 0 auto;
  color: #6f7d87;
  font-size: 0.72rem;
  font-weight: 600;
  white-space: nowrap;
}

.uzg-gear-detail-link.is-coming-soon {
  color: #72808a !important;
  cursor: default;
  background: #f2f4f5;
  border-color: #e1e5e8;
}

.uzg-gear-detail-link.is-coming-soon:hover {
  transform: none;
  background: #f2f4f5;
  border-color: #e1e5e8;
}

@media (max-width: 900px) {
  .uzg-gear-detail-group__head {
    grid-template-columns: 120px minmax(0, 1fr);
  }


  .uzg-gear-detail-group__terms {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .uzg-gear-details {
    margin-top: 18px;
  }

  .uzg-gear-details__title {
    margin-bottom: 0.22em !important;
    font-size: 1.28rem;
  }

  .uzg-gear-details__intro {
    margin-bottom: 0.6em !important;
    font-size: 0.85rem;
  }

  .uzg-gear-detail-group__head {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .uzg-gear-detail-group__title {
    font-size: 1rem;
  }

  .uzg-gear-detail-group__description {
    font-size: 0.76rem;
    line-height: 1.55;
  }

  .uzg-gear-detail-group__footer {
    padding: 0 10px 10px;
  }

  .uzg-gear-detail-group__all {
    min-height: 40px;
    font-size: 0.78rem;
  }

  .uzg-gear-detail-group__terms {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
  }

  .uzg-gear-detail-link {
    min-height: 46px;
    font-size: 0.82rem;
  }
}

/* Workflow navigation: from catching fish to preserving it */
.uzg-gear-flow {
  margin: clamp(24px, 3.4vw, 44px) 0 2em;
}

.uzg-gear-flow__title {
  margin: 0 0 0.28em !important;
  padding: 0.18em 0 0.28em 0.62em;
  color: #163f61;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.45;
  border-left: 5px solid #174f79;
  border-bottom: 1px solid rgba(23, 79, 121, 0.2);
}

.uzg-gear-flow__intro {
  margin: 0 0 0.85em !important;
  color: #4b5e6d;
  font-size: clamp(0.9rem, 1vw, 1rem);
  line-height: 1.8;
}

.uzg-gear-flow__steps {
  display: grid;
  gap: 12px;
}

.uzg-gear-flow-step {
  display: grid;
  grid-template-columns: 76px minmax(190px, 0.75fr) minmax(0, 1.55fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  background: #fff;
  border: 1px solid rgba(20, 47, 78, 0.12);
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(20, 47, 78, 0.06);
}

.uzg-gear-flow-step__number {
  display: grid;
  width: 62px;
  min-height: 62px;
  place-content: center;
  color: #fff;
  text-align: center;
  background: #174f79;
  border-radius: 12px;
}

.uzg-gear-flow-step__number span {
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.uzg-gear-flow-step__number strong {
  font-size: 1.35rem;
  line-height: 1.05;
}

.uzg-gear-flow-step__copy {
  min-width: 0;
}

.uzg-gear-flow-step__title {
  margin: 0 0 0.18em !important;
  color: #163f61;
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  line-height: 1.45;
}

.uzg-gear-flow-step__description {
  margin: 0 !important;
  color: #526574;
  font-size: 0.86rem;
  line-height: 1.65;
}

.uzg-gear-flow-step__links {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  gap: 8px;
}

.uzg-gear-flow-link {
  display: flex;
  min-height: 40px;
  flex: 1 1 150px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 0.55em 0.75em;
  color: #174566 !important;
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.45;
  text-decoration: none !important;
  background: #f6fafc;
  border: 1px solid rgba(23, 79, 121, 0.16);
  border-radius: 9px;
  transition: transform 0.16s ease, background 0.16s ease, border-color 0.16s ease;
}

.uzg-gear-flow-link:hover {
  transform: translateY(-1px);
  background: #eef6fb;
  border-color: rgba(23, 79, 121, 0.34);
}

.uzg-gear-flow-link small {
  flex: 0 0 auto;
  color: #74818a;
  font-size: 0.68rem;
  white-space: nowrap;
}

.uzg-gear-flow-link.is-coming-soon {
  color: #72808a !important;
  background: #f2f4f5;
  border-color: #e1e5e8;
}

@media (max-width: 900px) {
  .uzg-gear-flow-step {
    grid-template-columns: 68px minmax(170px, 0.8fr) minmax(0, 1.3fr);
    gap: 12px;
  }
}

@media (max-width: 600px) {
  .uzg-gear-flow {
    margin-top: 22px;
  }

  .uzg-gear-flow__title {
    margin-bottom: 0.22em !important;
    font-size: 1.28rem;
  }

  .uzg-gear-flow__intro {
    margin-bottom: 0.65em !important;
    font-size: 0.85rem;
  }

  .uzg-gear-flow-step {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
    border-radius: 12px;
  }

  .uzg-gear-flow-step__number {
    width: 50px;
    min-height: 50px;
    border-radius: 10px;
  }

  .uzg-gear-flow-step__number strong {
    font-size: 1.12rem;
  }

  .uzg-gear-flow-step__title {
    font-size: 0.98rem;
  }

  .uzg-gear-flow-step__description {
    font-size: 0.75rem;
    line-height: 1.55;
  }

  .uzg-gear-flow-step__links {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
  }

  .uzg-gear-flow-link {
    min-height: 42px;
    padding: 0.52em 0.62em;
    font-size: 0.72rem;
  }
}

@media (max-width: 380px) {
  .uzg-gear-flow-step__links {
    grid-template-columns: 1fr;
  }
}
