/* =========================================================
   UX Web — Blog Post (específico)
   Requiere style.css como base
   ========================================================= */

/* ARTICLE HERO */
.article-hero {
  padding: 110px 5% 60px;
  max-width: 900px; margin: 0 auto;
  position: relative; z-index: 1;
}
.article-breadcrumb {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; color: rgba(232,240,240,.5);
  margin-bottom: 24px; flex-wrap: wrap;
}
.article-breadcrumb a { color: rgba(232,240,240,.5); text-decoration: none; transition: color 0.2s; }
.article-breadcrumb a:hover { color: var(--g); }
.article-breadcrumb .sep { color: rgba(232,240,240,.25); }
.article-meta-top { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; }
.article-cat { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; background: rgba(0,105,108,.15); border: 1px solid rgba(0,105,108,.3); color: var(--g); border-radius: 100px; padding: 4px 12px; }
.article-date, .article-read-time { font-size: 12px; color: rgba(232,240,240,.5); }
.article-sep { color: rgba(232,240,240,.2); }
.article-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800; letter-spacing: -0.03em; line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #e8f0f0 30%, #BBC9F8 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.article-excerpt { font-size: 18px; color: rgba(232,240,240,.7); line-height: 1.7; margin-bottom: 36px; font-weight: 300; }

/* FEATURED IMAGE */
.article-featured-img { width: 100%; max-width: 900px; margin: 0 auto 60px; padding: 0 5%; position: relative; z-index: 1; }
.article-featured-img img { width: 100%; border-radius: 20px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 40px 80px rgba(0,0,0,.4); }
.article-featured-img figcaption { font-size: 12px; color: rgba(232,240,240,.4); text-align: center; margin-top: 10px; font-style: italic; }

/* TWO-COLUMN LAYOUT */
.article-layout { max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 0 5% 100px; position: relative; z-index: 1; align-items: start; }

/* ARTICLE BODY */
.article-body h2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: var(--txt); margin: 48px 0 16px; letter-spacing: -0.02em; line-height: 1.2; padding-bottom: 12px; border-bottom: 1px solid rgba(0,105,108,.2); }
.article-body h3 { font-size: clamp(1.1rem, 2vw, 1.35rem); font-weight: 700; color: var(--lav); margin: 32px 0 12px; letter-spacing: -0.01em; }
.article-body p { font-size: 16px; color: rgba(232,240,240,.82); line-height: 1.85; margin-bottom: 20px; }
.article-body ul, .article-body ol { margin: 16px 0 24px; display: flex; flex-direction: column; gap: 10px; }
.article-body li { font-size: 15px; color: rgba(232,240,240,.8); line-height: 1.7; padding-left: 20px; position: relative; }
.article-body ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; border-radius: 50%; background: var(--g); box-shadow: 0 0 6px var(--g); }
.article-body ol { list-style: none; counter-reset: ol-counter; }
.article-body ol li { counter-increment: ol-counter; }
.article-body ol li::before { content: counter(ol-counter) '.'; position: absolute; left: 0; color: var(--g); font-weight: 700; font-size: 13px; }
.article-body strong { color: var(--txt); font-weight: 700; }
.article-body em     { color: var(--lav); font-style: italic; }
.article-body a { color: var(--g); text-decoration: underline; text-underline-offset: 3px; transition: color 0.2s; }
.article-body a:hover { color: var(--gl); }
.article-body blockquote { margin: 32px 0; padding: 24px 28px; background: rgba(0,105,108,.08); border-left: 3px solid var(--g); border-radius: 0 12px 12px 0; }
.article-body blockquote p { color: var(--crm); font-size: 16px; font-style: italic; margin: 0 0 8px; line-height: 1.7; }
.article-body blockquote cite { font-size: 12px; color: rgba(239,241,197,.6); font-style: normal; font-weight: 600; letter-spacing: 0.04em; }
.article-body figure { margin: 32px 0; }
.article-body figure img { width: 100%; border-radius: 12px; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 20px 50px rgba(0,0,0,.35); }
.article-body figcaption { font-size: 12px; color: rgba(232,240,240,.4); text-align: center; margin-top: 8px; font-style: italic; }
.highlight-box { margin: 32px 0; padding: 24px 28px; border-radius: 16px; background: rgba(187,201,248,.07); border: 1px solid rgba(187,201,248,.18); }
.highlight-box p { color: var(--lav); margin: 0; font-size: 15px; }

/* TAGS */
.article-tags { display: flex; align-items: center; gap: 8px; margin-top: 48px; padding-top: 32px; border-top: 1px solid rgba(255,255,255,.07); flex-wrap: wrap; }
.article-tags > span { font-size: 12px; color: rgba(232,240,240,.4); font-weight: 600; }
.tag { font-size: 11px; font-weight: 600; background: rgba(0,105,108,.1); border: 1px solid rgba(0,105,108,.25); color: var(--g); border-radius: 100px; padding: 4px 12px; text-decoration: none; transition: all 0.2s; }
.tag:hover { background: rgba(0,105,108,.2); color: var(--gl); }

