/* ============================================= 
   INTERNAL PAGES STYLES 
   ============================================= */

/* Design Tokens — Allineati al tema noohvia esistente */
:root {
  --navy: #003D7A;
  --navy-dark: #002856;
  --navy-light: #0A4D8F;
  --amber: #F59E0B;
  --amber-light: #FCD34D;
  --green: #6e7a58;
  --green-light: #8a9970;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --text-primary: #0F172A;
  --text-muted: #64748B;
  --text-light: #94A3B8;
  --border: rgba(0, 0, 0, 0.08);
  --border-strong: rgba(0, 0, 0, 0.14);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.10), 0 4px 12px rgba(0, 0, 0, 0.06);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
}

/* Layout Utility */
.internal-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.internal-section {
  padding: 80px 0;
}

.internal-section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber);
  background: rgba(245, 158, 11, 0.1);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.internal-section-title {
  font-size: clamp(26px, 3.5vw, 40px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.internal-section-desc {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 580px;
}

/* SEZIONE 1 — PAGE HERO (restyling) */
.internal-hero {
  background: var(--navy);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
}

.internal-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 32px 32px;
}

.internal-hero::after {
  content: '';
  position: absolute;
  top: -80px;
  right: -80px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
}

.internal-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
  color: var(--amber-light);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 20px;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.internal-hero-title {
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  color: #fff;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.internal-hero-title span {
  color: var(--amber-light);
}

.internal-hero-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.7;
  max-width: 620px;
  position: relative;
  z-index: 1;
}

.internal-hero-breadcrumb {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
  position: relative;
  z-index: 1;
}

.internal-hero-breadcrumb a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
}

.internal-hero-breadcrumb a:hover {
  color: var(--amber-light);
}

.internal-hero-breadcrumb span {
  color: rgba(255, 255, 255, 0.2);
}

/* Hero Image with Fade Effect */
.internal-hero {
  position: relative;
  overflow: hidden;
}

.internal-hero-content {
  position: relative;
  z-index: 2;
  padding-right: 40%;
  /* Space for image on desktop */
}

.internal-hero-image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.internal-hero-image-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.internal-hero-image::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 200px;
  background: linear-gradient(to right, var(--navy) 0%, transparent 100%);
  pointer-events: none;
  z-index: 3;
}

.internal-hero:hover .internal-hero-image-img {
  opacity: 0.8;
}

@media (max-width: 1200px) {
  .internal-hero-content {
    padding-right: 35%;
  }

  .internal-hero-image {
    width: 45%;
  }
}

@media (max-width: 1024px) {
  .internal-hero-content {
    padding-right: 0;
    padding-bottom: 40px;
  }

  .internal-hero-image {
    position: relative;
    width: 100%;
    height: 300px;
    top: auto;
    right: auto;
    bottom: auto;
  }

  .internal-hero-image::before {
    display: none;
  }
}

@media (max-width: 768px) {
  .internal-hero {
    padding: 48px 32px;
  }

  .internal-hero-image {
    height: 250px;
  }

  .internal-hero-content {
    padding-bottom: 30px;
  }
}

/* SEZIONE 2 — INTRO + IMMAGINE (split layout) */
.internal-intro-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.internal-intro-text p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.internal-intro-text p:last-child {
  margin-bottom: 0;
}

.internal-intro-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.internal-intro-image img {
  width: 100%;
  height: auto;
  display: block;
}

.internal-intro-image-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0, 40, 86, 0.85) 0%, transparent 100%);
  padding: 24px 20px 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-style: italic;
}

/* SEZIONE 3 — SERVIZI GRID (4 card moderne) */
.internal-services-header {
  margin-bottom: 48px;
}

.internal-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.internal-service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  cursor: default;
}

.internal-service-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
  border-color: var(--border-strong);
}

.internal-service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  transition: opacity 0.25s ease;
}

