﻿:root {
    --bs-white: #fff;
    --bs-gray: #6c757d;
    --bs-gray-dark: #343a40;
    --bs-primary: #182e45;
    --bs-secondary: #6c757d;
    --bs-success: #198754;
    --bs-info: #0dcaf0;
    --bs-warning: #ffc107;
    --bs-danger: #dc3545;
    --bs-light: #f8f9fa;
    --bs-dark: #212529;
    --border: #23232341;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
@media (prefers-reduced-motion: no-preference) {
    :root {
        scroll-behavior: smooth;
    }
}
body {
    margin: 0;
    font-family: var(--bs-font-sans-serif);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #212529;
    background-color: #fff;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

main {
    min-height: 50vh;
    display: grid;
    grid-template-columns: 1fr min(100% - 40px, 64rem) 1fr;

    > .space {
        grid-column: 2;
    }

    > .kpo-ads {
        grid-column: span 3;
    }
}

hr {
    margin: 0.5rem 0;
    color: inherit;
    background-color: currentColor;
    border: 0;
    opacity: 0.25;
}
hr:not([size]) {
    height: 1px;
}
h6,
.h6,
h5,
.h5,
h4,
.h4,
h3,
.h3,
h2,
.h2,
h1,
.h1 {
    font-family: "Roboto", sans-serif;
    margin: 0;
    font-weight: 500;
    line-height: 1.2;
}
h1,
.h1 {
    font-size: calc(1.375rem + 1.5vw);
}
@media (min-width: 1200px) {
    h1,
    .h1 {
        font-size: 2.5rem;
    }
}
h2,
.h2 {
    font-size: calc(1.325rem + 0.9vw);
}
@media (min-width: 1200px) {
    h2,
    .h2 {
        font-size: 2rem;
    }
}
h3,
.h3 {
    font-size: calc(1.3rem + 0.6vw);
}
@media (min-width: 1200px) {
    h3,
    .h3 {
        font-size: 1.75rem;
    }
}
h4,
.h4 {
    font-size: calc(1.275rem + 0.3vw);
}
@media (min-width: 1200px) {
    h4,
    .h4 {
        font-size: 1.5rem;
    }
}
h5,
.h5 {
    font-size: 1.25rem;
}
p {
    margin-top: 0;
    margin-bottom: 1rem;
}
ol,
ul {
    padding-left: 2rem;
}
ol,
ul,
dl {
    margin-top: 0;
    margin-bottom: 1rem;
}
ol ol,
ul ul,
ol ul,
ul ol {
    margin-bottom: 0;
}
blockquote {
    margin: 0 0 1rem;
}
b,
strong {
    font-weight: bolder;
}
a {
    text-decoration: underline;
}
a:hover {
    color: #0a58ca;
}
img,
svg {
    vertical-align: middle;
}
table {
    caption-side: bottom;
    border-collapse: collapse;
}
thead,
tbody,
tfoot,
tr,
td,
th {
    border-color: inherit;
    border-style: solid;
    border-width: 0;
}
label {
    font-family: "Roboto", sans-serif;
    display: inline-block;
    font-size: 24px;
    font-weight: bold;
    margin-block: 0.75rem;
    line-height: 1;
}
iframe {
    border: 0;
}
.container {
    max-width: 100%;
    padding-right: var(--bs-gutter-x, 0.75rem);
    padding-left: var(--bs-gutter-x, 0.75rem);
    margin-right: auto;
    margin-left: auto;
}
@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}
@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}
@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}
@media (min-width: 1200px) {
    .container {
        max-width: 1420px;
    }
}
.row {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) * -0.5);
    margin-left: calc(var(--bs-gutter-x) * -0.5);
}
.row > * {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    margin-top: var(--bs-gutter-y);
}
@media (min-width: 576px) {
    .col-sm-auto {
        flex: 0 0 auto;
        width: auto;
    }
    .col-sm-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }
    .col-sm-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }
    .col-sm-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-sm-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
    .col-sm-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
    .col-sm-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-sm-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }
    .col-sm-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
    .col-sm-9 {
        flex: 0 0 auto;
        width: 75%;
    }
    .col-sm-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }
    .col-sm-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }
    .col-sm-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}
