/* ── VARIABLES ── */
.topaz-article {
  --ta-green: #1a7a6e;
  --ta-green-mid: #2a9d8f;
  --ta-green-pale: #eaf5f3;
  --ta-green-soft: #f0faf8;
  --ta-orange: #e8762a;
  --ta-orange-pale: #fef3eb;
  --ta-gold: #f5a623;
  --ta-gold-pale: #fef8ec;
  --ta-text: #1a1a2e;
  --ta-text-mid: #555e6c;
  --ta-text-light: #8a939e;
  --ta-border: #e8eced;
  --ta-bg: #f7f9fa;
  --ta-white: #ffffff;
  --ta-radius: 12px;
  --ta-shadow: 0 2px 12px rgba(0, 0, 0, 0.07);
  --ta-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.topaz-article p {
  width: 100%;
}

.faq-inner h2 {
  width: 100%;
}
.content-detail-post:before {
  width: 0px !important;
}
/* ── TOC ── */
.topaz-article .toc-section {
  background: var(--ta-white);
  border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius);
  padding: 20px 24px;
  margin-bottom: 24px;
}
.topaz-article .toc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ta-green);
  margin-bottom: 12px;
}
.topaz-article .toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.topaz-article .toc-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px dashed var(--ta-border);
}
.topaz-article .toc-list li:last-child {
  border-bottom: none;
}
.topaz-article .toc-num {
  font-size: 12px;
  font-weight: 700;
  color: var(--ta-white);
  background: var(--ta-green);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}
.topaz-article .toc-list a {
  font-size: 14px;
  color: var(--ta-text);
  text-decoration: none;
  font-weight: 500;
  flex: 1;
  transition: color 0.2s;
}
.topaz-article .toc-list a:hover {
  color: var(--ta-green);
}
.topaz-article .toc-rating {
  font-size: 12px;
  color: var(--ta-gold);
  font-weight: 600;
  white-space: nowrap;
}

/* ── INTRO ── */
.topaz-article .intro-wrap {
  margin-bottom: 28px;
}
.topaz-article .intro-box {
  background: var(--ta-green-pale);
  border-left: 4px solid var(--ta-green);
  border-radius: 0 var(--ta-radius) var(--ta-radius) 0;
  padding: 18px 22px;
}
.topaz-article .intro-box p {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: var(--ta-text);
  margin: 0;
}

/* ── SECTION HEADING ── */
.topaz-article .sec-head {
  margin-bottom: 20px;
}
.topaz-article .sec-head h2 {
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 700;
  color: var(--ta-text);
  line-height: 1.3;
  margin: 0 0 6px;
  width: 100%;
}
.topaz-article .sec-head p {
  font-size: 14px;
  color: var(--ta-text-mid);
  margin: 0;
}

/* ── CARDS WRAPPER ── */
.topaz-article .cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 32px;
}

/* ── CARD ── */
.topaz-article .card {
  background: var(--ta-white);
  border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius);
  overflow: hidden;
  box-shadow: var(--ta-shadow);
  transition:
    box-shadow 0.25s,
    transform 0.25s;
}
.topaz-article .card:hover {
  box-shadow: var(--ta-shadow-lg);
  transform: translateY(-2px);
}

/* card header */
.topaz-article .card-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--ta-border);
  background: var(--ta-white);
}
.topaz-article .rank {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--ta-green);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.topaz-article .rank.r1 {
  background: var(--ta-gold);
}
.topaz-article .rank.r2 {
  background: var(--ta-green-mid);
}
.topaz-article .title-block {
  flex: 1;
  min-width: 0;
}

.topaz-article .card-header p:not(.card-addr) {
  display: none;
}
.topaz-article .card-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--ta-text);
  margin: 0 0 2px;
  line-height: 1.3;
}
.topaz-article .card-addr {
  font-size: 12px;
  color: var(--ta-text-light);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}
.topaz-article .card-addr::before {
  content: "📍";
  font-size: 11px;
}
.topaz-article .stars-row {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
}
.topaz-article .stars {
  color: var(--ta-gold);
  font-size: 12px;
  letter-spacing: 1px;
}
.topaz-article .snum {
  font-weight: 700;
  font-size: 13px;
  color: var(--ta-text);
}
.topaz-article .rcnt {
  font-size: 12px;
  color: var(--ta-text-light);
}

/* card images — filmstrip */
.topaz-article .card-imgs {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: 165px;
  grid-auto-columns: 1fr;
  gap: 2px;
  overflow: hidden;
  background: var(--ta-text);
  position: relative;
}
.topaz-article .card-imgs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition:
    transform 0.3s,
    filter 0.2s;
  cursor: zoom-in;
}
.topaz-article .card-imgs img:hover {
  transform: scale(1.06);
  filter: brightness(1.07);
}
/* photo count badge */
.topaz-article .ta-img-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px 3px 7px;
  border-radius: 20px;
  pointer-events: none;
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* card body */
.topaz-article .card-body {
  padding: 20px;
}

.topaz-article .card-desc {
  font-size: 14.5px;
  color: var(--ta-text);
  line-height: 1.75;
  margin: 0 0 16px;
}

