/* ==========================================================================
   Search Results Page - FIXED Header Layout
   ========================================================================== */

:root {
    --nebula-blue: #313A4C;
    --nebula-pop: #BAD532;
    --nebula-deep: #0D5C22;
    --nebula-forest: #3B824B;
    --nebula-sage: #6FA578;
    --nebula-mint: #B2D4B8;
    --nebula-mist: #F2F6E6;
    --nebula-white: #FFFFFF;
    --nebula-silver: #E5E5E5;
    --nebula-slate: #707070;
}

body.page-template-template-search-results,
body.blog {
    background-color: #ffffff !important;
}

/* ============================================================
   PAGE HEADER - PROPER 1/3 TEXT, 2/3 CAROUSEL LAYOUT
   ============================================================ */
.page-header {
    background: var(--nebula-blue);
    position: relative;
    overflow: visible;
    z-index: 1;
    /* Added padding so the background graphic has vertical breathing room */
    padding: 60px 0; 
}

/* --- NEW BACKGROUND LAYERS --- */
.hero-bg-panel {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 100%;
    margin-left: -50vw;
    background-color: var(--nebula-blue);
    z-index: -1;
    overflow: hidden; 
}

.hero-bg-panel .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: auto 100%; 
    background-position: center center; 
    background-repeat: no-repeat;
    z-index: 1;
    pointer-events: none;
}

/* Kill global theme interference and remove text overlays */
.page-header::before,
.page-header::after,
.hero-bg-panel::before,
.hero-bg-panel::after,
.page-header__text::before,
.page-header__text::after { 
    display: none !important; 
    content: none !important;
    background: transparent !important;
    background-image: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

.page-header__inner {
    max-width: 1540px;
    margin: 0 auto;
    padding: 0 48px;
    display: grid;
    grid-template-columns: minmax(350px, 1fr) minmax(600px, 2fr);
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2; /* Keep content above the background layer */
}

/* --- TEXT BOX --- */
.page-header__text {
    position: relative;
    z-index: 10;
    padding: 40px;
    /* Offset the padding so the text stays aligned with the page container edge */
    margin-left: -40px; 
    border-radius: 24px;
}

.page-header__text h1 {
    font-size: 48px;
    color: white;
    line-height: 1.1;
    font-weight: 700;
    margin: 0 0 20px 0;
}

.page-header__text h1 strong {
    color: var(--nebula-pop);
     font-weight: 700;
}

.page-header__text p {
    color: var(--nebula-white);
    margin: 0;
    line-height: 1.6;
    font-size: 1.125rem;
    font-weight: 400;
}

/* ============================================================
   HEADER CAROUSEL - FULL WIDTH HORIZONTAL CARDS
   ============================================================ */
.header-carousel {
    position: relative;
    width: 100%;
    min-height: 300px;
    /* Added padding to keep arrows securely inside container bounds */
    padding: 0 80px; 
    box-sizing: border-box;
}

.header-swiper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 20px;
}

.header-swiper .swiper-wrapper {
    height: 100%;
}

.header-slide {
    height: 100%;
    min-height: 300px;
}

.header-card {
    display: grid;
    grid-template-columns: 380px 1fr;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    height: 100%;
    min-height: 300px;
    max-height: 350px; /* Constrain the maximum height of the box */
    border: 2px solid var(--nebula-pop);
    transition: transform 0.3s ease;
}

.header-card:hover {
    background: var(--nebula-mist);
}

/* Image on left */
.header-card-img {
    position: relative;
    background: var(--nebula-mist);
    overflow: hidden;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures the image dynamically fits the box */
}

.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--nebula-slate);
}

.post-type-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--nebula-deep);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid var(--nebula-forest);
    z-index: 2;
}

