/*
Theme Name: Hello Elementor Child
Theme URI: https://elementor.com/
Description: Child theme for Hello Elementor
Author: Narek Smbatyan
Author URI: https://example.com/
Template: hello-elementor
Version: 1.0.0
Text Domain: hello-elementor-child
*/

/* Add your custom styles below */

input,
textarea,
select {
  -webkit-appearance: none;
  appearance: none;
  background-color: #fff;
  color: #000;
}

body {
  overflow-x: hidden;
}

.wp-post-image {
  border: 1px solid #D0D0D0 !important;
}

.single-post img {
  border: 1px solid #D0D0D0 !important;
}

.feature-single img {
  border: none !important;
}

.single-post .bbw-pg img, .single-post footer img, .single-post header img {
  border: none !important;
}

.elementor-author-box__avatar {
	width: 100% !important;
}

#live-date {
  color: #fff;
  font-family: var(--e-global-typography-text-font-family), sans-serif !important;
  font-size: 16px;
}

/* Placeholder color */
#gform_fields_87 input::placeholder {
  color: #CC6092;
  opacity: 1; /* important in some browsers (e.g., Firefox) */
}

/* Vendor fallbacks */
#gform_fields_87 input::-webkit-input-placeholder { color: #CC6092; }
#gform_fields_87 input:-ms-input-placeholder { color: #CC6092; }
#gform_fields_87 input::-ms-input-placeholder { color: #CC6092; }


.elementor-widget-heading.is-left,
.elementor-widget-heading.is-right {
  align-items: center;
}

.elementor-nav-menu--main .elementor-nav-menu .menu-item a {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.elementor-nav-menu--main .elementor-nav-menu .menu-item .sub-menu a {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

/* Text color */
.use-archive-color h1 {
  color: var(--archive-cat-color) !important;
}

.bbw-block-title.use-archive-color {
  display: flex;
}

.hover-preview-target {
  min-height: 320px;
}

.hcp-card .hcp-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.hcp-meta {
  margin-top: 10px;
}

.hcp-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 6px;
}

.hcp-pill {
  display: inline-block;
  padding: 8px 14px;
  font-size: 20px;
  line-height: 1;
  color: #fff;
  background: #C65FA9;
  height: max-content;
  margin-top: 20px;
}

.hcp-pill:hover {
  color: #fff;
}

.hcp-title a {
  font-size: 24px !important;
  font-weight: 500;
  line-height: 1.4;
  color: #000000;
}

#archive-description img {
  width: 100%;
}

/* MENU */
#m-menu {
  margin-bottom: 0;
  transition: opacity 0.25s ease;
}

/* WRAPPER stays fixed on the right */
#m-search, #m-search-mobile {
    position: absolute !important;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    background: #ffffff;
    z-index: 999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    /* Wrapper does NOT animate width */
    width: 100%;
    overflow: hidden;
}

/* INNER CONTENT STARTS COLLAPSED ON RIGHT */
#m-search .elementor-widget-container, #m-search-mobile .elementor-widget-container{
    width: 0;
    overflow: hidden;

    opacity: 0;
    transform: translateX(40px); /* slide from right */

    transition:
        width 0.4s ease,
        opacity 0.35s ease,
        transform 0.35s ease;
}

/* WHEN OPEN — INNER expands LEFT */
#m-search.is-open, #m-search-mobile.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

#m-s-text {
  cursor: pointer;
}

#m-search.is-open .elementor-widget-container, #m-search-mobile.is-open .elementor-widget-container {
    width: 100%;            /* expands to the left */
    opacity: 1;
    transform: translateX(0);
}

.single-post-content p a {
  font-size: 18px;
}

.single-post-content figcaption a {
  font-size: 14px;
}

/* Hide menu */
.header-search-open #m-menu {
    opacity: 0;
    pointer-events: none;
}


.hcp-title a:hover {
  color: #000000;
}

.hcp-skeleton .ph-img {
  width: 100%;
  height: 220px;
  background: #eee;
  margin-bottom: 16px;
}

.hcp-skeleton .ph-line {
  height: 12px;
  background: #eee;
  margin-bottom: 10px;
}

.hcp-skeleton .ph-line.short {
  width: 60%;
}

/* Row + track + progress (unchanged, but uses --hcp-accent now) */
.hover-preview-menu a[data-term-id],
.hover-preview-menu a[data-latest="1"] {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  position: relative;
  color: inherit;
}

.hover-preview-menu .hcp-label {
  white-space: nowrap;
}