@media (min-width: 768px) {
    .col-md-auto {
        flex: 0 0 auto;
        width: auto;
    }
    .col-md-1 {
        flex: 0 0 auto;
        width: 8.33333333%;
    }
    .col-md-2 {
        flex: 0 0 auto;
        width: 16.66666667%;
    }
    .col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
    .col-md-4 {
        flex: 0 0 auto;
        width: 33.33333333%;
    }
    .col-md-5 {
        flex: 0 0 auto;
        width: 41.66666667%;
    }
    .col-md-6 {
        flex: 0 0 auto;
        width: 50%;
    }
    .col-md-7 {
        flex: 0 0 auto;
        width: 58.33333333%;
    }
    .col-md-8 {
        flex: 0 0 auto;
        width: 66.66666667%;
    }
    .col-md-9 {
        flex: 0 0 auto;
        width: 75%;
    }
    .col-md-10 {
        flex: 0 0 auto;
        width: 83.33333333%;
    }
    .col-md-11 {
        flex: 0 0 auto;
        width: 91.66666667%;
    }
    .col-md-12 {
        flex: 0 0 auto;
        width: 100%;
    }
}
.collapse:not(.show) {
    display: none;
}
.dropup,
.dropend,
.dropdown,
.dropstart {
    position: relative;
}
.dropdown-toggle {
    white-space: nowrap;
}
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid rgba(0, 0, 0, 0);
    border-bottom: 0;
    border-left: 0.3em solid rgba(0, 0, 0, 0);
}
.dropdown-menu {
    position: absolute;
    z-index: 1000;
    display: none;
    min-width: 10rem;
    padding: 0.5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    list-style: none;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
}
.nav-link {
    display: block;
    padding: 0.5rem 1rem;
    color: #0d6efd;
    text-decoration: none;
    transition:
        color 0.15s ease-in-out,
        background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out;
}
.navbar {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.navbar-nav {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
    list-style: none;
    gap: 35px;
    padding-left: 50px;
}
.navbar-nav .nav-link {
    padding-right: 0;
    padding-left: 0;
}
.navbar-nav .dropdown-menu {
    position: static;
}
.navbar-collapse {
    flex-basis: 100%;
    flex-grow: 1;
    align-items: center;
}
@media (min-width: 992px) {
    .navbar-expand-lg {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
    .navbar-expand-lg .navbar-nav {
        flex-direction: row;
    }
    .navbar-expand-lg .navbar-nav .dropdown-menu {
        position: absolute;
    }
    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 0.5rem;
        padding-left: 0.5rem;
    }
    .navbar-expand-lg .navbar-nav-scroll {
        overflow: visible;
    }
    .navbar-expand-lg .navbar-collapse {
        display: flex !important;
        flex-basis: auto;
    }
    .navbar-expand-lg .navbar-toggler {
        display: none;
    }
}
.d-flex {
    display: flex !important;
}
.align-items-center {
    align-items: center !important;
}
.m-0 {
    margin: 0 !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;
}
.mt-2 {
    margin-top: 0.5rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.mb-1 {
    margin-bottom: 0.25rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.mb-4 {
    margin-bottom: 1.5rem !important;
}
.mb-5 {
    margin-bottom: 3rem !important;
}
.ms-3 {
    margin-left: 1rem !important;
}
.mx-auto {
    margin-right: auto !important;
    margin-left: auto !important;
}
.p-0 {
    padding: 0 !important;
}
.py-3 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
}
.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}
.pt-2 {
    padding-top: 0.5rem !important;
}
.ps-2 {
    padding-left: 0.5rem !important;
}
.pt-3 {
    padding-top: 1rem !important;
}
.pt-4 {
    padding-top: 1.5rem !important;
}
.text-center {
    text-align: center !important;
}
.text-dark {
    color: #212529 !important;
}
.text-white {
    color: #fff !important;
}
.bg-white {
    background-color: #fff !important;
}
.fs-6 {
    font-size: 1rem !important;
}
.border-bottom {
    border-bottom: 1px solid #dee2e6 !important;
}
img {
    object-position: center;
    object-fit: cover;
    width: 100%;
}
.post-content-wrapper {
    display: grid;
    grid-template-columns: minmax(400px, auto) 300px;
    gap: 30px;
}
.article {
    font-size: 23px;
    line-height: 1.4;

    h2 {
        font-size: 2.25rem;
        margin-bottom: 0.5rem;
    }

    h3 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    h4 {
        font-size: 1.75rem;
        margin-bottom: 0.5rem;
    }

    h5 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }

    h6 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
    }
}
.top-list ul {
    list-style: none;
    counter-reset: list-number;
}
.top-list ul li {
    font-size: 22px;
    position: relative;
    padding: 10px 5px;
}
.top-list ul li::before {
    counter-increment: list-number;
    content: counter(list-number);
    position: absolute;
    left: -36px;
    background-color: #000;
    width: 30px;
    text-align: center;
    top: 12px;
    border-radius: 5px;
    color: #fff;
}
#embed-wrapper iframe {
    width: 100%;
    height: 500px;
    padding: 0 85px;
}
.phone {
    display: none;
}
.more {
    margin-top: auto;
    text-align: center;
    padding-bottom: 15px;
}
.more h5 {
    margin: 0;
}
.content li a {
    text-decoration: underline;
}
.content li a:hover {
    text-decoration: underline;
}
.block-img img {
    height: 270px;
    width: 100%;
}
.form-block::after {
    content: "";
    display: table;
    clear: both;
}
.label {
    width: 25%;
    margin-top: 6px;
    padding: 12px;
}
.input {
    float: left;
    width: 75%;
    margin-top: 6px;
}
.form-control {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical;
}
.btn-submit {
    background-color: #04aa6d;
    color: #fff;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    float: right;
}
.btn-submit:hover {
    background-color: #45a049;
}
.text-muted {
    text-align: center;
    padding: 10px;
}
.message {
    background-color: #cdecd7;
    border: 1px solid;
    padding: 25px;
    margin: 40px;
}
.tags {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}
.tag-block {
    padding: 0.5rem 1.5rem;
    border: 1px solid rgba(123, 123, 123, 0.17);
    box-shadow: 0px 0px 3px 2px rgba(123, 123, 123, 0.17);
    border-radius: 16px;
}
.static-user-wrapper {
    display: grid;
    gap: 1.5rem;
    margin-top: 1rem;

    @media screen and (width > 30rem) {
        grid-template-columns: repeat(2, 1fr);
    }

    @media screen and (width > 40rem) {
        grid-template-columns: repeat(3, 1fr);
    }

    @media screen and (width > 60rem) {
        grid-template-columns: repeat(4, 1fr);
    }
}
.static-user-block {
    box-shadow: 0 0 6px 2px rgba(0, 0, 0, 0.19);
    text-align: center;
    border-radius: 12px;
    width: 100%;
    height: 18rem;
    cursor: pointer;
    position: relative;

    @media (width < 40rem) {
        display: flex;
        flex-flow: column;
        gap: 0.5rem;
        align-items: center;
        padding: 1rem;
        height: fit-content;
    }

    img {
        border-radius: 50%;
        object-position: top;
        object-fit: cover;
        width: 170px;
        height: 170px;
        border: 6px solid var(--bs-primary);

        @media (width > 40rem) {
            width: 100%;
            height: 100%;
            border-radius: 12px;
            border: none;
        }
    }

    &:hover {
        .static-user-detail {
            opacity: 1;
        }
    }
}
.static-user-detail {
    display: flex;
    flex-flow: column;
    text-align: center;
    place-content: center;

    p {
        margin: 0;
    }

    @media (width > 40rem) {
        opacity: 0;
        position: absolute;
        bottom: 0;
        height: 100%;
        width: 100%;
        border-radius: 12px;
        color: var(--bs-light);
        background-color: #232323a6;
        transition: opacity 300ms ease-in-out;
    }
}
@media screen and (max-width: 1060px) {
    .desktop {
        display: none !important;
    }
    .post-content-wrapper {
        display: block;
    }
}
@media screen and (max-width: 800px) {
    .article img {
        width: 100%;
    }
}
@media screen and (min-width: 800px) {
    .imgHeight {
        height: 650px;
    }
    .imgWidth {
        width: 700px;
    }
    .imgEqual {
        width: 650px;
        height: 650px;
    }
}
@media screen and (max-width: 991px) {
    .phone {
        display: block !important;
    }
}
@media screen and (max-width: 320px) {
    .page-link {
        padding: 0.2rem 0.5rem !important;
    }
}
@media screen and (max-width: 520px) {
    .post-social {
        text-align: left !important;
        margin: 15px !important;
    }
    .post-author-block {
        display: block !important;
    }
    .imgPadding {
        padding: 0 !important;
    }
    section.post.space {
        margin-left: 10px !important;
        margin-right: 10px !important;
    }
    iframe.instagram-media.instagram-media-rendered {
        max-width: 100% !important;
        min-width: unset !important;
    }
    #embed-wrapper iframe {
        padding: 0;
    }
    .form-block {
        display: flex;
        flex-flow: column;
    }
    .label {
        width: 100%;
        padding: 0px;
    }
    .input {
        width: 100%;
    }
    .message {
        margin: 0px;
    }
}
#menu__toggle {
    opacity: 0;
}
#menu__toggle:checked + .menu__btn {
    position: fixed;
}

