.jc-guides-page {
  background:
    radial-gradient(circle at top left, rgba(184, 105, 45, 0.18), transparent 32rem),
    radial-gradient(circle at top right, rgba(120, 78, 39, 0.14), transparent 28rem),
    #0e0e0d;
  color: #f4efe6;
  font-family: inherit;
  overflow: hidden;
}

.jc-guides-page *,
.jc-guides-page *::before,
.jc-guides-page *::after,
.jc-article-page *,
.jc-article-page *::before,
.jc-article-page *::after {
  box-sizing: border-box;
}

.jc-guides-page a,
.jc-article-page a {
  color: inherit;
  text-decoration: none;
}

.jc-guides-page img,
.jc-article-page img {
  display: block;
  width: 100%;
  height: auto;
}

.jc-kicker,
.jc-guide-label,
.jc-guide-card__category {
  display: inline-block;
  margin: 0 0 0.85rem;
  color: #d99a5f !important;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.35;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.jc-guides-hero {
  position: relative;
  padding: clamp(5rem, 9vw, 8rem) 1.25rem clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(217, 154, 95, 0.16);
}

.jc-guides-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 13, 0.98), rgba(14, 14, 13, 0.86), rgba(14, 14, 13, 0.96)),
    url("https://jewelrycalculator.online/wp-content/uploads/2026/05/templates3.avif") center / cover no-repeat;
  opacity: 0.42;
}

.jc-guides-hero__inner {
  position: relative;
  z-index: 2;
  max-width: 1180px;
  margin: 0 auto;
}

.jc-guides-hero h1 {
  max-width: 920px;
  margin: 0;
  color: #fff8ec;
  font-size: clamp(2.5rem, 6vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.055em;
}

.jc-guides-hero__lead {
  max-width: 760px;
  margin: 1.45rem 0 0;
  color: rgba(244, 239, 230, 0.78);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  line-height: 1.75;
}

.jc-guides-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.jc-button,
.jc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.88rem 1.25rem;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.jc-button:hover,
.jc-btn:hover {
  transform: translateY(-2px);
}

.jc-button--primary,
.jc-btn-primary {
  background: linear-gradient(135deg, #d99a5f, #a9602d);
  color: #130d09 !important;
  border: 1px solid rgba(255, 218, 174, 0.45);
  box-shadow: 0 18px 44px rgba(169, 96, 45, 0.28);
}

.jc-button--secondary,
.jc-btn-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: #f6ead8 !important;
  border: 1px solid rgba(217, 154, 95, 0.32);
}

.jc-button--secondary:hover,
.jc-btn-secondary:hover {
  background: rgba(217, 154, 95, 0.09);
  border-color: rgba(217, 154, 95, 0.62);
}

.jc-guide-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  max-width: 1180px;
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: 0 1.25rem;
}

.jc-guide-feature__media {
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(217, 154, 95, 0.2);
  border-radius: 1.6rem;
  background: #171513;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
}

.jc-guide-feature__media img {
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.jc-guide-feature__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.6rem, 4vw, 3rem);
  border: 1px solid rgba(217, 154, 95, 0.18);
  border-radius: 1.6rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    #141312;
}

.jc-guide-feature__content h2 {
  margin: 0;
  color: #fff4e4;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.jc-guide-feature__content p:not(.jc-kicker) {
  margin: 1.1rem 0 0;
  color: rgba(244, 239, 230, 0.76);
  font-size: 1.03rem;
  line-height: 1.75;
}

.jc-text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 1.35rem;
  color: #e3a66d !important;
  font-weight: 800;
  border-bottom: 1px solid rgba(227, 166, 109, 0.5);
}

.jc-text-link:hover {
  color: #ffd1a3 !important;
  border-bottom-color: #ffd1a3;
}

.jc-guide-categories {
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 1.25rem;
}

