/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * IMPORTANT: This file is only served on the frontend when `SCRIPT_DEBUG` is enabled;
 * in most instances, the `style.min.css` file will be served. It is not recommended that you
 * use the Theme File Editor to modify this stylesheet. Instead, add the necessary style
 * overrides via "Additional CSS" in the Site Editor.
 */

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */


/* -----------------------------
   BOOTSTRAP-LIKE GRID FOR WP 2T25
   ----------------------------- */

/* Container */
.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 15px;
  padding-right: 15px;
  max-width: 1320px;
}

/* Row */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

.row > [class^="col"] {
  padding-left: 15px;
  padding-right: 15px;
  box-sizing: border-box;
}

/* Base columns */
.col {
  flex: 1 0 0;
}

[class^="col-"] {
  flex: 0 0 auto;
}

/* 12-column grid */
.col-1  { width: 8.333%; }
.col-2  { width: 16.666%; }
.col-3  { width: 25%; }
.col-4  { width: 33.333%; }
.col-5  { width: 41.666%; }
.col-6  { width: 50%; }
.col-7  { width: 58.333%; }
.col-8  { width: 66.666%; }
.col-9  { width: 75%; }
.col-10 { width: 83.333%; }
.col-11 { width: 91.666%; }
.col-12 { width: 100%; }

/* Breakpoints */
@media (min-width: 576px) {
  .col-sm-1  { width: 8.333%; }
  .col-sm-2  { width: 16.666%; }
  .col-sm-3  { width: 25%; }
  .col-sm-4  { width: 33.333%; }
  .col-sm-5  { width: 41.666%; }
  .col-sm-6  { width: 50%; }
  .col-sm-7  { width: 58.333%; }
  .col-sm-8  { width: 66.666%; }
  .col-sm-9  { width: 75%; }
  .col-sm-10 { width: 83.333%; }
  .col-sm-11 { width: 91.666%; }
  .col-sm-12 { width: 100%; }
}

@media (min-width: 768px) {
  .col-md-1  { width: 8.333%; }
  .col-md-2  { width: 16.666%; }
  .col-md-3  { width: 25%; }
  .col-md-4  { width: 33.333%; }
  .col-md-5  { width: 41.666%; }
  .col-md-6  { width: 50%; }
  .col-md-7  { width: 58.333%; }
  .col-md-8  { width: 66.666%; }
  .col-md-9  { width: 75%; }
  .col-md-10 { width: 83.333%; }
  .col-md-11 { width: 91.666%; }
  .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-1  { width: 8.333%; }
  .col-lg-2  { width: 16.666%; }
  .col-lg-3  { width: 25%; }
  .col-lg-4  { width: 33.333%; }
  .col-lg-5  { width: 41.666%; }
  .col-lg-6  { width: 50%; }
  .col-lg-7  { width: 58.333%; }
  .col-lg-8  { width: 66.666%; }
  .col-lg-9  { width: 75%; }
  .col-lg-10 { width: 83.333%; }
  .col-lg-11 { width: 91.666%; }
  .col-lg-12 { width: 100%; }
}

@media (min-width: 1200px) {
  .col-xl-1  { width: 8.333%; }
  .col-xl-2  { width: 16.666%; }
  .col-xl-3  { width: 25%; }
  .col-xl-4  { width: 33.333%; }
  .col-xl-5  { width: 41.666%; }
  .col-xl-6  { width: 50%; }
  .col-xl-7  { width: 58.333%; }
  .col-xl-8  { width: 66.666%; }
  .col-xl-9  { width: 75%; }
  .col-xl-10 { width: 83.333%; }
  .col-xl-11 { width: 91.666%; }
  .col-xl-12 { width: 100%; }
}



a {
	text-decoration-thickness: 1px;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}

/*
 * Prevents unnecessary scrollbars while handling long lines of preformatted text.
 * https://core.trac.wordpress.org/ticket/63875
 */
:where(pre) {
	overflow-x: auto;
}

:where(.wp-block-search__button-inside .wp-block-search__inside-wrapper)
{
font-size: var(--wp--preset--font-size--small);
    border-radius: 0;
	color: var(--wp--preset--color--contrast);
	background: none;
	padding: .5rem .3rem !important
}
.search-icon, .wc-block-customer-account__account-icon, .wc-block-mini-cart__icon
{
    min-height: 30px;
    min-width: 30px;
}
.wp-block-woocommerce-customer-account a
{
background: var(--wp--preset--color--contrast);
color: var(--wp--preset--color--base) !important;
}

.wc-block-mini-cart__button 
{
background: var(--wp--preset--color--accent-1);
color: var(--wp--preset--color--base);
}

