/* Theme Name: Moore Child Theme
Theme URI: https://themeforest.net/user/ovatheme/portfolio
Description: This is child theme of moore
Author: Ovatheme
Author URI: https://themeforest.net/user/ovatheme
Template: moore
Version: 1.0.0
Tags: two-columns, three-columns, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, flexible-header, full-width-template, post-formats, rtl-language-support, sticky-post, translation-ready
Text Domain:  moore-child
*/

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;1,400&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500&display=swap');
 
/* ============================================
   BLOG ARCHIVE — POST CARDS
   ============================================ */
 
.post-wrap {
  background: #fff;
  margin-bottom: 48px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
 
.post-wrap:hover {
  box-shadow: none;
}
 
/* Image */
.post-wrap .post-media {
  overflow: hidden;
  display: block;
  height: 360px;
}
 
.post-wrap .post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1) !important;
  transition: transform 0.8s cubic-bezier(0.22,1,0.36,1) !important;
}
 
.post-wrap:hover .post-media img {
  transform: scale(1.04) !important;
}
 
/* Title */
.post-wrap .post-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  margin: 20px 0 12px;
  padding: 0;
}
 
.post-wrap .post-title a {
  color: #2C2B28;
  text-decoration: none;
  transition: color 0.3s ease;
}
 
.post-wrap .post-title a:hover {
  color: #7A8C6E;
}
 
/* Excerpt */
.post-wrap .post-excerpt {
  font-family: 'DM Sans', sans-serif;
  font-size: 14.5px;
  font-weight: 300;
  color: #6B6860;
  line-height: 1.85;
  margin-bottom: 16px;
}
 
.post-wrap .post-excerpt p {
  margin: 0;
}
 
/* Meta */
.post-wrap .meta ul {
  list-style: none;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
  margin: 0;
  padding: 12px 0 0;
  border-top: 1px solid #EEF1EB;
}
 
.post-wrap .meta ul li {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9C9A95;
}
 
.post-wrap .meta ul li.splash {
  margin: 0 8px;
  color: #D4D1CC;
}
 
.post-wrap .meta ul li.date {
  color: #7A8C6E;
}
 
.post-wrap .meta ul li a {
  color: #9C9A95;
  text-decoration: none;
  transition: color 0.3s ease;
}
 
.post-wrap .meta ul li a:hover {
  color: #7A8C6E;
}
 
/* ============================================
   SINGLE POST
   ============================================ */
 
/* Title */
.single .post-wrap .post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  color: #2C2B28;
  line-height: 1.2;
  margin-bottom: 20px;
}
 
/* Meta */
.single .post-wrap .post-meta ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 0 20px;
  margin: 0 0 24px;
  border-bottom: 1px solid #EEF1EB;
}
 
.single .post-wrap .post-meta ul li {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9C9A95;
}
 
.single .post-wrap .post-meta ul li.date { color: #7A8C6E; }
.single .post-wrap .post-meta ul li.splash { margin: 0 8px; color: #D4D1CC; }
.single .post-wrap .post-meta ul li a { color: #9C9A95; text-decoration: none; }
.single .post-wrap .post-meta ul li a:hover { color: #7A8C6E; }
 
/* Share icons */
.single .share {
  margin-bottom: 28px;
}
 
.single .share-social-icons {
  list-style: none;
  display: flex;
  gap: 10px;
  padding: 0;
  margin: 0;
}
 
.single .share-social-icons li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid #EEF1EB;
  color: #9C9A95;
  text-decoration: none;
  font-size: 13px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
 
.single .share-social-icons li a:hover {
  border-color: #7A8C6E;
  color: #7A8C6E;
}
 
/* Hide tumblr and twitter — not relevant */
.single .share-social-icons li a.ico-tumblr,
.single .share-social-icons li a.ico-twitter {
  display: none;
}
 
/* Hero image */
.single .post-wrap .post-media {
  height: auto;
  margin-bottom: 48px;
}
 
.single .post-wrap .post-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: none;
  transform: none !important;
  transition: none !important;
}
 
/* Post content */
.single .post-content {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  font-weight: 300;
  color: #5C5A55;
  line-height: 1.95;
  max-width: 720px;
}
 
.single .post-content p {
  margin-bottom: 24px;
}
 
.single .post-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  color: #2C2B28;
  line-height: 1.3;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid #EEF1EB;
}
 
.single .post-content h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #7A8C6E;
  margin: 32px 0 12px;
}
 
.single .post-content strong {
  font-weight: 500;
  color: #2C2B28;
}
 
.single .post-content em {
  font-style: italic;
  color: #7A8C6E;
}
 
.single .post-content a {
  color: #7A8C6E;
  text-decoration: none;
  border-bottom: 1px solid rgba(122,140,110,0.4);
  transition: border-color 0.3s ease;
}
 
.single .post-content a:hover {
  border-color: #7A8C6E;
}
 
/* Lists */
.single .post-content ul,
.single .post-content ol {
  padding-left: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
}
 
.single .post-content ul li,
.single .post-content ol li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15.5px;
  font-weight: 300;
  color: #5C5A55;
  line-height: 1.8;
  counter-increment: ol-counter;
}
 
