/* Blog (Mbogo): the Blog Posts section, post cards, the sidebar, single posts
   and the Related articles slider. Helpers: inc/mbogo-blog.php. */


/* =====  Blog Posts section  ======== */

.blog-posts.section-design {
  padding-top: 80px;
}

/* Featured post: large dark card */
.article-feature-label {
  margin: 0;
}
.article-feature {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  min-height: 460px;
  margin: 18px 0 130px;
  overflow: hidden;
  background-color: #100f0e;
  border-radius: 2px;
  color: #f2eee6;
}
.article-feature-photo {
  position: relative;
  display: block;
  overflow: hidden;
}
.article-feature-photo img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 44px;
}
.article-feature-text h2 {
  margin: 14px 0 6px;
  font-size: 43px;
}
.article-feature-text h2 a {
  color: #f2eee6;
}
.article-feature-text p {
  margin: 0 0 26px;
  color: rgba(242, 238, 230, 0.78);
}
.article-feature-text .btn {
  align-self: flex-start;
}

/* Byline: By Team Mbogo · Nov 18, 2026 */
.article-byline {
  display: block;
  margin: 6px 0 12px;
  font-size: 13.5px;
  color: #796e65;
}
.article-feature .article-byline {
  color: rgba(242, 238, 230, 0.7);
}

/* Category buttons (the round buttons are .pf-chip, from filter-portfolio.css) */
.blog-category-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  padding-bottom: 22px;
  border-bottom: 1px solid #d3cbbf;
}
.blog-category-bar .pf-chip {
  display: inline-block;
}

/* Posts on the left, sidebar on the right */
.blog-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  align-items: start;
}
.blog-layout.blog-layout-full {
  grid-template-columns: 1fr;
}

.blog-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 28px;
}
.blog-search-note {
  margin-bottom: 24px;
  font-size: 15px;
}


/* =====  Post card  ======== */

.article-card-photo {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 2px;
  background-color: #1d1c1a;
}
.article-card-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.article-card:hover .article-card-photo img {
  transform: scale(1.04);
}
.article-card-text {
  padding-top: 18px;
}
.article-card h3 {
  margin: 8px 0 2px;
  font-size: 25px;
  line-height: 1.12;
}
.article-card h3 a:hover {
  color: #b45f06;
}
.article-card p {
  margin: 0 0 14px;
  font-size: 15px;
}


/* =====  Page numbers  ======== */

.blog-pager {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 50px;
}
.blog-pager a,
.blog-pager span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid #d3cbbf;
}
.blog-pager .current {
  color: #f2eee6;
  background-color: #100f0e;
  border-color: #100f0e;
}


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

