/*
Theme Name: Web 5
Theme URI: https://web5.co.il
Description: Child theme for Smartline Lite. Replaces the parent's entire design: a masthead with a petrol-to-indigo gradient and contour lines, Heebo typography, article sheets rising out of the band, and a widget for latest posts by category.
Author: Web 5
Template: smartline-lite
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: web5-child
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* ==========================================================================
   1. Tokens
   ========================================================================== */

:root {
	--c-ink: #13262B;
	--c-text: #2B3B40;
	--c-muted: #5B6B6F;
	--c-line: #DCE4E2;
	--c-fog: #F1F5F4;
	--c-paper: #FFFFFF;

	--c-petrol: #0B3438;
	--c-tide: #15676B;
	--c-dusk: #272B5E;
	--c-saffron: #F2B441;
	--c-peach: #F09A6B;

	--g-dusk: linear-gradient(115deg, #0B3438 0%, #123F47 42%, #23305E 82%, #2C2A5B 100%);
	--g-glow: linear-gradient(90deg, #F2B441 0%, #F09A6B 100%);

	--font: "Heebo", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

	--container: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
	--gap: clamp(24px, 3.4vw, 44px);
	--overlap: 52px;
	--sheet-pad: clamp(20px, 4vw, 44px);

	--r-sheet: 24px;
	--r-panel: 20px;
	--r-media: 14px;

	--shadow-sheet: 0 1px 0 rgba(19, 38, 43, .04), 0 28px 50px -34px rgba(11, 52, 56, .45);
}

@media (min-width: 1000px) {
	:root {
		--overlap: 92px;
	}
}

/*
 * Tokens used by the content snippets that came over from Elementor (w5-blocks).
 * Declared on body so they win over the :root values the snippet prints later in the page.
 */
body,
.w5-prose .w5-carousel {
	--w5-surface: #F1F5F4;
	--w5-border: #DCE4E2;
	--w5-accent: #15676B;
	--w5-muted: #5B6B6F;
}


/* ==========================================================================
   2. Base
   ========================================================================== */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--c-fog);
	color: var(--c-text);
	font-family: var(--font);
	font-size: 17px;
	font-weight: 400;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-wrap: break-word;
}

@media (min-width: 900px) {
	body {
		font-size: 18px;
	}
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 .5em;
	color: var(--c-ink);
	font-family: var(--font);
	font-weight: 700;
	line-height: 1.3;
}

p, ul, ol, dl, figure, blockquote, table, pre {
	margin: 0 0 1.15em;
}

img, video, iframe, embed, object {
	max-width: 100%;
}

img {
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--c-tide);
	text-decoration-thickness: 1px;
	text-underline-offset: .22em;
}

a:hover {
	color: var(--c-petrol);
	text-decoration-color: var(--c-saffron);
	text-decoration-thickness: 2px;
}

:focus-visible {
	outline: 3px solid var(--c-saffron);
	outline-offset: 2px;
}

strong, b {
	font-weight: 700;
}

hr {
	height: 1px;
	margin: 2.2em 0;
	border: 0;
	background: var(--c-line);
}

small {
	font-size: .85em;
}

code, kbd, pre {
	font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
	font-size: .88em;
}

pre {
	overflow: auto;
	padding: 1em 1.2em;
	border-radius: 12px;
	background: var(--c-fog);
	direction: ltr;
	text-align: left;
}

::selection {
	background: rgba(242, 180, 65, .45);
	color: var(--c-ink);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}

.skip-link:focus {
	z-index: 100000;
	top: 12px;
	inset-inline-start: 12px;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	clip-path: none;
	border-radius: 999px;
	background: var(--c-saffron);
	color: var(--c-ink);
	font-weight: 700;
	text-decoration: none;
}

.w5-container {
	width: min(100% - 2 * var(--gutter), var(--container));
	margin-inline: auto;
}

.w5-icon {
	display: block;
	flex: none;
}


/* ==========================================================================
   3. Masthead: the gradient band with the contour-line image
   ========================================================================== */

.w5-masthead {
	position: relative;
	isolation: isolate;
	color: #fff;
	background-color: var(--c-petrol);
	background-image:
		linear-gradient(180deg, rgba(5, 22, 28, .72) 0%, rgba(5, 22, 28, .38) 38%, rgba(8, 20, 38, .6) 100%),
		var(--w5-mh-sm, none),
		var(--g-dusk);
	background-position: center, center 32%, center;
	background-size: cover;
	background-repeat: no-repeat;
}

