.blocks-section {
  padding: 0;
  background-color: #fff;
}
.blocks-section {
    font-size: 16px;
}
.blocks-section h2 {
    font-size: 2.5rem;
    padding: 0;
}
/* .blocks-section h3 {
    font-size: 1.125rem;
} */
.wp-block-group {
  margin: 0 auto;
  max-width: 1232px;
    padding: 0 16px;
}
.font-size-small {
    font-size: 14px;
}
.font-size-medium {
    font-size: 1rem;
}
.font-size-large {
    font-size: 1.125re;
}
.font-size-xlarge {
    font-size: 1.25rem;
}
.font-size-xxlarge {
    font-size: 1.375rem;
}
.content-section {
    margin:  32px auto;
    max-width: 1232px;
    padding: 0 16px;
}
.width-xsmall {
  max-width: 360px;
  margin: 0 auto;
}
.width-small {
  max-width: 480px;
  margin: 0 auto;
}
.width-medium {
  max-width: 800px;
  margin: 0 auto;
}
.width-large {
  max-width: 1000px;
  margin: 0 auto;
}
.width-content {
  max-width: 1200px;
  margin: 0 auto;
}

/* Custom Contact Form 7 Styling */
.custom-contact-form {
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Nunito', sans-serif;
  position: relative;
  display: block;
  clear: both;
  overflow: hidden;
}

