/*
 * MTC security cluster page styles
 * Loaded only on /wordpress-security-services/ and /wordpress-malware-removal/
 * Palette taken from the live theme: css/theme.css
 *   #4f8389 CTA teal · #71979c teal · #404e5c slate · #3ca0a0 accent · #f2f3f5 grey wash
 * Font is inherited (Barlow, enqueued by the theme).
 */

.mtcsec {
  --sec-teal: #4f8389;
  --sec-teal-light: #71979c;
  --sec-slate: #404e5c;
  --sec-accent: #3ca0a0;
  --sec-wash: #f2f3f5;
  --sec-line: #e1e8ed;
  --sec-body: #3a3a3a;
  --sec-alert: #b3261e;
  --sec-alert-wash: #fdf1f0;
}

.mtcsec h2 {
  color: var(--sec-slate);
  margin-top: 2.2em;
}

.mtcsec h3 {
  color: var(--sec-slate);
}

.mtcsec p,
.mtcsec li {
  color: var(--sec-body);
}

/* ---- lede ---- */
.mtcsec-lede {
  font-size: 1.2rem;
  line-height: 1.65;
  color: var(--sec-slate);
  border-left: 5px solid var(--sec-accent);
  padding: 0.2em 0 0.2em 1.1em;
  margin-bottom: 1.8em;
}

/* ---- emergency strip ---- */
.mtcsec-emergency {
  background: var(--sec-alert-wash);
  border: 1px solid #f1d7d4;
  border-left: 6px solid var(--sec-alert);
  border-radius: 6px;
  padding: 22px 26px;
  margin: 0 0 2em;
}

.mtcsec-emergency h2 {
  margin: 0 0 0.4em;
  color: var(--sec-alert);
  font-size: 1.45rem;
}

.mtcsec-emergency p {
  margin-bottom: 0.8em;
}

.mtcsec-emergency p:last-child {
  margin-bottom: 0;
}

/* ---- buttons (mirrors .btn-wrap .cta-btn in the theme) ---- */
.mtcsec-btn {
  display: inline-block;
  color: #fff !important;
  background-color: var(--sec-teal);
  border-radius: 50px;
  padding: 14px 40px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1;
  border: 0 none;
  text-decoration: none !important;
  transition: background-color 0.2s ease;
}

.mtcsec-btn:hover,
.mtcsec-btn:focus {
  background-color: var(--sec-slate);
  color: #fff !important;
}

.mtcsec-btn--ghost {
  background: transparent;
  color: var(--sec-teal) !important;
  border: 2px solid var(--sec-teal);
  padding: 12px 38px;
}

.mtcsec-btn--ghost:hover,
.mtcsec-btn--ghost:focus {
  background: var(--sec-teal);
  color: #fff !important;
}

.mtcsec-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 1.6em 0 0.6em;
}

.mtcsec-btns .mtcsec-btn {
  margin: 0;
}

/* Emergency CTA: keep both buttons on one line at every width, so somebody
   whose site is down sees one row and one decision rather than a stack. */
.mtcsec-emergency .mtcsec-btns {
  flex-wrap: nowrap;
}

@media (max-width: 560px) {
  .mtcsec-emergency .mtcsec-btns .mtcsec-btn {
    flex: 1 1 0;
    min-width: 0;
    padding-left: 14px;
    padding-right: 14px;
    font-size: 0.92rem;
    text-align: center;
  }
}

/* ---- card grid ---- */
.mtcsec-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin: 1.6em 0 2em;
}

.mtcsec-card {
  background: #fff;
  border: 1px solid var(--sec-line);
  border-top: 4px solid var(--sec-teal-light);
  border-radius: 6px;
  padding: 24px 26px;
}

.mtcsec-card h3 {
  margin: 0 0 0.5em;
  font-size: 1.15rem;
  color: var(--sec-slate);
}

.mtcsec-card p:last-child,
.mtcsec-card ul:last-child {
  margin-bottom: 0;
}

/* ---- symptom list ---- */
.mtcsec-symptoms {
  list-style: none;
  margin: 1.4em 0 2em;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 14px 30px;
}

.mtcsec-symptoms li {
  position: relative;
  padding-left: 34px;
  margin: 0;
}

.mtcsec-symptoms li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.42em;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--sec-alert-wash);
  border: 2px solid var(--sec-alert);
}

.mtcsec-symptoms li strong {
  color: var(--sec-slate);
  display: block;
}

