:root {
  /*fonts*/
  --font-heading: 'EB Garamond', serif;
  --font-body: 'Libre Franklin', sans-serif;
  /*colors*/
  --theme1-color-primary: #CEB02C;
  --theme1-color-secondary: #000000;

  --theme2-color-primary: #CEB02C;
  --theme2-color-secondary: #ffffff;

  --theme3-color-primary: #CEB02C;
  --theme3-color-secondary: #F5F4EF;

  /*--theme4-color-primary: #1F3A2D;
  --theme4-color-secondary: #A3B18A;

  --theme5-color-primary: #3A1F2D;
  --theme5-color-secondary: #E5989B;

  --theme6-color-primary: #002B36;
  --theme6-color-secondary: #839496;*/
  --global-max-width: 1200px;

}

/****** header navigation ******/
header .container-fluid {background-color:#F5F4EF}
#p_lt_Header_MyProfilePages_divSignedIn, #p_lt_Header_MyProfilePages_divSignedOut {
  background: #CEB02C;
  margin-right: -25px;
}
.MyProfile_Name {
  color: #fff !important;
}
.master-layout-1 #divMainMenu nav{
  padding: 0 0;
}

 
.master-layout-1 #divMainMenu nav #main-menu { width:100%; text-align:right}
 .master-layout-1 #divMainMenu nav #main-menu > li {padding-right: 5px;}

@media (pointer: fine) and (min-width: 1440px) {
  .master-layout-1 #divMainMenu {
    width: calc(100% - 500px); background-color:#F5F4EF
  }
}
@media (pointer: fine) and (min-width: 1440px) {
  .master-layout-1 #divMainMenu {text-transform:uppercase}
}
@media (hover: hover) and (pointer: fine) and (min-width: 1025px), screen and (-ms-high-contrast:none) and (min-width: 1025px) {
  .master-layout-1 .MyProfile_Member {
width:220px}
 .master-layout-1 .logo { 
    position: relative;
    z-index: 100;
  }
}
/**** ts text home ****/
.ts_text_home .inner-wrap{
background: linear-gradient(
  to bottom,
  #000000 0%,
  #000000 75%,
  transparent 75%,
  transparent 100%
);
}
.ts_text_home h2, .ts_text_home p{
color: #2E3A2F;
}

.ts_text_home .text-block-wrapper{
background-color: #F5F4EF;
border: solid 1px #CEB02C;
padding:108px;
}

.ts_text_home .text-block-wrapper a{
   position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 105px;
}
.ts_inner_img_holder img{
width: 100%;
}
/**** footer ****/
.site-footer {
  background: linear-gradient(90deg, #23372d 0%, #2d4234 100%);
  padding: 48px 60px;
  color: #ffffff;
  font-family: var(--font-body);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 320px 220px;
  gap: 48px;
  align-items: start;
}

.footer-col h4 {
  margin: 0 0 10px;
  font-size: 14px;
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}

.footer-col p,
.footer-col li,
.footer-col a {
  font-size: 14px;
  font-family: var(--font-body);
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.9);
}

.footer-col a {
  text-decoration: underline;
}

.footer-col a:hover {
  opacity: 0.8;
}

.logo-placeholder {
  width: 250px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1a93f;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 28px;
}
.logo-placeholder img{
width: 100%;
}

.socials {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #fff;
  color: #2E3A2F;
  text-decoration: none;
  font-size: 20px;
  font-family: 'FontAwesome' !important;
}

/* Facebook */
.social-icon[aria-label="Facebook"]::before {
  content: "\f09a";
  font-family: 'FontAwesome' !important;
  color: #2E3A2F !important;
  font-size: 20px;
}

/* Instagram */
.social-icon[aria-label="Instagram"]::before {
  content: "\f16d";
  font-family: 'FontAwesome' !important;
  color: #2E3A2F !important;
  font-size: 20px;
}

.footer-block {
  margin-bottom: 22px;
}

.footer-block p {
  margin: 0;
}

