/*
Theme Name: CoachMode Actual
Theme URI: https://getcoachmode.com
Author: CoachMode
Description: WordPress theme generated from the actual CoachMode GitHub site.
Version: 1.3.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: coachmode
*/

.wp-editable-page {
  padding: 74px 26px 110px;
}

.wp-editable-page__inner {
  max-width: 880px;
  margin: 0 auto;
}

.wp-editable-page__inner > * + * {
  margin-top: 22px;
}

.wp-editable-page h1,
.wp-editable-page h2,
.wp-editable-page h3 {
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.wp-editable-page h1 {
  font-size: clamp(34px, 5vw, 58px);
}

.wp-editable-page h2 {
  font-size: clamp(26px, 3.2vw, 40px);
}

.wp-editable-page p,
.wp-editable-page li {
  color: var(--soft);
  font-size: 18px;
}

.wp-editable-page a {
  color: #6D28D9;
  font-weight: 800;
}

.wp-editable-page img {
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.wp-editable-page .wp-block-button__link {
  background: var(--grad);
  color: #06121A;
  border-radius: 999px;
  font-weight: 800;
  padding: 15px 28px;
}

/* Versioned tool styling. Kept here so WordPress cache-busts these pages. */
.coachmode-page .tool-hero {
  padding: 78px 0 38px;
}

.coachmode-page .tool-shell {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(340px, 1.05fr);
  gap: 42px;
  align-items: start;
}

.coachmode-page .tool-note {
  margin-top: 18px;
  color: var(--mut);
  font-size: 14px;
  max-width: 640px;
}

.coachmode-page .tool-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.coachmode-page .tool-card {
  padding: 30px 28px;
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 260px;
}

.coachmode-page .tool-card h2 {
  font-size: 24px;
  margin: 8px 0 12px;
}

.coachmode-page .tool-card p {
  color: var(--soft);
  font-size: 15.5px;
  flex: 1;
}

.coachmode-page .tool-kicker {
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6D28D9;
  background: rgba(139,92,246,.09);
  border: 1px solid rgba(139,92,246,.18);
  border-radius: 999px;
  padding: 7px 12px;
  margin-bottom: 8px;
}

.coachmode-page .tool-panel {
  padding: 30px;
  border-radius: var(--radius);
}

.coachmode-page .tool-form {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: stretch !important;
}

.coachmode-page .tool-form label {
  display: block !important;
  width: 100% !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  font-weight: 800 !important;
  color: var(--ink) !important;
  margin: 0 !important;
}

.coachmode-page .tool-form input,
.coachmode-page .tool-form textarea,
.coachmode-page .tool-form select {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.45 !important;
  color: var(--ink) !important;
  background: var(--panel-solid) !important;
  border: 1px solid var(--line2) !important;
  border-radius: 12px !important;
  padding: 13px 15px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color .15s, box-shadow .15s !important;
}

.coachmode-page .tool-form textarea {
  min-height: 112px !important;
  resize: vertical !important;
}

.coachmode-page .tool-form select {
  appearance: none !important;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A879E' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 15px center !important;
  padding-right: 38px !important;
}

.coachmode-page .tool-form input:focus,
.coachmode-page .tool-form textarea:focus,
.coachmode-page .tool-form select:focus {
  border-color: var(--indigo) !important;
  box-shadow: 0 0 0 3px rgba(99,102,241,.15) !important;
}

.coachmode-page .tool-form .btn {
  width: auto !important;
  min-height: 56px !important;
  align-self: flex-start !important;
  margin-top: 10px !important;
  border: 0 !important;
  cursor: pointer !important;
  font-family: inherit !important;
}

.coachmode-page .tool-output-wrap {
  max-width: 900px;
}

.coachmode-page .tool-result {
  padding: 32px 30px;
  border-radius: var(--radius);
  text-align: left;
}

.coachmode-page .tool-result h3 {
  font-size: 18px;
  margin: 22px 0 8px;
  color: var(--ink);
}

.coachmode-page .tool-result p {
  color: var(--soft);
}

.coachmode-page .tool-result p:last-child {
  margin-bottom: 0;
}

.coachmode-page .tool-error {
  color: var(--rose) !important;
  font-weight: 800;
}

.coachmode-page .tool-list {
  padding-left: 22px;
  color: var(--soft);
  margin: 6px 0 0;
}

.coachmode-page .tool-list li {
  margin-bottom: 9px;
}

.coachmode-page .score-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 14px;
  align-items: center;
}

.coachmode-page .score-large {
  font-size: 64px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  background: linear-gradient(120deg,#6366F1 0%,#A855F7 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.coachmode-page .score-large small {
  font-size: 20px;
  font-weight: 700;
}

.coachmode-page .score-grade {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #6D28D9;
  margin: 10px 0 16px;
}

.coachmode-page .score-meter {
  height: 10px;
  border-radius: 999px;
  background: rgba(17,24,46,.08);
  overflow: hidden;
  margin-bottom: 22px;
}

.coachmode-page .score-meter i {
  display: block;
  height: 100%;
  background: var(--grad);
  border-radius: 999px;
}

.coachmode-page .library-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.coachmode-page .library-card {
  padding: 28px;
  border-radius: var(--radius);
}

.coachmode-page .library-card h2 {
  font-size: 24px;
  margin: 8px 0 14px;
}

.coachmode-page .library-card p {
  color: var(--soft);
  font-size: 15.5px;
}

.coachmode-page .library-card b {
  color: var(--ink);
}

.coachmode-page .library-card .script-box {
  background: rgba(139,92,246,.07);
  box-shadow: none;
}

@media (max-width: 900px) {
  .coachmode-page .tool-shell {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .coachmode-page .tool-card-grid,
  .coachmode-page .library-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .coachmode-page .score-row {
    grid-template-columns: 1fr;
  }

  .coachmode-page .tool-panel,
  .coachmode-page .tool-result,
  .coachmode-page .library-card,
  .coachmode-page .tool-card {
    padding: 24px 20px;
  }

  .coachmode-page .tool-form .btn {
    width: 100% !important;
  }
}

/* SEO landing pages */
.coachmode-page .seo-landing-hero {
  padding: 78px 0 42px;
}

.coachmode-page .seo-landing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .86fr);
  gap: 42px;
  align-items: start;
}

.coachmode-page .seo-landing-panel {
  padding: 32px 30px;
  border-radius: var(--radius);
  text-align: left;
}

.coachmode-page .seo-landing-panel h2 {
  font-size: clamp(23px, 2.4vw, 31px);
  margin: 10px 0 14px;
}

.coachmode-page .seo-landing-panel p {
  color: var(--soft);
  font-size: 16px;
}

.coachmode-page .seo-tool-callout {
  position: relative;
  overflow: hidden;
}

.coachmode-page .seo-tool-callout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(420px 180px at 85% 0, rgba(139,92,246,.14), transparent 72%);
  pointer-events: none;
}

