/*
Theme Name: Buzzword
Theme URI: https://buzzword.hu
Description: Hello Elementor child theme. Article pages and the dynamic story list use the Elementor kit colors and typography.
Author: Buzzword Strategies
Template: hello-elementor
Version: 1.0.0
Text Domain: buzzword
*/

.bw-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.bw-stories {
	display: grid;
	grid-template-columns: minmax(0, 68fr) minmax(0, 32fr);
	gap: 28px;
	align-items: start;
}

.elementor a.bw-story,
.bw-story {
	display: grid;
	grid-template-columns: 46% minmax(0, 1fr);
	gap: 0;
	align-items: stretch;
	margin: 0 0 21px;
	background: #fff;
	box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
	color: inherit;
	text-decoration: none;
}

.bw-story-media,
.bw-featured-media,
.bw-latest-media {
	position: relative;
	display: block;
	overflow: hidden;
}

.bw-story-media::after,
.bw-featured-media::after,
.bw-latest-media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: #000;
	opacity: 0;
	transition: opacity .2s ease;
	pointer-events: none;
}

.bw-story:hover .bw-story-media::after,
.bw-featured-item:hover .bw-featured-media::after,
.bw-latest-item:hover .bw-latest-media::after {
	opacity: .4;
}

.bw-featured-media img,
.bw-latest-media img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.bw-story-media {
	min-height: 160px;
}

.bw-story-media img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bw-story-body {
	position: relative;
	padding: 12px 18px 20px 26px;
	background: #fff;
	transition: background-color .2s ease;
}

.bw-story:hover .bw-story-body {
	background: #e6e6e6;
}

.bw-story-head {
	display: block;
	padding-right: 60px;
}

.bw-story-title,
.bw-featured-label,
.bw-featured-title,
.bw-article-title,
.bw-article-content h2,
.bw-article-content h3 {
	color: var(--e-global-color-primary);
}

.bw-story-title {
	margin: 0;
	min-width: 0;
	color: #303333;
	font-family: var(--e-global-typography-text-font-family), Raleway, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
}

.bw-story-title a,
.bw-featured-title a,
.bw-latest-title a {
	color: inherit;
	text-decoration: none;
}

.bw-story:hover .bw-story-title,
.bw-featured-item:hover .bw-featured-title a,
.bw-latest-item:hover .bw-latest-title a {
	text-decoration: underline;
}

.bw-story-date {
	position: absolute;
	top: 0;
	right: 0;
	margin: 0;
	padding: 6px 8px;
	background: #878787;
	color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 9px;
	font-weight: 400;
	line-height: 1.2;
	white-space: nowrap;
}

.bw-story-excerpt {
	margin: 5px 0 0;
	color: #606666;
	font-family: var(--e-global-typography-text-font-family), Raleway, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.bw-featured-label {
	margin: 0 0 8px;
	font-family: var(--e-global-typography-bwh3-font-family), Raleway, sans-serif;
	font-size: var(--e-global-typography-bwh3-font-size);
	font-weight: var(--e-global-typography-bwh3-font-weight);
	line-height: var(--e-global-typography-bwh3-line-height);
}

.bw-featured-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 12px 0;
	border-top: 1px solid var(--e-global-color-bwline);
}

.bw-featured-date {
	margin: 0 0 4px;
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-secondary-font-family), Raleway, sans-serif;
	font-size: var(--e-global-typography-secondary-font-size);
	line-height: var(--e-global-typography-secondary-line-height);
}

.bw-featured-title {
	margin: 0;
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-bwlist-font-family), Raleway, sans-serif;
	font-size: var(--e-global-typography-bwlist-font-size);
	font-weight: var(--e-global-typography-bwlist-font-weight);
	line-height: var(--e-global-typography-bwlist-line-height);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.bw-pager {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 6px;
}

.bw-pager a,
.bw-pager span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-sizing: border-box;
	min-width: 36px;
	height: 36px;
	padding: 0 8px;
	background: #fff;
	border: 1px solid #e3e3e3;
	color: #8a8a8a;
	font-family: var(--e-global-typography-secondary-font-family), Raleway, sans-serif;
	font-size: 14px;
	line-height: 1;
	text-decoration: none;
}

.bw-pager a:hover {
	border-color: #303333;
	color: #303333;
}

.bw-pager .current {
	background: #111;
	border-color: #111;
	color: #fff;
}

.bw-pager .dots {
	min-width: 24px;
	padding: 0;
	background: transparent;
	border-color: transparent;
}

.bw-article.site-main {
	max-width: 1080px;
	margin: 0 auto;
	padding: 16px 20px 72px;
}

.bw-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 68fr) minmax(0, 32fr);
	gap: 36px;
	align-items: start;
}

.bw-article-meta,
.bw-latest-date {
	color: var(--e-global-color-secondary);
	font-family: var(--e-global-typography-secondary-font-family), Raleway, sans-serif;
	font-size: var(--e-global-typography-secondary-font-size);
	font-weight: var(--e-global-typography-secondary-font-weight);
	line-height: var(--e-global-typography-secondary-line-height);
}

.bw-article-meta {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 10px;
}

.bw-article-title {
	margin: 22px 0 16px;
	font-family: var(--e-global-typography-primary-font-family), Raleway, sans-serif;
	font-size: var(--e-global-typography-primary-font-size);
	font-weight: var(--e-global-typography-primary-font-weight);
	line-height: var(--e-global-typography-primary-line-height);
}

