/* CTA Block Frontend Styles */
.wp-block-crates-cta-block {
    width: 100%;
    margin: 2rem 0;
}

.crates-cta-block__container {
    background-color: #0F2922; /* bg-[#0F2922] */
    border-radius: 1rem; /* rounded-2xl */
    padding: 2rem; /* p-8 */
    text-align: center; /* text-center */
    color: #ffffff;
}

.crates-cta-block__title {
    font-size: 1.5rem; /* text-2xl */
    font-weight: 700; /* font-bold */
    margin-bottom: 1rem; /* mb-4 */
    line-height: 1.25;
    color: #ffffff;
}

.crates-cta-block__description {
    color: #D1D5DB; /* text-gray-300 */
    margin-bottom: 2rem; /* mb-8 */
    max-width: 32rem; /* max-w-2xl */
    margin-left: auto; /* mx-auto */
    margin-right: auto;
    line-height: 1.6;
}

.crates-cta-block__stats {
    display: flex;
    flex-direction: column; /* flex-col */
    justify-content: center; /* justify-center */
    gap: 1rem; /* gap-4 */
    margin-bottom: 2rem; /* mb-8 */
}

.crates-cta-block__stat-card {
    background-color: #163832; /* bg-[#163832] */
    border-radius: 0.75rem; /* rounded-xl */
    padding: 1.5rem; /* p-6 */
    width: 100%;
}

.crates-cta-block__stat-value {
    font-size: 1.875rem; /* text-3xl */
    font-weight: 700; /* font-bold */
    color: #F39A76; /* text-[#F39A76] */
    margin-bottom: 0.5rem; /* mb-2 */
    line-height: 1.2;
}

.crates-cta-block__stat-label {
    font-size: 0.875rem; /* text-sm */
    color: #D1D5DB; /* text-gray-300 */
}

.crates-cta-block__button {
    background-color: #F39A76; /* bg-[#F39A76] */
    color: #0A1914; /* text-[#0A1914] */
    font-weight: 500; /* font-medium */
    padding: 0.75rem 2rem; /* px-8 py-3 */
    border-radius: 9999px; /* rounded-full */
    font-size: 1.125rem; /* text-lg */
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.2s ease-in-out; /* transition-colors */
}

.crates-cta-block__button:hover {
    background-color: #f38a5e; /* hover:bg-[#f38a5e] */
    color: #0A1914;
    text-decoration: none;
}

.crates-cta-block__button:focus {
    outline: none;
    box-shadow: 0 0 0 2px #F39A76;
}

/* Medium devices and up (md:) */
@media (min-width: 768px) {
    .crates-cta-block__container {
        padding: 3rem; /* md:p-12 */
    }

    .crates-cta-block__title {
        font-size: 1.875rem; /* md:text-3xl */
    }

    .crates-cta-block__stats {
        flex-direction: row; /* md:flex-row */
        gap: 1rem;
    }

    .crates-cta-block__stat-card {
        width: 15rem; /* md:w-60 */
        flex-shrink: 0;
    }
}

/* Large devices and up (lg:) */
@media (min-width: 1024px) {
    .crates-cta-block__title {
        font-size: 2.25rem; /* lg:text-4xl */
    }
}

/* Ensure proper spacing in WordPress editor */
.wp-block-crates-cta-block.alignwide,
.wp-block-crates-cta-block.alignfull {
    width: 100%;
}

.wp-block-crates-cta-block.alignfull .crates-cta-block__container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}