/*
Theme Name: Avalanche Base Camp Child Theme
Theme URI: https://avalanchegr.com
Version: 1.0
Description: A complete theme packaged with everything you need to get started building momentum.
Author: Avalanche Creative
Author URI: https://avalanchegr.com
template: bb-theme
*/

/* add custom fonts */
@font-face {
  font-family: "Cal Roman Capitals";
  src:
    url("/wp-content/themes/bb-theme-child/fonts/CalRomanCapitals.woff2") format("woff2"),
    url("/wp-content/themes/bb-theme-child/fonts/CalRomanCapitals.woff") format("woff");
  font-weight: normal;
  font-style: nomral;
}

p a,
li a {
	color: var(--fl-global-dark-gold)
}


#services-carousel .pp-content-carousel-inner {position: absolute; bottom: 0; left: 0; width: 100%;background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 23%, rgba(15, 15, 15, 0.95) 100%, rgba(15, 15, 15, 0.95) 100%); height: 100%;}
#services-carousel .pp-content-carousel-inner .pp-content-post-data {position: absolute; bottom: 0;}
#services-carousel .pp-content-carousel-inner .pp-content-post-data h3 {margin-bottom: 0;}
#services-carousel .pp-content-grid-content {color: var(--fl-global-light-gold);}
#services-carousel .owl-nav {position: absolute; top: -90px; right: 15px;}
#services-carousel .owl-nav .owl-prev {width: 56px; height: 56px; left: -110px;}
#services-carousel .owl-nav .owl-next {width: 56px; height: 56px;}
#services-carousel .pp-content-post-carousel .owl-nav button {border: 1px solid var(--fl-global-light-gold);}
#services-carousel .pp-content-post-carousel .owl-nav button:focus svg path {fill: #ffffff !important;}
#services-carousel .pp-content-post-carousel .owl-nav button:hover, #services-carousel .pp-content-post-carousel .owl-nav button:focus {border: 1px solid #ffffff;}

/* Google Reviews row */
.ti-widget.ti-goog .ti-review-item:hover {-webkit-transform: none !important; -ms-transform: none !important; transform: none !important;}
.ti-widget.ti-goog .ti-review-item .ti-stars {text-align: left !important; margin-bottom: 20px !important;}
.ti-widget.ti-goog .ti-review-content, .ti-widget.ti-goog .ti-read-more {text-align: left !important; color: var(--fl-global-light-gold) !important; font-family: Raleway, sans-serif !important; font-weight: 600 !important;}
.ti-widget.ti-goog .ti-widget-container .ti-name {color: var(--fl-global-light-gold) !important; font-family: Raleway, sans-serif !important; font-family: Inter, sans-serif !important; font-weight: 600 !important; font-size: 14px !important; line-height: 28px !important;}
/*.ti-widget.ti-goog .ti-review-header {position: absolute !important; bottom: 0 !important;}*/
.ti-widget.ti-goog .ti-read-more {padding: 0 0 20px 0 !important;}
.ti-widget.ti-goog .ti-stars .ti-star {margin-right: 5px !important;}


/*---SERVICE AREAS TEMPLATE---*/

.numbered h3, 
.numbered h3 span {
    color: var(--fl-global-light-gold)!important;
    font-weight: 600!important;
}

.numbered.numbered-margin p {
  margin-left: 32px
}

.numbered ol {
  counter-reset: step-counter;
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}

.numbered ol li {
  counter-increment: step-counter;
  display: flex;
  align-items: center;
  gap: 1em;
  margin: 2em 0;
}

.numbered ol li::before {
	color: var(--fl-global-light-gold);
  content: counter(step-counter);
  font-family: "Cal Roman Capitals", Verdana, Arial, sans-serif;
  font-weight: 400;
  font-size: 44px;
  line-height: normal;
  flex-shrink: 0;
  margin-top: -0.1em; /* slight tweak for optical alignment */
}

.numbered ol li > * {
  flex: 1;
}



.service-cards-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.service-card {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
	position: relative;
    min-height: 400px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background-color: #000;
}

.service-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 0.6s ease;
    z-index: 0;
}

.service-card:hover .service-card-bg {
    transform: scale(1.1); /* zoom effect */
}

.service-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(15, 15, 15, 0.4) 25%,
        rgba(15, 15, 15, 0.55) 40%,
        rgba(15, 15, 15, 0.85) 60%,
        rgba(15, 15, 15, 0.95) 100%
    );
    z-index: 1;
}

