/*
Theme Name: SL Sweep
Theme URI: https://slsweep.com/
Author: SL Sweep
Author URI: https://slsweep.com/
Description: Lightweight custom WordPress theme built for SL Sweep and Elementor.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: sl-sweep
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/


/* ========================================
   ROOT
======================================== */

:root {
  --sls-green: #00d63c;
  --sls-green-dark: #00bc35;
  --sls-green-soft: #def8e6;

  --sls-black: #090b0c;
  --sls-text: #25272a;
  --sls-muted: #9da5b3;

  --sls-surface: #f4f5f7;
  --sls-border: #e7e9ed;
  --sls-white: #ffffff;

  --sls-radius-sm: 12px;
  --sls-radius-md: 18px;
  --sls-radius-lg: 24px;
  --sls-radius-xl: 32px;

  --sls-container: 1180px;
  --sls-shadow: 0 18px 50px rgba(0, 0, 0, 0.07);
}


/* ========================================
   GLOBAL
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--sls-white);
  color: var(--sls-text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}


/* ========================================
   CONTAINER
======================================== */

.sls-container {
  width: min(var(--sls-container), calc(100% - 40px));
  margin-inline: auto;
}


/* ========================================
   SITE CONTENT
======================================== */

.site-main {
  min-height: 60vh;
}

.site-content {
  padding: 72px 0;
}

