SocialBuddyMarketingWebsite/components/ChannelFAQ.module.css

136 lines
2.4 KiB
CSS

.section {
padding: 4rem 0;
background: #fff;
overflow: hidden;
}
.container {
max-width: 1280px;
margin: 0 auto;
padding: 0 1.5rem;
}
.grid {
display: grid;
grid-template-columns: 1fr;
gap: 4rem;
align-items: flex-start;
}
@media (min-width: 992px) {
.grid {
grid-template-columns: 1fr 1.5fr;
}
}
/* Left Content */
.headerContent {
position: sticky;
top: 2rem;
}
.pill {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 1rem;
background: rgba(236, 72, 153, 0.1);
/* Light Primary Pink */
color: var(--primary);
border-radius: 50px;
font-size: 0.875rem;
font-weight: 600;
margin-bottom: 1.5rem;
}
.title {
font-size: clamp(2.5rem, 5vw, 3.5rem);
line-height: 1.1;
font-weight: 800;
color: var(--text-primary);
margin-bottom: 1.5rem;
font-family: var(--font-display);
}
.highlight {
color: var(--primary);
position: relative;
display: block;
}
.description {
font-size: 1.125rem;
line-height: 1.7;
color: var(--text-secondary);
margin-bottom: 2rem;
}
/* Right Content: Accordion */
.accordionList {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.card {
background: #fff;
border: 1px solid var(--border-color);
border-radius: 16px;
overflow: hidden;
transition: all 0.3s ease;
}
.cardOpen {
box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
border-color: var(--primary);
}
.trigger {
width: 100%;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1.5rem 2rem;
background: none;
border: none;
cursor: pointer;
text-align: left;
}
.question {
font-size: 1.125rem;
font-weight: 600;
color: var(--text-primary);
padding-right: 1.5rem;
}
.iconWrapper {
flex-shrink: 0;
width: 32px;
height: 32px;
border-radius: 50%;
background: var(--background-secondary);
color: var(--text-secondary);
display: flex;
align-items: center;
justify-content: center;
transition: all 0.3s ease;
}
.cardOpen .iconWrapper {
background: var(--primary);
color: #fff;
transform: rotate(180deg);
}
.content {
height: 0;
overflow: hidden;
transition: height 0.3s ease-out;
}
.contentInner {
padding: 0 2rem 2rem;
color: var(--text-secondary);
line-height: 1.6;
}