.service-cards-wrapper .pp-content-grid-post {
    font-size: 14px;
}
.service-cards-wrapper .pp-content-grid-post-image {
    padding: 20px;
    padding-bottom: 0;
}
.service-cards-wrapper .pp-content-grid-post-text {
    padding: 20px;
}

.service-card .pp-content-grid-post-text {
    position: relative;
    z-index: 2;
    padding: 20px;
	font-weight: 400;
	
}
.service-cards-wrapper .pp-content-grid-post-title {
    font-size: 20px;
	font-weight: 600;
    line-height: 26px;
    margin: 0;
    padding: 0;
	color: #fff;
}
.service-cards-wrapper .pp-content-grid-post-meta {
    padding: 0;
}
.service-cards-wrapper .pp-content-grid-post-meta a {
    text-decoration: none;
}
.service-cards-wrapper .pp-content-grid-post-meta,
.service-cards-wrapper .pp-content-grid-post-meta a {
    color: #888;
    font-size: 12px;
}

.service-cards-wrapper .pp-content-grid-post-more-link {
	color: var(--fl-global-light-gold);
}

.service-cards-wrapper .pp-content-grid-post-excerpt,
.service-cards-wrapper .pp-content-grid-post-excerpt:hover {
	color: #fff;
}


.service-cards-wrapper .pp-content-grid-post-meta a:hover {
    color: #000;
}
.service-cards-wrapper .pp-content-grid-separator {
    min-height: 2px;
    width: 60px;
    background: #fff;
    margin-top: 10px;
    margin-bottom: 20px;
}

.feature-cards-wrapper {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.feature-card-row {
    display: flex;
    background-color: var(--fl-global-light-grey);
    color: var(--fl-global-black);
	border-style: solid;
    border-color: rgba(204, 179, 117, 0.4);
    border-width: 1px;
    flex-wrap: wrap;
}

.feature-card-row.reverse {
    flex-direction: row-reverse;
}

.feature-card-image-wrapper {
  flex: 1 1 350px;
  max-width: 100%;
}

.feature-card-image {
  width: 100%;
  height: 350px;
  position: relative;
  overflow: hidden;
}

.feature-card-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-card-content {
    flex: 1 1 50%;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-card-title {
    font-size: 24px;
    font-weight: 600!important;
    margin: 0;
}

.feature-card-separator {
    height: 2px;
    width: 60px;
    background: var(--fl-global-black);
    margin: 15px 0;
}

.feature-card-excerpt p {
    margin: 0;
    font-size: 16px;
}

.background-blur {
	backdrop-filter: blur(4px);
}

.gold-decor,
.gold-border-top {
	position: relative;
}

.gold-decor::before,
.gold-border-top::before {
	content: '';
	position: absolute;
    top: 15px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ccb781, transparent);
    width: 100%;
}

.gold-border-top::before {
	top: -1px;
} 

.gold-decor.short-accent {
    max-width: 200px;
    margin: auto;
}

.fl-module-html .who-served-loop {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.who-served-loop .gold-border-top {
    flex: 1 1 calc(33.333% - 20px);
    box-sizing: border-box;
	flex-direction: column;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
    color: #fff;
    background-color: #000;
    margin: 0;
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.9) 0%, rgba(16, 16, 16, 0.9) 100%);

    border-style: solid;
    border-color: rgba(204, 179, 117, 0.4);
    border-width: 1px;
}


.gold-infobox.gold-border-top {
    background-color: #000;
    margin: 0;
    background: linear-gradient(145deg, rgba(45, 45, 45, 0.9) 0%, rgba(16, 16, 16, 0.9) 100%);
    border-style: solid;
    border-color: rgba(204, 179, 117, 0.4);
    border-width: 1px;
}


.who-served-content {
    padding: 0 20px 20px 20px;
}
.who-served-loop h3 {
    color: var(--fl-global-light-gold);
}

.who-served-img {
  width: 100%;
  height: 250px;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  position: relative;
}

.who-served-img .fl-photo,
.who-served-img .fl-photo-content,
.who-served-img .fl-photo-img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}

.who-served-img img.fl-photo-img {
  object-fit: cover;
}


