
.spg,
.spg-single {
    --spg-ink: #151515;
    --spg-muted: #6c6c6c;
    --spg-soft: #f4f3f0;
    --spg-border: #deddd9;
    --spg-white: #fff;
    --spg-red: #ff2800;
    box-sizing: border-box;
}

.spg *,
.spg *::before,
.spg *::after,
.spg-single *,
.spg-single *::before,
.spg-single *::after {
    box-sizing: border-box;
}

.spg {
    width: 100%;
    padding-bottom: 30px;
    color: var(--spg-ink);
}

/* Search intentionally mirrors Audio Post Block v2.8 */
.spg-search-wrap {
    margin: 0 0 30px !important;
}

.spg-search {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    align-items: center;
    min-height: 64px;
    padding: 7px 8px 7px 18px;
    border: 1px solid var(--spg-border);
    border-radius: 0 !important;
    background: var(--spg-white);
    box-shadow: none;
}

.spg-search:focus-within {
    border-color: #8a8a8a;
}

.spg-search__icon {
    display: grid;
    place-items: center;
    margin-right: 12px;
    color: #737373;
}

.spg-search__input {
    min-width: 0;
    width: 100%;
    height: 48px;
    padding: 0;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--spg-ink);
    font: inherit;
    font-size: 16px;
}

.spg-search__input::placeholder {
    color: #929292;
    opacity: 1;
}

.spg-search__clear {
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 0 !important;
    background: transparent;
    color: #777;
    font-size: 25px;
    line-height: 1;
    cursor: pointer;
}

.spg-search__button {
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 0 !important;
    background: var(--spg-ink);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.spg-search__button:hover,
.spg-search__button:focus-visible {
    background: var(--spg-red);
}

.spg-search__button:disabled {
    opacity: .6;
    cursor: wait;
}

.spg-search__status {
    min-height: 0;
    margin-top: 6px;
    color: var(--spg-muted);
    font-size: 13px;
}

.spg-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 30px;
    align-items: start;
}

.spg-main {
    min-width: 0;
}

.spg-results {
    transition: opacity .2s ease;
}

.spg.is-loading .spg-results {
    opacity: .5;
}

/* Cards mirror Audio Post Block */
.spg-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--spg-columns, 3), minmax(0, 1fr)) !important;
    gap: 10px !important;
}

.spg-card {
    display: flex !important;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--spg-border);
    border-radius: 0 !important;
    background: var(--spg-white);
    box-shadow: none;
}

.spg-card__media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #171717;
}

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

.spg-card__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,.22));
    pointer-events: none;
}

.spg-card__action {
    position: absolute;
    z-index: 2;
    left: 18px;
    bottom: 18px;
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.95);
    color: #111;
    transition: background-color .2s ease, color .2s ease;
}

.spg-card:hover .spg-card__action,
.spg-card__media:focus-visible .spg-card__action {
    background: var(--spg-red);
    color: #fff;
}

.spg-card__fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #262626, #0a0a0a);
}

.spg-card__fallback-mark {
    color: rgba(255,255,255,.92);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: .22em;
}

.spg-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    padding: 24px;
}

.spg-card__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--spg-muted);
    font-size: 12px;
    font-weight: 600;
}

.spg-card__category {
    color: var(--spg-ink);
    font-weight: 850;
    letter-spacing: .11em;
    text-transform: uppercase;
}

.spg-card__dot {
    color: #b4b4b4;
}

.spg-card__title {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 650;
    line-height: 1.08;
    letter-spacing: -.03em;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.spg-card__title a {
    color: inherit;
    text-decoration: none;
}

.spg-card__title a:hover,
.spg-card__title a:focus-visible {
    color: var(--spg-red);
}

.spg-card__excerpt {
    margin: 0 0 10px;
    color: var(--spg-muted);
    font-size: 15px;
    line-height: 1.65;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.spg-card__details {
    display: grid;
    gap: 4px;
    margin-top: 2px;
    color: var(--spg-muted);
    font-size: 12px;
    line-height: 1.45;
}

.spg-card__details strong {
    color: var(--spg-ink);
    font-weight: 800;
}

.spg-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 14px;
}

.spg-card__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid #151515;
    border-radius: 0;
    background: #151515;
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .10em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color .2s ease, border-color .2s ease;
}

.spg-card__link:hover,
.spg-card__link:focus-visible {
    background: var(--spg-red);
    border-color: var(--spg-red);
    color: #fff;
}

