/* Library inner page only. Do not set width on body, #Header, #Footer, or #Wrapper.
   Pagination buttons use .ceric-rl-page-btn (57px) — never reuse that name on body. */

#Content.ceric-rl-content {
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	display: block !important;
	clear: both;
	width: 100%;
	max-width: none;
	overflow: visible !important;
	background: #fff;
	box-sizing: border-box;
}

#Content.ceric-rl-content .content_wrapper,
#Content.ceric-rl-content .sections_group,
#Content.ceric-rl-content .section_wrapper,
#Content.ceric-rl-content .the_content_wrapper,
#Content.ceric-rl-content .entry-content,
#Content.ceric-rl-content .section {
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	float: none !important;
	display: block !important;
}

.ceric-rl-page-inner,
.ceric-rl-page-inner * {
	box-sizing: border-box;
}

.ceric-rl-page-inner {
	--rl-orange: #FFA56B;
	--rl-orange-deep: #b84a1b;
	--rl-orange-text: #c73f05;
	--rl-orange-tile: #ffd2bc;
	--rl-teal: #008daf;
	--rl-teal-tile: #b8e8f3;
	--rl-ink: #18181b;
	--rl-muted: #262626;
	--rl-gray: #898989;
	--rl-track: #979797;
	--rl-bg: #f6f6f6;
	--rl-radius: 6px;
	--rl-tile-radius: 30px;
	font-family: Montserrat, Arial, Helvetica, sans-serif;
	color: var(--rl-ink);
	background: #fff;
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	line-height: 1.4;
	overflow-wrap: normal;
	word-break: normal;
}

.ceric-rl-page-inner button,
.ceric-rl-page-inner input,
.ceric-rl-page-inner select,
.ceric-rl-page-inner a {
	font-family: inherit;
}

.ceric-rl-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
}

.ceric-rl-inner {
	width: 100%;
	max-width: 1684px;
	margin: 0 auto;
	padding: 0 24px;
}

@media (min-width: 1740px) {
	.ceric-rl-inner {
		padding: 0;
	}
}

/* Hero */
.ceric-rl-hero {
	position: relative;
	background-color: var(--rl-orange-deep);
	color: #fff;
	overflow: hidden;
	min-height: 586px;
	display: block;
	padding: 32px 0;
	width: 100%;
}

.ceric-rl-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background-image: var(--rl-hero-photo);
	background-size: cover;
	background-position: center;
	opacity: 0.28;
	mix-blend-mode: multiply;
	pointer-events: none;
}

.ceric-rl-hero-grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(280px, 598px) minmax(0, 881px);
	justify-content: space-between;
	column-gap: clamp(32px, 8vw, 287px);
	row-gap: 32px;
	align-items: start;
	width: 100%;
	max-width: 1684px;
	min-width: 0;
}

.ceric-rl-hero-copy {
	min-width: 0;
}

.ceric-rl-page-inner h1,
.ceric-rl-page-inner h2,
.ceric-rl-page-inner p,
.ceric-rl-page-inner a,
.ceric-rl-page-inner ul,
.ceric-rl-page-inner li {
	font-family: inherit;
	box-shadow: none;
}

.ceric-rl-page-inner img {
	max-width: 100%;
	height: auto;
}

.ceric-rl-hero-title {
	margin: 0 0 28px;
	font-size: 48px;
	line-height: 59px;
	font-weight: 700;
	color: #fff !important;
	max-width: 590px;
}

.ceric-rl-hero-intro,
.ceric-rl-hero-faq {
	margin: 0 0 12px;
	font-size: 18px;
	line-height: 27px;
	font-weight: 400;
	color: #fff;
	max-width: 559px;
}

.ceric-rl-hero-faq {
	margin-bottom: 28px;
}

.ceric-rl-hero-faq a,
.ceric-rl-hero-faq a:hover,
.ceric-rl-hero-faq a:focus,
.ceric-rl-hero-faq a:visited {
	color: #fff !important;
	text-decoration: underline;
	background: transparent !important;
}

