/* Single post — SEO + conversion layout (CheckandPack brand) */

body.post,
body.post #allWrap {
  height: auto;
  min-height: 100%;
  background-color: #ffffff;
}

body.post #allWrap > #mainContent {
  overflow: visible;
  flex: 1 0 auto;
  background-color: #ffffff;
}

body.post #mainContent > .wk-post {
  margin-top: 7rem;
  width: 100%;
  background-color: #ffffff;
}

@media (max-width: 640px) {
  body.post #mainContent > .wk-post {
    margin-top: 0;
    padding-top: 12px;
  }
}

body.post .wk-post__inner {
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--content-margin);
  padding-right: var(--content-margin);
}

@media (min-width: 1200px) {
  body.post .wk-post__inner {
    max-width: var(--gridWidth);
  }
}

.wk-post {
  width: 100%;
  max-width: 100%;
}

body.post .wk-post-hero {
  padding-top: 0;
  padding-bottom: calc(var(--gap) * 1.25);
}

body.post .wk-post-body,
body.post .wk-post-features,
body.post .wk-post-related,
body.post .wk-post-faq,
body.post .wk-post-internal-links,
body.post .wk-post-final-cta {
  padding-top: calc(var(--gap) * 1.25);
  padding-bottom: calc(var(--gap) * 1.25);
}

/* Theme sets all ul/ol to flex-direction: column — override in post chrome */
.wk-post .wk-post-breadcrumbs ol,
.wk-post .wk-post-hero__meta,
.wk-post .wk-post-internal-links__list {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.wk-post .wk-post-hero__meta li,
.wk-post .wk-post-breadcrumbs li,
.wk-post .wk-post-internal-links__list li {
  flex: none;
  padding-left: 0;
}

.wk-post .wk-post-hero__meta li::before,
.wk-post .wk-post-breadcrumbs li::before,
.wk-post .wk-post-internal-links__list li::before {
  display: none;
}

.wk-post-breadcrumbs ol {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 0.875rem;
  color: #666;
  width: 100%;
}

.wk-post-breadcrumbs li + li::before {
  content: "/";
  margin-right: 12px;
  color: #ccc;
}

.wk-post-breadcrumbs a {
  color: #666;
  text-decoration: none;
}

.wk-post-breadcrumbs a:hover {
  color: #FF7C84;
}

.wk-post-hero__panel {
  padding: clamp(28px, 4vw, 44px);
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255, 124, 132, 0.07) 0%, rgba(255, 151, 112, 0.12) 42%, rgba(255, 255, 255, 0.95) 100%);
  border: 1px solid rgba(255, 124, 132, 0.16);
  box-shadow: 0 12px 40px rgba(255, 124, 132, 0.08);
  width: 100%;
}

.wk-post-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: calc(var(--gap) * 1.5);
  align-items: center;
  width: 100%;
}

.wk-post-hero__grid--solo,
.wk-post-hero__grid:not(:has(.wk-post-hero__media)) {
  grid-template-columns: minmax(0, 1fr);
}

.wk-post-hero__copy {
  min-width: 0;
  width: 100%;
}

.wk-post-tags {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}

.wk-post-tags li {
  margin: 0;
  padding-left: 0;
}

.wk-post-tags li::before {
  display: none;
  content: none;
}

.wk-post-tags a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 124, 132, 0.35);
  background: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  color: #FF7C84;
  font-size: 0.8125rem;
  font-weight: 600;
}

.wk-post-tags a:hover {
  background: #FF7C84;
  color: #fff;
  border-color: #FF7C84;
}

.wk-post-tags__count {
  display: inline-flex;
  min-width: 1.4em;
  justify-content: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(255, 124, 132, 0.12);
  font-size: 0.75rem;
  font-weight: 700;
  color: inherit;
}

.wk-post-tags a:hover .wk-post-tags__count {
  background: rgba(255, 255, 255, 0.25);
}

