/*
Theme Name: i-feel-dirty-responsive
Theme URI: https://www.geimeris.com/
Description: Modernizuota ir responsive klasikinės Studio ST „I feel dirty“ temos versija, pritaikyta žaidimų tinklaraščiui Geimeris.com (WordPress 6+ ir PHP 8+ suderinamumas).
Version: 2.0.3
Author: Studio ST / Modernized for Geimeris.com
Author URI: https://www.geimeris.com/
Requires at least: 5.0
Tested up to: 6.7
Requires PHP: 7.4
Text Domain: i-feel-dirty-responsive
*/

/* ------------------------------------------------------------------------------
   1. CSS Variables & Reset
------------------------------------------------------------------------------ */
:root {
	--bg-dark: #2c2c2c;
	--bg-paper: #ffffff;
	--red-primary: #8e0d0d;
	--red-dark: #600606;
	--red-hover: #b31212;
	--blue-panel: #518ca4;
	--blue-dark: #294a59;
	--blue-muted: #668b9c;
	--blue-card-bg: #e2ebed;
	--blue-card-border: #c5d7dc;
	--beige-card-bg: #e8e6d9;
	--beige-card-border: #d5d1bc;
	--beige-heading: #6c644d;
	--beige-muted: #968e77;
	--text-main: #1f2428;
	--text-muted: #5a656d;
	--border-light: #e3e8ec;
	--container-max: 784px;
	--radius-sm: 4px;
	--radius-md: 4px;
	--font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
	font-size: 15px;
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	background-color: var(--bg-dark);
	background-image:
		radial-gradient(ellipse at top center, rgba(255, 255, 255, 0.04) 0%, transparent 65%),
		repeating-linear-gradient(
			0deg,
			rgba(0, 0, 0, 0.06) 0px,
			rgba(0, 0, 0, 0.06) 1px,
			transparent 1px,
			transparent 3px
		);
	color: var(--text-main);
	font-family: var(--font-sans);
	font-size: 0.96rem;
	line-height: 1.65;
	min-height: 100vh;
	padding: 20px 12px 36px;
}

img,
video,
canvas,
svg {
	max-width: 100%;
	height: auto;
	border: 0;
	display: block;
}