/* ── CONTACT BLOCK ── */
.topaz-article .contact-block {
  background: var(--ta-green-soft);
  border: 1px solid #c8e8e4;
  border-radius: var(--ta-radius);
  padding: 14px 18px;
  margin-bottom: 16px;
}
.topaz-article .contact-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ta-green);
  margin-bottom: 4px;
  padding-left: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  width: 100%;
}
.topaz-article .contact-title::before {
  content: "";
  display: inline-block;
  width: 3px;
  height: 11px;
  background: var(--ta-green);
  border-radius: 2px;
  flex-shrink: 0;
}
/* contact rows: 3-column grid [icon | label | value] */
.topaz-article .contact-grid {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.topaz-article .ci {
  display: grid;
  grid-template-columns: 30px max-content 1fr;
  align-items: center;
  column-gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(26, 122, 110, 0.1);
}
.topaz-article .ci p {
  margin-bottom: 0;
}
.topaz-article .ci:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
/* dissolve wrapper so icon/label/val are direct grid children */
.topaz-article .ci-text {
  display: contents;
}
.topaz-article .ci-icon {
  font-size: 15px;
  width: 30px;
  height: 30px;
  background: var(--ta-white);
  border: 1px solid #d4ece8;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07);
  /* self-align center in grid row */
  align-self: center;
}
.topaz-article .ci-label {
  font-size: 11px;
  color: var(--ta-text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
  white-space: nowrap;
  align-self: center;
  /* space before the value */
  padding-right: 4px;
}
.topaz-article .ci-label::after {
  content: ":";
  font-weight: 400;
  opacity: 0.6;
}
.topaz-article .ci-val {
  font-size: 14px;
  color: var(--ta-text);
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
  align-self: center;
}
.topaz-article .ci-val a {
  color: var(--ta-green);
  text-decoration: none;
  transition: color 0.2s;
}
.topaz-article .ci-val a:hover {
  color: var(--ta-green-mid);
  text-decoration: underline;
}
.topaz-article .ci-val.website a,
.topaz-article .ci-map a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ta-green);
}

/* ── HIGHLIGHTS ── */
.topaz-article .hl {
  background: var(--ta-bg);
  border-radius: var(--ta-radius);
  padding: 14px 18px;
  margin-bottom: 16px;
}
.topaz-article .hl-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ta-green);
  margin-bottom: 10px;
}
.topaz-article .hl ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.topaz-article .hl li {
  font-size: 14px;
  color: var(--ta-text);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}
.topaz-article .hl li::before {
  content: "✓";
  color: var(--ta-white);
  background: var(--ta-green);
  font-weight: 700;
  font-size: 10px;
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ── REVIEW QUOTE ── */
.topaz-article .rv {
  margin-bottom: 16px;
}
.topaz-article .rv-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ta-text-light);
  margin-bottom: 8px;
}
.topaz-article .rv-q {
  background: var(--ta-gold-pale);
  border-left: 3px solid var(--ta-gold);
  border-radius: 0 var(--ta-radius) var(--ta-radius) 0;
  padding: 14px 18px;
  font-size: 14px;
  font-style: italic;
  color: var(--ta-text);
  line-height: 1.7;
  position: relative;
}
.topaz-article .rv-author {
  margin-top: 8px;
  font-size: 12px;
  color: var(--ta-text-mid);
  text-align: right;
  font-style: normal;
  font-weight: 600;
}

/* ── CTA BUTTONS ── */
.topaz-article .card-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 4px;
}
.topaz-article .btn-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--ta-green);
  color: #fff;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition:
    background 0.2s,
    transform 0.15s;
}
.topaz-article .btn-call:hover {
  background: var(--ta-green-mid);
  transform: translateY(-1px);
  color: #fff;
}
.topaz-article .btn-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 2px solid var(--ta-green);
  color: var(--ta-green);
  text-decoration: none;
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
  background: transparent;
}
.topaz-article .btn-map:hover {
  background: var(--ta-green);
  color: #fff;
}

/* ── SKIP NOTE ── */
.topaz-article .skip-wrap {
  margin-bottom: 16px;
}
.topaz-article .skip-box {
  background: #fffbeb;
  border: 1px solid #f5d87a;
  border-radius: var(--ta-radius);
  padding: 14px 18px;
  font-size: 13.5px;
  color: #7a5a00;
  line-height: 1.6;
}
.topaz-article .skip-box strong {
  color: #5a3a00;
}

