/* --- THE SELECTIVE RESET --- */
.entry-content p,
.entry-content .wp-block-post-excerpt__excerpt,
.entry-content .wp-block-post-excerpt {
    font-weight: 500 !important;
    font-size: 1.15rem !important;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6 !important;
}

.entry-content .wp-block-list li {
    font-weight: 500 !important;
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
}

.wp-block-pullquote,
.wp-block-pullquote p,
.post-metadata,
.entry-meta,
.wp-block-post-date {
    font-size: inherit;
    font-weight: inherit;
}

h1, h2, h3, h4, h5, h6,
.wp-block-heading,
.intervals-header *,
.header-nav a,
.wp-block-post-title a,
.wp-block-post-title {
    font-weight: 700 !important;
}

.intervals-header nav,
.intervals-header nav a,
.header-nav a,
.wp-block-navigation .wp-block-navigation-item__content {
    font-family: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk", Helvetica, Arial, sans-serif !important;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 1.05rem;
}

p a, li a {
    font-weight: 500 !important;
    text-decoration: underline;
    font-size: inherit !important;
}

.intervals-essay .intervals-image {
    max-width: 1200px;
    margin: 0 auto;
}

body {
    font-family: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk", Helvetica, sans-serif;
    font-weight: 400 !important;
}

.archive-flow {
    max-width: none;
    margin: 0 auto;
    font-family: 'Neue Haas Grotesk Display Pro', Helvetica, Arial, sans-serif;
    color: #000;
    line-height: 1.5;
    background: #FDFDFB;
    padding: 2rem 1.5rem 4rem;
}

/* ============================================================
   HEADER
   ============================================================ */

.intervals-header {
    background: #FDFDFB;
    padding: 10px 40px 0;
    max-width: 1200px;
    margin: 0 auto;
    font-family: 'Neue Haas Grotesk Display Pro', Helvetica, Arial, sans-serif;
    color: #111;
    position: relative !important;
}

.header-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    width: 100%;
}

.header-logo {
    display: block;
    margin: 0 auto;
    width: 240px;
    max-width: 240px;
    height: auto;
}

@media (min-width: 1180px) {
    .header-logo {
        width: 560px;
        max-width: 560px;
    }
}

.site-tagline {
    margin-top: 4px;
    margin-bottom: 0;
    font-size: 1.5rem !important;
    line-height: 1.25;
    color: #000;
    text-align: center;
    font-family: 'Neue Haas Grotesk Display Pro', Helvetica, Arial, sans-serif;
}

.header-tagline {
    font-size: 1.05rem;
    font-weight: 600;
    color: #333;
    letter-spacing: 0.01em;
    margin: 0 0 6px;
    text-align: center;
}

.header-branding {
    padding-top: 0;
    padding-bottom: 0;
}

.header-nav {
    display: flex;
    gap: 20px;
    margin-top: 6px;
    margin-bottom: 6px;
}

.header-nav a {
    color: #000;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    display: inline-block;
}

.nav-button-pink {
    position: absolute !important;
    left: 0;
    bottom: 0;
    background-color: #e84c8b !important;
    color: #fff !important;
    padding: 10px 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase;
    text-decoration: none !important;
    border-radius: 4px;
    z-index: 10;
    letter-spacing: 0.05em;
    line-height: 1;
    transition: background-color 0.2s ease;
}

.nav-button-pink:hover {
    background-color: #d13d78 !important;
}

.hamburger {
    display: none;
    position: absolute;
    right: 0;
    top: 10px;
    width: 32px;
    height: 24px;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    z-index: 99999;
    padding: 0;
}

.hamburger span {
    display: block;
    height: 3px;
    background: #000;
    transition: 0.3s ease;
}

.hamburger.active span:nth-child(1),
#menu-switch:checked + .hamburger span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
}
.hamburger.active span:nth-child(2),
#menu-switch:checked + .hamburger span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3),
#menu-switch:checked + .hamburger span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
}

.mobile-only-sub,
.mobile-only { display: none !important; }

