

#blogs img {
	height: 260px;
	object-fit: cover;
	object-position: center;

}

#blogs .ekit-wid-con .elementskit-meta-categories {
	position: relative !important;
	top: 28px !important;
	left: 28px !important;
	margin-bottom: 16px !important;
	width: fit-content !important;
}

#blogs .ekit-wid-con .elementskit-post-image-card .elementskit-entry-thumb {
		border-radius: 20px 20px 0 0 !important
}

#blogs p {
	margin-bottom: 16px !important;
}

@media (max-width: 767px) {
    .comparison-scroll {
        width: 100%;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
    }

    .comparison-table {
        min-width: 520px;
        flex-wrap: nowrap;
    }

    .comparison-scroll::-webkit-scrollbar {
        height: 6px;
    }

    .comparison-scroll::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.35);
        border-radius: 20px;
    }
}

/* Adjust cash-offer-form landing position on mobile */
@media (max-width: 767px) {
  #cash-offer-form {
    scroll-margin-top: -140px;
  }
}

/* Schedule-a-call banner form */
.schedule-call-form .cool-form {
    --cool-form-column-gap: 12px;
    --cool-form-row-gap: 0px;
    --cool-form-field-bg-color: #ffffff;
    --cool-form-field-border-color: #aebdca;
    --cool-form-field-text-color: #4b5563;
    --cool-form-button-text-color: #ffffff;
    --cool-form-button-text-color-hover: #ffffff;
}

/* Phone, preferred time, and button in one row */
.schedule-call-form .cool-form__wrapper {
    display: grid !important;
    grid-template-columns: 1.15fr 1.15fr 0.9fr;
    gap: 12px !important;
    align-items: start;
}

.schedule-call-form .cool-form__field-group,
.schedule-call-form .cool-form__submit-group {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
}

/* Make fields and button identical heights */
.schedule-call-form .cool-form-text,
.schedule-call-form .cool-form__button {
    height: 54px !important;
    min-height: 54px !important;
}

/* Button styling */
.schedule-call-form button.cool-form__button[type="submit"] {
    background-color: #1998E5 !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    font-weight: 700 !important;
    width: 100% !important;
}

.schedule-call-form button.cool-form__button[type="submit"]:hover {
    background-color: #147fc2 !important;
    color: #ffffff !important;
}

/* Mobile: fields beside each other, button underneath */
@media (max-width: 767px) {
    .schedule-call-form .cool-form__wrapper {
        grid-template-columns: 1fr 1fr;
        gap: 10px !important;
    }

    .schedule-call-form .cool-form__submit-group {
        grid-column: 1 / -1;
    }

    .schedule-call-form .cool-form-text,
    .schedule-call-form .cool-form__button {
        height: 50px !important;
        min-height: 50px !important;
    }
}

/* Very narrow phones */
@media (max-width: 380px) {
    .schedule-call-form .cool-form__wrapper {
        grid-template-columns: 1fr;
    }

    .schedule-call-form .cool-form__submit-group {
        grid-column: auto;
    }
}

/* Hide fields only after a confirmed successful submission */
.vhh-confirmation .cool-form.vhh-success .cool-form__wrapper {
    display: none !important;
}

