/*
Theme Name: AutoEZ Child
Theme URI: https://autoez.au
Description: Child theme for Listify - AutoEZ styling
Author: Digital Dahling 💖
Template: listify
Version: 1.0
*/

/* =========================================================
   GLOBAL BASE
   ========================================================= */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Mukta', sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #4a4a4a;
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p,
li,
input,
textarea,
select,
button {
  font-family: 'Mukta', sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.site-title,
.page-title,
.entry-title {
  font-family: 'Mukta', sans-serif;
  text-transform: uppercase;
  color: #4a4a4a;
  line-height: 1.3;
  letter-spacing: -0.02em;
  font-weight: 400;
  font-style: normal;
  margin: 0 0 0.5em;
}

h1 { font-size: 1.7em; }
h2 { font-size: 1.6em; }
h3 { font-size: 1.25em; }
h4 { font-size: 1.125em; }
h5 { font-size: 1em; }
h6 { font-size: 0.85em; }

small,
.uppercase,
.section-subtitle,
.widget-title,
label,
legend,
.button-small,
button.small,
input[type="submit"].small {
  font-family: 'Mukta', sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 400;
}

a {
  color: #04dde1;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: #00cbce;
  text-decoration: none;
}

strong,
b {
  color: #4a4a4a;
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid rgba(45, 45, 45, 0.12);
  margin: 3rem 0;
}

/* selection */
::selection {
  background: #fde378;
  color: #4a4a4a;
}


/* =========================================================
   LAYOUT / CONTAINERS
   ========================================================= */

.container,
.wrap,
.site-content,
.content-area,
.page-content,
.entry-content,
#primary,
#main {
  max-width: 100%;
}

