/*
Theme Name: Jana Art Child
Description: Child theme pro web Jana Art.
Author: Jana Art
Template: kadence
Version: 1.4.4
Text Domain: jana-art-child
*/

/* =========================================================
   ZÁKLAD A PROMĚNNÉ
   ========================================================= */

:root {
  --ja-bg: #F8F4EC;
  --ja-surface: #FFFDF8;
  --ja-text: #2F2E2B;
  --ja-muted: #6F6A61;
  --ja-line: #E5DCCD;
  --ja-accent: #C69A3A;
  --ja-sage: #7E8355;
  --ja-radius: 8px;
  --ja-error: var(--global-palette13, #B54747);
}

/* Společné jistoty */
.home .entry-content,
.home .entry-content * {
  box-sizing: border-box;
}

.ja-intro__inner,
.ja-categories__inner,
.ja-story-feature__inner,
.ja-contact-cta__inner {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* =========================================================
   HOMEPAGE
   ========================================================= */

/* Hero */
.ja-hero {
  display: flex;
  flex: 0 1 1280px !important;
  align-items: center;
  width: calc(100% - 32px) !important;
  max-width: 1280px !important;
  min-height: 600px;
  margin: 20px auto 0 !important;
  padding: 56px;
  background: var(--ja-bg);
  border-radius: var(--ja-radius);
}

.ja-hero__columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center !important;
  gap: 72px;
  width: 100% !important;
  margin: 0 !important;
}

.ja-hero__columns > .wp-block-column {
  min-width: 0;
}

.ja-hero__content h1 {
  max-width: 10ch;
  margin: 0 0 24px;
  font-size: clamp(48px, 4.4vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.025em;
	
	word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
	
}

.ja-hero__content > p {
  max-width: 48ch;
  margin: 0 0 28px;
  color: var(--ja-muted);
  font-size: 17px;
  line-height: 1.7;
}

.ja-hero__buttons .wp-block-button__link,
.wp-block-button.ja-hero__buttons .wp-block-button__link,
.ja-contact-cta__buttons .wp-block-button__link {
  padding: 0.85em 1.35em;
  border: 1px solid #B98A2F !important;
  border-radius: 3px;
  background: linear-gradient(135deg, #DFBF70 0%, #CDA147 52%, #B98528 100%) !important;
  box-shadow: 0 7px 18px rgba(126, 91, 28, 0.16);
  color: var(--ja-text) !important;
  font-weight: 600;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease;
}

.ja-hero__buttons .wp-block-button__link:hover,
.ja-hero__buttons .wp-block-button__link:focus-visible,
.wp-block-button.ja-hero__buttons .wp-block-button__link:hover,
.wp-block-button.ja-hero__buttons .wp-block-button__link:focus-visible,
.ja-contact-cta__buttons .wp-block-button__link:hover,
.ja-contact-cta__buttons .wp-block-button__link:focus-visible {
  border-color: var(--ja-text) !important;
  background: var(--ja-text) !important;
  box-shadow: 0 8px 20px rgba(47, 46, 43, 0.16);
  color: var(--ja-surface) !important;
}

.ja-hero__image {
  margin: 0;
}

.ja-hero__image img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0 !important;
  box-shadow: 0 10px 28px rgba(47, 46, 43, 0.07);
}

/* Úvodní text */
.ja-intro {
  padding: 72px 32px 28px;
}

.ja-intro__inner {
  max-width: 760px;
  text-align: center;
}

.ja-intro__inner h2 {
  margin: 0 0 24px;
  font-size: clamp(38px, 3.4vw, 52px);
  line-height: 1.12;
}

.ja-intro__inner p {
  margin: 0;
  color: var(--ja-muted);
  font-size: 18px;
  line-height: 1.8;
}

hr.jana-home-divider {
  display: block;
  width: 140px;
  height: 0;
  margin: 0 auto 34px !important;
  border: 0 !important;
  border-top: 1px solid rgba(126, 131, 85, 0.72) !important;
  background: none !important;
  opacity: 1;
}

/* Kategorie */
.ja-categories {
  padding: 0 32px 64px;
}

.ja-categories__inner {
  max-width: 1200px;
}

.ja-categories__inner > .wp-block-group__inner-container > h2,
.ja-categories__inner > h2 {
  display: none;
}

.ja-categories__grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch !important;
  gap: 28px;
  width: 100%;
  margin: 0 !important;
}

.ja-categories__grid > .wp-block-column {
  min-width: 0;
}

.ja-category-card {
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  transition: transform 220ms ease;
}

.ja-category-card > .wp-block-group__inner-container {
  display: flex;
  flex-direction: column;
}

.ja-category-card > .wp-block-group__inner-container > * {
  margin-block-start: 0 !important;
}

.ja-category-card__image {
  margin: 0 0 18px !important;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
  line-height: 0;
  transition: box-shadow 220ms ease;
}

.ja-category-card__image > a {
  display: block;
  line-height: 0;
}

.ja-category-card__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0 !important;
  vertical-align: top;
  transform: scale(1);
  transition: transform 260ms ease;
}


