/*!
Theme Name: DrAnnaKot
Theme URI: http://underscores.me/
Author: filipkowski.site
Author URI: https://filipkowski.site
Description: CustomTheme4DrAnnaKot
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: drannakot
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.

DrAnnaKot 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
	 ========================================================================== */

/**
 * 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%;
}

/* Smooth scrolling for anchors (accessibility: disabled for reduced motion). */
@media (prefers-reduced-motion: no-preference) {
	html {
		scroll-behavior: smooth;
	}
}

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

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * 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 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* 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
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 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;
}

/**
 * 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: inherit;
}

a:visited {
	color: inherit;
}

a:hover,
a:focus,
a:active {
	color: inherit;
}

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%;
}

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

/* Posts and pages
--------------------------------------------- */
.sticky {
	display: block;
}

.post,
.page {
	margin: 0 0 1.5em;
}

.updated:not(.published) {
	display: none;
}

.page-content,
.entry-content,
.entry-summary {
	margin: 1.5em 0 0;
}

.page-links {
	clear: both;
	margin: 0 0 1.5em;
}

/* Comments
--------------------------------------------- */
.comment-content a {
	word-wrap: break-word;
}

.bypostauthor {
	display: block;
}

/* Widgets
--------------------------------------------- */
.widget {
	margin: 0 0 1.5em;
}

.widget select {
	max-width: 100%;
}

/* Media
--------------------------------------------- */
.page-content .wp-smiley,
.entry-content .wp-smiley,
.comment-content .wp-smiley {
	border: none;
	margin-bottom: 0;
	margin-top: 0;
	padding: 0;
}

/* Make sure logo link wraps around logo image. */
.custom-logo-link {
	display: inline-block;
}

/* Captions
--------------------------------------------- */
.wp-caption {
	margin-bottom: 1.5em;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	margin: 0.8075em 0;
}

.wp-caption-text {
	text-align: center;
}

/* Galleries
--------------------------------------------- */
.gallery {
	margin-bottom: 1.5em;
	display: grid;
	grid-gap: 1.5em;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	width: 100%;
}

.gallery-columns-2 {
	grid-template-columns: repeat(2, 1fr);
}

.gallery-columns-3 {
	grid-template-columns: repeat(3, 1fr);
}

.gallery-columns-4 {
	grid-template-columns: repeat(4, 1fr);
}

.gallery-columns-5 {
	grid-template-columns: repeat(5, 1fr);
}

.gallery-columns-6 {
	grid-template-columns: repeat(6, 1fr);
}

.gallery-columns-7 {
	grid-template-columns: repeat(7, 1fr);
}

.gallery-columns-8 {
	grid-template-columns: repeat(8, 1fr);
}

.gallery-columns-9 {
	grid-template-columns: repeat(9, 1fr);
}

.gallery-caption {
	display: block;
}

/*--------------------------------------------------------------
# Plugins
--------------------------------------------------------------*/

/* Jetpack infinite scroll
--------------------------------------------- */

/* Hide the Posts Navigation and the Footer when Infinite Scroll is in use. */
.infinite-scroll .posts-navigation,
.infinite-scroll.neverending .site-footer {
	display: none;
}

/* Re-display the Theme Footer when Infinite Scroll has reached its end. */
.infinity-end.neverending .site-footer {
	display: block;
}

/*--------------------------------------------------------------
# Utilities
--------------------------------------------------------------*/

/* Accessibility
--------------------------------------------- */

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 0.875rem;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

/* Do not show the outline on the skip link target. */
#primary[tabindex="-1"]:focus {
	outline: 0;
}

/* Alignments
--------------------------------------------- */
.alignleft {

	/*rtl:ignore*/
	float: left;

	/*rtl:ignore*/
	margin-right: 1.5em;
	margin-bottom: 1.5em;
}

.alignright {

	/*rtl:ignore*/
	float: right;

	/*rtl:ignore*/
	margin-left: 1.5em;
	margin-bottom: 1.5em;
}

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 1.5em;
}

/* ------------------------------------------------------------
 * Global look & feel overrides
 * ------------------------------------------------------------ */
body {
	font-family: 'Inter', sans-serif;
	font-size: 18px;
	color: #0b0b0c;
	line-height: 1.6;
}

::-webkit-scrollbar {
	width: 8px;
}

::-webkit-scrollbar-track {
	background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
	background: #cbd5e1;
	border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
	background: #94a3b8;
}