#menu__toggle:checked + .menu__btn > span {
    transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
    top: 0;
    transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
    top: 0;
    transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
    right: 0 !important;
}
.menu__btn {
    position: absolute;
    top: 10px;
    right: 10vw;
    width: 22px;
    height: 22px;
    cursor: pointer;
    z-index: 5;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
    display: block;
    position: absolute;
    width: 100%;
    height: 4px;
    background-color: #fff;
    transition-duration: 0.25s;
}
.menu__btn > span::before {
    content: "";
    top: -8px;
}
.menu__btn > span::after {
    content: "";
    top: 8px;
}
.menu__box {
    display: block;
    position: fixed;
    top: 0;
    right: -100%;
    width: 250px;
    height: 100%;
    margin: 0;
    padding: 50px 0;
    list-style: none;
    background-color: #182e45;
    box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    transition-duration: 0.25s;
    z-index: 3;
}
.menu__item {
    display: block;
    padding: 12px 24px;
    color: #fff;
    font-family: "Quicksand", sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
    transition-duration: 0.25s;
    text-align: left;
}
.menu__anchor {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 30px;
}
#menu__anchor {
    font-size: 16px;
    color: #fff;
}
.menu__drop {
    padding: 10px 18px;
}
#fewa {
    display: block;
    background-color: #fdfdfe;
}
.lower-nav {
    background-color: #182e45;
    height: 50px;
}
.lower-list {
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
    list-style: none;
    text-align: center;
}
.lower-link {
    color: #fff;
}
.lower-item {
    padding: 13px 15px;
    display: flex;
    place-content: center;
    text-align: center;
}
.lower-item:hover {
    box-shadow: 0 0 20px 20px rgba(0, 0, 0, 0.05) inset;
}
.lower-item:hover .lower-link {
    color: #fff;
}
.lower-drop {
    display: none;
    position: absolute;
    top: 100%;
    background-color: #fff;
    z-index: 9999;
    left: 0;
    right: 0;
    padding: 8px;
    background-color: #fafafa;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(136, 136, 136, 0.1333333333);
    border-radius: 0 0 5px 5px;
}
.upper-nav {
    padding: 15px;
    display: flex;
}
.upper-nav h3 {
    font-weight: 600;
}
@media screen and (max-width: 990px) {
    .lower-list {
        display: none;
    }
    #fewa {
        display: flex;
        flex-flow: column-reverse;
        min-height: 100px;
        margin-bottom: 50px;
    }
    .upper-nav {
        place-content: center;
    }
}
footer {
    margin-top: 2rem;
    display: block;
    padding: 1rem clamp(20px, 5vw, 5rem);
    background-color: #182e45;
    color: #fff;
}
footer a,
footer a:hover {
    color: #fff;
}
@media screen and (width > 900px) {
    footer {
        display: grid;
        gap: 2rem;
        grid-template-columns: 1fr 1fr 1fr;
    }
}
.footer-link {
    list-style: none;
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
    padding: 0;
    margin-bottom: 2rem;
    font-size: 14px;
}
.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 {
    margin-bottom: 0.5rem;
    padding-bottom: 0.25rem;
    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;
}
* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    font-family: "Quicksand", sans-serif;
}
a {
    text-decoration: none;
    color: inherit;
}
a:hover {
    color: inherit;
}
.instagram-media,
.twitter-tweet {
    margin: 0 auto !important;
}
.fs-12 {
    font-size: 12px;
}
.post-author-block {
    display: flex;
    align-items: center;
    gap: 20px;
}
.post-author-block .post-social img {
    height: 30px;
    width: 30px;
}
.post-author-block img {
    height: 60px;
    width: 60px;
    border-radius: 50%;
}
.article p a {
    text-decoration: underline;
}
.banner,
.detail-category-posts {
    display: grid;
    gap: 20px;
    grid-template-columns: 1fr 1fr 1fr;

    @media screen and (width < 900px) {
        grid-template-columns: 1fr 1fr;
    }

    @media screen and (width < 600px) {
        grid-template-columns: 1fr;
    }
}
.page-section {
    min-height: 500px;
}
.dropdown-menu a {
    color: #000 !important;
}
.page-link {
    color: #000;
}
.page-link:hover {
    color: #000;
}
.page-link:focus {
    color: #000;
}
.logo img {
    height: 50px;
    width: 200px;
    object-position: center;
}
.detail-category .label,
.detail-category .trending-more {
    display: none;
}
.detail-category .trending-posts {
    margin: 0px;
}
#kpo_ads_single_page_right {
    height: unset !important;
}
.post-content figure {
    width: fit-content;
}
.badge {
    text-align: center;
    padding-bottom: 15px;
}
.hide-search {
    display: none;
}
header {
    position: relative;
}
#togglesearch {
    position: absolute;
    bottom: -80px;
    z-index: 1000000;
    margin: 0 10vw;
    border: 1px groove #888;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.5333333333);
}
#togglesearch .container {
    border-radius: 8px;
    padding: 0;
}
.gsc-control-cse {
    border-radius: 8px;
}
@media screen and (max-width: 768px) {
    .logo span {
        display: none;
    }
}
.htmx-input {
    visibility: hidden;
    opacity: 0;
}
.bottom-detail {
    padding-bottom: 2rem;
    border-bottom: 2px solid rgba(24, 46, 69, 0.4509803922);
    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;
}

