/* General Styles*/
html,
body {
  width: 100%;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
  /* overflow-x: hidden;*/
}

.ronnie-page-content .btn:not(#closeShare):not(#expandShare) {
  letter-spacing: 1px;
  font-size: 12px;
  padding: 6px 14px;
}

.ronnie-page-content img {
  border-radius: 10px;
}

@media screen and (max-width: 768px) {
  /* .ronnie-page-content {
    margin-top: 85px;
  }*/

  .ronnie-section {
    padding-left: 8px;
    padding-right: 8px;
  }
}

/* Dark mode*/
body.dark-mode {
  --bs-primary: #f8f9fa !important;
  --bs-light: #141414;
  --bs-light-rgb: 20, 20, 20;
  --bs-body-bg: #0a0a0a;
  --bg-white: #141414;
  --bs-white-rgb: rgba(20, 20, 20, 1);
  --bs-body-color: #f8f9fa;
}

body.dark-mode .ronnie-nav {
  background-color: #0a0a0a !important;
}

body.dark-mode a:not(.page-link) {
  color: var(--bs-body-color);
}

body.dark-mode .text-muted {
  color: #c1c1c1 !important;
}

body.dark-mode .tag-link {
  background-color: var(--bs-body-bg);
  color: var(--bs-primary);
}

body.dark-mode .tag-link:hover {
  color: var(--bs-light);
}

body.dark-mode .ronnie-border {
  border-color: rgba(255, 255, 255, 0.05) !important;
}

body.dark-mode hr {
  background-color: rgba(255, 255, 255, 0.3) !important;
}

body.dark-mode .navbar,
body.dark-mode footer img:not(:has(+ h6)) {
  -webkit-filter: invert(1);
  filter: invert(1);
}

/* body.dark-mode .pg-builder *:not(img){
    filter: invert(1);
}*/

/* Layout*/
.ronnie-section {
  margin-bottom: 55px;
}

/* .ronnie-section:first-child {
  margin-top: 30px;
}*/

/* Utility*/
.ronnie-border {
  border-color: rgba(0, 0, 0, 0.05) !important;
}

/* Header & Nav*/
.ronnie-nav {
  position: sticky;
  z-index: 9999;
  top: 0;
  left: 0;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  height: auto;
}

.ronnie-nav.hidden {
  -webkit-transform: translateY(-120px);
  transform: translateY(-120px);
}

.ronnie-nav .site-logo {
  height: 32px;
  width: auto;
}

.ronnie-nav .nav-item {
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-left: 3px;
  margin-right: 3px;
  font-size: 13px;
}

.ronnie-v-separator::before {
  -webkit-transform: rotate(90deg);
  transform: rotate(90deg);
  position: relative;
  top: 15%;
  opacity: 0.5;
}

