/**
 * Detail článku – single post šablona pro WordPress příspěvky.
 * Navazuje na blog /clanky/ a používá stejné fonty, barvy a karty.
 */

@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&family=Poppins:wght@700&display=swap");

.ftp-page-content.ftp-single {
  width: 100%;
  max-width: min(72rem, 100%);
  min-width: 0;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.7;
  color: #5a5a5a;
  box-sizing: border-box;
}

.ct-shortcode:has(> .ftp-single) {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  align-self: stretch;
}

.ftp-single *,
.ftp-single *::before,
.ftp-single *::after {
  box-sizing: border-box;
}

.ftp-single__back,
.ftp-single__header,
.ftp-single__toc,
.ftp-single__body,
.ftp-single__tags-wrap {
  width: 100%;
  max-width: min(48rem, 100%);
  min-width: 0;
  margin-left: auto;
  margin-right: auto;
}

/* Příspěvek z editoru WordPressu: bez karty u obsahu, na počítači 80 % šířky sloupce. */

.ftp-single--editor .ftp-single__toc {
  background: none;
  border: 0;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

@media (min-width: 1025px) {
  .ftp-single--editor .ftp-single__back,
  .ftp-single--editor .ftp-single__header,
  .ftp-single--editor .ftp-single__toc,
  .ftp-single--editor .ftp-single__body,
  .ftp-single--editor .ftp-single__tags-wrap {
    max-width: min(38.4rem, 80%);
  }
}

.ftp-single__back {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  width: max-content;
  margin-bottom: 2rem;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  line-height: 1.3;
  color: #777;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ftp-single__back:hover,
.ftp-single__back:focus-visible {
  color: #ed3794;
  outline: none;
}

.ftp-single__back-icon {
  font-size: 1.1em;
  line-height: 1;
}

.ftp-single__header {
  margin-bottom: 2rem;
}

.ftp-single__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin: 0 0 0.85rem;
  font-size: 0.875rem;
  color: #999;
}

.ftp-single__category {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: #33abe1;
  border-radius: 999px;
}

.ftp-single__meta-sep {
  color: #ccc;
}

.ftp-single__title {
  margin: 0;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.875rem, 5vw, 2.625rem);
  font-weight: 700;
  line-height: 1.18;
  color: #3d3d3d;
}

.ftp-single__toc {
  position: relative;
  margin: 0 auto 3rem;
  padding: 1.75rem 2rem;
  background: #ffffff;
  border: 1px solid #f0e0eb;
  border-radius: 20px;
  box-shadow: 0 14px 40px rgba(237, 55, 148, 0.08);
}

.ftp-single__toc-details {
  margin: 0;
  padding: 0;
  border: 0;
}

.ftp-single__toc-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.1rem;
  padding-bottom: 0.85rem;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ed3794;
  border-bottom: 1px solid #f6e7f0;
}

.ftp-single__toc-title::before {
  content: "";
  display: block;
  width: 18px;
  height: 14px;
  flex-shrink: 0;
  align-self: center;
  box-sizing: border-box;
  border-top: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat;
}

.ftp-single__toc--collapsible .ftp-single__toc-title {
  list-style: none;
  cursor: pointer;
  user-select: none;
  margin-bottom: 0;
  transition: color 0.15s ease;
}

.ftp-single__toc--collapsible .ftp-single__toc-title::-webkit-details-marker {
  display: none;
}

.ftp-single__toc--collapsible .ftp-single__toc-title::marker {
  content: "";
}

.ftp-single__toc--collapsible .ftp-single__toc-title:hover,
.ftp-single__toc--collapsible .ftp-single__toc-title:focus-visible {
  color: #c60a7a;
  outline: none;
}

.ftp-single__toc--collapsible .ftp-single__toc-details[open] > .ftp-single__toc-title {
  margin-bottom: 1.1rem;
}

.ftp-single__toc--collapsible .ftp-single__toc-details:not([open]) > .ftp-single__toc-title {
  border-bottom: none;
  padding-bottom: 0;
}

.ftp-single__toc-title-text {
  flex: 1 1 auto;
  min-width: 0;
}

.ftp-single__toc-count {
  flex-shrink: 0;
  margin-left: auto;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fdf0f7;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: none;
  color: #c60a7a;
}

