﻿:root {
    --black: #232323;
    --nav: #2d333f;
    --blue: #4b4faa;
    --grey: #595959;
    --header: #dde4ec;
    --red: #c21807;
}

* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: "Quicksand", sans-serif;
}
html {
    scrollbar-gutter: stable;
}

h1,
h2,
h3,
h4,
h5,
h6,
label,
.title {
    font-family: "General Sans", sans-serif;
    line-height: 1.1;
}

h1 {
    font-size: 2.5rem;

    @media screen and (width < 768px) {
        font-size: 2rem;
    }

    @media screen and (width < 576px) {
        font-size: 1.75rem;
    }
}

h2 {
    font-size: 2rem;
    @media screen and (width < 768px) {
        font-size: 1.75rem;
    }

    @media screen and (width < 576px) {
        font-size: 1.5rem;
    }
}

h3 {
    font-size: 1.75rem;
    @media screen and (width < 768px) {
        font-size: 1.5rem;
    }

    @media screen and (width < 576px) {
        font-size: 1.25rem;
    }
}

h4 {
    font-size: 1.5rem;
    @media screen and (width < 768px) {
        font-size: 1.25rem;
    }
}

h5 {
    font-size: 1.25rem;
}

a {
    color: var(--black);
    text-decoration: none;
    &:hover {
        color: var(--black);
        text-decoration: none;
    }
}
img {
    object-fit: cover;
    object-position: top;
}
figure {
    margin: 0;
    width: fit-content;
}
figcaption {
    text-align: left;
}
.shadow:hover,
.home-banner-block:hover {
    box-shadow: 0 0 5px 1px rgba(0, 0, 0, 0.1);
}
.home-banner-block {
    font-size: 20px;
    font-weight: 600;
    text-align: center;
    border: 1px solid rgba(0, 0, 0, 0.1450980392);
    border-radius: 8px;
    margin-bottom: 12px;
    height: 20rem;
    position: relative;
    overflow: hidden;

    figure {
        width: 100%;
        height: 100%;
    }

    figcaption {
        position: absolute;
        padding: 1rem;
        bottom: 0;
        width: 100%;
        background-image: linear-gradient(#22222208, #222);
        color: #fff;
        border-radius: 0 0 12px;
        transition: all 500ms ease-in-out;

        .title {
            font-family: "General Sans", sans-serif;
        }
    }

    img {
        width: 100%;
        height: 100%;
        border-radius: 10px;
    }

    .additional-data {
        display: none;
    }

    &:hover {
        figcaption {
            top: 0;
            display: flex;
            place-content: center;
            gap: 0.5rem;
            flex-flow: column;
            padding-inline: 1.25rem;
            text-align: center;

            .title {
                font-size: 22px;
            }
        }

        .additional-data {
            display: flex;
            flex-flow: column;
            gap: 0.25rem;
            font-size: 15px;
            color: #dfd0d0;
        }
    }
}
.home-banner,
.home-category-wrapper {
    margin-bottom: 25px;
}
.category-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.author-box {
    text-align: center;
    margin: 15px 0;
    border: 2px solid rgba(0, 0, 0, 0.2666666667);
    padding: 15px;
    border-radius: 8px;
}
.author-box img {
    width: 100%;
    aspect-ratio: 1/1;
    min-height: 150px;
    border-radius: 12px;
    margin-bottom: 10px;
}
.social-share {
    display: flex;
    gap: 10px;
    align-items: center;
    margin: 5px 0;
    font-size: 16px;
}
.social-share img {
    height: 25px;
    width: 25px;
}
.detail {
    font-size: 22px;
    line-height: 1.8;
}
.detail ul,
.detail ol {
    padding-left: 35px;
}
.detail p {
    margin-bottom: 20px;
}
.detail h1,
.detail h2,
.detail h3,
.detail h4,
.detail h5,
.detail h6 {
    margin-bottom: 1rem;
}
.category-list {
    text-align: left;
    margin-top: 25px;

    h5 {
        margin-bottom: 0.75rem;
    }
}
.category-list p {
    font-size: 20px;
    margin-bottom: 10px;
}
.category-list li {
    list-style: none;
    margin-bottom: 8px;
}
.category-list a:before {
    content: "➤";
    padding-right: 10px;
}
#header-posts-wrapper {
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1450980392);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    display: none;
}
#header-posts {
    display: flex;
    flex-basis: 240px;
}
.header-posts-block a {
    padding: 8px;
    display: flex;
    gap: 5px;
    width: 100%;
    align-items: center;
}
.header-posts-block:hover {
    background-color: rgba(0, 0, 0, 0.1450980392);
    border-radius: 8px;
}
.header-posts-block p {
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    user-select: none;
}
.header-posts-block img {
    height: 45px;
    width: 45px;
    border-radius: 8px;
    flex-shrink: 0;
}
.detail-content a {
    color: var(--red);
}
.detail-content a:hover {
    color: var(--red);
}
.detail-content figcaption > span.imagesource {
    color: var(--red);
}
.related-posts a {
    color: var(--black);
}
.text-sh {
    color: #fff;
    text-shadow: 4px 2px 3px var(--black);
}
#category_block_wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}
#Loadbtn {
    font-size: 17px;
    padding: 15px;
    background-color: inherit;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}
