/* Vietnamese Zither & Guzheng Academy (đàn tranh & cổ tranh): green-black lacquer, warm rice paper, brass strings, cinnabar seal.
   Signature shapes: long parallel strings crossed by a diagonal row of bridges (nhạn đàn), and the gently arched soundboard (photo frames).
   Everything is scoped to .dt-page / .dt-* modals / the two đàn tranh body classes so other instruments are untouched. */

.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you {
  --dt-lacquer: #10292a; --dt-lacquer-2: #183b3b; --dt-lacquer-3: #0a1c1d;
  --dt-paper: #f8f3e9; --dt-silk: #efe6d5; --dt-line: #ddd0ba;
  --dt-ink: #1b2422; --dt-muted: #555c57; --dt-soft: #cdd7d1;
  --dt-brass: #d2ad5f; --dt-brass-deep: #7a5a1f; --dt-cinnabar: #a7352a; --dt-jade: #2c6a59;
  --dt-arch: 46% 46% 18px 18px / 15% 15% 18px 18px;
  background: var(--dt-paper);
}
.dt-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------- Base ---------- */
.dt-page { overflow-x: clip; background: var(--dt-paper); color: var(--dt-ink); font-family: "Be Vietnam Pro", sans-serif; line-height: 1.75; }
.dt-page *, .dt-trial-modal *, .dt-photo-modal * { box-sizing: border-box; }
.dt-page h1, .dt-page h2, .dt-page h3, .dt-page h4, .dt-page p, .dt-page figure, .dt-page blockquote { margin: 0; }
.dt-page h1, .dt-page h2 { font-family: "Noto Serif", Georgia, "Times New Roman", serif; font-weight: 400; letter-spacing: -.025em; color: inherit; text-wrap: balance; }
.dt-page h2 { font-size: clamp(2rem, 3.8vw, 3.2rem); line-height: 1.16; }
.dt-page h2 em { font-style: italic; color: var(--dt-cinnabar); }
.dt-page h3 { color: inherit; }
.dt-page a:not(.dt-button) { color: inherit !important; }
.dt-page button { font-family: inherit; }
.dt-page :is(a, button, summary, iframe):focus-visible,
.dt-trial-modal :is(a, button):focus-visible, .dt-photo-modal button:focus-visible { outline: 3px solid var(--dt-cinnabar); outline-offset: 4px; }
.dt-page :is(.dt-hero, .dt-section--lacquer, .dt-signup__copy, .dt-contact) :is(a, button):focus-visible { outline-color: var(--dt-brass); }
.dt-page section[id] { scroll-margin-top: 96px; }
.dt-page ul, .dt-page ol { margin: 0; padding: 0; list-style: none; }

.dt-eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 18px !important; color: var(--dt-cinnabar); font-size: .72rem; font-weight: 600; letter-spacing: .18em; line-height: 1.5; text-transform: uppercase; }
/* Three strings as the eyebrow mark */
.dt-eyebrow::before { content: ""; flex: none; width: 30px; height: 7px; background: repeating-linear-gradient(180deg, currentColor 0 1px, transparent 1px 3px); opacity: .8; }
.dt-heading--center .dt-eyebrow { justify-content: center; }

.dt-section { padding: 104px 0; }
.dt-section--silk { background: var(--dt-silk); }
.dt-section--lacquer { background: var(--dt-lacquer); color: var(--dt-paper); }
.dt-section--lacquer .dt-eyebrow { color: var(--dt-brass); }
.dt-section--lacquer h2 em { color: var(--dt-brass); }
.dt-heading { max-width: 760px; margin-bottom: 52px; }
.dt-heading--center { margin-inline: auto; text-align: center; }
.dt-heading--split { max-width: none; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8%; align-items: end; }
.dt-heading--split > p { max-width: 480px; color: var(--dt-muted); font-size: .95rem; }
.dt-section--lacquer .dt-heading--split > p { color: var(--dt-soft); }
.dt-lead { font-family: "Noto Serif", Georgia, serif; font-size: 1.2rem; line-height: 1.75; }