.header-card-body {
    padding: 32px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Category Tags Layout (Fixed Wrap) */
.header-card-cats, .card-cats {
    display: flex;
    flex-wrap: nowrap; /* Prevents wrapping to second line */
    gap: 6px;
    overflow: hidden; /* Hides tags that don't fit */
    /* Adds a subtle fade out at the right edge so clipped tags look intentional */
    -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
    mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.header-card-cats { margin-bottom: 16px; }
.card-cats { margin-bottom: 12px; }

.cat-tag {
    background: var(--nebula-mist);
    color: var(--nebula-deep);
    padding: 5px 12px;
    border-radius: 50px;
    border: 1px solid var(--nebula-deep);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.3s ease;
    flex-shrink: 0; /* Ensures the tag itself doesn't shrink awkwardly */
}

/* Change cat-tag background when hovering over card */
.card:hover .cat-tag,
.header-card:hover .cat-tag {
    background: var(--nebula-mint);
    border-color: var(--nebula-deep);
    color: var(--nebula-deep);
}

.header-card-title {
    font-size: 26px;
    font-weight: 700;
    color: var(--nebula-blue);
    margin: 0 0 12px 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-card-blurb {
    font-size: 15px;
    color: var(--nebula-deep);
    line-height: 1.6;
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.header-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid var(--nebula-silver);
}

.header-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-card-date {
    font-size: 13px;
    color: var(--nebula-slate);
}

.header-card-read-time {
    font-size: 13px;
    color: var(--nebula-slate);
}

.header-card-read-time::before {
    content: "•";
    margin-right: 12px;
    color: var(--nebula-silver);
}

.header-card-link {
    display: inline-flex;
    align-items: center;
    font-size: 14px;
    font-weight: 700;
    color: var(--nebula-forest);
    text-decoration: none;
    transition: color 0.2s;
}

.header-card-link::after {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    margin-left: 8px;
    background-image: url("img/icon_arrow_right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: transform 0.3s ease;
}

.header-card:hover .header-card-link {
    color: var(--nebula-pop);
}

.header-card:hover .header-card-link::after {
    transform: translateX(3px);
}

/* Navigation Arrows - Adjusted positioning inside padding */
.header-nav-prev,
.header-nav-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    cursor: pointer;
    z-index: 20;
    transition: all 0.3s ease;
    opacity: 0.9;
    background-color: white;
    border: 2px solid var(--nebula-pop);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-nav-prev:hover,
.header-nav-next:hover {
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    border-width: 3px;
}

.header-nav-prev {
    left: 5px;
}

.header-nav-next {
    right: 5px;
}

.header-nav-prev.swiper-button-disabled,
.header-nav-next.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.header-nav-prev::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("img/icon_arrow_prev.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header-nav-next::after {
    content: "";
    display: block;
    width: 24px;
    height: 24px;
    background-image: url("img/icon_arrow_right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Hide any inline SVG if present */
.header-nav-prev svg,
.header-nav-next svg {
    display: none;
}

/* Pagination Pills - Outside carousel, on blue background */
.header-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 24px; /* Space from card */
    height: 30px;
    position: relative;
    z-index: 1;
}

.header-pagination .swiper-pagination-bullet {
    width: 50px;
    height: 8px;
    background: rgba(255, 255, 255, 0.3); /* White on blue background */
    border-radius: 20px;
    opacity: 1;
    margin: 0 !important;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.header-pagination .swiper-pagination-bullet:hover {
    background: rgba(255, 255, 255, 0.4);
}

.header-pagination .swiper-pagination-bullet-active {
    width: 90px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5); /* Lighter when active */
}

.pill-progress {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #BAD532, #0D5C22 100%);
    width: 0%;
    border-radius: 20px;
    transition: width 0.1s linear;
}

/* ============================================================
   MOBILE FILTER TOGGLE
   ============================================================ */
.mobile-filter-toggle {
    display: none;
    align-items: center;
    gap: 10px;
    background: var(--nebula-blue);
    color: white;
    border: 2px solid var(--nebula-pop);
    border-radius: 50px;
    padding: 12px 24px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    margin-bottom: 24px;
}

.mobile-filter-toggle:hover {
    background: var(--nebula-pop);
    color: var(--nebula-blue);
}

.filter-count-badge {
    background: var(--nebula-pop);
    color: var(--nebula-blue);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
    max-width: 1540px;
    margin: 0 auto;
    padding: 40px 48px;
    background-color: #ffffff;
}

/* ============================================================
   SIDEBAR
   ============================================================ */
.sidebar {
    position: sticky;
    top: 20px;
    align-self: start;
}

.sidebar-search {
    display: flex;
    background: white;
    border-radius: 50px;
    overflow: hidden;
    border: 1px solid var(--nebula-blue);
    margin-bottom: 24px;
    transition: border-color 0.2s;
}

.sidebar-search:focus-within {
    box-shadow: 0 0 0 3px rgba(186, 213, 50, 0.1);
}

.sidebar-search input {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--nebula-blue);
    outline: none;
}

.sidebar-search input::placeholder {
    color: var(--nebula-slate);
}

.sidebar-search .search-btn {
    background: var(--nebula-pop);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--nebula-blue);
    cursor: pointer;
    margin: 2px;
    transition: all 0.2s;
}

.sidebar-search .search-btn:hover {
    background: #a8c02a;
    transform: scale(1.05);
}

.filter-group {
    background: var(--nebula-blue);
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
}

.filter-group h3 {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--nebula-pop);
    margin: 0 0 16px 0;
    padding: 16px 0 12px 0;
    border-bottom: 2px solid var(--nebula-pop);
}

.filter-group:first-of-type h3 {
    padding-top: 0;
}

.filter-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    cursor: pointer;
    transition: opacity 0.2s;
}

.filter-item input[type=checkbox] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--nebula-silver);
    border-radius: 9px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.filter-pill.active .checkmark,