a {
	color: var(--red-primary);
	text-decoration: underline;
	text-underline-offset: 2px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

a:hover,
a:focus-visible {
	color: var(--blue-dark);
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

/* ------------------------------------------------------------------------------
   2. Main Container (.cnt)
------------------------------------------------------------------------------ */
.cnt {
	width: 100%;
	max-width: var(--container-max);
	background-color: var(--bg-paper);
	margin: 0 auto;
	padding: 12px;
	border-radius: var(--radius-md);
	box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.35), 0 12px 32px rgba(0, 0, 0, 0.5);
}

/* ------------------------------------------------------------------------------
   3. Header (.header)
------------------------------------------------------------------------------ */
.header {
	background: url(img/headerbg.gif) no-repeat left top;
	background-size: 100% 100%;
	display: grid;
	grid-template-columns: 1fr 260px;
	min-height: 143px;
	margin-bottom: 10px;
}

/* Left red Grunge banner area with authentic GEIMERIS Pac-Man artwork */
.head1 {
	min-height: 143px;
	position: relative;
	display: flex;
	align-items: stretch;
}

.header-banner-link {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	width: 100%;
	min-height: 143px;
	padding: 14px 16px;
	text-decoration: none;
	color: #ffffff;
}

/* Hide redundant text when the graphic banner is displayed, but keep accessible */
.head1 .site-title,
.head1 .description {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Right blue Grunge about box (sits cleanly over the blue side of headerbg.gif) */
.head2 {
	min-height: 143px;
	padding: 14px 16px 16px 18px;
	color: #ffffff;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.head2 h3 {
	color: #ffffff;
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin-bottom: 6px;
	line-height: 1.2;
	text-transform: lowercase;
	text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.head2 h3 a {
	color: #ffffff;
	text-decoration: none;
}

.head2 h3 a:hover {
	text-decoration: underline;
}

.head2 p {
	color: rgba(255, 255, 255, 0.95);
	font-size: 0.82rem;
	line-height: 1.4;
}

/* ------------------------------------------------------------------------------
   4. Optional Primary Navigation Menu
------------------------------------------------------------------------------ */
.primary-nav {
	background-color: var(--blue-dark);
	border-radius: var(--radius-sm);
	margin-bottom: 12px;
	padding: 0 14px;
}

.primary-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0;
	padding: 8px 0;
}

.primary-menu li {
	position: relative;
}

.primary-menu a {
	color: #ffffff;
	text-decoration: none;
	font-size: 0.92rem;
	font-weight: 600;
	padding: 4px 8px;
	border-radius: var(--radius-sm);
	display: inline-block;
}

.primary-menu a:hover,
.primary-menu .current-menu-item > a {
	background-color: var(--red-primary);
	color: #ffffff;
}

/* ------------------------------------------------------------------------------
   5. Main Layout (.main, .content, .sidebar)
------------------------------------------------------------------------------ */
.main {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 248px;
	gap: 18px;
	padding: 10px 4px 16px 6px;
	align-items: start;
}

.content {
	min-width: 0;
}

/* ------------------------------------------------------------------------------
   6. Posts & Typography
------------------------------------------------------------------------------ */
.archive-header {
	margin-bottom: 24px;
	padding-bottom: 12px;
	border-bottom: 2px dashed var(--border-light);
}

h1.pagetitle,
h2.pagetitle {
	color: var(--blue-dark);
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin-bottom: 6px;
}

.archive-description {
	color: var(--text-muted);
	font-size: 0.95rem;
}

.post {
	margin-bottom: 36px;
	padding-bottom: 28px;
	border-bottom: 1px solid var(--border-light);
}

.post:last-of-type {
	border-bottom: 0;
}

.post.sticky {
	background-color: #faf9f5;
	border: 1px solid var(--beige-card-border);
	border-left: 4px solid var(--red-primary);
	padding: 20px;
	border-radius: var(--radius-sm);
}

.posttitle {
	margin-bottom: 14px;
}

.post h1,
.post h2 {
	color: var(--blue-dark);
	font-size: 1.55rem;
	font-weight: 700;
	letter-spacing: -0.4px;
	line-height: 1.3;
	margin-bottom: 4px;
}

.post h2 a {
	color: var(--blue-dark);
	text-decoration: none;
}

.post h2 a:hover {
	color: var(--red-primary);
	text-decoration: underline;
}

.post small,
.post-date {
	color: var(--blue-muted);
	font-size: 0.85rem;
	display: block;
	font-weight: 500;
}

.post-thumbnail {
	margin-bottom: 16px;
	border-radius: var(--radius-sm);
	overflow: hidden;
}

.entry,
.entrytext {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-main);
	overflow-wrap: break-word;
}

.entry::after,
.entrytext::after {
	content: "";
	display: table;
	clear: both;
}

.entry p,
.entrytext p {
	margin-bottom: 16px;
}

.entry h2,
.entry h3,
.entry h4 {
	color: var(--blue-dark);
	margin: 24px 0 12px;
	line-height: 1.35;
}

.entry h3 {
	font-size: 1.25rem;
}

.entry h4 {
	font-size: 1.1rem;
}

.entry a,
.entrytext a {
	color: var(--red-primary);
	text-decoration: underline;
}

.entry a:hover,
.entrytext a:hover {
	color: #000000;
}

.entry blockquote,
.post blockquote {
	background: #f4f8f9 url(img/blockquotebg2.gif) no-repeat left top;
	color: var(--blue-dark);
	padding: 16px 20px 16px 48px;
	margin: 18px 0;
	border-left: 4px solid var(--blue-panel);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
	font-style: italic;
}

.entry ul,
.post ul {
	list-style-type: none;
	margin: 0 0 16px;
	padding-left: 4px;
}

.entry ul li,
.post ul li {
	background: url(img/bullet02.gif) no-repeat 0 8px;
	margin-bottom: 6px;
	padding-left: 18px;
}

.entry ol,
.post ol {
	margin: 0 0 16px 24px;
}

.entry ol li,
.post ol li {
	margin-bottom: 6px;
}

.entry pre,
.entry code {
	font-family: Consolas, Monaco, "Andale Mono", monospace;
	font-size: 0.9rem;
	background-color: #f3f5f7;
	border-radius: 3px;
}

.entry code {
	padding: 2px 5px;
}

.entry pre {
	padding: 14px;
	overflow-x: auto;
	margin-bottom: 16px;
	border: 1px solid var(--border-light);
}

.entry table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 18px;
}

