/* BPEATS-MUSIC Public Relations — cinematic wide editorial cards
   Scope: visual presentation of the Public Relations overview only.
   Sorting, links, article content, highlight logic and indexing remain untouched. */

.pr-editorial,
.pr-editorial *{
    box-sizing:border-box;
}

.pr-editorial{
    --pr-cyan:#58d6df;
    --pr-cyan-bright:#a6f6f6;
    --pr-ivory:#f2f4f5;
    --pr-muted:rgba(225,231,234,.70);
    --pr-line:rgba(211,220,225,.18);
    --pr-metal:rgba(180,190,198,.16);
    min-width:0;
}

.pr-editorial__heading{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:24px;
    margin-bottom:22px;
    min-width:0;
}

.pr-editorial__heading>div{
    min-width:0;
}

.pr-editorial__heading h2{
    margin-top:5px;
    max-width:100%;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:auto;
}

.pr-editorial__count,
.pr-editorial__sort-note{
    flex:0 0 auto;
    padding:8px 12px;
    border:1px solid rgba(88,214,223,.22);
    border-radius:999px;
    background:rgba(88,214,223,.07);
    color:rgba(224,235,237,.78);
    font-size:11px;
    font-weight:850;
    letter-spacing:.08em;
    text-transform:uppercase;
    white-space:nowrap;
}

.pr-story-card{
    position:relative;
    display:flex;
    flex-direction:column;
    min-width:0;
    overflow:hidden;
    border:1px solid var(--pr-line);
    border-radius:28px;
    background:
        radial-gradient(circle at 92% 4%,rgba(88,214,223,.11),transparent 31%),
        linear-gradient(145deg,rgba(218,224,228,.12),rgba(64,75,85,.10) 36%,rgba(12,18,24,.76) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.18),
        inset 0 -1px 0 rgba(0,0,0,.40),
        0 22px 52px rgba(0,0,0,.22);
    isolation:isolate;
    transition:transform .24s ease,border-color .24s ease,box-shadow .24s ease;
}

.pr-story-card::before{
    content:"";
    position:absolute;
    inset:0;
    z-index:-1;
    pointer-events:none;
    background:linear-gradient(112deg,transparent 0 18%,rgba(255,255,255,.10) 28%,transparent 42% 100%);
    opacity:.32;
}

.pr-story-card:hover{
    transform:translateY(-4px);
    border-color:rgba(88,214,223,.34);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.20),
        inset 0 -1px 0 rgba(0,0,0,.42),
        0 28px 66px rgba(0,0,0,.28),
        0 0 30px rgba(88,214,223,.06);
}

/* Wide preview stage. The original image is always fully visible; a blurred
   duplicate only fills unused space for unusual upload ratios. */
.pr-story-card__media{
    position:relative;
    display:grid;
    place-items:center;
    width:100%;
    min-width:0;
    aspect-ratio:16/9;
    overflow:hidden;
    background:#091118;
    isolation:isolate;
}

.pr-story-card__media-backdrop,
.pr-story-card__media-image{
    position:absolute;
    inset:0;
    display:block;
    width:100%;
    height:100%;
    max-width:100%;
}

.pr-story-card__media-backdrop{
    z-index:0;
    object-fit:cover;
    transform:scale(1.10);
    filter:blur(24px) brightness(.46) saturate(.86);
    opacity:.80;
}

.pr-story-card__media-image{
    z-index:1;
    object-fit:contain;
    object-position:center;
    filter:saturate(.96) contrast(1.035);
    transition:transform .45s cubic-bezier(.2,.8,.2,1),filter .3s ease;
}

.pr-story-card:hover .pr-story-card__media-image{
    transform:scale(1.012);
    filter:saturate(1.02) contrast(1.045);
}

.pr-story-card__image-shade{
    position:absolute;
    inset:0;
    z-index:2;
    pointer-events:none;
    background:
        linear-gradient(180deg,rgba(3,8,12,.05) 0 58%,rgba(3,8,12,.34) 100%),
        linear-gradient(112deg,rgba(255,255,255,.045),transparent 36%);
    box-shadow:inset 0 -1px 0 rgba(255,255,255,.08);
}

.pr-story-card__latest-badge{
    position:absolute;
    z-index:3;
    left:20px;
    bottom:20px;
    max-width:calc(100% - 40px);
    padding:8px 13px;
    border:1px solid rgba(168,241,244,.46);
    border-radius:999px;
    background:linear-gradient(135deg,rgba(10,24,31,.92),rgba(45,96,104,.74));
    color:var(--pr-cyan-bright);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 10px 24px rgba(0,0,0,.26);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    font-size:11px;
    font-weight:900;
    letter-spacing:.10em;
    line-height:1.2;
    text-transform:uppercase;
    white-space:normal;
    overflow-wrap:break-word;
}

.pr-story-card__content{
    display:flex;
    flex:1 1 auto;
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
    min-width:0;
    width:100%;
    padding:20px;
}

.pr-story-card__meta{
    display:flex;
    flex-wrap:wrap;
    align-items:center;
    gap:8px 12px;
    width:100%;
    min-width:0;
    color:rgba(222,229,233,.62);
    font-size:11px;
    font-weight:800;
    letter-spacing:.075em;
    line-height:1.35;
    text-transform:uppercase;
}

.pr-story-card__category{
    display:inline-flex;
    align-items:center;
    max-width:100%;
    padding:5px 9px;
    border:1px solid rgba(88,214,223,.22);
    border-radius:999px;
    background:rgba(88,214,223,.075);
    color:rgba(165,239,242,.88);
    white-space:normal;
    overflow-wrap:break-word;
}

