/*!
Theme Name: shogigame
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Modern Shogi Game WordPress Theme
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: shogigame
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

shogigame is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
   ========================================================================== */

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

/* Sections
   ========================================================================== */

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

/* Text-level semantics
   ========================================================================== */

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */

img {
  border-style: none;
}

/* Forms
   ========================================================================== */

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

[type="button"],
[type="reset"],
[type="submit"],
button {
  -webkit-appearance: button;
  appearance: button;
}

[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner,
button::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring,
button:-moz-focusring {
  outline: 1px dotted ButtonText;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  padding: 0;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  -webkit-appearance: textfield;
  appearance: textfield;
  outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

/* Interactive
   ========================================================================== */

details {
  display: block;
}

summary {
  display: list-item;
}

/* Misc
   ========================================================================== */

template {
  display: none;
}

[hidden] {
  display: none;
}

/* ================================================
   BASE STYLES
   ================================================ */

*,
::after,
::before {
  box-sizing: inherit;
}

html {
  box-sizing: border-box;
}

body,
button,
input,
select,
optgroup,
textarea {
  color: #404040;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  clear: both;
}

p {
  margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
  font-style: italic;
}

blockquote {
  margin: 0 1.5em;
}

address {
  margin: 0 0 1.5em;
}

pre {
  background: #eee;
  font-family: "Courier 10 Pitch", courier, monospace;
  line-height: 1.6;
  margin-bottom: 1.6em;
  max-width: 100%;
  overflow: auto;
  padding: 1.6em;
}

code,
kbd,
tt,
var {
  font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
  border-bottom: 1px dotted #666;
  cursor: help;
}

mark,
ins {
  background: #fff9c0;
  text-decoration: none;
}

big {
  font-size: 125%;
}

/* ================================================
   ELEMENTS
   ================================================ */

body {
  background-color: #F8F4E9;
  min-height: 100vh;
}

hr {
  background-color: #ccc;
  border: 0;
  height: 1px;
  margin-bottom: 1.5em;
}

ul,
ol {
  margin: 0 0 1.5em 3em;
}

ul {
  list-style: disc;
}

ol {
  list-style: decimal;
}

li > ul,
li > ol {
  margin-bottom: 0;
  margin-left: 1.5em;
}

dt {
  font-weight: 700;
}

dd {
  margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
  max-width: 100%;
}

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

figure {
  margin: 1em 0;
}

table {
  margin: 0 0 1.5em;
  width: 100%;
}

/* ================================================
   LINKS
   ================================================ */

a {
  color: #4169e1;
}

a:visited {
  color: purple;
}

a:hover,
a:focus,
a:active {
  color: #191970;
}

a:focus {
  outline: thin dotted;
}

a:hover,
a:active {
  outline: 0;
}

/* ================================================
   FORMS
   ================================================ */

button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
  border: 1px solid;
  border-color: #ccc #ccc #bbb;
  border-radius: 3px;
  background: #e6e6e6;
  color: rgba(0, 0, 0, 0.8);
  line-height: 1;
  padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
  border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
  border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
  color: #666;
  border: 1px solid #ccc;
  border-radius: 3px;
  padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
  color: #111;
}

select {
  border: 1px solid #ccc;
}

textarea {
  width: 100%;
}

/* ================================================
   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;
}

.screen-reader-text:focus {
  background-color: #f1f1f1;
  border-radius: 3px;
  box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
  clip: auto !important;
  clip-path: none;
  color: #21759b;
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  height: auto;
  left: 5px;
  line-height: normal;
  padding: 15px 23px 14px;
  text-decoration: none;
  top: 5px;
  width: auto;
  z-index: 100000;
}

#primary[tabindex="-1"]:focus {
  outline: 0;
}

/* ================================================
   MODERN HEADER RESPONSIVE DESIGN
   ================================================ */

/* Header Container - Subtle Japanese Style with Color */
.site-header {
  background: linear-gradient(135deg, rgba(255, 248, 235, 0.95) 0%, rgba(248, 249, 255, 0.95) 100%);
  border-bottom: 2px solid rgba(220, 160, 100, 0.4);
  position: relative;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(220, 160, 100, 0.15);
  backdrop-filter: blur(10px);
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  position: relative;
}

/* Site Branding */
.site-branding {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.site-branding .custom-logo {
  height: 40px;
  width: auto;
  display: block;
}

.site-info .site-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.site-info .site-title a {
  color: #1f2937;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-info .site-title a:hover {
  color: #3b82f6;
}

.site-description {
  margin: 0;
  font-size: 0.875rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Desktop Navigation */
.main-navigation {
  display: flex;
  align-items: center;
}

.main-navigation .nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.5rem;
}

.main-navigation .nav-menu li {
  position: relative;
}

.main-navigation .nav-menu a {
  display: block;
  padding: 0.5rem 1rem;
  color: #5d4037;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.main-navigation .nav-menu a:hover,
.main-navigation .nav-menu a:focus {
  color: #3e2723;
  background-color: rgba(220, 160, 100, 0.15);
  transform: translateY(-1px);
}

.main-navigation .nav-menu .current-menu-item > a,
.main-navigation .nav-menu .current_page_item > a {
  color: #3e2723;
  background-color: rgba(220, 160, 100, 0.25);
  font-weight: 600;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  border-radius: 0.375rem;
  transition: background-color 0.2s ease;
  position: relative;
  z-index: 1001;
}

.mobile-menu-toggle:hover {
  background-color: #f3f4f6;
}

.mobile-menu-toggle .close-icon {
  display: none;
}

.mobile-menu-toggle.active .hamburger-icon {
  display: none;
}

.mobile-menu-toggle.active .close-icon {
  display: block;
}

.mobile-menu-toggle svg {
  width: 24px;
  height: 24px;
  color: #374151;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 997;
  backdrop-filter: blur(2px);
}

/* Responsive Breakpoints */
@media (max-width: 768px) {
  .main-navigation .nav-menu {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    gap: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid #e5e7eb;
    padding: 1rem 0;
    z-index: 998;
  }

  .main-navigation .nav-menu.open {
    display: flex;
    animation: slideDown 0.2s ease-out;
  }

  .main-navigation .nav-menu li {
    width: 100%;
  }

  .main-navigation .nav-menu a {
    padding: 0.75rem 1.5rem;
    border-radius: 0;
    border-bottom: 1px solid #f3f4f6;
    font-size: 1rem;
  }

  .main-navigation .nav-menu li:last-child a {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: block;
  }

  .mobile-menu-overlay.active {
    display: block;
  }

  .header-container {
    height: 60px;
    padding: 0 1rem;
  }

  .site-info .site-title {
    font-size: 1.25rem;
  }

  .site-description {
    font-size: 0.8rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .header-container {
    padding: 0 0.75rem;
    height: 56px;
  }

  .site-branding {
    gap: 0.5rem;
  }

  .site-branding .custom-logo {
    height: 32px;
  }

  .site-info .site-title {
    font-size: 1.125rem;
  }

  .site-description {
    display: none;
  }

  .main-navigation .nav-menu {
    top: 56px;
  }

  .main-navigation .nav-menu a {
    padding: 1rem 1.25rem;
  }

  .mobile-menu-toggle {
    padding: 0.375rem;
  }

  .mobile-menu-toggle svg {
    width: 20px;
    height: 20px;
  }
}

/* Animation */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Focus styles for accessibility */
.mobile-menu-toggle:focus,
.main-navigation .nav-menu a:focus {
  outline: 2px solid #3b82f6;
  outline-offset: 2px;
}

/* ================================================
   MODERN CONTENT LAYOUT & TYPOGRAPHY
   ================================================ */

/* Main Content Container */
.site-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  min-height: calc(100vh - 140px);
}

/* Content Wrapper */
.content-wrapper {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

/* Article/Post Layout */
.post-article, 
.page-article {
  padding: 2.5rem;
}

.entry-header {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.entry-title {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
  color: #1f2937;
  margin-bottom: 1rem;
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  font-size: 0.875rem;
  color: #6b7280;
}

.entry-meta .meta-item {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.entry-meta .meta-item svg {
  width: 16px;
  height: 16px;
}

/* Content Typography */
.entry-content {
  font-size: 1.125rem;
  line-height: 1.75;
  color: #374151;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #1f2937;
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.entry-content h1 { font-size: 2rem; }
.entry-content h2 { font-size: 1.75rem; }
.entry-content h3 { font-size: 1.5rem; }
.entry-content h4 { font-size: 1.25rem; }
.entry-content h5 { font-size: 1.125rem; }
.entry-content h6 { font-size: 1rem; }

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

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.5rem;
  padding-left: 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content blockquote {
  border-left: 4px solid #3b82f6;
  background: #eff6ff;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  font-style: italic;
  border-radius: 0 6px 6px 0;
}

.entry-content code {
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
  color: #ef4444;
}

.entry-content pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 1.5rem;
  border-radius: 8px;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Archive/Category Layout */
.page-header {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.page-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.archive-description {
  font-size: 1.125rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Posts Grid Layout */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.post-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
  overflow: hidden;
  transition: all 0.2s ease;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.post-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: #f3f4f6;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.2s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-content {
  padding: 1.5rem;
}

.post-card-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.post-card-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-card-title a:hover {
  color: #3b82f6;
}

.post-card-excerpt {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  color: #9ca3af;
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

/* Search Results */
.search-header {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.search-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.search-query {
  font-size: 1.125rem;
  opacity: 0.9;
}

.search-results-count {
  margin: 1rem 0;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Navigation */
.post-navigation {
  margin: 3rem 0;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 12px;
}

.nav-links {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
}

.nav-links > div {
  flex: 1;
  display: flex;
}

.nav-links a {
  display: block;
  width: 100%;
  padding: 1.5rem;
  background: white;
  border-radius: 8px;
  text-decoration: none;
  color: #374151;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
  border: 1px solid #e5e7eb;
}

.nav-links a:hover {
  color: #3b82f6;
  background: #f8fafc;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  border-color: #3b82f6;
}

.nav-subtitle {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.5rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.nav-title {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.4;
}

/* Navigation alignment */
.nav-previous {
  text-align: left;
}

.nav-next {
  text-align: right;
}

/* Pagination */
.posts-navigation {
  margin: 3rem 0;
}

.pagination {
    display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pagination a,
.pagination span {
  padding: 0.5rem 1rem;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
  min-width: 44px;
    text-align: center;
  }

.pagination a {
  background: white;
  color: #374151;
  border: 1px solid #d1d5db;
}

.pagination a:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.pagination .current {
  background: #3b82f6;
  color: white;
  border: 1px solid #3b82f6;
}

/* Comments Section */
.comments-area {
  margin-top: 3rem;
  padding: 2rem;
  background: #f9fafb;
  border-radius: 12px;
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1f2937;
  margin-bottom: 1.5rem;
}

/* ================================================
   SEARCH FORM & UTILITY COMPONENTS
   ================================================ */

/* Search Form */
.search-form {
  margin: 1.5rem 0;
}

.search-form-wrapper {
  display: flex;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.search-field {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 8px 0 0 8px;
  font-size: 1rem;
  background: white;
  transition: border-color 0.2s ease;
}

.search-field:focus {
  outline: none;
  border-color: #3b82f6;
}

.search-submit {
  padding: 0.75rem 1rem;
  background: #3b82f6;
  color: white;
  border: 2px solid #3b82f6;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.search-submit:hover {
  background: #2563eb;
  border-color: #2563eb;
}

.search-submit svg {
  width: 18px;
  height: 18px;
}

/* No Posts Found */
.no-posts-found {
  text-align: center;
  padding: 3rem 2rem;
}

.no-posts-icon {
  margin-bottom: 1.5rem;
}

.no-posts-icon svg {
  width: 64px;
  height: 64px;
  color: #9ca3af;
}

.no-posts-found h2 {
  font-size: 1.5rem;
  color: #374151;
  margin-bottom: 1rem;
}

.no-posts-found p {
  color: #6b7280;
  margin-bottom: 2rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.search-suggestions {
  background: #f9fafb;
  padding: 1.5rem;
    border-radius: 8px;
  margin: 2rem 0;
  text-align: left;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.search-suggestions h3 {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 0.75rem;
}

.search-suggestions ul {
  list-style: none;
    padding: 0;
  margin: 0;
}

.search-suggestions li {
  padding: 0.25rem 0;
  color: #6b7280;
  font-size: 0.875rem;
}

.search-suggestions li:before {
  content: "â€¢";
  color: #3b82f6;
  font-weight: bold;
  display: inline-block;
  width: 1em;
}

.search-form-container {
  margin: 2rem 0;
}

.search-form-container h3 {
  font-size: 1rem;
  color: #374151;
  margin-bottom: 1rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.875rem;
  transition: all 0.2s ease;
  border: 1px solid;
  cursor: pointer;
  line-height: 1;
}

.btn-primary {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

.btn-primary:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.btn svg {
  width: 16px;
  height: 16px;
}

/* Meta styles */
.post-meta-left,
.post-meta-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.post-meta-left span,
.post-meta-right span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
}

.post-meta-left svg,
.post-meta-right svg {
  width: 12px;
  height: 12px;
}

/* Search highlight */
mark {
  background: #fbbf24;
  color: #92400e;
  padding: 0.125rem 0.25rem;
  border-radius: 2px;
}

/* Entry footer */
.entry-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.875rem;
}

.entry-footer span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
}

.entry-footer svg {
  width: 14px;
  height: 14px;
}

.entry-footer a {
  color: #3b82f6;
  text-decoration: none;
  transition: color 0.2s ease;
}

.entry-footer a:hover {
  color: #1d4ed8;
}

/* Page links */
.page-links {
  margin: 2rem 0;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  text-align: center;
}

.page-links a {
  display: inline-block;
  padding: 0.5rem 0.75rem;
  margin: 0 0.25rem;
  background: white;
  color: #374151;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  transition: all 0.2s ease;
}

.page-links a:hover {
  background: #3b82f6;
  color: white;
  border-color: #3b82f6;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 768px) {
  .site-main {
    padding: 1rem 0.75rem;
  }

  .post-article,
  .page-article {
    padding: 1.5rem;
  }

  .entry-title {
    font-size: 1.875rem;
  }

  .entry-content {
    font-size: 1rem;
  }

.page-header {
    padding: 2rem 1rem;
  }

.page-title {
  font-size: 2rem;
  }

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

  .post-card-content {
    padding: 1rem;
  }

.nav-links {
    flex-direction: column;
  }

  .entry-meta {
    flex-direction: column;
    align-items: flex-start;
  gap: 0.5rem;
  }

  .search-form-wrapper {
    max-width: 100%;
  }
  
.no-posts-found {
    padding: 2rem 1rem;
  }
  
  .search-suggestions {
    margin: 1.5rem 0;
    padding: 1rem;
  }
  
  .entry-footer {
    flex-direction: column;
    gap: 0.5rem;
  }
}

@media (max-width: 480px) {
  .site-main {
    padding: 0.1rem 0.1rem;
  }

  .post-article,
  .page-article {
    padding: 1rem;
  }

  .entry-title {
    font-size: 1.5rem;
  }

  .page-title {
    font-size: 1.75rem;
  }

  .post-card-content {
    padding: 0.75rem;
  }

  .post-navigation,
  .comments-area {
    padding: 1rem;
  }

  .search-field,
  .search-submit {
    padding: 0.625rem 0.75rem;
  }
  
  .btn {
    padding: 0.625rem 1rem;
    font-size: 0.8rem;
  }
  
  .no-posts-icon svg {
    width: 48px;
    height: 48px;
  }
}

/* ================================================
   FOOTER STYLES
   ================================================ */

.site-footer {
  background: linear-gradient(135deg, rgba(139, 110, 99, 0.92) 0%, rgba(121, 85, 72, 0.92) 100%);
  color: #f5f5dc;
  padding: 2rem 1rem;
    text-align: center;
  font-size: 0.9rem;
  margin-top: 3rem;
  border-top: 2px solid rgba(160, 130, 90, 0.6);
  box-shadow: 0 -2px 12px rgba(139, 110, 99, 0.2);
  backdrop-filter: blur(10px);
  }

.footer-navigation {
  margin-bottom: 1.5rem;
  }

.footer-navigation ul {
  list-style: none;
  padding: 0;
    margin: 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-navigation li {
  margin: 0;
}

.footer-navigation a {
  color: #f5f5dc;
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.5rem;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-block;
}

.footer-navigation a:hover {
  color: #fff8e1;
  background: rgba(160, 130, 90, 0.3);
  text-decoration: none;
}


.site-info p {
  margin: 0.5rem 0;
  line-height: 1.6;
}

.site-info strong {
  color: #fff8e1;
    font-weight: 600;
  }

@media (max-width: 768px) {
  .site-footer {
    padding: 1.5rem 0.75rem;
    font-size: 0.85rem;
  }
  
  .footer-navigation ul {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .footer-navigation a {
    font-size: 0.85rem;
  }
}

@media (max-width: 480px) {
  .site-footer {
    padding: 1rem 0.5rem;
    font-size: 0.8rem;
  }
  
  .footer-navigation a {
    font-size: 0.8rem;
    padding: 0.25rem;
  }
}