#blog_post {
    padding-bottom: 60px;
}

#banner_image img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid var(--less-dark-color);
}

/* Breadcrumbs */
#blog_post #breadcrumbs {
    font-size: 0.875rem;
    color: var(--less-dark-color);
    margin: 25px 0;
}

#blog_post #breadcrumbs a {
    color: inherit;
    text-decoration: underline;
}

#blog_post #breadcrumbs a:hover {
    text-decoration: none;
}

/* Title Block */
#blog_post #title_block h1 {
    margin: 8px 0 6px;
    line-height: 1.2;
    color: var(--dark-color);
    font-size: 42px;
}

#blog_post #title_block .subtitle {
    margin: 0 0 8px;
    color: var(--less-dark-color);
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

#blog_post #title_block .sep {
    color: var(--less-dark-color);
    opacity: 0.4;
}

#blog_post_content {
    line-height: 1.8;
    color: var(--dark-color);
    font-size: 18px;
    margin-top: 30px;
    padding: 30px;
    background-color: var(--secondary-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
}

#blog_post_content h2 {
    font-size: 28px;
    margin: 40px 0 20px 0;
    color: var(--main-blue);
}

#blog_post_content h3 {
    font-size: 24px;
    margin: 40px 0 20px 0;
    color: var(--main-blue);
}

#blog_post_content p {
    margin-bottom: 20px;
}

#blog_post_content ul, #blog_post_content ol {
    margin-bottom: 20px;
    padding-left: 25px;
}

#blog_post_content li {
    margin-bottom: 10px;
}

/* Social Sharing */
#social_sharing {
    margin: 40px 0;
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#social_sharing p {
    margin: 0;
    font-weight: bold;
    color: var(--dark-color);
}

#social_sharing .social_buttons {
    display: flex;
    gap: 15px;
}

#social_sharing .social_icon {
    width: 32px;
    height: 32px;
    transition: transform 0.2s ease;
    border-radius: 6px;
}

#social_sharing .social_icon:hover {
    transform: scale(1.1);
}

/* Author Bio */
#author_bio {
    margin: 40px 0;
    padding: 30px;
    background-color: var(--secondary-background);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    display: flex;
    gap: 25px;
    align-items: center;
}

#author_bio .author_photo {
    flex-shrink: 0;
}

#author_bio .author_img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--dark-color);
}

#author_bio .author_info {
    flex-grow: 1;
}

#author_bio .author_name {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 8px 0;
    color: var(--dark-color);
}

#author_bio .author_description {
    font-size: 16px;
    line-height: 1.6;
    color: var(--less-dark-color);
    margin: 0;
}

/* Related Posts */
#related_posts {
    margin: 30px 0;
}

#related_posts h2 {
    font-size: 28px;
    margin-bottom: 30px;
    color: var(--dark-color);
}

#related_posts .blog_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* FAQ Section */
#faq_section {
    padding: 30px 0 0 0;
}

#faq_section .container {
    position: relative;
    z-index: 2;
}

#faq_section h2 {
    margin-bottom: 25px;
    font-size: 32px;
}

#faq_section .faq_element {
    margin-bottom: 15px;
}

#faq_section .faq_element .question {
    display: flex;
    background-color: var(--secondary-background);
    border: 1px solid var(--border-color);
    box-shadow: 2px 2px 1px 0 rgb(1 1 1 / 15%);
    align-items: center;
    padding: 8px 15px 8px 15px;
    cursor: pointer;
}

#faq_section .faq_element .question:hover {
    background-color: var(--secondary-background-hover);
}

#faq_section .faq_element .question img.questionmark_img {
    height: 30px;
    margin-right: 10px;
}

#faq_section .faq_element .question p.question_text {
    font-size: 18px;
    color: var(--dark-color);
}

#faq_section .faq_element .answer {
    background-color: var(--secondary-background);
    border: 1px solid var(--border-color);
    box-shadow: 2px 2px 1px 0 rgb(1 1 1 / 15%);
    border-top: none;
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

#faq_section .faq_element .answer.open {
    max-height: 500px; /* big enough to fit the content */
    padding: 15px;
}

#faq_section .faq_element .answer p {
    color: var(--dark-color);
    line-height: 1.8;
    font-size: 18px;
}

/* Sticky List Link */
#sticky_list_link_container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
    will-change: transform;
}

/* Blog Charts */
.blog-chart-container {
    margin: 40px auto;
    max-width: 800px;
    width: 100%;
}

.chart-wrapper {
    position: relative;
    height: 400px;
    width: 100%;
}

.chart-description {
    margin-top: 15px;
    font-size: 16px;
    color: var(--less-dark-color);
    text-align: center;
    font-style: italic;
}

/* Blog Gallery */
.blog-gallery {
    position: relative;
    margin: 40px 0;
}

.gallery-item {
    display: none;
    margin: 0;
}

.gallery-item.active {
    display: block;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.gallery-item figcaption {
    font-size: 14px;
    color: var(--less-dark-color);
    text-align: center;
}

.gallery-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: background 0.2s ease;
    z-index: 1;
}

.gallery-btn:hover {
    background: rgba(0, 0, 0, 0.75);
}

.gallery-btn-prev {
    left: 10px;
}

.gallery-btn-next {
    right: 10px;
}

.sticky_list_link {
    display: flex;
    align-items: center;
    background-color: var(--main-blue);
    color: #fff !important;
    padding: 14px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
    text-decoration: none !important;
    transition: all 0.3s ease;
}

.sticky_list_link:hover {
    background-color: var(--button-background-link-color);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
    opacity: 1;
}

.sticky_icon {
    width: 24px;
    height: 24px;
    margin-right: 12px;
}

.sticky_text {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sticky_arrow {
    margin-left: 10px;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.sticky_list_link:hover .sticky_arrow {
    transform: translateX(5px);
}

/* Standard Media Queries */
@media (max-width: 1400px) {
}

@media (max-width: 1200px) {
}

@media (max-width: 990px) {
    #blog_post #title_block h1 {
        font-size: 34px;
    }
    #related_posts .blog_cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    #blog_post #title_block h1 {
        font-size: 28px;
    }
    #related_posts .blog_cards {
        grid-template-columns: 1fr;
    }
    #author_bio {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    #social_sharing {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    .chart-wrapper {
        height: 300px;
    }
}

@media (max-width: 567px) {
    #sticky_list_link_container {
        bottom: 0;
        right: 0;
        left: 0;
        padding: 0;
        width: 100vw;
    }

    .sticky_list_link {
        border-radius: 0;
        justify-content: center;
        padding: 18px;
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    }

    .sticky_text {
        font-size: 16px;
    }
}

@media (max-width: 425px) {
}
