/**
 * Cedar Homes – site-specific custom CSS.
 * Moved from Customizer > Additional CSS into the theme.
 * Loaded last so it overrides theme and plugin styles (same as the Customizer did).
 */

.bbbb img {
    display: inline-block;
}

/* ================= MOBILE HEADER FIXES ================= */

@media only screen and (max-width: 767px) {

.header_bottom{
  display:none;
  visibility:hidden;
}

.header_area .header_top img{
  width:138px;
  height:35px;
  overflow:hidden;
  object-fit:cover;
  object-position:bottom;
}

.header_top .row{
  display:flex;
  position:relative;
}

.header_top .row .col-md-3.col-sm-4{
  flex:0 0 180px;
  text-align:left;
}

.header_top .row .col-md-9.col-sm-8{
  width:100%;
}

.header_top .row button.navbar-toggle{
  margin-right:0;
}

.header_top .top_menuarea.col-xs-12.pa_0{
  margin-top:-52px;
}

.header_area .header_top .social_area{
  padding:20px 58px 5px 0;
  text-align:right;
}

.imaging_area .main-imaging .main h2{
  color:#fff!important;
}

body #fitureimage1-area.fitureimage1_area{
  background:url(https://www.cedarhomes.com/wp-content/uploads/2023/09/altimg.jpg) no-repeat center center / cover !important;
  background-size:100% auto !important;
  background-position:bottom !important;
}

}

@media only screen and (max-width: 420px) {

.header_area .header_top img{
  width:100px;
  height:25px;
}

.header_top .row .col-md-3.col-sm-4{
  flex:0 0 120px;
  text-align:left;
}

}

/* Mobile page issue fix */
.imaging_area .imaging_bottom [class^="col"] {
  min-height:250px;
}


/* =========================================================
   JOURNEY LINK SYSTEM
   ========================================================= */

.journey-link{
  display:inline-flex;
  align-items:center;
  gap:clamp(10px, 1.6vw, 18px);
  text-decoration:none;
  color:inherit !important;

  flex-wrap:nowrap;
  min-width:0;

  transform-origin:left center;
  transition:transform 220ms ease;
}

.journey-link:hover,
.journey-link:focus,
.journey-link:active{
  color:inherit !important;
}

.journey-link svg{
  display:block;
  width:100%;
  height:auto;
}

/* Icon */
.journey-link__icon{
  width:clamp(38px, 5vw, 64px);
  flex:0 0 auto;
}

/* Text */
.journey-link__text{
  font-family:"Poiret One", system-ui, sans-serif;
  font-weight:500;
  font-size:clamp(22px, 5.2vw, 72px);
  line-height:1.05;
  white-space:nowrap;
  flex:0 0 auto;
}

/* Arrow */
.journey-link__arrow{
  width:clamp(110px, 30vw, 360px);
  flex:1 1 auto;
  min-width:80px;
  transition:transform 220ms ease;
}

/* Hover animation */
.journey-link:hover{
  transform:scale(1.05);
}

.journey-link:hover .journey-link__arrow{
  transform:translateX(12px);
}

.journey-link:focus-visible{
  outline:2px solid currentColor;
  outline-offset:6px;
  border-radius:6px;
}

@media (max-width:600px){
  .journey-link:hover .journey-link__arrow{
    transform:translateX(8px);
  }
}


/* =========================================================
   GET INSPIRED VARIANT
   ========================================================= */

.journey-link--inspired{
  max-width:100%;
  width:100%;
}

.journey-link--inspired .journey-link__arrow{
  flex:1 1 auto;
  min-width:80px;
  max-width:100%;
}

.journey-link--inspired .journey-link__arrow svg{
  width:100%;
  height:auto;
}

.journey-link--inspired .journey-link__text{
  font-size:clamp(26px, 3.5vw, 56px);
}


/* =========================================================
   A PROCESS FRAME
   ========================================================= */

.process-frame-title{
  position:relative;
  width:100%;
  max-width:1200px;
  margin:0 auto;

  padding-top:clamp(26px, 2.2vw, 46px);
  padding-bottom:clamp(18px, 1.8vw, 34px);
  padding-right:clamp(18px, 2vw, 40px);
}