.ja-category-card__image figcaption {
  display: none !important;
}

.ja-category-card__title {
  margin: 0;
  text-align: center;
  font-size: 30px;
  line-height: 1.18;
}

.ja-category-card__title::before {
  content: "";
  display: block;
  width: 42px;
  height: 1px;
  margin: 0 auto 12px;
  background: var(--ja-accent);
  opacity: 0.78;
}

.ja-category-card__title a {
  color: var(--ja-text);
  text-decoration: none;
  transition: color 220ms ease;
}

.ja-category-card__link {
  display: none;
}

.ja-category-card:hover,
.ja-category-card:focus-within {
  transform: translateY(-4px);
}

.ja-category-card:hover .ja-category-card__image,
.ja-category-card:focus-within .ja-category-card__image {
  box-shadow: 0 12px 28px rgba(47, 46, 43, 0.08);
}

.ja-category-card:hover .ja-category-card__image img,
.ja-category-card:focus-within .ja-category-card__image img {
  transform: scale(1.022);
}

.ja-category-card:hover .ja-category-card__title a,
.ja-category-card:focus-within .ja-category-card__title a {
  color: var(--ja-accent);
}

/* Kotva hlavního CTA */
#kategorie {
  scroll-margin-top: 80px;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

/* O tvorbě a vybraný obraz */
.ja-story-feature {
  width: 100%;
  padding: 104px 24px;
  background: var(--ja-bg);
  box-shadow: 0 0 0 100vmax var(--ja-bg);
  clip-path: inset(0 -100vmax);
}

.ja-story-feature > .wp-block-group__inner-container {
  width: 100%;
}

.ja-story-feature__inner {
  max-width: 1200px;
}

.ja-story-feature__columns,
.ja-story-feature__columns.alignfull {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  align-items: center !important;
  gap: 72px;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
}

.ja-story-feature__columns > .wp-block-column {
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  flex-basis: auto !important;
}

.ja-story-feature__content {
  max-width: 520px;
}

.ja-story-feature__content::before {
  content: "";
  display: block;
  width: 64px;
  height: 1px;
  margin-bottom: 26px;
  background: var(--ja-accent);
}

.ja-story-feature__content h2 {
  margin: 0 0 28px;
  font-size: clamp(42px, 3.8vw, 58px);
  line-height: 1.08;
}

.ja-story-feature__content p {
  width: 100%;
  max-width: 46ch;
  margin: 0;
  color: var(--ja-muted);
  font-size: 18px;
  line-height: 1.8;
  overflow: visible;
}

.ja-story-feature__artwork {
  width: 100%;
  max-width: 440px;
  justify-self: end;
}