.footer-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav li {
  margin-bottom: 8px;
}

@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-footer {
    padding: 40px 24px;
  }
}

/*golfPage-footer*/
.golfPage-footer{
  border-bottom: 1px solid #fff;
}
.golfPage-footer .theme-secondary{
  background: linear-gradient(90deg, #23372d 0%, #2d4234 100%);
  padding: 48px 60px;
  color: #ffffff;
}
.golfPage-footer .inner-wrap .container{
  max-width: 1200px;
  margin: 0 auto;
}
.golfPage-footer .theme-secondary a{
   color: #ffffff;
  font-size: 14px;
  text-decoration: underline;
}
.golfPage-footer .theme-secondary a:hover{
   color: #ffffff;
  font-size: 14px;
  text-decoration: none;
}

/*golf membership table*/
.membership-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.membership-col {
  font-size: 1rem;
  line-height: 1.6;
}

.membership-col strong {
  display: block;
  font-family: var(--heading-font, serif);
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.membership-col a {
  text-decoration: underline;
}

/* mobile stack */
@media (max-width: 768px) {
  .membership-columns {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}



/**** Boiler Plate ****/

/* Body copy */
body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading), serif;
  font-weight: 500;
}

/* Typography */
h1 {
  font-size: 3.5rem;   /* 56px */
  line-height: 1.1;
}

h2 {
  font-size: 2.75rem;  /* 44px */
  line-height: 1.15;
}

h3 {
  font-size: 2.125rem; /* 34px */
  line-height: 1.2;
}

h4 {
  font-size: 1.625rem; /* 26px */
  line-height: 1.25;
}

h5 {
  font-size: 1.25rem;  /* 20px */
  line-height: 1.3;
}

h6 {
  font-size: 1.125rem; /* 18px */
  line-height: 1.35;
}

/* all Title & Summary widgets */
/*section[id*="CHO_Widget_TitleAndSummary"] {
  background-color: pink !important;
}*/

/* all Title & Summar right image widget */
/*section[id*="CHO_Widget_TitleAndSummary"]:has(.img-block.col-sm-push-6) h2 {
  color: blue !important;
}*/

/* all Title & Summar left image widget */
/*section[id*="CHO_Widget_TitleAndSummary"]:has(.img-block:not(.col-sm-push-6):not(.hidden)) h2 {
  color: orange !important;
}
section[id*="CHO_Widget_TitleAndSummary"].background-image .text-block {
  max-width: 500px;
}
section[id*="CHO_Widget_TitleAndSummary"]:has(.img-block.hidden):not(.background-image) .text-block{
  max-width: 1200px;
}*/

.basic-block .basic-block-wrapper .img-block{
  aspect-ratio: 1/1;
}

/**** all ImageAndTextQuickLinks ****/
section[id*="ImageAndTextQuickLinks"] h4 {
  margin-top: -75px;
  z-index: 100;
  position: relative;
  color: white;
}

section[id*="ImageAndTextQuickLinks"] .cho-quicklink-tile-image {
  position: relative;
  overflow: hidden;
}

section[id*="ImageAndTextQuickLinks"] .cho-quicklink-tile-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0) 50%
  );
}
section[id*="ImageAndTextQuickLinks"] .cho-quicklink-basic-wrapper{
  border: 0px;

}
/**** all ExpandableContent ****/
/* all theme1 */
section[id*="ExpandableContent"].theme1 .expand-arrow{
  background-color: var(--theme1-color-secondary);
}

section[id*="ExpandableContent"].theme1 a:hover{
  background-color: var(--theme1-color-secondary);
}
/* all theme2 */
section[id*="ExpandableContent"].theme2 .expand-arrow{
  background-color: var(--theme2-color-primary);
}

section[id*="ExpandableContent"].theme2 a:hover{
  background-color: var(--theme2-color-primary);
}
section[id*="ExpandableContent"] .inner-wrap{
  max-width: var(--global-max-width);
  margin: 0 auto;
  float:none;
  clear: both;
}

