/*
Theme Name: Watch on TV
Theme URI: https://wurl.com
Author: Wurl
Author URI: https://wurl.com
Description: Custom WordPress theme for Watch on TV by Wurl.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: watch-on-tv
*/

/* ------------------------------
   Base Reset / Defaults
------------------------------ */

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

html {
  font-size: 16px;
  line-height: 1.5;
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  color: #111;
  background-color: #fff;
}


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

:root {

  /* Primary – Tropical Green */
  --green-700: #1F4D47;
  --green-600: #2F6F60;
  --green-500: #48B684;
  --green-400: #5ED9B9;
  --green-300: #BFE4D7;
  --green-200: #DFF1EC;
  --green-100: #F4FBF8;

  /* Grayscale */
  --gray-600: #373737;
  --gray-500: #666666;
  --gray-400: #787878;
  --gray-300: #B0B0B0;
  --gray-200: #DADADA;
  --gray-100: #ECECEC;
  --gray-50:  #F5F5F5;

  --black: #000000;
  --white: #FFFFFF;

  --red-300: #FF3155;

  --transition-fast: 150ms ease;
}


/* ================================
   BASE
================================ */

html {
  font-size: 16px;
}

body {
  font-family: "FFMarkRegular", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: normal; /* DO NOT CHANGE */
  font-size: 18px;
  line-height: 27px;
  color: var(--gray-600);
  background-color: var(--white);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}


/* ================================
   HEADINGS
================================ */

h1 {
  font-family: "FFMarkBold", sans-serif;
  font-size: 60px;
  line-height: 69px;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
}

h2 {
  font-family: "FFMarkBold", sans-serif;
  font-size: 50px;
  line-height: 58px;
  margin: 0 0 20px 0;
}

h3 {
  font-family: "FFMarkBold", sans-serif;
  font-size: 36px;
  line-height: 45px;
  margin: 0 0 16px 0;
}

h4 {
  font-family: "FFMarkBold", sans-serif;
  font-size: 32px;
  line-height: 40px;
  margin: 0 0 12px 0;
}

h5 {
  font-family: "FFMarkBold", sans-serif;
  font-size: 24px;
  line-height: 30px;
  margin: 0 0 8px 0;
}

h6 {
  font-family: "FFMarkRegular", sans-serif;
  font-size: 21px;
  line-height: 28px;
  margin: 0 0 8px 0;
}


/* ================================
   PARAGRAPH
================================ */

p {
  font-family: "FFMarkRegular", sans-serif;
  font-size: 18px;
  line-height: 27px;
  margin: 0 0 16px 0;
}


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

a {
  font-family: "FFMarkRegular", sans-serif;
  color: var(--green-500);
  text-decoration: underline;
  transition: var(--transition-fast);
}

a:hover {
  color: var(--green-600);
}

a:focus {
  outline: 2px solid var(--green-400);
  outline-offset: 2px;
}


/* =====================================================
   BUTTON SYSTEM
   - Primary (Green)
   - Secondary (Black / White)
   - Solid / Ghost / Link
===================================================== */



/* ========================================
  ALIGN
======================================== */

.margin-auto {
  margin: auto;
}


/* ========================================
   1. BASE BUTTON FOUNDATION
======================================== */

button,
.btn-secondary a,
.btn-primary a,
.btn-primary-ghost a {
    padding: 16px 32px;
    border: 0px;
    margin: auto;
    background: #000;
    color: #fff;
    font-family: 'FFMarkheavy';
    font-size: 16px;
    font-style: normal;
    font-weight: 800;
    line-height: 16px;
    min-width: max-content;
    width: fit-content;
    border-radius: 4px;
      font-family: -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
}

.btn {
  font-family: "FFMarkBold", sans-serif;
  font-size: 16px;
  height: 48px;
  padding: 0 24px;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  white-space: nowrap;
  transition: all 180ms ease;
  background: none;
}

/* Focus */
.btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(94, 217, 185, 0.35);
}

/* Disabled */
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}


/* Chev Pointing Right */

.chev-right-white-to-black a::after {
  content: "";
  display: inline-block;
  width: 8px;
  height: 12px;
  margin-left: 8px;
  vertical-align: middle;
  background-color: white;

  -webkit-mask: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.84 3.33423L5.43 4.75423L9.67 8.99423L5.43 13.2342L6.84 14.6542L12.5 8.99423L6.84 3.33423Z' fill='black'/%3E%3C/svg%3E") no-repeat center;

  mask: url("data:image/svg+xml,%3Csvg width='17' height='17' viewBox='0 0 17 17' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.84 3.33423L5.43 4.75423L9.67 8.99423L5.43 13.2342L6.84 14.6542L12.5 8.99423L6.84 3.33423Z' fill='black'/%3E%3C/svg%3E") no-repeat center;

  transition: background-color 180ms ease;
}


.chev-right-white-to-black:hover a::after {
  background-color: black;
}




/* ========================================
   2. PRIMARY (GREEN 400)
======================================== */