.ftp-single__toc-chevron {
  position: relative;
  flex-shrink: 0;
  width: 0.55rem;
  height: 0.55rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.ftp-single__toc--collapsible .ftp-single__toc-details[open] .ftp-single__toc-chevron {
  transform: rotate(-135deg) translateY(1px);
}

.ftp-single__toc--collapsible .ftp-single__toc-details:not([open]) .ftp-single__toc-list {
  display: none;
}

.ftp-single__toc-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ftp-single__toc-list li {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ftp-single__toc-list li.is-h3 {
  margin-left: 1.75rem;
  font-size: 0.9375rem;
}

.ftp-single__toc-list a {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  padding: 0.55rem 0;
  font-family: "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.45;
  color: #3d3d3d;
  text-decoration: none;
  border-bottom: 1px dashed transparent;
  transition: color 0.15s ease, border-color 0.15s ease, padding-left 0.15s ease;
}

.ftp-single__toc-list li:not(:last-child) > a {
  border-bottom-color: #f3eef1;
}

/* Dynamické TOC má čísla přímo v HTML; potlač staré CSS číslování. */
.ftp-single .ftp-test-guide .ftp-single__toc-list li.is-h2 > a::before,
.ftp-single .ftp-test-guide .ftp-single__toc-list li.is-h3 > a::before {
  content: none;
  display: none;
}

.ftp-single__toc-num {
  flex-shrink: 0;
  min-width: 1.85rem;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  color: #ed3794;
  letter-spacing: 0.04em;
}

.ftp-single__toc-list li.is-h3 > a > .ftp-single__toc-num {
  min-width: 1rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #c0c0c0;
  letter-spacing: 0;
}

.ftp-single__toc-list a:hover,
.ftp-single__toc-list a:focus-visible {
  color: #ed3794;
  padding-left: 0.35rem;
  outline: none;
}

.ftp-single__body {
  margin-bottom: 2.5rem;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #5a5a5a;
}

.ftp-single__body > *:first-child,
.ftp-single__body .article > *:first-child {
  margin-top: 0;
}

.ftp-single__body > *:last-child,
.ftp-single__body .article > *:last-child {
  margin-bottom: 0;
}

/* —— Vnořená struktura z editoru (article / perex / content) —— */

.ftp-single__body .article {
  margin: 0;
}

.ftp-single__body .article__header {
  margin: 0 0 2.25rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #ececef;
}

.ftp-single__body .article__perex {
  margin: 0;
  font-size: clamp(1.125rem, 2.5vw, 1.3125rem);
  line-height: 1.65;
  color: #3d3d3d;
}

.ftp-single__body .article__perex strong {
  font-weight: 700;
  color: #3d3d3d;
}

.ftp-single__body .article__content {
  margin: 0;
}

.ftp-single__body .article__content > *:first-child {
  margin-top: 0;
}

/*
 * Typografie článku — neaplikovat uvnitř .ftp-test-guide
 * (FTP průvodce má vlastní styly a při vnoření do článku se jinak láme layout).
 */

/* —— Nadpisy —— */

.ftp-single__body h2:not(.ftp-test-guide *),
.ftp-single__body h3:not(.ftp-test-guide *),
.ftp-single__body h4:not(.ftp-test-guide *) {
  margin: 2.75rem 0 1rem;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.28;
  color: #3d3d3d;
  scroll-margin-top: 7rem;
}

.ftp-single__body h2:not(.ftp-test-guide *):first-child,
.ftp-single__body .article__content > h2:first-child {
  margin-top: 0;
}

.ftp-single__body h2:not(.ftp-test-guide *) {
  padding-top: 0.35rem;
  font-size: clamp(1.375rem, 2.8vw, 1.75rem);
  letter-spacing: -0.01em;
}

.ftp-single__body h2:not(.ftp-test-guide *):not(:first-child) {
  padding-top: 2rem;
  border-top: 1px solid #f0f0f2;
}

.ftp-single__body h3:not(.ftp-test-guide *) {
  font-size: clamp(1.15rem, 2.2vw, 1.375rem);
}

.ftp-single__body h4:not(.ftp-test-guide *) {
  font-size: 1.0625rem;
  color: #4a4a4a;
}

/* —— Odstavce a inline —— */

.ftp-single__body p:not(.ftp-test-guide *) {
  margin: 0 0 1.35rem;
}

.ftp-single__body p:not(.ftp-test-guide *):last-child {
  margin-bottom: 0;
}

.ftp-single__body strong:not(.ftp-test-guide *),
.ftp-single__body b:not(.ftp-test-guide *) {
  font-weight: 700;
  color: #3d3d3d;
}

.ftp-single__body em:not(.ftp-test-guide *),
.ftp-single__body i:not(.ftp-test-guide *) {
  font-style: italic;
}

.ftp-single__body mark:not(.ftp-test-guide *) {
  padding: 0.05em 0.2em;
  color: inherit;
  background: #fff0f7;
  border-radius: 4px;
}

/* —— Seznamy —— */

.ftp-single__body ul:not(.ftp-test-guide *),
.ftp-single__body ol:not(.ftp-test-guide *) {
  margin: 0 0 1.5rem;
  padding-left: 0;
  list-style: none;
}

.ftp-single__body ul li:not(.ftp-test-guide *),
.ftp-single__body ol li:not(.ftp-test-guide *) {
  position: relative;
  margin: 0 0 0.65rem;
  padding-left: 1.5rem;
}

.ftp-single__body ul li:not(.ftp-test-guide *)::before {
  content: "";
  position: absolute;
  top: 0.65em;
  left: 0.35rem;
  width: 0.45rem;
  height: 0.45rem;
  background: #ed3794;
  border-radius: 50%;
}

.ftp-single__body ol:not(.ftp-test-guide *) {
  counter-reset: ftp-single-ol;
}

.ftp-single__body ol li:not(.ftp-test-guide *) {
  counter-increment: ftp-single-ol;
}

.ftp-single__body ol li:not(.ftp-test-guide *)::before {
  content: counter(ftp-single-ol) ".";
  position: absolute;
  left: 0;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: #ed3794;
}

.ftp-single__body li:not(.ftp-test-guide *) > ul,
.ftp-single__body li:not(.ftp-test-guide *) > ol {
  margin-top: 0.65rem;
  margin-bottom: 0;
}

/* —— Odkazy —— */

.ftp-single__body a:not(.ftp-test-guide *) {
  color: #ed3794;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(237, 55, 148, 0.35);
  text-underline-offset: 0.15em;
  transition: color 0.15s ease, text-decoration-color 0.15s ease;
}

.ftp-single__body a:not(.ftp-test-guide *):hover,
.ftp-single__body a:not(.ftp-test-guide *):focus-visible {
  color: #b8246e;
  text-decoration-color: rgba(184, 36, 110, 0.55);
  outline: none;
}

.ftp-single__body a:not(.ftp-test-guide *) strong {
  color: inherit;
}

/* —— Citace, oddělovače —— */

.ftp-single__body blockquote:not(.ftp-test-guide *) {
  margin: 2rem 0;
  padding: 1.15rem 1.35rem;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: #3d3d3d;
  background: #fff5fa;
  border: none;
  border-left: 4px solid #ed3794;
  border-radius: 0 12px 12px 0;
}

.ftp-single__body blockquote:not(.ftp-test-guide *) p:last-child {
  margin-bottom: 0;
}

.ftp-single__body hr:not(.ftp-test-guide *) {
  margin: 2.5rem 0;
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ececef 15%, #ececef 85%, transparent);
}

/* —— Obrázky a Gutenberg bloky —— */

.ftp-single__body img:not(.ftp-test-guide *) {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0;
  border-radius: 20px;
}

.ftp-single__body figure:not(.ftp-test-guide *) {
  margin: 2.5rem 0;
}

.ftp-single__body figure:not(.ftp-test-guide *) img {
  width: 100%;
  box-shadow: 0 12px 40px rgba(61, 61, 61, 0.08);
}

.ftp-single__body figcaption:not(.ftp-test-guide *),
.ftp-single__body .wp-element-caption {
  margin-top: 0.75rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  color: #999;
  text-align: center;
}

.ftp-single__body figure.wp-block-image {
  width: 100%;
  margin: 2.5rem auto;
}

.ftp-single__body figure.wp-block-image img {
  width: auto;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0;
  box-shadow: none;
}

@media (min-width: 1025px) {
  .ftp-single__body figure.wp-block-image {
    width: 80%;
  }
}

.ftp-single__body .alignwide,
.ftp-single__body .alignfull {
  max-width: none;
}

.ftp-single__body .aligncenter {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* —— Kód a tabulky —— */

.ftp-single__body code:not(.ftp-test-guide *) {
  padding: 0.12rem 0.4rem;
  font-size: 0.88em;
  color: #b8246e;
  background: #fff5fa;
  border-radius: 6px;
}

.ftp-single__body pre:not(.ftp-test-guide *) {
  overflow-x: auto;
  margin: 1.75rem 0;
  padding: 1.15rem 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #3d3d3d;
  background: #f7f7f8;
  border: 1px solid #ececef;
  border-radius: 16px;
}

.ftp-single__body pre:not(.ftp-test-guide *) code {
  padding: 0;
  color: inherit;
  background: transparent;
  border-radius: 0;
}

.ftp-single__body table:not(.ftp-test-guide *) {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
  font-size: 0.9375rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px #ececef;
}

.ftp-single__body th:not(.ftp-test-guide *),
.ftp-single__body td:not(.ftp-test-guide *) {
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 1px solid #ececef;
}

.ftp-single__body tr:not(.ftp-test-guide *):last-child td {
  border-bottom: none;
}

.ftp-single__body th:not(.ftp-test-guide *) {
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-weight: 700;
  color: #3d3d3d;
  background: #f7f7f8;
}

.ftp-single__body iframe:not(.ftp-test-guide *),
.ftp-single__body video:not(.ftp-test-guide *) {
  display: block;
  max-width: 100%;
  margin: 2rem 0;
  border: none;
  border-radius: 16px;
}

.ftp-single__tags-wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1rem;
  margin-top: 3rem;
  margin-bottom: 0;
  padding: 1.5rem 0 0;
  border-top: 1px solid #ececef;
}

.ftp-single__tags-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #999;
}

.ftp-single__tags-label::before {
  content: "#";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.5rem;
  height: 1.5rem;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
  color: #ed3794;
  background: #fff0f7;
  border-radius: 50%;
}

.ftp-single__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ftp-single__tag {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ftp-single__tag a {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.95rem;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.3;
  color: #5a5a5a;
  text-decoration: none;
  background: transparent;
  border: 1px solid #e6e6ea;
  border-radius: 999px;
  transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.ftp-single__tag a::before {
  content: "#";
  margin-right: 0.25rem;
  color: #c8c8cf;
  font-weight: 700;
  transition: color 0.15s ease;
}

.ftp-single__tag a:hover,
.ftp-single__tag a:focus-visible {
  color: #ed3794;
  background: #fff5fa;
  border-color: #f6c3dd;
  outline: none;
  transform: translateY(-1px);
}

.ftp-single__tag a:hover::before,
.ftp-single__tag a:focus-visible::before {
  color: #ed3794;
}

.ftp-single__related {
  width: 100%;
  margin: 3.5rem 0 0;
}

.ftp-single__related-title {
  margin: 0 0 1.5rem;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.4rem, 3vw, 1.875rem);
  font-weight: 700;
  line-height: 1.3;
  color: #3d3d3d;
}

.ftp-single__related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.ftp-single__related .ftp-article-card {
  display: flex;
  flex-direction: column;
  background: #fff;
}

.ftp-single__related .ftp-article-card__media {
  position: relative;
  display: block;
  padding: 0.5rem 0.5rem 0;
  text-decoration: none;
}

.ftp-single__related .ftp-article-card__image {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
  vertical-align: middle;
  border-radius: 24px;
}

.ftp-single__related .ftp-article-card__image--placeholder {
  height: 220px;
  background: linear-gradient(135deg, #fce4f0 0%, #f5f5f5 100%);
  border-radius: 24px;
}

.ftp-single__related .ftp-article-card__category {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 1;
  padding: 0.25rem 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  background: #33abe1;
  border-radius: 999px;
}

.ftp-single__related .ftp-article-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem 1.25rem 1.5rem;
}

.ftp-single__related .ftp-article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem;
  margin: 0 0 0.65rem;
  font-size: 0.8125rem;
  color: #999;
}

.ftp-single__related .ftp-article-card__meta-sep {
  color: #ccc;
}

.ftp-single__related .ftp-article-card__title {
  margin: 0 0 0.5rem;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
}

.ftp-single__related .ftp-article-card__title a {
  color: #3d3d3d;
  text-decoration: none;
  transition: color 0.15s ease;
}

.ftp-single__related .ftp-article-card__title a:hover,
.ftp-single__related .ftp-article-card__title a:focus-visible {
  color: #ed3794;
  outline: none;
}

.ftp-single__related .ftp-article-card__excerpt {
  flex: 1;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #777;
}

.ftp-single__related.ftp-latest-articles {
  margin: 0;
}

.ftp-single__related.ftp-latest-articles .ftp-article-card {
  background: transparent;
}

.ftp-single__related.ftp-latest-articles .ftp-article-card__body {
  padding: 1.25rem 0 0;
}

.ftp-single__related.ftp-latest-articles .ftp-article-card__media {
  padding: 0;
}

.ftp-latest-section {
  width: 100vw;
  position: relative;
  left: 50%;
  margin-left: -50vw;
  padding: clamp(2.5rem, 6vw, 4.5rem) 1.5rem;
  background: #fdeaf4;
  overflow-x: hidden;
}

.ftp-latest-section__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: clamp(1.75rem, 4vw, 2.75rem);
}