header .og-image,
.og-image {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

header figure.wp-block-image { margin: 0 !important; padding: 0 !important; }
header.wp-block-template-part { margin-top: 0 !important; padding-top: 0 !important; }
header.wp-block-template-part > * { margin-top: 0 !important; margin-bottom: 0 !important; }
header.wp-block-template-part .header-inner { padding: 8px 0 6px !important; }

/* =====================================================
   ARTICLES — CLEAN 3-COLUMN LAYOUT (Page 1128)
   ===================================================== */

.page-id-1128 li.wp-block-post {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    column-gap: 32px;
    max-width: 1400px;
    margin: 0 auto 140px;
}

.page-id-1128 .wp-block-post-terms {
    grid-column: 1;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    letter-spacing: 1px;
    border-right: 2px solid #134A84;
    padding-right: 6px;
}

.page-id-1128 figure.wp-block-post-featured-image {
    grid-column: 2;
    margin: 0 0 24px;
}

.page-id-1128 figure.wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    display: block;
}

.page-id-1128 .wp-block-post-title,
.page-id-1128 .wp-block-post-author-name {
    grid-column: 2;
    text-align: center;
}

.page-id-1128 time.wp-block-post-date {
    grid-column: 3;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
}

.page .entry-header,
.page .wp-block-post-title {
    display: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* ============================================================
   ARTICLES LAYOUT
   ============================================================ */

#articles-section .articles-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 1fr)
        640px
        minmax(260px, 1fr);
    justify-content: center;
    gap: 32px;
    align-items: stretch;
    padding: 5px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
}

#articles-section .articles-layout::before,
#articles-section .articles-layout::after {
    content: "";
    position: absolute;
    top: 0; bottom: 0;
    width: 1px;
    background: #ddd;
}
#articles-section .articles-layout::before {
    left: calc(50% - 320px - 16px);
}
#articles-section .articles-layout::after {
    left: calc(50% + 320px + 16px);
}

#articles-section .column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.small-post,
.featured-post {
    display: flex;
    flex-direction: column;
    min-height: 250px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5em;
}

#articles-section .left-column .featured-post,
#articles-section .right-column .featured-post,
#articles-section .left-column .small-post,
#articles-section .right-column .small-post {
    justify-content: flex-start;
}

.small-post:last-child,
.featured-post:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.small-post p.meta,
.featured-post p.meta {
    margin: 0;
    padding-top: 0.2em;
    margin-bottom: 0.4em;
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: #EA4A98;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    position: relative;
    top: -2px;
}

#articles-section .left-column a,
#articles-section .right-column a {
    font-size: 30px;
    font-weight: 400;
    line-height: 0.9;
    color: #111;
    text-decoration: none;
}
#articles-section .left-column a:hover,
#articles-section .right-column a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

#articles-section .center-column .featured-post h3,
#articles-section .center-column .featured-post h3 a {
    font-size: 50px;
    font-weight: 600;
    line-height: 0.8;
    color: #111;
    text-align: center;
    margin-top: 0.15em;
}

#articles-section img { border-radius: 0 !important; }
#articles-section figure,
#articles-section .image-wrapper { border-radius: 0 !important; }

#articles-section .notes-tag,
#articles-section .notes-tag a,
.notes-tag,
.notes-tag a {
    color: #EA4A98 !important;
}

/* ============================================================
   DESKTOP (≥ 1180px)
   ============================================================ */

@media (min-width: 1180px) {
    .hamburger,
    #menu-switch { display: none !important; }

    .desktop-only,
    .desktop-only-sub { display: block !important; order: -1; }

    .header-nav {
        display: flex !important;
        gap: 15px !important;
        position: static !important;
        padding: 0 !important;
    }

    #articles-section .image-wrapper {
        width: 100%;
        aspect-ratio: 1.85 / 1;
        overflow: hidden;
        margin-bottom: 12px;
    }

    #articles-section .center-column .image-wrapper {
        aspect-ratio: 16 / 9;
    }

    #articles-section .image-wrapper img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block;
    }

    .intervals-articles .intervals-image {
        height: 220px;
        overflow: hidden;
    }

    .intervals-articles .intervals-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

/* ============================================================
   MOBILE (≤ 1179px)
   ============================================================ */

