@font-face {
    font-family: "FK Grotesk Neue";
    src: url("../fonts/FKGroteskNeue-Thin.woff2") format("woff2"),
    url("../fonts/FKGroteskNeue-Thin.woff") format("woff");
    font-weight: 200;
}
@font-face {
    font-family: "FK Grotesk Neue";
    src: url("../fonts/FKGroteskNeue-Light.woff2") format("woff2"),
    url("../fonts/FKGroteskNeue-Light.woff") format("woff");
    font-weight: 300;
}
@font-face {
    font-family: "FK Grotesk Neue";
    src: url("../fonts/FKGroteskNeue-Regular.woff2") format("woff2"),
    url("../fonts/FKGroteskNeue-Regular.woff") format("woff");
    font-weight: 400;
}
@font-face {
    font-family: "FK Grotesk Neue";
    src: url("../fonts/FKGroteskNeue-Medium.woff2") format("woff2"),
    url("../fonts/FKGroteskNeue-Medium.woff") format("woff");
    font-weight: 500;
}
@font-face {
    font-family: "FK Grotesk Neue";
    src: url("../fonts/FKGroteskNeue-Bold.woff2") format("woff2"),
    url("../fonts/FKGroteskNeue-Bold.woff") format("woff");
    font-weight: 700;
}
@font-face {
    font-family: "FK Grotesk Neue";
    src: url("../fonts/FKGroteskNeue-Black.woff2") format("woff2"),
    url("../fonts/FKGroteskNeue-Black.woff") format("woff");
    font-weight: 900;
}



/*
! tailwindcss v3.1.7 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
    box-sizing: border-box;
    /* 1 */
    border-width: 0;
    /* 2 */
    border-style: solid;
    /* 2 */
    border-color: currentColor;
    /* 2 */
}