/* New Update */

.post-card {
    display: flex;
    flex-flow: column;
    background-color: var(--bs-primary);
    border-radius: 12px;
    height: 100%;

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

    &:hover {
        box-shadow: 0 0 8px 0px #8888885c;
    }
}

.post-card-info {
    padding: 0.75rem 1rem;

    p {
        color: var(--bs-light);
        font-weight: bold;
        font-size: 18px;
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 0.5rem;
    }

    span {
        color: var(--bs-white);
    }
}

.post-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.5rem;
    align-items: center;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 1rem;

    @media screen and (width > 700px) {
        gap: 1rem;
        grid-template-columns: 230px 1fr;
    }
}

.post-grid-img {
    width: 100%;
    height: 260px;

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

.post-grid-detail {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;

    p {
        margin: 0;
    }
}

.category-badge {
    background-color: var(--bs-primary);
    width: fit-content;
    padding: 8px 18px;
    color: var(--bs-light);
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    margin: 0;

    &:hover {
        color: var(--bs-light);
    }
}

.loadmore-btn {
    display: flex;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin-inline: 1rem;
    border: 1px solid var(--border);
    padding-block: 0.75rem;
    border-radius: 12px;
    transition: all 300ms ease-in-out;

    &:hover {
        color: var(--bs-light);
        background-color: var(--bs-primary);
        border: 1px solid var(--bs-primary);
    }
}

.index-category {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;

    @media screen and (width > 800px) {
        grid-template-columns: 1fr 1fr;
    }
}

.related-block {
    padding: 0.25rem 1rem 1rem;
    border: 1px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 0 6px 2px #23232317;

    img {
        height: 280px;
        border-radius: 12px;
        margin-bottom: 0.25rem;
    }
}

.related-post-list {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;

    p {
        margin: 0;
        font-size: 18px;
        font-weight: 600;
        line-height: 1.3;
        min-height: 24px;
        max-height: 47px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    a:not(:last-child) {
        padding-bottom: 0.5rem;
        border-bottom: 1px solid var(--border);
    }
}

.detail-content-info {
    display: flex;
    flex-flow: column;
    gap: 0.25rem;
}

.author-info {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;
    align-items: center;

    img {
        width: 180px;
        height: 180px;
        border-radius: 50%;
    }

    p {
        margin: 0;
    }
}

.author-additional-info {
    display: flex;
    flex-flow: column;
    gap: 0.5rem;

    p {
        margin: 0;
    }

    @media screen and (width > 700px) {
        padding: 1.5rem;
        border-left: 1px solid var(--border);
    }
}

.author-box {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    gap: 1rem;
    margin-block: 1rem;

    @media screen and (width > 700px) {
        grid-template-columns: 250px 1fr;
    }
}

.author-social-info {
    display: flex;
    gap: 1rem;
}

.post-page-sidebar {
    display: flex;
    flex-flow: column;
    gap: 1rem;
    margin-bottom: 2rem;

    label {
        margin: 0;
    }
}

.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(--bs-primary);
    }
    p {
        margin-bottom: 0.25rem;
    }
    &:hover {
        display: block;
    }
}

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

