.post360-hero {
    padding: 2.5rem 0 2rem;
    background:
        radial-gradient(circle at top right, rgba(36, 141, 254, .18), transparent 34%),
        linear-gradient(180deg, #f8fbff 0%, #eef5fb 100%);
    border-bottom: 1px solid rgba(36, 141, 254, .12);
}

.post360-shell {
    padding: 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, #07111f 0%, #153fcb 52%, #248dfe 100%);
    color: #fff;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .18);
    overflow: hidden;
    position: relative;
}

.post360-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 84% 18%, rgba(86, 199, 233, .35), transparent 28%),
        radial-gradient(circle at 18% 90%, rgba(255, 255, 255, .13), transparent 24%);
    pointer-events: none;
}

.post360-shell > * {
    position: relative;
    z-index: 1;
}

.post360-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.post360-back,
.post360-badge {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    font-size: .82rem;
    font-weight: 700;
}

.post360-back {
    color: rgba(255,255,255,.88);
    text-decoration: none;
    background: rgba(255,255,255,.09);
    border: 1px solid rgba(255,255,255,.18);
}

.post360-back:hover {
    color: #fff;
    background: rgba(255,255,255,.14);
}

.post360-badge {
    color: #dff7ff;
    background: rgba(86, 199, 233, .13);
    border: 1px solid rgba(86, 199, 233, .35);
}

.post360-title {
    max-width: 840px;
    font-family: 'Poppins', sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.65rem);
    line-height: 1.04;
    font-weight: 850;
    letter-spacing: -.045em;
    margin-bottom: 1rem;
}

.post360-extracto {
    max-width: 760px;
    color: rgba(255,255,255,.86);
    font-family: 'Poppins', sans-serif;
    font-size: 1.12rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.post360-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    color: rgba(255,255,255,.78);
    font-size: .9rem;
}

.post360-meta span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
}

.post360-cover-wrap {
    padding: .35rem;
    border-radius: 1.15rem;
    background: linear-gradient(135deg, #07111f 0%, #0b1f38 100%);
    border: 1px solid rgba(255,255,255,.16);
    box-shadow: 0 18px 45px rgba(0,0,0,.20);
}

.post360-cover {
    width: 100%;
    height: 280px;
    object-fit: contain;
    object-position: center;
    border-radius: .9rem;
    display: block;
    background: #07111f;
}

.post360-cover-placeholder {
    height: 310px;
    border-radius: 1.25rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,.8);
}

.post360-body-section {
    padding: 3rem 0;
    background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.post360-content-card {
    background: #fff;
    border: 1px solid rgba(36, 141, 254, .12);
    border-radius: 1.4rem;
    padding: 2.25rem;
    box-shadow: 0 20px 55px rgba(15, 23, 42, .08);
}

.post360-content {
    color: #334155;
    font-size: 1.04rem;
    line-height: 1.85;
}

.post360-content h2 {
    margin-top: 2.3rem;
    margin-bottom: .9rem;
    color: #111827;
    font-family: 'Poppins', sans-serif;
    font-size: 1.65rem;
    font-weight: 850;
    letter-spacing: -.025em;
}

.post360-content h3 {
    margin-top: 1.8rem;
    margin-bottom: .7rem;
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
}

.post360-content p {
    margin-bottom: 1rem;
}

.post360-content .lead {
    padding: 1.2rem 1.35rem;
    border-radius: 1.1rem;
    background: linear-gradient(135deg, #eef5fb 0%, #f8fbff 100%);
    border: 1px solid rgba(36, 141, 254, .14);
    color: #263445;
    font-size: 1.12rem;
    line-height: 1.75;
}

.post360-content a:not(.btn) {
    color: #1d6fe8;
    font-weight: 700;
    text-decoration: none;
}

.post360-content a:not(.btn):hover {
    color: #153fcb;
    text-decoration: underline;
}

.post360-content ul,
.post360-content ol {
    padding-left: 1.25rem;
    margin-bottom: 1.25rem;
}

.post360-content li {
    margin-bottom: .55rem;
}

.post360-content strong {
    color: #111827;
}

.post360-content pre {
    margin: 1.25rem 0;
    border-radius: 1.1rem !important;
    border: 1px solid rgba(86, 199, 233, .18);
    box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
}

.post360-content code {
    font-size: .86rem;
}

.post360-content .alert {
    border-radius: 1.1rem !important;
}

.post360-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(36, 141, 254, .35), transparent);
    margin: 2.5rem 0 2rem;
}

.post360-section-kicker {
    display: inline-flex;
    color: #248dfe;
    font-size: .78rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .25rem;
}

.post360-gallery-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 850;
    color: #111827;
}

