/*
 Theme Name:   Hathaway Strategies
 Theme URI:    https://wordpress.org/themes/twentyninteen/
 Description:  Custom theme built for Hathaway Strategies
 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:  hathway-website-v2
*/

/* ========= COLOR REFERENCES ========= */
:root {
  --bg: #e5e6e6;
  --primary: #771212;
  --secondary: #bd312c;
  --gray: #353535;
}

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

/* ======== TABLE OF CONTENTS =========
	1. TYPOGRAPHY
	2. GLOBAL
	3. MAIN CONTENT
  - 3a. Header
	- 3b. Home Page
	- 3c. Team Page
  - 3d. Services Page
  - 3e. News Page
  - 3f. Contact Page
  - 3g. Footer
/* ==================================== */

/* ------------------------------ 
    1. Start Typography
------------------------------ */
h1,
h2,
h3,
h4,
h5,
h6,
a,
ul,
.btn,
button {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  margin: 0;
}

h1,
.h1 {
  font-size: 6.25em;
  /* 100px */
  line-height: normal;
}

h2,
.h2 {
  font-size: 3.125em;
  /* 50px */
  line-height: 0.96;
}

h3,
.h3 {
  font-size: 1.75em;
  /* 28px */
  line-height: 1.21;
}

p,
.p {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  line-height: 1.5;
  color: var(--black);
}

.btn,
a,
.anchor-theme {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizelegibility;
  text-decoration: none !important;
  transition: none;
  color: white !important;
  border: none;
  background: none;
}

.btn {
  border-radius: 30px;
  padding: 8px 20px;
}

.btn:hover,
.btn:focus {
  box-shadow: 0 3px 6px 0 rgba(21, 17, 48, 0.15);
}

.btn:active {
  background-color: var(--primary) !important;
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25) inset;
}

.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;
}

.menu {
  display: flex;
  list-style: none;
}

.menu-item {
  padding: 0 10px;
}

.main-menu-more {
  display: none;
}

.nav-link {
  padding: 0.5rem;
}

nav .current-menu-item a {
  font-weight: 700;
  border-bottom: 2px solid var(--secondary);
}

/* ------------------------------ 
    1. End Typography
------------------------------ */

/* ------------------------------ 
    2. Start Global
------------------------------ */
@-ms-viewport {
  width: device-width;
}

html {
  font-size: 16px;
}

body {
  font-family: newnord, sans-serif;
  font-size: 16px;
  /* Adjust this on mobile to globally change P-tags :NOT H-tags) */
  color: var(--gray);
}

.ls-100 {
  letter-spacing: 0.1em;
}

.white {
  color: white !important;
}

.gray {
  color: var(--gray) !important;
}

.primary {
  color: var(--primary) !important;
}

.secondary {
  color: var(--secondary) !important;
}

.border-left {
  border-left: 4px solid var(--secondary) !important;
}

.desktop {
  display: block !important;
}

.mobile {
  display: none !important;
}

.fw-100 {
  font-weight: 100;
  /* Thin */
}

.fw-400 {
  font-weight: 400;
  /* Regular */
}

.fw-700 {
  font-weight: 700;
  /* Bold */
}

.italic {
  font-style: italic;
}

.normal {
  font-style: normal;
}

section {
  position: relative;
}

img {
  width: 100%;
}

.bg {
  background: var(--bg);
}

.bg-secondary {
  background: var(--secondary);
}

.bg-white {
  background: white !important;
}

.gform_button,
button {
  color: white;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  background: var(--secondary);
  padding: 8px 40px;
}

button:hover,
button:focus {
  box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.16);
}

button:active {
  background-color: #c10912;
}

/* ------------------------------ 
    2. End Global
------------------------------ */

/* ------------------------------ 
    3. Start Main Content
------------------------------ */
/*  - 3a. Header  */
header img {
  width: 57px;
}

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

