/* SongDrop Newsroom v1 */
.sd-news-shell {
    display: grid;
    gap: 24px;
    padding-bottom: 96px;
}

.sd-news-hero,
.sd-news-featured,
.sd-news-controls,
.sd-news-empty,
.sd-news-setup,
.sd-news-notice,
.sd-news-no-results,
.sd-news-card {
    position: relative;
    overflow: hidden;
}

.sd-news-hero {
    min-height: 330px;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr);
    align-items: center;
    gap: 28px;
    padding: clamp(28px, 5vw, 58px);
    background:
        radial-gradient(circle at 16% 90%, rgba(0, 217, 255, .15), transparent 34%),
        radial-gradient(circle at 84% 30%, rgba(34, 255, 154, .10), transparent 36%),
        linear-gradient(135deg, rgba(0, 217, 255, .08), transparent 44%),
        rgba(4, 13, 26, .78);
}

.sd-news-hero::after,
.sd-news-featured::after {
    content: "";
    position: absolute;
    inset: auto 28px 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(0, 217, 255, .62), rgba(34, 255, 154, .45), transparent);
    filter: drop-shadow(0 0 14px rgba(0, 217, 255, .34));
    pointer-events: none;
}

.sd-news-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 14px;
    color: var(--cyan);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .20em;
    text-transform: uppercase;
}

.sd-news-kicker > span {
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--green);
    box-shadow: 0 0 14px var(--green);
    animation: sdNewsPulse 1.8s ease-in-out infinite;
}

.sd-news-hero h1 {
    max-width: 760px;
    margin: 0 0 18px;
    color: var(--text);
    font-size: clamp(43px, 7.4vw, 86px);
    line-height: .9;
    letter-spacing: -.075em;
    text-transform: none;
}

.sd-news-hero h1 span {
    color: var(--green);
    -webkit-text-stroke: 0;
    text-shadow: 0 0 28px rgba(34, 255, 154, .32);
}

.sd-news-hero__lead {
    max-width: 680px;
    margin: 0;
    color: #bdd8e7;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.68;
}

.sd-news-hero__signals {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 22px;
}

.sd-news-hero__signals span {
    padding: 8px 11px;
    color: #d6f4ff;
    border: 1px solid rgba(117, 224, 255, .15);
    border-radius: 999px;
    background: rgba(1, 9, 20, .46);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sd-news-hero__visual {
    position: relative;
    min-height: 248px;
    display: grid;
    place-items: end center;
    isolation: isolate;
}

.sd-news-hero__visual::before {
    content: "";
    position: absolute;
    width: min(320px, 90%);
    aspect-ratio: 1;
    border: 1px solid rgba(0, 217, 255, .14);
    border-radius: 50%;
    background:
        radial-gradient(circle, rgba(0, 217, 255, .16), transparent 62%),
        conic-gradient(from 90deg, transparent, rgba(0, 217, 255, .16), rgba(34, 255, 154, .13), transparent 75%);
    box-shadow: 0 0 44px rgba(0, 217, 255, .12);
    animation: sdNewsOrb 8s ease-in-out infinite;
}

.sd-news-hero__visual img {
    position: relative;
    z-index: 1;
    width: min(340px, 100%);
    max-height: 300px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .45));
}

.sd-news-hero__pulse {
    position: absolute;
    z-index: -1;
    top: 50%;
    width: 92px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    filter: drop-shadow(0 0 8px var(--cyan));
}

.sd-news-hero__pulse--left { left: -5px; }
.sd-news-hero__pulse--right { right: -5px; transform: rotate(180deg); }

.sd-news-featured {
    padding: clamp(24px, 4vw, 42px);
    border-color: rgba(34, 255, 154, .26);
    background:
        radial-gradient(circle at 84% 12%, rgba(34, 255, 154, .12), transparent 32%),
        radial-gradient(circle at 10% 84%, rgba(0, 217, 255, .12), transparent 34%),
        linear-gradient(135deg, rgba(3, 16, 28, .94), rgba(3, 12, 25, .88));
}

.sd-news-featured__glow {
    position: absolute;
    right: -22%;
    top: -70%;
    width: 58%;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(34, 255, 154, .16), transparent 66%);
    filter: blur(2px);
    pointer-events: none;
}