.internal-card-bonifica::before {
  background: linear-gradient(90deg, #F59E0B, #FBBF24);
}

.internal-card-inail::before {
  background: linear-gradient(90deg, #10B981, #34D399);
}

.internal-card-coperture::before {
  background: linear-gradient(90deg, #3B82F6, #60A5FA);
}

.internal-card-fotovoltaico::before {
  background: linear-gradient(90deg, #F59E0B, #FCD34D);
}

.internal-service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 20px;
}

.internal-service-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}

.internal-card-bonifica .internal-service-icon {
  background: rgba(245, 158, 11, 0.1);
}

.internal-card-inail .internal-service-icon {
  background: rgba(16, 185, 129, 0.1);
}

.internal-card-coperture .internal-service-icon {
  background: rgba(59, 130, 246, 0.1);
}

.internal-card-fotovoltaico .internal-service-icon {
  background: rgba(245, 158, 11, 0.1);
}

.internal-service-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-light);
}

.internal-service-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.3;
}

.internal-service-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 24px;
}

.internal-service-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.internal-service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: gap 0.2s ease;
}

.internal-card-bonifica .internal-service-link {
  color: #D97706;
}

.internal-card-inail .internal-service-link {
  color: #059669;
}

.internal-card-coperture .internal-service-link {
  color: #2563EB;
}

.internal-card-fotovoltaico .internal-service-link {
  color: #D97706;
}

.internal-service-link:hover {
  gap: 10px;
}

.internal-service-link-arrow {
  font-size: 16px;
}

.internal-card-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
}

.internal-card-inail .internal-card-badge {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

/* SEZIONE 4 — "UN ITER" CTA SECTION (modernizzata) */
.internal-iter-section {
  background: var(--navy-dark);
  border-radius: var(--radius-xl);
  padding: 72px 64px;
  position: relative;
  overflow: hidden;
}

.internal-iter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
}

.internal-iter-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -80px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.internal-iter-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.internal-iter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--amber-light);
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 20px;
}

.internal-iter-title {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 800;
  color: #ffffff !important;
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: 18px;
}

.internal-iter-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.75;
  max-width: 540px;
}

.internal-iter-cta-block {
  flex-shrink: 0;
  text-align: center;
}

.internal-btn-primary-amber {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #0F172A;
  font-size: 16px;
  font-weight: 700;
  padding: 16px 32px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.internal-btn-primary-amber:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 158, 11, 0.45);
}

.internal-btn-primary-amber svg {
  width: 18px;
  height: 18px;
}

.internal-iter-cta-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.3);
  margin-top: 10px;
  line-height: 1.5;
}

/* SEZIONE 5 — DIFFERENZIAZIONE (tabella comparativa) */
.internal-diff-section {
  background: var(--white);
}

.internal-diff-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
  margin-top: 40px;
}

.internal-diff-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.internal-diff-table thead tr {
  background: var(--navy);
}

.internal-diff-table thead th {
  padding: 18px 24px;
  text-align: left;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.3px;
  color: rgba(255, 255, 255, 0.9);
}

.internal-diff-table thead th:first-child {
  color: rgba(255, 255, 255, 0.6);
}

.internal-diff-table thead th.col-noohvia {
  color: var(--amber-light);
}

.internal-diff-table tbody tr {
  border-bottom: 1px solid var(--border);
  transition: background 0.15s;
}

.internal-diff-table tbody tr:last-child {
  border-bottom: none;
}

.internal-diff-table tbody tr:hover {
  background: #F8FAFC;
}

.internal-diff-table tbody td {
  padding: 16px 24px;
  color: var(--text-muted);
}

.internal-diff-table tbody td:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.internal-diff-table tbody td.col-noohvia {
  color: var(--text-primary);
  font-weight: 600;
  background: rgba(245, 158, 11, 0.04);
}

.internal-check-yes {
  color: #10B981;
  font-size: 16px;
}

.internal-check-no {
  color: #94A3B8;
  font-size: 16px;
}

.internal-check-star {
  color: var(--amber);
  font-size: 14px;
  font-weight: 700;
}

/* Page Layout (Content + Sidebar) */
.internal-page-layout {
  padding: 80px 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 64px;
  align-items: start;
}

.internal-page-layout.no-sidebar {
  grid-template-columns: 1fr;
  max-width: 1400px;
}

.internal-main-content {
  background-color: var(--bg-card);
  padding: 48px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.internal-main-content::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(232, 197, 23, 0.05) 0%, transparent 70%);
  pointer-events: none;
}

.internal-main-content h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-olive-dark);
  margin: 0 0 24px;
  position: relative;
  padding-bottom: 16px;
}

.internal-main-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-amber));
  border-radius: 2px;
}