.filter-item.active .checkmark,
.filter-pill input[type=checkbox]:checked + .checkmark,
.filter-item input[type=checkbox]:checked + .checkmark {
    background: var(--nebula-pop);
    border: 1px solid var(--nebula-silver);
    content: "\f00c";
    font-family: 'FontAwesome';
    font-weight: 800;
}

.filter-pill.active .checkmark::after,
.filter-item.active .checkmark::after,
.filter-pill input[type=checkbox]:checked + .checkmark::after,
.filter-item input[type=checkbox]:checked + .checkmark::after {
    content: '✓';
    font-size: 12px;
    color: var(--nebula-blue);
    font-weight: 700;
}

.filter-label {
    font-size: 14px;
    color: white;
    flex: 1;
}

.clear-btn {
    width: 100%;
    background: none;
    border: 2px solid var(--nebula-silver);
    border-radius: 50px;
    padding: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: white;
    cursor: pointer;
    margin-top: 16px;
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
}

.clear-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--nebula-pop);
    border-radius: 50px;
    transition: width 0.3s ease;
    z-index: -1;
}

.clear-btn:hover::before {
    width: 100%;
}

.clear-btn:hover {
    border-color: var(--nebula-pop);
    color: var(--nebula-blue);
}

/* ============================================================
   RESULTS SECTION
   ============================================================ */
.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.results-count {
    font-size: 14px;
    color: white;
}

.results-count strong {
    font-weight: 700;
}

.sort-select {
    border: 2px solid var(--nebula-pop);
    border-radius: 50px;
    padding: 10px 18px;
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: var(--nebula-blue);
    background: white;
    cursor: pointer;
    outline: none;
}

.active-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 24px;
}

.filter-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nebula-mist);
    color: var(--nebula-deep);
    border-radius: 50px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid var(--nebula-deep);
    position: relative;
    overflow: hidden;
    z-index: 1;
    transition: color 0.3s ease;
}

.filter-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: var(--nebula-deep);
    border-radius: 50px;
    transition: width 0.3s ease;
    z-index: -1;
}

.filter-tag:hover::before {
    width: 100%;
}

.filter-tag:hover {
    color: white;
}

.filter-tag .remove {
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

/* ============================================================
   CARD GRID
   ============================================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--nebula-blue);
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
    border-color: var(--nebula-deep);
    background: var(--nebula-mist);
}

.card-img {
    height: 200px;
    background: var(--nebula-mist);
    position: relative;
    overflow: hidden;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.card:hover .card-img img {
    transform: scale(1.05);
}

/* Video Play Button Overlay */
.video-play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    pointer-events: none;
}

