/*
Theme Name: AJ Promotions
Theme URI: 
Author: GIANT
Author URI: 
Description: 
Requires at least: 6.9
Tested up to: 6.9
Requires PHP: 5.7
Version: 
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Template: twentytwentyfive
Text Domain: aj-promotions
Tags: 
*/

/* CONTENTS

  - Hexagon Buttons
  - Header
  - Footer
  - Testimonials
  - Campaigns
  - Talent Dropdown
  - Contact Page

*/

/* Hexagon Buttons START  */

#hex-btn.wp-block-button {
  position: relative;
  z-index: 0;
}

#hex-btn.wp-block-button::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: #0068ff;
  /* change to desired border colour */
  clip-path: polygon(20px 0%,
      calc(100% - 20px) 0%,
      100% 50%,
      calc(100% - 20px) 100%,
      20px 100%,
      0% 50%);
  z-index: -1;
}

#hex-btn.wp-block-button .wp-block-button__link {
  position: relative;
  z-index: 1;
  clip-path: polygon(20px -2%,
      /* top-left */
      calc(100% - 20px) -1%,
      /* top-right */
      99% 50%,
      /* right point */
      calc(100% - 20px) 100%,
      /* bottom-right */
      19px 100%,
      /* bottom-left */
      1% 50%
      /* left point */
    );

  padding-left: 32px;
  padding-right: 32px;
  background-color: #fff;
  color: #0068ff;
}


.hex-btn-wrap {
  position: relative;
  display: inline-block;
  z-index: 0;
}

.hex-btn-wrap::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: #0068ff;
  clip-path: polygon(20px 0%,
      calc(100% - 20px) 0%,
      100% 50%,
      calc(100% - 20px) 100%,
      20px 100%,
      0% 50%);
  z-index: -1;
}

/* Inner <a> clips to hex and sits on top of the #0068ff border layer */
#hex-btn-custom {
  position: relative;
  z-index: 1;
  display: inline-block;
  clip-path: polygon(20px -2%,
      calc(100% - 20px) -1%,
      99% 50%,
      calc(100% - 20px) 100%,
      19px 100%,
      1% 50%);
  padding: 2px 20px;
  background-color: #fff;
  color: #0068ff;
  text-decoration: none;
}

#hex-btn-custom:hover {
  background-color: #0068ff;
  color: #fff;
}


#hex-btn .wp-element-button,
#hex-btn .wp-block-button__link {
  padding-top: 5px;
  padding-bottom: 5px;
  line-height: 1.2;
}

#hex-btn.blue:hover .wp-block-button__link {
  background-color: #0068ff;
  color: #fff;
}

/* Hexagon Buttons END */


/* Header START */

.wp-block-giant-header-header {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

header .logo-img {
  height: 100px;
  max-width: 360px;
}

@media screen and (max-width: 1000px) {
  .wp-block-giant-header-header {
    padding-top: unset !important;
    padding-bottom: unset !important;
  }

  header .logo-img {
    height: 80px;
    max-width: 200px;
  }
}

/* Header END */

/* Footer START */

#footer-links>a {
  text-decoration: unset !important;
}

/* Footer END */

/* Testimonials START */

.giant-testimonials-text {
  text-transform: uppercase;
}

.giant-testimonials-author {
  font-family: var(--wp--preset--font-family--league-gothic) !important;
  text-transform: uppercase;
}

#testimonials .giant-testimonials::before {
  content: '';
  position: absolute;
  width: auto;
  bottom: -40px;
  top: 0px;
  width: 100px;
  background-image: url(/wp-content/uploads/2026/02/testimonial-bg.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.giant-testimonials-dot {
  width: 15px;
  height: 15px;
}

.giant-testimonials-dot.is-active {
  width: 15px;
  height: 15px;
  background: var(--wp--preset--color--accent-1) !important;
  border: unset !important;
}

@media screen and (max-width: 1000px) {
  #testimonials .giant-testimonials::before {
    bottom: 0px;
  }

  .giant-testimonials-text {
    font-size: 20px !important;
    margin: 0 0 8px 0 !important;
  }

  .giant-testimonials-author {
    font-size: 16px !important;
  }

  .giant-testimonials-dot,
  .giant-testimonials-dot.is-active {
    width: 10px !important;
    height: 10px !important;
  }

}

/* Testimonials END */

/* CAMPAIGNS START */

.pc-card {
  min-width: 350px !important;
  min-height: 400px !important;
  border: 1px solid #0068ff;
}

.pc-card-title a {
  font-family: var(--wp--preset--font-family--league-gothic) !important;
  text-transform: uppercase;
  line-height: 1;
  font-size: 28px !important;
  margin-bottom: 40px !important;
}

.pc-card-excerpt {
  display: none !important;
}

div>#campaign-excerpt>p {
  color: #fff !important;
  line-height: 1.7;
  font-size: 1.2em; ;
}

/* Talent Dropdown START */

.wp-block-categories-dropdown.talent-dropdown>select {
  border: unset !important;
}

/* Talent Dropdown END */


/* Contact Page Start  */

/* Gravity Forms styling Start  */
.gform-body textarea,
.gform-body input {
  border: 1px solid #c9aa4a !important;
  border-radius: 0px !important;
}

.gform_wrapper.gravity-theme .ginput_complex label {
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #c9aa4a;
  padding-top: 0px !important;
}

.gform_wrapper.gravity-theme .gfield_label {
  color: var(--blue);
  margin-bottom: 0px !important;
}

.gform_wrapper.gravity-theme .gfield_description {
  padding: 0px !important;
  margin-top: 0px !important;
  color: #c9aa4a;
}

.gform-footer input {
  width: 100%;
  height: 40px;
  background-color: #c9aa4a;
  border: unset;
  color: #fff;
  text-transform: uppercase;
}

.gform-footer input:hover {
  background-color: var(--blue);
  cursor: pointer;
}

/* Gravity Forms styling End  */


/* Contact Page End  */