@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   Blog Hub 2025
   Shared template for Blog, Podcast, Events hub pages
   ============================================================ */

/* ---- Container ---- */
.blog-hub__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

@media (min-width: 568px) {
    .blog-hub__container {
        padding: 0 25px;
    }
}

@media (min-width: 1260px) {
    .blog-hub__container {
        padding: 0;
    }
}

.blog-hub__featured .blog-hub__container {
    border: 1px solid #B8B8B8;
    border-top: none;
    padding: 32px 20px;
}

@media (min-width: 768px) {
    .blog-hub__featured .blog-hub__container {
        padding: 40px 24px;
    }
}

@media (min-width: 1260px) {
    .blog-hub__featured .blog-hub__container {
        padding: 40px 0;
    }
}



/* ============================================================
   Hero
   ============================================================ */
.blog-hub__hero {
    padding: 40px 0 0;
}

.blog-hub__hero-title {
    font-weight: 600;
    font-size: 36px;
    line-height: 1.15;
    color: #101323;
    margin: 0 0 10px;
}

.blog-hub__hero-subtitle {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #444;
    margin: 0;
}

@media (min-width: 768px) {
    .blog-hub__hero {
        padding: 100px 0 45px!important;
    }
    .blog-hub__hero-title {
        font-size: 48px;
    }
    .blog-hub__hero-subtitle {
        font-size: 20px;

    }
}


/* ============================================================
   Featured Post
   ============================================================ */
   .blog-hub__grid-section,
.blog-hub__featured {
    padding: 0 !important;
    border-top: 1px solid #B8B8B8;
}

.blog-hub__featured + .blog-hub__grid-section {
    border-top: none;
}

.blog-hub__featured-inner {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

@media (min-width: 768px) {
    .blog-hub__featured-inner {
        flex-direction: row;
        align-items: stretch;
        padding: 0 20px
    }
}

/* Image column - aspect ratio maintained, full width on narrow screens */
.blog-hub__featured-image-wrap {
    position: relative;
    display: block;
    border-radius: 4px;
    overflow: hidden;
    text-decoration: none;
    flex: 1 1 58%;
    width: 100%;
    aspect-ratio: 16 / 9;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .blog-hub__featured-image-wrap {
        flex: 1 1 58%;
        min-width: 0;
    }
}

/* Narrow screens: full width image, text on top */
@media (max-width: 479px) {
    .blog-hub__featured-inner {
        flex-direction: column-reverse;
    }
    .blog-hub__featured-image-wrap {
        width: 100%;
    }
}

.blog-hub__featured-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hub__featured-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 80px 24px 24px;
    background: linear-gradient(0deg, rgba(0,0,0,.72) 0%, rgba(0,0,0,0) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.blog-hub__featured-overlay-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    margin: 0;
    color: #fff;
}

@media (min-width: 768px) {
    .blog-hub__featured-overlay-title {
        font-size: 24px;
    }
}

@media (min-width: 1024px) {
    .blog-hub__featured-overlay-title {
        font-size: 28px;
        line-height: 1.25;
    }
}

.blog-hub__featured-overlay-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255,255,255,.85);
}

.blog-hub__featured-overlay-tag {
    background: rgba(255,255,255,.2);
    border-radius: 4px;
    padding: 2px 8px;
    font-size: 13px;
}

/* Content column */
.blog-hub__featured-content {
    flex: 1 1 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0;
}


.blog-hub__featured-content-title {
    font-weight: 600;
    font-size: 22px;
    line-height: 1.3;
    color: #101323;
    margin: 0 0 16px;
}

.blog-hub__featured-content-title a {
    color: inherit;
    text-decoration: none;
}

.blog-hub__featured-content-title a:hover {
    color: #4169E1;
}

@media (min-width: 1024px) {
    .blog-hub__featured-content-title {
        font-size: 24px;
    }
}

.blog-hub__featured-content-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #444444;
    margin-bottom: 24px;
    flex-grow: 1;
}

.blog-hub__featured-content-excerpt p {
    margin: 0;
}


/* ============================================================
   Buttons
   ============================================================ */
.blog-hub__btn {
    display: inline-block;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 20px;
    text-decoration: none;
    border-radius: 99px;
    padding: 10px 24px;
    cursor: pointer;
}

