/* ─────────────────────────────────────────────────────────────────────────
   Single Post  |  protecht theme
   Palette: bg #EFE9DF · card #FBF8F5 · teal #2A9D8F · orange #E8825C
───────────────────────────────────────────────────────────────────────── */

.ptb-single-wrap {
  background: #EFE9DF;
  min-height: 60vh;
}

/* ── Containers ── */
.ptb-sp-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 24px;
}

.ptb-sp-container-wide {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 24px;
}

.ptb-sp-container-narrow {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Article Header ── */
.ptb-sp-header {
  padding: 56px 0 40px;
}

.ptb-sp-cat-row {
  margin-bottom: 20px;
}

.ptb-sp-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(42, 157, 143, 0.12);
  color: #1A7A6E;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.18s;
}

.ptb-sp-cat-badge:hover {
  background: rgba(42, 157, 143, 0.22);
}

.ptb-sp-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.18;
  color: #2D2D2D;
  margin: 0 0 20px;
  letter-spacing: -0.01em;
}

.ptb-sp-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.125rem;
  line-height: 1.65;
  color: #6B6760;
  margin: 0 0 28px;
  font-weight: 400;
}

.ptb-sp-subtitle p {
  margin: 0;
}

.ptb-sp-byline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.ptb-sp-avatar {
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
}

.ptb-sp-byline-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ptb-sp-byline-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #2D2D2D;
}

.ptb-sp-byline-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: #8B8680;
}

/* ── Hero ── */
.ptb-sp-hero-wrap {
  padding: 0 0 40px;
}

.ptb-sp-hero {
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #1A7A6E;
  position: relative;
}

.ptb-sp-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ptb-sp-hero-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2A9D8F 0%, #1A7A6E 55%, #145f56 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 40px;
}

.ptb-sp-hero-blob {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.ptb-sp-hero-quote {
  position: relative;
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.125rem, 2.4vw, 1.625rem);
  font-style: italic;
  color: #fff;
  text-align: center;
  max-width: 640px;
  line-height: 1.5;
  opacity: 0.92;
  margin: 0;
}

/* ── Body Content ── */
.ptb-sp-body {
  padding: 16px 0 56px;
}

.ptb-sp-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.0625rem;
  line-height: 1.78;
  color: #4A5568;
}

.ptb-sp-content > p:first-of-type {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  font-weight: 400;
  line-height: 1.65;
  color: #2D2D2D;
  margin-bottom: 1.75em;
}

.ptb-sp-content p {
  margin: 0 0 1.5em;
}

.ptb-sp-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6875rem;
  font-weight: 700;
  color: #2D2D2D;
  margin: 2.25em 0 0.75em;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.ptb-sp-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3125rem;
  font-weight: 600;
  color: #2D2D2D;
  margin: 1.75em 0 0.6em;
  line-height: 1.3;
}

.ptb-sp-content h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: #2D2D2D;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin: 1.5em 0 0.5em;
}

.ptb-sp-content ul,
.ptb-sp-content ol {
  padding-left: 1.5em;
  margin: 0 0 1.5em;
}

.ptb-sp-content li {
  margin-bottom: 0.45em;
}

.ptb-sp-content a {
  color: #2A9D8F;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ptb-sp-content a:hover {
  color: #1A7A6E;
}

.ptb-sp-content blockquote {
  margin: 2.25em 0;
  padding: 22px 28px 22px 32px;
  background: #FBF8F5;
  border-left: 4px solid #2A9D8F;
  border-radius: 0 12px 12px 0;
}

.ptb-sp-content blockquote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: #2D2D2D;
  line-height: 1.5;
  margin: 0 0 0.4em;
}

.ptb-sp-content blockquote p:last-child {
  margin: 0;
}

.ptb-sp-content blockquote cite,
.ptb-sp-content blockquote footer {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-style: normal;
  color: #8B8680;
  display: block;
  margin-top: 8px;
}