.hero-gradient {
	background: linear-gradient(135deg, #1e2a44 0%, #0b0b0c 100%);
}

.card-hover {
	transition: all 0.3s ease;
}

.card-hover:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.page-template-page-o-nas-php .about-article {
	color: #334155;
	font-size: 1rem;
	line-height: 1.85;
}

.page-template-page-o-nas-php .about-article > * + * {
	margin-top: 1.5rem;
}

.page-template-page-o-nas-php .about-article h2,
.page-template-page-o-nas-php .about-article h3,
.page-template-page-o-nas-php .about-article h4 {
	color: #1e2a44;
	font-weight: 800;
	line-height: 1.15;
	scroll-margin-top: 7rem;
}

.page-template-page-o-nas-php .about-article h2 {
	font-size: clamp(1.8rem, 1.5rem + 1vw, 2.5rem);
	margin-top: 3rem;
}

.page-template-page-o-nas-php .about-article h3 {
	font-size: 1.5rem;
	margin-top: 2.25rem;
}

.page-template-page-o-nas-php .about-article h4 {
	font-size: 1.1rem;
	margin-top: 1.75rem;
}

.page-template-page-o-nas-php .about-article p,
.page-template-page-o-nas-php .about-article ul,
.page-template-page-o-nas-php .about-article ol {
	margin-top: 1rem;
}

.page-template-page-o-nas-php .about-article ul,
.page-template-page-o-nas-php .about-article ol {
	padding-left: 1.4rem;
}

.page-template-page-o-nas-php .about-article li + li {
	margin-top: 0.4rem;
}

.page-template-page-o-nas-php .about-article figure {
	margin: 1.75rem 0;
	border-radius: 2.5rem;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

.page-template-page-o-nas-php .about-article figure img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	box-shadow: none;
}

.page-template-page-o-nas-php .about-article img {
	display: block;
	width: 100%;
	height: clamp(220px, 28vw, 340px);
	margin: 1.75rem 0;
	object-fit: cover;
	object-position: center;
	border-radius: 2.5rem;
	box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
	max-width: 100%;
}

.about-team-card {
	perspective: 1400px;
}

.about-team-card__button {
	position: relative;
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	text-align: left;
	cursor: pointer;
	perspective: 1400px;
}

.about-team-card__button:focus-visible {
	outline: 3px solid rgba(47, 128, 237, 0.35);
	outline-offset: 4px;
	border-radius: 2rem;
}

.about-team-card__inner {
	position: relative;
	display: block;
	min-height: 26rem;
	transition: opacity 280ms ease, transform 280ms ease;
	border-radius: 2rem;
}

.about-team-card:hover .about-team-card__inner,
.about-team-card.is-flipped .about-team-card__inner {
	transform: translateY(-2px);
}

.about-team-card__face {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border-radius: 2rem;
	background: #f8fafc;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
	transition: opacity 260ms ease, transform 260ms ease;
}

.about-team-card__face--back {
	background: #1e2a44;
	opacity: 0;
	z-index: 2;
}

.about-team-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.about-team-card__image--front {
	object-fit: contain;
	padding: 1.5rem;
	background: linear-gradient(180deg, #eaf4ff 0%, #f7fbff 100%);
}

.about-team-card__image--back {
	object-position: top center;
}

.about-team-card__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(30, 42, 68, 0.02) 0%, rgba(30, 42, 68, 0.22) 100%);
}

.about-team-card__overlay--back {
	background: linear-gradient(180deg, rgba(11, 11, 12, 0.08) 0%, rgba(11, 11, 12, 0.76) 100%);
}

.about-team-card__badge {
	position: absolute;
	top: 1rem;
	right: 1rem;
	z-index: 2;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.94);
	color: #1e2a44;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
	z-index: 4;
	pointer-events: none;
}

.about-team-card__caption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	padding: 1.25rem;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	z-index: 3;
}

.about-team-card__caption--back {
	top: auto;
	padding: 0.95rem 0.95rem 1rem;
	background: linear-gradient(180deg, rgba(11, 11, 12, 0) 0%, rgba(11, 11, 12, 0.94) 52%);
	backdrop-filter: blur(4px);
	-webkit-backdrop-filter: blur(4px);
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-team-card__eyebrow {
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.76);
}

.about-team-card__title {
	font-size: 1.05rem;
	font-weight: 800;
	line-height: 1.25;
	color: #ffffff;
}

.about-team-card__face--front .about-team-card__title {
	color: #ffffff;
	font-size: 1.25rem;
}

.about-team-card__face--front .about-team-card__eyebrow {
	color: rgba(255, 255, 255, 0.9);
}

.about-team-card__role {
	color: rgba(255, 255, 255, 0.86);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.35;
}

.about-team-card__caption--back .about-team-card__title {
	font-size: 1rem;
}

.about-team-card:hover .about-team-card__face--front,
.about-team-card.is-flipped .about-team-card__face--front {
	opacity: 0;
}

.about-team-card:hover .about-team-card__face--back,
.about-team-card.is-flipped .about-team-card__face--back {
	opacity: 1;
}

.about-hero-image {
	border-radius: 2.5rem;
}

@media (prefers-reduced-motion: reduce) {
	.about-team-card__inner {
		transition: none;
	}

	.card-hover {
		transition: none;
	}
}

.partner-logo-strip {
	min-height: 72px;
}

.partner-logo-strip img {
	filter: grayscale(1) brightness(0.18) contrast(0.9);
	opacity: 0.72;
	transition: filter 180ms ease, opacity 180ms ease, transform 180ms ease;
}

/* Oral-B: keep the overall logo elegant, but push the wordmark toward white. */
.partner-logo-strip img.drannakot-logo-oralb {
	filter: grayscale(1) brightness(0.12) contrast(1);
	opacity: 0.72;
}

.partner-logo-strip img:hover,
.partner-logo-strip img:focus {
	filter: grayscale(0.6) brightness(0.28) contrast(1);
	opacity: 0.95;
	transform: translateY(-1px);
}

/* Header: keep logo and menu hover consistent even with global `a:hover{color:inherit}`. */
#header a.drannakot-site-logo img {
	display: block;
	height: 40px;
	width: auto;
}

#header nav a {
	transition: color 150ms ease;
}

#header nav a:hover,
#header nav a:focus {
	color: #2f80ed !important;
}

