.teddy-bear-page,
.teddy-bear-page * {
box-sizing: border-box;
}
.teddy-bear-page {
background-color: #faf7f2;
color: #1e1e1e;
margin-top: 0 !important;
padding-top: 0 !important;
}
.teddy-bear-page .hero {
background-color: #f2ede6;
text-align: center;
position: relative;
overflow: hidden;
isolation: isolate;
height: 300px;
display: flex;
flex-direction: column;
justify-content: center;
border-bottom: 1px solid rgb(221, 215, 207);
margin-top: 0 !important;
}
.teddy-bear-page .hero::after {
content: "";
position: absolute;
width: 700px;
height: 220px;
top: 50%;
left: 60%;
transform: translate(-50%, -50%);
background: url(//parent-care.ca/wp-content/themes/parent-care-theme/assets/images/dragonfly-desktop.avif) no-repeat center;
background-size: contain;
z-index: 0;
pointer-events: none;
opacity: 0.9;
}
.teddy-bear-page .hero .inner-container {
max-width: 980px;
margin: 0 auto;
padding: 0 24px;
position: relative;
z-index: 2;
}
.teddy-bear-page .hero h1 {
font-family: "Lora", serif !important;
line-height: 1 !important;
font-weight: 400 !important;
font-style: italic;
margin-bottom: 0.5rem !important;
margin-top: 0 !important;
}
.teddy-bear-page .hero p {
font-family: "Nunito", sans-serif !important;
font-size: 18px !important;
line-height: 1.7 !important;
color: #6b6460;
margin: 0 auto;
text-align: center;
position: relative;
z-index: 2;
max-width: 55ch;
}
.teddy-content-section {
padding: 64px 0 80px;
}
.teddy-page {
max-width: 1100px;
margin: 0 auto;
padding: 0 20px;
}
.teddy-content {
max-width: 900px;
margin: 0 auto;
}
.teddy-content p {
margin: 0 0 24px;
line-height: 1.85;
font-size: 1.05rem;
}
.teddy-box {
background: #f7f3ee;
border-radius: 24px;
padding: 32px;
margin: 48px 0;
}
.teddy-box h2 {
margin-top: 0;
margin-bottom: 20px;
}
.teddy-box ul {
margin: 0;
padding-left: 22px;
line-height: 1.9;
}
.teddy-gallery-heading {
text-align: center;
margin-bottom: 24px;
}
.teddy-gallery-heading h2 {
margin-bottom: 10px;
}
.teddy-gallery-heading p {
max-width: 700px;
margin: 0 auto;
}
.teddy-gallery {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 20px;
margin-top: 32px;
align-items: start;
}
.teddy-gallery img {
width: 100%;
aspect-ratio: 1 / 1;
object-fit: contain;
background: #f7f3ee;
padding: 10px;
border-radius: 16px;
display: block;
}
.wp-site-blocks,
.wp-block-post-content {
margin-top: 0 !important;
padding-top: 0 !important;
}
body .wp-site-blocks > *:first-child {
margin-top: 0 !important;
}
@media (min-width: 901px) and (max-width: 1200px) {
.teddy-bear-page .hero::after {
width: 420px;
height: 220px;
left: 74%;
top: 50%;
transform: translate(-50%, -50%);
opacity: 0.8;
}
.teddy-bear-page .hero .inner-container {
max-width: 760px;
padding: 0 32px;
}
.teddy-bear-page .hero h1 {
font-size: 82px !important;
}
.teddy-bear-page .hero p {
max-width: 36ch;
}
}
@media (min-width: 681px) and (max-width: 900px) {
.teddy-bear-page .hero::after {
width: 320px;
height: 200px;
left: 76%;
top: 50%;
transform: translate(-50%, -50%);
opacity: 0.75;
}
.teddy-bear-page .hero .inner-container {
max-width: 720px;
padding: 0 32px;
}
.teddy-bear-page .hero h1 {
font-size: 72px !important;
}
.teddy-bear-page .hero p {
max-width: 34ch;
}
.teddy-gallery {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 768px) {
.teddy-bear-page .hero {
padding: 64px 20px;
min-height: 320px;
height: auto;
}
.teddy-bear-page .hero h1 {
font-size: 48px !important;
transform: translateY(-6px);
}
.teddy-bear-page .hero p {
font-size: 16px !important;
max-width: 300px;
}
.teddy-bear-page .hero::after {
width: 300px;
height: 300px;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-image: url(//parent-care.ca/wp-content/themes/parent-care-theme/assets/images/dragonfly-mobile.avif);
background-size: contain;
background-repeat: no-repeat;
background-position: center;
opacity: 1;
}
.teddy-content-section {
padding: 48px 0 64px;
}
.teddy-page {
padding: 0 16px;
}
.teddy-box {
padding: 24px;
border-radius: 18px;
}
.teddy-gallery {
grid-template-columns: repeat(2, 1fr);
}
}
@media (max-width: 480px) {
.teddy-bear-page .hero {
min-height: 260px !important;
padding: 56px 20px 64px !important;
}
.teddy-bear-page .hero::after {
width: 240px !important;
height: 240px !important;
top: 52% !important;
left: 50% !important;
transform: translate(-50%, -50%) !important;
background-image: url(//parent-care.ca/wp-content/themes/parent-care-theme/assets/images/dragonfly-mobile.avif) !important;
background-size: contain !important;
background-repeat: no-repeat !important;
background-position: center !important;
opacity: 0.9 !important;
}
.teddy-gallery {
grid-template-columns: 1fr;
}
}