/* =================================================================
   GUÍA ASCENDENTES — Editorial Magazine Style
   Same proportions as ritual pages (960px, clamp padding)
   ================================================================= */

.asc-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 clamp(16px, 4vw, 32px) 3rem;
    font-family: 'Inter', sans-serif;
    color: #34495E;
}

/* --- Breadcrumb --- */
.asc-bc {
    padding: 14px 0 0;
    font-size: .72rem;
    color: #6B6B6B;
}
.asc-bc a { color: #B8A078; text-decoration: none; }
.asc-bc a:hover { color: #1E2A3A; }
.asc-bc-sep { margin: 0 5px; opacity: .4; }

/* --- Hero image — full-bleed cover --- */
.asc-hero-img {
    width: 100%;
    height: 380px;
    object-fit: cover;
    border-radius: 18px;
    margin-top: 16px;
    margin-bottom: 0;
    display: block;
    box-shadow: 0 2px 16px rgba(0,0,0,.10);
}

/* --- Title block --- */
.asc-title-block {
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(232,213,213,.4);
    border-radius: 18px;
    padding: clamp(20px, 3vw, 32px);
    margin-top: -40px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.asc-title-block::before {
    content: attr(data-emoji);
    position: absolute;
    right: -10px;
    top: -20px;
    font-size: 150px;
    color: #C9B896;
    opacity: .06;
    pointer-events: none;
    line-height: 1;
}
.asc-title-top {
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
    z-index: 1;
}
.asc-title-emoji {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    background: linear-gradient(135deg, #FAF8F5, #F5EDED);
    border-radius: 50%;
    flex-shrink: 0;
    border: 1px solid #E8D5D5;
}
.asc-title-badge {
    font-size: .62rem;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: #B8A078;
    font-weight: 600;
}
.asc-page h1 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 1.65rem;
    color: #1E2A3A;
    margin: 4px 0 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

/* --- Sign navigation pills --- */
.asc-sign-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid #E8D5D5;
}
.asc-sign-pill {
    font-size: .65rem;
    padding: 5px 12px;
    border-radius: 20px;
    background: #FAF8F5;
    border: 1px solid #E8D5D5;
    color: #6B6B6B;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.asc-sign-pill.active {
    background: #1E2A3A;
    color: #fff;
    border-color: #1E2A3A;
}
.asc-sign-pill:hover:not(.active) {
    border-color: #B8A078;
    color: #B8A078;
}

/* --- Hub: Sign grid (12 cards) --- */
.asc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 1.5rem 0 2rem;
}
.asc-grid-card {
    background: #fff;
    border: 1px solid #E8D5D5;
    border-radius: 14px;
    padding: 22px 16px;
    text-decoration: none;
    color: inherit;
    text-align: center;
    transition: transform .2s, border-color .25s, box-shadow .25s;
}
.asc-grid-card:hover {
    transform: translateY(-3px);
    border-color: #B8A078;
    box-shadow: 0 6px 20px rgba(30,42,58,.08);
}
.asc-grid-emoji {
    font-size: 1.8rem;
    display: block;
    margin-bottom: 8px;
}
.asc-grid-name {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    font-size: .85rem;
    color: #1E2A3A;
    display: block;
    margin-bottom: 4px;
}
.asc-grid-sub {
    font-size: .72rem;
    color: #6B6B6B;
    line-height: 1.4;
}
@media (max-width: 768px) {
    .asc-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
    .asc-grid-card { padding: 16px 12px; }
}

/* --- Table of contents --- */
.asc-toc {
    background: #FAF8F5;
    border: 1px solid #E8D5D5;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 28px;
}
.asc-toc-title {
    font-family: 'Josefin Sans', sans-serif;
    font-size: .78rem;
    font-weight: 500;
    color: #B8A078;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 10px;
}
.asc-toc-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-size: .82rem;
    line-height: 1.8;
}
.asc-toc-sep { display: none; }
.asc-toc .asc-toc-links a,
.asc-toc .asc-toc-links a:link,
.asc-toc .asc-toc-links a:visited {
    display: block;
    padding: 5px 0;
    border-bottom: 1px solid rgba(232,213,213,.4);
    color: #34495E;
    text-decoration: none;
    transition: color .2s;
}
.asc-toc .asc-toc-links a:last-child { border-bottom: none; }
.asc-toc .asc-toc-links a:hover {
    color: #B8A078;
}
html { scroll-behavior: smooth; }

/* --- Editorial body text --- */
.asc-body {
    max-width: 720px;
    margin: 0 auto;
}
.asc-body p {
    font-size: .92rem;
    line-height: 1.85;
    margin: 0 0 1.2rem;
    color: #34495E;
}
.asc-body p:first-of-type {
    font-size: 1.05rem;
    line-height: 1.75;
    color: #1E2A3A;
}
.asc-body a {
    color: #B8A078;
    text-decoration: underline;
    text-decoration-color: rgba(184, 160, 120, .3);
    text-underline-offset: 3px;
    transition: text-decoration-color .2s;
}
.asc-body a:hover {
    color: #1E2A3A;
    text-decoration-color: #1E2A3A;
}
.asc-body strong {
    color: #1E2A3A;
    font-weight: 600;
}

/* --- H2: section dividers --- */
.asc-body h2[id] {
    scroll-margin-top: 80px;
}
.asc-body h2 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 400;
    font-size: 1.25rem;
    color: #1E2A3A;
    margin: 2.8rem 0 1rem;
    padding-top: 2.2rem;
    border-top: 1px solid #E8D5D5;
    line-height: 1.25;
    letter-spacing: -0.005em;
}
.asc-body h2:first-of-type {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* --- H3: subsections --- */
.asc-body h3 {
    font-family: 'Josefin Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: #1E2A3A;
    margin: 2rem 0 0.7rem;
    line-height: 1.3;
}

/* --- Secondary image — editorial break --- */
.asc-secondary-img {
    width: calc(100% + 80px);
    margin-left: -40px;
    margin-right: -40px;
    max-width: 960px;
    height: 300px;
    object-fit: cover;
    display: block;
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    border-radius: 18px;
    box-shadow: 0 2px 16px rgba(0,0,0,.10);
}

/* --- Prev / Next navigation --- */
.asc-prevnext {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    margin-top: 1.5rem;
    border-top: 1px solid #E8D5D5;
    font-size: .85rem;
}
.asc-prevnext a {
    color: #B8A078;
    text-decoration: none;
    transition: color .2s;
}
.asc-prevnext a:hover { color: #1E2A3A; }
.asc-prevnext-center {
    color: #6B6B6B;
    font-size: .78rem;
}

/* --- Responsive --- */
@media (max-width: 600px) {
    .asc-hero-img {
        height: 240px;
        border-radius: 14px;
    }
    .asc-title-block {
        margin-top: -30px;
        border-radius: 14px;
        padding: 20px 18px;
    }
    .asc-title-block::before { font-size: 100px; }
    .asc-page h1 { font-size: 1.3rem; }
    .asc-sign-nav { gap: 5px; }
    .asc-sign-pill { font-size: .6rem; padding: 4px 9px; }
    .asc-secondary-img {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
        height: 200px;
        border-radius: 14px;
    }
    .asc-body p { font-size: .88rem; }
    .asc-body { max-width: 100%; }
}