.ftp-latest-section__heading {
  margin: 0;
  font-family: "Poppins", "Nunito", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(1.875rem, 4vw, 2.625rem);
  font-weight: 700;
  line-height: 1.2;
  color: #3d3d3d;
  text-align: center;
}

.ftp-latest-section__grid-wrap {
  width: 100%;
}

.ftp-latest-section__cta-wrap {
  display: flex;
  justify-content: center;
}

.ftp-latest-section__cta,
.ftp-latest-section__cta:link,
.ftp-latest-section__cta:visited {
  display: inline-block;
  margin: 0;
  padding: 0 32px;
  height: 52px;
  background: #ed3794;
  background-image: none;
  border: 0;
  border-radius: 14px;
  box-shadow: 0 5px 0 0 #b8246e;
  color: #ffffff;
  cursor: pointer;
  font-family: "Nunito", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.8px;
  line-height: 52px;
  text-align: center;
  text-decoration: none;
  text-shadow: none;
  text-transform: uppercase;
  transition: filter 0.15s ease, transform 0.05s ease, box-shadow 0.05s ease;
  vertical-align: middle;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
}

.ftp-latest-section__cta:hover,
.ftp-latest-section__cta:focus-visible {
  background: #ed3794;
  background-image: none;
  color: #ffffff;
  filter: brightness(1.06);
  text-decoration: none;
  outline: none;
}