.reference-header {
    padding: 0.75rem 1.25rem;
    background-color: var(--bs-primary);
    transition: all 200ms ease;

    h3 {
        margin: 0;
    }
}

.ref-button {
    font-size: 18px;
    cursor: pointer;
    color: var(--bs-light);
    font-weight: 500;
    width: 100%;
    display: inline-block;

    &:hover {
        color: var(--bs-light);
    }
}

.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-block: 1rem;
    }

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

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

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

.tabs-container {
    display: flex;
    gap: 0.25rem;
    flex-wrap: wrap;
    position: relative;
    top: -5px;
}

.tab {
    padding-inline: 1rem;
    color: var(--bs-dark);
    font-size: 14px;
    cursor: pointer;
    background-color: #cdd2dd;
    border-radius: 4px;
    line-height: 42px;
    transition: all 200ms ease-in-out;

    &:hover {
        background-color: var(--bs-light);
    }
}

.tab.active-tab {
    background-color: #f2f5fa;
    position: relative;
    bottom: -7px;
}

.tab-info {
    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(--bs-primary);
        text-decoration: underline;
    }
}
.author-data {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 1rem;
}

.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;
    object-position: top;
}

.tab-message {
    background-color: #f2f5fa;
    padding: 1rem;
    box-shadow: 3px 4px 6px 2px #88888826;
    display: none;
}
.tab-message.active-box {
    display: flex;
    flex-flow: column;
    gap: 1rem;
}

