/* =========================================================
   GC Method Steps Widget — Stylesheet
   ========================================================= */

/* Wrapper */
.gc-method-wrapper {
    width: 100%;
    box-sizing: border-box;
}

/* Grid */
.gc-method-grid {
    display: grid;
    gap: 24px;
    align-items: stretch;
}

.gc-method-cols-1 { grid-template-columns: 1fr; }
.gc-method-cols-2 { grid-template-columns: repeat(2, 1fr); }
.gc-method-cols-3 { grid-template-columns: repeat(3, 1fr); }
.gc-method-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Card wrapper (handles the gradient border trick) */
.gc-method-card-wrapper {
    border-radius: 14px;
    /* default: no border */
    background: transparent;
    padding: 0;
}

/* Highlighted card – gradient border via border-box background */
.gc-method-card-highlighted {
    background: linear-gradient(#c0394b, #00bcd4) border-box;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 0 !important; /* inner card provides padding */
}

/* Inner card */
.gc-method-card {
    background-color: #2a2a2a;
    border-radius: 12px;
    padding: 36px 32px;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* When the wrapper has a highlighted border, the inner card needs to sit flush */
.gc-method-card-highlighted .gc-method-card {
    border-radius: 11px; /* slightly less than wrapper to show border */
}

/* Step Number */
.gc-step-number {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 16px;
    /* gradient applied via inline <style> per widget instance */
    background: linear-gradient(135deg, #8b1a2f, #c0394b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-family: inherit;
}

/* Icon / Emoji */
.gc-step-icon {
    font-size: 40px;
    line-height: 1;
    margin-bottom: 20px;
    display: block;
    -webkit-text-fill-color: initial; /* override gradient for emoji */
    background: none;
}

/* Title */
.gc-step-title {
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    padding: 0;
    line-height: 1.3;
    letter-spacing: 0.02em;
    font-family: inherit;
}

/* Description */
.gc-step-desc {
    font-size: 15px;
    color: #b0b0b0;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    font-family: inherit;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1024px) {
    .gc-method-cols-4 { grid-template-columns: repeat(2, 1fr); }
    .gc-method-cols-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 767px) {
    .gc-method-cols-2,
    .gc-method-cols-3,
    .gc-method-cols-4 {
        grid-template-columns: 1fr;
    }

    .gc-step-number {
        font-size: 56px;
    }
}
