/*
Theme Name: ResellerAfrica Blog
Theme URI: https://resellerafrica.com/blog/
Author: ResellerAfrica
Author URI: https://resellerafrica.com/
Description: Emerald, charcoal and white editorial theme matching ResellerAfrica. Five posts per page, numbered pagination, featured images, categories, search and responsive article templates.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: resellerafrica-blog
Tags: blog, two-columns, right-sidebar, featured-images, translation-ready
*/
body {
  background: #fff;
}
.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}
.screen-reader-text:focus {
  clip: auto !important;
  width: auto;
  height: auto;
  left: 10px;
  top: 10px;
  z-index: 100;
  background: white;
  padding: 10px;
}
.blog-hero {
  padding: 75px 0 65px;
  background: radial-gradient(ellipse at 90% 30%, #d6f2e4, transparent 55%), #f4fbf7;
  border-bottom: 1px solid var(--line);
}
.blog-hero h1 {
  font-size: clamp(40px, 4.5vw, 62px);
  max-width: 900px;
}
.blog-hero .lead {
  margin-bottom: 0;
}
.blog-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 50px;
  padding-top: 65px;
  padding-bottom: 85px;
  align-items: start;
}
.blog-list {
  min-width: 0;
}
.blog-post-card {
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 30px;
  background: white;
}
.post-media {
  display: block;
  background: var(--mint);
  aspect-ratio: 16/8;
  overflow: hidden;
}
.post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.post-placeholder {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  flex-direction: column;
  background:
    radial-gradient(ellipse at 70% 20%, #b9e8d1, transparent 60%),
    linear-gradient(130deg, #f0fbf4, #d9f2e4);
  position: relative;
}
.post-placeholder img {
  width: 100px;
  height: auto;
  opacity: 0.9;
}
.post-placeholder span {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--green);
  font-weight: 700;
}
.post-card-copy {
  padding: 32px;
}
.post-category {
  display: inline-block;
  color: var(--green);
  font-weight: 750;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 15px;
}
.post-card-copy h2 {
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: -0.035em;
}
.post-card-copy > p {
  font-size: 15px;
  line-height: 1.8;
}
.post-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
  margin-top: 16px;
}
.sidebar-box {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-bottom: 25px;
  background: #fff;
}
.sidebar-box h2 {
  font-size: 19px;
  margin-bottom: 20px;
  letter-spacing: -0.025em;
}
.sidebar-box ul {
  padding: 0;
  margin: 0;
  list-style: none;
}
.sidebar-box li {
  font-size: 13px;
  line-height: 1.6;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}
