.sea-temperature-page {
    background:
        radial-gradient(circle at 15% 8%, rgba(72, 191, 227, 0.09), transparent 28rem),
        #f6f9fc;
}

.sea-temperature-page .site-main {
    max-width: 1240px;
}

.sea-page {
    --sea-blue: #1976d2;
    --sea-deep: #071c33;
    --sea-aqua: #47d5d1;
    --sea-orange: #ed7d31;
    padding: 0.75rem 0 4rem;
    color: #132238;
}

.sea-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(330px, 0.92fr);
    min-height: 360px;
    overflow: hidden;
    border-radius: 22px;
    color: #fff;
    background:
        radial-gradient(circle at 73% 14%, rgba(68, 219, 210, 0.2), transparent 24rem),
        linear-gradient(128deg, #06162a 0%, #0a2948 54%, #0b4669 100%);
    box-shadow: 0 14px 36px rgba(5, 27, 51, 0.16);
}

.sea-hero::before {
    display: none;
}

.sea-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.4rem, 3vw, 2.5rem);
}

.sea-breadcrumb {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.sea-breadcrumb a {
    color: rgba(255, 255, 255, 0.82);
    text-decoration: none;
}

.sea-breadcrumb a:hover {
    color: #fff;
}

.sea-eyebrow,
.sea-section-kicker {
    margin: 0 0 0.55rem;
    color: #1480d1;
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0.13em;
    text-transform: uppercase;
}

.sea-eyebrow {
    display: flex;
    gap: 0.55rem;
    align-items: center;
    color: #6fe0dc;
}

.sea-eyebrow span {
    width: 22px;
    height: 2px;
    background: currentColor;
}

.sea-hero h1 {
    max-width: 600px;
    margin: 0;
    color: #fff;
    font-size: clamp(2.1rem, 4vw, 3.65rem);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 0.98;
}

.sea-hero__lead {
    max-width: 580px;
    margin: 0.8rem 0 1rem;
    color: rgba(238, 247, 255, 0.78);
    font-size: clamp(0.92rem, 1.35vw, 1.02rem);
    line-height: 1.55;
}

.sea-freshness {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 0.55rem;
    padding: 0.55rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.07);
}

.sea-freshness__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ffc35a;
    box-shadow: 0 0 0 5px rgba(255, 195, 90, 0.12);
}

.sea-freshness.is-current .sea-freshness__dot {
    background: #4ee1b4;
    box-shadow: 0 0 0 5px rgba(78, 225, 180, 0.12);
}

.sea-freshness span:last-child {
    display: grid;
}

.sea-freshness strong {
    font-size: 0.78rem;
}

.sea-freshness small {
    margin-top: 0.08rem;
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.68rem;
}

.sea-hero__visual {
    position: relative;
    min-height: 320px;
}

.sea-hero__visual svg {
    position: absolute;
    right: -4%;
    bottom: -1px;
    width: 112%;
    height: 72%;
}

.sea-wave--back { fill: rgba(75, 204, 219, 0.26); }
.sea-wave--middle { fill: rgba(39, 151, 204, 0.55); }
.sea-wave--front { fill: #1680b7; }

.sea-sun {
    position: absolute;
    top: 16%;
    right: 5%;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(247, 252, 222, 0.95), rgba(110, 225, 216, 0.58) 34%, rgba(71, 213, 209, 0.02) 70%);
    filter: blur(1px);
    box-shadow: 0 0 45px rgba(77, 222, 217, 0.28);
}

.sea-hero__metrics {
    position: absolute;
    z-index: 2;
    top: 17%;
    left: 3%;
    display: grid;
    grid-template-columns: repeat(2, minmax(148px, 1fr));
    gap: 0.65rem;
}

.sea-hero__metric {
    display: grid;
    min-width: 0;
    padding: 0.75rem 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(5, 31, 54, 0.56);
    box-shadow: 0 10px 24px rgba(2, 18, 32, 0.18);
}

.sea-hero__metric--burgas {
    border-color: rgba(237, 125, 49, 0.45);
}

