/*!
Theme Name: pm_landing
Theme URI: http://underscores.me/
Author: arkzy.creative
Author URI: https://arkzy.pl
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pm_landing
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

pm_landing is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.
*/

/* fix */
html, body, * {
	margin: 0;
	padding: 0;
	min-width: 0;
	min-height: 0;
}
body, html {
    overflow-x: hidden;
}
*, :after, :before {
    box-sizing: border-box;
}
img {
    vertical-align: middle;
}

/* global */
:root {
	--primary: #061333;
	--accent: #0554F2;
	--text: #4E5871;
	--light-text: #C4D7FC;
	--light-background: #F4F7FF;
    --white: #FEFEFF;
	--light-circle: radial-gradient(circle, rgba(5, 84, 242, 0.1) 0%, rgba(254, 254, 255, 0) 70%);
	--overlay-gradient: linear-gradient(180deg, rgba(6, 19, 51, 0.3) 0%, rgba(6, 19, 51, 0.6) 100%);
}
body {
	background: var(--white);
}

.container {
    max-width: 1280px; 
	display: flex;
	align-items: center;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
	gap: 24px;
}


/* typography */
body, html {
	font-family: "stolzl", sans-serif;
	font-style: normal;
	font-weight: 300;
	color: var(--text);
	font-size: 16px;
}

h1 {
	font-weight: 400;
	font-size: 48px;
	line-height: 1.1em;
	color: var(--primary);
}
h2 {
	font-weight: 400;
	font-size: 48px;
	line-height: 1.1em;
	color: var(--primary);
}
h3 {
	font-weight: 400;
	font-size: 40px;
	line-height: 1.1em;
	color: var(--primary);
}
h4 {
	font-weight: 400;
	font-size: 32px;
	line-height: 1.1em;
	color: var(--primary);
}
h5 {
	font-weight: 400;
	font-size: 24px;
	line-height: 1.1em;
	color: var(--primary);
}
h6 {
	font-weight: 400;
	font-size: 20px;
	line-height: 1.1em;
	color: var(--primary);
}
p {
	font-weight: 300;
	font-size: 16px;
	color: var(--text);
	line-height: 1.4em;
}
.rs-accent {
	font-weight: 700;
	color: var(--accent);
}

.rs-text-l {
	font-size: 20px;
}
.rs-text-m {
	font-size: 16px;
}
.rs-text-s {
	font-size: 13px;
}
.rs-text-xs {
	font-size: 10px;
}

.rs-title-accent {
	position: relative;
}
.rs-title-accent:before {
	content: '';
	width: 480px;
	height: 480px;
	background: var(--light-circle);
	position: absolute;
    transform: translate(-70%, -50%);
    top: 50%;
    left: 0;
	border-radius: 50%;
	z-index: -1;
}

/* buttons */
.rs-button {
	font-family: "stolzl", sans-serif;
	padding: 24px 48px;
	border-radius: 64px;
	border: none;
	outline: none;
	background: var(--accent);
	color: var(--white);
	font-size: 16px;
	text-decoration: none;
	display: inline-block;
	font-weight: 500;
}
.rs-button-small {
	padding: 16px 48px;
}
.rs-button-white {
	color: var(--accent);
	background: var(--white);
}