@media (min-width: 768px) {
	.w5-masthead {
		background-image:
			linear-gradient(180deg, rgba(5, 22, 28, .72) 0%, rgba(5, 22, 28, .38) 38%, rgba(8, 20, 38, .6) 100%),
			var(--w5-mh-md, none),
			var(--g-dusk);
	}
}

@media (min-width: 1600px) {
	.w5-masthead {
		background-image:
			linear-gradient(180deg, rgba(5, 22, 28, .72) 0%, rgba(5, 22, 28, .38) 38%, rgba(8, 20, 38, .6) 100%),
			var(--w5-mh-lg, none),
			var(--g-dusk);
	}
}

.w5-masthead a {
	color: inherit;
}

/* Header bar */

.w5-header__bar {
	position: relative;
	display: flex;
	align-items: center;
	gap: 12px 28px;
	min-height: 68px;
}

@media (min-width: 960px) {
	.w5-header__bar {
		min-height: 88px;
	}
}

.w5-brand {
	flex: none;
}

.w5-logo {
	display: block;
	line-height: 0;
	text-decoration: none;
}

.w5-logo__img {
	display: block;
	width: 104px;
	height: auto;
}

@media (min-width: 960px) {
	.w5-logo__img {
		width: 132px;
	}
}

.w5-logo__text {
	font-size: 28px;
	font-weight: 800;
	line-height: 1;
}

/* Navigation */

.w5-menu,
.w5-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.w5-menu a {
	display: block;
	color: rgba(255, 255, 255, .9);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
}

.w5-menu a:hover {
	color: #fff;
}

.w5-header__actions {
	display: flex;
	gap: 6px;
	margin-inline-start: auto;
}

.w5-iconbtn {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, .22);
	border-radius: 50%;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	cursor: pointer;
	transition: background-color .2s ease, border-color .2s ease;
}

.w5-js .w5-iconbtn {
	display: inline-flex;
}

.w5-iconbtn:hover,
.w5-iconbtn[aria-expanded="true"] {
	border-color: rgba(255, 255, 255, .45);
	background: rgba(255, 255, 255, .18);
}

.w5-icon__bar {
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	transform-origin: 12px 12px;
	transition: transform .2s ease, opacity .2s ease;
}

.w5-iconbtn[aria-expanded="true"] .w5-icon__bar--1 {
	transform: translateY(5px) rotate(45deg);
}

.w5-iconbtn[aria-expanded="true"] .w5-icon__bar--2 {
	opacity: 0;
}

.w5-iconbtn[aria-expanded="true"] .w5-icon__bar--3 {
	transform: translateY(-5px) rotate(-45deg);
}

/* Mobile navigation */
@media (max-width: 959.98px) {
	.w5-header__bar {
		flex-wrap: wrap;
		align-content: flex-start;
		padding-block: 12px;
	}

	.w5-nav {
		order: 3;
		flex: 1 0 100%;
	}

	.w5-js .w5-nav {
		display: none;
	}

	.w5-js .is-nav-open .w5-nav {
		display: block;
	}

	.w5-menu {
		padding-block: 4px 18px;
	}

	.w5-menu li {
		border-top: 1px solid rgba(255, 255, 255, .14);
	}

	.w5-menu a {
		padding: 14px 2px;
		font-size: 19px;
	}

	.w5-menu .sub-menu {
		padding-inline-start: 18px;
	}

	.w5-menu .sub-menu a {
		font-size: 17px;
	}

	.w5-menu .current-menu-item > a,
	.w5-menu .current_page_item > a {
		color: var(--c-saffron);
	}
}