.sea-hero__metric > span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.sea-hero__metric > strong {
    margin-top: 0.3rem;
    color: #fff;
    font-size: 2.1rem;
    line-height: 1;
}

.sea-hero__metric small {
    margin-left: 0.15rem;
    color: #69ded9;
    font-size: 0.82rem;
}

.sea-hero__metric--burgas small {
    color: #ffad72;
}

.sea-hero__metric em {
    margin-top: 0.45rem;
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.68rem;
    font-style: normal;
}

.sea-notice {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: 0.85rem;
    align-items: center;
    margin: 1.25rem 0 0;
    padding: 0.95rem 1.1rem;
    border: 1px solid #f0d39a;
    border-radius: 15px;
    background: #fff9eb;
    box-shadow: 0 10px 30px rgba(44, 54, 73, 0.05);
}

.sea-notice > span {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    border-radius: 50%;
    color: #8b5b02;
    font-weight: 900;
    background: #ffebbd;
}

.sea-notice strong { color: #543a0c; }
.sea-notice p { margin: 0.12rem 0 0; color: #7a633a; font-size: 0.88rem; }
.sea-notice--error { border-color: #efb8b2; background: #fff5f3; }
.sea-notice--error > span { color: #9b3329; background: #ffe0dc; }
.sea-notice--error strong { color: #7e2c25; }
.sea-notice--error p { color: #8d514b; }

.sea-current,
.sea-history,
.sea-resorts,
.sea-method {
    margin-top: clamp(3rem, 6vw, 5.5rem);
}

.sea-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    align-items: end;
    margin-bottom: 1.35rem;
}

.sea-section-heading h2,
.sea-context-grid h2,
.sea-method h2 {
    margin: 0;
    color: #0b1d32;
    font-size: clamp(1.7rem, 3vw, 2.45rem);
    font-weight: 850;
    letter-spacing: -0.035em;
}

.sea-section-heading > p {
    max-width: 430px;
    margin: 0;
    color: #65758a;
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: right;
}

.sea-city-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sea-city-card {
    position: relative;
    overflow: hidden;
    padding: clamp(1.3rem, 3vw, 2rem);
    border: 1px solid #d9e3ee;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 16px 44px rgba(21, 46, 76, 0.08);
}

.sea-city-card::after {
    position: absolute;
    top: -70px;
    right: -70px;
    width: 190px;
    height: 190px;
    border-radius: 50%;
    content: "";
    background: rgba(39, 140, 218, 0.07);
}

.sea-city-card--south::after { background: rgba(237, 125, 49, 0.08); }

.sea-city-card header {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.sea-city-card__icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 15px;
    color: var(--sea-blue);
    background: #eaf5ff;
}

.sea-city-card--south .sea-city-card__icon {
    color: var(--sea-orange);
    background: #fff1e7;
}

.sea-city-card__icon svg {
    width: 31px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.4;
}

.sea-city-card header p {
    margin: 0 0 0.1rem;
    color: #7a8a9e;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.07em;
    text-transform: uppercase;
}

.sea-city-card h3 {
    margin: 0;
    color: #0d2138;
    font-size: 1.35rem;
    font-weight: 850;
}

.sea-city-card__station {
    margin-left: auto;
    padding: 0.35rem 0.55rem;
    border: 1px solid #dce8f2;
    border-radius: 999px;
    color: #6c7c90;
    font-size: 0.67rem;
    font-weight: 800;
    text-transform: uppercase;
}

.sea-city-card__temperature {
    margin: 1.6rem 0 1.4rem;
}

.sea-city-card__temperature strong {
    color: #0a2038;
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 850;
    letter-spacing: -0.065em;
    line-height: 0.9;
}

.sea-city-card__temperature strong span {
    margin-left: 0.15rem;
    color: var(--sea-blue);
    font-size: 1.45rem;
    letter-spacing: 0;
}

.sea-city-card--south .sea-city-card__temperature strong span { color: var(--sea-orange); }

.sea-city-card__temperature p {
    margin: 0.55rem 0 0;
    color: #708096;
    font-size: 0.82rem;
}

.sea-reading-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.55rem;
}

.sea-reading-list > div {
    display: grid;
    gap: 0.16rem;
    padding: 0.75rem;
    border: 1px solid #e2e9f1;
    border-radius: 13px;
    background: #f8fafc;
}

.sea-reading-list > div.is-latest {
    border-color: #b5d9fa;
    background: #eef7ff;
}

.sea-city-card--south .sea-reading-list > div.is-latest {
    border-color: #f5c7a8;
    background: #fff7f1;
}

.sea-reading-list span { color: #738297; font-size: 0.72rem; }
.sea-reading-list strong { color: #182b42; font-size: 1rem; }
.sea-reading-list__empty { margin: 0; color: #728196; }

.sea-city-card footer {
    display: flex;
    gap: 1.3rem;
    margin-top: 1.1rem;
    padding-top: 0.9rem;
    border-top: 1px solid #e8edf3;
    color: #78879a;
    font-size: 0.75rem;
}

.sea-city-card footer strong { color: #32465f; }

.sea-history {
    padding: clamp(1.3rem, 3vw, 2rem);
    border: 1px solid #dce5ef;
    border-radius: 25px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(16, 42, 71, 0.07);
}

.sea-section-heading--chart { margin-bottom: 0.25rem; }

.sea-chart-legend {
    display: flex;
    gap: 1rem;
    color: #5e7087;
    font-size: 0.8rem;
    font-weight: 700;
}

.sea-chart-legend span { display: flex; gap: 0.38rem; align-items: center; }
.sea-chart-legend i { width: 9px; height: 9px; border-radius: 50%; background: var(--sea-blue); }
.sea-chart-legend i.is-burgas { background: var(--sea-orange); }

.sea-chart {
    min-height: 330px;
    overflow-x: auto;
}

.sea-chart svg {
    display: block;
    width: 100%;
    min-width: 720px;
    height: auto;
    overflow: visible;
}

.sea-chart__grid { stroke: #e4ebf2; stroke-width: 1; }
.sea-chart__axis-label { fill: #748398; font-size: 11px; font-family: inherit; }
.sea-chart__line { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 3.2; }
.sea-chart__point { stroke: #fff; stroke-width: 2.2; }
.sea-chart__empty { padding: 5rem 1rem; color: #718197; text-align: center; }

.sea-history-table-wrap {
    max-height: 0;
    overflow: hidden;
}

.sea-history-table { width: 100%; border-collapse: collapse; }
.sea-history-table caption { padding: 0.75rem 0; color: #697b91; text-align: left; }
.sea-history-table th, .sea-history-table td { padding: 0.7rem; border-top: 1px solid #e7edf3; text-align: left; }
.sea-history-table th { color: #61738a; font-size: 0.74rem; text-transform: uppercase; }

.sea-context-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.sea-context-grid > article {
    padding: clamp(1.35rem, 3vw, 2rem);
    border: 1px solid #dce5ef;
    border-radius: 23px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 41, 70, 0.06);
}

.sea-context-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    margin-bottom: 1.1rem;
    border-radius: 13px;
    color: #1475c2;
    background: #eaf4ff;
}

.sea-context-icon svg {
    width: 24px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.sea-context-grid h2 { font-size: 1.55rem; }
.sea-context-grid > article > p:not(.sea-section-kicker) { margin: 0.75rem 0 0; color: #68798e; line-height: 1.65; }

.sea-comparison__rows {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
    margin-top: 1.25rem;
}

.sea-comparison__rows > div {
    display: grid;
    padding: 0.9rem;
    border: 1px solid #e1e8f0;
    border-radius: 14px;
    background: #f8fafc;
}

.sea-comparison__rows span { color: #708096; font-size: 0.72rem; font-weight: 800; text-transform: uppercase; }
.sea-comparison__rows strong { margin: 0.2rem 0; color: #152b44; font-size: 1.2rem; }
.sea-comparison__rows small { color: #16866c; font-weight: 750; }
.sea-comparison__rows small.is-colder { color: #2678c4; }

.sea-health-status {
    display: flex;
    gap: 0.7rem;
    align-items: center;
    margin-top: 1.25rem;
    padding: 0.75rem 0.85rem;
    border-radius: 13px;
    background: #eefaf6;
}

.sea-health-status > span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #28b589;
    box-shadow: 0 0 0 4px rgba(40, 181, 137, 0.12);
}

.sea-health-status.is-error { background: #fff5f1; }
.sea-health-status.is-error > span { background: #df6a4f; box-shadow: 0 0 0 4px rgba(223, 106, 79, 0.12); }
.sea-health-status div { display: grid; }
.sea-health-status strong { color: #244157; font-size: 0.78rem; }
.sea-health-status small { color: #77889a; font-size: 0.7rem; }

.sea-resort-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.sea-resort-grid article {
    display: grid;
    grid-template-columns: 46px 1fr;
    gap: 1rem;
    padding: 1.35rem;
    border: 1px solid #dbe5ee;
    border-radius: 19px;
    background: rgba(255, 255, 255, 0.8);
}

.sea-resort-grid__marker {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border-radius: 50% 50% 50% 14%;
    color: #fff;
    font-weight: 900;
    background: #1d7fca;
    transform: rotate(-8deg);
}

.sea-resort-grid article:nth-child(2) .sea-resort-grid__marker { background: #ed7d31; }
.sea-resort-grid h3 { margin: 0 0 0.4rem; color: #122941; font-size: 1.05rem; }
.sea-resort-grid p { margin: 0; color: #6a7a8f; font-size: 0.88rem; line-height: 1.65; }

.sea-method {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    gap: 2rem;
    padding: clamp(1.5rem, 4vw, 2.4rem);
    border-radius: 24px;
    color: #fff;
    background: #0b1d32;
}

.sea-method .sea-section-kicker { color: #64dcd7; }
.sea-method h2 { color: #fff; }
.sea-method__copy { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.sea-method__copy p { margin: 0; color: rgba(239, 247, 255, 0.7); font-size: 0.9rem; line-height: 1.72; }
.sea-method__copy a { color: #6fe0dc; }

@media (max-width: 900px) {
    .sea-hero { grid-template-columns: 1fr; }
    .sea-hero__content { padding-bottom: 1rem; }
    .sea-breadcrumb { margin-bottom: 0.8rem; }
    .sea-hero__visual { min-height: 235px; }
    .sea-hero__metrics { top: 8%; left: 8%; }
    .sea-city-grid, .sea-context-grid { grid-template-columns: 1fr; }
    .sea-method { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .sea-page { padding-top: 0; }
    .sea-hero { min-height: 0; border-radius: 17px; }
    .sea-hero__content { padding: 1.1rem; }
    .sea-hero h1 { font-size: clamp(2rem, 11vw, 2.85rem); }
    .sea-hero__lead { font-size: 0.9rem; }
    .sea-hero__visual { min-height: 205px; }
    .sea-hero__metrics {
        right: 1.35rem;
        left: 1.35rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .sea-hero__metric { padding: 0.68rem 0.72rem; }
    .sea-hero__metric > strong { font-size: clamp(1.75rem, 9vw, 2.3rem); }
    .sea-sun { top: 42%; right: 3%; width: 70px; height: 70px; }
    .sea-section-heading { display: grid; gap: 0.6rem; align-items: start; }
    .sea-section-heading > p { text-align: left; }
    .sea-section-heading--chart { margin-bottom: 1rem; }
    .sea-reading-list { grid-template-columns: repeat(3, minmax(74px, 1fr)); overflow-x: auto; }
    .sea-chart { margin-inline: -0.5rem; }
    .sea-history-table-wrap { max-height: none; overflow-x: auto; }
    .sea-history-table { min-width: 520px; }
    .sea-resort-grid, .sea-method__copy { grid-template-columns: 1fr; }
    .sea-notice { grid-template-columns: 34px 1fr; }
    .sea-notice > span { width: 32px; height: 32px; }
}

@media (prefers-reduced-motion: reduce) {
    .sea-page *, .sea-page *::before, .sea-page *::after { scroll-behavior: auto !important; transition: none !important; }
}
