/* ============================================================
   custom-websites-vs-website-platforms.css
   Bespoke layout for Custom Websites vs Platforms article
   Overrides article-card defaults where needed.
   Hero, res-bar and nav come from articles.css unchanged.
   ============================================================ */

/* ── Reset article-card left border for this page ─────────── */
.article-card {
    border-left: none;
    padding: 35px 40px;
}

/* ── Intro card — clean, no border, centred intro text ─────── */
.card-intro {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 25px;
    text-align: center;
    border-top: 5px solid #6a39b7;
}

.card-intro h2 {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card-intro p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    max-width: 680px;
    margin: 0 auto 15px;
}

.card-intro p:last-child {
    margin-bottom: 0;
}

/* ── Standard section card ─────────────────────────────────── */
.card-standard {
    background: #fff;
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 25px;
    border-left: 5px solid #6a39b7;
}

.card-standard h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card-standard p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.card-standard p:last-child {
    margin-bottom: 0;
}

/* ── Warning card — amber, grabs scanners ──────────────────── */
.card-warning {
    background: #fffbf0;
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 25px;
    border-left: 6px solid #e67e22;
}

.card-warning h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #c0392b;
    margin-bottom: 15px;
}

.card-warning p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.card-warning p:last-child {
    margin-bottom: 0;
}

/* Warning card label badge */
.warn-label {
    display: inline-block;
    background: #e67e22;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 3px 12px;
    border-radius: 20px;
    margin-bottom: 12px;
}

/* ── Comparison card — two columns, platform vs custom ─────── */
.card-compare {
    background: #fff;
    border-radius: 16px;
    padding: 35px 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 25px;
}

.card-compare h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    text-align: center;
}

.compare-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 10px;
}

.compare-col {
    border-radius: 10px;
    padding: 22px 24px;
}

.compare-col.platform {
    background: #fff5f5;
    border-top: 4px solid #e74c3c;
}

.compare-col.custom {
    background: #f0fdf4;
    border-top: 4px solid #27ae60;
}

.compare-col-label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.platform .compare-col-label { color: #e74c3c; }
.custom   .compare-col-label { color: #27ae60; }

.compare-col p {
    font-size: 0.97rem;
    color: #333;
    line-height: 1.7;
    margin: 0;
}

/* ── Pull quote — large single line for scanners ───────────── */
.card-pullquote {
    background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
    border-radius: 16px;
    padding: 40px 45px;
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
    margin-bottom: 25px;
    text-align: center;
    position: relative;
}

.card-pullquote::before {
    content: '\201C';
    position: absolute;
    top: 10px;
    left: 28px;
    font-size: 5rem;
    color: #6a39b7;
    line-height: 1;
    font-family: Georgia, serif;
    opacity: 0.6;
}

.card-pullquote p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    color: #fff;
    line-height: 1.6;
    font-weight: 600;
    margin: 0;
    position: relative;
    z-index: 1;
}

/* ── Conclusion card ───────────────────────────────────────── */
.card-conclusion {
    background: linear-gradient(135deg, #f5f0ff 0%, #ede0ff 100%);
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.07);
    margin-bottom: 25px;
    border-left: 6px solid #6a39b7;
}

.card-conclusion h2 {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.card-conclusion p {
    font-size: 1.05rem;
    color: #333;
    line-height: 1.8;
    margin-bottom: 15px;
}

.card-conclusion p:last-child {
    margin-bottom: 0;
}

/* ── Key fact callout — inline within any card ─────────────── */
.key-fact {
    background: #f0ebff;
    border-left: 4px solid #6a39b7;
    border-radius: 0 8px 8px 0;
    padding: 14px 18px;
    margin: 18px 0;
    font-size: 1rem;
    color: #2c3e50;
    font-weight: 600;
    line-height: 1.6;
}

/* ── Responsive ────────────────────────────────────────────── */
@media (max-width: 640px) {
    .compare-grid {
        grid-template-columns: 1fr;
    }

    .card-intro,
    .card-standard,
    .card-warning,
    .card-compare,
    .card-pullquote,
    .card-conclusion {
        padding: 28px 22px;
    }

    .card-pullquote::before {
        font-size: 3.5rem;
        top: 8px;
        left: 16px;
    }
}
