/*!
Theme Name: Bloom Academy
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
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: bloom-academy
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.

Bloom Academy 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.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
	- Normalize
	- Box sizing
# Base
	- Typography
	- Elements
	- Links
	- Forms
## Layouts
# Components
	- Navigation
	- Posts and pages
	- Comments
	- Widgets
	- Media
	- Captions
	- Galleries
# plugins
	- Jetpack infinite scroll
# Utilities
	- Accessibility
	- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

	 
@import url('https://fonts.googleapis.com/css2?family=Instrument+Sans:ital,wght@0,400..700;1,400..700&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
	
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
	background-color: #FDFCFB;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */

 h1,h2,h3,h4,h5,h6{
	font-family: "Playfair Display", serif;
	font-weight: 400 !important;
 }

 em{
	color: #75152E !important;
 }
h1 {
	font-size: 2em;
	margin: 0.67em 0;
	letter-spacing: -1.8px;
}
h2 {
	letter-spacing: -1.8px;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */
	 p{
		font-family: 'Instrument Sans', sans-serif;
	 }

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
	font-family: 'Instrument Sans', sans-serif;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

.hero-cta {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;

}

.button-fill{
	padding: 16px 32px;
	border-radius: 36px;
	background-color: #75152E;
	color: #fff !important;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap:8px;
	font-size: 18px;
	font-weight: 500;
	width: max-content;
}

.button-outline{
	padding: 16px 32px;
	border-radius: 36px;
	background-color: #fff;
	color: #6B5D4F !important;
	text-decoration: none;
	border: 1px solid rgba(117,21,46,0.15);
	display: flex;
	align-items: center;
	gap:8px;
	font-size: 18px;
	font-weight: 500;
	width: max-content;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/* Box sizing
--------------------------------------------- */

/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*--------------------------------------------------------------
# Base
--------------------------------------------------------------*/

/* Typography
--------------------------------------------- */
body,
button,
input,
select,
optgroup,
textarea {
	color: #404040;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
	font-size: 1rem;
	line-height: 1.5;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	clear: both;
}

p {
	margin-bottom: 1.5em;
}

dfn,
cite,
em,
i {
	font-style: italic;
}

blockquote {
	margin: 0 1.5em;
}

address {
	margin: 0 0 1.5em;
}

pre {
	background: #eee;
	font-family: "Courier 10 Pitch", courier, monospace;
	line-height: 1.6;
	margin-bottom: 1.6em;
	max-width: 100%;
	overflow: auto;
	padding: 1.6em;
}

code,
kbd,
tt,
var {
	font-family: monaco, consolas, "Andale Mono", "DejaVu Sans Mono", monospace;
}

abbr,
acronym {
	border-bottom: 1px dotted #666;
	cursor: help;
}

mark,
ins {
	background: #fff9c0;
	text-decoration: none;
}

big {
	font-size: 125%;
}

/* Elements
--------------------------------------------- */
body {
	background: #fff;
}

hr {
	background-color: #ccc;
	border: 0;
	height: 1px;
	margin-bottom: 1.5em;
}

ul,
ol {
	margin: 0 0 1.5em 3em;
}

ul {
	list-style: disc;
}

ol {
	list-style: decimal;
}

li > ul,
li > ol {
	margin-bottom: 0;
	margin-left: 1.5em;
}

dt {
	font-weight: 700;
}

dd {
	margin: 0 1.5em 1.5em;
}

/* Make sure embeds and iframes fit their containers. */
embed,
iframe,
object {
	max-width: 100%;
}

img {
	height: auto;
	max-width: 100%;
}

figure {
	margin: 1em 0;
}

table {
	margin: 0 0 1.5em;
	width: 100%;
}

/* Links
--------------------------------------------- */
a {
	color: #4169e1;
}

a:visited {
	color: #800080;
}

a:hover,
a:focus,
a:active {
	color: #191970;
}

a:focus {
	outline: thin dotted;
}

a:hover,
a:active {
	outline: 0;
}

/* Forms
--------------------------------------------- */
button,
input[type="button"],
input[type="reset"],
input[type="submit"] {
	border: 1px solid;
	border-color: #ccc #ccc #bbb;
	border-radius: 3px;
	background: #e6e6e6;
	color: rgba(0, 0, 0, 0.8);
	line-height: 1;
	padding: 0.6em 1em 0.4em;
}

button:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
	border-color: #ccc #bbb #aaa;
}

button:active,
button:focus,
input[type="button"]:active,
input[type="button"]:focus,
input[type="reset"]:active,
input[type="reset"]:focus,
input[type="submit"]:active,
input[type="submit"]:focus {
	border-color: #aaa #bbb #bbb;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea {
	color: #666;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 3px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="url"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="range"]:focus,
input[type="date"]:focus,
input[type="month"]:focus,
input[type="week"]:focus,
input[type="time"]:focus,
input[type="datetime"]:focus,
input[type="datetime-local"]:focus,
input[type="color"]:focus,
textarea:focus {
	color: #111;
}

select {
	border: 1px solid #ccc;
}

textarea {
	width: 100%;
}

/*--------------------------------------------------------------
# Layouts
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Components
--------------------------------------------------------------*/

/* Navigation
--------------------------------------------- */
.main-navigation {
	display: block;
	width: 100%;
}

.main-navigation ul {
	display: none;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

.main-navigation ul ul {
	box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	float: left;
	position: absolute;
	top: 100%;
	left: -999em;
	z-index: 99999;
}

.main-navigation ul ul ul {
	left: -999em;
	top: 0;
}

.main-navigation ul ul li:hover > ul,
.main-navigation ul ul li.focus > ul {
	display: block;
	left: auto;
}

.main-navigation ul ul a {
	width: 200px;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.focus > ul {
	left: auto;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	text-decoration: none;
}

/* Small menu. */
.menu-toggle,
.main-navigation.toggled ul {
	display: block;
}

@media screen and (min-width: 37.5em) {

	.menu-toggle {
		display: none;
	}

	.main-navigation ul {
		display: flex;
	}
}

.site-main .comment-navigation,
.site-main
.posts-navigation,
.site-main
.post-navigation {
	margin: 0 0 1.5em;
}

.comment-navigation .nav-links,
.posts-navigation .nav-links,
.post-navigation .nav-links {
	display: flex;
}

.comment-navigation .nav-previous,
.posts-navigation .nav-previous,
.post-navigation .nav-previous {
	flex: 1 0 50%;
}

#masthead #site-navigation .menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    padding: 0;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.hamburger-box {
    width: 24px;
    height: 18px;
    display: block;
    position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
    display: block;
    position: absolute;
    width: 24px;
    height: 2px;
    background: #2c2416;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger-inner {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger-inner::before {
    content: '';
    top: -8px;
}

.hamburger-inner::after {
    content: '';
    top: 8px;
}

#site-navigation.toggled .hamburger-inner {
    background: transparent;
}

#site-navigation.toggled .hamburger-inner::before {
    top: 0;
    transform: rotate(45deg);
}

#site-navigation.toggled .hamburger-inner::after {
    top: 0;
    transform: rotate(-45deg);
}

