/*
Theme Name: Free Icons
Theme URI:
Author:
Description: Minimal icon directory theme
Version: 1.0
*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #111;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Header */

.site-header {
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 40px;
    border-bottom: 1px solid #eee;
}

.logo {
    font-size: 22px;
    font-weight: bold;
}

.search {
    flex: 1;
    max-width: 400px;
    margin: 0 40px;
}

.search input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
}

.menu-toggle {
    cursor: pointer;
    font-size: 26px;
}

/* Menu */

.menu-panel {
    display: none;
    position: absolute;
    right: 40px;
    top: 70px;
    background: white;
    border: 1px solid #ddd;
    padding: 20px;
    z-index: 10;
}

.menu-panel.active {
    display: block;
}

/* Grid */

.container {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
}
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 30px;
    align-items: start;
}

.icon-card {
    width: 100%;
    height: auto;
    align-self: start;
}

.icon-card a {
    display: block;
}

.icon-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border: 1px solid #eee;
    border-radius: 10px;
}

.icon-card h2 {
    margin: 10px 0 0;
    font-size: 16px;
    line-height: 1.3;
}

/* Single */

.single-icon img {
    max-width: 450px;
    height:auto;
}

.download-btn {
    display: inline-block;
    margin-top: 25px;
    background: #111;
    color: white;
    padding: 14px 30px;
    border-radius: 6px;
}

/* Footer */

footer {
    padding: 30px;
    text-align: center;
    border-top: 1px solid #eee;
}