:root{
    --theme-color-advice: #f8f9fa;
}

/*ARTICLES*/

.article__header {
    margin: 2rem 0;
}
.article__title{
    font-size: clamp(2rem, 0.4rem + 1.4vw, 4rem);
    line-height: 1;
    font-weight: 800 !important;
}

.article__subtitle{
    font-size: clamp(1.4rem, 0.6rem + 1vw, 2rem);
}
.article__subtitle--small{
    font-size: clamp(1.2rem, 0.2rem + 1vw, 2rem);
}





/*tables*/
/* Stil implicit - desktop */
.article__table {
    width: 100%;
    border-collapse: collapse;
}

.article__table th,
.article__table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #ddd;
}

/* Stil pentru mobil */
@media (max-width: 60em) {
    .article__table thead {
        display: none;
    }

    .article__table tbody tr {
        display: block;
        margin-bottom: 20px;
        border: 1px solid #ddd;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    }

    .article__table tbody td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 10px 12px;
        border: none;
        border-bottom: 1px solid #eee;
        text-align: right;
    }

    .article__table tbody td:last-child {
        border-bottom: none;
    }

    .article__table tbody td:before {
        content: attr(data-label);
        font-weight: 600;
        text-align: left;
        flex: 1;
        padding-right: 15px;
        color: #333;
    }

    /* Pachetul evidențiat (BUSINESS) */
    .article__table tbody tr.plan-highlight {
        border: 2px solid #4a6cf7;
        background: #f8f9ff;
    }
}


/* Desktop (peste 768px) */
@media (min-width: 60em) {
    .article__table thead tr th {
        position: sticky;
        top: 0;
        background-color: #f8f9fa;
        z-index: 10;
        border-bottom: 2px solid #ddd;
    }

    /* Containerul tabelului să nu taie efectul sticky */
    .table-wrapper {
        overflow-x: visible;
    }
}

/* Mobil (sub 768px) - sticky nu este necesar deoarece thead este ascuns */
@media (max-width: 60em) {
    .article__table thead {
        display: none;
    }
}
















/*infobox*/

.article__infobox {
    padding: 1rem;
    margin: 1rem 0;
}

.article__infobox--advice {
    border: 1px solid var(--theme-color-border);
    background: var(--theme-color-advice);
}

.article__infobox--checklist {
    border: 1px solid var(--theme-color-border);
    background: var(--theme-color-advice);
}

.article__infobox--checklist ul{
    list-style: none;
}

.article__infobox--checklist li:before{
    content:"☐";
    margin-right: 0.75rem;
}




.article__image{
}
.article__img{
    display: block;
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}
.article__meta {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.article__author-image{
    border-radius: 50%;
}

.article__row {
    display: flex;
    gap: 1rem;
    margin: 2rem auto;
}


@media screen and (max-width:48em){
    .article__row {
        flex-direction: column;
    }
}





.article__item {
    padding: 1rem;
    border: 1px solid var(--theme-color-5);
}

.article__item--info {
    color: var(--theme-color-8);
    background: var(--theme-color-10);
}
.article__content section{
    margin-bottom: -1px;
    border-radius: var(--theme-border-radius);
    background: var(--theme-color-4);
    padding: var(--padding-article-item__card);
    border: 1px solid var(--theme-color-shadow);
}

.article__summary{
    background: var(--theme-color-3) !important;
    color:var(--theme-color-black-gray) !important;
}

.article__summary ul {
    list-style: none;
}

.article__content a:not(.article__toc a){
    font-weight: 600;
    color: var(--theme-color-1);
}


.article__checklist{

}

.article__checklist-list{
    list-style: none;
}

/*ARTICLE PAGE ASIDE*/
.aside__inner{
    padding: var(--padding-related-articles);
    position: sticky;
    top: 2rem;
    border: 1px solid var(--theme-color-2);
    margin: 2rem;
}


.toc__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc__title{
    font-size: clamp(1.4rem, 0.8rem + 1.4vw, 2rem);
}


/*RELATED ARTICLES*/
.related__title{
    font-size: clamp(1.4rem, 0.8rem + 1.4vw, 2rem);
}

.related__item-title{
    font-size: 1rem;
    margin: 0 0 0.5rem;
}

