/*
Theme Name: Blockskit Agency
Theme URI: https://blockskit.com/blockskit-agency/
Author: BlockskitDev
Author URI: https://blockskit.com
Description: Blockskit Agency is a modern and versatile WordPress theme designed for various types of websites including accounting, advisory, agency, business, company, consulting, corporate, creative, digital agency, finance, full site editing, gutenberg, insurance, marketing and more. It offers full-site-editing, allowing easy customization of all aspects of your site. With multiple templates, patterns, and style variations, it's suitable for different aesthetics. The theme is also compatible with popular plugins like Elementor, WooCommerce, and Spectra – WordPress Gutenberg Blocks, adding extra functionality to your site.
Template: blockskit-base
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 5.6
License: GPLv3 or later
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: blockskit-agency
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, threaded-comments, translation-ready, wide-blocks, block-styles, blog, portfolio, education

Blockskit Agency WordPress Theme, Copyright 2024 BlockskitDev
Blockskit Agency is distributed under the terms of the GNU General Public License v3
*/

/* Full-width header on this page at every viewport size. */
body.page-id-2 header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained {
	width: 100%;
	max-width: none !important;
}
body.page-id-2 header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-columns {
	width: 100%;
	max-width: none !important;
}

/* Wider navigation row on the home page; retain the theme's responsive gutters. */
body.home header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-columns {
	max-width: 1220px !important;
}

/* Use the native menu overlay before navigation and the phone number collide. */
@media (max-width: 1100px) {
	body.home header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-columns {
		display: flex;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: center;
		justify-content: space-between;
		gap: 16px;
	}
	body.home header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-columns > .wp-block-column:nth-child(2) {
		display: none;
	}
	body.home header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-columns > .wp-block-column:first-child,
	body.home header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-columns > .wp-block-column:last-child {
		flex: 0 1 auto !important;
		min-width: 0;
	}
	body.home header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-columns > .wp-block-column:last-child > .wp-block-group {
		justify-content: flex-end;
		gap: 16px;
	}
	body.home header.wp-block-template-part nav.wp-block-navigation.is-responsive .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}
	body.home header.wp-block-template-part nav.wp-block-navigation.is-responsive .wp-block-navigation__responsive-container-open {
		display: flex !important;
		align-items: center;
		justify-content: center;
	}
	body.home header.wp-block-template-part nav.wp-block-navigation.is-responsive .wp-block-navigation__responsive-container.is-menu-open {
		display: flex !important;
	}
}

/* Slightly enlarge the home-page header logo while preserving its proportions. */
@media (min-width: 601px) {
	body.home header.wp-block-template-part .wp-block-site-logo img {
		transform: translateX(20px) scale(1.04);
		transform-origin: left center;
	}
}

@media (max-width: 600px) {
	body.home header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-columns > .wp-block-column:first-child .wp-block-site-logo img {
		max-width: 144px;
		height: auto;
		transform: translateX(20px);
	}
}

@media (max-width: 480px) {
	body.home header.wp-block-template-part > .wp-block-group.has-global-padding.is-layout-constrained > .wp-block-columns > .wp-block-column:last-child .wp-block-buttons {
		display: none;
	}
}

/* Białe tło strony głównej. */
body.home {
	background-color: #FFFFFF !important;
}

/* Okrągłe, wyśrodkowane pionowo strzałki na karuzeli zdjęć tej strony. */
body.page-id-2 .wp-block-apeari-photo-slider { position: relative; }
body.page-id-2 .wp-block-apeari-photo-slider .swiper-button-prev,
body.page-id-2 .wp-block-apeari-photo-slider .swiper-button-next {
	top: 50%; width: 44px; height: 44px; margin-top: 0;
	transform: translateY(-50%); border-radius: 50%; background: #FFFFFF;
	color: #3F4C7C; box-shadow: 0 3px 14px rgba(20, 30, 65, 0.22); z-index: 5;
}
body.page-id-2 .wp-block-apeari-photo-slider .swiper-button-prev { left: 16px; }
body.page-id-2 .wp-block-apeari-photo-slider .swiper-button-next { right: 16px; }

/* Ustaw szerokość zaznaczonego obrazu: 200 px na większych ekranach, 100 px na telefonach. */
body.page-id-2 .wp-block-image img.wp-image-17 {
	width: 200px;
	height: auto;
}
@media (max-width: 600px) {
	body.page-id-2 .wp-block-image img.wp-image-17 {
		width: 100px;
	}
}
body.page-id-2 .wp-block-apeari-photo-slider .swiper-button-prev::after,
body.page-id-2 .wp-block-apeari-photo-slider .swiper-button-next::after { font-size: 17px; font-weight: 700; }