.jc-section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.jc-section-heading h2 {
  margin: 0;
  color: #fff4e4;
  font-size: clamp(2rem, 4vw, 3.45rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.jc-section-heading p:not(.jc-kicker) {
  margin: 1rem 0 0;
  color: rgba(244, 239, 230, 0.72);
  font-size: 1.04rem;
  line-height: 1.72;
}

.jc-guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.jc-guide-card {
  overflow: hidden;
  border: 1px solid rgba(217, 154, 95, 0.16);
  border-radius: 1.35rem;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.015)),
    #151311;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.22);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.jc-guide-card:hover {
  transform: translateY(-4px);
  border-color: rgba(217, 154, 95, 0.42);
  background:
    linear-gradient(145deg, rgba(217, 154, 95, 0.08), rgba(255, 255, 255, 0.018)),
    #171411;
}

.jc-guide-card--large {
  grid-column: span 2;
}

.jc-guide-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #1b1714;
}

.jc-guide-card__image img {
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

.jc-guide-card:hover .jc-guide-card__image img {
  transform: scale(1.045);
}

.jc-guide-card__body {
  padding: 1.25rem;
}

.jc-guide-card h3 {
  margin: 0;
  color: #fff4e4;
  font-size: clamp(1.22rem, 2vw, 1.6rem);
  line-height: 1.16;
  letter-spacing: -0.025em;
}

.jc-guide-card p:not(.jc-guide-card__category) {
  margin: 0.8rem 0 0;
  color: rgba(244, 239, 230, 0.68);
  font-size: 0.95rem;
  line-height: 1.65;
}

.jc-guide-clusters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(1rem, 4vw, 3rem) 1.25rem clamp(2.5rem, 6vw, 5rem);
}

.jc-guide-cluster {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid rgba(217, 154, 95, 0.16);
  border-radius: 1.35rem;
  background:
    radial-gradient(circle at top right, rgba(217, 154, 95, 0.08), transparent 18rem),
    rgba(255, 255, 255, 0.035);
}

.jc-guide-cluster h2 {
  margin: 0;
  color: #fff4e4;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.jc-guide-cluster p {
  margin: 0.85rem 0 0;
  color: rgba(244, 239, 230, 0.7);
  line-height: 1.7;
}

.jc-guide-cluster ul {
  display: grid;
  gap: 0.55rem;
  margin: 1.15rem 0 0;
  padding: 0;
  list-style: none;
}

.jc-guide-cluster li {
  margin: 0;
}

.jc-guide-cluster a {
  display: inline-flex;
  color: #e3a66d !important;
  font-weight: 750;
  line-height: 1.45;
}

.jc-guide-cluster a:hover {
  color: #ffd1a3 !important;
}

.jc-guide-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  max-width: 1180px;
  margin: 0 auto clamp(3rem, 6vw, 5rem);
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(217, 154, 95, 0.24);
  border-radius: 1.6rem;
  background:
    linear-gradient(135deg, rgba(217, 154, 95, 0.13), rgba(255, 255, 255, 0.025)),
    #151311;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.jc-guide-cta h2 {
  margin: 0;
  color: #fff4e4;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.jc-guide-cta p:not(.jc-kicker) {
  max-width: 700px;
  margin: 0.95rem 0 0;
  color: rgba(244, 239, 230, 0.72);
  line-height: 1.72;
}

.jc-article-page {
  background:
    radial-gradient(circle at top left, rgba(184, 105, 45, 0.16), transparent 34rem),
    radial-gradient(circle at top right, rgba(120, 78, 39, 0.12), transparent 30rem),
    #0e0e0d;
  color: #f4efe6;
  font-family: inherit;
  overflow: hidden;
}

.jc-article-hero {
  position: relative;
  padding: clamp(4.5rem, 8vw, 7rem) 1.25rem clamp(2.5rem, 5vw, 4.5rem);
  border-bottom: 1px solid rgba(217, 154, 95, 0.16);
}

.jc-article-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(14, 14, 13, 0.98), rgba(14, 14, 13, 0.83), rgba(14, 14, 13, 0.96));
  z-index: 1;
}