.ja-featured-artwork {
  width: 100%;
  margin: 0;
  padding: 28px 22px 24px;
  border: 1px solid rgba(185, 174, 152, 0.38);
  border-radius: var(--ja-radius);
  background: var(--ja-surface);
  box-shadow: 0 10px 28px rgba(47, 46, 43, 0.055);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.ja-featured-artwork__label {
  margin: 0 0 22px;
  color: var(--ja-accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ja-featured-artwork__image {
  width: 100%;
  margin: 0 0 20px;
  padding: 0;
  overflow: hidden;
  border-radius: 0;
  background: transparent;
}

.ja-featured-artwork__image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 0 !important;
  transform: scale(1);
  transition: transform 260ms ease;
}

.ja-featured-artwork__title {
  margin: 0 0 12px;
  font-size: 36px;
  line-height: 1.15;
}

.ja-featured-artwork__title a {
  color: var(--ja-text);
  text-decoration: none;
}

.ja-featured-artwork__meta {
  margin: 0 0 18px;
  color: var(--ja-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ja-featured-artwork__link {
  margin: 30px 0 0;
  padding-top: 22px;
  border-top: 1px solid rgba(185, 174, 152, 0.38);
  font-size: 14px;
  line-height: 1.4;
}

.ja-featured-artwork__link a {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  color: var(--ja-sage);
  font-weight: 600;
  letter-spacing: 0.07em;
  text-decoration: none;
  text-transform: uppercase;

  transition: color 180ms ease;
}

.ja-featured-artwork__link a::after {
  content: "";
  display: block;
  flex: 0 0 20px;
  width: 20px;
  height: 10px;

  background-color: currentColor;

  -webkit-mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E")
    center / contain no-repeat;

  mask:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 12'%3E%3Cpath d='M0 6h22M17 1l5 5-5 5' fill='none' stroke='black' stroke-width='1.6'/%3E%3C/svg%3E")
    center / contain no-repeat;

  transition: transform 180ms ease;
}

.ja-featured-artwork__link a:hover,
.ja-featured-artwork__link a:focus-visible {
  color: var(--ja-accent);
}

.ja-featured-artwork__link a:hover::after,
.ja-featured-artwork__link a:focus-visible::after {
  transform: translateX(4px);
}

.ja-featured-artwork:hover,
.ja-featured-artwork:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(47, 46, 43, 0.085);
}

.ja-featured-artwork:hover .ja-featured-artwork__image img,
.ja-featured-artwork:focus-within .ja-featured-artwork__image img {
  transform: scale(1.012);
}

/* Vstup do Zajímavostí */
.ja-story-feature__interests {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(185, 174, 152, 0.42);
}

.ja-story-feature__interests h3 {
  margin: 0 0 10px;
  font-size: 27px;
  line-height: 1.2;
}

.ja-story-feature__interests p {
  margin: 0 0 12px;
  color: var(--ja-muted);
  font-size: 15px;
  line-height: 1.65;
}

.ja-story-feature__interests a {
  color: var(--ja-accent);
  font-size: 15px;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}

/* Kontaktní CTA */
.ja-contact-cta {
  padding: 112px 24px 120px;
}

.ja-contact-cta__inner {
  max-width: 760px;
  text-align: center;
}

.ja-contact-cta__inner h2 {
  margin: 0 0 20px;
  font-size: clamp(40px, 3.6vw, 54px);
  line-height: 1.1;
}

.ja-contact-cta__inner > .wp-block-group__inner-container > p,
.ja-contact-cta__inner > p {
  max-width: 56ch;
  margin: 0 auto 28px;
  color: var(--ja-muted);
  font-size: 17px;
  line-height: 1.75;
}

.ja-contact-cta__buttons {
  margin: 0;
  justify-content: center;
}

/* Omezení pohybu */
@media (prefers-reduced-motion: reduce) {
  .ja-category-card,
  .ja-category-card__image,
  .ja-category-card__image img,
  .ja-featured-artwork,
  .ja-featured-artwork__image img {
    transition: none !important;
  }

  .ja-category-card:hover,
  .ja-category-card:focus-within,
  .ja-featured-artwork:hover,
  .ja-featured-artwork:focus-within {
    transform: none;
  }
}

/* Tablet a mobil do 1199 px */
@media (max-width: 1199px) {
  .ja-hero,
  .ja-intro__inner,
  .ja-categories__inner,
  .ja-story-feature__inner,
  .ja-contact-cta__inner {
    max-width: 680px;
  }

  .ja-hero {
    width: calc(100% - 40px) !important;
    min-height: 0;
    margin-top: 20px !important;
    padding: 52px 40px;
  }

  .ja-hero__columns,
  .ja-categories__grid,
  .ja-story-feature__columns,
  .ja-story-feature__columns.alignfull {
    display: flex !important;
    flex-direction: column;
  }

  .ja-hero__columns {
    gap: 42px;
  }

  .ja-hero__content h1 {
    max-width: 11ch;
    font-size: clamp(46px, 7vw, 62px);
  }

  .ja-categories__grid {
    gap: 36px;
  }

  .ja-category-card,
  .ja-story-feature__content,
  .ja-story-feature__artwork,
  .ja-featured-artwork {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  .ja-story-feature__columns {
    gap: 48px;
  }

  .ja-story-feature__content p {
    max-width: none;
  }
}

/* Mobil do 768 px */
@media (max-width: 768px) {
  .ja-hero {
    width: calc(100% - 16px) !important;
    margin-top: 16px !important;
    padding: 40px 16px;
  }

  .ja-hero__columns {
    gap: 32px;
  }

  .ja-hero__content h1 {
    font-size: clamp(40px, 12vw, 52px);
  }

  .ja-hero__content > p,
  .ja-intro__inner p,
  .ja-story-feature__content p {
    font-size: 16px;
  }

  .ja-intro {
    padding: 56px 20px 26px;
  }

  .ja-intro__inner {
    max-width: 340px;
  }

  .ja-intro__inner h2 {
    font-size: 36px;
  }

  hr.jana-home-divider {
    width: 120px;
    margin-bottom: 32px !important;
  }

  .ja-categories {
    padding: 0 12px 64px;
  }

  .ja-category-card {
    padding: 10px 10px 14px;
  }

  .ja-category-card__title {
    font-size: 28px;
  }

  #kategorie {
    scroll-margin-top: 36px;
  }

  .ja-story-feature {
    padding: 80px 20px;
  }

  .ja-story-feature__content::before {
    width: 48px;
    margin-bottom: 22px;
  }

  .ja-featured-artwork {
    padding: 22px 16px 18px;
  }

  .ja-featured-artwork__title {
    font-size: 31px;
  }

  .ja-contact-cta {
    padding: 80px 20px 88px;
  }
}

/* Úzký mobil do 349 px */
@media (max-width: 349px) {
  .ja-hero .wp-block-button__link {
    padding-left: 18px;
    padding-right: 18px;
    white-space: nowrap;
    font-size: 18px;
  }
}

/* =========================================================
   KONTAKTNÍ STRÁNKA A FORMULÁŘ
   ========================================================= */

/* Základ stránky */
.ja-contact-page {
  width: 100%;
  max-width: none !important;
  margin: 0 !important;
  padding: 0;
  background: transparent;
}

.page-id-22 .entry.single-entry {
  background: var(--ja-bg);
}

.ja-contact-page > .wp-block-group__inner-container,
.ja-contact-page__inner > .wp-block-group__inner-container,
.ja-contact-page__columns > .wp-block-group__inner-container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0;
}

/* Vnitřní kontejner */
.ja-contact-page__inner {
  width: min(calc(100% - 64px), 1200px) !important;
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 72px 0 96px;
}

/* Sloupce */
.ja-contact-page__columns {
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.ja-contact-page__columns
> .wp-block-group__inner-container
> .wp-block-columns {
  display: grid !important;
  grid-template-columns: minmax(320px, 0.85fr) minmax(0, 1.15fr);
  align-items: start !important;
  gap: clamp(72px, 7vw, 112px);
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
}

.ja-contact-page__columns
> .wp-block-group__inner-container
> .wp-block-columns
> .wp-block-column {
  width: auto !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  flex: none !important;
  flex-grow: 0 !important;
  flex-basis: auto !important;
}

/* Levý sloupec */
.ja-contact-page__info {
  min-width: 0;
}

.ja-contact-page__info h1 {
  margin-top: 0;
  margin-bottom: 24px;
}

.ja-contact-page__info h1 + p {
  max-width: 520px;
  margin-top: 0;
  margin-bottom: 0;
}

.ja-contact-page__info h3 {
  margin-top: 52px;
  margin-bottom: 12px;
}

.ja-contact-page__info h3 + p {
  margin-top: 0;
  margin-bottom: 0;
}

.ja-contact-page__info a {
  color: var(--global-palette2);
  text-decoration-color: rgba(126, 131, 85, 0.45);
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.ja-contact-page__info a:hover,
.ja-contact-page__info a:focus-visible {
  color: var(--global-palette1);
  text-decoration-color: currentColor;
}

.ja-contact-page__info .ja-contact-page__image {
  width: 100%;
  max-width: 420px;
  margin: 28px 0 0 !important;
}

.ja-contact-page__image img {
  display: block;
  width: 100%;
  height: auto;
}

/* Pravý sloupec */
.ja-contact-page__form {
  min-width: 0;
}

.ja-contact-page__form h2 {
  margin-top: 0;
  margin-bottom: 16px;
}

.ja-contact-page__form > p {
  margin-top: 0;
  margin-bottom: 32px;
  color: var(--global-palette5);
}

.ja-contact-page__form .fluentform,
.ja-contact-page__form .frm-fluent-form,
.ja-contact-page__form fieldset {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

/* Fluent Forms: struktura */
#fluentform_3 .ff-t-container {
  display: block !important;
  width: 100%;
  margin: 0 !important;
}

#fluentform_3 .ff-t-cell {
  width: 100% !important;
  padding: 0 !important;
}

#fluentform_3 .ff-el-group {
  margin-bottom: 22px;
}

#fluentform_3 .ff-el-input--label {
  margin-bottom: 8px;
}

#fluentform_3 .ff-el-input--label label {
  color: var(--global-palette3);
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.45;
}

