/*
 Theme Name:   Techwix Child
 Theme URI:    http://thepixelcurve.com/wp/techwix
 Description:  IT Solutions & Technology WordPress Child Theme
 Author:       Devthrow
 Author URI:   https://themeforest.net/user/devthrow
 Template:     techwix
 Version:      1.0.0
 License: GNU General Public License v2 or later
 License URI: LICENSE
 Tags:          custom-header, custom-logo, blog, theme-options
 Text Domain:  techwix-child

* If you are not familiar with Child Themes, you can read about it here:
* http://codex.wordpress.org/Child_Themes
*/
/* ============================================================
   COMIENZO – Estilos para entradas de tipo "Enlace"
   ============================================================ */
/* ── Contenido del artículo externo ── */
.techwix-link-article-content {
    font-size: 1rem;
    line-height: 1.75;
    color: #374151;
}

.techwix-link-article-content h1.entry-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    line-height: 1.3;
}

.techwix-link-article-content h2,
.techwix-link-article-content h3,
.techwix-link-article-content h4 {
    color: #1a1a2e;
    margin: 1.5em 0 0.5em;
    line-height: 1.3;
}

.techwix-link-article-content p {
    margin: 0 0 1.2em;
}

.techwix-link-article-content ul,
.techwix-link-article-content ol {
    padding-left: 1.5em;
    margin: 0 0 1.2em;
}

.techwix-link-article-content li {
    margin-bottom: 0.4em;
}

.techwix-link-article-content a {
    color: #246bfd;
    text-decoration: underline;
}

.techwix-link-article-content strong {
    font-weight: 600;
}

.techwix-link-article-content blockquote {
    border-left: 4px solid #246bfd;
    margin: 1.5em 0;
    padding: 12px 20px;
    background: #f8f9ff;
    border-radius: 0 6px 6px 0;
    color: #4b5563;
    font-style: italic;
}

/* ── Imágenes: solo las etiquetas <img> dentro de <figure>, no emojis ── */
.techwix-link-article-content figure.wp-block-image {
    margin: 1.5em 0;
    text-align: center;
}

.techwix-link-article-content figure.wp-block-image img {
    max-width: 100%;
    max-height: 450px;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
    margin: 0 auto;
}

.techwix-link-article-content figcaption {
    font-size: 0.85rem;
    color: #9ca3af;
    text-align: center;
    margin-top: 6px;
}

/* ── Fuente al pie ── */
.techwix-link-source {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 24px;
    padding: 12px 16px;
    background: #f8f9ff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 0.88rem;
}

.techwix-link-source__favicon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.techwix-link-source__label {
    color: #6b7280;
    font-weight: 500;
}

.techwix-link-source__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #246bfd;
    font-weight: 600;
    text-decoration: none;
}

.techwix-link-source__link:hover {
    text-decoration: underline;
}

/* Subtítulo extraído del h1 de la fuente */
.techwix-link-article-content .techwix-link-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #4b5563;
    line-height: 1.5;
    margin: 0 0 20px;
    font-style: italic;
}

/* ── Tarjeta OG (fallback para webs con JS como Elementor) ── */
.techwix-link-card {
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    transition: box-shadow 0.25s ease;
}

.techwix-link-card:hover {
    box-shadow: 0 6px 24px rgba(0,0,0,0.12);
}

.techwix-link-card__image {
    width: 100%;
    max-height: 320px;
    overflow: hidden;
    background: #f3f4f6;
}

.techwix-link-card__image img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.techwix-link-card__image:hover img {
    transform: scale(1.02);
}

.techwix-link-card__body {
    padding: 24px 28px;
}

.techwix-link-card__description {
    font-size: 0.95rem;
    color: #6b7280;
    line-height: 1.65;
    margin: 0 0 20px;
}

.techwix-link-card__footer {
    display: flex;
    align-items: center;
    gap: 8px;
    border-top: 1px solid #f0f0f0;
    padding-top: 16px;
}

.techwix-link-card__favicon {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    flex-shrink: 0;
}

.techwix-link-card__site {
    font-size: 0.82rem;
    color: #9ca3af;
    flex: 1;
}

.techwix-link-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #246bfd;
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s ease;
}

.techwix-link-card__cta:hover {
    color: #1a55d4;
    gap: 8px;
}

@media (max-width: 600px) {
    .techwix-link-card__body { padding: 18px 20px; }
    .techwix-link-card__image img { height: 200px; }
}
@media (min-width:1200px){
.woocommerce div.product div.images {margin-bottom:100px;}
	}
/* ============================================================
   FINAL – Estilos para entradas de tipo "Enlace"
   ============================================================ */
body.elementor-page:not(.techwix-page-breadcrumb-disable) .tpc-site-content {padding:0px!important;}
.edu-blog.blog-style-1 .content {margin-bottom:30px;}
body.single-product .techwix-page-title-area.techwix-breadcrumb-has-bg {
    background-image: url("/wp-content/uploads/2026/07/bg-products.webp") !important;
}
body.woocommerce-shop .techwix-page-title-area.techwix-breadcrumb-has-bg {
    background-image: url("/wp-content/uploads/2026/07/bg-header-shop.webp") !important;
}
.elementor-icon-box-description a {color:#ffffff;}