/* ============================================
   BLOG ARTICLE STYLES
   Shared styles for all blog articles
   ============================================ */

/* Article Container */
.article-container {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

/* Article Header */
.article-header {
    position: static;
    background: transparent;
    backdrop-filter: none;
    border-bottom: 1px solid #333;
    text-align: center;
    margin-bottom: 40px;
    padding-bottom: 30px;
}

.article-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #D4AF37;
    margin-bottom: 15px;
    display: block;
}

.article-header h1 {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 15px;
}

.article-meta {
    color: #888;
    font-size: 0.9rem;
}

/* Article Content */
.article-content {
    color: #ccc;
    font-size: 1.05rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2 {
    font-family: 'Cinzel', serif;
    color: #D4AF37;
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 20px;
}

.article-content h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-top: 30px;
    margin-bottom: 15px;
}

.article-content ul,
.article-content ol {
    margin: 20px 0;
    padding-left: 0;
    list-style: none;
}

.article-content ul li,
.article-content ol li {
    padding: 8px 0 8px 25px;
    position: relative;
    border-bottom: 1px solid #2a2a2a;
}

.article-content ul li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #D4AF37;
}

.article-content ol {
    counter-reset: step-counter;
}

.article-content ol li:before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: 700;
}

.article-content ul li:last-child,
.article-content ol li:last-child {
    border-bottom: none;
}

.article-content strong {
    color: #fff;
}

.article-content blockquote {
    border-left: 3px solid #D4AF37;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #aaa;
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, #1a1a1a, #252525);
    border: 1px solid #D4AF37;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    margin: 40px 0;
}

.cta-box h3 {
    color: #D4AF37;
    margin-bottom: 15px;
}

.cta-box p {
    margin-bottom: 20px;
}

.cta-btn {
    display: inline-block;
    background: #D4AF37;
    color: #000;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: background 0.2s;
}

.cta-btn:hover {
    background: #B59328;
}

/* Back to Blog Link */
.back-to-blog {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.back-to-blog a {
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
}

.back-to-blog a:hover {
    color: #D4AF37;
}

/* Related Articles Section */
.related-articles {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #333;
}

.related-articles h3 {
    color: #D4AF37;
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.related-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 6px;
    padding: 20px;
    text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
}

.related-card:hover {
    border-color: #D4AF37;
    transform: translateY(-3px);
}

.related-card .category {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #D4AF37;
    margin-bottom: 8px;
    display: block;
}

.related-card .title {
    color: #fff;
    font-size: 1rem;
    line-height: 1.4;
}

/* ============================================
   ARTICLE-SPECIFIC COMPONENTS
   ============================================ */

/* Word Grid (power-words.html) */
.word-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 20px 0 30px;
}

.word-grid span {
    background: #1a1a1a;
    border: 1px solid #333;
    padding: 12px 15px;
    border-radius: 4px;
    color: #fff;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.word-grid span:hover {
    border-color: #D4AF37;
}

/* Warning Box (fair-housing.html) */
.warning-box {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid #ff4444;
    border-radius: 8px;
    padding: 20px;
    margin: 30px 0;
}

.warning-box h4 {
    color: #ff4444;
    margin-bottom: 10px;
}

/* Caption Box (instagram-captions.html) */
.caption-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-left: 3px solid #D4AF37;
    border-radius: 4px;
    padding: 20px;
    margin: 20px 0;
    font-style: italic;
}

.caption-box .copy-label {
    font-size: 0.75rem;
    color: #D4AF37;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 10px;
    font-style: normal;
}

/* Step Box (writing-guide.html) */
.step-box {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

.step-box .step-number {
    display: inline-block;
    width: 32px;
    height: 32px;
    background: #D4AF37;
    color: #000;
    border-radius: 50%;
    text-align: center;
    line-height: 32px;
    font-weight: 700;
    margin-right: 10px;
}

.step-box h3 {
    display: inline;
    color: #fff;
    margin: 0;
}

.step-box p {
    margin-top: 15px;
    margin-bottom: 0;
}

/* Comparison Box (fixer-upper-copy.html) */
.comparison-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin: 25px 0;
}

.comparison-box .dont,
.comparison-box .do {
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
}

.comparison-box .dont {
    border: 1px solid #ff4444;
}

.comparison-box .do {
    border: 1px solid #44ff44;
}

.comparison-box h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.comparison-box .dont h4 {
    color: #ff4444;
}

.comparison-box .do h4 {
    color: #44ff44;
}

/* Bio Example (agent-bios.html) */
.bio-example {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 25px;
    margin: 25px 0;
}

.bio-example .bio-type {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #D4AF37;
    margin-bottom: 15px;
    display: block;
}

/* Comparison Table (chatgpt-vs-specialized.html) */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 30px 0;
}

.comparison-table th,
.comparison-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.comparison-table th {
    color: #D4AF37;
    font-weight: 600;
}

.comparison-table td:first-child {
    color: #fff;
}

/* Time Box (batch-listings.html) */
.time-box {
    background: linear-gradient(135deg, #1a3a1a, #1a1a1a);
    border: 1px solid #44ff44;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    margin: 30px 0;
}

.time-box .time {
    font-size: 2.5rem;
    font-weight: 700;
    color: #44ff44;
}

.time-box .label {
    color: #888;
    font-size: 0.9rem;
}

/* Speech Bubble (voice-dictation.html) */
.speech-bubble {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    padding: 25px;
    margin: 25px 0;
    position: relative;
}

.speech-bubble:before {
    content: "🎤";
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 1.5rem;
}

.speech-bubble .label {
    color: #D4AF37;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

/* Subject Line (email-subjects.html) */
.subject-line {
    background: #1a1a1a;
    border: 1px solid #333;
    border-left: 3px solid #D4AF37;
    border-radius: 4px;
    padding: 15px 20px;
    margin: 15px 0;
    font-family: monospace;
    font-size: 1rem;
    color: #fff;
}

.subject-line .emoji {
    margin-right: 8px;
}

.performance-tag {
    display: inline-block;
    background: rgba(68, 255, 68, 0.1);
    color: #44ff44;
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 4px;
    margin-left: 10px;
    font-family: 'Lato', sans-serif;
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (max-width: 600px) {
    .article-header h1 {
        font-size: 1.8rem;
    }

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

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

    .comparison-box {
        grid-template-columns: 1fr;
    }

    .comparison-table {
        font-size: 0.9rem;
    }

    .comparison-table th,
    .comparison-table td {
        padding: 10px;
    }

    .subject-line {
        font-size: 0.9rem;
    }
}