.entry th,
.entry td {
	border: 1px solid var(--border-light);
	padding: 8px 12px;
	text-align: left;
}

.entry th {
	background-color: var(--blue-card-bg);
	color: var(--blue-dark);
}

.page-links {
	margin: 16px 0;
	font-size: 0.92rem;
}

/* Post Metadata footer */
.postmetadata {
	clear: both;
	font-size: 0.85rem;
	color: var(--text-muted);
	margin-top: 16px;
	padding: 10px 14px;
	background-color: #f7f9fa;
	border-left: 3px solid var(--blue-muted);
	border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.postmetadata a {
	color: var(--red-primary);
	font-weight: 600;
	text-decoration: none;
}

.postmetadata a:hover {
	text-decoration: underline;
}

.postmetadata .sep {
	color: #b5c1c8;
	margin: 0 4px;
}

/* Pagination / Post Navigation */
.navigation {
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 0.95rem;
	margin: 16px 0 24px;
	padding: 12px 16px;
	background-color: var(--blue-card-bg);
	border-radius: var(--radius-sm);
}

.navigation a {
	color: var(--blue-dark);
	font-weight: 600;
	text-decoration: none;
}

.navigation a:hover {
	color: var(--red-primary);
	text-decoration: underline;
}

/* ------------------------------------------------------------------------------
   7. Sidebar (.sidebar, .bloque1, .bloque2, dynamic widgets)
------------------------------------------------------------------------------ */
.sidebar {
	font-size: 0.9rem;
	line-height: 1.5;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

/* Support both classic .bloque1/.bloque2 and dynamic WordPress .widget blocks */
.bloque1,
.bloque2,
.sidebar .widget {
	border: 0;
	border-radius: 0;
	padding: 18px 18px 16px;
	position: relative;
	box-shadow: none;
}

.bloque1,
.sidebar .widget:nth-child(odd) {
	background: var(--beige-card-bg) url(img/bloque1bg.jpg) no-repeat top left;
	background-size: 100% auto;
}

.bloque2,
.sidebar .widget:nth-child(even) {
	background: var(--blue-card-bg) url(img/bloque2bg.jpg) no-repeat top left;
	background-size: 100% auto;
}

.bloque1 h3,
.bloque2 h3,
.sidebar .widget-title,
.sidebar .widget h2,
.sidebar .widget h3 {
	font-size: 1.25rem;
	font-weight: 700;
	letter-spacing: -0.5px;
	margin-bottom: 12px;
	padding-bottom: 4px;
	text-transform: lowercase;
	border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.bloque1 h3,
.sidebar .widget:nth-child(odd) .widget-title,
.sidebar .widget:nth-child(odd) h2,
.sidebar .widget:nth-child(odd) h3 {
	color: var(--beige-heading);
}

.bloque2 h3,
.sidebar .widget:nth-child(even) .widget-title,
.sidebar .widget:nth-child(even) h2,
.sidebar .widget:nth-child(even) h3 {
	color: var(--blue-dark);
}

.bloque2 h3 + ul + h3 {
	margin-top: 16px;
}

.sidebar ul {
	list-style-type: square;
	padding-left: 20px;
	margin: 0;
}

.sidebar ul li {
	margin-bottom: 6px;
}

.sidebar p {
	line-height: 1.5;
	margin-top: 10px;
}

.sidebar ul a {
	color: var(--text-main);
	text-decoration: none;
	padding: 1px 3px;
	border-radius: 2px;
}

.bloque1 ul,
.sidebar .widget:nth-child(odd) ul {
	color: var(--beige-muted);
}

.bloque1 ul a,
.sidebar .widget:nth-child(odd) ul a {
	border-bottom: 1px dashed var(--beige-muted);
}

.bloque1 ul a:hover,
.bloque1 p a:hover,
.sidebar .widget:nth-child(odd) ul a:hover {
	background-color: var(--beige-heading);
	color: #ffffff;
	border-bottom-color: transparent;
}

.bloque2 ul,
.sidebar .widget:nth-child(even) ul {
	color: var(--blue-muted);
}

.bloque2 ul a,
.sidebar .widget:nth-child(even) ul a {
	border-bottom: 1px dashed var(--blue-muted);
}

.bloque2 ul a:hover,
.bloque2 p a:hover,
.sidebar .widget:nth-child(even) ul a:hover {
	background-color: var(--blue-dark);
	color: #ffffff;
	border-bottom-color: transparent;
}

/* Search Form (.buscar) */
.buscar .search-form,
.widget_search .search-form {
	display: flex;
	gap: 6px;
	align-items: stretch;
}

.bus1,
.widget_search input[type="search"],
.widget_search input[type="text"] {
	flex: 1;
	min-width: 0;
	padding: 7px 10px;
	font-size: 0.92rem;
	border: 1px solid #b5afa0;
	border-radius: var(--radius-sm);
	background-color: #ffffff;
	color: var(--text-main);
}

.bus1:focus {
	outline: 2px solid var(--blue-panel);
	border-color: transparent;
}

.bus2,
.widget_search button,
.widget_search input[type="submit"] {
	padding: 7px 14px;
	font-size: 0.88rem;
	font-weight: 600;
	color: #ffffff;
	background-color: var(--beige-heading);
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.bus2:hover,
.widget_search button:hover,
.widget_search input[type="submit"]:hover {
	background-color: var(--blue-dark);
}

/* RSS Subscribe link */
.subscriberss {
	padding: 2px 0;
}

.rss-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--blue-dark);
	font-weight: 600;
	text-decoration: none;
	padding: 6px 10px;
	background: rgba(255, 255, 255, 0.6);
	border: 1px dashed var(--blue-muted);
	border-radius: var(--radius-sm);
}

.rss-badge:hover {
	background-color: var(--blue-dark);
	color: #ffffff;
	border-style: solid;
}

/* ------------------------------------------------------------------------------
   8. Comments (.comments-area, .commentlist, .commentform)
------------------------------------------------------------------------------ */
.comments-area {
	margin-top: 32px;
}

h2.responses,
.comment-reply-title {
	color: var(--blue-dark);
	font-size: 1.35rem;
	font-weight: 700;
	margin-bottom: 16px;
	text-transform: lowercase;
}

.commentlist {
	list-style: none;
	margin: 0 0 28px;
	padding: 0;
}

.commentlist li.comment,
.commentlist li.pingback,
.commentlist li.trackback {
	background: #e4ecee url(img/commentlistbg3.jpg) no-repeat top left;
	background-size: 100% auto;
	border: 0;
	border-radius: 0;
	padding-top: 18px;
	margin-bottom: 16px;
	overflow: hidden;
}

.commentlist ul.children {
	list-style: none;
	margin: 12px 12px 12px 24px;
	padding: 0;
}

.commentcontent {
	padding: 0 16px;
	margin-bottom: 14px;
}

.commentcontent p {
	margin-bottom: 12px;
	font-size: 0.95rem;
	color: #2b3236;
	line-height: 1.6;
}

.commentcontent a {
	color: #265368;
}

.commentcontent blockquote {
	background-color: #d5e0e3;
	margin-bottom: 12px;
	padding: 8px 12px;
	border-left: 4px solid #88a9b9;
	font-size: 0.88rem;
	color: #4f5b62;
}

.authorcom {
	background-color: #ffffff;
	padding: 8px 16px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	border-top: 1px solid var(--blue-card-border);
}

.comment-meta-actions {
	font-size: 0.82rem;
}

.comment-meta-actions a {
	color: var(--blue-muted);
	text-decoration: none;
	font-weight: 600;
}

.comment-meta-actions a:hover {
	color: var(--red-primary);
	text-decoration: underline;
}

.comment-author-info {
	text-align: right;
	margin-left: auto;
}

.comment-author-name {
	background: #ffffff url(img/authorbg3.jpg) no-repeat left center;
	color: var(--blue-dark);
	font-size: 1rem;
	font-weight: 700;
	padding-left: 36px;
	display: inline-block;
}

.comment-author-name a {
	color: var(--blue-dark);
	text-decoration: none;
}

.comment-author-name a:hover {
	color: var(--red-primary);
}

.authorcom small.commentmetadata {
	display: block;
	font-size: 0.78rem;
	color: var(--text-muted);
}

.authorcom small.commentmetadata a {
	color: var(--text-muted);
	text-decoration: none;
}

/* Comment Form */
.commentform {
	background: #f2f6f7 url(img/commentform2bg.jpg) no-repeat top left;
	background-size: 100% auto;
	border: 0;
	border-radius: 0;
	padding: 22px 20px;
	margin-bottom: 20px;
}

.commentform label {
	color: var(--blue-dark);
	font-size: 0.9rem;
	font-weight: 600;
	margin-bottom: 4px;
	display: block;
}

.commentform .required {
	color: var(--red-primary);
	font-weight: normal;
	font-size: 0.82rem;
}

.commentform input[type="text"],
.commentform input[type="email"],
.commentform input[type="url"],
.commentform textarea {
	width: 100%;
	padding: 9px 12px;
	font-family: inherit;
	font-size: 0.95rem;
	border: 1px solid #b8c9d1;
	border-radius: var(--radius-sm);
	background-color: #ffffff;
	color: var(--text-main);
	margin-bottom: 14px;
}

.commentform input:focus,
.commentform textarea:focus {
	outline: 2px solid var(--blue-panel);
	border-color: transparent;
}

.commentform .comment-form-author,
.commentform .comment-form-email,
.commentform .comment-form-url {
	max-width: 380px;
}

.commentform input.submit,
.commentform button.submit {
	background-color: var(--blue-dark);
	color: #ffffff;
	font-size: 0.95rem;
	font-weight: 600;
	padding: 10px 22px;
	border: 0;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background-color 0.15s ease;
}

.commentform input.submit:hover,
.commentform button.submit:hover {
	background-color: var(--red-primary);
}

/* ------------------------------------------------------------------------------
   9. Footer (.footer)
------------------------------------------------------------------------------ */
.footer {
	display: grid;
	grid-template-columns: 1fr 248px;
	gap: 8px;
	padding-top: 10px;
	border-top: 4px solid var(--blue-dark);
	margin-top: 10px;
	color: #ffffff;
	font-size: 0.85rem;
}

.footer-col-red {
	background-color: var(--red-primary);
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.14) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.2) 100%);
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
}