.ceric-rl-hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 298px;
	max-width: 100%;
	height: 52px;
	padding: 0 24px;
	background: #fff;
	color: var(--rl-muted);
	font-size: 18px;
	font-weight: 400;
	text-decoration: none;
	border-radius: var(--rl-radius);
}

.ceric-rl-hero-cta:hover {
	color: var(--rl-muted);
	opacity: 0.92;
}

.ceric-rl-featured-label {
	margin: 0 0 12px;
	font-size: 20px;
	line-height: 24px;
	font-weight: 700;
	letter-spacing: 0.04em;
	color: #fff;
	text-transform: uppercase;
}

.ceric-rl-featured-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.ceric-rl-featured {
	min-width: 0;
}

.ceric-rl-featured-card {
	display: flex;
	align-items: center;
	background: #fff;
	color: var(--rl-ink);
	height: 152px;
	min-height: 152px;
	width: 100%;
	max-width: 861px;
	min-width: 0;
}

.ceric-rl-featured-image {
	width: 220px;
	height: 112px;
	margin: 0 0 0 26px;
	flex-shrink: 0;
	background: #0099c3;
	display: block;
	overflow: hidden;
}

.ceric-rl-featured-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.ceric-rl-featured-body {
	position: relative;
	flex: 1;
	min-width: 0;
	padding: 20px 26px 18px 26px;
}

.ceric-rl-featured-title {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin: 0 0 8px;
	padding-right: 0;
	font-size: 20px;
	line-height: 1.25;
	font-weight: 600;
	color: var(--rl-ink);
	text-decoration: none;
	overflow-wrap: break-word;
	word-break: normal;
	hyphens: none;
}

.ceric-rl-featured-title:hover {
	color: var(--rl-orange);
}

.ceric-rl-featured-body p {
	margin: 0;
	padding-right: 28px;
	font-size: 18px;
	line-height: 1.35;
	color: var(--rl-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ceric-rl-featured-body .ceric-rl-bookmark {
	position: absolute;
	top: 16px;
	right: 16px;
}

/* Browse tiles */
.ceric-rl-browse {
	padding: 100px 0 0;
	background: #fff;
	width: 100%;
}

.ceric-rl-browse-comp {
	padding-top: 60px;
	padding-bottom: 100px;
}

.ceric-rl-browse-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 56px;
}

.ceric-rl-browse-titles {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 10px 12px;
	min-width: 0;
}

.ceric-rl-browse-titles h2 {
	margin: 0;
	font-size: 36px;
	line-height: 27px;
	font-weight: 600;
	color: var(--rl-ink);
	white-space: nowrap;
}

.ceric-rl-browse-dash {
	font-size: 36px;
	font-weight: 600;
	color: var(--rl-ink);
}

.ceric-rl-browse-titles p {
	margin: 0;
	font-size: 18px;
	line-height: 27px;
	color: var(--rl-ink);
}

.ceric-rl-browse-all {
	font-size: 18px;
	line-height: 22px;
	color: var(--rl-muted);
	text-decoration: underline;
	white-space: nowrap;
}

.ceric-rl-browse-all:hover {
	color: var(--rl-orange);
}

.ceric-rl-tiles {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 25px;
}

.ceric-rl-tile {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
	min-height: 128px;
	height: auto;
	padding: 18px 16px;
	border-radius: var(--rl-tile-radius);
	text-decoration: none;
	text-align: center;
	color: #262626;
	background-image: none;
	box-shadow: none;
	overflow: hidden;
}

.ceric-rl-tile.is-aoi {
	background-color: #FFA56B;
	color: #000;
}

.ceric-rl-tile.is-comp {
	background-color: #78A8C3;
	color: #000;
}

.ceric-rl-tile-title {
	font-size: 16px;
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	margin: 0;
}

.ceric-rl-tile-desc {
    font-size: 16px;
    line-height: 1.35;
    font-weight: 500;
    margin-top: 5px;
}

.ceric-rl-tile:hover {
	transform: translateY(-2px);
}

/* Catalogue */
.ceric-rl {
	padding: 0 0 80px;
	color: var(--rl-ink);
	width: 100%;
	scroll-margin-top: 140px;
}

.ceric-rl-search {
	background: var(--rl-gray);
	padding: 45px 0;
	margin: 0;
	width: 100%;
	scroll-margin-top: 140px;
}

.ceric-rl-search-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	max-width: 980px;
	margin: 0 auto;
}