::before,
::after {
    --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
*/

html {
    line-height: 1.5;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
    -moz-tab-size: 4;
    /* 3 */
    -o-tab-size: 4;
    tab-size: 4;
    /* 3 */
    font-family: FK Grotesk Neue, Arial, Helvetica, "Liberation Sans", sans;
    /* 4 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
    margin: 0;
    /* 1 */
    line-height: inherit;
    /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
    height: 0;
    /* 1 */
    color: inherit;
    /* 2 */
    border-top-width: 1px;
    /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
    font-size: inherit;
    font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

a {
    color: inherit;
    text-decoration: inherit;
}

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
    font-weight: bolder;
}

/*
1. Use the user's configured `mono` font family by default.
2. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

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

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
    text-indent: 0;
    /* 1 */
    border-color: inherit;
    /* 2 */
    border-collapse: collapse;
    /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    font-weight: inherit;
    /* 1 */
    line-height: inherit;
    /* 1 */
    color: inherit;
    /* 1 */
    margin: 0;
    /* 2 */
    padding: 0;
    /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
    text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
[type='button'],
[type='reset'],
[type='submit'] {
    -webkit-appearance: button;
    /* 1 */
    background-color: transparent;
    /* 2 */
    background-image: none;
    /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
    outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
    box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
    vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-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;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

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

/*
Add the correct display in Chrome and Safari.
*/

summary {
    display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
    margin: 0;
}

fieldset {
    margin: 0;
    padding: 0;
}

legend {
    padding: 0;
}

ol,
ul,
menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
    resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
    opacity: 1;
    /* 1 */
    color: #9ca3af;
    /* 2 */
}

input::placeholder,
textarea::placeholder {
    opacity: 1;
    /* 1 */
    color: #9ca3af;
    /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
    cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
    cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
    display: block;
    /* 1 */
    vertical-align: middle;
    /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

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

*, ::before, ::after {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:  ;
    --tw-pan-y:  ;
    --tw-pinch-zoom:  ;
    --tw-scroll-snap-strictness: proximity;
    --tw-ordinal:  ;
    --tw-slashed-zero:  ;
    --tw-numeric-figure:  ;
    --tw-numeric-spacing:  ;
    --tw-numeric-fraction:  ;
    --tw-ring-inset:  ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:  ;
    --tw-brightness:  ;
    --tw-contrast:  ;
    --tw-grayscale:  ;
    --tw-hue-rotate:  ;
    --tw-invert:  ;
    --tw-saturate:  ;
    --tw-sepia:  ;
    --tw-drop-shadow:  ;
    --tw-backdrop-blur:  ;
    --tw-backdrop-brightness:  ;
    --tw-backdrop-contrast:  ;
    --tw-backdrop-grayscale:  ;
    --tw-backdrop-hue-rotate:  ;
    --tw-backdrop-invert:  ;
    --tw-backdrop-opacity:  ;
    --tw-backdrop-saturate:  ;
    --tw-backdrop-sepia:  ;
}

::-webkit-backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:  ;
    --tw-pan-y:  ;
    --tw-pinch-zoom:  ;
    --tw-scroll-snap-strictness: proximity;
    --tw-ordinal:  ;
    --tw-slashed-zero:  ;
    --tw-numeric-figure:  ;
    --tw-numeric-spacing:  ;
    --tw-numeric-fraction:  ;
    --tw-ring-inset:  ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:  ;
    --tw-brightness:  ;
    --tw-contrast:  ;
    --tw-grayscale:  ;
    --tw-hue-rotate:  ;
    --tw-invert:  ;
    --tw-saturate:  ;
    --tw-sepia:  ;
    --tw-drop-shadow:  ;
    --tw-backdrop-blur:  ;
    --tw-backdrop-brightness:  ;
    --tw-backdrop-contrast:  ;
    --tw-backdrop-grayscale:  ;
    --tw-backdrop-hue-rotate:  ;
    --tw-backdrop-invert:  ;
    --tw-backdrop-opacity:  ;
    --tw-backdrop-saturate:  ;
    --tw-backdrop-sepia:  ;
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x:  ;
    --tw-pan-y:  ;
    --tw-pinch-zoom:  ;
    --tw-scroll-snap-strictness: proximity;
    --tw-ordinal:  ;
    --tw-slashed-zero:  ;
    --tw-numeric-figure:  ;
    --tw-numeric-spacing:  ;
    --tw-numeric-fraction:  ;
    --tw-ring-inset:  ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246 / 0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur:  ;
    --tw-brightness:  ;
    --tw-contrast:  ;
    --tw-grayscale:  ;
    --tw-hue-rotate:  ;
    --tw-invert:  ;
    --tw-saturate:  ;
    --tw-sepia:  ;
    --tw-drop-shadow:  ;
    --tw-backdrop-blur:  ;
    --tw-backdrop-brightness:  ;
    --tw-backdrop-contrast:  ;
    --tw-backdrop-grayscale:  ;
    --tw-backdrop-hue-rotate:  ;
    --tw-backdrop-invert:  ;
    --tw-backdrop-opacity:  ;
    --tw-backdrop-saturate:  ;
    --tw-backdrop-sepia:  ;
}

:root {
    --bg-color: #F2F1F0;
    /* @media (prefers-color-scheme: dark) {
          --bg-color: black;

      } */
}

html {
    background-color: #F2F1F0;
    background-color: var(--bg-color);
    font-family: FK Grotesk Neue, Arial, Helvetica, "Liberation Sans", sans;
    /*
      //font-size: 1.125rem;
      // backup
      // font-size: 1.4375rem;
      // @screen sm {
      // 	font-size: 1.4375rem;
      // }

      // @screen md {
      // 	font-size: 1.4375rem;
      // }
      // @screen lg {
      // 	font-size: 1.625rem;
      // }

      // @screen xl {
      // 	font-size: 1.813rem;
      // }
      */
    font-size: 1.1875rem;
}

@media (min-width: 640px) {
    html {
        font-size: 1.375rem;
    }
}

@media (min-width: 768px) {
    html {
        font-size: 1.375rem;
    }
}

@media (min-width: 1024px) {
    html {
        font-size: 1.5625rem;
    }
}

@media (min-width: 1280px) {
    html {
        font-size: 1.75rem;
    }
}

.font-s {
    font-size: .667rem;
    line-height: 1.5;
}

.font-base {
    font-size: 1rem;
    line-height: 1.3;
}

/* font-size: 1rem; */

@media (min-width: 768px) {
    .font-m {
        font-size: 1.267rem;
        line-height: 1.1;
    }
}

.font-xl {
    font-size: 1.5rem;
}

@media (min-width: 768px) {
    .font-xl {
        font-size: 2.667rem;
        line-height: 1;
    }
}

a {
    -webkit-text-decoration-line: underline;
    text-decoration-line: underline;
    transition: all .3s;
}

a:hover {
    opacity: 0.8;
}

.btn {
    border-radius: 0.5rem;
    line-height: 1;
    /* px-3 py-2 nefunguje */
    padding: 0.4em 0.6em;
}

nav {
    background-color: var(--bg-color);
    perspective: 1000px;
}

nav .nav-buttons a {
    --tw-bg-opacity: 1;
    background-color: rgb(138 139 138 / var(--tw-bg-opacity));
    -webkit-text-decoration-line: none;
    text-decoration-line: none;
    border-radius: 0.5rem;
    line-height: 1;
    /* px-3 py-2 nefunguje */
    padding: 0.4em 0.6em;
    /* background-color: darken(rgb(245, 239, 236), 10%); */
}

nav .nav-buttons a.active {
    border-width: 1px;
    --tw-border-opacity: 1;
    border-color: rgb(0 0 0 / var(--tw-border-opacity));
    background-color: transparent;
    background-image: none;
    font-weight: 500;
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity));
}