@media (max-width: 600px) {
    #masthead #site-navigation .menu-toggle {
        display: flex;
    }
}

.comment-navigation .nav-next,
.posts-navigation .nav-next,
.post-navigation .nav-next {
	text-align: end;
	flex: 1 0 50%;
}

/* ===== HEADER WRAPPER ===== */
#masthead {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 12px 16px;
    background: transparent;
    box-sizing: border-box;
}

/* ===== INNER CONTAINER ===== */
#masthead .inner-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1152px;
    margin: 0 auto;
    padding: 10px 24px;
    background: #ffffff;
    border-radius: 50px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
    box-sizing: border-box;
}

/* ===== LOGO ===== */
#masthead .site-branding {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

#masthead .site-branding .custom-logo-link img {
    height: 40px;
    width: auto;
    display: block;
}

#masthead .site-title,
#masthead .site-description {
    display: none;
}

/* ===== NAVIGATION ===== */
#masthead #site-navigation {
    display: flex;
    align-items: center;
    width: auto;
}

#masthead #site-navigation .menu-toggle {
    display: none;
}

#masthead #site-navigation ul#primary-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
    margin: 0;
    padding: 0;
}

#masthead #site-navigation ul#primary-menu li {
    position: relative;
    margin: 0;
    padding: 0;
}

#masthead #site-navigation ul#primary-menu li a {
    display: inline;
    font-size: 15px;
    font-weight: 400;
    color: #1a1a1a;
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

#masthead #site-navigation ul#primary-menu li.current-menu-item > a {
    font-weight: 600;
}

#masthead #site-navigation ul#primary-menu li a:hover {
    color: #6b0f2b;
}

/* ===== CTA BUTTON ===== */
#masthead .inner-container > a[href="/kontakt"] {
    display: inline-block;
    padding: 10px 24px;
    background: #6b0f2b;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 50px;
    white-space: nowrap;
    flex-shrink: 0;
    transition: background 0.2s ease;
}

#masthead .inner-container > a[href="/kontakt"]:hover {
    background: #4a0a1e;
}

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    #masthead .inner-container {
        padding: 10px 20px;
    }

    #masthead #site-navigation ul#primary-menu {
        gap: 20px;
    }
}

/* ===== MOBILE ===== */
@media (max-width: 600px) {
    #masthead {
        padding: 10px 12px;
    }

    #masthead .inner-container {
        border-radius: 16px;
        padding: 10px 16px;
    }

    #masthead #site-navigation ul#primary-menu {
        display: none;
    }

    #masthead #site-navigation .menu-toggle {
        display: block;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 14px;
        color: #1a1a1a;
        padding: 4px 8px;
    }

	#masthead .inner-container > a[href="/kontakt"]{
		display: none;
	}


}


/* ===== MOBILE SIDEBAR ===== */
@media (max-width: 600px) {
    #masthead #site-navigation ul#primary-menu {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        position: fixed;
        top: 0;
        right: -85vw;
        width: 85vw;
        height: 100vh;
        background: #ffffff;
        padding: 80px 32px 40px;
        box-shadow: -4px 0 24px rgba(0, 0, 0, 0.12);
        z-index: 999;
        transition: right 0.3s ease;
        box-sizing: border-box;
        overflow-y: auto;
    }

    #masthead #site-navigation.toggled ul#primary-menu {
        right: 0;
    }

    #masthead #site-navigation ul#primary-menu li {
        width: 100%;
        border-bottom: 1px solid #f0f0f0;
    }

    #masthead #site-navigation ul#primary-menu li a {
        display: block;
        padding: 16px 0;
        font-size: 17px;
    }

    #masthead #site-navigation .menu-toggle {
        display: block;
        position: relative;
        z-index: 1001;
        background: none;
        border: none;
        cursor: pointer;
        font-size: 14px;
        color: #1a1a1a;
        padding: 4px 8px;
    }

    #masthead .inner-container > a[href="/kontakt"] {
        display: none;
    }
}

/* ===== SIDEBAR OVERLAY ===== */
@media (max-width: 600px) {
    #site-navigation::before {
        content: '';
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.4);
        z-index: 998;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
    }

    #site-navigation.toggled::before {
        opacity: 1;
        pointer-events: auto;
    }
}


.hero-glowna {
	padding-top: 120px;;
    width: 100%;
    text-align: center;
}

.hero-glowna .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
    gap: 32px;
}