/*  - 3b. Home Page  */
.page-template-page-home .splash {
  background: linear-gradient(
    148deg,
    rgba(0, 0, 0, 0) 19.12%,
    rgba(0, 0, 0, 0.8) 97.57%
  );
  background-size: cover;
  padding: 405px 0 40px;
}

.carousel,
.carousel-item,
.carousel-inner,
.carousel-item img {
  height: 711px;
}

.carousel {
  position: absolute;
  bottom: 0;
  width: 100%;
  z-index: -1;
}

.carousel-item {
  position: relative;
}

.carousel-item img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  object-fit: cover;
}

.page-template-page-home .splash [alt*="logo"] {
  max-width: 416px;
}

.page-template-page-home [src*="icon"] {
  height: 130px;
}

.page-template-page-home .service-cards {
  row-gap: 70px;
}

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.gravity-theme .gform_fields {
  grid-row-gap: 8px !important;
}

.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,
.ginput_container_textarea textarea {
  color: rgba(53, 53, 53, 1);
  background: rgba(255, 255, 255, 0.51);
  border: none;
  border-radius: 5px;
  padding: 6px 10px !important;
}

.name_first input::placeholder,
.name_last input::placeholder,
.ginput_container input::placeholder,
.ginput_container_textarea textarea::placeholder {
  color: rgba(53, 53, 53, 0.5);
}

.name_first input:hover,
.name_last input:hover,
.ginput_container input:hover,
.ginput_container_textarea textarea:hover,
.name_first input:focus,
.name_last input:focus,
.ginput_container input:focus,
.ginput_container_textarea textarea:focus {
  color: rgba(53, 53, 53, 0.7);
  background: rgba(255, 255, 255, 0.79);
}

.name_first input:active,
.name_last input:active,
.ginput_container input:active,
.ginput_container_textarea textarea:active {
  color: rgba(53, 53, 53, 1);
  background: rgba(255, 255, 255, 0.98);
}

form {
  position: relative;
}

.gform_wrapper.gravity-theme .gform_footer {
  padding: 0 !important;
}

.gform_wrapper.gravity-theme .gform_footer input {
  margin-bottom: 0 !important;
}

.gform_confirmation_message {
  background: rgba(255, 255, 255, 0.51);
  color: rgba(53, 53, 53, 1);
  border-radius: 5px;
  padding: 6px 10px !important;
}

/*  - 3c. Team Page  */
.page-template-page-team .team-member .bg-primary {
  position: absolute;
  bottom: 0;
  width: 75%;
  height: calc(100% - 65px);
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
}

.page-template-page-team .team-member [alt*="headshot"] {
  position: absolute;
  top: 0;
  width: 100%;
}

.page-template-page-team .team-member p:last-child {
  margin-bottom: 0;
}

/*  - 3d. Services Page  */
.page-template-page-services .services .gap-220 {
  row-gap: 220px;
  padding-bottom: 160px;
}

.page-template-page-services .services .row .col-lg-4 {
  position: absolute;
  top: 40%;
  left: 0;
  width: 33.33%;
  transform: translateY(-50%);
}

.page-template-page-services .services .row.flex-sm-row-reverse .col-lg-4 {
  position: absolute;
  top: 40%;
  right: 0;
  left: unset;
  width: 33.33%;
  transform: translateY(-50%);
}

.page-template-page-services .row .position-relative {
  margin-top: -65px;
}

.bg-secondary.rounded-circle {
  width: 170px;
  height: 170px;
}

.page-template-page-services .row .col-md-9 {
  padding: 50px 30px 30px 130px !important;
  margin-top: -343px;
  margin-left: 330px;
}

.page-template-page-services .row.flex-sm-row-reverse .col-md-9 {
  padding: 50px 130px 30px 30px !important;
  margin-left: 0;
  margin-right: 330px;
}

.page-template-page-services hr {
  background: var(--primary);
  height: 4px;
  width: 122px;
  opacity: 1;
}