/* ── FAQ ── */
.topaz-article .faq-section {
  background: var(--ta-white);
  border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius);
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: var(--ta-shadow);
}
.topaz-article .faq-inner > h2 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--ta-text);
  margin: 0 0 6px;
}
.topaz-article .faq-inner > p {
  font-size: 14px;
  color: var(--ta-text-mid);
  margin: 0 0 20px;
}
.topaz-article .faq-item {
  border-bottom: 1px solid var(--ta-border);
}
.topaz-article .faq-item:last-child {
  border-bottom: none;
}
.topaz-article .faq-q {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--ta-text);
  margin: 0;
  padding: 14px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  user-select: none;
  transition: color 0.2s;
}
.topaz-article .faq-q:hover {
  color: var(--ta-green);
}
.topaz-article .faq-q::after {
  content: "+";
  font-size: 20px;
  color: var(--ta-green);
  flex-shrink: 0;
  font-weight: 300;
  transition: transform 0.3s;
  line-height: 1;
  width: 24px;
  text-align: center;
}
.topaz-article .faq-item.open .faq-q::after {
  transform: rotate(45deg);
}
.topaz-article .faq-a {
  font-size: 14px;
  color: var(--ta-text-mid);
  line-height: 1.75;
  overflow: hidden;
  max-height: 0;
  transition:
    max-height 0.35s ease,
    padding 0.25s ease;
  padding-bottom: 0;
}
.topaz-article .faq-item.open .faq-a {
  max-height: 600px;
  padding-bottom: 14px;
  width: 100%;
}

/* ── CRITERIA ── */
.topaz-article .criteria-section {
  background: var(--ta-green-pale);
  border: 1px solid #c8e8e4;
  border-radius: var(--ta-radius);
  padding: 24px;
  margin-bottom: 24px;
}
.topaz-article .criteria-inner > h2 {
  font-size: clamp(18px, 2.5vw, 22px);
  font-weight: 700;
  color: var(--ta-text);
  margin: 0 0 6px;
}
.topaz-article .criteria-inner > p {
  font-size: 14px;
  color: var(--ta-text-mid);
  margin: 0 0 20px;
}
.topaz-article .crit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
}
.topaz-article .crit {
  background: var(--ta-white);
  border: 1px solid #c8e8e4;
  border-radius: 10px;
  padding: 16px;
}
.topaz-article .crit-icon {
  font-size: 22px;
  display: block;
  margin-bottom: 8px;
}
.topaz-article .crit-t {
  font-weight: 700;
  font-size: 13.5px;
  color: var(--ta-green);
  margin: 0 0 5px;
}
.topaz-article .crit-d {
  font-size: 13px;
  color: var(--ta-text-mid);
  line-height: 1.6;
  margin: 0;
}

/* ── FOOTER ── */
.topaz-article .ta-footer {
  background: var(--ta-bg);
  border: 1px solid var(--ta-border);
  border-radius: var(--ta-radius);
  padding: 20px 24px;
  text-align: center;
  margin-bottom: 24px;
}
.topaz-article .ta-footer p {
  font-size: 14px;
  color: var(--ta-text-mid);
  max-width: 600px;
  margin: 0 auto 6px;
  line-height: 1.7;
}
.topaz-article .ta-footer .fn {
  font-size: 12px;
  color: var(--ta-text-light);
  margin: 8px auto 0;
}

/* ── LIGHTBOX ── */
.ta-lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 99999;
  align-items: center;
  justify-content: center;
  cursor: zoom-out;
  padding: 20px;
}
.ta-lightbox-overlay.active {
  display: flex;
}
.ta-lightbox-overlay img {
  max-width: 92vw;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 48px rgba(0, 0, 0, 0.6);
  cursor: default;
  animation: ta-lb-in 0.2s ease;
}
@keyframes ta-lb-in {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.ta-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
  line-height: 40px;
  text-align: center;
  font-weight: 300;
  opacity: 0.75;
  transition:
    opacity 0.2s,
    background 0.2s;
  border-radius: 50%;
}
.ta-lightbox-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
}
.ta-lightbox-counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.ta-lightbox-prev,
.ta-lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.ta-lightbox-prev {
  left: 16px;
}
.ta-lightbox-next {
  right: 16px;
}
.ta-lightbox-prev:hover,
.ta-lightbox-next:hover {
  background: rgba(255, 255, 255, 0.3);
}
.topaz-article .card-imgs img {
  cursor: zoom-in;
}

/* ── RESPONSIVE MOBILE ── */
@media (max-width: 640px) {
  .topaz-article .toc-section {
    padding: 16px;
  }
  .topaz-article .toc-list a {
    font-size: 13px;
  }

  .topaz-article .card-header {
    padding: 14px 16px;
    gap: 10px;
  }
  .topaz-article .card-name {
    font-size: 15px;
  }

  .topaz-article .card-imgs {
    grid-template-columns: 1fr 1fr;
    height: 160px;
  }
  .topaz-article .card-imgs {
    grid-template-rows: 130px;
  }

  .topaz-article .card-body {
    padding: 16px;
  }
  .topaz-article .card-desc {
    font-size: 14px;
    width: 100%;
  }

  .topaz-article .ci {
    column-gap: 8px;
  }
  .topaz-article .ci-label {
    font-size: 10px;
  }
  .topaz-article .ci-val {
    font-size: 13px;
  }

  .topaz-article .crit-grid {
    grid-template-columns: 1fr;
  }

  .topaz-article .btn-call,
  .topaz-article .btn-map {
    flex: 1;
    justify-content: center;
    padding: 11px 12px;
  }

  .topaz-article .faq-section,
  .topaz-article .criteria-section,
  .topaz-article .ta-footer {
    padding: 18px 16px;
  }
}
