/*
Theme Name: tipbook
Theme URI: https://tipbook.com
Author: Houtworm
Description: Simple Wordpress theme made for Hugo
Version: 0.1
License: GNU General Public License v3
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: houtworm
 */

/* Fonts */

@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-SemiBold.woff2') format('woff2');
	font-weight: 600;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'Inter';
	src: url('fonts/Inter-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Vars */

:root {
	--bg-color: #ffffff;
	--surface-color: #ffffff;
	--surface-elevated: #ffffff;
	--text-primary: #000000;
	--text-secondary: #000000;
	--text-muted: #000000;
	--accent-color: #000000;
	--accent-hover: #005f9e;
	--accent-glow: rgba(0, 95, 158, 0.3);
	--border-color: #2a2a2a;
	--border-light: #3a3a3a;
	--success-color: #005f9e;
	--warning-color: #ef3c31;
	--error-color: #ef3c31;
	--container-width: 1280px;
	--header-height: 80px;
	--gap-size: 2rem;
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 12px;
	--transition-fast: 0.2s ease;
	--transition-medium: 0.3s ease;
	--transition-slow: 0.5s ease;
}

/* Basics */

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
	background-color: var(--bg-color);
	color: var(--text-primary);
	font-family: 'Inter', sans-serif;
	line-height: 1.7;
	overflow-x: hidden;
}

body::before {
	content: '';
	position: fixed;
	top: 0; left: 0; right: 0; bottom: 0;
	background-image: 
	radial-gradient(circle at 1px 1px, var(--border-color) 1px, transparent 0);
	background-size: 40px 40px;
	opacity: 0.03;
	pointer-events: none;
	z-index: -1;
}

a { 
	color: var(--accent-color); 
	text-decoration: none; 
	transition: all var(--transition-fast);
	position: relative;
}

a:hover { 
	color: var(--accent-hover);
	text-shadow: 0 0 8px var(--accent-glow);
}

a::after {
	content: '';
	position: absolute;
	bottom: -2px;
	left: 0;
	width: 0;
	height: 2px;
	background: var(--accent-color);
	transition: width var(--transition-medium);
}

a:hover::after {
	width: 100%;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-color); }
::-webkit-scrollbar-thumb { 
	background: var(--border-light); 
	border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover { background: var(--accent-color); }

.btn, button, #cancel-comment-reply-link {
	display: inline-block;
	padding: 0.875rem 1.75rem;
	background: var(--accent-color);
	color: var(--bg-color);
	border: none;
	border-radius: var(--radius-sm);
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-fast);
	text-decoration: none;
}

.btn:hover, button:hover, #cancel-comment-reply-link:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 5px 20px var(--accent-glow);
}

.btn-outline, button-outline, #cancel-comment-reply-link-outline {
	background: transparent;
	border: 2px solid var(--accent-color);
	color: var(--accent-color);
}

.btn-outline:hover, button-outline:hover, #cancel-comment-reply-link-outline:hover {
	background: var(--accent-color);
	color: var(--bg-color);
}

/* Header */