#fluentform_3 .ff-el-is-required label::after {
  color: var(--global-palette1);
}

/* Fluent Forms: textová pole */
#fluentform_3 .ff-el-form-control {
  box-sizing: border-box;
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--global-palette3);
  font-family: Inter, sans-serif;
  line-height: 1.5;
  background: var(--global-palette8);
  border: 1px solid var(--ja-line);
  border-radius: 3px;
  box-shadow: none;
  transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
}

#fluentform_3 input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]),
#fluentform_3 textarea,
#fluentform_3 select {
  font-size: 16px !important;
}

#fluentform_3 .ff-el-form-control::placeholder {
  color: #918C83;
  opacity: 1;
}

#fluentform_3 .ff-el-form-control:hover {
  border-color: var(--global-palette6);
}

#fluentform_3 .ff-el-form-control:focus {
  outline: none;
  color: var(--global-palette3);
  background: var(--global-palette8);
  border-color: var(--global-palette1);
  box-shadow: 0 0 0 2px rgba(198, 154, 58, 0.12);
}

#fluentform_3 textarea.ff-el-form-control {
  min-height: 160px;
  resize: vertical;
}

/* Fluent Forms: telefonní pole */
#fluentform_3 .ff_input-group {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: stretch;
  width: 100%;
}