/* ANOFIS: rebuilt Home template only. */
body.home header.wp-block-template-part > div:nth-of-type(2){display:none!important;visibility:hidden!important;height:0!important;max-height:0!important;overflow:hidden!important;padding:0!important;margin:0!important}
body.home{background:#f6f8f3!important}
.an-home{--green:#123b31;--dark:#092b25;--lime:#d6eab5;--light:#f6f8f3;--gray:#62766e;color:var(--green);background:var(--light);font-family:Arial,Helvetica,sans-serif;overflow:hidden}
.an-home *{box-sizing:border-box}.an-home h1,.an-home h2,.an-home h3,.an-home p{margin:0}.an-home h1,.an-home h2,.an-home h3{font-family:Georgia,serif;letter-spacing:-.035em;line-height:1.12}.an-home a{text-decoration:none}.an-home a:focus-visible,.an-home .an-track:focus-visible{outline:3px solid #a3d36f;outline-offset:3px}.an-home .an-wrap{width:min(1180px,calc(100% - 44px));margin:auto}.an-home .an-tag{font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:#648479}.an-home .an-tag:before{content:'— ';color:#8fc475}.an-home .an-lead{font-size:17px;line-height:1.7;color:var(--gray)}.an-home .an-btn{display:inline-flex;align-items:center;gap:20px;background:var(--green);border:1px solid var(--green);border-radius:5px;color:#fff!important;font-size:13px;font-weight:700;padding:16px 23px;transition:transform .2s,background .2s}.an-home .an-btn:hover{transform:translateY(-3px);background:#24614d}.an-home .an-btn--lime{color:var(--dark)!important;background:var(--lime);border-color:var(--lime)}.an-home .an-btn--lime:hover{background:#ebf5d5}.an-home .an-btn--line{background:transparent;border-color:#8bb69e}.an-home .an-btn--line:hover{background:#ffffff20}
.an-home .an-hero{background:radial-gradient(circle at 0% 100%,#29674a99,transparent 43%),linear-gradient(125deg,#092b25,#174737);color:#fff;padding:75px 0}.an-home .an-hero-grid{display:grid;grid-template-columns:.88fr 1.12fr;gap:7%;align-items:center}.an-home .an-hero .an-tag,.an-home .an-cta .an-tag{color:#d0e7c4}.an-home .an-hero h1{font-size:clamp(42px,5.2vw,76px);margin:23px 0}.an-home .an-hero h1 em{font-style:normal;color:var(--lime)}.an-home .an-hero p{font-size:17px;line-height:1.75;color:#d1e0d8}.an-home .an-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.an-home .an-hero-foot{border-top:1px solid #ffffff40;margin-top:50px;padding-top:20px;color:#c5d9ca;font-size:12px;letter-spacing:.07em;text-transform:uppercase}.an-home .an-hero-foot strong{font:27px Georgia,serif;color:#fff;margin-right:20px}
.an-home .an-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;scrollbar-width:none;border-radius:10px}.an-home .an-track::-webkit-scrollbar{display:none}.an-home .an-slide{position:relative;flex:0 0 100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always;overflow:hidden}.an-home .an-slide img{display:block;width:100%;height:100%;object-fit:cover}.an-home .an-nav{display:flex;gap:8px;align-items:center;margin-top:16px}.an-home .an-nav a{display:grid;place-items:center;width:44px;height:38px;border:1px solid currentColor;border-radius:4px;color:inherit;font-size:12px;font-weight:700}.an-home .an-nav a:hover,.an-home .an-nav a:focus-visible{background:var(--lime);color:var(--dark)}.an-home .an-nav span{margin-left:auto;font-size:11px;letter-spacing:.08em;text-transform:uppercase}.an-home .an-hero-slider .an-slide{height:490px;background:#1c493d}.an-home .an-hero-slider .an-slide:after{content:'';position:absolute;inset:0;background:linear-gradient(transparent 20%,#061b17ee)}.an-home .an-hero-slider .an-slide-copy{position:absolute;z-index:1;bottom:32px;left:32px;right:32px}.an-home .an-index{font-size:11px;letter-spacing:.15em;font-weight:800;color:var(--lime);margin-bottom:12px;display:block}.an-home .an-hero-slider h2{font-size:clamp(28px,3vw,42px);color:#fff}.an-home .an-hero-slider p{font-size:14px;margin-top:10px}
.an-home .an-section{padding:105px 0}.an-home .an-section-head{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-bottom:40px}.an-home .an-section-head h2{font-size:clamp(35px,4vw,55px);margin-top:16px}.an-home .an-section-head p{max-width:360px}.an-home .an-about{background:#fff}.an-home .an-about-grid{display:grid;grid-template-columns:.9fr 1fr;gap:9%;align-items:center}.an-home .an-about-photo{position:relative;padding:0 28px 28px 0}.an-home .an-about-photo img{display:block;width:100%;height:510px;object-fit:cover;border-radius:8px}.an-home .an-about-photo span{position:absolute;right:0;bottom:0;background:var(--green);color:#fff;padding:20px 25px;border-radius:4px;font:18px Georgia,serif}.an-home .an-about h2{font-size:clamp(36px,4vw,56px);margin:18px 0 25px}.an-home .an-about .an-lead+.an-lead{margin-top:14px}.an-home .an-points{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:30px 0}.an-home .an-points span{border-top:1px solid #dce7da;padding-top:14px;font-size:13px;font-weight:700}.an-home .an-points span:before{content:'✓ ';color:#729b5a}
.an-home .an-cards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.an-home .an-card{border:1px solid #dfe7dc;border-radius:8px;overflow:hidden;background:#fff;transition:transform .2s,box-shadow .2s}.an-home .an-card:hover{transform:translateY(-5px);box-shadow:0 15px 35px #123b311a}.an-home .an-card img{display:block;width:100%;height:190px;object-fit:cover}.an-home .an-card-body{padding:24px 21px 28px}.an-home .an-card small{font-size:11px;font-weight:800;letter-spacing:.14em;color:#648977}.an-home .an-card h3{font-size:23px;margin:17px 0 12px;min-height:52px}.an-home .an-card p{color:var(--gray);font-size:14px;line-height:1.65}
.an-home .an-work{background:#eaf0e8}.an-home .an-work .an-track{background:var(--dark)}.an-home .an-work .an-slide{display:grid;grid-template-columns:1.05fr .95fr;min-height:430px;color:#fff}.an-home .an-work .an-slide img{height:430px}.an-home .an-work-copy{display:flex;flex-direction:column;justify-content:center;padding:clamp(28px,5vw,65px)}.an-home .an-work h3{font-size:clamp(30px,3.5vw,46px)}.an-home .an-work-copy p{color:#d2e0d6;font-size:15px;line-height:1.7;margin-top:20px}.an-home .an-cta{background:var(--green);color:#fff;padding:86px 0}.an-home .an-cta-grid{display:flex;justify-content:space-between;align-items:end;gap:32px}.an-home .an-cta h2{font-size:clamp(35px,4.6vw,60px);margin:18px 0;max-width:720px}.an-home .an-cta p{color:#d0e1d4;max-width:620px;line-height:1.7}.an-home .an-cta .an-btn{flex-shrink:0}
@media(max-width:950px){.an-home .an-hero-grid{gap:30px;grid-template-columns:1fr 1fr}.an-home .an-cards{grid-template-columns:repeat(2,1fr)}.an-home .an-about-grid{gap:5%}}
@media(max-width:700px){.an-home .an-wrap{width:min(100% - 36px,540px)}.an-home .an-hero{padding:58px 0}.an-home .an-hero-grid,.an-home .an-about-grid{grid-template-columns:1fr;gap:42px}.an-home .an-hero h1{font-size:clamp(43px,10vw,62px)}.an-home .an-hero-slider .an-slide{height:390px}.an-home .an-section{padding:75px 0}.an-home .an-section-head{display:block}.an-home .an-section-head p{margin-top:18px}.an-home .an-about-photo img{height:420px}.an-home .an-work .an-slide{grid-template-columns:1fr}.an-home .an-work .an-slide img{height:225px}.an-home .an-work-copy{min-height:240px;padding:27px}.an-home .an-cta-grid{display:block}.an-home .an-cta .an-btn{margin-top:27px}}
@media(max-width:440px){.an-home .an-cards,.an-home .an-points{grid-template-columns:1fr}.an-home .an-card h3{min-height:0}.an-home .an-hero-slider .an-slide{height:340px}.an-home .an-hero-slider .an-slide-copy{left:22px;right:22px;bottom:22px}.an-home .an-nav span{font-size:10px}}
@media(prefers-reduced-motion:reduce){.an-home .an-track{scroll-behavior:auto}.an-home .an-btn,.an-home .an-card{transition:none}}
.an-home .an-hero{background:#143a30}
.an-home .an-hero h1{color:#fff}

/* ANOFIS audit components: isolated from the existing hero and sliders. */
body.home .an-home .an-audit{padding:clamp(70px,9vw,112px) 22px;background:#f2f6ef;color:#123b31}
body.home .an-home .an-audit > *{width:min(1180px,100%);max-width:1180px;margin-left:auto;margin-right:auto}
body.home .an-home .an-audit-intro{margin-bottom:38px}
body.home .an-home .an-audit-eyebrow,.an-audit-contact-label{display:block;color:#507e60;font-size:11px;font-weight:800;letter-spacing:.18em;text-transform:uppercase}
body.home .an-home .an-audit h2{font-size:clamp(35px,4vw,55px);margin:12px 0 15px}
body.home .an-home .an-audit-intro p{max-width:650px;color:#62766e;font-size:17px;line-height:1.7}
.an-audit-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.an-audit-step{display:flex;align-items:flex-start;gap:18px;min-width:0;padding:28px 23px 33px;background:#fff;border:1px solid #dae8d9;border-radius:10px;box-shadow:0 7px 25px rgba(18,59,49,.04);transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.an-audit-step:hover,.an-audit-faq details:hover{transform:translateY(-3px);border-color:#a6cbb0;box-shadow:0 15px 32px rgba(18,59,49,.11)}
.an-audit-number{flex:none;display:grid;place-items:center;width:46px;height:46px;border-radius:50%;background:#e7f2db;color:#245c40;font-size:14px;font-weight:800}
.an-audit-step h3,.an-audit-faq h3,.an-audit-contact h3{font-family:Georgia,serif;letter-spacing:-.03em;line-height:1.2}
.an-audit-step h3{font-size:22px;margin:2px 0 12px}
.an-audit-step p,.an-audit-faq p,.an-audit-contact p{font-size:14px;line-height:1.7}
.an-audit-step p,.an-audit-faq p{color:#62766e}
body.home .an-home .an-audit .wp-block-shortcode{margin-top:0;margin-bottom:0}
body.home .an-home .an-audit .wp-block-shortcode + .wp-block-shortcode{margin-top:32px}
.an-audit-faq{padding:34px;border:1px solid #dae8d9;border-radius:10px;background:#fff}
.an-audit-faq h3{font-size:28px;margin:0 0 20px}
.an-audit-faq details{border-top:1px solid #e3ece4;padding:18px 4px;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.an-audit-faq details:last-child{border-bottom:1px solid #e3ece4}
.an-audit-faq summary{cursor:pointer;font-weight:700;font-size:16px;line-height:1.5;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px}
.an-audit-faq summary::-webkit-details-marker{display:none}
.an-audit-faq summary:after{content:'+';flex:none;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#e7f2db;color:#123b31;font-size:20px;font-weight:400}
.an-audit-faq details[open] summary:after{content:'−'}
.an-audit-faq details p{margin:13px 32px 0 0;max-width:740px}
.an-audit-faq summary:focus-visible,.an-audit-contact-button:focus-visible{outline:3px solid #a3d36f;outline-offset:3px}
.an-audit-contact{display:flex;align-items:center;justify-content:space-between;gap:32px;padding:36px 42px;background:#123b31;color:#fff;border-radius:10px;box-shadow:0 15px 36px rgba(18,59,49,.14)}
.an-audit-contact-label{color:#d6eab5}
.an-audit-contact h3{color:#fff;font-size:clamp(25px,3vw,36px);margin:12px 0}
.an-audit-contact p{max-width:620px;color:#d0e1d4}
.an-audit-contact-button{flex:none;display:inline-flex;align-items:center;justify-content:center;gap:20px;padding:17px 24px;border-radius:5px;background:#d6eab5;color:#092b25!important;text-decoration:none!important;font-size:14px;font-weight:800;transition:transform .2s,background .2s}
.an-audit-contact-button:hover{transform:translateY(-3px);background:#ecf5d8}
@media(max-width:850px){.an-audit-steps{grid-template-columns:1fr}.an-audit-contact{align-items:flex-start;flex-direction:column}.an-audit-step{padding:23px}}
@media(max-width:550px){body.home .an-home .an-audit{padding:70px 18px}.an-audit-faq{padding:22px}.an-audit-contact{padding:30px 24px}.an-audit-contact-button{width:100%}}
@media(prefers-reduced-motion:reduce){.an-audit-step,.an-audit-faq details,.an-audit-contact-button{transition:none}}

/* Jasne tło sekcji kontaktowej i czytelny niebieski tekst na stronie głównej. */
body.home .an-home .an-cta{background:#f5f7fa;color:#242f65}
body.home .an-home .an-cta h2{color:#242f65}
body.home .an-home .an-cta p{color:#3f4c7c}
body.home .an-home .an-cta .an-tag{color:#3f4c7c}