.footer-col-blue {
	background-color: var(--blue-panel);
	background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.15) 100%);
	padding: 14px 18px;
	border-radius: var(--radius-sm);
	display: flex;
	align-items: center;
	justify-content: flex-end;
	text-align: right;
}

.footer a {
	color: #ffffff;
	font-weight: 600;
	text-decoration: none;
}

.footer a:hover {
	text-decoration: underline;
}

.footer-menu {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	margin: 0;
	padding: 0;
}

/* ------------------------------------------------------------------------------
   10. WordPress Core Alignment & Media Classes
------------------------------------------------------------------------------ */
.alignleft {
	float: left;
	margin: 0 18px 14px 0;
}

.alignright {
	float: right;
	margin: 0 0 14px 18px;
}

.aligncenter {
	display: block;
	margin: 0 auto 16px;
}

.navigation .alignleft,
.navigation .alignright {
	float: none;
	margin: 0;
}

.wp-caption {
	max-width: 100%;
	margin-bottom: 16px;
	background: #f5f7f8;
	border: 1px solid var(--border-light);
	padding: 6px;
	border-radius: var(--radius-sm);
	text-align: center;
}

.wp-caption-text,
.gallery-caption {
	font-size: 0.85rem;
	color: var(--text-muted);
	padding: 6px 4px 2px;
}