#fluentform_3 .ff_input-group-prepend {
  display: flex;
  flex: 0 0 auto;
}

#fluentform_3 .ff_input-group-text {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 14px;
  color: var(--global-palette5);
  font-family: Inter, sans-serif;
  font-size: 15px;
  line-height: 1.5;
  background: var(--global-palette7);
  border: 1px solid var(--ja-line);
  border-right: 0;
  border-radius: 3px 0 0 3px;
}

#fluentform_3 .ff_input-group > .ff-el-form-control {
  flex: 1 1 0;
  width: auto !important;
  min-width: 0;
  border-radius: 0 3px 3px 0;
}

/* Fluent Forms: souhlas */
#fluentform_3 .ff-el-form-check-label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #4B4843;
  font-family: Inter, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

#fluentform_3 .ff_tc_checkbox {
  flex: 0 0 auto;
  padding-top: 3px;
  line-height: 1;
}

#fluentform_3 .ff-el-form-check-input {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--global-palette1);
}

#fluentform_3 .ff_t_c {
  min-width: 0;
}

#fluentform_3 .ff_t_c p {
  margin: 0;
}

#fluentform_3 .ff-el-form-check-label a {
  color: var(--global-palette2);
  text-underline-offset: 3px;
}

#fluentform_3 .ff-el-form-check-label a:hover,
#fluentform_3 .ff-el-form-check-label a:focus-visible {
  color: var(--global-palette1);
}

/* Fluent Forms: Turnstile */
#fluentform_3 .ff-el-turnstile {
  margin-top: 4px;
  margin-bottom: 2px;
}

/* Fluent Forms: tlačítko */
#fluentform_3 .ff-btn-submit {
  min-height: 48px;
  padding: 12px 24px;
  color: var(--global-palette8) !important;
  font-family: Inter, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  background: var(--global-palette3) !important;
  border: 1px solid var(--global-palette3) !important;
  border-radius: 3px;
  box-shadow: none !important;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

#fluentform_3 .ff-btn-submit:hover,
#fluentform_3 .ff-btn-submit:focus-visible {
  color: var(--global-palette3) !important;
  background: var(--global-palette1) !important;
  border-color: var(--global-palette1) !important;
  box-shadow: none !important;
}

#fluentform_3 .ff-btn-submit:active {
  transform: translateY(1px);
}

/* Fluent Forms: chybové hlášky */
#fluentform_3 .ff-el-is-error .ff-el-form-control {
  border-color: var(--ja-error);
}