.site-header {
	background: linear-gradient(180deg, var(--surface-elevated) 0%, var(--surface-color) 100%);
	padding: 0 2rem;
	border-bottom: 1px solid var(--border-color);
	height: var(--header-height);
	position: sticky;
	top: 0;
	z-index: 1000;
	backdrop-filter: blur(10px);
	animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
	from { transform: translateY(-100%); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.header-inner {
	max-width: var(--container-width);
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 100%;
}

.logo {
	padding-top:0.5rem;
	size:80%;
}

.logo a {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--text-primary);
	letter-spacing: -0.5px;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	z-index: 10;
}

.header-right-group {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.header-divider {
	width: 1px;
	height: 24px;
	background: var(--border-color);
}

.secondary-nav .nav-menu,
.secondary-nav .menu,
.secondary-nav ul,
.secondary-nav li,
.primary-nav .nav-menu,
.primary-nav .menu,
.primary-nav ul,
.primary-nav li {
	display: flex !important;
	flex-direction: row !important;
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
	gap: 0;
}

.secondary-nav .nav-menu li a,
.secondary-nav .menu li a {
	display: block;
	padding: 0.6rem 1rem;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--accent-color);
	background: rgba(0, 95, 158, 0.1);
	border: 1px solid rgba(0, 95, 158, 0.3);
	border-radius: var(--radius-sm);
	transition: all var(--transition-fast);
	white-space: nowrap;
}

.secondary-nav .nav-menu li a:hover,
.secondary-nav .menu li a:hover {
	background: var(--accent-color);
	color: var(--bg-color);
	border-color: var(--accent-color);
	transform: translateY(-1px);
}

.primary-nav .nav-menu li a,
.primary-nav .menu li a {
	display: block;
	padding: 0.8rem 1.2rem;
	color: var(--text-secondary);
	font-weight: 500;
	font-size: 0.95rem;
	transition: all var(--transition-fast);
	border-radius: var(--radius-sm);
}

.primary-nav .nav-menu li a:hover,
.primary-nav .menu li a:hover {
	color: var(--text-primary);
	background: rgba(255, 255, 255, 0.05);
}

.primary-nav .nav-menu li.current-menu-item a,
.primary-nav .menu li.current-menu-item a {
	color: var(--accent-color);
	background: rgba(0, 95, 158, 0.1);
}

/* Position the dropdown relative to its parent menu item */
.primary-nav li.menu-item-has-children {
  position: relative;
}

/* Keep the submenu hidden until hover or keyboard focus */
.primary-nav ul.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 1001;
  min-width: 12rem;
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch;
  padding: 0.5rem 0 !important;
  margin: 0 !important;
  background: var(--surface-elevated);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgb(0 0 0 / 15%);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(0.4rem);
  transition: opacity 160ms ease, transform 160ms ease, visibility 160ms;
}

/* Override the rule that makes every li a flex row */
.primary-nav ul.sub-menu > li {
  display: block !important;
}

/* Show the submenu */
.primary-nav li.menu-item-has-children:hover > ul.sub-menu,
.primary-nav li.menu-item-has-children:focus-within > ul.sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

/* Footer */

.site-footer {
	background: linear-gradient(0deg, var(--surface-elevated) 0%, var(--surface-color) 100%);
	padding: 0 0 6rem;
	border-top: 1px solid var(--border-color);
	animation: slideUp 0.5s ease-out;
}

@keyframes slideUp {
	from { transform: translateY(100%); opacity: 0; }
	to { transform: translateY(0); opacity: 1; }
}

.footer-inner {
	max-width: var(--container-width);
	margin: 0 auto;
}

.footer-menus {
	gap: 1rem;
	margin-bottom: 3rem;
	padding-top: 4rem;
	text-align: center;
}

.footer-row h4 {
	color: var(--text-primary);
	font-size: 1rem;
	font-weight: 600;
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	border-bottom: 2px solid var(--accent-color);
	display: inline-block;
}

.footer-row .nav-menu,
.footer-row .menu,
.footer-row ul,
.footer-row li {
	text-align: center;
	display: inline-block !important;
	list-style: none !important;
	margin: 0 !important;
	margin-bottom: 1.5rem;
	padding-bottom: 0.75rem;
	padding-top: 4rem;
	margin-right: 4rem;
	padding: 0 !important;
}

.footer-row .nav-menu li,
.footer-row .menu li {
	opacity: 0;
	animation: fadeInLeft 0.5s ease forwards;
}

.footer-row:nth-child(1) .nav-menu li,
.footer-row:nth-child(1) .menu li { animation-delay: 0.4s; }

@keyframes fadeInLeft {
	from { opacity: 0; transform: translateX(-10px); }
	to { opacity: 1; transform: translateX(0); }
}