/* Solid */
.btn-primary {
  background-color: #5ED9B9;
  color: #000000;
}

.btn-primary:hover {
  background-color: #48B684;
}

.btn-primary:active {
  transform: translateY(1px);
}


/* Ghost */
.btn-primary-ghost {
  background-color: transparent;
  color: #5ED9B9;
  border-color: #5ED9B9;
}

.btn-primary-ghost:hover {
  background-color: #5ED9B9;
  color: #000000;
}


/* Link */
.btn-primary-link {
  height: auto;
  padding: 0;
  border: none;
  color: #5ED9B9;
  text-decoration: underline;
}

.btn-primary-link:hover {
  color: #48B684;
}



/* ========================================
   3. SECONDARY
======================================== */

/* Black Solid */
.btn-secondary {
  background-color: #000000!important;
  color: #FFFFFF!important;
  text-decoration: none!important;
  width: fit-content;
}

.btn-secondary a:hover {
  background: #5EE3B9!important;
  color: #000!important;
  text-decoration: none!important;

}


/* White Solid */
.btn-secondary-white {
  background-color: #FFFFFF;
  color: #000000;
  border-color: #000000;
}

.btn-secondary-white:hover {
  background-color: #F5F5F5;
}


/* Black Ghost */
.btn-secondary-ghost {
  background-color: transparent;
  color: #000000;
  border-color: #000000;
}

.btn-secondary-ghost:hover {
  background-color: #000000;
  color: #FFFFFF;
}


/* Black Link */
.btn-secondary-link {
  height: auto;
  padding: 0;
  border: none;
  color: #000000;
  text-decoration: underline;
}

.btn-secondary-link:hover {
  opacity: 0.7;
}



/* ========================================
   4. DARK THEME SUPPORT (Optional Wrapper)
======================================== */

.theme-dark .btn-secondary-white {
  background-color: #FFFFFF;
  color: #000000;
}

.theme-dark .btn-secondary-white:hover {
  background-color: #EAEAEA;
}

.theme-dark .btn-secondary-link {
  color: #FFFFFF;
}

.theme-dark .btn-secondary-ghost {
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.theme-dark .btn-secondary-ghost:hover {
  background-color: #FFFFFF;
  color: #000000;
}




/* ================================
   INPUTS
================================ */

input,
select,
textarea {
  font-family: "FFMarkRegular", sans-serif;
  font-size: 16px;
  line-height: 24px;
  height: 48px;
  padding: 0 16px;
  border-radius: 8px;
  border: 1px solid var(--gray-200);
  background-color: var(--white);
  color: var(--gray-600);
  transition: var(--transition-fast);
  width: 100%;
  box-sizing: border-box;
}

textarea {
  height: auto;
  min-height: 120px;
  padding-top: 12px;
}

input::placeholder,
textarea::placeholder {
  color: var(--gray-400);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green-400);
  outline: none;
  box-shadow: 0 0 0 3px var(--green-200);
}

input:disabled,
select:disabled,
textarea:disabled {
  background-color: var(--gray-50);
  color: var(--gray-400);
  cursor: not-allowed;
}

input:invalid,
textarea:invalid,
select:invalid {
  border-color: var(--red-300);
}


/* ================================
   RESPONSIVE TYPE SCALE
================================ */

@media (max-width: 1024px) {
  h1 { font-size: 46px; line-height: 53px; }
  h2 { font-size: 40px; line-height: 46px; }
  h3 { font-size: 30px; line-height: 37px; }
  h4 { font-size: 24px; line-height: 30px; }
  h5 { font-size: 21px; line-height: 28px; }
}

@media (max-width: 640px) {
  h1 { font-size: 32px; line-height: 37px; }
  h2 { font-size: 28px; line-height: 35px; }
  h3 { font-size: 24px; line-height: 32px; }
}


/* ------------------------------
   Typography
------------------------------ */

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.5em;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

a:not([class]) {
  color: inherit;
  text-decoration: none;
}

a:not([class]):hover {
  text-decoration: underline;
}

/* ------------------------------
   Layout Helpers
------------------------------ */

.container {
  width: 100%;
}

/* ------------------------------
   Media
------------------------------ */

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------
   WordPress Core Classes
------------------------------ */

.alignleft {
  float: left;
  margin-right: 1rem;
}

.alignright {
  float: right;
  margin-left: 1rem;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: #666;
}

/* ------------------------------
   Utilities
------------------------------ */

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}


/* ------------------------------
  404
------------------------------ */

.container-404-flex {
    max-width: 664px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: auto;
    box-sizing: content-box;
    flex-direction: column;
    text-align: center;
    padding: 32px 120px 160px 120px;
        gap: 32px;
    display: flex;
    flex-direction: column;
}


.container-404-flex-footer {
    max-width: 664px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    margin: auto;
    box-sizing: content-box;
    flex-direction: column;
    text-align: center;
    padding: 64px 120px;
}


/* ------------------------------
  DIVIDERS
------------------------------ */


.divider-purple {
    background: linear-gradient(90deg, #004BFF 0%, #991BB0 72.82%);
}