/* POST_LIST.TPL */
.post_list {
    display: flex;
    flex-direction: column;
}

.post_item {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
}

.post_item + .post_item {
    border: none;
    border-top: 2px solid var(--color-gray-20);
    margin-top: 2.5rem;
    padding-top: 2.5rem;
}

.post_item-head {
    width: 100%;
    max-width: 16rem;
}

.post_item-image {
    display: block;
    width: 100%;
    height: auto;
    padding: 40% 0%;
    position: relative;
    position: sticky;
    top: 1rem;
}

.post_item-img {
    background-position: 50% 50%;
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.post_item-img:not(.lazy) { background-color: var(--bg-gray); }

.post_item-img svg {
    color: rgba(0, 0, 0, 0.08);
    display: block;
    width: 60%;
    height: 60%;
}

.post_item-play::before,
.post_item-play::after {
    background: transparent;
    content: '';
    display: block;
    margin: auto;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
}

.post_item-play::before {
    background: rgba(0, 0, 0, 0.5);
    width: 3rem;
    height: 3rem;
    z-index: 1;
    border-radius: 0.75rem;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.post_item-play::after {
    border-style: solid;
    border-width: 0.5rem 0rem 0.5rem 0.75rem;
    border-color: transparent transparent transparent #FFFFFF;
    width: 0;
    height: 0;
    z-index: 2;
}

.post_item-body {
    display: flex;
    flex-direction: column;
    flex: 1 0 0%;
}

.post_item-name {
    font-size: 1.25rem;
    display: block;
}

.post_item-text {
    color: var(--color-secondary);
    font-size: 1rem;
    margin-top: 1rem;
    word-wrap: break-word;
    word-break: break-word;
}

.post_item-date {
    color: var(--color-secondary);
    font-size: 1rem;
    text-transform: lowercase;
    margin-top: 1rem;
}

/* POST: GRID */
.post_grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 2rem;
    gap: 2rem;
}

.post_grid .post_item {
    border-top: none;
    flex-direction: column;
    gap: 1rem;
    min-width: 0;
    margin-top: 0;
    padding-top: 0;
}

.post_grid .post_item-head {
    max-width: none;
}

.post_grid .post_item-image {
    position: relative;
    top: auto;
}

.post_grid .post_item-name {
    display: block;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.2;
}

.post_grid .post_item-text {
    display: none;
}

.post_grid .post_item-date {
    font-size: 0.75rem;
}

@media (max-width: 1024px) {
    .post_grid {grid-template-columns: repeat(2, 1fr);}
    .post_item { flex-direction: column; gap: 1rem; }
    .post_item-head { max-width: none; }
}

@media (max-width: 768px) {
    .post_item { flex-direction: row; gap: 1.5rem; }
    .post_item-head { max-width: 16rem; }
    .post_item-image { top: 7rem; }
}

@media (max-width: 620px) {
    .post_item { flex-direction: column; gap: 1rem; }
    .post_item-head { max-width: none; }
    .post_item-image { position: relative; top: auto; }
}

@media (max-width: 425px) {
    .post_grid {
        grid-template-columns: 1fr;
    }
}

/* POST.TPL */
.post_title {
    text-align: center;
    margin-bottom: 1.5rem;
}

.post_date {
    color: var(--color-secondary);
    font-size: 1rem;
    text-align: center;
    text-transform: lowercase;
}

.post_image-wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-bottom: 2.5rem;
}

.post_image {
    display: block;
    max-width: 100%;
}

.post_video-wrapper {
    width: 100%;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2.5rem;
    position: relative;
}

.post_video-wrapper::before {
    content: '';
    display: block;
    width: 100%;
    padding: 30% 0%;
}

.post_video-wrapper iframe {
    background: #000000;
    border: none;
    outline: none;
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.post_container {
    width: 100%;
    max-width: 48rem;
    margin: 2.5rem auto 0rem auto;
}

.post_description {
    margin-top: 2.5rem;
}

.post_description .gtx-bubble,
.post_description #gtx-anchor {
    display: none !important;
}

.post_description a { text-decoration: underline; }

.post_description h1,
.post_description h2,
.post_description h3,
.post_description h4,
.post_description h5,
.post_description h6 { margin-bottom: 1.5rem; }

.post_description p { margin-top: 0; margin-bottom: 2rem; }

.post_description ul,
.post_description ol { margin-top: 0; margin-bottom: 2rem; }
.post_description li { margin: 0; padding: 0; }
.post_description li + li { margin-top: 0.125rem; }

.post_description blockquote {
    border: none;
    border-left: 2px solid var(--blockquote-color);
    font-size: 1.125rem;
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 2rem;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-bottom: 0;
    padding-left: 1rem;
}

.post_description blockquote p {
    margin: 0;
    padding: 0;
}

.post_foot {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

/* POST - SHARE */
.post_share {
    display: flex;
    flex-direction: column;
}

.post_share-name {
    color: var(--color-secondary);
    font-size: 0.75rem;
}

.post_share-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 1rem;
}

.post_share-item {
    background: rgba(0, 0, 0, 0);
    border: none;
    font-size: 0.75rem;
    font-weight: 300;
    line-height: 1rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
    -webkit-appearance: none;
    appearance: none;
}

.post_share-item svg {
    display: block;
    height: 2rem;
}

/* POST - TAGS */
.post_tags {
    display: flex;
    flex-direction: column;
}

.post_tags-name {
    color: var(--color-secondary);
    font-size: 0.75rem;
}

.post_tags-list {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 1rem;
}

.post_tags-item {
    background: var(--bg-gray);
    color: var(--color-secondary);
    font-size: 0.75rem;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: 1.5rem;
    padding: 0rem 1rem;
    border-radius: 50rem;
    transition: 0.5s;
    user-select: none;
}

.post_tags-item:hover {
    background: #000000;
    color: #FFFFFF;
}