/* Inner-page components for Lab Grown Diamonds Houston.
   Loaded after styles.css on inner pages only. */

:root { --lgdh-royal: #001B8C; --lgdh-ink: #14182b; --lgdh-line: rgba(0, 27, 140, .14); }

/* Breadcrumb in the page hero */
.page-hero .crumbs {
  display: flex; justify-content: center; gap: .6em; flex-wrap: wrap;
  font-family: Inter, system-ui, sans-serif; font-size: .78rem; letter-spacing: .08em;
  text-transform: uppercase; margin: 0 0 1.4rem; opacity: .75;
}
.page-hero .crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; }
.page-hero .crumbs a:hover { opacity: 1; }

/* Numbered tip / process list */
.tips-list { list-style: none; margin: 2.4rem auto 0; padding: 0; max-width: 820px; display: grid; gap: 1.6rem; }
.tips-list li { display: grid; grid-template-columns: 3.2rem 1fr; gap: 1.2rem; align-items: start;
  padding-bottom: 1.6rem; border-bottom: 1px solid var(--lgdh-line); }
.tips-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.tips-list h3 { margin: 0 0 .35em; }
.tips-list p { margin: 0; }

/* Comparison table */
.compare-wrap { overflow-x: auto; margin-top: 2.4rem; -webkit-overflow-scrolling: touch; }
.compare { width: 100%; min-width: 620px; border-collapse: collapse; background: #fff;
  font-family: Inter, system-ui, sans-serif; font-size: .95rem; }
.compare th, .compare td { padding: 1rem 1.1rem; text-align: left; border-bottom: 1px solid var(--lgdh-line); vertical-align: top; }
.compare thead th { font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.compare tbody th { font-weight: 500; color: var(--lgdh-ink); }
.compare .hl { background: rgba(0, 27, 140, .06); color: var(--lgdh-royal); font-weight: 600; }
.compare thead .hl { background: var(--lgdh-royal); color: #fff; }

/* Houston areas served */
.area-list { list-style: none; padding: 0; margin: 2rem auto 0; max-width: 900px;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .7rem 1.4rem; text-align: center; }
.area-list li { padding: .7rem .4rem; border: 1px solid rgba(255, 255, 255, .22); font-family: Inter, system-ui, sans-serif;
  font-size: .9rem; letter-spacing: .03em; }

/* Our Work gallery */
.work-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.6rem; margin-top: 2.4rem; }
.work-item { margin: 0; background: #fff; border: 1px solid var(--lgdh-line); display: flex; flex-direction: column; }
.work-img { aspect-ratio: 1 / 1; overflow: hidden; background: #f4f5f9; }
.work-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.work-item:hover .work-img img { transform: scale(1.04); }
.work-item figcaption { padding: 1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .25rem; }
.work-item figcaption strong { font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.3rem; font-weight: 600; color: var(--lgdh-ink); }
.work-item figcaption span { font-family: Inter, system-ui, sans-serif; font-size: .85rem; opacity: .75; }

/* Related pages */
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.2rem; margin-top: 2rem; }
.related-card { display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: .3rem 1rem;
  padding: 1.6rem 1.6rem; background: #fff; border: 1px solid var(--lgdh-line); text-decoration: none; color: var(--lgdh-ink);
  transition: border-color .2s, transform .2s; }
.related-card:hover { border-color: var(--lgdh-royal); transform: translateY(-2px); }
.related-eyebrow { grid-column: 1; font-family: Inter, system-ui, sans-serif; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--lgdh-royal); }
.related-title { grid-column: 1; font-family: "Cormorant Garamond", Georgia, serif; font-size: 1.45rem; font-weight: 600; }
.related-go { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: 1.4rem; color: var(--lgdh-royal); }

/* Inline link on light backgrounds */
.inline-link-dark { color: var(--lgdh-royal); text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 640px) {
  .tips-list li { grid-template-columns: 2.4rem 1fr; gap: .8rem; }
  .work-grid { grid-template-columns: 1fr 1fr; gap: .9rem; }
  .work-item figcaption { padding: .7rem .8rem .9rem; }
  .work-item figcaption strong { font-size: 1.1rem; }
}

/* Image slots with a labeled placeholder (fine jewelry pages) */
.ph-slot { position: relative; margin: 0; overflow: hidden; width: 100%;
  background: linear-gradient(135deg, #eef1fa 0%, #dfe4f4 100%); }
.ph-slot.ph-1x1 { aspect-ratio: 1 / 1; }
.ph-slot.ph-4x5 { aspect-ratio: 4 / 5; }
.ph-slot.ph-3x2 { aspect-ratio: 3 / 2; }
.ph-slot::before { content: attr(data-ph); white-space: pre-line; position: absolute; inset: 12px;
  display: flex; align-items: center; justify-content: center; text-align: center; padding: 1rem;
  border: 1px dashed rgba(0, 27, 140, .35); color: var(--lgdh-royal);
  font-family: Inter, system-ui, sans-serif; font-size: .78rem; letter-spacing: .04em; line-height: 1.6; }
.ph-slot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.jewel-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; margin-top: 2.4rem; }
.jewel-card { display: flex; flex-direction: column; gap: .9rem; text-decoration: none; color: inherit; }
a.jewel-card:hover .ph-slot img { transform: scale(1.04); transition: transform .6s ease; }