@media (max-width: 1179px) {

    .hamburger {
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        width: 30px !important;
        height: 20px !important;
        z-index: 9999 !important;
        background: transparent !important;
        border: none !important;
        cursor: pointer !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    .hamburger span {
        display: block !important;
        width: 100% !important;
        height: 3px !important;
        background-color: #000 !important;
        transition: 0.3s !important;
    }

    .desktop-only,
    .desktop-only-sub,
    .header-tagline { display: none !important; }

    .mobile-only,
    .mobile-only-sub { display: block !important; }

    .header-nav {
        display: none !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #FDFDFB !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 9998 !important;
        gap: 30px !important;
    }

    .header-nav.active,
    #menu-switch:checked ~ .header-nav {
        display: flex !important;
    }

    .header-nav a:not(.mobile-only-sub) {
        font-size: 2.2rem !important;
        font-weight: 800 !important;
        text-transform: uppercase !important;
        color: #000 !important;
        text-decoration: none !important;
        margin: 10px 0 !important;
    }

    .mobile-only-sub {
        display: inline-block !important;
        background-color: #e84c8b !important;
        color: #fff !important;
        padding: 12px 24px !important;
        border-radius: 4px;
        font-size: 1rem !important;
        text-decoration: none !important;
        font-weight: 700 !important;
        margin-top: 15px !important;
        align-self: center !important;
    }

    .nav-button-pink {
        position: static !important;
        margin: 10px auto !important;
        display: table !important;
    }

    .intervals-header {
        padding-top: 70px !important;
        padding-bottom: 12px !important;
    }

    .header-branding {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    header.wp-block-template-part .header-inner {
        padding-top: 0px;
        padding-bottom: 0px;
    }

    header.wp-block-template-part {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .articles-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
        padding: 0 16px !important;
    }

    .articles-layout::before,
    .articles-layout::after {
        display: none !important;
    }

    .left-post-1,
    .right-post-1,
    .left-post-2,
    .right-post-2,
    .featured-post {
        grid-column: auto !important;
        grid-row: auto !important;
    }

    .small-post,
    .featured-post {
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        text-align: center !important;
        min-height: unset !important;
        justify-content: flex-start !important;
    }

    .image-wrapper {
        overflow: hidden;
        width: 100% !important;
        aspect-ratio: auto !important;
    }

    .image-wrapper img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    #articles-section .image-wrapper img {
        height: auto !important;
    }

    #articles-section .image-wrapper,
    #articles-section .intervals-image,
    #articles-section figure,
    #articles-section .wp-block-post-featured-image {
        height: auto !important;
        min-height: 0 !important;
    }

    #articles-section img {
        height: auto !important;
        max-height: none !important;
    }

    .featured-post h3 a {
        font-size: 28px !important;
        line-height: 1.15 !important;
    }

    #articles-section .small-post a span {
        font-size: 20px !important;
        line-height: 1.2 !important;
        padding: 0 10px;
    }

    .small-post .meta,
    .featured-post .meta {
        margin-top: 12px !important;
    }

    .pull-quote {
        font-size: 1rem !important;
        line-height: 1.4 !important;
        padding: 0 8px;
    }

    #articles-section article:not(:first-of-type) {
        display: none !important;
    }

    #articles-section .more-articles-link {
        display: block !important;
        margin: 1.2em auto 0;
        text-align: center;
        font-size: 1rem;
        font-weight: 600;
        letter-spacing: 0.03em;
        text-transform: uppercase;
        color: #000;
        border-bottom: 2px solid #000;
        width: fit-content;
        padding-bottom: 4px;
    }

    .wp-block-query .wp-block-post-template,
    .wp-block-post-template {
        grid-template-columns: 1fr !important;
    }

    .wp-block-post-featured-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    .wp-block-post-template > li {
        margin-bottom: 32px !important;
    }

    .wp-block-post-title {
        word-break: break-word;
        hyphens: auto;
    }

    .wp-block-post-title a {
        font-size: 1.3rem !important;
        line-height: 1.3 !important;
    }

    .wp-block-post-excerpt {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
    }

    .wp-block-query,
    .wp-block-group:not(.wp-block-post-content),
    .wp-block-group__inner-container {
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 20px !important;
    }

    .intervals-feed {
        max-width: 640px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 16px;
        padding-right: 16px;
        box-sizing: border-box;
    }

    .intervals-feed *,
    .intervals-feed *::before,
    .intervals-feed *::after {
        box-sizing: border-box;
        max-width: 100%;
    }

    .intervals-row {
        display: block;
        margin-bottom: 48px;
    }

    .intervals-article,
    .intervals-essay-inner {
        display: block;
        width: 100%;
        margin-bottom: 32px;
        margin-left: auto;
        margin-right: auto;
    }

    .intervals-image,
    .intervals-image img {
        width: 100%;
        max-width: 100%;
        height: auto;
        display: block;
    }

    .intervals-feed img {
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .intervals-articles .intervals-title {
        font-size: 1.5rem;
        line-height: 1.15;
    }

    .intervals-essay .intervals-title {
        font-size: 1.8rem;
        line-height: 1.1;
    }

    .intervals-excerpt {
        font-size: 1rem;
        line-height: 1.45;
    }

    #articles-section {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #articles-section .articles-layout {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    #articles-section .featured-post,
    #articles-section .featured-post > a,
    #articles-section .featured-post .image-wrapper {
        margin-top: 0 !important;
    }

    #articles-section .featured-post > a {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    #articles-section .featured-post .image-wrapper {
        display: block !important;
        position: static !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        aspect-ratio: auto !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        line-height: 0 !important;
    }

    #articles-section .featured-post .image-wrapper img {
        position: static !important;
        inset: auto !important;
        top: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    #articles-section .featured-post .image-wrapper::before,
    #articles-section .featured-post .image-wrapper::after {
        content: none !important;
        display: none !important;
    }

    #articles-section .featured-post {
        margin-top: 10px !important;
    }

    .featured-post .image-wrapper {
        aspect-ratio: auto !important;
        height: auto !important;
        overflow: visible !important;
    }

    .featured-post .image-wrapper img {
        position: static !important;
        inset: auto !important;
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        display: block !important;
    }

    h1, h2, h3, h4, h5, h6 {
        line-height: 1.1 !important;
    }

    .page-id-2467 .articles-layout {
        display: flex !important;
        flex-direction: column !important;
        gap: 32px !important;
        padding: 0 16px !important;
    }

    .page-id-2810 .screening {
        flex: 0 0 calc((100% - 14px) / 2) !important;
        max-width: calc((100% - 14px) / 2) !important;
    }
}

