/* ==========================================================================
   LOTIUS SINGLE POST - NON-CRITICAL BELOW-THE-FOLD STYLES
   ========================================================================== */
.section-post__get-content figure,
.section-post__get-content figure img {
    width: 100% !important;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
}





/* --- 1. Typography & Content elements styling --- */
.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4 {
    color: #ffffff;
    font-weight: 700;
    line-height: 1.3;
    margin: 4.8rem 0 2.0rem 0;
    letter-spacing: -0.01em;
}

.single-post .entry-content h2 {
    font-size: 2.8rem;
    border-left: 4px solid #53cdff;
    padding-left: 1.6rem;
}

.single-post .entry-content h3 {
    font-size: 2.2rem;
}

.single-post .entry-content h4 {
    font-size: 1.8rem;
}

/* Content Links */
.single-post .entry-content a {
    color: #53cdff;
    text-decoration: none;
    border-bottom: 1px dotted rgba(83, 205, 255, 0.4);
    transition: all 0.25s ease;
}

.single-post .entry-content a:hover {
    color: #ffffff;
    border-bottom-color: #ffffff;
    background-color: rgba(83, 205, 255, 0.05);
}

/* Bullet list custom styling */
.single-post .entry-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 3.2rem 2.4rem;
}

.single-post .entry-content ul li {
    position: relative;
    padding-left: 2.4rem;
    margin-bottom: 1.2rem;
}

.single-post .entry-content ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1.0rem;
    width: 0.8rem;
    height: 0.8rem;
    background-color: #53cdff;
    border-radius: 50%;
    box-shadow: 0 0 0.8rem #53cdff;
}

/* Ordered list custom styling */
.single-post .entry-content ol {
    counter-reset: custom-counter;
    list-style: none;
    padding: 0;
    margin: 0 0 3.2rem 2.4rem;
}

.single-post .entry-content ol li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 3.2rem;
    margin-bottom: 1.2rem;
}

.single-post .entry-content ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 2.0rem;
    height: 2.0rem;
    background-color: rgba(83, 205, 255, 0.1);
    border: 1px solid rgba(83, 205, 255, 0.2);
    color: #53cdff;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Blockquote element */
.single-post .entry-content blockquote {
    margin: 4.0rem 0;
    padding: 2.4rem 3.2rem;
    background: linear-gradient(135deg, rgba(83, 205, 255, 0.04) 0%, rgba(6, 19, 58, 0.2) 100%);
    border-left: 4px solid #53cdff;
    border-radius: 0 1.6rem 1.6rem 0;
    font-style: italic;
    position: relative;
}

.single-post .entry-content blockquote p {
    margin: 0;
    font-size: 1.8rem;
    line-height: 1.65;
    color: #e2e8f0;
}

.single-post .entry-content blockquote cite {
    display: block;
    margin-top: 1.6rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: #94a3b8;
    font-style: normal;
}

/* Content Images & Captions */
.single-post .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 1.6rem;
    margin: 2.4rem 0;
    box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.25);
}

.single-post .entry-content figcaption,
.single-post .entry-content .wp-caption-text {
    font-size: 1.3rem;
    color: #94a3b8;
    text-align: center;
    margin-top: -1.2rem;
    margin-bottom: 2.4rem;
}

/* Content Tables */
.single-post .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 3.2rem 0;
    font-size: 1.5rem;
    color: #e2e8f0;
    background-color: #0b1120;
    border-radius: 1.2rem;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.single-post .entry-content th,
