/* Neowyze Content Styling v2 */

/* Content container */
.entry-content,
.page-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 {
    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,
.page-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,
.page-content > h2:first-of-type,
.page-content p + h2:first-of-type {
    margin-top: 1.5em;
}

/* H3 */
.entry-content h3,
.page-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,
.page-content p {
    margin-bottom: 1.5em;
    color: #475569;
}

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

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

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

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

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

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

.entry-content ol li::before,
.page-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"]),
.page-content a:not([href*="whatsapp"]):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,
.page-content a:not([href*="whatsapp"]):not([href*="contacto"]):hover {
    border-bottom-color: #2563eb;
}

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

/* Blockquotes */
.entry-content blockquote,
.page-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,
.page-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,
.page-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,
.page-content table td {
    padding: 14px 18px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
}

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

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

/* CTA Button */
.entry-content a[href*="contacto"],
.page-content a[href*="whatsapp"] {
    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,
.page-content a[href*="whatsapp"]: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,
.page-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,
.page-content hr {
    border: none;
    height: 2px;
    background: linear-gradient(to right, transparent, #e2e8f0, transparent);
    margin: 3em 0;
}

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

/* ========================================
   Dr. Linares UY — Site Styling v3
   (replaces v2 at end of file)
   ======================================== */

/* ---- HEADER / NAV ---- */

/* Remove the divider line below the header */
.elementor-30 .elementor-element.elementor-element-7dc57cf1 {
    display: none !important;
}

.elementor-location-header {
    position: relative;
    z-index: 9999 !important;
}
.elementor-30 .elementor-element.elementor-element-56786d47 {
    background-color: #FFFFFF !important;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08) !important;
    position: relative;
    z-index: 9999 !important;
}
.elementor-30 .elementor-element.elementor-element-537d2a58 .hfe-site-logo-img {
    width: 140px !important;
    max-width: 140px !important;
    height: auto !important;
    display: block !important;
}
.elementor-30 .elementor-element.elementor-element-47b4b463
.elementskit-navbar-nav > li > a {
    color: #33231F !important;
}
.elementskit-menu-hamburger .elementskit-menu-hamburger-icon,
.elementskit-menu-hamburger .elementskit-menu-hamburger-icon::before,
.elementskit-menu-hamburger .elementskit-menu-hamburger-icon::after {
    background-color: #33231F !important;
}

/* ---- HERO ---- */

.elementor-element-4a6daa7 p {
    font-size: 17px !important;
    font-weight: 500 !important;
    line-height: 1.7 !important;
    text-shadow: 0 1px 12px rgba(0,0,0,0.85) !important;
    color: #F0F0F0 !important;
}

/* ---- WATERCOLOR REMOVAL ---- */
/* The watercolor Fondo-linares.png is applied on the ::before overlay of each section.
   We must target ::before to remove it, plus the element itself for bg-color. */

/* Services section */
.elementor-element.elementor-element-2c4d0daf {
    background-color: #F5FBFA !important;
}
.elementor-element.elementor-element-2c4d0daf::before,
.elementor-element.elementor-element-2c4d0daf > .e-con-inner > .elementor-background-video-container::before,
.elementor-element.elementor-element-2c4d0daf > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
    background-image: none !important;
    background-color: transparent !important;
}

/* Testimonials section */
.elementor-element.elementor-element-535fdd22 {
    background-color: #FFFFFF !important;
}
.elementor-element.elementor-element-535fdd22::before,
.elementor-element.elementor-element-535fdd22 > .e-con-inner > .elementor-background-video-container::before,
.elementor-element.elementor-element-535fdd22 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
    background-image: none !important;
    background-color: transparent !important;
}

/* CTA section */
.elementor-element.elementor-element-4d68bb66 {
    background-color: #EAF7F5 !important;
    border-top: 3px solid #4AAFA0 !important;
}
.elementor-element.elementor-element-4d68bb66::before,
.elementor-element.elementor-element-4d68bb66 > .e-con-inner > .elementor-background-video-container::before,
.elementor-element.elementor-element-4d68bb66 > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
    background-image: none !important;
    background-color: transparent !important;
}

/* ---- ANIMATED ELEMENTS — ensure visible on all renders ---- */

.elementor-8625 .elementor-invisible {
    opacity: 1 !important;
    visibility: visible !important;
}

/* ---- ABOUT / STATS — doctor photo overlay fix ---- */

.elementor-element.elementor-element-763a2078::before,
.elementor-element.elementor-element-763a2078 > .elementor-background-video-container::before,
.elementor-element.elementor-element-763a2078 > .e-con-inner > .elementor-background-video-container::before {
    opacity: 0 !important;
}
.elementor-element.elementor-element-1699ab33::before,
.elementor-element.elementor-element-1699ab33 > .elementor-background-video-container::before,
.elementor-element.elementor-element-1699ab33 > .e-con-inner > .elementor-background-video-container::before {
    opacity: 0 !important;
}

/* ---- SERVICE CARDS — teal ring border ---- */

.elementor-element.elementor-element-3d25856e,
.elementor-element.elementor-element-6a8c81df,
.elementor-element.elementor-element-f1d368a,
.elementor-element.elementor-element-4cd9769b,
.elementor-element.elementor-element-f0fd522,
.elementor-element.elementor-element-a3cc919 {
    border-color: #4AAFA0 !important;
    --border-color: #4AAFA0 !important;
}

/* ---- TESTIMONIAL CARDS — white card with shadow ---- */

.elementskit-single-testimonial-slider.elementskit-testimonial-slider-block-style {
    background: #FFFFFF !important;
    border-radius: 16px !important;
    box-shadow: 0 4px 24px rgba(74,175,160,0.10) !important;
    padding: 28px 24px !important;
    margin: 8px 4px !important;
}
.elementskit-commentor-content p {
    color: #555 !important;
    font-style: italic !important;
    line-height: 1.7 !important;
}

/* ---- POR QUÉ ELEGIR — pill border → teal ---- */

.elementor-element.elementor-element-43604ea0,
.elementor-element.elementor-element-7ff48f38,
.elementor-element.elementor-element-50f24f71,
.elementor-element.elementor-element-59d789c0,
.elementor-element.elementor-element-7ee11d2,
.elementor-element.elementor-element-dad1564 {
    border-color: #4AAFA0 !important;
    --border-color: #4AAFA0 !important;
}
/* Check icon → teal */
.elementor-element-5b8a2f43 .elementor-icon-box-icon .elementor-icon,
.elementor-element-5b8a2f43 .elementor-icon-box-icon .elementor-icon svg {
    fill: #4AAFA0 !important;
    color: #4AAFA0 !important;
}
/* Icon box title and description text */
.elementor-element-5b8a2f43 .elementor-icon-box-title {
    font-size: 18px !important;
    color: #33231F !important;
    font-weight: 600 !important;
}
.elementor-element-5b8a2f43 .elementor-icon-box-description {
    color: #666362 !important;
    font-size: 14px !important;
}

/* ---- TESTIMONIALS SLIDER — clip overflow ---- */

.elementor-element.elementor-element-535fdd22 .ekit-main-swiper {
    overflow: hidden !important;
}
/* Name & procedure label */
.elementskit-commentor-bio .elementskit-commentor-name {
    color: #33231F !important;
    font-weight: 600 !important;
}
.elementskit-commentor-bio .elementskit-commentor-bio-info {
    color: #4AAFA0 !important;
    font-size: 13px !important;
}
