/* Dynamic Converter - Grid & Box Styles */

.conversion-tabs-box {
    border: 1px solid #ddd;
    border-radius: 6px;
    margin-top: 30px;
    overflow: hidden;
    background: #fff;
}

.conversion-tabs-box .tabs-header {
    display: flex;
    background: #f9f9f9;
    border-bottom: 1px solid #ddd;
}

.conversion-tabs-box .tab-btn {
    flex: 1;
    border: none;
    background: #f9f9f9;
    padding: 15px;
    cursor: pointer;
    font-weight: 500;
    color: #555;
    border-bottom: 3px solid transparent;
    font-size: 16px;
    transition: all 0.2s ease;
}

.conversion-tabs-box .tab-btn.active {
    background: white;
    border-bottom: 3px solid #0073aa;
    font-weight: bold;
    color: #0073aa;
}

.conversion-tabs-box .tab-content {
    padding: 20px;
    display: none; /* Hidden by default */
}

.conversion-tabs-box .tab-content.active {
    display: block;
}

/* Grid List Styles */
.duc-grid-list {
    list-style: none !important; 
    padding: 0 !important; 
    margin: 0 !important;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
}

.duc-grid-list li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hide Bullets Forcefully */
.duc-grid-list li::before,
.neighbour-links li::before {
    display: none !important;
    content: "" !important;
}

/* Link Button Styles */
.duc-grid-link {
    display: flex !important;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 60px; /* FIXED HEIGHT */
    width: 100%;
    padding: 10px;
    box-sizing: border-box;
    border-radius: 4px;
    text-decoration: none !important;
    font-weight: 500;
    line-height: 1.2;
    transition: opacity 0.2s;
}

.duc-grid-link:hover {
    opacity: 0.9;
}

.duc-grid-link.more-link {
    background: #f0f7fb;
    border: 1px solid #cce4f2;
    color: #0073aa;
}

.duc-grid-link.pop-link {
    background: #fff3cd;
    border: 1px solid #ffeeba;
    color: #856404;
}