/*
Theme Name: My Theme
Theme URI: https://example.com/my-theme
Author: Your Name
Author URI: https://example.com
Description: A basic custom WordPress starter theme with all the default template files, ready to build on.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mytheme
*/

/* -----------------------------------
   Basic reset & base styles
----------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	line-height: 1.6;
	color: #222;
	background: #fff;
}

a {
	color: #0073aa;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

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

ul, ol {
	padding-left: 1.5em;
}

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

/* -----------------------------------
   Layout
----------------------------------- */
.site {
	max-width: 1100px;
	margin: 0 auto;
	padding: 0 20px;
}

.site-header {
	padding: 20px 0;
	border-bottom: 1px solid #eee;
}

.site-branding .site-title {
	margin: 0;
	font-size: 1.6em;
}

.site-branding .site-description {
	margin: 5px 0 0;
	color: #666;
	font-size: 0.9em;
}

.main-navigation ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	padding: 0;
	margin: 15px 0 0;
}

.main-navigation a {
	font-weight: 600;
}

.content-area {
	float: left;
	width: 68%;
	padding: 30px 0;
}

.widget-area {
	float: right;
	width: 28%;
	padding: 30px 0;
}

.site-content::after,
.site-footer::after {
	content: "";
	display: table;
	clear: both;
}

.site-footer {
	border-top: 1px solid #eee;
	padding: 20px 0;
	color: #666;
	font-size: 0.9em;
}

article.post,
article.page {
	margin-bottom: 40px;
	padding-bottom: 30px;
	border-bottom: 1px solid #eee;
}

.entry-title a {
	color: #222;
}

.entry-meta {
	color: #888;
	font-size: 0.85em;
	margin-bottom: 10px;
}

.widget {
	margin-bottom: 30px;
}

.widget-title {
	font-size: 1.1em;
	border-bottom: 2px solid #eee;
	padding-bottom: 8px;
}

.pagination {
	margin: 30px 0;
}

@media (max-width: 782px) {
	.content-area,
	.widget-area {
		float: none;
		width: 100%;
	}
}
