/* Newsletter wrapper */
.newsletter-wrapper {
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 4px; /* reduced from 3px to 0px */
    font-family: 'Inter', sans-serif; /* Inter font for everything */
}
/* Heading styling */
.newsletter-wrapper .newsletter-title {
    color: #ffffff !important; /* force white */
    font-size: 14px;
    font-weight: bold;
    margin-bottom: 5px; /* small spacing below heading */
}
/* CF7 wrapper spans - remove extra spacing */
.newsletter-wrapper span.wpcf7-form-control-wrap {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: normal !important;
    vertical-align: top !important;
}
/* Remove all default paragraph spacing in CF7 form */
.newsletter-wrapper p {
    margin: 0 !important;
    padding: 0 !important;
}
/* Space between input and submit */
.newsletter-wrapper span.wpcf7-form-control-wrap + span.wpcf7-form-control-wrap {
    margin-top: 4px !important;
}
/* Target the submit button's parent paragraph */
.newsletter-wrapper p:has(input.newsletter-submit) {
    margin: 0 !important;
    padding: 0 !important;
}
/* Remove any bottom margin from email input */
.newsletter-wrapper input.newsletter-email {
    margin: 0 !important;
}
/* Add controlled spacing above submit button */
.newsletter-wrapper input.newsletter-submit {
    margin-top: 0px !important; /* adjust this to control spacing */
}
/* Email input styling */
.newsletter-wrapper input.newsletter-email {
    width: 60% !important;
    padding: 10px 12px !important;
    font-size: 12px !important;
    border-radius: 0px !important;
    border: none !important;
    box-sizing: border-box !important;
}
/* Submit button styling */
.newsletter-wrapper input.newsletter-submit {
    width: 22% !important;
    padding: 10px 16px !important;
    font-size: 10px !important;
    border-radius: 0px !important;
    border: none !important;
    background: #ff722e !important;
    color: #fff !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
}
/* Button hover */
.newsletter-wrapper input.newsletter-submit:hover {
    background: #e6601f !important;
}
/* Mobile responsiveness */
@media (max-width: 600px) {
    .newsletter-wrapper input.newsletter-email,
    .newsletter-wrapper input.newsletter-submit {
        width: 100% !important;
    }
}


/* =========================================================
   MAIN MENU (unchanged – safe)
   ========================================================= */
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a,
.main-navigation .current-menu-ancestor > a {
    color: #ffffff !important;
}
/* =========================================================
   CONTACT FORM (Completely isolated – no more interference)
   ========================================================= */
/* ONLY modify spacing inside the big contact form */
.custom-form-wrapper .wpcf7-form p {
    margin: 0 !important;
    padding: 0 !important;
}
.custom-form-wrapper .wpcf7-form br {
    display: none !important;
}
/* Layout wrapper */
.custom-form-wrapper {
  max-width: 600px;
  margin: 0 auto;
}
/* Spacing between fields */
.custom-form-wrapper .field {
  margin-bottom: 22px;
}
/* Labels */
.custom-form-wrapper .custom-label {
  display: block;
  font-size: 12px;
  letter-spacing: 2px;
  color: #888;
  margin-bottom: 10px;
  font-weight: 600;
}
/* Inputs & textarea ONLY inside this form */
.custom-form-wrapper .wpcf7-form-control:not(.wpcf7-submit) {
  width: 100%;
  padding: 14px 16px;
  border-radius: 0px;
  border: 1px solid #e4e4e4;
  background: #f5f5f7;
  font-size: 15px;
  color: #333;
  box-sizing: border-box;
}
/* Textarea */
.custom-form-wrapper textarea {
  height: 110px;
  resize: none;
}
/* Submit button (only for big form) */
.custom-form-wrapper .custom-submit input[type="submit"] {
  width: 100%;
  background: #ff722e;
  color: white;
  font-size: 14px;
  letter-spacing: 2px;
  font-weight: 600;
  padding: 16px;
  margin-top: 10px;
  border-radius: 0px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.custom-form-wrapper .custom-submit input[type="submit"]:hover {
  opacity: 0.9;
}


/* =========================================================
   CATEGORY MENU
   ========================================================= */
.category-menu {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.category-menu a {
    background: #ff6b00;
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.category-menu a:hover {
    opacity: 0.85;
}

.category-menu a.active {
    background: #000;
    color: #fff;
}
/* Hide Jetpack related posts */
.jp-relatedposts,
#jp-relatedposts {
    display: none !important;
}
/* Hide post title ONLY on single post pages */
.single-post .entry-title,
.single-post .post-title,
.single-post h1.entry-title,
.single .entry-header .entry-title {
    display: none !important;
}

/* Ensure titles show in blog/archive/elementor listings */
.blog .entry-title,
.archive .entry-title,
.elementor-post__title,
.elementor-posts-container .entry-title {
    display: block !important;
    visibility: visible !important;
}
.page-id-about-us .entry-title,
body.page .entry-title {
    display: none !important;
}