/* Widening for article pages */
.app-container.article-layout {
    max-width: 800px;
}

.article-container {
    max-width: 100%;
    margin: 40px auto;
    padding: 0 20px;
}

/* Tlačítko Zpět */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #aaa;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 24px;
    transition: color 0.2s ease;
}

.back-btn:hover {
    color: var(--accent-green);
}


.article-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 30px;
}

.article-header h1 {
    font-size: 3.5rem;
    color: var(--accent-green);
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.1;
}

.article-meta-info {
    display: flex;
    gap: 15px;
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 15px;
    justify-content: center;
}

.article-tags {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 5px;
}

.article-tags .tag {
    background: rgba(32, 201, 151, 0.1);
    color: var(--accent-green);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(32, 201, 151, 0.2);
    display: inline-block;
}

@media (min-width: 768px) {
    .article-tags {
        gap: 12px;
    }
}

.article-hero-img {
    width: 100%;
    border-radius: 20px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid #333;
}

.article-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ddd;
}

.article-content h2 {
    color: #fff;
    font-size: 2rem;
    margin: 40px 0 20px;
    border-left: 4px solid var(--accent-green);
    padding-left: 15px;
}

.article-content p {
    margin-bottom: 25px;
}

.article-image-box {
    margin: 40px 0;
    text-align: center;
}

.article-image-box img {
    max-width: 100%;
    border-radius: 15px;
    border: 1px solid #444;
}

.article-image-box span {
    display: block;
    margin-top: 10px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
}

.comparison-box {
    background: #171717;
    border: 1px solid #333;
    border-radius: 15px;
    padding: 30px;
    margin: 40px 0;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.comp-item h4 {
    color: var(--accent-green);
    margin-bottom: 15px;
}

.comp-item ul {
    list-style: none;
}

.comp-item ul li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comp-item ul li i {
    color: var(--accent-green);
    font-size: 0.8rem;
}

.comp-item.negative h4,
.comp-item.negative ul li i {
    color: #ff4d4d;
}


.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s;
    margin-bottom: 30px;
}

.back-link:hover {
    color: var(--accent-green);
}

@media (max-width: 600px) {
    .article-header h1 {
        font-size: 2.5rem;
    }

    .comparison-grid {
        grid-template-columns: 1fr;
    }
}

/* New Clickable/Engagement Styles */
.highlight-text {
    color: var(--accent-green);
    font-weight: 800;
}

.negative-highlight {
    color: #ff4d4d;
    font-weight: 800;
}


.cta-box {
    background: linear-gradient(135deg, rgba(159, 230, 77, 0.2), rgba(0, 0, 0, 0.4));
    border: 2px solid var(--accent-green);
    border-radius: 20px;
    padding: 25px;
    margin: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
    box-shadow: 0 10px 30px rgba(159, 230, 77, 0.15);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.cta-box:hover {
    transform: scale(1.02);
}

.cta-box h3 {
    margin: 0;
    font-size: 1.5rem;
    color: #fff;
}

.cta-price-tag {
    background: var(--accent-green);
    color: #000;
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 800;
}

.alza-cta-btn {
    background-color: #007bff;
    /* Alza blue */
    color: #fff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: filter 0.2s;
}

.alza-cta-btn:hover {
    filter: brightness(1.1);
}

.store-cta-btn {
    background-color: #ff9900;
    /* Amazon orange */
    color: #000;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: filter 0.2s;
}

.store-cta-btn:hover {
    filter: brightness(1.1);
    color: #000;
}

.article-header p {
    font-size: 1.3rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.info-box {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.1), rgba(0, 0, 0, 0.3));
    border-left: 4px solid #3498db;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
}

.info-box h4 {
    color: #3498db;
    margin-top: 0;
}

.warning-box {
    background: linear-gradient(135deg, rgba(243, 156, 18, 0.1), rgba(0, 0, 0, 0.3));
    border-left: 4px solid #f39c12;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
}

.warning-box h4 {
    color: #f39c12;
    margin-top: 0;
}

/* Modern Table Styles */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modern-table th {
    background: #1a1c24;
    color: var(--accent-green);
    text-align: left;
    padding: 18px 20px;
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 2px solid #333;
}

.modern-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #222;
    color: #ddd;
    font-size: 1rem;
    transition: all 0.2s;
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:hover td {
    background: rgba(159, 230, 77, 0.04);
    color: #fff;
}

/* Pretty Article Links */
.article-content a {
    color: var(--accent-green);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid rgba(159, 230, 77, 0.25);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.article-content a:hover {
    color: #fff;
    border-bottom-color: var(--accent-green);
    background: rgba(159, 230, 77, 0.1);
    border-radius: 4px;
    transform: translateY(-1px);
}

/* Special Emphasis for 'This Article' style links */
.internal-ref {
    font-style: italic;
    background: rgba(159, 230, 77, 0.05);
    padding: 2px 8px !important;
    border-radius: 6px !important;
    border-bottom: 1px solid var(--accent-green) !important;
}

.internal-ref:hover {
    background: rgba(159, 230, 77, 0.15) !important;
    box-shadow: 0 4px 12px rgba(159, 230, 77, 0.1);
}

/* Modern Tables */
.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: rgba(42, 42, 42, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    margin: 30px 0;
    overflow: hidden;
    position: relative;
}

.modern-table th {
    background: #1a1a1a;
    color: var(--accent-green);
    padding: 15px;
    text-align: left;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--accent-green);
}

.modern-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    color: var(--text-secondary);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-table tr:last-child td {
    border-bottom: none;
}

.modern-table tr:hover td {
    background: rgba(159, 230, 77, 0.02);
    color: #fff;
}

/* Horizontal scroll for modern tables on small screens */
@media (max-width: 768px) {
    .modern-table {
        display: block;
        width: auto;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
    }
}