/* Desktop navigation */
@media (min-width: 960px) {
	.w5-iconbtn--menu,
	.w5-js .w5-iconbtn--menu {
		display: none;
	}

	.w5-nav {
		margin-inline-start: auto;
	}

	.w5-header__actions {
		margin-inline-start: 0;
	}

	.w5-menu {
		display: flex;
		align-items: center;
		gap: 2px;
	}

	.w5-menu > li {
		position: relative;
	}

	.w5-menu > li > a {
		padding: 9px 15px;
		border-radius: 999px;
		transition: background-color .2s ease;
	}

	.w5-menu > li > a:hover {
		background: rgba(255, 255, 255, .1);
	}

	.w5-menu > .current-menu-item > a,
	.w5-menu > .current_page_item > a,
	.w5-menu > .current-menu-ancestor > a {
		background: rgba(255, 255, 255, .14);
		color: #fff;
		box-shadow: inset 0 -2px 0 var(--c-saffron);
	}

	.w5-menu .sub-menu {
		position: absolute;
		z-index: 50;
		top: 100%;
		inset-inline-start: 0;
		display: none;
		min-width: 230px;
		padding: 8px;
		border-radius: 16px;
		background: #0F2F36;
		box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .55);
	}

	.w5-menu li:hover > .sub-menu,
	.w5-menu li:focus-within > .sub-menu {
		display: block;
	}

	.w5-menu .sub-menu a {
		padding: 9px 12px;
		border-radius: 10px;
		font-size: 15px;
	}

	.w5-menu .sub-menu a:hover {
		background: rgba(255, 255, 255, .08);
	}
}

/* Header search */

.w5-search-panel {
	padding-block: 4px 22px;
}

.w5-search-panel[hidden] {
	display: none;
}

.w5-search-panel .w5-search {
	max-width: 620px;
	margin-inline-start: auto;
}


/* ==========================================================================
   4. Intro: title, meta and topics inside the band
   ========================================================================== */

.w5-intro {
	padding-block: clamp(22px, 4vw, 48px) calc(var(--overlap) + clamp(26px, 4vw, 52px));
}

.w5-intro__grid,
.w5-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--gap);
}

@media (min-width: 1000px) {
	.w5-intro__grid,
	.w5-layout {
		grid-template-columns: minmax(0, 1fr) 320px;
	}
}

.w5-no-sidebar .w5-intro__grid,
.w5-no-sidebar .w5-layout {
	width: min(100% - 2 * var(--gutter), 880px);
	grid-template-columns: minmax(0, 1fr);
}

.error404 .w5-intro__grid,
.w5-layout--wide {
	width: min(100% - 2 * var(--gutter), var(--container));
}

.w5-intro__main {
	min-width: 0;
}

.w5-intro__title,
.w5-meta,
.w5-chips {
	max-width: 780px;
}

.home .w5-intro__grid,
.blog .w5-intro__grid {
	grid-template-columns: minmax(0, 1fr);
}

.w5-intro__title {
	margin: 0;
	color: #fff;
	font-size: clamp(30px, 4.4vw, 48px);
	font-weight: 800;
	line-height: 1.18;
	letter-spacing: -.01em;
	text-wrap: balance;
}

.w5-intro__title--home {
	font-size: clamp(38px, 7vw, 76px);
	line-height: 1.05;
	letter-spacing: -.02em;
}

.w5-intro__lede,
.w5-intro__count {
	max-width: 62ch;
	margin: 14px 0 0;
	color: rgba(255, 255, 255, .8);
	font-size: 18px;
	line-height: 1.65;
}

.w5-intro__lede p {
	margin: 0 0 .6em;
}

.w5-intro__count {
	font-size: 16px;
}

.w5-intro__search {
	max-width: 560px;
	margin-top: 22px;
}

/* Category chips above a post title */

.w5-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.w5-masthead .w5-chip {
	display: inline-block;
	padding: 3px 13px 4px;
	border-radius: 999px;
	background: var(--g-glow);
	color: var(--c-ink);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.w5-masthead .w5-chip:hover {
	color: var(--c-ink);
	filter: brightness(1.06);
}

/* Meta line */

.w5-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	row-gap: 6px;
	margin-top: 18px;
	color: rgba(255, 255, 255, .78);
	font-size: 15px;
	line-height: 1.5;
}

.w5-meta__item + .w5-meta__item::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 14px;
	margin-inline: 14px;
	background: rgba(255, 255, 255, .3);
	vertical-align: -2px;
}

.w5-meta a {
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, .35);
}

/* Topics on the home page */

.w5-topics {
	margin-top: clamp(20px, 3vw, 30px);
}