.hero-glowna .label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 50px;
    color: #75152e;
    font-size: 14px;
    font-weight: 500;
}

.hero-glowna .label .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #75152e;
    flex-shrink: 0;
}

.hero-glowna .tytul h1,
.hero-glowna .tytul {
    font-size: 72px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.hero-glowna .tekst {
    font-size: 24px;
    color: #6b5d4f;
    line-height: 1.5;
    margin: 0;
}

.hero-glowna .obraz {
    width: 100%;
    padding: 80px 0;
}

.hero-glowna .obraz img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    display: block;
}

.hero-glowna .hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

@media (max-width: 768px) {
    .hero-glowna .tytul h1,
    .hero-glowna .tytul {
        font-size: 44px;
    }

    .hero-glowna .tekst {
        font-size: 18px;
    }

    .hero-glowna .obraz {
        padding-top: 48px;
    }
}

@media (max-width: 480px) {
    .hero-glowna .tytul h1,
    .hero-glowna .tytul {
        font-size: 36px;
    }

    .hero-glowna .tekst {
        font-size: 16px;
    }
}

/* ===== ZDJECIE I TEKST ===== */

.zdjecie-i-tekst {
    width: 100%;
    padding: 72px 16px;
}

.zdjecie-i-tekst .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 80px;
    max-width: 1152px;
    margin: 0 auto;
}

.zdjecie-i-tekst .content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.zdjecie-i-tekst .section-name {
    font-size: 12px;
    font-weight: 600;
    color: #75152e;
    text-transform: uppercase;
    letter-spacing: 3.6px;
}

.zdjecie-i-tekst .tytul,
.zdjecie-i-tekst .tytul h2 {
    font-size: 60px;
    font-weight: 400;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.zdjecie-i-tekst .opis {
    font-size: 20px;
    color: #6b5d4f;
    line-height: 1.6;
}

.zdjecie-i-tekst .opis p {
    margin: 0 0 16px;
}

.zdjecie-i-tekst .opis p:last-child {
    margin-bottom: 0;
}

.zdjecie-i-tekst .opis strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: #75152e;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.zdjecie-i-tekst .opis ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.zdjecie-i-tekst .opis ul li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    color: #2c2416;
    padding: 0;
}

.zdjecie-i-tekst .opis ul li::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/themes/bloom-academy/images/flower-point.svg');
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.zdjecie-i-tekst .zdjecie img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    display: block;
}

@media (max-width: 1024px) {
    .zdjecie-i-tekst .container {
        gap: 48px;
    }

    .zdjecie-i-tekst .tytul,
    .zdjecie-i-tekst .tytul h2 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .zdjecie-i-tekst .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .zdjecie-i-tekst .tytul,
    .zdjecie-i-tekst .tytul h2 {
        font-size: 36px;
    }

    .zdjecie-i-tekst .opis {
        font-size: 17px;
    }

    .zdjecie-i-tekst .zdjecie {
        order: 1;
    }
}

/* ===== IKONY ===== */


.ikony-oferta {
    width: 100%;
    padding: 72px 16px;
}

.ikony-oferta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1152px;
    margin: 0 auto;
    gap: 24px;
}

.ikony-oferta .section-name {
    font-size: 12px;
    font-weight: 600;
    color: #75152e;
    text-transform: uppercase;
    letter-spacing: 3.6px;
}

.page-id-20 .section-name-none {
    display: none;
}

.ikony-oferta .tytul,
.ikony-oferta .tytul h2 {
    font-size: 60px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.ikony-oferta .opis {
    font-size: 20px;
    color: #6b5d4f;
    line-height: 1.6;
    
    margin: 0;
}

.ikony-oferta .lista {
    list-style: none;
    margin: 24px 0 0;
    padding: 0;
    display: grid;
    gap: 24px;
    width: 100%;
    text-align: left;
}

.ikony-oferta .lista.kolumny-2 {
    grid-template-columns: repeat(2, 1fr);
}

.ikony-oferta .lista.kolumny-3 {
    grid-template-columns: repeat(3, 1fr);
}

.ikony-oferta .pozycja {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 40px;
}

.ikony-oferta .pozycja .ikona img {
    width: 56px;
    height: 56px;
    display: block;
}

.ikony-oferta .pozycja .nazwa {
    font-size: 24px;
    font-weight: 600;
    color: #2c2416;
    margin: 0;
    line-height: 1.2;
}

.ikony-oferta .pozycja .opis {
    font-size: 16px;
    color: #6b5d4f;
    line-height: 1.6;
    margin: 0;
}

.ikony-oferta .pozycja .link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #75152e;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border-bottom: 1px solid #75152e;
    padding-bottom: 2px;
    transition: opacity 0.2s ease;
}

.ikony-oferta .pozycja .link:hover {
    opacity: 0.7;
}

@media (max-width: 1024px) {
    .ikony-oferta .lista.kolumny-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    .ikony-oferta .tytul,
    .ikony-oferta .tytul h2 {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .ikony-oferta .lista.kolumny-2,
    .ikony-oferta .lista.kolumny-3 {
        grid-template-columns: 1fr;
    }

    .ikony-oferta .tytul,
    .ikony-oferta .tytul h2 {
        font-size: 36px;
    }

    .ikony-oferta .opis {
        font-size: 17px;
    }

    .ikony-oferta .pozycja {
        padding: 28px;
    }
}

/* ===== AKORDEON ===== */

.akordeon {
    width: 100%;
    padding: 72px 16px;
}

.akordeon .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1152px;
    margin: 0 auto;
    gap: 40px;
}

