/* 
Theme Name: Twenty Twenty Child 
Theme URL: https://omid.navy
Description: Twenty Twenty Child 
Theme Author: Omid Navy
Author URL: https://omid.navy
Template: twentytwenty
Version: 1.0.0 
Text Domain: twentytwenty-child 
*/

.wp-block-image.size-large {
    text-align: center;
    padding: 25px;
    margin: 25px;
}

/* How-To container */
.schema-how-to.wp-block-yoast-how-to-block {
  --howto-accent: #6366f1;
  --howto-border: #e5e7eb;

  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--howto-bg);
  border: 1px solid var(--howto-border);
  border-radius: 16px;
  color: var(--howto-text);
  font-family: inherit;
}

/* Section title */
.schema-how-to .schema-how-to-description {
  margin: 0 0 1.5rem;
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--howto-text);
}

/* Steps list */
.schema-how-to .schema-how-to-steps {
  list-style: none;
  counter-reset: howto-step;
  margin: 0;
  padding: 0;
}

/* Individual step */
.schema-how-to .schema-how-to-step {
  counter-increment: howto-step;
  position: relative;
  margin: 0;
  padding: 0 0 1.5rem 3.5rem;
}

/* Step number */
.schema-how-to .schema-how-to-step::before {
  content: counter(howto-step);
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--howto-accent);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1;
}

/* Vertical connector */
.schema-how-to .schema-how-to-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 1.08rem;
  top: 2.5rem;
  bottom: 0.25rem;
  width: 2px;
  background: var(--howto-border);
}