.ceric-rl-search-inner {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1;
	max-width: 708px;
	min-width: 0;
	min-height: 57px;
}

.ceric-rl-bookmarks-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
	color: #000;
	font-size: 16px;
	font-weight: 600;
	text-decoration: none;
	background: #fff;
	border-radius: var(--rl-radius);
	padding: 12px 16px;
	min-height: 52px;
}

.ceric-rl-bookmarks-link:hover,
.ceric-rl-bookmarks-link:focus {
	color: #000;
	text-decoration: underline;
}

.ceric-rl-bookmarks-link svg {
	flex-shrink: 0;
}

.ceric-rl-search-field {
	position: relative;
	flex: 1;
	min-width: 0;
	height: 52px;
}

.ceric-rl-search-icon {
	position: absolute;
	left: 30px;
	top: 50%;
	transform: translateY(-50%);
	display: none;
	pointer-events: none;

}
.ceric-rl-featured-card {
    transition: margin-left 0.3s ease;
}

.ceric-rl-featured-card:hover {
    margin-left: -15px;
    cursor: pointer;
}
/* BeTheme sets input[type="search"] to 230px, so keep the type in the selector. */
.ceric-rl-page-inner input[type="search"].ceric-rl-q {
	width: 100%;
	height: 52px;
	border: 0;
	border-radius: var(--rl-radius);
	padding: 0 20px 0 20px;
	font-size: 18px;
	font-family: inherit;
	color: var(--rl-ink);
	background: #fff;
	box-shadow: none;
	appearance: none;
}

/* CERIC Resource Library: Scrollable filter sidebar */
.ceric-rl-sidebar {
    position: sticky;
    top: 110px;
    align-self: start;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #c73f05 #fff8f4;
	padding-right: 15px;
}

/* Chrome, Safari, and Edge scrollbar styling */
.ceric-rl-sidebar::-webkit-scrollbar {
    width: 8px;
}

.ceric-rl-sidebar::-webkit-scrollbar-track {
    background: #fff8f4;
    border-radius: 10px;
}

.ceric-rl-sidebar::-webkit-scrollbar-thumb {
    background: #c73f05;
    border-radius: 10px;
}

.ceric-rl-sidebar::-webkit-scrollbar-thumb:hover {
    background: #a83200;
}

/* Keep filter controls from shrinking */
.ceric-rl-sidebar .ceric-rl-reset,
.ceric-rl-sidebar .ceric-rl-filters-toggle {
    flex-shrink: 0;
}

.ceric-rl-q::placeholder {
	color: var(--rl-ink);
	opacity: 0.85;
}

.ceric-rl-q:focus {
	outline: 2px solid var(--rl-orange);
	outline-offset: -2px;
}

.ceric-rl-search-btn {
	width: 57px;
	height: 57px;
	flex-shrink: 0;
	border: 0;
	border-radius: var(--rl-radius);
	background: var(--rl-orange);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.ceric-rl-search-btn svg {
    height: 30px;
    width: 30px;
}

.ceric-rl-search-btn:hover {
	opacity: 0.92;
}

/* Stock Site Search 360 results. Left unstyled on purpose — branding comes after sign-off. */
.ceric-rl-ss360-wrap {
	padding-top: 60px;
	padding-bottom: 40px;
}

.ceric-rl-ss360 {
	min-height: 320px;
}

.ceric-rl-body {
	display: grid;
	grid-template-columns: 349px minmax(0, 1fr);
	gap: 105px;
	align-items: start;
	padding-top: 92px;
}

.ceric-rl-reset {
	width: 111px;
	height: 52px;
	border: 0;
	border-radius: var(--rl-radius);
	background: var(--rl-orange);
	color: var(--rl-muted);
	font-size: 18px;
	font-weight: 400;
	font-family: inherit;
	cursor: pointer;
	margin-bottom: 32px;
	padding: 0;
	line-height: 1;
}

.ceric-rl-filters-toggle {
	display: none;
}

.ceric-rl-facet {
	border-bottom: 1px solid #e3e3e3;
	padding: 45px 0 30px;
}
label.ceric-rl-check.ceric-rl-check-parent {
    margin: 0 0 40px;
}
.ceric-rl-facet-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	background: transparent;
	border: 0;
	padding: 0 0 40px;
	font-size: 20px;
	font-weight: 500;
	font-family: inherit;
	color: var(--rl-ink);
	cursor: pointer;
	text-align: left;
	line-height: 24px;
}

