/* Header Styles */
.hfe-nav-menu__breakpoint-tablet .hfe-nav-menu__layout-horizontal {
  display: none;
}

.hfe-nav-menu__breakpoint-tablet
  .hfe-active-menu.hfe-active-menu-full-width
  + .hfe-nav-menu__layout-horizontal {
  display: flex;
}
.text-decoration-none{
  text-decoration: none !important;
}

@font-face {
    font-family: 'sanofi_sansbold';
    src: url('../fonts/sanofisans-bold-webfont.woff2') format('woff2'),
         url('../fonts/sanofisans-bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}




@font-face {
    font-family: 'sanofi_sanslight';
    src: url('../fonts/sanofisans-light-webfont.woff2') format('woff2'),
         url('../fonts/sanofisans-light-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* Контейнер на формата */
.form-giveaway .wpcf7-form {
  max-width: 600px;
  margin: 0 auto;
  font-family: Arial, sans-serif;
}

/* Етикети / Заглавия на полетата */
.form-giveaway .form-label {
  display: block;
  margin-bottom: 15px;
  font-weight: bold;
  color: #114092; /* нов цвят */
}

/* Текстови полета, имейл, текстово поле */
.form-giveaway .form-input,
.form-giveaway .form-textarea,
.form-giveaway .form-file {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  box-sizing: border-box;
}

/* Текстово поле */
.form-giveaway .form-textarea {
  min-height: 120px;
  resize: vertical;
}

/* Файл бутон */
.form-giveaway .form-file {
  border: none;
  padding: 5px 0;
}

/* Чекбокси */
.form-giveaway .checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: normal;
  color: #114092; /* нов цвят */
}

/* Стил за checkbox елементите */
.form-giveaway .form-checkbox {
  width: auto;
  transform: scale(1.2);
}

/* Линкове в чекбоксите */
.form-giveaway .checkbox-label a {
  color: #114092;
  text-decoration: underline;
}
.form-giveaway .premium-modal-box-modal-header{
  padding: 20px;
}
.form-giveaway [type=submit]:focus{
  background-color: #0d336f;
}
.form-giveaway .checkbox-label a:hover {
  color: #0d336f;
}
.form-giveaway input:focus,
.form-giveaway textarea:focus {
  outline: none;
  transition: all 0.2s ease;
}
/* Бутон за изпращане */
.form-giveaway .form-submit {
  background-color: #0073aa;
  color: #fff;
  padding: 12px 25px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 20px;
  transition: background-color 0.3s ease;
}
.form-giveaway .form-checkbox {
  accent-color: #114092;
}
.form-giveaway .form-submit:hover {
  background-color: #005d8f;
}

/* По избор: премахване на допълнителни <br> */
.form-giveaway br {
  display: none;
}

/* 1. Make the wrapper a flexbox container that wraps items */
.premium-blog-wrap {
  display: flex;
  flex-wrap: wrap;
}

/* 2. Set base size for all items */
.premium-blog-post-outer-container {
  flex: 0 0 60%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  max-height: 245px;
}

/* 3. Alternate every second item to 40% width */
.premium-blog-post-outer-container:nth-child(2n) {
  flex: 0 0 40%;
  height: 100%;
}

/* 4. Flip layout every alternate pair (e.g., 3rd-4th, 7th-8th) */
.premium-blog-post-outer-container:nth-child(4n-2),
.premium-blog-post-outer-container:nth-child(4n-1) {
  flex: 0 0 40%;
  height: 100%;
}

.premium-blog-post-outer-container:nth-child(4n-3),
.premium-blog-post-outer-container:nth-child(4n) {
  flex: 0 0 60%;
}

/* 5. Match heights: force containers inside to stretch */
.premium-blog-post-container {
  flex: 1;
  display: flex;
  flex-direction: column;
}


@media (min-width: 1024px) and (max-width: 1280px) {
  .premium-blog-post-outer-container {
    max-height: 180px;
  }
}
@media (min-width: 768px) and (max-width: 1024px) {
  .premium-blog-post-outer-container {
    max-height: 125px;
  }
}

/* 6. Mobile layout: full width stacked */
@media (max-width: 768px) {
  .premium-blog-post-outer-container {
    flex: 0 0 100% !important;
  }  
}  

body.single-post {
  background-color: #eceef4;
  font-family: 'Arial', sans-serif;
  color: #222;
}
.post-wrapper {
  max-width: 1280px;
  margin: 100px auto 60px auto;
  background: #fff;
  border-radius: 24px;
  padding: 60px;
}
.post-feature-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  border-radius: 24px;
  display: block;
  margin-bottom: 2rem;
  object-fit: cover;
}
.post-title {
  font-weight: 700;
  font-size: 2.25rem;
  color: #1e208d; /* тъмносиньо */
  font-family: 'Poppins', sans-serif;
  margin-bottom: 0.5rem;
}

.wp-block-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e208d;
}
.post-meta {
  font-size: 0.875rem;
  color: #222;
  opacity: 0.7;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.post-meta svg {
  fill: #222;
  opacity: 0.7;
}
.post-excerpt {
  background-color: #ffe8b8;
  padding: 1.5rem 2rem;
  border-radius: 16px;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #2e2300;
  font-family: 'Poppins', sans-serif;
}
.post-content p {
  line-height: 1.6;
  font-size: 1rem;
  color: #222;
}
.post-content {
  font-family: 'Arial', sans-serif;
}

.single-post {
  .site-header {
    display: none;
  }

  .site-header+.elementor {
    min-height: auto !important;
  }
}

@media (max-width: 768px) {
  .single-post {
    background-color: white !important;
  }
  .post-wrapper {
    padding: 30px 20px;
    background-color: transparent;
  }
}
