/**
 * Condalab Modificaciones Styles
 */

/* ===== PS OVERRIDES ===== */
#module-cdlmodificaciones-mods #wrapper { padding-top: 0; }
#module-cdlmodificaciones-mods #content-wrapper { padding: 0; max-width: 100%; }
#module-cdlmodificaciones-mods #wrapper > .container { max-width: 100%; padding: 0; }
#module-cdlmodificaciones-mods .page-content { padding: 0; }
#module-cdlmodificaciones-mods #wrapper .breadcrumb { display: none; }

/* ===== HERO ===== */
.cdl-mods-hero {
    position: relative;
    background: #000;
    color: #fff;
    overflow: hidden;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 48px 0 64px;
}

.cdl-mods-hero__inner { position: relative; z-index: 2; }

.cdl-mods-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 16px;
    font-family: 'Inter', sans-serif;
}

.cdl-mods-hero__breadcrumb a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    transition: color 0.2s;
}

.cdl-mods-hero__breadcrumb a:hover { color: #fff; }
.cdl-mods-hero__breadcrumb svg { color: rgba(255, 255, 255, 0.3); }
.cdl-mods-hero__breadcrumb-active { color: #EBBE18; }

.cdl-mods-hero__title {
    font-family: 'Jost', sans-serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 12px;
    color: #fff;
}

.cdl-mods-hero__title--yellow { color: #EBBE18; }

.cdl-mods-hero__desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 640px;
    line-height: 1.6;
    margin: 0;
}

.cdl-mods-hero__wave {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    z-index: 1;
    line-height: 0;
}

.cdl-mods-hero__wave img { width: 100%; display: block; }

/* ===== CONTENT ===== */
.cdl-mods {
    max-width: 960px;
    margin: 0 auto;
    padding: 48px 20px 80px;
}

.cdl-mods__intro {
    font-size: 1.05rem;
    color: #555;
    line-height: 1.7;
    margin: 0 0 40px;
    max-width: 760px;
}

/* ===== SECTIONS ===== */
.cdl-mods__section {
    margin-bottom: 48px;
}

.cdl-mods__section-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.cdl-mods__section-badge {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    background: #EBBE18;
    color: #000;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Jost', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
}

.cdl-mods__section-badge--int {
    font-size: 0.85rem;
    background: #009A17;
    color: #fff;
}

.cdl-mods__section-title {
    font-family: 'Jost', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 4px;
}

.cdl-mods__section-desc {
    color: #777;
    font-size: 0.9rem;
    margin: 0;
}

/* ===== CATEGORIES ===== */
.cdl-mods__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.cdl-mods__category {
    background: #fafafa;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 20px;
}

.cdl-mods__cat-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #999;
    margin: 0 0 12px;
}

/* ===== TAGS ===== */
.cdl-mods__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.cdl-mods__tag {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 500;
    color: #333;
    font-family: 'Inter', sans-serif;
}

.cdl-mods__tag--fluor {
    background: #fff8e1;
    border-color: #EBBE18;
    color: #8a6d00;
}

.cdl-mods__tag--quench {
    background: #f0f0f0;
    border-color: #999;
    color: #444;
}

/* ===== NOTE ===== */
.cdl-mods__note {
    background: #f8f8f0;
    border-left: 4px solid #EBBE18;
    border-radius: 0 8px 8px 0;
    padding: 20px 24px;
    margin-top: 8px;
}

.cdl-mods__note p {
    color: #555;
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .cdl-mods-hero { padding: 32px 0 48px; }
    .cdl-mods-hero__title { font-size: 2rem; }
    .cdl-mods { padding: 32px 16px 60px; }
    .cdl-mods__grid { grid-template-columns: 1fr; }
}
