/* ============================================================
   Gatecrashers - Custom CSS
   ============================================================ */

/* --- Global Variables --- */
:root {
    --gc: #329fa2;
    --gc2: #c71e58;
    --gc3: #faf553;
    --bg: #5f1f4b;
}

/* --- Hide WordPress.com mobile theme switcher --- */
a[href*="noamp=mobile"],
a[href*="ak_action=reject_mobile"],
a[href*="ak_action=accept_mobile"],
a[href*="amp=1"],
div:has(> a[href*="noamp=mobile"]),
div:has(> a[href*="ak_action=reject_mobile"]),
div:has(> a[href*="ak_action=accept_mobile"]),
div:has(> a[href*="amp=1"]) {
    display: none !important;
}

/* --- Global Overrides --- */
.entry-content-wrap {
    padding: 0 !important;
}

/* --- Page Transition --- */
@keyframes gc-fade-in {
    from { opacity: 0; }
    to   { opacity: 1; }
}
body {
    animation: gc-fade-in 0.25s ease;
}
body.gc-fading-out {
    opacity: 0 !important;
    transition: opacity 0.2s ease !important;
}

/* --- Blur-up Lazy Images --- */
.entry-content img[loading="lazy"],
.gc-card-img img,
.gc-carousel-slide img,
.post-thumbnail img[loading="lazy"],
.gc-history-card-img[src] {
    filter: blur(8px) scale(1.02);
    transition: filter 0.45s ease;
}
.entry-content img.gc-loaded,
.gc-card-img img.gc-loaded,
.gc-carousel-slide img.gc-loaded,
.post-thumbnail img.gc-loaded,
.gc-history-card-img.gc-loaded {
    filter: none;
}

/* --- Background --- */
body, .site {
    background-color: #161c26 !important;
}
.site-content, .content-area, .site-main,
.entry-content, .post, article.post, article.page,
.archive__post-list, .cat-links,
.wp-block-newspack-blocks-homepage-articles article {
    background-color: transparent !important;
}
.entry-content .wp-block-group,
.entry-content .wp-block-cover,
.wp-block-post-template {
    background-color: transparent !important;
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
    background: var(--bg);
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--gc2);
    border-radius: 10px;
}

/* Firefox */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gc2) var(--bg);
}

/* --- Single Post - Remove gap between featured image and header --- */
.content-area {
    margin-top: 0 !important;
}

/* --- Search Results Title --- */
h1.page-title.search-title {
    font-size: 1.2em !important;
    font-weight: 600 !important;
    color: #c8cdd6 !important;
    background: none !important;
    padding: 0 !important;
    border-radius: 0 !important;
    display: block !important;
}

h1.page-title.search-title span {
    color: var(--gc) !important;
}

/* --- Single Post Title --- */
h1.entry-title {
    color: #ffffff !important;
    background: var(--gc) !important;
    padding: 4px 14px !important;
    border-radius: 8px !important;
    display: inline-block !important;
}

/* --- Archive / Category Page Padding --- */
body.category .content-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* --- Archive / Category / Page Title Bar --- */
section.entry-hero,
.entry-hero-container-inner,
.hero-container {
    background-color: #161c26 !important;
    padding: 0 !important;
    min-height: 0 !important;
    height: auto !important;
}
.entry-hero-container-inner .entry-header {
    min-height: 0 !important;
}
.entry-header.post-archive-title,
.hero-container > .entry-header.page-title {
    background: var(--gc) !important;
    padding: 6px 20px !important;
    box-sizing: border-box !important;
    margin: 12px auto 8px auto !important;
    display: table !important;
    width: max-content !important;
    max-width: 100% !important;
    border-radius: 12px !important;
}
.entry-header.post-archive-title .archive-title,
.hero-container > .entry-header.page-title .entry-title {
    margin: 0 !important;
    padding: 0 !important;
}


/* --- General Heading Colors --- */
.wp-block-heading {
    color: #f0f0f0 !important;
}

/* --- General Article Card Text Colors --- */
.entry-title a {
    color: #f0f0f0 !important;
}
.entry-title a:hover {
    color: var(--gc) !important;
}
.entry-wrapper p, .entry-content p {
    color: #c8cdd6 !important;
}
.entry-meta, .entry-meta a, .byline, .byline a, .author-prefix,
.byline .author-prefix, .byline .author a, .byline .url {
    color: #9aa3b0 !important;
}
article .entry-meta .byline span.author-prefix,
article .posted-by .meta-label {
    color: #9aa3b0 !important;
}

/* --- Homepage --- */
.home .entry-header,
body.home .hero-container .entry-header,
body.home section.entry-hero {
    display: none !important;
}

/* --- Section Headers (reusable across homepage sections) --- */
.gc-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.gc-section-title {
    font-size: 0.9em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff !important;
    background: var(--gc) !important;
    padding: 4px 14px;
    border-radius: 8px;
    display: inline-block;
    width: fit-content;
    flex-shrink: 1;
}

.gc-section-link {
    font-size: 0.85em;
    color: var(--gc) !important;
    font-weight: 600;
}

.gc-section-link:hover {
    color: #fff !important;
}

/* --- Category Article Cards (Kadence) --- */
article.loop-entry.content-bg {
    background-color: transparent !important;
}

article.loop-entry a.post-thumbnail[class*="kadence-thumbnail-ratio"] {
    display: block !important;
    width: 90% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    height: 0 !important;
    padding-bottom: 50.625% !important;
    position: relative !important;
    overflow: hidden !important;
}

article.loop-entry a.post-thumbnail[class*="kadence-thumbnail-ratio"] .post-thumbnail-inner {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

article.loop-entry a.post-thumbnail[class*="kadence-thumbnail-ratio"] .post-thumbnail-inner img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important;
    display: block !important;
}

article.loop-entry .entry-title a {
    color: #f0f0f0 !important;
}

article.loop-entry .entry-title a:hover {
    color: var(--gc) !important;
}

article.loop-entry .entry-meta,
article.loop-entry .entry-meta a,
article.loop-entry .entry-meta span {
    color: #9aa3b0 !important;
}

article.loop-entry .entry-summary p {
    color: #c8cdd6 !important;
}

article.loop-entry .term-links a {
    color: var(--gc) !important;
}

article.loop-entry .post-more-link {
    color: var(--gc) !important;
}

article.loop-entry .entry-meta-divider-dot .entry-meta > span + span::before,
article.loop-entry .entry-meta-divider-dot > span + span::before {
    margin: 0 4px !important;
}

article.loop-entry .post-thumbnail {
    margin-bottom: 6px !important;
}

article.loop-entry .entry-title {
    font-size: 1em !important;
}

article.loop-entry .entry-content-wrap {
    padding-top: 4px !important;
    padding-bottom: 0 !important;
}

article.loop-entry .entry-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
    margin-bottom: 4px !important;
}

article.loop-entry .entry-footer,
article.loop-entry .entry-actions,
article.loop-entry .more-link-wrap,
article.loop-entry .more-link-wrap p {
    margin: 0 !important;
    padding: 0 !important;
}


.entry-header.page-title .entry-title,
.entry-header.post-archive-title .archive-title {
    color: #ffffff !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
}

body.page-id-180 .entry-content-wrap {
    padding-top: 0 !important;
}



/* --- Footer Copyright --- */
.site-footer .site-info,
.site-footer .site-info p,
.site-footer .site-info a {
    font-size: 0.72em !important;
}

/* --- Widget Area --- */
.widget-area img {
    width: 100%;
    height: auto;
    max-width: 150px;
}