.wk-post-hero__category a {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255, 124, 132, 0.12);
  color: #FF7C84;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.wk-post-hero__title {
  margin: 0 0 16px;
  font-size: clamp(1.875rem, 3.2vw, 2.75rem);
  line-height: 1.15;
  font-weight: 700;
}

.wk-post-hero__intro {
  margin: 0 0 18px;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #333;
  max-width: none;
}

.wk-post-hero__meta {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  font-size: 0.875rem;
  color: #666;
  width: 100%;
}

.wk-post-hero__meta i {
  color: #FF7C84;
  margin-right: 6px;
}

.wk-post-hero__cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
}

.wk-post-hero__media {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f5f5f5;
  aspect-ratio: 4 / 3;
}

.wk-post-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wk-post-body__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 320px);
  gap: calc(var(--gap) * 1.75);
  align-items: start;
  width: 100%;
}

.wk-post-body__main {
  min-width: 0;
  width: 100%;
}

.wk-post-body__aside {
  margin: 0 0 calc(var(--gap) * 1.25);
}

.wk-post-sidebar {
  position: sticky;
  top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
}

.wk-post-sidebar__card {
  padding: 18px 20px;
  border: 1px solid #E8E8E8;
  border-radius: 14px;
  background: #fff;
}

.wk-post-sidebar__card--toc {
  background: linear-gradient(180deg, rgba(255, 124, 132, 0.06) 0%, #fff 100%);
  border-color: rgba(255, 124, 132, 0.2);
}

.wk-post-sidebar__heading,
.wk-post-sidebar__cta-label {
  margin: 0 0 12px;
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
}

.wk-post-sidebar__cta-text {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: #333;
}

.wk-post-sidebar__cta-btn {
  width: 100%;
  min-height: 44px;
}

.wk-post-sidebar__related {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wk-post-sidebar__related li {
  margin: 0;
  padding: 0 0 14px;
  border-bottom: 1px solid #EFEFEF;
  padding-left: 0;
}

.wk-post-sidebar__related li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.wk-post-sidebar__related li::before {
  display: none;
  content: none;
}

.wk-post-sidebar__related-cat {
  display: block;
  margin-bottom: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: #FF7C84;
}

.wk-post-sidebar__related a {
  color: #222;
  font-weight: 600;
  font-size: 0.9375rem;
  line-height: 1.4;
  text-decoration: none;
}

.wk-post-sidebar__related a:hover {
  color: #FF7C84;
}

.wk-post-toc-section {
  margin: 0 0 calc(var(--gap) * 1.25);
}

.wk-post-toc {
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
}

.wk-post-toc__label {
  margin: 0 0 12px;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
}

.wk-post-toc__toggle {
  display: none;
}

.wk-post-toc__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wk-post-toc__item {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.45;
  padding-left: 0;
}

.wk-post-toc__item::before {
  display: none;
}

.wk-post-toc__item--h3 {
  padding-left: 12px;
}

.wk-post-toc__item--h4 {
  padding-left: 24px;
  font-size: 0.875rem;
}

.wk-post-toc__item a {
  color: #333;
  text-decoration: none;
}

.wk-post-toc__item a:hover,
.wk-post-toc__item a:focus-visible {
  color: #FF7C84;
}

.wk-post-article {
  width: 100%;
  max-width: none;
  font-size: 1.0625rem;
  line-height: 1.75;
  overflow: hidden;
  color: #333;
}

.wk-post-article .wrap,
.wk-post-article .theContent,
.wk-post-article [data-row],
.wk-post-article [data-flex] {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.wk-post-article .sidebar {
  display: none !important;
}

.wk-post-article p,
.wk-post-article li,
.wk-post-article td,
.wk-post-article th,
.wk-post-article blockquote {
  font-size: 1.0625rem !important;
  line-height: 1.75 !important;
  font-family: inherit !important;
}

.wk-post-article span:not([class*="fa-"]) {
  font-size: inherit !important;
  line-height: inherit !important;
}

.wk-post-article h2 {
  font-size: 1.75rem !important;
}

.wk-post-article h3 {
  font-size: 1.25rem !important;
}

.wk-post-article h4 {
  font-size: 1.125rem !important;
}

.wk-post-article p,
.wk-post-article li {
  font-size: inherit;
  line-height: inherit;
}

.wk-post-article strong,
.wk-post-article b {
  font-weight: 700;
  color: #111;
}

.wk-post-article em,
.wk-post-article i {
  font-style: italic;
}

.wk-post-article::after {
  content: "";
  display: table;
  clear: both;
}

.wk-post-article > *:first-child {
  margin-top: 0;
}

.wk-post-article h2,
.wk-post-article h3,
.wk-post-article h4 {
  scroll-margin-top: 24px;
  line-height: 1.25;
}

.wk-post-article h2 {
  margin-top: 2.2em;
  margin-bottom: 0.75em;
  font-size: 1.75rem;
}

.wk-post-article h3 {
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  font-size: 1.25rem;
}

.wk-post-article p,
.wk-post-article ul,
.wk-post-article ol,
.wk-post-article img {
  margin-top: 1.1em;
}

.wk-post-article img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.wk-post-article ul,
.wk-post-article ol {
  flex-direction: column;
  align-items: stretch;
  padding-left: 0;
  gap: 8px;
  margin-top: 1em;
  margin-bottom: 1em;
}

.wk-post-article ul li,
.wk-post-article ol li {
  padding-left: 22px;
  position: relative;
}

.wk-post-article ul li::before {
  display: block;
  position: absolute;
  top: 0.72em;
  left: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #FF7C84;
  content: "";
}

.wk-post-article ol {
  counter-reset: wk-post-ol;
}

.wk-post-article ol li {
  counter-increment: wk-post-ol;
  padding-left: 28px;
}

.wk-post-article ol li::before {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  background: none;
  content: counter(wk-post-ol) ".";
  color: #FF7C84;
  font-weight: 700;
  font-size: 0.95em;
}

.wk-post-article li {
  margin-bottom: 0.45em;
}

.wk-post-cta {
  margin: 28px 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255, 124, 132, 0.12), rgba(255, 151, 112, 0.18));
  border: 1px solid rgba(255, 124, 132, 0.25);
  width: 100%;
}

.wk-post-cta__inner {
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  gap: 14px 18px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.wk-post-cta__text {
  margin: 0;
  flex: none;
  width: 100%;
  max-width: 62ch;
  font-weight: 600;
  color: #111;
}

.wk-post-cta__btn {
  flex: 0 0 auto;
  min-height: 44px;
  margin-left: auto;
  margin-right: auto;
}

.wk-post-section-head h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
}

.wk-post-section-head p {
  margin: 0 0 24px;
  color: #555;
  max-width: 68ch;
}

.wk-post-features__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-direction: unset;
}

