/*
Theme Name: X2X Converter
Theme URI: https://newiztech.com
Author: New Wiz Tech
Author URI: https://newiztech.com
Description: An attractive grid-based theme to display tool pages.
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: x2x-converter
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap');

body {font-family: 'Inter', sans-serif; background-color: #f8f9fa; margin: 0; padding: 0;}
a {text-decoration: none; color: inherit;}
header.site-header {background-color: #ffffff; border-bottom: 1px solid #e0e0e0; padding: 20px; text-align: center;}
header.site-header h1 {margin: 0; font-size: 24px; color: #333333;}
footer.site-footer {background-color: #ffffff; border-top: 1px solid #e0e0e0; padding: 20px; text-align: center; color: #777777; font-size: 14px;}

.tool-grid {
    grid-template-columns: repeat(5, 1fr);
    display: grid;
    gap: 20px;
    padding: 20px;
}


.tool-card .tool-icon {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
    object-fit: contain;
}
.tool-card .tool-title {
    margin: 0 0 8px 64px;
    font-size: 18px;
    color: inherit;
}
.tool-card 


/* Card Header Layout */


.tool-card a {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.tool-icon {
    width: 40px;
    height: 40px;
    margin-right: 12px;
    object-fit: contain;
    flex-shrink: 0;
}
.tool-title {
    margin: 0;
    font-size: 18px;
    color: inherit;
}



.tool-card {
    width: 100%;
    aspect-ratio: 1 / 1;
    
    
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 16px;
    box-sizing: border-box;
    transition: box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}
.tool-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
/* Header wrapper for icon + title */
.tool-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
.tool-card-header .tool-icon {
    width: 60px;
    height: 60px;
    margin-right: 12px;
    object-fit: contain;
}
.tool-card-header .tool-title {
    font-size: 18px;
    margin: 0;
    color: inherit;
}
.tool-desc {
    font-size: 14px;
    color: #555555;
    margin-top: auto;
}