.spg-card__brand {
    color: #9a9a9a;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .20em;
}

.spg-empty {
    display: grid;
    gap: 5px;
    padding: 44px 24px;
    border: 1px dashed var(--spg-border);
    border-radius: 0 !important;
    text-align: center;
    background: var(--spg-soft);
}

/* Right sidebar */
.spg-sidebar {
    position: sticky;
    top: 24px;
    border: 1px solid var(--spg-border);
    background: var(--spg-white);
}

.spg-sidebar__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding: 22px 20px 19px;
    border-bottom: 1px solid var(--spg-border);
}

.spg-sidebar__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #929292;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.spg-sidebar h3 {
    margin: 0;
    color: var(--spg-ink);
    font-size: 18px;
    font-weight: 750;
    line-height: 1.1;
    letter-spacing: -.03em;
}

.spg-sidebar__close {
    display: none;
    width: 36px;
    height: 36px;
    border: 0;
    background: transparent;
    color: #777;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.spg-filter {
    border-bottom: 1px solid var(--spg-border);
}

.spg-filter__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 20px;
    border: 0;
    background: #fff;
    color: var(--spg-ink);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.spg-filter__chevron {
    color: #8b8b8b;
    font-size: 18px;
    font-weight: 400;
}

.spg-filter__body {
    display: grid;
    gap: 9px;
    max-height: 220px;
    overflow-y: auto;
    padding: 14px 20px 18px;
}

.spg-filter.is-collapsed .spg-filter__body {
    display: none;
}

.spg-check {
    display: grid;
    grid-template-columns: 17px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    color: var(--spg-muted);
    font-size: 13px;
    line-height: 1.35;
    cursor: pointer;
}

.spg-check input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.spg-check__box {
    position: relative;
    width: 17px;
    height: 17px;
    border: 1px solid #bdbdbd;
    background: #fff;
}

.spg-check input:checked + .spg-check__box {
    border-color: var(--spg-ink);
    background: var(--spg-ink);
}