#Loadbtn:hover {
    box-shadow: 0 0.5rem 0.75rem rgba(0, 0, 0, 0.2666666667);
}
.moresec {
    display: flex;
    flex-flow: column;
    border: 2px solid var(--black);
    width: max-content;
    position: absolute;
    left: -10px;
    background-color: #fff;
    padding: 5px 0;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5333333333);
    margin-top: 15px;
    z-index: 100;
}
.moresec a {
    padding: 8px 15px;
}
.more_sec {
    position: relative;
    cursor: default;
}
.more_sec:after {
    content: "⌄";
    position: absolute;
    top: -3px;
    padding-left: 5px;
}
.logo img {
    width: 200px;
    height: 45px;
    object-position: center;
}
.page-content {
    line-height: 2;
}
.tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.tag-block {
    font-size: 18px;
}
.htmx-input {
    visibility: hidden;
    opacity: 0;
}
.bottom-detail {
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 2, 2, 0.3803921569);
    margin-bottom: 3rem;
}
.htmx-indicator {
    transition: opacity 500ms ease-in;
}
.htmx-request .htmx-indicator {
    opacity: 1;
}
.htmx-request.htmx-indicator {
    opacity: 1;
}
#spinner {
    width: 100%;
    display: inline-flex;
    justify-content: center;
}
#spinner img {
    width: 80px;
    height: 80px;
    position: relative;
}
.social-share-author {
    display: flex;
    gap: 0.5rem;
    flex-flow: column;
    margin-right: 0.5rem;
}
@media screen and (width > 900px) {
    .social-share-author {
        flex-flow: row;
    }
}
.text-center {
    text-align: center !important;
}
.text-muted {
    color: #5c5c5c !important;
}
.p-0 {
    padding: 0 !important;
}
.p-1 {
    padding: 0.25rem !important;
}
.p-2 {
    padding: 0.5rem !important;
}
.p-3 {
    padding: 1rem !important;
}
.p-4 {
    padding: 1.5rem !important;
}
.p-5 {
    padding: 3rem !important;
}
.px-0 {
    padding-right: 0 !important;
    padding-left: 0 !important;
}
.px-1 {
    padding-right: 0.25rem !important;
    padding-left: 0.25rem !important;
}
.px-2 {
    padding-right: 0.5rem !important;
    padding-left: 0.5rem !important;
}
.px-3 {
    padding-right: 1rem !important;
    padding-left: 1rem !important;
}
.px-4 {
    padding-right: 1.5rem !important;
    padding-left: 1.5rem !important;
}
.px-5 {
    padding-right: 3rem !important;
    padding-left: 3rem !important;
}
.py-0 {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.py-1 {
    padding-top: 0.25rem !important;
    padding-bottom: 0.25rem !important;
}
.py-2 {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
}
.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}
.pt-0 {
    padding-top: 0 !important;
}
.pt-1 {
    padding-top: 0.25rem !important;
}
.pt-2 {
    padding-top: 0.5rem !important;
}
.pt-3 {
    padding-top: 1rem !important;
}
.pt-4 {
    padding-top: 1.5rem !important;
}
.pt-5 {
    padding-top: 3rem !important;
}
.pb-0 {
    padding-bottom: 0 !important;
}
.pb-1 {
    padding-bottom: 0.25rem !important;
}
.pb-2 {
    padding-bottom: 0.5rem !important;
}
.pb-3 {
    padding-bottom: 1rem !important;
}
.pb-4 {
    padding-bottom: 1.5rem !important;
}
.pb-5 {
    padding-bottom: 3rem !important;
}
.ps-3 {
    padding-left: 1rem !important;
}
.ps-4 {
    padding-left: 1.5rem !important;
}
.ps-5 {
    padding-left: 3rem !important;
}
.m-0 {
    margin: 0 !important;
}
.m-1 {
    margin: 0.25rem !important;
}
.m-2 {
    margin: 0.5rem !important;
}
.m-3 {
    margin: 1rem !important;
}
.m-4 {
    margin: 1.5rem !important;
}
.m-5 {
    margin: 3rem !important;
}
.m-auto {
    margin: auto !important;
}
.mx-0 {
    margin-right: 0 !important;
    margin-left: 0 !important;
}
.mx-1 {
    margin-right: 0.25rem !important;
    margin-left: 0.25rem !important;
}
.mx-2 {
    margin-right: 0.5rem !important;
    margin-left: 0.5rem !important;
}
.mx-3 {
    margin-right: 1rem !important;
    margin-left: 1rem !important;
}
.mx-4 {
    margin-right: 1.5rem !important;
    margin-left: 1.5rem !important;
}
.mx-5 {
    margin-right: 3rem !important;
    margin-left: 3rem !important;
}
.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}
.my-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.my-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}
.my-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}
.my-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.my-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}
.my-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}
.my-auto {
    margin-top: auto !important;
    margin-bottom: auto !important;
}
.mt-0 {
    margin-top: 0 !important;
}
.mt-1 {
    margin-top: 0.25rem !important;
}
.mt-2 {
    margin-top: 0.5rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.mt-4 {
    margin-top: 1.5rem !important;
}
.mt-5 {
    margin-top: 3rem !important;
}
.mt-auto {
    margin-top: auto !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-2 {
    margin-bottom: 0.5rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}
.mb-auto {
    margin-bottom: auto !important;
}
.me-0 {
    margin-right: 0 !important;
}
.me-1 {
    margin-right: 0.25rem !important;
}
.me-2 {
    margin-right: 0.5rem !important;
}
.me-3 {
    margin-right: 1rem !important;
}
.me-4 {
    margin-right: 1.5rem !important;
}
.me-5 {
    margin-right: 3rem !important;
}
.me-auto {
    margin-right: auto !important;
}
.ms-0 {
    margin-left: 0 !important;
}
.ms-1 {
    margin-left: 0.25rem !important;
}
.ms-2 {
    margin-left: 0.5rem !important;
}
.ms-3 {
    margin-left: 1rem !important;
}
.ms-4 {
    margin-left: 1.5rem !important;
}
.ms-5 {
    margin-left: 3rem !important;
}
.ms-auto {
    margin-left: auto !important;
}
.mx-0 {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.mx-1 {
    margin-top: 0.25rem !important;
    margin-bottom: 0.25rem !important;
}
.mx-2 {
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
}
.mx-3 {
    margin-top: 1rem !important;
    margin-bottom: 1rem !important;
}
.mx-4 {
    margin-top: 1.5rem !important;
    margin-bottom: 1.5rem !important;
}
.mx-5 {
    margin-top: 3rem !important;
    margin-bottom: 3rem !important;
}
a:not([href]):not([class]) {
    color: inherit;
    text-decoration: none;
}
a:not([href]):not([class]):hover {
    color: inherit;
    text-decoration: none;
}

.nav {
    padding-block: 20px;
    font-weight: 500;
    font-size: 24px;
    background-color: var(--nav);
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: minmax(5px, 8vw) repeat(2, 42vw) minmax(5px, 8vw);
    align-items: center;
    position: relative;
}
.nav a {
    color: #fff;
}
.nav > .logo {
    grid-column: 2;
}
.nav-bar {
    display: flex;
    gap: 1rem;
    font-size: 16px;
    grid-column: 3;
    justify-content: flex-end;
}
.nav-cross,
.nav-menu {
    display: none;
    cursor: pointer;
    grid-column: 3;
    margin: 0;
}
@media screen and (width < 900px) {
    .nav-bar {
        position: absolute;
        right: 0;
        left: 0;
        top: 0;
        bottom: 0;
        height: 100vh;
        background-color: #2d333f;
        color: #fff;
        flex-flow: column;
        justify-content: flex-start;
        padding: 4rem;
        overscroll-behavior: contain;
        visibility: visible;
        opacity: 1;
        transition: all ease-in-out 0.4s;
        grid-column: 1;
    }
    .nav-bar-item {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid #666;
    }
    .nav-menu {
        display: flex;
        justify-content: right;
        margin-top: -5px;
    }
    .nav-cross {
        position: absolute;
        display: block;
        top: 1rem;
        right: 1.5rem;
        font-size: 24px;
    }
    .nav-toggle {
        visibility: hidden;
        opacity: 0;
    }
    .no-scroll {
        overflow: hidden;
    }
}
footer {
    background-color: #2d333f;
    margin-top: 2rem;
    display: block;
    padding: 1rem clamp(20px, 5vw, 5rem);
    color: #fff;
}
@media screen and (width > 900px) {
    footer {
        display: grid;
        gap: 2rem;
        grid-template-columns: 1fr 1fr 1fr;
    }
}
footer a,
footer a:hover {
    color: #fff;
}
.footer-link {
    list-style: none;
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
    padding: 0;
    margin-bottom: 2rem;
}
.footer-social-links {
    display: flex;
    flex-flow: column;
}
.footer-social-links img {
    width: 45px;
    height: 45px;
}
.footer-info > img {
    width: 300px;
    margin-bottom: 0.5rem;
}
.footer-label {
    display: block;
    padding-bottom: 5px;
    margin-bottom: 0.75rem;
    position: relative;
    font-size: 20px;
    font-weight: 600;
}
.footer-label::after {
    content: "";
    position: absolute;
    bottom: -2px;
    width: 50%;
    height: 3px;
    background-color: #fff;
    left: 0;
}
.footer-social-item {
    display: flex;
    gap: 0.25rem;
    align-items: center;
}
@media screen and (min-width: 521px) and (max-width: 800px) {
    .home-banner,
    .home-category-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        column-gap: 15px;
    }
    .related-posts {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        column-gap: 10px;
    }
    .static-user-block {
        width: 31%;
    }
}
@media screen and (max-width: 650px) {
    #header-posts-wrapper {
        visibility: hidden;
    }
}
@media screen and (max-width: 800px) {
    .nav-drop {
        display: none;
    }
    .imgHeight,
    .imgWidth,
    .imgEqual {
        width: 100%;
        height: 100%;
    }
}
@media screen and (min-width: 801px) {
    .home-banner,
    .home-category-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 0;
        column-gap: 15px;
    }
    .category-page,
    .author-page,
    .detail-page {
        display: grid;
        grid-template-columns: 1fr 316px;
        gap: 10px;
        margin-top: 15px;
    }
    .phone {
        display: none;
    }
    .imgHeight {
        height: 650px;
    }
    .imgWidth {
        width: 700px;
    }
    .imgEqual {
        height: 650px;
        width: 650px;
    }
    .related-posts {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 0;
        column-gap: 10px;
    }
    #category_block_wrapper {
        grid-template-columns: 1fr 1fr;
    }
    .static-user-block {
        width: 23%;
    }
}
@media screen and (min-width: 1000px) {
    main {
        margin-inline: auto;
        display: grid;
        grid-template-columns: 1fr min(100% - 40px, 70rem) 1fr;
    }
    main > section {
        grid-column: 2;
    }
    main .kpo-ads:first-child {
        grid-column: span 3;
    }
    #embed-wrapper {
        width: fit-content;
        margin: 0 auto;
    }
    #embed-wrapper iframe {
        width: 650px;
        height: 650px;
    }
}
@media only screen and (min-width: 801px) {
    figure img {
        max-width: 100% !important;
    }
}
@media only screen and (max-width: 359px) {
    .top-nav-links {
        gap: 30px !important;
    }
}
.image-embed {
    width: fit-content;
    margin: 2rem auto;
    color: rgba(33, 37, 41, 0.5);
    font-size: 12px;
}

