/*
Theme Name: ALittleLA
Theme URI:
Author: ALittleLA
Author URI:
Description: A blog about Los Angeles and the landscapes that surround it. Photos, observations, and the occasional long walk.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: alittlela
*/

/* ========== Reset & Base ========== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

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

body {
  min-height: 100vh;
  background: #f5f2ed;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: #333;
  line-height: 1.6;
}

a {
  color: #555;
  text-decoration: none;
  transition: color 0.15s;
}

a:hover {
  color: #111;
}

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

ul, ol {
  list-style: none;
}

/* ========== Layout ========== */

.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-content {
  flex: 1;
}

.container {
  max-width: 1152px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container--narrow {
  max-width: 768px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ========== Header ========== */

.site-header {
  background: #eae7e1;
  border-bottom: 1px solid #ddd8d1;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.site-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: #222;
}

.site-logo:hover {
  color: #222;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: #777;
}

.site-nav a:hover {
  color: #111;
}

.site-nav .current-menu-item a,
.site-nav .current_page_item a {
  color: #333;
}

/* ========== Footer ========== */

.site-footer {
  background: #eae7e1;
  border-top: 1px solid #ddd8d1;
}

.site-footer .container {
  padding-top: 40px;
  padding-bottom: 40px;
}

.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.footer-brand {
  font-size: 14px;
  font-weight: 700;
  color: #222;
}

.footer-desc {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #888;
}

.footer-heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b5b0a8;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a {
  font-size: 14px;
  color: #777;
}

.footer-links a:hover {
  color: #111;
}

.footer-copyright {
  margin-top: 40px;
  font-size: 12px;
  color: #c0bbb4;
}

/* ========== Section Headings ========== */

.section-label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b5b0a8;
}

/* ========== Featured Post ========== */

.featured-post {
  padding-top: 32px;
}

.featured-post a {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.featured-post img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.featured-post__body {
  padding: 24px 32px;
}

.featured-post__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b5b0a8;
}

.featured-post__title {
  margin-top: 8px;
  font-size: 24px;
  font-weight: 700;
  color: #222;
}

.featured-post__meta {
  margin-top: 4px;
  font-size: 12px;
  color: #b5b0a8;
}

.featured-post__excerpt {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

.featured-post__more {
  margin-top: 16px;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  color: #888;
}

/* ========== Home Content Area ========== */

.home-content {
  padding-top: 40px;
  padding-bottom: 48px;
}

.home-content .container {
  display: flex;
  gap: 32px;
}

.home-main {
  flex: 1;
  min-width: 0;
}

/* ========== Post Grid ========== */

.post-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 640px) {
  .post-grid {
    grid-template-columns: 1fr;
  }
}

.post-card {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.post-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.post-card__body {
  padding: 16px 20px;
}

.post-card__title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.post-card__date {
  margin-top: 4px;
  font-size: 12px;
  color: #b5b0a8;
}

.post-card__excerpt {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.post-card__more {
  margin-top: 12px;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #999;
}

/* ========== Sidebar ========== */

.home-sidebar {
  width: 280px;
  flex-shrink: 0;
}

@media (max-width: 1023px) {
  .home-sidebar {
    display: none;
  }
}

.sidebar-widget {
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.sidebar-widget + .sidebar-widget {
  margin-top: 20px;
}

.sidebar-widget__title {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b5b0a8;
}

.sidebar-widget p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #666;
}

.sidebar-widget .widget-link {
  margin-top: 12px;
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  color: #999;
}

/* Older posts list */

.older-posts-list {
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.older-posts-list li {
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.older-posts-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.older-posts-list a {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.older-posts-list a:hover {
  text-decoration: underline;
}

.older-posts-list .post-date {
  margin-top: 2px;
  font-size: 12px;
  color: #bbb;
}

/* Tags */

.tag-list {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-list a,
.tag-list span {
  display: inline-block;
  border-radius: 4px;
  padding: 4px 10px;
  font-size: 12px;
  background: #f5f2ed;
  color: #777;
}

.tag-list a:hover {
  color: #333;
}

/* ========== Single Post ========== */

.single-post {
  padding-top: 40px;
  padding-bottom: 40px;
}

.single-post__back {
  font-size: 12px;
  font-weight: 500;
  color: #999;
}

.single-post__image {
  margin-top: 24px;
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 8px;
}

.single-post__title {
  margin-top: 24px;
  font-size: 30px;
  font-weight: 700;
  color: #222;
}

.single-post__meta {
  margin-top: 8px;
  font-size: 14px;
  color: #b5b0a8;
}

.single-post__content {
  margin-top: 24px;
  color: #555;
}

/* ========== Rich Content Styles ==========
   Styles for ALL content output: block editor, Elementor, classic editor.
   These apply inside .single-post__content, .entry-content, and
   the Elementor wrapper .elementor so everything looks consistent.
   ========================================= */

.single-post__content p,
.entry-content p {
  margin-bottom: 16px;
  font-size: 15px;
  line-height: 1.7;
}

.single-post__content p:last-child,
.entry-content p:last-child {
  margin-bottom: 0;
}

/* Headings */

.single-post__content h1,
.entry-content h1 {
  margin: 40px 0 16px;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.25;
  color: #222;
}

.single-post__content h2,
.entry-content h2 {
  margin: 36px 0 14px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
  color: #222;
}

.single-post__content h3,
.entry-content h3 {
  margin: 28px 0 12px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
  color: #222;
}

.single-post__content h4,
.entry-content h4 {
  margin: 24px 0 10px;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
}

.single-post__content h5,
.entry-content h5 {
  margin: 20px 0 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.4;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.single-post__content h6,
.entry-content h6 {
  margin: 20px 0 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* First heading in content shouldn't have top margin */
.single-post__content > h1:first-child,
.single-post__content > h2:first-child,
.single-post__content > h3:first-child,
.entry-content > h1:first-child,
.entry-content > h2:first-child,
.entry-content > h3:first-child {
  margin-top: 0;
}

/* Links in content */

.single-post__content a,
.entry-content a {
  color: #555;
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-color: #ccc;
  transition: color 0.15s, text-decoration-color 0.15s;
}

.single-post__content a:hover,
.entry-content a:hover {
  color: #111;
  text-decoration-color: #111;
}

/* Bold & italic */

.single-post__content strong,
.entry-content strong {
  font-weight: 600;
  color: #333;
}

.single-post__content em,
.entry-content em {
  font-style: italic;
}

/* Lists */

.single-post__content ul,
.entry-content ul {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.single-post__content ol,
.entry-content ol {
  margin: 0 0 20px 24px;
  list-style: decimal;
}

.single-post__content li,
.entry-content li {
  margin-bottom: 8px;
  font-size: 15px;
  line-height: 1.7;
}

.single-post__content li > ul,
.single-post__content li > ol,
.entry-content li > ul,
.entry-content li > ol {
  margin-top: 8px;
  margin-bottom: 0;
}

/* Blockquotes */

.single-post__content blockquote,
.entry-content blockquote {
  margin: 28px 0;
  padding: 20px 24px;
  border-left: 3px solid #ddd8d1;
  background: #fff;
  border-radius: 0 8px 8px 0;
}

.single-post__content blockquote p,
.entry-content blockquote p {
  font-size: 16px;
  font-style: italic;
  color: #555;
}

.single-post__content blockquote cite,
.entry-content blockquote cite {
  display: block;
  margin-top: 12px;
  font-size: 13px;
  font-style: normal;
  color: #999;
}

/* Pull quotes (WP block) */

.single-post__content .wp-block-pullquote,
.entry-content .wp-block-pullquote {
  margin: 32px 0;
  padding: 32px;
  border-top: 3px solid #ddd8d1;
  border-bottom: 3px solid #ddd8d1;
  border-left: none;
  text-align: center;
  background: transparent;
}

.single-post__content .wp-block-pullquote p,
.entry-content .wp-block-pullquote p {
  font-size: 20px;
  font-weight: 500;
  color: #333;
}

/* Images */

.single-post__content img,
.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.single-post__content .wp-block-image,
.entry-content .wp-block-image {
  margin: 24px 0;
}

.single-post__content .wp-block-image img,
.entry-content .wp-block-image img {
  border-radius: 8px;
}

.single-post__content .wp-block-image figcaption,
.entry-content .wp-block-image figcaption,
.single-post__content figcaption,
.entry-content figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #999;
  text-align: center;
  font-style: italic;
}

/* Galleries */

.single-post__content .wp-block-gallery,
.entry-content .wp-block-gallery {
  margin: 28px 0;
  gap: 12px;
}

.single-post__content .wp-block-gallery .wp-block-image,
.entry-content .wp-block-gallery .wp-block-image {
  margin: 0;
}

.single-post__content .wp-block-gallery img,
.entry-content .wp-block-gallery img {
  border-radius: 6px;
}

.single-post__content .wp-block-gallery figcaption,
.entry-content .wp-block-gallery figcaption {
  font-size: 12px;
  padding: 6px 10px;
}

/* Video & Embeds */

.single-post__content .wp-block-embed,
.entry-content .wp-block-embed {
  margin: 28px 0;
}

.single-post__content .wp-block-embed__wrapper,
.entry-content .wp-block-embed__wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 8px;
}

.single-post__content .wp-block-embed__wrapper iframe,
.single-post__content .wp-block-embed__wrapper video,
.entry-content .wp-block-embed__wrapper iframe,
.entry-content .wp-block-embed__wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}

.single-post__content .wp-block-embed figcaption,
.entry-content .wp-block-embed figcaption {
  margin-top: 8px;
  font-size: 13px;
  color: #999;
  text-align: center;
}

.single-post__content .wp-block-video,
.entry-content .wp-block-video {
  margin: 28px 0;
}

.single-post__content .wp-block-video video,
.entry-content .wp-block-video video {
  width: 100%;
  border-radius: 8px;
}

/* Audio */

.single-post__content .wp-block-audio,
.entry-content .wp-block-audio {
  margin: 24px 0;
}

.single-post__content .wp-block-audio audio,
.entry-content .wp-block-audio audio {
  width: 100%;
}

/* Separators / Horizontal rules */

.single-post__content hr,
.single-post__content .wp-block-separator,
.entry-content hr,
.entry-content .wp-block-separator {
  margin: 36px 0;
  border: none;
  border-top: 1px solid #e0ddd8;
}

.single-post__content .wp-block-separator.is-style-dots,
.entry-content .wp-block-separator.is-style-dots {
  border: none;
  text-align: center;
}

.single-post__content .wp-block-separator.is-style-wide,
.entry-content .wp-block-separator.is-style-wide {
  border-top-width: 2px;
}

/* Columns */

.single-post__content .wp-block-columns,
.entry-content .wp-block-columns {
  margin: 28px 0;
  gap: 24px;
}

.single-post__content .wp-block-column,
.entry-content .wp-block-column {
  margin: 0;
}

/* Tables */

.single-post__content table,
.entry-content table {
  width: 100%;
  margin: 24px 0;
  border-collapse: collapse;
  font-size: 14px;
}

.single-post__content th,
.entry-content th {
  padding: 10px 14px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #888;
  background: #faf9f7;
  border-bottom: 2px solid #e0ddd8;
  text-align: left;
}

.single-post__content td,
.entry-content td {
  padding: 10px 14px;
  border-bottom: 1px solid #eee;
  color: #555;
}

.single-post__content tr:last-child td,
.entry-content tr:last-child td {
  border-bottom: none;
}

/* Code blocks */

.single-post__content code,
.entry-content code {
  font-family: 'SF Mono', 'Fira Code', 'Consolas', monospace;
  font-size: 0.875em;
  padding: 2px 6px;
  background: #f0ede8;
  border-radius: 3px;
  color: #555;
}

.single-post__content pre,
.entry-content pre,
.single-post__content .wp-block-code,
.entry-content .wp-block-code {
  margin: 24px 0;
  padding: 20px;
  background: #2d2d2d;
  border-radius: 8px;
  overflow-x: auto;
}

.single-post__content pre code,
.entry-content pre code,
.single-post__content .wp-block-code code,
.entry-content .wp-block-code code {
  padding: 0;
  background: transparent;
  color: #e0e0e0;
  font-size: 13px;
  line-height: 1.6;
}

/* Buttons */

.single-post__content .wp-block-button,
.entry-content .wp-block-button {
  margin: 20px 0;
}

.single-post__content .wp-block-button__link,
.entry-content .wp-block-button__link {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  background: #555;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
}

.single-post__content .wp-block-button__link:hover,
.entry-content .wp-block-button__link:hover {
  background: #333;
  color: #fff;
}

.single-post__content .wp-block-button.is-style-outline .wp-block-button__link,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #555;
  border: 1px solid #ddd8d1;
}

.single-post__content .wp-block-button.is-style-outline .wp-block-button__link:hover,
.entry-content .wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: #f5f2ed;
  color: #222;
}

/* Group block / container */

.single-post__content .wp-block-group,
.entry-content .wp-block-group {
  margin: 24px 0;
}

.single-post__content .wp-block-group.has-background,
.entry-content .wp-block-group.has-background {
  padding: 24px;
  border-radius: 8px;
}

/* Cover block */

.single-post__content .wp-block-cover,
.entry-content .wp-block-cover {
  margin: 28px 0;
  border-radius: 8px;
  overflow: hidden;
}

/* Spacer */

.single-post__content .wp-block-spacer,
.entry-content .wp-block-spacer {
  margin: 0;
}

/* Details / Accordion */

.single-post__content details,
.entry-content details {
  margin: 16px 0;
  padding: 16px 20px;
  background: #fff;
  border-radius: 8px;
  border: 1px solid #eee;
}

.single-post__content summary,
.entry-content summary {
  font-weight: 600;
  color: #333;
  cursor: pointer;
}

/* Wide & Full-width alignments */

.alignwide {
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.alignfull img {
  border-radius: 0;
  width: 100%;
}

.alignleft {
  float: left;
  margin: 4px 24px 16px 0;
  max-width: 50%;
}

.alignright {
  float: right;
  margin: 4px 0 16px 24px;
  max-width: 50%;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* Clear floats after aligned content */

.single-post__content::after,
.entry-content::after {
  content: '';
  display: table;
  clear: both;
}

/* WordPress caption (classic editor) */

.wp-caption {
  max-width: 100%;
  margin: 24px 0;
}

.wp-caption img {
  border-radius: 8px;
}

.wp-caption-text {
  margin-top: 8px;
  font-size: 13px;
  color: #999;
  text-align: center;
  font-style: italic;
}

/* ========== Contact Form 7 Styles ========== */

.wpcf7 {
  max-width: 100%;
}

.wpcf7-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wpcf7-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b5b0a8;
  margin-bottom: 4px;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="url"],
.wpcf7-form textarea {
  width: 100%;
  border-radius: 4px;
  border: 1px solid #ddd8d1;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #faf9f7;
  color: #333;
  outline: none;
  transition: border-color 0.15s;
}

.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #b5b0a8;
}

.wpcf7-form textarea {
  resize: vertical;
  min-height: 140px;
}

.wpcf7-form input[type="submit"] {
  align-self: flex-start;
  border: none;
  border-radius: 4px;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  background: #888;
  cursor: pointer;
  transition: background 0.15s;
}

.wpcf7-form input[type="submit"]:hover {
  background: #666;
}

.wpcf7-response-output {
  margin: 16px 0 0 !important;
  padding: 12px !important;
  border-radius: 6px !important;
  font-size: 14px;
}

.wpcf7-not-valid-tip {
  font-size: 12px;
  color: #c0392b;
  margin-top: 4px;
}

/* ========== Elementor Overrides ========== */
/* Make Elementor content match the theme's warm palette */

.elementor-page .site-content {
  padding: 0;
}

.elementor-section {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

.elementor-widget-text-editor {
  color: #555;
  font-size: 15px;
  line-height: 1.7;
}

.elementor-widget-text-editor h1,
.elementor-widget-text-editor h2,
.elementor-widget-text-editor h3,
.elementor-widget-text-editor h4 {
  color: #222;
}

.elementor-widget-text-editor a {
  color: #555;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.elementor-widget-text-editor a:hover {
  color: #111;
}

/* Elementor buttons */

.elementor-button {
  font-family: 'Inter', system-ui, sans-serif !important;
  font-weight: 500 !important;
  border-radius: 6px !important;
}

/* Elementor image styling */

.elementor-widget-image img {
  border-radius: 8px;
}

/* Post Navigation */

.post-navigation {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #e0ddd8;
  display: flex;
  gap: 16px;
}

.post-navigation a,
.post-navigation .nav-placeholder {
  flex: 1;
}

.post-navigation a {
  display: block;
  border-radius: 8px;
  padding: 16px 20px;
  background: #fff;
}

.post-navigation .nav-label {
  font-size: 12px;
  color: #b5b0a8;
}

.post-navigation .nav-title {
  margin-top: 4px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

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

/* ========== Page Styles ========== */

.page-header {
  padding-top: 40px;
}

.page-title {
  font-size: 30px;
  font-weight: 700;
  color: #222;
}

.page-subtitle {
  margin-top: 8px;
  font-size: 14px;
  color: #888;
}

/* ========== About Page ========== */

.about-intro {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 640px) {
  .about-intro {
    flex-direction: row;
  }
}

.about-intro__image {
  overflow: hidden;
  border-radius: 8px;
}

@media (min-width: 640px) {
  .about-intro__image {
    width: 256px;
    flex-shrink: 0;
  }
}

.about-intro__image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.about-intro__text h2 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.about-intro__text p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.about-section {
  margin-top: 40px;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.about-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.about-section p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.6;
  color: #555;
}

.about-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
}

.about-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.about-list .item-label {
  font-size: 14px;
  font-weight: 600;
  color: #333;
}

.about-list .item-desc {
  margin-top: 4px;
  font-size: 14px;
  color: #777;
}

/* ========== Archive Page ========== */

.archive-page {
  padding-top: 40px;
  padding-bottom: 40px;
}

.archive-month {
  margin-top: 32px;
}

.archive-month:first-child {
  margin-top: 0;
}

.archive-month__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b5b0a8;
}

.archive-month__list {
  margin-top: 12px;
  border-radius: 8px;
  background: #fff;
}

.archive-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #eee;
}

.archive-item:last-child {
  border-bottom: none;
}

.archive-item__content {
  flex: 1;
  min-width: 0;
}

.archive-item__title {
  font-size: 14px;
  font-weight: 600;
  color: #222;
}

.archive-item__excerpt {
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: #888;
}

.archive-item__side {
  margin-left: 24px;
  flex-shrink: 0;
}

.archive-item__date {
  font-size: 12px;
  color: #bbb;
}

.archive-item__thumb {
  margin-top: 8px;
  width: 80px;
  height: 52px;
  object-fit: cover;
  border-radius: 4px;
}

.archive-end {
  margin-top: 40px;
  border-radius: 8px;
  padding: 20px 24px;
  background: #fff;
  text-align: center;
}

.archive-end p {
  font-size: 14px;
  color: #888;
}

/* ========== Contact Page ========== */

.contact-page {
  padding-top: 40px;
  padding-bottom: 40px;
}

.contact-layout {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

@media (min-width: 1024px) {
  .contact-layout {
    flex-direction: row;
  }
}

.contact-form-wrap {
  flex: 1;
  border-radius: 8px;
  padding: 24px;
  background: #fff;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b5b0a8;
}

.contact-form input,
.contact-form textarea {
  margin-top: 4px;
  width: 100%;
  border-radius: 4px;
  border: 1px solid #ddd8d1;
  padding: 8px 12px;
  font-size: 14px;
  font-family: inherit;
  background: #faf9f7;
  color: #333;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #b5b0a8;
}

.contact-form textarea {
  resize: none;
  height: 140px;
}

.contact-form button {
  align-self: flex-start;
  border: none;
  border-radius: 4px;
  padding: 8px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  color: #fff;
  background: #888;
  cursor: pointer;
  transition: background 0.15s;
}

.contact-form button:hover {
  background: #666;
}

.contact-success {
  padding: 40px 0;
  text-align: center;
}

.contact-success h3 {
  font-size: 18px;
  font-weight: 600;
  color: #222;
}

.contact-success p {
  margin-top: 8px;
  font-size: 14px;
  color: #888;
}

.contact-sidebar {
  width: 100%;
}

@media (min-width: 1024px) {
  .contact-sidebar {
    width: 256px;
    flex-shrink: 0;
  }
}

.contact-info {
  border-radius: 8px;
  padding: 20px;
  background: #fff;
}

.contact-info__heading {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #b5b0a8;
}

.contact-info__list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-info__label {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: #b5b0a8;
}

.contact-info__value {
  margin-top: 2px;
  font-size: 14px;
  color: #555;
}

.contact-image {
  margin-top: 20px;
  border-radius: 8px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* ========== 404 Page ========== */

.error-404 {
  padding: 80px 24px;
  text-align: center;
}

.error-404 h1 {
  font-size: 24px;
  font-weight: 700;
  color: #222;
}

.error-404 p {
  margin-top: 8px;
  font-size: 14px;
  color: #888;
}

.error-404 a {
  margin-top: 16px;
  display: inline-block;
  font-size: 14px;
  color: #888;
}

/* ========== Responsive ========== */

@media (max-width: 768px) {
  .featured-post img {
    height: 280px;
  }

  .single-post__image {
    height: 260px;
  }

  .post-navigation {
    flex-direction: column;
  }
}
