/* ==========================================================================
   About Us page
   ========================================================================== */

   /* Modal sign-in/sign-up form styles */
.rdk-modal {
    box-shadow: none;
    /* max-height: none; */
}

.rdk-modal__body {
    background: #191919;
    padding: 48px 52px 72px;
}

.rdk-modal__body:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background-image: url(img/modal-top.svg);
    background-size: 100%;
    background-repeat: no-repeat;
}

.rdk-modal__body:after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-image: url(img/modal-bottom.svg);
    background-size: 100%;
    background-repeat: no-repeat;
}

.rdk-label {
    font-family: 'Poppins', sans-serif;
    color: rgba(255,255,255,.5);
    text-transform: initial;
}

.rdk-input:-webkit-autofill,
.rdk-input,
.rdk-input:-webkit-autofill:focus,
.rdk-input:-webkit-autofill:hover,
.rdk-input:-webkit-autofill:active {
    /* -webkit-box-shadow: 0 0 0 1000px #3B3B3B inset !important;
    box-shadow: 0 0 0 1000px #3B3B3B inset !important; */
    background-color: #3B3B3B;
    color: rgba(255,255,255,.5);
    -webkit-text-fill-color: rgba(255,255,255,.5);
    transition: background-color 5000s ease-in-out 0s !important;
}
.rdk-input:-webkit-autofill,
.rdk-input:-webkit-autofill:focus,
.rdk-input:-webkit-autofill:hover,
.rdk-input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 1000px #3B3B3B inset !important;
    box-shadow: 0 0 0 1000px #3B3B3B inset !important;
    background-color: #3B3B3B;
}

.rdk-modal-overlay {
    align-items: flex-start;
}

.rdk-checkbox__box {
	border-radius: 0;
}

.rdk-input {
    border-radius: 0;
    border: 1px solid #4F4F4F;
    font-weight: 400;
    width: 100%;
    background-repeat: no-repeat;
    background-color: #3B3B3B;
    padding: 12px;
    font-family: 'Poppins', sans-serif;
}

.rdk-tab.is-active {
    background: #EFFB15;
    color: #000000;
}

.rdk-tab {
    padding: 8px 16px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
	border-radius: 0;
}

.rdk-btn--primary {
    background: #EFFB15;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.rdk-btn {
	border-radius: 0;
}

.rdk-link {
    color: #EFFB15;
    font-family: 'Poppins', sans-serif;
    text-transform: initial;
    font-weight: 500;
    text-decoration: underline;
}

.rdk-tabs {
	border-radius: 0;
}

.rdk-footerline {
    font-family: 'Poppins', sans-serif;
    text-transform: initial;
}

.rdk-close {
    color: #fff;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 40px;
    right: 16px;
    background: #3d3d3d;
}

.rdk-btn--primary span:after {
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    background-image: url(img/rocket.svg);
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 8px;
}

.reset-btn span:after {
    content: '';
    width: 16px;
    height: 16px;
    display: block;
    background-image: url(img/rocket-reset.svg);
    background-size: cover;
    background-repeat: no-repeat;
    margin-left: 8px;
}

.rdk-btn--primary span {
    display: flex;
    align-items: center;
    justify-content: center;
}

.rdk-checkbox__text {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 14px;
}

.rdk-title {
    font-family: 'Furore', sans-serif;
    font-weight: 600;
    font-size: 24px;
    color: #EFFB15;
}

/* Додає червоний бордер, якщо активна форма "forgot" */
.rdk-view.is-active[data-view="forgot"] ~ .rdk-modal__body,
.rdk-modal__body:has(.rdk-view.is-active[data-view="forgot"]) {
    background-image: url(../img/reset-bg.jpg);
    background-size: cover;
}

.rdk-view.is-active[data-view="forgot"] ~ .rdk-modal__body,
.rdk-modal__body:has(.rdk-view.is-active[data-view="forgot"]):before, .rdk-view.is-active[data-view="forgot"] ~ .rdk-modal__body,
.rdk-modal__body:has(.rdk-view.is-active[data-view="forgot"]):after {
    display: none;
}

.rdk-view.is-active[data-view="success"] ~ .rdk-modal__body,
.rdk-modal__body:has(.rdk-view.is-active[data-view="success"]) {
    background-image: url(../img/success-bg.jpg);
    background-position: bottom center;
    background-size: cover;
	background-color: #000;
    background-repeat: no-repeat;
}

