/* =========================================================
   Grid Card Slider — Frontend Styles (color-free)
   ========================================================= */

.gcs-slider-wrapper {
    position: relative;
    padding: 40px 60px;
    overflow: hidden;
    box-sizing: border-box;
    user-select: none;
}

.gcs-viewport {
    overflow: hidden;
    width: 100%;
}

.gcs-track {
    display: flex;
    gap: 16px;
    transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
}

.gcs-card {
    flex: 0 0 auto;
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gcs-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.gcs-card-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
}

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

.gcs-card:hover .gcs-card-image img {
    transform: scale(1.04);
}

.gcs-card-image a {
    display: block;
    width: 100%;
    height: 100%;
}

.gcs-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 10px;
}

.gcs-card-heading {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
}

.gcs-card-heading a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.gcs-card-heading a:hover {
    opacity: 0.8;
}

.gcs-card-desc {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    flex-grow: 1;
}

.gcs-card-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
    padding-top: 10px;
    border-top: 1px solid rgba(128,128,128,0.2);
}

.gcs-card-links a {
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: opacity 0.2s ease, gap 0.2s ease;
}

.gcs-card-links a:hover {
    opacity: 0.75;
    gap: 8px;
}

.gcs-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-60%);
    z-index: 10;
    border: 1px solid currentColor;
    background: transparent;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease, transform 0.2s ease;
    padding: 0;
}

.gcs-arrow:hover {
    opacity: 0.7;
    transform: translateY(-60%) scale(1.08);
}

.gcs-arrow-prev { left: 10px; }
.gcs-arrow-next { right: 10px; }

.gcs-arrow.gcs-disabled {
    opacity: 0.2;
    pointer-events: none;
}

.gcs-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
    padding-bottom: 4px;
}

.gcs-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    padding: 0;
    opacity: 0.35;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gcs-dot.active {
    opacity: 1;
    transform: scale(1.3);
}

@media (max-width: 1024px) { .gcs-slider-wrapper { padding: 30px 50px; } }
@media (max-width: 768px)  { .gcs-slider-wrapper { padding: 20px 44px; } .gcs-card-heading { font-size: 16px; } }
@media (max-width: 480px)  { .gcs-slider-wrapper { padding: 20px 40px; } }