/*
			// &.language {
			// 	@apply ml-8;
			// }
			*/

nav a.logo {
    padding: 0;
    border-radius: 0;
    position: relative;
    transition: 0.5s;
}

nav a.logo.flip {
    h1 {
        opacity: 0;
    }
    h2 {
        opacity: 1;
    }
}

nav a.logo h1 {
    background-color: var(--bg-color);
}

nav a.logo h2 {
    background-color: var(--bg-color);
    positon: absolute;
    opacity: 0;
    top: 0;
    left: 0;
}

.card {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 1s;
    transform-style: preserve-3d;
}

.card__face {
    position: absolute;
    height: 100%;
    width: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.card__face--front {
    background: red;
}

.card__face--back {
    background: blue;
    transform: rotateY(180deg);
}

.card.is-flipped {
    transform: rotateY(180deg);
}

.widgets .widget {
    min-height: calc(50vh - 4.15rem);
}

/*
.article main {
	& p {
		@apply mb-8;
	}
}
*/

:is(.editor,.article main) img {
    border-radius: 0.5rem;
}

:is(.editor,.article main) figure {
    margin-bottom: 2rem;
}

:is(.editor,.article main) blockquote {
    margin-bottom: 2rem;
}

:is(.editor,.article main) strong {
    font-weight: 500;
}

:is(.editor,.article main) p {
    margin-bottom: 2rem;
}

:is(.editor,.article main) p:last-child {
    margin-bottom: 0;
}

:is(.editor,.article main) figcaption {
    /* @apply text-sm; */
}

:is(.editor,.article main) h1 {
    margin: auto;
    margin-top: 4rem;
    margin-bottom: 4rem;
    text-align: center;
    font-weight: 500;
    line-height: 1;
}

:is(.editor,.article main) h2 {
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-weight: 500;
    line-height: 1;
}

:is(.editor,.article main) h3 {
    margin: auto;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 500;
    line-height: 1;
}

.editor.editor-detail p,  .editor.contact-detail p {
    margin-bottom: 1rem;
}

.article-main-layout {
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
    font-size: 1rem;
    line-height: 1.3;
}

@media (min-width: 768px) {
    .article-main-layout {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1024px) {
    .article-main-layout {
        padding-left: 0;
        padding-right: 0;
        width: 68.23%;
    }
}

footer {
    padding-top: 1rem;
    line-height: 1.25;
    --tw-text-opacity: 1;
    color: rgb(138 139 138 / var(--tw-text-opacity));
}

footer p {
    margin-bottom: 1rem;
}

footer a {
    -webkit-text-decoration-line: none;
    text-decoration-line: none;
}

.widget-event .overlay:after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: inline-block;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0) 58%);
}