/* Step title */
.schema-how-to .schema-how-to-step-name {
  display: block;
  margin: 0 0 0.5rem;
  font-size: 2.05rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Step description */
.schema-how-to .schema-how-to-step-text {
  margin: 0;
  color: var(--howto-muted);
  font-size: 1.95rem;
  line-height: 1.75;
}

/* Links */
.schema-how-to a {
  color: var(--howto-accent);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.schema-how-to a:hover {
  color: #4f46e5;
}

/* Mobile */
@media (max-width: 600px) {
  .schema-how-to.wp-block-yoast-how-to-block {
    padding: 1.1rem;
    border-radius: 12px;
  }

  .schema-how-to .schema-how-to-description {
    font-size: 2.2rem;
  }

  .schema-how-to .schema-how-to-step {
    padding-left: 3rem;
  }

  .schema-how-to .schema-how-to-step-text {
    font-size: 1.9rem;
  }
}



/* FAQ */

/* ============================================
   RUNMIND FAQ — COMPLETE STYLESHEET
   ============================================ */

.runmind-faq {
  --faq-accent: #ffaf00;
  --faq-bg: #303030;
  --faq-card: #383838;
  --faq-card-hover: #414141;
  --faq-border: #484848;
  --faq-text: #e8e8e8;
  --faq-muted: #b5b5b5;

  width: 100%;
  margin: 3rem 0;
  padding: 2rem;
  box-sizing: border-box;

  color: var(--faq-text);
  background: var(--faq-bg);
  border: 1px solid var(--faq-border);
  border-radius: 16px;

  font-family: inherit;
}

/* HEADER */

.runmind-faq-header {
  margin-bottom: 1.75rem;
}

.runmind-faq-eyebrow {
  display: inline-block;
  margin-bottom: 0.6rem;

  color: var(--faq-accent);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.runmind-faq-header h2 {
  margin: 0 0 0.5rem;
  color: var(--faq-text);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 750;
  line-height: 1.3;
}

.runmind-faq-header p {
  margin: 0;
  color: var(--faq-muted);
  font-size: 1.95rem;
  line-height: 1.6;
}

/* FAQ LIST */

.runmind-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* FAQ CARD */

.runmind-faq-item {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  box-sizing: border-box;

  background: var(--faq-card);
  border: 1px solid var(--faq-border);
  border-radius: 12px;

  transition: background 0.2s ease, border-color 0.2s ease;
}

.runmind-faq-item:hover {
  background: var(--faq-card-hover);
  border-color: rgba(255, 175, 0, 0.35);
}

.runmind-faq-item[open] {
  border-color: rgba(255, 175, 0, 0.55);
}

/* QUESTION — REMOVE DEFAULT BROWSER ARROW */

.runmind-faq-item > summary {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;

  width: 100%;
  min-height: 64px;
  padding: 16px 20px;
  box-sizing: border-box;

  color: var(--faq-text);
  font-size: 2rem;
  font-weight: 650;
  line-height: 1.5;

  cursor: pointer;
  user-select: none;
  list-style: none !important;
}

/* Hide native disclosure markers */

.runmind-faq-item > summary::-webkit-details-marker {
  display: none !important;
}

.runmind-faq-item > summary::marker {
  content: "" !important;
  display: none !important;
}

/* Question text */

.runmind-faq-item > summary > span:first-child {
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 12px;
}

.runmind-faq-item > summary a {
  color: var(--faq-accent);
  text-decoration: none;
}

.runmind-faq-item > summary a:hover {
  text-decoration: underline;
}

/* ============================================
   ANIMATED CHEVRON
   ============================================ */

.runmind-faq-icon {
  display: flex !important;
  flex: 0 0 36px !important;
  align-items: center !important;
  justify-content: center !important;

  width: 36px !important;
  height: 36px !important;
  margin: 0 !important;
  padding: 0 !important;
  box-sizing: border-box;

  background: rgba(255, 175, 0, 0.08);
  border: 1px solid rgba(255, 175, 0, 0.35);
  border-radius: 50%;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.3s ease;
}

/* Chevron shape */

.runmind-faq-icon::before {
  content: "" !important;
  display: block !important;

  width: 9px;
  height: 9px;

  border-right: 2px solid var(--faq-accent);
  border-bottom: 2px solid var(--faq-accent);

  transform: translateY(-2px) rotate(45deg);

  transition:
    transform 0.3s ease,
    border-color 0.25s ease;
}

/* Remove any previous plus/minus icon */

.runmind-faq-icon::after {
  content: none !important;
  display: none !important;
}

/* Hover */

.runmind-faq-item > summary:hover .runmind-faq-icon {
  background: rgba(255, 175, 0, 0.2);
  border-color: var(--faq-accent);
}

/* Expanded state */

.runmind-faq-item[open] > summary {
  color: var(--faq-accent);
}

.runmind-faq-item[open] .runmind-faq-icon {
  background: var(--faq-accent);
  border-color: var(--faq-accent);
  transform: rotate(180deg);
}

.runmind-faq-item[open] .runmind-faq-icon::before {
  border-color: #303030;
}

/* ============================================
   ANSWERS
   ============================================ */

.runmind-faq-answer {
  padding: 0 20px 20px;

  color: var(--faq-muted);
  font-size: 1.95rem;
  line-height: 1.8;

  animation: faq-reveal 0.25s ease;
}

.runmind-faq-answer p {
  margin: 0 0 1rem;
}

.runmind-faq-answer p:last-child {
  margin-bottom: 0;
}

.runmind-faq-answer a {
  color: var(--faq-accent);
  font-weight: 600;
  text-decoration: none;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.runmind-faq-answer a:hover {
  text-decoration: underline;
}

/* SCREENSHOT */

.runmind-faq-image {
  margin: 1.5rem 0 0;
}

.runmind-faq-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;

  border: 1px solid var(--faq-border);
  border-radius: 10px;
}

.runmind-faq-image figcaption {
  margin-top: 8px;
  color: var(--faq-muted);
  font-size: 0.8rem;
  text-align: center;
}

/* ANIMATION */

@keyframes faq-reveal {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* KEYBOARD ACCESSIBILITY */

.runmind-faq-item > summary:focus-visible {
  outline: 2px solid var(--faq-accent);
  outline-offset: -3px;
}

/* MOBILE */

@media (max-width: 600px) {
  .runmind-faq {
    margin: 2rem 0;
    padding: 16px;
    border-radius: 12px;
  }

  .runmind-faq-header {
    margin-bottom: 1.25rem;
  }

  .runmind-faq-item > summary {
    min-height: 58px;
    padding: 13px 14px;
    font-size: 0.93rem;
  }

  .runmind-faq-icon {
    flex-basis: 32px !important;
    width: 32px !important;
    height: 32px !important;
  }

  .runmind-faq-answer {
    padding: 0 14px 16px;
    font-size: 0.9rem;
  }
}

/* REDUCED MOTION */

@media (prefers-reduced-motion: reduce) {
  .runmind-faq *,
  .runmind-faq *::before,
  .runmind-faq *::after {
    animation: none !important;
    transition: none !important;
  }
}