.akordeon .naglowek-sekcji {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.akordeon .naglowek-sekcji h2 {
    font-size: 60px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.akordeon .naglowek-sekcji p {
    font-size: 18px;
    color: #6b5d4f;
    margin: 0;
}

.akordeon .lista {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.akordeon .pozycja {
    background: #ffffff;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 24px;
    overflow: hidden;
    padding:32px;
}

.akordeon .naglowek {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.akordeon .naglowek .ikona {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    display: block;
}

.akordeon .naglowek .tytul {
    flex: 1;
    font-family: 'Playfair Display', serif;
    font-size: 24px;
    font-weight: 500;
    color: #2c2416;
    line-height: 1.2;
}

.akordeon .naglowek .arrow {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #75152e;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.akordeon .naglowek .arrow::before {
    font-family: 'remixicon';
    content: '\ea4e';
}

.akordeon .naglowek[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

.akordeon .tresc {
    padding: 0 24px;
    font-size: 16px;
    color: #6b5d4f;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.akordeon .tresc:not([hidden]) {
    max-height: 600px;
    padding: 0 24px 24px;
}

.akordeon .tresc[hidden] {
    display: block;
    visibility: visible;
    max-height: 0;
    padding-bottom: 0;
}

.akordeon .cta {
    margin-top: 8px;
}

@media (max-width: 768px) {
    .akordeon .naglowek-sekcji h2 {
        font-size: 36px;
    }

    .akordeon .naglowek .tytul {
        font-size: 20px;
    }

    .akordeon .naglowek {
        padding: 16px 20px;
    }

    .akordeon .tresc {
        padding: 0 20px;
    }

    .akordeon .tresc:not([hidden]) {
        padding: 0 20px 20px;
    }
}

/* ===== JAK PRACUJEMY ===== */

.jak-pracujemy {
    width: 100%;
    padding: 72px 16px;
}

.jak-pracujemy .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1152px;
    margin: 0 auto;
    gap: 24px;
}

.jak-pracujemy .container > .tytul,
.jak-pracujemy .container > .tytul h2 {
    font-size: 60px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.jak-pracujemy .container > .tekst,
.jak-pracujemy .container > .tekst p {
    font-size: 18px;
    color: #6b5d4f;
    line-height: 1.6;
    margin-bottom: 56px;
    
}

.jak-pracujemy .kroki {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    width: 100%;
    position: relative;
}

.jak-pracujemy .kroki::before {
    content: '';
    position: absolute;
    top: 40px;
    left: calc(100% / 6);
    right: calc(100% / 6);
    height: 1px;
    background: rgba(117, 21, 46, 0.15);
    z-index: 0;
}

.jak-pracujemy .krok {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 32px;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.jak-pracujemy .krok .ikona {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.jak-pracujemy .krok .ikona img {
    width: 80px;
    height: 80px;
    display: block;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.1));
}

.jak-pracujemy .krok .numer {
    font-size: 14px;
    font-weight: 600;
    color: #75152e;
    text-transform: uppercase;
    letter-spacing: 3.6px;
    display: block;
}

.jak-pracujemy .krok .tytul {
    font-size: 20px;
    font-weight: 600;
    color: #2c2416;
    line-height: 1.2;
    margin: 0;
}

.jak-pracujemy .krok .tekst {
    font-size: 14px;
    color: #6b5d4f;
    line-height: 1.7;
    margin: 0;
}

@media (max-width: 768px) {
    .jak-pracujemy .container > .tytul,
    .jak-pracujemy .container > .tytul h2 {
        font-size: 36px;
    }

    .jak-pracujemy .kroki {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 24px;
    }

    .jak-pracujemy .kroki::before {
        top: calc(100% / 6);
        bottom: calc(100% / 6);
        left: 40px;
        right: auto;
        width: 1px;
        height: auto;
    }

    .jak-pracujemy .krok {
        padding: 0;
    }
}

/* ===== CTA ===== */

.cta {
    width: 100%;
    padding: 128px 16px;
    background: #F2E5C5;
}

.cta .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1152px;
    margin: 0 auto;
    gap: 24px;
}

.cta .tytul,
.cta .tytul h2 {
    font-size: 60px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.cta .tekst {
    font-size: 18px;
    color: #6b5d4f;
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
}

.cta .cta-kontakt {
    display: flex;
    align-items: center;
    gap: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

.cta .kontakt-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    color: #2c2416;
    text-decoration: none;
    transition: color 0.2s ease;
}

.cta .kontakt-item i {
    font-size: 18px;
    color: #75152e;
}

.cta .kontakt-item:hover {
    color: #75152e;
}

.cta .cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
}

.cta .podpis {
    font-size: 13px;
    color: #6b5d4f;
}

@media (max-width: 768px) {
    .cta .tytul,
    .cta .tytul h2 {
        font-size: 36px;
    }

    .cta .kontakt {
        flex-direction: column;
        gap: 16px;
    }
}

/* ===== HERO PODSTRONY ===== */

.hero-podstrony {
    width: 100%;
    padding: 128px 16px 0;
}

.hero-podstrony .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 1152px;
    margin: 0 auto;
}

.hero-podstrony .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.hero-podstrony .etykieta {
    font-size: 12px;
    font-weight: 600;
    color: #75152e;
    text-transform: uppercase;
    letter-spacing: 3.6px;
}

.hero-podstrony .tytul,
.hero-podstrony .tytul h1 {
    font-size: 72px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.hero-podstrony .tekst,
.hero-podstrony .tekst p {
    font-size: 20px;
    color: #6b5d4f;
    line-height: 1.6;
    margin: 0;
}

.hero-podstrony .obraz {
    margin-top: 80px;
    width: 100%;
	aspect-ratio: 16/9;
}

.hero-podstrony .obraz img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 24px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
    display: block;
}

@media (max-width: 768px) {
    .hero-podstrony .tytul,
    .hero-podstrony .tytul h1 {
        font-size: 44px;
    }

    .hero-podstrony .tekst,
    .hero-podstrony .tekst p {
        font-size: 17px;
    }

    .hero-podstrony .obraz {
        margin-top: 48px;
    }
}

@media (max-width: 480px) {
    .hero-podstrony .tytul,
    .hero-podstrony .tytul h1 {
        font-size: 36px;
    }
}

/* ===== RODZAJE KOREPETYCJI ===== */

.rodzaje-korepetycji {
    width: 100%;
    padding: 72px 16px;
}

.rodzaje-korepetycji .container {
    max-width: 1152px;
    margin: 0 auto;
}

.rodzaje-korepetycji .lista {
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.rodzaje-korepetycji .pozycja {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    max-width: 720px;
}

.rodzaje-korepetycji .pozycja .etykieta {
    font-size: 12px;
    font-weight: 600;
    color: #75152e;
    text-transform: uppercase;
    letter-spacing: 3.6px;
}

.rodzaje-korepetycji .pozycja .ikona img {
    width: 56px;
    height: 56px;
    display: block;
}

.rodzaje-korepetycji .pozycja .tytul,
.rodzaje-korepetycji .pozycja .tytul h2 {
    font-size: 60px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.rodzaje-korepetycji .pozycja .opis {
    font-size: 18px;
    color: #6b5d4f;
    line-height: 1.7;
}

.rodzaje-korepetycji .pozycja .opis p {
    margin: 0 0 16px;
}

.rodzaje-korepetycji .pozycja .opis p:last-child {
    margin-bottom: 0;
}

.rodzaje-korepetycji .pozycja .opis ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rodzaje-korepetycji .pozycja .opis ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #2c2416;
}

.rodzaje-korepetycji .pozycja .opis ul li::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #75152e;
    flex-shrink: 0;
}

.rodzaje-korepetycji .lista > .button-fill {
    align-self: flex-start;
    margin-top: -56px;
}

@media (max-width: 768px) {
    .rodzaje-korepetycji .pozycja .tytul,
    .rodzaje-korepetycji .pozycja .tytul h2 {
        font-size: 40px;
    }

    .rodzaje-korepetycji .pozycja .opis {
        font-size: 16px;
    }

    .rodzaje-korepetycji .lista {
        gap: 56px;
    }

    .rodzaje-korepetycji .lista > .button-fill {
        margin-top: -32px;
    }
}

/* ===== CENNIK ===== */

.cennik {
    width: 100%;
    padding: 128px 16px 72px;
}

.cennik .container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 1152px;
    margin: 0 auto;
}

.cennik .lista {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: stretch;
}

.cennik .pozycja {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 40px;
    background: #ffffff;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 40px;
	align-items: center;
    text-align: center;
}

.cennik .pozycja.wyrozniona {
    background: #75152e;
    border-color: #75152e;
}

.cennik .pozycja .tytul {
    font-size: 20px;
    font-weight: 600;
    color: #2c2416;
    margin: 0;
    line-height: 1.2;
}

.cennik .pozycja.wyrozniona .tytul {
    color: rgba(255, 255, 255, 0.8);
}

.cennik .pozycja .cena {
    font-size: 56px;
    font-weight: 700;
    color: #75152e;
    line-height: 1;
    margin: 0;
}

.cennik .pozycja.wyrozniona .cena {
    color: #ffffff;
}

.cennik .pozycja.wyrozniona .cena {
    color: #ffffff;
}

.cennik .pozycja .jednostka {
    font-size: 20px;
    font-weight: 400;
}

.cennik .pozycja .tekst {
    font-size: 15px;
    color: #6b5d4f;
    line-height: 1.6;
    margin: 0;
}

.cennik .pozycja.wyrozniona .tekst {
    color: rgba(255, 255, 255, 0.75);
}

.cennik .pozycja .lista-szczegoly {
    flex: 1;
	width: 100%;
    text-align: left;
}

.cennik .pozycja .lista-szczegoly ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cennik .pozycja .lista-szczegoly ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #2c2416;
}

.cennik .pozycja .lista-szczegoly ul li::before {
    content: '';
    width: 20px;
    height: 20px;
    background-image: url('/wp-content/themes/bloom-academy/images/price-point.svg');
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.cennik .pozycja.wyrozniona .lista-szczegoly ul li {
    color: rgba(255, 255, 255, 0.9);
}

.cennik .pozycja.wyrozniona .lista-szczegoly ul li::before {
    filter: brightness(0) invert(1);
}

.cennik .pozycja .button-fill {
    margin-top: auto;
}

.cennik .pozycja.wyrozniona .button-fill {
    background: #ffffff;
    color: #75152e !important;
}

.cennik .pozycja.wyrozniona .button-fill:hover {
    background: rgba(255, 255, 255, 0.9);
}

.cennik .lekcja-probna {
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 24px;
    background: #ffffff;
    overflow: hidden;
}

.cennik .lekcja-naglowek {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding:32px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
	justify-content: space-between;
}

.cennik .lekcja-tytul {
    font-size: 20px;
    font-weight: 400;
    color: #2C2416;
	font-family: 'Playfair Display';
}

.lekcja-kontent{
	display: flex;
	align-items: center;
	gap: 36px;
}

.cennik .lekcja-cena {
    font-size: 24px;
    font-weight: 700;
    color: #75152e !important;
}

.cennik .lekcja-cena .jednostka{
 color: #6B5D4F !important;
 font-size: 20px;
 font-weight: 400;
}

.cennik .lekcja-arrow {
    font-size: 22px;
    color: #75152e;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
	margin-right: 0;
}

.cennik .lekcja-naglowek[aria-expanded="true"] .lekcja-arrow {
    transform: rotate(180deg);
}

.cennik .lekcja-tresc {
    font-size: 16px;
    color: #6b5d4f;
    line-height: 1.7;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 32px;
}

.cennik .lekcja-tresc:not([hidden]) {
    max-height: 400px;
    padding: 0 32px 24px;
}

.cennik .lekcja-tresc[hidden] {
    display: block;
    visibility: visible;
    max-height: 0;
    padding-bottom: 0;
}

@media (max-width: 1024px) {
    .cennik .pozycja {
        padding: 32px 24px;
    }

    .cennik .pozycja .cena {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .cennik .lista {
        grid-template-columns: 1fr;
    }

    .cennik .pozycja .cena {
        font-size: 48px;
    }
}

/* ===== CENNIK ROZWIJANY ===== */

.cennik-rozwijany {
    width: 100%;
    padding: 72px 16px;
}

.cennik-rozwijany .container {
    max-width: 1152px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cennik-rozwijany .naglowek-sekcji {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cennik-rozwijany .naglowek-sekcji h2 {
    font-size: 60px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.cennik-rozwijany .naglowek-sekcji p {
    font-size: 18px;
    color: #6b5d4f;
    margin: 0;
}

.cennik-rozwijany .grupa {
    background: #ffffff;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 24px;
    overflow: hidden;
	margin-bottom: 24px;
}

.cennik-rozwijany .naglowek {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding:32px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
}

.cennik-rozwijany .naglowek .nazwa {
    font-size: 24px;
    font-weight: 400;
    color: #2c2416;
	font-family: 'Playfair Display';
}

.cennik-rozwijany .naglowek .arrow {
    display: flex;
    align-items: center;
    color: #75152e;
    font-size: 22px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cennik-rozwijany .naglowek .arrow::before {
    font-family: 'remixicon';
    content: '\ea4e';
}

.cennik-rozwijany .naglowek[aria-expanded="true"] .arrow {
    transform: rotate(180deg);
}

cennik-rozwijany .tresc {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 32px;
    display: block;
    visibility: visible;
}

.cennik-rozwijany .tresc[hidden] {
    display: block;
    visibility: visible;
    max-height: 0;
    padding-bottom: 0;
}

.cennik-rozwijany .tresc:not([hidden]) {
    max-height: 1200px;
    padding: 0 32px 32px;
}

.cennik-rozw-header{
	display: flex;
	align-items: center;
	gap:12px;
}

.cennik-rozwijany .lista {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
}

.cennik-rozwijany .pozycja {
    width: 280px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cennik-rozwijany .pozycja .tytul {
    font-size: 16px;
    font-weight: 600;
    color: #2c2416;
    margin: 0;
}

.cennik-rozwijany .pozycja .meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.cennik-rozwijany .pozycja .okres {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 5px;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    color: #75152e;
}

.cennik-rozwijany .pozycja .okres::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #75152e;
    flex-shrink: 0;
}

.cennik-rozwijany .pozycja .cena {
    font-size: 24px;
    font-weight: 700;
    color: #75152e;
}

.cennik-rozwijany .pozycja .godziny {
    font-size: 20px;
    font-weight: 400;
    color: #6b5d4f;
}

.cennik-rozwijany .pozycja .szczegoly {
    font-size: 14px;
    color: #6b5d4f;
    line-height: 1.7;
}

.cennik-rozwijany .pozycja .szczegoly ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cennik-rozwijany .pozycja .szczegoly ul li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #2c2416;
    font-size: 14px;
}

.cennik-rozwijany .pozycja .szczegoly ul li::before {
    content: '';
    width: 16px;
    height: 16px;
    background-image: url('/wp-content/themes/bloom-academy/images/price-point.svg');
    background-repeat: no-repeat;
    background-size: contain;
    flex-shrink: 0;
}

.cennik-rozwijany .tresc-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(117, 21, 46, 0.1);
}

@media (max-width: 768px) {
    .cennik-rozwijany .naglowek {
        padding: 20px 20px;
    }

    .cennik-rozwijany .tresc:not([hidden]) {
        padding: 0 20px 24px;
    }

    .cennik-rozwijany .pozycja {
        width: 100%;
    }
}

.wew-cta{
	width: 100%;
	margin-top: 24px;
	display:flex;
	justify-content: flex-end;
}

/* ===== Formularz kariera ===== */

.formularz-kariera {
    width: 100%;
    padding: 72px 16px;
}

.formularz-kariera .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1152px;
    margin: 0 auto;
    gap: 48px;
}

.formularz-kariera .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.formularz-kariera .tytul,
.formularz-kariera .tytul h2 {
    font-size: 60px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.formularz-kariera .opis {
    font-size: 18px;
    color: #6b5d4f;
    line-height: 1.6;
    margin: 0;
    max-width: 560px;
}

.formularz-kariera .formularz {
    width: 100%;
    max-width: 600px;

}

@media (max-width: 768px) {
    .formularz-kariera .tytul,
    .formularz-kariera .tytul h2 {
        font-size: 36px;
    }

    .formularz-kariera .opis {
        font-size: 16px;
    }
}

.wpcf7-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #ffffff;
    border: 1px solid rgba(117, 21, 46, 0.15);
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
    border-radius: 24px;
    padding: 40px;
}

.wpcf7-form label {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #2c2416;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form select,
.wpcf7-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: #2c2416;
    background: #ffffff;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    font-family: inherit;
}

.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form select:focus,
.wpcf7-form textarea:focus {
    border-color: #75152e;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
    color: #b5a89e;
    font-weight: 400;
}

.wpcf7-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2375152e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
    color: #b5a89e;
}

.wpcf7-form select:valid,
.wpcf7-form select.has-value {
    color: #2c2416;
}

.wpcf7-form textarea {
    min-height: 120px;
    resize: vertical;
}

.wpcf7-form .wpcf7-file {
    display: none;
}

.wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-file) {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 12px;
    background: #ffffff;
}

.wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-file)::before {
    content: 'Wybierz plik';
    display: inline-block;
    padding: 8px 16px;
    background: #75152e;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-file)::after {
    content: 'Brak pliku';
    font-size: 14px;
    color: #b5a89e;
}

.wpcf7-form p:has(.wpcf7-file) > small,
.wpcf7-form .file-info {
    font-size: 12px;
    color: #b5a89e;
    margin-top: 4px;
    display: block;
}

.wpcf7-form input[type="submit"] {
    width: 100%;
    padding: 16px 32px;
    background: #75152e;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.2s ease;
    font-family: inherit;
}

.wpcf7-form input[type="submit"]:hover {
    background: #4a0a1e;
}

.wpcf7-form .wpcf7-form-control-wrap:has(.wpcf7-file)::after {
    content: attr(data-filename);
    font-size: 14px;
    color: #b5a89e;
}

.wpcf7-form .wpcf7-form-control-wrap[data-filename]:not([data-filename="Brak pliku"])::after {
    color: #2c2416;
}

.wpcf7-not-valid-tip {
    font-size: 12px;
    color: #75152e;
    margin-top: 4px;
    display: block;
}

.wpcf7-response-output {
    font-size: 14px;
    padding: 12px 16px;
    border-radius: 12px;
    margin-top: 8px;
}

.wpcf7-mail-sent-ok {
    border-color: #2d6a4f;
    color: #2d6a4f;
    background: #f0faf5;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    border-color: #75152e;
    color: #75152e;
    background: #fdf0f3;
}

@media (max-width: 768px) {
    .wpcf7-form {
        padding: 24px 20px;
    }
}

/* ===== Zakładka kontakt ===== */

.kontakt {
    width: 100%;
    padding: 128px 16px 72px;
}

.kontakt .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 1152px;
    margin: 0 auto;
    gap: 48px;
}

