/* ═══════════════════════════════════════════════════════════════
   🗞️ BLOG ARTICLE STYLES — GAZETTE/NEWSPAPER STYLE
   Стиль газети для окремої статті
   ═══════════════════════════════════════════════════════════════ */

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ARTICLE PAGE THEME
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

body.blog-article-page {
    --primary-color: #d6603a;
    --primary-hover: #b8502f;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   BREADCRUMBS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.article-breadcrumbs {
    margin: 20px 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

.article-breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

.article-breadcrumbs a:hover {
    color: var(--text-color);
    text-decoration: underline;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   GAZETTE CONTAINER (з твого оригінального blog.html)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.gazette-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    width: 100%;
}

.gazette-header {
    text-align: center;
    border-bottom: 3px double var(--border-warm);
    padding-bottom: 30px;
    margin-bottom: 40px;
}

.gazette-header h1 {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--text-color);
    margin: 20px 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
}

.article-meta {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    margin-bottom: 10px;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ARTICLE CONTENT (газетний стиль з твого blog.html)
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.article-content-full {
    font-family: var(--font-body);
    line-height: 1.8;
    color: var(--text-color);
}

.article-cut {
    margin-bottom: 40px;
}

.article-intro {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--text-muted);
    margin-bottom: 30px;
    line-height: 1.7;
}

.article-content-full h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
    margin: 40px 0 20px;
    letter-spacing: 0.03em;
}

.article-content-full h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--text-color);
    margin: 30px 0 15px;
    letter-spacing: 0.02em;
}

.article-content-full h4 {
    font-family: var(--font-body);
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 25px 0 12px;
    font-weight: 600;
}

.article-content-full p {
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.article-content-full ul,
.article-content-full ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-content-full li {
    margin-bottom: 10px;
    line-height: 1.7;
}

.article-content-full strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Blockquotes */
.article-quote,
.article-content-full blockquote {
    background: linear-gradient(135deg, rgba(214, 96, 58, 0.1), rgba(214, 96, 58, 0.05));
    border-left: 4px solid var(--primary-color);
    padding: 20px 25px;
    margin: 30px 0;
    border-radius: var(--radius-sm);
    font-style: italic;
}

.article-quote strong,
.article-content-full blockquote strong {
    display: block;
    margin-bottom: 10px;
    font-style: normal;
    color: var(--primary-color);
}

/* Images */
.article-content-full img,
.gazette-img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-md);
    margin: 30px 0;
    border: 1px solid var(--border-warm);
}

/* Photo Timeline (з твого оригінального blog.html) */
.photo-timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.timeline-item {
    background: var(--surface);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: transform 0.3s ease;
}

.timeline-item:hover {
    transform: translateY(-5px);
}

.timeline-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    margin: 0;
    border: none;
    border-radius: 0;
}

.timeline-item p {
    padding: 15px;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Drama Queen Box / Warning Box */
.drama-queen-box,
.warning-box,
.tip-box {
    background: rgba(231, 76, 60, 0.1);
    border: 2px solid #e74c3c;
    border-radius: var(--radius-md);
    padding: 20px;
    margin: 25px 0;
}

.tip-box {
    background: rgba(76, 175, 80, 0.1);
    border-color: #4caf50;
}

.drama-queen-box strong,
.warning-box strong,
.tip-box strong {
    display: block;
    margin-bottom: 10px;
    color: #e74c3c;
}

.tip-box strong {
    color: #4caf50;
}

/* Divider */
.gazette-divider {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-warm), transparent);
    margin: 40px 0;
}

/* Step Title */
.step-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: var(--primary-color);
    margin: 35px 0 15px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ARTICLE FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
/* Зроби посилання суто рядковим елементом */
.main-logo-link {
    display: inline !important; /* Примусово повертає його в рядок */
    width: auto !important;     /* Скасовує фіксовану ширину, якщо вона є */
    white-space: nowrap;        /* Забороняє переносу всередині посилання (за бажанням) */
}
.article-footer {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 3px double var(--border-warm);
}