#header nav a:hover *,
#header nav a:focus * {
	color: #2f80ed !important;
}

/* Chevron animation (desktop + mobile). */
.drannakot-menu-chevron {
	transition: transform 150ms ease;
	display: inline-block;
	line-height: 1;
	font-size: 22px;
	color: #2f80ed;
}

li.drannakot-dropdown:hover > a .drannakot-menu-chevron,
li.drannakot-dropdown:focus-within > a .drannakot-menu-chevron,
li.drannakot-dropdown.drannakot-dropdown-open > a .drannakot-menu-chevron,
li.drannakot-mobile-parent.drannakot-mobile-open > button .drannakot-menu-chevron {
	transform: rotate(180deg);
}

/* Mobile submenu: animated expand/collapse. */
.drannakot-mobile-submenu {
	max-height: 0;
	overflow: hidden;
	transition: max-height 220ms ease;
}

/* Mobile menu: remove default button "frames" from Underscores base styles. */
#mobile-menu [data-drannakot-mobile-toggle] {
	appearance: none;
	-webkit-appearance: none;
	border: 0 !important;
	background: transparent !important;
	padding: 0 !important;
	font: inherit;
}

#mobile-menu [data-drannakot-mobile-toggle]:focus {
	outline: none;
	box-shadow: none;
}

/* Mobile hamburger: remove Underscores default button frame. */
#mobile-menu-toggle {
	appearance: none;
	-webkit-appearance: none;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
}

#mobile-menu-toggle:focus {
	outline: none;
}

/* Pricing tables: right-align "Umów wizytę" buttons in the action column. */
main[data-drannakot-pricing] table th:last-child,
main[data-drannakot-pricing] table td:last-child {
	text-align: right !important;
}

@media (max-width: 640px) {
	main[data-drannakot-pricing] table {
		font-size: 0.86rem;
		line-height: 1.25;
		table-layout: fixed;
	}

	main[data-drannakot-pricing] table th,
	main[data-drannakot-pricing] table td {
		padding: 0.5rem 0.45rem !important;
		vertical-align: top;
	}

	main[data-drannakot-pricing] table th:first-child,
	main[data-drannakot-pricing] table td:first-child {
		width: 48%;
	}

	main[data-drannakot-pricing] table th:nth-child(2),
	main[data-drannakot-pricing] table td:nth-child(2) {
		width: 18%;
		padding-left: 0.2rem !important;
		padding-right: 0.2rem !important;
	}

	main[data-drannakot-pricing] table th:last-child,
	main[data-drannakot-pricing] table td:last-child {
		width: 34%;
		padding-left: 0.2rem !important;
		padding-right: 0.35rem !important;
	}

	main[data-drannakot-pricing] table th:nth-child(2),
	main[data-drannakot-pricing] table td:nth-child(2),
	main[data-drannakot-pricing] table th:last-child,
	main[data-drannakot-pricing] table td:last-child {
		text-align: left !important;
	}

	main[data-drannakot-pricing] table td:nth-child(2),
	main[data-drannakot-pricing] table th:nth-child(2) {
		white-space: nowrap;
		font-size: 0.78rem;
	}

	main[data-drannakot-pricing] table th:first-child,
	main[data-drannakot-pricing] table td:first-child {
		font-size: 0.82rem;
		word-break: break-word;
	}

	main[data-drannakot-pricing] table a,
	main[data-drannakot-pricing] table button,
	main[data-drannakot-pricing] .button,
	main[data-drannakot-pricing] .wp-block-button__link {
		font-size: 0.68rem !important;
		line-height: 1.1 !important;
		padding: 0.42rem 0.5rem !important;
		min-height: 2.1rem;
		max-width: 100%;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	main[data-drannakot-pricing] table td:last-child {
		padding-left: 0.2rem !important;
	}
}

/* Desktop dropdown: keep open after click toggle. */
@media (min-width: 1024px) {
	#header nav li.drannakot-dropdown > ul.drannakot-dropdown-menu {
		position: absolute;
		left: 0;
		top: 100%;
		min-width: 18rem;
		border-radius: 0.75rem;
		background: #fff;
		box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
		border: 1px solid rgba(0, 0, 0, 0.05);
		padding: 0.5rem 0;
		opacity: 0;
		visibility: hidden;
		transform: translateY(0.25rem);
		pointer-events: none;
		display: none;
		transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
		z-index: 60;
	}

	#header nav li.drannakot-dropdown > a {
		position: relative;
		z-index: 61;
	}

	/* Hover "bridge" so the submenu doesn't close while moving the mouse down. */
	#header nav li.drannakot-dropdown::after {
		content: "";
		position: absolute;
		left: -0.5rem;
		right: -0.5rem;
		top: 100%;
		height: 14px;
	}

	#header nav li.drannakot-dropdown:hover > ul.drannakot-dropdown-menu,
	#header nav li.drannakot-dropdown:focus-within > ul.drannakot-dropdown-menu,
	#header nav li.drannakot-dropdown.drannakot-dropdown-open > ul.drannakot-dropdown-menu {
		display: block !important;
		opacity: 1;
		visibility: visible;
		transform: translateY(0);
		pointer-events: auto;
	}

	#header nav li.drannakot-dropdown > ul.drannakot-dropdown-menu a {
		display: block;
		padding: 0.5rem 1rem;
		font-size: 0.875rem;
		color: #0b0b0c;
		text-decoration: none;
	}

	#header nav li.drannakot-dropdown > ul.drannakot-dropdown-menu a:hover,
	#header nav li.drannakot-dropdown > ul.drannakot-dropdown-menu a:focus {
		background: #f8fafc;
		color: #2f80ed;
	}

	#header nav li.drannakot-dropdown:hover > a,
	#header nav li.drannakot-dropdown:focus-within > a,
	#header nav li.drannakot-dropdown.drannakot-dropdown-open > a {
		color: #2f80ed !important;
	}
}