.video-play-button {
    width: 80px;
    height: 80px;
    background-color: var(--nebula-pop);
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.video-play-button::before {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 15px 0 15px 25px;
    border-color: transparent transparent transparent var(--nebula-blue);
    margin-left: 5px;
}

.card:hover .video-play-button,
.header-card:hover .video-play-button {
    background-color: var(--nebula-blue);
    transform: scale(1.1);
}

.card:hover .video-play-button::before,
.header-card:hover .video-play-button::before {
    border-color: transparent transparent transparent var(--nebula-pop);
}

@media (min-width: 48em) {
    .video-play-button {
        width: 100px;
        height: 100px;
    }
    
    .video-play-button::before {
        border-width: 20px 0 20px 30px;
        margin-left: 6px;
    }
}

/* Customer Logo Overlay for Success Stories */
.customer-logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
    max-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.customer-logo-overlay img {
    display: block;
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
}

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

.card-title {
    font-size: 18px;
    line-height: 1.3;
    color: var(--nebula-blue);
    margin-bottom: 10px;
    font-weight: 700;
}

.card-blurb {
    font-size: 13px;
    color: var(--nebula-deep);
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: auto;
}

.card-footer {
    padding: 0 20px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-date {
    font-size: 12px;
    color: var(--nebula-slate);
}

.card-link {
    display: inline-flex;
    align-items: center;
    color: var(--nebula-forest);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}

.card-link::after {
    content: "";
    display: block;
    width: 16px;
    height: 16px;
    margin-left: 6px;
    background-image: url("img/icon_arrow_right.svg");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    transition: transform 0.3s ease;
}

.card:hover .card-link {
    color: var(--nebula-pop);
}

.card:hover .card-link::after {
    transform: translateX(3px);
}

/* ============================================================
   NO RESULTS STATE
   ============================================================ */
.no-results {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 100px 20px;
}

.no-results-img {
    max-width: 150px;
    height: auto;
    margin-bottom: 24px;
    opacity: 0.8;
}

.no-results p {
    color: var(--nebula-slate);
    font-size: 18px;
    margin: 0;
}

.card-lnk {
    display: inline-flex;
    padding: 10px 0;
    font-weight: 700;
    color: var(--nebula-blue);
    text-decoration: none;
    font-size: 1rem;
}
.card-lnk--arrow:after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  margin: 5px 0 0 16px;
  background-image: url("img/icon_arrow_right.svg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  transition: all 0.3s ease-in-out;
}

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 48px;
}

.page-btn {
    width: 48px;
    height: 48px;
    border: 2px solid var(--nebula-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--nebula-blue);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
}

/* Arrow buttons styling */
.page-btn.arrow {
    font-size: 0;
}

.page-btn.arrow::after {
    content: "";
    display: block;
    width: 20px;
    height: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.page-btn.prev::after {
    background-image: url("img/icon_arrow_prev.svg");
}

.page-btn.next::after {
    background-image: url("img/icon_arrow_right.svg");
}

.page-btn:hover:not(.disabled) {
    background: var(--nebula-pop);
    border-color: var(--nebula-blue);
    color: var(--nebula-blue);
}

.page-btn.active {
    background: var(--nebula-pop);
    border-color: var(--nebula-pop);
    color: var(--nebula-blue);
}

.page-btn.disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
    .page-header__inner {
        grid-template-columns: 1fr 1.5fr;
        gap: 60px;
    }

    .header-card {
        grid-template-columns: 320px 1fr;
    }
}

@media (max-width: 1024px) {
    .page-header__inner {
        grid-template-columns: 1fr;
        gap: 0; /* Changed from 40px to 0 since the carousel is hidden */
    }

    .page-header__text {
        text-align: center;
        padding-right: 0;
        /* Revert the offset for mobile centering */
        margin-left: 0; 
        padding: 30px;
    }

    /* Hide the paragraph text on mobile devices */
    .page-header__text p {
        display: none;
    }

    /* Hide the entire carousel on mobile devices */
    .header-carousel {
        display: none;
    }

    .layout {
        grid-template-columns: 240px 1fr;
        padding: 32px;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 60px 0 80px;
    }

    .page-header__text {
        padding: 24px;
    }

    .page-header__inner {
        padding: 0 24px;
    }

    .page-header__text h1 {
        font-size: 36px;
    }

    .header-card {
        grid-template-columns: 1fr;
        grid-template-rows: 200px auto;
        min-height: 400px;
        max-height: none; /* Reset max height so stacked elements have room on mobile */
    }

    .header-card-img {
        height: 200px;
    }

    .header-nav-prev,
    .header-nav-next {
        width: 50px;
        height: 50px;
    }

    .header-nav-prev {
        left: 10px;
    }

    .header-nav-next {
        right: 10px;
    }

    .mobile-filter-toggle {
        display: flex;
    }

    .layout {
        grid-template-columns: 1fr;
        padding: 24px 20px;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        background: white;
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }

    .sidebar.active {
        left: 0;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-header__text h1 {
        font-size: 28px;
    }

    .header-card-body {
        padding: 24px;
    }
}