/* ============================================================
   ALIGNED QUERY GRID
   ============================================================ */

@media (min-width: 782px) {
    .aligned-query-grid .wp-block-post-template {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        column-gap: 30px;
        align-items: start;
    }

    .aligned-query-grid .wp-block-post-template > li {
        display: grid !important;
        grid-template-rows: auto auto auto 1fr auto;
        height: 100% !important;
    }
}

@media (max-width: 781px) {
    .aligned-query-grid .wp-block-post-template > li {
        display: block !important;
        height: auto !important;
        margin-bottom: 20px !important;
        padding-bottom: 0 !important;
    }

    .aligned-query-grid .wp-block-post-featured-image {
        margin-bottom: 5px !important;
    }

    .aligned-query-grid .wp-block-post-date {
        margin-top: 0 !important;
        margin-bottom: 5px !important;
        display: block !important;
    }

    .aligned-query-grid .wp-block-post-featured-image img {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        object-fit: cover !important;
    }

    .aligned-query-grid .wp-block-separator {
        margin-top: 15px !important;
        margin-bottom: 15px !important;
        width: 100% !important;
    }

    .aligned-query-grid .wp-block-post-excerpt p {
        margin-bottom: 0 !important;
    }
}

.aligned-query-grid .wp-block-post-title {
    margin-top: 10px !important;
    margin-bottom: 0px !important;
    padding-bottom: 0 !important;
}

.aligned-query-grid .wp-block-post-excerpt {
    margin-top: 5px !important;
    margin-bottom: 0 !important;
}

.aligned-query-grid .wp-block-separator {
    grid-row-start: 5;
    align-self: end;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    width: 100% !important;
    border: none !important;
    border-bottom: 1px solid #000 !important;
    opacity: 1 !important;
}

.aligned-query-grid .wp-block-post-excerpt p {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

/* ============================================================
   3-COL ARTICLES GRID
   ============================================================ */

.wp-block-query .wp-block-post-template {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px 32px;
}

.wp-block-query .wp-block-post {
    margin: 0;
    padding: 0;
    border: none;
}

.wp-block-query .wp-block-post-title {
    font-size: 1.25rem;
    line-height: 1.15;
    margin-top: 10px;
}

.wp-block-query .wp-block-post-date {
    font-size: 0.8rem;
    opacity: 0.6;
}

.wp-block-query .wp-block-post-featured-image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    margin-bottom: 10px;
}

.wp-block-query .wp-block-post-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.wp-block-query .wp-block-post:nth-child(4n) {
    grid-column: 1 / -1;
}

.wp-block-query .wp-block-post:nth-child(4n) .wp-block-post-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    line-height: 1.05;
}

