/*
 * MyProtector brand overrides for Renick Dawn
 */

:root {
    /* MyProtector brand colours */
    --dawn-brand: #3786AF;
    --dawn-brand-2: #286D94;
    --dawn-accent: #5AA8D1;

    --dawn-grad: linear-gradient(
        120deg,
        #286D94 0%,
        #3786AF 45%,
        #5AA8D1 100%
    );

    /* Bootstrap integration */
    --bs-primary: #3786AF;
    --bs-primary-rgb: 55, 134, 175;

    --bs-link-color: #3786AF;
    --bs-link-color-rgb: 55, 134, 175;
    --bs-link-hover-color: #286D94;
}

/* Blog tags / chips */
.dawn-chip {
    background: #EAF5FA;
    border-color: #CFE8F4;
    color: #286D94;
}

a.dawn-chip:hover {
    background: #3786AF;
    border-color: #3786AF;
    color: #fff;
}

.dawn-chip--active {
    background: #3786AF;
    border-color: #3786AF;
    color: #fff;
}

/* Decorative Dawn orange blob -> MyProtector blue */
.dawn-blob-1 {
    background: #5AA8D1;
}

/* Bootstrap / Dawn primary buttons */
.btn-primary {
    --bs-btn-bg: #3786AF;
    --bs-btn-border-color: #3786AF;
    --bs-btn-hover-bg: #286D94;
    --bs-btn-hover-border-color: #286D94;
    --bs-btn-active-bg: #286D94;
    --bs-btn-active-border-color: #286D94;
}

.btn-outline-primary {
    --bs-btn-color: #3786AF;
    --bs-btn-border-color: #3786AF;
    --bs-btn-hover-bg: #3786AF;
    --bs-btn-hover-border-color: #3786AF;
    --bs-btn-active-bg: #286D94;
    --bs-btn-active-border-color: #286D94;
}

/* MyProtector forced brand overrides */
.dawn-kicker,
.dawn-eyebrow,
.dawn-section-title,
.dawn-meta a,
.dawn-meta a:visited {
    color: #3786AF !important;
}

.dawn-chip {
    background-color: #EAF5FA !important;
    border-color: #CFE8F4 !important;
    color: #286D94 !important;
}

a.dawn-chip:hover,
.dawn-chip--active {
    background-color: #3786AF !important;
    border-color: #3786AF !important;
    color: #FFFFFF !important;
}

/* MyProtector neutral / blue background overrides */

.dawn-hero,
.dawn-section-tint {
    background:
        radial-gradient(circle at 85% 20%, rgba(90, 168, 209, 0.18), transparent 34%),
        radial-gradient(circle at 10% 10%, rgba(55, 134, 175, 0.10), transparent 30%),
        #FFFFFF;
}

.dawn-kicker {
    background: #EAF5FA;
    color: #286D94 !important;
}

.dawn-nav .active,
.dawn-nav a.active {
    background: #EAF5FA;
    color: #286D94;
}

.dawn-blob-1 {
    background: #5AA8D1;
}

.dawn-blob-2 {
    background: #3786AF;
}

.dawn-gradient-soft,
.dawn-post-card__media {
    background: #F5FAFD;
}

/* Final MyProtector brand cleanup */

/* Active navigation item */
.dawn-nav .nav-link.active,
.dawn-nav .nav-link[aria-current="page"] {
    background: #EAF5FA;
    color: #286D94;
}

/* Eyebrow / section label */
.dawn-eyebrow {
    background: #EAF5FA;
    color: #286D94 !important;
    border-color: #CFE8F4;
}

/* Remove warm/orange glow from primary CTA */
.dawn-btn-grad {
    box-shadow: 0 8px 24px rgba(55, 134, 175, 0.22);
}

/* Keep hover fully on-brand */
.dawn-btn-grad:hover {
    box-shadow: 0 10px 28px rgba(40, 109, 148, 0.28);
}

/* Replace remaining warm tinted section backgrounds */
.dawn-section-tint {
    background: linear-gradient(180deg, #F5FAFD, #FFFFFF);
}

/* Final navbar / mega-menu warm colour cleanup */

/* Open / active Explore button */
.dawn-nav-disclosure[aria-expanded="true"],
.dawn-nav-disclosure:hover,
.dawn-nav-disclosure:focus {
    background: #EAF5FA !important;
    color: #286D94 !important;
}

/* Mega-menu highlighted / hovered links */
.dawn-megapanel__link:hover,
.dawn-megapanel__link:focus,
.dawn-megapanel__link.active {
    background: #F5FAFD !important;
    border-color: #3786AF !important;
    color: #286D94 !important;
}

/* Remove any remaining warm tint from mega-menu card/panel */
.dawn-megapanel,
.dawn-megapanel__card {
    background-color: #FFFFFF !important;
}

/* If a mega-menu item has a tinted accent background */
.dawn-megapanel__link--icon:hover,
.dawn-megapanel__link--icon:focus {
    background: #EAF5FA !important;
}

/* Final standard nav hover */
.dawn-nav .nav-link:hover,
.dawn-nav .nav-link:focus {
    background: #EAF5FA !important;
    color: #286D94 !important;
}

/* Standard content pages */
.dawn-page.dawn-article {
    max-width: 860px;
}