.footer-row .nav-menu li a,
.footer-row .menu li a {
	color: var(--text-secondary);
	font-size: 1rem;
	padding: 0.25rem 0;
}

.footer-row .nav-menu li a:hover,
.footer-row .menu li a:hover {
	color: var(--accent-color);
	transform: translateX(5px);
}

.footer-copyright {
	text-align: center;
	padding-top: 2rem;
	border-top: 1px solid var(--border-light);
	color: var(--text-muted);
	font-size: 0.85rem;
	animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

/* Content */

.site-content {
	max-width: var(--container-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--gap-size);
	padding: 3rem 2rem;
	animation: fadeIn 0.8s ease forwards;
}

.main-content {
	animation: fadeIn 0.6s ease forwards;
	width: 100%;
}

@keyframes fadeIn {
	from { opacity: 0; transform: translateY(20px); }
	to { opacity: 1; transform: translateY(0); }
}

/* Search */

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

.search-form input[type="search"] {
	flex: 1;
	width: 120px;
	padding: 1rem 1rem;
	background: var(--surface-elevated);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	font-size: 0.9rem;
	transition: all var(--transition-fast);
}

.search-form input[type="search"]:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px var(--accent-glow);
}

.search-form input[type="submit"] {
	padding: 1rem 1rem;
	background: var(--accent-color);
	border: none;
	border-radius: var(--radius-sm);
	color: var(--bg-color);
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-fast);
}

.search-form input[type="submit"]:hover {
	background: var(--accent-hover);
	transform: scale(1.05);
}

/* Latest Posts */

.latest-posts-section {
	margin-bottom: 3rem;
}

.latest-posts-section h2 {
	font-size: 2rem;
	margin-bottom: 2rem;
	color: var(--text-primary);
	position: relative;
	display: inline-block;
}

.latest-posts-section h2::after {
	content: '';
	position: absolute;
	bottom: -8px;
	left: 0;
	width: 60px;
	height: 3px;
	background: var(--accent-color);
	border-radius: 2px;
}

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

.post-card {
	background: var(--surface-color);
	padding: 2rem;
	margin-bottom: 1rem;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
	transition: all var(--transition-medium);
	position: relative;
	overflow: hidden;
	opacity: 0;
	animation: cardFadeIn 0.6s ease forwards;
}

.post-card:nth-child(1) { animation-delay: 0.1s; }
.post-card:nth-child(2) { animation-delay: 0.2s; }
.post-card:nth-child(3) { animation-delay: 0.3s; }
.post-card:nth-child(4) { animation-delay: 0.4s; }
.post-card:nth-child(5) { animation-delay: 0.5s; }
.post-card:nth-child(6) { animation-delay: 0.6s; }
.post-card:nth-child(7) { animation-delay: 0.7s; }
.post-card:nth-child(8) { animation-delay: 0.8s; }
.post-card:nth-child(9) { animation-delay: 0.9s; }
.post-card:nth-child(10) { animation-delay: 1.0s; }
.post-card:nth-child(11) { animation-delay: 1.1s; }
.post-card:nth-child(12) { animation-delay: 1.2s; }
.post-card:nth-child(13) { animation-delay: 1.3s; }
.post-card:nth-child(14) { animation-delay: 1.4s; }
.post-card:nth-child(15) { animation-delay: 1.5s; }

@keyframes cardFadeIn {
	from { opacity: 0; transform: translateY(30px); }
	to { opacity: 1; transform: translateY(0); }
}

.post-card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 4px;
	height: 100%;
	background: var(--accent-color);
	transform: scaleY(0);
	transition: transform var(--transition-medium);
}

.post-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
	border-color: var(--border-light);
}

.post-card:hover::before {
	transform: scaleY(1);
}

.post-card img {
	width: 100%;
	height: auto;
}

.post-card h3 {
	font-size: 1.25rem;
	margin-bottom: 1rem;
}

.post-card h3 a {
	color: var(--text-primary);
}

.post-card h3 a:hover {
	color: var(--accent-color);
}

