.frame-type-cloonar_hero { position: relative; z-index: 1; background: #cecece; } .frame-type-cloonar_hero + .frame { margin-top: -10rem; } /* Inner container with white background and padding */ .frame-type-cloonar_hero .hero-inner { padding: 3rem 1rem; max-width: 1140px; margin: 0 auto; } .frame-type-cloonar_hero .hero { display: flex; flex-direction: column; align-items: flex-start; } .frame-type-cloonar_hero .hero-subheader { font-size: 1rem; color: #3c6418; margin-bottom: 0.5rem; } .frame-type-cloonar_hero .hero-title { font-size: 1.5rem; font-weight: bold; color: #3c6418; margin: 0 0 1rem 0; line-height: 1.2; text-transform: uppercase; } .frame-type-cloonar_hero .hero-text { font-size: 0.9rem; color: #333; line-height: 1.4; margin-bottom: 1rem; max-width: 45ch; } .frame-type-cloonar_hero .hero-social-icons { display: flex; gap: 0.5rem; margin-bottom: 1rem; } .frame-type-cloonar_hero .social-icon { display: inline-flex; align-items: center; justify-content: center; background: #3c6418; color: #fff; font-size: 1rem; text-decoration: none; border-radius: 50%; width: 2rem; height: 2rem; transition: background 0.3s; } .frame-type-cloonar_hero .social-icon:hover { background: #1e3810; } .frame-type-cloonar_hero .hero-image-wrapper { margin-top: 1rem; } .frame-type-cloonar_hero .hero-image { max-width: 200px; width: 100%; height: auto; border-radius: 0.5rem; } @media (min-width: 768px) { .frame-type-cloonar_hero .hero-subheader { font-size: 1.2rem; } .frame-type-cloonar_hero .hero-title { font-size: 2rem; margin-bottom: 1.2rem; } .frame-type-cloonar_hero .hero-text { font-size: 1rem; } .frame-type-cloonar_hero .social-icon { width: 2.5rem; height: 2.5rem; font-size: 1.2rem; } .frame-type-cloonar_hero .hero-image { max-width: 250px; } } @media (min-width: 992px) { .frame-type-cloonar_hero .hero { display: grid; grid-template-columns: 1fr auto auto; grid-template-areas: "subheader image icons" "title image icons" "text image icons" "social image icons"; align-items: start; justify-items: start; text-align: left; } .frame-type-cloonar_hero .hero-subheader { grid-area: subheader; font-size: 1.5rem; margin-bottom: 0.5rem; } .frame-type-cloonar_hero .hero-title { grid-area: title; font-size: 3rem; margin-bottom: 1.5rem; } .frame-type-cloonar_hero .hero-text { grid-area: text; font-size: 1rem; max-width: 40ch; margin-bottom: 1.5rem; } .frame-type-cloonar_hero .hero-social-icons { grid-area: social; flex-direction: column; gap: 1rem; margin-bottom: 0; align-items: flex-start; } .frame-type-cloonar_hero .hero-image-wrapper { grid-area: image; margin-top: 0; display: flex; align-items: center; justify-content: center; } .frame-type-cloonar_hero .hero-image { max-width: 300px; } }