/*
Theme Name: OnlyGeniuses Blog
Theme URI: http://localhost/onlygeniuses/blog/
Author: OnlyGeniuses
Description: WordPress blog theme that reuses the OnlyGeniuses static site header and footer.
Version: 1.0.2
Text Domain: onlygeniuses-blog
*/

:root {
  --og-blue: #006cff;
  --og-heading: #101828;
  --og-text: #475467;
  --og-border: #e4e7ec;
}

.og-blog-main {
  background: #fff;
  padding: 44px 0 88px;
}

.og-blog-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.og-blog-header {
  margin-bottom: 44px;
}

.og-blog-eyebrow {
  color: var(--og-blue);
  font-size: 14px;
  font-weight: 700;
  margin: 0 0 10px;
  text-transform: uppercase;
}

.og-blog-title,
.og-entry-title {
  color: var(--og-heading);
  font-family: "Fira Sans", Arial, sans-serif;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.18;
  margin: 0;
}

.og-blog-title {
  color: #0e0e0e;
  font-size: 40px;
  text-align: left;
}

.og-blog-layout {
  align-items: start;
  display: grid;
  gap: 30px;
  grid-template-columns: minmax(0, 1fr) 300px;
}

.og-post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 30px;
}

.og-post-card {
  background: #fff;
  border: 0;
  border-radius: 0;
  box-shadow: 0 10px 35px rgba(0, 0, 0, .08);
  overflow: hidden;
  transition: box-shadow .2s ease, transform .2s ease;
}

.og-post-card:hover {
  box-shadow: 0 16px 36px rgba(16, 24, 40, .12);
  transform: translateY(-3px);
}

.og-post-card__image {
  display: block;
  aspect-ratio: 16 / 10.8;
  background: #f2f4f7;
  overflow: hidden;
}

.og-post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.og-post-card__body {
  padding: 22px 24px 28px;
}

.og-post-meta {
  align-items: center;
  color: #006cff;
  display: flex;
  font-size: 14px;
  gap: 8px;
  line-height: 1.5;
  margin: 0 0 11px;
}

.og-post-meta i {
  font-size: 15px;
  line-height: 1;
}

.og-post-card .item--title {
  font-size: 20px;
  line-height: 1.35;
  margin: 0 0 14px;
}

.og-post-card .item--title a,
.og-entry-title a {
  color: var(--og-heading);
  text-decoration: none;
}

.og-post-card .item--title a:hover,
.og-entry-title a:hover {
  color: var(--og-blue);
}

.og-post-card__excerpt {
  color: var(--og-text);
  font-size: 15px;
  line-height: 1.65;
}

.og-post-card__excerpt p {
  margin: 0;
}

.og-read-more {
  align-items: center;
  color: var(--og-blue);
  display: inline-flex;
  gap: 8px;
  font-family: "Fira Sans", Arial, sans-serif;
  font-weight: 700;
  margin-top: 0;
  text-decoration: none;
}

.og-read-more i {
  font-size: 13px;
  line-height: 1;
}

.og-blog-sidebar {
  display: grid;
  gap: 30px;
}

.og-sidebar-widget {
  background: transparent;
  box-shadow: none;
  padding: 0 0 0 10px;
}

.og-sidebar-title {
  color: #0e0e0e;
  font-family: "Fira Sans", Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 24px;
  position: relative;
}

.og-sidebar-title:after {
  background: #006cff;
  bottom: -11px;
  content: "";
  height: 3px;
  left: 0;
  position: absolute;
  width: 45px;
}

.og-sidebar-title span {
  display: inline-block;
}

.og-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px;
}

.og-search-form input {
  border: 1px solid #e5e8ec;
  border-right: 0;
  color: #475467;
  font-size: 14px;
  height: 52px;
  min-width: 0;
  padding: 0 16px;
}

.og-search-form button {
  align-items: center;
  background: linear-gradient(90deg, #7114ef 0%, #1475f7 100%);
  border: 0;
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  height: 52px;
  justify-content: center;
}

.og-recent-posts,
.og-sidebar-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.og-recent-posts li {
  min-height: 80px;
  overflow: hidden;
}

.og-recent-posts li + li {
  border-top: 1px solid #dde5ef;
  margin-top: 18px;
  padding-top: 18px;
}

.og-recent-posts li > a {
  color: #0e0e0e;
  display: block;
  min-height: 75px;
  text-decoration: none;
}

.og-recent-posts img,
.og-recent-thumb-placeholder {
  background: #e7eef8;
  display: inline-block;
  float: left;
  height: 75px;
  margin-right: 16px;
  object-fit: cover;
  overflow: hidden;
  width: 75px;
}

.og-recent-posts .rpwwt-post-title {
  color: #0e0e0e;
  display: block;
  font-family: "Fira Sans", Arial, sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.og-recent-posts a:hover .rpwwt-post-title {
  color: var(--og-blue);
}

.og-recent-posts .rpwwt-post-date {
  color: #006cff;
  display: block;
  font-size: 13px;
  margin-top: 8px;
}

.og-sidebar-list li {
  border-bottom: 1px solid #e6e9ef;
  color: #7a8390;
  font-size: 14px;
  line-height: 1.45;
  padding: 13px 0;
}

.og-sidebar-list li:first-child {
  padding-top: 0;
}

.og-sidebar-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.og-sidebar-list a {
  color: #505a67;
  text-decoration: none;
}

.og-sidebar-list a:hover {
  color: var(--og-blue);
}

#content .og-blog-sidebar .widget_categories ul,
#content .og-blog-sidebar .widget_archive ul {
  margin: 0 !important;
  padding: 0 !important;
}

#content .og-blog-sidebar .widget_categories ul li,
#content .og-blog-sidebar .widget_archive ul li {
  background: transparent !important;
  border-top: 0 !important;
  border-left: 0 !important;
  border-right: 0 !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 13px 0 !important;
}