.post-card h3 a::after {
	display: none;
}

.post-card p {
	color: var(--text-secondary);
	font-size: 0.95rem;
	margin-bottom: 1rem;
	line-height: 1.6;
}

.post-card small {
	color: var(--text-muted);
	font-size: 0.8rem;
	display: block;
	margin-top: 1rem;
}

.post-card .comment-count {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background: rgba(0, 95, 158, 0.1);
	color: var(--accent-color);
	border-radius: var(--radius-sm);
	font-size: 0.8rem;
	font-weight: 600;
}

.entry-content {
	font-size: 1.1rem;
	line-height: 1.8;
}

.entry-content h2, .entry-content h3, .entry-content h4 {
	color: var(--text-primary);
	margin: 2rem 0 1rem;
}

.entry-content p {
	margin-bottom: 1.5rem;
}

.entry-content img {
	max-width: 100%;
	height: auto;
	border-radius: var(--radius-md);
	margin: 0;
}

.entry-content blockquote {
	border-left: 4px solid var(--accent-color);
	padding-left: 1.5rem;
	margin: 2rem 0;
	color: var(--text-secondary);
	font-style: italic;
	background: var(--surface-color);
	padding: 1.5rem;
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

/* Comments */

.comments-area {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border-color);
	animation: fadeIn 0.6s ease forwards;
}

.comments-title {
	font-size: 1.5rem;
	color: var(--text-primary);
	margin-bottom: 2rem;
	position: relative;
	padding-bottom: 0.75rem;
}

.comments-title::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50px;
	height: 3px;
	background: var(--accent-color);
	border-radius: 2px;
}

.comment-list,
.children {
	list-style: none;
}

.children {
	list-style: none;
	padding: 0 0 0 2rem;
	border-left: 2px solid var(--border-color);
}

.comment-body {
	display: flex;
	flex-direction: row;
	gap: 1.5rem;
	padding: 1.5rem;
	background: var(--surface-color);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	transition: all var(--transition-fast);
	position: relative;
	z-index: 1;
	margin-bottom: 2rem;
	border-left: 4px solid var(--accent-color);
	background: var(--surface-elevated);
}

.comment-body:hover {
	border-color: var(--border-light);
	box-shadow: 0 4px 12px rgba(0,0,0,0.2);
	transform: translateY(-2px);
	border-left: 4px solid var(--accent-color);
	background: var(--surface-elevated);
}

.comment-author {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	min-width: 80px;
}

.comment-author .avatar {
	width: 80px;
	height: 80px;
	border-radius: 50%;
	border: 3px solid var(--accent-color);
	box-shadow: 0 4px 10px rgba(0,0,0,0.3);
	margin-bottom: 0.5rem;
	transition: transform var(--transition-fast);
}

.comment-author .avatar:hover {
	transform: scale(1.05);
}

.comment-author .fn {
	font-weight: 700;
	font-size: 1.1rem;
	color: var(--text-primary);
	font-style: normal;
	margin: 0;
	line-height: 1.2;
}

.comment-author .fn a {
	color: var(--text-primary);
	text-decoration: none;
}

.comment-author .fn a:hover {
	color: var(--accent-color);
}

.comment-author .says {
	display: none;
}

.comment-meta {
	width: 100%;
	text-align: center;
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-top: 0.25rem;
}

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

.comment-meta a:hover {
	color: var(--accent-color);
}