/* Callout box — add class="ptb-callout" to a Gutenberg group block */
.ptb-sp-content .ptb-callout {
  background: rgba(42, 157, 143, 0.08);
  border: 1px solid rgba(42, 157, 143, 0.28);
  border-radius: 12px;
  padding: 22px 28px;
  margin: 2em 0;
}

.ptb-sp-content .ptb-callout p {
  font-size: 0.9375rem;
  color: #1A7A6E;
  margin: 0;
}

.ptb-sp-content img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 0.5em 0 1.5em;
}

/* ── Author Bio ── */
.ptb-sp-author-section {
  padding: 0 0 56px;
}

.ptb-sp-author-box {
  display: flex;
  gap: 20px;
  background: #FBF8F5;
  border-radius: 16px;
  padding: 28px 32px;
  align-items: flex-start;
}

.ptb-sp-author-avatar {
  width: 60px !important;
  height: 60px !important;
  border-radius: 50% !important;
  object-fit: cover;
  flex-shrink: 0;
}

.ptb-sp-author-label {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8B8680;
  margin-bottom: 4px;
}

.ptb-sp-author-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  color: #2D2D2D;
  text-decoration: none;
  display: block;
  margin-bottom: 10px;
}

.ptb-sp-author-name:hover {
  color: #2A9D8F;
}

.ptb-sp-author-bio {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9rem;
  line-height: 1.65;
  color: #4A5568;
  margin: 0 0 12px;
}

.ptb-sp-author-link {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  color: #2A9D8F;
  text-decoration: none;
}

.ptb-sp-author-link:hover {
  color: #1A7A6E;
}

/* ── Related Posts ── */
.ptb-sp-related {
  background: #FBF8F5;
  padding: 64px 0;
}

.ptb-sp-related-heading {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #2D2D2D;
  margin: 0 0 32px;
}

.ptb-sp-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.ptb-sp-related-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  display: block;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.ptb-sp-related-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.10);
}

.ptb-sp-related-thumb {
  height: 160px;
  position: relative;
  overflow: hidden;
}

.ptb-sp-related-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ptb-sp-related-body {
  padding: 20px 20px 22px;
}

.ptb-sp-related-cat {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.ptb-sp-related-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.0625rem;
  font-weight: 600;
  color: #2D2D2D;
  line-height: 1.35;
  margin: 0 0 10px;
}

.ptb-sp-related-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8125rem;
  color: #8B8680;
}

/* ── App CTA ── */
.ptb-sp-cta-wrap {
  padding: 72px 0;
  background: #EFE9DF;
}

.ptb-sp-cta {
  background: linear-gradient(135deg, #E8825C 0%, #D4643E 100%);
  border-radius: 20px;
  padding: 48px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.ptb-sp-cta-heading {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.25;
}

.ptb-sp-cta-body {
  font-family: 'DM Sans', sans-serif;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.55;
}

.ptb-sp-cta-btn {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  padding: 14px 28px;
  background: #fff;
  color: #D4643E;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.18s, transform 0.18s;
  flex-shrink: 0;
}

.ptb-sp-cta-btn:hover {
  background: #FBF8F5;
  transform: translateY(-2px);
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .ptb-sp-header { padding: 40px 0 28px; }
  .ptb-sp-hero { aspect-ratio: 16 / 9; }
  .ptb-sp-related-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .ptb-sp-author-box { flex-direction: column; }
  .ptb-sp-cta { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .ptb-sp-content > p:first-of-type { font-size: 1.125rem; }
}

@media (max-width: 480px) {
  .ptb-sp-container,
  .ptb-sp-container-wide,
  .ptb-sp-container-narrow { padding: 0 16px; }
  .ptb-sp-title { font-size: 1.75rem; }
  .ptb-sp-related-grid { grid-template-columns: 1fr; }
  .ptb-sp-cta-wrap { padding: 48px 0; }
}