.blog-hub__btn--primary {
    background: #101323;
    color: #fff;
    border: 1px solid #101323;
}

/* Keep the same colors on hover, slight bounce instead of recolor. */
@keyframes nylas-btn-bounce {
    0%   { transform: translateY(0); }
    30%  { transform: translateY(-4px); }
    55%  { transform: translateY(0); }
    75%  { transform: translateY(-2px); }
    100% { transform: translateY(0); }
}

.blog-hub__btn--primary:hover {
    background: #101323;
    border-color: #101323;
    color: #fff;
    animation: nylas-btn-bounce .45s ease;
}

.blog-hub__btn--outline {
    background: transparent;
    color: #101323;
    border: 1px solid #B8B8B8;
    border-radius: 100px;
}

.blog-hub__btn--outline:hover {
    background: #101323;
    color: #fff;
    border-color: #101323;
}


/* ============================================================
   Category Tabs
   ============================================================ */
   nav {
    background: transparent!important;
   }
.blog-hub__tabs {
    padding: 40px 0 0;
}

@media (min-width: 1024px) {
    .blog-hub__tabs {
        padding: 56px 0 0;
    }
}

.blog-hub__tabs-inner {
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-bottom: 1px solid #B8B8B8;
    padding-bottom: 0;
}

@media (min-width: 768px) {
    .blog-hub__tabs-inner {
        flex-direction: row;
        align-items: center;
        gap: 24px;
    }
}

.blog-hub__tabs-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: none;
}

@media (min-width: 768px) {
    .blog-hub__tabs-list {
        display: flex;
        align-items: center;
        gap: 0;
        flex-grow: 1;
    }
}

.blog-hub__tabs-list li {
    margin: 0;
}

.blog-hub__tabs-list li a {
    display: block;
    padding: 12px 16px;
    font-weight: 500;
    font-size: 15px;
    line-height: 22px;
    color: #667085;
    text-decoration: none;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
}

.blog-hub__tabs-list li a:hover {
    color: #101323;
}

.blog-hub__tabs-list li.current-menu-item a,
.blog-hub__tabs-list li.current_page_item a {
    color: #101323;
    font-weight: 600;
    border-bottom-color: #101323;
}

/* Search in tabs row */
.blog-hub__tabs-search {
    flex-shrink: 0;
}

.blog-hub__tabs-search form {
    position: relative;
}

.blog-hub__tabs-search input[type="text"] {
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #101323;
    height: 44px;
    padding: 10px 40px 10px 16px;
    border: 1px solid #B8B8B8;
    border-radius: 8px;
    background: #fff;
    outline: none;
    min-width: 220px;
    width: 100%;
}

.blog-hub__tabs-search input[type="text"]:focus {
    border-color: #4169E1;
}

.blog-hub__tabs-search button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
}

/* Mobile select fallback */
.blog-hub__tabs-mobile-select {
    position: relative;
    display: flex;
    align-items: center;
}

@media (min-width: 768px) {
    .blog-hub__tabs-mobile-select {
        display: none;
    }
}

.blog-hub__tabs-mobile-select select {
    width: 100%;
    display: block;
    margin: 0;
    padding: 10px 40px 10px 16px;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    line-height: 20px;
    color: #101323;
    height: 44px;
    background: #fff;
    border: 1px solid #B8B8B8;
    border-radius: 8px;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.blog-hub__tabs-mobile-select svg {
    position: absolute;
    right: 14px;
    pointer-events: none;
}


/* ============================================================
   Post Grid
   ============================================================ */
.blog-hub__grid-section {
    padding: 32px 0 0;
}

@media (min-width: 768px) {
    .blog-hub__grid-section {
        padding: 0!important;
    }
}

.blog-hub__grid-section .blog-hub__container {
    padding: 0!important;
}

.blog-hub__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1px;
    border: 1px solid #B8B8B8;
    border-top: none;
    border-bottom: none;
    overflow: hidden;
}

