/*
Theme Name: FeedFuss
Theme URI: https://feedfuss.com/
Author: FeedFuss
Author URI: https://feedfuss.com/
Description: A bold old-internet viral blog theme for FeedFuss, built with normal WordPress templates and no page builder.
Version: 1.0.2
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: feedfuss
Tags: blog, news, two-columns, right-sidebar, custom-menu, featured-images
*/

:root {
	--ff-black: #050505;
	--ff-lime: #B8FF3D;
	--ff-red: #FF2A2A;
	--ff-white: #FFFFFF;
	--ff-border: #D9D9D9;
	--ff-paper: #F5F5F0;
	--ff-ink: #111111;
	--ff-muted: #666666;
	--ff-shadow: 6px 6px 0 #050505;
}

* {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background: var(--ff-paper);
	color: var(--ff-ink);
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.55;
	overflow-x: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--ff-red);
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

body,
.ff-site-header,
.ff-site-main,
.ff-site-footer,
.ff-lime-divider,
.ff-ticker,
.ff-wrap,
.ff-layout,
.ff-primary-col,
.ff-section,
.ff-section-head,
.ff-archive-header,
.ff-featured-grid,
.ff-card-grid,
.ff-story-list,
.ff-card,
.ff-story-row,
.ff-single-box,
.ff-sidebar,
.ff-sidebar-box,
.ff-empty-box {
	max-width: 100%;
}

.ff-layout > *,
.ff-featured-grid > *,
.ff-card-grid > *,
.ff-story-list > *,
.ff-sidebar > *,
.ff-footer-grid > * {
	min-width: 0;
	max-width: 100%;
}

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

.screen-reader-text:focus {
	background: var(--ff-lime);
	clip: auto;
	color: var(--ff-black);
	display: block;
	font-weight: 900;
	height: auto;
	left: 1rem;
	padding: 0.7rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
}

.ff-wrap {
	width: min(1180px, calc(100% - 32px));
	margin: 0 auto;
}

.ff-site-header {
	background: var(--ff-black);
	color: var(--ff-white);
	border-bottom: 1px solid #222222;
}

.ff-brand-row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.45rem 0 1rem;
}

.ff-logo {
	display: inline-flex;
	align-items: center;
	color: var(--ff-white);
	font-family: Impact, Arial Black, Arial, sans-serif;
	font-size: clamp(2.3rem, 6vw, 5rem);
	font-weight: 900;
	line-height: 0.9;
	text-transform: uppercase;
}

.ff-logo strong {
	color: var(--ff-lime);
	font-weight: inherit;
}

.ff-logo:hover,
.ff-logo:focus,
.ff-footer-logo:hover,
.ff-footer-logo:focus {
	color: var(--ff-white);
}

.ff-tagline {
	margin: 0 0 0.35rem;
	color: var(--ff-lime);
	font-family: Georgia, Times, serif;
	font-size: clamp(1rem, 2vw, 1.4rem);
	font-style: italic;
	font-weight: 700;
	text-align: right;
}