/* SOCIAL SHARE */
.article-share { display: flex; align-items: center; gap: 12px; margin-top: 28px; flex-wrap: wrap; }
.article-share > span { font-size: 12px; color: rgba(232,240,240,.4); font-weight: 600; }
.share-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 100px; font-size: 12px; font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; font-family: 'Sora', sans-serif; }
.share-wa { background: #1da853; color: #fff; box-shadow: 0 0 16px rgba(29,168,83,.3); }
.share-wa:hover { transform: translateY(-2px); box-shadow: 0 4px 24px rgba(29,168,83,.45); }
.share-ig { background: rgba(187,201,248,.1); color: var(--lav); border: 1px solid rgba(187,201,248,.25); }
.share-ig:hover { background: rgba(187,201,248,.18); }
.share-li { background: rgba(0,105,108,.12); color: var(--g); border: 1px solid rgba(0,105,108,.28); }
.share-li:hover { background: rgba(0,105,108,.22); }

/* ARTICLE NAVIGATION */
.article-navigation { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 48px; }
.article-navigation a { padding: 20px 24px; border-radius: 16px; text-decoration: none; background: var(--card); border: 1px solid var(--cb); transition: all 0.25s; }
.article-navigation a:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); border-color: rgba(0,105,108,.3); }
.nav-label { font-size: 11px; color: rgba(232,240,240,.4); font-weight: 600; letter-spacing: 0.06em; margin-bottom: 8px; }
.nav-title { font-size: 14px; font-weight: 700; color: var(--txt); line-height: 1.4; }
.prev-article .nav-label::before { content: '← '; }
.next-article { text-align: right; }
.next-article .nav-label::after { content: ' →'; }

/* SIDEBAR */
.article-sidebar { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 20px; }
.toc { padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--cb); }
.toc-title { font-size: 11px; font-weight: 700; color: rgba(232,240,240,.5); letter-spacing: 0.1em; margin-bottom: 16px; }
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc li a { display: block; font-size: 13px; color: rgba(232,240,240,.6); text-decoration: none; padding: 6px 10px; border-radius: 8px; transition: all 0.2s; line-height: 1.4; }
.toc li a:hover, .toc li a.toc-active { color: var(--g); background: rgba(0,105,108,.08); }
.toc li.toc-h3 a { padding-left: 22px; font-size: 12px; }
.sidebar-cta { padding: 24px; border-radius: 16px; text-align: center; background: rgba(0,105,108,.1); border: 1px solid rgba(0,105,108,.25); }
.sidebar-cta p { font-size: 14px; color: rgba(232,240,240,.7); margin-bottom: 16px; line-height: 1.6; }
.sidebar-cta a { display: block; padding: 12px; border-radius: 100px; background: #1da853; color: #fff; text-decoration: none; font-size: 13px; font-weight: 700; box-shadow: 0 0 20px rgba(29,168,83,.35); transition: all 0.2s; }
.sidebar-cta a:hover { transform: translateY(-2px); box-shadow: 0 4px 28px rgba(29,168,83,.5); }
.sidebar-newsletter { padding: 32px 28px; border-radius: 16px; background: rgba(187,201,248,.06); border: 1px solid rgba(187,201,248,.18); text-align: center; }
.sidebar-newsletter h3 { font-size: 20px; font-weight: 800; color: var(--txt); margin-bottom: 10px; letter-spacing: -0.02em; }
.sidebar-newsletter p { font-size: 15px; color: rgba(232,240,240,.7); margin-bottom: 20px; line-height: 1.6; }
.sidebar-newsletter input { width: 100%; padding: 12px 18px; border-radius: 100px; margin-bottom: 10px; background: #F2F0EB; border: 1px solid rgba(0,105,108,.2); color: #00696C; font-family: 'Sora', sans-serif; font-size: 14px; outline: none; text-align: center; }
.sidebar-newsletter input:focus { border-color: rgba(0,105,108,.5); }
.sidebar-newsletter input::placeholder { color: rgba(0,105,108,.5); }
.sidebar-newsletter button { width: 100%; padding: 13px; border-radius: 100px; background: var(--g); color: #fff; border: none; font-family: 'Sora', sans-serif; font-size: 15px; font-weight: 700; cursor: pointer; transition: all 0.2s; box-shadow: 0 0 18px rgba(0,105,108,.35); }
.sidebar-newsletter button:hover { filter: brightness(1.15); }

/* RELATED */
.related-section { max-width: 900px; margin: 0 auto 80px; padding: 0 5%; position: relative; z-index: 1; }
.related-section h2 { font-size: 20px; font-weight: 800; margin-bottom: 20px; background: linear-gradient(135deg, var(--txt), var(--lav)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.related-card { padding: 20px; border-radius: 16px; text-decoration: none; display: block; color: inherit; background: var(--card); border: 1px solid var(--cb); transition: all 0.25s; }
.related-card:hover { background: rgba(255,255,255,.07); transform: translateY(-3px); border-color: rgba(0,105,108,.3); }
.related-cat { font-size: 10px; font-weight: 700; letter-spacing: 0.07em; color: var(--g); margin-bottom: 8px; display: block; }
.related-title { font-size: 14px; font-weight: 700; color: var(--txt); line-height: 1.4; }
.related-date  { font-size: 11px; color: rgba(232,240,240,.4); margin-top: 8px; display: block; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .article-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .article-sidebar > * { flex: 1; min-width: 260px; }
}
@media (max-width: 768px) {
  .article-title   { font-size: 1.8rem; }
  .article-excerpt { font-size: 15px; }
  .article-navigation { grid-template-columns: 1fr; }
  .article-layout  { padding: 0 5% 60px; }
}
@media (max-width: 480px) {
  .article-hero { padding: 100px 5% 40px; }
  .article-featured-img { margin-bottom: 40px; }
}