/* Large confirmation panel */
.vhh-confirmation .elementor-message-success {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 26px 22px !important;
    text-align: center !important;
    color: #071326 !important;
    background: linear-gradient(135deg, #effff5, #dff8e8) !important;
    border: 2px solid #20a65a !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 25px rgba(32, 166, 90, 0.24) !important;
    animation: vhhSuccessPop 0.45s ease-out;
}

/* Remove Elementor's small default message icon */
.vhh-confirmation .elementor-message-success::before {
    display: none !important;
}

.vhh-success-check {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    margin: 0 auto 12px;
    color: #ffffff;
    background: #20a65a;
    border-radius: 50%;
    font-size: 36px;
    font-weight: 700;
    box-shadow: 0 0 0 7px rgba(32, 166, 90, 0.14);
}

.vhh-success-title {
    margin-bottom: 7px;
    color: #071326;
    font-size: 27px;
    line-height: 1.15;
    font-weight: 700;
}

.vhh-success-copy {
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.4;
}

.vhh-success-important {
    color: #08753c;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.vhh-success-note {
    margin-top: 7px;
    color: #4b5563;
    font-size: 14px;
}

@keyframes vhhSuccessPop {
    from {
        opacity: 0;
        transform: scale(0.93) translateY(8px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 767px) {
    .vhh-confirmation .elementor-message-success {
        padding: 23px 17px !important;
    }

    .vhh-success-title {
        font-size: 23px;
    }

    .vhh-success-copy,
    .vhh-success-important {
        font-size: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vhh-confirmation .elementor-message-success {
        animation: none;
    }
}

/* Vegas House Heroes glowing contact button — desktop and mobile */
.vhh-contact-glow {
    width: auto !important;
    max-width: none !important;
    align-self: center !important;
}

.vhh-contact-glow .elementor-button {
    width: auto !important;
    min-height: 44px;
    padding: 4px 12px 4px 5px !important;
    color: #ffffff !important;
    background: #091A36 !important;
    border: 1px solid rgba(255, 255, 255, 0.16) !important;
    border-radius: 999px !important;
    box-shadow:
        0 0 0 4px rgba(45, 200, 105, 0.12),
        0 0 14px rgba(45, 200, 105, 0.48) !important;
}

.vhh-contact-glow .elementor-button:hover,
.vhh-contact-glow .elementor-button:focus {
    background: #10294D !important;
    box-shadow:
        0 0 0 5px rgba(45, 200, 105, 0.16),
        0 0 20px rgba(45, 200, 105, 0.65) !important;
    transform: translateY(-1px);
}

.vhh-contact-glow .elementor-button-content-wrapper {
    display: flex;
    align-items: center;
    gap: 7px !important;
}

.vhh-contact-glow .elementor-button-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 0 !important;
    background: #22A95B;
    border-radius: 50%;
    flex-shrink: 0;
}

.vhh-contact-glow .elementor-button-icon svg {
    width: 17px !important;
    height: 17px !important;
    fill: #ffffff !important;
}

.vhh-contact-glow .elementor-button-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.15;
    white-space: nowrap;
}

.vhh-contact-glow .elementor-button-text::before {
    content: "CALL NOW · 24/7";
    margin-bottom: 1px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 0.8px;
}

/* Mobile header fine-tuning */
@media (max-width: 767px) {
    /* Add breathing room above and below header items */
    .elementor-15 .elementor-element.elementor-element-b9156c8 {
        --padding-top: 6px !important;
        --padding-bottom: 6px !important;
    }

    .vhh-contact-glow .elementor-button {
        min-height: 38px;
        padding: 3px 10px 3px 4px !important;
        box-shadow:
            0 0 0 3px rgba(45, 200, 105, 0.11),
            0 0 10px rgba(45, 200, 105, 0.42) !important;
    }

    .vhh-contact-glow .elementor-button-icon {
        width: 30px;
        height: 30px;
    }

    .vhh-contact-glow .elementor-button-icon svg {
        width: 15px !important;
        height: 15px !important;
    }

    .vhh-contact-glow .elementor-button-content-wrapper {
        gap: 6px !important;
    }

    .vhh-contact-glow .elementor-button-text {
        font-size: 12px !important;
    }

    .vhh-contact-glow .elementor-button-text::before {
        font-size: 6.5px;
        letter-spacing: 0.7px;
    }

    /* Make the hamburger match the button height */
    .elementor-15
    .elementor-element.elementor-element-fb17bab
    button.elementskit-menu-hamburger {
        width: 40px !important;
        height: 40px !important;
        padding: 6px !important;
    }
}

/* Fix ElementsKit mobile menu panel */
@media (max-width: 767px) {
    .elementor-15
    .elementor-element.elementor-element-fb17bab
    .elementskit-menu-container {
        width: 85% !important;
        max-width: 350px !important;
        z-index: 999999 !important;
    }
}

/* Keep blog featured images within the article width */
.single-post .ast-single-post-featured-section.ast-article-image-container--wide {
    margin-left: 10px;
    margin-right: 10px;
}

/* Slightly reduce featured images on desktop blog posts */
@media (min-width: 922px) {
    .single-post.ast-no-sidebar
    .site-content
    .ast-single-post-featured-section.ast-article-image-container--wide {
        margin-left: 20px !important;
        margin-right: 20px !important;
    }
}

/* Show the complete featured image on mobile */
@media (max-width: 921px) {
    .single-post
    .site-content
    .ast-single-post-featured-section
    img.wp-post-image {
        aspect-ratio: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }
}

body.single-post .entry-content > p {
  margin-bottom: 1.25em !important;
}
/* VHH guided contact-form flow */
.cool-form.vhh-flow-enhanced.vhh-arrived {
  animation: vhhFormArrive 0.5s ease-out both;
}

.cool-form.vhh-flow-enhanced
.cool-form__field-group.vhh-needs-attention
.cool-form-text {
  background: #fff9dc !important;
  border-radius: 8px;
  box-shadow: 0 0 0 3px rgba(234, 179, 8, 0.18);
  transition: background-color 0.25s ease, box-shadow 0.25s ease;
}

.cool-form.vhh-flow-enhanced
.vhh-needs-attention
.mdc-notched-outline__leading,
.cool-form.vhh-flow-enhanced
.vhh-needs-attention
.mdc-notched-outline__notch,
.cool-form.vhh-flow-enhanced
.vhh-needs-attention
.mdc-notched-outline__trailing {
  border-color: #e0a800 !important;
}

.cool-form.vhh-flow-enhanced
.cool-form__field-group.vhh-just-completed
.cool-form-text {
  animation: vhhFieldComplete 0.65s ease-out;
}

.cool-form.vhh-flow-enhanced
.cool-form__field-group.vhh-invalid-shake
.cool-form-text {
  animation: vhhFieldShake 0.34s ease-in-out;
}

.cool-form.vhh-flow-enhanced
.cool-form__field-group.vhh-method-pulse {
  animation: vhhMethodPulse 0.65s ease-out;
}

@keyframes vhhFormArrive {
  from { opacity: 0.72; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes vhhFieldComplete {
  0% { box-shadow: 0 0 0 3px rgba(32, 166, 90, 0.12); }
  50% { box-shadow: 0 0 0 6px rgba(32, 166, 90, 0.24); }
  100% { box-shadow: none; }
}

@keyframes vhhFieldShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@keyframes vhhMethodPulse {
  0% { box-shadow: 0 0 0 0 rgba(25, 152, 229, 0.28); }
  100% { box-shadow: 0 0 0 8px rgba(25, 152, 229, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .cool-form.vhh-flow-enhanced.vhh-arrived,
  .cool-form.vhh-flow-enhanced .vhh-just-completed .cool-form-text,
  .cool-form.vhh-flow-enhanced .vhh-invalid-shake .cool-form-text,
  .cool-form.vhh-flow-enhanced .vhh-method-pulse {
    animation: none !important;
  }
}
/* Stronger VHH guided-form colors */
.cool-form.vhh-flow-enhanced
.cool-form__field-group.vhh-needs-attention
.cool-form-text {
  background: #fff0a6 !important;
  box-shadow:
    0 0 0 4px rgba(245, 176, 0, 0.32),
    0 6px 18px rgba(224, 168, 0, 0.18);
}

.cool-form.vhh-flow-enhanced
.vhh-needs-attention
.mdc-notched-outline__leading,
.cool-form.vhh-flow-enhanced
.vhh-needs-attention
.mdc-notched-outline__notch,
.cool-form.vhh-flow-enhanced
.vhh-needs-attention
.mdc-notched-outline__trailing {
  border-color: #f0aa00 !important;
  border-width: 2px !important;
}

.cool-form.vhh-flow-enhanced
.vhh-just-completed
.cool-form-text {
  background: #d2f7df !important;
  box-shadow:
    0 0 0 5px rgba(32, 166, 90, 0.30) !important;
}

.cool-form.vhh-flow-enhanced
.vhh-method-pulse {
  background: rgba(25, 152, 229, 0.08);
  border-radius: 10px;
  box-shadow:
    inset 0 0 0 2px rgba(25, 152, 229, 0.28),
    0 0 0 5px rgba(25, 152, 229, 0.10);
}
/* Remove persistent contact-method ring after pulse */
.cool-form.vhh-flow-enhanced
.vhh-method-pulse {
  background: transparent !important;
  box-shadow: none;
}
/* BLOG ADDRESS POPUP — desktop entrance and one-time glow */
@media (min-width: 1280px) {

  body.single-post .vhh-blog-desktop-cta {
    display: block !important;
    position: fixed;
    top: 50%;
    right: 18px;
    width: 230px;
    z-index: 999;

    opacity: 0;

    animation:
      vhhBlogPopupEnter 0.6s cubic-bezier(0.2, 0.85, 0.25, 1.15) 1.5s both,
      vhhBlogPopupGlow 2.0s ease-out 3.0s both;
  }

  body.single-post .vhh-blog-mobile-cta {
    display: none !important;
  }
}

/* Slide in while remaining vertically centered */
@keyframes vhhBlogPopupEnter {
  from {
    opacity: 0;
    transform: translate(30px, -50%) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translate(0, -50%) scale(1);
  }
}

/* Glow once and gently return to normal */
@keyframes vhhBlogPopupGlow {
  0% {
    box-shadow: 0 10px 30px rgba(15, 44, 68, 0.16);
  }

  30% {
    box-shadow:
      0 0 0 5px rgba(25, 152, 229, 0.22),
      0 16px 38px rgba(25, 152, 229, 0.32);
  }

  65% {
    box-shadow:
      0 0 0 2px rgba(25, 152, 229, 0.10),
      0 13px 32px rgba(15, 44, 68, 0.18);
  }

  100% {
    box-shadow: 0 10px 30px rgba(15, 44, 68, 0.16);
  }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1280px) {
  body.single-post .vhh-blog-desktop-cta {
    opacity: 1;
    transform: translateY(-50%);
    animation: none;
  }
}