.two-column-form {
  display: flex;
  gap: 20px; /* Adjust spacing between columns */
}

.two-column-form .column {
  flex: 1;
  display: flex;
  flex-direction: column;
}
/* For larger screens */
@media (min-width: 768px) {
    .lqd-post-header {
        position: relative;
        z-index: 10;
    }

    .entry-title {
        margin-top: 130px; /* Adjust this value to control the space between the header and title */
    }
}

/* For smaller screens */
@media (max-width: 767px) {
    .lqd-post-header {
        position: relative;
        z-index: 10;
    }

    .entry-title {
        margin-top: 120px; /* Adjust this value for smaller screens */
    }
}

/* CF7 STYLING */
/* --- GENERAL FORM LAYOUT --- */
.form-row {
    margin-bottom: 20px;
}

.two-columns {
    display: flex;
    gap: 20px;
}

.two-columns .column {
    flex: 1;
}

/* --- FORM FIELDS (inputs, selects, textareas) --- */
.form-row input[type="text"],
.form-row input[type="email"],
.form-row input[type="tel"],
.form-row input[type="file"],
.form-row select,
.form-row textarea {
    width: 100%;
    padding: 10px;
    font-size: 14px;
    color: #333; /* Dark typing text */
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* --- PLACEHOLDER STYLE --- */
input::placeholder,
textarea::placeholder {
    color: #aaa; /* Light grey placeholders */
    opacity: 1;
}

/* --- TEXTAREA SPECIFIC --- */
textarea {
    resize: vertical;
    min-height: 80px; /* Shorter Your Message field */
}

/* --- SUBMIT BUTTON FINAL COLORS --- */
input[type="submit"] {
    display: block;
    width: 100% !important;
    max-width: 100%;
    background-color: #0A295E; /* Navy Blue */
    color: #fff;
    padding: 14px 20px;
    font-size: 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

input[type="submit"]:hover {
    background-color: #071E46; /* Darker navy on hover */
}

/* --- DISCLAIMER --- */
.disclaimer small {
    display: block;
    margin-top: 10px;
    color: #777;
    font-size: 12px;
    text-align: left;
}

/* --- RESPONSIVE FIXES FOR MOBILE --- */
@media screen and (max-width: 600px) {
    .two-columns {
        flex-direction: column;
    }

    .form-row input[type="text"],
    .form-row input[type="email"],
    .form-row input[type="tel"],
    .form-row input[type="file"],
    .form-row select,
    .form-row textarea {
        font-size: 16px !important; /* Prevent zoom on mobile */
    }
}

/* change position sizing about us team */
.custom-broker-title {
  font-size: 10px;
  line-height: 1.1 !important;
  display: inline-block;
}

/* Hide only team member socials hover */
.lqd-tm-socials {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* === RIGHT-SIDE MENU PILL STYLING — SCOPED TO `.pill-nav` ONLY === */

/* Core pill layout */
.pill-nav #primary-nav .menu-item:nth-child(1) > a,
.pill-nav #primary-nav .menu-item:nth-child(2) > a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 3px 20px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  text-decoration: none;
  background-color: #00AAE8;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  white-space: nowrap;
  transition: all 0.3s ease;
}

/* Second pill: purple */
.pill-nav #primary-nav .menu-item:nth-child(2) > a {
  background-color: #2d358c;
}

/* Hover styles */
.pill-nav #primary-nav .menu-item:nth-child(1) > a:hover {
  background-color: #0091c9;
}
.pill-nav #primary-nav .menu-item:nth-child(2) > a:hover {
  background-color: #3b3bb0;
}

/* Spacing between pills */
.pill-nav #primary-nav .menu-item {
  margin-left: 10px;
}

/* ACTIVE item: underline only */
.pill-nav #primary-nav .menu-item.current-menu-item > a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Icon: move left of text */
.pill-nav #primary-nav .menu-item > a .right-icon {
  order: -1; /* move before text */
  margin-right: 6px; /* space after icon */
  margin-left: 0;
}

.pill-nav #primary-nav .menu-item > a .right-icon svg,
.pill-nav #primary-nav .menu-item > a .right-icon svg * {
  fill: #ffffff !important;
}


#loans {
  border-radius: 2rem; /* try 32px or 48px for more curve */
  overflow: hidden;
}

/* optional: also curve inner feature boxes/cards */
#loans .lqd-fb {
  border-radius: 2rem;
  overflow: hidden;
}

/* hide date on blog */
                      * .lqd-lp-date {
  display: none !important;
}

/*hide google widget on mobile */
@media (max-width: 768px) {
  .ti-widget[data-layout-category*="floating"] {
    display: none !important;
  }
}


/*hide bottom space in blogs */
.blog-post-footer.entry-footer {
  display: none !important;
}