.search-form {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.search-form .search-field {
  width: 100%;
  border: 0px;
  padding: 10px;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.search-form input:focus {
  outline: none;
}

.search-form .search-submit {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  font-size: 12px;
  letter-spacing: 1px;
  border: 1px solid var(--bs-primary);
  border-radius: 0.2rem;
  text-transform: uppercase;
  padding: 8px 16px;
}

.ronnie-nav .dropdown-menu {
  font-size: 13px;
  padding: 0px;
}

.ronnie-nav .dropdown-item,
.ronnie-nav .dropdown-item.active:hover {
  padding: 6px 12px;
  color: var(--bs-dark);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ronnie-nav .dropdown-item:hover {
  background-color: var(--bs-light);
  color: var(--bs-primary);
}

.ronnie-nav .dropdown-item.active {
  color: var(--bs-white);
}

@media screen and (max-width: 768px) {
  .ronnie-nav .site-logo {
    height: 28px;
  }

  .ronnie-nav .navbar-nav {
    background-color: var(--bs-white);
    margin-top: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 10px 0px;
  }

  .ronnie-nav .dropdown-menu {
    border-left: 0px;
    border-right: 0px;
    border-radius: 0;
    background-color: #fafafa;
    border-color: rgba(0, 0, 0, 0.05);
  }
}

/* Footer*/
footer .nav {
  border-left: 1px solid rgba(0, 0, 0, 0.05);
  padding-left: 24px;
}

body.dark-mode footer .nav {
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

footer .nav ul {
  padding: 0px;
  list-style: none;
}

footer .nav li {
  padding: 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

footer .nav a {
  text-decoration: none;
  font-size: 13px;
}

footer .wp-block-social-links {
  margin-bottom: 0px !important;
  font-size: 16px;
}

footer .wp-block-social-links li {
  padding: 0px 6px;
}

body.dark-mode footer .wp-block-social-links li {
  -webkit-filter: invert(1);
  filter: invert(1);
}

@media screen and (max-width: 768px) {
  footer .nav {
    border-left: none;
    padding-left: 0px;
  }
}

/* Newsletter CTA*/
#newsletterCta .row {
  border-radius: 10px;
}

#newsletterCta .input-row {
  background-color: rgba(217, 217, 217, 0.05) !important;
  padding-right: 0px;
}

#newsletterCta input {
  background-color: transparent !important;
  text-transform: uppercase;
  width: 70%;
  color: var(--bs-light);
  border: none;
}

#newsletterCta button {
  text-transform: uppercase;
  border-top-left-radius: 0px;
  border-bottom-left-radius: 0px;
  letter-spacing: 1px;
  width: 30%;
}

#newsletterCta .wpcf7-form {
  background-color: rgba(217, 217, 217, 0.05) !important;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  border-radius: 10px;
  padding: 16px;
}

#newsletterCta .wpcf7-form p,
#newsletterCta .wpcf7-form input {
  height: 55px;
  width: 100%;
  font-size: 14px;
}

#newsletterCta .wpcf7-form > p:not(:nth-last-child(2)) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

#newsletterCta .wpcf7-form > p:nth-last-child(2),
#newsletterCta .wpcf7-form input[type="submit"] {
  margin-bottom: 0px;
  background-color: var(--bs-light);
  color: #000 !important;
  border-radius: 5px;
}

#newsletterCta .wpcf7-form > p:nth-last-child(2) {
  margin-top: 8px;
}

body.dark-mode #newsletterCta form input {
  -webkit-filter: invert(1);
  filter: invert(1);
}

@media screen and (max-width: 768px) {
  #newsletterCta .input-row {
    padding: 12px;
  }

  #newsletterCta input {
    width: 100%;
  }

  #newsletterCta button {
    width: 100%;
    border-radius: 0.25rem !important;
    margin-top: 10px;
  }
}

/* Post Styles*/
.post-card {
  background-color: transparent;
}