.hover-preview-menu .hcp-spacer {
  flex: 1 1 auto;
  height: 2px;
  position: relative;
}

.hover-preview-menu .hcp-track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  background: #D0D0D0;
}

.hover-preview-menu .hcp-progress {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 1px;
  width: 0;
  background: var(--hcp-accent, currentColor);
  opacity: .9;
}

.hover-preview-menu a.is-active {
  color: var(--hcp-accent, currentColor);
}

.hover-preview-menu a.is-active span,
.hover-preview-menu a.is-hovering span {
  color: var(--hcp-accent, currentColor);
}

/* preview area */
.hover-preview-target {
  min-height: 320px;
}

.hcp-card .hcp-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.hcp-meta {
  margin-top: 10px;
}



.hcp-title {
  margin: 6px 0 0;
  font-size: 20px;
}


/* Single Post */

.elementor-post-info__terms-list {
  color: #fff;
}

.elementor-post-info__terms-list-item {
  padding: 8px 14px;
}

.elementor-post-info__item--type-author {
  color: #CC6092 !important;
}

.elementor-post-info__item--type-author span {
  color: #000000 !important;
}

/* Comments Section */

.title-comments {
  font-size: 24px !important;
  font-weight: 500;
  margin: 60px 0 10px 0;
}

.comment-metadata a {
  color: #7A7A7A !important;
  font-size: 14px;
  font-weight: 500;
}

.reply a {
  color: #7A7A7A !important;
  font-size: 14px;
  font-weight: 500;
}

#comments .comment-meta {
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

#comments .comment .comment-body,
#comments .pingback .comment-body {
  border: none !important;
}

#comments #submit {
  background-color: #2F2F2F;
  font-size: 15px;
  color: #fff;
  font-weight: 600;
  border-radius: 0;
  padding: 18px 50px;
  border-color: #2f2f2f;
  margin-top: 20px;
}

#comments #submit:hover {
  background-color: #fff;
  color: #2f2f2f;
}

#respond {
  margin-top: 30px;
}

.comment-notes {
  font-size: 16px;
}

.comment-content {
  font-size: 18px;
}

#reply-title {
  font-size: 24px;
  font-weight: 500;
}

.comment-author .fn {
  font-size: 20px;
  font-weight: 500;
}

/* Gravity styles */

.new-form form {
  display: flex;
  align-items: center;
}

.new-form form .gfield_label {
  display: none !important;
}

.new-form form .gform_footer {
  padding: 0;
  margin: 0;
  width: 51px;
  height: 51px;
  background-color: #000 !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.new-form .gform_wrapper ul.gform_fields li.gfield {
  padding-right: 0 !important;
}

.new-form .gform_wrapper form .gform_footer .gform_image_button {
  margin-bottom: 0 !important;
}

.new-form .news-form {
  margin-top: 0 !important;
}

.new-form .gform_wrapper form .ginput_container {
  margin-top: 0 !important;
}

.new-form .gform_wrapper {
  margin: 0 !important;
}

.new-form .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  height: 51px;
  padding: 16px;
  color: #7A7A7A;
  border: none !important;
}

.new-form.bordered-form .gform_wrapper input:not([type=radio]):not([type=checkbox]):not([type=submit]):not([type=button]):not([type=image]):not([type=file]) {
  border: 1.5px solid #F5F5F5;
}


.new-form .gform_body {
  flex: 1;
}

/* Newsletter MC form */

.mc-name-block {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 20px;
}

.sec-mail-block {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.sec-mail-block > div {
  width: 50%;
  margin-bottom: 20px;
  flex: 1;
}

.mc-name-block > div {
  flex: 1;
}

#mce-EMAIL {
  margin-bottom: 20px;
}

#mc-embedded-subscribe {
    background-color: #2F2F2F;
    width: 180px;
    border: 1px solid #2f2f2f;
    transition: .2s;
    text-align: center;
    font-weight: 600;
    color: #fff;
    font-size: 15px;
    padding: 20px 0;
    margin-top: 20px;
}

#mc-embedded-subscribe:hover {
  background-color: #fff;
  color: #2f2f2f;
}

#mc_embed_shell input, #mc_embed_shell select {
  border: 1px solid #DDDDDD;
  border-radius: 0 !important;
}

#mc_embed_signup div.mce_inline_error {
    margin: -14px 0 0em 0 !important;
    padding: 5px 0px !important;
    background-color: #6b050500 !important;
    font-size: 12px !important;
    color: #c00000 !important;
}

#cs-form form ul li {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