.ceric-rl-facet[data-facet="aoi"] .ceric-rl-facet-toggle span,
.ceric-rl-facet[data-facet="comp"] .ceric-rl-facet-toggle span {
	font-weight: 700;
}

.ceric-rl-facet-toggle svg {
	flex-shrink: 0;
	transition: transform 0.2s ease;
}

.ceric-rl-facet:not(.is-open) .ceric-rl-facet-toggle svg {
	transform: rotate(-90deg);
}

.ceric-rl-facet:not(.is-open) .ceric-rl-facet-body {
	display: none;
}

.ceric-rl-check {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	font-size: 18px;
	line-height: 22px;
	margin: 0 0 18px;
	cursor: pointer;
	color: var(--rl-ink);
	font-weight: 400;
}

.ceric-rl-check input {
	appearance: none;
	width: 22px;
	height: 22px;
	margin: 0;
	flex-shrink: 0;
	border: 1.5px solid var(--rl-ink);
	border-radius: 2px;
	background: #fff;
	cursor: pointer;
}

.ceric-rl-check input:checked {
	background: var(--rl-orange);
	border-color: var(--rl-orange);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23262626' stroke-width='2' d='M1 5l3.5 3.5L11 1'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 10px;
}

.ceric-rl-check-parent span {
	font-weight: 500;
	font-size: 20px;
	line-height: 1.2;
}

.ceric-rl-aoi-group {
	margin-bottom: 45px;
}

.ceric-rl-aoi-children {
	padding-left: 38px;
}

.ceric-rl-aoi-children .ceric-rl-check span {
	max-width: 190px;
}

.ceric-rl-slider {
	padding: 8px 0 16px;
}

.ceric-rl-slider-value {
	text-align: center;
	font-size: 18px;
	margin-bottom: 8px;
	color: var(--rl-ink);
}

.ceric-rl-page-inner input[type="range"].ceric-rl-length {
	width: 100%;
	accent-color: var(--rl-orange);
	height: 22px;
	padding: 0;
	background: transparent;
	border: 0;
}

.ceric-rl-slider-scale {
	display: flex;
	justify-content: space-between;
	font-size: 16px;
	margin-top: 8px;
	color: var(--rl-track);
}

.ceric-rl-toolbar {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 18px;
	margin-bottom: 28px;
	position: relative;
	z-index: 3;
}

.ceric-rl-sort {
	position: relative;
	font-size: 18px;
	color: var(--rl-muted);
}

.ceric-rl-sort-toggle {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 18px;
	line-height: 1.2;
	color: #2c2c2c;
	cursor: pointer;
}

.ceric-rl-sort-toggle svg {
	display: block;
}

.ceric-rl-sort.is-open .ceric-rl-sort-toggle svg {
	transform: rotate(180deg);
}

.ceric-rl-sort-menu {
	position: absolute;
	top: calc(100% + 8px);
	right: 0;
	min-width: 168px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #fff;
	border: 1px solid #e5e5e5;
	border-radius: 4px;
	box-shadow: 0 8px 24px rgba(24, 24, 27, 0.08);
	z-index: 5;
}
.ceric-rl-sort-menu li:first-child {
    margin-bottom: 2px;
}

