/* Wrapper to ensure centering and background if needed (optional) */
/* .gbc-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f3f4f6;
    padding: 1rem;
    min-height: 100%;
} */

/* Main Card */
.gbc-card {
    width: 100%;
    max-width: 80rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 0.5rem;
    transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

/* Slide animations */
.gbc-card.slide-out-left {
    transform: translateX(-100%);
    opacity: 0;
}

.gbc-card.slide-out-right {
    transform: translateX(100%);
    opacity: 0;
}

.gbc-card.slide-in-left {
    transform: translateX(-100%);
    opacity: 0;
    animation: slideInLeft 0.4s ease-in-out forwards;
}

.gbc-card.slide-in-right {
    transform: translateX(100%);
    opacity: 0;
    animation: slideInRight 0.4s ease-in-out forwards;
}

@keyframes slideInLeft {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideInRight {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@media (min-width: 768px) {
    .gbc-card {
        flex-direction: row;
    }
}

/* Image Section */
.gbc-image-section {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
    min-height: 400px;
    background-color: #1a1a1a;
    order: 1;
}

@media (min-width: 768px) {
    .gbc-image-section {
        width: 50%;
        min-height: 600px;
        order: 2;
    }
}

.gbc-image-bg {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gbc-image-container {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gbc-main-image {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Content Section */
.gbc-content-section {
    width: 100%;
    background-color: #0a0a0a;
    padding: 2rem;
    /* p-8 */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    order: 2;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .gbc-content-section {
        width: 50%;
        padding: 3rem;
        /* p-12 */
        order: 1;
    }
}

.gbc-content-top {
    flex: 1;
}

/* Badge */
.gbc-badge {
    display: inline-block;
    background-color: #ffffff;
    color: #1F1B4E;
    font-size: 0.75rem;
    /* text-xs */
    font-weight: 700;
    /* font-bold */
    padding: 0.25rem 0.75rem;
    /* px-3 py-1 */
    border-radius: 0.25rem;
    /* rounded */
    margin-bottom: 1.5rem;
    /* mb-6 */
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .gbc-badge {
        margin-bottom: 2rem;
        /* mb-8 */
    }
}

/* Title */
.gbc-title {
    color: #ffffff;
    font-size: 1.25rem;
    /* text-xl */
    font-weight: 700;
    margin-bottom: 1rem;
    /* mb-4 */
    line-height: 1.25;
}

@media (min-width: 768px) {
    .gbc-title {
        font-size: 1.5rem;
        /* text-2xl */
        margin-bottom: 1.5rem;
        /* mb-6 */
    }
}

/* Description */
.gbc-description {
    color: #9ca3af;
    /* text-gray-400 */
    font-size: 1rem;
    /* text-base */
    line-height: 1.625;
    margin-bottom: 1.5rem;
    /* mb-6 */
}

@media (min-width: 768px) {
    .gbc-description {
        font-size: 1.125rem;
        /* text-lg */
        margin-bottom: 2rem;
        /* mb-8 */
    }
}

/* Read More Link */
.gbc-read-more-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    /* gap-3 */
    cursor: pointer;
    text-decoration: none;
    width: fit-content;
}

.gbc-read-more-line {
    height: 2px;
    width: 3rem;
    /* w-12 */
    background-color: #ffffff;
    transition: width 0.3s ease;
}

.gbc-read-more-group:hover .gbc-read-more-line {
    width: 4rem;
    /* w-16 */
}

.gbc-read-more-text {
    color: #ffffff;
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 600;
    letter-spacing: 0.05em;
    /* tracking-wider */
    text-transform: uppercase;
}

/* Navigation Buttons */
.gbc-nav-container {
    display: flex;
    border-top: 1px solid #1f2937;
    /* border-gray-800 */
    margin-top: 2rem;
    /* mt-8 */
}

.gbc-nav-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    /* gap-2 */
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: #ffffff;
    background-color: transparent;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s;
    text-decoration: none;
}

.gbc-nav-btn:hover {
    background-color: #111827;
    /* bg-gray-900 */
}

.gbc-nav-prev {
    border-right: 1px solid #1f2937;
    /* border-gray-800 */
}

.gbc-nav-text {
    font-size: 0.875rem;
    /* text-sm */
    font-weight: 600;
    letter-spacing: 0.05em;
    /* tracking-wider */
    text-transform: uppercase;
}

.gbc-icon {
    width: 1rem;
    height: 1rem;
}