.w5-topics__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.w5-topic {
	display: inline-block;
	padding: 6px 15px 7px;
	border: 1px solid rgba(255, 255, 255, .26);
	border-radius: 999px;
	background: rgba(255, 255, 255, .07);
	color: #fff;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.4;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.w5-masthead .w5-topic:hover {
	border-color: transparent;
	background: var(--c-saffron);
	color: var(--c-ink);
}


/* ==========================================================================
   5. Layout, sheets and section titles
   ========================================================================== */

.w5-main {
	position: relative;
	margin-top: calc(-1 * var(--overlap));
	padding-bottom: clamp(48px, 7vw, 96px);
}

.w5-primary {
	display: flex;
	flex-direction: column;
	gap: 28px;
	min-width: 0;
}

.w5-sheet {
	padding: var(--sheet-pad);
	border-radius: var(--r-sheet);
	background: var(--c-paper);
	box-shadow: var(--shadow-sheet);
}

.w5-section-title {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 26px;
	color: var(--c-ink);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
}

.w5-section-title::before {
	content: "";
	flex: none;
	width: 28px;
	height: 6px;
	border-radius: 6px;
	background: var(--g-glow);
}

.w5-empty p {
	color: var(--c-muted);
}


/* ==========================================================================
   6. Cards
   ========================================================================== */

.w5-cards {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 40px 28px;
}

@media (min-width: 640px) {
	.w5-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 900px) {
	.w5-cards--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 640px) {
	.w5-cards--compact {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 24px 20px;
	}
}

.w5-card {
	display: flex;
	flex-direction: column;
	gap: 14px;
	min-width: 0;
	margin: 0;
}

.w5-card__media {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border-radius: var(--r-media);
	background: var(--g-dusk);
}

.w5-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.w5-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}

.w5-card__cat {
	align-self: flex-start;
	color: var(--c-tide);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
}

.w5-card__title {
	margin: 0;
	color: var(--c-ink);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.38;
}

.w5-card__title a {
	color: inherit;
	text-decoration: none;
}

.w5-card__title a:hover,
.w5-card__cat:hover {
	text-decoration: underline;
	text-decoration-color: var(--c-saffron);
	text-decoration-thickness: 2px;
}

.w5-card__excerpt {
	display: -webkit-box;
	margin: 2px 0 0;
	overflow: hidden;
	color: var(--c-muted);
	font-size: 16px;
	line-height: 1.65;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
}

.w5-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 16px;
	margin-top: 4px;
	color: var(--c-muted);
	font-size: 14px;
	line-height: 1.5;
}

/* Lead story */

.w5-card--lead {
	gap: 22px;
	margin-bottom: 40px;
	padding-bottom: 40px;
	border-bottom: 1px solid var(--c-line);
}

.w5-card--lead .w5-card__media {
	aspect-ratio: 16 / 9;
	border-radius: 18px;
}

.w5-card--lead .w5-card__title {
	font-size: clamp(25px, 3vw, 34px);
	font-weight: 800;
	line-height: 1.22;
	text-wrap: balance;
}

.w5-card--lead .w5-card__excerpt {
	font-size: 17px;
	-webkit-line-clamp: 4;
}

@media (min-width: 1000px) {
	.w5-card--lead .w5-card__media,
	.w5-article__media img {
		aspect-ratio: 2 / 1;
	}

	.w5-sheet > .w5-card--lead .w5-card__media {
		margin: calc(-1 * var(--sheet-pad)) calc(-1 * var(--sheet-pad)) 4px;
		border-radius: var(--r-sheet) var(--r-sheet) 0 0;
	}
}

/* Compact (related posts) */

.w5-card--compact {
	gap: 10px;
}

.w5-card--compact .w5-card__media {
	aspect-ratio: 3 / 2;
	border-radius: 12px;
}

.w5-card--compact .w5-card__title {
	font-size: 17px;
	line-height: 1.42;
}

/* Pagination */

.w5-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
	padding-top: 32px;
	border-top: 1px solid var(--c-line);
}

.w5-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	height: 44px;
	padding: 0 12px;
	border-radius: 999px;
	background: var(--c-fog);
	color: var(--c-ink);
	font-size: 16px;
	font-weight: 700;
	text-decoration: none;
}

.w5-pagination a.page-numbers:hover {
	background: #E2ECE9;
	color: var(--c-ink);
}