.entry-title {
  margin: 0 0 24px;
  color: var(--sls-black);
  font-size: clamp(2.2rem, 5vw, 4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}


/* ========================================
   HEADER
======================================== */

.sls-header {
  position: sticky;
  top: 0;
  z-index: 999;

  width: 100%;

  background: rgba(255, 255, 255, 0.92);

  border-bottom: 1px solid var(--sls-border);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.admin-bar .sls-header {
  top: 32px;
}

.sls-header-inner {
  min-height: 76px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 28px;
}


/* ========================================
   HEADER BRAND
======================================== */

.sls-header .sls-brand {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  flex-shrink: 0;

  color: var(--sls-black) !important;

  font-weight: 900;
  letter-spacing: -0.03em;

  cursor: default !important;
}


/* ========================================
   HEADER LOGO LINK
   ONLY LOGO IS CLICKABLE
======================================== */

.sls-header .sls-brand-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  flex-shrink: 0;

  line-height: 0;

  cursor: pointer !important;

  text-decoration: none;
}

.sls-header .sls-brand-logo-link .custom-logo {
  display: block;

  width: 44px;
  height: 44px;

  max-width: 44px;
  max-height: 44px;

  object-fit: contain;

  border-radius: 11px;

  cursor: pointer !important;

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}


/* Small effect ONLY on logo */

.sls-header .sls-brand-logo-link:hover .custom-logo {
  transform: scale(1.04);
}

.sls-header .sls-brand-logo-link:active .custom-logo {
  transform: scale(0.97);
}


/* ========================================
   FALLBACK LOGO
======================================== */

.sls-header .sls-brand-logo-link .sls-brand-mark {
  width: 42px;
  height: 42px;

  border-radius: 12px;

  display: grid;
  place-items: center;

  background: var(--sls-green);
  color: #ffffff;

  font-weight: 900;

  cursor: pointer !important;

  transition: transform 0.2s ease;
}

.sls-header .sls-brand-logo-link:hover .sls-brand-mark {
  transform: scale(1.04);
}


/* ========================================
   SL SWEEP HEADER TEXT
   COMPLETELY STATIC
======================================== */

.sls-header .sls-brand-text {
  display: inline-block !important;

  margin: 0 !important;
  padding: 0 !important;

  color: #090b0c !important;
  background: transparent !important;

  font-family: "Inter", Arial, sans-serif !important;
  font-size: 20px !important;
  font-style: normal !important;
  font-weight: 900 !important;

  line-height: 1 !important;
  letter-spacing: -0.6px !important;

  white-space: nowrap !important;

  text-decoration: none !important;

  cursor: default !important;

  pointer-events: none !important;

  transform: none !important;

  transition: none !important;

  opacity: 1 !important;

  -webkit-font-smoothing: antialiased;
}


/*
 * IMPORTANT:
 * SL Sweep text must remain BLACK in every state.
 */

.sls-header .sls-brand:hover .sls-brand-text,
.sls-header .sls-brand:focus .sls-brand-text,
.sls-header .sls-brand:focus-within .sls-brand-text,
.sls-header .sls-brand:active .sls-brand-text,
.sls-header .sls-brand-logo-link:hover + .sls-brand-text,
.sls-header .sls-brand-logo-link:focus + .sls-brand-text,
.sls-header .sls-brand-logo-link:focus-visible + .sls-brand-text,
.sls-header .sls-brand-logo-link:active + .sls-brand-text {
  color: #090b0c !important;

  background: transparent !important;

  text-decoration: none !important;

  cursor: default !important;

  transform: none !important;

  transition: none !important;

  opacity: 1 !important;
}


/* ========================================
   NAVIGATION
======================================== */

.sls-nav {
  margin-left: auto;
}

.sls-menu {
  display: flex;
  align-items: center;
  gap: 28px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.sls-menu li {
  margin: 0;
  padding: 0;
}


/* Navigation links */

.sls-menu a {
  position: relative;

  display: inline-flex;
  align-items: center;

  padding: 8px 0;

  color: #555d66;

  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}


/* Animated underline */

.sls-menu a::after {
  content: "";

  position: absolute;

  left: 50%;
  bottom: 0;

  width: 0;
  height: 2px;

  border-radius: 999px;

  background: var(--sls-green);

  transform: translateX(-50%);

  transition:
    width 0.25s ease,
    background 0.25s ease;
}


/* Hover */

.sls-menu a:hover {
  color: var(--sls-black);

  transform: translateY(-1px);
}

.sls-menu a:hover::after {
  width: 100%;
}


/* Current / active page */

.sls-menu .current-menu-item > a,
.sls-menu .current_page_item > a {
  color: var(--sls-black);
}


/* Keep active-page underline visible */

.sls-menu .current-menu-item > a::after,
.sls-menu .current_page_item > a::after {
  width: 100%;

  background: var(--sls-green);
}


/* Keyboard accessibility */

.sls-menu a:focus-visible {
  color: var(--sls-black);

  outline: 2px solid var(--sls-green);
  outline-offset: 5px;

  border-radius: 4px;
}/* ========================================
   HEADER ACTIONS
======================================== */

.sls-header-actions {
  display: flex;
  align-items: center;

  gap: 10px;

  flex-shrink: 0;
}


/* ========================================
   PLAY NOW BUTTON
   PREMIUM INTERACTION
======================================== */

.sls-button {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  min-height: 46px;
  padding: 0 22px;

  border: 1px solid var(--sls-green);
  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--sls-green);
  color: #ffffff;

  font-weight: 800;
  line-height: 1;

  cursor: pointer;

  box-shadow:
    0 6px 16px rgba(0, 214, 60, 0.16);

  transition:
    transform 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}


/* Soft shine layer */

.sls-button::before {
  content: "";

  position: absolute;
  z-index: -1;

  top: 0;
  bottom: 0;
  left: -45%;

  width: 35%;

  background: rgba(255, 255, 255, 0.22);

  transform: skewX(-22deg);

  transition: left 0.45s ease;
}


/* Hover */

.sls-button:hover {
  background: var(--sls-green-dark);
  border-color: var(--sls-green-dark);

  color: #ffffff;

  transform: translateY(-2px);

  box-shadow:
    0 10px 24px rgba(0, 214, 60, 0.28);
}


/* Shine moves across button */

.sls-button:hover::before {
  left: 115%;
}


/* Click */

.sls-button:active {
  transform: translateY(0) scale(0.98);

  box-shadow:
    0 4px 10px rgba(0, 214, 60, 0.18);
}


/* Keyboard focus */

.sls-button:focus-visible {
  outline: 3px solid rgba(0, 214, 60, 0.25);
  outline-offset: 4px;
}


/* Respect reduced-motion preference */

@media (prefers-reduced-motion: reduce) {

  .sls-button,
  .sls-button::before {
    transition: none;
  }

  .sls-button:hover,
  .sls-button:active {
    transform: none;
  }
}

/* ========================================
   MOBILE MENU BUTTON
======================================== */

.sls-menu-toggle {
  display: none;

  width: 46px;
  height: 46px;

  padding: 0;

  border: 1px solid var(--sls-border);
  border-radius: 14px;

  background: #ffffff;

  color: var(--sls-black);

  font-size: 22px;

  cursor: pointer;
}


/* =========================================================
   SL SWEEP — FOOTER
========================================================= */

.sls-footer {
    --green: #00D63C;
    --green-dark: #00BC35;
    --black: #090B0C;
    --text: #626B67;
    --muted: #929A96;
    --line: #E5EAE7;

    width: 100%;
    background: #FFFFFF;
    border-top: 1px solid var(--line);

    font-family: "Inter", Arial, sans-serif;
}


/* =========================================================
   MAIN FOOTER
========================================================= */

.sls-footer .sls-footer-inner {
    width: min(1060px, calc(100% - 48px));
    margin: 0 auto;

    padding: 58px 0 44px;

    display: grid;
    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(150px, .7fr)
        minmax(160px, .7fr);

    gap: 72px;

    align-items: start;
}


/* =========================================================
   BRAND AREA
========================================================= */

.sls-footer .sls-footer-brand {
    min-width: 0;
}


.sls-footer .sls-footer-brand-row {
    display: flex;
    align-items: center;

    gap: 11px;
}


/* =========================================================
   LOGO LINK
========================================================= */

.sls-footer .sls-footer-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    text-decoration: none;
}


