.grid_g002 {
    max-width: var(--main-width, 1200px);
    margin: 0 auto;
    padding: 3rem 0;
}

.grid_g002-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.grid_g002-heading {
    font-size: var(--theme-font-size-h3, 1.5rem);
    font-weight: 700;
    color: var(--grid_g002-heading-color, #222222);
    display: inline-block;
    position: relative;
    padding-bottom: 0.5rem;
}

.grid_g002-heading::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 2.5rem;
    height: 0.2rem;
    background-color: var(--grid_g002-accent-color, #e65100);
    border-radius: 1px;
}

.grid_g002-subheading {
    font-size: var(--theme-font-size-h4, 1.3rem);
    color: var(--grid_g002-text-color, #666666);
    line-height: 1.6;
    margin-top: 0.75rem;
}

.grid_g002-grid {
    display: grid;
    grid-template-columns: repeat(var(--grid_g002-cols, 3), 1fr);
    gap: 1.5rem;
}

.grid_g002-item {
    opacity: 0;
    transform: translateY(1.5rem);
    animation: grid_g002-fadeInUp 0.5s ease forwards;
}

.grid_g002-item:nth-child(1) { animation-delay: 0s; }
.grid_g002-item:nth-child(2) { animation-delay: 0.08s; }
.grid_g002-item:nth-child(3) { animation-delay: 0.16s; }
.grid_g002-item:nth-child(4) { animation-delay: 0.24s; }
.grid_g002-item:nth-child(5) { animation-delay: 0.32s; }
.grid_g002-item:nth-child(6) { animation-delay: 0.4s; }
.grid_g002-item:nth-child(7) { animation-delay: 0.48s; }
.grid_g002-item:nth-child(8) { animation-delay: 0.56s; }
.grid_g002-item:nth-child(9) { animation-delay: 0.64s; }
.grid_g002-item:nth-child(10) { animation-delay: 0.72s; }
.grid_g002-item:nth-child(11) { animation-delay: 0.8s; }
.grid_g002-item:nth-child(12) { animation-delay: 0.88s; }

@keyframes grid_g002-fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.grid_g002-card {
    height: 100%;
    border: 1px solid var(--grid_g002-border-color, #e0e0e0);
    border-radius: 0.5rem;
    background: var(--grid_g002-card-bg, #f8f9fa);
    padding: 0;
    overflow: hidden;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
}

.grid_g002-card:hover {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.12);
    transform: translateY(-0.25rem);
}

.grid_g002-image-wrap {
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.grid_g002-image-wrap img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.grid_g002-card:hover .grid_g002-image-wrap img {
    transform: scale(1.05);
}

.grid_g002-body {
    padding: 1rem;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.grid_g002-title {
    font-size: var(--theme-font-size-h5, 1.25rem);
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #333333;
    margin-bottom: 0.4rem;
}

.grid_g002-content {
    font-size: var(--theme-font-size-body, 1rem);
    color: var(--grid_g002-text-color, #666666);
    line-height: 1.5;
}

[data-device="phone"] .grid_g002-grid {
    grid-template-columns: 1fr;
}

[data-device="pad"] .grid_g002-grid {
    grid-template-columns: repeat(2, 1fr);
}

[data-device="pc"] .grid_g002-grid {
    grid-template-columns: repeat(var(--grid_g002-cols, 3), 1fr);
}
