/* Debug Instructions Shortcode Styles */

.debug-instructions-container {

    margin: 0 auto;

}

/* Index - Lista produktów po kategoriach */
.debug-instructions-index {
    margin-bottom: 30px;
    column-count: 4;
    column-gap: 16px;
}

@media (max-width: 1200px) {
    .debug-instructions-index {
        column-count: 3;
    }
}

@media (max-width: 992px) {
    .debug-instructions-index {
        column-count: 2;
    }
}

@media (max-width: 576px) {
    .debug-instructions-index {
        column-count: 1;
    }
}

.debug-category-group {
    margin-bottom: 16px;
    break-inside: avoid;
    page-break-inside: avoid;
}

h2.debug-category-title {
    font-size: 18px;
    font-weight: bold;
    margin: 0!important;
    color: #505050;
}

.debug-products-list {
    list-style: none;
    
}
ul.debug-products-list {
    padding-left: 0px !important;
    margin: 0;
}
.debug-products-list li {
    line-height: 1.4;
    font-weight: 500;
   
}

.debug-products-list a {
    color: #505050;
    text-decoration: underline;
    text-decoration-color: #c0ce30;
    transition: color 0.2s ease;
    font-size: 14px;

}

.debug-products-list a:hover {
opacity: 0.7;
    text-decoration: none;
}

/* Separator */
.debug-separator {
    margin: 40px 0;
    border: none;
    border-top: 3px solid #c0ce30;
}

/* Szczegółowe instrukcje */
.debug-instructions-details {
    margin-top: 20px;
}

.debug-category-section {
    margin-bottom: 20px;
    border-bottom: 3px solid #c0ce30;
}

.debug-category-section-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 0px!important;
    padding-bottom: 15px;
}

.debug-product-instructions {
    margin-bottom: 40px;
    border-radius: 8px;
    scroll-margin-top: 100px; /* Scroll offset dla kotwic */
}

h3.debug-product-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #505050;

}

h3.debug-product-title > a > svg
{
    margin-left: 10px;
    vertical-align: middle;
}
/* Layout dwukolumnowy */
.debug-instructions-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.debug-instructions-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #505050;
}

.debug-instructions-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.debug-instructions-column ul li {
    padding-left: 15px;
    position: relative;
    text-decoration: underline;
    text-decoration-color: #c0ce30;
    line-height: 1.4;

}
.debug-instructions-column ul li:hover {
    text-decoration: none;
opacity: 0.7;
}

.debug-instructions-column ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    background-color: #505050;
    border-radius: 50%;
}

.debug-instructions-column ul
{
    padding-left: 0px !important;
}



.debug-instructions-column ul li a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 14px;
}

.debug-instructions-column ul li a:hover {

    text-decoration: underline;
    opacity: 0.7;
}

.debug-instructions-column ul li em {
    color: #999;
}

/* Divider dla instrukcji */
.debug-instructions-column ul li.has-divider {
    margin-bottom: 0;
    padding-bottom: 0;
}

.debug-instructions-column ul li.has-divider::after {
    content: '';
    display: block;
    height: 2px;

    margin: 10px 0;
}



/* Responsive */
@media (max-width: 768px) {
    .debug-instructions-index {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .debug-instructions-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .debug-category-title {
        font-size: 18px;
    }
    
    .debug-category-section-title {
        font-size: 24px;
    }
    
    .debug-product-title {
        font-size: 18px;
    }
}