.w5-pagination .current {
	background: var(--g-dusk);
	color: #fff;
}

.w5-pagination .dots {
	background: none;
}


/* ==========================================================================
   7. Article
   ========================================================================== */

.w5-article {
	margin: 0;
}

.w5-article__media {
	margin: calc(-1 * var(--sheet-pad)) calc(-1 * var(--sheet-pad)) var(--sheet-pad);
}

.w5-article__media img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	border-radius: var(--r-sheet) var(--r-sheet) 0 0;
}

.w5-article__media figcaption {
	padding: 10px var(--sheet-pad) 0;
	color: var(--c-muted);
	font-size: 14px;
	line-height: 1.5;
}

.w5-article__footer {
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--c-line);
}

.w5-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.w5-tags a {
	display: inline-block;
	padding: 4px 12px 5px;
	border-radius: 999px;
	background: var(--c-fog);
	color: var(--c-text);
	font-size: 14px;
	line-height: 1.45;
	text-decoration: none;
}

.w5-tags a:hover {
	background: #E2ECE9;
	color: var(--c-ink);
}

.w5-edit {
	margin: 24px 0 0;
	font-size: 14px;
}

/* Reading progress, where scroll-driven animation is supported */

.w5-progress {
	display: none;
}

@supports (animation-timeline: scroll()) {
	.w5-progress {
		position: fixed;
		z-index: 1000;
		top: 0;
		inset-inline: 0;
		display: block;
		height: 4px;
		background: var(--g-glow);
		transform: scaleX(0);
		transform-origin: 0 50%;
		animation: w5-progress linear both;
		animation-timeline: scroll(root);
	}

	.rtl .w5-progress {
		transform-origin: 100% 50%;
	}

	.admin-bar .w5-progress {
		top: 32px;
	}

	@media (max-width: 782px) {
		.admin-bar .w5-progress {
			top: 46px;
		}
	}
}

@keyframes w5-progress {
	to {
		transform: scaleX(1);
	}
}


/* ==========================================================================
   8. Prose: the article body
   ========================================================================== */

.w5-prose {
	color: var(--c-text);
}

.w5-prose > :first-child {
	margin-top: 0;
}

.w5-prose > :last-child {
	margin-bottom: 0;
}

.w5-prose p {
	margin: 0 0 1.15em;
}

.w5-prose h2 {
	margin: 1.9em 0 .6em;
	font-size: clamp(24px, 2.6vw, 30px);
	font-weight: 800;
	line-height: 1.28;
	text-wrap: balance;
}

.w5-prose h2::before {
	content: "";
	display: block;
	width: 44px;
	height: 5px;
	margin-bottom: .6em;
	border-radius: 5px;
	background: var(--g-glow);
}

.w5-prose h3 {
	margin: 1.7em 0 .45em;
	color: var(--c-petrol);
	font-size: clamp(20px, 2vw, 23px);
	font-weight: 700;
	line-height: 1.35;
}

.w5-prose h4 {
	margin: 1.5em 0 .4em;
	font-size: 19px;
}

.w5-prose h5,
.w5-prose h6 {
	margin: 1.4em 0 .4em;
	font-size: 17px;
}

.w5-prose strong {
	color: var(--c-ink);
}

.w5-prose ul,
.w5-prose ol {
	margin: 0 0 1.3em;
	padding-inline-start: 1.35em;
}

.w5-prose li {
	margin-bottom: .5em;
	padding-inline-start: .2em;
}

.w5-prose li > ul,
.w5-prose li > ol {
	margin: .5em 0 0;
}

.w5-prose ul > li::marker {
	color: var(--c-tide);
}

.w5-prose ol > li::marker {
	color: var(--c-tide);
	font-weight: 700;
}

.w5-prose a {
	color: var(--c-tide);
	font-weight: 500;
}

.w5-prose blockquote {
	margin: 1.8em 0;
	padding: 1.1em 1.4em;
	border-inline-start: 4px solid var(--c-saffron);
	border-radius: 12px;
	background: var(--c-fog);
	color: var(--c-ink);
	font-size: 1.06em;
	line-height: 1.7;
}

.w5-prose blockquote > :last-child {
	margin-bottom: 0;
}