@media (min-width: 568px) {
    .blog-hub__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .blog-hub__grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Post Card - 1-col: each card is last in row, no right border */
.blog-hub__card {
    overflow: hidden;
    padding: 16px;
    padding-top: 38px;
    border-right: none;
    border-bottom: 1px solid #B8B8B8;
}

@media (min-width: 568px) {
    /* 2-col: right border between cards, none on last in row */
    .blog-hub__card {
        border-right: 1px solid #B8B8B8;
    }
    .blog-hub__card:nth-child(2n) {
        border-right: none;
    }
}

@media (min-width: 1024px) {
    /* 4-col: right border between cards, none on last in row */
    .blog-hub__card:nth-child(2n) {
        border-right: 1px solid #B8B8B8;
    }
    .blog-hub__card:nth-child(4n) {
        border-right: none;
    }
}

.blog-hub__card:hover .blog-hub__card-image img,
.blog-hub__card:hover .blog-hub__card-image .blog-hub__card-image-placeholder {
    border-color: #000;
}

.blog-hub__card-link {
    display: flex;
    flex-direction: column;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.blog-hub__card-image {
    aspect-ratio: 5 / 3;
    overflow: hidden;
    background: #F2F4F7;
}

.blog-hub__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 1px solid transparent;
    border-radius: 4px;
}

.blog-hub__card-image-placeholder {
    width: 100%;
    height: 100%;
    background: #E4E7EC;
    border: 1px solid transparent;
}

.blog-hub__card-body {
    padding: 8px 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-hub__card-title {
    font-family: Manrope;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    color: #101323;
    margin: 0 0 auto;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (min-width: 768px) {
    .blog-hub__card-title {
        font-size: 20px;
    }
}

.blog-hub__card-meta {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #667085;
    margin-top: 12px;
    flex-wrap: wrap;
}

.blog-hub__card-meta-dot {
    margin: 0 6px;
}


/* ============================================================
   Pagination (uses WP paginate_links output)
   ============================================================ */
.blog-hub__pagination {
    display: flex;
    justify-content: flex-end;
    border-right: 1px;
    border-left: 1px solid;
    border-right: 1px solid;
    border-color: #B8B8B8;
    align-items: center;
    gap: 4px;
    padding: 32px 0 0;
}

@media (min-width: 768px) {
    .blog-hub__pagination {
        padding: 18px 40px!important;
        border-top: 1px solid #b8b8b8;
    margin-top: -1px;
    }
}

.blog-hub__pagination .page-numbers {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #293056;
    text-decoration: none;
    padding: 0 !important;
    margin: 0 !important;
    background: none;
    border: none;
    min-width: auto;
}

.blog-hub__pagination .page-numbers:hover {
    background: #F2F4F7;
}

.blog-hub__pagination .page-numbers.current {
    background: #101323;
    color: #fff;
}

.blog-hub__pagination .page-numbers.dots {
    pointer-events: none;
    background: none;
}

.blog-hub__pagination .page-numbers.prev,
.blog-hub__pagination .page-numbers.next {
    width: 40px !important;
    height: 40px !important;
    border: 1px solid #B8B8B8 !important;
    border-radius: 8px !important;
    background: #fff !important;
    padding: 0 !important;
}

.blog-hub__pagination .page-numbers.prev:hover,
.blog-hub__pagination .page-numbers.next:hover {
    background: #101323;
    border-color: #101323;
}

.blog-hub__pagination .page-numbers.prev:hover svg path,
.blog-hub__pagination .page-numbers.next:hover svg path {
    fill: #fff;
}

.blog-hub__pagination .page-numbers.prev {
    margin-right: 8px;
}

.blog-hub__pagination .page-numbers.next {
    margin-left: 8px;
}

.blog-hub__no-posts {
    text-align: center;
    padding: 60px 0;
    color: #667085;
    font-size: 16px;
}


/* ============================================================
   Promo Cards
   ============================================================ */
.blog-hub__promos {
    padding: 0!important;
    margin-bottom: 60px;
    border-top: 1px solid #b8b8b8;
    border-bottom: 1px solid #b8b8b8;
}
.blog-hub__promos .blog-hub__container {
    padding: 0!important;
    margin-top: -1px;
}

.blog-hub__promos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    border: 1px solid #b8b8b8;
    overflow: hidden;
    border-bottom: 0;
}

@media (min-width: 768px) {
    .blog-hub__promos-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.blog-hub__promo-card {
    display: flex;
    flex-direction: column;
    padding: 22px;
    background: #fff;
    border-bottom: 1px solid #b8b8b8;
}

.blog-hub__promo-card:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .blog-hub__promo-card {
        border-bottom: none;
        border-right: 1px solid #b8b8b8;
    }

    .blog-hub__promo-card:nth-child(3n) {
        border-right: none;
    }
}

.blog-hub__promo-card-image {
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.blog-hub__promo-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.blog-hub__promo-card-body {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.blog-hub__promo-card-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 1.3;
    color: #101323;
    margin: 0 0 8px;
}

.blog-hub__promo-card-desc {
    font-weight: 400;
    font-family: Inter, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    color: #3E4784;
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.blog-hub__promo-card .blog-hub__btn--outline {
    align-self: flex-end;
    background: #101323;
    color: #fff;
    border-color: #101323;
}

.blog-hub__promo-card .blog-hub__btn--outline:hover {
    background: #293056;
    border-color: #293056;
}


/* ============================================================
   Content area (for Gutenberg blocks like CTA banner)
   ============================================================ */
.blog-hub > .entry-content,
.blog-hub > .wp-block-group,
.blog-hub > section:last-of-type {
    margin-top: 0;
}

.blog-hub .cta-banner-section {
    margin-top: 64px;
}

@media (min-width: 768px) {
    .blog-hub .cta-banner-section {
        margin-top: 80px;
    }
}


/* ============================================================
   Spacing adjustments for page without featured section
   (e.g. Podcast page)
   ============================================================ */
.blog-hub__hero + .blog-hub__tabs {
    padding-top: 32px;
}

.blog-hub__hero + .blog-hub__grid-section {
    padding-top: 40px;
}

@media (min-width: 768px) {
    .blog-hub__hero + .blog-hub__tabs {
        padding-top: 48px;
    }
    .blog-hub__hero + .blog-hub__grid-section {
        padding: 0px!important;
        margin-bottom:-1px;
        padding: 0px!important;
    }


    .blog-hub__hero + .blog-hub__grid-section .blog-hub__grid{
        padding: 0 0 90px!important;
        
    }
}

/* ============================================================
   Single blog post: promos + CTA (same components as blog hub)
   ============================================================ */
.blog-hub--single-footer .blog-hub__promos {
    margin-bottom: 0;
    border-bottom: none;
}

.blog-liked-section + .blog-hub--single-footer,
.blog-press-release-details-section + .blog-hub--single-footer {
    margin-top: 48px;
}

@media (min-width: 768px) {
    .blog-liked-section + .blog-hub--single-footer,
    .blog-press-release-details-section + .blog-hub--single-footer {
        margin-top: 64px;
    }
}


/* ============================================================
   Podcast hub (template-podcast.php) — Blog Hub skin
   Re-skins the legacy podcast archive markup
   (.np-top-header, .podcast-hero-section, .newsroom-list,
   .blog-newsroom-item_podcast, .blog-pagination) so that the
   podcast page matches the Blog hub layout in Figma.
   CSS-only: scoped to the podcast page template.
   ============================================================ */

.page-template-template-podcast {
    background: #fafafa;
}

/* ---- Hero (was dark/purple .np-top-header) ---- */
.page-template-template-podcast .np-top-header {
    background-image: none !important;
    background-color: transparent !important;
    color: #101323;
    height: auto;
    min-height: 0;
    display: block;
    margin-top: var(--top-nav-height, 0);
    padding: 40px 0 0;
    text-shadow: none;
}

@media (min-width: 768px) {
    .page-template-template-podcast .np-top-header {
        padding: 100px 0 45px;
    }
}

.page-template-template-podcast .np-top-header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: left;
    width: 100%;
}

@media (min-width: 568px) {
    .page-template-template-podcast .np-top-header-content {
        padding: 0 25px;
    }
}

@media (min-width: 1260px) {
    .page-template-template-podcast .np-top-header-content {
        padding: 0;
    }
}

.page-template-template-podcast .np-top-header-title {
    font-family: "Poppins", sans-serif;
    font-weight: 600;
    font-size: 36px;
    line-height: 1.15;
    color: #101323;
    text-align: left;
    text-shadow: none;
    margin: 0 0 10px;
}

@media (min-width: 768px) {
    .page-template-template-podcast .np-top-header-title {
        font-size: 48px;
        line-height: 1.15;
    }
}

.page-template-template-podcast .np-top-header-description {
    font-family: Manrope, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 1.5;
    color: #444;
    text-align: left;
    text-shadow: none;
    margin: 0;
}

@media (min-width: 768px) {
    .page-template-template-podcast .np-top-header-description {
        font-size: 20px;
    }
}

/* ---- Hide legacy search/filter bar (not in Figma) ---- */
.page-template-template-podcast .podcast-hero-section {
    display: none !important;
}

/* ---- Cards section wrapper ---- */
.page-template-template-podcast .blog-section.podcast-section {
    padding: 0 !important;
    margin: 0 !important;
    border-top: 1px solid #B8B8B8;
}

.page-template-template-podcast .blog-section.podcast-section .main-container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (min-width: 568px) {
    .page-template-template-podcast .blog-section.podcast-section .main-container {
        padding: 0 25px;
    }
}

@media (min-width: 1260px) {
    .page-template-template-podcast .blog-section.podcast-section .main-container {
        padding: 0;
    }
}

/* ---- 1/2/4-col grid with hairline borders ---- */
.page-template-template-podcast .podcast-section.blog-section .newsroom-list,
.page-template-template-podcast .podcast-section.blog-section .newsroom-list.blog-list {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 0 !important;
    margin: 0;
    border: 1px solid #B8B8B8;
    border-top: none;
    border-bottom: none;
    overflow: hidden;
}

@media (min-width: 568px) {
    .page-template-template-podcast .podcast-section.blog-section .newsroom-list,
    .page-template-template-podcast .podcast-section.blog-section .newsroom-list.blog-list {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (min-width: 1024px) {
    .page-template-template-podcast .podcast-section.blog-section .newsroom-list,
    .page-template-template-podcast .podcast-section.blog-section .newsroom-list.blog-list {
        grid-template-columns: repeat(4, 1fr) !important;
    }
}

/* ---- Card ---- */
.page-template-template-podcast .blog-newsroom-item.blog-newsroom-item_podcast {
    background: #fff;
    overflow: hidden;
    width: auto;
    margin: 0 !important;
    padding: 16px;
    border: none;
    border-bottom: 1px solid #B8B8B8;
    display: flex;
    flex-direction: column;
}

@media (min-width: 568px) {
    .page-template-template-podcast .blog-newsroom-item.blog-newsroom-item_podcast {
        border-right: 1px solid #B8B8B8;
    }
    .page-template-template-podcast .podcast-section.blog-section .newsroom-list .blog-newsroom-item:nth-child(2n) {
        border-right: none;
    }
}

@media (min-width: 1024px) {
    .page-template-template-podcast .podcast-section.blog-section .newsroom-list .blog-newsroom-item:nth-child(2n) {
        border-right: 1px solid #B8B8B8;
    }
    .page-template-template-podcast .podcast-section.blog-section .newsroom-list .blog-newsroom-item:nth-child(4n) {
        border-right: none;
    }
}

/* Hover state mirrors blog-hub card */
.page-template-template-podcast .blog-newsroom-item_podcast:hover h5 a {
    color: #4169E1;
}

/* Card image — override legacy padding-bottom + width calc rules
   from styles.css (.blog-newsroom-item .image) with aspect-ratio
   and a clean 100% width box. */
.page-template-template-podcast .blog-newsroom-item_podcast .image {
    position: relative;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    border-radius: 4px;
    background: #F2F4F7;
}

.page-template-template-podcast .blog-newsroom-item_podcast .image a.popup-link,
.page-template-template-podcast .blog-newsroom-item_podcast .image a.popup-link-url {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.page-template-template-podcast .blog-newsroom-item_podcast .image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    display: block;
}

.page-template-template-podcast .blog-newsroom-item_podcast .image svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 56px;
    height: auto;
    max-width: 56px;
}

/* Hide categories chips, excerpt, and read-more link */
.page-template-template-podcast .blog-newsroom-item_podcast .categories,
.page-template-template-podcast .blog-newsroom-item_podcast .post-excerpt,
.page-template-template-podcast .blog-newsroom-item_podcast .post-footer .read-more {
    display: none !important;
}

/* Title */
.page-template-template-podcast .blog-newsroom-item_podcast h5 {
    font-family: Manrope, sans-serif;
    font-weight: 600;
    font-size: 15px;
    line-height: 1.4;
    color: #101323;
    margin: 0 0 12px;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
}

@media (min-width: 768px) {
    .page-template-template-podcast .blog-newsroom-item_podcast h5 {
        font-size: 16px;
    }
}

.page-template-template-podcast .blog-newsroom-item_podcast h5 a {
    color: inherit;
    text-decoration: none;
}

.page-template-template-podcast .blog-newsroom-item_podcast h5 a:hover {
    color: #4169E1;
}

/* Footer with hosts as meta */
.page-template-template-podcast .blog-newsroom-item_podcast .post-footer {
    margin-top: auto;
    padding: 0;
    background: transparent;
    border: none;
    display: block;
}

.page-template-template-podcast .blog-newsroom-item_podcast .post-details {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0 6px;
    width: 100%;
    margin: 0;
    font-size: 12px;
    line-height: 1.4;
    color: #667085;
}

.page-template-template-podcast .blog-newsroom-item_podcast .post-authors-title {
    font-weight: 400;
    color: #667085;
    opacity: 1;
    font-size: 12px;
    margin: 0;
}

.page-template-template-podcast .blog-newsroom-item_podcast .post-authors {
    flex: 1 1 0;
    min-width: 0;
    font-size: 12px;
    color: #667085;
    line-height: 1.4;
}

.page-template-template-podcast .blog-newsroom-item_podcast .post-author {
    font-size: 12px;
    color: #667085;
    white-space: normal;
}

/* ---- Pagination row (legacy "prev / X of Y / next" markup) ---- */
.page-template-template-podcast .blog-pagination {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    background: #fff;
    border-left: 1px solid #B8B8B8;
    border-right: 1px solid #B8B8B8;
    border-bottom: 1px solid #B8B8B8;
    padding: 18px 20px;
    margin: 0;
}

@media (min-width: 768px) {
    .page-template-template-podcast .blog-pagination {
        padding: 18px 40px;
    }
}

.page-template-template-podcast .blog-pagination .prev-page,
.page-template-template-podcast .blog-pagination .next-page {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #B8B8B8;
    border-radius: 8px;
    background: #fff;
    color: #293056;
    text-decoration: none;
    cursor: pointer;
}

.page-template-template-podcast .blog-pagination .prev-page svg,
.page-template-template-podcast .blog-pagination .next-page svg {
    width: 20px;
    height: 20px;
}

.page-template-template-podcast .blog-pagination .prev-page svg {
    transform: rotate(180deg);
}

.page-template-template-podcast .blog-pagination .prev-page.inactive,
.page-template-template-podcast .blog-pagination .next-page.inactive {
    opacity: 0.4;
    cursor: not-allowed;
}

.page-template-template-podcast .blog-pagination .prev-page.active:hover,
.page-template-template-podcast .blog-pagination .next-page.active:hover {
    background: #101323;
    border-color: #101323;
}

.page-template-template-podcast .blog-pagination .prev-page.active:hover svg path,
.page-template-template-podcast .blog-pagination .next-page.active:hover svg path {
    fill: #fff;
}

.page-template-template-podcast .blog-pagination .prev-page {
    margin-right: 4px;
}

.page-template-template-podcast .blog-pagination .next-page {
    margin-left: 4px;
}

.page-template-template-podcast .blog-pagination .current-page,
.page-template-template-podcast .blog-pagination .of-text,
.page-template-template-podcast .blog-pagination .total-pages {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #293056;
    padding: 0 6px;
}

.page-template-template-podcast .blog-pagination .current-page {
    width: 36px;
    background: #101323;
    color: #fff;
    border-radius: 8px;
    padding: 0;
}

.page-template-template-podcast .blog-pagination .of-text {
    color: #667085;
    padding: 0 4px;
}

/* Tighten the spacer that sits between the cards block and CTA banner */
.page-template-template-podcast main > .wp-block-spacer {
    height: 60px !important;
}

@media (min-width: 768px) {
    .page-template-template-podcast main > .wp-block-spacer {
        height: 80px !important;
    }
}
