.mb-4.submit-btn {
    background: black;
    width: max-content;
    float: right;
    margin-top: 20px;
}

.mb-4.submit-btn input {
    cursor: pointer;
}

.single-post .btn.btn-small:hover,
.btn.btn-small {

    font-size: 12px;
}

.form-post-content .mb-4.submit-btn {
    margin-top: 0;
    margin-left: auto;
}

.form-post-content .mb-4 label {
    font-weight: 500;
}

.form-post-content .mb-4 {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-post-content {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

h2.wp-block-heading {
    margin-top: 20px;
    font-size: 26px;
    margin-bottom: 13px;
    color: rgb(255 126 0);
}

article#post-6 {
    max-height: 400px;
}

.notice.notice-error {
    background: #ffdada;
}

/* Fade-in animation cho case-studies-8 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.case-studies-story.story-1 .max-w-\[860px\]>div,
.case-studies-story.story-1 .max-w-\[860px\] .water {
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Thu thập năng lượng - xuất hiện đầu tiên */
.case-studies-story.story-1 .max-w-\[860px\] .flex.justify-between>div:first-child {
    animation-delay: 0.5s;
}

/* Bản tin DNA - xuất hiện thứ 2 */
.case-studies-story.story-1 .max-w-\[860px\] .flex.justify-between>div:last-child {
    animation-delay: 1.2s;
}

/* Text-6 - xuất hiện thứ 3 */
.case-studies-story.story-1 .max-w-\[860px\] .text.absolute {
    animation-delay: 1.9s;
    z-index: 10;
    position: relative;
}

/* Water-3 - xuất hiện cuối cùng */
.case-studies-story.story-1 .max-w-\[860px\] .water {
    animation-delay: 2.6s;
}

/* Popup styles cho case-studies-9 */
.energy-popup .fancybox__backdrop {
    background: rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(3px);
}

.energy-popup .fancybox__content {
    padding: 20px;
    background: transparent;
    max-width: 800px !important;
    width: 100% !important;
}

.energy-popup .fancybox__slide {
    padding: 20px;
}

.energy-popup .popup-content>div {
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    background: #ffffff;
}

.popup-content h2 {
    color: #051f5e;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 1rem;
}

.popup-content p {
    line-height: 1.8;
    margin-bottom: 1rem;
    color: #333;
}

.popup-content ul {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

.popup-content ul li {
    list-style: disc;
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

.popup-content strong,
.popup-content b {
    color: #051f5e;
    font-weight: 600;
}

/* Custom scrollbar cho popup */
.energy-popup .popup-content>div::-webkit-scrollbar {
    width: 8px;
}

.energy-popup .popup-content>div::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.energy-popup .popup-content>div::-webkit-scrollbar-thumb {
    background: #051f5e;
    border-radius: 10px;
}

.energy-popup .popup-content>div::-webkit-scrollbar-thumb:hover {
    background: #0000b7;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .energy-popup .fancybox__content {
        max-width: 95% !important;
        padding: 10px;
    }

    .energy-popup .fancybox__slide {
        padding: 10px;
    }

    .energy-popup .popup-content>div {
        border-radius: 15px;
        padding: 1.5rem;
    }

    .popup-content h2 {
        font-size: 20px;
    }
}

.notice.notice-error p {
    color: #ff0000;
}

.notice.notice-success {
    background: #dfffdc;
}

.notice.notice-success p {
    color: #008000;
}

.notice {
    background: #f0f0f0;
    padding: 12px;
    border-radius: 8px;
    margin: 0 1.5rem 12px;
}

.notice p {
    margin: 0;
    font-size: 14px;
    color: #333;
}

.page.type-page,
.single-post article * {
    font-weight: normal;
    font-size: 14px;
}

.page.type-page,
.single-post article p {
    margin-bottom: 16px;
}

a.bg-blue-500.hover\:bg-blue-700.text-white.font-bold.py-2.px-4.rounded {
    color: red;
}


.plan-list a {
    opacity: 0.5;
}

.plan-list a.active {
    opacity: 1;
}

#wpadminbar {
    display: none;
}

.case-studies-story {
    padding-top: 0;
}

.single-post a.btn.btn-primary {
    font-weight: bold;
    font-size: 19px;
    color: blue;
}

.single-post a.btn.btn-primary:hover {
    color: red;
}

.page.type-page h1,
.page.type-page h2 {
    color: rgb(255 126 0);
    font-weight: bold;
    margin-bottom: 1rem;
}

.page.type-page h1 {
    font-size: 22px;
    color: rgb(5 31 94);
    margin-bottom: 0;
}

.page.type-page h2 {
    margin-top: 1rem;
    font-size: 18px;
}

.type-page ul li {
    /* display: list-item; */
    /* list-style: decimal; */
    margin-left: 15px;
}

.type-page p {
    margin-top: 12px;
}

#post-6 h3 {
    font-size: 16px;
    margin-bottom: 5px;
    margin-top: 15px;
}

.plan-list img {
    max-height: 156px;
}

@media only screen and (max-width: 1800px) {

    img.w-full.max-w-\[88\%\].ml-auto {
        width: 75%;
    }

    .steps img {
        width: 85%;
    }

    body {
        padding: 80px 0 0;
    }

    .container {
        max-width: 900px;
    }

}

@media only screen and (max-width: 600px) {
    .plan-list a {
        opacity: 1;
    }

    .max-w-\[230px\].w-full.flex.flex-col.gap-5 {
        display: none;
    }
}

.intro-bxh {
    background-image: url(../images/bxh-intro.png);
}