/* =========================================================
   REAL LOGO
========================================================= */

.sls-footer .sls-footer-logo,
.sls-footer .sls-footer-logo-link img,
.sls-footer img.sls-footer-logo {
    display: block !important;

    width: 42px !important;
    height: 42px !important;

    max-width: 42px !important;
    max-height: 42px !important;

    min-width: 42px !important;

    object-fit: contain;

    margin: 0 !important;

    border-radius: 10px;
}


/* FALLBACK */

.sls-footer .sls-footer-logo-fallback {
    width: 42px;
    height: 42px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: var(--green);

    color: #FFFFFF;

    font-size: 13px;
    font-weight: 900;
}


/* =========================================================
   BRAND NAME
========================================================= */

.sls-footer .sls-footer-brand-name {
    display: block;

    margin: 0;

    color: var(--black) !important;

    font-size: 19px;
    line-height: 1.2;

    font-weight: 850;

    text-decoration: none !important;

    cursor: default;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.sls-footer .sls-footer-description {
    max-width: 390px;

    margin: 20px 0 0;

    color: var(--text);

    font-size: 13px;
    line-height: 1.7;
}


/* =========================================================
   FOOTER COLUMNS
========================================================= */

.sls-footer .sls-footer-column {
    min-width: 0;
}


/* COLUMN HEADING */

.sls-footer .sls-footer-heading {
    display: block;

    margin: 0 0 17px;

    color: var(--black);

    font-size: 13px;
    line-height: 1.2;

    font-weight: 850;
}


/* =========================================================
   LINKS
========================================================= */

.sls-footer .sls-footer-links {
    display: grid;

    gap: 13px;
}


.sls-footer .sls-footer-links a {
    width: fit-content;

    color: #3F4642;

    font-size: 13px;
    line-height: 1.35;

    font-weight: 500;

    text-decoration: none;

    transition:
        color .2s ease,
        transform .2s ease;
}


.sls-footer .sls-footer-links a:hover {
    color: var(--green-dark);

    transform: translateX(3px);
}


/* =========================================================
   BOTTOM BAR
========================================================= */

.sls-footer .sls-footer-bottom {
    width: min(1060px, calc(100% - 48px));
    margin: 0 auto;

    padding: 21px 0 24px;

    border-top: 1px solid var(--line);
}


.sls-footer .sls-footer-bottom p {
    margin: 0;

    color: var(--muted);

    font-size: 11px;
    line-height: 1.5;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 900px) {

    .sls-footer .sls-footer-inner {
        width: min(760px, calc(100% - 40px));

        padding: 50px 0 38px;

        grid-template-columns:
            minmax(0, 1.4fr)
            minmax(130px, .7fr)
            minmax(140px, .7fr);

        gap: 42px;
    }


    .sls-footer .sls-footer-bottom {
        width: min(760px, calc(100% - 40px));
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .sls-footer .sls-footer-inner {
        width: calc(100% - 36px);

        padding: 42px 0 34px;

        grid-template-columns:
            1fr 1fr;

        gap: 36px 24px;
    }


    /* BRAND TAKES FULL WIDTH */

    .sls-footer .sls-footer-brand {
        grid-column: 1 / -1;
    }


    .sls-footer .sls-footer-description {
        max-width: 360px;

        margin-top: 17px;

        font-size: 12px;
    }


    .sls-footer .sls-footer-logo,
    .sls-footer .sls-footer-logo-link img,
    .sls-footer img.sls-footer-logo {
        width: 40px !important;
        height: 40px !important;

        max-width: 40px !important;
        max-height: 40px !important;

        min-width: 40px !important;
    }


    .sls-footer .sls-footer-brand-name {
        font-size: 18px;
    }


    .sls-footer .sls-footer-bottom {
        width: calc(100% - 36px);

        padding: 19px 0 22px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 430px) {

    .sls-footer .sls-footer-inner {
        width: calc(100% - 30px);

        padding: 38px 0 30px;

        grid-template-columns: 1fr;

        gap: 29px;
    }


    .sls-footer .sls-footer-brand {
        grid-column: auto;
    }


    .sls-footer .sls-footer-heading {
        margin-bottom: 13px;
    }


    .sls-footer .sls-footer-links {
        gap: 11px;
    }


    .sls-footer .sls-footer-bottom {
        width: calc(100% - 30px);
    }

}