.process-frame-title .process-frame{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  pointer-events:none;
}

.process-frame-text{
  position:relative;
  margin:0;
  font-family:"Poiret One", system-ui, sans-serif;
  font-weight:500;
  font-size:clamp(44px, 5vw, 92px);
  line-height:1.05;
}

.process-frame{
  shape-rendering:geometricPrecision;
}

/* Mobile shrink */
@media (max-width:767px){
  .tc-process__text{
    font-size:clamp(44px, 10vw, 55px) !important;
    left:20px !important;
  }
}


/* =========================================================
   LIFESTYLES HEADER (NEW SYSTEM)
   ========================================================= */

.tc-header{
  position:relative;
  width:100%;
  max-width:1100px;
  margin:0 auto;
}

.tc-header__frame{
  width:100%;
  height:auto;
  display:block;
}

.tc-header__content{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  pointer-events:none;
}

.tc-header__title{
  font-family:"Poiret One", system-ui, sans-serif;
  font-weight:500;
  font-size:clamp(36px, 6vw, 72px);
  letter-spacing:2px;
  line-height:1.1;
}

.tc-header__dots{
  letter-spacing:6px;
}

.tc-header__subtitle{
  font-family:"Poiret One", system-ui, sans-serif;
  font-weight:400;
  font-size:clamp(24px, 4vw, 48px);
  margin-top:12px;
}

@media (max-width:600px){
  .tc-header__title{
    font-size:clamp(28px, 8vw, 42px);
  }
  .tc-header__subtitle{
    font-size:clamp(20px, 6vw, 30px);
  }
}

/* ===== Portfolio Arrow (self-contained, no overflow into image) ===== */
.journey-link--portfolio{
  width: 100%;
  max-width: 100%;
  min-width: 0;

  display: inline-flex;
  align-items: center;
  flex-wrap: nowrap;

  gap: clamp(8px, 1vw, 12px);
  text-decoration: none;
  color: inherit !important;

  /* IMPORTANT: keep it inside the column */
  overflow: hidden;
  /* Keep the whole thing from getting too tall */
  line-height: 1;
}

/* keep images responsive */
.journey-link--portfolio img{
  display: block;
  max-width: 100%;
  height: auto;
}

/* Icon smaller */
.journey-link--portfolio .journey-link__icon{
  flex: 0 0 auto;
  width: clamp(22px, 2.6vw, 34px);
}

/* Text smaller + never wrap */
.journey-link--portfolio .journey-link__text{
  flex: 0 0 auto;
  white-space: nowrap;
  font-family: "Poiret One", system-ui, sans-serif;
  font-weight: 500;
  font-size: clamp(18px, 2.6vw, 38px);
  line-height: 1.05;
}

.journey-link--portfolio .journey-link__strong{
  letter-spacing: 0.04em;
}

/* Arrow is the flexible part; it shrinks first */
.journey-link--portfolio .journey-link__arrow{
  flex: 1 1 auto;
  min-width: 40px;
  /* HARD cap so it can't push into the image */
  max-width: 140px;
}

/* If the column gets tight, scale the whole arrow row down slightly */
@media (max-width: 900px){
  .journey-link--portfolio{
    transform: scale(0.95);
    transform-origin: left center;
  }
}

@media (max-width: 600px){
  .journey-link--portfolio{
    transform: scale(0.9);
  }
  .journey-link--portfolio .journey-link__arrow{
    max-width: 110px;
  }
}

.journey-link--portfolio { overflow: visible; gap: 6px !important; justify-content: center; }
.journey-link--portfolio .journey-link__text { font-family: 'Poiret One', cursive !important; font-size: clamp(20px, 1.8vw, 26px) !important; white-space: nowrap; flex: 0 0 auto; }
.journey-link--portfolio .journey-link__arrow { width: clamp(70px, 6vw, 95px) !important; flex: 0 0 auto !important; min-width: unset !important; max-width: unset !important; overflow: visible; }
.journey-link--portfolio .journey-link__arrow img { width: 100% !important; max-width: none !important; height: auto; display: block; }
.elementor-widget-html { overflow: visible !important; }
@media (max-width: 768px) { .journey-link--portfolio .journey-link__text { font-size: 20px !important; } .journey-link--portfolio .journey-link__arrow { width: 70px !important; } }
@media (max-width: 480px) { .journey-link--portfolio .journey-link__text { font-size: 18px !important; } .journey-link--portfolio .journey-link__arrow { width: 60px !important; } }

