/*
 Theme Name:   CAE LP
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Conservatives for American Excellence
 Author:       
 Template:     twentynineteen
 Version:      1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  cae-lp
*/

/* ========= COLOR REFERENCES ========= */
:root {
  --blue: #005487;
  --navy: #032e48;
  --red: #7a1b1f;
}

/* ==================================== */

/* ------------------------------ 
    Backgrounds and colors
------------------------------ */
.f-red {
  color: var(--red);
}

.f-blue {
  color: var(--blue);
}

.f-navy {
  color: var(--navy);
}

.f-white {
  color: #fff;
}

.bg-blue {
  background-color: var(--blue) !important;
}

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

.futura-book-oblique {
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: italic;
}

.futura-bold-oblique {
  font-family: "futura-pt-bold", sans-serif;
  font-weight: 700;
  font-style: italic;
}

.futura-bold {
  font-family: "futura-pt-bold", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.futura-book {
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1,
.h1 {
  font-size: 93px;
  font-family: "futura-pt-bold", sans-serif;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  line-height: 0.7;
}

h2,
.h2 {
  font-size: 41px;
  margin-block-end: 0;
}

h3,
.h3 {
  font-size: 36px;
}

h4,
.h4 {
  font-size: 24px;
}

.f-size-52 {
  font-size: 52px;
  line-height: 40px;
}

.large {
  font-size: 82px;
  line-height: 42px;
}

p {
  font-size: 20px;
  line-height: 34px;
}

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ------------------------------ 
    Global Elements
------------------------------ */
@-ms-viewport {
  width: device-width;
}

html {
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: "futura-pt", sans-serif;
  font-weight: 400;
  overflow-x: hidden;
}

header {
  position: absolute;
  z-index: 2;
  width: 100%;
  top: 0;
  left: 0;
}

section {
  position: relative;
}

.container {
  max-width: 1296px;
  width: 100%;
  margin: 0 auto;
}

img {
  width: 100%;
}

.btn {
  text-transform: uppercase;
  font-family: "futura-pt-bold", sans-serif;
  font-weight: 700;
  /* letter-spacing: 0.1em; */
  font-size: 23px;
  border-radius: 30px;
  /* padding: 10px 21px; */

  padding: 10px 30px;
  transition: all 300ms linear;
}

.btn-red {
  background-color: var(--red);
  color: #fff;
}

.btn-red:hover {
  background-color: var(--blue);
  color: #fff;
}

.btn-white {
  background-color: #fff;
  color: var(--red);
  max-width: 224px;
  width: 100%;
}

.btn-white:hover {
  background-color: var(--blue);
  color: #fff;
}

.btn-white-darkblue {
  background-color: #fff;
  color: #0f294d;
  max-width: 224px;
  width: 100%;
}

.btn-white-darkblue:hover {
  background-color: #0f294d;
  color: #fff;
}

.stretch {
  min-height: 50vh;
}

.fit-content {
  width: fit-content;
}

.uppercase {
  text-transform: uppercase;
}

.line-height {
  line-height: 1.5;
}

/* ------------------------------ 
    Main Content
------------------------------ */

.hero-bg {
  height: 900px;
  object-fit: cover;
}

.gradient-overlay {
  background: linear-gradient(
    180deg,
    rgba(0, 84, 135, 0.8) 0%,
    rgba(122, 27, 31, 0.8) 100%
  );
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.star {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 0;
  transform: translate(-125%);
  width: 930px;
  opacity: 0.4;
  pointer-events: none;
}

.absolute-container {
  position: absolute;
  z-index: 1;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.line {
  height: 1px;
  flex: 1;
  background-color: #fff;
}

.slick-dots {
  bottom: 50px;
}

.slick-dots li button:before,
.slick-dots li.slick-active button:before {
  color: transparent;
  opacity: 1;
}

.slick-dots li button:before {
  background-color: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  display: inline-block;
  font-size: 0 !important;
  width: 10px !important;
  height: 10px !important;
}

.slick-dots li.slick-active button:before {
  background-color: #fff;
}

.body-slick-slider .slick-dots li button:before {
  border: 2px solid #032e48;
}

.body-slick-slider .slick-dots li.slick-active button:before {
  background-color: #032e48;
}

.fb-icon {
  width: 25px;
}

.social-icon {
  width: 30px;
  height: 30px;
  background: #fff;
  border-radius: 30px;
}

.social-icon a {
  color: var(--blue);
}

.social-icon:hover {
  background: var(--blue);
}

.social-icon:hover a {
  text-decoration: none;
  color: #fff;
}

.splash-fullpage {
  min-height: 90vh;
}

.embed-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed-container iframe,
.embed-container object,
.embed-container embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.page-template-page-video .splash {
  background: url("/dejilah/sites/502/2024/02/default-video-background-better.png")
    no-repeat;
  background-size: cover;
  background-position: right center;
  padding: 125px 0 50px 0;
}

.page-template-page-video .star {
  z-index: 2;
}

.z-3 {
  z-index: 3;
}

/* ------------------------------ 
    Privacy Policy
------------------------------ */

.page-template-page-privacypolicy header,
.page-template-page-terms header {
  display: none;
}

.page-template-page-privacypolicy h3,
.page-template-page-terms h3 {
  font-size: 20px;
}

.privacy-policy-link {
  color: white;
}

.privacy-policy-link:hover {
  color: white;
}

.logo {
  width: 186px;
}

.cta {
  background-image: url("/wp-content/themes/cae-lp/assets/images/1_body.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 195px 0;
}

.slider-title .slide {
  padding: 25px 0 !important;
  text-align: left;
}

.slider-title .slide h1 {
  margin-bottom: 55px;
  z-index: 3;
}

.slick-slider {
  margin-bottom: 0 !important;
}

.navbar-light .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Primary Menu Wrapper */
#primary-menu.navbar-nav {
  display: flex;
  align-items: center;
  gap: 2rem; /* space between menu items */
}

/* List Items */
#primary-menu.navbar-nav .nav-item {
  list-style: none;
  position: relative;
}

/* Links */
#primary-menu.navbar-nav .nav-link {
  color: #ffffff; /* default white text */
  font-weight: 400;
  font-size: 20px;
  padding: 0.5rem 0;
  transition:
    color 0.3s ease,
    border-color 0.3s ease;
}

/* Hover & Focus */
#primary-menu.navbar-nav .nav-link:hover,
#primary-menu.navbar-nav .nav-link:focus {
  color: #fff; /* highlight color */
  text-decoration: none;
}

/* Active Link */
#primary-menu.navbar-nav .nav-link.active {
  color: #fff; /* active link highlight */
  border-bottom: 2px solid #fff;
  font-weight: 700;
}