.coachmode-page .seo-tool-callout > * {
  position: relative;
}

.coachmode-page .seo-tool-callout .btn {
  margin-top: 10px;
}

.coachmode-page .seo-related-grid {
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 900px) {
  .coachmode-page .seo-landing-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .coachmode-page .seo-landing-panel {
    padding: 26px 20px;
  }
}

/* Blog and sales training hub architecture */
.coachmode-page .blog-hero,
.coachmode-page .article-hero {
  padding: 78px 0 42px;
}

.coachmode-page .blog-hero__inner,
.coachmode-page .article-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 42px;
  align-items: end;
}

.coachmode-page .blog-hero h1,
.coachmode-page .article-hero h1 {
  max-width: 900px;
  margin-top: 16px;
}

.coachmode-page .blog-hero__actions,
.coachmode-page .post-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.coachmode-page .blog-hero-card,
.coachmode-page .article-hero-card,
.coachmode-page .blog-side-card,
.coachmode-page .hub-card,
.coachmode-page .blog-list-card,
.coachmode-page .post-cta {
  border-radius: var(--radius);
  text-align: left;
}

.coachmode-page .blog-hero-card,
.coachmode-page .article-hero-card {
  padding: 30px;
}

.coachmode-page .blog-hero-card h2,
.coachmode-page .article-hero-card h2 {
  font-size: 25px;
  margin: 10px 0 12px;
}

.coachmode-page .blog-hero-card p,
.coachmode-page .article-hero-card p,
.coachmode-page .blog-list-card p,
.coachmode-page .blog-side-card p,
.coachmode-page .hub-card p,
.coachmode-page .post-cta p {
  color: var(--soft);
}

.coachmode-page .blog-band,
.coachmode-page .hub-directory-section,
.coachmode-page .blog-main-section,
.coachmode-page .article-section {
  padding-top: 44px;
}

.coachmode-page .blog-topic-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 34px;
}

.coachmode-page .blog-topic-card {
  display: flex;
  flex-direction: column;
  min-height: 210px;
  padding: 24px;
  color: inherit;
  text-decoration: none;
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.coachmode-page .blog-topic-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109,40,217,.28);
  box-shadow: 0 28px 70px rgba(31,38,68,.16);
}

.coachmode-page .blog-topic-card span,
.coachmode-page .hub-card h2,
.coachmode-page .blog-side-card h3 {
  color: var(--ink);
}

.coachmode-page .blog-topic-card span {
  font-weight: 800;
  font-size: 18px;
}

.coachmode-page .blog-topic-card p {
  color: var(--soft);
  font-size: 15px;
  line-height: 1.58;
  margin: 12px 0 20px;
}

.coachmode-page .blog-topic-card strong {
  margin-top: auto;
  color: #6D28D9;
  font-size: 14px;
}

.coachmode-page .blog-layout,
.coachmode-page .article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 30px;
  align-items: start;
}

.coachmode-page .blog-post-list,
.coachmode-page .article-main {
  min-width: 0;
}

.coachmode-page .blog-section-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 20px;
}

