/* ARCHIWUM PORTFOLIO – tylko /portfolio/ */

body.post-type-archive-jetpack-portfolio .site-main {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 36px 28px;
}

body.post-type-archive-jetpack-portfolio .page-header {
	grid-column: 1 / -1;
}

body.post-type-archive-jetpack-portfolio article {
	margin: 0;
	padding: 0;
	border: 0;
}

body.post-type-archive-jetpack-portfolio article .entry-content,
body.post-type-archive-jetpack-portfolio article .entry-summary,
body.post-type-archive-jetpack-portfolio article .entry-meta,
body.post-type-archive-jetpack-portfolio article .entry-footer {
	display: none;
}

body.post-type-archive-jetpack-portfolio article img {
	width: 100%;
	height: auto;
	display: block;
}

body.post-type-archive-jetpack-portfolio article .entry-title {
	margin-top: 12px;
	font-size: 20px;
	line-height: 1.3;
}

/* tablet */
@media (max-width: 900px) {
	body.post-type-archive-jetpack-portfolio .site-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* telefon */
@media (max-width: 600px) {
	body.post-type-archive-jetpack-portfolio .site-main {
		grid-template-columns: 1fr;
	}
}
/* Nazwa archiwum Portfolio */
body.post-type-archive-jetpack-portfolio .page-title,
body.post-type-archive-jetpack-portfolio .archive-title {
	font-size: 0;
}

body.post-type-archive-jetpack-portfolio .page-title::after,
body.post-type-archive-jetpack-portfolio .archive-title::after {
	content: "Katalog obrazów abstrakcyjnych";
	font-size: 38px;
	line-height: 1.2;
}
/* Automatyczny status sprzedanego obrazu */
.single-jetpack-portfolio article.jetpack-portfolio-type-sprzedany .entry-content > p:first-of-type::after {
	content: " — SPRZEDANY";
	font-weight: 700;
}
/* Status SPRZEDANY w głównym Portfolio */
body.post-type-archive-jetpack-portfolio
article.jetpack-portfolio-type-sprzedany .entry-title::after {
	content: " — SPRZEDANY";
	font-weight:;
}
/* KATALOG PORTFOLIO – 4 obrazy i wyśrodkowanie */
body.post-type-archive-jetpack-portfolio .site-main {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 45px 28px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 20px;
	padding-right: 20px;
	box-sizing: border-box;
}

/* Nagłówek katalogu na całą szerokość i na środku */
body.post-type-archive-jetpack-portfolio .page-header {
	grid-column: 1 / -1;
	text-align: center;
}

/* Każdy obraz i podpis wyśrodkowany w swojej kolumnie */
body.post-type-archive-jetpack-portfolio article {
	text-align: center;
}

/* Tablet – 3 obrazy */
@media (max-width: 1000px) {
	body.post-type-archive-jetpack-portfolio .site-main {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Mniejszy tablet – 2 obrazy */
@media (max-width: 750px) {
	body.post-type-archive-jetpack-portfolio .site-main {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

/* Telefon – 1 obraz */
@media (max-width: 500px) {
	body.post-type-archive-jetpack-portfolio .site-main {
		grid-template-columns: 1fr;
	}
}

/* Ujednolicenie czcionek */

.entry-content h1,
.entry-content h2,
.entry-title,
.page-title {
    font-family: Georgia, serif !important;
}

.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
    font-family: 'Montserrat', sans-serif !important;
}

.entry-content p {
    font-family: 'Arimo', sans-serif !important;
}
/* Kolor nagłówka nad banerami */
.sm-naglowek {
    color: #776B62 !important;
}
/* Odstępy między sekcjami strony głównej */

.home .sm-wysylka {
    margin-top: 45px !important;
    margin-bottom: 45px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.home .sm-autentycznosc {
    margin-top: 25px !important;
}

@media (max-width: 768px) {
    .home .sm-wysylka {
        margin-top: 30px !important;
        margin-bottom: 30px !important;
    }
}/* Ujednolicenie przycisków */
.wp-block-button__link,
.entry-content button,
.entry-content a.button,
.entry-content a.btn,
.sm-wysylka-link {
    border-radius: 4px !important;
    font-family: 'Montserrat', sans-serif !important;
    box-shadow: none !important;
}
/* Newsletter */
.home .wp-block-jetpack-subscriptions {
    background: #ffffff !important;
    max-width: 750px;
    margin: 50px auto !important;
    padding: 30px 20px !important;
    text-align: center;
}

/* Nagłówek */
.home .wp-block-jetpack-subscriptions h2,
.home .wp-block-jetpack-subscriptions h3 {
    font-family: Georgia, serif !important;
    font-size: clamp(28px, 3.4vw, 43px) !important;
    font-weight: 400 !important;
    color: #776B62 !important;
    margin-bottom: 20px !important;
}

/* Tekst */
.home .wp-block-jetpack-subscriptions p {
    font-family: 'Arimo', sans-serif !important;
    font-size: 16px !important;
    color: #776B62 !important;
    line-height: 1.7;
}

/* Pole adresu e-mail */
.home .wp-block-jetpack-subscriptions input[type="email"] {
    border: 1px solid #b6a79b !important;
    border-radius: 4px !important;
    background: #ffffff !important;
    padding: 16px !important;
    font-size: 15px !important;
    color: #776B62 !important;
}

/* Przycisk zapisu */
.home .wp-block-jetpack-subscriptions button,
.home .wp-block-jetpack-subscriptions input[type="submit"] {
    background: #776B62 !important;
    color: #ffffff !important;
    border-radius: 4px !important;
    border: 1px solid #776B62 !important;
    font-family: 'Montserrat', sans-serif !important;
    font-size: 12px !important;
    padding: 16px 25px !important;
    box-shadow: none !important;
}
.home .wp-block-jetpack-subscriptions::before {
    content: "Bądź bliżej sztuki";
    display: block;
    font-family: Georgia, serif !important;
    font-size: clamp(26px, 4vw, 42px) !important;
    font-weight: 400;
    color: #776B62;
    text-align: center;
    margin-bottom: 25px;
}
/* Jednolity kolor czcionek */
.home .entry-content h1,
.home .entry-content h2,
.home .entry-content h3,
.home .entry-content h4,
.home .entry-content p,
.home .entry-content h2 em,
.home .sm-naglowek,
.home .wp-block-jetpack-subscriptions::before {
    color: #776B62 !important;
}
/* Wyrównanie tekstu pierwszego banera do lewej */
.sm-hero-home-tekst,
.sm-hero-home-tekst h2,
.sm-hero-home-tekst p {
    text-align: left !important;
}

.sm-hero-home-etykieta {
    justify-content: flex-start !important;
}
/* Jednolity kolor przycisków na całej stronie */

.wp-block-button__link,
.wp-element-button,
button,
input[type="submit"],
a.button,
a.btn {
    background-color: #51443B !important;
    color: #ffffff !important;
    border-color: #51443B !important;
    border-radius: 4px !important;
    box-shadow: none !important;
}
/* Przycisk ZOBACZ OBRAZY */
.home .entry-content a[href*="/obrazynasprzedaz"] {
    background: #51443B !important;
    color: #ffffff !important;
    border-color: #51443B !important;
}