#menu-container {
    place-items: center;
    overflow: hidden;
}



.ccb-lbl {
    cursor: pointer;
}
.ccb {
    display: none;
}



#menu {
    --t: 0.4s;
    width: clamp(320px, 95%, 1000px);
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    transition: gap var(--t);
    height: 100%;
    overflow: auto;
    gap: 10px;
    display: flex;
    flex-direction: column;
}

#menu:has(.ccb:checked) {
    gap: 0px;
}

.blog {
    --t2: 1.5s;

    border: 1px solid gray;
    border-radius: 3px;
    padding: 3px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    
    height: 100%;
    min-height: 25%;
    transition: height var(--t), min-height var(--t), border-width var(--t), opacity var(--t2), padding var(--t2);
}

#menu:has(.ccb:checked) .blog:has(.ccb:not(:checked)) {
    --t2: 0.2s;
    height: 0;
    min-height: 0;
    border-width: 0;
    opacity: 0;
    padding: 0;
}

.blog:has(.ccb:checked) {
    height: 100%;
}




.blog-description {
    font-size: 0.9em;
}


.blog-frame {
    border: none;
    width: 100%;
    height: 0%;
    transition: height var(--t);
}

.blog:has(.ccb:checked) .blog-frame {
    height: 100%;
}


/* BLOG INFO */
.blog-info {
    overflow: hidden;
    display: grid;
    place-items: center;
    grid-template-rows: auto 1fr;
    gap: 3px;
    transition: grid-template-rows var(--t), gap var(--t);
}
.blog:has(.ccb:checked) .blog-info {
    grid-template-rows: auto 0fr;
    gap: 0px;
}

/* BLOG TITLE/DATE */
.blog-minfo {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    width: 100%;
    transition: width var(--t);
}

.blog:has(.ccb:checked) .blog-minfo {
    width: 96%;
}


.blog-title {
    font-weight: bold;
    font-size: 1.5em;
    transition: font-size var(--t);
}
.blog:has(.ccb:checked) .blog-title {
    font-size: 1.1em;
}
.blog-date {
    font-size: 0.7em;
    font-style: italic;
}


.blog-description {
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: height var(--t);
}

.blog:has(.ccb:checked) .blog-description {
    height: 0%;
}








.overlay-lbl {
    flex: 1 1 auto;
    cursor: pointer;
}

.blog:has(.ccb:checked) .overlay-lbl {
    cursor: auto;
}

.blog-content {
    height: 100%;
    width: 100%;
    display: grid;
    place-items: center;
    grid-template-rows: auto 1fr;
}

.blog-divider {
    opacity: 0;
    --t2: 0.2s;
    transition: opacity var(--t2);
    margin-top: 3px;
    width: 97%;
}

.blog:has(.ccb:checked) .blog-divider {
    opacity: 1;
    --t2: 2s;
}