.single .post-content ul li::before {
  content: '';
  flex-shrink: 0;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #7A8C6E;
  margin-top: 9px;
}
 
.single .post-content ol {
  counter-reset: ol-counter;
}
 
.single .post-content ol li::before {
  content: counter(ol-counter) ".";
  flex-shrink: 0;
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  color: #7A8C6E;
  font-weight: 400;
  min-width: 20px;
}
 
/* Separator */
.single .post-content hr {
  border: none;
  border-top: 1px solid #EEF1EB;
  margin: 48px 0;
}
 
/* Tags */
.single .post-tags {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #EEF1EB;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
 
.single .post-tags a {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #5C5A55;
  text-decoration: none;
  border: 1px solid #EEF1EB;
  padding: 5px 12px;
  transition: border-color 0.3s ease, color 0.3s ease;
}
 
.single .post-tags a:hover {
  border-color: #7A8C6E;
  color: #7A8C6E;
}
 
#sidebar {
  font-family: 'DM Sans', sans-serif;
}
 
/* Widget titles */
#sidebar .widget-title,
#sidebar .wp-block-heading {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 400;
  color: #2C2B28;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #EEF1EB;
}
 
/* Widget spacing */
#sidebar .widget,
#sidebar .wp-block-group {
  margin-bottom: 40px;
}
 
/* Latest posts list */
#sidebar .wp-block-latest-posts__list,
#sidebar .wp-block-archives-list,
#sidebar .wp-block-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
 
#sidebar .wp-block-latest-posts__list li,
#sidebar .wp-block-archives-list li,
#sidebar .wp-block-categories-list li {
  font-size: 14px;
  font-weight: 300;
  color: #5C5A55;
  padding-bottom: 10px;
  border-bottom: 1px solid #F5F3EF;
  line-height: 1.5;
}
 
#sidebar .wp-block-latest-posts__list li:last-child,
#sidebar .wp-block-archives-list li:last-child,
#sidebar .wp-block-categories-list li:last-child {
  border-bottom: none;
}
 
#sidebar a {
  color: #5C5A55;
  text-decoration: none;
  transition: color 0.3s ease;
}
 
#sidebar a:hover {
  color: #7A8C6E;
}
 
/* Search */
#sidebar .wp-block-search__input,
#sidebar .search-field {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 300;
  color: #2C2B28;
  border: 1px solid #EEF1EB;
  padding: 10px 14px;
  width: 100%;
  background: #FAF7F2;
  outline: none;
  transition: border-color 0.3s ease;
}
 
#sidebar .wp-block-search__input:focus,
#sidebar .search-field:focus {
  border-color: #7A8C6E;
}
 
#sidebar .wp-block-search__button,
#sidebar .search-submit {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: #2C2B28;
  color: #FAF7F2;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background 0.3s ease;
}
 
#sidebar .wp-block-search__button:hover,
#sidebar .search-submit:hover {
  background: #7A8C6E;
}
 
/* Tag cloud */
#sidebar .tagcloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
 
#sidebar .tagcloud a {
  font-size: 11px !important;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #5C5A55;
  border: 1px solid #EEF1EB;
  padding: 5px 12px;
  text-decoration: none;
  transition: border-color 0.3s ease, color 0.3s ease;
  background: transparent;
}
 
#sidebar .tagcloud a:hover {
  border-color: #7A8C6E;
  color: #7A8C6E;
}
 
/* Hide duplicate widgets */
#sidebar #search-1,
#sidebar #categories-1,
#sidebar #tag_cloud-1,
.single .share {
  display: none;
}