.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

/* FIX seniems YouTube ir kitiems video embed'ams bei Gutenberg embed blokams */
.entry .wp-block-embed {
	margin: 16px 0 20px;
}

.entry .wp-block-embed.wp-has-aspect-ratio iframe {
	position: absolute !important;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: var(--radius-sm);
}

iframe[src*="youtube.com"],
iframe[src*="youtube-nocookie.com"],
iframe[src*="youtu.be"],
iframe[src*="vimeo.com"],
.entry iframe,
.entry embed,
.entry object {
	display: block !important;
	visibility: visible !important;
	opacity: 1 !important;
	width: 100% !important;
	max-width: 100% !important;
	aspect-ratio: 16 / 9;
	height: auto !important;
	border: 0 !important;
	margin: 16px 0;
	border-radius: var(--radius-sm);
}

.entry .wp-has-aspect-ratio iframe[src*="youtube.com"],
.entry .wp-has-aspect-ratio iframe[src*="youtube-nocookie.com"],
.entry .wp-has-aspect-ratio iframe[src*="youtu.be"],
.entry .wp-has-aspect-ratio iframe[src*="vimeo.com"],
.entry .wp-has-aspect-ratio iframe {
	height: 100% !important;
	margin: 0 !important;
	aspect-ratio: auto;
}

