/* =========================================================
   INFOFITNESS BLOG / CONTENT
   ========================================================= */


/* =========================================================
   BASE
   ========================================================= */

p.post-tags {
  display: none;
}

body.single-post .layout {
  background-color: #faf9f7;
}

.if-content {
  text-align: left;
}

.if-content p.if-p a,
.if-content ul.if-list a,
.if-content ol.if-list-ol a {
  color: #3a3244;
  font-weight: 700;
  text-decoration: underline;
}

.if-content p.if-p a:hover,
.if-content ul.if-list a:hover,
.if-content ol.if-list-ol a:hover {
  color: #473b56;
}

.single.single-post .post-content .post-title {
  text-align: left;
  margin: 0 0 20px 0 !important;
}

.post-title {
  font-size: 38px !important;
  line-height: 1.25 !important;
}

.single-post .comment-form .submit {
  background-color: #3a3244;
  width: 100%;
}

@media (max-width: 1023px) {
  #content.content.single-sidebar.left {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 992px) {
  .post-title {
    font-size: 32px !important;
  }
}

@media (max-width: 768px) {
  .post-title {
    font-size: 28px !important;
  }
}

@media (max-width: 480px) {
  .post-title {
    font-size: 24px !important;
  }
}

@media (max-width: 1270px) {
  .post-content {
    padding: 40px 10px 10px 10px;
  }
}


/* =========================================================
   CONTENT TYPOGRAPHY
   ========================================================= */

.if-content h2.if-h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 28px !important;
  font-weight: 700;
  line-height: 1.3 !important;
  color: #1a1a1a;
  margin: 48px 0 18px;
  text-align: left;
}

.if-content h3.if-h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 21px !important;
  font-weight: 700;
  line-height: 1.35 !important;
  color: #1a1a1a;
  margin: 36px 0 14px;
  text-align: left;
}

.if-content h4.if-h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px !important;
  font-weight: 700;
  line-height: 1.4 !important;
  color: #1a1a1a;
  margin: 28px 0 10px;
  text-align: left;
}

.if-content p.if-p {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px !important;
  line-height: 1.7 !important;
  color: #2b2b2b;
  margin: 0 0 18px;
  text-align: left;
}

.if-content ul.if-list,
.if-content ol.if-list-ol {
  font-family: 'Montserrat', sans-serif;
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: #2b2b2b;
  margin: 0 0 22px;
  padding-left: 22px;
  text-align: left;
}

.if-content ul.if-list li,
.if-content ol.if-list-ol li {
  font-size: 17px !important;
  margin-bottom: 8px;
  text-align: left;
}

.if-content ul.if-list li::marker {
  color: #3a3244;
}

.if-content ol.if-list-ol li::marker {
  color: #3a3244;
  font-weight: 700;
}

@media (max-width: 768px) {
  .if-content h2.if-h2 {
    font-size: 23px !important;
    margin: 36px 0 14px;
  }

  .if-content h3.if-h3 {
    font-size: 19px !important;
    margin: 28px 0 12px;
  }

  .if-content h4.if-h4 {
    font-size: 16px !important;
    margin: 22px 0 8px;
  }

  .if-content p.if-p,
  .if-content ul.if-list,
  .if-content ol.if-list-ol,
  .if-content ul.if-list li,
  .if-content ol.if-list-ol li {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .if-content h2.if-h2 {
    font-size: 19px !important;
    margin: 32px 0 12px;
  }

  .if-content h3.if-h3 {
    font-size: 16px !important;
    margin: 24px 0 10px;
  }

  .if-content h4.if-h4 {
    font-size: 14px !important;
    margin: 20px 0 8px;
  }

  .if-content p.if-p,
  .if-content ul.if-list,
  .if-content ol.if-list-ol,
  .if-content ul.if-list li,
  .if-content ol.if-list-ol li {
    font-size: 14px !important;
  }
}


/* =========================================================
   IMAGES
   ========================================================= */

.if-content img.if-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 28px 0;
}

.if-featured-img {
  border-radius: 12px;
}


/* =========================================================
   AUTHOR BLOCK
   ========================================================= */

.if-author {
  font-family: 'Montserrat', sans-serif;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 28px 32px;
  margin: 40px 0;
}

.if-author a {
  font-size: inherit !important;
}

.if-author-refs-checkbox {
  display: none;
}

.if-author-refs-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 15px !important;
  font-weight: 700;
  color: #1a1a1a;
}