/* ------------------------------------------------------------
 * Fixes: visited link color + sticky footer
 * ------------------------------------------------------------ */

/* Avoid default purple visited links (keep UI consistent) – but don't break header CTAs. */
#header a:visited,
#topbar a:visited,
#primary a:visited,
footer a:visited {
	color: inherit;
}

/* Preserve white text for button-like links. */
a.text-white:visited,
#header a.drannakot-cta:visited,
#header a.drannakot-cta:visited *,
footer a.text-white:visited {
	color: #fff;
}

#primary a.text-white:visited {
	color: #fff;
}

#primary a.text-white:visited * {
	color: inherit;
}

/* Ensure content links stay primary even when visited. */
.prose a,
.prose a:visited {
	color: #2f80ed;
}

/* Gutenberg service pages.
   The editor content is structured into multiple top-level Group blocks.
   Each top-level group becomes a "card" like the design mock. */
.single-uslugi .drannakot-service-content {
	line-height: 1.75;
}

.single-uslugi .drannakot-service-content > * + * {
	margin-top: 1.35rem;
}

.single-uslugi .drannakot-service-content h2,
.single-uslugi .drannakot-service-content h3,
.single-uslugi .drannakot-service-content h4 {
	color: #111827;
	line-height: 1.2;
	scroll-margin-top: 7rem;
}

.single-uslugi .drannakot-service-content h2 {
	margin-top: 2.4rem;
	margin-bottom: 1rem;
	font-size: clamp(1.6rem, 1.35rem + 1vw, 2.2rem);
	font-weight: 800;
}

.single-uslugi .drannakot-service-content h3 {
	margin-top: 1.8rem;
	margin-bottom: 0.7rem;
	font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem);
	font-weight: 700;
}

.single-uslugi .drannakot-service-content p {
	margin: 0;
	font-size: 1.02rem;
}

.single-uslugi .drannakot-service-content p + p {
	margin-top: 1rem;
}

.single-uslugi .drannakot-service-content figure,
.single-uslugi .drannakot-service-content .wp-block-image {
	margin: 1.5rem 0;
}

.single-uslugi .drannakot-service-content img {
	border-radius: 1.25rem;
	height: auto;
	max-width: 100%;
}

.single-uslugi .drannakot-service-content > .wp-block-group {
	background: #f8fafc;
	border: 1px solid rgba(15, 23, 42, 0.06);
	border-radius: 2rem;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
	padding: clamp(1.25rem, 2.5vw, 2.25rem);
}

.single-uslugi .drannakot-service-content .wp-block-columns {
	align-items: flex-start;
	gap: 1.5rem;
}

.single-uslugi .drannakot-service-content .wp-block-column {
	min-width: 0;
}

.single-uslugi .drannakot-service-content .wp-block-buttons {
	margin-top: 1.5rem;
}

.single-uslugi .drannakot-service-content .wp-block-button__link {
	background: #2f80ed;
	border-radius: 9999px;
	box-shadow: none;
	color: #fff;
	font-size: 1rem;
	font-weight: 600;
	padding: 0.85rem 1.4rem;
}

.single-uslugi .drannakot-service-content .wp-block-button__link:hover,
.single-uslugi .drannakot-service-content .wp-block-button__link:focus {
	background: #1b5fb8;
	color: #fff;
}

.single-uslugi .drannakot-service-content .wp-block-table {
	overflow-x: auto;
}

.single-uslugi .drannakot-service-content table {
	width: 100%;
	border-collapse: collapse;
}

.single-uslugi .drannakot-service-content th,
.single-uslugi .drannakot-service-content td {
	border: 1px solid #e5e7eb;
	padding: 0.85rem 1rem;
	vertical-align: top;
}

.single-uslugi .drannakot-service-content thead th {
	background: #f8fafc;
	font-weight: 700;
	color: #111827;
}

.single-uslugi .drannakot-service-content details {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 1.35rem;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	padding: 1rem 1.15rem;
}

.single-uslugi .drannakot-service-content details + details {
	margin-top: 0.9rem;
}

.single-uslugi .drannakot-service-content summary {
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}

.single-uslugi .drannakot-service-content summary::-webkit-details-marker {
	display: none;
}

/* Service FAQ (bottom) should match home accordion style. */
.single-uslugi .drannakot-service-faq details {
	border: 1px solid #e5e7eb;
	border-radius: 1.25rem;
	background: #fff;
	box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
	padding: 0.9rem 1.1rem;
}