.custom-contact-form label {
  display: block;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.custom-contact-form .wpcf7-form-control-wrap {
  display: block;
  margin-bottom: 20px;
}

.custom-contact-form input[type="text"],
.custom-contact-form input[type="email"],
.custom-contact-form input[type="tel"],
.custom-contact-form textarea,
.custom-contact-form select {
  width: 100%;
  padding: 12px 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  background-color: #fff;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.3s;
  margin-bottom: 5px;
}

/* Style for invalid fields */
.custom-contact-form .wpcf7-not-valid {
  border-color: #dc3232;
}

.custom-contact-form textarea {
  height: 180px;
  resize: vertical;
}

.custom-contact-form input:focus,
.custom-contact-form textarea:focus,
.custom-contact-form select:focus {
  outline: none;
  border-color: #00A05D;
}

.custom-contact-form input[type="submit"] {
  background-color: #00A05D;
  color: #fff;
  border: none;
  padding: 12px 32px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
  display: block;
  margin: 20px auto;
  width: auto;
}

.custom-contact-form input[type="submit"]:hover {
  background-color: #00A05D;
}

/* Error and validation styling */
.custom-contact-form .wpcf7-not-valid-tip {
  color: #dc3232;
  font-size: 14px;
  margin-top: 5px;
  display: block;
  text-align: left;
  font-weight: 500;
}

/* General response output styling */
.custom-contact-form div.wpcf7-response-output,
.custom-contact-form .wpcf7 form .wpcf7-response-output,
.custom-contact-form + .wpcf7-response-output,
div.wpcf7-response-output {
  margin: 20px 0;
  padding: 15px;
  border-radius: 4px;
  font-size: 15px;
  text-align: center;
  border: none !important;
  font-weight: 500;
  width: 100%;
  box-sizing: border-box;
  clear: both;
  display: block;
  color: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Success message styling */
.custom-contact-form div.wpcf7-mail-sent-ok,
.custom-contact-form .wpcf7 form.sent .wpcf7-response-output {
  background-color: #00A05D; /* Green background for success */
  color: #ffffff;
}

/* Error message styling */
.custom-contact-form div.wpcf7-validation-errors,
.custom-contact-form div.wpcf7-acceptance-missing,
.custom-contact-form .wpcf7 form.invalid .wpcf7-response-output,
.custom-contact-form .wpcf7 form.unaccepted .wpcf7-response-output,
.custom-contact-form .wpcf7 form.payment-required .wpcf7-response-output,
.custom-contact-form .wpcf7-response-output.wpcf7-validation-errors,
.custom-contact-form .wpcf7 form:not(.sent) .wpcf7-response-output,
.wpcf7-response-output:not(.wpcf7-mail-sent-ok) {
  background-color: #dc3232; /* Red background for errors */
  color: #ffffff;
}

/* Fix for the bottom response message */
.custom-contact-form .wpcf7 form .wpcf7-response-output,
.custom-contact-form .wpcf7-response-output {
  position: relative;
  float: none;
  margin-top: 20px;
  margin-bottom: 20px;
  clear: both;
  text-align: center;
  width: 100%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .custom-contact-form {
    max-width: 100%;
    padding: 0 15px;
  }
  
  .custom-contact-form input[type="submit"] {
    width: 100%;
  }
}
.width-full {
  max-width: 100%;
}
.p-20 {
  padding: 20px;
}
.p-40 {
  padding: 40px;
}
.wp-block-cover {
  min-height: 260px !important;
}
.wp-block-cover .wp-block-cover__inner-container {
  max-width: 1200px;
    margin: 0 auto;
}
.wp-block-cover .wp-block-cover__inner-container p {
  max-width: 800px;
    margin: 0 auto;
}
.wp-block-list {
    list-style: disc;
    margin-left: 32px;
    margin-bottom: 10px;
}
.blocks-section p a {
    color: #005073;
    font-weight: 500;
    text-decoration: underline;
}

table, .wp-block-table {
  border: none;
  width: 100%;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
  font-weight: 300;
  font-size: 14px;
  margin: 20px auto;
}
.wp-block-table th, .wp-block-table td, .wp-block-table thead {
  border: none !important;
}
table thead tr {
  border: none;
}
thead > tr > th {
    border: none;
  font-weight: 600;
  font-size: 16px;
}

table tr {
  padding: 5px;
  border: none;
}

/* Add alternating row colors */
table tbody tr:nth-child(odd) {
  background-color: #F6F6F6;
}

table th,
table td {
  padding: 10px;
  border: none;
}

table th {
  font-size: 14px;
  text-align: left;
}
.swiper img {
    width: 100%;
    max-width: 80px;
    height: auto;
}
.swiper-button-next, .swiper-container-rtl .swiper-button-prev {background-image: none;}
.swiper-button-prev, .swiper-container-rtl .swiper-button-next {
    background-image: none;
}
.cta-contact {
    background-image: url('../../global/img/geno-default-bgr.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #ffffff;
}
.cta-contact-container {
    max-width: 832px;
    margin: 0 auto;
    padding: 40px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.cta-contact-container h2 {
    font-size: 35px;
}
.cta-contact-container p {
    font-size: 20px;
}
h2.wp-block-heading {
  font-size: 40px;
  padding: 20px 0 10px;
  line-height: normal;
}
h3.wp-block-heading {
  font-size: 35px;
  font-weight: 600;
  font-family: 'Source Serif 4';
  line-height: normal;
  padding: 20px 0 10px;
}
h4.wp-block-heading {
  font-size: 18px;
  line-height: normal;
  padding: 0 0 10px 0;
}

/* Post categories styling */
.post-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 6px;
}
.post-categories span {
    text-transform: uppercase;
}

/* Post thumbnail standardization */
.post-list-thumbnail {
  height: 220px; /* Set a fixed height */
  overflow: hidden;
  position: relative;
}

.post-list-thumbnail a {
  display: block;
  height: 100%;
  width: 100%;
}

.post-list-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* This is the key property for consistent sizing */
  object-position: center; /* Center the image within the container */
  transition: transform 0.3s ease;
}

.post-list-thumbnail:hover img {
  transform: scale(1.05); /* Subtle zoom effect on hover */
}
.item.item-post-card{
    padding: 0;
}
.item-post-card {
    border: 1px solid #B6B6B6;
}
.post-list-content {
    padding: 20px;
}

/* Category description styling */
.product-category-content {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 20px;
}
.product-category-content .category-description {
    margin: 1rem auto 2rem;
    font-size: 20px;
    line-height: 1.6;
    max-width: 860px;
    color: #444;
    text-align: center;
}

.product-category-content .category-title {
    margin-bottom: 0.5rem;
    text-align: center;
}
.product-category-content img {
    max-width: 100px;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
}

@media screen and (max-width: 600px) {
  table {
    border: 0;
  }

  table thead {
    display: none;
  }

  table tr {
    margin-bottom: 10px;
    display: block;
    border-bottom: 2px solid #ddd;
  }

  table td {
    display: block;
    text-align: left;
    font-size: 13px;
    border-bottom: 1px dotted #ccc;
  }

  table td:last-child {
    border-bottom: 0;
  }

  table td:before {
    content: attr(data-label);
    float: left;
    margin-right: 6px;
    font-weight: 600;
  }
}
.category-blocks {
    max-width: 1232px;
    margin: 0 auto;
    padding: 0 16px;
}
.category-blocks h3 {
    font-size: 35px;
    font-family: 'source-serif-4', serif;
    font-weight: 500;
    text-align: center;
}
.category-blocks hr {
    margin: 32px 0;
}
.tumor_targets p {
    font-size: 18px;
}