.pr-story-card__meta time{
    min-width:0;
    white-space:normal;
}

.pr-story-card__title{
    width:100%;
    max-width:100%;
    margin:0;
    color:var(--pr-ivory);
    font-size:clamp(1.16rem,1.55vw,1.48rem);
    line-height:1.14;
    letter-spacing:-.022em;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:auto;
}

.pr-story-card__title a,
.pr-story-card__title span{
    display:block;
    max-width:100%;
    color:inherit;
    text-decoration:none;
    overflow-wrap:inherit;
    word-break:inherit;
    hyphens:inherit;
}

.pr-story-card__teaser{
    width:100%;
    max-width:100%;
    margin:0;
    color:var(--pr-muted);
    font-size:13.5px;
    line-height:1.62;
    overflow-wrap:break-word;
    word-break:normal;
    hyphens:auto;
}

.pr-story-card__teaser span{
    display:block;
    max-width:100%;
}

.pr-story-card__action{
    display:inline-flex;
    align-items:center;
    gap:9px;
    min-height:36px;
    margin-top:auto;
    padding:8px 13px;
    border:1px solid rgba(88,214,223,.26);
    border-radius:999px;
    background:linear-gradient(135deg,rgba(88,214,223,.12),rgba(255,255,255,.045));
    color:rgba(219,244,245,.92);
    font-size:12px;
    font-weight:880;
    letter-spacing:.025em;
    line-height:1.2;
    text-decoration:none;
    transition:transform .2s ease,border-color .2s ease,background .2s ease;
}

.pr-story-card__action:hover,
.pr-story-card__action:focus-visible{
    transform:translateX(2px);
    border-color:rgba(88,214,223,.48);
    background:linear-gradient(135deg,rgba(88,214,223,.18),rgba(255,255,255,.07));
}

.pr-story-card__arrow{
    color:var(--pr-cyan-bright);
    font-size:15px;
    line-height:1;
}

/* Latest article: full-width cinematic image, then a compact editorial grid. */
.pr-story-card--lead{
    display:flex;
    flex-direction:column;
    min-height:0;
    border-radius:34px;
}

.pr-story-card--lead .pr-story-card__media{
    aspect-ratio:21/9;
    min-height:0;
}

.pr-story-card--lead .pr-story-card__content{
    display:grid;
    grid-template-columns:minmax(0,1.12fr) minmax(280px,.88fr);
    grid-template-areas:
        "meta meta"
        "title teaser"
        "title action";
    align-items:start;
    column-gap:clamp(28px,5vw,64px);
    row-gap:14px;
    padding:clamp(24px,4vw,44px);
}

.pr-story-card--lead .pr-story-card__meta{
    grid-area:meta;
}

.pr-story-card--lead .pr-story-card__title{
    grid-area:title;
    align-self:start;
    font-size:clamp(1.8rem,3vw,3.05rem);
    line-height:1.04;
    letter-spacing:-.035em;
}

.pr-story-card--lead .pr-story-card__teaser{
    grid-area:teaser;
    align-self:start;
    font-size:clamp(14px,1.2vw,16px);
    line-height:1.66;
}

.pr-story-card--lead .pr-story-card__action{
    grid-area:action;
    justify-self:start;
    align-self:end;
    margin-top:4px;
}

/* Archive: two-column editorial grid so every preview stays genuinely wide. */
.pr-story-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:20px;
    min-width:0;
}

.pr-editorial__empty{
    padding:24px;
}

@media(max-width:980px){
    .pr-story-card--lead .pr-story-card__media{
        aspect-ratio:16/8.6;
    }

    .pr-story-card--lead .pr-story-card__content{
        grid-template-columns:minmax(0,1fr);
        grid-template-areas:
            "meta"
            "title"
            "teaser"
            "action";
        column-gap:0;
    }
}

@media(max-width:760px){
    .pr-editorial__heading{
        align-items:flex-start;
        flex-direction:column;
        gap:12px;
        margin-bottom:17px;
    }

    .pr-editorial__count,
    .pr-editorial__sort-note{
        white-space:normal;
    }

    .pr-story-grid{
        grid-template-columns:minmax(0,1fr);
        gap:15px;
    }

    .pr-story-card,
    .pr-story-card--lead{
        border-radius:24px;
    }

    .pr-story-card--lead .pr-story-card__media,
    .pr-story-card__media{
        aspect-ratio:16/9;
    }

    .pr-story-card__content,
    .pr-story-card--lead .pr-story-card__content{
        padding:18px;
    }

    .pr-story-card__title{
        font-size:1.2rem;
        line-height:1.18;
    }

    .pr-story-card--lead .pr-story-card__title{
        font-size:clamp(1.55rem,8vw,2.15rem);
        line-height:1.07;
    }

    .pr-story-card__teaser,
    .pr-story-card--lead .pr-story-card__teaser{
        font-size:13.5px;
        line-height:1.58;
    }

    .pr-story-card__latest-badge{
        left:13px;
        bottom:13px;
        max-width:calc(100% - 26px);
        font-size:10px;
    }
}

@media(max-width:420px){
    .pr-story-card__content,
    .pr-story-card--lead .pr-story-card__content{
        padding:16px;
    }

    .pr-story-card__meta{
        gap:7px 10px;
    }
}

@media(prefers-reduced-motion:reduce){
    .pr-story-card,
    .pr-story-card__media-image,
    .pr-story-card__action{
        transition:none!important;
    }
}
