Autosave: 20260326-100439
This commit is contained in:
parent
a6208e8425
commit
2a5fac9c4e
@ -3334,6 +3334,89 @@ body.coaching-mvp-active .coach-ways-band > .wp-block-group__inner-container {
|
|||||||
padding: 0 var(--coach-page-gutter) !important;
|
padding: 0 var(--coach-page-gutter) !important;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band {
|
||||||
|
position: relative;
|
||||||
|
overflow: hidden;
|
||||||
|
width: 100vw !important;
|
||||||
|
min-width: 100vw !important;
|
||||||
|
max-width: 100vw !important;
|
||||||
|
margin-left: calc(50% - 50vw) !important;
|
||||||
|
margin-right: calc(50% - 50vw) !important;
|
||||||
|
padding: clamp(2.2rem, 4.6vw, 4rem) 0 !important;
|
||||||
|
background: #ffffff !important;
|
||||||
|
border: 0 !important;
|
||||||
|
border-top: 1px solid rgba(17,27,51,.05) !important;
|
||||||
|
border-bottom: 1px solid rgba(17,27,51,.05) !important;
|
||||||
|
border-radius: 0 !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
backdrop-filter: none !important;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band::after {
|
||||||
|
display: none !important;
|
||||||
|
content: none !important;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band > .wp-block-group__inner-container {
|
||||||
|
position: relative;
|
||||||
|
z-index: 1;
|
||||||
|
width: min(100%, var(--coach-content-max));
|
||||||
|
max-width: var(--coach-content-max);
|
||||||
|
margin: 0 auto !important;
|
||||||
|
padding: 0 var(--coach-page-gutter) !important;
|
||||||
|
box-sizing: border-box;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band > .wp-block-group__inner-container > .wp-block-heading {
|
||||||
|
width: min(100%, 34rem);
|
||||||
|
max-width: 34rem;
|
||||||
|
margin: 0 0 .85rem !important;
|
||||||
|
text-align: left !important;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band > .wp-block-group__inner-container > .coach-eyebrow {
|
||||||
|
margin-bottom: .75rem !important;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band .coach-faq-stack {
|
||||||
|
gap: 0 !important;
|
||||||
|
margin-top: clamp(1.35rem, 2.6vw, 1.8rem);
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band .coach-faq-item {
|
||||||
|
padding: 1.2rem 0 !important;
|
||||||
|
border: 0 !important;
|
||||||
|
border-top: 1px solid var(--coach-border) !important;
|
||||||
|
border-radius: 0 !important;
|
||||||
|
background: transparent !important;
|
||||||
|
box-shadow: none !important;
|
||||||
|
overflow: visible !important;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band .coach-faq-item:last-child {
|
||||||
|
border-bottom: 1px solid var(--coach-border) !important;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band .coach-faq-item summary {
|
||||||
|
align-items: center;
|
||||||
|
gap: 1rem;
|
||||||
|
padding: 0;
|
||||||
|
color: var(--coach-text) !important;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band .coach-faq-question {
|
||||||
|
color: var(--coach-text) !important;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band .coach-faq-item summary::after {
|
||||||
|
width: 1.85rem;
|
||||||
|
height: 1.85rem;
|
||||||
|
border-radius: 6px;
|
||||||
|
background: color-mix(in srgb, var(--color-brand-primary) 22%, #ffffff 78%) !important;
|
||||||
|
border: 1px solid color-mix(in srgb, var(--color-brand-tertiary) 22%, #ffffff 78%) !important;
|
||||||
|
color: color-mix(in srgb, var(--color-brand-tertiary) 78%, #211813 22%) !important;
|
||||||
|
font-size: 1.05rem;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band .coach-faq-answer {
|
||||||
|
margin-top: .9rem;
|
||||||
|
padding: .9rem 0 0;
|
||||||
|
border-top: 1px solid rgba(17,24,39,.08) !important;
|
||||||
|
color: var(--color-text-muted) !important;
|
||||||
|
}
|
||||||
|
body.coaching-mvp-active .coach-faq-band .coach-faq-answer p,
|
||||||
|
body.coaching-mvp-active .coach-faq-band .coach-faq-answer li {
|
||||||
|
color: var(--color-text-muted) !important;
|
||||||
|
}
|
||||||
body.coaching-mvp-active .coach-ways-band > .wp-block-group__inner-container > .wp-block-heading {
|
body.coaching-mvp-active .coach-ways-band > .wp-block-group__inner-container > .wp-block-heading {
|
||||||
max-width: 24ch;
|
max-width: 24ch;
|
||||||
margin: 0 0 .85rem !important;
|
margin: 0 0 .85rem !important;
|
||||||
@ -4277,10 +4360,10 @@ function coaching_mvp_home_content() {
|
|||||||
</div></div>
|
</div></div>
|
||||||
<!-- /wp:group -->
|
<!-- /wp:group -->
|
||||||
|
|
||||||
<!-- wp:group {"className":"coach-section","layout":{"type":"constrained"}} -->
|
<!-- wp:group {"align":"full","className":"coach-section coach-faq-band","layout":{"type":"constrained"}} -->
|
||||||
<div class="wp-block-group coach-section"><div class="wp-block-group__inner-container">
|
<div class="wp-block-group alignfull coach-section coach-faq-band"><div class="wp-block-group__inner-container">
|
||||||
<!-- wp:paragraph {"className":"coach-badge"} -->
|
<!-- wp:paragraph {"className":"coach-eyebrow"} -->
|
||||||
<p class="coach-badge">FAQ</p>
|
<p class="coach-eyebrow">09 / FAQ</p>
|
||||||
<!-- /wp:paragraph -->
|
<!-- /wp:paragraph -->
|
||||||
<!-- wp:heading -->
|
<!-- wp:heading -->
|
||||||
<h2 class="wp-block-heading">Questions people usually ask before they book a call</h2>
|
<h2 class="wp-block-heading">Questions people usually ask before they book a call</h2>
|
||||||
@ -5123,7 +5206,7 @@ function coaching_mvp_faq_shortcode($atts = []) {
|
|||||||
ob_start();
|
ob_start();
|
||||||
echo '<div class="coach-faq-stack">';
|
echo '<div class="coach-faq-stack">';
|
||||||
foreach ($items as $item) {
|
foreach ($items as $item) {
|
||||||
echo '<details class="coach-faq-card coach-faq-item">';
|
echo '<details class="coach-faq-item">';
|
||||||
echo '<summary><span class="coach-faq-question">' . esc_html(get_the_title($item)) . '</span></summary>';
|
echo '<summary><span class="coach-faq-question">' . esc_html(get_the_title($item)) . '</span></summary>';
|
||||||
echo '<div class="coach-faq-answer">' . wp_kses_post(wpautop($item->post_content)) . '</div>';
|
echo '<div class="coach-faq-answer">' . wp_kses_post(wpautop($item->post_content)) . '</div>';
|
||||||
echo '</details>';
|
echo '</details>';
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user