.single-post .entry-content td {
    padding: 1.6rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.single-post .entry-content th {
    background-color: rgba(83, 205, 255, 0.05);
    font-weight: 700;
    color: #ffffff;
    border-bottom: 2px solid rgba(83, 205, 255, 0.15);
}

.single-post .entry-content tr:last-child td {
    border-bottom: none;
}

.single-post .entry-content tr:nth-child(even) {
    background-color: rgba(255, 255, 255, 0.01);
}

/* Callout Box / Custom Note */
.single-post .post-callout-note {
    background: rgba(83, 205, 255, 0.03);
    border: 1px dashed rgba(83, 205, 255, 0.2);
    padding: 2.4rem;
    border-radius: 1.2rem;
    margin: 3.2rem 0;
}

/* --- 2. Post Footer Area & Author Biography Box --- */
.post-footer-area {
    margin-top: 5.5rem;
    /* padding-top: 4rem; */
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.lotius-author-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 3.2rem;
    padding: 4rem;
    border-radius: 2.4rem;
    overflow: hidden;
    background:
        linear-gradient(rgba(15, 23, 42, .82),
            rgba(15, 23, 42, .82)),
        url("/wp-content/themes/hello-elementor-child/assets/images/bg-author-box.webp");
    background-size: cover;
    background-position: center;
    box-shadow:
        0 2.5rem 6rem rgba(0, 0, 0, .15);
}

.lotius-author-box::before {
    content: "";
    position: absolute;
    width: 35rem;
    height: 35rem;
    top: -15rem;
    left: -10rem;
    border-radius: 50%;
    background:
        radial-gradient(circle,
            rgba(59, 130, 246, .25),
            transparent 60%);
    pointer-events: none;
}

.author-box-info {
    position: relative;
    z-index: 2;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.author-box-avatar {
    position: relative;
    z-index: 2;
    flex-shrink: 0;
}

.author-box-avatar img {
    width: 9rem;
    height: 9rem;
    border-radius: 50%;
    object-fit: cover;
    border: 0.25rem solid #53cdff;
    box-shadow: 0 0.8rem 1.6rem rgba(0, 0, 0, 0.3), 0 0 1rem rgba(83, 205, 255, 0.1);
}

.author-box-info .author-name a {
    font-size: 2.2rem;
    font-weight: 700;
    margin: 0;
}

.author-box-info .author-name a {
    color: #ffffff !important;
    text-decoration: none !important;
    border-bottom: none !important;
    transition: color 0.25s ease;
}

.author-box-info .author-name a:hover {
    color: #53cdff !important;
    background-color: transparent !important;
}

.author-box-info .author-job {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--accent-blue);
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    margin: 0;
}

.author-box-info .author-bio {
    font-size: 1.55rem;
    line-height: 1.65;
    color: #cbd5e1;
    margin: 0;
}

.author-box-info .author-social-links {
    display: flex;
    gap: 1.6rem;
    margin-top: 0.8rem;
    flex-wrap: wrap;
}

.author-box-info .author-social-links a {
    position: relative;
    font-size: 1.35rem;
    font-weight: 600;
    color: #94a3b8 !important;
    text-decoration: none !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    padding: 0.6rem 1.4rem !important;
    border-radius: 0.8rem !important;
    background-color: rgba(255, 255, 255, 0.02) !important;
    transition: all 0.25s ease !important;
}

/* Social Brand Colors on Hover */
.author-box-info .author-social-links a[data-social="facebook"]:hover {
    color: #ffffff !important;
    background-color: #1877f2 !important;
    border-color: #1877f2 !important;
    box-shadow: 0 0.5rem 1rem rgba(24, 119, 242, 0.25);
    transform: translateY(-0.2rem);
}

.author-box-info .author-social-links a[data-social="twitter"]:hover {
    color: #ffffff !important;
    background-color: #111111 !important;
    border-color: #333333 !important;
    box-shadow: 0 0.5rem 1rem rgba(255, 255, 255, 0.05);
    transform: translateY(-0.2rem);
}

.author-box-info .author-social-links a[data-social="linkedin"]:hover {
    color: #ffffff !important;
    background-color: #0077b5 !important;
    border-color: #0077b5 !important;
    box-shadow: 0 0.5rem 1rem rgba(0, 119, 181, 0.25);
    transform: translateY(-0.2rem);
}

.author-box-info .author-social-links a[data-social="youtube"]:hover {
    color: #ffffff !important;
    background-color: #ff0000 !important;
    border-color: #ff0000 !important;
    box-shadow: 0 0.5rem 1rem rgba(255, 0, 0, 0.25);
    transform: translateY(-0.2rem);
}

.author-box-info .author-social-links a[data-social="instagram"]:hover {
    color: #ffffff !important;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
    border-color: #e1306c !important;
    box-shadow: 0 0.5rem 1rem rgba(225, 48, 108, 0.25);
    transform: translateY(-0.2rem);
}

.author-box-info .author-social-links a[data-social="website"]:hover {
    color: #06133a !important;
    background-color: #53cdff !important;
    border-color: #53cdff !important;
    box-shadow: 0 0.5rem 1rem rgba(83, 205, 255, 0.25);
    transform: translateY(-0.2rem);
}

/* CSS Tooltip styling */
.author-box-info .author-social-links a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%) translateY(0.5rem);
    background-color: #0f172a;
    color: #ffffff;
    padding: 0.6rem 1rem;
    border-radius: 0.6rem;
    font-size: 1.1rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.2s ease;
    box-shadow: 0 0.4rem 1rem rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 10;
}

.author-box-info .author-social-links a:hover {
    opacity: 1 !important;
}

