/*
Theme Name: Digital Privacy Guard
Theme URI: http://digitalprivacyguard.com/
Author: DGP
Author URI: http://digitalprivacyguard.com/
Description: A professional, modern, custom WordPress theme for digital privacy-focused websites.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: digital-privacy-guard
*/

/* ============================================
   ARTICLE CONTENT STYLES
   For single post/article pages only
   ============================================ */

/* Base Article Content Container */
.article-content {
    color: #e5e7eb; /* text-gray-200 */
    line-height: 1.75;
    font-size: 1.125rem; /* text-lg */
    max-width: 100%;
}

/* Headings */
.article-content h1 {
    font-size: 2.25rem; /* text-4xl */
    font-weight: 700;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.article-content h2 {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700;
    color: #e1e7f5; /* text-cyan-500 */
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
    padding-bottom: 0.5rem;
}

.article-content h3 {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 600;
    color: #ffffff;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-content h4 {
    font-size: 1.25rem; /* text-xl */
    font-weight: 600;
    color: #06b6d4; /* text-cyan-400 */
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-content h5 {
    font-size: 1.125rem; /* text-lg */
    font-weight: 600;
    color: #ffffff;
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.article-content h6 {
    font-size: 1rem; /* text-base */
    font-weight: 600;
    color: #a1a1aa; /* text-gray-400 */
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Paragraphs */
.article-content p {
    margin-top: 1rem;
    margin-bottom: 1rem;
    color: #8b92a8; /* text-gray-200 */
    line-height: 1.75;
}

/* Lists */
.article-content ul,
.article-content ol {
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: #8b92a8;
}

.article-content li {
    margin-bottom: 0.5rem;
    line-height: 1.75;
}

.article-content ul {
    list-style-type: disc;
}

.article-content ol {
    list-style-type: decimal;
}

.article-content ul ul,
.article-content ol ul {
    list-style-type: circle;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.article-content ol ol,
.article-content ul ol {
    list-style-type: lower-alpha;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

/* List Items Styling */
.article-content li::marker {
    color: #8b92a8; /* text-cyan-500 */
}

/* Links */
.article-content a {
    color: #8b92a8; /* text-cyan-500 */
    text-decoration: none;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(6, 182, 212, 0.3);
}

.article-content a:hover {
    color: #22d3ee; /* text-cyan-400 */
    border-bottom-color: rgba(6, 182, 212, 0.8);
    text-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* Blockquotes */
.article-content blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.5rem;
    border-left: 4px solid #06b6d4; /* border-cyan-500 */
    background-color: rgba(6, 182, 212, 0.05);
    color: #8b92a8; /* text-gray-300 */
    font-style: italic;
    border-radius: 0 0.5rem 0.5rem 0;
}

.article-content blockquote p {
    margin: 0;
}

/* Code Blocks */
.article-content code {
    background-color: rgba(0, 0, 0, 0.3);
    color: #8b92a8; /* text-pink-400 */
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
}

.article-content pre {
    margin: 1.5rem 0;
    padding: 1rem;
    background-color: #1f2937; /* bg-gray-800 */
    border-radius: 0.5rem;
    overflow-x: auto;
    border: 1px solid #374151; /* border-gray-700 */
}

.article-content pre code {
    background-color: transparent;
    color: #e5e7eb;
    padding: 0;
    font-size: 0.875rem;
}

/* Images */
.article-content img {
    max-width: 100%;
    height: auto;
    margin: 1.5rem auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    display: block;
}

.article-content figure {
    margin: 1.5rem 0;
}

.article-content figcaption {
    text-align: center;
    color: #9ca3af; /* text-gray-400 */
    font-size: 0.875rem;
    margin-top: 0.5rem;
    font-style: italic;
}

/* Tables */
.article-content table {
    width: 100%;
    margin: 1.5rem 0;
    border-collapse: collapse;
    color: #e5e7eb;
}

.article-content th,
.article-content td {
    padding: 0.75rem 1rem;
    border: 1px solid #374151; /* border-gray-700 */
    text-align: left;
}

.article-content th {
    background-color: rgba(6, 182, 212, 0.1);
    color: #06b6d4; /* text-cyan-400 */
    font-weight: 600;
}

.article-content tr:nth-child(even) {
    background-color: rgba(55, 65, 81, 0.3); /* bg-gray-700/30 */
}

/* Horizontal Rule */
.article-content hr {
    margin: 2rem 0;
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.5), transparent);
}

/* Strong/Bold */
.article-content strong {
    color: #ffffff;
    font-weight: 600;
}

/* Emphasis/Italic */
.article-content em {
    color: #d1d5db; /* text-gray-300 */
    font-style: italic;
}

/* Small text */
.article-content small {
    font-size: 0.875rem;
    color: #9ca3af; /* text-gray-400 */
}

/* Superscript/Subscript */
.article-content sup,
.article-content sub {
    font-size: 0.75rem;
    line-height: 0;
}

/* Definition Lists */
.article-content dl {
    margin: 1rem 0;
}

.article-content dt {
    font-weight: 600;
    color: #06b6d4; /* text-cyan-500 */
    margin-top: 0.5rem;
}

.article-content dd {
    margin-left: 1.5rem;
    margin-bottom: 0.5rem;
    color: #d1d5db; /* text-gray-300 */
}

/* Address */
.article-content address {
    font-style: italic;
    color: #d1d5db; /* text-gray-300 */
    margin: 1rem 0;
}

/* Selection Color */
.article-content ::selection {
    background-color: rgba(6, 182, 212, 0.3); /* cyan-500 with opacity */
    color: #ffffff;
}

/* First paragraph after heading */
.article-content h2 + p,
.article-content h3 + p,
.article-content h4 + p {
    margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .article-content h1 {
        font-size: 1.875rem; /* text-3xl */
    }
    
    .article-content h2 {
        font-size: 1.5rem; /* text-2xl */
    }
    
    .article-content h3 {
        font-size: 1.25rem; /* text-xl */
    }
    
    .article-content h4 {
        font-size: 1.125rem; /* text-lg */
    }
    
    .article-content {
        font-size: 1rem; /* text-base */
    }
}

/* Print styles */
@media print {
    .article-content {
        color: #000000;
        font-size: 12pt;
    }
    
    .article-content a {
        color: #0000ee;
        text-decoration: underline;
    }
    
    .article-content h1,
    .article-content h2,
    .article-content h3,
    .article-content h4,
    .article-content h5,
    .article-content h6 {
        color: #000000;
        page-break-after: avoid;
    }
    
    .article-content img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
    
    .article-content pre,
    .article-content blockquote,
    .article-content table {
        page-break-inside: avoid;
    }
}