.post-card img {
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

.post-card.xl .card-img {
  width: 100%;
  height: 565px;
}

.post-card.lg .card-img-top {
  width: 100%;
  height: 338px;
}

.post-card.sm .card-img-top {
  width: 100%;
  height: 277px;
}

.post-card:hover img {
  -webkit-transform: scale(1.008);
  transform: scale(1.008);
  -webkit-box-shadow: 0px 10px 90px rgba(0, 0, 0, 0.05);
  box-shadow: 0px 10px 90px rgba(0, 0, 0, 0.1);
}

.post-card a {
  text-decoration: none;
}

.author-img {
  border: 5px solid rgba(0, 0, 0, 0.06);
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
}

a:has(.author-img):hover .author-img {
  border-width: 3.7px;
}

body.dark-mode .author-img {
  border: 5px solid rgba(255, 255, 255, 0.08);
}

.tag-link {
  padding: 6px 14px;
  text-decoration: none;
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border-radius: 5px;
  border: 1px solid var(--bs-primary);
  text-transform: uppercase;
  font-size: 12px;
  -webkit-transition: all 0.2s ease-in;
  transition: all 0.2s ease-in;
}

.tag-link:hover {
  background-color: var(--bs-white) !important;
  color: var(--bs-primary);
}

.post-card-summary {
  line-height: 1.6;
}

.post-card.lg .card-title {
  font-size: 30px;
}

.post-card.xs img {
  border-radius: 5px;
  width: 76px;
  height: 53px;
}

.widget-post-list > :last-child {
  display: none;
}

.widget-post-list-wrapper.v img {
  height: 90px;
  width: 76px;
}

@media screen and (max-width: 576px) {
  .post-card.xl .card-img {
    height: 365px;
  }

  .post-card.lg .card-img-top,
  .post-card.sm .card-img-top {
    width: 100%;
    height: 215px;
  }

  .author-box h5 {
    font-size: 16px;
  }

  .tag-link {
    font-size: 11px;
  }
}

/* Pages*/

/* Homepage*/

/* #homepage_highlight .tag-link {
  background-color: var(--bs-white);
  color: var(--bs-primary);
}*/

/* Single Post Page*/
.single-post-title {
  /* font-size: 55px;*/
  line-height: 101.5%;
  letter-spacing: -0.025em;
}

.ronnie-page-content .single-post-featured-img {
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 10px;
  -webkit-transition: all 0.3s ease-in;
  transition: all 0.3s ease-in;
  width: 100% !important;
  height: 542px;
}

.ronnie-page-content.single form input {
  padding: 16px;
  font-size: 14px;
}

.ronnie-page-content.single form button {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
}

.share-link-wrapper {
  position: sticky;
  top: 115px;
  width: auto;
}

.share-link {
  font-size: 18px;
  color: #333;
  will-change: transform, opacity;
}

.share-link:not(:last-child) {
  margin-bottom: 15px;
}

.share-link:not(.btn) {
  will-change: transform, opacity;
  -webkit-animation: fadelink 0.3s;
  animation: fadelink 0.3s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
}

#expandShare {
  margin-bottom: 0px;
}

.post-content-wrapper > *:not(:last-child) {
  margin-bottom: 2.5rem;
}

.post-content > *:not(:last-child) {
  margin-bottom: 2rem;
}

.post-content img {
  max-width: 100%;
}

.ronnie-side-widget-wrapper {
  position: sticky;
  top: 20px;
}

.ronnie-side-widget > *:not(:last-child) {
  margin-bottom: 42px;
}

#comments-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}

#comments-list .comment:not(:last-child) {
  border-bottom: 1px solid #efefef;
  padding-bottom: 40px;
}

#comments-list .comment-meta {
  font-size: 12px;
  opacity: 0.6;
  position: relative;
  left: 42px;
  top: -15px;
}

#comments-list .comment-meta a {
  text-decoration: none;
}

#comments-list .comment-author {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

#comments-list .comment-author img {
  margin-right: 9px;
}

#comments-list .comment-author cite {
  text-transform: uppercase;
  font-style: normal;
  line-height: 100%;
}

#comments-list .says {
  display: none;
}

body.dark-mode #comments-list .comment:not(:last-child) {
  border-bottom: 1px solid rgba(238, 238, 238, 0.05) !important;
}

#commentForm .comment-reply-title {
  grid-column: span 2;
  -webkit-box-ordinal-group: 2;
  -ms-flex-order: 1;
  order: 1;
}

#commentForm .comment-notes {
  -webkit-box-ordinal-group: 3;
  -ms-flex-order: 2;
  order: 2;
  grid-column: span 2;
}

#commentForm .comment-form-comment {
  -webkit-box-ordinal-group: 7;
  -ms-flex-order: 6;
  order: 6;
  grid-column: span 2;
}

#commentForm .comment-form-author {
  -webkit-box-ordinal-group: 4;
  -ms-flex-order: 3;
  order: 3;
  grid-column: span 2;
}

#commentForm .comment-form-email {
  -webkit-box-ordinal-group: 5;
  -ms-flex-order: 4;
  order: 4;
}

#commentForm .comment-form-url {
  -webkit-box-ordinal-group: 6;
  -ms-flex-order: 5;
  order: 5;
}

#commentForm .comment-form-cookies-consent {
  -webkit-box-ordinal-group: 8;
  -ms-flex-order: 7;
  order: 7;
  grid-column: span 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  gap: 5px;
  font-size: 13px;
}

