/* Neowyze Content Styling v2 */

/* Content container */
.entry-content,
.elementor-widget-theme-post-content .elementor-widget-container {
    font-size: 17px;
    line-height: 1.8;
    color: #334155;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Post/Page title */
.elementor-page-title,
h1.entry-title,
.elementor-heading-title.elementor-size-default {
    font-size: 38px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin-bottom: 0.6em;
    letter-spacing: -0.02em;
}

/* Post meta */
.elementor-post-info,
.entry-meta {
    color: #94a3b8;
    font-size: 14px;
    margin-bottom: 2.5em;
    padding-bottom: 1.2em;
    border-bottom: 1px solid #e2e8f0;
}

/* H2 */
.entry-content h2,
.elementor-widget-theme-post-content h2 {
    font-size: 26px;
    font-weight: 700;
    color: #0f172a;
    margin-top: 2.8em;
    margin-bottom: 0.8em;
    padding-bottom: 0.5em;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(to right, #2563eb, transparent) 1;
}

.entry-content > h2:first-of-type,
.entry-content p + h2:first-of-type {
    margin-top: 1.5em;
}

/* H3 */
.entry-content h3,
.elementor-widget-theme-post-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin-top: 2em;
    margin-bottom: 0.6em;
    padding-left: 12px;
    border-left: 3px solid #2563eb;
}

/* Paragraphs */
.entry-content p {
    margin-bottom: 1.5em;
    color: #475569;
}

/* First paragraph intro */
.entry-content > p:first-of-type {
    font-size: 19px;
    line-height: 1.7;
    color: #334155;
}

/* Lists */
.entry-content ul,
.entry-content ol {
    margin: 1.5em 0;
    padding-left: 0;
    list-style: none;
}

.entry-content ul li,
.entry-content ol li {
    margin-bottom: 0.8em;
    padding-left: 1.8em;
    line-height: 1.7;
    color: #475569;
    position: relative;
}

.entry-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
}

.entry-content ol {
    counter-reset: item;
}

.entry-content ol li {
    counter-increment: item;
}

.entry-content ol li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 1px;
    width: 24px;
    height: 24px;
    background: #2563eb;
    color: #fff;
    border-radius: 50%;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Links */
.entry-content a:not([href*="contacto"]) {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid rgba(37,99,235,0.3);
    transition: border-color 0.2s ease;
}

.entry-content a:not([href*="contacto"]):hover {
    border-bottom-color: #2563eb;
}

/* Bold */
.entry-content strong {
    color: #0f172a;
    font-weight: 700;
}

/* Blockquotes */
.entry-content blockquote {
    border-left: 4px solid #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #f8fafc 100%);
    padding: 1.5em 2em;
    margin: 2.5em 0;
    border-radius: 0 12px 12px 0;
    font-style: italic;
    color: #475569;
    font-size: 18px;
    line-height: 1.7;
}

/* Tables */
.entry-content table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 2.5em 0;
    font-size: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border: 1px solid #e2e8f0;
}

.entry-content table thead th {
    background: linear-gradient(135deg, #0f172a, #1e293b);
    color: #fff;
    padding: 14px 18px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.entry-content table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

.entry-content table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.entry-content table tbody tr:hover {
    background: #eff6ff;
}

/* CTA Button */
.entry-content a[href*="contacto"] {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: #fff !important;
    padding: 16px 36px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none !important;
    border: none !important;
    margin: 2em 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 14px rgba(37,99,235,0.35);
}

.entry-content a[href*="contacto"]:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,99,235,0.45);
}

/* Images */
.entry-content img {
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    margin: 2em 0;
}

/* Featured image */
.elementor-widget-theme-post-featured-image img {
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

/* HR separator */
.entry-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 3em 0;
}

/* Mobile */
@media (max-width: 768px) {
    .entry-content,
    .elementor-widget-theme-post-content .elementor-widget-container {
        font-size: 16px;
        line-height: 1.7;
        padding: 0 12px;
    }
    .entry-content h2 { font-size: 22px; }
    .entry-content h3 { font-size: 18px; }
    .elementor-page-title, h1.entry-title { font-size: 28px; }
    .entry-content > p:first-of-type { font-size: 17px; }
    .entry-content a[href*="contacto"] {
        display: block;
        text-align: center;
        padding: 14px 24px;
    }
}
