/* ============================================================
   Original site CSS — unchanged
   ============================================================ */
.resources-search {
    display: flex;
    justify-content: center;
}
.resources-search form {
    display: flex;
    width: 100%;
}
.resources-search input[type="text"] {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    font-size: 15px;
    outline: none;
}
.resources-search button {
    border: none;
    color: #fff;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}
.resources-header {
    padding: 50px 45px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}

#resources-search-input {
    background: #F7F5F5;
    border-radius: 0px;
}
.resources-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    min-height: 200px;
    padding: 45px;
}
.dark-title p { margin: 0px; }
@media (max-width: 900px) {
    .resources-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
    .resources-grid { grid-template-columns: 1fr; }
}

.resources-grid.is-loading { opacity: .4; pointer-events: none; }

.resources-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: box-shadow .2s ease, transform .2s ease;
}
.resources-card img {
    width: 100%;
    object-fit: cover;
}
.resources-card { padding: 10px; }
.resources-card-cta { transition: 0.2s; }
.resources-card-cta:hover { background: #F36E3A }
.resources-card-content { padding: 16px 6px; }
.resources-card-cat {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #888;
    margin-bottom: 6px;
}
.resources-card-title {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.3;
}
.resources-card-excerpt {
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}
.resources-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 0;
    color: #888;
}
.resources-search button {
    background: #F7F5F5;
    border-left: 1px solid #e0e0e0;
    border-top: 1px solid #e0e0e0;
    border-radius: 0px;
}
.dashicons-search { color: #A2A1A7 }
.resources-search input[type="text"] {
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
    border-left: 1px solid #F7F5F5;
}
.resources-grid {
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}
.resources-card-title {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    font-size: 17px;
    line-height: 130%;
    letter-spacing: -0.03em;
    color: #222431;
    flex: none;
    order: 1;
    align-self: stretch;
    flex-grow: 0;
}
.resources-card-cat {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 13px;
    line-height: 140%;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    flex: none;
    order: 0;
    flex-grow: 0;
    color: #F36E3A;
}
.resources-card-excerpt {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    font-size: 15px;
    line-height: 150%;
    flex: none;
    order: 0;
    flex-grow: 1;
}
.resources-card { border: 4px double #D1CFD3 }
.resources-card img {
    box-sizing: border-box;
    border-radius: 10px !important;
    height: 220px;
}
.resources-card-tag {
    padding: 6px 16px;
    gap: 6px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 0.89), rgba(255, 255, 255, 0.89)), #F04E30;
    border: 1px solid rgba(186, 115, 102, 0.58);
    border-radius: 40px;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 140%;
    letter-spacing: 0.04em;
    color: #F04E30
}
.resources-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}
.resources-card-cta {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #F7F5F5;
    flex: none;
    order: 0;
    flex-grow: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 14px 26px;
    gap: 14px;
    width: 100px;
    background: #222431;
    border-radius: 7px;
    flex: none;
    order: 1;
    flex-grow: 0;
    margin-top: 30px;
    position: absolute;
    bottom: 34px;
}
.resources-card { position: relative; }
.resources-card-cta-area { height: 80px; }
.resources-search { height: 50px; }

/* ============================================================
   New rules: Solution / Search / Filters, all stacked in a
   left sidebar, resources grid on the right.
   ============================================================ */
.resources-sidebar-label {
    display: block;
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #222431;
    margin-bottom: 10px;
}

.resources-solution-list {
    list-style: none;
    margin: 0;
    padding: 0;
    border: 1px solid #e0e0e0;
}
.resources-solution-list li { border-bottom: 1px solid #e0e0e0; }
.resources-solution-list li:last-child { border-bottom: none; }
.resources-solution-btn {
    display: block;
    width: 100%;
    text-align: left;
    padding: 13px 18px;
    background: #F7F5F5;
    border: none;
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.03em;
    color: #222431;
    cursor: pointer;
    transition: all .2s ease;
}
.resources-solution-btn:hover { background: #f2f2f2; }
.resources-solution-btn.is-active {
    background: #F36E3A;
    color: #fff;
}

.resources-body {
    display: grid;
    grid-template-columns: 260px 1fr;
    align-items: start;
}
@media (max-width: 900px) {
    .resources-body { grid-template-columns: 1fr; }
}

/* Sidebar sits flush against the grid's left border, so drop the
   grid's own left border here to avoid a double line. */
.resources-body .resources-grid { border-left: none; }

.resources-sidebar {
    padding:  24px  0px;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
@media (max-width: 900px) {
    .resources-sidebar { border-right: 1px solid #e0e0e0; }
}

.resources-filters-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 13px 18px;
    background: #F7F5F5;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    cursor: pointer;
    font-family: 'Poppins';
    font-weight: 500;
    font-size: 15px;
    letter-spacing: -0.03em;
    color: #222431;
    transition: all .2s ease;
}
.resources-filters-toggle:hover { background: #f2f2f2; }
.resources-filters-toggle[aria-expanded="true"] {
    background: #F36E3A;
    color: #fff;
    border-color: #F36E3A;
}
.resources-filters-count {
    margin-left: 4px;
    font-weight: 400;
    opacity: .8;
}
.resources-filters-caret {
    margin-left: auto;
    color: #A2A1A7;
    transition: transform .2s ease;
}
.resources-filters-toggle[aria-expanded="true"] .resources-filters-caret {
    color: #fff;
    transform: rotate(180deg);
}

.resources-filters-panel {
    border: 1px solid #e0e0e0;
    border-top: none;
    padding: 20px;
    background: #fff;
}
.resources-filters-empty {
    font-family: 'Poppins';
    font-size: 13px;
    color: #A2A1A7;
    margin: 0;
}
.resources-filter-group { margin-bottom: 20px; }
.resources-filter-group:last-child { margin-bottom: 0; }
.resources-filter-group h4 {
    font-family: 'Poppins';
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #222431;
    margin: 0 0 10px;
}
.resources-filter-group label {
    font-family: 'Poppins';
    font-size: 14px;
    color: #555;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}
.resources-sidebar-label {
    text-align: center;
}
.resources-sidebar {
    margin: 0px -1px;
}
.resources-search button {
    border-bottom: 1px solid #e0e0e0;
      margin-left: -1px;
     
}
.resources-body .resources-grid {
    border-top: 1px solid #e0e0e0;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
}
.resources-solution-btn {
      margin-left: -1px;
    margin-right: -1px;
}
.resources-card-title {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}

.resources-card-excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
}
.resources-load-more-wrap {
    display: flex;
    width: 100%;
    margin: 0 auto;
    justify-content: center;
    padding-bottom: 50px;
    border-left: 1px solid #e0e0e0;
    border-right: 1px solid #e0e0e0;
     border-bottom: 1px solid #e0e0e0;
    box-sizing: border-box;
}
.resources-load-more-btn {
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 130%;
    letter-spacing: -0.01em;
    color: #F7F5F5;
    padding: 14px 50px;
    gap: 14px;
    background: #222431;
    border-radius: 7px;
    border: none;
    cursor: pointer;
    transition: .2s;
}
.resources-load-more-btn:hover{
    background:#F36E3A
}
.resources-grid-content{
    margin-bottom: 100px;
}