.kontakt-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.kontakt-header .tytul {
    font-size: 60px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.kontakt-header .tytul em {
    font-style: italic;
    color: #75152e;
}

.kontakt-header .opis {
    font-size: 18px;
    color: #6b5d4f;
    margin: 0;
    line-height: 1.6;
}

.kontakt-body {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 32px;
    width: 100%;
    align-items: start;
}

.kontakt-formularz .wpcf7-form {
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
}

.kontakt-sidebar .sidebar-box {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 24px;
    box-shadow: 0 4px 32px rgba(0, 0, 0, 0.07);
}

.kontakt-sidebar .sidebar-naglowek {
    font-size: 20px;
    font-weight: 400;
    font-family: 'Playfair Display' !important;
    color: #2c2416;
    line-height: 1.3;
    margin: 0;
}

.kontakt-sidebar .dane {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.kontakt-sidebar .dana {
    display: flex;
    align-items: center;
    gap: 16px;
}

.kontakt-sidebar .dana img {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.kontakt-sidebar .dana-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kontakt-sidebar .dana-label {
    font-size: 12px;
    font-weight: 600;
    color: #75152e;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.kontakt-sidebar .dana-wartosc {
    font-size: 15px;
    color: #2c2416;
    text-decoration: none;
    font-weight: 500;
}

.kontakt-sidebar .dana-wartosc:hover {
    color: #75152e;
}

.kontakt-sidebar .sidebar-info {
    font-size: 13px;
    color: #6b5d4f;
    line-height: 1.6;
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(117, 21, 46, 0.1);
}

@media (max-width: 1024px) {
    .kontakt-body {
        grid-template-columns: 1fr;
    }

    .kontakt-sidebar {
        order: -1;
    }

    .kontakt-header .tytul {
        font-size: 44px;
    }
}

@media (max-width: 768px) {
    .kontakt-header .tytul {
        font-size: 36px;
    }

    .kontakt-sidebar .sidebar-box {
        padding: 24px 20px;
    }
}

/* ===== Stopka ===== */

.site-footer {
    width: 100%;
    background: #ffffff;
    border-top: 1px solid rgba(117, 21, 46, 0.1);
}

.site-footer .container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-top {
    padding: 64px 0 48px;
}

.footer-top .container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.footer-newsletter {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(117, 21, 46, 0.1);
}

.newsletter-tytul h2 {
    font-size: 40px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.2;
    margin: 0;
}

.newsletter-tytul h2 em {
    font-style: italic;
    color: #75152e;
}

.newsletter-formularz .ml-form-embedContainer {
    width: 100%;
}

.newsletter-formularz .ml-form-embedWrapper {
    background: transparent;
    border: none;
    padding: 0;
    width: 100%;
    max-width: 100%;
}

.newsletter-formularz .ml-form-embedBody {
    padding: 0;
}

.newsletter-formularz .ml-block-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.newsletter-formularz .ml-form-formContent {
    margin: 0;
}

.newsletter-formularz .ml-form-fieldRow {
    margin: 0;
}

.newsletter-formularz input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    color: #2c2416;
    background: #ffffff;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 12px;
    outline: none;
    box-sizing: border-box;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.newsletter-formularz input[type="email"]:focus {
    border-color: #75152e;
}

.newsletter-formularz input[type="email"]::placeholder {
    color: #b5a89e;
}

.newsletter-formularz .ml-form-embedSubmit {
    margin: 0;
    float: none;
    width: 100%;
}

.newsletter-formularz .ml-form-embedSubmit button.primary {
    width: 100%;
    padding: 16px 32px;
    background: #75152e;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background 0.2s ease;
    box-sizing: border-box;
}

.newsletter-formularz .ml-form-embedSubmit button.primary:hover {
    background: #4a0a1e;
}

.newsletter-formularz .ml-form-successContent h4 {
    font-size: 20px;
    color: #2c2416;
    font-family: inherit;
}

.newsletter-formularz .ml-form-successContent p {
    color: #6b5d4f;
    font-family: inherit;
}

.footer-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.footer-brand .custom-logo-link img {
    height: 40px;
    width: auto;
    display: block;
}

.footer-opis {
    font-size: 14px;
    color: #6b5d4f;
    line-height: 1.6;
    margin: 0;
    max-width: 280px;
}

.footer-kontakt-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.kontakt-label {
    font-size: 14px;
    font-weight: 700;
    color: #2c2416;
    margin: 0;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-social a {
    font-size: 22px;
    color: #6b5d4f;
    text-decoration: none;
    transition: color 0.2s ease;
    line-height: 1;
}

.footer-social a:hover {
    color: #75152e;
}

.footer-dane {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-dane li {
    font-size: 14px;
    color: #6b5d4f;
}

.footer-dane li a {
    color: #6b5d4f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-dane li a:hover {
    color: #75152e;
}

.footer-bottom {
    border-top: 1px solid rgba(117, 21, 46, 0.1);
    padding: 20px 0;
}

.footer-bottom .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.footer-copy {
    font-size: 13px;
    color: #6b5d4f;
    margin: 0;
}

.footer-bottom #footer-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-bottom #footer-menu li a {
    font-size: 13px;
    color: #6b5d4f;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-bottom #footer-menu li a:hover {
    color: #75152e;
}

@media (max-width: 768px) {
    .footer-newsletter {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .newsletter-tytul h2 {
        font-size: 32px;
    }

    .footer-info {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .footer-bottom #footer-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }
}


/* ===== Materiały do pobrania ===== */

.materialy-hero {
    width: 100%;
    padding: 128px 16px 48px;
    text-align: center;
}

.materialy-hero .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 1152px;
    margin: 0 auto;
}

.materialy-hero .section-name {
    font-size: 12px;
    font-weight: 600;
    color: #75152e;
    text-transform: uppercase;
    letter-spacing: 3.6px;
}

.materialy-hero .tytul {
    font-size: 60px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0;
}

.materialy-hero .tytul em {
    font-style: italic;
    color: #75152e;
}

.materialy-hero .opis {
    font-size: 18px;
    color: #6b5d4f;
    margin: 0;
    max-width: 560px;
    line-height: 1.6;
}

.materialy-lista {
    width: 100%;
    padding: 0 16px 72px;
}

.materialy-lista .container {
    max-width: 1152px;
    margin: 0 auto;
}

.materialy-lista .siatka {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.materialy-lista .material {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    background: #ffffff;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 24px;
    transition: box-shadow 0.2s ease;
}

.materialy-lista .material:hover {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.materialy-lista .material-ikona {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
}

.materialy-lista .material-ikona img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    display: block;
}

.materialy-lista .material-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.materialy-lista .material-nazwa {
    font-size: 24px;
    font-weight: 400;
    color: #2c2416;
    font-family: 'Playfair Display' !important;
    margin: 0;
    line-height: 1.3;
}

.materialy-lista .material-opis {
    font-size: 14px;
    font-weight: 400;
    color: #6b5d4f;
    line-height: 1.6;
    margin: 0;
}

.materialy-lista .material-format {
    display: inline-block;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 700;
    color: #75152e;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 1px solid rgba(117, 21, 46, 0.15);
    border-radius: 50px;
    align-self: flex-start;
}

.materialy-lista .material-btn {
    margin-top: auto;
    align-self: flex-start;
}

.materialy-lista .brak-materialow {
    font-size: 16px;
    color: #6b5d4f;
    text-align: center;
    padding: 48px 0;
    grid-column: 1 / -1;
}

@media (max-width: 1024px) {
    .materialy-lista .siatka {
        grid-template-columns: repeat(2, 1fr);
    }

    .materialy-hero .tytul {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .materialy-hero .tytul {
        font-size: 36px;
    }

    .materialy-lista .siatka {
        grid-template-columns: 1fr;
    }

    .materialy-lista .material {
        padding: 24px;
    }
}

/* ===== Blok tekstowy ===== */

.blok-tekstowy {
    width: 100%;
    padding: 128px 16px 48px;
}

.blok-tekstowy .container {
    max-width: 1152px;
    margin: 0 auto;

}

.blok-tekstowy .tresc p {
    font-size: 18px;
    color: #6B5D4F;
    line-height: 1.7;
    margin: 0 0 20px;
}

.blok-tekstowy .tresc p:last-child {
    margin-bottom: 0;
}

.blok-tekstowy .tresc strong {
    font-weight: 700;
    color: #75152e;
}

.blok-tekstowy .tresc em {
    font-style: italic;
    color: #75152e;
}

.blok-tekstowy .tresc a {
    color: #75152e;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.blok-tekstowy .tresc a:hover {
    opacity: 0.7;
}

.blok-tekstowy .tresc h2 {
    font-size: 40px;
    font-weight: 700;
    color: #2c2416;
    line-height: 1.1;
    margin: 0 0 24px;
}

.blok-tekstowy .tresc h3 {
    font-size: 28px;
    font-weight: 600;
    color: #2c2416;
    line-height: 1.2;
    margin: 0 0 16px;
}

.blok-tekstowy .tresc ul,
.blok-tekstowy .tresc ol {
    margin: 0 0 20px;
    padding-left: 24px;
    color: #2c2416;
    font-size: 18px;
    line-height: 1.7;
}

.blok-tekstowy .tresc ul li,
.blok-tekstowy .tresc ol li {
    margin-bottom: 8px;
}

@media (max-width: 768px) {
    .blok-tekstowy .tresc p,
    .blok-tekstowy .tresc ul,
    .blok-tekstowy .tresc ol {
        font-size: 16px;
    }

    .blok-tekstowy .tresc h2 {
        font-size: 30px;
    }

    .blok-tekstowy .tresc h3 {
        font-size: 22px;
    }
}