.single-uslugi .drannakot-service-faq summary {
	cursor: pointer;
	list-style: none;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.single-uslugi .drannakot-service-faq summary::-webkit-details-marker {
	display: none;
}

.single-uslugi .drannakot-service-faq [data-drannakot-faq] details + details {
	margin-top: 0.85rem;
}

/* Keep FAQ image stable even when accordions expand. */
.single-uslugi .drannakot-service-faq .drannakot-faq-image {
	flex: 0 0 auto;
	align-self: flex-start;
	min-height: 0;
	aspect-ratio: 4 / 5;
	width: 100%;
	max-width: 100%;
}

.single-uslugi .drannakot-service-faq .drannakot-faq-image img {
	display: block;
	height: 100% !important;
	width: 100% !important;
	object-fit: cover !important;
	object-position: 50% 50%;
}

.drannakot-faq-home__image {
	height: auto !important;
	min-height: 0;
	aspect-ratio: 4 / 5;
	max-width: 100%;
	width: 100%;
	align-self: flex-start;
	flex: 0 0 auto;
}

.drannakot-faq-home__image img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: center;
}

@media (max-width: 1024px) {
	.drannakot-faq-home__image {
		aspect-ratio: 3.75 / 4.6;
	}
}

@media (max-width: 640px) {
	.drannakot-faq-home__image {
		aspect-ratio: 16 / 11;
	}

	.drannakot-faq-home__image img {
		object-position: center top;
	}
}

.single-uslugi .drannakot-service-content {
	margin-top: 0;
}

.single-uslugi .drannakot-service-content > :first-child {
	margin-top: 0 !important;
}

.single-uslugi .drannakot-service-left {
	margin-top: 0;
	/* Guard against legacy HTML breaking the layout (floats/oversized media). */
	overflow: hidden;
	overflow-wrap: anywhere;
}

.single-uslugi .drannakot-service-left > :first-child {
	margin-top: 0 !important;
}

.single-uslugi .drannakot-service-left::after {
	content: "";
	display: block;
	clear: both;
}

.single-uslugi .drannakot-service-left img,
.single-uslugi .drannakot-service-left video,
.single-uslugi .drannakot-service-left iframe,
.single-uslugi .drannakot-service-left embed,
.single-uslugi .drannakot-service-left object,
.single-uslugi .drannakot-service-left svg,
.single-uslugi .drannakot-service-left canvas {
	max-width: 100%;
	height: auto;
}

.single-uslugi .drannakot-service-left figure {
	max-width: 100%;
}

.single-uslugi .drannakot-service-left table {
	max-width: 100%;
	width: 100%;
}

.single-uslugi .drannakot-service-left pre,
.single-uslugi .drannakot-service-left code {
	white-space: pre-wrap;
	word-break: break-word;
}

.single-uslugi .drannakot-service-content > :first-child > :first-child {
	margin-top: 0 !important;
}

.single-uslugi .drannakot-service-content h1:first-child,
.single-uslugi .drannakot-service-content h2:first-child,
.single-uslugi .drannakot-service-content h3:first-child,
.single-uslugi .drannakot-service-content h4:first-child,
.single-uslugi .drannakot-service-content p:first-child,
.single-uslugi .drannakot-service-content figure:first-child {
	margin-top: 0 !important;
}

.single-uslugi .drannakot-shortcuts .drannakot-shortcut-item {
	min-height: 3.5rem;
}

.single-uslugi .drannakot-shortcuts .drannakot-shortcut-label {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
}

@media (max-width: 781px) {
	.single-uslugi .drannakot-service-content .wp-block-columns {
		display: flex;
		flex-direction: column;
		gap: 1.25rem;
	}
}