.coachmode-page .blog-section-row h2 {
  font-size: clamp(28px, 3vw, 42px);
  margin-top: 10px;
}

.coachmode-page .blog-small-link {
  color: #6D28D9;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.coachmode-page .blog-list-card {
  padding: 28px;
  margin-bottom: 18px;
}

.coachmode-page .blog-card-meta,
.coachmode-page .hub-card__top {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  color: var(--mut);
  font-size: 13px;
  font-weight: 700;
}

.coachmode-page .topic-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border-radius: 999px;
  padding: 6px 11px;
  background: rgba(109,40,217,.09);
  border: 1px solid rgba(109,40,217,.16);
  color: #6D28D9;
  font-size: 12px;
  font-weight: 800;
}

.coachmode-page .blog-list-card h3 {
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.12;
  margin: 18px 0 12px;
}

.coachmode-page .blog-list-card h3 a,
.coachmode-page .article-related-list a,
.coachmode-page .hub-post-list a {
  color: var(--ink);
  text-decoration: none;
}

.coachmode-page .blog-list-card h3 a:hover,
.coachmode-page .article-related-list a:hover,
.coachmode-page .hub-post-list a:hover {
  color: #6D28D9;
}

.coachmode-page .blog-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 20px;
}

.coachmode-page .blog-card-actions a,
.coachmode-page .hub-card__top a {
  color: #6D28D9;
  font-weight: 800;
  text-decoration: none;
}

.coachmode-page .blog-sidebar,
.coachmode-page .article-sidebar {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 16px;
}

.coachmode-page .blog-side-card {
  padding: 24px;
}

.coachmode-page .blog-side-card h3 {
  font-size: 22px;
  margin: 8px 0 10px;
}

.coachmode-page .blog-side-card .btn,
.coachmode-page .blog-side-card .btn-ghost,
.coachmode-page .hub-card__actions .btn-ghost {
  margin-top: 12px;
}

.coachmode-page .blog-side-card--dark {
  background: linear-gradient(135deg, rgba(17,24,39,.96), rgba(57,44,120,.92));
}

.coachmode-page .blog-side-card--dark h3,
.coachmode-page .blog-side-card--dark p {
  color: #fff;
}

.coachmode-page .blog-pagination {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.coachmode-page .blog-pagination a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}

.coachmode-page .article-path {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 14px;
  color: var(--mut);
  font-size: 14px;
  font-weight: 800;
}

.coachmode-page .article-path a {
  color: #6D28D9;
  text-decoration: none;
}

.coachmode-page .wp-post-wrap {
  max-width: 880px;
  margin: 0 auto;
}

.coachmode-page .wp-post-content {
  padding: 38px;
}

.coachmode-page .wp-post-content p,
.coachmode-page .wp-post-content li {
  color: var(--soft);
  margin-bottom: 18px;
}

.coachmode-page .wp-post-content h2,
.coachmode-page .wp-post-content h3 {
  margin-top: 34px;
}

.coachmode-page .wp-post-content a {
  color: #6D28D9;
  font-weight: 800;
}

.coachmode-page .wp-post-content img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

.coachmode-page .post-cta {
  padding: 30px;
  margin-top: 18px;
}

.coachmode-page .post-cta h2 {
  font-size: 28px;
  margin: 8px 0 10px;
}

.coachmode-page .article-related-list,
.coachmode-page .hub-post-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.coachmode-page .article-related-list a,
.coachmode-page .hub-post-list a {
  line-height: 1.35;
  font-weight: 800;
}

.coachmode-page .hub-directory-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.coachmode-page .hub-card {
  padding: 28px;
}

.coachmode-page .hub-card h2 {
  font-size: 28px;
  margin: 22px 0 10px;
}

.coachmode-page .hub-post-list {
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.coachmode-page .hub-post-list strong {
  color: var(--mut);
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.coachmode-page .hub-card__actions {
  margin-top: 20px;
}

@media (max-width: 1050px) {
  .coachmode-page .blog-topic-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .coachmode-page .blog-hero__inner,
  .coachmode-page .article-hero__inner,
  .coachmode-page .blog-layout,
  .coachmode-page .article-layout {
    grid-template-columns: 1fr;
  }

  .coachmode-page .blog-sidebar,
  .coachmode-page .article-sidebar {
    position: static;
  }
}

@media (max-width: 680px) {
  .coachmode-page .blog-topic-grid,
  .coachmode-page .hub-directory-grid {
    grid-template-columns: 1fr;
  }

  .coachmode-page .blog-section-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .coachmode-page .blog-list-card,
  .coachmode-page .blog-hero-card,
  .coachmode-page .article-hero-card,
  .coachmode-page .blog-side-card,
  .coachmode-page .hub-card,
  .coachmode-page .post-cta,
  .coachmode-page .wp-post-content {
    padding: 24px 20px;
  }

  .coachmode-page .blog-hero__actions .btn,
  .coachmode-page .blog-hero__actions .btn-ghost,
  .coachmode-page .post-cta__actions .btn,
  .coachmode-page .post-cta__actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}
