:root {
	--bg-color: #121212;
	--text-color: #e0e0e0;
	--link-color: #90caf9;
	--link-hover: #64b5f6;
	--highlight-bg: #1e1e1e;
	--accent-color: #5390d9;
	--graffiti-color: #dd0c0c;
	--seinfeld-yellow: #fdca40;
	--glitch-color-1: #0ff;
	--glitch-color-2: #f0f;
}

@keyframes textGlitch {
	0%, 92%, 100% { 
		text-shadow: 
			1px 1px 0 #000,
			-1px -1px 0 #000,
			1px -1px 0 #000,
			-1px 1px 0 #000,
			0 1px 2px rgba(0,0,0,0.6);
		opacity: 1;
		color: var(--graffiti-color);
	}
	
	92.2% {
		text-shadow: 
			1px 1px 0 #000,
			-1px -1px 0 #000,
			1px -1px 0 #000,
			-1px 1px 0 #000,
			0 1px 2px rgba(0,0,0,0.6),
			1px 0 var(--glitch-color-1),
			-2px 0 var(--glitch-color-2);
		opacity: 0.98;
	}
	
	92.8% {
		text-shadow: 
			1px 1px 0 #000,
			-1px -1px 0 #000,
			1px -1px 0 #000,
			-1px 1px 0 #000,
			0 1px 2px rgba(0,0,0,0.6),
			-2px 0 var(--glitch-color-1),
			2px 0 var(--glitch-color-2);
		opacity: 0.9;
	}
	
	93.2% {
		text-shadow: 
			1px 1px 0 #000,
			-1px -1px 0 #000,
			1px -1px 0 #000,
			-1px 1px 0 #000,
			0 1px 2px rgba(0,0,0,0.6);
		opacity: 1;
	}
	
	94% {
		text-shadow: 
			1px 1px 0 #000,
			-1px -1px 0 #000,
			1px -1px 0 #000,
			-1px 1px 0 #000,
			0 1px 2px rgba(0,0,0,0.6),
			3px 0 var(--glitch-color-2),
			-3px 0 var(--glitch-color-1);
		opacity: 0.95;
		color: #ff1800;
	}
	
	95% {
		text-shadow: 
			1px 1px 0 #000,
			-1px -1px 0 #000,
			1px -1px 0 #000,
			-1px 1px 0 #000,
			0 1px 2px rgba(0,0,0,0.6),
			-3px 0 var(--glitch-color-1),
			3px 0 var(--glitch-color-2);
		opacity: 0.97;
		color: var(--graffiti-color);
	}
	
	96% {
		text-shadow: 
			1px 1px 0 #000,
			-1px -1px 0 #000,
			1px -1px 0 #000,
			-1px 1px 0 #000,
			0 1px 2px rgba(0,0,0,0.6),
			0 -2px var(--glitch-color-1),
			0 2px var(--glitch-color-2);
	}
	
	97%, 98.5% {
		text-shadow: 
			1px 1px 0 #000,
			-1px -1px 0 #000,
			1px -1px 0 #000,
			-1px 1px 0 #000,
			0 1px 2px rgba(0,0,0,0.6),
			1px -1px var(--glitch-color-1),
			-1px 1px var(--glitch-color-2);
		opacity: 0.99;
	}
}

body {
	background-color: var(--bg-color);
	color: var(--text-color);
	font-family: 'VT323', monospace !important;
}

body {
	position: relative;
}

.above-highlight {
	position: relative;
	z-index: 2;
}

.festivus-highlight {
	position: relative;
	display: inline-block;
	color: var(--graffiti-color);
	font-weight: bold;
	padding: 0 3px;
	z-index: 1;
	text-shadow: 
		1px 1px 0 #000,
		-1px -1px 0 #000,
		1px -1px 0 #000,
		-1px 1px 0 #000,
		0 1px 2px rgba(0,0,0,0.6);
	
	animation: textGlitch 8s infinite;
}

.festivus-highlight::before {
	content: "";
	position: absolute;
	left: -6px;
	right: -7px;
	top: 15%;
	height: 70%;
	background-color: var(--seinfeld-yellow);
	border-radius: 50% 60% 40% 55% / 60% 60% 60% 60%;
	
	transform: 
		rotate(-7deg)
		skew(-5deg, 0deg)
		scale(0.98, 0.95);
	
	z-index: -1;
	opacity: 1;
	
	background-image: 
		linear-gradient(100deg, 
			#ffc800 0%,
			var(--seinfeld-yellow) 40%,
			#ffce27 60%,
			#ffd44d 100%
		);
	
	box-shadow: 
		2px 2px 3px rgba(0, 0, 0, 0.15),
		inset 0 0 2px rgba(255, 255, 255, 0.3);
}

h1 {
	font-size: 3rem;
}

h2 {
	font-size: 2.7rem;
}

h3 {
	font-size: 1.5rem;
}

h4 {
	font-size: 1.4rem;
}

h5 {
	font-size: 1.3rem;
}

h6 {
	font-size: 1.1rem;
}

