/* Blog Inner – parent-based structure, theme #121229 · #7C3AED · #faf8fc · #F5EEFF */

/* ----- Banner ----- */
.about-us-page {
    position: relative;
}

.about-us-page .hero-section-column {
    display: unset;
}

.about-us-page .hero-section-column-1 {
    width: 100%;
}

.about-us-page .hero-section-content {
    text-align: center;
}

.about-us-page .about-us-hero-decor {
    position: absolute;
    color: #1a1a2e;
    z-index: 1;
    opacity: 0.85;
}

.about-us-page .about-us-hero-decor-tl {
    top: 2rem;
    left: 15%;
}

.about-us-page .about-us-hero-decor-tr {
    top: 2rem;
    right: 15%;
}

.about-us-page .about-us-hero-decor-bl {
    bottom: 2.5rem;
    left: 18%;
}

.about-us-page .about-us-hero-decor-br {
    bottom: 2.5rem;
    right: 18%;
}

.blog-inner-banner h1 {
    margin: 0 0 0.5rem;
}

.blog-inner-banner p {
    max-width: 60rem;
    margin: 0 auto 1rem;
    text-align: center;
    padding-bottom: 1rem;
}

.blog-inner-banner time {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: #fff;
    border: 0.0625rem solid rgba(180, 130, 255, 0.35);
    color: #121229;
    text-decoration: none;
}

/* ----- Page ----- */
.blog-inner-page {
    background: #faf8fc;
    color: #121229;
    padding: 4rem 0 4rem;
}

.blog-inner-grid {
    display: grid;
    grid-template-columns: 1fr 22rem;
    gap: 3rem;
    align-items: start;
}

.blog-inner-main {
    min-width: 0;
}

/* ----- Article ----- */
.blog-inner-featured-image {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 2rem;
    border: 0.0625rem solid rgba(180, 130, 255, 0.2);
}

.blog-inner-featured-image img {
    width: 100%;
    height: auto;
    display: block;
    max-height: 28rem;
    object-fit: cover;
}

.blog-inner-body-content {
    color: #121229;
    line-height: 1.75;
    font-size: 1.0625rem;
    max-width: 50rem;
}

.blog-inner-body-content>*:first-child {
    margin-top: 0;
}

.blog-inner-body-content h1,
.blog-inner-body-content h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 0.75rem;
    color: #121229;
    padding-bottom: 0.5rem;
    border-bottom: 0.125rem solid rgba(180, 130, 255, 0.25);
}

.blog-inner-body-content h2:first-of-type {
    margin-top: 0;
}

.blog-inner-body-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1.5rem 0 0.5rem;
    color: #121229;
}

.blog-inner-body-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem;
    color: #121229;
}

.blog-inner-body-content p {
    margin: 0 0 1.25rem;
    color: rgba(18, 18, 41, 0.88);
}

.blog-inner-body-content ul,
.blog-inner-body-content ol {
    margin: 1.25rem 0;
    padding-left: 1.5rem;
}

.blog-inner-body-content ul li {
    margin: 0.4rem 0;
    padding-left: 1rem;
    position: relative;
}

.blog-inner-body-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.65em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7C3AED;
}

.blog-inner-body-content a {
    color: #7C3AED;
    text-decoration: none;
    font-weight: 600;
}

.blog-inner-body-content a:hover {
    color: #9b5eff;
}

.blog-inner-body-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.75rem;
    margin: 1.25rem 0;
    border: 0.0625rem solid rgba(180, 130, 255, 0.15);
}

.blog-inner-body-content blockquote {
    border-left: 0.25rem solid #7C3AED;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    background: rgba(180, 130, 255, 0.06);
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    color: rgba(18, 18, 41, 0.85);
}

.blog-inner-body-content code {
    background: rgba(180, 130, 255, 0.12);
    color: #121229;
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.9rem;
    font-weight: 500;
}

/* ----- Share ----- */
.blog-inner-share {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 0.0625rem solid rgba(180, 130, 255, 0.2);
}

.blog-inner-share h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #121229;
    margin: 0 0 1rem;
    letter-spacing: 0.02em;
}

.blog-inner-share>div {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.25rem;
}

.blog-inner-share a {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #F5EEFF;
    border: 0.0625rem solid rgba(180, 130, 255, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #121229;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.blog-inner-share a:hover {
    background: #7C3AED;
    border-color: #7C3AED;
    color: #fff;
    transform: translateY(-2px);
}

.blog-inner-share svg {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

/* ----- Sidebar ----- */
.blog-inner-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    position: sticky;
    top: 2rem;
}

.sidebar-widget {
    background: #fff;
    padding: 1.75rem 1.5rem;
    border-radius: 1rem;
    border: 0.0625rem solid rgba(180, 130, 255, 0.15);
}

.blog-inner-sidebar .sidebar-widget h3 {
    font-size: 1.5625rem;
    font-weight: 600;
    color: #121229;
    margin: 0 0 1rem;
}

.sidebar-contact-form p {
    font-size: 0.9375rem;
    line-height: 1.5;
    color: rgba(18, 18, 41, 0.75);
    margin: 0.375rem 0 0.75rem;
    max-width: 17rem;
}

.sidebar-contact-form form {
    box-sizing: border-box;
    max-width: 100%;
}

.sidebar-contact-form input,
.sidebar-contact-form select {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.75rem;
    border: 0.0625rem solid rgba(180, 130, 255, 0.25);
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-family: inherit;
    color: #121229;
    background: #fff;
}

.sidebar-contact-form input::placeholder {
    color: rgba(18, 18, 41, 0.5);
}

.sidebar-contact-form input:focus,
.sidebar-contact-form select:focus {
    outline: none;
    border-color: #7C3AED;
}

.sidebar-contact-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23121229' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.25rem;
}