@media (max-width: 640px) {
	.single-uslugi .site-main .container {
		padding-left: 0.85rem;
		padding-right: 0.85rem;
	}

	.single-uslugi .site-main > section:first-of-type {
		padding-bottom: 1rem;
	}

	.single-uslugi .site-main > section:first-of-type .mt-8.grid {
		gap: 1.1rem;
	}

	.single-uslugi .site-main > section:first-of-type .mt-6 {
		margin-top: 1rem;
	}

	.single-uslugi .site-main > section:first-of-type .grid.grid-cols-1.sm\\:grid-cols-2.gap-3 {
		gap: 0.85rem;
	}

	.single-uslugi .drannakot-hero-contact-grid {
		margin-top: 11px;
	}

	.single-uslugi .drannakot-service-mobile-stack {
		display: flex;
		flex-direction: column;
		gap: 0.85rem;
		margin-bottom: 1rem;
	}

	.single-uslugi .drannakot-service-mobile-card {
		border-radius: 1.5rem;
		background: #fff;
		border: 1px solid #e5e7eb;
		box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
		padding: 0.95rem 1rem;
		overflow: hidden;
	}

	.single-uslugi .drannakot-service-mobile-card--comfort {
		padding-bottom: 0.9rem;
	}

	.single-uslugi .drannakot-service-mobile-card--shortcuts {
		padding-top: 0.9rem;
	}

	.single-uslugi .drannakot-service-mobile-card--shortcuts .drannakot-shortcuts-panel__body {
		padding-top: 0.25rem;
	}

	.single-uslugi .drannakot-shortcuts-panel--dock.is-docked {
		position: fixed;
		top: 4.65rem;
		left: 50%;
		transform: translateX(-50%);
		width: calc(100vw - 1.5rem);
		max-width: 360px;
		z-index: 60;
		max-height: calc(100vh - 5.4rem);
		overflow: auto;
		margin: 0;
	}

	.single-uslugi .drannakot-shortcuts-mobile-spacer {
		height: 4.35rem;
	}

	.single-uslugi .drannakot-service-content {
		font-size: 0.95rem;
		line-height: 1.7;
	}

	.single-uslugi .drannakot-service-content h1 {
		font-size: 1.8rem;
		line-height: 1.1;
	}

	.single-uslugi .drannakot-service-content h2 {
		font-size: 1.3rem;
		line-height: 1.18;
	}

	.single-uslugi .drannakot-service-content h3 {
		font-size: 1.02rem;
		line-height: 1.25;
	}

	.single-uslugi .drannakot-service-content p {
		font-size: 0.91rem;
		line-height: 1.58;
	}

	.single-uslugi .drannakot-service-content li {
		font-size: 0.91rem;
		line-height: 1.58;
	}

	.single-uslugi .drannakot-service-content ul,
	.single-uslugi .drannakot-service-content ol {
		padding-left: 1.1rem;
	}

	.single-uslugi .drannakot-service-content .wp-block-button__link {
		font-size: 0.84rem;
		padding: 0.72rem 0.95rem;
	}

	.single-uslugi .drannakot-shortcuts-panel {
		padding: 0.72rem;
	}

	.single-uslugi .drannakot-shortcuts-panel,
	.single-uslugi .drannakot-shortcuts-panel > summary,
	.single-uslugi .drannakot-shortcuts-panel__body,
	.single-uslugi .drannakot-shortcut-item {
		border-radius: 1.2rem;
	}

	.single-uslugi .drannakot-shortcuts-panel summary {
		font-size: 0.82rem;
		line-height: 1.15;
	}

	.single-uslugi .drannakot-shortcuts-panel summary {
		padding-top: 0.15rem;
		padding-bottom: 0.15rem;
	}

	.single-uslugi .drannakot-service-faq .drannakot-faq-image {
		aspect-ratio: 16 / 11;
	}

	.single-uslugi .drannakot-service-faq details {
		padding: 0.75rem 0.9rem;
	}

	.single-uslugi .drannakot-service-faq summary {
		font-size: 0.88rem;
		line-height: 1.2;
	}

	.single-uslugi .drannakot-service-faq .drannakot-faq-image img {
		object-position: center top;
	}

	.single-uslugi .drannakot-shortcuts-panel__body {
		margin-top: 0.42rem;
		padding-top: 0.15rem;
	}

	.single-uslugi .drannakot-shortcuts .drannakot-shortcut-item {
		min-height: 2.35rem;
		padding: 0.58rem 0.72rem;
		font-size: 0.74rem;
		line-height: 1.2;
	}

	.single-uslugi .drannakot-shortcuts-panel .drannakot-shortcuts {
		gap: 0.45rem;
	}

	.single-uslugi .drannakot-service-content > * + * {
		margin-top: 0.9rem;
	}

	.single-uslugi .drannakot-service-content h2,
	.single-uslugi .drannakot-service-content h3,
	.single-uslugi .drannakot-service-content h4 {
		margin-top: 0.95rem;
		margin-bottom: 0.4rem;
	}

	.single-uslugi .drannakot-service-content p + p,
	.single-uslugi .drannakot-service-content ul + p,
	.single-uslugi .drannakot-service-content p + ul,
	.single-uslugi .drannakot-service-content p + ol {
		margin-top: 0.85rem;
	}

	.single-uslugi .drannakot-service-content figure,
	.single-uslugi .drannakot-service-content .wp-block-image {
		margin: 0.9rem 0;
	}

	.single-uslugi .drannakot-service-faq .drannakot-faq-image {
		margin-bottom: 0.25rem;
	}

	.single-uslugi .drannakot-service-content figure,
	.single-uslugi .drannakot-service-content .wp-block-image {
		border-radius: 1rem;
	}

	.single-uslugi .drannakot-service-content img {
		border-radius: 1rem;
	}

	.drannakot-opinie__title {
		font-size: 1.75rem;
		line-height: 1.1;
	}

	.drannakot-opinie__card {
		padding: 1.1rem;
	}

	.drannakot-back-to-top {
		width: 3rem;
		height: 3rem;
		right: 0.9rem;
		bottom: 0.9rem;
	}
}

.single-uslugi .drannakot-shortcuts-panel[open] .drannakot-shortcuts-panel__plus,
.single-uslugi .drannakot-shortcuts-panel:not([open]) .drannakot-shortcuts-panel__minus {
	display: none;
}

.single-uslugi .drannakot-shortcuts-panel:not([open]) .drannakot-shortcuts-panel__plus {
	display: inline-flex;
}

.single-uslugi .drannakot-shortcuts-panel[open] .drannakot-shortcuts-panel__minus {
	display: inline-flex;
}

.single-uslugi .drannakot-shortcuts-panel summary::-webkit-details-marker {
	display: none;
}

.single-uslugi .drannakot-shortcuts-panel__body {
	margin-top: 0.25rem;
}

.wp-block-drannakot-block-info.drannakot-block-info {
	border-radius: 2rem;
	background: #f8fafc;
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
	border: 1px solid rgba(15, 23, 42, 0.06);
	padding: 1.5rem;
}

.wp-block-drannakot-block-info.drannakot-block-info > .drannakot-block-info__h {
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 1.75rem;
	line-height: 1.2;
	font-weight: 800;
	color: #0b0b0c;
}