#content .og-blog-sidebar .widget_categories ul li {
  border-bottom: 0 !important;
}

#content .og-blog-sidebar .widget_archive ul li {
  border-bottom: 1px solid #e6e9ef !important;
}

#content .og-blog-sidebar .widget_categories ul li + li {
  border-top: 1px solid #e6e9ef !important;
}

#content .og-blog-sidebar .widget_categories ul li:before,
#content .og-blog-sidebar .widget_categories ul li:after {
  border: 0 !important;
  content: none !important;
  display: none !important;
}

#content .og-blog-sidebar .widget_categories ul li:last-child,
#content .og-blog-sidebar .widget_archive ul li:last-child {
  border-bottom: 0 !important;
}

#content .og-blog-sidebar .widget_categories ul li a {
  align-items: start !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #505a67 !important;
  display: grid !important;
  gap: 8px !important;
  grid-template-columns: 12px minmax(0, 1fr) auto !important;
  line-height: 1.45 !important;
  min-width: 0 !important;
  padding: 0 !important;
  text-decoration: none !important;
  white-space: normal !important;
  width: 100% !important;
}

#content .og-blog-sidebar .widget_categories ul li a:before,
#content .og-blog-sidebar .widget_categories ul li a:hover:before {
  content: none !important;
  display: none !important;
  left: auto !important;
  margin: 0 !important;
  opacity: 0 !important;
  position: static !important;
  transform: none !important;
  width: 0 !important;
}

#content .og-blog-sidebar .widget_categories ul li a:hover {
  background: transparent !important;
  color: #006cff !important;
  padding: 0 !important;
}

#content .og-blog-sidebar .widget_categories .cat-arrow {
  color: #006cff !important;
  display: inline-block !important;
  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 20px !important;
  transition: transform .22s ease !important;
  transform: none !important;
}

#content .og-blog-sidebar .widget_categories .cat-name {
  display: block !important;
  min-width: 0 !important;
  overflow: visible !important;
  text-overflow: clip !important;
  transition: transform .22s ease !important;
  white-space: normal !important;
  word-break: normal !important;
}

#content .og-blog-sidebar .widget_categories ul li a:hover .cat-arrow,
#content .og-blog-sidebar .widget_categories ul li a:hover .cat-name {
  transform: translateX(5px) !important;
}

#content .og-blog-sidebar .widget_categories .count.right {
  align-items: center !important;
  background: #f3f6fb !important;
  border-radius: 2px !important;
  color: #7a8390 !important;
  display: inline-flex !important;
  float: none !important;
  height: 24px !important;
  justify-content: center !important;
  line-height: 24px !important;
  margin-left: 8px !important;
  min-width: 30px !important;
  padding: 0 8px !important;
  position: static !important;
  text-align: center !important;
  white-space: nowrap !important;
}

.og-tag-cloud {
  line-height: 1.8;
}

.og-tag-cloud a {
  color: #505a67;
  display: inline-block;
  margin: 0 9px 7px 0;
  text-decoration: none;
}

.og-tag-cloud a:hover {
  color: #006cff;
}

.og-entry {
  max-width: none;
}

.og-entry-title {
  color: #0e0e0e;
  font-size: 36px;
  line-height: 1.28;
  margin-bottom: 18px;
}

.og-single-post {
  min-width: 0;
}

.og-single-header {
  margin-bottom: 24px;
}

.og-single-meta {
  color: #6f7885;
  display: flex;
  flex-wrap: wrap;
  font-size: 14px;
  gap: 8px 18px;
  line-height: 1.5;
  margin: 0 0 14px;
}

.og-single-meta span {
  position: relative;
}

.og-single-meta span + span:before {
  background: #cfd5dd;
  border-radius: 999px;
  content: "";
  height: 5px;
  left: -12px;
  position: absolute;
  top: 9px;
  width: 5px;
}

.og-single-meta a {
  color: #6f7885;
  text-decoration: none;
}