.sidebar-box li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.sidebar-box li a {
  color: var(--ink);
}
.sidebar-box li a:hover {
  color: var(--green);
}
.sidebar-box .children {
  padding-left: 15px;
  margin-top: 8px;
}
.blog-search {
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  background: transparent;
}
.blog-search label {
  margin: 0;
}
.blog-search input {
  margin: 0;
  font-size: 13px;
  padding: 11px 12px;
}
.blog-search button {
  background: var(--green);
  color: white;
  border: 1px solid var(--green);
  border-radius: 6px;
  padding: 9px 14px;
  font-size: 12px;
  font-weight: 700;
  margin-top: 10px;
  cursor: pointer;
}
.partner-box {
  background: var(--deep);
  color: white;
  border-color: var(--deep);
}
.partner-box .eyebrow {
  font-size: 9px;
  color: #a7f3d0;
}
.partner-box h2 {
  font-size: 25px;
  line-height: 1.25;
}
.partner-box p {
  color: #cee4db;
  font-size: 13px;
}
.partner-box .button {
  background: white;
  color: var(--deep);
  border-color: white;
  font-size: 12px;
  gap: 14px;
  width: 100%;
}
.navigation.pagination {
  margin: 35px 0 0;
}
.pagination .nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.pagination .page-numbers {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid var(--line);
  border-radius: 6px;
  min-width: 38px;
  justify-content: center;
  font-size: 13px;
}
.pagination .current {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.pagination a:hover {
  background: var(--mint);
}
.pagination .dots {
  border: 0;
  padding: 5px;
}
.post-title {
  padding-top: 55px;
  max-width: 1200px;
}
.post-title > .eyebrow {
  margin-top: 35px;
}
.post-title h1 {
  font-size: clamp(36px, 4.5vw, 60px);
  max-width: 1050px;
  line-height: 1.13;
}
.post-title .post-meta {
  margin-top: 24px;
  font-size: 13px;
}
.single-layout {
  padding-top: 40px;
}
.single-article {
  min-width: 0;
}
.single-featured {
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 35px;
}
.single-featured img {
  display: block;
  width: 100%;
  height: auto;
}
.entry-content {
  font-size: 17px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}
.entry-content p {
  font-size: inherit;
  line-height: inherit;
}
.entry-content h2 {
  font-size: 31px;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.25;
}
.entry-content h3 {
  font-size: 24px;
  margin-top: 30px;
  line-height: 1.3;
}
.entry-content ul,
.entry-content ol {
  padding-left: 25px;
  color: var(--muted);
}
.entry-content li {
  margin-bottom: 8px;
}
.entry-content a {
  color: var(--green);
  text-decoration: underline;
}
.entry-content blockquote {
  border-left: 3px solid var(--green);
  margin: 30px 0;
  padding: 15px 25px;
  background: var(--mint);
}
.entry-content pre {
  overflow: auto;
  border: 1px solid var(--line);
  padding: 20px;
  border-radius: 8px;
  background: #f7faf8;
  font-size: 13px;
}
.entry-content table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
}
.entry-content th,
.entry-content td {
  border: 1px solid var(--line);
  padding: 12px;
  text-align: left;
}
.entry-content img {
  height: auto;
  max-width: 100%;
}
.entry-content figcaption {
  font-size: 12px;
  color: var(--muted);
}
.entry-content .alignwide {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.entry-content .alignfull {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}
.article-tags {
  padding: 25px 0;
  border-top: 1px solid var(--line);
  margin-top: 35px;
  color: var(--muted);
  font-size: 12px;
}
.article-tags a {
  color: var(--green);
}
.post-navigation {
  border-top: 1px solid var(--line);
  padding-top: 22px;
  margin: 0 0 35px;
}
.post-navigation .nav-links {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  font-size: 14px;
}
.post-navigation .nav-previous,
.post-navigation .nav-next {
  max-width: 48%;
}
.page-content {
  max-width: 850px;
  padding-top: 35px;
  padding-bottom: 80px;
}
.comments-area {
  border-top: 1px solid var(--line);
  margin-top: 35px;
  padding-top: 30px;
}
.comments-area h2,
.comment-reply-title {
  font-size: 23px;
  margin-bottom: 25px;
}
.comments-area .comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.comment-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}
.comment-list .avatar {
  border-radius: 50%;
  float: left;
  margin-right: 12px;
}
.comment-list .comment-meta {
  font-size: 12px;
}
.comment-list .comment-content {
  font-size: 14px;
}
.comment-list .children {
  list-style: none;
  padding-left: 20px;
}
.comment-form {
  padding: 25px;
}
.comment-form p {
  font-size: 13px;
}
.comment-form input[type="submit"] {
  width: auto;
  background: var(--green);
  color: white;
  border-color: var(--green);
  font-weight: 700;
  cursor: pointer;
}
.comment-form input[type="checkbox"] {
  width: auto;
  margin-right: 8px;
}
.comment-form .comment-form-cookies-consent {
  display: flex;
  align-items: start;
  gap: 8px;
}
.comment-form .comment-form-cookies-consent label {
  font-weight: 400;
  font-size: 12px;
}
.article-pages {
  margin: 25px 0;
  font-size: 14px;
}
.not-found-search {
  max-width: 500px;
  margin-top: 30px;
}
.blog-empty {
  border: 1px solid var(--line);
  padding: 35px;
  border-radius: 10px;
}
.blog-empty h2 {
  font-size: 27px;
}
.archive-description {
  max-width: 800px;
}
.admin-bar header {
  top: 32px;
}
@media (max-width: 1000px) {
  .blog-layout {
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 30px;
  }
  .sidebar-box {
    padding: 21px;
  }
  .post-card-copy {
    padding: 26px;
  }
  .post-card-copy h2 {
    font-size: 26px;
  }
}
@media (max-width: 782px) {
  .admin-bar header {
    top: 46px;
  }
  .blog-layout {
    grid-template-columns: 1fr;
    padding-top: 40px;
    padding-bottom: 60px;
    gap: 45px;
  }
  .blog-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .sidebar-box {
    margin-bottom: 0;
  }
  .blog-hero {
    padding: 55px 0 45px;
  }
  .post-card-copy h2 {
    font-size: 27px;
  }
  .post-title {
    padding-top: 40px;
  }
  .entry-content {
    font-size: 16px;
  }
  .entry-content h2 {
    font-size: 27px;
  }
  .single-layout {
    padding-top: 30px;
  }
  .post-title h1 {
    font-size: 40px;
  }
}
@media (max-width: 520px) {
  .blog-sidebar {
    grid-template-columns: 1fr;
  }
  .post-card-copy {
    padding: 24px;
  }
  .post-card-copy h2 {
    font-size: 24px;
  }
  .blog-post-card {
    margin-bottom: 24px;
  }
  .post-title h1 {
    font-size: 35px;
  }
  .post-media {
    aspect-ratio: 16/10;
  }
  .post-navigation .nav-links {
    flex-direction: column;
  }
  .post-navigation .nav-previous,
  .post-navigation .nav-next {
    max-width: 100%;
  }
  .blog-hero h1 {
    font-size: 41px;
  }
}