.page-template-page-services .circle-img-container {
  width: 416px;
  height: 416px;
}

.page-template-page-services .bg-secondary {
  position: absolute;
  right: 0;
  bottom: -94px;
}

.page-template-page-services .flex-sm-row-reverse .bg-secondary {
  position: absolute;
  left: 0;
  right: unset;
  bottom: -94px;
}

.page-template-page-services [src*="icon_service_campaign"] {
  width: 114px;
  height: 114px;
}

.page-template-page-services [src*="icon_service_event"] {
  width: 112px;
  height: 112px;
}

.page-template-page-services [src*="icon_service_association"] {
  width: 117px;
  height: 117px;
}

/* - 3e. News Page */
.news {
  padding: 70px 0 56px 0;
}

.card-body {
  padding: 30px;
}

.card-text a {
  color: var(--gray) !important;
  text-decoration: underline !important;
}

.read-more {
  display: block;
  width: fit-content;
  color: white;
  padding: 8px 20px;
  border-radius: 30px;
  cursor: pointer;
}

.modal-content {
  border-radius: 20px;
  border: none;
}

.modal-header {
  border: none;
  padding: 43px 40px 0;
}

.modal-header hr {
  width: 149px;
  height: 4px;
  flex-shrink: 0;
  opacity: 1;
  margin: 22px 0 56px 0;
}

.modal-body {
  padding: 0 40px 43px;
}

.modal-body p:last-child {
  margin-bottom: 0;
}

.close {
  background: none;
  width: fit-content;
  max-width: none;
  border: none;
  color: var(--gray) !important;
  font-size: 16px;
  position: absolute;
  right: 15px;
  top: 15px;
  padding: 0 5px;
  cursor: pointer;
}

.close:focus,
.close:hover {
  box-shadow: none !important;
}

.close:active {
  background: transparent !important;
}

.social-feed .bg-white.rounded-circle {
  width: 44px;
  height: 44px;
}

[src*="contact_social_fb"] {
  width: 9.98px;
  height: 19.23px;
}

[src*="contact_social_x"] {
  width: 17.89px;
  height: 16.18px;
}

.cff-item,
.ctf-item {
  padding: 10px !important;
  margin-bottom: 10px !important;
}

.cff-view-comments {
  color: var(--gray) !important;
}

.cff-author-text a,
.cff-post-text a,
.cff-viewpost-facebook,
.cff-share-link,
.ctf-tweets a {
  color: var(--primary) !important;
}

.cff-author-text a:focus,
.cff-author-text a:hover,
#ctf .ctf-tweet-actions .ctf-retweet:focus, 
#ctf .ctf-tweet-actions .ctf-retweet:hover,
.ctf-tweets a:focus,
.ctf-tweets a:hover {
  color: var(--secondary) !important;
}

.cff-media-link,
.cff-load-icon,
.ctf-corner-logo,
.ctf-tweet-text-media-wrap,
.ctf-twitterlink {
  display: none !important;
}

.cff-linebreak {
  visibility: hidden !important;
}

.cff-load-more span,
.ctf-more span {
  font-weight: 700;
}

/* - 3f. Contact Page */
.page-template-page-contact .splash {
  background: url("/wp-content/uploads/2025/09/5_hero_1.jpg") no-repeat center
    center;
  background-size: cover;
  padding: 80px 0;
}

.page-template-page-contact .splash [alt*="logo"] {
  max-width: 365px;
}

.page-template-page-contact .splash .form-container {
  max-width: 486px;
}

.page-template-page-contact .splash p.white {
  max-width: 437px;
}

/* - 3g. Footer */
footer .btn {
  width: fit-content;
}

footer .icon-container {
  width: 25px;
}

footer [src*="contact"] {
  height: 23px;
  width: fit-content;
}

footer .footer-nav-link {
  width: 228px;
}

/* ------------------------------ 
    3. End Main Content
------------------------------ */
