/* ========================================
   ARTICLE CONTENT STYLING (V5 Design)
   ======================================== */

.article-content {
    font-family: 'Libre Baskerville', Georgia, serif;
    color: #111827;
    line-height: 1.8;
    /* CRITICAL: Prevent mobile overflow */
    max-width: 100% !important;
    overflow-wrap: break-word !important;
    word-wrap: break-word !important;
    word-break: break-word !important;
    box-sizing: border-box !important;
}

.article-content * {
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.article-content p {
    font-size: 17px;
    margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
    .article-content p {
        font-size: 18px;
        margin-bottom: 2rem;
    }
}

.article-content h2 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .article-content h2 {
        font-size: 1.875rem;
        margin-top: 3rem;
    }
}

.article-content h3 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.25;
}

@media (min-width: 768px) {
    .article-content h3 {
        font-size: 1.5rem;
        margin-top: 2.5rem;
    }
}

.article-content h4 {
    font-family: 'Libre Baskerville', Georgia, serif;
    font-weight: 700;
    font-size: 1.125rem;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
    .article-content h4 {
        font-size: 1.25rem;
    }
}

.article-content a {
    color: #4b4edd;
    font-weight: 700;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
}

.article-content a:hover {
    color: #111827;
}

.article-content strong {
    font-weight: 700;
    color: #111827;
}

.article-content em {
    font-style: italic;
}

.article-content ul,
.article-content ol {
    margin: 1.5rem 0;
    padding-left: 1.5rem;
}

@media (min-width: 768px) {

    .article-content ul,
    .article-content ol {
        margin: 2rem 0;
    }
}

.article-content ul li,
.article-content ol li {
    margin-bottom: 0.75rem;
    font-size: 17px;
}

@media (min-width: 768px) {

    .article-content ul li,
    .article-content ol li {
        font-size: 18px;
    }
}

.article-content blockquote {
    border-left: 4px solid #111827;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #374151;
    font-size: 1.25rem;
}

@media (min-width: 768px) {
    .article-content blockquote {
        padding-left: 2rem;
        font-size: 1.5rem;
    }
}

.article-content img {
    margin: 2rem 0;
    width: 100%;
    height: auto;
}

@media (min-width: 768px) {
    .article-content img {
        margin: 2.5rem 0;
    }
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    border: 2px solid #111827;
}

.article-content table th,
.article-content table td {
    padding: 0.75rem 1rem;
    border: 1px solid #d1d5db;
    text-align: left;
}

.article-content table th {
    background-color: #f3f4f6;
    font-weight: 700;
    font-family: 'Hanken Grotesk', sans-serif;
    text-transform: uppercase;
    font-size: 0.875rem;
    letter-spacing: 0.05em;
}

.article-content table td {
    font-size: 18px;
}

.article-content>*:first-child {
    margin-top: 0;
}

/* ========================================
   NOVASHARE SOCIAL SHARING (V5 Design)
   ======================================== */

/* NovaShare Inline Buttons */
.novashare-inline {
    margin: 2rem 0 !important;
    padding: 1.5rem 0 !important;
    border-top: 2px solid #111827 !important;
    border-bottom: 2px solid #111827 !important;
}

.novashare-inline .novashare-buttons {
    justify-content: center !important;
    gap: 0.75rem !important;
}

.novashare-inline .novashare-button {
    border: 2px solid #111827 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.05em !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s ease !important;
}

.novashare-inline .novashare-button:hover {
    background: #111827 !important;
    color: #ffffff !important;
    transform: translateY(-2px) !important;
}

.novashare-inline .novashare-button svg {
    fill: currentColor !important;
}

/* NovaShare Floating Buttons */
.novashare-floating {
    border: 2px solid #111827 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
}

.novashare-floating .novashare-button {
    border-bottom: 1px solid #e5e7eb !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.novashare-floating .novashare-button:hover {
    background: #f3f4f6 !important;
}

.novashare-floating .novashare-button svg {
    fill: #111827 !important;
}

/* NovaShare Total Count */
.novashare-total {
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-weight: 700 !important;
    color: #111827 !important;
    border: 2px solid #111827 !important;
    border-radius: 0 !important;
    background: #f3f4f6 !important;
}

/* NovaShare Click to Tweet */
.novashare-ctt {
    border: 2px solid #111827 !important;
    border-radius: 0 !important;
    background: #f9fafb !important;
    padding: 1.5rem !important;
    margin: 2rem 0 !important;
}

.novashare-ctt-text {
    font-family: 'Libre Baskerville', Georgia, serif !important;
    font-size: 1.125rem !important;
    font-style: italic !important;
    color: #111827 !important;
    line-height: 1.6 !important;
}

.novashare-ctt-btn {
    border: 2px solid #111827 !important;
    border-radius: 0 !important;
    background: #ffffff !important;
    color: #111827 !important;
    font-family: 'Hanken Grotesk', sans-serif !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    font-size: 0.875rem !important;
    letter-spacing: 0.05em !important;
    padding: 0.75rem 1.5rem !important;
    transition: all 0.2s ease !important;
}

.novashare-ctt-btn:hover {
    background: #111827 !important;
    color: #ffffff !important;
}