.comment-content {
	flex: 1;
	color: var(--text-secondary);
	line-height: 1.7;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.comment-content p {
	margin-bottom: 1rem;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.comment-metadata {
	margin-top: 1rem;
	display: flex;
	gap: 1rem;
	align-items: center;
	font-size: 0.85rem;
}

.comment-reply-link,
.comment-edit-link {
	color: var(--accent-color);
	font-weight: 600;
	text-decoration: none;
	padding: 0.25rem 0.75rem;
	border-radius: var(--radius-sm);
	transition: all var(--transition-fast);
	background: rgba(0, 95, 158, 0.1);
}

.comment-reply-link:hover,
.comment-edit-link:hover {
	background: var(--accent-color);
	color: var(--bg-color);
}

.children .avatar { width: 60px; height: 60px; border-width: 2px; margin-bottom: 0.25rem; }
.children .comment-author { min-width: 60px; }
.children .comment-author .fn { font-size: 1rem; }

.children .children .avatar { width: 50px; height: 50px; }
.children .children .comment-author { min-width: 50px; }
.children .children .comment-author .fn { font-size: 0.95rem; }

.children .children .children .avatar { width: 40px; height: 40px; }
.children .children .children .comment-author { min-width: 40px; }
.children .children .children .comment-author .fn { font-size: 0.9rem; }

.children .children .children .children .avatar { width: 35px; height: 35px; }
.children .children .children .children .comment-author { min-width: 35px; }

.children .comment-body {
	padding: 1rem;
	background: var(--surface-elevated);
	border: 1px solid var(--border-light);
}

.comment-form {
	margin-top: 2rem;
	padding: 2rem;
	background: var(--surface-color);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	animation: fadeIn 0.6s ease forwards;
}

.comment-form p { margin-bottom: 1.5rem; }

.comment-form label {
	display: block;
	margin-bottom: 0.5rem;
	color: var(--text-primary);
	font-weight: 500;
	font-size: 0.9rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 0.875rem 1rem;
	background: var(--surface-elevated);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-sm);
	color: var(--text-primary);
	font-size: 0.95rem;
	transition: all var(--transition-fast);
	font-family: inherit;
}

.comment-form input:focus,
.comment-form textarea:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px var(--accent-glow);
}

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

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.comment-form-cookies-consent input {
	margin-top: 0.25rem;
	accent-color: var(--accent-color);
}

.comment-form-cookies-consent label {
	font-size: 0.85rem;
	color: var(--text-secondary);
	margin-bottom: 0;
}

.submit {
	background: var(--accent-color);
	color: var(--bg-color);
	padding: 0.875rem 2rem;
	border: none;
	border-radius: var(--radius-sm);
	font-weight: 600;
	cursor: pointer;
	transition: all var(--transition-fast);
	font-size: 1rem;
}

.submit:hover {
	background: var(--accent-hover);
	transform: translateY(-2px);
	box-shadow: 0 5px 20px var(--accent-glow);
}

.logged-in-as {
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-bottom: 1.5rem;
}

.logged-in-as a {
	color: var(--accent-color);
}

/* Newsletter */

#listmonk-signup input {
	width: 250px;
	padding: 10px;
	margin-bottom: 10px;
}

.success {
	color: var(--success-color);
}

.error {
	color: var(--warning-color);
}

/* Mobile */

