/* Little Jamaica BIA - global front-end polish */

/* Boxed, centred content for classic (non-Elementor, non-Woo) pages */
body.page:not(.elementor-page):not(.woocommerce-page):not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account) #main-content>main.site-main{
  max-width:880px;margin:0 auto;padding:54px 20px 76px;box-sizing:border-box}
body.page:not(.elementor-page):not(.woocommerce-page) #main-content>main.site-main>*:first-child{margin-top:0}
body.page:not(.elementor-page):not(.woocommerce-page) #main-content>main.site-main h2{font-size:30px;line-height:1.25;color:#0B1030;margin:0 0 8px;font-family:Poppins,sans-serif;font-weight:700}
body.page:not(.elementor-page):not(.woocommerce-page) #main-content>main.site-main h3{font-size:20px;color:#0B1030;margin:28px 0 10px;font-family:Poppins,sans-serif;font-weight:600}
body.page:not(.elementor-page):not(.woocommerce-page) #main-content>main.site-main p{font-size:16px;line-height:1.75;color:#444;margin:0 0 16px}
body.page:not(.elementor-page):not(.woocommerce-page) #main-content>main.site-main strong{color:#0B1030}
body.page:not(.elementor-page):not(.woocommerce-page) #main-content>main.site-main ul{margin:0 0 18px;padding-left:22px}
body.page:not(.elementor-page):not(.woocommerce-page) #main-content>main.site-main li{margin:0 0 8px;line-height:1.7}
body.page:not(.elementor-page):not(.woocommerce-page) #main-content>main.site-main img{height:auto}