p {
	font-size: 2.3rem;
	line-height: 1.3;
	margin-bottom: 1rem;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

header, footer {
	margin: 3rem 0;
	text-align: center;
}

main {
	margin: 4rem 0;
}

.container a:link, .container a:visited {
	font-weight: bold;
	text-decoration: none;
	color: var(--text-color);
	border-bottom: 3px solid var(--graffiti-color);
	box-shadow: inset 0 -4px 0 var(--graffiti-color);
}

.container a:hover, .container a:active {
	font-weight: bold;
	text-decoration: none;
	color: var(--text-color);
	border-bottom: 3px solid var(--seinfeld-yellow);
	box-shadow: inset 0 -4px 0 var(--seinfeld-yellow);
	-moz-text-decoration-color: var(--seinfeld-yellow);
	text-decoration-color: var(--seinfeld-yellow);
}

ul {
	list-style: square outside none;
	font-size: 14px;
	background: var(--highlight-bg);
	padding: 8px 0px 9px 45px;
	margin: 0px 0px 1.25em 30px;
	line-height: 1.25;
}

hr {
	display: none;
}

.container {
	width: 85%;
	max-width: 650px;
}

.hr {
	height: 1px;
	margin: 2rem 0;
	background: #444;
}

h2 {
	margin-top: 20px;
	margin-bottom: 5px;
}

.entry-meta {
	margin-bottom: 15px;
	display: block;
	font-size: 1.5rem;
	color: #999;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 2rem;
	margin: 2rem 0;
	grid-auto-rows: 1fr;
}

.bluesky-box {
	background-color: #1c2c5a;
	border-radius: 8px;
	padding: 1.5rem;
	margin: 2rem 0;
	color: var(--text-color);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
	border: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
}

.bluesky-box p {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.8rem;
}

.bluesky-button {
	display: inline-flex !important;
	align-items: center;
	background-color: #0085ff !important;
	color: white !important;
	padding: 0.6rem 1.2rem !important;
	border-radius: 6px !important;
	border: none !important;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
	transition: background-color 0.2s ease;
	text-decoration: none !important;
	font-weight: bold !important;
	font-size: 1.6rem !important;
}

.bluesky-button:hover, .bluesky-button:active {
	background-color: #0063cc !important;
	border: none !important;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4) !important;
}

.bluesky-logo {
	width: 24px;
	height: 24px;
	margin-right: 10px;
	fill: white;
}

.post-card {
	background-color: var(--highlight-bg);
	border-radius: 6px;
	padding: 0;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
	transition: box-shadow 0.3s ease;
	position: relative;
	overflow: hidden;
	text-decoration: none;
	height: 180px;
	color: var(--text-color);
	border-bottom: none !important;
	box-shadow: none !important;
	display: block;
}

.post-card:hover {
	box-shadow: 0 0 15px 5px rgba(253, 202, 64, 0.25) !important;
}

.card-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-position: center center;
	background-size: 200%;
	background-repeat: no-repeat;
	filter: blur(0.8px);
	z-index: 0;
}

.card-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: linear-gradient(to right,
		rgba(0, 0, 0, 0.85) 0%,
		rgba(0, 0, 0, 0.6) 50%,
		rgba(0, 0, 0, 0.4) 100%);
	z-index: 1;
}

.card-content {
    position: absolute;
    top: 0;
    left: 0;
    padding: 1.5rem 1.5rem 0.75rem 3rem;
    width: 100%;
    z-index: 2;
    background: transparent;
    max-height: calc(100% - 3.5rem);
    overflow: hidden;
    box-sizing: border-box;
}

.card-footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0.5rem 1.5rem;
    background-color: var(--highlight-bg);
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 3.5rem;
    z-index: 2;
    box-sizing: border-box;
}

.card-footer .entry-meta {
    margin-bottom: 0;
    width: 100%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 1.6rem;
}

.post-card::after {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 5px;
	height: 100%;
	background-color: var(--graffiti-color);
	z-index: 3;
}

.post-card .entry-title {
    font-size: 2.3rem;
    margin-top: 0;
    margin-bottom: 0.5rem;
    line-height: 1.25;
    max-height: 5.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    word-wrap: break-word;
}

.post-card .entry-summary {
    font-size: 1.8rem;
    margin: 0.75rem 0 1rem 0;
    color: #bbbbbb;
    line-height: 1.3;
    max-height: 4.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

#title, #site-title {
	font-size: 3rem;
	font-weight: bold;
	margin-bottom: 0.5rem;
	margin-top: 0;
	line-height: 1.2;
	letter-spacing: -0.1rem;
}

p + iframe, p + video {
	margin-top: 2rem;
}

iframe, video {
	margin-bottom: 2rem;
	max-width: 100%;
}

iframe + p, video + p {
	margin-top: 2rem;
}

.read-more {
	display: inline-block;
	margin-top: 1rem;
	font-size: 1.5rem;
	border: none !important;
	box-shadow: none !important;
	color: var(--accent-color) !important;
	transition: color 0.2s ease;
}

.read-more:hover {
	color: var(--link-hover) !important;
}

@media (max-width: 600px) {
	.post-grid {
		grid-template-columns: 1fr;
	}
}