/* Editor-only helper styles (safe on front too). */
.drannakot-block-info__header {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	padding: 0.75rem 0.9rem;
	border-radius: 1.25rem;
	background: rgba(47, 128, 237, 0.06);
	border: 1px solid rgba(47, 128, 237, 0.14);
	margin-bottom: 1rem;
}

.drannakot-block-info .components-notice {
	margin: 0 0 1rem 0;
}

.drannakot-mini-faq {
	border-radius: 1.25rem;
	border: 1px dashed rgba(47, 128, 237, 0.35);
	background: rgba(47, 128, 237, 0.04);
	padding: 1rem;
}

.drannakot-mini-faq__header {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	margin-bottom: 0.75rem;
	color: #0b0b0c;
}

.drannakot-mini-faq__hint {
	font-size: 0.85rem;
	color: #475569;
}

.drannakot-opinie {
	padding: 3rem 0;
}

.drannakot-opinie__header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.5rem;
}

.drannakot-opinie__copy {
	max-width: 42rem;
}

.drannakot-opinie__eyebrow {
	color: #2f80ed;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin-bottom: 0.25rem;
}

.drannakot-opinie__title {
	margin: 0;
	color: #1e2a44;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.05;
	font-weight: 800;
}

.drannakot-opinie__nav {
	display: flex;
	gap: 0.75rem;
	padding-top: 0.25rem;
}

.drannakot-opinie__prev,
.drannakot-opinie__next {
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 999px;
	border: 1px solid rgba(30, 42, 68, 0.16);
	background: #fff;
	color: #1e2a44;
	font-size: 1.5rem;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.drannakot-opinie__prev:hover,
.drannakot-opinie__next:hover {
	transform: translateY(-1px);
	box-shadow: 0 8px 24px rgba(30, 42, 68, 0.12);
}

.drannakot-opinie__prev:disabled,
.drannakot-opinie__next:disabled {
	opacity: 0.35;
	cursor: default;
	box-shadow: none;
	transform: none;
}

.drannakot-opinie__track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(18rem, 1fr);
	gap: 1.5rem;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 2.5rem 0 0.5rem;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.drannakot-opinie__track::-webkit-scrollbar {
	display: none;
}

.drannakot-opinie__track > .wp-block-group,
.drannakot-opinie__card {
	position: relative;
	scroll-snap-align: start;
	background: #f8f9fb;
	border: 1px solid rgba(30, 42, 68, 0.08);
	border-radius: 1.5rem;
	box-shadow: 0 18px 40px rgba(30, 42, 68, 0.08);
	padding: 3.5rem 1.75rem 1.75rem;
	min-height: 16rem;
}

.drannakot-opinie__track > .wp-block-group::after,
.drannakot-opinie__card::after {
	content: '';
	position: absolute;
	top: 1.25rem;
	right: 1.25rem;
	width: 1.2rem;
	height: 1.2rem;
	background: url('assets/icons/icon-google-small.png') center/contain no-repeat;
}

.drannakot-opinie__track > .wp-block-group > .wp-block-group__inner-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.65rem;
}

.drannakot-opinie__avatar {
	width: 4rem;
	height: 4rem;
	margin: -5rem auto 0;
}

.drannakot-opinie__avatar img {
	width: 4rem;
	height: 4rem;
	object-fit: cover;
	border-radius: 999px;
	border: 4px solid #fff;
	box-shadow: 0 8px 18px rgba(30, 42, 68, 0.16);
}

.drannakot-opinie__name,
.drannakot-opinie__text,
.drannakot-opinie__rating,
.drannakot-opinie__date {
	margin: 0;
}

.drannakot-opinie__name {
	font-size: 1.125rem;
	line-height: 1.2;
	font-weight: 800;
	color: #1e2a44;
}

.drannakot-opinie__text {
	color: #5f6b81;
	font-size: 0.975rem;
	line-height: 1.65;
	font-style: italic;
}

.drannakot-opinie__rating {
	color: #f7b80c;
	font-size: 1.1rem;
	letter-spacing: 0.08em;
}

.drannakot-opinie__date {
	color: #8b93a7;
	font-size: 0.875rem;
}

@media (min-width: 768px) {
	.drannakot-opinie__track {
		grid-auto-columns: minmax(18rem, calc((100% - 1.5rem) / 2));
	}
}

@media (min-width: 1080px) {
	.drannakot-opinie__track {
		grid-auto-columns: minmax(18rem, calc((100% - 3rem) / 3));
	}
}

@media (max-width: 767px) {
	.drannakot-opinie__header {
		flex-direction: column;
	}

	.drannakot-opinie__track {
		padding-top: 1.5rem;
	}
}

.drannakot-block-info__badge {
	font-size: 0.7rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	font-weight: 700;
	color: #2f80ed;
}

.drannakot-block-info__title {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	font-weight: 800;
	color: #0b0b0c;
}

.drannakot-block-info__icon {
	color: #2f80ed;
	font-size: 1.15rem;
}

.wp-block-drannakot-block-info.drannakot-block-info > .drannakot-block-info__h {
	display: flex;
	align-items: center;
	gap: 0.65rem;
}

.wp-block-drannakot-block-info.drannakot-block-info > .drannakot-block-info__h .drannakot-block-info__hIcon {
	color: #2f80ed;
	font-size: 1.15em;
}

.wp-block-drannakot-block-info.drannakot-block-info.is-layout-no-media > .wp-block-columns {
	display: block;
}

