/**
 * Module: article_cta
 */

/* ============================================
   ARTICLE CTA
   ============================================ */

.t1-article-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    background: var(--jade-light);
    border-radius: 12px;
    border-left: 4px solid var(--jade);
}

.t1-article-cta__heading {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--ink);
    margin: 0;
}

.t1-article-cta__description {
    flex: 1 1 100%;
    margin: 0;
    font-size: 0.9375rem;
    color: var(--charcoal);
    order: 1;
}

.t1-article-cta__description > :first-child {
    margin-top: 0;
}

.t1-article-cta__description > :last-child {
    margin-bottom: 0;
}

.t1-article-cta__button {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.625rem 1.25rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff;
    background: var(--jade);
    border-radius: 8px;
    text-decoration: none;
    transition: background-color 0.2s;
}

.t1-article-cta__button:hover {
    background: var(--jade-dark);
}

/* Prominent variant */
.t1-article-cta--prominent {
    background: var(--jade);
    border-left: none;
    padding: 2rem;
}

.t1-article-cta--prominent .t1-article-cta__heading,
.t1-article-cta--prominent .t1-article-cta__button {
    color: #fff;
}

.t1-article-cta--prominent .t1-article-cta__button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.t1-article-cta--prominent .t1-article-cta__button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.t1-article-cta--prominent .t1-article-cta__description {
    color: rgba(255, 255, 255, 0.85);
}

/* Subtle variant */
.t1-article-cta--subtle {
    background: var(--pearl);
    border-left-color: var(--stone);
}

.t1-article-cta--subtle .t1-article-cta__button {
    background: var(--stone);
}

.t1-article-cta--subtle .t1-article-cta__button:hover {
    background: var(--charcoal);
}

/* ========================================
   LIGHT THEME OVERRIDE
   ======================================== */

.t1-article-cta--light {
    background: var(--jade-light);
    border-left-color: var(--jade);
}

.t1-article-cta--light .t1-article-cta__heading {
    color: var(--ink);
}

.t1-article-cta--light .t1-article-cta__description {
    color: var(--charcoal);
}

.t1-article-cta--light .t1-article-cta__button {
    color: #fff;
    background: var(--jade);
}

.t1-article-cta--light .t1-article-cta__button:hover {
    background: var(--jade-dark);
}

.t1-article-cta--light.t1-article-cta--prominent {
    background: var(--jade);
    border-left: none;
}

.t1-article-cta--light.t1-article-cta--prominent .t1-article-cta__heading,
.t1-article-cta--light.t1-article-cta--prominent .t1-article-cta__description {
    color: #fff;
}

.t1-article-cta--light.t1-article-cta--prominent .t1-article-cta__button {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.t1-article-cta--light.t1-article-cta--prominent .t1-article-cta__button:hover {
    background: rgba(255, 255, 255, 0.35);
}

.t1-article-cta--light.t1-article-cta--subtle {
    background: var(--pearl);
    border-left-color: var(--stone);
}

.t1-article-cta--light.t1-article-cta--subtle .t1-article-cta__button {
    background: var(--stone);
}

.t1-article-cta--light.t1-article-cta--subtle .t1-article-cta__button:hover {
    background: var(--charcoal);
}