/* WordPress Content Styling */
/* Ensure WordPress content displays with proper colors and formatting */

.case-content-col .case-block,
.service-content-col .service-block,
.post-content,
.page-content,
article .entry-content {
    color: #64748b;
    line-height: 1.8;
}

.case-content-col .case-block h1,
.case-content-col .case-block h2,
.case-content-col .case-block h3,
.case-content-col .case-block h4,
.service-content-col h1,
.service-content-col h2,
.service-content-col h3,
.service-content-col h4,
.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
article .entry-content h1,
article .entry-content h2,
article .entry-content h3,
article .entry-content h4 {
    color: #f1f5f9;
    font-weight: 700;
    margin-bottom: 20px;
    margin-top: 30px;
    font-family: var(--font-heading);
}

.case-content-col .case-block h2,
.service-content-col h2 {
    font-size: 32px;
    color: #f1f5f9;
}

.case-content-col .case-block h3,
.service-content-col h3 {
    font-size: 24px;
    color: #e2e8f0;
}

.case-content-col .case-block p,
.service-content-col p,
.post-content p,
article .entry-content p {
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.8;
}

.case-content-col .case-block ul,
.case-content-col .case-block ol,
.service-content-col ul,
.service-content-col ol,
.post-content ul,
.post-content ol {
    color: #94a3b8;
    margin-bottom: 20px;
    padding-left: 25px;
}

.case-content-col .case-block li,
.service-content-col li,
.post-content li {
    margin-bottom: 10px;
    color: #94a3b8;
}

.case-content-col .case-block strong,
.case-content-col .case-block b,
.service-content-col strong,
.service-content-col b,
.post-content strong,
.post-content b {
    color: #e2e8f0;
    font-weight: 600;
}

.case-content-col .case-block a,
.service-content-col a,
.post-content a,
article .entry-content a {
    color: #38bdf8;
    text-decoration: none;
    transition: color 0.3s;
}

.case-content-col .case-block a:hover,
.service-content-col a:hover,
.post-content a:hover {
    color: #7dd3fc;
    text-decoration: underline;
}

/* WordPress Image Alignment */
.case-content-col .case-block img,
.service-content-col img,
.post-content img,
article .entry-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
}

.alignleft {
    float: left;
    margin: 10px 20px 10px 0;
}

.alignright {
    float: right;
    margin: 10px 0 10px 20px;
}

.aligncenter {
    display: block;
    margin: 20px auto;
}

/* WordPress Blockquote */
.case-content-col .case-block blockquote,
.service-content-col blockquote,
.post-content blockquote {
    border-left: 4px solid #38bdf8;
    padding-left: 20px;
    margin: 30px 0;
    font-style: italic;
    color: #cbd5e1;
}

/* WordPress Code */
.case-content-col .case-block code,
.service-content-col code,
.post-content code {
    background: rgba(56, 189, 248, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    color: #38bdf8;
    font-size: 0.9em;
}

.case-content-col .case-block pre,
.service-content-col pre,
.post-content pre {
    background: #1e293b;
    padding: 20px;
    border-radius: 8px;
    overflow-x: auto;
    margin: 20px 0;
}

.case-content-col .case-block pre code,
.service-content-col pre code,
.post-content pre code {
    background: transparent;
    padding: 0;
    color: #94a3b8;
}

/* WordPress Tables */
.case-content-col .case-block table,
.service-content-col table,
.post-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
}

.case-content-col .case-block table th,
.service-content-col table th,
.post-content table th {
    background: #1e293b;
    color: #f1f5f9;
    padding: 12px;
    text-align: left;
    border: 1px solid #334155;
}

.case-content-col .case-block table td,
.service-content-col table td,
.post-content table td {
    padding: 12px;
    border: 1px solid #334155;
    color: #94a3b8;
}

/* WordPress Gallery */
.gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin: 20px 0;
}

.gallery-item img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}