.hi5stw-wrap {
    --hi5stw-navy: #153b5b;
    --hi5stw-blue: #1f628c;
    --hi5stw-cream: #f5f2eb;
    --hi5stw-border: #d8e0e6;
    --hi5stw-text: #24323d;
    --hi5stw-muted: #64727d;
    --hi5stw-alert-bg: #fff5e8;
    --hi5stw-alert-border: #cf7a1b;
    color: var(--hi5stw-text);
}

.hi5stw-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    align-items: start;
}

.hi5stw-card {
    background: #fff;
    border: 1px solid var(--hi5stw-border);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(20, 51, 76, 0.08);
}

.hi5stw-card-head {
    padding: 24px 26px 20px;
    background: var(--hi5stw-cream);
    border-bottom: 1px solid var(--hi5stw-border);
}

.hi5stw-card-head h2,
.hi5stw-alert h2 {
    margin: 2px 0 4px;
    color: var(--hi5stw-navy);
}

.hi5stw-kicker,
.hi5stw-alert-label {
    margin: 0;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hi5stw-blue);
}

.hi5stw-location {
    margin: 0;
    color: var(--hi5stw-muted);
}

.hi5stw-tide-list,
.hi5stw-forecast-list {
    padding: 6px 26px 14px;
}

.hi5stw-tide-row {
    display: grid;
    grid-template-columns: 72px 1fr auto;
    gap: 14px;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--hi5stw-border);
}

.hi5stw-tide-row:last-child,
.hi5stw-forecast-row:last-child {
    border-bottom: 0;
}

.hi5stw-tide-type {
    display: inline-block;
    min-width: 50px;
    padding: 4px 8px;
    border-radius: 999px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 700;
    background: var(--hi5stw-navy);
    color: #fff;
}

.hi5stw-tide-low {
    background: var(--hi5stw-blue);
}

.hi5stw-tide-time {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.hi5stw-tide-time span {
    color: var(--hi5stw-muted);
}

.hi5stw-tide-height {
    font-weight: 700;
    color: var(--hi5stw-navy);
}

.hi5stw-forecast-row {
    padding: 17px 0;
    border-bottom: 1px solid var(--hi5stw-border);
}

.hi5stw-forecast-row h3 {
    margin: 0 0 5px;
    color: var(--hi5stw-navy);
    font-size: 1rem;
}

.hi5stw-forecast-row p {
    margin: 0;
}

.hi5stw-alerts {
    margin-bottom: 28px;
}

.hi5stw-alert {
    padding: 18px 22px;
    margin-bottom: 12px;
    background: var(--hi5stw-alert-bg);
    border-left: 5px solid var(--hi5stw-alert-border);
    border-radius: 6px;
}

.hi5stw-alert p:last-child {
    margin-bottom: 0;
}

.hi5stw-stale {
    margin: 16px 26px 0;
    padding: 10px 12px;
    background: #f7f7f7;
    border-left: 3px solid var(--hi5stw-muted);
    font-size: 0.9rem;
}

.hi5stw-unavailable {
    margin: 0;
    padding: 24px 26px;
}

.hi5stw-sources {
    margin-top: 18px;
    font-size: 0.9rem;
    color: var(--hi5stw-muted);
}

.hi5stw-sources p {
    margin: 5px 0;
}

.hi5stw-sources a {
    font-weight: 600;
}

.hi5stw-disclaimer {
    font-size: 0.85rem;
}

@media (max-width: 800px) {
    .hi5stw-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 520px) {
    .hi5stw-card-head,
    .hi5stw-tide-list,
    .hi5stw-forecast-list {
        padding-left: 18px;
        padding-right: 18px;
    }

    .hi5stw-tide-row {
        grid-template-columns: 64px 1fr auto;
        gap: 10px;
    }
}
