/*!
Theme Name: Electric Tobacconist Dark
Theme URI: https://www.electrictobacconist.co.uk/
Description: Electric Tobacconist dark/live-header child theme for Blocksy.
Author: Electric Tobacconist
Template: blocksy
Version: 1.0.0
Text Domain: electric-tobacconist-dark
*/

@font-face {
	font-family: "Moderat";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("https://dqbqjfuhxmmjh.cloudfront.net/themes/aerocommerce/boilerplate-theme/fonts/Moderat-Regular.woff2?9bff189c71ee41e46c0e5b8c8e99a0d1") format("woff2");
}

@font-face {
	font-family: "Moderat";
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url("https://dqbqjfuhxmmjh.cloudfront.net/themes/aerocommerce/boilerplate-theme/fonts/Moderat-Semibold.woff2?21741e912ae0b9dce79d9eac88980b02") format("woff2");
}

@font-face {
	font-family: "Moderat";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url("https://dqbqjfuhxmmjh.cloudfront.net/themes/aerocommerce/boilerplate-theme/fonts/Moderat-Bold.woff2?abb84fcf0b87af9278c2b7d776a3439b") format("woff2");
}

body.wp-child-theme-electric-tobacconist-dark #header.ct-header,
body.wp-child-theme-electric-tobacconist-dark #offcanvas.ct-header,
body.wp-child-theme-electric-tobacconist-dark #footer.ct-footer {
	display: none;
}

body.wp-child-theme-electric-tobacconist-dark,
body.wp-child-theme-electric-tobacconist-dark #main-container,
body.wp-child-theme-electric-tobacconist-dark .site-main,
body.wp-child-theme-electric-tobacconist-dark .ct-container-full,
body.wp-child-theme-electric-tobacconist-dark .ct-container {
	background: #fff;
}

.et-site-header {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 70px;
	padding: 16px;
	background: #fff;
	border-bottom: 1px solid #9ca3af;
	font-family: "Moderat", Arial, sans-serif;
	position: relative;
	z-index: 20;
}

.et-site-header__logo-link {
	display: block;
	color: inherit;
	text-decoration: none;
	outline-offset: 4px;
}

.et-site-header__logo-link:focus-visible {
	outline: 2px solid #fde047;
}

.et-site-header__logo-wrap {
	display: inline-block;
	width: 112px;
}

.et-site-header__logo {
	display: block;
	width: 100%;
	height: auto;
}

.et-site-header--old {
	background: #000;
	border-bottom-color: #343a40;
	color: #fff;
}

.et-site-header--old .et-site-header__logo-wrap {
	width: 112px;
}

.et-site-header--old .et-mobile-category-nav__toggle {
	color: #fff;
}

.et-top-level-nav {
	display: none;
	background: #fff;
	font-family: "Moderat", Arial, sans-serif;
	position: relative;
	z-index: 20;
}

.et-top-level-nav--old {
	background: #000;
	border-top: 1px solid #343a40;
}

.et-mobile-category-nav {
	display: block;
	background: #fff;
	font-family: "Moderat", Arial, sans-serif;
	position: relative;
	z-index: 20;
}

.et-top-level-nav__inner {
	max-width: 1536px;
	margin: 0 auto;
	padding: 0 32px;
}