.article-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.check-badge-container {
    position: relative;
    &:hover {
        .check-badge-message {
            display: block;
        }
    }
}

.check-badge {
    padding: 4px 12px;
    font-size: 12px;
    color: green;
    border: 1px solid green;
    border-radius: 12px;
    cursor: pointer;

    &:hover {
        background-color: green;
        color: #fff;
    }
}

.check-badge-message {
    position: absolute;
    top: 25px;
    right: 0;
    max-width: 520px;
    width: 520px;
    background-color: #fff;
    padding: 6px;
    border: 1px solid green;
    border-radius: 8px;
    display: none;
    z-index: 100;

    @media (width < 560px) {
        width: calc(100vw - 30px);
    }
    a {
        text-decoration: underline;
        color: var(--blue);
    }
    p {
        margin-bottom: 0.25rem;
    }
    &:hover {
        display: block;
    }
}

.reference-container {
    border: 1px solid #98b0ca;
    border-radius: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

.reference-header {
    padding: 0.5rem 1.25rem 0.75rem;
    background-color: var(--header);
    border-radius: 1rem;
    transition: 100ms ease;

    h3 {
        margin: 0;
    }
}

.reference-header.show-header {
    border-radius: 1rem 1rem 0 0;
    color: var(--blue);
}

.ref-button {
    font-size: 17px;
    cursor: pointer;
    color: var(--black) !important;
    font-weight: 500;
    width: 100%;
    display: inline-block;

    &:hover {
        text-decoration: none;
        color: var(--red) !important;
    }
}

.ref-button::after {
    content: "\002B";
    margin-left: 5px;
    font-size: 22px;
}

.ref-button.min::after {
    content: "\2212";
    margin-left: 5px;
    font-size: 22px;
}

.reference-body {
    padding: 1rem;
    word-break: break-word;

    p {
        margin-bottom: 0.25rem;
    }

    ol {
        margin: 0.75rem 1.25rem 0;
    }

    li:not(:last-child) {
        margin-bottom: 0.75rem;
    }
}

.reference-item a,
.reference-message a {
    text-decoration: underline;
    color: var(--blue);
}

.post-author-tab-section {
    margin-bottom: 2rem;
}

.tabs-container {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.tab {
    padding: 0.5rem 1rem;
    border: 1px solid var(--grey);
    border-radius: 0.75rem 0.75rem 0 0;
    font-size: 14px;
    cursor: pointer;
    &:hover {
        background-color: var(--header);
    }
}
.tab.active-tab {
    background-color: var(--header);
}
.tab-info,
.author-tooltip-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.5rem;
    align-items: center;

    h4 {
        margin-bottom: 0.25rem;
    }
}
.tab-bio {
    p {
        margin-bottom: 0.75rem;
    }
    a {
        color: var(--blue);
        text-decoration: underline;
    }
}

.tab-container-info:not(:last-child) {
    margin-bottom: 0.75rem;
}

.tab-avatar img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    min-width: 100px;
    min-height: 100px;
}