.if-author-refs-toggle-icon {
  font-size: 12px !important;
  color: #ff5600;
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.if-author-refs-checkbox:checked ~ .if-author-refs-toggle .if-author-refs-toggle-icon {
  transform: rotate(180deg);
}

.if-author-refs-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.if-author-refs-checkbox:checked ~ .if-author-refs-wrap {
  grid-template-rows: 1fr;
}

.if-author-refs-inner {
  overflow: hidden;
}

.if-author-refs-list {
  font-size: 13px !important;
  line-height: 1.7 !important;
  color: #6a6a6a;
  margin: 16px 0 0;
  padding-left: 20px;
}

.if-author-refs-list li {
  margin-bottom: 8px;
  text-align: left;
}

.if-author-refs-list a {
  color: #3a3244;
  text-decoration: underline;
}

.if-author-refs-list a:hover {
  color: #000000;
}

.if-author-intro {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #767676;
  background: #faf9f7;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 18px;
  text-align: left;
}

.if-author-intro a {
  color: #3a3244;
  font-weight: 700;
  font-size: inherit !important;
  text-decoration: underline;
}

.if-author-intro a:hover {
  color: #1a1a1a;
}

.if-author-divider {
  border: none;
  border-top: 1px solid #e5e5e5;
  margin: 24px 0;
}

.if-author-profile {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.if-author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
}

.if-author-label {
  font-size: 13px !important;
  color: #999;
  margin: 0 0 8px;
  text-align: left;
}

.if-author-name {
  display: block;
  font-size: 15px !important;
  line-height: 1.4 !important;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  margin: 0 0 6px;
  text-align: left;
}

.if-author-name:hover {
  text-decoration: underline;
}

.if-author-socials {
  display: flex;
  gap: 8px;
}

.if-author-socials a {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.if-author-socials img {
  width: 13px;
  height: 13px;
}

.if-author-bio {
  font-size: 14px !important;
  line-height: 1.7 !important;
  color: #4a4a4a;
  margin: 0;
  text-align: left;
}


/* =========================================================
   TABLE OF CONTENTS
   ========================================================= */

.if-toc {
  font-family: 'Montserrat', sans-serif;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 20px 24px;
  margin: 0 0 32px;
}

.if-toc-checkbox {
  display: none;
}

.if-toc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.if-toc-title {
  font-size: 15px !important;
  font-weight: 700;
  color: #1a1a1a;
}

.if-toc-toggle-btn {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.if-toc-toggle-icon {
  font-size: 12px !important;
  color: #ff5600;
  transition: transform 0.2s ease;
}

.if-toc-wrap {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.25s ease;
}

.if-toc-checkbox:checked ~ .if-toc-wrap {
  grid-template-rows: 1fr;
}

.if-toc-checkbox:checked ~ .if-toc-head .if-toc-toggle-icon {
  transform: rotate(180deg);
}

.if-toc-inner {
  overflow: hidden;
}

.if-toc-list {
  list-style: none;
  margin: 16px 0 0;
  padding-bottom: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.if-toc-list a {
  display: block;
  font-size: 18px !important;
  font-weight: 500;
  color: #4a4a4a !important;
  text-decoration: none !important;
  border-left: 2px solid #e5e5e5;
  padding-left: 10px;
  padding-bottom: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.if-toc-list a:hover {
  color: #ff5600 !important;
  border-left-color: #ff5600;
}

@media (max-width: 480px) {
  .if-toc-list a {
    font-size: 14px !important;
  }
}

@media (max-width: 380px) {
  .if-toc-list a {
    font-size: 12px !important;
  }
}

@media (min-width: 1000px) {
  .if-toc-wrap {
    grid-template-rows: 1fr;
  }

  .if-toc-checkbox:checked ~ .if-toc-wrap {
    grid-template-rows: 0fr;
  }

  .if-toc-checkbox:checked ~ .if-toc-head .if-toc-toggle-icon {
    transform: rotate(0deg);
  }
}


/* =========================================================
   ARTICLE META / AUTHORS
   ========================================================= */

.if-meta {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px !important;
  color: #4a4a4a;
  margin: 10px 0 20px;
  text-align: left;
}

.if-meta-updated {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.if-meta-updated-icon {
  color: #fff;
  background: #ff5600;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  font-size: 10px !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.if-meta-authors {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin: 0 0 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e5e5;
}

.if-meta-author-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px !important;
  color: #999;
  margin-bottom: 6px;
}

.if-meta-author-row {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.if-meta-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.if-meta-author-info {
  display: flex;
  flex-direction: column;
}

.if-meta-author-name {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  color: #1a1a1a;
  text-decoration: none;
  margin-bottom: 4px;
}

.if-meta-author-name:hover {
  color: #3a3244;
}

.if-meta-author-role {
  font-family: 'Montserrat', sans-serif;
  font-size: 12px !important;
  color: #767676;
}

.if-meta-popover {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  width: 340px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s;
  z-index: 20;
}

.if-meta-author-row:hover .if-meta-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.if-meta-popover-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px !important;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 8px;
}

.if-meta-popover-title span {
  font-weight: 400;
  color: #767676;
}

.if-meta-popover-text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #4a4a4a !important;
  margin: 0 0 10px !important;
}

.if-meta-popover-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px !important;
  font-weight: 700;
  color: #3a3244;
  text-decoration: underline;
}

.if-meta-authors,
.if-meta-author,
.if-meta-author-row,
.if-meta-author-info,
.if-meta-author-label,
.if-meta-author-name,
.if-meta-author-role {
  text-align: left !important;
}

@media (max-width: 480px) {
  .if-meta-authors {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .if-meta-author {
    flex: 1 1 auto;
    min-width: 0;
  }

  .if-meta-avatar {
    width: 30px;
    height: 30px;
  }

  .if-meta-author-name {
    font-size: 13px !important;
  }

  .if-meta-author-role,
  .if-meta-author-label {
    font-size: 11px !important;
  }
}


/* =========================================================
   TABLES
   ========================================================= */

.if-table-wrap {
  width: 100%;
  margin: 32px 0;
  border: 1px solid #e5e0e8;
  border-radius: 12px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #3a3244 #faf9f7;
}

.if-table-wrap::-webkit-scrollbar {
  height: 8px;
}

.if-table-wrap::-webkit-scrollbar-track {
  background: #faf9f7;
}

.if-table-wrap::-webkit-scrollbar-thumb {
  background: #3a3244;
  border-radius: 8px;
}

.if-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px !important;
}

.if-table thead th {
  background: #3a3244;
  color: #fff;
  font-weight: 700;
  text-align: left;
  padding: 14px 18px;
  white-space: nowrap;
}

.if-table thead th:first-child {
  border-top-left-radius: 12px;
}

.if-table thead th:last-child {
  border-top-right-radius: 12px;
}

.if-table tbody td {
  padding: 13px 18px;
  color: #2b2b2b;
  border-bottom: 1px solid #ede9f0;
  white-space: normal;
  text-align: left;
  background-color: #fff;
}

.if-table tbody tr:last-child td {
  border-bottom: none;
}

.if-table tbody tr:hover td {
  background: #f0e9f5;
}


/* =========================================================
   FEATURED PRODUCT CARD
   ========================================================= */

.if-product-card {
  display: flex;
  align-items: center;
  gap: 24px;
  background: #fff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 22px 26px;
  margin: 32px 0;
  font-family: 'Montserrat', sans-serif;
}

.if-product-card-image {
  flex-shrink: 0;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #faf9f7;
  border-radius: 10px;
  padding: 10px;
}

.if-product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.if-product-card-body {
  flex: 1;
  min-width: 0;
}

.if-product-card-label {
  font-size: 11px !important;
  font-weight: 700;
  color: #3a3244;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 4px;
  text-align: left;
}

.if-product-card-name {
  font-size: 17px !important;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px;
  text-align: left;
}

.if-product-card-usps {
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}

.if-product-card-usps li {
  font-size: 13px !important;
  line-height: 1.6 !important;
  color: #4a4a4a;
  padding-left: 18px;
  position: relative;
  margin-bottom: 4px;
  text-align: left;
}

.if-product-card-usps li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ff5600;
  font-weight: 700;
}

.if-product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.if-product-card-price {
  font-size: 16px !important;
  color: #3a3244;
  font-weight: 700;
  margin: 0;
  text-align: left;
}

.if-product-card-price .if-price-old {
  color: #999;
  font-size: 14px !important;
  font-weight: 400;
  text-decoration: line-through;
  margin-right: 8px;
}

.if-product-card-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 0;
  width: 100%;
}

.if-product-card-cta,
.if-product-card-review {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px !important;
  font-weight: 700;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 8px;
  white-space: nowrap;
  flex: 1;
}

.if-product-card-cta {
  background: #ff5600;
  color: #ffffff;
}

.if-product-card-cta:hover {
  background: #e64d00;
  color: #ffffff;
}

.if-product-card-review {
  background: transparent;
  color: #3a3244;
  border: 1px solid #3a3244;
  padding: 10px 20px;
}

.if-product-card-review:hover {
  background: #3a3244;
  color: #ffffff;
}

@media (max-width: 680px) {
  .if-product-card-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .if-product-card-actions {
    width: 100%;
    flex-direction: column;
  }

  .if-product-card-cta,
  .if-product-card-review {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .if-product-card {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .if-product-card-image {
    width: 220px;
    height: 220px;
  }

  .if-product-card-body {
    width: 100%;
  }

  .if-product-card-label,
  .if-product-card-name,
  .if-product-card-usps li,
  .if-product-card-price {
    text-align: left;
  }
}

/* =========================================================
   POST SIDEBAR NIEUWSBRIEF
   ========================================================= */

.sidebar .if-post-sidebar-newsletter {
    width: 100%;
    margin: 18px 0 0;
    padding: 20px 18px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #ebe7ec;
    border-radius: 12px;
    font-family: 'Montserrat', sans-serif;
}

.sidebar .if-post-sidebar-newsletter-label {
    display: block;
    margin: 0 0 6px;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px !important;
    line-height: 1.3 !important;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #ff5600;
}

.sidebar .if-post-sidebar-newsletter-title {
    margin: 0 0 7px;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 17px !important;
    line-height: 1.3 !important;
    font-weight: 700;
    color: #1a1a1a;
}

.sidebar .if-post-sidebar-newsletter-text {
    margin: 0 0 15px;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px !important;
    line-height: 1.6 !important;
    font-weight: 400;
    color: #5d585f;
}


/* =========================================================
   BREVO
   ========================================================= */

.sidebar .if-post-sidebar-newsletter-form,
.sidebar .if-post-sidebar-newsletter-form .sib_signup_form {
    width: 100%;
    margin: 0;
}

.sidebar .if-post-sidebar-newsletter-form .sib_signup_box_inside_2 {
    display: block;
    width: 100%;
    margin: 0;
}

.sidebar .if-post-sidebar-newsletter-form .sib_signup_box_inside_2 > p {
    margin: 0;
    padding: 0;
}

.sidebar .if-post-sidebar-newsletter-form p.sib-email-area {
    margin: 0 0 8px;
    padding: 0;
    font-size: 0 !important;
    line-height: 0 !important;
}

.sidebar .if-post-sidebar-newsletter-form .sib_msg_disp {
    margin: 0 0 8px;
}


/* =========================================================
   E-MAILVELD
   ========================================================= */

.sidebar .if-post-sidebar-newsletter-form input[type="email"] {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 12px;
    box-sizing: border-box;
    background: #faf9f7;
    border: 1px solid #ddd8df;
    border-radius: 7px;
    box-shadow: none;
    outline: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px !important;
    line-height: 44px !important;
    font-weight: 400;
    color: #2b2b2b;
}

.sidebar .if-post-sidebar-newsletter-form input[type="email"]:focus {
    border-color: #3a3244;
}


/* =========================================================
   AANMELDKNOP
   ========================================================= */

.sidebar .if-post-sidebar-newsletter-form input[type="submit"],
.sidebar .if-post-sidebar-newsletter-form .sib-default-btn {
    display: block;
    width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 14px;
    box-sizing: border-box;
    background: #ff5600;
    border: 0;
    border-radius: 7px;
    box-shadow: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px !important;
    line-height: 44px !important;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
}

.sidebar .if-post-sidebar-newsletter-form input[type="submit"]:hover,
.sidebar .if-post-sidebar-newsletter-form .sib-default-btn:hover {
    background: #e84e00;
}


/* =========================================================
   ONDERREGEL
   ========================================================= */

.sidebar .if-post-sidebar-newsletter-note {
    margin: 8px 0 0;
    font-family: 'Montserrat', sans-serif;
    font-size: 9px !important;
    line-height: 1.4 !important;
    font-weight: 400;
    color: #8a848c;
}


/* =========================================================
   POST SIDEBAR BANNER
   ========================================================= */

.if-post-sidebar-visual {
    display: block;
    width: 100%;
    margin: 28px 0 0;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
}

.if-post-sidebar-visual img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
}


/* =========================================================
   POST SIDEBAR STICKY
   ========================================================= */

@media (min-width: 992px) {

    body.single-post .layout {
        overflow: visible;
    }

    body.single-post main.right-sidebar-blog {
        display: flex;
        align-items: stretch;
    }

    body.single-post main.right-sidebar-blog > #content {
        width: 73% !important;
    }

    body.single-post main.right-sidebar-blog > [widgetid="post-sidebar"] {
        width: 27% !important;
        padding-bottom: 28px;
    }

    body.single-post #block-27 {
        position: sticky;
        top: 110px;
        align-self: flex-start;
    }

}



/* =========================================================
   COMMENTS
   ========================================================= */

.single-post .comments {
  border: 1px solid #e5e5e5;
}

@media (max-width: 1270px) {
  .single-post .comments {
    margin: 0 10px 40px;
  }
}