.wp-block-search__button.has-icon.wp-element-button {
    font-size: var(--wp--preset--font-size--small);
    border-radius: 0;
color: var(--wp--preset--color--contrast);
background: none;
padding: .3rem 1rem !important
}
.search-icon, .wc-block-customer-account__account-icon, .wc-block-mini-cart__icon
{
    min-height: 30px;
    min-width: 30px;
}
.wp-block-woocommerce-customer-account a
{
background: var(--wp--preset--color--contrast);
color: var(--wp--preset--color--base);
}

.wc-block-mini-cart__button 
{
background: var(--wp--preset--color--accent-1);
color: var(--wp--preset--color--base);
}

.wp-block-woocommerce-customer-account a:hover
{
	background-color: color-mix(in srgb, var(--wp--preset--color--contrast) 20%, transparent);
	color: var(--wp--preset--color--contrast) !important;
}

.wc-block-mini-cart__button:hover
{
    background-color: color-mix(in srgb, var(--wp--preset--color--accent-1) 20%, transparent);
	color: var(--wp--preset--color--accent-1) !important;
}

a, button
{
	transition: all .4s;
}

.main-menu .wp-block-navigation-item__content
{
	font-weight: bold;
	text-transform: uppercase;
	display: block;
	padding: .9rem .7rem;
}
.main-menu .wp-block-navigation-item__content:hover	
{
	background: color-mix(in srgb, var(--wp--preset--color--accent-1) 20%, transparent);
	text-decoration: none;
}
:root :where(.wp-block-button.is-style-outline--3 .wp-block-button__link.wp-block-button__link:not(.has-background):hover ) {
    background-color: color-mix(in srgb, var(--wp--preset--color--accent-1) 10%, transparent);
	color: var(--wp--preset--color--accent-1);
}
header.wp-block-template-part
{
	position: sticky;
	top: 0;
	z-index: 10;
}
.main-header
{
	transition: all .6s;
}

.main-header.sticky
{
	background: color-mix(in srgb, var(--wp--preset--color--base) 80%, transparent);
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}
.logos-swiper .swiper-slide
{
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logos-swiper .img
{
    padding: 1rem;
    height: 150px;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.logos-swiper img
{
    width: 100%;
    height: 100%;
	object-fit: contain;
    /*
	filter: grayscale(1);
	*/
	max-width: 70%;
    max-height: 80%;
	transition: all .3s;
}
.logos-swiper a:hover img
{
	transform: scale(1.2);
}

/* Row – zamiana paddingów na gap */
.cards > .row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 4px; /* zamiast paddingów i ujemnych marginesów */
}

/* Base columns */
.cards .card {
  padding: 0;
  background: none;
  border: 0;
  box-sizing: border-box;

  /* usuwamy padding, bo gap go zastępuje */
}

/* Zachowanie wyglądu */
.cards a, .cards a:hover {
  text-decoration: none;
}

.cards .card .img {
  height: 280px;
	overflow: hidden;
}
.cards .card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
	transition: all .3s;
}
.cards .card a:hover img {
	transform: scale(1.2);
}
.cards .card .caption {
  padding: 3rem 1rem 1rem 1rem;
}
.cards .card .caption p {
  font-size: 1rem;
}
.cards .card .caption h3 {
  margin: 0;
  font-weight: bold;
  font-size: 1.5rem;
}

/* Kolumny 3-kolumnowe default */
.cards .card {
  flex: 0 0 calc(33.333% - 4px); /* odejmujemy gap, aby kolumna mieściła się w rzędzie */
}

/* Breakpoints */
@media (max-width: 1200px) {
  .cards .card {
    flex: 0 0 calc(33.333% - 4px);
  }
}

@media (max-width: 992px) {
  .cards .card {
    flex: 0 0 calc(50% - 4px);
  }
}

@media (max-width: 768px) {
  .cards .card {
    flex: 0 0 calc(50% - 4px);
  }
}

@media (max-width: 576px) {
  .cards .card {
    flex: 0 0 100%;
  }
}

.main-slider .swiper-slide
{
	display: flex;
	height: 600px;
}
.main-slider .img
{
	width: 55%;
}
.main-slider .caption
{
	width: 45%;
	height: 100%;
	display: flex;
    flex-direction: column;
    justify-content: center;
	align-items: flex-end;
}
.main-slider .caption>.inner
{
	width: 600px;
	max-width: 100%;
	text-align: right;
	padding: 3rem;
}
.main-slider img
{
	height: 100%;
	width: 100%;
	object-fit: cover;
}
.main-slider .caption>.inner h2
{
	font-size: 2.5rem;
	font-weight: bold;
}