#fluentform_3 .error {
  margin-top: 6px;
  color: var(--ja-error);
  font-size: 13px;
  line-height: 1.4;
}

/* Potvrzení po odeslání */
:is(
  #fluentform_3_success,
  #fluentform_3 .ff-message-success,
  #fluentform_3 .ff_success,
  #fluentform_3 .ff-message-success-wrapper
) {
  margin: 0 !important;
  padding: 30px 32px !important;
  color: var(--ja-text) !important;
  background: linear-gradient(135deg, var(--ja-bg) 0%, var(--ja-surface) 100%) !important;
  border: 1px solid rgba(185, 174, 152, 0.55) !important;
  border-left: 3px solid var(--ja-accent) !important;
  border-radius: 3px !important;
  box-shadow: 0 12px 30px rgba(47, 46, 43, 0.07) !important;
}

:is(
  #fluentform_3_success,
  #fluentform_3 .ff-message-success,
  #fluentform_3 .ff_success,
  #fluentform_3 .ff-message-success-wrapper
) h3 {
  margin: 0 0 16px !important;
  color: var(--ja-text) !important;
  font-family: "Playfair Display", serif !important;
  font-size: 32px !important;
  font-weight: 600 !important;
  line-height: 1.15 !important;
}

:is(
  #fluentform_3_success,
  #fluentform_3 .ff-message-success,
  #fluentform_3 .ff_success,
  #fluentform_3 .ff-message-success-wrapper
) p {
  margin: 0 0 10px !important;
  color: var(--ja-muted) !important;
  font-size: 16px !important;
  line-height: 1.7 !important;
}

:is(
  #fluentform_3_success,
  #fluentform_3 .ff-message-success,
  #fluentform_3 .ff_success,
  #fluentform_3 .ff-message-success-wrapper
) .ja-form-success__note {
  margin-top: 18px !important;
  padding-top: 16px !important;
  color: var(--ja-sage) !important;
  font-size: 14px !important;
  border-top: 1px solid rgba(185, 174, 152, 0.45);
}

/* Kontakt: tablet 769 až 1199 px */
@media (min-width: 769px) and (max-width: 1199px) {
  .ja-contact-page__inner {
    width: min(calc(100% - 48px), 680px) !important;
    max-width: 680px !important;
    padding: 56px 0 80px;
  }

  .ja-contact-page__columns
  > .wp-block-group__inner-container
  > .wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 56px;
  }

  .ja-contact-page__info h3 {
    margin-top: 40px;
  }
}

/* Kontakt: mobil do 768 px */
@media (max-width: 768px) {
  .ja-contact-page__inner {
    width: calc(100% - 32px) !important;
    max-width: none !important;
    padding: 40px 0 64px;
  }

  .ja-contact-page__columns
  > .wp-block-group__inner-container
  > .wp-block-columns {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .ja-contact-page__info h1 {
    margin-bottom: 20px;
  }

  .ja-contact-page__info h3 {
    margin-top: 36px;
  }

  .ja-contact-page__form > p {
    margin-bottom: 28px;
  }

  #fluentform_3 .ff-el-group {
    margin-bottom: 19px;
  }

  #fluentform_3 textarea.ff-el-form-control {
    min-height: 150px;
  }

  #fluentform_3 .ff-btn-submit {
    width: 100%;
  }

  :is(
    #fluentform_3_success,
    #fluentform_3 .ff-message-success,
    #fluentform_3 .ff_success,
    #fluentform_3 .ff-message-success-wrapper
  ) {
    padding: 24px 22px !important;
    border-radius: var(--ja-radius) !important;
  }

  :is(
    #fluentform_3_success,
    #fluentform_3 .ff-message-success,
    #fluentform_3 .ff_success,
    #fluentform_3 .ff-message-success-wrapper
  ) h3 {
    font-size: 28px !important;
  }
}

/* =========================================================
   JANA ART CORE: GALERIE A VYBRANÉ OBRAZY
   ========================================================= */

/* Homepage slider: volná plocha kolem obrazu splývá s kartou */
.jana-art-featured-slider .jana-art-featured-slide__media {
  background: var(--ja-surface) !important;
  line-height: 0;
}

.jana-art-featured-slider .jana-art-featured-slide__image {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent;
}

/* =========================================================
   GALERIE OBRAZŮ – SJEDNOCENÉ KRÉMOVÉ POZADÍ
   ========================================================= */