.author-box-info .author-social-links a:hover::after {
    opacity: 1 !important;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

/* --- 3. Share Buttons & Footer Meta --- */
.single-post .post-footer-sharing {
    display: flex;
    align-items: center;
    gap: 1.6rem;
    margin: 4.8rem 0;
    padding: 2.4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.single-post .sharing-title {
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    color: #ffffff;
    letter-spacing: 0.05rem;
}

.single-post .sharing-buttons {
    display: flex;
    gap: 1.2rem;
}

.single-post .share-btn {
    width: 3.6rem;
    height: 3.6rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
}

.single-post .share-btn:hover {
    background-color: #53cdff;
    color: #06133A;
    border-color: #53cdff;
    transform: translateY(-0.2rem);
}

/* --- 4. Comments Engine --- */
.single-post #comments {
    margin-top: 6.4rem;
}

.single-post .comments-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 3.2rem;
}

.single-post .comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
}

.single-post .comment-body {
    display: flex;
    gap: 2.0rem;
    padding-bottom: 3.2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.single-post .comment-meta {
    flex-shrink: 0;
}

.single-post .comment-meta img {
    border-radius: 50%;
    width: 60px;
    height: 60px;
}

.single-post .comment-content-wrapper {
    flex-grow: 1;
}

.single-post .comment-author {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.4rem;
}

.single-post .comment-metadata {
    font-size: 1.25rem;
    color: #94a3b8;
    margin-bottom: 1.2rem;
}

.single-post .comment-content {
    font-size: 1.5rem;
    line-height: 1.6;
    color: #cbd5e1;
}

/* Comment Form styling */
.single-post #respond {
    margin-top: 6.4rem;
    background-color: #0b1120;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4.0rem;
    border-radius: 2.0rem;
}

.single-post .comment-reply-title {
    font-size: 2.0rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2.4rem;
}

.single-post .comment-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.0rem;
}

.single-post .comment-form-comment {
    grid-column: span 2;
}

.single-post .comment-form-cookies-consent {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 1.0rem;
    font-size: 1.35rem;
    color: #94a3b8;
}

.single-post .form-submit {
    grid-column: span 2;
    margin: 0;
}

.single-post .comment-form label {
    display: block;
    font-size: 1.4rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 0.8rem;
}