.tab-message {
    padding: 1rem;
    border: 1px solid var(--grey);
    border-radius: 0 0.75rem 0.75rem;
    display: none;
}

.tab-message.active-box {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.stop-scroll {
    margin: 0;
    height: 100%;
    overflow: hidden;
}

.helpful-questionnaire {
    margin: 3rem 0;
    place-content: center;
    display: grid;
}

.helpful-questionnaire-btn {
    display: flex;
    justify-content: space-around;
    margin: 2rem 0;
}

.question-btn {
    width: 70px;
    height: 70px;
    text-align: center;
    font-size: 20px;
    background-color: #fff;
    outline: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.yes-dialog-btn {
    border: 1px solid green;
    color: green;

    &:hover {
        background-color: green;
        color: #fff;
    }
}

.no-dialog-btn {
    border: 1px solid red;
    color: red;

    &:hover {
        background-color: red;
        color: #fff;
    }
}

#questionDialog {
    width: calc(100vw - 80px);
    max-width: 800px;
    margin: auto;
    border: 2px solid #8a8a8a7d;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 1px 6px #8a8a8ad1;
}

.dialog-close-btn {
    position: absolute;
    top: 5px;
    right: 25px;
    font-size: 36px;
    cursor: pointer;
}

.dialog-feedback-options {
    display: flex;
    flex-flow: column;
    gap: 10px;
    margin-top: 1rem;
}

.dialog-page,
.form-response {
    display: none;
}

.dialog-page.active {
    display: block;
}

.form-response.active {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    text-align: center;
}

.dialog-feedback-option {
    display: flex;
    gap: 1rem;
    padding: 0.75rem 1rem;
    align-items: center;
    cursor: pointer;
    border: 1px solid #fff;

    &:hover {
        border: 1px solid #8a8a8a52;
        border-radius: 12px;
        background-color: #8a8a8a0a;
    }

    img {
        width: 50px;
        height: 50px;
        object-fit: cover;
        border-radius: 50%;
    }
}

.feedback-form {
    margin-top: 1rem;
    display: flex;
    flex-flow: column;
    gap: 1rem;

    .dialog-feedback-option {
        border: 1px solid #8a8a8a52;
        border-radius: 12px;
        background-color: #8a8a8a0a;
        cursor: default;
    }
}

.form-control {
    width: 100%;
    max-width: 100%;
    padding: 1rem 0.75rem;
    border-radius: 12px;
    outline: none;
    border: 1px solid #8a8a8a;
    font-size: 17px;
}

.submit-btn {
    background-color: #02838d;
    padding: 1rem;
    font-size: 16px;
    border: 1px solid #02838d;
    border-radius: 32px;
    width: 260px;
    margin: 0 auto;
    cursor: pointer;
    color: #fff;

    &:hover {
        background-color: #02838ddb;
    }
}

.feedback-form-option-btn {
    margin-left: auto;
    margin-top: -10px;
    cursor: pointer;
}

.loader {
    border: 5px solid #f3f3f3;
    border-top: 5px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.form-response {
    display: none;
    text-align: center;
}

.form-response.active {
    display: flex;
}

#loader-response {
    display: none;
}

#loader-response.active {
    display: block;
}

