.newsroom-hero {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 90vh;
    overflow: hidden;
    background-image: url("https://cdn.propelholdings.com/web/v3/newsroom-hero.png");
    background-size: cover;
    background-position: top;
    background-repeat: no-repeat;
    color: var(--hero-text);
	padding-top: 50px;
}

.newsroom-hero-content {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* UPDATED HERO BUTTON WRAPPER */
#hero-nav-item {
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 1rem;
}

#hero-nav-item a {
    margin-right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    white-space: nowrap;
}

.newsroom-controls {
    display: flex;
    align-items: center;
    gap: 18px;
}

.newsroom-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--color-borders);
    background: transparent;
    color: var(--color-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.24s ease, color 0.24s ease, transform 0.24s ease, border-color 0.24s ease;
}

.newsroom-arrow:hover,
.newsroom-arrow:focus-visible {
    background: var(--color-mid-gray);
    color: var(--color-text);
    border-color: var(--color-mid-gray);
    transform: translateY(-1px);
    outline: none;
}

.newsroom-arrow span {
    width: 12px;
    height: 12px;
    border-top: 2px solid currentColor;
    border-right: 2px solid currentColor;
    display: block;
}

.newsroom-arrow.prev span {
    transform: rotate(-135deg);
    margin-left: 4px;
}

.newsroom-arrow.next span {
    transform: rotate(45deg);
    margin-right: 4px;
}

.newsroom-progress {
    display: flex;
    align-items: center;
    gap: 12px;
}

.newsroom-dots {
    display: flex;
    gap: 10px;
}

.newsroom-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--color-dark-navy);
    opacity: 0.4;
    transition: opacity 0.24s ease, transform 0.24s ease;
}

.newsroom-dot.is-active {
    opacity: 1;
    transform: scale(1.05);
}

.newsroom-line {
    width: 104px;
    height: 6px;
    border-radius: 999px;
    background: var(--color-mid-gray);
    overflow: hidden;
}

.newsroom-line-fill {
    width: 33.333%;
    height: 100%;
    border-radius: inherit;
    background: var(--color-dark-navy);
    transition: width 0.28s ease;
}

.newsroom-media-frame {
    position: relative;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--color-surface);
    aspect-ratio: 1.9 / 1.05;
    border-radius: 25px;
}

.newsroom-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.28s ease, transform 0.45s ease;
    border-radius: 25px;
}

.newsroom-media-frame.is-transitioning .newsroom-slide-image {
    opacity: 0.84;
    transform: scale(1.03);
}

.newsroom-slide-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 24px 28px;
    color: var(--color-surface);
    pointer-events: none;
}

@media (max-width: 991.98px) {
    .newsroom-demo-shell {
        padding: 24px 20px;
    }

    .newsroom-copy {
        max-width: 100%;
        padding-left: 0;
    }

    .newsroom-pills {
        margin-bottom: 42px;
    }

    .clear-btn {
        gap: 10px;
        padding: 0.5rem 0.5rem !important;
    }

    /* 2x2 button layout on tablet/mobile */
    #hero-nav-item {
        flex-wrap: wrap;
        gap: 1rem;
    }

    #hero-nav-item a {
        flex: 0 0 calc(50% - 0.5rem);
        max-width: calc(50% - 0.5rem);
    }
}