.related-block {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 3rem;

    .hero-block-content {
        width: calc(100% - 10px);
    }

    p {
        display: none;
    }

    h2 {
        font-size: 16px;
    }
}

.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;

    p {
        margin: 0;
    }
}

.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(--bs-primary);
}

.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(--bs-primary);
    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: 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(--bs-primary);
    }
}

@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(--bs-primary);
        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(--bs-primary);
    }
}

.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(--bs-primary);
    box-shadow: 0 2px 6px -1px #8888885c;
    font-size: 16px;

    a {
        color: #000;
    }
}

.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 #8888;
    transition: 300ms ease-in;
    display: none;
    flex-flow: column;
    gap: 0.5rem;
    font-size: 16px;
    transition: 200ms ease-in;
    border-left: 5px solid var(--bs-primary);
    max-height: 90vh;
    overflow-y: auto;
    height: fit-content;
    a {
        text-decoration: none;
        color: #000;
    }

    span {
        width: fit-content;
    }
}

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

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

    span {
        cursor: pointer;

        svg {
            margin-top: -4px;
        }
    }
}

.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 #888;
    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 #888;
    }

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

    thead {
        font-size: 20px;
        background-color: var(--bs-primary);
        color: var(--bs-light);
    }
}

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

.table-link.active {
    font-weight: bold;
    color: var(--bs-primary);
    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(--bs-primary);
    font-size: 1.2em;
}
.sticky-table-body-close {
    position: absolute !important;
    top: 0.5rem;
    right: 1rem;
    font-size: 1.2rem;
    cursor: pointer;
    color: #555;
}

.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;
    backdrop-filter: blur(1px);
}

#kpo_ads_news-letter {
    display: flex;
    place-content: center;
    padding-top: 2rem;
}