section[id*="ContactsandStaff"].full-card .inner-wrap, section[id*="ContactsandStaff"].card-view .inner-wrap{
  max-width: var(--global-max-width);
  margin: 0 auto;
  float:none;
  clear: both;
}

.top-neg{
margin-top: -160px !important;
}

.AGScroll.AGCont {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* optional spacing */
}

.upcoming-event-wrapper {
  flex: 0 1 calc(50% - 20px) !important; /* 2 per row */
  box-sizing: border-box;
}

.upcoming-event-wrapper .teaser-img-div{
  width:100% !important;
  height:auto !important;
}
.upcoming-event-wrapper .teaser-img-div img{
  width:100% !important;
  height:auto !important;
  max-height:none !important;
  max-width: none !important;
}
.upcoming-event-wrapper .text-wrapper a{
  font-family: var(--font-heading);
  font-size: 1.625rem;
  text-transform:capitalize;
}

/**************************************************************************** text area - list button ******************************************/
       section[id*="TextArea"].list-button table {
    background: white;
    padding: 16px 10px;
    border: rounded-corner;
    border-radius: 4px;
    border-collapse: separate;
    border-spacing: 0;
    width: 100%;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  section[id*="TextArea"].list-button table tbody {
    display: flex;
    flex-direction: column;
    height: 100%;
  }
  section[id*="TextArea"].list-button .e3-table-wrap tr {
    border-bottom: 1px solid rgb(187, 187, 187);
    display:flex;
  }
  section[id*="TextArea"].list-button hr {
    max-width: 100% !important;
  }
    section[id*="TextArea"].list-button .e3-table-wrap tr td:last-child {
        display: flex !important;
        justify-content: flex-end !important;
  }
  section[id*="TextArea"].list-button .e3-table-wrap tr td:last-child h4 a {
            background-color: #ceb02b;
    color: #fafafa;
    border-color: #b99e27;
    box-shadow: none;
    padding: 10px 40px;
    text-decoration: none;
    color: white !important;
    transition: background-color 0.3s, transform 0.2s;
    font-family: var(--font-body);
    font-size: 16px ;
    font-weight: normal;
  }
  section[id*="TextArea"].list-button .e3-table-wrap tr td:last-child h4 a:hover{
    background-color: #b49921;
    color:black !important;
  }
  /* this makes sure the content spans the width */
  section[id*="TextArea"].list-button .e3-table-wrap tr,
  section[id*="TextArea"].list-button .e3-table-wrap tr td {
    width: 100vw;
    max-width: 100%;
  }

  .boardPortal .text-block{
    background-color: var(--theme3-color-secondary);
    margin-left: -50px;
  }
  .boardPortal .text-block .text-block-wrapper{
    padding: 25px;
  }
  .upcoming-event-pagination, .latest-news-link{
    display:none;
  }
  
/***** Member Central ******/
.members_textarea .inner-wrap .container .row .e3-table-wrap:first-of-type{
  flex-direction: column;

}

@media (min-width: 1024px) and (max-width: 1439px) {
  
  .master-layout-1 .MyProfile_Member {
        width: 170px;
    }
  .master-layout-1 #divMainMenu nav #main-menu > li {
    padding-right: 6px;
  }
  .master-layout-1 #divMainMenu nav {
    padding: 0;
  }

}
@media screen and (max-width: 1024px) {
  .branding-content img {
    width:100%;
  }
  .master-layout-1 .MyProfile_Svg svg{
    fill: #000 !important;
  }
  #p_lt_Header_MyProfilePages_divSignedIn, #p_lt_Header_MyProfilePages_divSignedOut{
    background-color: transparent;
  }
  .master-layout-1 .MyProfile_Member {
    margin: 15px 0 0 0;
    margin-right:0px !important;
    width: 50px !important;
    float:right;
    clear: right;
  }
}
@media screen and (max-width: 768px){
  .master-layout-1 .MyProfile_Member {
    margin: 7px 0 0;
    float:right;
    clear: none;
     width: 40px !important;
  }
}