/* Contact Form 7 */
.wpcf7{max-width:760px;margin:26px 0 0}
.wpcf7-form p{margin:0 0 18px}
.wpcf7-form label{display:block;font-weight:600;font-size:14px;margin-bottom:6px;color:#0B1030;font-family:Poppins,sans-serif}
.wpcf7-form input[type=text],.wpcf7-form input[type=email],.wpcf7-form input[type=tel],.wpcf7-form input[type=url],.wpcf7-form input[type=number],.wpcf7-form input[type=date],.wpcf7-form textarea,.wpcf7-form select{width:100%;padding:12px 14px;border:1px solid #d5d8e5;border-radius:8px;font-size:14px;font-family:Poppins,sans-serif;background:#fff;color:#222;box-sizing:border-box;transition:border-color .15s}
.wpcf7-form input:focus,.wpcf7-form textarea:focus,.wpcf7-form select:focus{border-color:#FFD000;outline:none}
.wpcf7-form textarea{min-height:130px;resize:vertical}
.wpcf7-form .wpcf7-list-item{margin:6px 16px 6px 0;display:inline-block}
.wpcf7-form .wpcf7-list-item label{display:inline;font-weight:400}
.wpcf7-form .wpcf7-acceptance{font-size:13px;color:#666}
.wpcf7-form input[type=submit],.wpcf7-form button[type=submit]{background:#FFD000;color:#0A0A0A;border:0;padding:13px 34px;border-radius:30px;font-weight:600;font-size:15px;font-family:Poppins,sans-serif;cursor:pointer;transition:all .15s;margin-top:6px}
.wpcf7-form input[type=submit]:hover,.wpcf7-form button[type=submit]:hover{background:#0B1030;color:#fff}
.wpcf7-form .row{display:flex;flex-wrap:wrap;gap:20px}
.wpcf7-form .row>*{flex:1 1 240px}

main.site-main>style,.elementor-widget-text-editor style,.entry-content>style{display:none!important}


/* Listing card images: fill frame, crop to top */
img.attachment-listdo-card-image,
.job-grid-style .image-wrapper img,
.job_listing .image-wrapper img,
.job-list-style .image-wrapper img,
.widget-listing .image-wrapper img,
.item-listing .image-wrapper img,
.apus-listing .image-wrapper img{
  object-fit:cover !important;object-position:center 20% !important;width:100% !important;height:100% !important}
.job-grid-style .image-wrapper,.widget-listing .image-wrapper,.job_listing .image-wrapper{background:#0d2818 !important}
.elementor-widget-apus_listings .job-grid-style{border:1px solid #e9ebf3;border-radius:14px;overflow:hidden;background:#fff}
.elementor-widget-apus_listings .slick-slide{padding:0 10px}

/* ================= MOBILE / TABLET ================= */
@media(max-width:1024px){
  /* mobile logo sizing */
  .apus-header-mobile .logo img,.mobile-logo img,.header-mobile .logo img{max-height:46px;width:auto}

  /* hero heading + text scale down */
  .elementor-element-c48a810 .elementor-heading-title{font-size:34px !important;line-height:1.12 !important}
  .elementor-element-7f3ce51 .elementor-heading-title{font-size:15px !important}

  /* hero search box: tighten the oversized white panel */
  .elementor-widget-apus_listings_search_form .apus-listing-search-form,
  .elementor-widget-apus_listings_search_form form{padding:8px !important}
  .elementor-widget-apus_listings_search_form .form-group,
  .elementor-widget-apus_listings_search_form .field-search{margin-bottom:8px !important;padding:4px 8px !important}
  .elementor-widget-apus_listings_search_form input,
  .elementor-widget-apus_listings_search_form select,
  .elementor-widget-apus_listings_search_form .chosen-container{min-height:44px !important;font-size:15px !important}
  .elementor-widget-apus_listings_search_form .btn,
  .elementor-widget-apus_listings_search_form button{min-height:46px !important;font-size:15px !important}

  /* Popular chips: short, tidy, 2-up, no text clipping, no overlap on the photo */
  .elementor-element-f9e5c7a{margin-top:10px !important}
  .elementor-element-f9e5c7a .elementor-widget-apus_listings_category_banner{
    height:auto !important;min-height:0 !important;padding:14px 10px !important;margin:0 5px 10px !important;
    background:rgba(11,16,48,.55) !important;border:1.5px solid #FFD000 !important;border-radius:14px !important;
    display:flex !important;flex-direction:column;align-items:center;justify-content:center}
  .elementor-element-f9e5c7a .elementor-widget-apus_listings_category_banner *{height:auto !important}
  .elementor-element-f9e5c7a .cate-banner,
  .elementor-element-f9e5c7a .category-banner{height:auto !important;min-height:0 !important}
  .elementor-element-f9e5c7a .cate-banner .title,
  .elementor-element-f9e5c7a .name{font-size:14px !important;line-height:1.2 !important;margin-top:6px !important;color:#fff !important}
  .elementor-element-f9e5c7a [class*="flaticon"]{font-size:26px !important}

  /* culture badge flows below the chips, full width, centred */
  .elementor-element-c917af3 .lj-culture-badge{position:static !important;display:block !important;margin:14px auto 4px !important;max-width:340px !important;text-align:center}

  /* the new 8-tile category grid: 2 columns on phones */
  .ljc-grid{grid-template-columns:repeat(2,1fr) !important;gap:12px !important}
  .ljc-tile{padding:18px 14px !important}

  /* footer: stack columns */
  .elementor-element-ljf_main .elementor-container{flex-wrap:wrap}
  .elementor-element-ljf_main .elementor-column{width:50% !important}
}
@media(max-width:600px){
  .elementor-element-c48a810 .elementor-heading-title{font-size:28px !important}
  .ljc-grid{grid-template-columns:1fr !important}
  .elementor-element-ljf_main .elementor-column{width:100% !important}
}

/* Jamaican-themed page-title banner (replaces the default navy #1b2032) */
.apus-breadscrumb{background:linear-gradient(135deg,#04331a 0%,#0A8F3C 55%,#04331a 100%) !important;border-top:3px solid #FFD000;border-bottom:3px solid #FFD000;background-image:linear-gradient(135deg,#04331a 0%,#0A8F3C 55%,#04331a 100%) !important;}
.apus-breadscrumb .breadscrumb-inner{padding:30px 0 !important}
.apus-breadscrumb .bread-title{color:#fff !important}
.apus-breadscrumb a,.apus-breadscrumb span{color:#EAF7EE !important}
.apus-breadscrumb .breadcrumbs li:last-child,.apus-breadscrumb .active{color:#FFD000 !important}

.apus-breadscrumb::before{background-image:linear-gradient(135deg,#04331a 0%,#0A8F3C 55%,#04331a 100%) !important;background-color:#04331a !important;opacity:1 !important;}
