/*
Theme Name: Divi Child Theme
Description: Child Theme for Divi
Author:  Hand to Sky
Author URI: https://handtosky.com.au
Template: Divi
Version:  1.0.2
*/

/*
---------------------------
	CSS DIRECTORY
---------------------------
	=Font Setup
	=Global
	=Header
	=Footer
	=Media Queries
*/

/* ====Font Setup /////////////////////////////////////////////////*/
@font-face {
  font-family: "VIC";
  src:
    local("VIC Bold"),
    local("VIC-Bold"),
    url("fonts/VIC-Bold.woff2") format("woff2"),
    url("fonts/VIC-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VIC";
  src:
    local("VIC Bold Italic"),
    local("VIC-BoldItalic"),
    url("fonts/VIC-BoldItalic.woff2") format("woff2"),
    url("fonts/VIC-BoldItalic.woff") format("woff");
  font-weight: bold;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "VIC";
  src:
    local("VIC Italic"),
    local("VIC-Italic"),
    url("fonts/VIC-Italic.woff2") format("woff2"),
    url("fonts/VIC-Italic.woff") format("woff");
  font-weight: normal;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "VIC";
  src:
    local("VIC Medium"),
    local("VIC-Medium"),
    url("fonts/VIC-Medium.woff2") format("woff2"),
    url("fonts/VIC-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VIC";
  src:
    local("VIC Medium Italic"),
    local("VIC-MediumItalic"),
    url("fonts/VIC-MediumItalic.woff2") format("woff2"),
    url("fonts/VIC-MediumItalic.woff") format("woff");
  font-weight: 500;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "VIC";
  src:
    local("VIC"),
    local("VIC-Regular"),
    url("fonts/VIC-Regular.woff2") format("woff2"),
    url("fonts/VIC-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VIC";
  src:
    local("VIC SemiBold"),
    local("VIC-SemiBold"),
    url("fonts/VIC-SemiBold.woff2") format("woff2"),
    url("fonts/VIC-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "VIC";
  src:
    local("VIC SemiBold Italic"),
    local("VIC-SemiBoldItalic"),
    url("fonts/VIC-SemiBoldItalic.woff2") format("woff2"),
    url("fonts/VIC-SemiBoldItalic.woff") format("woff");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

/* ====Variables & Fonts /////////////////////////////////////////////////*/
:root {
  --primary-color: #f4b11b;
  --secondary-color: #002e56;
  --tertiary-color: #0047ba;
  --background-color: #ffffff;
  --text: #141414;
  --light: #ffffff;
  --dark: #000000;
}

body,
html {
  font-family: "VIC", sans-serif;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "VIC", sans-serif;
  font-weight: 600;
}

/* ====Global /////////////////////////////////////////////////*/
.hero-deco:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10.75vw;
  height: 10.75vw;
  background-color: var(--primary-color);
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-deco:after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10vw;
  height: 10vw;
  background-color: var(--light);
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 0% 100%);
  z-index: 2;
  pointer-events: none;
}
/* ====Header /////////////////////////////////////////////////*/
body:not(.home) .et_pb_row_0_tb_header {
  background-color: #003875;
  background-image: none !important;
}
/* ====Footer /////////////////////////////////////////////////*/
.footer-menu.et_pb_widget_area ul {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 10px 40px;
}

.et_pb_module.dis-inline-block {
  display: inline-block !important;
  float: right;
}

/* ====Home /////////////////////////////////////////////////*/
.home-carousel .dipi_carousel_child .dipi-carousel-item-content {
  transform: translate(0px, -100%);
  padding-bottom: 0px;
}

.home-carousel .dipi_carousel_child .dipi-carousel-item-content .dipi-carousel-item-title {
  margin-bottom: 0px;
}

.et_pb_section.flexed-area {
  display: flex;
  align-items: flex-end;
}

.et_pb_section.flexed-area > .et_pb_row {
  margin-bottom: 0px;
}

.et_pb_column.flex-col-end {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* =========================================================
Page Block Links
========================================================= */
.pbl-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(600px, 1fr));
  gap: 50px;
  width: 100%;
  max-width: 100%;
}

.home .pbl-wrapper {
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.pbl-block {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  text-decoration: none;
  cursor: pointer;

  &:before {
    display: block;
    content: "";
    width: 100%;
    padding-top: calc((65 / 132) * 100%);
  }
}

.pbl-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.45s ease;
  background-color: black;
}

.pbl-bg__img {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.pbl-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.1) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}

.pbl-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  width: 100%;
  max-width: 66%;
}

.pbl-title {
  font-size: 3.059vw;
  font-weight: 600;
  line-height: 1.1em;
  color: #ffffff;
}

.pbl-arrow {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: end;
  justify-content: end;
  z-index: 2;
  clip-path: polygon(100% 0, 100% 0, 100% 100%, 0% 100%);
  transition:
    width 0.25s ease,
    height 0.25s ease;
}

.pbl-arrow svg {
  width: 42px;
  height: 42px;
  margin-left: 0;
  position: relative;
  left: -8px;
  top: -16px;
}

.pbl-block:hover .pbl-bg {
  transform: scale(1.04);
}

/* ====Media Queries /////////////////////////////////////////////////*/
@media (max-width: 767px) {
}
@media (min-width: 768px) {
}
@media (min-width: 992px) {
}
@media (min-width: 1200px) {
}
