/* Irish Jewellery Trade Directory — builds on style.css tokens (--slate-*, --blue-*). */
.td-preview-banner { background: #fef3c7; color: #78350f; border-bottom: 1px solid #f59e0b; padding: .75rem 1.5rem; text-align: center; font-size: .95rem; }
.td-hero { background: var(--gradient-dark); color: var(--white); padding: 4.5rem 1.5rem 3.5rem; }
.td-hero--compact { padding: 3rem 1.5rem 2.25rem; }
.td-hero h1 { color: var(--white); font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; margin-bottom: .75rem; letter-spacing: -.02em; }
.td-hero--compact h1 { font-size: clamp(1.75rem, 3.6vw, 2.4rem); }
.td-kicker { color: var(--teal-400); font-family: var(--font-mono); font-size: .85rem; margin-bottom: .75rem; }
.td-lede { color: var(--slate-300); font-size: 1.1rem; max-width: 46rem; line-height: 1.6; }
.td-search { margin-top: 2rem; display: grid; grid-template-columns: 2fr 1.4fr 1.2fr 1fr; gap: .75rem; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 1rem; }
.td-search .td-field span { color: var(--slate-300); }
.td-field { display: flex; flex-direction: column; gap: .35rem; font-size: .9rem; margin-bottom: .9rem; }
.td-search .td-field { margin-bottom: 0; }
.td-field span { font-weight: 600; color: var(--slate-700); }
.td-field input, .td-field select, .td-field textarea {
  font: inherit; font-size: 1rem; padding: .65rem .75rem; border: 1px solid var(--slate-300); border-radius: 8px; background: var(--white); color: var(--slate-900); width: 100%;
}
.td-field textarea { resize: vertical; }
.td-field input:focus, .td-field select:focus, .td-field textarea:focus { outline: 2px solid var(--blue-500); outline-offset: 1px; border-color: var(--blue-500); }
.td-section { padding: 3rem 1.5rem; background: var(--white); }
.td-section--alt { background: var(--slate-50); }
.td-section h2, .td-h2 { font-size: 1.35rem; margin: 0 0 1rem; color: var(--slate-900); }
.td-h2, .td-section .td-h2 { margin-top: 2rem; }
.td-contact .td-h2, .td-listing > div > .td-h2:first-child { margin-top: 0; }
.td-count { color: var(--slate-600); margin-bottom: 1rem; font-weight: 600; }
.td-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1rem; }
.td-card { border: 1px solid var(--slate-200); border-radius: 12px; padding: 1.1rem 1.2rem; background: var(--white); display: flex; flex-direction: column; gap: .45rem; transition: box-shadow var(--transition-fast), border-color var(--transition-fast); }
.td-card:hover { border-color: var(--blue-300); box-shadow: 0 6px 20px rgba(15, 23, 42, .07); }
.td-card h3 { font-size: 1.08rem; margin: 0; }
.td-card h3 a { color: var(--slate-900); text-decoration: none; }
.td-card h3 a:hover { color: var(--blue-600); text-decoration: underline; }
.td-card-place { color: var(--slate-600); font-size: .9rem; margin: 0; }
.td-card-desc { color: var(--slate-700); font-size: .92rem; margin: 0; line-height: 1.5; }
.td-serves { display: inline-block; margin-left: .4rem; font-size: .75rem; font-weight: 600; color: var(--blue-700); background: var(--blue-100); border-radius: 999px; padding: .1rem .5rem; }
.td-chips { display: flex; flex-wrap: wrap; gap: .35rem; margin-top: auto; }
.td-chip { font-size: .78rem; padding: .2rem .55rem; border-radius: 999px; background: var(--slate-100); color: var(--slate-700); text-decoration: none; border: 1px solid var(--slate-200); }
.td-chip:hover { background: var(--blue-100); color: var(--blue-700); }
.td-chips--lg .td-chip { font-size: .9rem; padding: .35rem .75rem; }
.td-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .75rem; }
.td-tile { display: flex; justify-content: space-between; align-items: center; gap: .5rem; padding: .85rem 1rem; border-radius: 10px; border: 1px solid var(--slate-200); background: var(--white); color: var(--slate-900); text-decoration: none; }
.td-tile span { color: var(--slate-500); font-size: .85rem; white-space: nowrap; }
.td-tile:hover { border-color: var(--blue-400); }
.td-tile--small { padding: .6rem .85rem; }
.td-subnav { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.td-subnav a { font-size: .88rem; padding: .35rem .75rem; border-radius: 999px; border: 1px solid var(--slate-300); color: var(--slate-700); text-decoration: none; }
.td-subnav a:hover { border-color: var(--blue-500); color: var(--blue-700); }
.td-how { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; }
.td-how ol { padding-left: 1.2rem; color: var(--slate-700); line-height: 1.7; }
.td-how p { color: var(--slate-700); line-height: 1.7; }
.td-cta { background: var(--slate-900); color: var(--white); padding: 2.25rem 1.5rem; }
.td-cta .container { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; flex-wrap: wrap; }
.td-cta p { margin: 0; max-width: 42rem; color: var(--slate-200); }
.td-empty { color: var(--slate-600); padding: 1.5rem; border: 1px dashed var(--slate-300); border-radius: 12px; background: var(--slate-50); }
.td-more { margin-top: 1.5rem; }
.td-listing { display: grid; grid-template-columns: 2fr 1fr; gap: 2.5rem; align-items: start; }
.td-desc { font-size: 1.08rem; line-height: 1.7; color: var(--slate-800); }
.td-contact { border: 1px solid var(--slate-200); border-radius: 12px; padding: 1.25rem; background: var(--slate-50); }
.td-contact .td-h2 { margin-top: 0; }
.td-contact ul { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .6rem; }
.td-contact li { display: flex; flex-direction: column; font-size: .95rem; word-break: break-word; }
.td-contact li span { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--slate-500); }
.td-small { font-size: .85rem; color: var(--slate-600); line-height: 1.5; }
.td-narrow { max-width: 760px; }
.td-form fieldset { border: 1px solid var(--slate-200); border-radius: 12px; padding: 1.1rem 1.2rem .4rem; margin: 0 0 1.25rem; }
.td-form legend { font-weight: 700; padding: 0 .4rem; color: var(--slate-900); }
.td-form legend small { font-weight: 400; color: var(--slate-500); }
.td-row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.td-checks { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .35rem .9rem; margin-bottom: .8rem; }
.td-check { display: flex; gap: .5rem; align-items: flex-start; font-size: .93rem; color: var(--slate-800); line-height: 1.4; }
.td-check input { margin-top: .2rem; width: 1.05rem; height: 1.05rem; flex: none; }
.td-check--block { margin-bottom: .8rem; }
.td-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.td-errors { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; border-radius: 10px; padding: .8rem 1rem; margin-bottom: 1rem; }
.td-errors ul { margin: .25rem 0 0 1.1rem; }
.td-done { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1rem; }
.td-done code { word-break: break-all; font-size: .8rem; }
.td-invite-note { background: var(--blue-100); color: var(--slate-900); border-radius: 10px; padding: 1rem 1.2rem; margin-bottom: 1.25rem; line-height: 1.6; }
.td-linkbtn { background: none; border: 0; padding: 0; color: var(--blue-700); text-decoration: underline; cursor: pointer; font: inherit; }
.td-actions { display: flex; gap: .75rem; flex-wrap: wrap; }
.btn-danger { background: #b91c1c; color: #fff; border: 1px solid #b91c1c; }
.btn-danger:hover { background: #991b1b; }
.td-status { font-weight: 600; color: var(--slate-700); }
.td-prose h1 { font-size: 2rem; margin-bottom: .5rem; }
.td-prose h2 { margin-top: 2rem; }
.td-prose p, .td-prose li { line-height: 1.7; color: var(--slate-800); }
.td-prose ul { padding-left: 1.2rem; }
@media (max-width: 860px) {
  .td-search { grid-template-columns: 1fr 1fr; }
  .td-field--grow { grid-column: 1 / -1; }
  .td-how, .td-listing { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .td-search, .td-row { grid-template-columns: 1fr; }
  .td-hero { padding: 3rem 1rem 2.5rem; }
  .td-section { padding: 2.25rem 1rem; }
}

.td-contact a, .td-small a, .td-prose a, .td-empty a, .td-more a, .td-how a { color: var(--blue-600); text-decoration: underline; text-underline-offset: 2px; }

/* Directory header + footer (site-partials/td-nav.html, td-footer.html) */
.td-body { background: var(--white); }
.td-topbar { background: #0c0f1a; border-bottom: 1px solid rgba(255,255,255,.08); }
.td-topbar-inner { max-width: 1200px; margin: 0 auto; padding: .9rem 1.5rem; display: flex; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; flex-wrap: wrap; }
.td-brand { color: var(--white); font-weight: 700; text-decoration: none; font-size: 1.05rem; letter-spacing: -.01em; }
.td-brand:hover, .td-brand:focus-visible { text-decoration: underline; }
.td-topnav { display: flex; flex-wrap: wrap; gap: .25rem 1.1rem; }
.td-topnav a { color: var(--slate-300); text-decoration: none; font-size: .95rem; padding: .35rem 0; }
.td-topnav a:hover, .td-topnav a:focus-visible { color: var(--white); text-decoration: underline; }
.td-footer { background: #0c0f1a; color: var(--slate-300); padding: 2.5rem 1.5rem; font-size: .92rem; }
.td-footer-inner p { margin: .5rem 0 0; color: var(--slate-300); }
.td-footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin-bottom: 1rem; }
.td-footer a { color: var(--white); text-decoration: underline; text-underline-offset: 2px; }
a:focus-visible, button:focus-visible, .btn:focus-visible { outline: 3px solid var(--blue-500); outline-offset: 2px; }

/* Launch state: no listings yet */
.td-hero-actions { display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; margin-top: 2rem; }
.td-hero-link { color: var(--slate-200); text-decoration: underline; text-underline-offset: 3px; }
.td-hero-link:hover { color: var(--white); }
.td-launch { display: grid; grid-template-columns: 3fr 2fr; gap: 2.5rem; align-items: start; border: 1px solid var(--slate-200); border-radius: 16px; padding: 2rem; background: linear-gradient(180deg, var(--slate-50), var(--white)); }
.td-launch h2 { margin-top: 0; }
.td-launch h3 { font-size: 1.05rem; margin: 0 0 .75rem; color: var(--slate-900); }
.td-launch p { color: var(--slate-700); line-height: 1.7; }
.td-skill-list { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.td-skill-list li { font-size: .85rem; padding: .3rem .7rem; border-radius: 999px; background: var(--white); border: 1px solid var(--slate-200); color: var(--slate-700); }

/* Email confirmation step and removed-listing notice */
.td-verify { background: var(--slate-50); border: 1px solid var(--slate-200); border-radius: 12px; padding: 1.25rem; margin-bottom: 1rem; }
.td-verify p { margin-top: 0; color: var(--slate-800); }
.td-gone-note { max-width: 1200px; margin: 1.5rem auto 0; padding: 1rem 1.25rem; border-radius: 10px; background: #fef3c7; color: #78350f; border: 1px solid #f59e0b; }
.td-card[data-td-gone] { display: none; }
.td-errors:focus, .td-done:focus { outline: 2px solid var(--blue-500); outline-offset: 2px; }

@media (max-width: 860px) {
  .td-launch { grid-template-columns: 1fr; padding: 1.5rem; }
}
@media (max-width: 560px) {
  .td-topbar-inner { padding: .75rem 1rem; }
  .td-footer { padding: 2rem 1rem; }
}

/* The site breadcrumb bar reserves room for the fixed main navbar; the directory header is not fixed. */
.td-body .breadcrumb-bar { padding-top: 1rem; padding-bottom: .25rem; }
.td-body .breadcrumbs { padding: 0 1.5rem; }
.td-how ol { list-style: decimal; } .td-how li { margin-bottom: .35rem; }
