/*
Theme Name: TWO Elementor
Description: Child of hello-elementor
Theme Author: The Web Orchard
Author URI: https://www.theweborchard.com
Template: hello-elementor
Text Domain: two
Version: 1.0.0
*/

/* ================================
   Base Layout
================================ */
html {
    overflow-x: hidden !important;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}


body > footer {
  margin-top: auto;
}

body.admin-bar {
  min-height: calc(100vh - var(--wp-admin--admin-bar--height, 32px));
}

/* ================================
   Typography
================================ */
h2 {
  font-weight: 700;
  text-transform: uppercase !important;
}

/* ================================
   Links & Buttons
================================ */
span.elementor-icon-list-text a {
  color: #fdcf2e;
}

a.hoverer-btn {
  background: #073965;
  color: #fdcf2e;
  font-size: 35px !important;
  font-weight: 900;
  text-transform: uppercase;
  fill: #fdcf2e;
  display: inline-flex;
  align-items: center;
}

a.hoverer-btn::after {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 600;
  font-size: 18px;
  content: "\f061";
  margin-left: auto;
  color: #FDCF2E;
  transition: transform 0.2s ease, color 0.2s ease;
}

a.hoverer-btn:hover {
  background: #fdcf2e;
  color: #073965;
  fill: #073965;
}

a.hoverer-btn:hover::after {
  transform: translateX(3px);
  color: #073965;
}

/* ================================
   Arrow Links
================================ */
.arrow-link {
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.arrow-link::after {
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 600;
  content: "\f061";
  margin-left: 6px;
  color: #ffffff;
  transition: transform 0.2s ease, color 0.2s ease;
}

.arrow-link:hover::after {
  transform: translateX(3px);
  color: #FDCF2E;
}

/* ================================
   REMOVE BULLETS
================================ */
.elementor-widget-two-sidebar-menu ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ================================
   GAP BETWEEN ITEMS
================================ */
.elementor-widget-two-sidebar-menu li {
    margin-bottom: 10px;
}

/* ================================
   MENU CARD
================================ */
.elementor-widget-two-sidebar-menu li > a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    border-radius: 12px;
    background: #F7F9FB;
    color: #003A63;
    font-weight: 600;
    text-decoration: none;
}

/* ================================
   RED ARROW ON ALL ITEMS
================================ */
._elementor-widget-two-sidebar-menu li > a::after {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
    font-weight: 600;
    content: "\f061";
    font-size: 18px;
    color: #D71920;
    transition: transform 0.2s ease;
}

/* ================================
   🔒 FORCE ALL SUBMENUS CLOSED
   (even if Elementor opens them)
================================ */
.elementor-widget-two-sidebar-menu li > ul {
    display: none !important;
    margin-top: 12px;
    margin-left: 20px;
}

/* ================================
   ✅ OPEN ONLY WHEN WE SAY SO
================================ */
.elementor-widget-two-sidebar-menu li.has-submenu.open > ul {
    display: block !important;
    margin-left: 20px !important;
    margin-top: 20px !important;
}

/* Rotate arrow only when open */
._elementor-widget-two-sidebar-menu li.open > a::after {
    transform: rotate(90deg);
}



/* ================================
   Hero Grid
================================ */
.two-hero-hoverer {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}


/* ================================
   Icons
================================ */
.hoverer-icon svg {
  width: 45px;
  margin-right: 20px;
  margin-top: 10px;
}

/* ======================================================
   RESPONSIVE BREAKPOINTS
====================================================== */

/* ---------- Tablet (≤ 1024px) ---------- */
@media (max-width: 1024px) {

  a.hoverer-btn {
    font-size: 28px !important;
  }

  .two-hero-hoverer {
    grid-template-columns: 1fr 1fr;
  }

  .hoverer-icon svg {
    width: 38px;
    margin-right: 15px;
  }
}

/* ---------- Mobile (≤ 767px) ---------- */
@media (max-width: 990px) {

  h2 {
    font-size: 22px;
  }

  a.hoverer-btn {
    font-size: 22px !important;
    padding: 12px 18px;
  }

  a.hoverer-btn::after {
    font-size: 16px;
  }
  span.hoverer-icon {
    display: none;
}
  
    /* Switch to FLEX on mobile */
  .two-hero-hoverer {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
	padding: 0;
  }

  /* Hide all images */
  .two-hero-hoverer img {
    display: none;
  }

  /* Show ONLY first image at top */
  .two-hero-hoverer img:nth-of-type(1) {
    display: block;
    width: 100%;
    order: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 10px;
  }

  /* Buttons = 2 per row */
  .two-hero-hoverer .hoverer-btn {
    width: calc(50% - 6px);
    order: 1;
    margin: 0;
	text-align: left;
  }

  /* Last button full width */
  .two-hero-hoverer .hoverer-btn:last-of-type {
    width: 100%;
  }
   p#breadcrumbs span a {
    font-size: 14px !important;
}
  .hoverer-icon svg {
    width: 32px;
    margin-right: 10px;
    margin-top: 0;
  }
  .apply-btn{ padding: 12px 28px; }
  .elementor-widget-two-sidebar-menu ul li {
    padding: 5px 5px;
    font-size: 14px;
  }
  #sbi_images {
	display: grid !important;
	grid-template-columns: repeat(2, 1fr) !important;
	gap: 10px;
  }

	/* Make sure items behave properly in grid */
  #sbi_images .sbi_item {
	width: 100% !important;
	margin: 0 !important;
  }
  /* Ensure images fill their grid cell */
  #sbi_images .sbi_photo,
  #sbi_images .sbi_photo img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
  }
}

/* ---------- Small Mobile (≤ 480px) ---------- */
@media (max-width: 480px) {

  a.hoverer-btn {
    font-size: 12px !important;
    text-align: center;
  }

  .arrow-link {
    font-size: 14px;
  }
}

.incident-filters-wrapper {
    margin-bottom: 40px;
}

.incident-search {
    position: relative;
    margin-bottom: 15px;
}

.incident-search input {
    width: 100%;
    padding: 12px 40px 12px 15px;
}

.incident-filter-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.incident-filter-row select,
.incident-filter-row input,
.incident-filter-row button {
    padding: 10px 14px;
}

#apply-incident-filters {
    background: #08345f;
    color: #fff;
    border: none;
    cursor: pointer;
}


@media (min-width: 991px) {

.two-widget.two-hero-hoverer {

    display: grid;
    grid-template-columns: 2fr 1fr;
    grid-template-rows: repeat(var(--n-rows), 1fr);

    height: 100%;
}

/* Images on LEFT */
.two-widget.two-hero-hoverer > img {
    grid-column: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Buttons on RIGHT */
.two-widget.two-hero-hoverer > .hoverer-btn {
    grid-column: 2;
    display: flex;
    align-items: center;
    padding: 20px;
    height: 100%;
}
}
@media only screen and (min-width:991px) and (max-width:1366px){
	
a.hoverer-btn {
    font-size: 23px !important;
}
}