@media (max-width: 575.98px) {
    .newsroom-demo-shell {
        padding: 18px 14px;
    }

    .newsroom-section {
        padding: 24px 0;
    }

    .newsroom-title {
        font-size: clamp(2.35rem, 12vw, 3.4rem);
        margin-bottom: 24px;
    }

    .newsroom-pills {
        gap: 10px;
        margin-bottom: 30px;
    }

    .newsroom-pill {
        width: 100%;
        min-width: 0;
        padding: 14px 18px;
    }

    .newsroom-controls {
        gap: 14px;
    }

    .newsroom-line {
        width: 84px;
    }

    .clear-btn {
        gap: 10px;
        padding: 0.5rem 0.5rem !important;
    }

    /* keep 2x2 on small mobile too */
    #hero-nav-item {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    #hero-nav-item a {
        flex: 0 0 calc(50% - 0.375rem);
        max-width: calc(50% - 0.375rem);
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

/* news section */
.news-section {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: auto;
    overflow: hidden;
    color: var(--hero-text);
}

.blog-section {
    background: #fafafa;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    height:inherit;
    overflow: auto;
    color: var(--hero-text);
   padding-top:5rem;
}

.blog-section-content {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.views-section {
    background: #ffffff;
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    color: var(--hero-text);
}

.views-section-content {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* events */
.events-body {
    position: relative;
    display: flex;
    align-items: left;
    width: 100%;
    min-height: 100vh;
    overflow: hidden;
    color: var(--hero-text);
    background: #fafafa;
}

.events-body-content {
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: left;
}

.events-card {
    border: 1px solid var(--color-borders-light);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    min-height: 250px;
    box-shadow: var(--shadow-lg);
    transition: transform .2s ease, box-shadow .2s ease;
    background: var(--color-surface);
    height: 100%;
    display: flex;
    flex-direction: column;
    float: none;
}

.events-items {
    width: inherit;
}

.event-date {
    font-size: var(--font-size-small);
    color: inherit;
    margin-bottom: 1rem;
}

.event-title {
    font-size: var(--font-size-base);
    line-height: 1.5;
    font-weight: var(--font-weight-bold);
    color: inherit;
}

.ph-events-year-button {
    border: 1px solid var(--color-borders-light);
    background: var(--color-surface);
    color: var(--color-text);
    border-radius: 999px;
    padding: 0.55rem 1.85rem;
    min-width: 126px;
    box-shadow: none;
}

.ph-events-year-button:hover {
    border: 1px solid var(--color-primary-hover);
    background: var(--color-primary-hover);
    color: var(--color-surface);
}

.ph-events-year-button.is-active {
    background: var(--color-primary-hover);
    color: #fff;
    border-color: var(--color-primary-hover);
}

.clear-btn:hover {
    background: var(--color-primary-hover) !important;
    color: #fff;
    border-color: var(--color-primary-hover);
}

/* ==========================================================================
   Blog Post Card (.svc-blog-card)
   ========================================================================== */

.svc-pr-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

.svc-blog-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    background: #fff;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.svc-blog-content {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    width: 100%;
    padding: 20px 20px 20px;
    box-sizing: border-box;
}

.svc-pr-image {
    width: 100%;
    margin: 0;
    padding: 0;
    line-height: 0;
    overflow: hidden;
    flex-shrink: 0;
}
.svc-pr-link-icon {
    margin-left: 6px;
}

/* pagination */
.blog-pagination {
    margin-top: 48px;
    width: 100%;
}

.blog-pagination ul,
.blog-pagination .page-numbers {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin: 0;
    padding: 0;
}

.blog-pagination li {
    margin: 0;
    padding: 0;
}

/* individual buttons (links + current + dots + arrows) */
.blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 10px;
    font-size: inherit;
    line-height: 1;
    color: var(--color-secondary);
    background: var(--color-surface);
    border: 1px solid #dee2e6;
    text-decoration: none;
}

/* the <ul> also carries .page-numbers — undo the button styling on it */
.blog-pagination ul.page-numbers {
    width: 100%;
    height: auto;
    border: 0;
    background: transparent;
    border-radius: 0;
}

.blog-pagination a.page-numbers:hover {
    border-color: #dee2e6;
    background: #f8f9fa;
}

/* current page: white fill, bold dark outline */
.blog-pagination .page-numbers.current {
    background: #fff;
    color: var(--color-secondary);
    border: 1px solid var(--color-secondary);
}

/* prev / next arrows */
.blog-pagination .page-numbers.prev,
.blog-pagination .page-numbers.next {
    color: #6b7686;
    font-size: 18px;
}

/* left (prev) arrow gets the light gray fill from the reference */
.blog-pagination .page-numbers.prev {
    background: #f1f4f7;
    border-color: #eaeef2;
}

.blog-pagination .page-numbers.dots {
    border-color: transparent;
    background: transparent;
    cursor: default;
}

@media (max-width: 767px) {
    .blog-pagination {
        margin-top: 32px;
    }

    .blog-pagination .page-numbers {
        width: 52px;
        height: 52px;
        font-size: 18px;
        border-radius: 12px;
    }
}
