/*
Theme Name: Banner Trio Showcase
Theme URI: https://example.com/banner-trio
Author: Custom Theme Generator
Author URI: https://example.com
Description: A clean, fast, light-weight WordPress theme designed specifically to showcase three side-by-side promotional banners linking to external or internal sites.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: banner-trio
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    background-color: #f4f6f9;
    color: #333333;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header.site-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    padding: 2rem 1rem;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

header.site-header h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

header.site-header p {
    font-size: 1.1rem;
    color: #64748b;
}

main.site-content {
    flex: 1;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.banner-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    align-items: stretch;
}

.banner-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.banner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 30px -10px rgba(0, 0, 0, 0.15), 0 10px 15px -5px rgba(0, 0, 0, 0.08);
}

.banner-card a.banner-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.banner-card .banner-img-wrapper {
    width: 100%;
    position: relative;
    overflow: hidden;
    background-color: #e2e8f0;
}

.banner-card img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.banner-card:hover img {
    transform: scale(1.03);
}

.banner-card .banner-info {
    padding: 1.5rem;
    text-align: center;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    margin-top: auto;
}

.banner-card .banner-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 0.5rem;
}

.banner-card .banner-url {
    font-size: 0.9rem;
    color: #2563eb;
    font-weight: 500;
}

footer.site-footer {
    background-color: #1e293b;
    color: #94a3b8;
    text-align: center;
    padding: 2rem 1rem;
    margin-top: auto;
    font-size: 0.95rem;
}

footer.site-footer a {
    color: #cbd5e1;
    text-decoration: none;
}

footer.site-footer a:hover {
    text-decoration: underline;
}

/* Responsive Layout */
@media (max-width: 992px) {
    .banner-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .banner-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    main.site-content {
        padding: 1.5rem 1rem;
    }

    header.site-header h1 {
        font-size: 1.75rem;
    }
}