.jc-article-hero > * {
  position: relative;
  z-index: 2;
}

.jc-article-hero h1 {
  max-width: 980px;
  margin: 0;
  color: #fff8ec;
  font-size: clamp(2.35rem, 5.8vw, 5rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.jc-article-lead,
.jc-page-lead {
  max-width: 800px;
  margin: 1.35rem 0 0;
  color: rgba(244, 239, 230, 0.78) !important;
  font-size: clamp(1.05rem, 2vw, 1.22rem);
  line-height: 1.75;
}

.jc-article-body {
  padding: clamp(2.5rem, 5vw, 4.5rem) 1.25rem;
}

.jc-container {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.jc-article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.jc-article-main {
  min-width: 0;
}

.jc-article-main h2 {
  margin: 2.7rem 0 1rem;
  color: #fff4e4 !important;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.jc-article-main h3 {
  margin: 2rem 0 0.8rem;
  color: #fff4e4 !important;
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.jc-article-main p,
.jc-article-main li {
  color: rgba(244, 239, 230, 0.84) !important;
  font-size: 1.02rem;
  line-height: 1.78;
}

.jc-article-main p {
  margin: 1rem 0;
}

.jc-article-main ul,
.jc-article-main ol {
  margin: 1rem 0 1.5rem;
  padding-left: 1.35rem;
}

.jc-article-main li + li {
  margin-top: 0.45rem;
}

.jc-article-main strong,
.jc-sidebar-card strong {
  color: #f5d2aa !important;
}

.jc-article-main a,
.jc-sidebar-card a {
  color: #e3a66d !important;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(227, 166, 109, 0.42);
  text-underline-offset: 0.18em;
}

.jc-article-main a:hover,
.jc-sidebar-card a:hover {
  color: #ffd1a3 !important;
  text-decoration-color: #ffd1a3;
}

.jc-article-main img {
  margin: 1.6rem 0;
  border: 1px solid rgba(217, 154, 95, 0.18);
  border-radius: 1.35rem;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}

.jc-article-sidebar {
  position: sticky;
  top: 2rem;
  display: grid;
  gap: 1rem;
}

.jc-sidebar-card {
  padding: 1.25rem;
  border: 1px solid rgba(217, 154, 95, 0.18);
  border-radius: 1.2rem;
  background:
    radial-gradient(circle at top right, rgba(217, 154, 95, 0.08), transparent 14rem),
    #171513;
  color: rgba(244, 239, 230, 0.86) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.2);
}

.jc-sidebar-card .jc-guide-label {
  color: #d99a5f !important;
  opacity: 1 !important;
}

.jc-sidebar-card h2,
.jc-sidebar-card h3,
.jc-sidebar-card h4 {
  margin: 0 0 0.75rem;
  color: #fff4e4 !important;
  font-size: 1.05rem;
  line-height: 1.25;
}

.jc-sidebar-card p,
.jc-sidebar-card li {
  color: rgba(244, 239, 230, 0.82) !important;
  font-size: 0.94rem;
  line-height: 1.65;
}

.jc-sidebar-card p {
  margin: 0.55rem 0 0;
}

.jc-sidebar-card ul {
  display: grid;
  gap: 0.55rem;
  margin: 0.8rem 0 0;
  padding: 0;
  list-style: none;
}

.jc-sidebar-card li {
  margin: 0;
}

.jc-note-box,
.jc-reference-box,
.jc-formula-box,
.jc-tip-box,
.jc-warning-box {
  margin: 1.6rem 0;
  padding: clamp(1.15rem, 3vw, 1.6rem);
  border: 1px solid rgba(217, 154, 95, 0.2);
  border-radius: 1.2rem;
  background:
    linear-gradient(145deg, rgba(217, 154, 95, 0.08), rgba(255, 255, 255, 0.018)),
    #171513;
  color: rgba(244, 239, 230, 0.88) !important;
}

.jc-note-box *,
.jc-reference-box *,
.jc-formula-box *,
.jc-tip-box *,
.jc-warning-box * {
  color: rgba(244, 239, 230, 0.88) !important;
  opacity: 1 !important;
}

.jc-note-box strong,
.jc-reference-box strong,
.jc-formula-box strong,
.jc-tip-box strong,
.jc-warning-box strong {
  color: #f5d2aa !important;
}

.jc-formula-box {
  background:
    radial-gradient(circle at top left, rgba(217, 154, 95, 0.12), transparent 18rem),
    #181411;
}

.jc-article-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  overflow: hidden;
  border: 1px solid rgba(217, 154, 95, 0.22);
  border-radius: 1rem;
  background: #171513;
  color: rgba(244, 239, 230, 0.9) !important;
}

.jc-article-page thead,
.jc-article-page tbody,
.jc-article-page tr {
  background: transparent;
}

.jc-article-page table th {
  background: #241d17 !important;
  color: #f7ddbd !important;
  font-weight: 800;
  font-size: 0.95rem;
  padding: 1rem;
  border: 1px solid rgba(217, 154, 95, 0.13);
  opacity: 1 !important;
}

.jc-article-page table td {
  color: rgba(244, 239, 230, 0.88) !important;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.055);
  background: rgba(255, 255, 255, 0.025) !important;
  opacity: 1 !important;
}

.jc-article-page table tr:nth-child(even) td {
  background: rgba(255, 255, 255, 0.045) !important;
}

.jc-article-page table tr:hover td {
  background: rgba(217, 154, 95, 0.1) !important;
}

.jc-article-page table strong,
.jc-article-page table b {
  color: #f5d2aa !important;
}

.jc-article-page .wp-block-table {
  margin: 2rem 0;
  overflow-x: auto;
}

.jc-article-page figcaption,
.jc-article-page .wp-caption-text {
  margin-top: -0.8rem;
  color: rgba(244, 239, 230, 0.58) !important;
  font-size: 0.88rem;
  line-height: 1.55;
}

.jc-final-cta-box {
  margin: clamp(2rem, 5vw, 4rem) 0;
  padding: clamp(1.5rem, 4vw, 2.4rem);
  border: 1px solid rgba(217, 154, 95, 0.24);
  border-radius: 1.6rem;
  background:
    linear-gradient(135deg, rgba(217, 154, 95, 0.13), rgba(255, 255, 255, 0.025)),
    #151311;
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.3);
}