.rdk-view.is-active[data-view="success"] ~ .rdk-modal__body,
.rdk-modal__body:has(.rdk-view.is-active[data-view="success"]):before, .rdk-view.is-active[data-view="success"] ~ .rdk-modal__body,
.rdk-modal__body:has(.rdk-view.is-active[data-view="success"]):after {
    display: none;
}

.rdk-modal__body:has(.rdk-view.is-active[data-view="forgot"]){
    border-radius: 12px;
    padding: 48px 24px 12px;
}

.rdk-modal__body:has(.rdk-view.is-active[data-view="success"]) {
    padding: 48px 24px 110px;
	border-radius: 20px;
}

.rdk-success__text {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 400;
}

@media screen and (max-width: 560px) {
    .rdk-tab {
        font-size: 18px;
        padding: 8px 10px;
    }

    .rdk-btn {
        font-size: 18px;
    }

    .rdk-modal__body {
        padding: 85px 15px 72px;
    }
}
/* Modal sign-in/sign-up form styles */

/* --- Shared section label: yellow caps with the square-cross bullet --- */
.about-hero__name-section p,
.about-philosophy__name-section p,
.about-beyond__name-section p {
	display: flex;
	align-items: center;
	width: 100%;
	margin: 0;
	color: #effb15;
	font-family: Poppins, sans-serif;
	font-size: 12px;
	font-weight: 400;
	line-height: 18px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.about-hero__name-section p::before,
.about-philosophy__name-section p::before,
.about-beyond__name-section p::before {
	content: "";
	flex: 0 0 auto;
	width: 11px;
	height: 10px;
	margin-right: 12px;
	background-image: linear-gradient(#effb15, #effb15), linear-gradient(#effb15, #effb15);
	background-size: 100% 1px, 1px 100%;
	background-position: center center;
	background-repeat: no-repeat;
}

/* --- Hero --- */
.about-hero {
	position: relative;
	overflow: hidden;
	padding: 78px 0 0;
	background-color: #0a0a0a;
	background-repeat: no-repeat;
	background-position: center bottom;
	background-size: cover;
}

.about-hero__wrapper {
	position: relative;
	padding-bottom: 60px;
}

.about-hero__content {
	position: relative;
	z-index: 2;
	max-width: 560px;
	width: 100%;
}

.about-hero__title h1 {
	margin: 36px 0 44px;
	color: #fff;
	font-family: Furore, sans-serif;
	font-size: 90px;
	line-height: 90px;
	font-weight: 400;
	text-transform: uppercase;
}

.about-hero__title h1 strong {
	display: block;
	font-weight: inherit;
	color: #effb15;
}

.about-hero__description p {
	margin: 0 0 16px;
	color: #d4d4d6;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
}

.about-hero__description p:last-child {
	margin-bottom: 0;
}

.about-hero__image {
	position: absolute;
	right: -62px;
	bottom: 0;
	z-index: 1;
	width: 685px;
	max-width: 56%;
	line-height: 0;
	pointer-events: none;
}

.about-hero__image img {
	display: block;
	width: 100%;
	height: auto;
}

/* --- Philosophy --- */
.about-philosophy {
	padding: 80px 0 0;
}

.about-philosophy__title h2 {
	margin: 32px 0 60px;
	color: #fff;
	font-family: Furore, sans-serif;
	font-size: 56px;
	line-height: 58px;
	font-weight: 400;
	text-transform: uppercase;
}

.about-philosophy__title h2 strong {
	display: block;
	font-weight: inherit;
	color: #effb15;
}

.about-philosophy__columns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 84px;
}

.about-philosophy__columns__item p {
	margin: 0 0 16px;
	color: #d4d4d6;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
}

.about-philosophy__columns__item p:last-child {
	margin-bottom: 0;
}

/* --- Beyond affiliation card --- */
.about-beyond {
	padding: 90px 0 120px;
}

.about-beyond__card {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	background-color: #171717;
}

.about-beyond__card__col {
	padding: 50px 40px;
}

.about-beyond__card__col + .about-beyond__card__col {
	padding-left: 56px;
}

.about-beyond__card__col__text {
	margin-top: 26px;
}

.about-beyond__card__col__text p {
	margin: 0 0 16px;
	color: #d4d4d6;
	font-family: Poppins, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 30px;
}

.about-beyond__card__col__text p:last-child {
	margin-bottom: 0;
}

.about-beyond__card__col__subtitle p {
	max-width: 440px;
	margin: 0;
	color: #d4d4d6;
	font-family: Poppins, sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 22px;
}

.about-beyond__card__col__title h2 {
	margin: 18px 0 0;
	max-width: 420px;
	color: #effb15;
	font-family: Furore, sans-serif;
	font-size: 42px;
	line-height: 46px;
	font-weight: 400;
	text-transform: uppercase;
}

.testimonials-section__wrapper__item__description a {
	color: #c6c6cc;
    font-family: Poppins, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
	display: block;
	text-decoration: none;
	outline: none;
	transition: all .2s ease-in-out;
}

.testimonials-section__wrapper__item__description a:hover {
	color: #EFFB15;
}

.blog-single__wrapper__content p {
	margin-bottom: 15px;
}

.blog-single__wrapper__content ul li, .blog-single__wrapper__content ol li {
    color: #d4d4d6;
    font-size: 20px;
    font-family: Poppins, sans-serif;
    line-height: 36px;
}

.blog-single__wrapper__content ul, .blog-single__wrapper__content ol  {
	margin-bottom: 15px;
}

.team-card__name {
	font-size: 38px;
}

.team-card__portrait img {
		width: auto;
	}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media screen and (max-width: 1240px) {
	.about-hero {
		padding-top: 60px;
	}

	.about-hero__title h1 {
		font-size: 64px;
		line-height: 66px;
		margin: 30px 0 34px;
	}

	.about-hero__content {
		max-width: 48%;
	}

	.about-hero__image {
		right: -15px;
		width: 560px;
	}

	.about-philosophy__title h2 {
		font-size: 46px;
		line-height: 48px;
		margin: 28px 0 44px;
	}

	.about-philosophy__columns {
		gap: 50px;
	}

	.about-beyond {
		padding: 70px 0 90px;
	}

	.about-beyond__card__col {
		padding: 40px 30px;
	}

	.about-beyond__card__col + .about-beyond__card__col {
		padding-left: 40px;
	}

	.about-beyond__card__col__title h2 {
		font-size: 34px;
		line-height: 38px;
	}
}

@media screen and (max-width: 1025px) {
	.team-card__portrait img {
		width: 100%;
	}
}

@media screen and (max-width: 992px) {
	.about-hero {
		padding-top: 50px;
	}

	.about-hero__wrapper {
		padding-bottom: 0;
	}

	.about-hero__content {
		max-width: 100%;
	}

	.about-hero__title h1 {
		font-size: 52px;
		line-height: 53px;
		margin: 26px 0 28px;
	}

	.about-hero__image {
		position: static;
		right: auto;
		width: 100%;
		max-width: 520px;
		margin: 40px auto -1px;
	}

	.about-philosophy {
		padding-top: 60px;
	}

	.about-philosophy__title h2 {
		font-size: 40px;
		line-height: 42px;
	}

	.about-philosophy__columns {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.about-beyond__card {
		grid-template-columns: 1fr;
	}

	.about-beyond__card__col + .about-beyond__card__col {
		border-left: 0;
		border-top: 1px solid #363638;
		padding-left: 30px;
	}
}

@media screen and (max-width: 620px) {
	.about-hero {
		padding-top: 40px;
	}

	.about-hero__title h1 {
		font-size: 36px;
		line-height: 38px;
		margin: 22px 0 24px;
	}

	.about-hero__description p,
	.about-philosophy__columns__item p,
	.about-beyond__card__col__text p {
		font-size: 15px;
		line-height: 27px;
	}

	.about-philosophy {
		padding-top: 50px;
	}

	.about-philosophy__title h2 {
		font-size: 32px;
		line-height: 33px;
		margin: 22px 0 32px;
	}

	.about-beyond {
		padding: 50px 0 70px;
	}

	.about-beyond__card__col,
	.about-beyond__card__col + .about-beyond__card__col {
		padding: 30px 20px;
	}

	.about-beyond__card__col__title h2 {
		font-size: 28px;
		line-height: 32px;
	}
}