.ceric-rl-sort-option {
	display: block;
	width: 100%;
	margin: 0;
	padding: 10px 16px;
	border: 0;
	background: transparent;
	font-family: inherit;
	font-size: 16px;
	line-height: 1.3;
	color: #2c2c2c;
	text-align: left;
	cursor: pointer;
	font-weight: 500;
}
button.ceric-rl-filters-toggle:hover, button.ceric-rl-filters-toggle:active {
    background: #fff;
    color: var(--rl-orange-text);
}
.ceric-rl-sort-option:hover,
.ceric-rl-sort-option.is-active {
	background: #ffa56b;
}

.ceric-rl-views {
	display: flex;
	gap: 8px;
}

.ceric-rl-view {
	width: 36px;
	height: 36px;
	border: 0;
	background: transparent;
	color: #b3b3b3;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.ceric-rl-view.is-active {
	color: var(--rl-ink);
}

.ceric-rl-results.is-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 592px));
	justify-content: space-between;
	gap: 30px;
}
.ceric-rl-results.is-grid .ceric-rl-card-title {
    margin: 10px 0px 20px 0;
}

.ceric-rl-results.is-list {
	display: flex;
	flex-direction: column;
	gap: 28px;
}

.ceric-rl-card {
	background: var(--rl-bg);
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 100%;
	max-width: 592px;
	height: 524px;
	min-height: 524px;
}

.ceric-rl-results.is-list .ceric-rl-card {
    flex-direction: row;
    align-items: flex-start;
    gap: 30px;
    height: auto;
    min-height: 0;
    max-width: none;
    padding: 20px;
}

.ceric-rl-card-image {
	display: block;
	width: 100%;
	height: 253px;
	overflow: hidden;
	background: #ececec;
	flex-shrink: 0;
}

.ceric-rl-results.is-list .ceric-rl-card-image {
	width: 315px;
    border-radius: 10px;
}

.ceric-rl-card-image img,
.ceric-rl-featured-image img {
	width: auto;
    height: 100% !important;
    object-fit: cover;
    margin: 0 auto;
	display: block;
}
.ceric-rl-filters button:hover {
    text-decoration: underline;
    background: unset;
}
img.ceric-rl-img.ceric-rl-default-image {
    object-fit: cover;
    width: 100%;
    height: auto;
    object-position: center;
}
.ceric-rl-card-image img.ceric-rl-default-image,
.ceric-rl-featured-image img.ceric-rl-default-image {
	object-fit: cover;
	object-position: center;
	background: #0099c3;
}

.ceric-rl-card-body {
	position: relative;
	padding: 20px;
	display: flex;
	/* flex-direction: column;*/
	flex-wrap: wrap;
	flex: 1;
	row-gap: 10px;
}

.ceric-rl-results.is-list .ceric-rl-card-body {
	padding: 4px 56px 4px 0;
}

.ceric-rl-results.is-list .ceric-rl-card-body .ceric-rl-bookmark {
	top: 0px;
	right: 0px;
	width: 19px;
    height: 22px;
}

.ceric-rl-card-cat {
	color: var(--rl-orange-text);
	font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0;
    padding-right: 20px;
}
.ceric-rl-results.is-list .ceric-rl-card-body a.ceric-rl-card-title, 
.ceric-rl-results.is-list .ceric-rl-card-body p.ceric-rl-card-desc {
    width: 100%;
}
.ceric-rl-bookmark {
	width: 32px;
	height: 32px;
	border: 0;
	background: transparent;
	color: #2c2c2c;
	cursor: pointer;
	padding: 0;
}

.ceric-rl-card-body .ceric-rl-bookmark {
	position: absolute;
	top: 20px;
    right: 20px;
    width: 20px;
    height: 20px;
}

.ceric-rl-bookmark.is-on svg path {
	fill: var(--rl-orange);
	stroke: var(--rl-orange);
}

.ceric-rl-card-title {
	font-size: 20px;
	line-height: 1.5;
	font-weight: 600;
	margin: 10px 36px 10px 0;
	color: var(--rl-ink);
	text-decoration: none;
}

.ceric-rl-card-title:hover {
	color: var(--rl-orange);
}