.site-content,
.content-area,
.page-content {
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.row,
.container,
.wrap,
.site-content .container,
.content-area .container {
  max-width: 1180px;
}

section,
.site-main > article,
.widget,
.content-box,
.job_listing,
.woocommerce ul.products li.product,
.listing,
.type-job_listing {
  margin-bottom: 2rem;
}

section {
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.section-alt,
.alt-section,
.bg-alt,
.has-alt-background {
  background: #ebf4f4;
}


/* =========================================================
   LISTIFY / CARD STYLE
   ========================================================= */

.widget,
.job_listing,
.type-job_listing,
.woocommerce ul.products li.product,
.blog-archive article,
.entry,
.card,
.listing,
.listify_widget_panel_listing_archive,
.listify_widget_recent_listings,
.listify_widget_listing_comments {
  background: #ffffff;
  border: 1px solid rgba(45, 45, 45, 0.12);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(45, 45, 45, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.widget:hover,
.job_listing:hover,
.type-job_listing:hover,
.woocommerce ul.products li.product:hover,
.blog-archive article:hover,
.entry:hover,
.card:hover,
.listing:hover {
  border-color: rgba(45, 45, 45, 0.18);
  box-shadow: 0 18px 50px rgba(45, 45, 45, 0.12);
  transform: translateY(-2px);
}


/* =========================================================
   BUTTONS
   ========================================================= */

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
a.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.job-manager-form .button,
.listify_widget_panel_listing_archive .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 46px;
  padding: 0.8rem 1.4rem;
  border: 0;
  border-radius: 999px;
  background: #04dde1;
  color: #4a4a4a;
  font-family: 'Mukta', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 8px 30px rgba(45, 45, 45, 0.06);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.button:hover,
a.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #00cbce;
  color: #4a4a4a;
  box-shadow: 0 18px 50px rgba(45, 45, 45, 0.12);
  transform: translateY(-1px);
}

.button.alt,
.button-outline,
.is-style-outline .wp-block-button__link {
  background: transparent;
  color: #04dde1;
  border: 2px solid #04dde1;
  box-shadow: none;
}

.button.alt:hover,
.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
  background: #04dde1;
  color: #4a4a4a;
}


/* =========================================================
   FORMS
   ========================================================= */

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(45, 45, 45, 0.14);
  border-radius: 8px;
  background: #ffffff;
  color: #4a4a4a;
  font-family: 'Mukta', sans-serif;
  font-size: 1rem;
  line-height: 1.4;
  box-shadow: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: #04dde1;
  box-shadow: 0 0 0 3px rgba(4, 221, 225, 0.18);
}

label {
  display: inline-block;
  margin-bottom: 0.5rem;
  color: #4a4a4a;
  font-size: 0.75rem;
}


/* =========================================================
   HEADER / NAV
   ========================================================= */

.site-header,
.header,
.navbar,
.site-header-main {
  background: #ffffff;
  color: #4a4a4a;
  text-transform: uppercase;
  /* border-bottom: 1px solid rgba(45, 45, 45, 0.12); */
}

.site-header a,
.header a,
.navbar a {
	font-family: Lato, sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
}

.site-header a:hover,
.header a:hover,
.navbar a:hover,
.current-menu-item > a,
.current_page_item > a {
  color: #04dde1;
}

.site-branding,
.site-logo,
.custom-logo-link {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}


/* =========================================================
   HERO / PAGE TITLES
   ========================================================= */

.page-header,
.hero,
.hero-banner,
.page-hero,
.archive-header,
.entry-header {
  background: linear-gradient(180deg, #ffffff 0%, #ebf4f4 100%);
  padding-top: clamp(3rem, 7vw, 6rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.page-header h1,
.hero h1,
.hero-banner h1,
.page-hero h1,
.archive-header h1 {
  margin-bottom: 0.3em;
  text-transform: uppercase;
}

.page-header p,
.hero p,
.hero-banner p,
.page-hero p,
.archive-header p {
  max-width: 42rem;
  color: #353535;
  font-size: 1.125rem;
  text-transform: uppercase;
}


/* =========================================================
   WIDGETS / SIDEBARS
   ========================================================= */

.widget-title,
.sidebar .widget-title,
.footer-widgets .widget-title {
  color: #4a4a4a;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.widget ul,
.sidebar ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.widget li,
.sidebar li {
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(45, 45, 45, 0.08);
}

.widget li:last-child,
.sidebar li:last-child {
  border-bottom: 0;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer,
.footer-widgets,
.colophon,
.footer {
  background: #4a4a4a;
  color: #ffffff;
}

.site-footer a,
.footer-widgets a,
.colophon a,
.footer a {
  color: #acf4f5;
}

.site-footer a:hover,
.footer-widgets a:hover,
.colophon a:hover,
.footer a:hover {
  color: #04dde1;
}

.site-footer .widget-title,
.footer-widgets .widget-title,
.colophon .widget-title {
  color: #ffffff;
}

.site-footer .button,
.footer .button {
  background: #fde378;
  color: #4a4a4a;
}


/* =========================================================
   BADGES / HIGHLIGHTS
   ========================================================= */

.badge,
.tag,
.post-categories a,
.job-type,
.woocommerce span.onsale {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: #fff9c7;
  color: #4a4a4a;
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.highlight,
mark {
  background: #fff9c7;
  color: #4a4a4a;
  padding: 0.08em 0.25em;
  border-radius: 0.25em;
}


/* =========================================================
   IMAGES
   ========================================================= */

img {
  border-radius: 8px;
}

.card img,
.widget img,
.listing img,
.job_listing img {
  border-radius: 0;
}


/* =========================================================
   MOBILE TIDY-UP
   ========================================================= */

@media (max-width: 768px) {
  body {
    font-size: 15px;
  }

  h1 { font-size: clamp(2rem, 8vw, 2.7rem); }
  h2 { font-size: clamp(1.6rem, 6vw, 2.2rem); }
  h3 { font-size: clamp(1.3rem, 5vw, 1.7rem); }

  section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }

  button,
  input[type="button"],
  input[type="reset"],
  input[type="submit"],
  .button,
  a.button,
  .wp-block-button__link {
    width: auto;
    min-height: 44px;
    padding: 0.8rem 1.15rem;
  }
}

/* =========================================================
   LISTIFY > FLATSOME-STYLE TWEAKS
   ========================================================= */


/* =========================================================
   HEADER
   full width + shadow
   ========================================================= */

.site-header,
.header,
.navbar,
.site-header-main,
.site-header .container,
.site-header .wrap,
.header .container,
.header .wrap,
.navbar .container,
.navbar .wrap {
  width: 100%;
  max-width: 100%;
}

.site-header,
.header,
.navbar,
.site-header-main {
  background: #ffffff;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.15);
  border-bottom: none;
  position: relative;
  z-index: 100;
}


/* =========================================================
   TYPOGRAPHY
   navigation, titles, headings
   ========================================================= */

.main-navigation, 
.main-navigation a, 
.nav-menu, 
.nav-menu a, 
.primary-navigation, 
.primary-navigation a, 
.site-header .menu, 
.site-header .menu a, 
.site-navigation, 
.site-navigation a, 
.header-nav, 
.header-nav a {
	font-family: Lato, sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
}
 
.site-title, 
.page-title, 
.entry-title, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6 {
	font-family: 'Mukta', sans-serif;
    font-weight: 400;
    font-style: normal;
    text-transform: uppercase;
}


/* =========================================================
   PAGE TITLE
   ========================================================= */

.page-title,
.entry-title,
.archive-title,
.page-header h1,
.archive-header h1,
.hero h1,
.hero-banner h1,
.page-hero h1 {
  font-family: 'Mukta', sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0;
}


/* =========================================================
   BLUE LINE UNDER PAGE TITLE
   Flatsome-ish divider
   ========================================================= */

.text-center .is-divider,
.text-center .is-star-rating,
.text-center .star-rating,
.text-center > div,
.text-center > div > div {
  margin-left: auto;
  margin-right: auto;
}

.is-divider {
  display: block;
  width: 100%;
  max-width: 30px;
  height: 2px;
  margin: 0.5em 0 0;
  background-color: #04dde1;
}

/* Auto-add divider under common page titles */
.page-title::after,
.entry-title::after,
.archive-title::after,
.page-header h1::after,
.archive-header h1::after,
.hero h1::after,
.hero-banner h1::after,
.page-hero h1::after {
  content: "";
  display: block;
  width: 30px;
  height: 2px;
  margin: 0.5em 0 0;
  background-color: #04dde1;
}

/* centered titles get centered divider */
.text-center .page-title::after,
.text-center .entry-title::after,
.text-center .archive-title::after,
.text-center .page-header h1::after,
.text-center .archive-header h1::after,
.text-center .hero h1::after,
.text-center .hero-banner h1::after,
.text-center .page-hero h1::after,
.page-header.text-center h1::after,
.archive-header.text-center h1::after {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   CENTER PAGE TITLE + DIVIDER
   ========================================================= */

.page-header,
.archive-header,
.page-hero,
.hero,
.hero-banner {
  text-align: center;
}

.page-title::after,
.entry-title::after,
.archive-title::after,
.page-header h1::after {
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   BUTTONS
   ========================================================= */

button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.button,
a.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.job-manager-form .button,
.listify_widget_panel_listing_archive .button {
  border-radius: 100px;
  font-family: 'Mukta', sans-serif;
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  box-shadow: none;
}


/* =========================================================
   PRIMARY BUTTON
   outline teal, transparent bg
   hover darker teal
   ========================================================= */

.button,
a.button,
.wp-block-button__link,
button,
input[type="button"],
input[type="reset"],
input[type="submit"],
.job-manager-form .button {
  background: transparent;
  color: #04dde1;
  border: 2px solid #04dde1;
}

.button:hover,
a.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover,
.job-manager-form .button:hover {
  background: transparent;
  color: #00cbce;
  border-color: #00cbce;
}


/* =========================================================
   SECONDARY / FILLED BUTTONS
   Add .button.secondary or .secondary-button where needed
   ========================================================= */

.button.secondary,
a.button.secondary,
.secondary-button,
input[type="submit"].secondary,
button.secondary,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: #04dde1;
  color: #4a4a4a;
  border: 2px solid #04dde1;
}

.button.secondary:hover,
a.button.secondary:hover,
.secondary-button:hover,
input[type="submit"].secondary:hover,
button.secondary:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background: #00cbce;
  color: #4a4a4a;
  border-color: #00cbce;
}


/* =========================================================
   NAV LINK HOVER
   ========================================================= */

.site-header a:hover,
.header a:hover,
.navbar a:hover,
.main-navigation a:hover,
.nav-menu a:hover,
.current-menu-item > a,
.current_page_item > a {
  color: #04dde1;
}


/* =========================================================
   OPTIONAL: tidy header spacing a bit more like Flatsome
   ========================================================= */

.site-branding,
.site-logo,
.custom-logo-link {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.main-navigation a,
.nav-menu a,
.site-header .menu a {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

/* =========================================================
   FIX LEFT-ALIGNED CONTENT
   ========================================================= */

.container,
.wrap,
.site-content,
.content-area,
.page-content,
.entry-content,
#primary,
#main {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
}

/* =========================================================
	OPTIONAL (make the whole page feel balanced) Flatsome symmetry
   ========================================================= */
   
.site-content {
  padding-left: 20px;
  padding-right: 20px;
}



/* =========================================================
   Pinkies adjustments
   ========================================================= */

@media (min-width: 992px) {
    .nav-menu li a, ul.nav-menu li a {
        font-size: 80%;
        padding: 18px 0;
        display: inline-block;
    }
}