.widget-area {
    min-width: 200px;
}

/* --- Header --- */
.site-branding .custom-logo,
.brand .custom-logo,
a.brand img {
    width: 120px !important;
		padding:0px 5px;
    height: auto !important;
}

/* --- Header Mobile --- */
@media (max-width: 767px) {
    .site-main-header-inner-wrap {
        padding-top: 6px !important;
        padding-bottom: 6px !important;
    }

    .site-branding .custom-logo,
    .brand .custom-logo,
    a.brand img {
        width: 80px !important;
        height: auto !important;
    }
}

/* --- Header Border --- */
#masthead,
.site-header,
.site-main-header-wrap {
    border-bottom: 2px solid var(--gc2) !important;
}

/* --- Navigation --- */
.main-navigation a {
    font-size: 20px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    color: rgba(255,255,255,0.85) !important;
    transition: color 0.2s !important;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    color: #fff !important;
}

/* --- Featured Article Card (ts-4) --- */
.wpnbha.ts-4 article,
.wp-block-newspack-blocks-homepage-articles.wpnbha.ts-4 article {
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    overflow: hidden !important;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    background: var(--gc) !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
}

.wpnbha.ts-4 .post-thumbnail {
    flex: 1 1 70% !important;
    margin: 0 !important;
    padding: 0 !important;
    padding-bottom: 0 !important;
    min-height: 320px !important;
    background: var(--gc) !important;
    overflow: hidden !important;
    position: relative !important;
}

.wpnbha.ts-4 .post-thumbnail::after {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 0 !important;
    width: 80px !important;
    background: linear-gradient(to right, transparent, var(--gc2)) !important;
    pointer-events: none !important;
}

.wpnbha.ts-4 .post-thumbnail a {
    display: block !important;
    width: 100% !important;
    line-height: 0 !important;
}

.wpnbha.ts-4 .post-thumbnail img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    contain: none !important;
}

.wpnbha.ts-4 .entry-wrapper {
    flex: 0 0 30% !important;
    background: var(--gc) !important;
    padding: 14px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    position: relative !important;
}

.wpnbha.ts-4 .entry-wrapper::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 16px !important;
    background: linear-gradient(to right, var(--gc2), transparent) !important;
    pointer-events: none !important;
    z-index: 1 !important;
}

.wpnbha.ts-4 .entry-wrapper {
    padding-left: 24px !important;
}

.wpnbha.ts-4 .entry-title {
    font-size: 1.3em !important;
}

.wpnbha.ts-4 .entry-title a {
    color: #fff !important;
}

.wpnbha.ts-4 .entry-wrapper p {
    color: #e0e0e0 !important;
    font-size: 1em !important;
}

.wpnbha.ts-4 .entry-wrapper {
    border-left: 3px solid var(--gc2) !important;
}

@media (max-width: 1024px) and (min-width: 601px) {
    .wpnbha.ts-4 .post-thumbnail img {
        height: 320px !important;
        object-fit: cover !important;
    }

    .wpnbha.ts-4 .entry-title {
        font-size: 0.95em !important;
    }

    .wpnbha.ts-4 .entry-wrapper p {
        font-size: 0.8em !important;
    }

    .wpnbha.ts-4 .entry-meta,
    .wpnbha.ts-4 .entry-meta a,
    .wpnbha.ts-4 .byline {
        font-size: 0.9em !important;
    }

    .wpnbha.ts-4 .entry-meta .avatar,
    .wpnbha.ts-4 img.avatar {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }
}

@media (max-width: 600px) {
    .wpnbha.ts-4 article,
    .wp-block-newspack-blocks-homepage-articles.wpnbha.ts-4 article {
        flex-direction: column !important;
        overflow: visible !important;
        border-radius: 12px !important;
    }

    .wpnbha.ts-4 .post-thumbnail {
        flex: none !important;
        width: 100% !important;
        min-height: 200px !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
        border-radius: 12px 12px 0 0 !important;
    }

    .wpnbha.ts-4 .entry-wrapper {
        border-radius: 0 0 12px 12px !important;
        overflow: hidden !important;
    }

    .wpnbha.ts-4 .post-thumbnail img {
        width: 100% !important;
        height: 200px !important;
        object-fit: cover !important;
    }

    .wpnbha.ts-4 .entry-wrapper {
        flex: none !important;
        width: 100% !important;
        border-left: none !important;
        border-top: 3px solid var(--gc2) !important;
    }

    /* Flip gradients to vertical on mobile */
    .wpnbha.ts-4 .post-thumbnail::after {
        top: unset !important;
        right: 0 !important;
        left: 0 !important;
        bottom: 0 !important;
        width: 100% !important;
        height: 80px !important;
        background: linear-gradient(to bottom, transparent, var(--gc2)) !important;
    }

    .wpnbha.ts-4 .entry-wrapper::before {
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 16px !important;
        background: linear-gradient(to bottom, var(--gc2), transparent) !important;
    }

    .wpnbha.ts-4 .entry-wrapper {
        padding-top: 24px !important;
        padding-left: 14px !important;
    }

    .wp-block-newspack-blocks-homepage-articles.wpnbha.ts-4 .entry-meta,
    .wp-block-newspack-blocks-homepage-articles.wpnbha.ts-4 .entry-meta a,
    .wp-block-newspack-blocks-homepage-articles.wpnbha.ts-4 .byline {
        margin-top: 8px !important;
    }

    .wpnbha.ts-4 .entry-title {
        font-size: 0.95em !important;
    }

    .wpnbha.ts-4 .entry-wrapper p {
        font-size: 0.8em !important;
    }

    .wpnbha.ts-4 .entry-meta,
    .wpnbha.ts-4 .entry-meta a,
    .wpnbha.ts-4 .byline {
        font-size: 0.9em !important;
    }

    .wpnbha.ts-4 .entry-meta .avatar,
    .wpnbha.ts-4 img.avatar {
        width: 32px !important;
        height: 32px !important;
        min-width: 32px !important;
        min-height: 32px !important;
        max-width: 32px !important;
        max-height: 32px !important;
    }
}

.wpnbha.ts-4 .entry-meta,
.wpnbha.ts-4 .entry-meta a,
.wpnbha.ts-4 .byline,
.wpnbha.ts-4 .entry-meta .byline span.author-prefix {
    color: #e0e0e0 !important;
    margin-top: auto !important;
}

@media (min-width: 1025px) {
    .wpnbha.ts-4 .entry-meta,
    .wpnbha.ts-4 .entry-meta a,
    .wpnbha.ts-4 .byline {
        font-size: 1em !important;
    }
}

@media (min-width: 1025px) {
    .wpnbha.ts-4 .entry-meta .avatar,
    .wpnbha.ts-4 .avatar,
    .wpnbha.ts-4 img.avatar {
        width: 36px !important;
        height: 36px !important;
        min-width: 36px !important;
        min-height: 36px !important;
        max-width: 36px !important;
        max-height: 36px !important;
        aspect-ratio: 1 / 1 !important;
    }
}

/* --- Tags --- */
.tag-link {
    color: var(--gc) !important;
}

/* --- Author --- */
.author-prefix {
    margin-right: 4px;
}

/* --- Load More Button --- */
.load-more-container,
.loader {
    display: flex !important;
    justify-content: center !important;
}