#cs-form .has_first_name input {
  margin-bottom: 0 !important;
}

#cs-form input, #cs-form textarea {
  border: 1px solid #DDDDDD !important;
  border-radius: 0 !important;
  transition: .3s;
  padding: 10px;
}

#cs-form textarea {
  margin-top: 15px !important;
}

#cs-form .gform_button {
    background-color: #2F2F2F;
    width: 180px;
    border: 1px solid #2f2f2f;
    transition: .2s;
    text-align: center;
    font-weight: 600;
    color: #fff;
    font-size: 15px;
    padding: 20px 0 !important;
    margin-top: 20px;
    transition: .2s;
    margin: 0 !important;
}

#cs-form .gform_button:hover {
  background-color: #ffffff;
  color: #2f2f2f;
}

#cs-form .gform_title {
  display: none;
}

.gf_submission_limit_message {
  margin-bottom: 0;
}

.gform_legacy_markup_wrapper .gform_validation_errors {
      border: 2px solid #790000 !important;
}



/* Gutenberg Block styles for the theme */
.bbw-pg__toggle {
    align-items: center;
    background-color: #fff !important;
    border: none !important;
    border-radius: 50% !important;
    box-shadow: 0 0 0 10px hsla(0, 0%, 100%, .55);
    cursor: pointer !important;
    display: flex !important;
    height: 70px;
    justify-content: center;
    position: absolute;
    transition: transform .25s ease, box-shadow .25s ease !important;
    width: 70px !important;
}


.bbw-pr__img {
    height: 100% !important;
    height: 390px !important;
}

.bbw-fpc__btn {
  font-size: 16px !important;
  color: #000 !important;
}

.gform_legacy_markup_wrapper label.gfield_label, .gform_legacy_markup_wrapper legend.gfield_label {
    font-weight: 400 !important;
    font-size: 16px !important;
    margin-bottom: -4px !important;
}

.gform_legacy_markup_wrapper .field_sublabel_below .ginput_complex.ginput_container label, .gform_legacy_markup_wrapper .field_sublabel_below div[class*=gfield_time_].ginput_container label {
  margin: 6px 0 9px 1px !important;
}






.author-social-icons{
  display:flex;
  align-items:center;
  gap:12px;            /* spacing between circles */
}

/* circle button */
.author-social-link{
  width:44px;
  height:44px;
  border:2px solid #2F2F2F;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  color:#111;
  text-decoration:none;
  line-height:1;
  transition: transform .12s ease, background .12s ease, color .12s ease;
}

/* icon size */
.author-social-link i{
  font-size:18px;
}

/* optional hover (feels good) */
.author-social-link:hover{
  transform: translateY(-1px);
  background:#2F2F2F;
  color:#fff;
}

/* optional: keep perfect alignment for FA icons */
.author-social-link i,
.author-social-link svg{
  display:block;
}

.single-post figcaption {
    font-size: 14px !important;
    font-style: normal !important;
    margin-top: 8px !important;
}

@media screen and (max-width: 991px) {
  #cs-form input, #cs-form textarea {
    font-size: 14px;
  }

  .comment-author .fn {
    font-size: 18px;
  }

  .comment-metadata a {
    font-size: 14px !important;
  }

  .comment-content {
    font-size: 14px;
  }

  .logged-in-as {
    font-size: 14px;
  }

  #respond {
    margin-top: 10px;
  }

     .bbw-block-title {
    font-size: 48px !important;
  }

  .hcp-title a {
    font-size: 18px !important;
        line-height: 1;
  }
 
}

@media screen and (max-width: 767px) {
   .bbw-block-title {
    font-size: 24px !important;
  }

  #mob-full-button a {
    width: 100%;
  }

  #live-date {
    font-size: 12px;
  }

  #cs-form .gform_button {
    padding: 15px 0;
    width: 100%;
  }

  .comment-author .fn {
    font-size: 14px;
  }

  #comments #submit {
        margin-top: 10px;
    width: 100%;
  }

  #menu-preview .hcp-card {
    display: flex;
        gap: 20px;
  }
 
  #menu-preview  .hcp-card .hcp-thumb img {
    max-width: 200px;
  }

  #menu-preview .hcp-pill {
    margin-top: 0;
  }

  #menu-preview .hcp-title a {
    font-size: 16px !important;
  }

  .hover-preview-target {
    min-height: auto !important;
        margin-bottom: 20px;
    
  }

  .mc-name-block, .sec-mail-block {
    gap: 17px !important;
  }
}