.w5-prose blockquote cite {
	display: block;
	margin-top: .7em;
	color: var(--c-muted);
	font-size: .85em;
	font-style: normal;
}

.w5-prose img {
	border-radius: 12px;
}

.w5-prose figure {
	margin: 1.8em 0;
}

.w5-prose figcaption,
.w5-prose .wp-caption-text {
	margin-top: 8px;
	color: var(--c-muted);
	font-size: 14px;
	line-height: 1.5;
	text-align: center;
}

/* Tables */

.w5-table-scroll {
	margin: 1.8em 0;
	overflow-x: auto;
	border: 1px solid var(--c-line);
	border-radius: 14px;
	-webkit-overflow-scrolling: touch;
}

.w5-table-scroll:focus-visible {
	outline-offset: 3px;
}

.w5-prose table {
	width: 100%;
	min-width: 560px;
	margin: 0;
	border-collapse: collapse;
	font-size: 15.5px;
	line-height: 1.6;
}

.w5-prose th,
.w5-prose td {
	padding: 12px 16px;
	text-align: start;
	vertical-align: top;
}

.w5-prose thead th,
.w5-prose tr:first-child > th {
	background: var(--c-petrol);
	color: #fff;
	font-weight: 700;
}

.w5-prose td {
	border-top: 1px solid var(--c-line);
}

.w5-prose tbody tr:nth-child(even) {
	background: #F7FAF9;
}

.w5-prose tbody th {
	background: var(--c-fog);
	color: var(--c-ink);
}

/*
 * Callout boxes written with inline styles in the post content
 * (a coloured right border on a pale background). Brought into the palette.
 */
.w5-prose div[style*="border-right"] {
	margin: 2em 0 !important;
	padding: 20px 24px !important;
	border: 0 !important;
	border-inline-start: 4px solid var(--c-saffron) !important;
	border-radius: 14px !important;
	background: var(--c-fog) !important;
}

/* WordPress alignment and embeds */

.alignleft,
.alignright {
	max-width: 50%;
	margin-bottom: 1em;
}

.alignleft {
	float: left;
	margin-right: 1.5em;
}

.alignright {
	float: right;
	margin-left: 1.5em;
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

@media (max-width: 600px) {
	.alignleft,
	.alignright {
		float: none;
		max-width: 100%;
		margin-inline: 0;
	}
}

.wp-caption {
	max-width: 100%;
}

.w5-prose iframe {
	display: block;
	width: 100%;
	border: 0;
	border-radius: 12px;
}

.w5-prose .wp-block-embed iframe {
	aspect-ratio: 16 / 9;
	height: auto;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 32px;
}

.page-links a,
.page-links > span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	border-radius: 999px;
	background: var(--c-fog);
	text-decoration: none;
}

/* Related posts */

.w5-related .w5-section-title {
	font-size: 20px;
}


/* ==========================================================================
   9. Forms and buttons
   ========================================================================== */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea {
	width: 100%;
	max-width: 100%;
	padding: 12px 14px;
	border: 1px solid #C9D5D2;
	border-radius: 12px;
	background: #fff;
	color: var(--c-ink);
	font-family: inherit;
	font-size: 16px;
	line-height: 1.5;
	transition: border-color .2s ease, box-shadow .2s ease;
	-webkit-appearance: none;
	appearance: none;
}

textarea {
	min-height: 150px;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--c-tide);
	outline: none;
	box-shadow: 0 0 0 3px rgba(21, 103, 107, .2);
}

input[type="checkbox"],
input[type="radio"] {
	accent-color: var(--c-tide);
}

button,
input[type="submit"],
input[type="button"],
.wpcf7-submit,
.button {
	font-family: inherit;
}

input[type="submit"],
.wpcf7-submit,
#commentform #submit,
.w5-button {
	display: inline-block;
	width: auto;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	background: var(--g-dusk);
	color: #fff;
	font-size: 16px;
	font-weight: 700;
	line-height: 1.4;
	text-decoration: none;
	cursor: pointer;
	transition: filter .2s ease;
}

input[type="submit"]:hover,
.wpcf7-submit:hover,
#commentform #submit:hover,
.w5-button:hover {
	color: #fff;
	filter: brightness(1.2);
}

label {
	color: var(--c-ink);
	font-size: 15px;
	font-weight: 500;
}