.single-post .comment-form input[type="text"],
.single-post .comment-form input[type="email"],
.single-post .comment-form textarea {
    width: 100%;
    padding: 1.4rem;
    background-color: rgba(6, 19, 58, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0.8rem;
    color: #ffffff;
    font-size: 1.5rem;
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.single-post .comment-form input[type="text"]:focus,
.single-post .comment-form input[type="email"]:focus,
.single-post .comment-form textarea:focus {
    border-color: #53cdff;
    box-shadow: 0 0 1.0rem rgba(83, 205, 255, 0.15);
}

.single-post .comment-form input[type="submit"] {
    background: var(--gradient-brand, #007aff);
    color: #ffffff;
    border: none;
    padding: 1.4rem 3.2rem;
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
    border-radius: 0.8rem;
    cursor: pointer;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.single-post .comment-form input[type="submit"]:hover {
    transform: translateY(-0.2rem);
    box-shadow: 0 1.0rem 2.0rem rgba(0, 122, 255, 0.2);
}

/* --- Responsive adjustments --- */
@media (max-width: 767px) {
    .post-footer-area {
        margin-top: 4rem;
        padding-top: 3rem;
    }

    .lotius-author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 3rem 2.4rem;
        gap: 2rem;
    }

    .lotius-author-box::before {
        display: none;
    }

    .author-box-avatar img {
        width: 8rem;
        height: 8rem;
    }

    .author-box-info .author-social-links {
        justify-content: center;
        gap: 1rem;
    }

    .single-post .entry-content h2 {
        font-size: 2.2rem;
    }

    .single-post .comment-form {
        grid-template-columns: 1fr;
    }

    .single-post .comment-form-comment,
    .single-post .comment-form-cookies-consent,
    .single-post .form-submit {
        grid-column: span 1;
    }

    .single-post #respond {
        padding: 2.4rem;
    }
}

/* --- 5. Lotius Post Content Typography System (.section-post__get-content) --- */
/* Desktop / Tablet ngang ( >= 1024px ) */
.section-post__get-content p,
.section-post__get-content a,
.section-post__get-content li {
    font-size: 1.8rem;
    line-height: 1.7;
    font-weight: 400;
}

.section-post__get-content h6 {
    font-size: 1.8rem;
    line-height: 1.5;
    font-weight: 600;
}

.section-post__get-content h5 {
    font-size: 2.0rem;
    line-height: 1.5;
    font-weight: 600;
}

.section-post__get-content h4 {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 2.4rem;
    line-height: 1.4;
    font-weight: 600;

}

.section-post__get-content h3 {
    font-size: 3.0rem;
    line-height: 1.3;
    font-weight: 700;
}

.section-post__get-content h2 {
    font-size: 3.6rem;
    line-height: 1.3;
    font-weight: 700;
}

.section-post__get-content figcaption {
    text-align: center;
}

/* Mobile / Tablet dọc ( < 768px ) */
@media (max-width: 767px) {
    .section-post {
        padding: 2.5rem 1.5rem;
    }

    .section-post__get-content p,
    .section-post__get-content a,
    .section-post__get-content li {
        font-size: 1.6rem;
        line-height: 1.6;
    }

    .section-post__get-content h6 {
        font-size: 1.6rem;
        line-height: 1.5;
        font-weight: 600;
    }

    .section-post__get-content h5 {
        font-size: 1.8rem;
        line-height: 1.5;
        font-weight: 600;
    }

    .section-post__get-content h4 {
        font-size: 2.0rem;
        line-height: 1.4;
        font-weight: 600;
    }

    .section-post__get-content h3 {
        font-size: 2.4rem;
        line-height: 1.3;
        font-weight: 700;
    }

    .section-post__get-content h2 {
        font-size: 2.8rem;
        line-height: 1.3;
        font-weight: 700;
    }

    .section-post__get-content figcaption {
        font-size: 1.4rem;
    }

    /* Mobile Lightbox Overrides */
    dialog.blog-img-zoom {
        max-width: 96vw;
        max-height: 96vh;
    }
    dialog.blog-img-zoom img {
        max-height: 90vh;
        border-radius: 1rem;
    }
    dialog.blog-img-zoom .blog-img-zoom-close {
        top: 1.5rem;
        right: 1.5rem;
        background: rgba(15, 23, 42, 0.7);
        box-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.3);
    }
    dialog.blog-img-zoom .blog-img-zoom-close:hover {
        background: rgba(15, 23, 42, 0.9);
    }
}

/* --- 6. Image Zoom Lightbox (.blog-img-zoom) --- */
dialog.blog-img-zoom {
    border: none;
    background: transparent;
    padding: 0;
    margin: 0;
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    overflow: hidden;
    outline: none;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    position: fixed;
    top: 0;
    left: 0;
    box-sizing: border-box;
}

dialog.blog-img-zoom[open] {
    display: flex;
}

/* Backdrop styling */
dialog.blog-img-zoom::backdrop {
    background: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

dialog.blog-img-zoom[open]::backdrop {
    opacity: 1;
}

/* Image styling inside lightbox */
dialog.blog-img-zoom img {
    max-width: 92vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 3rem 6rem rgba(0, 0, 0, 0.6);
    transition: transform 0.22s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(0.9);
    cursor: zoom-in;
}

dialog.blog-img-zoom[open] img {
    transform: scale(1);
}

/* Premium Close Button (X) - Floating at the top-right of the viewport */
dialog.blog-img-zoom .blog-img-zoom-close {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 4.4rem;
    height: 4.4rem;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    position: absolute;
    top: 3rem;
    right: 3rem;
    transition: all 0.25s ease;
    padding: 0;
    outline: none;
    z-index: 100;
}

dialog.blog-img-zoom .blog-img-zoom-close:hover,
dialog.blog-img-zoom .blog-img-zoom-close:focus {
    background: rgba(83, 205, 255, 0.2);
}

dialog.blog-img-zoom .blog-img-zoom-close .close-line {
    position: absolute;
    width: 1.8rem;
    height: 0.2rem;
    background-color: #ffffff;
    border-radius: 0.2rem;
    transition: all 0.25s ease;
}

dialog.blog-img-zoom .blog-img-zoom-close .close-line:nth-child(1) {
    transform: rotate(45deg);
}

dialog.blog-img-zoom .blog-img-zoom-close .close-line:nth-child(2) {
    transform: rotate(-45deg);
}

dialog.blog-img-zoom .blog-img-zoom-close:hover .close-line {
    background-color: #53cdff;
}

/* Closing transition state */
dialog.blog-img-zoom.closing {
    opacity: 0;
    transition: opacity 0.25s ease;
}

dialog.blog-img-zoom.closing::backdrop {
    opacity: 0;
}

dialog.blog-img-zoom.closing img {
    transform: scale(0.95);
    transition: transform 0.25s ease;
}