.ftp-latest-section__cta:focus-visible {
  box-shadow: 0 5px 0 0 #b8246e, 0 0 0 3px rgba(237, 55, 148, 0.35);
}

.ftp-latest-section__cta:active {
  background: #ed3794;
  background-image: none;
  color: #ffffff;
  transform: translateY(5px);
  box-shadow: 0 0 0 0 #b8246e;
}

@media (max-width: 480px) {
  .ftp-latest-section {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .ftp-latest-section__cta {
    height: 48px;
    padding: 0 24px;
    font-size: 14px;
    line-height: 48px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ftp-latest-section__cta {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .ftp-single__related-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .ftp-page-content.ftp-single {
    padding-top: 1.5rem;
    padding-bottom: 2.5rem;
  }

  .ftp-single__body {
    font-size: 1rem;
    line-height: 1.7;
  }

  .ftp-single__body .article__header {
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
  }

  .ftp-single__body h2:not(.ftp-test-guide *):not(:first-child) {
    padding-top: 1.5rem;
  }

  .ftp-single__body figure:not(.ftp-test-guide *),
  .ftp-single__body .wp-block-image {
    margin: 2rem 0;
  }

  .ftp-single__toc {
    padding: 1.25rem 1.25rem;
    border-radius: 16px;
  }

  .ftp-single__toc-title {
    font-size: 0.75rem;
    margin-bottom: 0.85rem;
    padding-bottom: 0.65rem;
  }

  .ftp-single__toc--collapsible .ftp-single__toc-details[open] > .ftp-single__toc-title {
    margin-bottom: 0.85rem;
  }

  .ftp-single__toc-count {
    font-size: 0.625rem;
    padding: 0.15rem 0.45rem;
  }

  .ftp-single__toc-list a {
    gap: 0.65rem;
    font-size: 0.9375rem;
  }

  .ftp-single__toc-list li.is-h3 {
    margin-left: 1rem;
  }

  .ftp-single__tags-wrap {
    gap: 0.75rem;
  }

  .ftp-single__related {
    margin-top: 2.5rem;
  }

  .ftp-single__related-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