button[data-next] {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* --- Archive Article Cards --- */
article.type-post {
    margin-bottom: 0 !important;
    padding: 0 0 40px 0 !important;
    position: relative !important;
}

body.single article.type-post:not(.loop-entry) .post-thumbnail {
    padding-bottom: 18% !important;
    margin-left: 20px !important;
    margin-right: 10px !important;
    margin-bottom: 0 !important;
}

.home .wpnbha:not(.ts-4):not(.is-2) article.type-post .post-thumbnail {
    padding-bottom: 56.25% !important;
}

article.type-post .post-thumbnail img {
    border-radius: 6px !important;
}

article.type-post .entry-wrapper {
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
}

article.type-post::after {
    content: '' !important;
    position: absolute !important;
    bottom: 16px !important;
    left: 7.5% !important;
    width: 85% !important;
    height: 2px !important;
    background-color: var(--gc) !important;
}

.wpnbha article.type-post::after {
    display: none !important;
}

/* ============================================================
   Related Posts - Sidebar
   ============================================================ */

.widget-container.related_posts_by_taxonomy,
#related-posts-by-taxonomy-2 {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    outline: none !important;
}

.related-gallery.gallery-columns-1 {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 0;
}

.related-gallery.gallery-columns-1 .gallery-item {
    width: 100% !important;
    background: var(--gc);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 !important;
    padding: 0 !important;
    cursor: pointer;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start;
}

.related-gallery.gallery-columns-1 .gallery-icon {
    width: 100% !important;
    overflow: hidden;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
}

.related-gallery.gallery-columns-1 .gallery-icon a {
    display: block;
    width: 100%;
}

.related-gallery.gallery-columns-1 .gallery-icon img {
    width: 100% !important;
    max-width: none !important;
    height: calc((100vh - 220px) / 4) !important;
    object-fit: cover !important;
    border-radius: 10px 10px 0 0 !important;
    display: block !important;
    margin: 0 !important;
    border-bottom: 2px solid var(--gc2) !important;
}

.related-gallery.gallery-columns-1 .gallery-caption {
    flex: 1;
    padding: 6px 8px !important;
    text-align: left;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.3;
    color: #e0e0e0;
    margin: 0;
}

/* --- Widget Titles --- */
h4.widget-title {
    color: #ffffff !important;
    background: var(--gc) !important;
    padding: 4px 14px !important;
    border-radius: 8px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
}

#related-posts-by-taxonomy-2 h4.widget-title {
    background: transparent !important;
    padding: 0 !important;
    border-radius: 0 !important;
    color: #f0f0f0 !important;
}

h3.jp-relatedposts-headline {
    color: #f0f0f0 !important;
}

h3.jp-relatedposts-headline em {
    font-style: normal !important;
}

/* --- Comments Area --- */
.comments-area {
    background-color: transparent !important;
    padding: 16px 0 !important;
}

.comment-reply-title {
    color: #ffffff !important;
    background: var(--gc) !important;
    padding: 4px 14px !important;
    border-radius: 8px !important;
    display: inline-block !important;
    margin-bottom: 12px !important;
}

/* --- Post Navigation --- */
.nav-links {
    display: flex !important;
}

.nav-links .nav-previous,
.nav-links .nav-next {
    flex: 1 !important;
    display: flex !important;
}

.nav-links .nav-previous {
    padding-right: 6px !important;
}

.nav-links .nav-next {
    padding-left: 6px !important;
}

.nav-links .nav-previous a,
.nav-links .nav-next a {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    background-color: var(--gc2) !important;
    border-radius: 10px !important;
    padding: 10px 16px !important;
    color: #ffffff !important;
    text-decoration: none !important;
    line-height: 1.4 !important;
    box-sizing: border-box !important;
}

.nav-links .nav-next a {
    text-align: right !important;
    align-items: flex-end !important;
}

.nav-links .nav-previous a:hover,
.nav-links .nav-next a:hover {
    background-color: #a01847 !important;
}

.nav-links .post-navigation-sub small,
.nav-links .post-navigation-sub svg {
    color: rgba(255,255,255,0.75) !important;
    fill: rgba(255,255,255,0.75) !important;
}

@media (max-width: 600px) {
    .nav-links .nav-previous a,
    .nav-links .nav-next a {
        font-size: 0.8em !important;
        padding: 8px 10px !important;
    }
}

/* ============================================================
   Related Posts - Below Post (Jetpack)
   ============================================================ */

.jp-relatedposts-items {
    display: flex !important;
    gap: 20px !important;
    flex-wrap: nowrap !important;
}

@media (max-width: 600px) {
    .jp-relatedposts .jp-relatedposts-items {
        flex-wrap: wrap !important;
    }

    .jp-relatedposts .jp-relatedposts-post {
        flex: 0 0 100% !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
    }

    .jp-relatedposts-post-img {
        height: 180px !important;
    }
}

.jp-relatedposts-post {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    width: 0 !important;
    min-width: 0 !important;
    background: var(--gc);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    float: none !important;
    padding: 0 !important;
}

.jp-relatedposts-post > .jp-relatedposts-post-a:first-child {
    display: block !important;
    width: 100% !important;
    line-height: 0 !important;
}

.jp-relatedposts-post-img {
    width: 100% !important;
    height: 160px !important;
    object-fit: cover !important;
    border-radius: 10px 10px 0 0 !important;
    display: block !important;
    max-width: none !important;
    border-bottom: 2px solid var(--gc2) !important;
}

.jp-relatedposts-post-title {
    width: 100% !important;
    max-width: 100% !important;
    padding: 10px 12px 6px !important;
    margin: 0 !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.9em !important;
    text-align: left !important;
    box-sizing: border-box !important;
    color: #fff !important;
    line-height: 1.4 !important;
    white-space-collapse: preserve-breaks !important;
    text-wrap: wrap !important;
    overflow: visible !important;
    height: auto !important;
    min-height: 60px !important;
    display: block !important;
    float: none !important;
}

.jp-relatedposts-post-title a {
    display: block !important;
    width: 100% !important;
    color: #fff !important;
    line-height: 1.4 !important;
    overflow: visible !important;
    height: auto !important;
    overflow-wrap: break-word !important;
}

.jp-relatedposts-post-excerpt,
.jp-relatedposts-post-date {
    padding: 0 12px 10px !important;
    text-align: left !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    line-height: 1.5;
    color: #e0e0e0 !important;
}

/* ============================================================
   Listen Page (page-id-210)
   ============================================================ */

.page-id-210 .page-hero-section {
    display: none;
}

.page-id-210 .entry-content-wrap {
    padding-top: 0;
}

