/* =============================================================
   WordPress core classes only.
   The original project stylesheet (style.css) is untouched;
   this file adds nothing but the markup classes WordPress itself
   outputs (alignments, captions, comments, pagination, widgets).
   ============================================================= */

/* --- 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: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(27, 59, 43, .06);
  clip: auto !important;
  clip-path: none;
  color: #1B3B2B;
  display: block;
  font-size: 14px;
  font-weight: 700;
  height: auto;
  inset-inline-start: 16px;
  line-height: normal;
  padding: 14px 22px;
  text-decoration: none;
  top: 16px;
  width: auto;
  z-index: 100000;
}

/* --- Alignments --------------------------------------------------- */
.alignleft {
  float: left;
  margin-inline-end: 24px;
  margin-bottom: 16px;
}

.alignright {
  float: right;
  margin-inline-start: 24px;
  margin-bottom: 16px;
}

.aligncenter {
  clear: both;
  display: block;
  margin-inline: auto;
  margin-bottom: 16px;
}

.alignwide {
  max-width: 1280px;
  margin-inline: auto;
}

.alignfull {
  max-width: none;
  width: 100%;
}

/* --- Captions & galleries ----------------------------------------- */
.wp-caption {
  max-width: 100%;
  margin-bottom: 24px;
}

.wp-caption img {
  border-radius: 16px;
  display: block;
}

.wp-caption-text,
.wp-block-image figcaption {
  color: #6E6A63;
  font-size: 14px;
  padding-top: 10px;
  text-align: center;
}

.gallery {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  margin-bottom: 24px;
}

.gallery img {
  border-radius: 16px;
  display: block;
  width: 100%;
}

/* --- Sticky post -------------------------------------------------- */
.sticky .entry-title::after {
  color: #C5A85C;
  content: " \2605";
}

/* --- Page & entry shells ------------------------------------------ */
.page-section {
  padding: 64px 0;
}

.page-header {
  margin-bottom: 34px;
}

.page-header--center {
  text-align: center;
}

.post-layout {
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
}

.no-sidebar .post-layout,
.post-layout:has(> .widget-area:empty) {
  grid-template-columns: minmax(0, 1fr);
}

.post-list {
  display: grid;
  gap: 28px;
}

.entry {
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(27, 59, 43, .06);
  overflow: hidden;
  transition: box-shadow .35s cubic-bezier(.22, .61, .36, 1), transform .35s cubic-bezier(.22, .61, .36, 1);
}

.entry:hover {
  box-shadow: 0 10px 30px rgba(27, 59, 43, .08);
  transform: translateY(-3px);
}

.entry--single,
.entry--single:hover {
  box-shadow: none;
  transform: none;
}

.entry-media img {
  display: block;
  height: auto;
  width: 100%;
}

.entry-body {
  padding: 26px 28px 30px;
}

.entry-title {
  color: #1B3B2B;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 10px;
}

.entry-title a:hover {
  color: #C5A85C;
}

.entry-meta {
  color: #6E6A63;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 10px;
  margin-bottom: 14px;
}

.entry-meta .sep {
  color: #C5A85C;
}

.entry-excerpt {
  color: #6E6A63;
  margin-bottom: 20px;
}

.entry-content > * + * {
  margin-top: 20px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #1B3B2B;
  line-height: 1.45;
}

.entry-content img,
.entry-content iframe {
  border-radius: 16px;
  max-width: 100%;
}

.entry-content ul,
.entry-content ol {
  padding-inline-start: 22px;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content blockquote {
  background: #F4F1EA;
  border-inline-start: 3px solid #C5A85C;
  border-radius: 16px;
  padding: 20px 24px;
}

.entry-content table {
  border-collapse: collapse;
  width: 100%;
}

.entry-content th,
.entry-content td {
  border: 1px solid #ECECEC;
  padding: 12px 14px;
  text-align: start;
}

.entry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 28px 26px;
}

.entry-tags a {
  background: #F4F1EA;
  border-radius: 999px;
  color: #1B3B2B;
  font-size: 13px;
  padding: 7px 16px;
}

.entry-tags a:hover {
  background: #C5A85C;
  color: #fff;
}

.error-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-bottom: 30px;
}

.search-form-wrap {
  margin-inline: auto;
  max-width: 560px;
}

.search--wp {
  display: flex;
}

/* --- Pagination & post navigation --------------------------------- */
.pagination,
.post-nav {
  margin-top: 40px;
}

.pagination .nav-links,
.post-nav .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pagination .page-numbers {
  align-items: center;
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 999px;
  color: #1B3B2B;
  display: inline-flex;
  font-weight: 600;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  padding: 0 14px;
  transition: all .35s cubic-bezier(.22, .61, .36, 1);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
  background: #1B3B2B;
  border-color: #1B3B2B;
  color: #fff;
}

.post-nav .nav-links {
  justify-content: space-between;
}

.post-nav a {
  color: #1B3B2B;
  font-weight: 600;
}

.post-nav a:hover {
  color: #C5A85C;
}

.post-nav span {
  color: #6E6A63;
  display: block;
  font-size: 13px;
  font-weight: 400;
}

/* --- Widgets ------------------------------------------------------ */
.widget-area {
  display: grid;
  gap: 24px;
}

.widget {
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 24px;
  box-shadow: 0 2px 10px rgba(27, 59, 43, .06);
  padding: 24px 26px;
}

.widget-title {
  color: #1B3B2B;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
}

.widget ul {
  display: grid;
  gap: 10px;
}

.widget ul a {
  color: #6E6A63;
}

.widget ul a:hover {
  color: #C5A85C;
}

/* --- Comments ----------------------------------------------------- */
.comments-area {
  background: #fff;
  border: 1px solid #ECECEC;
  border-radius: 24px;
  margin-top: 40px;
  padding: 30px 32px 34px;
}

.comments-title {
  color: #1B3B2B;
  font-size: 22px;
  margin: 0 0 22px;
}

.comment-list,
.comment-list .children {
  display: grid;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment-list .children {
  margin-top: 22px;
  padding-inline-start: 26px;
}

.comment-body {
  border-bottom: 1px solid #ECECEC;
  padding-bottom: 20px;
}

.comment-author img {
  border-radius: 999px;
  margin-inline-end: 12px;
  vertical-align: middle;
}

.comment-metadata {
  color: #6E6A63;
  font-size: 13px;
  margin-bottom: 8px;
}

.comment-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

.comment-form label {
  color: #1B3B2B;
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
  background: #FAF9F6;
  border: 1px solid #ECECEC;
  border-radius: 16px;
  font: inherit;
  padding: 14px 18px;
  width: 100%;
}

.comment-form input:focus,
.comment-form textarea:focus {
  border-color: #C5A85C;
  outline: none;
}

/* --- Responsive --------------------------------------------------- */
@media (max-width: 920px) {
  .post-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  .page-section {
    padding: 44px 0;
  }

  .entry-body {
    padding: 22px 20px 26px;
  }

  .comments-area {
    padding: 24px 20px 28px;
  }
}