.tc-header--dark .tc-header__frame {
  filter: invert(1);
}

.journey-link-wrapper--white .journey-link__text {
  color: white !important;
}

.journey-link-wrapper--white .journey-link__icon img,
.journey-link-wrapper--white .journey-link__arrow img {
  filter: invert(1) !important;
}

.tc-header--wide {
  max-width: 1800px;
}


/* =========================================================
   FORM ON INVITATION PAGE (Gravity Forms)
   ========================================================= */

.gform_title{display:none}
[id*="gform"] label.gfield_label{color:#000!important}
.gform_wrapper label,.gform_wrapper .gfield_label,.gform_wrapper span,.gform_wrapper li label{color:#000!important;font-family:'Poiret One',sans-serif!important}
.gform-field-label,[class*="gform-field-label"]{color:#000!important;font-family:'Poiret One',sans-serif!important}
.gform_wrapper input,.gform_wrapper textarea,.gform_wrapper select{color:#000;background:#fff;border:1px solid #ccc;font-family:'Poiret One',sans-serif!important}
.gform_wrapper input[type="text"],.gform_wrapper input[type="email"],.gform_wrapper input[type="tel"],.gform_wrapper textarea,.gform_wrapper select{background:#fff!important;color:#000!important}
.gform_wrapper select option{background:#fff;color:#000}
.gform_wrapper input[type="submit"],.gform_wrapper .gform_button{background:#51748C!important;color:#fff!important;border:none!important;font-family:'Poiret One',sans-serif!important}
.gform_wrapper .gform_footer,.gform_wrapper .gform_page_footer{background:transparent!important;border:none!important;padding:0!important}
textarea#g-recaptcha-response{display:none!important;visibility:hidden!important;height:0!important;width:0!important;margin:0!important}
.gfield_label,.gform-field-label{font-weight:700!important}
[id*="gform"] label.gfield_label,.gfield_label,.gform-field-label{-webkit-text-stroke:0.4px #000!important}


/* =========================================================
   CEDARHOMES CARD GRID + PAGINATION
   ========================================================= */

.cedarhomes-card {
    width: calc(50% - 10px);
    box-sizing: border-box;
}

.cedarhomes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 20px;
    margin-bottom: 40px;
    text-align: center;
}

.cedarhomes-btn{
    margin-top: 10px;
    margin-bottom: 10px;
}

.cedarhomes-btn img {
    max-width: 60px;
}

.cedarhomes-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
    margin-bottom: 18px;
}

.cedarhomes-card h5 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 14px;
    line-height: 1.3;
    font-family: inherit;
    color: #222;
}

.cedarhomes-pagination {
    margin-top: 40px;
    text-align: center;
}

.cedarhomes-pagination ul {
    display: inline-flex;
    gap: 8px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.cedarhomes-pagination li {
    display: inline-block;
}

.cedarhomes-pagination a,
.cedarhomes-pagination span {
    display: block;
    padding: 8px 14px;
    font-size: 14px;
    color: #333;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cedarhomes-pagination a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.cedarhomes-pagination .current {
    background: #000;
    color: #fff;
    border-color: #000;
    font-weight: 600;
}

.cedarhomes-pagination .dots {
    border: none;
    background: transparent;
    padding: 8px 10px;
    color: #999;
}

@media (max-width: 480px) {
    .cedarhomes-pagination a,
    .cedarhomes-pagination span {
        padding: 6px 10px;
        font-size: 13px;
    }
}


/* =========================================================
   PAGE-SPECIFIC
   ========================================================= */

.postid-5361 .post_head h1 { display: none; }
