React 19 + TypeScript SPA with Vite, mobile responsive fixes, GitHub Actions CI/CD pipeline for automated deployment. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
133 lines
2.5 KiB
CSS
133 lines
2.5 KiB
CSS
.banner1-section {
|
|
position: relative;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
background: var(--dark-grey-100);
|
|
}
|
|
|
|
/* Full-width SVG background */
|
|
.banner1-bg {
|
|
width: 100%;
|
|
line-height: 0;
|
|
}
|
|
|
|
.banner1-bg picture {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
|
|
.banner1-bg-img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
|
|
/* Content overlay — positioned over the SVG */
|
|
.banner1-content-wrap {
|
|
position: absolute;
|
|
top: 38%;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 0 2rem;
|
|
z-index: 5;
|
|
}
|
|
|
|
/* Matches header container width */
|
|
.banner1-content {
|
|
width: 100%;
|
|
max-width: 1440px;
|
|
margin: 0 auto;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: clamp(1rem, 1.8vw, 2rem);
|
|
}
|
|
|
|
/* Questions */
|
|
.banner1-questions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: clamp(0.8rem, 1.5vw, 1.6rem);
|
|
}
|
|
|
|
.banner1-question {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.7rem;
|
|
font-size: clamp(0.9rem, 1.15vw, 1.15rem);
|
|
font-weight: 700;
|
|
color: #fff;
|
|
transition: transform 0.2s;
|
|
cursor: default;
|
|
}
|
|
|
|
.banner1-question:hover {
|
|
transform: translateX(6px);
|
|
}
|
|
|
|
.banner1-q-icon {
|
|
flex-shrink: 0;
|
|
width: 14px;
|
|
height: 14px;
|
|
color: var(--orange-100);
|
|
}
|
|
|
|
/* CTA */
|
|
.banner1-cta {
|
|
align-self: flex-start;
|
|
padding: clamp(0.75rem, 1vw, 1rem) clamp(1.8rem, 2.5vw, 3rem);
|
|
border-radius: 50px;
|
|
border: none;
|
|
background: var(--orange-100);
|
|
color: var(--dark-grey-100);
|
|
font-size: clamp(0.9rem, 1.1vw, 1.1rem);
|
|
font-weight: 800;
|
|
cursor: pointer;
|
|
transition: background 0.3s, box-shadow 0.3s;
|
|
}
|
|
|
|
.banner1-cta:hover {
|
|
background: #e65200;
|
|
color: #fff;
|
|
box-shadow: 0 8px 30px rgba(255, 91, 4, 0.4);
|
|
}
|
|
|
|
/* ── Responsive ── */
|
|
|
|
@media (max-width: 900px) {
|
|
.banner1-content-wrap {
|
|
position: absolute;
|
|
top: auto;
|
|
bottom: 0;
|
|
left: 0;
|
|
right: 0;
|
|
padding: 2rem 1.5rem;
|
|
background: linear-gradient(to top, rgba(35, 48, 56, 0.95) 60%, transparent 100%);
|
|
}
|
|
|
|
.banner1-content {
|
|
gap: 1.2rem;
|
|
}
|
|
|
|
.banner1-questions {
|
|
gap: 1rem;
|
|
}
|
|
|
|
.banner1-question {
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.banner1-cta {
|
|
font-size: 1rem;
|
|
padding: 0.9rem 2rem;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.banner1-content-wrap {
|
|
padding: 1.5rem 1rem;
|
|
}
|
|
|
|
.banner1-question {
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|