/* Tags */
.article-tags {
    margin-bottom: 40px;
}

.article-tags h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-link {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 0.9rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.tag-link:hover {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Share Buttons */
.article-share {
    margin-bottom: 40px;
}

.article-share h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.share-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-warm);
    color: var(--text-color);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.share-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.share-btn.telegram:hover {
    background: #0088cc;
    border-color: #0088cc;
}

.share-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

/* Navigation */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin-top: 40px;
}

.nav-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 24px;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-btn:hover {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(0);
}

.nav-btn.prev:hover {
    transform: translateX(-5px);
}

.nav-btn.next:hover {
    transform: translateX(5px);
}

.back-to-blog {
    color: var(--text-muted);
    text-decoration: none;
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: color 0.3s;
}

.back-to-blog:hover {
    color: var(--primary-color);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RELATED POSTS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.related-posts {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 2px solid var(--border-warm);
}

.related-posts h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-color);
    margin-bottom: 30px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 25px;
    align-items: stretch;
}

.related-card,
.related-post-card {
    background: var(--surface);
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    transition: all 0.3s ease;
}

.related-card:hover,
.related-post-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(214, 96, 58, 0.2);
    border-color: var(--primary-color);
}

.related-image,
.related-post-card img {
    height: 180px;
    width: 100%;
    overflow: hidden;
    object-fit: cover;
    display: block;
    margin: 0;
    border: none;
    border-radius: 0;
}

.related-card:hover .related-image img,
.related-post-card:hover img {
    transform: scale(1.1);
}

.related-card .related-image img,
.related-post-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    margin: 0;
    border: none;
}

.related-info,
.related-post-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
}

.related-category {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.related-info h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--text-color);
    margin: 10px 0;
    line-height: 1.3;
}

.related-info p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 15px;
}

.related-meta {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
}
/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   реакції
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.article-reactions {
    margin-top: 50px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    text-align: center;
    border: 1px dashed var(--border-warm);
}

.reaction-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
}

.react-btn {
    background: #252525;
    border: 1px solid #444;
    padding: 10px 20px;
    border-radius: 30px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1.2rem;
}

.react-btn:hover {
    transform: scale(1.1);
    border-color: var(--primary-color);
}

.react-btn.reacted {
    background: var(--primary-color);
    border-color: white;
}



/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ERROR MESSAGE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

.error-message {
    text-align: center;
    padding: 80px 20px;
}

.error-message h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 20px;
}

.error-message p {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.back-btn {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 30px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(214, 96, 58, 0.4);
}

/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

@media (max-width: 768px) {
    .gazette-header h1 {
        font-size: 2rem;
    }

    .article-content-full h2 {
        font-size: 1.6rem;
    }

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

    .photo-timeline {
        grid-template-columns: 1fr;
    }

    .article-navigation {
        flex-direction: column;
        gap: 12px;
    }

    .nav-btn {
        width: 100%;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .gazette-container {
        padding: 20px 15px;
    }

    .gazette-header h1 {
        font-size: 1.6rem;
    }

    .article-intro {
        font-size: 1.05rem;
    }

    .article-content-full p {
        font-size: 1rem;
    }

    .share-buttons {
        flex-direction: column;
    }

    .share-btn {
        width: 100%;
        justify-content: center;
    }
}


/* Article cover image */
.article-cover {
    width: 100%;
    max-width: 980px;
    margin: 0 auto 42px;
    overflow: hidden;
    border: 1px solid var(--border-warm);
    border-radius: var(--radius-md);
    background: var(--surface);
}
.article-cover img {
    display: block;
    width: 100%;
    max-height: 560px;
    object-fit: cover;
    margin: 0;
    border: 0;
    border-radius: 0;
}


/* Links to pepper seed product cards inside articles */
.article-content-full a.article-product-link {
    color: var(--primary-color);
    font-weight: 700;
    text-decoration: underline;
    text-decoration-color: rgba(214, 96, 58, 0.55);
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.article-content-full a.article-product-link:hover {
    color: var(--primary-hover);
    text-decoration-color: currentColor;
}