#success-response,
#error-response {
    display: none;
}

#success-response.active,
#error-response.active {
    display: flex;
}

.error-message {
    color: var(--blue);
}

.static-page img,
.home-static-content img {
    max-width: 400px;
    margin: 1rem auto;
    display: flex;
}

.d-none {
    visibility: hidden;
    height: 0;
    overflow: hidden;
    padding: 0;
}

sup a {
    text-decoration: none !important;
    color: var(--blue);
    font-size: 13px;
}

.reference-tool-tip-wrapper {
    position: relative;
    display: inline-block;
}

.reference-tool-tip {
    display: none;
    width: 350px;
    max-width: 80vw;
    background: #fff;
    padding: 1rem 1.25rem;
    border: 1px solid #000;
    border-radius: 12px;
    font-size: 16px;
    z-index: 1000;

    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0.125rem 0.5rem rgba(28, 14, 64, 0.15);

    a {
        color: var(--blue);
    }
}

@media screen and (width > 800px) {
    .reference-tool-tip-wrapper:hover .reference-tool-tip {
        display: block;
    }
}

.highlight-flash {
    animation: red-flash 1s ease-out;
}

@keyframes red-flash {
    0% {
        background-color: var(--blue);
        opacity: 0.1;
    }
    100% {
        background-color: #f5f5f5;
        box-shadow: 0 0 12px 6px rgba(255, 0, 0, 0);
    }
}