.ff-main-nav {
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0 0 1rem;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.ff-menu {
	display: flex;
	gap: 0.45rem;
	align-items: center;
	width: max-content;
	max-width: none;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.ff-menu a {
	display: block;
	padding: 0.45rem 0.7rem;
	border: 1px solid #343434;
	background: #111111;
	color: var(--ff-white);
	font-size: 0.82rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ff-menu a:hover,
.ff-menu a:focus {
	background: var(--ff-lime);
	color: var(--ff-black);
}

.ff-lime-divider {
	height: 8px;
	background: var(--ff-lime);
	border-bottom: 3px solid var(--ff-black);
}

.ff-site-main {
	padding-bottom: 3rem;
}

.ff-ticker {
	background: var(--ff-white);
	border-bottom: 3px solid var(--ff-black);
}

.ff-ticker__inner {
	display: flex;
	align-items: stretch;
	max-width: 100%;
	min-height: 50px;
}

.ff-ticker__label {
	display: flex;
	align-items: center;
	padding: 0 1rem;
	background: var(--ff-red);
	color: var(--ff-white);
	font-family: Arial Black, Arial, sans-serif;
	font-size: 0.9rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ff-ticker__items {
	display: flex;
	align-items: center;
	gap: 1rem;
	min-width: 0;
	max-width: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 0.55rem 0 0.55rem 1rem;
	font-size: 0.92rem;
	font-weight: 900;
	text-transform: uppercase;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

.ff-ticker__items a {
	position: relative;
	flex: 0 0 auto;
}

.ff-ticker__items a::after {
	content: "/";
	margin-left: 1rem;
	color: var(--ff-red);
}

.ff-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 1.4rem;
	align-items: start;
	padding-top: 1.4rem;
}

.ff-primary-col {
	min-width: 0;
}

.ff-section {
	margin-bottom: 1.55rem;
}

.ff-section-head,
.ff-archive-header {
	margin-bottom: 0.9rem;
	padding: 0.85rem 1rem;
	background: var(--ff-white);
	border: 3px solid var(--ff-black);
	box-shadow: 4px 4px 0 var(--ff-lime);
}

.ff-section-head--row {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 1rem;
}

.ff-section-head span,
.ff-archive-header span {
	display: inline-block;
	margin-bottom: 0.2rem;
	color: var(--ff-red);
	font-size: 0.76rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ff-section-head h1,
.ff-section-head h2,
.ff-archive-header h1 {
	margin: 0;
	font-family: Arial Black, Arial, sans-serif;
	font-size: clamp(1.65rem, 4vw, 3.15rem);
	line-height: 0.98;
	overflow-wrap: anywhere;
	text-transform: uppercase;
}

.ff-section-head h2 {
	font-size: clamp(1.25rem, 3vw, 2rem);
}

.ff-archive-description {
	margin-top: 0.55rem;
	color: var(--ff-muted);
	font-weight: 700;
}

.ff-featured-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.ff-card-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1rem;
}

.ff-card-grid--three {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ff-card,
.ff-story-row,
.ff-single-box,
.ff-sidebar-box,
.ff-empty-box {
	background: var(--ff-white);
	border: 3px solid var(--ff-black);
}

.ff-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	box-shadow: 4px 4px 0 var(--ff-black);
}

.ff-card--featured {
	box-shadow: var(--ff-shadow);
}

.ff-card__image,
.ff-story-row__image {
	position: relative;
	display: block;
	max-width: 100%;
	overflow: hidden;
	background: var(--ff-black);
	border-bottom: 3px solid var(--ff-black);
}

.ff-card__image {
	aspect-ratio: 16 / 10;
}

.ff-story-row__image {
	width: 168px;
	min-height: 132px;
	border-right: 3px solid var(--ff-black);
	border-bottom: 0;
}

.ff-card__thumb,
.ff-story-row__thumb,
.ff-single-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ff-card__body {
	padding: 0.9rem;
}

.ff-kicker {
	display: inline-flex;
	width: fit-content;
	margin-bottom: 0.45rem;
	padding: 0.18rem 0.42rem;
	background: var(--ff-lime);
	color: var(--ff-black);
	border: 2px solid var(--ff-black);
	font-size: 0.72rem;
	font-weight: 900;
	line-height: 1.1;
	text-transform: uppercase;
}

.ff-kicker:hover,
.ff-kicker:focus {
	background: var(--ff-red);
	color: var(--ff-white);
}

.ff-card__title,
.ff-story-row h3 {
	margin: 0 0 0.45rem;
	font-family: Arial Black, Arial, sans-serif;
	font-size: 1.23rem;
	line-height: 1.05;
	overflow-wrap: anywhere;
	text-transform: uppercase;
}

.ff-card--featured .ff-card__title {
	font-size: clamp(1.3rem, 2vw, 1.7rem);
}

.ff-card__meta {
	margin-bottom: 0.45rem;
	color: var(--ff-muted);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ff-card p,
.ff-story-row p {
	margin: 0;
	color: #333333;
	font-weight: 700;
}

.ff-fallback-image {
	position: relative;
	display: block;
	max-width: 100%;
	width: 100%;
	height: 100%;
	min-height: 100%;
	background:
		linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		linear-gradient(0deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
		var(--ff-black);
	background-size: 18px 18px;
}

.ff-fallback-image__label {
	position: absolute;
	left: 0.8rem;
	top: 0.8rem;
	z-index: 2;
	display: inline-block;
	max-width: calc(100% - 1.6rem);
	padding: 0.25rem 0.45rem;
	background: var(--ff-red);
	color: var(--ff-white);
	border: 2px solid var(--ff-white);
	font-family: Arial Black, Arial, sans-serif;
	font-size: 0.85rem;
	line-height: 1;
	text-transform: uppercase;
}

.ff-fallback-image__line,
.ff-fallback-image__dot {
	position: absolute;
	background: var(--ff-lime);
	border: 2px solid var(--ff-white);
}

.ff-fallback-image__line {
	height: 13px;
	transform: rotate(-8deg);
}

.ff-fallback-image__line--one {
	left: 12%;
	right: 14%;
	bottom: 30%;
}

.ff-fallback-image__line--two {
	left: 24%;
	right: 8%;
	bottom: 18%;
	background: var(--ff-red);
}

.ff-fallback-image__dot {
	width: 42px;
	height: 42px;
	border-radius: 50%;
}

.ff-fallback-image__dot--one {
	right: 14%;
	top: 22%;
}

.ff-fallback-image__dot--two {
	left: 13%;
	bottom: 12%;
	background: var(--ff-red);
}

.ff-story-list {
	display: grid;
	gap: 0.9rem;
}

.ff-story-row {
	display: grid;
	grid-template-columns: 168px minmax(0, 1fr);
	min-height: 132px;
}

.ff-story-row__content {
	padding: 0.8rem 0.9rem;
}

.ff-sidebar {
	position: sticky;
	top: 1rem;
	display: grid;
	gap: 1rem;
}

.ff-sidebar-box {
	padding: 0.85rem;
	box-shadow: 4px 4px 0 var(--ff-lime);
}

.ff-sidebar-title {
	margin: -0.85rem -0.85rem 0.75rem;
	padding: 0.55rem 0.75rem;
	background: var(--ff-black);
	color: var(--ff-lime);
	font-family: Arial Black, Arial, sans-serif;
	font-size: 1rem;
	text-transform: uppercase;
}

.ff-sidebar-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ff-sidebar-list li {
	border-top: 1px solid var(--ff-border);
}

.ff-sidebar-list li:first-child {
	border-top: 0;
}

.ff-sidebar-list a {
	display: block;
	padding: 0.62rem 0;
	font-weight: 900;
	line-height: 1.2;
}

.ff-muted {
	padding: 0.62rem 0;
	color: var(--ff-muted);
	font-weight: 700;
}

.ff-tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
}

.ff-tag-cloud a,
.ff-single-tags a {
	display: inline-flex;
	padding: 0.2rem 0.45rem;
	background: var(--ff-white);
	border: 2px solid var(--ff-black);
	font-size: 0.78rem;
	font-weight: 900;
	text-transform: uppercase;
}

.ff-tag-cloud a:hover,
.ff-tag-cloud a:focus,
.ff-single-tags a:hover,
.ff-single-tags a:focus {
	background: var(--ff-lime);
	color: var(--ff-black);
}

.ff-single-box {
	padding: clamp(1rem, 3vw, 1.6rem);
	box-shadow: 5px 5px 0 var(--ff-black);
}

.ff-single-title {
	margin: 0.2rem 0 0.9rem;
	font-family: Arial Black, Arial, sans-serif;
	font-size: clamp(2rem, 5vw, 4.35rem);
	line-height: 0.98;
	overflow-wrap: anywhere;
	text-transform: uppercase;
}

.ff-single-image {
	margin: 1rem 0 1.4rem;
	max-width: 100%;
	border: 3px solid var(--ff-black);
	overflow: hidden;
}

.ff-content {
	font-size: 1.06rem;
	max-width: 100%;
	overflow-wrap: break-word;
}

.ff-content a {
	color: #0059C9;
	font-weight: 900;
	text-decoration: underline;
}

.ff-content h2,
.ff-content h3,
.ff-content h4 {
	font-family: Arial Black, Arial, sans-serif;
	line-height: 1.05;
	text-transform: uppercase;
}

.ff-content blockquote {
	margin: 1.2rem 0;
	padding: 0.9rem 1rem;
	border-left: 8px solid var(--ff-red);
	background: #F7F7F7;
	font-family: Georgia, Times, serif;
	font-size: 1.15rem;
	font-weight: 700;
}

.ff-content table {
	width: 100%;
	max-width: 100%;
	border-collapse: collapse;
}

.ff-content iframe,
.ff-content embed,
.ff-content object,
.ff-content video {
	max-width: 100%;
}

.ff-content th,
.ff-content td {
	padding: 0.5rem;
	border: 2px solid var(--ff-black);
}

.ff-content th {
	background: var(--ff-lime);
}

.ff-single-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
	align-items: center;
	margin-top: 1.4rem;
	padding-top: 1rem;
	border-top: 3px solid var(--ff-black);
}

.ff-single-tags span {
	font-weight: 900;
	text-transform: uppercase;
}

.ff-related {
	margin-top: 1.5rem;
}

.ff-empty-box {
	padding: 1rem;
	box-shadow: 4px 4px 0 var(--ff-lime);
}

.ff-empty-box--large {
	padding: clamp(1.3rem, 4vw, 2rem);
}

.ff-empty-box h1,
.ff-empty-box h2 {
	margin: 0 0 0.65rem;
	font-family: Arial Black, Arial, sans-serif;
	line-height: 1;
	text-transform: uppercase;
}

.ff-empty-box p {
	margin: 0 0 1rem;
	font-weight: 700;
}

.search-form {
	display: flex;
	gap: 0.4rem;
}

.search-field {
	min-width: 0;
	flex: 1;
	padding: 0.65rem 0.75rem;
	border: 3px solid var(--ff-black);
	font: inherit;
	font-weight: 700;
}

.search-submit,
.ff-content input[type="submit"],
.ff-content button {
	padding: 0.65rem 0.9rem;
	background: var(--ff-red);
	color: var(--ff-white);
	border: 3px solid var(--ff-black);
	font: inherit;
	font-weight: 900;
	text-transform: uppercase;
	cursor: pointer;
}

.search-submit:hover,
.search-submit:focus,
.ff-content input[type="submit"]:hover,
.ff-content input[type="submit"]:focus,
.ff-content button:hover,
.ff-content button:focus {
	background: var(--ff-lime);
	color: var(--ff-black);
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4rem;
	align-items: center;
	margin-top: 1.2rem;
}

.page-numbers {
	display: inline-flex;
	min-width: 2.4rem;
	justify-content: center;
	padding: 0.45rem 0.65rem;
	background: var(--ff-white);
	border: 3px solid var(--ff-black);
	font-weight: 900;
}

.page-numbers.current {
	background: var(--ff-lime);
}

.ff-site-footer {
	padding: 1.5rem 0;
	background: var(--ff-black);
	color: var(--ff-white);
	border-top: 8px solid var(--ff-lime);
}

.ff-footer-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	align-items: center;
}

.ff-footer-logo {
	display: inline-block;
	color: var(--ff-lime);
	font-family: Impact, Arial Black, Arial, sans-serif;
	font-size: 2rem;
	line-height: 1;
	text-transform: uppercase;
}

.ff-site-footer p,
.ff-footer-note {
	margin: 0.25rem 0 0;
	color: #DDDDDD;
	font-weight: 700;
}

.ff-footer-note {
	text-align: right;
}

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

.wp-caption-text,
.gallery-caption {
	color: var(--ff-muted);
	font-size: 0.9rem;
	font-weight: 700;
}

.alignleft {
	float: left;
	margin: 0 1rem 1rem 0;
}

.alignright {
	float: right;
	margin: 0 0 1rem 1rem;
}

.aligncenter {
	margin-left: auto;
	margin-right: auto;
}

.bypostauthor {
	outline: 2px solid var(--ff-lime);
}

@media (max-width: 980px) {
	.ff-layout {
		grid-template-columns: 1fr;
	}

	.ff-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}

@media (max-width: 1100px) {
	.ff-featured-grid,
	.ff-card-grid,
	.ff-card-grid--three {
		display: flex;
		grid-template-columns: none;
		gap: 1rem;
		max-width: 100%;
		overflow-x: auto;
		overflow-y: hidden;
		padding: 0 0.25rem 0.75rem 0;
		scroll-padding-inline: 0;
		scroll-snap-type: x mandatory;
		scrollbar-color: var(--ff-border) transparent;
		scrollbar-width: thin;
		-webkit-overflow-scrolling: touch;
		overscroll-behavior-x: contain;
	}

	.ff-featured-grid > .ff-card,
	.ff-card-grid > .ff-card {
		flex: 0 0 clamp(260px, 42vw, 380px);
		max-width: calc(100% - 12px);
		scroll-snap-align: start;
		scroll-snap-stop: always;
	}

	.ff-featured-grid::-webkit-scrollbar,
	.ff-card-grid::-webkit-scrollbar {
		height: 6px;
	}

	.ff-featured-grid::-webkit-scrollbar-track,
	.ff-card-grid::-webkit-scrollbar-track {
		background: transparent;
	}

	.ff-featured-grid::-webkit-scrollbar-thumb,
	.ff-card-grid::-webkit-scrollbar-thumb {
		background: var(--ff-border);
		border-radius: 999px;
	}
}

@media (max-width: 700px) {
	.ff-wrap {
		width: min(100% - 22px, 1180px);
	}

	.ff-brand-row {
		display: block;
		padding-top: 1.1rem;
	}

	.ff-tagline {
		margin-top: 0.3rem;
		text-align: left;
	}

	.ff-ticker__inner {
		display: block;
	}

	.ff-ticker__label {
		display: inline-flex;
		min-height: 38px;
	}

	.ff-ticker__items {
		padding: 0.6rem 0;
	}

	.ff-sidebar,
	.ff-footer-grid {
		grid-template-columns: 1fr;
	}

	.ff-featured-grid > .ff-card,
	.ff-card-grid > .ff-card {
		flex-basis: min(84%, 340px);
	}

	.ff-story-row {
		grid-template-columns: 1fr;
	}

	.ff-story-row__image {
		width: 100%;
		min-height: 190px;
		aspect-ratio: 16 / 9;
		border-right: 0;
		border-bottom: 3px solid var(--ff-black);
	}

	.ff-section-head,
	.ff-archive-header,
	.ff-card,
	.ff-story-row,
	.ff-single-box,
	.ff-sidebar-box,
	.ff-empty-box {
		box-shadow: none;
	}

	.ff-footer-note {
		text-align: left;
	}

	.search-form {
		display: grid;
	}
}