.sidebar-contact-form button {
    box-sizing: border-box;
    width: 100%;
    margin-top: 0.25rem;
    padding: 0.875rem 1.25rem;
    color: #fff;
    border: none;
    background: #7C3AED;
    border-color: #7C3AED;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.sidebar-contact-form button:hover {
    background: #121229;
}

/* Related posts */
.sidebar-related ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
}

.sidebar-related li {
    margin: 0 0 1rem;
}

.sidebar-related li:last-child {
    margin-bottom: 0;
}

.sidebar-related a {
    display: flex;
    gap: 0.75rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
}

.sidebar-related a:hover {
    opacity: 0.85;
}

.sidebar-related a img {
    width: 4.5rem;
    height: 4.5rem;
    min-width: 4.5rem;
    border-radius: 0.5rem;
    object-fit: cover;
    border: 0.0625rem solid rgba(180, 130, 255, 0.15);
}

.sidebar-related a .placeholder {
    width: 4.5rem;
    height: 4.5rem;
    min-width: 4.5rem;
    display: block;
    background: #F5EEFF;
    border-radius: 0.5rem;
}

.sidebar-related a>span {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-width: 0;
}

.sidebar-related a>span span:first-child {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #121229;
    line-height: 1.35;
}

.sidebar-related a>span span:last-child {
    font-size: 0.8125rem;
    color: rgba(18, 18, 41, 0.65);
}

/* Categories */
.sidebar-categories .sidebar-categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.sidebar-category-pill {
    display: inline-block;
    padding: 0.4rem 0.9rem;
    border-radius: 2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    background: #F5EEFF;
    border: 0.0625rem solid rgba(180, 130, 255, 0.2);
    color: #121229;
    text-decoration: none;
    transition: all 0.2s ease;
}

.sidebar-category-pill:hover {
    border-color: #7C3AED;
    color: #7C3AED;
}

.sidebar-category-pill.active {
    background: #7C3AED;
    border-color: #7C3AED;
    color: #fff;
}

.sidebar-category-pill.active:hover {
    background: #9b5eff;
    border-color: #9b5eff;
    color: #fff;
}

/* CTA card */
.sidebar-cta {
    background: #faf8fc;
    border: 0.0625rem solid rgba(180, 130, 255, 0.3);
    border-radius: 1.25rem;
    padding: 0;
    overflow: hidden;
}

.sidebar-cta-illustration {
    padding: 1.25rem 1.25rem 0.5rem;
    text-align: center;
    min-height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-cta-illustration img {
    width: 20rem;
    height: 20rem;
    opacity: 0.85;
    margin-top: -1.8rem;
}

.sidebar-cta-body {
    padding: 0 1.5rem 1.5rem;
    text-align: left;
    margin-top: -1rem;
}

.sidebar-cta-body h3 {
    margin: 0 0 1rem;
}

.sidebar-cta-body a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    box-sizing: border-box;
    padding: 0.75rem 1.25rem;
    background: #7C3AED;
    border-color: #7C3AED;
    color: #fff;
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    font-weight: 600;
    font-family: inherit;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, gap 0.2s ease;
}

/* ----- Responsive ----- */

@media (max-width: 767px) {
    html {
        font-size: 13px;
    }

    .blog-inner-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .blog-inner-sidebar {
        position: static;
        width: 80%;
        margin: 0 auto;
    }

    .about-us-page .about-us-hero-decor {
        display: none;
    }

    .blog-inner-page {
        padding: 1.5rem 0 3rem;
    }

    .blog-inner-featured-image img {
        max-height: 18rem;
    }

    .blog-inner-share {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .sidebar-widget {
        padding: 1.25rem;
    }

    .blog-inner-body-content p {
        font-size: 1.3rem;
    }

    .blog-inner-body-content h3,
    .blog-inner-share h3 {
        font-size: 1.85rem;
    }

    .blog-inner-body-content ul li {
        font-size: 1.2rem;
    }

    /* Sidebar font increase */
    .blog-inner-sidebar .sidebar-widget h3 {
        font-size: 1.85rem;
    }

    .sidebar-contact-form p {
        font-size: 1.15rem;
    }

    .sidebar-contact-form input,
    .sidebar-contact-form select {
        font-size: 1.1rem;
    }

    .sidebar-contact-form button {
        font-size: 1.2rem;
    }

    .sidebar-related a>span span:first-child {
        font-size: 1.15rem;
    }

    .sidebar-related a>span span:last-child {
        font-size: 1rem;
    }

    .sidebar-category-pill {
        font-size: 1rem;
    }

    .sidebar-cta-body a {
        font-size: 1.15rem;
    }
}