@media (max-width: 900px) {
    .wp-block-query .wp-block-post-template {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .wp-block-query .wp-block-post:nth-child(4n) {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* ============================================================
   INTERVALS FEED
   ============================================================ */

.intervals-feed {
    display: flex;
    flex-direction: column;
    gap: 60px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    font-family: "Neue Haas Grotesk Display Pro", "Neue Haas Grotesk", Helvetica, Arial, sans-serif;
    color: #111;
    row-gap: 0 !important;
}

.intervals-articles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

.intervals-article {
    width: 100%;
}

.intervals-essay {
    max-width: 1200px;
    margin: 40px auto;
    width: 100%;
    display: flex;
    justify-content: center;
}

.intervals-essay-inner {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.intervals-row {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 20px !important;
}

.intervals-row.intervals-articles {
    max-width: 1200px;
    margin-left: auto !important;
    margin-right: auto !important;
}

.intervals-row.intervals-essay {
    max-width: 1200px;
    margin-bottom: 80px;
    padding-bottom: 20px !important;
}

.intervals-row.intervals-essay .intervals-image {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.5em;
    transform: translateX(-230px) !important;
}

.intervals-row.intervals-essay .intervals-image img {
    width: 100%;
    height: auto;
    display: block;
}

.intervals-row.intervals-essay .intervals-essay-inner {
    transform: translateX(150px) !important;
}

.intervals-article .intervals-title {
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.01em;
    margin: 0 0 0.4em;
}

.intervals-article .intervals-title a {
    color: inherit;
    text-decoration: none;
}

.intervals-article .intervals-title a:hover {
    text-decoration: underline;
}

.intervals-article .intervals-excerpt {
    font-size: 0.9rem;
    line-height: 1.45;
    color: #444;
    margin: 0;
}

.intervals-essay-inner .intervals-title {
    font-size: 1.9rem;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin: 0 0 0.6em;
}

.intervals-essay-inner .intervals-excerpt {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #333;
    margin-bottom: 0 !important;
}

.intervals-feed .intervals-title a {
    color: #000;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 0.15em;
}

.intervals-feed .intervals-title a:hover {
    text-decoration-thickness: 2px;
}

/* ============================================================
   BLOCK — ARTICLES / ESSAY
   ============================================================ */

.block--articles {
    margin-bottom: 4rem;
}

.block--articles .articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-image {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

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

.article h3 {
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0.25rem 0 0;
}

.block--essay {
    max-width: 100%;
    margin: 0 0 4rem;
}

.block--essay .essay {
    max-width: 900px;
    margin: 0 auto;
}

.essay-image img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.75rem;
}

.block--essay h2 {
    font-size: 1.75rem;
    font-weight: 500;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .block--articles .articles-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .block--essay h2 {
        font-size: 1.4rem;
    }
}

/* ============================================================
   PAGE-SPECIFIC OVERRIDES
   ============================================================ */

.page-id-944 header { display: none; }
.error404 header, .error404 footer { display: none !important; }

.page-id-944 .site-content,
.page-id-944 .site-main,
.page-id-944 .entry-content,
.page-id-944 .wp-block-group {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.page-id-1128 .wp-block-post-template {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
}

.page-id-1128 .wp-block-post-template > li.wp-block-post {
    width: 100% !important;
    max-width: none !important;
}

.page-id-1128 li.wp-block-post,
.page-id-1098 li.wp-block-post,
.page-id-1050 li.wp-block-post,
.post-item.wp-block-group {
    margin-bottom: 80px !important;
}

.page-id-1050 .post-item {
    display: grid !important;
    grid-template-columns: 60px 1fr 60px !important;
    column-gap: 32px !important;
    max-width: 1200px !important;
    margin: 0 auto 140px !important;
}

.page-id-1050 .post-item > .wp-block-group.is-layout-flex {
    display: contents !important;
}

.page-id-1050 .vertical-category {
    grid-column: 1;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 16px !important;
    letter-spacing: 1px;
    color: #134A84;
    border-right: 2px solid #134A84;
    padding-right: 6px;
}

.page-id-1050 .vertical-date {
    grid-column: 3;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
    color: #444;
}

.page-id-1050 .center-column,
.page-id-1050 figure.wp-block-post-featured-image {
    grid-column: 2;
}

.page-id-1050 figure.wp-block-post-featured-image img {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
}

.page-id-1098 li.wp-block-post {
    display: grid !important;
    grid-template-areas:
        "category image date"
        ".        title  ."
        ".        author .";
    grid-template-columns: 60px 1fr 60px;
    column-gap: 32px;
    max-width: 1600px;
    margin: 0 auto 140px;
}

.page-id-1098 .wp-block-post-terms {
    grid-area: category;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 15px !important;
    letter-spacing: 1px;
    color: #134A84;
    border-right: 2px solid #134A84;
    padding-right: 6px;
}

.page-id-1098 figure.wp-block-post-featured-image {
    grid-area: image;
    margin: 0 !important;
}

.page-id-1098 figure.wp-block-post-featured-image img {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    display: block;
}

.page-id-1098 .wp-block-post-title {
    grid-area: title;
    text-align: center;
}

.page-id-1098 .wp-block-post-author-name {
    grid-area: author;
    text-align: center;
}

.page-id-1098 time.wp-block-post-date {
    grid-area: date;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: 14px;
}

.page-id-2293 .entry-header,
.page-id-2293 .entry-title,
.page-id-2293 .wp-block-post-title,
.page-id-2293 figure.wp-block-post-featured-image {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.page-id-2293 .wp-block-post-title {
    all: revert !important;
    display: block !important;
    font-size: 2.5rem !important;
    line-height: 1.1 !important;
    margin: 0 0 20px !important;
    text-align: center !important;
}

.page-id-2293 figure.wp-block-post-featured-image {
    all: revert !important;
    display: block !important;
    margin: 0 auto 30px !important;
    max-width: 100% !important;
}

.page-id-2293 figure.wp-block-post-featured-image img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
}

.page-id-2467 #articles-section { max-width: none !important; }

.page-id-2467 .entry-content,
.page-id-2467 .wp-block-post-content,
.page-id-2467 .is-layout-constrained {
    max-width: none !important;
    width: 100% !important;
}

.page-id-2467 .entry-content {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.page-id-2467 .articles-layout {
    display: grid;
    grid-template-columns:
        minmax(260px, 1fr)
        640px
        minmax(260px, 1fr);
    gap: 32px;
    align-items: stretch;
    width: 100%;
    padding: 0 16px;
    box-sizing: border-box;
}

.page-id-2467 .articles-layout .featured-post { grid-column: 2; }
.page-id-2467 .articles-layout .left-post-1   { grid-column: 1; }
.page-id-2467 .articles-layout .right-post-1  { grid-column: 3; }
.page-id-2467 .articles-layout .left-post-2   { grid-column: 1; }
.page-id-2467 .articles-layout .right-post-2  { grid-column: 3; }

.page-id-2810 #cinema-listings {
    max-width: 1080px !important;
    margin: 0 auto !important;
    padding: 0 16px !important;
}

.page-id-2810 .screenings {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 14px !important;
    justify-content: center !important;
}

.page-id-2810 .screening {
    flex: 0 0 calc((100% - 28px) / 3) !important;
    max-width: calc((100% - 28px) / 3) !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
}

/* ============================================================
   LISTINGS
   ============================================================ */

body:has(#cinema-listings) {
    --wp--style--root--padding-left: 0px !important;
    --wp--style--root--padding-right: 0px !important;
}

body:has(#cinema-listings) .wp-site-blocks,
body:has(#cinema-listings) main {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#listings-wrapper {
    width: 100% !important;
    max-width: none !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

#cinema-listings {
    max-width: 1080px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

#cinema-listings .screening {
    position: relative;
    padding-bottom: 16px;
    margin-bottom: 16px;
}

#cinema-listings .screening::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    border-bottom: 1px solid #ddd;
}

#cinema-listings .screening.no-divider::after {
    content: none !important;
}

#cinema-listings .screening .details {
    font-size: 1rem;
    line-height: 1.35;
    font-style: italic;
}

#cinema-listings .screening .time {
    font-size: 0.95rem;
}

#cinema-listings li {
    font-size: initial !important;
    font-weight: initial !important;
    line-height: initial !important;
}

#cinema-listings p {
    font-size: initial !important;
    font-weight: initial !important;
    line-height: initial !important;
}

