/*Putting Verticals here until FTP Update*/
.verticals-header{
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: 500px !important;
  background-image: url('https://www.cloudstarter.ca/wp-content/uploads/2026/02/TorontoSky-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.wp-block-column .verticals-header,
div.wp-block-column.verticals-header {
  height: 500px !important;
  min-height: 500px !important;
  max-height: none !important;
  display: block !important;
  position: relative !important;
  z-index: auto !important;
}
.verticals-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1;
}
.verticals-header > * {
  position: relative;
  z-index: 2;
  width: 100%;
}
/* Reset column layouts */
.verticals-header > .wp-block-columns {
  position: static !important;
}
.verticals-header > .wp-block-columns > .service-container {
  position: static !important;
}

.verticals-header .header-text-area {
  position: absolute !important;
  bottom: 0 !important;
  right: 0 !important; 
  left: 50% !important; 
  width: 50% !important;
  max-width: 490px !important;
  transform: translateX(calc(-50% + 245px)) !important;
  color: white !important;
  padding: 20px !important;
  box-sizing: border-box !important;
  z-index: 10 !important; 
}

@media (max-width: 768px) {
    .verticals-header {
        position: relative;
        height: 400px !important;
        min-height: 400px !important;
        overflow: hidden; 
        background-image: url('https://www.cloudstarter.ca/wp-content/uploads/2026/02/TorontoSky-scaled.jpg');
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
    .verticals-header::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        min-height: 350px;
        background-color: rgba(0, 0, 0, 0.7);
        z-index: 1;
    }
    /* Updated mobile styles */
    .verticals-header .header-text-area {
        left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        transform: none !important;
        bottom: 0 !important;
        padding: 20px 25px !important; 
    }
    .header-title {
        font-size: 1.7rem !important;
        font-weight: 500;
        color: var(--white);
        letter-spacing: -0.03em !important; 
        margin-bottom: 8px !important; 
    }
    .header-text {
        font-size: 0.8rem !important;
        font-weight: 400;
        color: var(--white);
        letter-spacing: -0.02em !important;
        line-height: 1.6 !important;
    }
	
	/* typo */
	.section-title{
		letter-spacing: -0.05em !important;
		margin-bottom: 20px !important;
	}
	.service-our-offer-cols-text-area {
		padding: 0 !important;
		margin: 0 !important;
	}
	.service-our-offer-cols-text {
		letter-spacing: -0.05em !important;
		margin-bottom: 30px !important;
		padding-bottom !important;
	}
	
	/* hide what we offer image */
	.service-our-offer-cols-img-container {
		display: none !important;
	}
	.wp-block-column.service-our-offer-cols-img {
		display: none !important;
		width: 0 !important;
		flex: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
	}
	.wp-block-columns .wp-block-column .wp-block-columns {
		gap: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	div.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-5.wp-block-columns-is-layout-flex {
		padding: 0 !important;
		margin: 0 !important;
	}
}