.wk-post-features__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
  padding: 20px;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  background: #fff;
  height: 100%;
}

.wk-post-features__item::before {
  display: none;
  content: none;
}

.wk-post-features__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(255, 124, 132, 0.12);
  color: #FF7C84;
  margin-bottom: 12px;
  line-height: 1;
}

.wk-post-features__icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.125rem;
  height: 1.125rem;
  font-size: 1.125rem;
  line-height: 1;
}

.wk-post-features__icon i::before {
  display: block;
  line-height: 1;
}

.wk-post-features__item h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.wk-post-features__item p {
  margin: 0;
  color: #555;
  font-size: 0.9375rem;
  flex: 1 1 auto;
}

.wk-post-features__cta {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid #E8E8E8;
  display: flex;
  justify-content: center;
  text-align: center;
}

.wk-post-features__cta .button {
  margin: 0;
  width: auto;
  min-width: 240px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wk-post-internal-links__list {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.wk-post-internal-links__list li {
  margin: 0;
  padding-left: 0;
}

.wk-post-internal-links__list li::before {
  display: none;
  content: none;
}

.wk-post-internal-links__list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid #E0E0E0;
  background: #fff;
  text-decoration: none;
  color: #222;
  font-size: 0.9375rem;
  font-weight: 600;
}

.wk-post-internal-links__list a:hover {
  border-color: #FF7C84;
  color: #FF7C84;
}

.wk-post-related__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--gap);
}

