/*
Theme Name: Lobster Theme
Theme URI: https://example.com/lobster-theme
Author: Your Name
Author URI: https://example.com
Description: Чиста, легка та мінімалістична тема WordPress без зайвих залежностей. Ідеальна основа для блогу, портфоліо або корпоративного сайту.
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: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lobster-theme
Tags: blog, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ===========================
   CSS Variables
=========================== */
:root {
    --lt-color-bg: #ffffff;
    --lt-color-text: #1a1a1a;
    --lt-color-muted: #666666;
    --lt-color-accent: #d84315; /* лобстерово-помаранчевий акцент */
    --lt-color-accent-hover: #bf360c;
    --lt-color-border: #e5e5e5;
    --lt-color-surface: #f9f9f9;
    --lt-font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --lt-font-heading: Georgia, "Times New Roman", serif;
    --lt-max-width: 760px;
    --lt-radius: 6px;
}

/* ===========================
   Reset & Base
=========================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: var(--lt-color-bg);
    color: var(--lt-color-text);
    font-family: var(--lt-font-main);
    font-size: 17px;
    line-height: 1.7;
}

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

a {
    color: var(--lt-color-accent);
    text-decoration: none;
}

a:hover,
a:focus {
    color: var(--lt-color-accent-hover);
    text-decoration: underline;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--lt-font-heading);
    line-height: 1.25;
    margin: 1.6em 0 0.6em;
    font-weight: 700;
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.7rem; }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1.2em; }

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

blockquote {
    margin: 1.5em 0;
    padding: 0.5em 1.2em;
    border-left: 3px solid var(--lt-color-accent);
    color: var(--lt-color-muted);
    font-style: italic;
}

code, pre {
    font-family: "SFMono-Regular", Consolas, Menlo, monospace;
    background: var(--lt-color-surface);
    border-radius: var(--lt-radius);
}

code {
    padding: 0.15em 0.4em;
    font-size: 0.9em;
}

pre {
    padding: 1em;
    overflow-x: auto;
}

hr {
    border: none;
    border-top: 1px solid var(--lt-color-border);
    margin: 2em 0;
}

/* ===========================
   Layout
=========================== */
.lt-container {
    max-width: var(--lt-max-width);
    margin: 0 auto;
    padding: 0 1.25rem;
}

.site-header {
    border-bottom: 1px solid var(--lt-color-border);
    padding: 1.75rem 0;
}

.site-header .lt-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.site-branding .site-title {
    margin: 0;
    font-size: 1.5rem;
}

.site-branding .site-title a {
    color: var(--lt-color-text);
    text-decoration: none;
}

.site-branding .site-description {
    margin: 0.25rem 0 0;
    color: var(--lt-color-muted);
    font-size: 0.9rem;
}

.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 1.25rem;
    margin: 0;
    padding: 0;
    flex-wrap: wrap;
}

.main-navigation a {
    color: var(--lt-color-text);
    font-size: 0.95rem;
}

.main-navigation a:hover {
    color: var(--lt-color-accent);
}

.site-content {
    padding: 2.5rem 0;
}

.site-footer {
    border-top: 1px solid var(--lt-color-border);
    padding: 1.75rem 0;
    color: var(--lt-color-muted);
    font-size: 0.85rem;
    text-align: center;
}

/* ===========================
   Posts
=========================== */
article.post,
article.page {
    margin-bottom: 3rem;
}

.entry-title a {
    color: var(--lt-color-text);
}

.entry-meta {
    color: var(--lt-color-muted);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.entry-thumbnail {
    margin-bottom: 1.25rem;
    border-radius: var(--lt-radius);
    overflow: hidden;
}

.entry-content a {
    text-decoration: underline;
}

.read-more {
    display: inline-block;
    margin-top: 0.5rem;
    font-weight: 600;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    margin-top: 2.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--lt-color-border);
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--lt-color-border);
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment-list .comment {
    padding: 1rem 0;
    border-bottom: 1px solid var(--lt-color-border);
}

/* Widgets / Sidebar */
.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.05rem;
    margin-top: 0;
}

/* Buttons / Forms */
button,
input[type="submit"] {
    background: var(--lt-color-accent);
    color: #fff;
    border: none;
    padding: 0.6em 1.2em;
    border-radius: var(--lt-radius);
    cursor: pointer;
    font-size: 0.95rem;
}

button:hover,
input[type="submit"]:hover {
    background: var(--lt-color-accent-hover);
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea {
    width: 100%;
    padding: 0.6em 0.8em;
    border: 1px solid var(--lt-color-border);
    border-radius: var(--lt-radius);
    font-family: inherit;
    font-size: 0.95rem;
}

/* Screen reader text (accessibility) */
.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;
}

/* Responsive */
@media (max-width: 600px) {
    body { font-size: 16px; }
    h1 { font-size: 1.8rem; }
}