.reference-tool-tip-phone {
    position: absolute;
    background-color: #fff;
    right: 0;
    left: 0;
    width: fit-content;
    max-width: 80vw;
    margin-inline: auto;
    padding: 1rem;
    font-size: 14px;
    border: 1px solid #222;
    border-radius: 12px;
    box-shadow: 0 0.125rem 0.5rem rgba(28, 14, 64, 0.15);
    word-break: break-word;
    z-index: 100;

    a {
        color: var(--blue);
    }
}

.post-table-content {
    margin-block: 2rem 1rem;
    border: 1px solid #88888847;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: rgb(136, 136, 136);
    padding: 1rem;
    border-radius: 12px;
    border-left: 5px solid var(--blue);
    box-shadow: 0 2px 6px -1px #8888885c;
    font-size: 16px;

    a {
        color: var(--black);
    }
}

.table-header,
.sticky-table-header {
    font-weight: 600;
}

.table-body {
    margin-left: 2rem;
    margin-top: 0.5rem;
    display: flex;
    flex-flow: column;
    gap: 0.5rem;

    a {
        text-decoration: none;
    }
}

.sticky-table-body {
    position: fixed;
    left: 5vw;
    z-index: 100;
    background-color: #fff;
    padding: 2rem;
    width: 90vw;
    border: 1px solid #88888835;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: rgba(136, 136, 136, 0.208);
    border-radius: 12px;
    box-shadow: 0 2px 2px 2px var(--grey);
    transition: 300ms ease-in;
    display: none;
    flex-flow: column;
    gap: 0.5rem;
    font-size: 16px;
    transition: 200ms ease-in;
    border-left: 5px solid var(--blue);
    max-height: 90vh;
    overflow-y: auto;
    height: fit-content;

    a {
        text-decoration: none;
        color: var(--black);
    }

    span {
        width: fit-content;
    }
}