.blog-sidebar {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.blog-box {
  padding: 24px;
  background-color: #ffffff;
  border: 1px solid #d3cbbf;
}
.blog-box-title {
  margin-bottom: 14px;
  font-family: "Katahdin Round", "Inter", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #796e65;
}

/* Search */
.blog-search {
  display: flex;
}
.blog-search input[type="search"] {
  flex: 1;
  min-width: 0;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  background-color: #f2eee6;
  border: 1px solid #d3cbbf;
}
.blog-search .btn {
  padding: 0 16px;
}

/* Categories with an orange arrow */
.blog-categories {
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-categories li {
  border-bottom: 1px solid #d3cbbf;
}
.blog-categories li:last-child {
  border-bottom: 0;
}
.blog-categories a {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 15px;
}
.blog-categories a:after {
  content: "→";
  color: #b45f06;
}

/* Recent posts with small photos */
.blog-recent {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.blog-recent a {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}
.blog-recent img {
  width: 64px;
  height: 52px;
  object-fit: cover;
  border-radius: 2px;
}
.blog-recent small {
  display: block;
  margin-top: 3px;
  font-size: 12.5px;
  font-weight: 400;
  color: #796e65;
}

/* Dark call to action box */
.blog-box.blog-box-dark {
  background-color: #100f0e;
  border-color: #100f0e;
}
.blog-box-heading {
  margin: 10px 0 18px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.1;
  color: #f2eee6;
}


/* =====  Single post  ======== */

/* Hero: smaller title, not italic */
.hero-editorial.hero-post {
  min-height: 440px;
}
.hero-editorial.hero-post .crumbs {
  margin-bottom: 0;
}
.hero-post-category {
  margin: 16px 0 0;
}
.hero-editorial.hero-post h1 {
  max-width: 900px;
  margin: 14px 0;
  font-size: 66px;
}
.hero-post-byline {
  margin: 6px 0 12px;
  font-size: 13.5px;
  color: rgba(242, 238, 230, 0.7);
}

.blog-post-body {
  padding: 70px 0 120px;
}

/* Post text */
.prose {
  max-width: 740px;
}
.prose p,
.prose li {
  font-size: 17.5px;
  line-height: 1.75;
  color: #46413b;
}
.prose p {
  margin: 0;
}
.prose p + p {
  margin-top: 18px;
}
.prose p.lead {
  font-size: 21px;
  line-height: 1.6;
  color: #100f0e;
}
.prose h2 {
  margin: 44px 0 14px;
  font-size: 36px;
}
.prose h3 {
  margin: 34px 0 12px;
  font-size: 27px;
}
.prose ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}
.prose ul li {
  position: relative;
  margin-bottom: 8px;
  padding-left: 24px;
}
.prose ul li:before {
  content: "";
  position: absolute;
  left: 0;
  top: 15px;
  width: 12px;
  height: 1px;
  background-color: #b45f06;
}
.prose ol {
  margin: 18px 0 0;
  padding-left: 22px;
}
.prose a {
  color: #b45f06;
  border-bottom: 1px solid currentColor;
}
.prose figure,
.prose .wp-caption {
  max-width: 100%;
  margin: 36px 0;
}
.prose figure img,
.prose .wp-caption img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 2px;
}
.prose figcaption,
.prose .wp-caption-text {
  margin-top: 10px;
  font-size: 13.5px;
  color: #796e65;
}
.prose blockquote {
  margin: 36px 0;
  padding: 6px 0 6px 26px;
  font-family: "Charpentier", "Garamond Fill", Georgia, serif;
  font-style: italic;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #100f0e;
  border-left: 3px solid #b45f06;
}
.prose blockquote p {
  font-size: inherit;
  line-height: inherit;
  color: inherit;
}

/* Tags and share icons */
.post-foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 48px;
  padding: 20px 0;
  border-top: 1px solid #d3cbbf;
  border-bottom: 1px solid #d3cbbf;
}
.post-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.prose .post-tags a {
  padding: 5px 11px;
  font-size: 13px;
  color: #100f0e;
  border: 1px solid #d3cbbf;
  border-radius: 30px;
}
.post-share {
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-share > span {
  margin-right: 6px;
  font-family: "Katahdin Round", "Inter", system-ui, sans-serif;
  font-size: 11.5px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #796e65;
}
.prose .post-share a {
  width: 36px;
  height: 36px;
  border-bottom: 1px solid #d3cbbf;
}

/* Author box */
.post-author {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 22px 24px;
  background-color: #e9e3d7;
}
.post-author img {
  width: 54px;
  height: auto;
}
.post-author b {
  font-size: 22px;
  font-weight: 600;
}
.prose .post-author p {
  margin-top: 2px;
  font-size: 14.5px;
  line-height: 1.6;
}


/* =====  Related articles (Post Slider, Article cards)  ======== */

.post-slider-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
.post-cards-article .swiper-pagination {
  position: static;
  margin-top: 26px;
}
.post-cards-article .swiper-pagination-bullet-active {
  background-color: #b45f06 !important;
}


/* Large devices (desktops, less than 1200px) */
@media (max-width: 1199.98px) {
  .hero-editorial.hero-post h1 {
    font-size: 56px;
  }
}

/* Medium devices (tablets, less than 992px) */
@media (max-width: 991.98px) {
  .blog-layout {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .article-feature {
    grid-template-columns: 1fr;
    margin-bottom: 90px;
  }
  .article-feature-photo {
    height: 240px;
  }
  .article-feature-text {
    padding: 30px 24px;
  }
  .article-feature-text h2 {
    font-size: 32px;
  }
  .blog-grid {
    grid-template-columns: 1fr;
  }
  .hero-editorial.hero-post {
    min-height: 0;
  }
  .hero-editorial.hero-post h1 {
    font-size: 40px;
  }
  .prose blockquote {
    font-size: 23px;
  }
  .prose h2 {
    font-size: 28px;
  }
  .blog-post-body {
    padding: 70px 0 80px;
  }
}

/* The share icons are a list too, but without the article's list styles */
.prose .social-icons {
  margin: 0;
}
.prose .social-icons li {
  margin: 0;
  padding: 0;
}
.prose .social-icons li:before {
  display: none;
}
