.blog_hero-section {
    width: 100%;
    min-height: 0;
    height: auto;
    background-color: #ffffff;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;

    margin: 0 auto;
    display: grid;
    place-items: start center;
    padding: 4px 50px;
    box-sizing: border-box;
}


.blog_hero-content {
    width: 100%;
    max-width: 943px;
    height: auto;
    display: grid;
    gap: 10px;
    justify-items: center;
}

.blog_hero-title {
    width: 100%;
    max-width: 943px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 600;
    font-size: 50px;
    line-height: 56px;
    text-align: center;
    color: #000;
}

.blog_hero-description {
    width: 100%;
    max-width: 859px;
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 24px;
    text-align: center;
    color: #333333;
    margin: 0;
}

/* Article Meta Section */
.blog_article-meta {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 30px 50px;
    box-sizing: border-box;
}

.blog_meta-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}


.blog_meta-category,
.blog_meta-date,
.blog_meta-author,
.blog_meta-reads {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 26px;
    color: #000000;
}

.blog_meta-category a {
    text-decoration: underline !important;
    color: black;
}

.blog_meta-category a:hover {
    text-decoration: underline;
}

/* Table of Contents Section */
.blog_toc-section {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 50px;
    box-sizing: border-box;
    padding-bottom: 60px;
}

.blog_toc-container {
    width: 100%;
    max-width: 1200px;
    background: #EFEFEF;
    padding: 30px;
    box-sizing: border-box;
    margin: 0 auto;
}

.blog_toc-header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 20px;
}

.blog_toc-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #000000;
    margin: 0;
}

.blog_toc-index-header {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 10px;
}

.blog_toc-index-title {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 20px;
    line-height: 26px;
    color: #000000;
}

.blog_toc-toggle {
    width: 23px;
    height: 23px;
    background: #D9D9D9;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: all 0.3s ease;
}

.blog_toc-toggle:hover {
    background: #c0c0c0;
}

.blog_toggle-icon {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 20px;
    color: #000000;
}

.blog_toc-content {
    max-height: 1000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 1;
}

.blog_toc-content.blog_collapsed {
    max-height: 0;
    opacity: 0;
}

.blog_toc-list {
    font-family: 'Inter', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 24px;
    color: #000000;
    margin: 0;
    padding-left: 0;
    max-width: 914px;
    margin-top: 20px;
    list-style: none;
    list-style-type: none;
}



.blog_toc-list a {
    color: #000000;
    text-decoration: none;
    transition: color 0.3s ease;
}

.blog_toc-list a:hover {
    text-decoration: underline;
}

.blog_toc-list-nested {
    margin-top: 8px;
    margin-bottom: 4px;
    padding-left: 1.25rem;
    list-style: none;
    list-style-type: none;
    font-size: 15px;
    line-height: 22px;
}

.blog_toc-list > li,
.blog_toc-list-nested > li {
    margin-bottom: 0.35em;
}

.blog_toc-list-nested .blog_toc-list-nested {
    font-size: 14px;
    line-height: 21px;
}

/* Contenuto demo */
.demo-content {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', sans-serif;
}

.demo-content section {
    margin-bottom: 60px;
    padding: 20px 0;
    border-bottom: 1px solid #e0e0e0;
}

.demo-content section:last-child {
    border-bottom: none;
}