.et-top-level-nav__list {
	display: flex;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.et-top-level-nav__item {
	margin: 0;
	padding: 0 16px;
}

.et-top-level-nav__link {
	display: flex;
	align-items: center;
	padding: 12px 0;
	color: var(--theme-text-color, #111827);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
	outline-offset: 2px;
	white-space: nowrap;
	cursor: pointer;
}

.et-top-level-nav__link:hover,
.et-top-level-nav__link:focus-visible {
	color: var(--theme-palette-color-1, #2563eb);
}

.et-top-level-nav__link:focus-visible {
	outline: 2px solid #fde047;
}

.et-top-level-nav--old .et-top-level-nav__link {
	color: #fff;
}

.et-top-level-nav--old .et-top-level-nav__link:hover,
.et-top-level-nav--old .et-top-level-nav__link:focus-visible {
	color: #0071ff;
}

.et-mobile-category-nav__toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	color: var(--theme-text-color, #111827);
	cursor: pointer;
	position: absolute;
	top: 50%;
	left: 16px;
	transform: translateY(-50%);
}

.et-mobile-category-nav__toggle:hover,
.et-mobile-category-nav__toggle:focus-visible {
	color: var(--theme-palette-color-1, #2563eb);
}

.et-mobile-category-nav__toggle:focus-visible {
	outline: 2px solid #fde047;
	outline-offset: 2px;
}

.et-mobile-category-nav__icon {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 22px;
	height: 22px;
}

.et-mobile-category-nav__icon span {
	display: block;
	width: 100%;
	height: 2px;
	background: currentColor;
	transition: transform 180ms ease, opacity 180ms ease;
}

.et-mobile-category-nav__toggle.is-open .et-mobile-category-nav__icon span:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.et-mobile-category-nav__toggle.is-open .et-mobile-category-nav__icon span:nth-child(2) {
	opacity: 0;
}

.et-mobile-category-nav__toggle.is-open .et-mobile-category-nav__icon span:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.et-mobile-category-nav__panel {
	display: none;
	border-top: 1px solid #e5e7eb;
	border-bottom: 1px solid #e5e7eb;
}

.et-mobile-category-nav.is-open .et-mobile-category-nav__panel {
	display: block;
}

.et-mobile-category-nav__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.et-mobile-category-nav__item {
	margin: 0;
	padding: 0;
}

.et-mobile-category-nav__link {
	display: flex;
	align-items: center;
	min-height: 48px;
	padding: 13px 16px;
	border-bottom: 1px solid #f3f4f6;
	color: var(--theme-text-color, #111827);
	font-size: 14px;
	font-weight: 500;
	line-height: 20px;
	text-decoration: none;
}

.et-mobile-category-nav__link:hover,
.et-mobile-category-nav__link:focus-visible {
	color: var(--theme-palette-color-1, #2563eb);
}

.et-mobile-category-nav__link:focus-visible {
	outline: 2px solid #fde047;
	outline-offset: -2px;
}

.cargo-module {
	--et-primary: #0071ff;
	max-width: 1280px;
	margin: 0 auto;
	padding: 1rem;
	color: #272833;
	font-family: "Moderat", Arial, sans-serif;
	line-height: 1.5;
}

.cargo-blog {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.cargo-blog__title {
	margin: 0;
	color: #272833;
	font-family: inherit;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
}

.cargo-blog__grid {
	width: 100%;
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.cargo-blog-card {
	width: 100%;
	display: flex;
	flex-direction: column;
	min-width: 0;
	margin: 0;
	padding: 0;
}

.cargo-blog-card__image-link {
	display: block;
	aspect-ratio: 456 / 280;
	overflow: hidden;
	background: #eef2f5;
	color: inherit;
	text-decoration: none;
}

.cargo-blog-card__image,
.cargo-blog-card__image-placeholder {
	display: block;
	width: 100%;
}

.cargo-blog-card__image {
	height: 100%;
	object-fit: cover;
}

.cargo-blog-card__image-placeholder {
	height: 100%;
	background:
		linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0)),
		#eef2f5;
}

.cargo-blog-card__content {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 1rem;
	color: inherit;
	text-decoration: none;
}

.cargo-blog-card__title {
	margin: 0;
	color: #272833;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
}

.cargo-blog-card__content:hover .cargo-blog-card__title,
.cargo-blog-card__content:focus-visible .cargo-blog-card__title {
	color: var(--et-primary);
}

.cargo-blog-card__body {
	margin: 0;
	color: #272833;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

.cargo-blog-card__read-more {
	color: #272833;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

.cargo-blog-card__read-more span {
	display: inline-block;
	border-bottom: 2px solid var(--et-primary);
}

.cargo-blog-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	padding: 1rem;
}

.cargo-blog-card__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2rem;
	margin-right: 0.5rem;
	margin-bottom: 0.5rem;
	padding: 0.25rem 1rem;
	border: 1px solid var(--et-primary);
	border-radius: 9999px;
	color: var(--et-primary);
	font-size: 0.875rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.cargo-blog-card__tag:hover,
.cargo-blog-card__tag:focus-visible {
	background: var(--et-primary);
	color: #fff;
}

.cargo-blog-card__image-link:focus-visible,
.cargo-blog-card__content:focus-visible,
.cargo-blog-card__tag:focus-visible {
	outline: 2px solid #fde047;
	outline-offset: 3px;
}

.cargo-blog__pagination {
	display: flex;
	justify-content: center;
	width: 100%;
	margin-top: 1.5rem;
	text-align: center;
}

.cargo-blog__pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.cargo-blog__pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	min-height: 36px;
	padding: 8px 10px;
	color: #272833;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
}

.cargo-blog__pagination .page-numbers.current {
	color: var(--et-primary);
	font-weight: 700;
}

.cargo-blog__pagination :is(.prev, .next) {
	min-width: 112px;
	padding: 10px 24px;
	border-radius: 4px;
	background: var(--et-primary);
	color: #fff;
}

.cargo-blog__pagination .prev:not(a) {
	background: #000;
	opacity: 0.5;
}

.cargo-blog__empty {
	margin: 0;
	color: #272833;
	font-size: 1rem;
	line-height: 1.5;
}

.cargo-blog--single {
	align-items: center;
	gap: 4rem;
}

.cargo-blog-post {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	width: 100%;
	max-width: 90ch;
	color: #272833;
	font-size: 1.125rem;
	line-height: 2rem;
}

.cargo-blog-post__back {
	color: #272833;
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
}

.cargo-blog-post__back:hover,
.cargo-blog-post__back:focus-visible {
	color: var(--et-primary);
}

.cargo-blog-post__title {
	margin: 0;
	color: #272833;
	font-family: inherit;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.5;
	letter-spacing: 0;
}

.cargo-blog-post__featured {
	width: 100%;
	max-width: 456px;
}

.cargo-blog-post__image,
.cargo-blog-post__image-placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 456 / 280;
}

.cargo-blog-post__image {
	height: 100%;
	object-fit: cover;
}

.cargo-blog-post__image-placeholder {
	background:
		linear-gradient(135deg, rgba(17, 24, 39, 0.08), rgba(17, 24, 39, 0)),
		#eef2f5;
}

.cargo-blog__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.cargo-blog__tag,
.cargo-blog--single .cargo-blog-card__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 0.25rem 0.5rem;
	border: 1px solid #424242;
	border-radius: 0;
	background: #424242;
	color: #fff;
	font-size: 0.75rem;
	font-weight: 400;
	line-height: 1.5;
	text-decoration: none;
}

.cargo-blog__tag:hover,
.cargo-blog__tag:focus-visible,
.cargo-blog--single .cargo-blog-card__tag:hover,
.cargo-blog--single .cargo-blog-card__tag:focus-visible {
	border-color: #232323;
	background: #232323;
	color: #fff;
}

.cargo-blog-post__body {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
	color: #272833;
	font-size: 1rem;
	line-height: 2rem;
}

.cargo-blog-post__body > * {
	margin-top: 0;
	margin-bottom: 0;
}

.cargo-blog-post__body li {
	margin-bottom: 0.5rem !important;
}

.cargo-blog-post__body h1,
.cargo-blog-post__body h2,
.cargo-blog-post__body h3,
.cargo-blog-post__body h4,
.cargo-blog-post__body h5 {
	color: #272833;
	font-family: inherit;
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 0;
}

.cargo-blog-post__body h1 {
	font-size: 2rem !important;
}

.cargo-blog-post__body h2 {
	font-size: 1.75rem !important;
}

.cargo-blog-post__body h3 {
	font-size: 1.5rem !important;
}

.cargo-blog-post__body h4 {
	font-size: 1.25rem !important;
}

.cargo-blog-post__body h5 {
	font-size: 1.125rem !important;
}

.cargo-blog-post__body a:not([style*="background-color"]) {
	background: none !important;
	color: #000 !important;
	font-family: "Moderat", Arial, sans-serif !important;
	text-decoration: underline !important;
}

.cargo-blog-post__body a:not([style*="background-color"]):hover,
.cargo-blog-post__body a:not([style*="background-color"]):focus-visible {
	color: var(--et-primary) !important;
}

.cargo-blog-post__body > a[style*="background-color"],
.cargo-blog-post__body > p > a[style*="background-color"] {
	display: flex !important;
	align-items: center;
	justify-content: center;
	align-self: center;
	width: 50% !important;
	min-width: 280px;
	max-width: 100%;
	margin-right: auto !important;
	margin-left: auto !important;
	line-height: 1.5 !important;
	text-decoration: none !important;
}

.cargo-blog-post__body > p:has(> a[style*="background-color"]) {
	width: 100%;
	text-align: center;
}

.cargo-blog-post__body ul,
.cargo-blog-post__body ol {
	display: block;
	margin-left: 0;
	margin-right: 0;
	padding-left: 40px;
}

.cargo-blog-post__body ul {
	list-style-type: disc;
}

.cargo-blog-post__body ol {
	list-style-type: decimal;
}

.cargo-blog-post__body img {
	display: block;
	max-width: 100%;
	height: auto;
}

.cargo-blog-post__body figure {
	width: 50%;
	margin-right: auto;
	margin-left: auto;
}

.cargo-blog-post__body table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 0.875rem;
	line-height: 1.5;
}

.cargo-blog-post__body th,
.cargo-blog-post__body td {
	padding: 10px 5px;
	border: 1px solid #000;
	vertical-align: top;
}

.cargo-blog-post__body .pub-date {
	width: 200px;
	padding-bottom: 5px;
	border-bottom: 1px solid #000;
	font-weight: 700;
}

.cargo-blog-post__author {
	margin: 0;
	color: #272833;
	font-size: 1rem;
	font-weight: 600;
	line-height: 1.5;
}

.cargo-blog-related {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 100%;
}

.cargo-blog--single .cargo-blog-card__tags {
	gap: 0.5rem;
}

.et-site-footer {
	margin-top: 2rem;
	padding: 2rem 1rem;
	background: #000;
	color: #919ba2;
	font-family: "Moderat", Arial, sans-serif;
	text-align: center;
}

.et-site-footer__inner {
	max-width: 1280px;
	margin: 0 auto;
}

.et-site-footer__legal {
	max-width: 960px;
	margin: 0 auto;
}

.et-site-footer__legal p {
	margin: 0 0 1rem;
	color: #919ba2;
	font-size: 0.625rem;
	line-height: 1.25;
	letter-spacing: 0;
}

.et-site-footer__legal p:last-child {
	margin-bottom: 0;
}

@media only screen and (min-width: 576px) {
	.cargo-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1.5rem;
	}
}

@media only screen and (min-width: 767px) {
	.cargo-module {
		padding: 2rem;
	}
}

@media only screen and (max-width: 768px) {
	.cargo-blog-post__body figure {
		width: 100%;
	}
}

@media (min-width: 1024px) {
	.et-site-header {
		min-height: 120px;
		padding: 32px 64px;
	}

	.et-site-header__logo-wrap {
		width: 128px;
	}

	.et-site-header--old .et-site-header__logo-wrap {
		width: 132px;
	}

	.et-top-level-nav {
		display: block;
	}

	.et-mobile-category-nav {
		display: none;
	}

	.et-mobile-category-nav__toggle {
		display: none;
	}

	.cargo-blog__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.et-site-footer {
		margin-top: 4rem;
		padding-right: 2rem;
		padding-left: 2rem;
	}

	.et-site-footer__legal p {
		font-size: 0.75rem;
	}
}

@media only screen and (min-width: 1280px) {
	.et-top-level-nav__item {
		padding-right: 24px;
		padding-left: 24px;
	}

	.cargo-module {
		padding: 2rem;
	}

	.cargo-blog-card__content {
		padding: 1.5rem;
	}
}
