﻿/* ============================= */
/* FEATURE BANNER (BASE) */
/* ============================= */

.feature-banner {
    padding: 24px;
    margin: 20px 0;
    color: #ffffff;
    background: linear-gradient(135deg, #168f7a 0%, #1aa37a 60%, #6bcf4a 100%);
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.08);
    transition: all 0.2s ease;
}

/* Hover effect */
.feature-banner:hover {
    transform: translateY(-2px);
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.12);
}

/* ============================= */
/* TYPOGRAPHY (IMPORTANT FIX) */
/* ============================= */

/* Let all text inherit from parent */
.feature-banner h1,
.feature-banner h2,
.feature-banner h3,
.feature-banner h4,
.feature-banner p,
.feature-banner small,
.feature-banner a,
.feature-banner li,
.feature-banner blockquote {
    color: inherit;
}

/* Heading sizes */
.feature-banner h1 { font-size: 30px; font-weight: 700; margin-bottom: 10px; }
.feature-banner h2 { font-size: 24px; font-weight: 600; margin-bottom: 10px; }
.feature-banner h3 { font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.feature-banner h4 { font-size: 16px; font-weight: 500; margin-bottom: 10px; }

/* Paragraph */
.feature-banner p {
    font-size: 15px;
    margin-bottom: 10px;
    opacity: 0.9;
}

/* Small text */
.feature-banner small {
    opacity: 0.75;
}

/* Links */
.feature-banner a {
    text-decoration: underline;
}

.feature-banner a:hover {
    opacity: 0.85;
}

/* Lists */
.feature-banner ul,
.feature-banner ol {
    margin: 10px 0 10px 20px;
}

.feature-banner li {
    margin-bottom: 6px;
}

/* Blockquote */
.feature-banner blockquote {
    border-left: 4px solid rgba(255,255,255,0.4);
    padding-left: 12px;
    margin: 12px 0;
}

/* ============================= */
/* VARIANTS */
/* ============================= */

/* Default (GREEN) */
.feature-banner.green {
    background: linear-gradient(135deg, #00acba, #1aa37a, #6bcf4a);
    color: #ffffff;
}

/* BLUE */
.feature-banner.blue {
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #ffffff;
}

/* ORANGE (BLACK TEXT FIX) */
.feature-banner.orange {
    background: linear-gradient(135deg, #f46b45, #eea849);
    color: #000000;
}

/* ============================= */
/* SIZE VARIANTS */
/* ============================= */

.feature-banner.large {
    padding: 32px 28px;
}

.feature-banner.small {
    padding: 14px 12px;
}

/* ============================= */
/* ALIGNMENT */
/* ============================= */

.feature-banner.center {
    text-align: center;
}

/* ============================= */
/* SHAREPOINT OVERRIDE FIX 🔥 */
/* ============================= */

/* Force override if SharePoint still breaks it */
.feature-banner.green h1,
.feature-banner.green h2,
.feature-banner.green h3,
.feature-banner.green h4 {
    color: #ffffff !important;
}

.feature-banner.orange h1,
.feature-banner.orange h2,
.feature-banner.orange h3,
.feature-banner.orange h4 {
    color: #000000 !important;
}
/* ============================= */
/* FEATURE BUTTON (BASE) */
/* ============================= */

.feature-banner .btn-feature {
    display: inline-block;
    padding: 10px 22px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.25s ease;
    cursor: pointer;
}

/* ============================= */
/* GREEN BUTTON */
/* ============================= */

.feature-banner.green .btn-feature {
    background: #ffffff;
    color: #168f7a;
    border-color: #ffffff;
}

.feature-banner.green .btn-feature:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* ============================= */
/* BLUE BUTTON */
/* ============================= */

.feature-banner.blue .btn-feature {
    background: #ffffff;
    color: #1e3c72;
    border-color: #ffffff;
}

.feature-banner.blue .btn-feature:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

/* ============================= */
/* ORANGE BUTTON */
/* ============================= */

.feature-banner.orange .btn-feature {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.feature-banner.orange .btn-feature:hover {
    background: transparent;
    color: #000000;
    border-color: #000000;
}