.post360-gallery-img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: 1rem;
    border: 1px solid rgba(36, 141, 254, .14);
    box-shadow: 0 12px 30px rgba(15, 23, 42, .10);
    cursor: zoom-in;
    transition: transform .25s ease, box-shadow .25s ease;
}

.post360-gallery-img:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .15);
}

.post360-bottom-nav {
    margin-top: 1.5rem;
}

.post360-sidebar {
    position: sticky;
    top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.post360-side-card {
    padding: 1.4rem;
    border-radius: 1.25rem;
    background: #fff;
    border: 1px solid rgba(36, 141, 254, .14);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.post360-side-label {
    display: inline-flex;
    margin-bottom: .8rem;
    color: #248dfe;
    font-size: .75rem;
    font-weight: 850;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.post360-side-card h3 {
    margin-bottom: .75rem;
    color: #111827;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 850;
    line-height: 1.25;
}

.post360-side-card p {
    color: #64748b;
    font-size: .95rem;
    line-height: 1.65;
}

.post360-side-dark {
    background: linear-gradient(135deg, #07111f 0%, #153fcb 58%, #248dfe 100%);
    color: #fff;
}

.post360-side-dark p {
    color: rgba(255,255,255,.82);
}

.post360-side-chips {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
}

.post360-side-chips span {
    display: inline-flex;
    padding: .35rem .6rem;
    border-radius: 999px;
    background: rgba(255,255,255,.11);
    border: 1px solid rgba(255,255,255,.18);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
}

.btn-sis360-custom {
    background: linear-gradient(135deg, #1f80e8 0%, #1d6fe8 55%, #1b63dc 100%) !important;
    border: 0 !important;
    color: #fff !important;
}

.btn-sis360-custom:hover {
    background: linear-gradient(135deg, #1b72d4 0%, #155fd1 55%, #1857c7 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.btn-sis360-outline {
    background: #fff !important;
    border: 1px solid #1f80e8 !important;
    color: #1f80e8 !important;
    transition: all .2s ease;
}

.btn-sis360-outline:hover {
    background: linear-gradient(135deg, #1f80e8 0%, #1d6fe8 55%, #1b63dc 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    transform: translateY(-1px);
}

@media (max-width: 991.98px) {
    .post360-sidebar {
        position: static;
    }
}

@media (max-width: 767.98px) {
    .post360-hero {
        padding: 1.25rem 0 1rem;
    }

    .post360-shell {
        padding: 1.25rem;
        border-radius: 1.2rem;
    }

    .post360-top {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 1.4rem;
    }

    .post360-title {
        font-size: 2rem;
        letter-spacing: -.035em;
    }

    .post360-extracto {
        font-size: 1rem;
        line-height: 1.6;
    }

    .post360-cover,
.post360-cover-placeholder {
    height: 165px;
}

    .post360-body-section {
        padding: 1.5rem 0;
    }

    .post360-content-card {
        padding: 1.25rem;
        border-radius: 1.15rem;
    }

    .post360-content {
        font-size: .98rem;
        line-height: 1.72;
    }

    .post360-content h2 {
        font-size: 1.38rem;
        margin-top: 1.8rem;
    }

    .post360-content h3 {
        font-size: 1.15rem;
    }

    .post360-content .lead {
        padding: 1rem;
        font-size: 1rem;
    }

    .post360-content pre {
        overflow-x: auto;
        white-space: pre;
    }

    .post360-gallery-img {
        height: 210px;
    }
}

/*  Clases para el contenido */

.post360-content h4,
.post360-content h5 {
    margin-top: 1.8rem;
    margin-bottom: .75rem;
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    line-height: 1.3;
}

.post360-content h4 {
    font-size: 1.2rem;
}

.post360-content h5 {
    font-size: 1.05rem;
}

.post360-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1rem;
    border: 1px solid rgba(36, 141, 254, .12);
    box-shadow: 0 14px 35px rgba(15, 23, 42, .08);
}

.post360-content .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    text-decoration: none !important;
    font-weight: 700;
}

.post360-content .btn-primary {
    background: linear-gradient(135deg, #1f80e8 0%, #1d6fe8 55%, #1b63dc 100%) !important;
    border: 0 !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(29, 111, 232, .24);
}

.post360-content .btn-primary:hover {
    background: linear-gradient(135deg, #1b72d4 0%, #155fd1 55%, #1857c7 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.post360-content .rounded-4 {
    border-radius: 1rem !important;
}

.post360-content ul,
.post360-content ol {
    background: #f8fbff;
    border: 1px solid rgba(36, 141, 254, .12);
    border-radius: 1rem;
    padding: 1rem 1.25rem 1rem 2rem;
}

.post360-content li {
    color: #334155;
}