.internal-main-content h3 {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary-olive);
  margin: 40px 0 16px;
}

.internal-main-content p {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* Content List & Info Box */
.internal-content-list {
  list-style: none;
  margin: 0 0 32px 0;
  padding: 0;
}

.internal-content-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 16px;
  font-size: 16px;
  color: var(--text-main);
  transition: transform 0.2s;
}

.internal-content-list li:hover {
  transform: translateX(4px);
}

.internal-content-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  color: #fff;
  font-weight: bold;
  background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  box-shadow: 0 2px 8px -2px rgba(110, 122, 88, 0.4);
}

.internal-info-box {
  background: linear-gradient(135deg, var(--primary-olive-soft) 0%, var(--bg-body) 100%);
  border-left: 4px solid var(--primary-olive);
  padding: 28px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  margin: 32px 0;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.internal-info-box::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(232, 197, 23, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.internal-info-box h4 {
  font-size: 18px;
  color: var(--primary-olive-dark);
  margin-bottom: 8px;
}

.internal-info-box p {
  margin-bottom: 0;
  font-size: 15px;
}

/* Sidebar Elements */
.internal-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 120px;
}

.internal-sidebar-widget {
  background-color: var(--bg-card);
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.internal-sidebar-widget:hover {
  box-shadow: 0 12px 24px -8px rgba(74, 85, 104, 0.12);
  transform: translateY(-2px);
}

.internal-sidebar-widget h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-olive-dark);
  margin-bottom: 16px;
}

.internal-sidebar-widget p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* WP Default Widgets Styling */
.internal-sidebar-widget ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.internal-sidebar-widget ul li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 15px;
  color: var(--text-muted);
}

.internal-sidebar-widget ul li:last-child {
  border-bottom: none;
}

.internal-sidebar-widget ul li a {
  color: var(--text-main);
  transition: color 0.2s;
}

.internal-sidebar-widget ul li a:hover {
  color: var(--primary-olive);
}

.internal-sidebar-widget .search-form {
  display: flex;
  gap: 8px;
}

.internal-sidebar-widget .search-field {
  flex: 1;
  padding: 10px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  font-family: inherit;
  font-size: 14px;
}

.internal-sidebar-widget .search-submit {
  padding: 10px 16px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary-olive) 0%, var(--primary-olive-dark) 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}

.internal-sidebar-widget .search-submit:hover {
  box-shadow: 0 4px 12px -2px rgba(110, 122, 88, 0.4);
}

/* Page Layout Responsive */
@media (max-width: 992px) {

  .internal-page-layout,
  .internal-page-layout.no-sidebar {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .internal-sidebar {
    position: relative;
    top: 0;
  }

  .internal-hero h1 {
    font-size: 40px;
  }

  .nav-container {
    padding: 0 16px;
  }
}

@media (max-width: 768px) {
  .internal-main-content {
    padding: 32px 24px;
  }

  .internal-page-layout.no-sidebar {
    gap: 20px;
  }

  .internal-page-layout.no-sidebar .internal-main-content {
    padding: 24px;
  }
}

/* Responsive */
@media (max-width: 900px) {
  .internal-services-grid {
    grid-template-columns: 1fr;
  }

  .internal-intro-split {
    grid-template-columns: 1fr;
  }

  .internal-iter-inner {
    grid-template-columns: 1fr;
    gap: 36px;
    text-align: center;
  }

  .internal-iter-text {
    margin: 0 auto;
  }

  .internal-hero,
  .internal-iter-section {
    padding: 48px 28px;
  }
}

/* =============================================
   12. YOAST FAQ BLOCK STYLING
   ============================================= */
.wp-block-yoast-faq-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 32px 0;
}