/* ---------- Buttons & links ---------- */
.dt-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 32px; }
.dt-button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 26px; border: 1px solid var(--dt-lacquer); border-radius: 999px; background: var(--dt-lacquer); color: var(--dt-paper) !important; font-size: .88rem; font-weight: 600; line-height: 1.3; text-align: center; text-decoration: none; cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.dt-button:hover { background: var(--dt-cinnabar); border-color: var(--dt-cinnabar); color: #fff !important; }
.dt-button--brass { background: var(--dt-brass); border-color: var(--dt-brass); color: var(--dt-lacquer-3) !important; }
.dt-button--brass:hover { background: #e6c681; border-color: #e6c681; color: var(--dt-lacquer-3) !important; }
.dt-button--ghost { background: transparent; border-color: #d2ad5f88; color: var(--dt-paper) !important; }
.dt-button--ghost:hover { background: #ffffff14; border-color: var(--dt-brass); color: var(--dt-paper) !important; }
.dt-link { display: inline-block; padding: 4px 0; border-bottom: 1px solid currentColor; font-size: .85rem; font-weight: 600; text-decoration: none; }
.dt-link:hover { opacity: .75; }

/* ---------- Hero ---------- */
.dt-hero { position: relative; overflow: hidden; color: var(--dt-paper);
  background: radial-gradient(60% 85% at 80% 40%, #22504b 0%, transparent 65%), linear-gradient(160deg, var(--dt-lacquer-2) 0%, var(--dt-lacquer) 55%, var(--dt-lacquer-3) 100%); }
.dt-hero__strings { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--dt-brass); opacity: .2; pointer-events: none;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 55%); mask-image: linear-gradient(90deg, transparent 8%, #000 55%); }
.dt-hero__strings line { stroke: currentColor; stroke-width: 1; vector-effect: non-scaling-stroke; }
.dt-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 6%; align-items: center; padding-top: 80px; padding-bottom: 88px; }
.dt-hero .dt-eyebrow { color: var(--dt-brass); }
.dt-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.6rem); line-height: 1.06; margin-bottom: 26px; }
.dt-hero h1 em { font-style: italic; color: var(--dt-brass); }
.dt-hero__facts { max-width: 500px; color: var(--dt-soft); font-size: 1.05rem; }
.dt-hero__notes { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 36px !important; padding-top: 24px !important; border-top: 1px solid #d2ad5f33; font-size: .9rem; color: var(--dt-paper); }
.dt-hero__notes li { display: flex; align-items: center; gap: 10px; }
.dt-hero__notes svg { flex: none; width: 18px; height: 15px; color: var(--dt-brass); }

.dt-hero__art { position: relative; width: 100%; max-width: 480px; justify-self: center; padding: 22px 12px 64px 64px; }
.dt-hero__main { position: relative; }
/* A second arched outline, offset like the curved soundboard behind the photo */
.dt-hero__main::before { content: ""; position: absolute; inset: 0; border: 1px solid #d2ad5f80; border-radius: var(--dt-arch); transform: translate(14px, -14px); pointer-events: none; }
.dt-hero__main img { position: relative; display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 62% 50%; border-radius: var(--dt-arch); background: var(--dt-lacquer-2); box-shadow: 0 34px 60px -28px #000d; }
.dt-hero__inset { position: absolute; left: 0; bottom: 0; width: 54%; }
.dt-hero__inset img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10.4; object-fit: cover; border: 6px solid var(--dt-lacquer); border-radius: 18px; box-shadow: 0 20px 40px -18px #000c; }
.dt-hero__seal { position: absolute; top: 0; right: 0; width: 92px; height: 92px; border-radius: 50%; box-shadow: 0 0 0 4px var(--dt-lacquer), 0 0 0 5px #d2ad5f80, 0 14px 30px -8px #000; }

@media (prefers-reduced-motion: no-preference) {
  .dt-hero__copy > *, .dt-hero__art { animation: dt-rise .7s cubic-bezier(.2, .7, .2, 1) both; }
  .dt-hero__copy > :nth-child(2) { animation-delay: .06s; }
  .dt-hero__copy > :nth-child(3) { animation-delay: .12s; }
  .dt-hero__copy > :nth-child(4) { animation-delay: .18s; }
  .dt-hero__copy > :nth-child(5) { animation-delay: .24s; }
  .dt-hero__art { animation-delay: .15s; }
}
@keyframes dt-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- Section nav ---------- */
.dt-nav { border-bottom: 1px solid var(--dt-line); background: var(--dt-paper); }
.dt-nav > .container { display: flex; gap: 6px 30px; overflow-x: auto; scrollbar-width: thin; }
.dt-nav a { display: inline-flex; align-items: center; min-height: 56px; flex: none; border-bottom: 2px solid transparent; font-size: .8rem; font-weight: 500; white-space: nowrap; text-decoration: none; }
.dt-nav a:first-child { margin-left: auto; }
.dt-nav a:last-child { margin-right: auto; }
.dt-nav a:hover { border-bottom-color: var(--dt-brass); color: var(--dt-cinnabar) !important; }
/* The nav scrolls horizontally, which would clip an outside focus ring */
.dt-page .dt-nav a:focus-visible { outline-offset: -3px; }

/* ---------- Two instruments ---------- */
.dt-duet { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; max-width: 1080px; margin: 0 auto; }
.dt-instrument { --dt-accent: var(--dt-jade); display: flex; flex-direction: column; overflow: hidden; border: 1px solid var(--dt-line); border-radius: 24px; background: #fffdf8; box-shadow: 0 26px 50px -38px #10292a; }
.dt-instrument--cn { --dt-accent: var(--dt-cinnabar); }
.dt-instrument__photo { aspect-ratio: 5 / 4; overflow: hidden; }
.dt-instrument__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.dt-instrument__body { flex: 1; padding: 30px 34px 36px; border-top: 4px solid var(--dt-accent); }
.dt-instrument__origin { color: var(--dt-accent); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.dt-page .dt-instrument h3 { margin-top: 8px; font-family: "Noto Serif", Georgia, serif; font-size: clamp(1.55rem, 2.5vw, 2rem); font-weight: 400; line-height: 1.25; }
.dt-instrument__body > p:last-child { color: var(--dt-muted); font-size: .98rem; }
/* Short run of strings as the divider */
.dt-rule { display: block; width: 72px; height: 13px; margin: 18px 0; background: repeating-linear-gradient(180deg, var(--dt-accent) 0 1px, transparent 1px 4px); opacity: .7; }
.dt-duet__or { position: absolute; top: 40%; left: 50%; display: grid; place-items: center; width: 64px; height: 64px; transform: translate(-50%, -50%); border: 1px solid var(--dt-brass); border-radius: 50%; background: var(--dt-paper); color: var(--dt-cinnabar); font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 1.15rem; box-shadow: 0 0 0 6px var(--dt-paper); }

/* ---------- Course levels: one bridge per level ---------- */
.dt-levels { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.dt-level { display: flex; flex-direction: column; padding: 28px 28px 30px; border: 1px solid var(--dt-line); border-top: 3px solid var(--dt-jade); border-radius: 6px 6px 22px 22px; background: #fffdf8; }
.dt-level--popular { border-color: var(--dt-cinnabar); border-top-width: 3px; box-shadow: 0 24px 44px -32px var(--dt-cinnabar); }
.dt-level__head { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; margin-bottom: 18px; }
.dt-level__bridges { grid-column: 1 / -1; display: flex; gap: 6px; height: 18px; margin-bottom: 10px; color: var(--dt-brass-deep); }
.dt-level__bridges svg { width: 20px; height: 17px; }
.dt-level__number { font-family: "Noto Serif", Georgia, serif; font-size: 2.3rem; line-height: 1; color: var(--dt-jade); }
.dt-level--popular .dt-level__number { color: var(--dt-cinnabar); }
.dt-page .dt-level h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-family: "Noto Serif", Georgia, serif; font-size: 1.45rem; font-weight: 400; line-height: 1.25; }
.dt-badge { padding: 3px 11px; border-radius: 999px; background: var(--dt-cinnabar); color: #fff; font-family: "Be Vietnam Pro", sans-serif; font-size: .68rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.dt-level__courses { display: grid; gap: 6px; margin-bottom: 20px !important; padding-bottom: 20px !important; border-bottom: 1px solid var(--dt-line); }
.dt-level__courses li { display: flex; align-items: center; gap: 10px; font-size: .86rem; font-weight: 600; line-height: 1.45; }
.dt-level__courses li::before { content: ""; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--dt-jade); }
.dt-level__courses li + li::before { background: var(--dt-cinnabar); }
.dt-level__items li { position: relative; padding-left: 20px; color: var(--dt-muted); font-size: .9rem; line-height: 1.6; }
.dt-level__items li + li { margin-top: 9px; }
/* A tiny bridge as the bullet */
.dt-level__items li::before { content: ""; position: absolute; left: 1px; top: .5em; width: 9px; height: 8px; background: var(--dt-brass-deep); clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.dt-courses-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; margin-top: 44px; padding: 28px 34px; border-radius: 22px; background: var(--dt-paper); border: 1px solid var(--dt-line); }
.dt-courses-cta p { max-width: 560px; font-family: "Noto Serif", Georgia, serif; font-size: 1.15rem; line-height: 1.6; }

/* ---------- Introduction ---------- */
.dt-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 8%; align-items: center; }
.dt-intro h2 { margin-bottom: 26px; }
.dt-intro__photo { position: relative; max-width: 460px; justify-self: end; width: 100%; }
.dt-intro__photo::after { content: ""; position: absolute; inset: 16px -16px -16px 16px; z-index: 0; border: 1px solid var(--dt-brass); border-radius: 22px; pointer-events: none; }
.dt-intro__photo img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 22px; }
.dt-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: 80px; border-top: 1px solid var(--dt-line); }
.dt-feature { padding: 34px 26px 0 0; }
.dt-feature + .dt-feature { padding-left: 26px; border-left: 1px solid var(--dt-line); }
.dt-feature__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 20px; border-radius: 50%; background: var(--dt-lacquer); color: var(--dt-brass); }
.dt-page .dt-feature h3 { margin-bottom: 12px; font-family: "Noto Serif", Georgia, serif; font-size: 1.3rem; font-weight: 400; line-height: 1.3; }
.dt-feature p { color: var(--dt-muted); font-size: .9rem; line-height: 1.75; }

/* ---------- Gallery ---------- */
.dt-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 19vw, 250px); gap: 14px; }
.dt-gallery__item { min-width: 0; }
.dt-gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.dt-gallery__item:nth-child(4), .dt-gallery__item:nth-child(5) { grid-column: span 2; }
.dt-gallery__photo { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 14px; overflow: hidden; background: var(--dt-lacquer-2); cursor: zoom-in; }
.dt-gallery__item:nth-child(1) .dt-gallery__photo { border-radius: var(--dt-arch); }
.dt-gallery__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dt-gallery__item:nth-child(5) img { object-position: 50% 70%; }
.dt-gallery__number { position: absolute; left: 12px; bottom: 10px; padding: 2px 10px; border-radius: 999px; background: #0a1c1dcc; color: var(--dt-paper); font-family: "Noto Serif", Georgia, serif; font-size: .78rem; }
@media (prefers-reduced-motion: no-preference) {
  .dt-gallery__photo img { transition: transform .45s ease; }
  .dt-gallery__photo:hover img { transform: scale(1.035); }
}

.dt-photo-modal { --bs-modal-zindex: 1100; }
.page-pages-dan_tranh:has(.dt-photo-modal.show) :is(.floating-contact, .zalo-chat-widget) { visibility: hidden; }
.dt-photo-modal .modal-content, .dt-trial-modal .modal-content { background: var(--dt-paper); color: var(--dt-ink); border: 0; border-radius: 22px; overflow: hidden; }
.dt-photo-modal .modal-header, .dt-trial-modal .modal-header { gap: 16px; padding: 18px 22px; border-bottom: 1px solid var(--dt-line); }
.dt-photo-modal .modal-title { font: 600 .95rem/1.5 "Be Vietnam Pro", sans-serif; color: var(--dt-ink); }
.dt-photo-modal .modal-body { padding: 12px; }
.dt-photo-modal .modal-body img { display: block; width: 100%; height: auto; max-height: 76vh; max-height: 76dvh; object-fit: contain; border-radius: 14px; }
.page-pages-dan_tranh .modal:is(.dt-photo-modal, .dt-trial-modal) .btn-close { flex: 0 0 44px; width: 44px; height: 44px; margin: 0 0 0 auto; padding: 0; transform: none; border-radius: 50%; background-color: #fff; background-size: 14px; opacity: 1; filter: none; }

/* ---------- Videos ---------- */
.dt-videos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 28px; }
.dt-video { min-width: 0; }
.dt-video__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 16px; background: var(--dt-lacquer); box-shadow: 0 22px 40px -30px #10292a; }
.dt-video__frame iframe { display: block; width: 100%; height: 100%; border: 0; }
.dt-video__caption { display: flex; align-items: baseline; gap: 12px; margin-top: 14px !important; }
.dt-video__caption span { font-family: "Noto Serif", Georgia, serif; font-size: 1.1rem; color: var(--dt-cinnabar); }

/* ---------- Reviews ---------- */
.dt-reviews { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.dt-review { position: relative; display: flex; flex-direction: column; padding: 34px 30px 26px; border: 1px solid var(--dt-line); border-radius: 22px; background: #fffdf8; }
.dt-review::before { content: "“"; position: absolute; top: 10px; right: 22px; font-family: "Noto Serif", Georgia, serif; font-size: 4.4rem; line-height: 1; color: #a7352a33; }
.dt-review blockquote { flex: 1; margin-bottom: 24px !important; }
.dt-review blockquote p { font-family: "Noto Serif", Georgia, serif; font-size: 1.04rem; line-height: 1.75; }
.dt-review figcaption { display: flex; align-items: center; gap: 14px; padding-top: 18px; border-top: 1px solid var(--dt-line); font-size: .82rem; color: var(--dt-muted); }
.dt-review figcaption strong { display: block; color: var(--dt-ink); font-size: .98rem; }
.dt-review__photo { flex: none; width: 60px; height: 76px; border-radius: 30px 30px 10px 10px; object-fit: cover; object-position: 50% 22%; background: var(--dt-silk); }
.dt-reviews__note { max-width: 640px; margin: 44px auto 0 !important; text-align: center; font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 1.15rem; line-height: 1.6; color: var(--dt-cinnabar); }

/* ---------- FAQ ---------- */
.dt-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 8%; align-items: start; }
.dt-faq__help { margin-top: 22px !important; color: var(--dt-muted); font-size: .9rem; }
.dt-faq__help a { font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.dt-faq__list details { border-bottom: 1px solid #d2c3aa; }
.dt-faq__list details:first-child { border-top: 1px solid #d2c3aa; }
.dt-faq__list summary { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 64px; padding: 18px 0; cursor: pointer; font-size: 1rem; font-weight: 600; line-height: 1.5; list-style: none; }
.dt-faq__list summary::-webkit-details-marker { display: none; }
.dt-faq__list summary::after { content: "+"; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border: 1px solid var(--dt-brass); border-radius: 50%; color: var(--dt-cinnabar); font-family: "Noto Serif", Georgia, serif; font-size: 1.2rem; line-height: 1; }
.dt-faq__list details[open] summary::after { content: "–"; background: var(--dt-lacquer); border-color: var(--dt-lacquer); color: var(--dt-brass); }
.dt-faq__list details > p, .dt-faq__centers { padding-bottom: 20px; color: var(--dt-muted); font-size: .94rem; }
.dt-faq__list details > p:has(+ .dt-faq__centers) { padding-bottom: 10px; }
.dt-page .dt-faq__centers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 24px; }
.dt-faq__centers li { position: relative; padding-left: 18px; }
.dt-faq__centers li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--dt-jade); }

/* ---------- Locations ---------- */
.dt-locations { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.dt-locations__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 36px; }
.dt-locations__list li { padding: 22px 0; border-top: 1px solid var(--dt-line); }
.dt-locations__number { color: var(--dt-cinnabar); font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.dt-page .dt-locations h3 { margin: 4px 0 2px; font-family: "Noto Serif", Georgia, serif; font-size: 1.4rem; font-weight: 400; }
.dt-locations__list p { margin-bottom: 8px !important; color: var(--dt-muted); font-size: .9rem; }
.dt-contact { position: sticky; top: 96px; padding: 32px; border-radius: 24px; background: var(--dt-lacquer); color: var(--dt-paper); }
.dt-contact__logo { display: block; width: 64px; height: 64px; margin-bottom: 18px; border-radius: 50%; box-shadow: 0 0 0 1px #d2ad5f66; }
.dt-page .dt-contact h3 { margin-bottom: 20px; font-family: "Noto Serif", Georgia, serif; font-size: 1.55rem; font-weight: 400; }
.dt-contact dl { margin: 0; }
.dt-contact dl > div { padding: 12px 0; border-top: 1px solid #d2ad5f33; }
.dt-contact dt { color: var(--dt-brass); font-size: .72rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.dt-contact dd { margin: 2px 0 0; font-size: 1.05rem; font-weight: 600; overflow-wrap: anywhere; }
.dt-contact dd a { text-decoration: none; }
.dt-contact__links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 20px; }
.dt-page .dt-contact__links a { color: var(--dt-brass) !important; }

/* ---------- Related posts (shared partial) ---------- */
.page-pages-dan_tranh .subject-reading { background: var(--dt-silk); color: var(--dt-ink); }
.page-pages-dan_tranh .subject-reading .subject-reading__eyebrow { color: var(--dt-cinnabar); }
.page-pages-dan_tranh .subject-reading h2 { font-family: "Noto Serif", Georgia, serif; font-weight: 400; color: var(--dt-ink); }
.page-pages-dan_tranh .subject-reading__more { color: var(--dt-lacquer); }
.page-pages-dan_tranh .subject-reading__card { border-color: var(--dt-line); border-radius: 20px; background: var(--dt-paper); }
.page-pages-dan_tranh .subject-reading__image { background: var(--dt-silk); }
.page-pages-dan_tranh .subject-reading .subject-reading__kind { color: var(--dt-cinnabar); }
.page-pages-dan_tranh .subject-reading .subject-reading__body h3 { color: var(--dt-ink); }
.page-pages-dan_tranh .subject-reading .subject-reading__excerpt, .page-pages-dan_tranh .subject-reading__date { color: var(--dt-muted); }
.page-pages-dan_tranh .subject-reading__placeholder { color: var(--dt-brass-deep); }

/* ---------- Signup ---------- */
.dt-signup { position: relative; overflow: hidden; padding: 104px 0 36px; color: var(--dt-paper);
  background: radial-gradient(55% 75% at 12% 18%, #22504b 0%, transparent 62%), var(--dt-lacquer); }
/* Strings running behind the form */
.dt-signup::before { content: ""; position: absolute; inset: 0 0 auto; height: 100%; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 29px, #d2ad5f1a 29px 30px); }
.dt-signup .dt-eyebrow { color: var(--dt-brass); }
.dt-signup__grid { position: relative; display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 7%; align-items: start; }
.dt-signup h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
.dt-signup__copy > p:not(.dt-eyebrow) { margin-top: 22px !important; color: var(--dt-soft); font-size: .95rem; }
.dt-signup__contact { line-height: 2 !important; }
.dt-page .dt-signup__contact a { color: var(--dt-brass) !important; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.dt-signup__photo { max-width: 300px; margin-top: 40px !important; }
.dt-signup__photo img { display: block; width: 100%; height: auto; aspect-ratio: 800 / 1032; object-fit: cover; border-radius: var(--dt-arch); box-shadow: 0 30px 50px -30px #000; }
.dt-signup__form { padding: 26px 26px 18px; border-radius: 26px; background: var(--dt-paper); color: var(--dt-ink); box-shadow: 0 40px 70px -40px #000; }
.dt-signup__form iframe { display: block; width: 100%; min-height: 420px; border: 0; }
.dt-signup__signature { position: relative; margin: 64px 0 0 !important; padding-top: 28px; border-top: 1px solid #d2ad5f26; text-align: center; color: #b9c7bf; font-size: .72rem; letter-spacing: .24em; }
.dt-form-help { margin: 0 0 16px; font-size: .88rem; }
.dt-signup__form .dt-form-help { margin: 12px 0 0; text-align: center; color: var(--dt-muted); }
.dt-form-help a, .dt-page .dt-form-help a { color: var(--dt-cinnabar) !important; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Thank-you page (/dan-tranh/cam-on) ---------- */
.dt-thanks { position: relative; overflow: hidden; color: var(--dt-paper);
  background: radial-gradient(55% 80% at 22% 35%, #22504b 0%, transparent 62%), linear-gradient(160deg, var(--dt-lacquer-2) 0%, var(--dt-lacquer) 60%, var(--dt-lacquer-3) 100%); }
.dt-thanks::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(180deg, transparent 0 29px, #d2ad5f1f 29px 30px); }
.dt-thanks__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 7%; align-items: center; padding-top: 72px; padding-bottom: 88px; }
.dt-thanks__art { position: relative; width: 100%; max-width: 400px; justify-self: center; padding: 22px 22px 22px 0; }
.dt-thanks__art .dt-hero__main img { aspect-ratio: 4 / 5; object-position: 58% 50%; }
.dt-thanks__art .dt-hero__seal { top: auto; right: 0; bottom: 0; }
.dt-thanks__letter { padding: 46px 48px 40px; border-radius: 28px; background: var(--dt-paper); color: var(--dt-ink); box-shadow: 0 40px 70px -40px #000; }
.dt-thanks h1 { margin-bottom: 26px; font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1.05; color: var(--dt-lacquer); }
.dt-thanks .dt-eyebrow { color: var(--dt-cinnabar); }
.dt-thanks__body p { color: var(--dt-muted); font-size: 1rem; line-height: 1.8; }
.dt-thanks__body p + p { margin-top: 16px; }
.dt-page .dt-thanks__call { padding: 16px 20px; border-left: 3px solid var(--dt-brass); border-radius: 0 14px 14px 0; background: var(--dt-silk); color: var(--dt-ink); font-weight: 600; }
.dt-thanks .dt-actions { margin-top: 24px; }
.dt-thanks__signature { display: flex; align-items: center; gap: 16px; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--dt-line); }
.dt-thanks__signature svg { flex: none; width: 34px; height: 28px; color: var(--dt-brass-deep); }
.dt-thanks__signature p { font-family: "Noto Serif", Georgia, serif; font-style: italic; font-size: 1.12rem; line-height: 1.6; color: var(--dt-cinnabar); }
.dt-thanks__signature strong { font-weight: 400; color: var(--dt-ink); }
.dt-page .dt-thanks__help { margin-top: 20px; color: var(--dt-muted); font-size: .85rem; }
.dt-thanks__help a { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }

/* ---------- Trial modal & popup ---------- */
.dt-trial-modal .modal-header { padding: 22px 24px; }
.dt-trial-modal .dt-eyebrow { color: var(--dt-cinnabar); }
.dt-trial-modal .modal-title { font: 400 1.55rem/1.3 "Noto Serif", Georgia, serif; color: var(--dt-ink); }
.dt-trial-modal iframe { display: block; border: 0; }
.dt-trial-modal .dt-form-help { color: var(--dt-muted); }
.dt-trial-modal .dt-form-help.text-center { margin: 12px 0 0; }
.page-pages-dan_tranh .promo-popup__dialog { background: var(--dt-paper); color: var(--dt-ink); }
.page-pages-dan_tranh .promo-popup__body h3 { font-family: "Noto Serif", Georgia, serif; font-weight: 400; color: var(--dt-ink); }
.page-pages-dan_tranh .promo-popup__body .text-muted { color: var(--dt-cinnabar) !important; letter-spacing: .14em; }

/* ---------- Header & footer (outside .dt-page; shared by landing and thank-you pages) ---------- */
:is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-header { background: rgba(16, 41, 42, .9); border-bottom-color: #d2ad5f26; }
:is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-header.scrolled { background: rgba(10, 28, 29, .97); }
:is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-header__image-logo .site-logo { height: 50px; width: 50px; border-radius: 50%; box-shadow: 0 0 0 1px #d2ad5f59; filter: none; }
:is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-header__image-logo .site-header__tagline { color: var(--dt-soft); border-left-color: #d2ad5f40; }
:is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-header :is(.nav-link, .dropdown-item).active { color: var(--dt-brass) !important; }
:is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-header .nav-link.active::after { background: var(--dt-brass); }
:is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-header .dropdown-menu { background: rgba(16, 41, 42, .97); border-color: #d2ad5f33; }
.page-pages-dan_tranh .site-header .btn-primary,
.page-pages-dan_tranh .site-header .btn-primary:hover,
.page-pages-dan_tranh .site-header .btn-primary:focus,
.page-pages-dan_tranh .site-header .btn-primary:active { background: var(--dt-brass) !important; border-color: transparent !important; color: var(--dt-lacquer-3) !important; box-shadow: 0 6px 18px -6px rgba(210, 173, 95, .5) !important; }
.page-pages-dan_tranh .site-header .btn-primary:hover { filter: brightness(1.06); }
:is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-footer { background: var(--dt-lacquer-3); }
:is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-footer__glow { background: radial-gradient(circle, #2c6a5940, transparent 70%); }

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .dt-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-feature:nth-child(3) { padding-left: 0; border-left: 0; }
  .dt-feature:nth-child(n + 3) { margin-top: 34px; }
  .dt-levels { gap: 18px; }
  .dt-level { padding: 24px 22px 26px; }
}
@media (max-width: 991.98px) {
  .dt-section { padding: 76px 0; }
  .dt-hero__grid { gap: 44px; padding-top: 56px; padding-bottom: 68px; }
  .dt-intro, .dt-faq, .dt-signup__grid, .dt-thanks__grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .dt-intro__photo { justify-self: center; max-width: 420px; }
  .dt-features { margin-top: 64px; }
  .dt-duet { gap: 32px; }
  .dt-instrument__body { padding: 26px 26px 30px; }
  .dt-levels { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; }
  .dt-videos, .dt-reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dt-locations { grid-template-columns: minmax(0, 1fr); }
  .dt-contact { position: static; }
  .dt-signup__photo { display: none; }
  .dt-thanks__grid { padding-top: 44px; padding-bottom: 64px; }
  .dt-thanks__art { max-width: 320px; }
}
@media (max-width: 767.98px) {
  .dt-page .container, .dt-signup .container { padding-left: 20px; padding-right: 20px; }
  .dt-section { padding: 60px 0; }
  .dt-heading { margin-bottom: 34px; }
  .dt-heading--split { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .dt-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 40px; padding-bottom: 54px; }
  .dt-hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); }
  .dt-hero__facts { font-size: 1rem; }
  .dt-hero__notes { flex-direction: column; gap: 10px; }
  .dt-hero__strings { -webkit-mask-image: linear-gradient(180deg, transparent 30%, #000 75%); mask-image: linear-gradient(180deg, transparent 30%, #000 75%); }
  .dt-hero__art { max-width: 360px; padding: 18px 8px 52px 44px; }
  .dt-hero__seal { width: 72px; height: 72px; }
  .dt-actions .dt-button { flex: 1 1 100%; }
  .dt-nav > .container { gap: 22px; }
  .dt-nav a:first-child { margin-left: 0; }
  .dt-duet { grid-template-columns: minmax(0, 1fr); }
  .dt-duet__or { position: static; justify-self: center; order: 1; margin: -10px 0; width: 56px; height: 56px; transform: none; }
  .dt-instrument--cn { order: 2; }
  .dt-instrument__photo { aspect-ratio: 4 / 3.4; }
  .dt-level { padding: 22px 20px 24px; }
  .dt-courses-cta { padding: 24px 20px; }
  .dt-courses-cta .dt-button { width: 100%; }
  .dt-features { grid-template-columns: minmax(0, 1fr); margin-top: 52px; }
  .dt-feature:nth-child(n) { margin-top: 0; padding: 28px 0; border-left: 0; }
  .dt-feature:nth-child(n + 2) { border-top: 1px solid var(--dt-line); }
  .dt-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(130px, 42vw, 220px); gap: 10px; }
  .dt-gallery__number { left: 8px; bottom: 8px; font-size: .7rem; }
  /* Videos and reviews swipe sideways so a next card peeks in; locations pair up */
  .dt-videos, .dt-reviews { display: flex; gap: 14px; margin-inline: -20px; padding: 0 20px 6px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; scrollbar-width: none; }
  .dt-videos::-webkit-scrollbar, .dt-reviews::-webkit-scrollbar { display: none; }
  .dt-videos > .dt-video, .dt-reviews > * { flex: 0 0 84%; scroll-snap-align: start; }
  .dt-locations__list { gap: 0 16px; }
  .dt-locations__list li { padding: 16px 0; }
  .dt-locations__list li:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .dt-page .dt-locations h3 { font-size: 1.12rem; }
  .dt-locations__list p { font-size: .8rem; line-height: 1.5; }
  .dt-review { padding: 28px 22px 22px; }
  .dt-page .dt-faq__centers { grid-template-columns: minmax(0, 1fr); }
  .dt-contact { padding: 26px 22px; }
  .dt-signup { padding-top: 64px; }
  .dt-signup__form { padding: 18px 14px 14px; border-radius: 20px; }
  .dt-thanks__art { max-width: 270px; }
  .dt-thanks__letter { padding: 30px 22px 26px; border-radius: 22px; }
  .dt-trial-modal .modal-title { font-size: 1.28rem; }
  .dt-photo-modal .modal-header { padding: 12px 14px; }
  :is(.page-pages-dan_tranh, .page-pages-dan_tranh_thank_you) .site-header__image-logo .site-logo { height: 44px; width: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .dt-page *, .dt-page *::before, .dt-page *::after, .dt-photo-modal *, .dt-trial-modal * { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- Article videos (posts#show, figure.post-video only) ----------
   The figure holds a plain source link; article_videos_controller prepends a .post-video__frame iframe
   sized from the source ratio. Capped at 560px so portrait reels stay a readable height. */
.post-article__body figure.post-video { width: 100%; max-width: 560px; margin: 2rem auto; }
.post-article__body .post-video__frame { display: block; max-width: 100%; border: 1px solid rgba(210, 173, 95, .28) !important; border-radius: 14px; background: #0a1c1d; box-shadow: 0 22px 44px -30px #000; }
.post-article__body a.post-video__source { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-top: 12px; font-size: .88rem; font-weight: 600; line-height: 1.45; overflow-wrap: anywhere; }
/* Small play mark, drawn without text so the link name stays the article's own wording */
.post-article__body a.post-video__source::before { content: ""; flex: none; width: 9px; height: 10px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.post-article__body a.post-video__source:focus-visible { outline: 3px solid #d2ad5f; outline-offset: 3px; border-radius: 4px; }
/* Before the player loads, or if it cannot be embedded, the link stands in as a card */
.post-article__body figure.post-video:not(:has(.post-video__frame)) a.post-video__source { width: 100%; min-height: 56px; margin-top: 0; padding: 14px 18px; border: 1px solid rgba(210, 173, 95, .35); border-radius: 14px; background: rgba(210, 173, 95, .08); text-decoration: none; }
@media (max-width: 575.98px) {
  .post-article__body figure.post-video { margin: 1.5rem 0; }
  .post-article__body .post-video__frame { border-radius: 10px; }
}
