/* Togething Directory. Colours follow the directory (blue #0866FF, gold #DAA520); the outcomes and reviews follow the
   approved Togething embedded card. */
.tgd, .tgd * { box-sizing: border-box; }
.tgd-hidden, .tgd [hidden] { display: none !important; }
html.tgd-locked { overflow: hidden; }

/* Coach cards: an item left with nothing to show (the removed rating badge, the hidden plan) takes no space, and the
   plan filter goes from the coach filters (basic and premium are not shown to visitors for now, 5 Dec 2026). */
.df-item-wrap.df-empty-element { display: none !important; }
li.multiple_taxonomy_filter:has(select[name="profile-tier"]) { display: none !important; }

/* Buttons */
.tgd-btn { display: inline-block; padding: 9px 16px; border-radius: 6px; border: 1px solid #cbd2de; background: #fff; color: #1a1a2e; font-weight: 600; font-size: 15px; line-height: 1.3; text-decoration: none; cursor: pointer; text-align: center; }
.tgd-btn:hover { border-color: #0866FF; color: #0866FF; }
.tgd-btn-primary { background: #0866FF; border-color: #0866FF; color: #fff !important; }
.tgd-btn-primary:hover { background: #0652cc; border-color: #0652cc; color: #fff; }
.tgd-btn-gold { background: #DAA520; border-color: #DAA520; color: #fff !important; }
.tgd-btn-gold:hover { background: #0866FF; border-color: #0866FF; color: #fff; }
.tgd-btn-link { border: 0; background: none; padding: 9px 4px; color: #0866FF; font-weight: 500; }
.tgd-btn[disabled] { opacity: .6; cursor: default; }
.tgd-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }

/* "Open in the Togething app": secondary, outlined, in the contact button column */
.tgd-app-wrap { margin: 0 0 12px; }
.tgd-app-btn { display: block; width: 100%; padding: 9px 12px; border: 2px solid #0866FF; border-radius: 5px; background: #fff; color: #0866FF !important; font-weight: 600; font-size: 15px; text-align: center; text-decoration: none; line-height: 1.35; }
.tgd-app-btn:hover { background: #f0f5ff; }

/* Windows: centred on a computer, a sheet from the bottom on a phone */
.tgd-modal { position: fixed; inset: 0; z-index: 999999; display: flex; align-items: center; justify-content: center; padding: 20px; }
.tgd-modal[hidden] { display: none; }
.tgd-modal-backdrop { position: absolute; inset: 0; background: rgba(10, 20, 40, .55); }
.tgd-modal-box { position: relative; background: #fff; border-radius: 12px; width: 100%; max-width: 580px; max-height: calc(100vh - 40px); display: flex; flex-direction: column; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); color: #1a1a2e; font-size: 15px; line-height: 1.55; }
.tgd-modal-small .tgd-modal-box { max-width: 470px; }
.tgd-modal-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #e5e7eb; }
.tgd-modal-head h3 { margin: 0; padding: 0; font-size: 19px; line-height: 1.3; font-weight: 700; color: #1a1a2e; }
.tgd-modal-x { border: 0; background: none; font-size: 26px; line-height: 1; cursor: pointer; color: #6b7280; padding: 0 4px; }
.tgd-modal-body { padding: 16px 20px; overflow-y: auto; }
.tgd-modal-body p { padding: 0; margin: 0 0 10px; }
.tgd-modal-foot { display: flex; flex-wrap: wrap; gap: 8px; padding: 14px 20px; border-top: 1px solid #e5e7eb; }
.tgd-center { text-align: center; }
.tgd-item { padding: 10px 0; border-bottom: 1px solid #eef0f3; }
.tgd-item:last-child { border-bottom: 0; }
.tgd-item b { display: block; margin-bottom: 3px; }
.tgd-item p { margin: 0 !important; color: #374151; font-size: 14px; }
@media (max-width: 600px) {
    .tgd-modal { align-items: flex-end; padding: 0; }
    .tgd-modal-box, .tgd-modal-small .tgd-modal-box { max-width: none; border-radius: 16px 16px 0 0; max-height: 90vh; }
    .tgd-modal-foot .tgd-btn { flex: 1 1 auto; }
}
.tgd-qr { display: block; width: 180px; height: 180px; margin: 12px auto; image-rendering: pixelated; }
.tgd-copy { display: flex; gap: 8px; margin-top: 8px; }
.tgd-copy input { flex: 1; min-width: 0; border: 1px solid #cbd5e1; border-radius: 6px; padding: 8px 10px; font-size: 14px; }

.tgd-status { background: #f0fdf4; border-left: 4px solid #15803d; padding: 10px 12px; border-radius: 0 8px 8px 0; font-size: 14px; margin-bottom: 12px; }
.tgd-status b { color: #15803d; }
.tgd-status-wait { background: #fffbeb; border-color: #DAA520; }
.tgd-status-wait b { color: #92400e; }
.tgd-label { font-weight: 700; margin: 12px 0 4px !important; }
.tgd-list { margin: 0 0 10px 18px !important; padding: 0 !important; }
.tgd-list li { margin: 2px 0; }
.tgd-muted { color: #6b7280; font-size: 14px; }
.tgd-error { color: #b32d2e; font-size: 13px; margin: 6px 0 0 !important; }

/* Listing page */
.tgd-hero-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.tgd-pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 10px; border-radius: 999px; background: #e8f1eb; color: #236c65 !important; font-size: 13px; font-weight: 600; line-height: 1.5; text-decoration: none; }
.tgd-pill-gold { background: #fbf3df; color: #8a6206 !important; }
.tgd-pill-old { background: #fbf1dd; color: #8a5a00 !important; }
.tgd-block { margin: 0 0 30px; }
.tgd-h { font-size: 24px; line-height: 1.3; font-weight: 700; margin: 0 0 14px; padding: 0; color: #1a1a2e; }
.tgd-h-sub { font-size: 15px; font-weight: 500; color: #617078; }
.tgd-cert, .tgd-reviews { background: #fcfaf5; border: 1px solid #d6c49c; border-radius: 12px; padding: 22px; margin-bottom: 26px; color: #173847; }
.tgd-cert p { color: #617078; font-size: 14px; padding: 0; margin: 10px 0 0; }
.tgd-cert-head { display: flex; justify-content: space-between; gap: 12px; align-items: center; color: #617078; font-size: 11px; }
.tgd-verified { color: #236c65; background: #e8f1eb; padding: 5px 10px; border-radius: 25px; font-size: 12px; }
.tgd-verified.old { color: #8a5a00; background: #fbf1dd; }
.tgd-renewal { padding: 8px 11px !important; border-radius: 8px; background: #fbf1dd; color: #8a5a00 !important; font-size: 13px !important; }
.tgd-cert-stats { display: flex; flex-wrap: wrap; gap: 14px 36px; padding: 16px 0; border-top: 1px solid #e4dfd4; border-bottom: 1px solid #e4dfd4; margin: 16px 0; }
.tgd-cert-stats b { display: block; font: 32px Georgia, serif; color: #173847; }
.tgd-cert-stats span { display: block; font-size: 11px; color: #617078; margin-top: 4px; }
.tgd-results { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 36px; margin-bottom: 16px; }
.tgd-results > div { display: flex; justify-content: space-between; gap: 8px; font-size: 14px; }
.tgd-results b { color: #236c65; white-space: nowrap; }
.tgd-more { margin: 0 0 14px; }
.tgd-more summary { cursor: pointer; color: #236c65; font-size: 14px; margin-bottom: 10px; list-style: none; }
.tgd-more summary::-webkit-details-marker { display: none; }
.tgd-more summary::before { content: "\25B8  "; }
.tgd-more[open] summary::before { content: "\25BE  "; }
.tgd-more .tgd-open, .tgd-more[open] .tgd-closed { display: none; }
.tgd-more[open] .tgd-open { display: inline; }
.tgd-link { color: #236c65 !important; font-weight: 600; font-size: 14px; text-decoration: none; }
.tgd-rating { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; margin-bottom: 14px; font-size: 13px; color: #617078; }
.tgd-rating b { font: 22px Georgia, serif; color: #173847; }
.tgd-stars { color: #b8892e; letter-spacing: 1px; }
.tgd-stars-off { color: #dcd6c8; }
.tgd-review { margin: 0 0 12px; padding: 14px 16px; background: #fff; border: 1px solid #ece6d8; border-radius: 9px; border-left-width: 1px; font-style: normal; }
.tgd-review p { margin: 6px 0 8px; padding: 0; color: #173847; font-size: 15px; line-height: 1.6; }
.tgd-review cite { font-style: normal; font-weight: 600; font-size: 13px; }
.tgd-review small { font-weight: 400; color: #236c65; font-size: 11px; margin-left: 6px; }
.tgd-video-tag { display: inline-block; margin: 6px 0 0 8px; padding: 2px 9px; border: 1px solid #e4dfd4; border-radius: 12px; font-size: 11px; color: #617078; text-decoration: none; }
@media (max-width: 600px) { .tgd-results { grid-template-columns: 1fr; } .tgd-cert, .tgd-reviews { padding: 16px; } .tgd-cert-stats b { font-size: 26px; } }

/* Videos: interview first, then the coach's own; equal size side by side on a computer */
.tgd-videos { display: grid; grid-template-columns: 1fr; gap: 16px; margin: 0 0 30px; }
@media (min-width: 768px) { .tgd-videos-2 { grid-template-columns: 1fr 1fr; } }
.tgd-video { margin: 0; }
.tgd-video-frame { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #0f172a; border-radius: 10px; overflow: hidden; }
.tgd-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tgd-video figcaption { margin-top: 6px; font-size: 14px; font-weight: 600; color: #1a1a2e; }

/* Coach cards */
.tgd-card { margin-top: 10px; }
.tgd-card-pills { display: flex; flex-wrap: wrap; gap: 5px; }
.tgd-card .tgd-pill { font-size: 12px; padding: 2px 8px; }
.tgd-card-results { display: grid; grid-template-columns: 1fr 1fr; gap: 3px 12px; margin-top: 6px; font-size: 12.5px; color: #374151; line-height: 1.4; }
.tgd-card-results b { color: #236c65; }
.df-cpt-item .df-cpt-taxonomies:not(:has(a)) { display: none; }

/* Forms */
.tgd-msg { font-size: 13px; margin-top: 5px; }
.tgd-msg.is-ok { color: #15803d; }
.tgd-msg.is-bad { color: #b32d2e; }
.tgd-msg.is-warn { color: #92400e; }
.tgd-support-box { border: 1px solid #dbe4ff; background: #f7f9ff; border-radius: 10px; padding: 12px 14px; margin: 6px 0 16px; }
.tgd-support-box > b { font-size: 15px; }
.tgd-support-box .tgd-muted { margin: 2px 0 6px; padding: 0; }
.tgd .tgd-check, label.tgd-check { display: flex !important; font-weight: 400 !important; margin: 0 !important;
}
.tgd-check { gap: 9px; align-items: flex-start; padding: 6px 0; font-size: 14px; font-weight: 400; cursor: pointer; line-height: 1.45; }
.tgd-check input { margin-top: 3px; flex: none; width: 17px; height: 17px; }
.tgd-check > span { flex: 1; }
.tgd-check small { display: block; color: #6b7280; font-size: 12px; }
.tgd-check.is-done { cursor: default; }
.tgd-terms { margin: 8px 0 14px; }
.tgd-learn-link { font-size: 13px; }
.tgd-support-card { border: 1px solid #dbe4ff; background: #f7f9ff; border-radius: 10px; padding: 14px 16px; margin: 16px 0; }
.tgd-support-card .tgd-muted { margin: 4px 0 0; padding: 0; }

/* Photo crop */
.tgd-crop-stage { position: relative; width: min(100%, 340px); aspect-ratio: 1 / 1; margin: 0 auto; overflow: hidden; border-radius: 8px; background: #334155; touch-action: none; cursor: grab; user-select: none; }
.tgd-crop-stage img { position: absolute; left: 0; top: 0; max-width: none !important; transform-origin: 0 0; pointer-events: none; }
.tgd-crop-frame { position: absolute; inset: 0; border: 2px solid #fff; border-radius: 8px; pointer-events: none; }
.tgd-crop-zoom { display: flex; align-items: center; gap: 10px; justify-content: center; margin: 12px 0 4px; font-size: 14px; }
.tgd-crop-zoom input { width: 200px; }
/* Listing forms: the short description is one sentence; the city box is typed into, not a list. */
.frontend-form .acf-field-post-excerpt textarea { height: calc(4.8em + 20px) !important; min-height: 0 !important; resize: vertical; }
.frontend-form .acf-field[data-key="field_65af7220c7752"] .select2-selection__arrow { display: none; }
/* The coach's introduction on a basic listing, the dashboard reminder and the form's character count. */
.tgd-intro { margin: 6px 0 26px; font-size: 15px; line-height: 1.7; color: #333; }
.tgd-intro p { margin: 0 0 12px; padding: 0; }
.tgd-intro p:last-child { margin-bottom: 0; }
.tgd-intro-sep { border: 0; border-top: 1px solid #e5e7eb; margin: 0 0 28px; }
.tgd-intro-note { display: flex; gap: 14px; align-items: center; justify-content: space-between; flex-wrap: wrap; text-align: left;
    border: 1px solid #f2d27a; background: #fffaf0; border-radius: 12px; padding: 14px 16px; margin: 0 0 18px; font-size: 14px; line-height: 1.5; }
.tgd-intro-note > div { flex: 1 1 320px; }
.tgd-intro-note b { display: block; color: #1a1a2e; margin-bottom: 2px; }
.tgd-intro-note span { color: #4b5563; }
.tgd-intro-count { text-align: right; color: #6b7280; font-size: 12px; margin-top: 6px; }
.tgd-intro-count.is-over { color: #b91c1c; font-weight: 600; }

/* Focus keywords, languages, first call and organisation on the listing forms (1.6.0). */
.tgd-profile-box { border: 1px solid #e7e0d4; background: #fbf9f5; border-radius: 10px; padding: 14px 16px; margin: 6px 0 16px; display: grid; gap: 14px; }
.tgd-profile-box .tgd-pf > b, .tgd-profile-box .tgd-pf > label > b { display: block; font-size: 15px; margin-bottom: 4px; }
.tgd-profile-box input[type=text], .tgd-profile-box select { width: 100%; max-width: 460px; padding: 8px 10px; border: 1px solid #ccd0d4; border-radius: 6px; background: #fff; font-size: 15px; }
.tgd-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.tgd-chips:empty { display: none; }
.tgd-chip { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid #d9d2c3; border-radius: 999px; padding: 3px 4px 3px 11px; font-size: 14px; }
.tgd-chip button { border: 0; background: none; cursor: pointer; font-size: 16px; line-height: 1; padding: 0 5px; color: #6b6b6b; }
/* The site's older photo note invites a logo ("or your coaching brand") and a 2 MB limit; the photo field's own text replaces it. */
.lcc-upload-instructions { display: none !important; }