body:has(.jana-art-gallery--category),
body:has(.jana-art-gallery--category) #wrapper,
body:has(.jana-art-gallery--category) #inner-wrap,
body:has(.jana-art-gallery--category) #main,
body:has(.jana-art-gallery--category) .site-main,
body:has(.jana-art-gallery--category) .content-area,
body:has(.jana-art-gallery--category) .content-container,
body:has(.jana-art-gallery--category) .content-wrap,
body:has(.jana-art-gallery--category) article.entry,
body:has(.jana-art-gallery--category) .entry-content-wrap {
  background-color: var(--ja-bg) !important;
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer .jana-footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;

  width: 100%;
  text-align: center;
}

.site-footer .jana-footer-accent {
  display: block;

  width: 52px;
  height: 2px;
  margin: 0 auto 10px;

  background: #C69A3A;
}

.site-footer .jana-footer-brand {
  margin: 0;

  color: #2F2E2B;

  font-family: "Playfair Display", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.site-footer .jana-footer-main a {
  color: #2F2E2B;

  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;

  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .jana-footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;

  width: 100%;
  margin: 0;

  color: #6F6A61;
  text-align: center;

  font-family: "Inter", Arial, sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

.site-footer .jana-footer-meta a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer .jana-footer-separator {
  color: #B9AE98;
}

.site-footer .jana-footer-main a:hover,
.site-footer .jana-footer-main a:focus-visible,
.site-footer .jana-footer-meta a:hover,
.site-footer .jana-footer-meta a:focus-visible {
  color: #C69A3A;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}


/* =========================
   Footer – Nastavení cookies
   ========================= */

.jana-footer-cookie {
  appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #2F2E2B;
  font: inherit;
  line-height: inherit;
  text-decoration: none;
  cursor: pointer;
}

.jana-footer-cookie:hover,
.jana-footer-cookie:focus-visible {
  color: #C69A3A;
}

.jana-footer-cookie:focus-visible {
  outline: 1px solid #C69A3A;
  outline-offset: 3px;
}

/* =========================================================
   FOOTER: TABLETOVÝ / ÚZKÝ REŽIM
   769–1199 px
   ========================================================= */

@media (min-width: 769px) and (max-width: 1199px) {

  .site-footer .jana-footer-accent {
    width: 48px;
  }

  .site-footer .jana-footer-brand {
    font-size: 26px;
  }
}


/* =========================================================
   FOOTER: MOBIL
   do 768 px
   ========================================================= */

@media (max-width: 768px) {

  .site-footer .jana-footer-main {
    gap: 7px;
  }

  .site-footer .jana-footer-accent {
    width: 44px;
    margin-bottom: 8px;
  }

  .site-footer .jana-footer-brand {
    font-size: 24px;
  }

  .site-footer .jana-footer-main a {
    font-size: 13px;
  }

  .site-footer .jana-footer-meta {
    flex-direction: column;
    gap: 4px;

    padding-inline: 20px;
    font-size: 12px;
  }

  .site-footer .jana-footer-separator {
    display: none;
  }
}

/* =========================
   Zajímavosti – oddělení karet
   mobilní a tabletový režim
   ========================= */

@media (max-width: 1199px) {

  .jana-art-interest-card::before {
    content: "";
    display: block;
    width: 56px;
    height: 2px;
    margin: 0 auto 24px;
    background: #C69A3A;
  }
}

/* =========================
   404
   ========================= */

.jana-404-page {
  background: #F8F4EC;
}

.jana-404-inner {
  width: min(100% - 40px, 760px);
  min-height: 560px;
  margin: 0 auto;
  padding: clamp(88px, 11vw, 150px) 0;
  text-align: center;
}

.jana-404-code {
  margin-bottom: 14px;
  color: #C69A3A;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.18em;
}

.jana-404-inner h1 {
  margin: 0;
  color: #2F2E2B;
  font-family: "Playfair Display", serif;
  font-size: clamp(36px, 5vw, 58px);
  font-weight: 500;
  line-height: 1.15;
}

.jana-404-text {
  max-width: 610px;
  margin: 24px auto 0;
  color: #6F6A61;
  font-size: 17px;
  line-height: 1.75;
}

.jana-404-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 34px;
  padding: 13px 24px;
  border: 1px solid #2F2E2B;
  background: #2F2E2B;
  color: #FFFDF8;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.jana-404-button:hover,
.jana-404-button:focus-visible {
  border-color: #C69A3A;
  background: #C69A3A;
  color: #FFFDF8;
}

.jana-404-galleries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
  color: #B9AE98;
}

.jana-404-galleries a {
  color: #2F2E2B;
  text-decoration: none;
}

.jana-404-galleries a:hover,
.jana-404-galleries a:focus-visible {
  color: #C69A3A;
}

@media (max-width: 768px) {

  .jana-404-inner {
    width: min(100% - 32px, 680px);
    min-height: 480px;
    padding: 72px 0 88px;
  }

  .jana-404-text {
    font-size: 16px;
    line-height: 1.7;
  }

}

/* ==================================================
   KONTAKT – PANEL POD FOTOGRAFIÍ
   ================================================== */

.jana-contact-panel {
  margin: 0 !important;
  padding-top: 38px !important;
}

.wp-block-columns.jana-contact-panel__columns {
  display: grid !important;
  grid-template-columns: minmax(0, 40fr) minmax(0, 60fr) !important;
  gap: 26px !important;
  margin: 0 !important;
  align-items: start;
}

.wp-block-columns.jana-contact-panel__columns > .wp-block-column {
  min-width: 0;
  width: auto !important;
  flex: none !important;
  flex-basis: auto !important;
  margin: 0 !important;
}


/* Nadpisy skupin */

.jana-contact-panel__title {
  margin: 0 0 16px !important;
  color: #2F2E2B;
  font-family: "Playfair Display", serif;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.25;
}


/* Přímý kontakt */

.jana-contact-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  margin-bottom: 15px;
}

.jana-contact-item:last-child {
  margin-bottom: 0;
}

.jana-contact-item span {
  color: #6F6A61;
  font-family: Inter, sans-serif;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
}

.jana-contact-item a {
  width: fit-content;
  color: #7E8355;
  font-family: Inter, sans-serif;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  text-decoration: none;
  border-bottom: 1px solid #B9AE98;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}

.jana-contact-item a:hover,
.jana-contact-item a:focus-visible {
  color: #C69A3A;
  border-color: #C69A3A;
}


/* Sociální sítě */

.jana-contact-panel__social {
  position: relative;
  padding-left: 24px;
  border: 0;
}

.jana-contact-panel__social::before {
  content: "";
  position: absolute;
  top: 3px;
  bottom: 10px;
  left: 0;
  width: 1px;
  background: rgba(198, 154, 58, 0.28);
}

.jana-contact-socials-note {
  max-width: 220px;
  margin: -6px 0 12px !important;
  color: #6F6A61;
  font-family: Inter, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.jana-contact-socials {
  display: flex !important;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  margin: 0 !important;
  padding: 0 !important;
}

.jana-contact-socials .wp-social-link {
  width: auto;
  margin: 0;
  color: #2F2E2B !important;
  background: transparent !important;
  border-radius: 0 !important;
  transform: none !important;
}

.jana-contact-socials .wp-social-link a {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 7px;

  width: auto;
  min-height: 32px;
  padding: 3px 0;

  color: inherit !important;
  text-decoration: none;
  border: 0 !important;
  border-radius: 0 !important;
}

.jana-contact-socials .wp-social-link svg {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: #6F6A61;
  transition: color 0.2s ease;
}

.jana-contact-socials .wp-block-social-link-label {
  font-family: Inter, sans-serif;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.jana-contact-socials .wp-social-link:hover,
.jana-contact-socials .wp-social-link:focus-within {
  color: #C69A3A !important;
  background: transparent !important;
  transform: none !important;
}

.jana-contact-socials .wp-social-link:hover svg,
.jana-contact-socials .wp-social-link:focus-within svg {
  color: #C69A3A;
}


/* ==================================================
   TABLET A MOBIL
   ================================================== */

@media (max-width: 1199px) {

  .jana-contact-panel {
    padding-top: 30px !important;
    padding-bottom: 32px;
    margin-bottom: 48px !important;
    border-bottom: 1px solid #E5DCCD;
  }

  .wp-block-columns.jana-contact-panel__columns {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 25px !important;
  }

  .jana-contact-panel__social {
    padding-top: 24px;
    padding-left: 0;
    border-top: 1px solid #E5DCCD;
  }

  .jana-contact-panel__social::before {
    display: none;
  }

  .jana-contact-socials-note {
    max-width: 280px;
  }

  .jana-contact-socials {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 12px 26px;
  }
}