/* ============================================================
   blog.css — Estilos del módulo de Blog (ECOS)
   Extraído desde blog.html (maqueta de diseño) el 2026-06-20.
   Cubre: listado (blog.php) y artículo individual (blog_articulo.php).
   ============================================================ */

/* Fix: los <a> dentro de títulos (h1-h4) en este módulo no tenían color
   propio, así que el navegador les aplicaba el azul/violeta + subrayado
   por defecto de cualquier link. Esto neutraliza eso en todo el blog —
   el color real lo define el selector específico de cada título (ej.
   .blog-featured-body h2, .blog-card-body h3, .sw-post-info h4). */
.blog-page h1 a, .blog-page h2 a, .blog-page h3 a, .blog-page h4 a,
.blog-articulo-page h1 a, .blog-articulo-page h2 a,
.blog-articulo-page h3 a, .blog-articulo-page h4 a {
    color: inherit;
    text-decoration: none;
}




    .blog-hero {
      position: relative;
      height: 66vh;
      min-height: 460px;
      background-image: url('https://www.ecosescuela.com/images/index/acerca_de.jpg');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      overflow: hidden;
    }
    .blog-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(135deg, rgba(38,43,111,0.9) 0%, rgba(10,15,40,0.65) 100%);
    }
    .blog-hero-content {
      position: relative;
      z-index: 2;
      color: #fff;
      max-width: 700px;
      padding: 0 24px;
      animation: bhFade 0.9s ease both;
    }
    @keyframes bhFade {
      from { opacity:0; transform:translateY(28px); }
      to   { opacity:1; transform:translateY(0); }
    }
    .blog-hero-badge {
      display: inline-block;
      background: rgba(254,188,0,0.15);
      border: 1px solid rgba(254,188,0,0.5);
      color: #febc00;
      padding: 6px 20px;
      border-radius: 50px;
      font-size: 0.74rem;
      font-weight: 700;
      letter-spacing: .14em;
      text-transform: uppercase;
      margin-bottom: 20px;
    }
    .blog-hero-content h1 {
      font-size: clamp(2rem, 5.5vw, 3.8rem);
      font-weight: 800;
      line-height: 1.1;
      color: #fff;
      margin-bottom: 16px;
    }
    .blog-hero-content h1 em { color: #febc00; font-style: normal; }
    .blog-hero-content p {
      font-size: 1.08rem;
      color: rgba(255,255,255,0.75);
      max-width: 500px;
      margin: 0 auto 28px;
    }
    .blog-hero-search {
      display: flex;
      max-width: 460px;
      margin: 0 auto;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.25);
      border-radius: 50px;
      overflow: hidden;
      backdrop-filter: blur(8px);
    }
    .blog-hero-search input {
      flex: 1;
      background: none;
      border: none;
      padding: 14px 20px;
      color: #fff;
      font-size: 0.88rem;
      font-family: inherit;
      outline: none;
    }
    .blog-hero-search input::placeholder { color: rgba(255,255,255,0.5); }
    .blog-hero-search button {
      background: #febc00;
      border: none;
      padding: 0 22px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background 0.2s;
    }
    .blog-hero-search button:hover { background: #ffd234; }
    .blog-hero-search button svg { width: 18px; height: 18px; stroke: #262b6f; }
    .bh-scroll {
      position: absolute;
      bottom: 30px; left: 50%;
      transform: translateX(-50%);
      z-index: 2;
      display: flex; flex-direction: column; align-items: center; gap: 8px;
      color: rgba(255,255,255,0.5);
      font-size: 0.68rem; letter-spacing: .12em; text-transform: uppercase;
    }
    .bh-scroll-line {
      width: 1px; height: 40px;
      background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
      animation: bhPulse 1.8s ease-in-out infinite;
    }
    @keyframes bhPulse {
      0%,100% { opacity:.6; transform:scaleY(1); }
      50%      { opacity:1; transform:scaleY(.5); }
    }


    .blog-featured {
      background: #f7f8fe;
      padding: 64px 24px 0;
    }
    .blog-featured-inner {
      max-width: 1260px;
      margin: 0 auto;
    }
    .blog-featured-label {
      display: flex;
      align-items: center;
      gap: 10px;
      margin-bottom: 22px;
    }
    .blog-featured-label span {
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: .12em;
      color: #262b6f;
    }
    .blog-featured-label::after {
      content: '';
      flex: 1;
      height: 1px;
      background: #e2e8f0;
    }
    .blog-featured-card {
      display: grid;
      grid-template-columns: 1fr 1fr;
      border-radius: 22px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 8px 40px rgba(38,43,111,0.1);
      cursor: pointer;
      transition: box-shadow 0.3s ease, transform 0.3s ease;
    }
    .blog-featured-grid {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 28px;
    }
    @media (max-width: 900px) {
      .blog-featured-grid { grid-template-columns: 1fr; }
    }

    /* Card fondo blanco: imagen arriba (proporción fija), texto abajo */
    .blog-featured-grid .blog-featured-card {
      grid-template-columns: 1fr;
      grid-template-rows: auto 1fr;
    }
    .blog-featured-grid .blog-featured-img {
      position: relative;
      min-height: 0;
      aspect-ratio: 16 / 7;
    }
    .blog-featured-grid .blog-featured-img img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
    .blog-featured-grid .blog-featured-meta {
      position: absolute;
      right: 14px; bottom: 14px;
      z-index: 2;
      margin-bottom: 0;
      background: rgba(15,23,42,0.55);
      backdrop-filter: blur(4px);
      color: #fff;
      padding: 5px 12px;
      border-radius: 50px;
      font-size: 0.72rem;
    }
    .blog-featured-grid .blog-featured-meta svg {
      stroke: #fff;
    }
    .blog-featured-grid .blog-featured-body {
      justify-content: flex-start;
      padding: 22px 28px 26px;
    }
    .blog-featured-grid .blog-featured-body h2 {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      overflow: hidden;
      margin-bottom: 10px;
    }
    .blog-featured-grid .blog-featured-body p {
      display: -webkit-box;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      overflow: hidden;
      margin-bottom: 16px;
    }
    .blog-featured-grid .blog-featured-read {
      margin-bottom: 0;
      margin-top: auto;
    }
    .blog-featured-grid .blog-author {
      display: none;
    }

    .blog-featured-card:hover {
      box-shadow: 0 20px 64px rgba(38,43,111,0.18);
      transform: translateY(-3px);
    }
    .blog-featured-img {
      position: relative;
      overflow: hidden;
      min-height: 420px;
    }
    .blog-featured-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.5s ease;
    }
    .blog-featured-card:hover .blog-featured-img img { transform: scale(1.05); }
    .blog-featured-img-overlay {
      position: absolute; inset: 0;
      background: linear-gradient(135deg, rgba(38,43,111,0.35) 0%, transparent 70%);
    }
    .blog-featured-cat {
      position: absolute;
      top: 20px; left: 20px;
      background: #febc00;
      color: #262b6f;
      font-size: 0.68rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .09em;
      padding: 5px 14px;
      border-radius: 50px;
    }
    .blog-featured-body {
      padding: 48px 48px 48px 52px;
      display: flex;
      flex-direction: column;
      justify-content: center;
    }
    .blog-featured-meta {
      display: flex;
      align-items: center;
      gap: 16px;
      margin-bottom: 18px;
      font-size: 0.78rem;
      color: #94a3b8;
    }
    .blog-featured-meta span { display: flex; align-items: center; gap: 5px; }
    .blog-featured-meta svg { width: 13px; height: 13px; stroke: #94a3b8; }
    .blog-featured-body h2 {
      font-size: clamp(1.5rem, 2.5vw, 2rem);
      font-weight: 800;
      color: #1e2140;
      line-height: 1.25;
      margin-bottom: 16px;
    }
    .blog-featured-body h2:hover { color: #262b6f; }
    .blog-featured-body p {
      color: #64748b;
      line-height: 1.75;
      font-size: 0.97rem;
      margin-bottom: 28px;
    }
    .blog-featured-read {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: #262b6f;
      color: #fff;
      font-weight: 700;
      font-size: 0.86rem;
      text-decoration: none;
      padding: 13px 28px;
      border-radius: 50px;
      width: fit-content;
      transition: all 0.25s ease;
    }
    .blog-featured-read:hover { background: #febc00; color: #262b6f; transform: translateX(4px); }
    .blog-featured-read svg { width: 16px; height: 16px; }
    .blog-author {
      display: flex;
      align-items: center;
      gap: 12px;
      margin-top: auto;
      padding-top: 28px;
      border-top: 1px solid #f0f2fb;
    }
    .blog-author-avatar {
      width: 42px; height: 42px;
      border-radius: 50%;
      overflow: hidden;
      background: #e2e8f0;
      flex-shrink: 0;
    }
    .blog-author-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .blog-author-info strong { display: block; font-size: 0.84rem; font-weight: 700; color: #1e2140; }
    .blog-author-info span  { font-size: 0.75rem; color: #94a3b8; }


    .blog-main {
      background: #f7f8fe;
      padding: 56px 24px 80px;
    }
    .blog-layout {
      max-width: 1260px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: 48px;
      align-items: start;
    }


    .blog-cats {
      display: flex;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      margin-bottom: 36px;
    }
    .blog-cat-btn {
      padding: 9px 20px;
      border-radius: 50px;
      border: 2px solid #e2e8f0;
      background: #fff;
      color: #64748b;
      font-size: 0.82rem;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.22s ease;
      font-family: inherit;
    }
    .blog-cat-btn:hover { border-color: #262b6f; color: #262b6f; }
    .blog-cat-btn.active {
      background: #262b6f; border-color: #262b6f; color: #fff;
      box-shadow: 0 4px 14px rgba(38,43,111,0.22);
    }


    .blog-cards {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .blog-card {
      background: #fff;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.07);
      cursor: pointer;
      transition: box-shadow 0.3s ease, transform 0.3s ease;
      display: flex;
      flex-direction: column;
    }
    .blog-card:hover {
      box-shadow: 0 16px 48px rgba(38,43,111,0.15);
      transform: translateY(-4px);
    }
    .blog-card-img {
      position: relative;
      height: 200px;
      overflow: hidden;
    }
    .blog-card-img img {
      width: 100%; height: 100%;
      object-fit: cover;
      display: block;
      transition: transform 0.45s ease;
    }
    .blog-card:hover .blog-card-img img { transform: scale(1.07); }
    .blog-card-cat {
      position: absolute;
      top: 14px; left: 14px;
      font-size: 0.64rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .09em;
      padding: 4px 11px;
      border-radius: 50px;
    }
    .cat-tips     { background: #fef3c7; color: #92400e; }
    .cat-culture  { background: #ede9fe; color: #5b21b6; }
    .cat-travel   { background: #d1fae5; color: #065f46; }
    .cat-language { background: #dbeafe; color: #1e40af; }
    .cat-life     { background: #fce7f3; color: #9d174d; }
    .blog-card-body {
      padding: 20px 24px 22px;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
    .blog-card-img .blog-card-meta {
      position: absolute;
      right: 12px; bottom: 12px;
      z-index: 2;
      background: rgba(15,23,42,0.55);
      backdrop-filter: blur(4px);
      color: #fff;
      padding: 4px 10px;
      border-radius: 50px;
      font-size: 0.66rem;
      margin-bottom: 0;
    }
    .blog-card-meta {
      display: flex;
      align-items: center;
      gap: 10px;
      font-size: 0.74rem;
      color: #94a3b8;
    }
    .blog-card-meta span { display: flex; align-items: center; gap: 4px; }
    .blog-card-meta svg  { width: 12px; height: 12px; stroke: #94a3b8; }
    .blog-card-img .blog-card-meta svg { stroke: #fff; }
    .blog-card-body h3 {
      font-size: 1.02rem;
      font-weight: 800;
      color: #1e2140;
      line-height: 1.35;
      margin-bottom: 16px;
      transition: color 0.2s;
    }
    .blog-card:hover h3 { color: #262b6f; }
    .blog-card-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      margin-top: auto;
      padding-top: 14px;
      border-top: 1px solid #f0f2fb;
    }
    .blog-card-author {
      display: flex; align-items: center; gap: 8px;
    }
    .blog-card-author-img {
      width: 30px; height: 30px;
      border-radius: 50%; overflow: hidden; background: #e2e8f0;
    }
    .blog-card-author-img img { width: 100%; height: 100%; object-fit: cover; }
    .blog-card-author span { font-size: 0.76rem; font-weight: 600; color: #475569; }
    .blog-card-link {
      font-size: 0.78rem; font-weight: 700;
      color: #262b6f; text-decoration: none;
      display: flex; align-items: center; gap: 4px;
      transition: gap 0.2s, color 0.2s;
    }
    .blog-card-link:hover { color: #febc00; gap: 8px; }
    .blog-card-link svg { width: 14px; height: 14px; stroke: currentColor; }


    .blog-no-results {
      grid-column: 1/-1;
      text-align: center;
      padding: 60px 24px;
      color: #94a3b8;
      display: none;
    }
    .blog-no-results svg { width: 56px; height: 56px; stroke: #cbd5e1; margin-bottom: 14px; }
    .blog-no-results h3 { font-size: 1.1rem; color: #64748b; margin-bottom: 8px; }


    .blog-pagination {
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      margin-top: 44px;
      flex-wrap: wrap;
    }
    .blog-page-btn {
      width: 40px; height: 40px;
      border-radius: 10px;
      border: 2px solid #e2e8f0;
      background: #fff;
      color: #64748b;
      font-size: 0.86rem;
      font-weight: 600;
      cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: all 0.22s ease;
      font-family: inherit;
    }
    .blog-page-btn:hover { border-color: #262b6f; color: #262b6f; }
    .blog-page-btn.active { background: #262b6f; border-color: #262b6f; color: #fff; }
    .blog-page-btn.arrow { background: #f7f8fe; }
    .blog-page-btn.arrow svg { width: 16px; height: 16px; stroke: currentColor; }


    .blog-sidebar { display: flex; flex-direction: column; gap: 28px; }

    .sidebar-widget {
      background: #fff;
      border-radius: 18px;
      padding: 28px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.06);
    }
    .sidebar-widget h3 {
      font-size: 0.96rem;
      font-weight: 800;
      color: #1e2140;
      margin-bottom: 18px;
      display: flex; align-items: center; gap: 8px;
    }
    .sidebar-widget h3::after {
      content: '';
      flex: 1; height: 2px;
      background: linear-gradient(to right, #febc00, transparent);
      border-radius: 2px;
    }


    .sw-search {
      display: flex;
      border: 2px solid #e2e8f0;
      border-radius: 12px;
      overflow: hidden;
      transition: border-color 0.2s;
    }
    .sw-search:focus-within { border-color: #262b6f; }
    .sw-search input {
      flex: 1; border: none; padding: 11px 14px;
      font-size: 0.85rem; font-family: inherit;
      outline: none; color: #1e2140;
    }
    .sw-search button {
      background: #262b6f; border: none;
      padding: 0 16px; cursor: pointer;
      display: flex; align-items: center; justify-content: center;
      transition: background 0.2s;
    }
    .sw-search button:hover { background: #febc00; }
    .sw-search button svg { width: 16px; height: 16px; stroke: #fff; }
    .sw-search button:hover svg { stroke: #262b6f; }


    .sw-cats { display: flex; flex-direction: column; gap: 8px; }
    .sw-cat-item {
      display: flex; align-items: center; justify-content: space-between;
      padding: 10px 14px;
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.2s;
      text-decoration: none;
    }
    .sw-cat-item:hover { background: #f7f8fe; }
    .sw-cat-left { display: flex; align-items: center; gap: 10px; }
    .sw-cat-dot { width: 8px; height: 8px; border-radius: 50%; }
    .sw-cat-name { font-size: 0.86rem; font-weight: 600; color: #475569; }
    .sw-cat-count {
      font-size: 0.74rem; font-weight: 700;
      background: #f0f2fb; color: #262b6f;
      padding: 2px 9px; border-radius: 50px;
    }


    .sw-popular { display: flex; flex-direction: column; }
    .sw-post {
      display: flex; gap: 14px; align-items: flex-start;
      cursor: pointer;
      padding: 16px 4px;
      border-bottom: 1px solid #eef0fb;
      transition: background 0.2s;
      color: inherit;
      text-decoration: none;
    }
    .sw-popular .sw-post:last-child { border-bottom: none; padding-bottom: 4px; }
    .sw-post:hover { background: #f7f8fe; }
    .sw-post-img {
      width: 64px; height: 64px;
      border-radius: 12px; overflow: hidden;
      flex-shrink: 0; background: #e2e8f0;
    }
    .sw-post-img img { width: 100%; height: 100%; object-fit: cover; }
    .sw-post-info {}
    .sw-post-info h4 {
      font-size: 0.88rem; font-weight: 700;
      color: #262b6f; line-height: 1.35;
      margin-bottom: 6px;
      transition: color 0.2s;
    }
    .sw-post:hover .sw-post-info h4 { color: #febc00; }
    .sw-post-info span { font-size: 0.76rem; color: #94a3b8; }


    .sw-tags { display: flex; flex-wrap: wrap; gap: 8px; }
    /* Oculto a pedido: el widget de tags se mantiene en el código por si
       se reactiva en el futuro, pero no se muestra visualmente. */
    .sidebar-widget-tags { display: none; }
    .sidebar-widget-categories { display: none; }
    .sw-tag {
      padding: 6px 14px;
      border-radius: 50px;
      border: 1.5px solid #e2e8f0;
      background: #fff;
      font-size: 0.78rem; font-weight: 600; color: #64748b;
      cursor: pointer;
      transition: all 0.2s;
      text-decoration: none;
    }
    .sw-tag:hover { background: #262b6f; border-color: #262b6f; color: #fff; }


    .sw-newsletter {
      background: linear-gradient(135deg, #262b6f 0%, #1a1e55 100%);
      border-radius: 18px;
      padding: 28px;
      position: relative;
      overflow: hidden;
    }
    .sw-newsletter::before {
      content: '';
      position: absolute;
      width: 180px; height: 180px;
      border-radius: 50%;
      background: rgba(254,188,0,0.08);
      bottom: -60px; right: -50px;
    }
    .sw-newsletter h3 {
      font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 8px;
      position: relative; z-index: 1;
    }
    .sw-newsletter h3::after { display: none; }
    .sw-newsletter p {
      font-size: 0.82rem; color: rgba(255,255,255,0.68);
      margin-bottom: 18px; line-height: 1.6;
      position: relative; z-index: 1;
    }
    .sw-nl-form { position: relative; z-index: 1; }
    .sw-nl-form input {
      width: 100%; padding: 11px 16px;
      border-radius: 10px; border: none;
      font-size: 0.84rem; font-family: inherit;
      background: rgba(255,255,255,0.12);
      color: #fff; outline: none;
      margin-bottom: 10px;
      box-sizing: border-box;
    }
    .sw-nl-form input::placeholder { color: rgba(255,255,255,0.45); }
    .sw-nl-form input:focus { background: rgba(255,255,255,0.18); }
    .sw-nl-form button {
      width: 100%; padding: 12px;
      border-radius: 10px; border: none;
      background: #febc00; color: #1a1e55;
      font-size: 0.86rem; font-weight: 700;
      cursor: pointer; font-family: inherit;
      transition: background 0.2s, transform 0.2s;
    }
    .sw-nl-form button:hover { background: #ffd234; transform: translateY(-1px); }
    .sw-nl-success {
      display: none;
      background: rgba(56,161,105,0.2);
      border: 1px solid rgba(56,161,105,0.4);
      color: #9ae6b4;
      padding: 10px 14px;
      border-radius: 10px;
      font-size: 0.82rem;
      font-weight: 600;
      text-align: center;
      margin-top: 8px;
    }


    /* ── FAQ ── */
    .blog-faq {
      background: #f7f8fe;
      padding: 70px 24px;
      text-align: center;
    }
    .blog-faq-inner {
      max-width: 760px;
      margin: 0 auto;
    }
    .blog-faq h2 {
      font-size: clamp(1.7rem, 3vw, 2.3rem);
      font-weight: 800;
      color: #1e2140;
      margin-bottom: 12px;
    }
    .blog-faq h2 em {
      font-style: normal;
      color: #febc00;
    }
    .blog-faq-intro {
      color: #64748b;
      font-size: 0.96rem;
      margin-bottom: 36px;
    }
    .blog-faq-list {
      text-align: left;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }
    .blog-faq-item {
      background: #fff;
      border: 1px solid #e8eaf6;
      border-radius: 14px;
      overflow: hidden;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .blog-faq-item.open {
      border-color: #262b6f;
      box-shadow: 0 6px 24px rgba(38,43,111,0.08);
    }
    .blog-faq-question {
      width: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 18px 22px;
      background: none;
      border: none;
      cursor: pointer;
      text-align: left;
      font-family: inherit;
      font-size: 0.96rem;
      font-weight: 700;
      color: #1e2140;
      transition: color 0.2s;
    }
    .blog-faq-question:hover { color: #262b6f; }
    .blog-faq-question svg {
      width: 18px; height: 18px;
      stroke: #94a3b8;
      flex-shrink: 0;
      transition: transform 0.3s ease, stroke 0.2s;
    }
    .blog-faq-item.open .blog-faq-question svg {
      transform: rotate(180deg);
      stroke: #febc00;
    }
    .blog-faq-answer {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.35s ease, padding 0.35s ease;
      padding: 0 22px;
    }
    .blog-faq-item.open .blog-faq-answer {
      max-height: 400px;
      padding: 0 22px 20px;
    }
    .blog-faq-answer p {
      color: #64748b;
      font-size: 0.9rem;
      line-height: 1.7;
      margin: 0;
    }
    @media (max-width: 600px) {
      .blog-faq { padding: 50px 18px; }
      .blog-faq-question { padding: 15px 18px; font-size: 0.9rem; }
    }


    .blog-newsletter {
      background: #fff;
      padding: 80px 24px;
      text-align: center;
    }
    .blog-newsletter-inner { max-width: 580px; margin: 0 auto; }
    .blog-newsletter-inner h2 {
      font-size: clamp(1.6rem, 3vw, 2.4rem);
      font-weight: 800;
      color: #262b6f;
      margin-bottom: 12px;
    }
    .blog-newsletter-inner h2 em { color: #febc00; font-style: normal; }
    .blog-newsletter-inner p { color: #64748b; margin-bottom: 32px; line-height: 1.7; }
    .blog-nl-form-big {
      display: flex;
      max-width: 460px;
      margin: 0 auto;
      border-radius: 50px;
      overflow: hidden;
      border: 2px solid #e2e8f0;
      background: #fff;
      box-shadow: 0 4px 18px rgba(38,43,111,0.08);
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .blog-nl-form-big:focus-within {
      border-color: #262b6f;
      box-shadow: 0 4px 24px rgba(38,43,111,0.14);
    }
    .blog-nl-form-big input {
      flex: 1; border: none; padding: 14px 22px;
      font-size: 0.9rem; font-family: inherit;
      outline: none; color: #1e2140;
    }
    .blog-nl-form-big button {
      background: #262b6f; border: none;
      padding: 0 28px;
      font-size: 0.88rem; font-weight: 700;
      color: #fff; cursor: pointer;
      transition: background 0.2s;
      font-family: inherit;
    }
    .blog-nl-form-big button:hover { background: #febc00; color: #262b6f; }
    .blog-nl-privacy {
      font-size: 0.74rem;
      color: #94a3b8;
      margin-top: 14px;
    }
    .blog-nl-legal {
      font-size: 0.74rem;
      color: #94a3b8;
      margin-top: 14px;
      max-width: 480px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.6;
    }
    .blog-nl-legal a {
      color: #febc00;
      text-decoration: underline;
    }
    .blog-nl-feedback {
      font-size: 0.85rem;
      padding: 10px 16px;
      border-radius: 50px;
      margin: 14px auto 0;
      max-width: 420px;
    }
    .blog-nl-feedback.success {
      background: rgba(56,161,105,0.15);
      color: #9ae6b4;
    }
    .blog-nl-feedback.error {
      background: rgba(229,62,62,0.15);
      color: #fca5a5;
    }


    .blog-cta {
      position: relative;
      background: linear-gradient(135deg, #262b6f 0%, #1a1e55 100%);
      padding: 80px 24px;
      text-align: center;
      overflow: hidden;
    }
    .blog-cta::before {
      content: ''; position: absolute;
      width: 480px; height: 480px; border-radius: 50%;
      background: rgba(254,188,0,0.06);
      top: -180px; right: -80px;
    }
    .blog-cta::after {
      content: ''; position: absolute;
      width: 300px; height: 300px; border-radius: 50%;
      background: rgba(255,255,255,0.04);
      bottom: -100px; left: -50px;
    }
    .blog-cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
    .blog-cta-badge {
      display: inline-block;
      background: rgba(254,188,0,0.15);
      border: 1px solid rgba(254,188,0,0.4);
      color: #febc00;
      padding: 5px 18px; border-radius: 50px;
      font-size: 0.72rem; font-weight: 700;
      letter-spacing: .12em; text-transform: uppercase;
      margin-bottom: 20px;
    }
    .blog-cta-inner h2 {
      font-size: clamp(1.8rem, 4vw, 2.9rem);
      font-weight: 800; color: #fff;
      margin-bottom: 14px; line-height: 1.2;
    }
    .blog-cta-inner h2 em { color: #febc00; font-style: normal; }
    .blog-cta-inner p { color: rgba(255,255,255,0.72); margin-bottom: 36px; font-size: 1.02rem; }
    .blog-cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
    .blog-cta-primary {
      background: #febc00; color: #1a1e55;
      padding: 14px 36px; border-radius: 50px;
      font-weight: 700; text-decoration: none; font-size: 0.93rem;
      transition: all 0.25s ease;
      box-shadow: 0 6px 20px rgba(254,188,0,0.3);
    }
    .blog-cta-primary:hover { background: #ffd234; transform: translateY(-2px); box-shadow: 0 10px 30px rgba(254,188,0,0.4); }
    .blog-cta-secondary {
      background: transparent; border: 2px solid rgba(255,255,255,0.28);
      color: #fff; padding: 12px 36px; border-radius: 50px;
      font-weight: 600; text-decoration: none; font-size: 0.93rem;
      transition: all 0.25s ease;
    }
    .blog-cta-secondary:hover { border-color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.08); transform: translateY(-2px); }


    @media (max-width: 1060px) {
      .blog-layout { grid-template-columns: 1fr; }
      .blog-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
      .sw-newsletter { grid-column: 1 / -1; }
      .blog-cards { grid-template-columns: repeat(2, 1fr); }
    }
    @media (max-width: 768px) {
      .blog-featured-card { grid-template-columns: 1fr; }
      .blog-featured-img  { min-height: 260px; }
      .blog-featured-body { padding: 28px 24px 32px; }
      .blog-cards  { grid-template-columns: 1fr; }
      .blog-sidebar { grid-template-columns: 1fr; }
    }
    @media (max-width: 480px) {
      .blog-hero-search { flex-direction: column; border-radius: 14px; }
      .blog-hero-search button { padding: 14px; }
    }

/* --- Bloque adicional: blog-author-cta --- */
  .blog-author-cta {
    background: linear-gradient(135deg, #262b6f 0%, #1a1e55 100%);
    padding: 40px 24px; text-align: center; position: relative; overflow: hidden;
  }
  .blog-author-cta::before {
    content:''; position:absolute; width:320px; height:320px; border-radius:50%;
    background:rgba(254,188,0,0.05); top:-120px; right:-60px;
  }
  .blog-author-cta-inner { max-width: 620px; margin: 0 auto; position: relative; z-index: 1; }
  .blog-author-cta h3 { font-size: 1.5rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
  .blog-author-cta h3 em { color: #febc00; font-style: normal; }
  .blog-author-cta p { color: rgba(255,255,255,0.65); margin-bottom: 22px; font-size: 0.93rem; line-height: 1.65; }
  .blog-author-cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
  .btn-write-post {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: #febc00; color: #1a1e55;
    border-radius: 50px; font-weight: 800; font-size: 0.92rem; text-decoration: none;
    transition: background 0.2s, transform 0.15s; box-shadow: 0 4px 20px rgba(254,188,0,0.3);
  }
  .btn-write-post:hover { background: #ffd234; transform: translateY(-2px); }
  .btn-write-post svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 2.5; }
  .btn-view-dash {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 28px; background: transparent; color: rgba(255,255,255,0.85);
    border: 2px solid rgba(255,255,255,0.3); border-radius: 50px;
    font-weight: 700; font-size: 0.92rem; text-decoration: none;
    transition: all 0.2s;
  }
  .btn-view-dash:hover { border-color: rgba(255,255,255,0.65); background: rgba(255,255,255,0.07); }
  .user-posts-section { background: #f7f8fe; padding: 60px 24px; }
  .user-posts-inner { max-width: 1180px; margin: 0 auto; }
  .user-posts-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 28px; flex-wrap: wrap; gap: 12px; }
  .user-posts-header h2 { font-size: 1.5rem; font-weight: 800; color: #1e2140; }
  .user-posts-header h2 em { color: #febc00; font-style: normal; }
  .user-posts-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
  .user-post-card {
    background: #fff; border-radius: 18px; overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,0,0,0.06); display: flex; flex-direction: column;
    transition: box-shadow 0.3s, transform 0.3s; text-decoration: none;
  }
  .user-post-card:hover { box-shadow: 0 16px 44px rgba(38,43,111,0.12); transform: translateY(-4px); }
  .user-post-img { height: 180px; overflow: hidden; position: relative; background: #e2e8f0; }
  .user-post-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s; }
  .user-post-card:hover .user-post-img img { transform: scale(1.06); }
  .user-post-lang { position: absolute; top: 10px; right: 10px; font-size: 1.1rem; background: rgba(255,255,255,0.9); border-radius: 50%; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; }
  .user-post-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
  .user-post-cat { display: inline-block; font-size: 0.67rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; padding: 3px 10px; border-radius: 50px; background: rgba(38,43,111,0.08); color: #262b6f; margin-bottom: 10px; }
  .user-post-title { font-size: 0.98rem; font-weight: 800; color: #1e2140; line-height: 1.35; margin-bottom: 8px; flex: 1; }
  .user-post-excerpt { font-size: 0.83rem; color: #64748b; line-height: 1.65; margin-bottom: 14px; }
  .user-post-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px solid #f0f2fb; }
  .user-post-author { display: flex; align-items: center; gap: 7px; }
  .user-post-avatar { width: 26px; height: 26px; border-radius: 50%; overflow: hidden; background: #e2e8f0; }
  .user-post-avatar img { width: 100%; height: 100%; object-fit: cover; }
  .user-post-author-name { font-size: 0.74rem; font-weight: 700; color: #475569; }
  .user-post-read { font-size: 0.76rem; font-weight: 700; color: #262b6f; display: flex; align-items: center; gap: 4px; }
  .user-post-read svg { width: 13px; height: 13px; stroke: currentColor; fill: none; }
  @media (max-width: 768px) { .user-posts-grid { grid-template-columns: 1fr; } }
  @media (max-width: 960px) { .user-posts-grid { grid-template-columns: repeat(2,1fr); } }


    .post-hero {
      position: relative;
      height: 75vh;
      min-height: 520px;
      background-image: url('https://www.ecosescuela.com/images/index/studentsandbeach.JPG');
      background-size: cover;
      background-position: center;
      background-attachment: fixed;
      display: flex;
      align-items: flex-end;
      overflow: hidden;
    }
    .post-hero-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(10,14,40,0.97) 0%, rgba(10,14,40,0.5) 50%, rgba(0,0,0,0.1) 100%);
    }
    .post-hero-content {
      position: relative;
      z-index: 2;
      width: 100%;
      max-width: 860px;
      margin: 0 auto;
      padding: 0 24px 56px;
    }
    .post-breadcrumb {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.76rem;
      color: rgba(255,255,255,0.5);
      margin-bottom: 20px;
    }
    .post-breadcrumb a { color: rgba(255,255,255,0.5); text-decoration: none; transition: color 0.2s; }
    .post-breadcrumb a:hover { color: #febc00; }
    .post-breadcrumb svg { width: 12px; height: 12px; stroke: rgba(255,255,255,0.35); }
    .post-cat-pill {
      display: inline-block;
      background: #febc00;
      color: #1a1e55;
      font-size: 0.68rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: .1em;
      padding: 5px 14px;
      border-radius: 50px;
      margin-bottom: 18px;
    }
    .post-hero-content h1 {
      font-family: 'Lora', serif;
      font-size: clamp(1.9rem, 4.5vw, 3.2rem);
      font-weight: 700;
      color: #fff;
      line-height: 1.2;
      margin-bottom: 24px;
    }
    .post-hero-meta {
      display: flex;
      align-items: center;
      gap: 20px;
      flex-wrap: wrap;
    }
    .post-hero-author {
      display: flex;
      align-items: center;
      gap: 10px;
    }
    .post-hero-author-img {
      width: 40px; height: 40px;
      border-radius: 50%;
      overflow: hidden;
      border: 2px solid rgba(255,255,255,0.3);
    }
    .post-hero-author-img img { width: 100%; height: 100%; object-fit: cover; }
    .post-hero-author-info strong { display: block; font-size: 0.84rem; color: #fff; font-weight: 600; }
    .post-hero-author-info span  { font-size: 0.74rem; color: rgba(255,255,255,0.55); }
    .post-hero-stats {
      display: flex;
      align-items: center;
      gap: 16px;
      font-size: 0.78rem;
      color: rgba(255,255,255,0.55);
    }
    .post-hero-stats span { display: flex; align-items: center; gap: 5px; }
    .post-hero-stats svg { width: 13px; height: 13px; stroke: rgba(255,255,255,0.4); }


    .post-progress {
      position: fixed;
      top: 0; left: 0;
      height: 3px;
      background: linear-gradient(to right, #febc00, #ff9800);
      width: 0%;
      z-index: 9999;
      transition: width 0.1s linear;
    }


    .post-body {
      background: #fff;
      padding: 64px 24px 80px;
    }
    .post-layout {
      max-width: 1180px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 280px;
      gap: 64px;
      align-items: start;
    }


    .post-article {
      min-width: 0;
    }


    .post-lead {
      font-family: 'Lora', serif;
      font-size: 1.22rem;
      color: #374151;
      line-height: 1.8;
      margin-bottom: 36px;
      padding-bottom: 36px;
      border-bottom: 1px solid #f0f2fb;
    }


    .post-prose h2 {
      font-family: 'Lora', serif;
      font-size: 1.65rem;
      font-weight: 700;
      color: #1e2140;
      margin: 48px 0 18px;
      line-height: 1.3;
    }
    .post-prose h2:first-child { margin-top: 0; }
    .post-prose h3 {
      font-size: 1.15rem;
      font-weight: 700;
      color: #262b6f;
      margin: 32px 0 12px;
    }
    .post-prose p {
      font-size: 1.02rem;
      color: #4b5563;
      line-height: 1.85;
      margin-bottom: 22px;
    }
    .post-prose ul, .post-prose ol {
      margin: 0 0 22px 0;
      padding-left: 22px;
    }
    .post-prose li {
      font-size: 1.02rem;
      color: #4b5563;
      line-height: 1.8;
      margin-bottom: 8px;
    }
    .post-prose strong { color: #1e2140; }
    .post-prose em { color: #262b6f; font-style: italic; }
    .post-prose a { color: #262b6f; text-decoration: underline; text-decoration-color: #febc00; text-underline-offset: 3px; }
    .post-prose a:hover { color: #febc00; }


    .post-prose blockquote {
      margin: 36px 0;
      padding: 28px 32px;
      background: linear-gradient(135deg, #f0f2ff 0%, #fef9e7 100%);
      border-left: 4px solid #febc00;
      border-radius: 0 14px 14px 0;
    }
    .post-prose blockquote p {
      font-family: 'Lora', serif;
      font-size: 1.12rem;
      font-style: italic;
      color: #374151;
      margin: 0 0 10px;
    }
    .post-prose blockquote cite {
      font-size: 0.82rem;
      color: #6b7280;
      font-style: normal;
      font-weight: 600;
    }


    .post-highlight {
      background: #f0f2ff;
      border-radius: 14px;
      padding: 24px 28px;
      margin: 28px 0;
      display: flex;
      gap: 16px;
      align-items: flex-start;
    }
    .post-highlight-icon {
      width: 40px; height: 40px;
      background: #262b6f;
      border-radius: 10px;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .post-highlight-icon svg { width: 20px; height: 20px; stroke: #febc00; }
    .post-highlight-text h4 { font-size: 0.92rem; font-weight: 700; color: #262b6f; margin-bottom: 4px; }
    .post-highlight-text p  { font-size: 0.88rem; color: #4b5563; margin: 0; line-height: 1.65; }


    .post-reason {
      display: flex;
      gap: 20px;
      margin: 32px 0;
      padding: 28px;
      background: #fff;
      border-radius: 16px;
      border: 1.5px solid #e8eaf6;
      box-shadow: 0 2px 12px rgba(38,43,111,0.06);
      transition: box-shadow 0.25s, transform 0.25s;
    }
    .post-reason:hover { box-shadow: 0 8px 32px rgba(38,43,111,0.12); transform: translateY(-2px); }
    .post-reason-num {
      width: 52px; height: 52px;
      border-radius: 14px;
      background: linear-gradient(135deg, #262b6f 0%, #1a1e55 100%);
      color: #febc00;
      font-size: 1.4rem;
      font-weight: 900;
      display: flex; align-items: center; justify-content: center;
      flex-shrink: 0;
    }
    .post-reason-body h3 { font-size: 1.05rem; font-weight: 800; color: #1e2140; margin-bottom: 6px; }
    .post-reason-body p  { font-size: 0.93rem; color: #4b5563; line-height: 1.7; margin: 0; }


    .post-img {
      margin: 36px 0;
      border-radius: 18px;
      overflow: hidden;
    }
    .post-img img { width: 100%; display: block; }
    .post-img figcaption {
      background: #f7f8fe;
      padding: 10px 18px;
      font-size: 0.78rem;
      color: #94a3b8;
      text-align: center;
    }


    .post-share {
      display: flex;
      align-items: center;
      gap: 14px;
      padding: 28px 0;
      border-top: 1px solid #f0f2fb;
      border-bottom: 1px solid #f0f2fb;
      margin: 48px 0;
      flex-wrap: wrap;
    }
    .post-share-label { font-size: 0.84rem; font-weight: 700; color: #1e2140; }
    .post-share-btn {
      display: flex; align-items: center; gap: 6px;
      padding: 9px 18px;
      border-radius: 50px;
      border: 1.5px solid #e2e8f0;
      background: #fff;
      font-size: 0.8rem;
      font-weight: 600;
      cursor: pointer;
      font-family: inherit;
      transition: all 0.22s ease;
      text-decoration: none;
      color: inherit;
    }
    .post-share-btn:hover { transform: translateY(-2px); }
    .post-share-btn.twitter  { border-color: #1da1f2; color: #1da1f2; }
    .post-share-btn.twitter:hover  { background: #1da1f2; color: #fff; }
    .post-share-btn.facebook { border-color: #1877f2; color: #1877f2; }
    .post-share-btn.facebook:hover { background: #1877f2; color: #fff; }
    .post-share-btn.whatsapp { border-color: #25d366; color: #25d366; }
    .post-share-btn.whatsapp:hover { background: #25d366; color: #fff; }
    .post-share-btn.copy     { border-color: #94a3b8; color: #64748b; }
    .post-share-btn.copy:hover { background: #f1f5f9; }
    .post-share-btn svg { width: 15px; height: 15px; }


    .post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 48px; }
    .post-tag {
      padding: 6px 14px;
      border-radius: 50px;
      background: #f0f2fb;
      color: #262b6f;
      font-size: 0.78rem;
      font-weight: 600;
      text-decoration: none;
      transition: background 0.2s, color 0.2s;
    }
    .post-tag:hover { background: #262b6f; color: #fff; }


    .post-author-card {
      background: linear-gradient(135deg, #f0f2ff 0%, #fef9e7 100%);
      border-radius: 20px;
      padding: 32px;
      display: flex;
      gap: 22px;
      margin-bottom: 56px;
    }
    .post-author-card-img {
      width: 80px; height: 80px;
      border-radius: 50%;
      overflow: hidden;
      flex-shrink: 0;
      border: 3px solid #fff;
      box-shadow: 0 4px 14px rgba(38,43,111,0.15);
    }
    .post-author-card-img img { width: 100%; height: 100%; object-fit: cover; }
    .post-author-card-info span {
      font-size: 0.72rem; font-weight: 700;
      text-transform: uppercase; letter-spacing: .1em;
      color: #febc00; display: block; margin-bottom: 4px;
    }
    .post-author-card-info h4 {
      font-size: 1.1rem; font-weight: 800;
      color: #1e2140; margin-bottom: 8px;
    }
    .post-author-card-info p {
      font-size: 0.88rem; color: #64748b;
      line-height: 1.65; margin-bottom: 14px;
    }
    .post-author-socials { display: flex; gap: 10px; }
    .post-author-socials a {
      width: 32px; height: 32px;
      border-radius: 8px;
      background: #fff;
      display: flex; align-items: center; justify-content: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.08);
      color: #262b6f;
      transition: background 0.2s, transform 0.2s;
    }
    .post-author-socials a:hover { background: #262b6f; color: #fff; transform: translateY(-2px); }
    .post-author-socials svg { width: 14px; height: 14px; stroke: currentColor; }


    .post-comments h2 {
      font-size: 1.4rem; font-weight: 800;
      color: #1e2140; margin-bottom: 28px;
      display: flex; align-items: center; gap: 10px;
    }
    .post-comments-count {
      background: #262b6f; color: #fff;
      font-size: 0.76rem; padding: 3px 10px;
      border-radius: 50px;
    }
    .post-comment {
      display: flex; gap: 14px; margin-bottom: 28px;
    }
    .post-comment-avatar {
      width: 44px; height: 44px;
      border-radius: 50%; overflow: hidden;
      background: #e2e8f0; flex-shrink: 0;
    }
    .post-comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
    .post-comment-avatar.placeholder {
      display: flex; align-items: center; justify-content: center;
      font-size: 1rem; font-weight: 700;
      color: #fff;
    }
    .post-comment-body {
      background: #f7f8fe;
      border-radius: 0 14px 14px 14px;
      padding: 16px 18px;
      flex: 1;
    }
    .post-comment-body-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 8px;
    }
    .post-comment-body-header strong { font-size: 0.88rem; font-weight: 700; color: #1e2140; }
    .post-comment-body-header span   { font-size: 0.74rem; color: #94a3b8; }
    .post-comment-body p { font-size: 0.9rem; color: #4b5563; line-height: 1.65; margin: 0 0 10px; }
    .post-comment-like {
      font-size: 0.76rem; color: #94a3b8;
      background: none; border: none; cursor: pointer;
      display: flex; align-items: center; gap: 4px;
      font-family: inherit; transition: color 0.2s;
    }
    .post-comment-like:hover { color: #262b6f; }
    .post-comment-like svg { width: 13px; height: 13px; stroke: currentColor; }
    .post-comment-like.liked { color: #262b6f; cursor: default; }
    .post-comment-like:disabled { opacity: 0.7; cursor: default; }

    .post-comment-reply-btn {
      font-size: 0.76rem; color: #94a3b8; font-weight: 700;
      background: none; border: none; cursor: pointer;
      font-family: inherit; margin-left: 14px; transition: color 0.2s;
    }
    .post-comment-reply-btn:hover { color: #262b6f; }

    .post-comment-replies {
      margin-top: 16px; padding-left: 20px;
      border-left: 2px solid #eef0fb;
      display: flex; flex-direction: column; gap: 16px;
    }
    .post-comment-reply { margin-bottom: 0; }

    .post-comments-empty {
      font-size: 0.9rem; color: #94a3b8; text-align: center;
      padding: 24px 0; margin: 0 0 24px;
    }

    .post-comment-replying-to {
      font-size: 0.82rem; color: #475569; background: #eef0fb;
      padding: 8px 14px; border-radius: 10px; margin: 0 0 16px;
      display: flex; align-items: center; gap: 10px;
    }
    .post-comment-replying-to button {
      background: none; border: none; color: #262b6f; font-weight: 700;
      cursor: pointer; font-size: 0.8rem; font-family: inherit;
      text-decoration: underline;
    }

    .post-comment-feedback {
      font-size: 0.85rem; padding: 10px 14px; border-radius: 10px;
      margin: 0 0 14px;
    }
    .post-comment-feedback.success {
      background: rgba(56,161,105,0.12); color: #2f855a;
      border: 1px solid rgba(56,161,105,0.3);
    }
    .post-comment-feedback.error {
      background: rgba(229,62,62,0.1); color: #c53030;
      border: 1px solid rgba(229,62,62,0.3);
    }

    .post-comment-disclaimer {
      font-size: 0.74rem; color: #94a3b8; margin: 10px 0 0; text-align: center;
    }


    .post-comment-form {
      background: #f7f8fe;
      border-radius: 18px;
      padding: 28px;
      margin-top: 32px;
    }
    .post-comment-form h3 { font-size: 1rem; font-weight: 800; color: #1e2140; margin-bottom: 20px; }
    .pcf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
    .pcf-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
    .pcf-group label { font-size: 0.78rem; font-weight: 600; color: #475569; }
    .pcf-group input, .pcf-group textarea {
      padding: 11px 14px;
      border-radius: 10px;
      border: 1.5px solid #e2e8f0;
      font-size: 0.88rem;
      font-family: inherit;
      color: #1e2140;
      background: #fff;
      outline: none;
      transition: border-color 0.2s;
    }
    .pcf-group input:focus, .pcf-group textarea:focus { border-color: #262b6f; }
    .pcf-group textarea { resize: vertical; min-height: 110px; }
    .pcf-submit {
      background: #262b6f;
      color: #fff;
      border: none;
      padding: 13px 28px;
      border-radius: 50px;
      font-size: 0.88rem;
      font-weight: 700;
      cursor: pointer;
      font-family: inherit;
      display: flex;
      align-items: center;
      gap: 8px;
      transition: all 0.25s ease;
    }
    .pcf-submit:hover { background: #febc00; color: #1a1e55; transform: translateY(-1px); }
    .pcf-submit svg { width: 16px; height: 16px; }


    .post-sidebar {
      position: sticky;
      top: 90px;
      display: flex;
      flex-direction: column;
      gap: 24px;
    }
    .ps-widget {
      background: #f7f8fe;
      border-radius: 18px;
      padding: 24px;
    }
    .ps-widget h3 {
      font-size: 0.9rem;
      font-weight: 800;
      color: #1e2140;
      margin-bottom: 16px;
      display: flex; align-items: center; gap: 8px;
    }
    .ps-widget h3::after {
      content: '';
      flex: 1; height: 2px;
      background: linear-gradient(to right, #febc00, transparent);
      border-radius: 2px;
    }


    .ps-toc { display: flex; flex-direction: column; gap: 4px; }
    .ps-toc-item {
      display: flex; align-items: flex-start; gap: 8px;
      padding: 7px 10px;
      border-radius: 9px;
      cursor: pointer;
      font-size: 0.82rem;
      color: #64748b;
      font-weight: 500;
      transition: background 0.2s, color 0.2s;
      text-decoration: none;
      line-height: 1.4;
    }
    .ps-toc-item:hover { background: #fff; color: #262b6f; }
    .ps-toc-item.active { background: #fff; color: #262b6f; font-weight: 700; }
    .ps-toc-num {
      min-width: 20px; height: 20px;
      background: #e2e8f0;
      border-radius: 5px;
      font-size: 0.7rem;
      font-weight: 800;
      display: flex; align-items: center; justify-content: center;
      color: #94a3b8;
      flex-shrink: 0;
      margin-top: 1px;
    }
    .ps-toc-item.active .ps-toc-num { background: #262b6f; color: #febc00; }


    .ps-related { display: flex; flex-direction: column; gap: 14px; }
    .ps-related-item {
      display: flex; gap: 10px; align-items: flex-start;
      cursor: pointer;
      padding: 8px;
      border-radius: 10px;
      transition: background 0.2s;
      text-decoration: none;
    }
    .ps-related-item:hover { background: #fff; }
    .ps-related-img {
      width: 60px; height: 50px;
      border-radius: 9px; overflow: hidden; flex-shrink: 0;
    }
    .ps-related-img img { width: 100%; height: 100%; object-fit: cover; }
    .ps-related-info h4 {
      font-size: 0.79rem; font-weight: 700;
      color: #1e2140; line-height: 1.3; margin-bottom: 3px;
      transition: color 0.2s;
    }
    .ps-related-item:hover h4 { color: #262b6f; }
    .ps-related-info span { font-size: 0.7rem; color: #94a3b8; }


    .ps-nl {
      background: linear-gradient(135deg, #262b6f 0%, #1a1e55 100%);
      border-radius: 18px;
      padding: 24px;
      position: relative;
      overflow: hidden;
    }
    .ps-nl::before {
      content: '';
      position: absolute;
      width: 120px; height: 120px; border-radius: 50%;
      background: rgba(254,188,0,0.1);
      bottom: -40px; right: -30px;
    }
    .ps-nl h3 { font-size: 0.92rem; font-weight: 800; color: #fff; margin-bottom: 8px; position: relative; z-index: 1; }
    .ps-nl h3::after { display: none; }
    .ps-nl p { font-size: 0.79rem; color: rgba(255,255,255,0.65); margin-bottom: 14px; line-height: 1.55; position: relative; z-index: 1; }
    .ps-nl input {
      width: 100%; padding: 10px 14px;
      border-radius: 9px; border: none;
      font-size: 0.82rem; font-family: inherit;
      background: rgba(255,255,255,0.12);
      color: #fff; outline: none;
      margin-bottom: 8px;
      box-sizing: border-box;
      position: relative; z-index: 1;
    }
    .ps-nl input::placeholder { color: rgba(255,255,255,0.4); }
    .ps-nl input:focus { background: rgba(255,255,255,0.18); }
    .ps-nl button {
      width: 100%; padding: 10px;
      border-radius: 9px; border: none;
      background: #febc00; color: #1a1e55;
      font-size: 0.83rem; font-weight: 700;
      cursor: pointer; font-family: inherit;
      position: relative; z-index: 1;
      transition: background 0.2s;
    }
    .ps-nl button:hover { background: #ffd234; }


    .post-related {
      background: #f7f8fe;
      padding: 72px 24px 80px;
    }
    .post-related-inner { max-width: 1180px; margin: 0 auto; }
    .post-related-header {
      display: flex; align-items: center; justify-content: space-between;
      margin-bottom: 36px; flex-wrap: wrap; gap: 12px;
    }
    .post-related-header h2 {
      font-size: 1.6rem; font-weight: 800; color: #1e2140;
    }
    .post-related-header h2 em { color: #febc00; font-style: normal; }
    .post-related-link {
      font-size: 0.86rem; font-weight: 700;
      color: #262b6f; text-decoration: none;
      display: flex; align-items: center; gap: 6px;
      transition: gap 0.2s, color 0.2s;
    }
    .post-related-link:hover { color: #febc00; gap: 10px; }
    .post-related-link svg { width: 16px; height: 16px; stroke: currentColor; }
    .post-related-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
    }
    .related-card {
      background: #fff;
      border-radius: 18px;
      overflow: hidden;
      box-shadow: 0 4px 18px rgba(0,0,0,0.06);
      cursor: pointer;
      transition: box-shadow 0.3s, transform 0.3s;
      text-decoration: none;
      display: flex;
      flex-direction: column;
    }
    .related-card:hover { box-shadow: 0 16px 44px rgba(38,43,111,0.14); transform: translateY(-4px); }
    .related-card-img { position: relative; height: 190px; overflow: hidden; }
    .related-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.45s ease; }
    .related-card:hover .related-card-img img { transform: scale(1.07); }
    .related-card-cat {
      position: absolute; top: 12px; left: 12px;
      font-size: 0.64rem; font-weight: 800;
      text-transform: uppercase; letter-spacing: .09em;
      padding: 4px 11px; border-radius: 50px;
    }
    .related-card-body { padding: 20px 22px 24px; flex: 1; display: flex; flex-direction: column; }
    .related-card-meta { font-size: 0.74rem; color: #94a3b8; margin-bottom: 9px; display: flex; gap: 10px; }
    .related-card-body h3 {
      font-size: 0.97rem; font-weight: 800;
      color: #1e2140; line-height: 1.35;
      margin-bottom: 8px; transition: color 0.2s;
    }
    .related-card:hover h3 { color: #262b6f; }
    .related-card-body p  { font-size: 0.83rem; color: #64748b; line-height: 1.65; flex: 1; }
    .related-card-read {
      display: inline-flex; align-items: center; gap: 5px;
      font-size: 0.78rem; font-weight: 700;
      color: #262b6f; margin-top: 14px;
      transition: gap 0.2s, color 0.2s;
    }
    .related-card:hover .related-card-read { color: #febc00; gap: 9px; }
    .related-card-read svg { width: 13px; height: 13px; stroke: currentColor; }


    @media (max-width: 960px) {
      .post-layout { grid-template-columns: 1fr; }
      .post-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; }
      .ps-nl { grid-column: 1 / -1; }
    }
    @media (max-width: 768px) {
      .post-related-grid { grid-template-columns: 1fr; }
      .post-sidebar { grid-template-columns: 1fr; }
      .pcf-row { grid-template-columns: 1fr; }
      .post-share { gap: 8px; }
    }