/* Search form */

.w5-search {
	position: relative;
	margin: 0;
}

.w5-search .search-field {
	height: 52px;
	padding-inline: 18px 56px;
	border-radius: 999px;
}

.w5-search .search-submit {
	position: absolute;
	top: 5px;
	inset-inline-end: 5px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--g-dusk);
	color: #fff;
	cursor: pointer;
}

.w5-masthead .w5-search .search-field {
	border-color: rgba(255, 255, 255, .3);
	background: rgba(255, 255, 255, .12);
	color: #fff;
}

.w5-masthead .w5-search .search-field::placeholder {
	color: rgba(255, 255, 255, .7);
}

.w5-masthead .w5-search .search-field:focus {
	border-color: var(--c-saffron);
	box-shadow: 0 0 0 3px rgba(242, 180, 65, .3);
}

.w5-masthead .w5-search .search-submit {
	background: var(--g-glow);
	color: var(--c-ink);
}

input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none;
}


/* ==========================================================================
   10. Sidebar and widgets
   ========================================================================== */

.w5-sidebar {
	display: flex;
	flex-direction: column;
	gap: 24px;
	min-width: 0;
}

.w5-sidebar .widget {
	margin: 0;
	padding: 24px 22px;
	border-radius: var(--r-panel);
	background: var(--c-paper);
	box-shadow: var(--shadow-sheet);
}

.w5-sidebar .widgettitle,
.w5-sidebar .widget .wp-block-heading {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
	color: var(--c-ink);
	font-size: 18px;
	font-weight: 800;
	line-height: 1.35;
}

.w5-sidebar .widgettitle::before {
	content: "";
	flex: none;
	width: 18px;
	height: 5px;
	border-radius: 5px;
	background: var(--g-glow);
}

.widget ul,
.widget ol {
	margin: 0;
	padding: 0;
	list-style: none;
}

.w5-sidebar .widget li {
	padding: 11px 0;
	border-bottom: 1px solid var(--c-line);
	font-size: 16px;
	line-height: 1.5;
}

.w5-sidebar .widget li:first-child {
	padding-top: 0;
}

.w5-sidebar .widget li:last-child {
	padding-bottom: 0;
	border-bottom: 0;
}

.w5-sidebar .widget li a {
	color: var(--c-ink);
	font-weight: 500;
	text-decoration: none;
}

.w5-sidebar .widget li a:hover {
	text-decoration: underline;
	text-decoration-color: var(--c-saffron);
	text-decoration-thickness: 2px;
}

.w5-sidebar .widget p {
	font-size: 16px;
	line-height: 1.65;
}

/* Latest posts by category */

.w5-cat {
	display: grid;
	gap: 30px;
}

.w5-cat__heading {
	margin: 0 0 8px;
	font-size: 19px;
	font-weight: 800;
	line-height: 1.3;
}

.w5-cat__heading a {
	color: var(--c-tide);
	text-decoration: none;
}

.w5-cat__heading a:hover {
	color: var(--c-petrol);
}

.w5-sidebar .w5-cat__item {
	padding: 12px 0;
}

.w5-sidebar .w5-cat__item:first-child {
	padding-top: 4px;
}

.w5-cat__date {
	display: block;
	margin-bottom: 3px;
	color: var(--c-muted);
	font-size: 13.5px;
	line-height: 1.3;
}

.w5-cat__title {
	margin: 0;
	font-size: 16.5px;
	font-weight: 700;
	line-height: 1.42;
}

.w5-sidebar .w5-cat__title a {
	font-weight: 700;
}

@media (min-width: 640px) and (max-width: 999.98px) {
	.w5-cat {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 30px 32px;
	}
}


/* ==========================================================================
   11. Comments
   ========================================================================== */

#comments .comments-title,
#reply-title {
	margin: 0 0 20px;
	font-size: 22px;
	font-weight: 800;
}

.commentlist {
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}

.commentlist .comment {
	margin: 0 0 18px;
	padding: 18px 20px;
	border-radius: 16px;
	background: var(--c-fog);
	list-style: none;
}

.commentlist .children {
	margin: 16px 0 0;
	padding-inline-start: 18px;
	list-style: none;
}

.commentlist .children .comment {
	background: #fff;
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
}