.top-visible {
    display: flex;
    top: 60px;
}

.sticky-table-header {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
    background-color: #6767f4;
    padding: 0.75rem 1rem;
    color: #fff;
    width: 100%;
    text-align: center;
    font-size: 16px;
    transition: 200ms ease-in-out;

    span {
        cursor: pointer;
    }
}

.sticky-table-body-close {
    position: absolute;
    top: 15px;
    right: 1rem;
    font-size: 18px;
    cursor: pointer;
}

.dynamic-table-wrapper {
    width: 100%;
    margin-bottom: 2rem;

    @media screen and (width < 768px) {
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
    }
}

.dynamic-table {
    min-width: 700px;
    margin-inline: auto;
    border: 1px solid var(--grey);
    border-radius: 6px;
    text-align: left;
    font-size: 18px;
    border-collapse: separate;
    border-spacing: 0;

    th,
    td {
        border-inline: none;
        padding: 0.5rem 0.75rem;
    }

    tr:not(:last-child) td {
        border-bottom: 1px solid var(--grey);
    }

    tr td:not(:last-child) {
        border-right: 1px solid var(--grey);
    }

    thead {
        font-size: 20px;
        background-color: var(--header);
    }
}

.table-link:hover {
    color: #0056b3;
}

.table-link.active {
    font-weight: bold;
    color: var(--blue);
    position: relative;
}
.toc-mobile span {
    align-items: center;
    position: relative;
    padding-left: 1.5em;
}

.toc-mobile span:has(.table-link-mobile.active)::before {
    content: "\2022"; /* bullet */
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--blue);
    font-size: 1.2em;
}

.sticky-table-body-close {
    position: absolute !important;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    color: var(--grey);
}

.transparent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 3; /* make sure it's on top */
    backdrop-filter: blur(2px);
}

.sidebar-related-block {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
    margin-block: 0.75rem;
}