.spg-check input:checked + .spg-check__box::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 2px;
    width: 4px;
    height: 8px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.spg-clear-filters {
    width: calc(100% - 40px);
    min-height: 44px;
    margin: 20px;
    border: 1px solid var(--spg-ink);
    border-radius: 0;
    background: var(--spg-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.spg-clear-filters:hover,
.spg-clear-filters:focus-visible {
    background: var(--spg-red);
    border-color: var(--spg-red);
}

.spg-mobile-filter-button {
    display: none;
    width: 100%;
    min-height: 48px;
    margin: 0 0 20px;
    border: 0;
    border-radius: 0;
    background: var(--spg-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.spg-load-more-wrap {
    display: flex;
    justify-content: center;
    padding-top: 30px;
}

.spg-load-more {
    min-width: 180px;
    min-height: 48px;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    background: #151515;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.spg-load-more:hover,
.spg-load-more:focus-visible {
    background: var(--spg-red);
}

.spg-load-more:disabled {
    opacity: .6;
    cursor: wait;
}

.spg-load-more-wrap[hidden] {
    display: none !important;
}

.screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* Matching single guest post */
.spg-single {
    width: 100%;
    background: #f4f3f0;
    color: #151515;
    padding: 60px 25px 90px;
}

.spg-single__inner {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
}

.spg-single__back {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 24px;
    color: #6c6c6c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-decoration: none;
}

.spg-single__back:hover {
    color: var(--spg-red);
}

.spg-single__hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr);
    background: #fff;
    border: 1px solid var(--spg-border);
}

.spg-single__hero-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: clamp(35px, 5vw, 70px);
}

.spg-single__kicker {
    margin-bottom: 16px;
    color: #6c6c6c;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.spg-single__title {
    margin: 0 0 20px;
    color: #151515;
    font-size: clamp(48px, 6vw, 88px);
    font-weight: 800;
    line-height: .93;
    letter-spacing: -.055em;
}

.spg-single__intro {
    margin: 0;
    max-width: 680px;
    color: #6c6c6c;
    font-size: 18px;
    line-height: 1.65;
}

.spg-single__hero-media {
    min-height: 420px;
    background: #171717;
}

.spg-single__hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 420px;
    object-fit: cover;
}

.spg-single__hero-fallback {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: 420px;
    background: linear-gradient(135deg, #262626, #0a0a0a);
    color: rgba(255,255,255,.92);
    font-size: 32px;
    font-weight: 900;
    letter-spacing: .22em;
}

.spg-single__content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 30px;
    margin-top: 30px;
    align-items: start;
}

.spg-single__content,
.spg-single__setup {
    background: #fff;
    border: 1px solid var(--spg-border);
}

.spg-single__content {
    padding: clamp(28px, 4vw, 50px);
}

.spg-single__content h2,
.spg-single__content h3,
.spg-single__content h4 {
    color: #151515;
    letter-spacing: -.03em;
}

.spg-single__content p,
.spg-single__content li {
    color: #555;
    font-size: 17px;
    line-height: 1.75;
}

.spg-single__content a {
    color: #151515;
    font-weight: 700;
}

.spg-single__content a:hover {
    color: var(--spg-red);
}

.spg-single__section-label {
    display: block;
    margin-bottom: 18px;
    color: #6c6c6c;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.spg-single__setup {
    position: sticky;
    top: 24px;
}

.spg-single__setup-head {
    padding: 22px 22px 18px;
    border-bottom: 1px solid var(--spg-border);
}

.spg-single__setup-head span {
    display: block;
    margin-bottom: 5px;
    color: #929292;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.spg-single__setup-head h2 {
    margin: 0;
    font-size: 19px;
    font-weight: 750;
    letter-spacing: -.03em;
}

.spg-single__setup-row {
    padding: 18px 22px;
    border-bottom: 1px solid var(--spg-border);
}

.spg-single__setup-row:last-child {
    border-bottom: 0;
}

.spg-single__setup-key {
    display: block;
    margin-bottom: 5px;
    color: #929292;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.spg-single__setup-value {
    color: #151515;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.45;
}

.spg-single__episodes {
    margin-top: 30px;
    padding: clamp(28px, 4vw, 50px);
    border: 1px solid var(--spg-border);
    background: #fff;
}

.spg-single__episodes-title {
    margin: 0 0 22px;
    color: #151515;
    font-size: 24px;
    font-weight: 750;
    letter-spacing: -.03em;
}

@media (max-width: 1100px) {
    .spg-layout {
        grid-template-columns: minmax(0, 1fr) 250px;
        gap: 20px;
    }

    .spg-grid {
        grid-template-columns: repeat(min(var(--spg-columns, 3), 2), minmax(0, 1fr)) !important;
    }
}

@media (max-width: 820px) {
    .spg-layout {
        display: block;
    }

    .spg-mobile-filter-button {
        display: block;
    }

    .spg-sidebar {
        display: none;
        position: fixed;
        z-index: 999999;
        inset: 0 0 0 auto;
        width: min(88vw, 360px);
        max-height: 100vh;
        overflow-y: auto;
        border-top: 0;
        border-right: 0;
        border-bottom: 0;
        box-shadow: -18px 0 50px rgba(0,0,0,.2);
    }

    .spg.filters-open .spg-sidebar {
        display: block;
    }

    .spg-sidebar__close {
        display: block;
    }

    .spg-single__hero,
    .spg-single__content-layout {
        grid-template-columns: 1fr;
    }

    .spg-single__hero-media {
        order: -1;
        min-height: 360px;
    }

    .spg-single__hero-media img {
        min-height: 360px;
    }

    .spg-single__setup {
        position: static;
    }
}

@media (max-width: 700px) {
    .spg-grid {
        grid-template-columns: 1fr !important;
    }
}

@media (max-width: 560px) {
    .spg-search {
        grid-template-columns: auto minmax(0, 1fr) auto;
    }

    .spg-search__button {
        grid-column: 1 / -1;
        width: 100%;
        margin-top: 7px;
    }

    .spg-card__body {
        padding: 20px;
    }

    .spg-single {
        padding: 30px 18px 55px;
    }

    .spg-single__hero-media,
    .spg-single__hero-media img,
    .spg-single__hero-fallback {
        min-height: 280px;
    }

    .spg-single__hero-copy {
        padding: 28px 24px 32px;
    }

    .spg-single__title {
        font-size: clamp(42px, 14vw, 62px);
    }

    .spg-single__intro {
        font-size: 16px;
    }

    .spg-single__content {
        padding: 26px 22px;
    }
}


.spg-single__identity {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 14px;
    margin: -6px 0 18px;
    color: #6c6c6c;
    font-size: 14px;
    line-height: 1.4;
}

.spg-single__identity strong {
    color: #151515;
    font-weight: 800;
}

.spg-single__socials {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spg-single__socials a {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    background: #151515;
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    text-decoration: none;
}

.spg-single__socials a:hover,
.spg-single__socials a:focus-visible {
    background: #ff2800;
    color: #fff;
}


/* Public guest submission form */
.spg-guest-form-wrap {
    --spg-ink: #151515;
    --spg-muted: #6c6c6c;
    --spg-soft: #f4f3f0;
    --spg-border: #deddd9;
    --spg-red: #ff2800;
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    color: var(--spg-ink);
}

.spg-guest-form-wrap *,
.spg-guest-form-wrap *::before,
.spg-guest-form-wrap *::after {
    box-sizing: border-box;
}

.spg-guest-form__head {
    margin-bottom: 28px;
}

.spg-guest-form__eyebrow {
    display: block;
    margin-bottom: 10px;
    color: var(--spg-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.spg-guest-form__head h2 {
    margin: 0 0 12px;
    color: var(--spg-ink);
    font-size: clamp(34px, 5vw, 58px);
    font-weight: 850;
    line-height: .98;
    letter-spacing: -.045em;
}

.spg-guest-form__head p {
    max-width: 760px;
    margin: 0;
    color: var(--spg-muted);
    font-size: 17px;
    line-height: 1.65;
}

.spg-guest-form {
    border: 1px solid var(--spg-border);
    background: #fff;
}

.spg-guest-form__section {
    padding: 30px;
    border-bottom: 1px solid var(--spg-border);
}

.spg-guest-form__section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.spg-guest-form__section-title > span {
    color: var(--spg-red);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .1em;
}

.spg-guest-form__section-title h3 {
    margin: 0;
    color: var(--spg-ink);
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.025em;
}

.spg-guest-form__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.spg-guest-form__grid--single {
    grid-template-columns: 1fr;
}

.spg-form-field {
    display: block;
    min-width: 0;
}

.spg-form-field > span {
    display: block;
    margin-bottom: 8px;
    color: var(--spg-ink);
    font-size: 12px;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.spg-form-field em {
    color: var(--spg-red);
    font-style: normal;
}

.spg-form-field input,
.spg-form-field textarea {
    display: block;
    width: 100%;
    border: 1px solid var(--spg-border) !important;
    border-radius: 0 !important;
    outline: none !important;
    background: #fff !important;
    box-shadow: none !important;
    color: var(--spg-ink);
    font: inherit;
    font-size: 15px;
}

.spg-form-field input {
    min-height: 50px;
    padding: 0 14px;
}

.spg-form-field textarea {
    min-height: 120px;
    padding: 14px;
    resize: vertical;
    line-height: 1.55;
}

.spg-form-field input:focus,
.spg-form-field textarea:focus {
    border-color: #7d7d7d !important;
}

.spg-form-field small {
    display: block;
    margin-top: 7px;
    color: #888;
    font-size: 12px;
    line-height: 1.45;
}

.spg-guest-form__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 30px;
    background: var(--spg-soft);
}

.spg-guest-form__footer p {
    max-width: 760px;
    margin: 0;
    color: var(--spg-muted);
    font-size: 13px;
    line-height: 1.55;
}

.spg-guest-form__submit {
    flex: 0 0 auto;
    min-height: 50px;
    padding: 0 24px;
    border: 0;
    border-radius: 0;
    background: var(--spg-ink);
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    cursor: pointer;
}

.spg-guest-form__submit:hover,
.spg-guest-form__submit:focus-visible {
    background: var(--spg-red);
}

.spg-form-message {
    display: grid;
    gap: 4px;
    margin-bottom: 20px;
    padding: 16px 18px;
    border: 1px solid var(--spg-border);
    background: #fff;
}

.spg-form-message--success {
    border-left: 4px solid #2b8a3e;
}

.spg-form-message--error {
    border-left: 4px solid var(--spg-red);
}

.spg-form-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 720px) {
    .spg-guest-form__section {
        padding: 24px 20px;
    }

    .spg-guest-form__grid {
        grid-template-columns: 1fr;
    }

    .spg-guest-form__footer {
        display: block;
        padding: 22px 20px;
    }

    .spg-guest-form__submit {
        width: 100%;
        margin-top: 18px;
    }
}