.bw-article-cover {
	margin: 0;
}

.bw-article-cover img,
.bw-article-content img {
	display: block;
	max-width: 100%;
	height: auto;
}

.bw-article-content {
	color: var(--e-global-color-text);
	font-family: var(--e-global-typography-text-font-family), Raleway, sans-serif;
	font-size: var(--e-global-typography-text-font-size);
	font-weight: var(--e-global-typography-text-font-weight);
	line-height: var(--e-global-typography-text-line-height);
}

.bw-article-content > :first-child {
	margin-top: 0;
}

.bw-article-content p,
.bw-article-content ul,
.bw-article-content ol,
.bw-article-content blockquote {
	margin: 0 0 1em;
}

.bw-article-content h2,
.bw-article-content h3 {
	margin: 1.6em 0 .5em;
}

.bw-article-content h2 {
	font-family: var(--e-global-typography-bwh2-font-family), Raleway, sans-serif;
	font-size: var(--e-global-typography-bwh2-font-size);
	font-weight: var(--e-global-typography-bwh2-font-weight);
	line-height: var(--e-global-typography-bwh2-line-height);
}

.bw-article-content h3 {
	font-family: var(--e-global-typography-bwh3-font-family), Raleway, sans-serif;
	font-size: var(--e-global-typography-bwh3-font-size);
	font-weight: var(--e-global-typography-bwh3-font-weight);
	line-height: var(--e-global-typography-bwh3-line-height);
}

.bw-article-content a {
	color: var(--e-global-color-primary);
	text-decoration: underline;
}

.bw-article-content ul,
.bw-article-content ol {
	padding-left: 1.2em;
}

.bw-article-content blockquote {
	padding-left: 16px;
	border-left: 2px solid var(--e-global-color-accent);
	color: var(--e-global-color-primary);
}

.bw-article-content iframe {
	max-width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
}

.bw-latest-label {
	margin: 0 0 4px;
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-secondary-font-family), Raleway, sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.4;
}

.bw-latest-item {
	display: grid;
	grid-template-columns: 72px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	padding: 12px 0;
	border-top: 1px solid var(--e-global-color-bwline);
}

.bw-latest-date {
	margin: 0 0 2px;
}

.bw-latest-title {
	margin: 0;
	color: var(--e-global-color-primary);
	font-family: var(--e-global-typography-bwlist-font-family), Raleway, sans-serif;
	font-size: var(--e-global-typography-bwlist-font-size);
	font-weight: var(--e-global-typography-bwlist-font-weight);
	line-height: var(--e-global-typography-bwlist-line-height);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 767px) {
	.bw-stories,
	.bw-story,
	.bw-article-layout {
		grid-template-columns: 1fr;
	}

	.bw-story-media img {
		position: static;
		height: auto;
		aspect-ratio: 16 / 9;
	}

	.bw-story-head {
		padding-right: 0;
	}

	.bw-story-date {
		position: static;
		display: inline-block;
		margin: 0 0 8px;
	}
}

.elementor .elementor-element-b478de1 > a.e-con {
	color: inherit;
	text-decoration: none;
}

.elementor-element-b478de1 > .e-con {
	position: relative;
	overflow: hidden;
}

.elementor-element-b478de1 > .e-con::before {
	z-index: 1;
}

.elementor-element-b478de1 > .e-con::after {
	content: "";
	position: absolute;
	inset: -16%;
	background-image: inherit;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	z-index: 0;
	transition: inset 1s cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: none;
}

.elementor-element-b478de1 > .e-con:hover::after {
	inset: 0;
}

.elementor-element-b478de1 > .e-con > .elementor-element {
	position: relative;
	z-index: 2;
}

.elementor-element-b478de1 > .e-con .elementor-widget-text-editor {
	max-height: 42px;
	overflow: hidden;
	transition: max-height 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.elementor-element-b478de1 > .e-con:hover .elementor-widget-text-editor {
	max-height: 100px;
}

.bw-tag-archive {
	max-width: 760px;
	margin: 0 auto;
	padding: 28px 20px 72px;
}

.bw-tag-title {
	margin: 0 0 24px;
	color: #303333;
	font-family: Raleway, Arial, Helvetica, sans-serif;
	font-size: 28px;
	font-weight: 500;
	line-height: 1.2;
	text-transform: capitalize;
}

.bw-tags {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px;
	margin: 28px 0 0;
}

.bw-tags a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 0 16px;
	background: #f8f7f7;
	color: #949494;
	font-family: Raleway, Arial, Helvetica, sans-serif;
	font-size: 13px;
	font-weight: 400;
	line-height: 1.2;
	text-transform: capitalize;
	text-decoration: none;
}

.bw-tags a:hover,
.bw-tags a:focus {
	color: #303333;
	text-decoration: none;
}

.bw-share {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin: 36px 0 12px;
}

.bw-share a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 39px;
	padding: 8px 12px;
	border: 1px solid #2e2e2e;
	border-radius: 6px;
	background: #fff;
	color: #2e2e2e;
	font-family: Raleway, Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color .2s ease;
}

.bw-share a svg {
	display: block;
	fill: currentColor;
}

.bw-share a span {
	padding-left: 8px;
	border-left: 1px solid #2e2e2e;
}

.bw-share a:hover,
.bw-share a:focus {
	background: #f3f3f3;
	color: #2e2e2e;
	text-decoration: none;
}

@media (max-width: 767px) {
	.bw-share a {
		padding: 8px 10px;
		font-size: 15px;
	}
}