.sd-news-featured__meta,
.sd-news-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.sd-news-featured__meta > span:last-child,
.sd-news-card__top time {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

.sd-news-category {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 29px;
    padding: 0 10px;
    border: 1px solid rgba(117, 224, 255, .18);
    border-radius: 999px;
    color: #ddf8ff;
    background: rgba(1, 8, 16, .44);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sd-news-category i { font-style: normal; font-size: 13px; }
.sd-news-category--green { color: #caffdf; border-color: rgba(34, 255, 154, .28); background: rgba(34, 255, 154, .07); }
.sd-news-category--violet { color: #e8d9ff; border-color: rgba(150, 113, 255, .30); background: rgba(150, 113, 255, .08); }
.sd-news-category--gold { color: #fff1c4; border-color: rgba(255, 212, 92, .30); background: rgba(255, 212, 92, .08); }
.sd-news-category--rose { color: #ffd5e0; border-color: rgba(255, 95, 146, .28); background: rgba(255, 95, 146, .08); }

.sd-news-featured__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
    align-items: center;
    gap: 28px;
    margin-top: 24px;
}

.sd-news-featured h2 {
    max-width: 830px;
    margin: 0 0 14px;
    color: var(--text);
    font-size: clamp(32px, 5vw, 58px);
    letter-spacing: -.06em;
    line-height: .95;
}

.sd-news-featured__copy > p:not(.sd-news-kicker) {
    max-width: 720px;
    margin-bottom: 0;
    color: #c0d9e5;
    font-size: 16px;
    line-height: 1.68;
}

.sd-news-featured__visual {
    min-height: 210px;
    display: grid;
    place-items: end center;
    overflow: hidden;
    border: 1px solid rgba(117, 224, 255, .14);
    border-radius: 24px;
    background:
        radial-gradient(circle at 50% 26%, rgba(0, 217, 255, .18), transparent 44%),
        linear-gradient(135deg, rgba(0, 217, 255, .07), rgba(34, 255, 154, .06)),
        rgba(1, 8, 16, .62);
}

.sd-news-featured__visual img {
    width: 100%;
    height: 240px;
    object-fit: contain;
    object-position: bottom;
    filter: drop-shadow(0 18px 22px rgba(0, 0, 0, .42));
}

.sd-news-featured__visual.has-cover img {
    height: 100%;
    min-height: 210px;
    object-fit: cover;
    filter: saturate(1.08) contrast(1.04);
}

.sd-news-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 45px;
    margin-top: 20px;
    padding: 0 15px;
    border: 1px solid rgba(0, 217, 255, .25);
    border-radius: 14px;
    color: #eafaff;
    background: rgba(0, 217, 255, .07);
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}

.sd-news-read-more:hover,
.sd-news-read-more:focus-visible,
.sd-news-card.is-open .sd-news-read-more,
.sd-news-featured.is-open .sd-news-read-more {
    transform: translateY(-2px);
    border-color: rgba(34, 255, 154, .48);
    background: linear-gradient(90deg, rgba(0, 217, 255, .12), rgba(34, 255, 154, .11));
    box-shadow: 0 0 22px rgba(34, 255, 154, .10);
    outline: none;
}

.sd-news-read-more b { font-size: 16px; line-height: 1; }

.sd-news-featured__body,
.sd-news-card__body {
    display: grid;
    grid-template-rows: 0fr;
    opacity: 0;
    overflow: hidden;
    transition: grid-template-rows .34s ease, opacity .24s ease, margin-top .24s ease;
}

.sd-news-featured__body.is-open,
.sd-news-card__body.is-open {
    grid-template-rows: 1fr;
    opacity: 1;
    margin-top: 22px;
}

.sd-news-featured__body > *,
.sd-news-card__body > * { min-height: 0; }

.sd-news-body-inner { min-height: 0; }

.sd-news-article-copy {
    color: #c5deea;
    line-height: 1.78;
    white-space: normal;
}

.sd-news-featured__stats,
.sd-news-card__reaction-total {
    color: var(--green);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sd-news-featured__stats {
    position: absolute;
    top: 26px;
    right: 30px;
    padding: 8px 10px;
    border: 1px solid rgba(34, 255, 154, .18);
    border-radius: 999px;
    background: rgba(1, 8, 16, .48);
}

.sd-news-controls {
    display: grid;
    grid-template-columns: minmax(260px, 1fr) minmax(360px, 1.25fr) minmax(178px, .45fr);
    gap: 16px;
    align-items: end;
    padding: 18px;
    background:
        linear-gradient(90deg, rgba(0, 217, 255, .055), rgba(34, 255, 154, .040)),
        rgba(4, 13, 26, .76);
}

.sd-news-controls label,
.sd-news-controls__filter > span {
    display: block;
    margin: 0 0 8px;
    color: var(--green);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.sd-news-controls__search > div { position: relative; }
.sd-news-controls__search > div > span {
    position: absolute;
    top: 50%;
    left: 14px;
    color: var(--cyan);
    font-size: 19px;
    transform: translateY(-50%);
    pointer-events: none;
}

.sd-news-controls input,
.sd-news-controls select {
    min-height: 49px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 800;
}

.sd-news-controls input { padding-left: 43px; padding-right: 42px; }
.sd-news-controls__search button {
    position: absolute;
    top: 50%;
    right: 9px;
    width: 29px;
    height: 29px;
    border: 1px solid rgba(117, 224, 255, .18);
    border-radius: 999px;
    color: var(--text);
    background: rgba(0, 217, 255, .07);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    transform: translateY(-50%);
}

.sd-news-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sd-news-filter-pills button {
    min-height: 33px;
    padding: 0 10px;
    border: 1px solid rgba(117, 224, 255, .15);
    border-radius: 999px;
    color: #c3dce7;
    background: rgba(1, 8, 16, .44);
    cursor: pointer;
    font: inherit;
    font-size: 10px;
    font-weight: 900;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, color .16s ease;
}

.sd-news-filter-pills button:hover,
.sd-news-filter-pills button:focus-visible,
.sd-news-filter-pills button.is-active {
    color: #001218;
    border-color: rgba(34, 255, 154, .54);
    background: linear-gradient(90deg, var(--cyan), var(--green));
    transform: translateY(-1px);
    outline: none;
}

.sd-news-grid-wrap { display: grid; gap: 14px; }
.sd-news-grid__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 4px; }
.sd-news-grid__bar p { margin: 0; color: #c5e1ec; font-size: 13px; font-weight: 850; }
.sd-news-grid__bar b { color: var(--green); }
.sd-news-grid__bar span { color: var(--muted); font-size: 11px; font-weight: 800; }

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

.sd-news-card {
    display: flex;
    min-height: 310px;
    flex-direction: column;
    padding: 20px;
    border-color: rgba(117, 224, 255, .15);
    background:
        radial-gradient(circle at 100% 0, rgba(0, 217, 255, .10), transparent 35%),
        rgba(4, 13, 26, .78);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease, background .22s ease;
}

.sd-news-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    opacity: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent, rgba(0, 217, 255, .26), rgba(34, 255, 154, .20), transparent);
    pointer-events: none;
    transition: opacity .22s ease;
}

.sd-news-card:hover,
.sd-news-card.is-open {
    border-color: rgba(0, 217, 255, .36);
    background:
        radial-gradient(circle at 100% 0, rgba(0, 217, 255, .15), transparent 38%),
        rgba(4, 13, 26, .92);
    box-shadow: 0 20px 44px rgba(0, 0, 0, .25), 0 0 26px rgba(0, 217, 255, .08);
}

.sd-news-card:hover { transform: translateY(-4px); }
.sd-news-card:hover::before,
.sd-news-card.is-open::before { opacity: 1; }
.sd-news-card > * { position: relative; z-index: 1; }

.sd-news-card h3 {
    margin: 20px 0 11px;
    color: var(--text);
    font-size: clamp(24px, 3vw, 31px);
    letter-spacing: -.045em;
    line-height: 1.03;
}

.sd-news-card > p {
    margin: 0;
    color: #afc9d7;
    font-size: 14px;
    line-height: 1.65;
}

.sd-news-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 20px;
}

.sd-news-card__bottom .sd-news-read-more { margin-top: 0; }

.sd-news-reactions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 22px;
    padding-top: 16px;
    border-top: 1px solid rgba(117, 224, 255, .12);
}

.sd-news-reactions__label {
    color: var(--muted);
    font-size: 9px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sd-news-reactions__list { display: inline-flex; flex-wrap: wrap; gap: 6px; }

.sd-news-reaction {
    min-width: 36px;
    min-height: 33px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 0 8px;
    border: 1px solid rgba(117, 224, 255, .15);
    border-radius: 10px;
    color: var(--text);
    background: rgba(1, 8, 16, .46);
    cursor: pointer;
    font: inherit;
    text-decoration: none;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}

.sd-news-reaction:hover,
.sd-news-reaction:focus-visible,
.sd-news-reaction.is-active {
    transform: translateY(-2px) scale(1.045);
    border-color: rgba(34, 255, 154, .54);
    background: linear-gradient(135deg, rgba(0, 217, 255, .15), rgba(34, 255, 154, .14));
    box-shadow: 0 8px 18px rgba(34, 255, 154, .10);
    outline: none;
}

.sd-news-reaction.is-login { opacity: .82; }
.sd-news-reaction:disabled { cursor: wait; opacity: .6; transform: none; }
.sd-news-reaction__emoji { font-size: 16px; line-height: 1; }
.sd-news-reaction__count { color: #caffe6; font-size: 10px; font-weight: 950; }
.sd-news-reaction__count[hidden] { display: none; }

.sd-news-reactions__feedback {
    flex-basis: 100%;
    min-height: 0;
    color: var(--muted);
    font-size: 10px;
    font-weight: 800;
}
.sd-news-reactions__feedback:empty { display: none; }
.sd-news-reactions__feedback.is-success { color: #aaffd3; }
.sd-news-reactions__feedback.is-error { color: #ffa8be; }

.sd-news-empty,
.sd-news-setup,
.sd-news-notice,
.sd-news-no-results {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 260px;
    padding: clamp(24px, 4vw, 42px);
    background:
        radial-gradient(circle at 12% 50%, rgba(0, 217, 255, .11), transparent 40%),
        rgba(4, 13, 26, .78);
}

.sd-news-empty img,
.sd-news-no-results img {
    width: min(230px, 36vw);
    max-height: 230px;
    object-fit: contain;
    filter: drop-shadow(0 16px 24px rgba(0, 0, 0, .36));
}

.sd-news-empty h2,
.sd-news-setup h2,
.sd-news-no-results h2,
.sd-news-notice b {
    margin: 0 0 12px;
    color: var(--text);
    font-size: clamp(28px, 4vw, 42px);
    letter-spacing: -.055em;
    line-height: 1.02;
}

.sd-news-empty p,
.sd-news-setup p,
.sd-news-no-results p,
.sd-news-notice span {
    max-width: 760px;
    margin: 0;
    color: #b7d0de;
    line-height: 1.68;
}

.sd-news-setup { justify-content: space-between; }
.sd-news-setup__chip {
    display: grid;
    place-items: center;
    min-width: 145px;
    min-height: 58px;
    padding: 0 16px;
    color: var(--green);
    border: 1px solid rgba(34, 255, 154, .22);
    border-radius: 18px;
    background: rgba(34, 255, 154, .07);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.sd-news-notice { min-height: 0; border-color: rgba(255, 75, 122, .34); }
.sd-news-notice b { color: #ffd4df; font-size: 24px; }

.sd-news-no-results button {
    min-height: 46px;
    margin-top: 18px;
    padding: 0 16px;
    color: #001218;
    border: 0;
    border-radius: 15px;
    background: linear-gradient(90deg, var(--cyan), var(--green));
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

@keyframes sdNewsPulse {
    0%, 100% { opacity: .55; transform: scale(.78); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes sdNewsOrb {
    0%, 100% { transform: scale(.94) rotate(0deg); opacity: .7; }
    50% { transform: scale(1.05) rotate(8deg); opacity: 1; }
}

@media (max-width: 980px) {
    .sd-news-controls { grid-template-columns: 1fr; }
    .sd-news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .sd-news-hero,
    .sd-news-featured__grid { grid-template-columns: 1fr; }
    .sd-news-hero { padding-bottom: 0; }
    .sd-news-hero__visual { min-height: 210px; }
    .sd-news-hero__visual img { max-height: 255px; }
    .sd-news-featured__visual { order: -1; min-height: 190px; }
    .sd-news-featured__stats { position: static; display: inline-flex; width: fit-content; margin-top: 18px; }
    .sd-news-grid { grid-template-columns: 1fr; }
    .sd-news-grid__bar { align-items: flex-start; flex-direction: column; gap: 5px; }
    .sd-news-empty,
    .sd-news-setup,
    .sd-news-no-results { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 520px) {
    .sd-news-shell { gap: 18px; }
    .sd-news-hero { min-height: 0; padding: 28px 20px 0; }
    .sd-news-hero h1 { font-size: clamp(42px, 14vw, 64px); }
    .sd-news-hero__signals span { font-size: 9px; }
    .sd-news-featured,
    .sd-news-controls,
    .sd-news-card { padding: 18px; }
    .sd-news-featured__meta,
    .sd-news-card__top,
    .sd-news-card__bottom { align-items: flex-start; flex-direction: column; }
    .sd-news-featured__meta > span:last-child { white-space: normal; }
    .sd-news-filter-pills { max-height: 106px; overflow: auto; padding-right: 3px; }
    .sd-news-empty img,
    .sd-news-no-results img { width: 190px; }
}

/* Newsroom polish v1.1 — clear feature metadata + round Shivanoonie artwork */
.sd-news-featured__meta {
    min-height: 31px;
}

.sd-news-featured__meta-right {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 9px;
    margin-left: auto;
}

.sd-news-featured__meta-right time {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
    white-space: nowrap;
}

/* The reaction total now lives next to the date instead of floating over it. */
.sd-news-featured__stats {
    position: static;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 11px;
    color: #aaffd3;
    border: 1px solid rgba(34, 255, 154, .24);
    border-radius: 999px;
    background:
        linear-gradient(90deg, rgba(0, 217, 255, .09), rgba(34, 255, 154, .09)),
        rgba(1, 8, 16, .50);
    box-shadow: inset 0 0 18px rgba(34, 255, 154, .04);
    font-size: 10px;
    font-weight: 950;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Shivanoonie is always shown as a clean round portrait instead of a black square. */
.sd-news-hero__visual img {
    width: min(286px, 92%);
    height: min(286px, 66vw);
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border: 1px solid rgba(0, 217, 255, .28);
    border-radius: 50%;
    background: #02050b;
    box-shadow:
        0 0 0 7px rgba(1, 8, 16, .42),
        0 0 24px rgba(0, 217, 255, .16),
        0 0 32px rgba(34, 255, 154, .08),
        0 22px 28px rgba(0, 0, 0, .45);
    filter: none;
}

.sd-news-featured__visual:not(.has-cover) {
    width: min(238px, 100%);
    min-height: 0;
    aspect-ratio: 1;
    justify-self: center;
    overflow: hidden;
    border-color: rgba(0, 217, 255, .28);
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 26%, rgba(0, 217, 255, .18), transparent 42%),
        radial-gradient(circle at 74% 70%, rgba(34, 255, 154, .13), transparent 44%),
        #02050b;
    box-shadow:
        0 0 0 7px rgba(1, 8, 16, .34),
        0 0 26px rgba(0, 217, 255, .13),
        0 0 34px rgba(34, 255, 154, .07);
}

.sd-news-featured__visual:not(.has-cover) img {
    width: 100%;
    height: 100%;
    min-height: 0;
    aspect-ratio: 1;
    object-fit: cover;
    object-position: center;
    border-radius: inherit;
    background: #02050b;
    filter: none;
}

@media (max-width: 760px) {
    .sd-news-featured__meta-right {
        justify-content: flex-start;
        margin-left: 0;
    }

    .sd-news-hero__visual img {
        width: min(248px, 78vw);
        height: min(248px, 78vw);
    }

    .sd-news-featured__visual:not(.has-cover) {
        width: min(220px, 72vw);
    }
}

@media (max-width: 520px) {
    .sd-news-featured__meta-right {
        align-items: flex-start;
        flex-direction: column;
        gap: 7px;
    }
}