.page-id-210 iframe,
.page-id-210 .wp-block-group.alignfull {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.page-id-210 iframe {
    display: block;
    margin-bottom: 20px !important;
}

.page-id-210 .wp-block-group.alignfull,
.page-id-210 .wp-block-columns.alignwide {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 5px;
    height: auto;
}
@media (min-width: 768px) {
    .page-id-210 .wp-block-columns.alignwide {
        height: 130px;
    }
}

/* --- Listen Page - Subscribe block: one big rounded box --- */
body.page-id-210 .wp-block-buttons.is-horizontal.is-layout-flex.wp-block-buttons-is-layout-flex {
    background-color: #01a0a3 !important;
    border-radius: 16px !important;
    padding: 16px 20px !important;
    margin: 8px auto !important;
    align-self: center !important;
    width: 360px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    gap: 12px !important;
}

body.page-id-210 .wp-block-buttons .wp-block-button {
    flex: 0 0 auto !important;
    width: auto !important;
    max-width: none !important;
}

body.page-id-210 .wp-block-button a.wp-block-button__link,
body.page-id-210 .wp-block-button a.wp-element-button {
    background-color: transparent !important;
    border-radius: 0 !important;
    padding: 6px !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* --- Listen Page - Mobile subscribe block --- */
@media (max-width: 600px) {
    .page-id-210 h5.wp-block-heading {
        font-size: 0.95em !important;
    }

    .page-id-210 .wp-block-columns.alignwide {
        flex-direction: column !important;
        align-items: center !important;
    }
    .page-id-210 .wp-block-columns .wp-block-column {
        flex-basis: 100% !important;
        width: 100% !important;
        text-align: center !important;
    }
    .page-id-210 .wp-block-heading {
        text-align: center !important;
    }
    body.page-id-210 .wp-block-buttons.is-horizontal.is-layout-flex.wp-block-buttons-is-layout-flex {
        flex-wrap: wrap !important;
        width: 160px !important;
    }
    body.page-id-210 .wp-block-buttons .wp-block-button {
        flex: 0 0 auto !important;
        width: auto !important;
        max-width: none !important;
        display: flex !important;
        justify-content: center !important;
    }
    body.page-id-210 .wp-block-button__link img {
        width: 40px !important;
        height: 40px !important;
        display: block !important;
    }
}

/* --- Listen Page - rounded subscribe box (must be last to override theme) --- */
.page-id-210 .wp-block-group.alignfull {
    border-radius: 12px !important;
    overflow: hidden !important;
}

/* --- Listen Page - round the column containing the subscribe buttons --- */
.page-id-210 .wp-block-column:has(.wp-block-buttons) {
    border-radius: 16px !important;
    overflow: hidden !important;
}

/* --- Articles page (page-id-180) — card grid styling --- */
body.page-id-180 .entry-content .alignwide {
    margin-left: 50px !important;
    margin-right: -2rem !important;
}
body.page-id-180 .wp-block-newspack-blocks-homepage-articles {
    width: 100% !important;
}

body.page-id-180 .wpnbha.is-grid [data-posts] {
    gap: 24px !important;
    width: 100% !important;
    margin: 0 !important;
}

body.page-id-180 .wpnbha.is-grid article {
    border-bottom: 2px solid var(--gc) !important;
    border-right: none !important;
    border-left: none !important;
    border-top: none !important;
    padding-bottom: 16px !important;
}

body.page-id-180 .wpnbha.is-grid .post-thumbnail {
    position: static !important;
    height: auto !important;
    max-height: none !important;
    padding-bottom: 0 !important;
    overflow: visible !important;
    margin-bottom: 0 !important;
}

body.page-id-180 .wpnbha.is-grid .post-thumbnail a {
    display: block !important;
}

body.page-id-180 .wpnbha.is-grid .post-thumbnail img {
    position: static !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    border-radius: 6px !important;
}

body.page-id-180 .wp-block-newspack-blocks-homepage-articles h2.entry-title a {
    color: #f0f0f0 !important;
}

body.page-id-180 .wp-block-newspack-blocks-homepage-articles h2.entry-title a:hover {
    color: var(--gc) !important;
}

body.page-id-180 .wp-block-newspack-blocks-homepage-articles .entry-meta,
body.page-id-180 .wp-block-newspack-blocks-homepage-articles .entry-meta a {
    color: #9aa3b0 !important;
}

body.page-id-180 .wp-block-newspack-blocks-homepage-articles p {
    color: #c8cdd6 !important;
}

body.page-id-180 .wp-block-newspack-blocks-homepage-articles .more-link {
    color: var(--gc) !important;
    font-weight: 600 !important;
}

/* --- Collapse gap between header and topics strip --- */
body.home .entry-content,
body.page-id-175 .entry-content {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

body.home .entry-content > *:first-child,
body.page-id-175 .entry-content > *:first-child {
    margin-top: 0 !important;
}

@media (max-width: 1024px) {
    body.home .entry-content-wrap,
    body.page-id-175 .entry-content-wrap {
        padding-top: 0 !important;
    }
}

/* --- Topics Strip --- */
.topics-strip {
    background: #161c26;
    border-bottom: 1px solid #2a3444;
}

.topics-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.topics-label {
    font-size: 0.75em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #9aa3b0;
    white-space: nowrap;
}

.topic-tag {
    flex: 1;
    text-align: center;
    background: #252d3a;
    border: 1px solid #3a4455;
    color: #9aa3b0;
    font-size: 0.8em;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 20px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.topic-tag:hover {
    background: var(--gc2);
    border-color: var(--gc2);
    color: #fff;
}

/* --- Popular Today (Jetpack Top Posts) --- */

/* Title injected via CSS */
.jetpack-top-posts::before {
    content: 'Popular Today';
    display: block;
    font-size: 0.85em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    background: var(--gc2);
    padding: 4px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    width: fit-content;
}

/* Grid layout — single horizontal row of 4 */
.jetpack-top-posts,
.wp-block-jetpack-top-posts {
    width: 100% !important;
    max-width: 100% !important;
}

.jetpack-top-posts .jetpack-top-posts-wrapper {
    counter-reset: popular-counter;
    display: flex !important;
    flex-direction: row !important;
    gap: 20px !important;
    width: 100% !important;
    padding-top: 10px !important;
    overflow: visible !important;
}

/* Each card */
.jetpack-top-posts .jetpack-top-posts-item {
    flex: 1 !important;
    background: #252d3a;
    border-radius: 10px;
    overflow: visible !important;
    display: grid !important;
    grid-template-columns: 116px 1fr !important;
    grid-template-rows: 1fr auto auto !important;
    height: 96px !important;
    padding: 0 !important;
    counter-increment: popular-counter;
    min-width: 0;
    position: relative !important;
}


/* Thumbnail — flush left, full card height, clipped to left border-radius */
.jetpack-top-posts .jetpack-top-posts-thumbnail-link {
    grid-column: 1 !important;
    grid-row: 1 / -1 !important;
    display: block !important;
    width: 116px !important;
    height: 96px !important;
    overflow: visible !important;
    border-radius: 0 !important;
    position: relative !important;
}

.jetpack-top-posts .jetpack-top-posts-thumbnail {
    width: 116px !important;
    height: 96px !important;
    object-fit: cover !important;
    border-radius: 10px 0 0 10px !important;
    display: block !important;
}

/* Title — top of text area */
.jetpack-top-posts .jetpack-top-posts-title {
    grid-column: 2 !important;
    grid-row: 1 / -1 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden !important;
    font-size: 0.82em !important;
    font-weight: 700 !important;
    color: #f0f0f0 !important;
    line-height: 1.35 !important;
    margin: 0 !important;
    padding: 10px 10px 0 !important;
    align-self: start !important;
}

.jetpack-top-posts .jetpack-top-posts-title a {
    color: inherit !important;
    text-decoration: none !important;
}

.jetpack-top-posts .jetpack-top-posts-title a:hover {
    color: var(--gc) !important;
}

/* Date and author — pinned to bottom of card */
.jetpack-top-posts .jetpack-top-posts-date {
    position: absolute !important;
    bottom: 22px !important;
    left: 126px !important;
    right: 10px !important;
    font-size: 0.72em !important;
    color: #9aa3b0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.jetpack-top-posts .jetpack-top-posts-author {
    position: absolute !important;
    bottom: 8px !important;
    left: 126px !important;
    right: 10px !important;
    font-size: 0.72em !important;
    color: #9aa3b0 !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Tablet/mobile — horizontal scroll */
@media (max-width: 900px) {
    /* Wrapper needs overflow visible for numbers, so scroll on a parent */
    .jetpack-top-posts {
        position: relative;
    }

    .jetpack-top-posts .jetpack-top-posts-wrapper {
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        padding: 14px 6px 6px 14px !important; /* top/left padding rescues the overflowing numbers */
    }

    .jetpack-top-posts .jetpack-top-posts-wrapper::-webkit-scrollbar {
        display: none;
    }

    .jetpack-top-posts .jetpack-top-posts-item {
        flex: 0 0 280px !important;
    }

    /* Fade gradient on right edge to hint there's more */
    .jetpack-top-posts::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 60px;
        background: linear-gradient(to right, transparent, #161c26);
        pointer-events: none;
    }
}

/* Topics strip — tablet: 2 rows evenly split */
@media (max-width: 900px) {
    .topics-label {
        display: none;
    }

    .topics-inner {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
        justify-items: stretch;
    }

    .topic-tag {
        flex: none;
        text-align: center;
    }
}

/* Topics strip — mobile: horizontal scroll if tags won't fit */
@media (max-width: 480px) {
    .topics-inner {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        justify-content: flex-start !important;
        gap: 8px;
        padding-bottom: 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .topics-inner::-webkit-scrollbar {
        display: none;
    }

    .topic-tag {
        flex: 0 0 auto !important;
    }
}

/* --- Latest Section: Featured + Sidebar Layout --- */

/* Columns block gap and alignment */
body.page-id-175 .wp-block-columns:has(.wpnbha.ts-4) {
    gap: 24px !important;
    margin-bottom: 0 !important;
    align-items: stretch !important;
}

/* Prevent columns from collapsing, contain alignwide bleed */
body.page-id-175 .wp-block-columns:has(.wpnbha.ts-4) .wp-block-column {
    min-width: 0 !important;
    overflow: hidden !important;
}

/* Prevent alignwide from bleeding outside its column */
body.page-id-175 .wp-block-columns:has(.wpnbha.ts-4) .wpnbha.alignwide {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Featured card — reset global ts-4 (Listen page) styles, then apply homepage layout */
body.page-id-175 .wpnbha.ts-4,
body.page-id-175 .wpnbha.ts-4 > div[data-posts] {
    background: transparent !important;
}

body.page-id-175 .wpnbha.ts-4 article {
    display: flex !important;
    flex-direction: column !important;
    align-items: unset !important;
    min-height: 420px !important;
    background: #252d3a !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Kill pseudo-element overlays from global ts-4 */
body.page-id-175 .wpnbha.ts-4 .post-thumbnail::after,
body.page-id-175 .wpnbha.ts-4 .entry-wrapper::before {
    display: none !important;
}

body.page-id-175 .wpnbha.ts-4 .post-thumbnail {
    flex: 0 0 240px !important;
    width: 100% !important;
    height: 240px !important;
    min-height: 240px !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #252d3a !important;
    position: relative !important;
    overflow: hidden !important;
}

body.page-id-175 .wpnbha.ts-4 .post-thumbnail a {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    line-height: 0 !important;
}

body.page-id-175 .wpnbha.ts-4 .post-thumbnail img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

body.page-id-175 .wpnbha.ts-4 .entry-wrapper {
    flex: 1 !important;
    width: 100% !important;
    background: #252d3a !important;
    padding: 16px 20px !important;
    box-sizing: border-box !important;
    border-left: none !important;
    border-top: 3px solid var(--gc2) !important;
}

body.page-id-175 .wpnbha.ts-4 .entry-title {
    font-size: 1.3em !important;
    margin-bottom: 8px !important;
    color: #f0f0f0 !important;
}

body.page-id-175 .wpnbha.ts-4 .entry-title a {
    color: #f0f0f0 !important;
}

body.page-id-175 .wpnbha.ts-4 .entry-wrapper p {
    color: #c8cdd6 !important;
    font-size: 0.9em !important;
}

body.page-id-175 .wpnbha.ts-4 .entry-meta,
body.page-id-175 .wpnbha.ts-4 .entry-meta a,
body.page-id-175 .wpnbha.ts-4 .byline,
body.page-id-175 .wpnbha.ts-4 .entry-meta .byline span.author-prefix,
body.page-id-175 .wpnbha.ts-4 .author-prefix {
    color: #9aa3b0 !important;
}

body.page-id-175 .wpnbha.ts-4 .entry-meta {
    margin-top: auto !important;
    padding-top: 16px !important;
}

body.page-id-175 .wpnbha.ts-4 .entry-meta .avatar,
body.page-id-175 .wpnbha.ts-4 img.avatar {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    max-width: 22px !important;
    max-height: 22px !important;
}

/* Sidebar block */
body.home .wpnbha.is-3 {
    height: auto !important;
}

body.home .wpnbha.is-3 > div[data-posts] {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    height: auto !important;
    gap: 13px !important;
    columns: unset !important;
    column-count: unset !important;
    column-gap: unset !important;
    grid-template-columns: unset !important;
    grid-template-rows: unset !important;
}

/* Sidebar article cards — individual cards, thumbnail left, text right */
body.home .wpnbha.is-3 article {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 0 !important;
    padding: 0 !important;
    margin-bottom: 0 !important;
    border: none !important;
    background: #252d3a !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    width: 100% !important;
    max-height: 76px !important;
    box-sizing: border-box !important;
    column-span: all !important;
}

body.home .wpnbha.is-3 article:last-child {
    margin-bottom: 0 !important;
}

body.home .wpnbha.is-3 article:hover {
    background: #2e3848 !important;
}

body.home .wpnbha.is-3 .post-thumbnail {
    flex: 0 0 90px !important;
    width: 90px !important;
    height: 76px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
}

body.home .wpnbha.is-3 .post-thumbnail a {
    display: block !important;
    line-height: 0 !important;
}

body.home .wpnbha.is-3 .post-thumbnail img {
    width: 90px !important;
    height: 76px !important;
    object-fit: cover !important;
    display: block !important;
}

body.home .wpnbha.is-3 .entry-wrapper {
    flex: 1 !important;
    min-width: 0 !important;
    padding: 10px !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    overflow: hidden !important;
}

body.home .wpnbha.is-3 .entry-title {
    font-size: 0.82em !important;
    line-height: 1.3 !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    color: #f0f0f0 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
}

body.home .wpnbha.is-3 .entry-title a {
    color: #f0f0f0 !important;
}

/* Hide excerpt, avatar, and any extra elements in sidebar */
body.home .wpnbha.is-3 .entry-wrapper p,
body.home .wpnbha.is-3 .entry-wrapper .more-link,
body.home .wpnbha.is-3 .entry-wrapper .newspack-post-subtitle {
    display: none !important;
}

body.home .wpnbha.is-3 .entry-meta a:has(img),
body.home .wpnbha.is-3 .entry-meta .avatar {
    display: none !important;
}

body.home .wpnbha.is-3 .entry-meta {
    font-size: 0.72em !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
    color: #9aa3b0 !important;
    line-height: 1.2 !important;
}

/* Mobile — Columns block stacks natively, just tweak spacing */
@media (max-width: 768px) {
    body.page-id-175 .wp-block-columns:has(.wpnbha.ts-4) {
        gap: 16px !important;
    }
}

/* Featured card - mobile author/meta margin fix (must be last to override margin-top: auto) */
@media (max-width: 600px) {
    .wpnbha.ts-4 .entry-meta,
    .wpnbha.ts-4 .entry-meta a,
    .wpnbha.ts-4 .byline {
        margin-top: 8px !important;
        margin-bottom: 0 !important;
    }
    .wpnbha.ts-4 .entry-wrapper p {
        margin-bottom: 0 !important;
    }
}

/* ── HERO CAROUSEL ── */
.gc-hero-carousel {
    position: relative;
    overflow: hidden;
    height: 420px;
    background: #0e1318;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-bottom: 0;
}

.gc-carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.gc-slide-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.gc-slide-content {
    position: relative;
    z-index: 2;
}
.gc-slide-read-btn {
    position: relative;
    z-index: 3;
}
.gc-carousel-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    cursor: pointer;
}

.gc-slide-img {
    flex: 1 1 65%;
    position: relative;
    overflow: hidden;
}

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

.gc-slide-fade {
    position: absolute;
    top: 0; right: 0; bottom: 0;
    width: 160px;
    background: linear-gradient(to right, transparent, var(--gc2));
    pointer-events: none;
}

.gc-slide-content {
    flex: 0 0 35%;
    background: var(--gc2);
    padding: 40px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    border-left: none;
    box-sizing: border-box;
}

.gc-slide-label {
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
}

.gc-slide-label:empty {
    display: none;
}

.gc-slide-content h2 {
    font-size: 1.5em;
    font-weight: 800;
    line-height: 1.3;
    color: #fff !important;
    margin: 0 0 12px 0 !important;
}

.gc-slide-content h2 a {
    color: #fff !important;
    text-decoration: none !important;
}

.gc-slide-content p {
    font-size: 0.9em;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.gc-slide-meta {
    font-size: 0.8em;
    color: rgba(255,255,255,0.65);
}

.gc-slide-read-btn {
    display: inline-block;
    background: #fff;
    color: var(--gc2) !important;
    font-weight: 700;
    font-size: 0.85em;
    padding: 8px 20px;
    border-radius: 20px;
    margin-top: 16px;
    width: fit-content;
    text-decoration: none !important;
    transition: background 0.2s;
}

.gc-slide-read-btn:hover {
    background: var(--gc3);
    color: #1a1a1a !important;
}

.gc-carousel-controls {
    position: absolute;
    bottom: 20px;
    left: 65%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.gc-carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.3);
    cursor: pointer;
    border: none;
    padding: 0;
    transition: all 0.2s;
}

.gc-carousel-dot.active {
    background: var(--gc);
    width: 28px;
    border-radius: 5px;
}

.gc-carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    border: none;
    color: #fff;
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    min-height: 48px !important;
    border-radius: 50% !important;
    cursor: pointer;
    font-size: 30px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: background 0.2s;
    line-height: 1;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.gc-carousel-arrow:hover { background: var(--gc2); }
.gc-carousel-arrow.gc-prev { left: 16px; }
.gc-carousel-arrow.gc-next { right: 16px; }

/* Carousel mobile */
@media (max-width: 480px) {
    .gc-hero-carousel { height: 460px; }
    .gc-carousel-slide { flex-direction: column; }
    .gc-slide-img { flex: 0 0 180px; height: 180px; }
    .gc-slide-fade {
        display: block;
        top: auto;
        bottom: 0;
        right: 0;
        left: 0;
        width: 100%;
        height: 60px;
        background: linear-gradient(to bottom, transparent, var(--gc2));
    }
    .gc-slide-content {
        flex: 1;
        padding: 20px 16px;
        border-left: none;
        border-top: none;
    }
    .gc-carousel-controls { left: 50%; }
    .gc-slide-content h2 { font-size: 1.2em; }
}

/* ── DISCOVER SOMETHING RANDOM ── */
.gc-random-section {
    margin-bottom: 40px;
}

.gc-shuffle-btn {
    background: transparent !important;
    border: 1px solid #3a4455 !important;
    color: #9aa3b0 !important;
    font-size: 0.82em !important;
    font-weight: 600 !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    cursor: pointer;
    display: flex !important;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.gc-shuffle-btn:hover {
    border-color: var(--gc) !important;
    color: var(--gc) !important;
    background: transparent !important;
}

@media (max-width: 480px) {
    .gc-shuffle-btn .gc-btn-text { display: none; }
}

.gc-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gc-article-card {
    background: #252d3a;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit !important;
}

.gc-article-card:hover {
    transform: translateY(-3px);
    text-decoration: none !important;
}

.gc-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-bottom: 2px solid var(--gc2);
    background: #1e2530;
    display: block;
    flex-shrink: 0;
}

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

.gc-card-body {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.gc-card-category {
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gc);
    margin-bottom: 6px;
}

.gc-card-category:empty { display: none; }

.gc-card-title {
    font-size: 0.95em;
    font-weight: 700;
    color: #e8edf4;
    line-height: 1.4;
    margin-bottom: 8px;
    flex: 1;
}

.gc-card-meta {
    font-size: 0.75em;
    color: #9aa3b0;
    margin-top: auto;
}

@media (max-width: 768px) {
    .gc-random-section .gc-section-title {
        font-size: 0.72em !important;
        padding: 4px 10px !important;
        white-space: nowrap;
        letter-spacing: 0.5px !important;
    }

    .gc-card-title {
        font-size: 0.82em !important;
        line-height: 1.3 !important;
        -webkit-line-clamp: 2;
        display: -webkit-box !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .gc-card-category {
        font-size: 0.65em !important;
    }

    .gc-card-meta {
        font-size: 0.7em !important;
    }

    .gc-cards-grid {
        grid-template-columns: 1fr;
    }

    .gc-article-card {
        flex-direction: row !important;
        align-items: stretch;
    }

    .gc-card-img {
        flex: 0 0 120px !important;
        width: 120px !important;
        aspect-ratio: unset !important;
        height: auto !important;
        min-height: 90px;
        align-self: stretch;
        border-bottom: none !important;
        border-right: 2px solid var(--gc2) !important;
    }

    .gc-card-body {
        padding: 10px 12px !important;
        justify-content: center;
    }

    .gc-article-card:hover {
        transform: translateY(0) translateX(2px);
    }
}

@media (max-width: 480px) {
    .gc-random-section .gc-section-header {
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-start !important;
        gap: 10px;
    }
}

/* ── DARK/LIGHT MODE TOGGLE ── */
.gc-mobile-toggle-wrap {
    padding: 16px 20px;
    display: flex;
    align-items: center;
}

#gc-mode-toggle,
#gc-mode-toggle-mobile {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 7px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    cursor: pointer;
    padding: 0 !important;
    flex-shrink: 0;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    color: rgba(255,255,255,0.7) !important;
}

#gc-mode-toggle { margin-left: 12px; }

#gc-mode-toggle .gc-toggle-icon,
#gc-mode-toggle-mobile .gc-toggle-icon {
    width: 16px;
    height: 16px;
    color: rgba(255,255,255,0.7);
    flex-shrink: 0;
    transition: color 0.2s;
    display: block;
}

#gc-mode-toggle .gc-toggle-track,
#gc-mode-toggle-mobile .gc-toggle-track {
    width: 40px;
    height: 22px;
    background: rgba(255,255,255,0.2);
    border-radius: 11px;
    position: relative;
    transition: background 0.25s;
    flex-shrink: 0;
}

#gc-mode-toggle .gc-toggle-thumb,
#gc-mode-toggle-mobile .gc-toggle-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.25s;
}

body.gc-light-mode #gc-mode-toggle .gc-toggle-thumb,
body.gc-light-mode #gc-mode-toggle-mobile .gc-toggle-thumb {
    transform: translateX(18px);
}

body.gc-light-mode #gc-mode-toggle .gc-toggle-track,
body.gc-light-mode #gc-mode-toggle-mobile .gc-toggle-track {
    background: rgba(255,255,255,0.45);
}

/* ── SOCIAL SIDEBAR ── */
.gc-twitter-wrap,
.gc-instagram-wrap {
    background: #252d3a;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 24px;
}

.gc-social-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 16px;
    border-bottom: 1px solid #2a3444;
}

.gc-social-title {
    font-size: 0.85em;
    font-weight: 700;
    color: #e8edf4;
}

.gc-follow-btn {
    font-size: 0.75em;
    font-weight: 700;
    background: var(--gc);
    color: #fff !important;
    padding: 4px 12px;
    border-radius: 20px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.gc-follow-btn:hover {
    background: #27858a;
}

.gc-twitter-wrap .twitter-timeline {
    display: block;
    width: 100% !important;
}

.gc-social-footer {
    padding: 10px 16px;
    border-top: 1px solid #2a3444;
    font-size: 0.8em;
}

.gc-social-footer a {
    color: var(--gc) !important;
    text-decoration: none !important;
}

.gc-social-footer a:hover {
    color: #fff !important;
}

/* Sticky sidebar */
.gc-social-sidebar {
    position: sticky;
    top: 80px;
}

/* ── PODCAST PLAYER STRIP ── */
/* Kill block gap between carousel and podcast strip */
body.page-id-175 .wp-block-html:has(.gc-hero-carousel),
body.home .wp-block-html:has(.gc-hero-carousel) {
    margin-bottom: 0 !important;
}
body.page-id-175 .wp-block-html:has(.gc-podcast-strip),
body.home .wp-block-html:has(.gc-podcast-strip) {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.gc-podcast-strip {
    background: linear-gradient(135deg, #161c26 0%, #1a1030 100%);
    border-top: 3px solid var(--gc);
    border-bottom: 3px solid var(--gc);
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-top: 0 !important;
    padding: 28px 32px 4px;
    box-sizing: border-box;
    margin-bottom: 40px;
}

.gc-podcast-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 28px;
}

.gc-podcast-player-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.gc-podcast-label {
    font-size: 0.7em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gc);
    margin-bottom: 6px;
}

.gc-podcast-actions {
    flex: 0 0 auto;
    min-width: 160px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.gc-random-ep-btn {
    width: 100% !important;
    box-sizing: border-box !important;
    background: var(--gc) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 20px !important;
    padding: 8px 16px !important;
    font-size: 0.82em !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    white-space: nowrap !important;
    transition: background 0.2s !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

.gc-random-ep-btn:hover {
    background: #237e81 !important;
}

.gc-all-eps-btn {
    width: 100%;
    box-sizing: border-box;
    font-size: 0.82em;
    font-weight: 600;
    color: rgba(255,255,255,0.6) !important;
    text-decoration: none !important;
    border: 1px solid #3a4455;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.2s;
    white-space: nowrap;
    text-align: center;
    display: block;
}

.gc-all-eps-btn:hover {
    border-color: var(--gc) !important;
    color: var(--gc) !important;
}

.gc-podcast-strip iframe {
    display: block;
    border: none !important;
    border-radius: 10px;
    overflow: hidden;
    flex-shrink: 0;
}

body.gc-light-mode .gc-podcast-strip {
    background: linear-gradient(135deg, #e4e7ec, #ddd6f0) !important;
}

body.gc-light-mode .gc-all-eps-btn {
    color: #374151 !important;
    border-color: #9ca3af !important;
}

body.gc-light-mode .gc-all-eps-btn:hover {
    color: var(--gc) !important;
    border-color: var(--gc) !important;
}

@media (max-width: 768px) {
    .gc-podcast-strip { padding: 20px 16px; }
    .gc-podcast-inner { gap: 16px; }
    .gc-podcast-art { flex: 0 0 76px; width: 76px; height: 76px; font-size: 2em; }
    .gc-podcast-actions { flex-direction: column; gap: 8px; }
    .gc-random-ep-btn, .gc-all-eps-btn { padding: 7px 12px !important; }
}

@media (max-width: 480px) {
    .gc-podcast-art { display: none; }
    .gc-podcast-inner { flex-direction: column; align-items: stretch; gap: 12px; }
    .gc-podcast-actions { flex-direction: row; justify-content: space-between; }
}

/* ── READING HISTORY ── */
.gc-history-section {
    margin-bottom: 40px;
}

.gc-history-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--gc2) transparent;
}

.gc-history-scroll::-webkit-scrollbar { height: 4px; }
.gc-history-scroll::-webkit-scrollbar-track { background: transparent; }
.gc-history-scroll::-webkit-scrollbar-thumb {
    background: var(--gc2);
    border-radius: 4px;
}

.gc-history-card {
    flex: 0 0 160px;
    background: #252d3a;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s;
    text-decoration: none !important;
    color: inherit !important;
    display: block;
}

.gc-history-card:hover { transform: translateY(-2px); }

.gc-history-card-img {
    width: 100%;
    height: 90px;
    object-fit: cover;
    display: block;
    background: #1e2530;
}

.gc-history-card-body {
    padding: 8px 10px;
}

.gc-history-card-title {
    font-size: 0.78em;
    line-height: 1.3;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #e8edf4;
}

.gc-history-card-meta {
    font-size: 0.7em;
    color: #9aa3b0;
}

.gc-clear-btn {
    background: transparent !important;
    border: 1px solid #3a4455 !important;
    color: #9aa3b0 !important;
    font-size: 0.82em !important;
    font-weight: 600 !important;
    padding: 4px 12px !important;
    border-radius: 20px !important;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.gc-clear-btn:hover {
    border-color: var(--gc2) !important;
    color: var(--gc2) !important;
    background: transparent !important;
}

body.gc-light-mode .gc-history-card {
    background: #d4d8df;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

body.gc-light-mode .gc-history-card-title { color: #1e2530; }
body.gc-light-mode .gc-history-card-meta { color: #6b7280; }

/* ── LIGHT MODE ── */
body.gc-light-mode,
body.gc-light-mode .site {
    background-color: #f0f2f5 !important;
    color: #1e2530 !important;
}

body.gc-light-mode .entry-header.page-title,
body.gc-light-mode .entry-header.post-archive-title {
    background-color: #e4e7ec !important;
}

body.gc-light-mode .jetpack-top-posts-item {
    background: #d4d8df !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}

body.gc-light-mode .jetpack-top-posts-title a {
    color: #1e2530 !important;
}

body.gc-light-mode .jetpack-top-posts-title a:hover {
    color: var(--gc) !important;
}

body.gc-light-mode .jetpack-top-posts-date,
body.gc-light-mode .jetpack-top-posts-author {
    color: #6b7280 !important;
}

body.gc-light-mode .topics-strip {
    background: #f0f2f5 !important;
    border-bottom-color: #d1d5db !important;
}

body.gc-light-mode .topic-tag {
    background: #fff !important;
    border-color: #d1d5db !important;
    color: #4b5563 !important;
}

body.gc-light-mode .topic-tag:hover {
    background: var(--gc) !important;
    border-color: var(--gc) !important;
    color: #fff !important;
}

body.gc-light-mode .gc-article-card {
    background: #d4d8df !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}

body.gc-light-mode .gc-article-card:hover {
    background: #c8cdd5 !important;
}

body.gc-light-mode .gc-card-title {
    color: #1e2530 !important;
}

body.gc-light-mode .gc-card-meta {
    color: #6b7280 !important;
}

body.gc-light-mode .gc-card-category {
    color: var(--gc) !important;
}

body.gc-light-mode .gc-shuffle-btn {
    border-color: #d1d5db !important;
    color: #6b7280 !important;
}

body.gc-light-mode .gc-shuffle-btn:hover {
    border-color: var(--gc) !important;
    color: var(--gc) !important;
}

body.gc-light-mode .gc-section-link {
    color: var(--gc) !important;
}

/* Latest section — light mode */
body.gc-light-mode.page-id-175 .wpnbha.ts-4 article,
body.gc-light-mode.page-id-175 .wpnbha.ts-4 .entry-wrapper {
    background: #d4d8df !important;
}

body.gc-light-mode.page-id-175 .wpnbha.ts-4 .entry-title a,
body.gc-light-mode.page-id-175 .wpnbha.ts-4 .entry-title {
    color: #1e2530 !important;
}

body.gc-light-mode.page-id-175 .wpnbha.ts-4 .entry-meta,
body.gc-light-mode.page-id-175 .wpnbha.ts-4 .entry-meta a,
body.gc-light-mode.page-id-175 .wpnbha.ts-4 p,
body.gc-light-mode.page-id-175 .wpnbha.ts-4 .more-link {
    color: #374151 !important;
}

body.gc-light-mode.home .wpnbha.is-3 article {
    background: #d4d8df !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08) !important;
}

body.gc-light-mode.home .wpnbha.is-3 article:hover {
    background: #c8cdd5 !important;
}

body.gc-light-mode.home .wpnbha.is-3 .entry-title a {
    color: #1e2530 !important;
}

body.gc-light-mode.home .wpnbha.is-3 .entry-meta {
    color: #6b7280 !important;
}

/* Carousel — light mode */
body.gc-light-mode .gc-hero-carousel {
    background: #d1d5db !important;
}

/* General text */
body.gc-light-mode .entry-content p,
body.gc-light-mode .entry-wrapper p,
body.gc-light-mode .entry-content li,
body.gc-light-mode .entry-summary p,
body.gc-light-mode .wpnbha p {
    color: #374151 !important;
}

body.gc-light-mode article.loop-entry,
body.gc-light-mode .loop-entry .entry-title a {
    color: #1e2530 !important;
}

/* Author / meta */
body.gc-light-mode .entry-meta,
body.gc-light-mode .entry-meta a,
body.gc-light-mode .entry-meta span,
body.gc-light-mode .loop-entry .entry-meta,
body.gc-light-mode .loop-entry .entry-meta a,
body.gc-light-mode .wpnbha .entry-meta,
body.gc-light-mode .wpnbha .entry-meta a {
    color: #6b7280 !important;
}

/* Article titles in cards */
body.gc-light-mode .wpnbha .entry-title a,
body.gc-light-mode .loop-entry .entry-title a {
    color: #1e2530 !important;
}

body.gc-light-mode .wpnbha .entry-title a:hover,
body.gc-light-mode .loop-entry .entry-title a:hover {
    color: var(--gc) !important;
}

/* More / read more links */
body.gc-light-mode .wpnbha .more-link,
body.gc-light-mode .loop-entry .post-more-link {
    color: var(--gc) !important;
}

/* --- Article Action Buttons (Copy Link / Bookmark) --- */
.gc-article-actions {
    display: flex;
    gap: 10px;
    padding: 14px 0;
    border-bottom: 1px solid #2a3444;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.gc-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border-radius: 6px;
    border: 1px solid #2a3444;
    background: transparent;
    color: #9aa3b0;
    font-size: 0.82em;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
    font-family: inherit;
}
.gc-action-btn:hover {
    color: var(--gc);
    border-color: var(--gc);
}
.gc-copy-btn.copied {
    color: var(--gc);
    border-color: var(--gc);
}
.gc-bookmark-btn.bookmarked {
    color: var(--gc2);
    border-color: var(--gc2);
}
.gc-bookmark-btn.bookmarked:hover {
    color: #f0f0f0;
    border-color: #f0f0f0;
}
.gc-share-btn {
    text-decoration: none;
}

/* Reading list individual remove button */
.gc-rl-card-wrap {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
}
.gc-rl-remove {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 14px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: background 0.2s;
}
.gc-rl-remove:hover {
    background: var(--gc2);
}

/* Unstick related posts widget when follow banner is visible */
.FixedWidget__fixed_widget.gc-unstick,
.FixedWidget__fixed_widget__pinned.gc-unstick {
    position: static !important;
    top: auto !important;
    width: auto !important;
}
body.gc-light-mode .gc-article-actions {
    border-bottom-color: #d1d5db;
}
body.gc-light-mode .gc-action-btn {
    border-color: #d1d5db;
    color: #6b7280;
}
body.gc-light-mode .gc-action-btn:hover {
    color: var(--gc);
    border-color: var(--gc);
}
body.gc-light-mode .gc-bookmark-btn.bookmarked {
    color: var(--gc2);
    border-color: var(--gc2);
}

/* --- Reading Progress Bar --- */
#gcProgressBar {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: var(--gc);
    z-index: 99999;
    transition: width 0.1s linear;
    pointer-events: none;
}
.admin-bar #gcProgressBar {
    top: 32px;
}
@media (max-width: 782px) {
    .admin-bar #gcProgressBar {
        top: 46px;
    }
}

/* --- Back to Top --- */
#gcBackTop {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    background: var(--gc);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.25s, transform 0.25s, background 0.2s;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
#gcBackTop.visible {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
#gcBackTop:hover {
    background: var(--gc2);
}

/* --- 404 Page --- */
body.error404 .page-content.content-bg {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
body.error404 section.error {
    text-align: center;
    padding: 60px 32px;
    max-width: 560px;
    margin: 0 auto;
}
body.error404 .page-header::before {
    content: '404';
    display: block;
    font-size: 7em;
    font-weight: 900;
    color: var(--gc);
    line-height: 1;
    margin-bottom: 8px;
    opacity: 0.6;
}
body.error404 h1.page-title {
    font-size: 1.5em !important;
    color: #f0f0f0 !important;
    margin-bottom: 16px !important;
}
body.error404 .entry-content-wrap > p {
    color: #9aa3b0 !important;
    max-width: 400px;
    margin: 0 auto 32px !important;
}
body.error404 .search-form {
    display: none !important;
}
.gc-404-links {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 8px;
}
.gc-404-btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9em;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}
.gc-404-btn-primary {
    background: var(--gc);
    color: #fff;
}
.gc-404-btn-primary:hover {
    background: var(--gc2);
    color: #fff;
}
.gc-404-btn-secondary {
    background: transparent;
    color: var(--gc);
    border: 2px solid var(--gc);
}
.gc-404-btn-secondary:hover {
    border-color: var(--gc2);
    color: var(--gc2);
}
body.gc-light-mode.error404 h1.page-title {
    color: #1e2530 !important;
}

/* --- Follow Banner --- */
.gc-follow-banner {
    width: 100%;
    background: var(--gc);
    border-top: none;
    border-radius: 12px;
    padding: 18px 32px;
    box-sizing: border-box;
    margin: 16px auto;
    max-width: 1200px;
}
.gc-follow-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
.gc-follow-label {
    color: #ffffff;
    font-size: 0.85em;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-right: 8px;
}
.gc-follow-icon {
    color: var(--gc2);
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.gc-follow-icon:hover {
    color: #ffffff;
}
.gc-follow-icon svg {
    width: 22px;
    height: 22px;
    display: block;
}
body.gc-light-mode .gc-follow-banner {
    background: var(--gc);
}

/* --- Jetpack Likes Widget --- */
.sd-title {
    color: #f0f0f0 !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    border-top: 1px solid #2a3444 !important;
    padding-top: 12px !important;
    margin-bottom: 8px !important;
}