.page .wp-site-blocks,
.page main,
.page .site,
.page .site-main,
.page .site-content,
.page .entry-content,
.page .wp-block-post-content {
    max-width: none !important;
    width: 100% !important;
}

@media (max-width: 640px) {
    #cinema-listings .screening {
        padding-bottom: 10px;
        margin-bottom: 10px;
    }
}

#cinema-listings .programme-films {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
}

#cinema-listings .programme-films .pf-title {
    font-family: 'Neue Haas Grotesk Display Pro', Helvetica, Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
}

#cinema-listings .programme-films .pf-meta {
    font-size: 0.85rem;
    font-weight: 400;
    color: #666;
    text-align: center;
}

.page-id-2810 #cinema-listings .screening > a {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.15;
    color: #000;
    text-decoration: underline;
}

.page-id-2810 #cinema-listings .notes-tag {
    font-size: 0.75rem;
    font-weight: 600;
    color: #EA4A98;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.page-id-2810 #cinema-listings .notes-tag a {
    color: inherit;
    text-decoration: none;
}

.notes-tag a {
    color: inherit;
    text-decoration: none;
    font-size: inherit !important;
    font-weight: inherit;
}

#cinema-listings .notes-tag a:hover {
    text-decoration: underline;
    text-decoration-color: currentColor;
    text-underline-offset: 0.15em;
}

