/* ===================================================================
   11. RESPONSIVE DESIGN
================================================================== */

/* Mobile breakpoints */
@media (max-width: 768px) {
	body {
		font-size: 16px;
	}

	.e-content {
		font-size: 1.0625rem;
	}

	.post-header h1 {
		font-size: 2rem;
	}

	.post-header .p-summary {
		font-size: 1.125rem;
	}

	.site-header-inner {
		padding: 0.5rem 0.75rem;
		flex-wrap: nowrap;
		align-items: center;
		gap: 0.5rem;
	}

	.weblog-title {
		font-size: 0.9rem;
	}

	nav.site-nav ul {
		gap: 0.15rem 0.5rem;
	}

	nav.site-nav a {
		font-size: 0.85rem;
		padding-bottom: 0.1rem;
		white-space: nowrap;
	}

	.theme-toggle {
		font-size: 1rem;
		padding: 0.35rem 0.5rem;
		border-width: 1px;
		border-radius: 6px;
	}

	.site-layout {
		grid-template-columns: 1fr;
	}

	.author-card {
		padding: 1.5rem;
	}

	.author-card-buttons {
		flex-direction: column;
	}

	.support-btn {
		width: 100%;
		justify-content: center;
	}

	.share-buttons-grid {
		grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
	}

	.verify-grid {
		grid-template-columns: 1fr;
	}

	.toc {
		width: 100%;
	}

	.site-footer-grid {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	/* Handle the combined container on mobile - display side by side */
	.site-footer-combined {
		display: grid !important;
		grid-template-columns: 1fr 1fr;
		gap: 1rem;
	}

	.site-footer-list a {
		font-size: 0.9rem;
	}

	.guestbook-form {
		padding: 1rem;
	}

	.guestbook-entry {
		padding: 0.75rem;
	}

	.guestbook-entry .entry-header {
		flex-direction: column;
		align-items: flex-start;
	}

	/* Responsive hero */
	.hero {
		padding: 1.5rem 1rem;
	}

	.hero-inner {
		gap: 1.5rem;
		text-align: center;
	}

	@supports (display: grid) {
		.hero-inner {
			grid-template-columns: 1fr;
			grid-template-rows: auto auto;
		}
	}

	.hero-content {
		font-size: 1rem;
		margin-top: -3em;
	}

	.hero-image-bg {
		padding: 0.75rem;
	}

	.hero-image img {
		max-width: 120px;
		margin: 0 auto;
	}
}

/* Tablet adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
	.site-layout {
		gap: 1.5rem;
		padding: 1rem 1.5rem;
	}

	.sidebar .module {
		padding: 0.75rem;
	}

	.author-card {
		padding: 1.5rem;
	}
}

/* Desktop screens */
@media (min-width: 1025px) {
	.site-layout {
		padding: 1rem 1.5rem;
	}
}

/* Large screens */
@media (min-width: 1200px) {
	.site-layout {
		max-width: 80rem;
		padding: 1rem 2rem;
	}
}
