.category-hero-perforacion {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #071f39 0%, #11456f 58%, #d17324 100%);
    color: #ffffff;
}

.category-hero-perforacion::after {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 380px;
    height: 380px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.11);
}

.category-hero-perforacion .container { position: relative; z-index: 1; }
.category-hero-perforacion .breadcrumbs,
.category-hero-perforacion .breadcrumbs a,
.category-hero-perforacion .breadcrumbs span,
.category-hero-perforacion h1,
.category-hero-perforacion p { color: #ffffff; }

.category-hero-perforacion + .content-shell .subcategory-card {
    display: flex;
    min-height: 180px;
    flex-direction: column;
    justify-content: space-between;
    text-decoration: none;
}

.category-hero-perforacion + .content-shell .subcategory-card h2 { margin: 0 0 10px; line-height: 1.18; color: #102b46; }
.category-hero-perforacion + .content-shell .subcategory-card:hover,
.category-hero-perforacion + .content-shell .subcategory-card:focus-visible { border-color: #d17324; transform: translateY(-3px); box-shadow: 0 22px 38px rgba(8, 36, 64, 0.11); }
.category-hero-perforacion + .content-shell .subcategory-card[data-ready="true"] { transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease; }

.drilling-subcategory-stack {
    display: grid;
    gap: 22px;
}

.drilling-subcategory-card {
    display: grid;
    gap: 18px;
    padding: 24px;
    border: 1px solid #dce6f2;
    border-radius: 24px;
    background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
    box-shadow: 0 18px 36px rgba(8, 36, 64, 0.08);
}

.drilling-subcategory-card h2 {
    margin: 0 0 8px;
    color: #102b46;
}

.drilling-subcategory-card > div > span {
    color: #5b748e;
    line-height: 1.65;
}

.drilling-preview-list {
    display: grid;
    gap: 12px;
}

.drilling-preview-list a {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    padding: 14px 16px;
    border: 1px solid #e1eaf3;
    border-radius: 16px;
    background: #ffffff;
    text-decoration: none;
}

.drilling-preview-list a:hover,
.drilling-preview-list a:focus-visible {
    border-color: #d17324;
    background: #fff8f1;
}

.drilling-preview-list small {
    color: #9a5a20;
    font-weight: 800;
}

.drilling-preview-list strong {
    color: #102b46;
    font-size: 0.95rem;
    line-height: 1.25;
}

.drilling-empty-preview {
    color: #6c8195;
    line-height: 1.6;
}

.drilling-subcategory-link {
    width: fit-content;
}

@media (max-width: 720px) { .category-hero-perforacion + .content-shell .subcategory-card { min-height: 150px; } }

.category-subcategory-stack { display: grid; gap: 22px; }
.category-subcategory-card { display: grid; gap: 18px; padding: 24px; border: 1px solid #dce6f2; border-radius: 24px; background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%); box-shadow: 0 18px 36px rgba(8, 36, 64, 0.08); }
.category-subcategory-card h2 { margin: 0 0 8px; color: #102b46; }
.category-subcategory-card > div > span { color: #5b748e; line-height: 1.65; }
.category-preview-list { display: grid; gap: 12px; }
.category-preview-list a { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 12px; align-items: center; padding: 14px 16px; border: 1px solid #e1eaf3; border-radius: 16px; background: #ffffff; text-decoration: none; }
.category-preview-list a:hover, .category-preview-list a:focus-visible { border-color: #d17324; background: #fff8f1; }
.category-preview-list small { color: #9a5a20; font-weight: 800; }
.category-preview-list strong { color: #102b46; font-size: 0.95rem; line-height: 1.25; }
.category-empty-preview { color: #6c8195; line-height: 1.6; }
.category-subcategory-link { width: fit-content; }
.block-stack { display: grid; gap: 20px; }
.article-card .tag { display: inline-block; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid rgba(11, 78, 162, 0.08); background: #eff5ff; color: #0b4ea2; font-size: 13px; font-weight: 700; }
.article-card p { line-height: 1.7; color: #56708c; }
.article-card .pill { margin-top: 8px; }
.article-card h3 { margin-bottom: 10px; font-size: 1.15rem; line-height: 1.3; }
@media (max-width: 720px) { .category-preview-list a, .drilling-preview-list a { grid-template-columns: 1fr; } }
