:root {
    --sa-ink: #071316;
    --sa-ink-soft: #23312c;
    --sa-muted: #6b7772;
    --sa-line: #dce5df;
    --sa-paper: #f7faf6;
    --sa-white: #ffffff;
    --sa-green: #18a558;
    --sa-lime: #d8ff66;
    --sa-blue: #2b6fff;
    --sa-radius: 8px;
}

.salealert-logo {
    display: inline-flex;
    width: min(330px, 76vw);
    max-width: 100%;
}

.salealert-logo img {
    display: block;
    width: 100%;
    height: auto;
}

.salealert-logo--compact {
    width: 190px;
}

.salealert-shell {
    width: min(1160px, calc(100% - 32px));
    margin: 0 auto;
}

.salealert-home {
    color: var(--sa-ink);
    background: var(--sa-paper);
}

.salealert-hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
    background:
        linear-gradient(135deg, rgba(24, 165, 88, 0.16), rgba(43, 111, 255, 0.10)),
        var(--sa-paper);
    border-bottom: 1px solid var(--sa-line);
}

.salealert-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 430px);
    gap: 44px;
    align-items: center;
    padding: 56px 0;
}

.salealert-kicker {
    margin: 24px 0 10px;
    color: var(--sa-green);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.salealert-hero h1 {
    max-width: 760px;
    margin: 0;
    color: var(--sa-ink);
    font-size: clamp(44px, 6vw, 82px);
    line-height: 0.96;
    letter-spacing: 0;
}

.salealert-hero__intro {
    max-width: 640px;
    margin: 22px 0 0;
    color: var(--sa-ink-soft);
    font-size: 19px;
    line-height: 1.55;
}

.salealert-hero__actions,
.salealert-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 26px;
}

.salealert-button {
    display: inline-flex;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    border-radius: var(--sa-radius);
    background: var(--sa-ink);
    color: var(--sa-white) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.salealert-button:hover {
    background: var(--sa-green);
}

.salealert-link {
    color: var(--sa-ink) !important;
    font-weight: 800;
    text-decoration: none !important;
}

.salealert-link:hover {
    color: var(--sa-green) !important;
}

.salealert-hero__panel {
    position: relative;
    min-height: 410px;
    border-radius: var(--sa-radius);
    background: var(--sa-ink);
    color: var(--sa-white);
    overflow: hidden;
    box-shadow: 0 28px 80px rgba(7, 19, 22, 0.18);
}

.salealert-hero__panel:before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.08) 1px, transparent 1px);
    background-size: 44px 44px;
}

.salealert-pulse-card {
    position: absolute;
    top: 40px;
    left: 34px;
    right: 34px;
    display: grid;
    gap: 12px;
    padding: 28px;
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: var(--sa-radius);
    background: rgba(255,255,255,0.08);
}

.salealert-pulse-card span,
.salealert-pulse-card em {
    color: #b9c7c0;
    font-style: normal;
    font-weight: 700;
}

.salealert-pulse-card strong {
    font-size: 48px;
    line-height: 1;
}

.salealert-mini-feed {
    position: absolute;
    left: 34px;
    right: 34px;
    bottom: 34px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.salealert-mini-feed span {
    padding: 18px;
    border-radius: var(--sa-radius);
    background: var(--sa-white);
    color: var(--sa-ink);
    font-weight: 800;
}

.salealert-section {
    padding: 58px 0 72px;
}

.salealert-section__heading {
    margin-bottom: 22px;
}

.salealert-section__heading h2 {
    margin: 0;
    font-size: 38px;
    line-height: 1.12;
}

.salealert-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.salealert-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    border: 1px solid var(--sa-line);
    border-radius: var(--sa-radius);
    background: var(--sa-white);
    overflow: hidden;
}

.salealert-card--featured {
    grid-column: span 2;
}

.salealert-card__media {
    display: block;
    aspect-ratio: 16 / 9;
    background: #edf4ef;
    overflow: hidden;
}

.salealert-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.salealert-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 20px;
}

.salealert-card__merchant {
    margin-bottom: 8px;
    color: var(--sa-green);
    font-size: 13px;
    font-weight: 900;
    text-transform: uppercase;
}

.salealert-card__title {
    margin: 0;
    color: var(--sa-ink);
    font-size: 22px;
    line-height: 1.18;
}

.salealert-card__title a {
    color: inherit !important;
    text-decoration: none !important;
}

.salealert-card__summary {
    margin: 12px 0 0;
    color: var(--sa-muted);
    line-height: 1.5;
}

.salealert-card__facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
}

.salealert-card__facts span {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 10px;
    border-radius: var(--sa-radius);
    background: #eef5f1;
    color: var(--sa-ink-soft);
    font-size: 13px;
    font-weight: 800;
}

.salealert-card__facts .salealert-price {
    background: var(--sa-lime);
    color: var(--sa-ink);
}

.salealert-empty {
    padding: 34px;
    border: 1px dashed var(--sa-line);
    border-radius: var(--sa-radius);
    background: var(--sa-white);
}

.salealert-post-body {
    max-width: 780px;
    margin: 30px auto;
    color: var(--sa-ink-soft);
    font-size: 18px;
    line-height: 1.7;
}

@media (max-width: 900px) {
    .salealert-hero__grid,
    .salealert-grid {
        grid-template-columns: 1fr;
    }

    .salealert-card--featured {
        grid-column: auto;
    }

    .salealert-hero__panel {
        min-height: 320px;
    }
}

@media (max-width: 560px) {
    .salealert-hero {
        min-height: auto;
    }

    .salealert-hero__grid {
        padding: 32px 0;
        gap: 26px;
    }

    .salealert-hero h1 {
        font-size: 42px;
    }

    .salealert-pulse-card strong {
        font-size: 34px;
    }
}