/* Optional: Underline effect on hover */
#primary-menu.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: #fff;
  transition: width 0.3s ease;
}

#primary-menu.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.custom-button-absolute {
  position: absolute;
  bottom: -250px;
  left: 0;
}

.hero-winners {
  background-color: rgba(15, 41, 77, 1);
  padding: 175px 0 120px;
}

.winners-list {
  background-color: rgba(15, 41, 77, 1);
}

/* Card base */
.card.candidate-card {
  background: transparent;
  border: 0;
  margin-bottom: 25px;
}

/* Image — keep your 306x306 look */
.candidate-img {
  width: 306px;
  height: 306px;
  object-fit: cover;
  margin: 0 auto; /* center image */
  border-radius: 0.25rem; /* subtle rounding */
}

/* District (card header) — same typography as your design */
.card-header.district {
  background: transparent;
  border-bottom: 0;
  color: var(--text-brand-invert, #005487);
  font-size: 52px;
  font-family: "Futura PT", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 40px;
  padding: 15px 0 5px;
}

/* Name (card body/title) — same style as original */
.card-title.name {
  color: var(--text-neutrals-white, #fff);
  font-size: 24px;
  font-family: "Futura PT", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 24px;
  margin: 0;
  padding: 0;
}

/* Spacing inside body */
.card.candidate-card .card-body {
  padding-top: 0.25rem;
  padding-left: 0;
  padding-right: 0;
}

/* Responsive niceties */
@media (max-width: 575.98px) {
  .candidate-img {
    width: 100%;
    height: auto; /* let it scale on small screens */
  }
  .card-header.district {
    font-size: 40px;
    line-height: 36px;
  }
  .card-title.name {
    font-size: 20px;
    line-height: 22px;
  }
}

.gform-button,
button.btn {
  font-size: 1.5625em;
  font-weight: 700;
  color: white;
  border: none;
  border-radius: 0 !important;
  background: var(--red) !important;
  padding: 15px 25px;
  max-width: 172px;
  width: 100%;
  text-transform: uppercase;
}

.gform-button {
  padding: 2px 25px;
}

input::-webkit-input-placeholder {
  /* Chrome/Opera/Safari */
  color: var(--white);
}

input::-moz-placeholder {
  /* Firefox 19+ */
  color: var(--white);
}

input:-ms-input-placeholder {
  /* IE 10+ */
  color: var(--white);
}

input:-moz-placeholder {
  /* Firefox 18- */
  color: var(--white);
}

.gform_wrapper {
  max-width: 460px;
  margin-top: 10px;
}

.gfield:nth-child(2),
.gfield:nth-child(3),
.ginput_container,
.name_first input,
.name_last input {
  margin: 0 !important;
}

.ginput_container_email input {
  width: 100% !important;
}

.name_first input,
.name_last input,
.ginput_container input {
  color: black !important;
  background-color: white;
  border: 1px solid #353535;
  border-radius: 25px;
  padding: 8px 10px !important;
  height: 40px !important;
}

.name_first input::placeholder,
.name_last input::placeholder,
.ginput_container input::placeholder {
  color: black !important;
  font-weight: 400;
}

.name_first input:hover,
.name_last input:hover,
.ginput_container input:hover,
.name_first input:focus,
.name_last input:focus,
.ginput_container input:focus,
.name_first input:active,
.name_last input:active,
.ginput_container input:active {
  color: rgba(53, 53, 53, 0.7);
}

form {
  position: relative;
}

.gform_footer {
  width: fit-content !important;
  position: relative;
  right: 0;
  top: 0;
  width: 100% !important;
}

.gform_wrapper .gform_footer input[type="submit"].gform_button,
.gform_wrapper .gform_footer button.gform_button,
.gform_wrapper .gform_footer .gform-button {
  font-size: 1.5625em;
  color: white;
  border: none;
  border-radius: 25px !important;
  background: rgba(226, 70, 70, 1) !important;
  padding-top: 2px;
  padding-right: 25px;
  padding-bottom: 15px;
  padding-left: 25px;
  width: 100%;
  height: 40px !important;
  text-transform: uppercase;
  font-family: "futura-pt-bold", sans-serif !important;
  font-weight: 700;
}

.gform_confirmation_message {
  margin-top: 10px;
  margin-bottom: 72px;
}

#check {
  color: black !important;
  text-decoration: underline !important;
  font-size: 15px !important;
  line-height: 1;
}

body.page-template-page-lp-v3 .absolute-container {
  position: absolute;
  z-index: 1;
  top: 60% !important;
  left: 50%;
  transform: translate(-50%, -50%);
}

.form-wrapper {
  max-width: 460px;
}

.f-400 {
  font-weight: 400;
}

.f-700 {
  font-weight: 700;
}

.form-wrapper a {
  color: white !important;
  text-decoration: underline !important;
}

.bg-win-blue {
  background-color: rgba(0, 84, 135, 1) !important;
}

.font-size-30 {
  font-size: 30px;
  font-weight: 400;
  line-height: 1.25;
}

.winners-pad {
  padding: 20px 60px;
}

body.page-template-page-privacypolicy h3 {
  font-weight: 700;
}