.og-single-meta a:hover {
  color: var(--og-blue);
}

.og-entry-featured {
  border-radius: 0;
  margin: 0 0 28px;
  overflow: hidden;
}

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

.og-entry-content {
  color: var(--og-text);
  font-size: 17px;
  line-height: 1.8;
}

.og-entry-content h2,
.og-entry-content h3,
.og-entry-content h4 {
  color: var(--og-heading);
  font-family: "Fira Sans", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 1.65em 0 .7em;
}

.og-entry-content h2 {
  font-size: 30px;
}

.og-entry-content h3 {
  font-size: 24px;
}

.og-entry-content p,
.og-entry-content ul,
.og-entry-content ol {
  margin-bottom: 18px;
}

.og-entry-content ul,
.og-entry-content ol {
  padding-left: 24px;
}

.og-entry-content li + li {
  margin-top: 8px;
}

.og-entry-content img {
  height: auto;
  max-width: 100%;
}

.og-entry-content a {
  color: var(--og-blue);
}

.og-single-footer {
  border-top: 1px solid #edf0f4;
  margin-top: 42px;
  padding-top: 24px;
}

.og-single-tags {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.og-single-tags span {
  color: #0e0e0e;
  font-family: "Fira Sans", Arial, sans-serif;
  font-weight: 700;
}

.og-single-tags a {
  background: #f3f6fb;
  color: #475467;
  display: inline-flex;
  font-size: 13px;
  line-height: 1;
  padding: 10px 13px;
  text-decoration: none;
}

.og-single-tags a:hover {
  background: var(--og-blue);
  color: #fff;
}

.og-post-navigation {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.og-post-nav-item {
  border: 1px solid #edf0f4;
  padding: 20px;
}

.og-post-nav-item span {
  color: #7a8390;
  display: block;
  font-size: 13px;
  margin-bottom: 8px;
}

.og-post-nav-item a {
  color: #0e0e0e;
  font-family: "Fira Sans", Arial, sans-serif;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.og-post-nav-item a:hover {
  color: var(--og-blue);
}

.site-footer-custom .newsletter-static .ct-field-group {
  display: block;
}

.site-footer-custom .newsletter-static .field-input,
.site-footer-custom .newsletter-static .field-input p {
  line-height: normal;
  margin: 0;
}

.site-footer-custom .newsletter-static .field-input + .field-input {
  margin-top: 10px;
}

.site-footer-custom .newsletter-static input#email {
  border: 0 !important;
  box-shadow: none !important;
  display: block;
  height: 37px !important;
  margin: 0 !important;
  width: 100% !important;
}

.site-footer-custom .newsletter-static input#Subscribe {
  border: 0 !important;
  box-shadow: none !important;
  display: block;
  height: 37px !important;
  line-height: 37px !important;
  margin: 0 !important;
  outline: 0;
  width: auto;
}

.site-footer-custom .newsletter-static .wpcf7-response-output,
.site-footer-custom .newsletter-static .wpcf7-spinner {
  display: none !important;
}

.og-pagination {
  margin-top: 42px;
}

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

.og-pagination a,
.og-pagination span {
  border: 1px solid var(--og-border);
  border-radius: 6px;
  color: var(--og-heading);
  display: inline-flex;
  min-width: 42px;
  padding: 9px 13px;
  text-decoration: none;
}

.og-pagination .current,
.og-pagination a:hover {
  background: var(--og-blue);
  border-color: var(--og-blue);
  color: #fff;
}

@media (max-width: 991px) {
  .og-blog-main {
    padding-top: 36px;
  }

  .og-blog-layout {
    grid-template-columns: 1fr;
  }

  .og-post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .og-blog-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .og-blog-title,
  .og-entry-title {
    font-size: 32px;
  }

  .og-post-grid {
    grid-template-columns: 1fr;
  }

  .og-blog-sidebar {
    grid-template-columns: 1fr;
  }

  .og-post-navigation {
    grid-template-columns: 1fr;
  }
}

#content .og-blog-sidebar .widget_categories .og-category-list > li,
#content .og-blog-sidebar .widget_categories .og-category-list > li > a {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

#content .og-blog-sidebar .widget_categories .og-category-list > li {
  border-bottom: 1px solid #e6e9ef !important;
  position: relative !important;
}

#content .og-blog-sidebar .widget_categories .og-category-list > li:last-child {
  border-bottom: 0 !important;
}

#content .og-blog-sidebar .widget_categories .og-category-list > li + li {
  border-top: 0 !important;
}

#content .og-blog-sidebar .widget_categories .og-category-list > li:before,
#content .og-blog-sidebar .widget_categories .og-category-list > li:after,
#content .og-blog-sidebar .widget_categories .og-category-list > li > a:before,
#content .og-blog-sidebar .widget_categories .og-category-list > li > a:after {
  background: transparent !important;
  border: 0 !important;
  content: none !important;
  display: none !important;
}
