/* ==========================================================================
   SAM'S CUISINE - SINGLE POST & ARTICLE TYPOGRAPHY STYLES
   ========================================================================== */

.single-article-section {
    padding: 70px 0 100px;
    background-color: #FBF7F0;
}

.article-container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Article Header */
.article-header {
    text-align: center;
    margin-bottom: 40px;
}

.article-category-badge {
    display: inline-block;
    background-color: var(--color-primary-light);
    color: var(--color-primary-hover);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: var(--radius-pill);
    margin-bottom: 18px;
}

.article-title {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.2;
    color: #1F1A17;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 0.92rem;
    color: #7A7067;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-featured-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(45, 39, 35, 0.12);
    margin-bottom: 50px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 500px;
    object-fit: cover;
}

/* ==========================================================================
   ARTICLE CONTENT - RICH TYPOGRAPHY
   ========================================================================== */
.article-content {
    background: #FFFFFF;
    padding: 50px 60px;
    border-radius: var(--radius-lg);
    box-shadow: 0 10px 35px rgba(50, 40, 30, 0.05);
    border: 1px solid #ECE3D8;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #38312B;
}

.article-content p {
    margin-bottom: 1.6rem;
}

.article-content p:last-child {
    margin-bottom: 0;
}

/* Headings */
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content h6 {
    font-family: var(--font-heading);
    color: #1F1A17;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.4rem;
    margin-bottom: 1.2rem;
}

.article-content h2 {
    font-size: 2rem;
    position: relative;
    padding-bottom: 10px;
    border-bottom: 2px solid #F0E8DD;
}

.article-content h3 {
    font-size: 1.55rem;
}

.article-content h4 {
    font-size: 1.25rem;
}

/* ==========================================================================
   1. STILIZARE TEXT ALDIN (STRONG / BOLD)
   ========================================================================== */
.article-content strong,
.article-content b {
    font-weight: 700;
    color: #15110E;
    letter-spacing: 0.2px;
}

.article-content .highlight-bold {
    background: linear-gradient(120deg, rgba(194, 89, 39, 0.15) 0%, rgba(229, 135, 57, 0.1) 100%);
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 700;
    color: var(--color-primary-hover);
}

/* ==========================================================================
   2. STILIZARE LINKURI (A) CU ANIMAȚIE LA HOVER
   ========================================================================== */
.article-content a {
    color: var(--color-primary);
    font-weight: 600;
    text-decoration: none;
    position: relative;
    padding-bottom: 1px;
    transition: color 0.25s ease;
}

.article-content a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1.5px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.article-content a:hover {
    color: var(--color-primary-hover);
}

.article-content a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.article-content a:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

/* ==========================================================================
   3. STILIZARE LISTE (UL / OL / NESTED)
   ========================================================================== */
/* Unordered Lists */
.article-content ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 2rem;
}

.article-content ul > li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    line-height: 1.7;
}

.article-content ul > li::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 10px;
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(194, 89, 39, 0.2);
}

/* Ordered Lists */
.article-content ol {
    list-style: none;
    counter-reset: custom-counter;
    padding-left: 0;
    margin-bottom: 2rem;
}

.article-content ol > li {
    counter-increment: custom-counter;
    position: relative;
    padding-left: 42px;
    margin-bottom: 14px;
    line-height: 1.7;
}

.article-content ol > li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 2px;
    width: 26px;
    height: 26px;
    background: #BE5526;
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 8px rgba(190, 85, 38, 0.3);
}

/* Nested Lists */
.article-content ul ul,
.article-content ol ul,
.article-content ul ol,
.article-content ol ol {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.article-content ul ul > li::before {
    background-color: #8C8072;
    border-radius: 0;
    width: 6px;
    height: 6px;
    transform: rotate(45deg);
}

/* ==========================================================================
   4. STILIZARE TABELE (TABLES - RESPONSIVE & PIXEL PERFECT)
   ========================================================================== */
.table-responsive-container {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 2.2rem 0;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #E5DCD0;
    position: relative;
    background: #FFFFFF;
}

/* Scroll hint for mobile devices */
.table-responsive-container::after {
    content: '← Glisează orizontal →';
    display: none;
    font-size: 0.75rem;
    color: #8C8072;
    text-align: center;
    padding: 6px;
    background: #F8F3EC;
    border-top: 1px solid #EBE0D3;
}

@media (max-width: 768px) {
    .table-responsive-container::after {
        display: block;
    }
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.98rem;
    background: #FFFFFF;
}

/* Table Head */
.article-content thead {
    background-color: #1F1A17;
    color: #FAF5EE;
}

.article-content th {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    padding: 16px 20px;
    letter-spacing: 0.5px;
    border: none;
    white-space: nowrap;
}

.article-content th:first-child {
    border-top-left-radius: 14px;
}

.article-content th:last-child {
    border-top-right-radius: 14px;
}

/* Table Body */
.article-content td {
    padding: 15px 20px;
    border-bottom: 1px solid #EFE8DF;
    color: #4A433D;
    vertical-align: middle;
}

.article-content tbody tr:last-child td {
    border-bottom: none;
}

/* Zebra Striping */
.article-content tbody tr:nth-child(even) {
    background-color: #FAF5EE;
}

.article-content tbody tr:hover {
    background-color: #F4ECE1;
    transition: background-color 0.2s ease;
}

/* Table Highlight Column / Pill */
.table-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 700;
    background: var(--color-primary-light);
    color: var(--color-primary);
}

.table-price {
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.1rem;
}

/* ==========================================================================
   5. BLOCKQUOTES & CALLOUT BOXES
   ========================================================================== */
.article-content blockquote {
    position: relative;
    margin: 2.2rem 0;
    padding: 26px 32px 26px 40px;
    background: #FAF5EE;
    border-left: 5px solid var(--color-primary);
    border-radius: 0 16px 16px 0;
    font-style: italic;
    color: #38312B;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.article-content blockquote p {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 8px;
}

.article-content blockquote cite {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    font-style: normal;
    color: var(--color-primary);
    margin-top: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Author Box */
.article-author-card {
    margin-top: 50px;
    padding: 30px;
    background: #FAF5EE;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px solid #EBE0D3;
}

.author-avatar {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-info h4 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: #1F1A17;
    margin-bottom: 4px;
}

.author-bio {
    font-size: 0.92rem;
    color: #6D6357;
    line-height: 1.55;
}