.nowrap-line {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    /* whitespace-no-wrap class */
    text-overflow: ellipsis;
    padding-bottom: 5px;
    margin-bottom: -5px;
}

.image-cards-grid {
    grid-auto-rows: calc(4rem + 45vh);
}

@media (min-width: 768px) {
    .image-cards-grid {
        grid-auto-rows: calc(4rem + 35vw);
    }
}

.image-card .image-wrapper {
    height: calc(100% - 5rem);
}

.image-gallery-strip {
    grid-auto-rows: 56vw;
}

@media (min-width: 768px) {
    .image-gallery-strip {
        grid-auto-rows: 28vw;
    }
}

@media (min-width: 1024px) {
    .image-gallery-strip {
        grid-auto-rows: 14vw;
    }
}

.image-gallery-strip .overlay span {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.3s;
    z-index: 50;
}

.image-gallery-strip .overlay .background {
    z-index: 40;
    opacity: 0;
    transition: opacity 0.4s;
}

.image-gallery-strip .overlay:hover span {
    opacity: 1;
    transform: scale(1);
}

.image-gallery-strip .overlay:hover .background {
    opacity: 0.6;
}

/* lightgallery */

.lg-outer .lg-img-wrap::before,
.lg-outer .lg-item::before {
    content: none;
}

.lg-backdrop {
    background-color: #faf9f8;
}

.lg-outer.lg-css .lg-current,
.lg-outer.lg-css3 .lg-current,
.lg-outer.lg-css3 .lg-next-slide,
.lg-outer.lg-css3 .lg-prev-slide {
    display: flex !important;
}

.lg-item {
    /* position: relative; */
    padding: 2rem 3rem;
    align-items: center;
}

.lg-outer .lg-img-wrap {
    position: relative;
    padding: 0;
    display: block;
    height: auto;
}

.lg-outer .lg-img-wrap img {
    border-radius: 0.5rem;
    max-height: 85vh;
}

.lg-toolbar {
    background-color: transparent;
    padding: 0.5rem;
}

.lg-toolbar .lg-close {
}

.lg-toolbar #lg-counter {
    padding: 0;
}

.lg-icon,
.lg-toolbar .lg-icon {
    margin-left: 0.25rem;
    border-radius: 0.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(138 139 138 / var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
    height: 47px;
    line-height: 27px;
    padding: 10px 0;
    text-align: center;
    width: 50px;
}

.lg-actions .lg-next,
.lg-actions .lg-prev {
    border-radius: 0.5rem;
    --tw-bg-opacity: 1;
    background-color: rgb(138 139 138 / var(--tw-bg-opacity));
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}

.lg-actions .lg-next {
    right: 0.5rem;
}

.lg-actions .lg-prev {
    left: 0.5rem;
}

.lg-sub-html {
    background-color: transparent;
    background-image: none;
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity));
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.videoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gridsquare {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(8rem, 1fr));
    grid-auto-rows: 1fr;
}

.gridsquare::before {
    content: '';
    width: 0;
    padding-bottom: 100%;
    grid-row: 1 / 1;
    grid-column: 1 / 1;
}

.gridsquare > *:first-child {
    grid-row: 1 / 1;
    grid-column: 1 / 1;
}

.aspect-w-1 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 1;
}