/* ============================================================
   BUTTONS
   ============================================================ */

.wp-block-button .wp-block-button__link {
    background-color: #e84c8b !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: none;
}

.wp-block-button .wp-block-button__link:hover,
.wp-block-button .wp-block-button__link:focus,
.wp-block-button .wp-block-button__link:visited {
    background-color: #e84c8b !important;
    color: #ffffff !important;
    text-decoration: none !important;
}

/* ============================================================
   GENERAL TYPOGRAPHY & LAYOUT
   ============================================================ */

.og-image { display: none; }
.page .entry-title { display: none !important; }
.page .entry-title a[rel="home"] { display: none !important; }

html, body { overflow-x: hidden; }

html, body,
.wp-site-blocks,
main,
.wp-block-group,
.wp-block-post-content {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.wp-block-post-featured-image {
    max-width: 900px;
    margin: 0 auto 32px;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding-bottom: 0 !important;
}

.wp-block-post-featured-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.wp-block-post-date {
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left;
    margin-top: -12px !important;
    margin-bottom: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.wp-block-post-title {
    margin-bottom: 10px !important;
    margin-top: 0 !important;
}

.wp-block-post-excerpt,
.intervals-excerpt {
    margin-top: 0 !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

figure.wp-block-post-featured-image {
    margin-top: 5px !important;
    margin-bottom: 20px !important;
}

.single-post .wp-block-post-title {
    text-align: left !important;
}

.single-post .wp-block-post-date {
    text-align: left !important;
    margin-top: 0.75em !important;
    margin-bottom: 1.25em !important;
}

.single-post .wp-block-post-title,
.single-post .wp-block-post-date {
    max-width: var(--wp--style--global--content-size);
    margin-left: auto !important;
    margin-right: auto !important;
}

.single-post .entry-content { max-width: none; padding: 0; margin: 0; }
.single-post #listings-wrapper { max-width: none; margin: 0; padding: 0; }

.single-post > .wp-site-blocks > figure.wp-block-post-featured-image { display: none !important; }
.single-post .entry-header figure.wp-block-post-featured-image { display: none !important; }

.entry-title,
.wp-block-post-title,
.page-title,
h1 {
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}

.wp-block-site-tagline { display: none; }
.jetpack-subscription-modal { display: none !important; }

#cinema-listings a,
#cinema-listings a:visited { color: #000; text-decoration-color: #000; }

.wp-block-post-content p a,
.wp-block-post-content li a { color: #EA4A98; text-decoration-color: #EA4A98; }

#cinema-listings a:hover,
.wp-block-post-content p a:hover { opacity: 0.85; }

.calendar-arrow {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    margin: 0 14px;
}

.calendar-arrow svg {
    width: 12px;
    height: 12px;
    fill: #000;
    transition: opacity 0.15s ease;
}

.calendar-arrow:hover svg { opacity: 0.5; }
#prev-btn { margin-right: 1.2rem; }
#next-btn { margin-left: 1.2rem; }
#prev-btn:hover svg { transform: translateX(-2px); }
#next-btn:hover svg { transform: translateX(2px); }

.ballot-actions-inner {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    margin-top: 35px !important;
    margin-bottom: 24px;
}

@media (max-width: 600px) {
    .forminator-ui .forminator-field { margin-bottom: 10px !important; }
    .forminator-ui .forminator-label { margin-bottom: 2px !important; }
    .forminator-ui .forminator-description { margin-bottom: 4px !important; }
}

.forminator-ui h3,
.forminator-ui h2,
.forminator-ui .forminator-label--heading {
    line-height: 1.05 !important;
    margin-bottom: 8px !important;
}

.forminator-ui .forminator-label { line-height: 1.1 !important; }

.page-intro {
    max-width: 640px;
    margin: 16px auto 28px;
    font-size: 1rem;
    line-height: 1.45;
    color: #444;
    text-align: center;
}

@media (max-width: 768px) {
    .page-intro { font-size: 0.95rem; line-height: 1.4; padding: 0 16px; }
}

.archive-flow a { color: inherit; text-decoration: none; }
.archive-flow a:hover { text-decoration: underline; }

.wp-site-blocks { padding-top: 0 !important; }
.wp-site-blocks > header:first-child { margin-top: 0 !important; }
.wp-block-post-excerpt__excerpt { font-size: 1rem !important; font-weight: 400 !important; line-height: 1.5; margin-top: 0.5rem; }

.my-list { column-count: 2; column-gap: 2rem; }
@media (max-width: 768px) { .my-list { column-count: 1; } }

@media (max-width: 780px) {
    .wp-block-columns { flex-direction: column !important; gap: 0 !important; }
    .wp-block-column { margin-top: 0 !important; padding-top: 0 !important; }
    .wp-block-column > ul.wp-block-list { margin-top: 0 !important; margin-bottom: 0 !important; padding-left: 1.2em; }
    .wp-block-column > * + * { margin-top: 0 !important; }
}

@media (max-width: 781px) {
    .wp-block-group.is-nowrap { padding-right: 12px !important; gap: 8px !important; }
    .wp-block-group.is-nowrap .wp-block-button__link { padding: 6px 10px !important; font-size: 12px !important; }
    .single-post .wp-block-post-title { text-align: left !important; }
    .single-post .wp-block-post-date { text-align: left !important; margin-top: 0.75em !important; margin-bottom: 1.25em !important; }
    .wp-block-post-date { margin-top: 0.75em !important; margin-bottom: 1.25em !important; padding-left: 0 !important; padding-right: 0 !important; text-align: left !important; font-size: 0.9rem !important; line-height: 1.2 !important; opacity: 0.6; }
}

@media (max-width: 600px) {
    .return-to-top { position: static !important; width: 100% !important; float: none !important; box-sizing: border-box; }
    .return-links-row { flex-direction: column !important; }
    .return-links-row .html-block,
    .return-links-row a { width: 100% !important; display: block !important; box-sizing: border-box; text-align: center; }
}

@media (max-width: 768px) {
    .page-id-2810 .screening {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    .page-id-2810 #cinema-listings {
        padding: 0 12px !important;
    }
}

/* ============================================================
   POST TITLES — NUCLEAR RESTORE
   ============================================================ */

.wp-block-post-title,
.wp-block-post-title *,
h2.wp-block-post-title {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    font-size: 32px !important;
    line-height: 1.15 !important;
    color: #000 !important;
    position: static !important;
    transform: none !important;
}

.page .wp-block-post-title { display: block !important; visibility: visible !important; opacity: 1 !important; }

/* ============================================================
   SINGLE POST HERO IMAGE
   ============================================================ */

body.single-post .entry-content figure.wp-block-image,
body.single-post .entry-content figure.wp-block-image * {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    position: static !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    max-width: 720px !important;
    margin: 0 auto !important;
    width: 100% !important;
}

.single .wp-block-post-content > .wp-block-image:first-of-type {
    display: block !important;
}

.single-post .entry-content p,
.single-post .entry-content .wp-block-paragraph {
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
}

.single-post .entry-content p.has-drop-cap::first-letter {
    font-size: 5em;
    font-weight: 700;
    float: left;
    line-height: 0.8;
    margin-right: 0.1em;
    margin-top: 0.05em;
}

#hero-random {
    display: block;
    margin: 0 auto;
}
#articles-section {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

header hr,
header.wp-block-template-part hr {
    margin-top: 0px !important;
    margin-bottom: 0
			!important;
}
.site-tagline {
    margin-top: -15px !important;
    margin-bottom: 0;
    font-size: 1.5rem !important;
    line-height: 1.25;
    color: #000;
    text-align: center;
    font-family: 'Neue Haas Grotesk Display Pro', Helvetica, Arial, sans-serif;
}
#articles-section .small-post,
#articles-section .featured-post {
    margin-top: 0 !important;
}
@media (max-width: 1179px) {
    .site-tagline {
        font-size: 1rem !important;
        margin-top: 0 !important;
        margin-bottom: 0px !important;
    }
}
@media (max-width: 1179px) {
    #articles-section {
        margin-top: 15px !important;
    }
}
header hr,
header.wp-block-template-part hr {

    margin-bottom: 0 !important;
}