/* Reset default list styling */
.service-list .fl-rich-text ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* List item styling */
.service-list .fl-rich-text ul li {
    position: relative;
    padding: .25rem 0 .25rem 1rem;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border-radius: 2px;
}

.service-list .fl-rich-text ul li:last-child {
    margin-bottom: 0;
}

.service-list .fl-rich-text ul li:has(a):hover {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.08) 0%, rgba(212, 175, 55, 0.02) 100%);
    transform: translateX(6px);
}

/* Link styling for featured locations */
.service-list .fl-rich-text ul li a {
    color: var(--fl-global-dark-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    padding-bottom: 1px;
}

.service-list .fl-rich-text ul li a:hover {
    color: var(--fl-global-dark-gold);
    border-bottom-color: var(--fl-global-dark-gold);
    text-decoration: none;
}

/* Special styling for linked items (featured locations) */
.service-list .fl-rich-text ul li:has(a) {
    font-weight: 500;
}

.service-list .fl-rich-text ul li:has(a)::before {
    background: linear-gradient(135deg, #f4d03f 0%, #d4af37 100%);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 0 0 1px rgba(212, 175, 55, 0.2);
}

.service-list .fl-rich-text ul li:has(a):hover::before {
    background: linear-gradient(135deg, #f4d03f 0%, #e6c547 100%);
    border-color: rgba(244, 208, 63, 0.6);
    box-shadow: 0 0 0 2px rgba(244, 208, 63, 0.3);
}

/* Alternative diamond bullet style for variety */
.service-list:nth-of-type(even) .fl-rich-text ul li::before {
    border-radius: 0;
    transform: translateY(-50%) rotate(45deg);
}

.service-list:nth-of-type(even) .fl-rich-text ul li:hover::before {
    transform: translateY(-50%) rotate(45deg) scale(1.2);
}

/* Luxury separator line between sections */
.service-list + .service-list {
    position: relative;
}


/* FAQ content container */
.faq .pp-faq-content {
    background: linear-gradient(145deg, rgba(30, 30, 30, 0.95) 0%, rgba(20, 20, 20, 0.9) 100%);
    position: relative;
}

/* Premium top accent line */
.faq .pp-faq-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ccb781, transparent);
    width: 100%;
}

/* Keep slider full width but limit height */
.gold-infobox .uabb-ba-container {
  width: 100% !important;
  max-height: 350px;
  overflow: hidden;
}

/* Force images to span full width, crop excess height */
.gold-infobox .uabb-ba-container img {
  width: 100% !important;
  height: 350px !important;
  object-fit: cover;
}

/* Let .gold-infobox fill available height in its column */
.fl-col-content .gold-infobox {
  flex: 1 1 auto;         /* grow/shrink to match column height */
  display: flex;          /* make it a flex container */
  flex-direction: column; /* allow its internal children to stack */
}

/* Optional: make the content inside gold-infobox fill height */
.fl-col-content .gold-infobox > .fl-module-content,
.fl-col-content .gold-infobox > .fl-node-content {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
}

.gold-infobox .pp-image-carousel-item .swiper-slide-inner {
  aspect-ratio: 16 / 9;
  height: auto;
  position: relative;
  overflow: hidden;
}

.gold-infobox .pp-image-carousel-item .swiper-slide-inner img.swiper-slide-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
}

.gold-border {
    border: 1px solid var(--fl-global-light-gold);
}

.gold-infobox .pp-image-carousel.swiper-container {
    min-height: 275px;
}

/* medium widths + large widths */
@media screen and (min-width: 768px) {
    #services-carousel  .pp-content-post-carousel .owl-carousel {overflow: inherit; clip-path: inset(0 -100px 0 0);}}

/* medium width only */
@media screen and (min-width: 768px) and (max-width: 992px) {
    .service-cards-wrapper .service-card,
	.feature-cards-wrapper .feature-card,
	.who-served-loop .gold-border-top {
        flex: 1 1 calc(50% - 20px);
    }
}

/* small  + medium width only */
@media screen and (max-width: 992px) {
     .gold-infobox .pp-image-carousel .pp-carousel-image-container {
         height: auto;
    }

}

/* small width only */
@media screen and (max-width: 768px) {

    

    .service-card,
	.feature-card,
	.who-served-loop .gold-border-top {
        flex: 1 1 100%;
    }
	
	.numbered.numbered-margin p {
		margin-left: 28px
	}

}