.demo-content h2 {
    color: #333;
    font-size: 24px;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.demo-content p {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.meta-cat-link  {
    text-decoration: none !important;
}

.meta-cat-link:hover {
    text-decoration: underline !important;
}

/* TITOLO */
@media (max-width: 1231px) {
    .blog_hero-title  {
        line-height: 54px;
        font-size: 46px;
    }
}

@media (min-width: 1066px) and (max-width: 1230px) {
    .blog_hero-title  {
        line-height: 51px;
        font-size: 43px;
    }
}

@media (min-width: 964px) and (max-width: 1065px) {
    .blog_hero-title  {
        font-size: 41px;
        line-height: 48px;
    }
}

@media (min-width: 887px) and (max-width: 963px) {
    .blog_hero-title  {
        font-size: 39px;
        line-height: 46px;
    }
}

@media (min-width: 849px) and (max-width: 886px) {
    .blog_hero-title  {
        font-size: 38px;
        line-height: 45px;
    }
}

@media (min-width: 830px) and (max-width: 848px) {
    .blog_hero-title  {
        font-size: 37px;
        line-height: 44px;
    }
}

@media (min-width: 810px) and (max-width: 829px){
    .blog_hero-title  {
        font-size: 36px;
        line-height: 43px;
    }
}

@media (min-width: 791px) and (max-width: 809px) {
    .blog_hero-title  {
        font-size: 35px;
        line-height: 42px;
    }
}

@media (min-width: 430px) and (max-width: 790px){
    .blog_hero-title  {
        font-size: 34px;
        line-height: 41px;
    }
}

@media (min-width: 414px) and (max-width: 429px) {
    .blog_hero-title  {
        font-size: 32.5px;
        line-height: 40px;
    }
}

@media (min-width: 409px) and (max-width: 413px) {
    .blog_hero-title  {
        font-size: 33px;
        line-height: 40px;
    }
}

@media (min-width: 375px) and (max-width: 408px){
    .blog_hero-title  {
        font-size: 32px;
        line-height: 41px;
    }
}

@media (min-width: 369px) and (max-width: 374px){
    .blog_hero-title  {
        font-size: 31px;
        line-height: 40px;
    }
}

@media (max-width: 368px) {
    .blog_hero-title {
        font-size: 30px;
        line-height: 39px;
    }
}

/* DESCRIZIONE */
@media (max-width: 1128px) {
    .blog_hero-description  {
        font-size: 16px;
        line-height: 22px;
    }

    .blog_hero-description  {
        margin-block-start: 0px !important;
        margin-block-end: 0px !important;
    }
}

@media (max-width: 369px) {
    .blog_hero-description  {
        line-height: 20px;
        font-size: 14px;
    }
}


/* LI */
@media (max-width: 915px) {
    .blog_meta-container {
        display: grid;
        grid-template-columns: repeat(2, auto); 
        gap: 20px 40px; 
        justify-content: start; 
        text-align: left; 
    }

    .blog_meta-container > div {
        margin: 0;
    }
}

@media (max-width: 699px) {
    .blog_meta-container {
        display: grid;
        grid-template-columns: 1fr; 
        gap: 15px;
        justify-items: center; 
        text-align: center; 
    }

    .blog_meta-container > div {
        width: 100%;
    }
}

@media (max-width: 409px) {
    .blog_hero-section,
    .blog_article-meta,
    .blog_toc-section,
    .container-fluid.py-2.px-3 {
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .container-fluid.py-2.px-3 {
        padding-top: 30px !important;
    }
}

@media (min-width: 410px) and (max-width: 699px) {
    .blog_hero-section,
    .blog_article-meta,
    .blog_toc-section,
    .container-fluid.py-2.px-3 {
        padding-left: 50px !important;
        padding-right: 50px !important;
    }

    .container-fluid.py-2.px-3 {
        padding-top: 30px !important;
    }
}

@media (min-width: 700px) and (max-width: 870px) {
    .blog_hero-section,
    .blog_article-meta,
    .blog_toc-section,
    .container-fluid.py-2.px-3{
        padding-left: 30px !important;
        padding-right: 30px !important;
    }

    .container-fluid.py-2.px-3 {
        padding-top: 30px !important;
    }
}

@media (max-width: 369px) {
    .blog_meta-category, .blog_meta-date, .blog_meta-author, .blog_meta-reads {
        font-size: 14px;
        line-height: 20px;
    }
}

@media (min-width: 370px) and (max-width: 1200px) {
    .blog_meta-category, .blog_meta-date, .blog_meta-author, .blog_meta-reads {
        font-size: 18px;
        line-height: 24px;
    }
}

@media (min-width: 1199px) and (max-width: 1128px) {
    .blog_meta-category, .blog_meta-date, .blog_meta-author, .blog_meta-reads {
        font-size: 16px;
        line-height: 22px;
    }
}

@media (max-width: 699px) {
    .blog_toc-section {
        padding-bottom: 30px;
    }

    .blog_hero-section  {
        padding-top: 0px;
        padding-bottom: 0px;
    }

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    padding-right: 0px !important;
    padding-left: 0px !important;
}

.container, .container-fluid, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    width: 100%;
    padding-right: calc(var(--bs-gutter-x) * 0);
    padding-left: calc(var(--bs-gutter-x) * 0);
    margin-right: auto;
    margin-left: auto;
}

}