| /* Hero Section */ |
| .cmtyhero { |
| overflow: hidden; |
| height: calc(100vh - var(--header-height)); |
| height: calc(100dvh - var(--header-height)); /* Modern dynamic viewport height for mobile */ |
| display: flex; |
| flex-direction: column; |
| flex-wrap: nowrap; |
| align-items: center; |
| justify-content: center; |
| min-height: 670px; |
| max-height: 800px; |
| position: relative; |
| } |
| |
| .cmtyhero__img { |
| position: absolute; |
| right: 0px; |
| top: 50%; |
| transform: translateY(-50%); |
| width: 500px; |
| height: auto; |
| z-index: 20; |
| } |
| |
| .cmtyhero__img img { |
| display: block; |
| width: 100%; |
| height: auto; |
| } |
| |
| .cmtyhero__main { |
| position: relative; |
| z-index: 10; |
| color: var(--dark); |
| display: flex; |
| flex-direction: column; |
| flex-wrap: nowrap; |
| align-items: flex-start; |
| justify-content: flex-start; |
| } |
| |
| .cmtyhero__h1 { |
| max-width: 725px; |
| font-size: 6rem; |
| line-height: 7rem; |
| } |
| |
| .cmtyhero__text { |
| padding-top: var(--section-spacing-sm); |
| max-width: 575px; |
| font-size: 2.4rem; |
| line-height: 3.6rem; |
| } |
| |
| .cmtyhero__sub { |
| padding-top: var(--section-spacing-xl); |
| font-size: 1.6rem; |
| line-height: 2.4rem; |
| } |
| |
| /* Navigation Block */ |
| .cmtynavblock { |
| padding: var(--ai-spacing-md) 0; |
| background: var(--grey); |
| position: sticky; |
| top: 0; |
| z-index: 100; |
| } |
| |
| .cmtynavblock__list { |
| list-style: none; |
| margin: 0; |
| padding: 0; |
| display: flex; |
| justify-content: center; |
| gap: var(--ai-spacing-2xl); |
| } |
| |
| .cmtynavblock__list li { |
| margin: 0; |
| } |
| |
| .cmtynavblock__list a { |
| color: var(--dark); |
| text-decoration: none; |
| font-weight: 500; |
| transition: color 0.3s; |
| } |
| |
| .cmtynavblock__list a:hover { |
| color: var(--blue); |
| } |
| |
| /* Timeline/History Section */ |
| .cmtyhistory { |
| padding-top: var(--section-spacing-lg); |
| padding-bottom: var(--section-spacing-md); |
| } |
| |
| .cmtyhistory1__title { |
| font-weight: 700; |
| font-size: 32px; |
| line-height: 1; |
| } |
| |
| .cmtyhistory1__wrap { |
| padding-top: var(--section-spacing-lg); |
| } |
| |
| .cmtyhistory1__left { |
| width: 49%; |
| flex-shrink: 0; |
| flex-grow: 0; |
| position: relative; |
| } |
| |
| .cmtyhistory1__left img { |
| margin-top: var(--section-spacing-sm); |
| margin-right: var(--section-spacing-lg); |
| display: block; |
| width: 335px; |
| max-width: 90%; |
| margin-left: auto; |
| } |
| |
| .cmtyhistory__year { |
| position: absolute; |
| z-index: 10; |
| top: 8px; |
| left: 8px; |
| font-size: 4.8rem; |
| line-height: 1; |
| white-space: nowrap; |
| font-weight: 700; |
| } |
| |
| .cmtyhistory__year--right { |
| left: auto; |
| right: 0; |
| top: var(--ai-spacing-lg); |
| } |
| |
| .cmtyhistory1__right { |
| flex-grow: 1; |
| } |
| |
| .cmtyhistory1__h3 { |
| font-weight: 400; |
| } |
| |
| .cmtyhistory2 { |
| padding-top: var(--section-spacing-md); |
| } |
| |
| .cmtyhistory2__wrap { |
| flex-direction: row-reverse; |
| flex-wrap: nowrap; |
| } |
| |
| .cmtyhistory2__right { |
| width: 50%; |
| flex-shrink: 0; |
| flex-grow: 0; |
| position: relative; |
| } |
| |
| .cmtyhistory2__right img { |
| display: block; |
| margin-left: auto; |
| } |
| |
| .cmtyhistory2__left { |
| padding-top: var(--section-spacing-md); |
| } |
| |
| .cmtyhistory3 { |
| padding-top: var(--section-spacing-lg); |
| } |
| |
| .cmtyhistory3__left { |
| width: 49%; |
| flex-shrink: 0; |
| flex-grow: 0; |
| position: relative; |
| padding-top: var(--section-spacing-sm); |
| } |
| |
| .cmtyhistory3__right { |
| width: 49%; |
| flex-shrink: 0; |
| flex-grow: 0; |
| position: relative; |
| padding-top: var(--section-spacing-md); |
| } |
| |
| .cmtyhistory3__wrap { |
| display: flex; |
| align-items: flex-start; |
| } |
| |
| /* Meet Community Section */ |
| .cmty-meet { |
| margin-top: var(--section-spacing-md); |
| background: var(--red5); |
| padding: var(--section-spacing-xl) 0 var(--section-spacing-xl); |
| overflow: hidden; |
| } |
| |
| .cmty-meet__wrap { |
| display: flex; |
| align-items: flex-start; |
| } |
| |
| .cmty-meet__main { |
| max-width: 49%; |
| } |
| |
| .cmty-meet__h2 { |
| font-size: 48px; |
| line-height: 1; |
| font-weight: 700; |
| } |
| |
| .cmty-meet__text { |
| font-size: 2.4rem; |
| line-height: 3.6rem; |
| } |
| |
| .cmty-meet__sub { |
| padding-top: var(--section-spacing-xl); |
| max-width: 500px; |
| font-size: 1.6rem; |
| } |
| |
| .cmty-meet__pic { |
| position: relative; |
| width: 400px; |
| margin-left: auto; |
| } |
| |
| .cmty-meet__pic img { |
| display: block; |
| position: absolute; |
| top: var(--ai-spacing-xl); |
| right: 0; |
| } |
| |
| /* Contributors Section */ |
| .cmty-contrib { |
| padding: var(--section-spacing-lg) 0 var(--section-spacing-md); |
| } |
| |
| .cmty-contrib__wrap { |
| display: flex; |
| align-items: center; |
| } |
| |
| .cmty-contrib__main { |
| max-width: 510px; |
| } |
| |
| .cmty-contrib__text { |
| font-size: 1.8rem; |
| line-height: 1.5; |
| } |
| |
| .cmty-contrib__pic { |
| position: relative; |
| width: 650px; |
| flex-grow: 0; |
| margin-left: auto; |
| } |
| |
| .cmty-contrib__pic img { |
| display: block; |
| width: 100%; |
| margin-top: -30px; |
| } |
| |
| /* Committers Section */ |
| .cmty-committers { |
| padding-bottom: var(--section-spacing-md); |
| } |
| |
| .cmty-committers__text { |
| font-size: 1.8rem; |
| line-height: 1.5; |
| } |
| |
| .cmty-committers__small { |
| display: block; |
| color: #9c9c9c; |
| font-size: 1.6rem; |
| } |
| |
| .committers__wrap { |
| padding-top: var(--ai-spacing-2xl); |
| display: grid; |
| grid-template-columns: 1fr 1fr; |
| grid-auto-rows: auto; |
| gap: 0 var(--ai-spacing-lg); |
| } |
| |
| .committer { |
| height: 6rem; |
| border-bottom: 1px solid #e5e5e5; |
| align-items: center; |
| padding: 0 var(--ai-spacing-md) 0 var(--ai-spacing-md); |
| display: flex; |
| } |
| |
| .committer__name { |
| max-width: 60%; |
| flex-grow: 0; |
| overflow: hidden; |
| margin-right: auto; |
| } |
| |
| .committer__github { |
| display: block; |
| width: 30px; |
| margin: 0 10px; |
| } |
| |
| .committer__apache { |
| display: block; |
| width: 30px; |
| margin: 0 5px 0 15px; |
| } |
| |
| .committer__github img, |
| .committer__apache img { |
| display: block; |
| } |
| |
| .committers__morelink { |
| display: block; |
| width: 100px; |
| margin: var(--ai-spacing-2xl) auto 0; |
| text-align: center; |
| cursor: pointer; |
| color: var(--blue); |
| } |
| |
| .committers__morelink:hover { |
| text-decoration: underline; |
| } |
| |
| /* PMC Section */ |
| .cmty-pm { |
| padding-top: var(--section-spacing-md); |
| padding-bottom: var(--section-spacing-lg); |
| } |
| |
| .cmty-pm__wrap { |
| display: grid; |
| grid-template-columns: repeat(4, 1fr); |
| grid-auto-rows: auto; |
| gap: var(--ai-spacing-lg); |
| } |
| |
| .cmty-pmitem { |
| border: 1px solid var(--grey2); |
| box-sizing: border-box; |
| border-radius: var(--ai-radius-md); |
| display: flex; |
| flex-direction: column; |
| position: relative; |
| padding: var(--ai-spacing-2xl) var(--ai-spacing-lg); |
| } |
| |
| .cmty-pmitem__proff { |
| top: 3px; |
| right: 25px; |
| text-transform: uppercase; |
| height: 42px; |
| display: flex; |
| flex-direction: row; |
| flex-wrap: nowrap; |
| align-items: center; |
| justify-content: center; |
| position: absolute; |
| font-size: 15px; |
| font-weight: 600; |
| } |
| |
| .cmty-pmitem__proff img { |
| margin-right: 6px; |
| width: 17px; |
| height: 17px; |
| display: block; |
| } |
| |
| .cmty-pmitem__name { |
| font-weight: 400; |
| max-width: 80%; |
| } |
| |
| .cmty-pmitem__links { |
| display: flex; |
| align-items: center; |
| margin-top: auto; |
| padding-top: var(--ai-spacing-md); |
| } |
| |
| .cmty-pmitem__links img { |
| display: block; |
| width: 30px; |
| height: 30px; |
| object-fit: contain; |
| } |
| |
| .cmty-pmitem__github { |
| margin-right: 20px; |
| } |
| |
| .cmty-pm__morelink { |
| display: block; |
| width: 80px; |
| text-align: center; |
| margin: var(--ai-spacing-lg) auto 0; |
| cursor: pointer; |
| color: var(--blue); |
| } |
| |
| .cmty-pm__morelink:hover { |
| text-decoration: underline; |
| } |
| |
| /* Start Contributing Section */ |
| .cmty-startcont { |
| background: #e8f2fa; |
| padding: var(--section-spacing-md) 0 var(--section-spacing-md); |
| } |
| |
| .cmty-startcont__wrap { |
| align-items: stretch; |
| display: flex; |
| } |
| |
| .cmty-startcont__main { |
| display: flex; |
| flex-direction: column; |
| flex-wrap: nowrap; |
| align-items: stretch; |
| justify-content: flex-start; |
| max-width: 540px; |
| padding-top: var(--section-spacing-md); |
| } |
| |
| .cmty-startcont__title { |
| font-size: 3rem; |
| font-weight: 700; |
| } |
| |
| .cmty-startcont__text { |
| font-size: 2rem; |
| line-height: 1.5; |
| } |
| |
| .cmty-startcont__pic { |
| margin-left: auto; |
| flex-grow: 0; |
| } |
| |
| .cmty-startcont__pic img { |
| width: 614px; |
| display: block; |
| } |
| |
| /* Ask Question Section */ |
| .cmty-ask { |
| padding: var(--section-spacing-md) 0; |
| background: var(--grey); |
| } |
| |
| .cmty-ask__wrap { |
| display: flex; |
| align-items: center; |
| position: relative; |
| } |
| |
| .cmty-ask__main { |
| max-width: 50%; |
| position: relative; |
| z-index: 10; |
| } |
| |
| .cmty-ask__title { |
| font-size: 5rem; |
| line-height: 1.2; |
| font-weight: 700; |
| } |
| |
| .cmty-ask__text { |
| font-size: 2rem; |
| line-height: 1.5; |
| } |
| |
| .cmty-ask__bg { |
| position: absolute; |
| right: 0; |
| top: 50%; |
| transform: translateY(-50%); |
| width: 400px; |
| z-index: 1; |
| } |
| |
| /* FAQ Block */ |
| .faqblock { |
| display: flex; |
| gap: 4rem; |
| align-items: flex-start; |
| padding: 3rem 0; |
| border-bottom: 1px solid var(--grey2); |
| } |
| |
| .faqblock__title { |
| width: 30%; |
| flex-shrink: 0; |
| display: flex; |
| align-items: flex-start; |
| gap: 1.5rem; |
| font-weight: 600; |
| } |
| |
| .faqblock__title img { |
| width: 32px; |
| height: 32px; |
| flex-shrink: 0; |
| } |
| |
| .faqblock__right { |
| flex-grow: 1; |
| } |
| |
| .faqblock__rightitle { |
| font-weight: 600; |
| font-size: 1.8rem; |
| margin-bottom: 1rem; |
| } |
| |
| .faqblock__actions { |
| display: flex; |
| gap: var(--ai-spacing-md); |
| flex-wrap: wrap; |
| margin-top: var(--ai-spacing-lg); |
| } |
| |
| /* Contribute Grid */ |
| .contributeGrid { |
| display: grid; |
| grid-template-columns: repeat(4, 1fr); |
| gap: var(--ai-spacing-lg); |
| margin-top: var(--section-spacing-sm); |
| } |
| |
| .contributeCard { |
| padding: var(--ai-spacing-xl); |
| text-decoration: none; |
| color: inherit; |
| transition: transform 0.2s, box-shadow 0.2s; |
| } |
| |
| .contributeCard:hover { |
| transform: translateY(-4px); |
| box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12); |
| text-decoration: none; |
| color: inherit; |
| } |
| |
| .contributeCard h4 { |
| margin: 0 0 var(--ai-spacing-sm) 0; |
| } |
| |
| .contributeCard p { |
| margin: 0; |
| font-size: 1.4rem; |
| color: var(--ai-text-secondary); |
| } |
| |
| /* Events CTA */ |
| .eventsCta { |
| background: var(--ai-bg-blue); |
| color: var(--ai-text-inverse); |
| } |
| |
| .eventsCta__wrap { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| gap: var(--ai-spacing-2xl); |
| } |
| |
| .eventsCta__main { |
| max-width: 60%; |
| } |
| |
| .eventsCta__main h2 { |
| color: var(--ai-text-inverse); |
| } |
| |
| .eventsCta__main p { |
| opacity: 0.9; |
| } |
| |
| .eventsCta__button { |
| background: var(--ai-text-inverse) !important; |
| color: var(--ai-blue) !important; |
| border: 2px solid var(--ai-text-inverse) !important; |
| font-weight: 600; |
| padding: var(--ai-spacing-md) var(--ai-spacing-2xl); |
| font-size: 1.6rem; |
| } |
| |
| .eventsCta__button:hover { |
| background: transparent !important; |
| color: var(--ai-text-inverse) !important; |
| border-color: var(--ai-text-inverse) !important; |
| } |
| |
| /* Final CTA Section */ |
| .cta { |
| background: var(--ai-bg-blue); |
| color: var(--ai-text-inverse); |
| padding: var(--section-spacing-md) 0; |
| } |
| |
| .ctaContainer { |
| display: flex; |
| align-items: center; |
| justify-content: space-between; |
| gap: var(--ai-spacing-2xl); |
| } |
| |
| .ctaContent { |
| max-width: 60%; |
| } |
| |
| .ctaTitle { |
| font-size: 3rem; |
| font-weight: 700; |
| margin: 0; |
| color: var(--ai-text-inverse); |
| } |
| |
| .ctaDescription { |
| margin: var(--ai-spacing-sm) 0 0; |
| font-size: 1.8rem; |
| opacity: 0.9; |
| } |
| |
| .ctaAction .button { |
| background: var(--ai-text-inverse); |
| color: var(--ai-blue); |
| border-color: var(--ai-text-inverse); |
| } |
| |
| .ctaAction .button:hover { |
| background: var(--ai-bg-secondary); |
| color: var(--ai-blue); |
| } |
| |
| /* Responsive Styles */ |
| @media (max-width: 1199px) { |
| .cmty-pm__wrap { |
| grid-template-columns: repeat(3, 1fr); |
| } |
| |
| .committers__wrap { |
| grid-template-columns: 1fr; |
| } |
| |
| .contributeGrid { |
| grid-template-columns: repeat(2, 1fr); |
| } |
| } |
| |
| @media (max-width: 992px) { |
| .cmtyhero__img { |
| display: none; |
| } |
| |
| .cmtyhistory1__wrap { |
| flex-direction: column; |
| } |
| |
| .cmtyhistory1__left, |
| .cmtyhistory1__right, |
| .cmtyhistory2__right, |
| .cmtyhistory2__left, |
| .cmtyhistory3__left, |
| .cmtyhistory3__right { |
| width: 100%; |
| max-width: 100%; |
| padding-top: 3rem; |
| } |
| |
| .cmtyhistory2__wrap, |
| .cmtyhistory3__wrap { |
| flex-direction: column; |
| } |
| |
| .cmty-meet__main { |
| max-width: 100%; |
| } |
| |
| .cmty-meet__pic { |
| display: none; |
| } |
| |
| .cmty-contrib__wrap { |
| flex-direction: column; |
| } |
| |
| .cmty-contrib__pic { |
| width: 100%; |
| margin-top: 3rem; |
| } |
| |
| .cmty-pm__wrap { |
| grid-template-columns: repeat(2, 1fr); |
| } |
| |
| .cmty-startcont__wrap { |
| flex-direction: column; |
| } |
| |
| .cmty-startcont__pic { |
| margin-top: 3rem; |
| } |
| |
| .cmty-startcont__pic img { |
| width: 100%; |
| } |
| |
| .cmty-ask__main { |
| max-width: 100%; |
| } |
| |
| .cmty-ask__bg { |
| display: none; |
| } |
| |
| .eventsCta__wrap, |
| .ctaContainer { |
| flex-direction: column; |
| text-align: center; |
| } |
| |
| .eventsCta__main, |
| .ctaContent { |
| max-width: 100%; |
| } |
| } |
| |
| @media (max-width: 767px) { |
| .cmtyhero { |
| height: auto; |
| min-height: auto; |
| padding: 8rem 0; |
| } |
| |
| .cmtyhero__h1 { |
| font-size: 4rem; |
| line-height: 4.8rem; |
| } |
| |
| .cmtyhero__text { |
| font-size: 1.8rem; |
| line-height: 2.7rem; |
| padding-top: 3rem; |
| } |
| |
| .cmtyhero__sub { |
| padding-top: 5rem; |
| } |
| |
| .cmtynavblock__list { |
| flex-direction: column; |
| gap: 1rem; |
| text-align: center; |
| } |
| |
| .cmtyhistory { |
| padding-top: 6rem; |
| padding-bottom: 4rem; |
| } |
| |
| .cmty-meet { |
| padding: 8rem 0; |
| } |
| |
| .cmty-meet__h2 { |
| font-size: 3.6rem; |
| } |
| |
| .cmty-meet__text { |
| font-size: 1.8rem; |
| line-height: 2.7rem; |
| } |
| |
| .cmty-meet__sub { |
| padding-top: 5rem; |
| } |
| |
| .cmty-contrib { |
| padding: 6rem 0 4rem; |
| } |
| |
| .cmty-pm__wrap { |
| grid-template-columns: 1fr; |
| grid-auto-rows: auto; |
| } |
| |
| .cmty-ask__title { |
| font-size: 3.6rem; |
| } |
| |
| .faqblock { |
| flex-direction: column; |
| gap: 2rem; |
| } |
| |
| .faqblock__title { |
| width: 100%; |
| } |
| |
| .contributeGrid { |
| grid-template-columns: 1fr; |
| } |
| |
| .ctaTitle { |
| font-size: 2.4rem; |
| } |
| |
| .ctaDescription { |
| font-size: 1.6rem; |
| } |
| } |