.wp-block-yoast-faq-block .schema-faq-section {
  background: var(--bg-body, #fafaf9);
  border: 1px solid var(--border-light, #e2e0d9);
  border-radius: var(--radius-md, 12px);
  padding: 24px 32px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.wp-block-yoast-faq-block .schema-faq-section:hover {
  border-color: var(--primary-navy, #003D7A);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.wp-block-yoast-faq-block .schema-faq-question {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 18px;
  color: var(--primary-navy, #003D7A);
  margin-bottom: 16px;
  line-height: 1.4;
}

.wp-block-yoast-faq-block .schema-faq-question strong {
  font-weight: 800;
}

.wp-block-yoast-faq-block .schema-faq-question::before {
  content: '?';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: rgba(245, 158, 11, 0.15);
  /* amber light */
  color: var(--warning-amber, #F59E0B);
  border-radius: 50%;
  font-size: 14px;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

.wp-block-yoast-faq-block .schema-faq-answer {
  color: var(--text-muted, #4A5568);
  font-size: 16px;
  line-height: 1.7;
  margin: 0;
  padding-left: 36px;
}

/* =============================================
   13. WP BLOCK LIST STYLING
   ============================================= */
ul.wp-block-list {
  list-style: none;
  padding-left: 0;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

ul.wp-block-list li {
  position: relative;
  padding-left: 36px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-muted, #4A5568);
}

ul.wp-block-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 2px;
  width: 24px;
  height: 24px;
  background: rgba(245, 158, 11, 0.15);
  /* amber light */
  color: var(--warning-amber, #F59E0B);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

ul.wp-block-list li strong {
  color: var(--primary-navy, #003D7A);
  font-weight: 800;
}

/* =============================================
   14. SIDEBAR MINI CTA
   ============================================= */
.sidebar-mini-cta {
  background: linear-gradient(135deg, var(--navy, #003D7A) 0%, var(--navy-dark, #002856) 100%);
  border-radius: var(--radius-lg, 16px);
  padding: 32px 24px;
  margin-top: 32px;
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.sidebar-mini-cta::before {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.sidebar-mini-cta .sidebar-cta-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  line-height: 1.3;
  position: relative;
  z-index: 1;
}

.sidebar-mini-cta .sidebar-cta-text {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

.sidebar-mini-cta .sidebar-cta-btn {
  display: inline-block;
  background: var(--amber, #F59E0B);
  color: var(--navy-dark, #002856);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

.sidebar-mini-cta .sidebar-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
  color: var(--navy-dark, #002856);
}

/* =============================================
   15. YOAST HOW-TO BLOCK
   ============================================= */
.wp-block-yoast-how-to-block {
  margin: 40px 0;
}

.wp-block-yoast-how-to-block .schema-how-to-description {
  font-size: 17px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.wp-block-yoast-how-to-block .schema-how-to-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  counter-reset: how-to-counter;
}

.wp-block-yoast-how-to-block .schema-how-to-step {
  position: relative;
  background: var(--bg-card, #fff);
  border: 1px solid var(--border-light, rgba(0,0,0,0.08));
  border-radius: var(--radius-lg, 16px);
  padding: 24px 32px 24px 80px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
  counter-increment: how-to-counter;
}

.wp-block-yoast-how-to-block .schema-how-to-step:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--navy-light, #0A4D8F);
}

.wp-block-yoast-how-to-block .schema-how-to-step::before {
  content: counter(how-to-counter);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--amber, #F59E0B), var(--amber-light, #FCD34D));
  color: var(--navy-dark, #002856);
  font-size: 18px;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(245, 158, 11, 0.3);
  z-index: 2;
}

.wp-block-yoast-how-to-block .schema-how-to-step::after {
  content: '';
  position: absolute;
  left: 43px;
  top: 76px;
  bottom: -26px;
  width: 2px;
  background: var(--border-strong, rgba(0,0,0,0.14));
  z-index: 1;
}

.wp-block-yoast-how-to-block .schema-how-to-step:last-child::after {
  display: none;
}

.wp-block-yoast-how-to-block .schema-how-to-step-name {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: var(--navy, #003D7A);
  margin-bottom: 12px;
  line-height: 1.3;
}

.wp-block-yoast-how-to-block .schema-how-to-step-name strong {
  font-weight: 800;
}

.wp-block-yoast-how-to-block .schema-how-to-step-text {
  font-size: 16px;
  color: var(--text-muted, #64748B);
  line-height: 1.7;
  margin: 0;
}

@media (max-width: 768px) {
  .wp-block-yoast-how-to-block .schema-how-to-step {
    padding: 24px 24px 24px 64px;
  }
  
  .wp-block-yoast-how-to-block .schema-how-to-step::before {
    left: 20px;
    width: 32px;
    height: 32px;
    font-size: 15px;
    top: 26px;
  }
  
  .wp-block-yoast-how-to-block .schema-how-to-step::after {
    left: 35px;
    top: 70px;
  }
}