/* ---- numbered process ---- */
.mtcsec-steps {
  counter-reset: mtcsec;
  list-style: none;
  margin: 1.6em 0 2em;
  padding: 0;
}

.mtcsec-steps > li {
  counter-increment: mtcsec;
  position: relative;
  padding: 0 0 0 68px;
  margin-bottom: 26px;
  min-height: 48px;
}

.mtcsec-steps > li::before {
  content: counter(mtcsec);
  position: absolute;
  left: 0;
  top: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--sec-teal);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mtcsec-steps > li h3 {
  margin: 0.35em 0 0.35em;
  font-size: 1.15rem;
}

.mtcsec-steps > li p:last-child {
  margin-bottom: 0;
}

/* ---- plan / pricing columns ---- */
.mtcsec-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 24px;
  margin: 1.8em 0 2em;
}

.mtcsec-plan {
  border: 1px solid var(--sec-line);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.mtcsec-plan__head {
  background: var(--sec-slate);
  color: #fff;
  padding: 20px 24px;
}

.mtcsec-plan--featured .mtcsec-plan__head {
  background: var(--sec-teal);
}

.mtcsec-plan__head h3 {
  color: #fff;
  margin: 0 0 0.2em;
  font-size: 1.2rem;
}

.mtcsec-plan__price {
  font-size: 1.5rem;
  font-weight: 700;
  display: block;
}

.mtcsec-plan__body {
  padding: 22px 24px;
  flex: 1;
}

.mtcsec-plan__body ul {
  margin: 0 0 0 1.1em;
  padding: 0;
}

.mtcsec-plan__body li {
  margin-bottom: 0.5em;
}

/* ---- highlight / quote panel ---- */
.mtcsec-panel {
  background: var(--sec-wash);
  border-radius: 8px;
  padding: 26px 30px;
  margin: 1.8em 0 2em;
}

.mtcsec-panel h3 {
  margin-top: 0;
}

.mtcsec-panel p:last-child {
  margin-bottom: 0;
}

.mtcsec-panel--teal {
  background: var(--sec-slate);
}

.mtcsec-panel--teal h2,
.mtcsec-panel--teal h3,
.mtcsec-panel--teal p,
.mtcsec-panel--teal li {
  color: #fff;
}

/* ---- to-confirm marker: remove before publishing ---- */
.mtcsec-tbc {
  background: #fff4d6;
  border-bottom: 2px dotted #b26a00;
  color: #7a4a00;
  font-weight: 700;
  padding: 0 4px;
}

/* ---- FAQ ---- */
.mtcsec-faq {
  margin: 1.4em 0 2em;
  border-top: 1px solid var(--sec-line);
}

.mtcsec-faq details {
  border-bottom: 1px solid var(--sec-line);
  padding: 0;
}

.mtcsec-faq summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 44px 18px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--sec-slate);
}

.mtcsec-faq summary::-webkit-details-marker {
  display: none;
}

.mtcsec-faq summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--sec-teal);
  font-weight: 400;
}

.mtcsec-faq details[open] summary::after {
  content: "\2013";
}

.mtcsec-faq summary:hover {
  color: var(--sec-teal);
}

.mtcsec-faq .mtcsec-faq__body {
  padding: 0 0 18px;
}

.mtcsec-faq .mtcsec-faq__body p:last-child {
  margin-bottom: 0;
}

/* ---- closing CTA band ---- */
.mtcsec-cta {
  background: var(--sec-slate);
  border-radius: 8px;
  padding: 34px 36px;
  margin: 2.4em 0 1em;
  text-align: center;
}

.mtcsec-cta h2 {
  color: #fff;
  margin: 0 0 0.4em;
}

.mtcsec-cta p {
  color: #dfe5ea;
  max-width: 640px;
  margin: 0 auto 1.2em;
}

.mtcsec-cta .mtcsec-btn {
  background: #fff;
  color: var(--sec-slate) !important;
}

.mtcsec-cta .mtcsec-btn:hover {
  background: var(--sec-accent);
  color: #fff !important;
}

/* ---- small print ---- */
.mtcsec-note {
  font-size: 0.92rem;
  color: #6b7680;
  border-top: 1px solid var(--sec-line);
  padding-top: 14px;
  margin-top: 2em;
}

@media (max-width: 700px) {
  .mtcsec-cta,
  .mtcsec-panel {
    padding: 22px 20px;
  }

  .mtcsec-steps > li {
    padding-left: 56px;
  }

  .mtcsec-steps > li::before {
    width: 40px;
    height: 40px;
    font-size: 1.05rem;
  }
}