.ceric-rl-card-excerpt {
	font-size: 18px;
	line-height: 27px;
	color: var(--rl-ink);
	margin: 0 0 20px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.ceric-rl-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 162px;
	height: 52px;
	padding: 0 24px;
	background: var(--rl-orange);
	color: var(--rl-muted);
	font-size: 18px;
	font-weight: 600;
	text-decoration: none;
	border-radius: var(--rl-radius);
	align-self: flex-start;
	margin-top: auto;
}

.ceric-rl-cta:hover {
	opacity: 0.92;
	color: var(--rl-muted);
}

.ceric-rl-empty,
.ceric-rl-status {
	grid-column: 1 / -1;
	padding: 40px 0;
	font-size: 18px;
}

.ceric-rl-skeleton {
	background: var(--rl-bg);
	min-height: 420px;
	animation: ceric-rl-pulse 1.2s ease-in-out infinite;
}

@keyframes ceric-rl-pulse {
	0%,
	100% {
		opacity: 0.55;
	}
	50% {
		opacity: 1;
	}
}

.ceric-rl-pages {
	display: flex;
	justify-content: center;
	gap: 0;
	margin: 48px 0 0;
	flex-wrap: wrap;
}

.ceric-rl-page-btn {
	width: 57px;
	height: 57px;
	border: 0;
	border-radius: var(--rl-radius);
	background: transparent;
	font-family: inherit;
	font-size: 18px;
	color: var(--rl-ink);
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ceric-rl-page-btn.is-active {
	background: var(--rl-orange);
	color: var(--rl-muted);
}

.ceric-rl-page-btn:disabled {
	opacity: 0.4;
	cursor: default;
}
@media (max-width: 1600px) {
.ceric-rl-results.is-list .ceric-rl-card {
    padding: 20px;
}
}
@media (max-width: 1500px) {
.ceric-rl-results.is-list .ceric-rl-card {
    padding: 20px;
}
}
@media (max-width: 1400px) {
	.ceric-rl-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.ceric-rl-results.is-list .ceric-rl-card {
      padding: 20px 20px 20px 20px;
    }
}
@media (max-width: 1300px) {
	.ceric-rl-results.is-list .ceric-rl-card-image {
		max-height: 100%;
	}
}
@media (max-width: 1200px) {
	.ceric-rl-hero-grid {
		grid-template-columns: 1fr;
		column-gap: 32px;
	}

	.ceric-rl-hero-title {
		font-size: 36px;
		line-height: 1.22;
	}

	.ceric-rl-browse-titles h2,
	.ceric-rl-browse-dash {
		font-size: 26px;
		line-height: 1.2;
		white-space: normal;
	}

	.ceric-rl-body {
		grid-template-columns: 260px minmax(0, 1fr);
		gap: 32px;
		padding-top: 48px;
	}

	.ceric-rl-card-title {
		font-size: 22px;
	}

	.ceric-rl-tiles {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}
@media (max-width: 1024px) {
	.ceric-rl-results.is-list .ceric-rl-card-image {
		width: 50%;
	}
	.ceric-rl-results.is-list .ceric-rl-card {
        gap: 20px;
    }
	.ceric-rl-card-title {
        font-size: 18px;
    }
	.ceric-rl-card-title {
       margin: 0 20px 20px 0;
    }
	.ceric-rl-results.is-list .ceric-rl-card-body {
       padding: 4px 33px 4px 0;
    }
}
@media (max-width: 900px) {
	.ceric-rl-hero {
		min-height: 0;
		padding: 40px 0;
	}

	.ceric-rl-featured-card {
		flex-direction: column;
		height: auto;
		min-height: 0;
	}

	.ceric-rl-featured-image {
		width: 100%;
		height: 140px;
		margin: 0;
	}

	.ceric-rl-tiles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ceric-rl-browse-head {
		flex-direction: column;
		align-items: flex-start;
		margin-bottom: 28px;
	}

	.ceric-rl-body {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.ceric-rl-filters-toggle {
		margin: 0 0 16px 12px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: auto;
        min-width: auto;
        height: 52px;
        padding: 0 22px;
        background: var(--rl-orange);
        color: var(--rl-ink);
        font-size: 18px;
        font-weight: 600;
        border: 2px solid var(--rl-orange);
        transition: background-color 0.2s ease, color 0.2s ease;
        border-radius: 6px;
		border: 2px solid var(--rl-orange) !important;
	}

	.ceric-rl-filters {
		display: none;
	}
	.ceric-rl-sidebar.is-open .ceric-rl-filters {
		display: block;
	}

	.ceric-rl-results.is-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.ceric-rl-results.is-list .ceric-rl-card {
		flex-direction: column;
		align-items: stretch;
		gap: 16px;
	}

	.ceric-rl-results.is-list .ceric-rl-card-image {
		width: 100%;
	}

	.ceric-rl-results.is-list .ceric-rl-card-body {
		padding: 0 8px 8px;
	}

	.ceric-rl-toolbar {
		justify-content: space-between;
		min-height: 0;
	}

	.ceric-rl-card {
		height: auto;
		min-height: 0;
	}

	.ceric-rl-card-image {
		height: auto;
		aspect-ratio: 592 / 253;
	}

	.ceric-rl-card-body {
		padding: 20px 16px 24px;
	}
	.ceric-rl-results.is-list .ceric-rl-card-image {
      border-radius: 10px;
    }
    .ceric-rl-sidebar {
        position: unset;
        max-height: unset;
        overflow-y: unset;
        overflow-x: unset;
        overscroll-behavior: unset;
        scrollbar-width: unset;
    }

    .ceric-rl-sidebar::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 640px) {
	.ceric-rl-search {
		padding: 24px 0;
	}

	.ceric-rl-search-row {
		flex-wrap: wrap;
	}

	.ceric-rl-search-inner {
		width: 100%;
		max-width: none;
	}

	.ceric-rl-bookmarks-link {
		width: 100%;
		justify-content: center;
	}

	.ceric-rl-page-inner input[type="search"].ceric-rl-q {
		padding-left: 20px;
	}

	.ceric-rl-search-icon {
		left: 16px;
	}

	.ceric-rl-hero-title {
		font-size: 28px;
	}

	.ceric-rl-hero-cta {
		min-width: 0;
		width: 100%;
	}

	.ceric-rl-tiles {
		grid-template-columns: 1fr;
	}

	.ceric-rl-card-title {
		font-size: 20px;
	}

	.ceric-rl-page-btn {
		width: 44px;
		height: 44px;
		font-size: 16px;
	}
}

/* Saved Resources page */
.ceric-rl-saved {
	padding: 48px 0 80px;
}

.ceric-rl-saved .ceric-rl-toolbar {
	display: none;
	justify-content: flex-end;
	margin: 0 0 28px;
}

.ceric-rl-saved .ceric-rl-results.is-grid .ceric-rl-card,
.ceric-rl-saved .ceric-rl-results.is-list .ceric-rl-card {
	background: var(--rl-bg);
}

.ceric-rl-card-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.ceric-rl-card-actions .ceric-rl-cta {
	margin-top: 0;
}

.ceric-rl-saved-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding: 20px 0;
	border-bottom: 1px solid #e6e6e6;
}

.ceric-rl-saved-title {
	font-size: 20px;
	font-weight: 600;
	color: var(--rl-ink);
	text-decoration: none;
}

.ceric-rl-saved-title:hover {
	color: var(--rl-orange-text);
}

.ceric-rl-saved-remove {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	min-width: 162px;
	height: 52px;
	padding: 0 24px;
	border: 1px solid #cfcfcf;
	border-radius: var(--rl-radius);
	background: #fff;
	color: var(--rl-ink);
	cursor: pointer;
	font-size: 18px;
	font-family: inherit;
}

.ceric-rl-saved-remove:hover {
	border-color: var(--rl-orange);
	color: var(--rl-orange-text);
}

.ceric-rl-empty-help {
	display: block;
	margin-top: 12px;
	max-width: 720px;
	color: #5b5b5b;
	font-size: 16px;
	line-height: 1.5;
}

.ceric-rl-saved-note {
	display: block !important;
	margin-top: 28px;
	max-width: 720px;
	color: #5b5b5b;
	font-size: 15px;
	line-height: 1.5;
}