@media (max-width: 768px) {
	.comment-body {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	.comment-author {
		align-items: center;
		width: 100%;
	}

	.children {
		padding-left: 1rem;
		margin-bottom:
		1rem;
	}

	.children .comment-body {
		flex-direction: column;
	}
}

.error-404 {
	text-align: center;
	padding: 6rem 2rem;
	animation: fadeIn 0.8s ease forwards;
}

.error-404 h1 {
	font-size: clamp(4rem, 15vw, 8rem);
	color: var(--accent-color);
	margin-bottom: 1rem;
	text-shadow: 0 0 30px var(--accent-glow);
}

.error-404 h2 {
	font-size: 2rem;
	margin-bottom: 1rem;
	color: var(--text-primary);
}

.error-404 p {
	color: var(--text-secondary);
	margin-bottom: 2rem;
	font-size: 1.1rem;
}

.error-404 a {
	display: inline-block;
	background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
	color: var(--bg-color);
	padding: 1rem 2rem;
	border-radius: var(--radius-md);
	font-weight: 600;
	transition: all var(--transition-medium);
}

.error-404 a:hover {
	transform: translateY(-3px);
	box-shadow: 0 10px 30px var(--accent-glow);
}

.error-404 a::after {
	display: none;
}

@media (min-width: 901px) {
	.mobile-bubble-menu {
		display: none !important;
		visibility: hidden !important;
		opacity: 0 !important;
		pointer-events: none !important;
	}

	.mobile-menu-toggle {
		display: none !important;
	}

	.desktop-menus {
		display: block !important;
	}
}

@media (max-width: 900px) {
	.site-header {
		position: sticky !important;
		top: 0 !important;
		height: 60px !important;
		padding: 0 1rem !important;
		background: var(--surface-elevated);
		z-index: 2000;
	}

	.header-inner {
		height: 100%;
		padding: 0;
	}

	.desktop-menus { display: none; }

	.mobile-menu-toggle {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		width: 40px;
		height: 40px;
		background: transparent;
		border: none;
		cursor: pointer;
		z-index: 2001;
		padding: 0;
		gap: 5px;
	}

	.hamburger-line {
		width: 24px;
		height: 2px;
		background: var(--text-primary);
		border-radius: 2px;
		transition: all 0.3s ease;
	}

	.mobile-menu-toggle.open .hamburger-line:nth-child(1) {
		transform: rotate(45deg) translate(5px, 5px);
	}

	.mobile-menu-toggle.open .hamburger-line:nth-child(2) {
		opacity: 0;
	}

	.mobile-menu-toggle.open .hamburger-line:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -5px);
	}

	.mobile-bubble-menu {
		position: fixed;
		top: 70px;
		right: 1rem;
		width: 280px;
		background: var(--surface-elevated);
		border: 1px solid var(--border-color);
		border-radius: var(--radius-lg);
		box-shadow: 0 10px 40px rgba(0,0,0,0.5);
		opacity: 0;
		visibility: hidden;
		transform: translateY(-10px) scale(0.95);
		transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
		z-index: 1999;
		overflow: hidden;
	}

	.mobile-bubble-menu.active {
		opacity: 1;
		visibility: visible;
		transform: translateY(0) scale(1);
	}

	.bubble-content {
		padding: 1.5rem;
	}
	.bubble-section h4 {
		color: var(--accent-color);
		font-size: 0.8rem;
		text-transform: uppercase;
		letter-spacing: 1px;
		margin-bottom: 1rem;
		font-weight: 700;
	}
	.bubble-divider {
		height: 1px;
		background: var(--border-color);
		margin: 1rem 0;
	}

	.mobile-bubble-menu .nav-menu,
	.mobile-bubble-menu .menu,
	.mobile-bubble-menu ul,
	.mobile-bubble-menu li {
		display: block !important;
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}

	.mobile-bubble-menu li a {
		display: block;
		padding: 0.75rem 1rem;
		color: var(--text-primary);
		border-radius: var(--radius-sm);
		margin-bottom: 0.5rem;
		transition: background 0.2s;
		text-align: left;
	}

	.mobile-bubble-menu li a:hover {
		background: rgba(255,255,255,0.05);
		color: var(--accent-color);
	}

	.mobile-bubble-menu .secondary-menu li a {
		background: rgba(0, 95, 158, 0.1);
		color: var(--accent-color);
		font-weight: 600;
		border: 1px solid rgba(0, 95, 158, 0.2);
	}

	.main-content {
		order: 1;
		width: 100%;
	}

	.post-grid {
		grid-template-columns: 1fr !important;
		gap: 1.5rem;
	}

	.post-card {
		width: 100%;
		max-width: 100%;
	}

	.logo-text {
		display: inline;
		font-size: 1.2rem;
	}
	.site-content {
		padding-top: 80px;
		padding: 1.5rem;
	}

	.footer-menus {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* You are not blind are you? */

@media (max-width: 600px) {
	.mobile-bubble-menu {
		width: calc(100% - 2rem);
		right: 1rem; left: 1rem;
	}
	.site-content {
		padding: 1.5rem;
	}
}