.wk-post-related__card {
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
}

.wk-post-related__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.wk-post-related__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.wk-post-related__category a,
.wk-post-tags__link {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 124, 132, 0.12);
  color: #FF7C84;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
}

.wk-post-related__category a:hover,
.wk-post-tags__link:hover {
  background: #FF7C84;
  color: #fff;
}

.wk-post-related__body h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
}

.wk-post-related__body h3 a {
  color: inherit;
  text-decoration: none;
}

.wk-post-related__body p {
  margin: 0;
  color: #555;
  font-size: 0.9375rem;
}

.wk-post-related__more {
  margin-top: auto;
  font-weight: 600;
  color: #FF7C84;
  text-decoration: none;
}

.wk-post-faq__list {
  width: 100%;
}

.wk-post-faq__item {
  border: 1px solid #E0E0E0;
  border-radius: 10px;
  padding: 0 16px;
  margin-bottom: 12px;
  background: #fff;
}

.wk-post-faq__item summary {
  cursor: pointer;
  font-weight: 600;
  padding: 16px 0;
  list-style: none;
}

.wk-post-faq__item summary::-webkit-details-marker {
  display: none;
}

.wk-post-faq__answer {
  padding: 0 0 16px;
  color: #444;
}

.wk-post-final-cta__box {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: clamp(24px, 4vw, 40px);
  border-radius: 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(180deg, #FF7C84 0%, #FF9770 100%);
}

.wk-post-final-cta__box h2 {
  margin: 0 0 10px;
  color: #fff;
  width: 100%;
}

.wk-post-final-cta__box p {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.95);
  max-width: 60ch;
}

.wk-post-final-cta__box .button {
  display: inline-flex;
  width: auto;
  margin-top: 0;
  margin-left: auto;
  margin-right: auto;
  align-self: center;
}

.wk-post-mobile-cta {
  display: none;
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 10050;
  text-align: center;
  min-height: 48px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.wk-post-mobile-cta.is-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.wk-site-nav ul {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
}

.wk-site-nav li {
  padding-left: 0;
}

.wk-site-nav li::before {
  display: none;
}

.wk-site-nav a:not(.button) {
  font-weight: 600;
  color: #333;
  text-decoration: none;
}

.wk-site-nav a:not(.button):hover {
  color: #FF7C84;
}

@media (max-width: 960px) {
  .wk-post-body__layout {
    grid-template-columns: 1fr;
  }

  .wk-post-sidebar {
    position: static;
    order: -1;
  }

  .wk-post-hero__panel {
    padding: 22px 20px;
    border-radius: 16px;
  }

  .wk-post-hero__grid,
  .wk-post-features__grid,
  .wk-post-related__grid {
    grid-template-columns: 1fr;
  }

  .wk-post-toc__list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 16px;
  }

  .wk-site-nav ul {
    gap: 8px 12px;
  }

  .wk-site-nav .button {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (max-width: 640px) {
  .wk-post-hero__panel {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .wk-post-breadcrumbs ol {
    gap: 6px 10px;
    font-size: 0.8125rem;
  }

  .wk-post-hero__title {
    font-size: clamp(1.625rem, 7vw, 2rem);
  }

  .wk-post-hero__meta {
    gap: 8px 14px;
  }

  .wk-post-hero__cta {
    width: 100%;
  }

  .wk-post-toc__list {
    grid-template-columns: 1fr;
  }

  .wk-post-cta__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .wk-post-cta__btn,
  .wk-post-hero__cta {
    width: 100%;
  }

  .wk-post-features__cta .button {
    width: 100%;
    min-width: 0;
  }

  .wk-post-mobile-cta.is-visible {
    display: inline-flex;
  }
}

@media (min-width: 641px) {
  .wk-post-mobile-cta {
    display: none !important;
  }
}