/* ------------------------------------------------------------------------------
   11. Responsive Breakpoints (Tablets & Mobile)
------------------------------------------------------------------------------ */
@media (max-width: 760px) {
	.header {
		background: none;
		grid-template-columns: 1fr;
		gap: 8px;
		min-height: auto;
		padding-bottom: 10px;
		border-bottom: 4px solid var(--blue-dark);
	}

	.head1 {
		background: var(--red-primary) url(img/headerbg.gif) no-repeat left center;
		background-size: auto 100%;
		min-height: 120px;
		border-radius: var(--radius-sm);
	}

	.header-banner-link {
		min-height: 120px;
	}

	.head2 {
		background-color: var(--blue-panel);
		min-height: auto;
		border-radius: var(--radius-sm);
		padding: 14px 16px;
	}

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

	.footer-col-blue {
		justify-content: flex-start;
		text-align: left;
	}
}

@media (max-width: 520px) {
	body {
		padding: 8px 6px 24px;
	}

	.cnt {
		padding: 8px;
	}

	.head1 {
		min-height: 92px;
	}

	.header-banner-link {
		min-height: 92px;
	}

	.main {
		padding: 8px 2px;
		gap: 18px;
	}

	.post h1,
	.post h2 {
		font-size: 1.32rem;
	}

	.alignleft,
	.alignright {
		float: none;
		display: block;
		margin: 0 auto 14px;
	}
}
