/*
Theme Name: 21 Sep. Theme
Author: Nabil Jaran
Version: 1.0.0
*/

div.log{
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: fit-content;
    height: 100vh;
    padding: 10px;
    unicode-bidi: embed;
    font-family: monospace;
    white-space: pre;
    z-index: 9999;
    background-color: white;
    color: #0a4b78;
    border: 2px solid #0e6db1;
    border-radius: 8px;
    box-shadow: 0 0 4px 2px black;
    overflow: hidden;
    overflow-y: auto;
}
div.log.debug,div.log.error,div.log.verbose{
    display: none;
}
div.log.debug.show,div.log.error.show,div.log.verbose.show{
    display: block;
}

div.row.top.header{
    background-color: var(--primary-swach);
    color: var(--white);
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
}
div.row.top.archive.header{
    background-color: var(--black-soft-color);
}
div.row.top.search.header{
    background-color: var(--accent);
}
div.row.top.category.header{
    background-color: var(--primary);
}
div.row.top.tag.header{
    background-color: var(--accent);
}
div.row.top.header img{
    max-height: 33vh;
    object-fit: cover;
}
div.row.top.header h3,div.row.top.header h5{
    text-align: justify;
    padding: 10px;
    margin: 0;
}
div.row.top.header h5 span.path{
    display: none;
}
div.row.top.header h5{
    background-color: var(--secondry);
}
div.row.top.header h3 span.title{
}

div.row.static-page.header{
    background:var(--primary) no-repeat center;
    background-size: cover;
    --bs-gutter-x: 0;
    --bs-gutter-y: 0;
    height: 300px;
    max-height: 33vh;
    position: relative;
    flex-direction: column-reverse;
}
div.row.static-page.header div.static-page-header-shadow{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    background: linear-gradient(to top,var(--black-msoft-color),transparent);
    z-index: 0;
}
div.row.static-page.header div.page-title{
    color: var(--white);
    text-shadow: var(--text-shadow-3d-black);
    padding: 5px 10px;
    /*white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;*/
    text-align: center;
    /*height: 150px;*/
    z-index: 1;
}

div.card.static-page{
    border-radius: 0;
    border: 0;
}

div.card.static-page.collage-officer{
    line-height: 1.5em;
    border-bottom: 1px solid var(--grey);
}
div.card.static-page.collage-officer .card-body{
    text-align: justify;
    text-align-last: start;
    background: var(--primary);
    color: var(--white);
    font-size: 16px;
    text-shadow: var(--text-shadow-3d-black);
}
div.card.static-page.collage-officer .card-footer{
    text-align: center;
}

div.officer-identity{
    max-width: 300px;
    margin: auto;
}
div.officer-identity>div{
    display: inline-block;
    vertical-align: middle;
}
div.officer-identity .avatar{
    background: var(--white-soft-color) no-repeat center;
    background-size: cover;
    margin: auto 10px;
    border: 1px solid var(--black-soft-color);
    min-width: 48px;
    min-height: 48px;
    border-radius: 50%;
}
div.officer-identity .identity{
    text-align: justify;
    text-align-last: justify;
    max-width: calc(100% - 80px);
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}

div.card.static-page.collage-programs{
    border-top: 1px solid var(--grey);
    line-height: 1.5em;
}
div.card.static-page.collage-programs .card-header{
    color: var(--primary);
}
div.card.static-page.collage-programs .card-body details.program{
    border: 1px solid var(--grey);
    border-radius: 4px;
    padding: .5em .5em 0;
    margin: 5px auto;
    overflow: hidden;
    transition: box-shadow 500ms ease-out;
}
div.card.static-page.collage-programs .card-body details.program summary{
    font-weight: bold;
    margin: -.5em -.5em 0;
    padding: .5em;
    transition: all 250ms ease-out;
    border-bottom: 1px solid var(--grey);
}
div.card.static-page.collage-programs .card-body details.program[open]{
    padding: .5em;
    box-shadow: 0 .16875rem 2.1875rem rgba(90,97,105,.1),
    0 .9375rem 1.40625rem rgba(90,97,105,.1),
    0 .25rem .53125rem rgba(90,97,105,.12),
    0 .125rem .1875rem rgba(90,97,105,.1);
}
div.card.static-page.collage-programs .card-body details.program[open] summary{
    border-bottom: 1px solid var(--grey);
    margin-bottom: .5em;
    color: var(--white);
    text-shadow: var(--text-shadow-3d-black);
    background-color: var(--primary);
}
div.card.static-page.collage-programs .card-body details.program .content{
    text-align: center;
}
div.card.static-page.collage-programs .card-body details.program p{
    text-align: justify;
    text-align-last: start;
}

div.card.static-page.collage-programs .card-body details.program .officer-identity .identity{
    max-width: calc(100% - 125px);
}

article.post-content{
    padding: 1.5rem;
    text-align: justify;
}
article.post-content .has-text-align-left,article.post-content .has-text-align-right{
    text-align: justify;
}
article.post-content .wp-block-pullquote{
    padding: 1rem 0;
}
article.post-content p{
    padding: 1px 0;
}
article.post-content blockquote{
    border-top: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
}

/*tags*/
div.post-tags{
    text-align: center;
    font-size: 1.1em;
}
div.post-tags .badge{
    background-color: var(--primary);
    user-select: none;
    transition: all 250ms ease-out;
    margin: 5px 3px;
}
div.post-tags .badge:hover{
    background-color: var(--secondry);
}
div.post-tags .badge a{
    display: block;
    cursor: pointer;
    text-decoration: none;
    color: var(--white);
}