.jc-final-cta-box h2 {
  margin: 0;
  color: #fff4e4 !important;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.jc-final-cta-box p {
  max-width: 720px;
  margin: 0.95rem 0 1.25rem;
  color: rgba(244, 239, 230, 0.76) !important;
  line-height: 1.72;
}

@media (max-width: 980px) {
  .jc-guide-feature {
    grid-template-columns: 1fr;
  }

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

  .jc-guide-card--large {
    grid-column: span 2;
  }

  .jc-guide-clusters {
    grid-template-columns: 1fr;
  }

  .jc-guide-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .jc-article-layout {
    grid-template-columns: 1fr;
  }

  .jc-article-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .jc-guides-hero,
  .jc-article-hero {
    padding-top: 4rem;
  }

  .jc-guides-hero h1,
  .jc-article-hero h1 {
    font-size: clamp(2.25rem, 13vw, 3.6rem);
  }

  .jc-guides-hero__actions {
    flex-direction: column;
  }

  .jc-button,
  .jc-btn {
    width: 100%;
  }

  .jc-guide-feature__media,
  .jc-guide-feature__media img {
    min-height: 300px;
  }

  .jc-guide-grid {
    grid-template-columns: 1fr;
  }

  .jc-guide-card--large {
    grid-column: span 1;
  }

  .jc-guide-card__body {
    padding: 1.1rem;
  }

  .jc-container {
    width: min(100% - 1.5rem, 1180px);
  }

  .jc-article-body {
    padding-inline: 0.75rem;
  }

  .jc-article-page table {
    display: block;
    overflow-x: auto;
    white-space: nowrap;
  }
}