/* Resources page — Resource Library (built by includes/resources-library.php).
   One filterable grid of document cards instead of the two stacked sections. The old sections are
   still in the page but hidden, so the page's own content keeps working. */

.elementor-element-4793e07,
.elementor-element-a5cb6b6 { display: none !important; }
/* "Find Answers to Your Questions / Let's Get Started" row — removed (the library has its own search). */
.elementor-element-326e972 { display: none !important; }

.wsl {
	box-sizing: border-box;
	width: min(1200px, calc(100% - 40px));
	margin: 0 auto;
	padding: 24px 0 72px;
	font-family: 'DM Sans', 'Noto Sans', system-ui, sans-serif;
	color: #14203a;
}
.wsl *, .wsl *::before, .wsl *::after { box-sizing: border-box; }
.wsl [hidden] { display: none !important; }
.wsl-sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; white-space: nowrap; }

/* Heading */
.wsl__head { margin: 0 0 28px; }
.wsl__head h2 { margin: 0 0 8px; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; font-weight: 700; color: #14203a; }
.wsl__head p { margin: 0; max-width: 640px; font-size: 16px; line-height: 1.6; color: #4f5a69; }

/* Toolbar: tabs on the left, search + dropdowns on the right */
.wsl__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin: 0 0 20px; }
.wsl-tabs { display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 5px; border-radius: 999px; background: #f2f4f7; }
.wsl .wsl-tabs button {
	appearance: none; -webkit-appearance: none;
	display: inline-flex; align-items: center; gap: 8px;
	height: 40px; margin: 0; padding: 0 16px;
	border: 0 !important; border-radius: 999px !important;
	background: transparent !important; box-shadow: none !important;
	font: 600 14px/1 'DM Sans', system-ui, sans-serif !important;
	text-transform: none !important; letter-spacing: 0 !important;
	color: #4f5a69 !important;
	cursor: pointer;
	transition: background .2s ease, color .2s ease;
}
.wsl .wsl-tabs button span { min-width: 22px; padding: 3px 7px; border-radius: 999px; background: #e1e6ee; font-size: 12px; line-height: 1; text-align: center; color: #4f5a69; }
.wsl .wsl-tabs button:hover { color: #14203a !important; }
.wsl .wsl-tabs button.is-active { background: #fff !important; color: #14203a !important; box-shadow: 0 1px 4px rgba(12, 22, 48, 0.12) !important; }
.wsl .wsl-tabs button.is-active span { background: #ff5821; color: #fff; }
.wsl .wsl-tabs button:focus-visible { outline: 2px solid #ff5821; outline-offset: 2px; }

.wsl__filters { display: flex; flex-wrap: wrap; gap: 10px; }
.wsl-search { position: relative; display: block; }
.wsl-search svg { position: absolute; left: 14px; top: 50%; margin-top: -9px; color: #6b7686; pointer-events: none; }
.wsl .wsl-search input,
.wsl .wsl-select select {
	height: 48px; margin: 0;
	border: 1px solid #dfe4ec; border-radius: 999px;
	background: #fff; box-shadow: none;
	font: 500 15px/1 'DM Sans', system-ui, sans-serif; color: #14203a;
}
.wsl .wsl-search input { width: 210px; padding: 0 18px 0 42px; }
.wsl .wsl-search input::placeholder { color: #8a94a3; }
.wsl .wsl-select { position: relative; display: block; }
.wsl .wsl-select select { appearance: none; -webkit-appearance: none; min-width: 170px; padding: 0 40px 0 18px; cursor: pointer;
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none' stroke='%2314203a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1.5l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 18px center; }
.wsl .wsl-search input:focus-visible,
.wsl .wsl-select select:focus-visible { outline: 2px solid #ff5821; outline-offset: 2px; border-color: #ff5821; }

/* Count + clear */
.wsl__count { margin: 0; font-size: 14px; color: #6b7686; }
.wsl__count #wsl-count { font-weight: 700; color: #14203a; }
.wsl .wsl__count button,
.wsl .wsl__empty button {
	appearance: none; -webkit-appearance: none;
	margin: 0 0 0 8px; padding: 0 !important;
	border: 0 !important; background: none !important; box-shadow: none !important; border-radius: 0 !important;
	font: 600 14px/1.4 'DM Sans', system-ui, sans-serif !important; text-transform: none !important; letter-spacing: 0 !important;
	color: #ff5821 !important; text-decoration: underline; cursor: pointer;
}

/* Cards */
.wsl__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.wsl-card { margin: 0; padding: 0; list-style: none; }
.wsl-card[hidden] { display: none; }
.wsl-card > a {
	position: relative; overflow: hidden;
	display: flex; flex-direction: column; gap: 14px;
	height: 100%; min-height: 188px; padding: 22px 22px 20px;
	border: 0; border-radius: 24px;
	background: linear-gradient(145deg, #ffffff 0%, #f3f4f8 100%);
	box-shadow: 0 10px 28px rgba(12, 22, 48, 0.09), 0 2px 6px rgba(12, 22, 48, 0.05);
	text-decoration: none; color: inherit;
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.wsl-card > a::before { content: ''; position: absolute; left: 0; top: 0; height: 4px; width: 0; background: #ff5821; transition: width .35s ease; }
.wsl-card > a:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(12, 22, 48, 0.16), 0 4px 10px rgba(12, 22, 48, 0.06); }
.wsl-card > a:hover::before { width: 100%; }
.wsl-card > a:focus-visible { outline: 3px solid #ff5821; outline-offset: 3px; }

.wsl-card__top { display: flex; align-items: center; gap: 10px; }
.wsl-card__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff3ee; color: #ff5821; }
.wsl-badge { padding: 5px 10px; border-radius: 999px; background: #eef1f7; font-size: 12px; font-weight: 600; line-height: 1; color: #33405a; }
.wsl-badge--guide { background: #fff0e8; color: #c2410c; }
.wsl-badge--catalogue { background: #e8eefb; color: #1b3a8a; }
.wsl-badge--price-list { background: #e9f6ee; color: #1d6b3a; }
.wsl-new { margin-left: auto; padding: 5px 9px; border-radius: 999px; background: #ff5821; font-size: 11px; font-weight: 700; letter-spacing: .04em; line-height: 1; text-transform: uppercase; color: #fff; }

.wsl-card__title { font-size: 18px; font-weight: 700; line-height: 1.3; color: #14203a; padding-right: 48px; }
.wsl-card__meta { margin-top: auto; font-size: 13px; color: #6b7686; }
.wsl-card__dl {
	position: absolute; right: 18px; bottom: 16px;
	display: grid; place-items: center; width: 38px; height: 38px;
	border: 1.5px solid #ff5821; border-radius: 50%;
	color: #ff5821;
	transition: background .2s ease, color .2s ease;
}
.wsl-card > a:hover .wsl-card__dl { background: #ff5821; color: #fff; }

.wsl__empty { margin: 8px 0 0; padding: 40px 20px; border: 1px dashed #dfe4ec; border-radius: 20px; text-align: center; font-size: 16px; color: #4f5a69; }
.wsl__empty[hidden] { display: none; }

@media (max-width: 1000px) {
	.wsl__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
	.wsl { padding-bottom: 48px; }
	.wsl__grid { grid-template-columns: minmax(0, 1fr); }
	.wsl-tabs { width: 100%; border-radius: 24px; }
	.wsl .wsl-tabs button { flex: 1 1 auto; justify-content: center; padding: 0 12px; }
	.wsl__filters { width: 100%; }
	.wsl .wsl-search, .wsl .wsl-select { flex: 1 1 100%; }
	.wsl .wsl-search input, .wsl .wsl-select select { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.wsl-card > a, .wsl-card > a::before, .wsl-card__dl, .wsl .wsl-tabs button { transition: none; }
	.wsl-card > a:hover { transform: none; }
}

/* "Download All Our Product Resources" sits straight under the library, then the Videos block: give it room. */
.elementor-element-6339887 { margin-top: 8px; margin-bottom: 64px !important; }

/* ── Videos / On Demand: orange cards, arrows on the sides ─────────────────────────────────────── */
.elementor-element-59d7a90 { margin-top: 8px; margin-bottom: 24px; }
.vc-wrap { position: relative; }
.vc-wrap .vc-header { margin-bottom: 22px; }
.vc-wrap .vc-select { height: 48px; border: 1px solid #dfe4ec; border-radius: 999px; padding: 0 40px 0 18px; font: 500 15px/1 'DM Sans', system-ui, sans-serif; color: #14203a; }

/* Arrows: round buttons on either side of the cards */
.vc-wrap .vc-nav { position: static; display: block; }
.vc-wrap .vc-nav button {
	position: absolute; top: 50%; z-index: 3; /* centred on the cards */
	width: 48px; height: 48px; margin-top: -24px !important; padding: 0 !important;
	border: 0 !important; border-radius: 50% !important;
	background: #fff !important; color: #ff5821 !important;
	box-shadow: 0 6px 18px rgba(12, 22, 48, 0.2) !important;
}
.vc-wrap .vc-nav button svg { width: 18px; height: 18px; }
.vc-wrap .vc-nav #vc-prev { left: -24px; }
.vc-wrap .vc-nav #vc-next { right: -24px; }
.vc-wrap .vc-nav button:hover:not(:disabled) { background: #ff5821 !important; color: #fff !important; }
.vc-wrap .vc-nav button:disabled { opacity: .45; }
.vc-wrap .vc-nav button:focus-visible { outline: 3px solid #14203a; outline-offset: 3px; }

/* Cards: rounder, orange, photo on top with a category badge, title, "Watch Video" row */
.vc-wrap .vc-slider-outer { padding: 6px 2px 14px; margin: -6px -2px -14px; }
.vc-wrap .vc-card {
	display: flex; flex-direction: column;
	padding: 12px; border: 0; border-radius: 28px;
	background: #ff5821;
	box-shadow: 0 6px 18px rgba(255, 88, 33, 0.18);
	transition: transform .25s ease, box-shadow .25s ease;
}
.vc-wrap .vc-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(255, 88, 33, 0.3); }
.vc-wrap .vc-thumb { border-radius: 18px; padding-top: calc(56.25% + 16px); /* 16:9 plus 16px taller */
	/* YouTube's thumbnails carry black bars top and bottom: scale the picture so they are cropped out. */
	background-size: auto 134%; background-position: center; }
.vc-wrap .vc-badge {
	position: absolute; left: 12px; bottom: 12px; z-index: 2;
	padding: 8px 14px; border-radius: 12px;
	background: #fff; font: 700 13px/1 'DM Sans', system-ui, sans-serif; color: #ff5821;
}
.vc-wrap .vc-card-body { flex: 1 1 auto; display: flex; flex-direction: column; gap: 16px; min-height: 150px; padding: 20px 10px 10px; }
.vc-wrap .vc-card-body h4 { margin: 0; font: 500 19px/1.35 'DM Sans', system-ui, sans-serif; color: #fff; }
.vc-wrap .vc-more {
	display: flex; align-items: center; justify-content: flex-end; gap: 8px;
	margin-top: auto; padding-top: 14px;
	border-top: 1px solid rgba(255, 255, 255, .45);
	font: 600 14px/1 'DM Sans', system-ui, sans-serif; color: #fff;
}
.vc-wrap .vc-more svg { transition: transform .2s ease; }
.vc-wrap .vc-card:hover .vc-more svg { transform: translateX(4px); }
.vc-wrap .vc-play-icon svg { fill: #ff5821; }
.vc-modal-inner { border-radius: 20px; }

@media (max-width: 1200px) { .vc-wrap .vc-nav #vc-prev { left: -8px; } .vc-wrap .vc-nav #vc-next { right: -8px; } }
@media (prefers-reduced-motion: reduce) { .vc-wrap .vc-card, .vc-wrap .vc-more svg { transition: none; } .vc-wrap .vc-card:hover { transform: none; } }

/* ── Videos On Demand: one heading line, Category filter on the right of it ────────────────────── */
.elementor-element-59d7a90 > .e-con-inner {
	display: flex !important; flex-direction: row !important; flex-wrap: wrap !important;
	align-items: baseline !important; justify-content: flex-start !important;
	gap: 0 12px !important;
	width: min(1200px, calc(100% - 40px)) !important; margin: 0 auto !important;
}
.elementor-element-59d7a90 .elementor-widget-heading { width: auto !important; margin: 0 !important; }
.elementor-element-59d7a90 .elementor-widget-heading .elementor-heading-title {
	margin: 0 !important;
	font-family: 'DM Sans', 'Noto Sans', system-ui, sans-serif !important;
	font-size: clamp(28px, 3.2vw, 38px) !important; font-weight: 700 !important; line-height: 48px !important;
	color: #14203a !important; text-align: left !important;
}
.elementor-element-59d7a90 .elementor-widget-html { flex: 0 0 100%; width: 100% !important; margin: 24px 0 0 !important; }
/* The dropdown lives in the video widget; lift it onto the heading row, flush right. */
.vc-wrap .vc-header { position: static; height: 0; margin: 0; }
.vc-wrap .vc-select { position: absolute; top: -66px; right: 0; }
@media (max-width: 640px) {
	.vc-wrap .vc-header { height: auto; margin-bottom: 18px; }
	.vc-wrap .vc-select { position: static; }
}

/* The two sections, one after the other */
.wsl-group { margin: 44px 0 0; }
.wsl-group[hidden] { display: none; }
.wsl-group__title { display: flex; align-items: center; gap: 12px; margin: 0 0 20px; font: 700 clamp(22px, 2.4vw, 28px)/1.2 'DM Sans', 'Noto Sans', system-ui, sans-serif; color: #14203a; }
.wsl-group__title span { min-width: 28px; padding: 5px 9px; border-radius: 999px; background: #ff5821; font-size: 13px; line-height: 1; text-align: center; color: #fff; }

/* ── "Download All Our Product Resources": centred, stacked, soft rounded fields, pill button ──── */
.elementor-element-6339887 .dl-section {
	width: min(640px, 100%); margin: 0 auto; padding: 0;
	background: transparent; border-radius: 0;
	font-family: 'DM Sans', 'Noto Sans', system-ui, sans-serif; color: #14203a; text-align: center;
}
.elementor-element-6339887 .dl-section h3 { margin: 0 0 8px; font: 700 clamp(24px, 2.6vw, 30px)/1.2 'DM Sans', 'Noto Sans', system-ui, sans-serif; color: #14203a; }
.elementor-element-6339887 .dl-section > p { margin: 0 0 26px; font: 500 14px/1.5 'DM Sans', 'Noto Sans', system-ui, sans-serif; color: #ff5821; }
.elementor-element-6339887 .dl-form-row { display: flex; flex-direction: column; align-items: stretch; gap: 14px; width: min(460px, 100%); margin: 0 auto; }
.elementor-element-6339887 .dl-field { flex: 0 0 auto; width: 100%; text-align: left; }
/* The placeholder says what each box is; the label stays for screen readers. */
.elementor-element-6339887 .dl-field label { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.elementor-element-6339887 .dl-field input {
	width: 100%; height: 52px; margin: 0; padding: 0 20px;
	border: 1px solid #eceef3; border-radius: 16px;
	background: linear-gradient(145deg, #ffffff 0%, #f5f6f9 100%);
	box-shadow: 0 6px 16px rgba(12, 22, 48, 0.08), 0 1px 3px rgba(12, 22, 48, 0.05);
	font: 500 15px/1 'DM Sans', 'Noto Sans', system-ui, sans-serif; color: #14203a;
}
.elementor-element-6339887 .dl-field input::placeholder { color: #7b8494; }
.elementor-element-6339887 .dl-field input:focus-visible { outline: 2px solid #ff5821; outline-offset: 2px; border-color: #ff5821; }
.elementor-element-6339887 .dl-field input.error { border-color: #d93025; }
.elementor-element-6339887 .dl-err { margin: 6px 4px 0; font-size: 12px; color: #d93025; }
.elementor-element-6339887 .dl-btn-wrap { display: flex; justify-content: center; margin-top: 10px; }
.elementor-element-6339887 .dl-btn {
	height: 48px; min-width: 150px; margin: 0; padding: 0 34px;
	border: 0; border-radius: 999px;
	background: #ff5821; color: #fff;
	box-shadow: 0 8px 20px rgba(255, 88, 33, 0.35);
	font: 700 15px/1 'DM Sans', 'Noto Sans', system-ui, sans-serif; letter-spacing: 0; text-transform: none;
	cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.elementor-element-6339887 .dl-btn:hover:not(:disabled) { transform: translateY(-2px); background: #f04a14; box-shadow: 0 12px 26px rgba(255, 88, 33, 0.45); }
.elementor-element-6339887 .dl-btn:focus-visible { outline: 3px solid #14203a; outline-offset: 3px; }
.elementor-element-6339887 .dl-btn:disabled { opacity: .7; cursor: default; }
.elementor-element-6339887 .dl-success { margin-top: 18px; padding: 16px 18px; border-radius: 16px; background: #eefaf2; font-size: 14px; line-height: 1.5; color: #1d6b3a; text-align: center; }
@media (prefers-reduced-motion: reduce) { .elementor-element-6339887 .dl-btn { transition: none; } .elementor-element-6339887 .dl-btn:hover:not(:disabled) { transform: none; } }

/* ── Document cards, final design: centred file icon, bold title, type in grey, PDF size; soft wide shadow ── */
.wsl-card > a {
	align-items: center; justify-content: center; gap: 6px;
	min-height: 168px; padding: 28px 20px 24px;
	border: 0; border-radius: 26px;
	background: linear-gradient(160deg, #ffffff 0%, #f4f5f9 100%);
	text-align: center;
	box-shadow: 0 10px 30px rgba(20, 30, 60, 0.22), 0 2px 8px rgba(20, 30, 60, 0.10), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important; /* !important: a global theme rule removes link shadows */
}
.wsl-card > a:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(20, 30, 60, 0.28), 0 4px 12px rgba(20, 30, 60, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95) !important; }
.wsl-card__icon { display: grid; place-items: center; width: auto; height: auto; margin: 0 0 6px; border-radius: 0; background: none; color: #ff5821; }
.wsl-card__icon svg { width: 28px; height: 28px; }
.wsl-card__title { padding: 0; font-size: 17px; font-weight: 700; line-height: 1.3; text-align: center; color: #14203a; }
.wsl-card__type { font-size: 13px; line-height: 1.3; color: #6b7686; }
.wsl-card__meta { margin: 4px 0 0; font-size: 12px; line-height: 1.3; color: #8a94a3; }

/* Submit button: stays a pill in every state (the theme's generic button:hover squares it), label centred. */
.elementor-element-6339887 .dl-btn,
.elementor-element-6339887 .dl-btn:hover,
.elementor-element-6339887 .dl-btn:focus,
.elementor-element-6339887 .dl-btn:active,
.elementor-element-6339887 .dl-btn:disabled {
	display: inline-flex !important; align-items: center !important; justify-content: center !important;
	width: auto; min-width: 150px; height: 48px;
	padding: 0 34px !important;
	border: 0 !important; border-radius: 999px !important;
	background: #ff5821 !important; color: #fff !important;
	text-align: center !important; text-indent: 0 !important; letter-spacing: 0 !important;
}
.elementor-element-6339887 .dl-btn:hover:not(:disabled),
.elementor-element-6339887 .dl-btn:focus-visible { background: #f04a14 !important; }