.comment-author img {
	border-radius: 50%;
}

.comment-meta {
	margin: 4px 0 10px;
	font-size: 14px;
}

.comment-meta a {
	color: var(--c-muted);
	text-decoration: none;
}

.comment-content p {
	margin: 0 0 .8em;
	font-size: 16px;
}

.comment-reply-link {
	font-size: 14px;
	font-weight: 700;
}

#commentform p {
	margin: 0 0 16px;
}

#commentform label {
	display: block;
	margin-bottom: 6px;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.comment-form-cookies-consent label {
	display: inline;
	font-weight: 400;
}


/* ==========================================================================
   12. Footer
   ========================================================================== */

.w5-footer {
	color: rgba(255, 255, 255, .78);
	background-color: #081F24;
	background-image:
		linear-gradient(0deg, rgba(5, 18, 24, .94) 0%, rgba(5, 18, 24, .8) 100%),
		var(--w5-mh-sm, none),
		var(--g-dusk);
	background-position: center, center 78%, center;
	background-size: cover;
	background-repeat: no-repeat;
	font-size: 16px;
}

@media (min-width: 768px) {
	.w5-footer {
		background-image:
			linear-gradient(0deg, rgba(5, 18, 24, .94) 0%, rgba(5, 18, 24, .8) 100%),
			var(--w5-mh-md, none),
			var(--g-dusk);
	}
}

.w5-footer a {
	color: #fff;
	text-decoration: none;
}

.w5-footer a:hover {
	color: var(--c-saffron);
}

.w5-footer__top {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 36px;
	padding-block: clamp(44px, 6vw, 72px) 36px;
}

@media (min-width: 760px) {
	.w5-footer__top {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr) minmax(0, .8fr);
		gap: 48px;
	}
}

.w5-footer__brand .w5-logo__img {
	width: 120px;
}

.w5-footer__tagline {
	margin: 16px 0 0;
	color: rgba(255, 255, 255, .7);
	font-size: 17px;
}

.w5-footer__heading {
	margin: 0 0 14px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.w5-footer__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.w5-footer__list li {
	margin: 0 0 8px;
	line-height: 1.5;
}

.w5-footer__list--split {
	columns: 2;
	column-gap: 24px;
}

.w5-footer__list--split li {
	break-inside: avoid;
}

.w5-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 24px;
	padding-block: 20px 28px;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .6);
	font-size: 14px;
}

.w5-footer__base p {
	margin: 0;
}

.w5-footer__social-list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}


/* ==========================================================================
   13. Blocks and plugins
   ========================================================================== */

.wp-block-button__link {
	border-radius: 999px;
	background: var(--g-dusk);
	color: #fff;
	font-weight: 700;
	text-decoration: none;
}

.wp-block-separator {
	border: 0;
	border-top: 1px solid var(--c-line);
}

.wp-block-pullquote {
	border-block: 4px solid var(--c-saffron);
}

.has-w5-petrol-color { color: #0B3438; }
.has-w5-tide-color { color: #15676B; }
.has-w5-dusk-color { color: #272B5E; }
.has-w5-saffron-color { color: #F2B441; }
.has-w5-fog-color { color: #F1F5F4; }
.has-w5-ink-color { color: #13262B; }
.has-w5-petrol-background-color { background-color: #0B3438; }
.has-w5-tide-background-color { background-color: #15676B; }
.has-w5-dusk-background-color { background-color: #272B5E; }
.has-w5-saffron-background-color { background-color: #F2B441; }
.has-w5-fog-background-color { background-color: #F1F5F4; }
.has-w5-ink-background-color { background-color: #13262B; }

/* Contact Form 7 */

.wpcf7-form p {
	margin-bottom: 16px;
}

.wpcf7-not-valid-tip {
	margin-top: 4px;
	font-size: 14px;
}

.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 12px 16px;
	border-radius: 12px;
}


/* ==========================================================================
   14. Motion preferences and print
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition-duration: .01ms !important;
	}
}

@media print {
	.w5-masthead,
	.w5-footer,
	.w5-sidebar,
	.w5-related,
	.w5-comments,
	.w5-progress {
		display: none !important;
	}

	.w5-main {
		margin: 0;
	}

	.w5-sheet {
		box-shadow: none;
	}
}
