.accordion-css__item[data-accordion-status="active"] .accordion-css__item-bottom {
    overflow: hidden;
}

.accordion-css__item-top {
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.blog-post-header_author-wrapper {
    display: flex;
    align-items: center;
}
.blog-post-header_author-image-wrapper {
    margin-right: 16px;
    height: 3.5rem;
    min-height: 3.5rem;
}
.blog-post-header_author-image {
    object-fit: cover;
    border-radius: 100% !important;
    width: 3.5rem;
    min-width: 3.5rem;
    height: 3.5rem !important;
    min-height: 3.5rem;
}
.blog-post-header_author-text {
    flex: 1;
}
.blog-post-header_author_name {
    font-weight: 600;
    font-family: "Inter Variable", Arial, sans-serif !important;
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.5;
    color: #f6f6f6;
}
.blog-post-header_date-wrapper {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.blog-post-date {
    font-weight: 400;
    font-family: "Inter Variable", Arial, sans-serif !important;
    font-size: 14px;
    line-height: 1.5;
    color: #f6f6f6;
}
.blog-post-header_text-divider {
    margin: 0 6px;
    color: #f6f6f6;
}

.blog-post-cat {
    background-color: #292929;
    padding: 4px 8px;
    gap: 4px;
    border: 1px solid #3b3b3b;
    border-radius: 100vw;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 500;
    justify-content: flex-start;
    align-items: center;
    display: inline-flex;
}
.author-cat-link {
    color: #e5e5e5;
}

.blog-img {
    object-position: 50% 50%;
    aspect-ratio: 3 / 2;
    height: 100%;
}

.blog-img img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0%;
    object-position: inherit !important;
}

.post-content-data p,
.post-content-data a,
.post-content-data ul,
.post-content-data figcaption {
    text-wrap: pretty;
    margin: 24px 0 !important;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
    color: #414141;
    font-family: "Inter Variable", Arial, sans-serif !important;
}
.post-content-data a {
    text-decoration: underline;
}
.post-content-data h2 {
    text-wrap: pretty;
    margin: clamp(1.75rem, 1.6785714285714286rem + 0.35714285714285715vw, 2rem) 0 !important;
    font-size: clamp(2.5rem, 2.0714285714285716rem + 2.142857142857143vw, 4rem);
    line-height: 1;
    font-weight: 600;
    color: #262626;
    text-wrap: balance;
    font-family: "Inter Tight Variable", Arial, sans-serif !important;
}

.post-content-data ul {
    gap: 16.2px;
    align-items: start;
    flex-flow: column;
    padding-left: 21.6px;
    list-style-type: disc;
    display: flex;
    overflow: visible;
}

.post-content-data figcaption {
    font-style: normal;
    text-align: center;
    margin-top: 5px !important;
}

.post-content-data figure {
    text-align: center;
    clear: both;
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: clamp(2.25rem, 2.0357142857142856rem + 1.0714285714285714vw, 3rem);
    margin-bottom: clamp(2.25rem, 2.0357142857142856rem + 1.0714285714285714vw, 3rem);
}

.post-navbar {
    position: sticky;
    top: 6rem;
    height: fit-content;
}

.post-navbar .post-nav-menu {
    position: sticky;
    top: 6rem;
    z-index: 99;
}

.post-navbar .post-nav-menu a.elementor-toc__list-item-text.elementor-item-active {
    border-left: 1.28px solid #8757a3;
    font-weight: 600;
}

.post-navbar .post-nav-menu a.elementor-toc__list-item-text {
    padding-left: 4px;
}
.accordion-css {
    width: 100%;
}

.accordion-css__list {
    display: block;
    width: 100%;
}

.accordion-css__item {
    margin-bottom: 15px;
}

/* TOP (HEADER) */
.accordion-css__item-top {
    background-color: #ffffffb8;
    padding: 20px;
    border-style: none;
    border-radius: 16px;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    transition: all 0.3s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

.accordion-css__item-top h3 {
    font-size: 18px;
    font-weight: 400;
    color: #414141;
    margin: 0;
}

/* ICON */
.accordion-css__item-top .icon {
    color: #414141;
    font-size: 20px;
    transform: rotate(0deg);
    z-index: 10;
    transition: all 0.3s ease-in-out;
    margin-right: 10px;
    font-weight: 600;
    line-height: 1;
}

.accordion-css__item-top .icon svg {
    color: #414141;
    fill: #414141;
    width: 1em;
    height: 1em;
}

/* ROTATE ICON WHEN ACTIVE */
[data-accordion-status="active"] .accordion-css__item-top .icon {
    transform: rotate(90deg);
    z-index: 10;
    transition: all 0.3s ease-in-out;
}

/* TOP BORDER RADIUS WHEN ACTIVE */
[data-accordion-status="active"] .accordion-css__item-top {
    border-radius: 16px 16px 0px 0px;
}

/* -----------------------------
   BOTTOM HEIGHT ANIMATION
------------------------------ */
.accordion-css__item-bottom {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease;
}

/* CONTENT ANIMATION */
.accordion-css__item-bottom-content {
    background-color: #ffffffb8;
    color: #414141;
    font-size: 15px;
    font-weight: 400;
    margin: 0;
    line-height: 1.7;
    border-radius: 0 0 16px 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);

    /* Smooth fade + slide */
    opacity: 0;
    transform: translateY(-6px);
    transition:
        opacity 0.35s ease,
        transform 0.35s ease;

    /* Padding animation trick */
    padding: 0 16px;
}

.accordion-css__item-bottom-content p {
    margin: 0;
}

/* ACTIVE STATE */
[data-accordion-status="active"] .accordion-css__item-bottom-content {
    opacity: 1;
    transform: translateY(0);
    padding: 16px;
}

/* FIX FLOATS */
.accordion-css__item-bottom-content::before,
.accordion-css__item-bottom-content::after {
    content: " ";
    display: table;
    clear: both;
}

@media screen and (max-width: 991px) {
    .post-navbar .post-nav-menu {
        position: relative;
        top: 0;
    }
    .post-navbar .post-nav-menu .elementor-toc__body {
        padding: 24px !important;
    }
}
@media screen and (max-width: 767px) {
    .post-navbar {
        position: relative;
        top: 0;
    }
}