.aspect-w-1 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.aspect-h-1 {
    --tw-aspect-h: 1;
}

.aspect-w-3 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 3;
}

.aspect-w-3 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.aspect-w-16 {
    position: relative;
    padding-bottom: calc(var(--tw-aspect-h) / var(--tw-aspect-w) * 100%);
    --tw-aspect-w: 16;
}

.aspect-w-16 > * {
    position: absolute;
    height: 100%;
    width: 100%;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.aspect-h-9 {
    --tw-aspect-h: 9;
}

.visible {
    visibility: visible;
}

.static {
    position: static;
}

.absolute {
    position: absolute;
}

.relative {
    position: relative;
}

.sticky {
    position: -webkit-sticky;
    position: sticky;
}

.inset-0 {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.top-0 {
    top: 0;
}

.bottom-0 {
    bottom: 0;
}

.right-0 {
    right: 0;
}

.z-50 {
    z-index: 50;
}

.z-40 {
    z-index: 40;
}

.z-0 {
    z-index: 0;
}

.col-span-2 {
    grid-column: span 2 / span 2;
}

.col-span-1 {
    grid-column: span 1 / span 1;
}

.col-span-8 {
    grid-column: span 8 / span 8;
}

.col-span-4 {
    grid-column: span 4 / span 4;
}

.row-span-2 {
    grid-row: span 2 / span 2;
}

.row-span-1 {
    grid-row: span 1 / span 1;
}

.clear-both {
    clear: both;
}

.m-auto {
    margin: auto;
}

.m-2 {
    margin: 0.5rem;
}

.my-16 {
    margin-top: 4rem;
    margin-bottom: 4rem;
}

.mx-2 {
    margin-left: 0.5rem;
    margin-right: 0.5rem;
}

.my-4 {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.mx-4 {
    margin-left: 1rem;
    margin-right: 1rem;
}

.my-2 {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.my-8 {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.my-1 {
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.ml-0 {
    margin-left: 0;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-3 {
    margin-top: 0.75rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.mr-1 {
    margin-right: 0.25rem;
}

.mt-auto {
    margin-top: auto;
}

.mt-1 {
    margin-top: 0.25rem;
}

.block {
    display: block;
}

.inline-block {
    display: inline-block;
}

.inline {
    display: inline;
}

.flex {
    display: flex;
}

.table {
    display: table;
}

.grid {
    display: grid;
}

.hidden {
    display: none;
}

.h-full {
    height: 100%;
}

.h-6 {
    height: 1.5rem;
}

.h-\[75vh\] {
    height: 75vh;
}

.h-\[20vh\] {
    height: 20vh;
}

.h-16 {
    height: 4rem;
}

.h-auto {
    height: auto;
}

.h-12 {
    height: 3rem;
}

.h-8 {
    height: 2rem;
}

.max-h-\[75vh\] {
    max-height: 75vh;
}

.min-h-0 {
    min-height: 0px;
}

.w-full {
    width: 100%;
}

.w-6 {
    width: 1.5rem;
}

.flex-shrink {
    flex-shrink: 1;
}

.flex-grow {
    flex-grow: 1;
}

.table-auto {
    table-layout: auto;
}

.transform {
    transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.cursor-pointer {
    cursor: pointer;
}

.resize {
    resize: both;
}

.grid-flow-row-dense {
    grid-auto-flow: row dense;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

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

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

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

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

.grid-rows-4 {
    grid-template-rows: repeat(4, minmax(0, 1fr));
}

.grid-rows-3 {
    grid-template-rows: repeat(3, minmax(0, 1fr));
}

.flex-col {
    flex-direction: column;
}

.flex-wrap {
    flex-wrap: wrap;
}

.items-center {
    align-items: center;
}

.justify-end {
    justify-content: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

.overflow-hidden {
    overflow: hidden;
}

.rounded-lg {
    border-radius: 0.5rem;
}

.border {
    border-width: 1px;
}

.border-t {
    border-top-width: 1px;
}

.border-b {
    border-bottom-width: 1px;
}

.border-black {
    --tw-border-opacity: 1;
    border-color: rgb(0 0 0 / var(--tw-border-opacity));
}

.border-gray-light {
    --tw-border-opacity: 1;
    border-color: rgb(138 139 138 / var(--tw-border-opacity));
}

.bg-gray-light {
    --tw-bg-opacity: 1;
    background-color: rgb(138 139 138 / var(--tw-bg-opacity));
}

.bg-background {
    --tw-bg-opacity: 1;
    background-color: rgb(242 241 240 / var(--tw-bg-opacity));
}

.bg-gray-lightest {
    --tw-bg-opacity: 1;
    background-color: rgb(191 190 190 / var(--tw-bg-opacity));
}

.bg-white {
    --tw-bg-opacity: 1;
    background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-cover {
    background-size: cover;
}

.bg-center {
    background-position: center;
}

.object-cover {
    -o-object-fit: cover;
    object-fit: cover;
}

.p-2 {
    padding: 0.5rem;
}

.p-8 {
    padding: 2rem;
}

.px-2 {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.py-1 {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

.pt-8 {
    padding-top: 2rem;
}

.pt-2 {
    padding-top: 0.5rem;
}

.pb-2 {
    padding-bottom: 0.5rem;
}

.pb-16 {
    padding-bottom: 4rem;
}

.pt-16 {
    padding-top: 4rem;
}

.text-left {
    text-align: left;
}

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

.text-xl {
    font-size: 2.667rem;
    line-height: 1;
}

.text-base {
    font-size: 1rem;
    line-height: 1.3;
}

.text-m {
    font-size: 1.267rem;
    line-height: 1.1;
}

.text-s {
    font-size: .667rem;
    line-height: 1.5;
}

.text-xs {
    font-size: .5rem;
    line-height: 1.2;
}

.font-medium {
    font-weight: 500;
}

.font-bold {
    font-weight: 700;
}

.uppercase {
    text-transform: uppercase;
}

.italic {
    font-style: italic;
}

.leading-tight {
    line-height: 1.25;
}

.leading-none {
    line-height: 1;
}

.text-gray-light {
    --tw-text-opacity: 1;
    color: rgb(138 139 138 / var(--tw-text-opacity));
}

.text-white {
    --tw-text-opacity: 1;
    color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-black {
    --tw-text-opacity: 1;
    color: rgb(0 0 0 / var(--tw-text-opacity));
}

.no-underline {
    -webkit-text-decoration-line: none;
    text-decoration-line: none;
}

.opacity-75 {
    opacity: 0.75;
}

.opacity-0 {
    opacity: 0;
}

.opacity-100 {
    opacity: 1;
}

.filter {
    filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
}

.transition {
    transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform, filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-text-decoration-color, -webkit-backdrop-filter;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.transition-colors {
    transition-property: color, background-color, border-color, fill, stroke, -webkit-text-decoration-color;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
    transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, -webkit-text-decoration-color;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 150ms;
}

.duration-200 {
    transition-duration: 200ms;
}

.ease-out {
    transition-timing-function: cubic-bezier(0, 0, 0.2, 1);
}

.ease-in {
    transition-timing-function: cubic-bezier(0.4, 0, 1, 1);
}

.hover\:bg-background:hover {
    --tw-bg-opacity: 1;
    background-color: rgb(242 241 240 / var(--tw-bg-opacity));
}

.focus\:outline-none:focus {
    outline: 2px solid transparent;
    outline-offset: 2px;
    outline-color: transparent;
}

@media (min-width: 640px) {
    .sm\:w-3\/4 {
        width: 75%;
    }

    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 768px) {
    .md\:ml-1 {
        margin-left: 0.25rem;
    }

    .md\:w-3\/4 {
        width: 75%;
    }

    .md\:w-1\/2 {
        width: 50%;
    }

    .md\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .md\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .md\:grid-rows-2 {
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .md\:flex-row {
        flex-direction: row;
    }

    .md\:px-0 {
        padding-left: 0;
        padding-right: 0;
    }

    .md\:pr-2 {
        padding-right: 0.5rem;
    }

    .md\:pl-2 {
        padding-left: 0.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:my-0 {
        margin-top: 0;
        margin-bottom: 0;
    }

    .lg\:ml-1 {
        margin-left: 0.25rem;
    }

    .lg\:mt-16 {
        margin-top: 4rem;
    }

    .lg\:inline {
        display: inline;
    }

    .lg\:flex {
        display: flex;
    }

    .lg\:hidden {
        display: none;
    }

    .lg\:w-auto {
        width: auto;
    }

    .lg\:w-full {
        width: 100%;
    }

    .lg\:grid-cols-6 {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .lg\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .lg\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lg\:flex-col {
        flex-direction: column;
    }

    .lg\:items-center {
        align-items: center;
    }

    .lg\:object-contain {
        -o-object-fit: contain;
        object-fit: contain;
    }

    .lg\:px-12 {
        padding-left: 3rem;
        padding-right: 3rem;
    }

    .lg\:pr-0 {
        padding-right: 0;
    }

    .lg\:pl-0 {
        padding-left: 0;
    }

    .lg\:text-base {
        font-size: 1rem;
        line-height: 1.3;
    }

    .lg\:text-xs {
        font-size: .5rem;
        line-height: 1.2;
    }
}

@media (min-width: 1280px) {
    .xl\:col-span-2 {
        grid-column: span 2 / span 2;
    }

    .xl\:col-span-6 {
        grid-column: span 6 / span 6;
    }

    .xl\:ml-8 {
        margin-left: 2rem;
    }

    .xl\:w-2\/3 {
        width: 66.666667%;
    }

    .xl\:w-1\/3 {
        width: 33.333333%;
    }

    .xl\:grid-cols-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .xl\:pr-8 {
        padding-right: 2rem;
    }

    .xl\:text-m {
        font-size: 1.267rem;
        line-height: 1.1;
    }
}

@media (min-width: 1600px) {
    .xxl\:grid-cols-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
/* === Sjednocení "odkazové" dlaždice na /info/knihovna ===
   1) Zkuste class .linktile (často ji generuje builder pro blok 'linktile')
   2) Přidejte i fallback na odkazy směřující na InDesign (indd.adobe.com)
   3) Využívá globální proměnnou --tile-aspect (3/4), přepnutí na 4/5 jedním místem
*/

/* Rámeček/rohy/hover jako malé karty */
.linktile,
.linktile article,
.linktile a {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
    display: block;
}
.linktile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Obrázek drží stejný poměr a výřez */
.linktile img,
a[href*="indd.adobe.com"] img:first-child {
    aspect-ratio: 3 / 4;          /* změň na 4 / 5, pokud chceš vyšší obálky */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Stejné odsazení textů jako u malých karet */
.linktile h3,
.linktile .title,
.linktile .meta,
.linktile p {
    margin-left: .75rem;
    margin-right: .75rem;
}
/* === Sjednocení "odkazové" dlaždice na /info/knihovna ===
   1) Zkuste class .linktile (často ji generuje builder pro blok 'linktile')
   2) Přidejte i fallback na odkazy směřující na InDesign (indd.adobe.com)
   3) Využívá globální proměnnou --tile-aspect (3/4), přepnutí na 4/5 jedním místem
*/

/* Rámeček/rohy/hover jako malé karty */
.linktile,
.linktile article,
.linktile a {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
    display: block;
}
.linktile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Obrázek drží stejný poměr a výřez */
.linktile img,
a[href*="indd.adobe.com"] img:first-child {
    aspect-ratio: 3 / 4;          /* změň na 4 / 5, pokud chceš vyšší obálky */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Stejné odsazení textů jako u malých karet */
.linktile h3,
.linktile .title,
.linktile .meta,
.linktile p {
    margin-left: .75rem;
    margin-right: .75rem;
}
/* === Sjednocení "odkazové" dlaždice na /info/knihovna ===
   1) Zkuste class .linktile (často ji generuje builder pro blok 'linktile')
   2) Přidejte i fallback na odkazy směřující na InDesign (indd.adobe.com)
   3) Využívá globální proměnnou --tile-aspect (3/4), přepnutí na 4/5 jedním místem
*/

/* Rámeček/rohy/hover jako malé karty */
.linktile,
.linktile article,
.linktile a {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
    display: block;
}
.linktile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Obrázek drží stejný poměr a výřez */
.linktile img,
a[href*="indd.adobe.com"] img:first-child {
    aspect-ratio: 3 / 4;          /* změň na 4 / 5, pokud chceš vyšší obálky */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Stejné odsazení textů jako u malých karet */
.linktile h3,
.linktile .title,
.linktile .meta,
.linktile p {
    margin-left: .75rem;
    margin-right: .75rem;
}
/* === Sjednocení "odkazové" dlaždice na /info/knihovna ===
   1) Zkuste class .linktile (často ji generuje builder pro blok 'linktile')
   2) Přidejte i fallback na odkazy směřující na InDesign (indd.adobe.com)
   3) Využívá globální proměnnou --tile-aspect (3/4), přepnutí na 4/5 jedním místem
*/

/* Rámeček/rohy/hover jako malé karty */
.linktile,
.linktile article,
.linktile a {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
    display: block;
}
.linktile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Obrázek drží stejný poměr a výřez */
.linktile img,
a[href*="indd.adobe.com"] img:first-child {
    aspect-ratio: 3 / 4;          /* změň na 4 / 5, pokud chceš vyšší obálky */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Stejné odsazení textů jako u malých karet */
.linktile h3,
.linktile .title,
.linktile .meta,
.linktile p {
    margin-left: .75rem;
    margin-right: .75rem;
}
/* === Sjednocení "odkazové" dlaždice na /info/knihovna ===
   1) Zkuste class .linktile (často ji generuje builder pro blok 'linktile')
   2) Přidejte i fallback na odkazy směřující na InDesign (indd.adobe.com)
   3) Využívá globální proměnnou --tile-aspect (3/4), přepnutí na 4/5 jedním místem
*/

/* Rámeček/rohy/hover jako malé karty */
.linktile,
.linktile article,
.linktile a {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
    display: block;
}
.linktile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Obrázek drží stejný poměr a výřez */
.linktile img,
a[href*="indd.adobe.com"] img:first-child {
    aspect-ratio: 3 / 4;          /* změň na 4 / 5, pokud chceš vyšší obálky */
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Stejné odsazení textů jako u malých karet */
.linktile h3,
.linktile .title,
.linktile .meta,
.linktile p {
    margin-left: .75rem;
    margin-right: .75rem;
}
/* === Sjednocení "odkazové" dlaždice na /info/knihovna ===
   1) Zkuste class .linktile (často ji generuje builder pro blok 'linktile')
   2) Přidejte i fallback na odkazy směřující na InDesign (indd.adobe.com)
   3) Využívá globální proměnnou --tile-aspect (3/4), přepnutí na 4/5 jedním místem
*/

/* Rámeček/rohy/hover jako malé karty */
.linktile,
.linktile article,
.linktile a {
    border: 1px solid #eee;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
    display: block;
}
.linktile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,.06);
}

/* Obrázek drží stejný poměr a výřez */
.linktile img,
a[href*="indd.adobe.com"] img:first-child {
    aspect-ratio: 4 / 5
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

/* Stejné odsazení textů jako u malých karet */
.linktile h3,
.linktile .title,
.linktile .meta,
.linktile p {
    margin-left: .75rem;
    margin-right: .75rem;
}