.contact-form-page label {
  color: #ffffff;
}

.contact-form-page input,
.contact-form-page textarea {
  color: #ffffff;
}

.contact-form-page input::placeholder,
.contact-form-page textarea::placeholder {
  color: rgba(255, 255, 255, 0.6);
}


/* OUTER SEARCH WRAPPER */
.wp-block-search {
  max-width: 500px;
  margin: 40px auto;
}

.wp-block-search .wp-block-search__inside-wrapper {
  background: #fff;
  border: 15px solid #f7f7f7;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* INPUT FIELD */
.wp-block-search__input {
  border: none !important;
  outline: none;
  background: #000;               /* white typing area */
  flex: 1;
  font-size: 16px;
  color: #333;
}

.wp-block-search__label {
  display: none !important;
}

/* PLACEHOLDER */
.wp-block-search__input::placeholder {
  color: #888;
}

.wp-block-search__button {
  width: 34px !important;
  height: 34px !important;
  margin-bottom: 25px !important;

  padding: 0 !important;
  border: none !important;
  background-color: transparent !important;

  /* ICON HERE */
  background-image: url("http://staging.zenithyachtcharters.com/wp-content/uploads/2026/05/search.svg") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 18px 18px !important;

  color: transparent !important;
  font-size: 0 !important;

  cursor: pointer;
}

.wp-block-search__inside-wrapper {
  position: relative;
}

/* fake placeholder */
.wp-block-search__inside-wrapper::before {
  content: "Search articles...";
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 16px;
  pointer-events: none;
}

.wp-block-search__input:focus::placeholder,
.wp-block-search__input:not(:placeholder-shown)::placeholder {
  opacity: 0;
}

/* also hide fake placeholder when user types */
.wp-block-search__inside-wrapper:has(.wp-block-search__input:not(:placeholder-shown))::before {
  opacity: 0;
}


/* =========================
   CATEGORY BLOCK ONLY
========================= */

.wp-block-group:has(.wp-block-categories) {
  max-width: 500px;
  margin: 0 auto 20px;
  padding: 18px;
  margin-bottom: 25px !important;

  border: 1px solid #e5e5e5;
  border-radius: 14px;
}

/* =========================
   TITLE (h2)
========================= */

.wp-block-group:has(.wp-block-categories) h2 {
  display: flex;
  align-items: center;
  gap: 10px;

  font-family: "Trebuchet MS", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #333;

  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

/* ICON BEFORE TITLE */
.wp-block-group:has(.wp-block-categories) h2::before {
  content: "";
  width: 23px;
  height: 29px;

  background: url("http://staging.zenithyachtcharters.com/wp-content/uploads/2026/05/categories_icon.webp") no-repeat center;
  background-size: contain;
}

/* =========================
   CATEGORY LIST
========================= */

.wp-block-group:has(.wp-block-categories) .wp-block-categories-list {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wp-block-group:has(.wp-block-categories) .wp-block-categories-list li a {
  display: block;
  padding: 8px 12px;

  font-size: 14px;
  color: #333;
  text-decoration: none;

  border-radius: 8px;
  transition: 0.2s ease;
}

.wp-block-group:has(.wp-block-categories) .wp-block-categories-list li a:hover {
  background: #eaeaea;
  transform: translateX(3px);
}

/* =========================
   UTILITIES
========================= */

.cat-highlight {
  color: #f3c75b;
}

.post-header-highlight :is(h1, h2, h3, h4, h5, h6) {
  color: #EBB553 !important;
}

/* SEARCH SPACING */
.wp-block-search {
  margin-bottom: 25px !important;
}

/* =========================
   POST BLOCK (MATCH CATEGORY STYLE)
========================= */

.posts-block {
  max-width: 500px;
  margin: 0 auto 20px;
  padding: 18px;

  border: 1px solid #e5e5e5;
  border-radius: 14px;
}

/* =========================
   TITLE (h2)
========================= */

.posts-block h2 {
  display: flex;
  align-items: center;
  gap: 10px;

  font-family: "Trebuchet MS", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: #333;

  border-bottom: 1px solid #eee;
  padding-bottom: 12px;
  margin-bottom: 14px;
}

/* ICON BEFORE TITLE */
.posts-block h2::before {
  content: "";
  width: 23px;
  height: 29px;

  background: url("http://staging.zenithyachtcharters.com/wp-content/uploads/2026/05/categories_icon.webp") no-repeat center;
  background-size: contain;

  display: inline-block;
}

/* =========================
   POST LIST
========================= */

.posts-block .wp-block-post-template {
  list-style: none;
  padding: 0;
  margin: 0;

  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* =========================
   POST LINK (MATCH CATEGORY ITEMS)
========================= */

.posts-block .wp-block-post-title a {
  display: block;
  padding: 8px 12px;

  font-size: 14px;
  color: #333;
  text-decoration: none;

  border-radius: 8px;
  transition: 0.2s ease;
}

.posts-block .wp-block-post-title a:hover {
  background: #eaeaea;
  transform: translateX(3px);
}

/* =========================
   FEATURED IMAGE
========================= */

.posts-block .wp-block-post-featured-image img {
  width: 100%;
  height: 160px;
  object-fit: cover;

  border-radius: 8px;
}

.posts-block .wp-block-post-title::before,
.posts-block .wp-block-post-title a::before {
  content: none !important;
  display: none !important;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  margin: 0 8px;
  background: #000;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Font Awesome icons */
.social-icons a i {
  color: #fff;
  font-size: 18px;
}

/* Hover effect (optional but nice) */
.social-icons a:hover {
  transform: translateY(-3px);
  background: #222;
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

.post-nav a {
  text-decoration: none;
  color: #000;
  font-weight: 500;
  padding: 10px 18px;
  border: 1px solid #000;
  border-radius: 30px;
  transition: 0.3s;
}

.post-nav a:hover {
  background: #000;
  color: #fff;
}

.post-nav .next-post {
  margin-left: auto;
}

@media (max-width: 768px) {

  .mobile-stretch-row {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .mobile-stretch-row .wpb_column {
    width: 100% !important;
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }

  .mobile-stretch-row .vc_column-inner {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .mobile-stretch-row img {
    max-width: 100% !important;
    margin: 0 auto;
    display: block;
  }

}