.wp-block-drannakot-block-info.drannakot-block-info.is-layout-media-right > .wp-block-columns {
	direction: rtl;
}

.wp-block-drannakot-block-info.drannakot-block-info.is-layout-media-right > .wp-block-columns > * {
	direction: ltr;
}

/* Default link styling inside main content (so global links can stay "inherit"). */
#primary a:not(.text-white):not(.drannakot-cta),
#primary a:not(.text-white):not(.drannakot-cta):visited {
	color: #2f80ed;
	text-decoration: none;
}

#primary a:not(.text-white):not(.drannakot-cta):hover,
#primary a:not(.text-white):not(.drannakot-cta):focus {
	color: #1b5fb8;
	text-decoration: none;
}

/* Global micro-animations (prefers-reduced-motion friendly). */
@media (prefers-reduced-motion: no-preference) {
	.card-hover {
		will-change: transform;
	}

	.drannakot-arrow {
		display: inline-flex;
		align-items: center;
	}

	.drannakot-arrow i,
	.drannakot-arrow svg,
	.drannakot-arrow .drannakot-arrow-icon {
		transition: transform 220ms ease;
		will-change: transform;
	}

	/* Auto-animate common arrow icons, even when markup doesn't include `.drannakot-arrow`. */
	a i.ri-arrow-right-line,
	a i.ri-arrow-right-up-line,
	button i.ri-arrow-right-line,
	button i.ri-arrow-right-up-line {
		transition: transform 220ms ease;
		will-change: transform;
	}

	a:hover i.ri-arrow-right-line,
	a:focus-visible i.ri-arrow-right-line,
	a:hover i.ri-arrow-right-up-line,
	a:focus-visible i.ri-arrow-right-up-line,
	button:hover i.ri-arrow-right-line,
	button:focus-visible i.ri-arrow-right-line,
	button:hover i.ri-arrow-right-up-line,
	button:focus-visible i.ri-arrow-right-up-line {
		transform: translateX(4px);
	}

	a:hover .drannakot-arrow i,
	a:focus-visible .drannakot-arrow i,
	a:hover .drannakot-arrow svg,
	a:focus-visible .drannakot-arrow svg,
	a:hover .drannakot-arrow .drannakot-arrow-icon,
	a:focus-visible .drannakot-arrow .drannakot-arrow-icon {
		transform: translateX(4px);
	}

	.drannakot-float {
		animation: drannakot-float 2.6s ease-in-out infinite;
	}

	@keyframes drannakot-float {
		0%,
		100% {
			transform: translateY(0);
		}
		50% {
			transform: translateY(-4px);
		}
	}
}

/* Modal open/close animations */
.drannakot-modal.hidden {
	display: none;
}

.drannakot-modal__overlay {
	opacity: 0;
	transition: opacity 220ms ease;
}

.drannakot-modal__panel {
	transform: translateY(14px) scale(0.98);
	opacity: 0;
	transition: transform 220ms ease, opacity 220ms ease;
}

.drannakot-modal.is-open .drannakot-modal__overlay {
	opacity: 1;
}

.drannakot-modal.is-open .drannakot-modal__panel {
	transform: translateY(0) scale(1);
	opacity: 1;
}

.drannakot-modal.is-closing .drannakot-modal__overlay {
	opacity: 0;
}

.drannakot-modal.is-closing .drannakot-modal__panel {
	transform: translateY(14px) scale(0.98);
	opacity: 0;
}

/* Back-to-top + scroll progress */
#drannakot-scroll-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 9998;
	background: rgba(47, 128, 237, 0.92);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 80ms linear;
}

.drannakot-back-to-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 9998;
	width: 54px;
	height: 54px;
	border-radius: 9999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: #1e2a44;
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	color: #ffffff;
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transform: translateY(10px);
	pointer-events: none;
	transition: opacity 180ms ease, transform 180ms ease, background-color 180ms ease;
}

.drannakot-back-to-top i {
	font-size: 24px;
}

.drannakot-back-to-top.is-visible {
	opacity: 1;
	transform: translateY(0);
	pointer-events: auto;
}

.drannakot-back-to-top:hover,
.drannakot-back-to-top:focus-visible {
	background: #16203a;
}

/* Accordion animation for <details> blocks */
details > summary {
	transition: color 160ms ease;
}

details > summary i,
details > summary .ri-arrow-down-s-line,
details > summary .ri-add-line,
details > summary .ri-subtract-line {
	transition: transform 220ms ease;
}

details[open] > summary i,
details[open] > summary .ri-arrow-down-s-line {
	transform: rotate(180deg);
}

details > summary + * {
	transform-origin: top;
}

@media (prefers-reduced-motion: no-preference) {
	details[open] > summary + * {
		animation: drannakot-accordion-in 220ms ease both;
	}

	@keyframes drannakot-accordion-in {
		from {
			opacity: 0;
			transform: translateY(-6px);
		}
		to {
			opacity: 1;
			transform: translateY(0);
		}
	}

	/* Closing animation is handled by native <details> behavior; keep it snappy. */
}

/* Sticky footer: make #page a flex column that can push footer down. */
html,
body {
	height: 100%;
}

#page.site {
	display: flex;
	flex-direction: column;
	flex: 1 0 auto;
	min-height: 100vh;
}

#primary.site-main {
	flex: 1 0 auto;
}
