/* Styles for related tools shortcode */
.otsm-related-tools {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    margin: 30px 0;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.otsm-related-tools h3 {
    margin: 0 0 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    color: #1a1a1a;
    font-size: 1.6em;
    font-weight: 600;
}

.related-tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.tool-item {
    background: #ffffff;
    border: 1px solid #eef0f5;
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: flex-start;
    padding: 20px;
}

.tool-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
    border-color: #e0e4e9;
}

.tool-icon {
    flex: 0 0 60px;
    margin-right: 15px;
}

.tool-thumbnail {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.default-thumbnail {
    background: #f8f9fa;
    padding: 10px;
}

.tool-content {
    flex: 1;
}

.tool-title {
    margin: 0 0 10px;
    font-size: 1.1em;
    line-height: 1.3;
    font-weight: 600;
}

.tool-title a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tool-title a:hover {
    color: #007cba;
}

.tool-description {
    color: #666;
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 15px;
}

.tool-meta {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 10px;
}

.tool-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-right: 10px;
}

.category-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f0f7ff;
    color: #0066cc;
    border-radius: 6px;
    font-size: 0.75em;
    text-decoration: none;
    transition: all 0.2s ease;
}

.category-tag:hover {
    background: #e0f0ff;
    color: #0052cc;
    text-decoration: none;
}

.tool-link {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: #007cba;
    color: white;
    border-radius: 6px;
    font-size: 0.85em;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tool-link:hover {
    background: #006ba1;
    color: white;
    text-decoration: none;
}

.tool-link .arrow {
    margin-left: 5px;
    transition: transform 0.2s ease;
}

.tool-link:hover .arrow {
    transform: translateX(3px);
}
.tool-item {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}
.tool-icon img {
    width: 60px;
    border: 1px solid rgb(76, 0, 255);
    border-radius: 8px;
    padding: 2px;
}
.tool-title {
    margin-top: 0;
    margin-bottom: 10px;
}
.tool-categories {
    display: flex;
}
.tool-categories .category-tag {
    background: #ddd;
    border-radius: 15px;
    font-size: 12px;
    padding: 2px 8px;
}
.tool-link {
    color: var(--awb-color5);
}
/* Responsive design */
@media (max-width: 1024px) {
    .related-tools-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .otsm-related-tools {
        padding: 20px;
    }
    
    .related-tools-grid {
        grid-template-columns: 1fr;
    }
    
    .tool-item {
        padding: 15px;
    }
    
    .tool-title {
        font-size: 1em;
    }
    
    .tool-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tool-link {
        width: 100%;
        justify-content: center;
    }
} 