@charset "UTF-8";
@charset "UTF-8";
 *,
:before,
:after {
box-sizing: border-box;
}
:where(ul, ol):where([class]) {
padding-left: 0;
}
body,
:where(blockquote, figure, fieldset):where([class]) {
margin: 0;
}
:where(h1, h2, h3, h4, h5, h6, p, ul, ol, dl):where([class]) {
margin-top: 0;
margin-bottom: 0;
}
:where(dd[class]) {
margin-left: 0;
}
:where(fieldset[class]) {
padding: 0;
border: none;
}
:where(ul[class]) {
list-style: none;
}
:where(address[class]) {
font-style: normal;
}
p {
--paragraphMarginBottom: 1.5rem;
margin-top: 0;
margin-bottom: 0;
}
p:where(:not([class]):not(:last-child)) {
margin-bottom: var(--paragraphMarginBottom);
}
img,
video {
display: block;
max-width: 100%;
height: auto;
}
input,
textarea,
select,
button {
font: inherit;
}
html {
height: 100%;
scrollbar-gutter: stable;
}
html {
scroll-behavior: smooth;
}
body {
min-height: 100%;
line-height: 1.5;
}
a:where([class]) {
display: inline-flex;
}
button,
label {
cursor: pointer;
}
svg * {
transition-property: fill, stroke;
}
:where(table) {
border-collapse: collapse;
border-color: currentColor;
}
@media (prefers-reduced-motion: reduce) {
*,
:before,
:after {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
scroll-behavior: auto !important;
}
}
@font-face {
font-family: Onest;
src: url(//yoof.org/wp-content/themes/yoof/assets/fonts/Onest-Light.woff2)
format("woff2");
font-weight: 300;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Onest;
src: url(//yoof.org/wp-content/themes/yoof/assets/fonts/Onest-Regular.woff2)
format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Onest;
src: url(//yoof.org/wp-content/themes/yoof/assets/fonts/Onest-Bold.woff2)
format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Onest;
src: url(//yoof.org/wp-content/themes/yoof/assets/fonts/Onest-Medium.woff2)
format("woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: Onest;
src: url(//yoof.org/wp-content/themes/yoof/assets/fonts/Onest-SemiBold.woff2)
format("woff2");
font-weight: 600;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: BerlingskeSerif;
src: url(//yoof.org/wp-content/themes/yoof/assets/fonts/BerlingskeSerif-LtItalic.woff2)
format("woff2");
font-weight: 300;
font-style: italic;
font-display: swap;
}
@font-face {
font-family: BerlingskeSerif;
src: url(//yoof.org/wp-content/themes/yoof/assets/fonts/BerlingskeSerif-Regular.woff2)
format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: BerlingskeSerif;
src: url(//yoof.org/wp-content/themes/yoof/assets/fonts/BerlingskeSerif-Italic.woff2)
format("woff2");
font-weight: 400;
font-style: italic;
font-display: swap;
}
:root { --color-white-rgb: 255, 255, 255;
--color-white: #ffffff;
--color-white-f4: #f4f4f4;
--color-black: #121212;
--color-black-alt: #050505;
--color-black-rgb: 18, 18, 18;
--color-blue: #1148ff;
--color-blue-rgb: 17, 72, 255;
--color-blue-alt: #082eab;
--color-green: #24c15f;
--color-green-rgb: 36, 193, 96;
--color-green-alt: #2eb576;
--color-red: #ed304e;
--color-red-alt: #bc1731;
--color-orange: #ff9b41;
--color-orange-alt: #f7973f;
--color-blue-gradient: linear-gradient(89.91deg,
var(--color-blue) 0.06%,
#406cff 49.7%,
var(--color-blue) 99.34%);
--color-accent: #e50000;
--color-gray: #808080;
--color-gray-2: #050505;
--color-gray-9: #151515;
--color-gray-36: #5c5c5c;
--color-gray-61: #9c9c9c;
--color-gray-76: #c2c2c2;
--color-gray-91: #e9e9e9;
--color-gray-e5: #e5e5e5;
--color-gray-smoke: #f5f5f5;
--color-gray-69: rgb(175, 175, 175);
--color-gray-69-rgb: 175, 175, 175;
--color-gray-70: #6f6f6f; --border: var(--border-width-m) solid var(--color-accent);
--border-width-xl: 0.375rem;
--border-width-l: 0.25rem;
--border-width-m: 0.1875rem;
--border-width-s: 0.0625rem;
--border-radius-circle: 3.125rem;
--border-radius-xl: 2.5rem;
--border-radius-l: 1.5rem;
--border-radius-m: 1.25rem;
--border-radius: 1rem;
--border-radius-xs: 0.75rem;
--border-radius-xxs: 0.5rem;
--border-radius-xxxs: 0.25rem;
--border-radius-circle: 50%; --font-family-base: "Onest";
--font-family-alt: "BerlingskeSerif"; --container-width: clamp(48rem, 0rem + 100vw, 65rem);
--container-padding-x: 1rem;
--padding-header: 1.25rem;
--height-header: 3.125rem; --transition-duration: 0.2s;
--transition-duration-slow: 0.4s;
}
html[data-theme-style="dark"] {
--color-page-bg: #050505;
--color-page-text: var(--color-white);
--border: none; --color-header-actions-switchers-button-circle: rgba(var(--color-white-rgb), 0.3);
--border-header-actions-switchers-button-circle: 1px solid rgba(var(--color-white-rgb), 0.3); --color-hero-title: var(--color-white);
--color-hero-description: #E2E2E2; --color-about-card-bg: rgba(30, 29, 29, 0.4); --color-partners-description: linear-gradient(268.93deg,
var(--color-red) 0%,
#f66647 50.23%,
var(--color-orange) 100%);
--border-partners-description: none;
--description-before: block; --color-news-item-bg: rgba(255, 255, 255, 0.1);
--color-news-list-item-category: var(--color-white);
--color-news-list-item-title: var(--color-white);
--display-blog-glow: block;
--color-footer-bg: var(--color-page-bg);
--footer-links-title: var(--color-blue); --profile-page-content-bg: #1f1f1f;
--color-profile-title: var(--color-white);
--color-profile-block-wrapper-bg: var(--color-panel-bg);
--color-profile-hero-edit-button: var(--color-gray-76);
--color-profile-hero-edit-button-hover: var(--color-orange);
--color-profile-hero-visibility-label: var(--color-white);
--color-button-achievments-visibillity-toggle-bg: rgba(233, 233, 233, 0.2);
--color-button-achievments-visibillity-toggle-text: var(--color-white); --color-platform-features-title: #CACACA;
--color-platform-features-title-strong: var(--color-white); --color-toggle-bg: rgba(129, 128, 137, 0.5);
--color-panel-bg: #292929;
}
html[data-theme-style="light"] {
--color-page-bg: var(--color-white);
--color-page-text: var(--color-gray-36);
--border: 1px solid rgba(var(--color-gray-36), 0.5); --color-header-actions-switchers-button-circle: rgba(var(--color-black-rgb), 0.6);
--border-header-actions-switchers-button-circle: 1px solid rgba(var(--color-black-rgb), 0.6); --color-hero-title: var(--color-black-alt);
--color-hero-description: var(--color-gray-36); --color-about-card-bg: rgba(255, 255, 255, 0.4); --color-partners-description: transparent;
--border-partners-description: 1px solid var(--color-gray-91);
--description-before: none; --color-news-item-bg: var(--color-white);
--color-news-list-item-category: var(--color-orange);
--color-news-list-item-title: #232323;
--display-blog-glow: none;
--color-footer-bg: var(--color-white-957);
--footer-links-title: var(--color-blue); --profile-page-content-bg: var(--color-gray-smoke);
--color-profile-title: var(--color-black);
--color-profile-block-wrapper-bg: var(--color-panel-bg);
--color-profile-hero-edit-button: var(--color-gray-76);
--color-profile-hero-edit-button-hover: var(--color-blue);
--color-profile-hero-visibility-label: var(--color-black);
--color-button-achievments-visibillity-toggle-bg: var(--color-gray-91);
--color-button-achievments-visibillity-toggle-text: var(--color-gray-70); --color-platform-features-title: var(--color-gray-36);
--color-platform-features-title-strong: var(--color-black); --color-toggle-bg: var(--color-gray-76);
--color-panel-bg: var(--color-white);
}
 .body--account {
display: flex;
flex-direction: row;
}
.container {
width: 100%;
max-width: calc(var(--container-width) + var(--container-padding-x) * 2);
margin-left: auto;
margin-right: auto;
padding-left: var(--container-padding-x);
padding-right: var(--container-padding-x);
}
.visually-hidden {
position: absolute !important;
overflow: hidden !important;
width: 0.0625rem !important;
height: 0.0625rem !important;
margin: -0.0625rem !important;
padding: 0 !important;
white-space: nowrap !important;
border: 0 !important;
clip: rect(0 0 0 0) !important;
clip-path: inset(100%) !important;
}
@media (min-width: 63.9385rem) {
.visible-tablet {
display: none !important;
}
}
@media (max-width: 1024px) {
.hidden-tablet {
display: none !important;
}
}
@media (min-width: 47.9385rem) {
.visible-mobile {
display: none !important;
}
}
@media (max-width: 768px) {
.hidden-mobile {
display: none !important;
}
}
html {
overflow-x: hidden;
}
html.is-lock {
overflow: hidden;
}
body {
font-size: clamp(0.875rem, 0.725rem + 0.6153846154vw, 1.125rem);
display: flex;
flex-direction: column;
font-family: var(--font-family-base), sans-serif;
background-color: var(--color-page-bg);
color: var(--color-page-text);
line-height: 1.6;
overflow-x: hidden;
}
.h1,
.h2 {
font-family: var(--font-family-alt), sans-serif;
}
h1,
.h1 {
font-size: clamp(2rem, 0.95rem + 4.3076923077vw, 3.75rem);
font-weight: 300;
}
h2,
.h2 {
font-size: clamp(2rem, 1.7rem + 1.2307692308vw, 2.5rem);
font-weight: 300;
}
h3,
.h3 {
font-size: clamp(1.125rem, 0.975rem + 0.6153846154vw, 1.375rem);
font-weight: 700;
}
h4,
.h4 {
font-size: clamp(0.75rem, 0.6rem + 0.6153846154vw, 1rem);
font-weight: 600;
}
h5,
.h5 {
font-size: clamp(1.125rem, 0.975rem + 0.6153846154vw, 1.375rem);
font-weight: 400;
}
h6,
.h6 {
font-size: clamp(1rem, 0.85rem + 0.6153846154vw, 1.25rem);
font-weight: 400;
}
a,
button,
label,
input,
textarea,
select,
svg * {
transition-duration: var(--transition-duration);
}
a {
color: inherit;
}
a[class] {
-webkit-text-decoration: none;
text-decoration: none;
cursor: pointer;
}
:focus-visible {
outline: 0.125rem dashed var(--color-white);
outline-offset: 0.25rem;
transition-duration: 0s !important;
}
.title strong {
color: var(--color-blue);
}
.title span em {
display: inline-block;
}
.title span.icon {
margin-left: 1rem;
margin-right: 1rem;
background: var(--color-white);
border: 0.0625rem solid rgba(239, 239, 239, 0.3);
border-radius: clamp(0.5rem, 0.05rem + 1.8461538462vw, 1.25rem);
box-shadow: 1.875rem 1.875rem 5rem #0003;
transform: rotate(-3deg) translateY(20%);
width: clamp(1.875rem, 0.525rem + 5.5384615385vw, 4.125rem);
height: clamp(1.875rem, 0.525rem + 5.5384615385vw, 4.125rem);
display: inline-flex;
justify-content: center;
align-items: center;
}
.title span.icon svg {
width: 50%;
}
.title span.icon svg path {
fill: var(--color-gray);
stroke: none;
}
.logo {
width: clamp(3.5rem, 2.6rem + 3.6923076923vw, 5rem);
}
.icon {
--iconSize: clamp(1.5rem, 0.7941176471rem + 1.4705882353vw, 1.75rem);
width: clamp(1.5rem, 0.7941176471rem + 1.4705882353vw, 1.75rem);
width: var(--iconSize);
height: clamp(1.5rem, 0.7941176471rem + 1.4705882353vw, 1.75rem);
height: var(--iconSize);
display: inline-flex;
}
.icon svg {
width: 100%;
height: 100%;
}
.section {
row-gap: clamp(2.5rem, 1rem + 6.1538461538vw, 5rem);
padding-top: 3.125rem;
padding-bottom: 3.125rem;
position: relative;
}
.section__header {
display: flex;
justify-content: space-between;
align-items: center;
-moz-column-gap: 1rem;
column-gap: 1rem;
}
@media (max-width: 768px) {
.section__header {
flex-direction: column;
align-items: start;
row-gap: 1.25rem;
}
} .card__title,
.card__text {
color: var(--color-white);
}
.card__text {
font-weight: 300;
} .field {
display: flex;
flex-direction: column;
align-items: start;
row-gap: clamp(0.75rem, 0.0441176471rem + 1.4705882353vw, 1rem);
}
.field__label {
font-size: clamp(1rem, 0.6470588235rem + 0.7352941176vw, 1.125rem);
font-weight: 700;
color: var(--color-white);
}
.field__required-star {
color: var(--color-accent);
}
.field__control {
width: 100%;
max-width: 18.75rem;
height: clamp(3.3125rem, 0.8419117647rem + 5.1470588235vw, 4.1875rem);
padding-left: clamp(1rem, 0.2941176471rem + 1.4705882353vw, 1.25rem);
padding-right: clamp(1rem, 0.2941176471rem + 1.4705882353vw, 1.25rem);
color: var(--color-white);
background-color: var(--color-black);
border: var(--border-width-m) solid var(--color-white);
border-radius: var(--border-radius);
}
@media (max-width: 90rem) {
.field__control {
border-radius: var(--border-radius-xs);
}
}
@media (any-hover: hover) {
.field__control:hover {
border-color: var(--color-white);
}
}
@media (any-hover: none) {
.field__control:active {
border-color: var(--color-white);
}
}
.field__control:user-invalid {
border-color: var(--color-accent);
}
.field__control:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.field__control::-moz-placeholder {
color: var(--color-gray);
}
.field__control::placeholder {
color: var(--color-gray);
}
.field textarea.field__control {
min-height: clamp(6.8125rem, 4.7875rem + 8.3076923077vw, 10.1875rem);
padding-top: clamp(1rem, 0.2941176471rem + 1.4705882353vw, 1.25rem);
padding-bottom: clamp(1rem, 0.2941176471rem + 1.4705882353vw, 1.25rem);
resize: vertical;
} .figure {
position: relative;
display: block;
overflow: hidden;
}
.figure__image {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
display: block;
}
.figure__caption {
margin-top: 0.5rem;
font-size: 0.875rem;
text-align: center;
}
.button {
display: inline-flex;
justify-content: center;
align-items: center;
-moz-column-gap: 0.3em;
column-gap: 0.3em;
padding: 0.5rem 0.75rem;
border-radius: var(--border-radius-m);
color: var(--color-blue);
background-color: transparent;
transition-duration: var(--transition-duration);
line-height: 0;
backdrop-filter: blur(10px);
}
@media (any-hover: hover) {
.button:hover {
opacity: 0.5;
gap: 0.5rem;
}
}
@media (any-hover: none) {
.button:active {
opacity: 0.5;
gap: 0.5rem;
}
}
.button .icon svg path {
fill: currentColor;
stroke: none;
}
.button--circle {
width: 3.4375rem;
height: 3.4375rem;
border: 0.0625rem solid var(--color-gray);
border-radius: var(--border-radius-circle);
line-height: 1;
}
@media (max-width: 1024px) {
.button--circle {
width: 2.75rem;
height: 2.75rem;
}
}
@media (max-width: 768px) {
.button--circle {
border: none;
background-color: var(--color-white);
}
}
.action-buttons {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 1rem;
}
.button--action {
padding-block: clamp(1rem, -0.4117647059rem + 2.9411764706vw, 1.5rem);
padding-inline: 12px;
border-radius: 1.25rem;
border: 0.0625rem solid var(--color-gray);
color: var(--color-gray);
min-width: 18.75rem;
height: 4.375rem;
font-size: 0.875rem;
text-transform: uppercase;
transition-duration: var(--transition-duration);
backdrop-filter: blur(10px);
}
.button--action .icon svg {
fill: var(--color-gray-76);
width: 50%;
}
.button--blue {
background: var(--color-blue-gradient);
color: var(--color-white);
border: none;
}
.button.is-active {
color: var(--color-blue);
}
.button.is-active .icon svg path {
fill: var(--color-blue);
} .toggle {
--size-padding: 0.125rem;
padding: 0.125rem;
padding: var(--size-padding);
height: 1.25rem;
aspect-ratio: 2/1;
border: none;
border-radius: 3.125rem;
background-color: var(--color-toggle-bg);
display: flex;
align-items: center;
justify-content: space-between;
position: relative;
overflow: hidden;
}
.toggle__icon {
width: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.toggle__circle {
height: calc(100% - var(--size-padding) * 2);
aspect-ratio: 1;
position: absolute;
top: 50%;
left: 0;
background-color: var(--color-white);
border-radius: 3.125rem;
transform: translate(var(--size-padding), -50%);
transition-duration: var(--transition-duration);
}
.toggle.is-active {
background-color: var(--color-blue);
}
.toggle.is-active~.profile-hero__visibility-label {
color: var(--color-profile-hero-visibility-label);
}
.toggle.is-active .toggle__circle {
left: 100%;
transform: translate(calc(-100% - var(--size-padding)), -50%);
}
.header {
padding-block: var(--padding-header);
height: var(--height-header);
}
.header__inner {
display: flex;
justify-content: end;
-moz-column-gap: 1rem;
column-gap: 1rem;
}
.home-button {
z-index: 10;
background-color: var(--color-white);  
margin-right: auto;
}
.home-button svg {
display: block;
margin: auto;
max-width: 70%;
}
.header__actions {
display: flex;
flex-direction: column;
gap: 1.5625rem;
z-index: 999;
}
@media (max-width: 768px) {
.header__actions {
width: 100%;
flex-direction: row-reverse;
justify-content: space-between;
}
}
.header__actions > .button--circle {
background-color: var(--color-white);
color: var(--color-red);
border: none;
}
.header__actions > .button--circle .icon svg {
width: 70%;
margin: auto;
}
.header__actions-switchers {
display: flex;
flex-direction: column;
gap: 1.5625rem;
}
@media (max-width: 768px) {
.header__actions-switchers {
flex-direction: row-reverse;
gap: 0.75rem;
}
}
.header__actions-switchers .button--circle {
border: var(--border-header-actions-switchers-button-circle);
}
@media (max-width: 768px) {
.header__actions-switchers .button--circle {
border: none;
}
}
.footer {
padding-top: 4rem;
padding-bottom: 4rem;
background-color: var(--color-footer-bg);
margin-top: auto;
position: relative;
}
.footer a:not(.logo):hover {
color: var(--color-blue);
}
.footer__inner {
display: grid;
grid-template-columns: 1fr 1fr 1fr max-content;
grid-template-areas: "copyright media documents contacts";
grid-gap: 2rem;
gap: 2rem;
}
@media (max-width: 768px) {
.footer__inner {
row-gap: 3.75rem;
grid-template-columns: 2fr 1fr;
grid-template-areas:
"copyright documents"
"contacts media"
"socials socials";
}
}
.footer__copyright,
.footer__media,
.footer__documents,
.footer__contacts,
.footer__socials {
display: flex;
}
.footer__copyright,
.footer__media,
.footer__documents,
.footer__contacts {
flex-direction: column;
gap: 0.5rem;
}
.footer__copyright {
grid-area: copyright;
}
.footer__media {
grid-area: media;
}
.footer__documents {
grid-area: documents;
}
.footer__contacts {
grid-area: contacts;
}
.footer__socials {
grid-area: socials;
align-items: center;
gap: 12px;
}
.footer__socials-item {
width: 34px;
aspect-ratio: 1;
border-radius: 12px;
background-size: 16px;
background-position: center;
background-repeat: no-repeat;
}
[data-theme-style="dark"] .footer__socials-item {
background-color: rgba(49, 49, 49, 1);
}
[data-theme-style="light"] .footer__socials-item {
background-color: rgba(17, 72, 255, 0.5);
}
.footer__socials-item--telegram {
background-image: url(//yoof.org/wp-content/themes/yoof/assets/images/icons/telegram.svg);
}
.footer__socials-item--x {
background-image: url(//yoof.org/wp-content/themes/yoof/assets/images/icons/x.svg);
}
.footer__socials-item--linkedin {
background-image: url(//yoof.org/wp-content/themes/yoof/assets/images/icons/linkedin.svg);
}
.footer__links-title {
font-weight: 600;
color: var(--footer-links-title);
margin-bottom: 0.5rem;
}
.footer__links-title,
.footer-link {
font-size: clamp(0.875rem, 0.8rem + 0.3076923077vw, 1rem);
}
.lang-switcher {
position: relative;
cursor: pointer;
transition-duration: var(--transition-duration);
z-index: 1;
text-transform: uppercase;
}
.lang-switcher .button {
--color-button-text: var(--color-white);
color: var(--color-button-text);
}
@media (max-width: 768px) {
.lang-switcher .button {
--color-button-text: var(--color-blue);
}
}
.lang__main {
position: relative;
z-index: 99;
}
.lang__main,
.lang__option {
display: flex;
align-items: center;
justify-content: center;
transition-duration: var(--transition-duration);
}
.lang__options {
position: absolute;
top: 0;
left: 0;
display: flex;
pointer-events: none;
transform: translate(-50%);
transition-duration: var(--transition-duration);
z-index: 10;
}
@media (max-width: 768px) {
.lang__options {
flex-direction: column;
transform: translate(0);
}
}
.lang__options.is-open {
opacity: 1;
pointer-events: auto;
transform: translate(-100%);
}
@media (max-width: 768px) {
.lang__options.is-open {
transform: translateY(50%);
}
}
.lang__option {
opacity: 0;
position: relative;
top: 0;
}
.lang__option.is-open {
opacity: 1;
position: relative;
transform: translateY(0);
}
html[data-theme-style="light"] .lang-switcher .button {
--color-button-text: var(--color-black);
}
@media (max-width: 768px) {
html[data-theme-style="light"] .lang-switcher {
--color-button-text: var(--color-blue);
}
}
.theme-switch {
overflow: hidden;
position: relative;
}
.theme-switch .theme-switch-icon {
min-width: 3.4375rem;
}
@media (max-width: 1024px) {
.theme-switch .theme-switch-icon {
min-width: 2.75rem;
color: var(--color-blue);
}
}
.theme-switch .theme-switch-icon svg {
display: block;
margin: auto;
max-width: 50%;
}
.theme-switch .theme-switch-icon-wrapper {
display: flex;
position: absolute;
left: 0;
transition-duration: var(--transition-duration-slow);
}
.theme-switch .theme-switch-icon-wrapper .icon svg path {
fill: var(--color-header-actions-switchers-button-circle);
}
@media (max-width: 768px) {
.theme-switch .theme-switch-icon-wrapper .icon svg path {
fill: var(--color-blue);
}
}
.theme-switch .theme-switch-icon-wrapper.is-dark {
translate: -50%;
} .fund-flow__inner {
background: linear-gradient(60deg, var(--color-blue) 0%, var(--color-green) 100%);
border-radius: 60px;
border: 16px solid #252424;
}
html[data-theme-style="dark"] .fund-flow__inner {
border: 16px solid #252424;
}
html[data-theme-style="light"] .fund-flow__inner {
border-color: var(--color-white);
color: var(--color-white);
}
.fund-flow__inner.container {
padding-inline: 0;
}
.fund-flow__title {
font-family: var(--font-family-alt);
text-align: center;
margin-block: 60px;
font-size: clamp(1.875rem, 1.6627rem + 0.9434vw, 2.5rem);
}
.fund-flow__title em {
font-weight: 700;
}
.fund-flow__steps {
display: grid;
grid-template-columns: repeat(2, 50%);
counter-reset: steps-counter;
list-style: none;
margin-block: 60px;
position: relative;
}
.fund-flow__steps::before,
.fund-flow__steps::after {
content: '';
position: absolute;
}
.fund-flow__steps::before {
bottom: -9.6%;
left: 50%;
width: 1px;
height: 120%;
background: linear-gradient(to bottom, transparent 0%, white 50%, white 90%, transparent 100%);
}
.fund-flow__steps::after {
top: 0%;
right: -1.6%;
width: 105%;
height: 1px;
background: linear-gradient(to right, transparent 0%, white 50%, transparent 100%);
}
.fund-flow__step {
--padding-inline: clamp(2rem, 0.5566rem + 6.4151vw, 6.25rem);
position: relative;
padding-inline: var(--padding-inline);
padding-top: clamp(5.25rem, 4.4858rem + 3.3962vw, 7.5rem);
padding-bottom: clamp(2rem, 0.7264rem + 5.6604vw, 5.75rem);
counter-increment: steps-counter;
transition-duration: var(--transition-duration-slow);
}
.fund-flow__step:hover {
background: rgba(255, 255, 255, 0.2);
}
.fund-flow__step::before {
content: counter(steps-counter, decimal-leading-zero);
position: absolute;
top: 0;
left: var(--padding-inline);
font-family: var(--font-family-alt);
font-size: 24px;
font-weight: 400;
line-height: 1;
color: var(--color-white);
letter-spacing: -1px;
font-style: italic;
margin-top: 3rem;
}
.fund-flow__step-title {
font-size: clamp(0.875rem, 0.7052rem + 0.7547vw, 1.375rem);
}
.fund-flow__step-text {
font-size: clamp(0.75rem, 0.6226rem + 0.566vw, 1.125rem);
font-weight: 300;
margin-top: 16px;
}
.fund-flow__step:nth-child(odd):after,
.fund-flow__step:nth-child(even):after {
content: '';
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 2px;
}
.fund-flow__step:nth-child(odd):after {
background: linear-gradient(to right, transparent, white 100%);
}
.fund-flow__step:nth-child(even):after {
background: linear-gradient(to left, transparent, white 100%);
}
.fund-flow__steps::before,
.fund-flow__steps::after,
.fund-flow__step:nth-child(odd):after,
.fund-flow__step:nth-child(even):after {
opacity: 0.6;
}
.platform-features__inner {
position: relative;
padding-bottom: 150px;
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 40px;
grid-template-areas:
"title title"
"company company"
"fund patron";
}
@media (max-width: 768px) {
.platform-features__inner {
grid-template-columns: 1fr;
grid-template-areas:
"title "
"company"
"fund"
"patron";
}
}
.platform-features__title {
grid-area: title;
}
@media (max-width: 768px) {
.platform-features__title {
text-align: center;
}
}
.company-features {
grid-area: company;
display: grid;
grid-template-columns: 1fr 2fr;
grid-template-areas:
"icon list"
"c-title list";
}
@media (max-width: 768px) {
.company-features {
grid-template-areas:
"c-title icon"
"list list";
}
}
.company-features .features__icon {
grid-area: icon;
}
@media (max-width: 768px) {
.company-features .features__icon {
justify-self: end;
}
}
.company-features .features__title {
grid-area: c-title;
align-self: end;
}
.company-features .features__list {
grid-area: list;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 1rem;
}
@media (max-width: 768px) {
.company-features .features__list {
grid-template-columns: 1fr;
}
}
.fund-features {
grid-area: fund;
}
.patron-features {
grid-area: patron;
}
.fund-features,
.patron-features {
display: grid;
grid-template-columns: 1fr 60px;
}
.fund-features {
grid-template-areas:
"f-title icon"
"list list";
}
.patron-features {
grid-template-areas:
"p-title icon"
"list list";
}
.fund-features .features__icon,
.patron-features .features__icon {
grid-area: icon;
}
.fund-features .features__title {
grid-area: f-title;
}
.patron-features .features__title {
grid-area: p-title;
}
.fund-features .features__list,
.patron-features .features__list {
grid-area: list;
}
.features {
--features-padding: clamp(3rem, 2.5755rem + 1.8868vw, 4.25rem);
background: radial-gradient(225.04% 123.48% at 9% 100%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
box-shadow: 0px 34.2857px 285.714px rgba(0, 0, 0, 0.11);
backdrop-filter: blur(27px);
border-radius: 40px;
padding: var(--features-padding);
gap: 25px;
}
@media (max-width: 768px) {
.features {
max-width: 360px;
margin: 0 auto;
}
}
.features__icon {
width: 60px;
aspect-ratio: 1;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
}
.features__icon svg {
display: block;
margin: auto;
}
.company-features__icon {
background: var(--color-red);
}
.fund-features__icon {
background: rgba(var(--color-blue-rgb), 0.4);
}
.patron-features__icon {
background: rgba(var(--color-green-rgb), 0.4);
}
.fund-features__icon,
.patron-features__icon {
justify-self: end;
}
.features__title {
font-size: clamp(1.125rem, 0.9764rem + 0.6604vw, 1.5625rem);
font-weight: 400;
color: var(--color-platform-features-title);
}
.features__title strong {
display: inline-block;
font-weight: 700;
color: var(--color-platform-features-title-strong);
}
.features__list {
color: var(--color-platform-features-title);
font-weight: 300;
list-style-type: disc;
}
.features__list li {
margin-top: 1rem;
padding-left: 16px;
margin-left: 20px;
} .company-features .features__list li::marker {
color: var(--color-red);
} .fund-features .features__list li::marker {
color: rgba(var(--color-blue-rgb), 0.4);
} .patron-features .features__list li::marker {
color: rgba(var(--color-green-rgb), 0.4);
}
.platform-features__inner .blog__glow {
bottom: -30%;
filter: blur(8.5rem);
z-index: -1;
}
@media (max-width: 768px) {
.platform-features__inner .blog__glow {
bottom: -10%;
filter: blur(7rem);
}
}
@media (max-width: 668px) {
.platform-features__inner .blog__glow {
bottom: -5%;
filter: blur(7rem);
}
}
.faq__inner {
position: relative;
}
.faq__title em {
color: var(--color-red);
}
.faq__content {
margin-top: 55px;
display: flex;
flex-direction: column;
gap: 10px;
}
.faq__item {
width: 100%;
max-width: 760px;
height: auto;
background: radial-gradient(225.04% 123.48% at 9% 200%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
box-shadow: 0px 34.2857px 285.714px rgba(0, 0, 0, 0.11);
backdrop-filter: blur(27px);
border-radius: 20px;
overflow: hidden;
}
.faq__item .faq__item-heading {
height: 110px;
background: radial-gradient(225.04% 123.48% at 9% 200%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
box-shadow: 0px 34.2857px 285.714px rgba(0, 0, 0, 0.11);
backdrop-filter: blur(27px);
border-radius: 20px;
display: flex;
align-items: center;
justify-content: space-between;
}
.faq__item.is-open {
background: radial-gradient(225.04% 123.48% at 9% 100%, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
}
.faq__item-heading,
.faq__item-answer {
padding-block: 30px;
padding-inline: clamp(1.375rem, 0.7807rem + 2.6415vw, 3.125rem);
}
.faq__item-icon {
--iconSize: clamp(1.375rem, 0.7807rem + 2.6415vw, 3.125rem);
width: var(--iconSize);
height: var(--iconSize);
background: rgba(17, 72, 255, 0.4);
border: 1.24906px solid rgba(17, 72, 255, 0.2);
backdrop-filter: blur(6.24528px);
border-radius: clamp(0.5rem, 0.2453rem + 1.1321vw, 1.25rem);
transition: transform 0.4s ease, background-color 0.4s ease;
display: flex;
align-items: center;
justify-content: center;
}
html[data-theme-style="dark"] .faq__item-icon.is-open {
background: #424242;
border: #424242;
}
html[data-theme-style="light"] .faq__item-icon.is-open {
background: #F0F0F0;
border: #F0F0F0;
}
html[data-theme-style="light"] .faq__item-icon.is-open svg path {
stroke: #424242;
}
html[data-theme-style="light"] .faq__item-icon svg path {
stroke: var(--color-white);
}
.faq__item-icon svg {
max-width: 30%;
display: block;
margin: 0 auto;
}
.faq__item-heading {
cursor: pointer;
}
.faq__item-answer {
max-height: 0;
overflow: hidden;
padding-top: 0;
padding-bottom: 0;
transition: max-height 0.4s ease, padding-top 0.4s ease, padding-bottom 0.4s ease;
}
.faq__item.is-open .faq__item-answer {
max-height: 1000px;
padding-top: 30px;
padding-bottom: 30px;
} .hero {
position: relative;
margin-top: calc(-2 * var(--padding-header) - var(--height-header));
padding-top: calc(7 * var(--padding-header) + var(--height-header));
}
.hero__inner {
display: flex;
flex-direction: column;
align-items: center;
gap: 1rem;
position: relative;
}
.hero__title {
line-height: 1.2;
text-align: center;
max-width: 62%;
color: var(--color-hero-title);
margin-top: clamp(2rem, -0.25rem + 9.2307692308vw, 5.75rem);
}
@media (max-width: 768px) {
.hero__title {
max-width: 70%;
}
}
@media (max-width: 425px) {
.hero__title {
max-width: 80%;
}
}
.hero__title p {
display: inline;
}
.hero__title p:first-child em {
color: var(--color-blue);
}
.hero__title p:last-child em {
color: var(--color-red);
}
.hero__description {
max-width: 27.5rem;
text-align: center;
color: var(--color-hero-description);
font-weight: 300;
margin-bottom: 3.25rem;
font-size: clamp(0.875rem, 0.575rem + 1.2307692308vw, 1.375rem);
}
.hero__buttons {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 1rem;
}
.hero__button {
padding-block: clamp(1rem, -0.4117647059rem + 2.9411764706vw, 1.5rem);
padding-inline: 12px;
border-radius: 1.25rem;
border: 0.0625rem solid var(--color-gray);
color: var(--color-gray);
min-width: 18.75rem;
height: 4.375rem;
font-size: 0.875rem;
text-transform: uppercase;
transition-duration: var(--transition-duration);
}
.hero__button .icon svg {
fill: var(--color-gray-76);
width: 50%;
}
@media (any-hover: hover) {
.hero__button:hover {
opacity: 1;
}
}
@media (any-hover: none) {
.hero__button:active {
opacity: 1;
}
}
.hero__button--blue {
background: var(--color-blue-gradient);
color: var(--color-white);
border: none;
}
.hero__button--blue .icon svg path {
fill: #fff;
} .hero__decorations {
position: absolute;
top: 0;
width: 100%;
height: 1000px;
z-index: -1;
}
.hero__decorations::before,
.hero__decorations::after {
content: "";
position: absolute;
inset: 0;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 100%;
height: 100%;
z-index: -1;
mask: linear-gradient(to bottom, black 0%, #00000059 50%, transparent 92%);
}
.hero__decorations::before {
background-image: url(//yoof.org/wp-content/themes/yoof/assets/images/hero/floodlights.png);
filter: blur(64px);
background-repeat: repeat;
opacity: 0.4;
}
.hero__decorations::after {
--bg-width: 2310px;
--bg-height: 1644px;
background-image: url(//yoof.org/wp-content/themes/yoof/assets/images/hero/grid.png);
background-size: var(--bg-width) var(--bg-height);
background-position: center -80%;
opacity: 0.2;
}
@media (max-width: 768px) {
.hero__decorations::after {
background-size: calc(var(--bg-width)/2) calc(var(--bg-height)/2);
}
}
.hero__glow {
position: absolute;
width: clamp(15.625rem, 8.7052rem + 30.7547vw, 36rem);
aspect-ratio: 1;
border-radius: 50%;
filter: blur(120px);
scale: 1;
}
@media (min-width: 1024px) {
.hero__glow {
scale: 1.1;
}
}
.hero__glow.hero__glow--green,
.hero__glow.hero__glow--blue,
.hero__glow.hero__glow--red,
.hero__glow.hero__glow--orange {
z-index: -2;
}
.hero__glow.hero__glow--green {
background: var(--color-green);
left: -60%;
top: 20%;
}
.hero__glow.hero__glow--blue {
background: var(--color-blue);
top: -40%;
left: -50%;
}
.hero__glow.hero__glow--red {
background: var(--color-red);
top: -40%;
right: -50%;
}
.hero__glow.hero__glow--orange {
background: var(--color-orange);
right: -60%;
top: 20%;
}
.hero__glow.hero__glow--page-bg {
background: var(--color-page-bg);
top: 50%;
left: 50%;
transform: translate(-50%, -50%) scale(1);
filter: blur(19.1px);
z-index: -1;
aspect-ratio: 1.3 / 2;
border-radius: 50%;
}
@media (max-width: 1024px) {
.hero__glow {
filter: blur(80px);
}
.hero__glow.hero__glow--green {
left: -50%;
top: 20%;
}
.hero__glow.hero__glow--blue {
top: -40%;
left: -40%;
}
.hero__glow.hero__glow--red {
top: -40%;
right: -40%;
}
.hero__glow.hero__glow--orange {
right: -50%;
top: 20%;
}
}
@media (max-width: 768px) {
.hero__glow.hero__glow--green {
top: 20%;
left: -40%;
}
.hero__glow.hero__glow--blue {
top: -40%;
left: -30%;
}
.hero__glow.hero__glow--red {
top: -40%;
right: -30%;
}
.hero__glow.hero__glow--orange {
top: 20%;
right: -40%;
}
.hero__glow.hero__glow--page-bg {
transform: translate(-50%, -50%) scale(1.5);
}
}
@media (max-width: 570px) {
.hero__glow.hero__glow--green {
top: 20%;
left: -30%;
}
.hero__glow.hero__glow--blue {
top: -40%;
left: -20%;
}
.hero__glow.hero__glow--red {
top: -40%;
right: -20%;
}
.hero__glow.hero__glow--orange {
top: 20%;
right: -30%;
}
.hero__glow.hero__glow--page-bg {
transform: translate(-50%, -50%) scale(2);
}
} .hero__title--platform {
font-size: clamp(4rem, 3.2358rem + 3.3962vw, 6.25rem);
max-width: 82%;
}
.hero__title--platform em {
color: var(--color-blue) !important;
}
.hero__features {
display: grid;
grid-template-columns: repeat(3, 1fr);
margin-bottom: 60px;
}
@media (max-width: 768px) {
.hero__features {
margin-block: 50px;
}
}
.hero__feature {
display: flex;
align-items: center;
gap: 20px;
position: relative;
padding: 2rem;
}
.hero__feature-icon,
.hero__feature-text {
position: relative;
z-index: 1;
}
@media (max-width: 440px) {
.hero__features {
grid-template-columns: repeat(2, 1fr);
margin-bottom: 20px;
}
}
.hero__feature:nth-child(1) span svg path,
.hero__feature:nth-child(4) span svg path {
fill: var(--color-blue);
}
.hero__feature:nth-child(2) span svg path,
.hero__feature:nth-child(5) span svg path {
fill: var(--color-green);
}
.hero__feature:nth-child(3) span svg path,
.hero__feature:nth-child(6) span svg path {
fill: var(--color-orange);
}
.hero__feature-icon {
max-width: 20px;
min-width: 14px;
height: auto;
}
.hero__feature-text {
font-size: clamp(0.75rem, 0.6226rem + 0.566vw, 1.125rem);
font-weight: 300;
}
.hero__feature:nth-child(1):before {
content: "";
position: absolute;
right: 0;
top: 0;
width: 2px;
height: 100%;
background: linear-gradient(to bottom, transparent 0%, #C2C2C21A 100%);
}
.hero__feature:nth-child(4):before {
content: "";
position: absolute;
right: 0;
top: 0;
width: 2px;
height: 100%;
background: linear-gradient(to top, transparent 0%, #C2C2C21A 100%);
}
@media (max-width: 768px) {
.hero__feature:nth-child(4):before {
display: none;
}
}
@media (max-width: 768px) {
.hero__feature:nth-child(5):before {
content: "";
position: absolute;
right: 0;
top: 0;
width: 2px;
height: 100%;
background: linear-gradient(to top, transparent 0%, #C2C2C21A 100%);
}
}
.hero__feature:nth-child(3):before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 2px;
height: 100%;
background: linear-gradient(to bottom, transparent 0%, #C2C2C21A 100%);
}
@media (max-width: 768px) {
.hero__feature:nth-child(3):before {
right: 0;
left: auto;
background: linear-gradient(to right, #C2C2C21A 0%, #C2C2C21A 100%);
}
}
.hero__feature:nth-child(6):before {
content: "";
position: absolute;
left: 0;
top: 0;
width: 2px;
height: 100%;
background: linear-gradient(to top, transparent 0%, #C2C2C21A 100%);
}
@media (max-width: 768px) {
.hero__feature:nth-child(6):before {
display: none;
}
} .hero__feature:nth-child(1):after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2px;
background: linear-gradient(to right, transparent 0%, #C2C2C21A 100%);
}
.hero__feature:nth-child(2):after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2px;
background: linear-gradient(to right, #C2C2C21A 0%, #C2C2C21A 100%);
}
@media (max-width: 768px) {
.hero__feature:nth-child(2):after {
background: linear-gradient(to left, transparent 0%, #C2C2C21A 100%);
}
}
.hero__feature:nth-child(3):after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2px;
background: linear-gradient(to left, transparent 0%, #C2C2C21A 100%);
}
@media (max-width: 768px) {
.hero__feature:nth-child(3):after {
background: linear-gradient(to right, transparent 0%, #C2C2C21A 100%);
}
}
@media (max-width: 768px) {
.hero__feature:nth-child(4):after {
content: "";
position: absolute;
left: 0;
bottom: 0;
width: 100%;
height: 2px;
background: linear-gradient(to left, transparent 0%, #C2C2C21A 100%);
}
}
@media (max-width: 768px) {
.hero__features {
grid-template-columns: repeat(2, 1fr);
}
}
.platform {
margin-bottom: 150px;
margin-top: 100px;
}
@media (max-width: 768px) {
.platform {
margin-bottom: 100px;
}
}
.platform__inner {
--gap-platform: 20px;
display: flex;
align-items: center;
justify-content: space-between;
gap: var(--gap-platform);
}
@media (max-width: 768px) {
.platform__inner {
flex-direction: column;
gap: calc(var(--gap-platform) * 3);
}
}
.platform__title {
line-height: 1.2;
font-family: var(--font-family-alt);
}
.platform__title strong {
font-style: normal;
}
.platform__title strong,
.platform__title em {
color: var(--color-blue);
display: block;
}
.platform__description {
margin-top: 20px;
}
.platform__text {
max-width: 500px;
}
@media (max-width: 768px) {
.platform__text {
text-align: center;
}
}
.platform__text,
.platform__decoration {
width: calc(100% - var(--gap-platform) / 2);
}
.platform__decoration,
.platform__circle--outer,
.platform__circle--inner {
display: flex;
justify-content: center;
align-items: center;
}
.platform__buttons {
margin-top: 40px;
display: flex;
flex-direction: column;
align-items: stretch;
gap: 1rem;
max-width: 330px;
}
@media (max-width: 768px) {
.platform__buttons {
margin-inline: auto;
}
}
.platform__decoration {
position: relative;
}
.platform__circle {
position: relative;
transform: translate(0%, 0%);
display: flex;
justify-content: center;
align-items: center;
width: 100%;
max-width: 326px;
z-index: -1;
box-shadow: 0 0 60px #00000038;
border-radius: 50%;
}
@media (max-width: 768px) {
.platform__circle {
max-width: 212px;
}
}
.platform__circle::before {
position: absolute;
transform: translate(-77%, -50%);
width: 100%;
height: 100%;
}
html[data-theme-style="dark"] .platform__circle::before {
content: url(//yoof.org/wp-content/themes/yoof/assets/images/platform/platform-bg-dark.png);
}
html[data-theme-style="light"] .platform__circle::before {
content: url(//yoof.org/wp-content/themes/yoof/assets/images/platform/platform-bg-light.png);
}
@media (max-width: 768px) {
.platform__circle::before {
transform: translate(-137%, -90%);
scale: 0.6;
}
}
.platform__circle--outer {
display: flex;
justify-content: center;
align-items: center;
width: 100%;
aspect-ratio: 1;
border-radius: 50%;
overflow: hidden;
position: relative;
}
html[data-theme-style="dark"] .platform__circle--outer {
background: linear-gradient(0deg, #020202, #020202), linear-gradient(152.34deg, #7E9CFF 9.07%, #1148FF 86.46%);
box-shadow: inset 20.1083px -13.8245px 32.5503px rgba(88, 88, 88, 0.25);
}
html[data-theme-style="light"] .platform__circle--outer {
background: linear-gradient(0deg, #FFFFFF, #FFFFFF), linear-gradient(152.34deg, #7E9CFF 9.07%, #1148FF 86.46%);
box-shadow: inset -16.338px 6.28385px 32.5503px rgba(255, 255, 255, 0.25), inset 20.1083px -13.8245px 32.5503px rgba(255, 255, 255, 0.25);
}
.platform__circle--outer::after,
.platform__circle--outer::before {
content: "";
position: absolute;
width: 50%;
height: 50%;
filter: blur(25px);
border-radius: 50%;
inset: 0;
top: 30%;
left: 25%;
animation: circle 20s linear infinite;
}
@keyframes circle {
from 0% {
rotate: 0deg;
}
to {
rotate: 360deg;
}
}
.platform__circle--outer::after {
background-color: var(--color-blue);
transform: translate(0%, -100%);
}
.platform__circle--outer::before {
background-color: var(--color-green);
transform: translate(0%, 100%);
}
.platform__circle--inner {
width: 90%;
aspect-ratio: 1;
border-radius: 50%;
background: linear-gradient(156.54deg, #050505 10.48%, #2D2D2D 87.19%);
box-shadow: inset -19px -32px 44px rgba(0, 0, 0, 0.46), inset 59px 42px 100px rgba(64, 64, 64, 0.52);
z-index: 1;
}
html[data-theme-style="dark"] .platform__circle--inner {
background: linear-gradient(156.54deg, #050505 10.48%, #2D2D2D 87.19%);
box-shadow: inset -19px -32px 44px rgba(0, 0, 0, 0.46), inset 59px 42px 100px rgba(64, 64, 64, 0.52);
}
html[data-theme-style="light"] .platform__circle--inner {
background: linear-gradient(156.54deg, #FFFFFF 10.48%, #DEDEDE 87.19%);
box-shadow: inset -6px -5px 44px rgba(0, 0, 0, 0.06), inset 59px 42px 50px rgba(255, 255, 255, 0.52);
}
.platform__circle--inner .logo {
width: 50%;
}
.about__header {
text-align: center;
}
.about__title em {
color: var(--color-blue);
}
.about__body {
margin-top: 6.25rem;
display: flex;
flex-direction: column;
gap: 15.625rem;
position: relative;
}
.about__card {
position: relative;
width: 50%;
padding: clamp(0.875rem, -2.35rem + 13.2307692308vw, 6.25rem);
display: flex;
flex-direction: column;
align-items: center;
gap: 0.625rem;
background-color: var(--color-about-card-bg);
border-radius: var(--border-radius-xl);
-webkit-backdrop-filter: blur(1.25rem);
backdrop-filter: blur(1.25rem);
}
@media (max-width: 768px) {
.about__card {
width: 60%;
}
}
.about__card:after {
content: "";
position: absolute;
top: 50%;
left: 0%;
transform: translate(-50%, -50%) scale(1.1);
width: 40%;
aspect-ratio: 1;
border-radius: var(--border-radius-circle);
z-index: -1;
opacity: 0.6;
filter: blur(7rem);
}
@media (max-width: 768px) {
.about__card:after {
opacity: 1;
filter: blur(6rem);
}
}
.about__card:nth-child(odd):after {
left: 0%;
}
.about__card:nth-child(even):after {
left: 100%;
}
.about__card:nth-child(4n + 1):after {
background-color: var(--color-blue);
}
.about__card:nth-child(4n + 2):after {
background-color: var(--color-red);
}
.about__card:nth-child(4n + 3):after {
background-color: var(--color-orange);
}
.about__card:nth-child(4n + 4):after {
background-color: var(--color-green);
}
.about__card-icon {
margin-bottom: 2.25rem;
}
.about__card-icon svg {
max-width: 3.25rem;
width: 100%;
}
.about__card-icon svg path {
fill: var(--color-white);
}
.about__card-text {
text-align: center;
color: var(--color-page-text) !important;
}
.about__card:nth-child(odd) {
align-self: flex-end;
}
.about__card .about__card-icon svg {
scale: 1.5;
}
.about__card:nth-child(1) .about__card-icon svg path {
fill: var(--color-blue);
}
.about__card:nth-child(1) .about__card-icon svg {
opacity: 1;
}
.about__card:nth-child(1) .about__card-title {
color: var(--color-blue);
}
.about__card:nth-child(2) .about__card-icon svg path {
fill: var(--color-red);
}
.about__card:nth-child(2) .about__card-title {
color: var(--color-red);
}
.about__card:nth-child(3) .about__card-icon svg path {
fill: var(--color-orange);
}
.about__card:nth-child(3) .about__card-title {
color: var(--color-orange);
}
.about__card:nth-child(4) .about__card-icon svg path {
fill: var(--color-green);
}
.about__card:nth-child(4) .about__card-title {
color: var(--color-green);
}
.about__card:nth-child(5) .about__card-icon svg path {
fill: var(--color-blue);
}
.about__card:nth-child(5) .about__card-title {
color: var(--color-blue);
}
.sprite-animation {
background-image: url(//yoof.org/wp-content/themes/yoof/assets/images/cube.webp);
background-position: 0% 0%;
background-repeat: no-repeat;
background-size: 1600% 1600%;
position: absolute;
width: 50%;
aspect-ratio: 1;
scale: 1;
z-index: -1;
transform: translate3d(0, 0, 0);
will-change: transform, background-position;
backface-visibility: hidden;
}
@media (max-width: 768px) {
.sprite-animation {
width: 60%;
scale: 0.95;
}
}
@media (max-width: 500px) {
.sprite-animation {
width: 60%;
scale: 1;
}
}
.initiatives {
overflow: hidden;
}
.initiatives__header {
text-align: center;
position: relative;
z-index: 10;
}
.initiatives__title {
color: var(--color-white);
}
.initiatives__body {
position: relative;
margin-top: -10rem;
}
.initiatives-slider__track {
display: flex;
transition-duration: var(--transition-duration-slow);
}
.initiatives-slider__item {
position: relative;
width: 100%;
flex: 0 0 100%;
min-height: 25rem;
padding: 14.25rem 1.5rem 7rem;
display: flex;
justify-content: center;
transition-duration: var(--transition-duration-slow);
}
.initiatives-slider__item:nth-child(4n + 1) {
background: linear-gradient(to right, var(--color-red), var(--color-orange));
}
.initiatives-slider__item:nth-child(4n + 1) .initiatives-slider__card {
background: linear-gradient(to bottom, var(--color-red), var(--color-orange));
}
.initiatives-slider__item:nth-child(4n + 2) {
background: linear-gradient(
to right,
var(--color-orange),
var(--color-green)
);
}
.initiatives-slider__item:nth-child(4n + 2) .initiatives-slider__card {
background: linear-gradient(
to bottom,
var(--color-orange),
var(--color-green)
);
}
.initiatives-slider__item:nth-child(4n + 3) {
background: linear-gradient(to right, var(--color-green), var(--color-blue));
}
.initiatives-slider__item:nth-child(4n + 3) .initiatives-slider__card {
background: linear-gradient(to bottom, var(--color-green), var(--color-blue));
}
.initiatives-slider__item:nth-child(4n + 4) {
background: linear-gradient(to right, var(--color-blue), var(--color-red));
}
.initiatives-slider__item:nth-child(4n + 4) .initiatives-slider__card {
background: linear-gradient(to bottom, var(--color-blue), var(--color-red));
}
.initiatives-slider__card {
max-width: 50rem;
width: 100%;
border: solid white;
border-width: clamp(0.25rem, -0.05rem + 1.2307692308vw, 0.75rem);
border-radius: 1.5625rem;
padding: clamp(1.75rem, -0.5rem + 9.2307692308vw, 5.5rem);
background: url(//yoof.org/wp-content/themes/yoof/assets/images/inititives-card-bg.png)
no-repeat center/cover;
display: flex;
flex-direction: column;
justify-content: center;
gap: 0.75rem;
color: var(--color-white);
cursor: pointer;
}
@media (max-width: 768px) {
.initiatives-slider__card {
height: max-content;
}
}
.initiatives-slider__card-heading {
display: flex;
align-items: center;
justify-content: space-between;
width: 100%;
gap: 0.75rem;
line-height: 1;
}
.initiatives-slider__card-heading svg {
width: 8.5rem;
height: 1.75rem;
fill: var(--color-white);
}
.initiatives-slider__card-title {
margin-top: 1rem;
font-size: clamp(1.25rem, 0.9104rem + 1.5094vw, 2.25rem);
}
.initiatives-slider__card-goal {
margin-top: 1rem;
display: flex;
align-items: center;
gap: 2.5rem;
}
@media (max-width: 768px) {
.initiatives-slider__card-goal {
gap: 1.5rem;
}
}
@media (max-width: 425px) {
.initiatives-slider__card-goal {
gap: 1rem;
}
}
.initiatives-slider__card-goal-icon {
min-width: 70px;
height: 70px;
padding: 1rem;
display: flex;
justify-content: center;
align-items: center;
border-radius: 20px;
box-shadow: 0px -1px 2px var(--color-white);
}
.initiatives-slider__card-goal-icon svg {
width: 26px;
height: 26px;
scale: 1.5;
}
.initiatives-slider__card-goal-icon svg path {
fill: var(--color-white);
}
.initiatives-slider__pagination {
position: relative;
z-index: 10;
margin: -5rem auto 0;
display: flex;
justify-content: center;
gap: 0.25rem;
}
.initiatives-slider__pagination-button {
width: 2.125rem;
height: 2.75rem;
display: flex;
justify-content: center;
align-items: center;
background: transparent;
border: none;
padding: 0;
}
.initiatives-slider__pagination-button span {
display: inline-block;
height: 0.25rem;
width: 100%;
border-radius: 3.125rem;
background-color: var(--color-white);
opacity: 0.3;
}
.initiatives-slider__pagination-button.is-active span {
opacity: 1;
}
.peoples__body {
display: flex;
gap: 2.5rem;
margin-top: 3.75rem;
height: clamp(20.25rem, 6.9rem + 54.7692307692vw, 42.5rem);
}
@media (max-width: 768px) {
.peoples__body {
flex-direction: column;
margin-top: 2.5rem;
height: 100%;
}
}
.peoples-quote__main {
--padding-quote-wrapper: 1.25rem;
--border-radius-card: var(--border-radius-xl);
width: 80%;
background-color: var(--color-white);
display: flex;
align-items: center;
gap: clamp(1.75rem, 0.55rem + 4.9230769231vw, 3.75rem);
padding: clamp(0.75rem, 0.45rem + 1.2307692308vw, 1.25rem);
border-radius: calc(var(--border-radius-xl) + 1.25rem);
border-radius: calc(var(--border-radius-xl) + var(--padding-quote-wrapper));
}
@media (max-width: 768px) {
.peoples-quote__main {
width: 100%;
--padding-quote-wrapper: 0.75rem;
--border-radius-card: var(--border-radius-m);
}
}
.peoples-quote__main-text {
width: 40%;
font-size: clamp(0.875rem, 0.275rem + 2.4615384615vw, 1.875rem);
font-family: var(--font-family-alt);
font-style: italic;
font-weight: 400;
line-height: 1.3;
color: var(--color-gray-61);
}
.peoples-quote__main-text strong{
font-weight: 400;
}
.peoples-quote__main-text p:first-child strong {
color: var(--color-red);
}
.peoples-quote__main-text p:last-child strong {
color: var(--color-blue);
}
.peoples-quote__card {
position: relative;
width: 60%;
height: clamp(19rem, 6.625rem + 50.7692307692vw, 39.625rem);
border-radius: var(--border-radius-xl);
overflow: hidden;
background: linear-gradient(
to bottom,
var(--color-blue),
var(--color-green),
var(--color-blue)
);
display: flex;
flex-direction: column;
justify-content: end;
gap: 0.25rem;
padding: clamp(1.75rem, 0.55rem + 4.9230769231vw, 3.75rem);
}
@media (max-width: 768px) {
.peoples-quote__card {
min-width: 60%;
}
}
.peoples-quote__card-title,
.peoples-quote__card-text {
position: relative;
z-index: 10;
font-size: clamp(0.875rem, 0.575rem + 1.2307692308vw, 1.375rem);
}
.peoples-quote__card-image {
position: absolute;
height: 110%;
width: 100%;
-o-object-fit: cover;
object-fit: cover;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
@media (max-width: 768px) {
.peoples-quote__card-image {
height: 130%;
}
}
.peoples-quote__card:before {
content: "";
background-color: var(--color-blue);
position: absolute;
left: 5%;
bottom: -20%;
width: 140%;
height: 45%;
rotate: 358deg;
border-radius: 50%;
filter: blur(3.75rem);
opacity: 0.6;
pointer-events: none;
z-index: 5;
}
.peoples-quote__card:after {
content: "";
background-color: var(--color-green);
position: absolute;
left: 70%;
bottom: 30%;
width: 70%;
height: 25%;
rotate: 57deg;
border-radius: 50%;
filter: blur(1.5rem);
opacity: 0.7;
pointer-events: none;
z-index: 5;
}
.peoples-slider {
min-width: 10rem;
display: flex;
flex-direction: column;
gap: clamp(0.75rem, 0.6rem + 0.6153846154vw, 1rem);
overflow-y: scroll;
scroll-snap-type: y mandatory;
-webkit-mask-image: linear-gradient(
to bottom,
transparent 0%,
black 20%,
black 80%,
transparent 100%
);
mask-image: linear-gradient(
to bottom,
transparent 0%,
black 20%,
black 80%,
transparent 100%
);
scrollbar-width: none;
-ms-overflow-style: none;
}
.peoples-slider::-webkit-scrollbar {
display: none;
}
@media (max-width: 768px) {
.peoples-slider {
overflow-x: scroll;
width: 100%;
flex-direction: row;
height: 100%;
scroll-snap-type: x mandatory;
-webkit-mask-image: linear-gradient(
to right,
transparent 0%,
black 10%,
black 90%,
transparent 100%
);
mask-image: linear-gradient(
to right,
transparent 0%,
black 10%,
black 90%,
transparent 100%
);
scrollbar-width: none;
-ms-overflow-style: none;
}
.peoples-slider::-webkit-scrollbar {
display: none;
}
}
.peoples-slider__card {
scroll-snap-align: center;
position: relative;
width: 10rem;
min-height: 11.25rem;
border-radius: var(--border-radius-l);
overflow: hidden;
background: linear-gradient(
to bottom,
var(--color-blue),
var(--color-green),
var(--color-blue)
);
display: flex;
flex-direction: column;
justify-content: end;
gap: 0.25rem;
padding: 1.25rem;
cursor: pointer;
}
@media (max-width: 768px) {
.peoples-slider__card {
min-width: 10rem;
}
}
.peoples-slider__card:before {
content: "";
position: absolute;
left: -1.875rem;
bottom: -1.9375rem;
width: 120%;
height: 55%;
rotate: 8deg;
border-radius: 50%;
filter: blur(1.25rem);
opacity: 0.6;
pointer-events: none;
z-index: 5;
}
.peoples-slider__card:nth-child(4n + 1):before {
background-color: var(--color-orange);
}
.peoples-slider__card:nth-child(4n + 2):before {
background-color: var(--color-green);
}
.peoples-slider__card:nth-child(4n + 3):before {
background-color: var(--color-blue);
}
.peoples-slider__card:nth-child(4n + 4):before {
background-color: var(--color-red);
}
.peoples-slider__card-title,
.peoples-slider__card-text {
position: relative;
z-index: 10;
line-height: 1.2;
}
.peoples-slider__card-title {
max-width: 70%;
font-size: clamp(0.625rem, 0.475rem + 0.6153846154vw, 0.875rem);
}
.peoples-slider__card-text {
font-size: clamp(0.5rem, 0.425rem + 0.3076923077vw, 0.625rem);
}
.peoples-slider__card-image {
position: absolute;
height: 100%;
width: 100%;
object-position: top center;
-o-object-fit: cover;
object-fit: cover;
top: 0;
right: 0;
bottom: 0;
left: 0;
}
@media (max-width: 768px) {
.peoples-slider__card-image {
height: 140%;
}
}
.payment {
position: relative;
padding-top: 18.75rem;
padding-bottom: 7.5rem;
}
.payment__inner {
max-width: 80rem;
}
.payment__header {
display: flex;
justify-content: space-between;
align-items: center;
gap: 1.875rem;
}
@media (max-width: 768px) {
.payment__header {
flex-direction: column;
}
}
.payment__header-title {
width: 40%;
display: flex;
flex-direction: column;
gap: clamp(0.75rem, 0.6rem + 0.6153846154vw, 1rem);
color: var(--color-white);
}
.payment__header-title .payment__title {
font-size: clamp(2rem, 0.8rem + 4.9230769231vw, 4rem);
line-height: 1.1;
}
.payment__header-title .payment__description {
font-size: clamp(0.875rem, 0.65rem + 0.9230769231vw, 1.25rem);
font-weight: 300;
}
@media (max-width: 768px) {
.payment__header-title {
width: 100%;
}
.payment__header-title .payment__title,
.payment__header-title .payment__description {
text-align: center;
}
}
.payment__form {
width: 50%;
max-width: 28.75rem;
display: flex;
flex-direction: column;
gap: clamp(1.25rem, 1.1rem + 0.6153846154vw, 1.5rem);
}
@media (max-width: 768px) {
.payment__form {
width: 100%;
max-width: 20rem;
}
}
.payment__form-header {
display: flex;
justify-content: space-between;
align-items: center;
-moz-column-gap: 1rem;
column-gap: 1rem;
}
.payment__form-buttons {
display: flex;
gap: clamp(0.75rem, 0.525rem + 0.9230769231vw, 1.125rem);
}
.payment__form-button {
height: clamp(2.75rem, 2rem + 3.0769230769vw, 4rem);
background-color: transparent;
color: var(--color-white);
border: 0.0625rem solid var(--color-white);
border-radius: var(--border-radius-m);
font-size: clamp(0.75rem, 0.675rem + 0.3076923077vw, 0.875rem);
}
.payment__form-button--amount {
width: clamp(2.75rem, 2rem + 3.0769230769vw, 4rem);
height: clamp(2.75rem, 2rem + 3.0769230769vw, 4rem);
font-size: clamp(0.625rem, 0.55rem + 0.3076923077vw, 0.75rem);
border-radius: var(--border-radius);
}
.payment__form-button:hover,
.payment__form-button:active,
.payment__form-button:focus,
.payment__form-button--accent,
.payment__form-button.is-active {
background: var(--color-white);
color: var(--color-green-alt);
opacity: 1;
}
.payment__form-button .icon {
width: 1rem;
}
.payment__form-button .icon svg path {
fill: currentColor;
}
.payment__form-field .field__label {
position: absolute !important;
overflow: hidden !important;
width: 0.0625rem !important;
height: 0.0625rem !important;
margin: -0.0625rem !important;
padding: 0 !important;
white-space: nowrap !important;
border: 0 !important;
clip: rect(0 0 0 0) !important;
clip-path: inset(100%) !important;
}
.payment__form-field .field__control {
font-size: clamp(0.625rem, 0.55rem + 0.3076923077vw, 0.75rem);
height: clamp(2.75rem, 2rem + 3.0769230769vw, 4rem);
width: 100%;
background-color: transparent;
color: var(--color-white);
border: 0.0625rem solid var(--color-white);
border-radius: var(--border-radius-m);
}
.payment__form-field .field__control::-moz-placeholder {
color: var(--color-white);
font-weight: 400;
}
.payment__form-field .field__control::placeholder {
color: var(--color-white);
font-weight: 400;
}
.payment__form-field .field__control[type="number"] {
-webkit-appearance: none;
-moz-appearance: textfield;
appearance: none;
}
.payment__form-field .field__control[type="number"]::-webkit-outer-spin-button,
.payment__form-field .field__control[type="number"]::-webkit-inner-spin-button {
-webkit-appearance: none;
margin: 0;
}
.payment__form-field .field__control[type="number"]:focus,
.payment__form-field .field__control[type="number"]:active {
background: var(--color-white);
color: var(--color-green-alt);
}
.payment__form-body {
display: flex;
flex-direction: column;
gap: 0.625rem;
}
.payment__body {
padding-top: clamp(3.75rem, 2.25rem + 6.1538461538vw, 6.25rem);
display: flex;
flex-direction: column;
align-items: center;
gap: clamp(1.25rem, 0.875rem + 1.5384615385vw, 1.875rem);
}
.payment__card {
width: 100%;
padding: 1rem;
background: radial-gradient(
225.04% 123.48% at 9% 100%,
rgba(255, 255, 255, 0.27) 0%,
rgba(255, 255, 255, 0.03) 100%
);
box-shadow: 0 2.14286rem 17.85713rem #0000001c;
-webkit-backdrop-filter: blur(1.6875rem);
backdrop-filter: blur(1.6875rem);
border-radius: var(--border-radius-xl);
display: grid;
grid-template-columns: repeat(2, 1fr);
grid-row-gap: 0.5rem;
row-gap: 0.5rem;
grid-template-areas:
"image title"
"image text"
"image button";
}
.payment__card:nth-child(even) {
grid-template-areas:
"title image"
"text image"
"button image";
}
@media (max-width: 768px) {
.payment__card,
.payment__card:nth-child(even) {
align-items: center;
grid-template-columns: 1fr;
row-gap: 0.25rem;
grid-template-areas:
"image"
"title"
"text"
"button";
}
}
.payment__card-image {
grid-area: image;
width: 100%;
border-radius: var(--border-radius-xl);
overflow: hidden;
}
@media (max-width: 768px) {
.payment__card-image {
width: 100%;
border-radius: var(--border-radius-l);
}
}
.payment__card-image img {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
}
.payment__card .card__title {
grid-area: title;
align-self: end;
}
@media (max-width: 768px) {
.payment__card .card__title {
margin-top: 1.25rem;
}
}
.payment__card .card__text {
grid-area: text;
font-weight: 300;
max-width: 19.75rem;
}
@media (max-width: 768px) {
.payment__card .card__text {
max-width: 80%;
margin-bottom: 1.25rem;
}
}
.payment__card .card__title,
.payment__card .card__text,
.payment__card-button {
justify-self: center;
text-align: center;
}
.payment__card .card__title {
align-self: end;
}
.payment__card .card__text {
align-self: center;
}
.payment__card-button {
align-self: start;
}
.payment__card-button {
grid-area: button;
width: 50%;
height: min-content;
padding: 1rem 1rem;
border-radius: var(--border-radius-m);
display: flex;
text-align: center;
gap: 0;
border: none;
background-color: var(--color-white);
color: var(--color-blue);
font-size: clamp(0.75rem, 0.675rem + 0.3076923077vw, 0.875rem);
text-transform: uppercase;
font-weight: 600;
}
@media (max-width: 768px) {
.payment__card-button {
width: 60%;
}
}
.payment__card-button:hover {
opacity: 1;
gap: 0.5rem;
}
.payment__card-button .icon svg {
width: 50%;
}
.payment__glow {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
width: 100%;
height: 100%;
background: linear-gradient(
120deg,
var(--color-blue) 30%,
var(--color-green) 60%
);
-webkit-mask-image: linear-gradient(to top, black 75%, transparent 100%);
mask-image: linear-gradient(to top, black 75%, transparent 100%);
z-index: -1;
}
.partners {
background: var(--color-page-bg);
padding-block: 150px;
}
@media (max-width: 768px) {
.partners {
padding-block: 100px;
}
}
.partners__header {
display: flex;
justify-content: space-between;
gap: 1rem 3.125rem;
}
@media (max-width: 768px) {
.partners__header {
flex-direction: column;
align-items: center;
}
}
.partners__header-title em {
color: var(--color-blue);
}
.partners__header-description {
display: inline-flex;
justify-content: center;
align-items: center;
-moz-column-gap: 0.3em;
column-gap: 0.3em;
position: relative;
border: var(--border-partners-description);
border-radius: var(--border-radius-xs);
background: var(--color-partners-description);
color: var(--color-gray-91);
padding: 0.5rem 1.25rem;
display: flex;
gap: clamp(0.875rem, 0.65rem + 0.9230769231vw, 1.25rem);
font-size: clamp(0.75rem, 0.675rem + 0.3076923077vw, 0.875rem);
}
.partners__header-description:before {
content: "";
display: var(--description-before);
position: absolute;
right: 0;
bottom: 0;
width: 17.3125rem;
height: 2.5rem;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background: linear-gradient(268.93deg,
#ed304e 0%,
#f66647 50.23%,
#ff9b41 100%);
filter: blur(3.5625rem);
z-index: -1;
}
@media (max-width: 768px) {
.partners__header-description {
max-width: 20.625rem;
border-radius: var(--border-radius-xxs);
}
}
.partners__header-description .icon {
max-width: 0.875rem;
}
.partners__header-description .icon svg {
fill: var(--color-gray-91);
}
.partners__slider {
margin: 2.5rem auto 0;
width: 100%;
overflow: hidden;
position: relative;
cursor: grab;
-webkit-mask: linear-gradient(90deg,
transparent 0%,
black 10%,
black 90%,
transparent 100%);
mask: linear-gradient(90deg,
transparent 0%,
black 10%,
black 90%,
transparent 100%);
}
.partners__slider-track {
display: flex;
height: 6.25rem;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.partners__slider-item {
display: flex;
justify-content: center;
align-items: center;
flex-shrink: 0;
padding-left: 1rem;
padding-right: 1rem;
width: 20%;
}
@media (max-width: 768px) {
.partners__slider-item {
width: 25%;
}
}
@media (max-width: 540px) {
.partners__slider-item {
width: 33.3333333%;
}
}
@media (max-width: 425px) {
.partners__slider-item {
width: 50%;
}
}
.partners__slider-link {
display: inline-block;
height: 100%;
display: inline-flex;
justify-content: center;
align-items: center;
position: relative;
}
.partners__slider-link .icon {
--iconSize: 100%;
}
@media (max-width: 30rem) {
.partners__slider-link .icon {
--iconSize: 100%;
}
}
.partners__slider-link .icon svg {
overflow: visible;
scale: 0.8;
}
.partners__slider-link .icon use {
scale: 0.7;
}
html[data-theme-style="dark"] .partners__slider-item svg path[fill="#232323"],
html[data-theme-style="dark"] .partners__slider-item svg path[fill="#223322"],
html[data-theme-style="dark"] .partners__slider-item svg path[fill="#231F20"],
html[data-theme-style="dark"] .partners__slider-item svg path[fill="#1A1A1A"],
html[data-theme-style="dark"] .partners__slider-item svg path[fill="#3A3A3A"],
html[data-theme-style="dark"] .partners__slider-item svg path[fill="#222222"],
html[data-theme-style="dark"] .partners__slider-item svg path[fill="#000000"],
html[data-theme-style="dark"] .partners__slider-item svg path[fill="#1F0F00"],
html[data-theme-style="dark"] .partners__slider-item svg path[fill="#010101"],
html[data-theme-style="dark"] .partners__slider-item svg path[fill="black"],
html[data-theme-style="dark"] .partners__slider-item svg .st6 {
fill: white !important;
}
.blog {
margin-top: 6.25rem;
margin-bottom: 12.5rem;
}
@media (max-width: 768px) {
.blog {
margin-top: 0;
}
}
.blog__inner {
position: relative;
}
.blog__glow {
content: "";
display: var(--display-blog-glow);
position: absolute;
bottom: -70%;
width: 30%;
aspect-ratio: 1;
filter: blur(12.5rem);
}
.blog__glow--green {
left: 15%;
background: var(--color-green);
}
.blog__glow--blue {
background: var(--color-blue);
right: 15%;
}
.blog__header {
display: flex;
flex-direction: column;
align-items: center;
}
@media (max-width: 768px) {
.blog__header {
flex-direction: column;
align-items: center;
}
}
.blog__header-title em {
color: var(--color-red);
}
.blog__body {
display: flex;
gap: 2.5rem;
height: 25rem;
margin-top: 3.125rem;
}
@media (max-width: 768px) {
.blog__body {
flex-direction: column;
height: 100%;
}
}
.blog__featured-news,
.blog__news-list {
width: 50%;
}
.featured-news {
border-radius: var(--border-radius-xl);
padding: clamp(0.625rem, 0.4rem + 0.9230769231vw, 1rem);
background: var(--color-news-item-bg);
}
@media (max-width: 768px) {
.featured-news {
width: 100%;
height: clamp(15rem, 1.5rem + 55.3846153846vw, 37.5rem);
}
}
.featured-news__item {
height: 100%;
position: relative;
padding: clamp(2.25rem, 1.8rem + 1.8461538462vw, 3rem);
border-radius: calc(var(--border-radius-xl) - 0.625rem);
background: linear-gradient(var(--color-red), var(--color-orange));
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: end;
}
@media (max-width: 768px) {
.featured-news__item {
width: 100%;
}
}
.featured-news__meta,
.featured-news__title {
position: relative;
z-index: 10;
color: var(--color-white);
}
.featured-news__meta {
display: flex;
gap: clamp(0.875rem, 0.8rem + 0.3076923077vw, 1rem);
font-size: clamp(0.625rem, 0.55rem + 0.3076923077vw, 0.75rem);
}
.featured-news__meta-date {
opacity: 0.6;
}
.featured-news__title {
font-size: clamp(1.5rem, 1.275rem + 0.9230769231vw, 1.875rem);
margin-top: 1rem;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.1;
max-height: 2.8em;
}
.featured-news__thumb {
position: absolute;
top: 0;
right: 0;
bottom: 0;
left: 0;
-webkit-mask-image: linear-gradient(black 0%, transparent 100%);
mask-image: linear-gradient(black 0%, transparent 100%);
}
.featured-news__thumb img {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
}
.news-list {
padding: 1rem;
height: 100%;
display: flex;
flex-direction: column;
gap: clamp(1rem, 0.85rem + 0.6153846154vw, 1.25rem);
overflow-y: scroll;
scroll-snap-type: y mandatory;
-webkit-mask-image: linear-gradient(
transparent 0%,
black 5%,
black 95%,
transparent
);
mask-image: linear-gradient(transparent 0%, black 5%, black 95%, transparent);
scrollbar-width: none;
-ms-overflow-style: none;
}
@media (max-width: 768px) {
.news-list {
width: 100%;
height: 18.75rem;
}
}
.news-list::-webkit-scrollbar {
display: none;
}
.news-list__item {
scroll-snap-align: center;
height: clamp(6.25rem, 4.6rem + 6.7692307692vw, 9rem);
padding: clamp(1.25rem, 1.1rem + 0.6153846154vw, 1.5rem)
clamp(1.25rem, 0.65rem + 2.4615384615vw, 2.25rem);
background: var(--color-news-item-bg);
border-radius: var(--border-radius-xl);
display: grid;
grid-template-columns: min-content 1fr;
grid-row-gap: 0.5rem;
row-gap: 0.5rem;
grid-column-gap: 2rem;
-moz-column-gap: 2rem;
column-gap: 2rem;
grid-template-areas: "thumb meta" "thumb title";
box-shadow: 0 2.59036rem 6.25rem #0000000f;
}
@media (max-width: 768px) {
.news-list__item {
border-radius: var(--border-radius-m);
}
}
.news-list__item-meta {
display: flex;
gap: clamp(1.5rem, 0.9rem + 2.4615384615vw, 2.5rem);
align-self: end;
font-size: clamp(0.5rem, 0.425rem + 0.3076923077vw, 0.625rem);
font-weight: 300;
grid-area: meta;
}
.news-list__item-meta-category {
color: var(--color-news-list-item-category);
}
.news-list__item-title {
font-size: clamp(0.875rem, 0.725rem + 0.6153846154vw, 1.125rem);
font-weight: 600;
color: var(--color-news-list-item-title);
grid-area: title;
display: -webkit-box;
-webkit-line-clamp: 2;
-webkit-box-orient: vertical;
overflow: hidden;
text-overflow: ellipsis;
line-height: 1.4;
max-height: 2.8em;
}
.news-list__item-thumb {
-webkit-mask-image: linear-gradient(black 0%, transparent 150%);
mask-image: linear-gradient(black 0%, transparent 150%);
width: 100%;
height: 100%;
}
.news-list__item-thumb-wrapper {
width: clamp(3.625rem, 2.35rem + 5.2307692308vw, 5.75rem);
height: clamp(3.625rem, 2.35rem + 5.2307692308vw, 5.75rem);
grid-area: thumb;
overflow: hidden;
border-radius: var(--border-radius-m);
background: linear-gradient(var(--color-green), var(--color-blue));
}
@media (max-width: 768px) {
.news-list__item-thumb {
border-radius: var(--border-radius-xs);
}
}
.news-list__item-thumb img {
width: 100%;
height: 100%;
-o-object-fit: cover;
object-fit: cover;
} dialog {
position: fixed;
border-radius: 50px;
border: none;
scale: 0.9;
max-width: 680px;
width: 100%;
padding: 0;
}
dialog::backdrop {
background: linear-gradient(
120deg,
var(--color-blue) 30%,
var(--color-green) 60%
);
}
.modal--open {
display: flex;
flex-direction: column;
}
.modal__header {
position: relative;
flex-shrink: 0;
}
.modal__content {
overflow-y: auto;
flex-grow: 1;
padding-inline: clamp(2.5rem, 1.5534rem + 3.8835vw, 5rem);
padding-block: 40px;
}
.modal__close {
position: absolute;
right: 4%;
transform: translateY(50%);
top: 10%;
width: 44px;
height: 44px;
border: none;
background: transparent;
opacity: 0.4;
}
.modal__close .icon {
display: block;
margin: auto;
}
.form {
max-width: 680px;
margin: 0 auto;
background: var(--color-white);
border-radius: var(--border-radius-xl);
position: relative;
padding-top: 2rem;
}
.form__heading svg {
display: block;
margin: 0 auto;
max-width: 80px;
}
.form__heading--help svg path[fill="#24C15F"] {
fill: var(--color-orange);
}
.form__heading--help svg path[fill="#1148FF"] {
fill: var(--color-red);
}
.form__title {
font-family: var(--font-family-base);
text-align: center;
margin-top: 20px;
font-weight: 600;
}
.form__description {
text-align: center;
font-size: 16px;
line-height: 1.6;
margin-top: 8px !important;
color: rgba(34, 34, 34, 0.7);
max-width: 60%;
display: block;
margin: 0 auto;
}
.form__body {
display: flex;
flex-direction: column;
gap: 1rem;
margin-top: 20px;
}
[class*="-response-output"],
.form__input,
.form__textarea {
width: 100% !important;
background: var(--color-white-f4) !important;
border: 1px solid var(--color-gray-e5) !important;
padding-block: 1rem !important;
padding-inline: 1.5rem !important;
}
.form__input,
.form__textarea,
.form__submit {
border-radius: 10px;
}
.form__input {
height: 50px;
}
.form__textarea {
height: 120px;
resize: vertical;
}
.form__submit {
position: relative;
margin-top: 40px;
width: 100%;
height: 60px;
background: linear-gradient(
268.93deg,
#1148ff 0%,
#3ca2e1 50.03%,
#24c197 100%
);
margin-top: 20px;
border: none;
color: var(--color-white);
}
.form__submit:hover {
opacity: 0.8;
}
.form__submit--partner {
background: linear-gradient(
268.93deg,
#1148ff 0%,
#3ca2e1 50.03%,
#24c197 100%
);
}
.form__submit--help {
background: linear-gradient(
268.93deg,
#ed304e 0%,
#f66647 50.23%,
#ff9b41 100%
);
}
.form__submit:disabled {
opacity: 0.5;
cursor: not-allowed;
filter: grayscale(100%);
}
.btn-spinner {
display: none; position: absolute;
top: 50%;
left: 50%;
width: 20px;
height: 20px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: #fff;
border-radius: 50%;
transform: translate(-50%, -50%);
animation: spin 0.8s linear infinite;
}
@keyframes spin {
to {
transform: translate(-50%, -50%) rotate(360deg);
}
} .loading .btn-text {
visibility: hidden;
}
.loading .btn-spinner {
display: block;
}
[class*="-response-output"] {
border-color: #ffb900;
}
.wpcf7 form .wpcf7-response-output {
position: absolute;
top: 20%;
left: 50%;
transform: translate(-50%, -50%);
max-width: 80%;
margin: 0 auto;
text-align: center;
border-radius: 10px;
box-shadow: 0px 8px 4px 0px #0000002e;
display: none;
}
.wpcf7-not-valid-tip {
color: var(--color-red);
}
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
color: var(--color-red);
display: block !important;
}
.wpcf7 form.sent .wpcf7-response-output {
color: var(--color-green) !important;
display: block !important;
}
.form__submit-wrapper {
position: relative;
}
.wpcf7-spinner {
position: absolute;
top: 50%;
left: 50%;
} .custom-select {
position: relative;
width: 100%;
}
.custom-select__button {
width: 100%;
text-align: left;
cursor: pointer;
position: relative;
display: flex;
align-items: center;
justify-content: space-between;
background: var(--color-white-f4) !important;
border: 1px solid var(--color-gray-e5) !important;
padding-block: 1rem !important;
padding-inline: 1.5rem !important;
border-radius: 10px;
height: 50px;
font-family: inherit;
font-size: inherit;
color: inherit;
transition: border-color 0.2s ease;
}
.custom-select__button:hover {
border-color: var(--color-gray-d0) !important;
}
.custom-select__button:focus {
outline: none;
border-color: var(--color-blue) !important;
}
.custom-select__button.is-active {
border-color: var(--color-blue) !important;
}
.custom-select__button::after {
content: '';
width: 0;
height: 0;
border-left: 6px solid transparent;
border-right: 6px solid transparent;
border-top: 8px solid #222;
margin-left: 12px;
flex-shrink: 0;
transition: transform 0.2s ease;
}
.custom-select__button.is-active::after {
transform: rotate(180deg);
}
.custom-select__popup {
position: absolute;
top: calc(100% + 4px);
left: 0;
right: 0;
background: var(--color-white);
border: 1px solid var(--color-gray-e5);
border-radius: 10px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
z-index: 1000;
max-height: 300px;
overflow-y: auto;
opacity: 0;
visibility: hidden;
transform: translateY(-10px);
transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.custom-select__popup.is-open {
opacity: 1;
visibility: visible;
transform: translateY(0);
}
.custom-select__options {
list-style: none;
margin: 0;
padding: 8px 0;
}
.custom-select__option {
padding: 12px 1.5rem;
cursor: pointer;
transition: background-color 0.2s ease;
color: #222;
font-size: inherit;
line-height: 1.5;
}
.custom-select__option:hover {
background-color: var(--color-white-f4);
}
.custom-select__option.is-selected {
background-color: var(--color-white-f4);
font-weight: 500;
position: relative;
}
.custom-select__option.is-selected::before {
content: '✓';
position: absolute;
right: 1.75rem;
color: var(--color-blue);
font-weight: bold;
} .wpcf7-select[data-custom-select-initialized] {
position: absolute !important;
opacity: 0 !important;
pointer-events: none !important;
width: 1px !important;
height: 1px !important;
overflow: hidden !important;
clip: rect(0, 0, 0, 0) !important;
}