/* header */
.rs-header {
	position: absolute;
	top: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 48px;
}
.rs-header .container {
	width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.rs-nav {
	display: flex;
	align-items: center;
	gap: 24px;
	list-style: none;
}
.rs-nav .menu-item a {
	color: var(--primary);
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}
.rs-nav .menu-item:last-child a {
	color: var(--white);
	background: var(--accent);
	padding: 16px 24px;
	border-radius: 64px;
	display: block;
}

body.single .rs-header {
	position: relative;
}
.rs-logo-mobile, .rs-nav-mobile-header, .rs-mobile-menu-open {
	display: none;
}


/* hero */
.rs-hero {
	background: radial-gradient(
        circle at top right, 
        rgba(5, 84, 242, 0.1) 0%, 
        rgba(254, 254, 255, 0) 25%
    );
	padding-top: 128px;
}
.rs-hero .container {
	gap: 64px;
	justify-content: space-between;
}
.rs-hero-content {
	flex: 0 0 40%;
	display: flex;
	flex-direction: column;
	gap: 32px;
	align-items: flex-start;
}
.rs-hero-content h1 {
	position: relative;
}
.rs-hero-content h1:before {
	content: '';
	width: 480px;
	height: 480px;
	background: var(--light-circle);
	position: absolute;
    transform: translate(-70%, -50%);
    top: 50%;
    left: 0;
	border-radius: 50%;
	z-index: -1;
}

.rs-hero-image {
	width: 100%;
	height: auto;
	max-width: 560px;
	margin-right: 32px;
}
.rs-hero-image-wrap {
	position: relative;
}
.rs-hero-image:before {
	content: '';
	width: 480px;
	height: 480px;
	background: var(--light-circle);
	position: absolute;
    bottom: 0;
	left: 50%;
	border-radius: 50%;
	z-index: -1;
}

/* hero-cta */
.rs-hero-cta-wrap {
	background: var(--accent);
	background-image: radial-gradient(
        circle at top left, 
        rgba(254, 254, 255, 0.1) 0%,
		rgba(5, 84, 242, 1) 40%
    );
	border-radius: 32px;
	padding: 48px;
	display: flex;
	width: 100%;
	align-items: center;
	gap: 48px;
}
.rs-hero-cta-wrap h4 {
	flex: 0 0 40%;
	color: var(--white);
}
.rs-hero-cta-wrap .rs-text-xs {
	color: var(--light-text);
	margin-top: 16px;
}
.rs-hero-cta-wrap .rs-text-xs a {
	color: var(--light-text);
}
.rs-newsletter-form-wrap {
	width: 100%;
}
.rs-newsletter-form {
	background: var(--white);
	border-radius: 64px;
	padding: 8px;
	display: flex;
    justify-content: space-between;
	transition: all 200ms;
}
.rs-newsletter-form input {
	flex: 1;
    border-radius: 64px;
    border: none;
    font-size: 16px;
    font-family: "stolzl", sans-serif;
    font-weight: 300;
    padding: 16px 24px;
    color: var(--text);
}
.rs-newsletter-form input:focus-visible {
	border: none;
	box-shadow: none;
	outline: none;
}
.rs-newsletter-form:focus-within {
    /* border: 2px solid #0554F2; */
    box-shadow: 0 0 2px 2px var(--light-text); /* Dodanie efektu podświetlenia */
}


/* rs-why-us */
.rs-why-us {
	margin-top: 160px;
	margin-bottom: 160px;
}
.rs-reasons-wrap {
	text-align: center;
}
.rs-reasons {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	margin-top: 48px;
}
.rs-reasons-item {
	flex: 0 1 320px;
}
.rs-reasons-image {
	margin-bottom: 32px;
	width: 200px;
	height: auto;
}
.rs-reasons-item h5 {
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 16px;
}
.rs-reasons-item p {
	font-size: 14px;
}


/* rs-bestsellers */
.rs-bestsellers-section {
	margin-top: 160px;
	margin-bottom: 160px;
}
.rs-bestsellers {
	display: flex;
	justify-content: space-between;
	gap: 48px;
	margin-top: 48px;
}
.rs-bestsellers-wrap {
	text-align: center;
}
.rs-bestsellers-item {
	display: block;
}
.rs-bestsellers-wrap .rs-button {
	margin-top: 48px;
}
.rs-bestsellers-section .rs-title-accent:before {
	transform: translate(150%, -50%);
}

/* rs-product */
.rs-product-image {
	width: 200px;
	height: auto;
	object-fit: contain;
	margin-bottom: 32px;
	text-align: center;
}
.rs-product-title {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 16px;
	text-align: center;
}
.rs-product-price {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	margin-bottom: 16px;
}
.rs-price-value {
	font-size: 20px;
	font-weight: 700;
	color: var(--accent);
}
.rs-price-old-value {
	font-size: 14px;
	font-weight: 300;
	color: var(--text);
	text-decoration: line-through;
}
.rs-product-description {
	font-size: 14px;
	text-align: center;
}

/* home-blog */
.rs-home-blog-section {
	margin-top: 160px;
	margin-bottom: 160px;
}
.rs-home-blog {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 48px;
	margin-top: 48px;
}
.rs-home-blog .rs-article-item-featured {
	grid-column: span 2;
}

/* article-item */
.rs-article-cats {
	display: flex;
	gap: 8px;
}
.rs-article-cats-item {
	padding: 8px 16px;
	font-size: 11px;
	color: var(--white);
	background: var(--accent);
	border-radius: 32px;
	font-weight: 700;
	text-decoration: none;
}
.rs-article-item a {
	text-decoration: none;
}
.rs-article-image {
	display: block;
	width: 100%;
	object-fit: cover;
	aspect-ratio: 4/3;
}
.rs-article-image-wrap {
	border-radius: 32px;
	overflow: hidden;
	position: relative;
}
.rs-article-image-wrap:before {
	content: '';
	background: var(--overlay-gradient);
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	mix-blend-mode: multiply;
}
.rs-article-content {
	margin-top: 16px;
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.rs-article-title {
	font-size: 20px;
	font-weight: 700;
	display: -webkit-box;
    -webkit-line-clamp: 3; 
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;

}
.rs-article-description {
	font-size: 14px;
}

/* article-featured */
.rs-article-item-featured {
	position: relative;
}
.rs-article-item-featured .rs-article-image-wrap {
	height: 100%;
}
.rs-article-item-featured .rs-article-image {
	height: 100%;
}
.rs-article-item-featured .rs-article-content {
	position: absolute;
	bottom: 0;
	padding: 32px;
}
.rs-article-item-featured .rs-article-title {
	color: var(--white);
	font-size: 24px;
}
.rs-article-item-featured .rs-article-description {
	color: var(--white);
}


/*testimonials */
.rs-testimonials-section {
	margin-top: 160px;
	margin-bottom: 160px;
}
.rs-testimonials {
	display: flex;
	align-items: center;
	gap: 48px;
	margin-top: 48px;
}
.rs-testimonials-nav {
	flex: 0 0 40px;
}
.rs-testimonials-nav svg {
	display: block;
}
.rs-testimonial-image {
	border-radius: 50%;
	width: 128px;
	height: 128px;
	object-fit: cover;
	margin-bottom: -64px;
	z-index: 1;
	border: 8px solid var(--white);
	margin-left: 40px;
}
.rs-testimonial-content {
	background: var(--light-background);
	padding: 96px 48px 48px 48px;
	border-radius: 32px;
}
.rs-testimonial-name {
	font-size: 20px;
	font-weight: 700;
	color: var(--primary);
	margin-bottom: 16px;
}
.rs-testimonial-text {
	font-size: 14px;
}


/* cta */
.rs-cta-section {
	margin-top: 160px;
	margin-bottom: 80px;
}
.rs-cta-section .container {
	display: block;
}
.rs-cta-section h2 {
	text-align: center;
	margin-bottom: 48px;
}
.rs-cta-box {
	background: var(--accent);
	background-image: radial-gradient(circle at top left, rgba(254, 254, 255, 0.1) 0%, rgba(5, 84, 242, 1) 40%);
	border-radius: 32px;
	padding-top: 128px;
	padding-bottom: 128px;
	position: relative;
}
.rs-cta-image {
    position: absolute;
    top: -80px;
    bottom: -80px;
    width: auto;
    height: calc(100% + 160px);
    padding-left: 48px;
    object-fit: contain;
}
.rs-cta-content {
	padding-left: 50%;
}
.rs-cta-content h3 {
	color: var(--white);
	margin-bottom: 32px;
}


/* footer */
.rs-footer {
	background: var(--primary);
	padding-top: 160px;
	padding-bottom: 160px;
}


/* article-single */
.rs-article-content-single-page .container {
	flex-direction: column;
	gap: 80px;
}

.rs-article-single-hero {
	width: 100%;
	position: relative;
}
.rs-article-single-hero .rs-article-image {
	aspect-ratio: 21/9;
}
.rs-article-image-content {
	position: absolute;
	bottom: 0;
	left: 0;
	padding: 48px;
}
.rs-article-single-hero .rs-article-image-wrap {
	width: 100%;
}
.rs-article-single-hero .rs-article-image {
	width: 100%;
}
.rs-article-single-title {
	font-weight: 700;
	color: var(--white);
	font-size: 32px;
	margin-top: 16px;
}

.rs-article-single-content {
	display: flex;
	gap: 128px;
	max-width: 1024px;
	margin: 0 auto 160px auto;
}
.rs-article-single-content-main {
	flex: 1;
}
.rs-article-single-content-side {
	flex: 0 1 240px;
}
.rs-article-single-first {
	margin-bottom: 80px;
}
.rs-article-single-first p {
	font-size: 20px;
	font-weight: 700;
	color: var(--primary);
}
.rs-article-related-title {
	font-size: 14px;
    font-weight: 700;
}


/* article-toc */
.rs-article-toc {
	padding: 48px;
	border-radius: 32px;
	background: var(--light-background);
}
.rs-article-toc h6 {
	font-size: 16px;
	font-weight: 700;
	margin-bottom: 16px;
}
.rs-article-toc-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	gap: 8px;
	flex-direction: column;
}
.rs-article-toc-list li a {
	color: var(--accent);
    text-decoration: none;
	font-size: 14px;
}
.rs-article-toc-list li {
    counter-increment: list-counter;
    margin-bottom: 8px;
    display: inline-flex;
	line-height: 1.4em;
}

.rs-article-toc-list li::before {
    content: counter(list-counter) ".";
    margin-right: 8px; 
    color: var(--primary);
    font-size: 14px;
    flex-shrink: 0;
}


/* article-content-wrap */
.rs-article-content-wrap {
	margin-top: 80px;
}

/* article-single typo */
.rs-article-content-wrap h1 {
	font-size: 36px;
	margin-bottom: 24px;
	margin-top: 48px;
}
.rs-article-content-wrap h2 {
	font-size: 32px;
	margin-bottom: 24px;
	margin-top: 48px;
}
.rs-article-content-wrap h3 {
	font-size: 28px;
	margin-bottom: 24px;
	margin-top: 48px;
}
.rs-article-content-wrap h4 {
	font-size: 24px;
	margin-bottom: 24px;
	margin-top: 48px;
}
.rs-article-content-wrap h5 {
	font-size: 20px;
	margin-bottom: 24px;
	margin-top: 48px;
}
.rs-article-content-wrap h6 {
	font-size: 18px;
	margin-bottom: 24px;
	margin-top: 48px;
}
.rs-article-content-wrap p:not(:last-child) {
	margin-bottom: 24px;
}

.rs-article-content-wrap strong, .rs-article-content-wrap b {
	font-weight: 500;
}

/* article-single lists */
.rs-article-content-wrap ul, .rs-article-content-wrap ol {
    list-style: none;
    padding: 0;
    margin: 0;
    flex-direction: column;
	margin-bottom: 16px;
	margin-left: 16px;
}

.rs-article-content-wrap ol li {
    counter-increment: list-counter;
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
	line-height: 1.4em;
}
.rs-article-content-wrap ol li::before {
    content: counter(list-counter) ".";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-size: 16px;
	font-weight: 700;
}

.rs-article-content-wrap ul li {
    margin-bottom: 16px;
    padding-left: 24px;
    position: relative;
	line-height: 1.4em;
}

.rs-article-content-wrap ul li::before {
    content: '';
    position: absolute;
    left: 0;
	top: 2px;
	width: 8px;
	height: 8px;
	border-radius: 64px;
    background: var(--accent);
}

.rs-article-single-content-side-fixed {
	position: sticky;
	top: 48px;
}

/* article-sidebar */
.rs-article-sidebar {
	margin-top: 24px;
	display: flex;
	flex-direction: column;
	gap: 24px;
}
.rs-article-sidebar .rs-article-title {
	font-size: 16px;
}
/* .rs-article-sidebar .rs-article-item {
	position: relative;

}
.rs-article-sidebar .rs-article-cats {
	position: absolute;
	top: 24px;
	left: 24px;
} */