#commentForm .form-submit {
  -webkit-box-ordinal-group: 9;
  -ms-flex-order: 8;
  order: 8;
  margin-bottom: 0px;
}

#commentForm .submit {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  font-size: 12px;
  letter-spacing: 1px;
  border: 1px solid var(--bs-primary);
  border-radius: 0.2rem;
  text-transform: uppercase;
  padding: 4px 8px;
}

body.dark-mode #commentForm .submit {
  color: #141414;
}

#commentForm input:not([type="submit"]):not([type="checkbox"]),
#commentForm textarea {
  width: 100%;
  border-color: rgba(0, 0, 0, 0.1);
  border-width: 1px;
  border-radius: 5px;
}

#commentForm input:not([type="submit"]):not([type="checkbox"]) {
  height: 55px;
}

#commentForm label:not([for="wp-comment-cookies-consent"]) {
  font-size: 13px;
  margin-bottom: 5px;
  font-family: "Julius Sans One";
}

.comment.depth-2,
.comment.depth-3,
.comment.depth-4,
.comment.depth-5 {
  margin-top: 40px;
  padding-left: 30px;
  position: relative;
}

.comment.depth-2::before,
.comment.depth-3::before,
.comment.depth-4::before,
.comment.depth-5::before {
  content: "";
  position: absolute;
  display: inline-block;
  left: 0px;
  background-image: url("../assets/images/icons/arrow-90deg-up.svg");
  background-repeat: no-repeat;
  height: 30px;
  width: 30px;
}

body.dark-mode .comment.depth-2::before,
body.dark-mode .comment.depth-3::before,
body.dark-mode .comment.depth-4::before,
body.dark-mode .comment.depth-5::before {
  background-image: url("../assets/images/icons/arrow-90deg-up-light.svg") !important;
}

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

  .ronnie-page-content.single input {
    width: 100%;
  }
}

/* Author Page*/
.author-header {
  width: min(668px, 100%);
}

.author-socials a:last-child {
  margin-right: 0px !important;
}

@media screen and (max-width: 768px) {
  .author-header-wrapper,
  .author-header-wrapper > div {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 100%;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    text-align: center;
  }

  .author-header-wrapper .author-img {
    margin-bottom: 32px;
    height: 110px !important;
    width: 110px !important;
  }

  .author-header-wrapper > :first-child {
    margin-bottom: 32px;
  }

  .author-socials a:last-child {
    margin-right: 16px !important;
  }
}

/* 404 Page*/
.content-wrapper-404 {
  background-image: url("https://images.pexels.com/photos/2404372/pexels-photo-2404372.jpeg");
  background-size: cover;
  background-position: center;
}

.content-wrapper-404 .row {
  min-height: 400px;
}

.content-wrapper-404 .btn {
  letter-spacing: 1px;
  font-size: 12px;
  padding: 6px 8px;
}

@media screen and (max-width: 768px) {
  .content-wrapper-404 .row {
    min-height: unset;
  }
}

/* Pagination*/
.page-link.no-click {
  pointer-events: none;
}

.body.dark-mode .page-link {
  color: #141414 !important;
}

/* Animation*/
@-webkit-keyframes fadelink {
  from {
    opacity: 0;
    -webkit-transform: translateY(0px);
    transform: translateY(0px);
  }

  to {
    opacity: 1px;
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
  }
}
@keyframes fadelink {
  from {
    opacity: 0;
  }

  to {
    opacity: 1px;
  }
}

.fade-in-up {
  opacity: 0;
  -webkit-transform: translateY(20px);
  transform: translateY(20px);
  -webkit-transition: opacity 0.5s ease-in-out,
    -webkit-transform 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out, -webkit-transform 0.5s ease-in-out;
}

.fade-in-up.fade-in {
  opacity: 1;
  -webkit-transform: translateY(0);
  transform: translateY(0);
  -ms-flex-line-pack: start;
  align-content: flex-start;
}
