/* Start custom CSS for html, class: .elementor-element-f5fec3b *//* =========================================
   MICHAŁÓWEK 2016 - NOWA GALERIA HERO
   wersja poprawiona: pełna szerokość + tekst w kontenerze
========================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
}

.mk-gallery-fullhero,
.mk-gallery-fullhero * {
  box-sizing: border-box;
}

/* Ukrycie domyślnego nagłówka strony */
body:has(.mk-gallery-fullhero) h1.entry-title,
body:has(.mk-gallery-fullhero) .entry-header,
body:has(.mk-gallery-fullhero) .page-header,
body:has(.mk-gallery-fullhero) .page-title {
  display: none !important;
}

/* Usunięcie pustego miejsca po nagłówku */
body:has(.mk-gallery-fullhero) .site-content,
body:has(.mk-gallery-fullhero) .content-area,
body:has(.mk-gallery-fullhero) main,
body:has(.mk-gallery-fullhero) article,
body:has(.mk-gallery-fullhero) .entry-content,
body:has(.mk-gallery-fullhero) .site-main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

/* Wrapper wyciąga TYLKO hero na pełną szerokość ekranu */
.mk-gallery-fullhero {
  position: relative;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  overflow: hidden !important;
  background: #003f31;
}

/* Sekcja */
.mk-gallery-fullhero-section {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 520px;
  overflow: hidden;
  background: #003f31;
}

/* Zdjęcie tła */
.mk-gallery-fullhero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.mk-gallery-fullhero-bg img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
}

/* Przyciemnienie zdjęcia */
.mk-gallery-fullhero-section::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      rgba(0, 40, 30, 0.88) 0%,
      rgba(0, 63, 49, 0.66) 34%,
      rgba(0, 0, 0, 0.16) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.12) 0%,
      rgba(0, 45, 34, 0.26) 100%
    );
}

/* Wewnętrzny kontener tekstu - to trzyma napis w dobrym miejscu */
.mk-gallery-fullhero-inner {
  position: relative;
  z-index: 2;
  width: min(1380px, 100%) !important;
  max-width: 1380px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 48px !important;
}

/* Treść */
.mk-gallery-fullhero-content {
  width: min(620px, 100%) !important;
  padding: 104px 0 96px 0 !important;
  color: #ffffff;
}

/* Breadcrumb */
.mk-gallery-fullhero-breadcrumb {
  display: inline-block;
  margin-bottom: 34px;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.78);
}

/* Tytuł */
.mk-gallery-fullhero h1 {
  position: relative;
  margin: 0 0 34px 0 !important;
  padding: 0 !important;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(68px, 7vw, 104px);
  line-height: 0.92;
  font-weight: 400;
  letter-spacing: -0.035em;
  color: #ffffff !important;
  text-decoration: none !important;
  border: none !important;
  box-shadow: none !important;
}

.mk-gallery-fullhero h1::before {
  display: none !important;
  content: none !important;
}

.mk-gallery-fullhero h1::after {
  content: "" !important;
  display: block !important;
  width: 70px !important;
  height: 2px !important;
  margin-top: 26px !important;
  background: #d8b56d !important;
  border: none !important;
}

/* Opis */
.mk-gallery-fullhero p {
  margin: 0 !important;
  max-width: 500px;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  font-size: 20px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

/* Tablet */
@media screen and (max-width: 1024px) {
  .mk-gallery-fullhero-section {
    min-height: 470px;
  }

  .mk-gallery-fullhero-inner {
    padding: 0 42px !important;
  }

  .mk-gallery-fullhero-content {
    width: min(620px, 100%) !important;
    padding: 86px 0 78px 0 !important;
  }

  .mk-gallery-fullhero h1 {
    font-size: 76px;
  }

  .mk-gallery-fullhero p {
    font-size: 18px;
  }
}

/* Telefon */
@media screen and (max-width: 640px) {
  .mk-gallery-fullhero-section {
    min-height: 430px;
  }

  .mk-gallery-fullhero-bg img {
    object-position: center;
  }

  .mk-gallery-fullhero-section::after {
    background:
      linear-gradient(
        90deg,
        rgba(0, 40, 30, 0.94) 0%,
        rgba(0, 63, 49, 0.76) 56%,
        rgba(0, 0, 0, 0.22) 100%
      ),
      linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.12) 0%,
        rgba(0, 45, 34, 0.30) 100%
      );
  }

  .mk-gallery-fullhero-inner {
    padding: 0 24px !important;
  }

  .mk-gallery-fullhero-content {
    width: 100% !important;
    padding: 72px 0 68px 0 !important;
  }

  .mk-gallery-fullhero-breadcrumb {
    margin-bottom: 28px;
    font-size: 12px;
  }

  .mk-gallery-fullhero h1 {
    font-size: 62px;
    line-height: 0.96;
  }

  .mk-gallery-fullhero h1::after {
    width: 58px !important;
    margin-top: 22px !important;
  }

  .mk-gallery-fullhero p {
    max-width: 340px;
    font-size: 17px;
    line-height: 1.55;
  }
}

/* =========================================
   GALERIA - USUNIĘCIE PRZERWY POD MENU
========================================= */

body:has(.mk-gallery-fullhero) .site-content,
body:has(.mk-gallery-fullhero) .content-area,
body:has(.mk-gallery-fullhero) main,
body:has(.mk-gallery-fullhero) article,
body:has(.mk-gallery-fullhero) .entry-content,
body:has(.mk-gallery-fullhero) .site-main,
body:has(.mk-gallery-fullhero) .container,
body:has(.mk-gallery-fullhero) .container-width,
body:has(.mk-gallery-fullhero) .steed_pc_section,
body:has(.mk-gallery-fullhero) .steed_pc_section_in {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.mk-gallery-fullhero {
  margin-top: 0 !important;
}

.mk-gallery-fullhero-section {
  margin-top: 0 !important;
}
/* Awaryjnie: dociągnięcie hero pod menu */
.mk-gallery-fullhero {
  margin-top: -10px !important;
}

```css
/* =========================================
   MICHAŁÓWEK 2016 - NOWA GALERIA
   układ jak w mockupie
========================================= */

html,
body {
  max-width: 100%;
  overflow-x: hidden !important;
  scroll-behavior: smooth;
}

/* Ukrycie domyślnego nagłówka strony */
body:has(.mk-gallery-page) h1.entry-title,
body:has(.mk-gallery-page) .entry-header,
body:has(.mk-gallery-page) .page-header,
body:has(.mk-gallery-page) .page-title {
  display: none !important;
}

/* Usunięcie przerw po nagłówku strony */
body:has(.mk-gallery-page) .site-content,
body:has(.mk-gallery-page) .content-area,
body:has(.mk-gallery-page) main,
body:has(.mk-gallery-page) article,
body:has(.mk-gallery-page) .entry-content,
body:has(.mk-gallery-page) .site-main,
body:has(.mk-gallery-page) .container,
body:has(.mk-gallery-page) .container-width,
body:has(.mk-gallery-page) .steed_pc_section,
body:has(.mk-gallery-page) .steed_pc_section_in {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.mk-gallery-page,
.mk-gallery-page * {
  box-sizing: border-box;
}

/* Pełna szerokość strony */
.mk-gallery-page {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow: hidden;
  background: #fbfaf6;
}

/* =========================================
   HERO
========================================= */

.mk-gallery-hero {
  position: relative;
  width: 100%;
  min-height: 300px;
  background: #003f31;
  overflow: hidden;
}

.mk-gallery-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.mk-gallery-hero-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.mk-gallery-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(0, 35, 27, 0.64) 0%,
      rgba(0, 35, 27, 0.42) 46%,
      rgba(0, 35, 27, 0.72) 100%
    ),
    linear-gradient(
      90deg,
      rgba(0, 35, 27, 0.36) 0%,
      rgba(0, 0, 0, 0.10) 50%,
      rgba(0, 35, 27, 0.28) 100%
    );
}

.mk-gallery-hero-content {
  position: relative;
  z-index: 2;
  width: min(1380px, 100%);
  margin: 0 auto;
  padding: 70px 48px 62px 48px;
  text-align: center;
  color: #ffffff;
}

.mk-gallery-hero h1 {
  margin: 0;
  padding: 0;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: clamp(64px, 7vw, 104px);
  line-height: 0.9;
  font-weight: 400;
  letter-spacing: 0.055em;
  text-transform: uppercase;
  color: #ffffff;
}

.mk-gallery-hero h1::before,
.mk-gallery-hero h1::after {
  display: none !important;
  content: none !important;
}

.mk-gallery-hero-line {
  width: min(390px, 100%);
  margin: 22px auto 20px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.82);
}

.mk-gallery-hero-line span:not(.mk-gallery-hero-mark) {
  display: block;
  height: 1px;
  flex: 1;
  background: rgba(255, 255, 255, 0.52);
}

.mk-gallery-hero-mark {
  font-size: 20px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.82);
}

.mk-gallery-hero p {
  margin: 0 auto;
  max-width: 560px;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.92);
}

/* =========================================
   LATA I GALERIE
========================================= */

.mk-gallery-years {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 34px 48px 54px 48px;
}

/* Nawigacja lat */

.mk-gallery-year-nav {
  margin: 0 auto 38px auto;
  text-align: center;
}

.mk-gallery-year-nav > span {
  display: block;
  margin-bottom: 24px;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #003f31;
}

.mk-gallery-year-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 42px;
  flex-wrap: wrap;
}

.mk-gallery-year-links a,
.mk-gallery-year-links a:visited {
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  font-size: 15px;
  line-height: 1;
  font-weight: 800;
  color: #1d1d1b !important;
  text-decoration: none !important;
}

.mk-gallery-year-links a:first-child {
  color: #00694e !important;
}

.mk-gallery-year-links a:first-child::after,
.mk-gallery-year-links a:hover::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 54px;
  height: 2px;
  background: #00694e;
  transform: translateX(-50%);
}

/* Sekcja roku */

.mk-gallery-year-block {
  margin: 0 0 38px 0;
  scroll-margin-top: 110px;
}

.mk-gallery-year-heading {
  display: flex;
  align-items: center;
  gap: 20px;
  margin: 0 0 16px 0;
}

.mk-gallery-year-heading h2 {
  margin: 0;
  padding: 0;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
  letter-spacing: -0.025em;
  color: #00694e;
}

.mk-gallery-year-heading h2::before,
.mk-gallery-year-heading h2::after {
  display: none !important;
  content: none !important;
}

.mk-gallery-year-heading span {
  width: 105px;
  height: 1px;
  background: rgba(0, 105, 78, 0.32);
}

/* Siatka kart */

.mk-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

/* Karta galerii */

.mk-gallery-card,
.mk-gallery-card:visited {
  display: block;
  background: #ffffff;
  color: #003f31 !important;
  text-decoration: none !important;
  border: 1px solid rgba(0, 63, 49, 0.16);
  box-shadow: 0 14px 34px rgba(0, 63, 49, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mk-gallery-card:hover,
.mk-gallery-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(0, 63, 49, 0.12);
  text-decoration: none !important;
}

.mk-gallery-card-image {
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: #003f31;
}

.mk-gallery-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.mk-gallery-card:hover .mk-gallery-card-image img,
.mk-gallery-card:focus .mk-gallery-card-image img {
  transform: scale(1.045);
}

.mk-gallery-card-body {
  min-height: 82px;
  padding: 18px 58px 18px 22px;
  position: relative;
  display: flex;
  align-items: center;
}

.mk-gallery-card h3 {
  margin: 0 0 7px 0;
  padding: 0;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 24px;
  line-height: 1.05;
  font-weight: 400;
  color: #003f31;
}

.mk-gallery-card h3::before,
.mk-gallery-card h3::after {
  display: none !important;
  content: none !important;
}

.mk-gallery-card p {
  margin: 0;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.25;
  color: rgba(29, 29, 27, 0.72);
}

.mk-gallery-card-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  border: 1px solid rgba(0, 105, 78, 0.56);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00694e;
  transform: translateY(-50%);
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.mk-gallery-card-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mk-gallery-card:hover .mk-gallery-card-arrow,
.mk-gallery-card:focus .mk-gallery-card-arrow {
  background: #00694e;
  color: #ffffff;
  transform: translateY(-50%) translateX(3px);
}

/* Przycisk kolejne lata */

.mk-gallery-more {
  margin: 20px 0 42px 0;
  text-align: center;
}

.mk-gallery-more a,
.mk-gallery-more a:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  min-height: 44px;
  padding: 13px 28px;
  border: 1px solid rgba(0, 105, 78, 0.58);
  background: transparent;
  color: #00694e !important;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: all 0.25s ease;
}

.mk-gallery-more a::after {
  content: "⌄";
  margin-left: 14px;
  font-size: 14px;
}

.mk-gallery-more a:hover,
.mk-gallery-more a:focus {
  background: #00694e;
  color: #ffffff !important;
}

/* =========================================
   DOLNE TRZY KAFLE
========================================= */

.mk-gallery-bottom-links {
  width: min(1160px, 100%);
  margin: 0 auto;
  padding: 0 48px 70px 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
}

.mk-gallery-bottom-card,
.mk-gallery-bottom-card:visited {
  position: relative;
  min-height: 134px;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 58px 1fr 42px;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  color: #ffffff !important;
  text-decoration: none !important;
  background:
    linear-gradient(
      90deg,
      rgba(0, 45, 34, 0.94) 0%,
      rgba(0, 63, 49, 0.78) 48%,
      rgba(0, 0, 0, 0.35) 100%
    ),
    var(--bottom-img);
  background-size: cover;
  background-position: center;
}

.mk-gallery-bottom-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,0.06) 0%,
      rgba(0,0,0,0.24) 100%
    );
}

.mk-gallery-bottom-card > * {
  position: relative;
  z-index: 1;
}

.mk-gallery-bottom-icon {
  width: 54px;
  height: 54px;
  color: #ffffff;
}

.mk-gallery-bottom-icon svg {
  width: 54px;
  height: 54px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.45;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mk-gallery-bottom-card h3 {
  margin: 0 0 8px 0;
  padding: 0;
  font-family: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  font-size: 26px;
  line-height: 1;
  font-weight: 400;
  color: #ffffff;
}

.mk-gallery-bottom-card h3::before,
.mk-gallery-bottom-card h3::after {
  display: none !important;
  content: none !important;
}

.mk-gallery-bottom-card p {
  margin: 0;
  max-width: 220px;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.88);
}

.mk-gallery-bottom-arrow {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.68);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 20px;
  transition: background 0.25s ease, transform 0.25s ease;
}

.mk-gallery-bottom-card:hover .mk-gallery-bottom-arrow,
.mk-gallery-bottom-card:focus .mk-gallery-bottom-arrow {
  background: #00694e;
  transform: translateX(3px);
}

/* =========================================
   RESPONSYWNOŚĆ
========================================= */

@media screen and (max-width: 1024px) {
  .mk-gallery-hero {
    min-height: 280px;
  }

  .mk-gallery-hero-content {
    padding: 62px 42px 56px 42px;
  }

  .mk-gallery-hero h1 {
    font-size: 74px;
  }

  .mk-gallery-years {
    padding: 32px 42px 50px 42px;
  }

  .mk-gallery-year-links {
    gap: 24px;
  }

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

  .mk-gallery-bottom-links {
    padding: 0 42px 58px 42px;
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

@media screen and (max-width: 640px) {
  .mk-gallery-hero {
    min-height: 260px;
  }

  .mk-gallery-hero-content {
    padding: 54px 24px 50px 24px;
  }

  .mk-gallery-hero h1 {
    font-size: 52px;
    letter-spacing: 0.035em;
  }

  .mk-gallery-hero-line {
    width: 260px;
    gap: 12px;
    margin: 18px auto 18px auto;
  }

  .mk-gallery-hero p {
    max-width: 320px;
    font-size: 15px;
  }

  .mk-gallery-years {
    padding: 28px 24px 42px 24px;
  }

  .mk-gallery-year-nav {
    margin-bottom: 30px;
  }

  .mk-gallery-year-nav > span {
    margin-bottom: 18px;
    font-size: 17px;
  }

  .mk-gallery-year-links {
    gap: 16px 22px;
  }

  .mk-gallery-year-links a {
    font-size: 14px;
  }

  .mk-gallery-year-block {
    margin-bottom: 32px;
  }

  .mk-gallery-year-heading h2 {
    font-size: 40px;
  }

  .mk-gallery-year-heading span {
    width: 82px;
  }

  .mk-gallery-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mk-gallery-card-image {
    height: 170px;
  }

  .mk-gallery-card-body {
    min-height: 78px;
  }

  .mk-gallery-card h3 {
    font-size: 23px;
  }

  .mk-gallery-bottom-links {
    padding: 0 24px 48px 24px;
  }

  .mk-gallery-bottom-card {
    min-height: 124px;
    padding: 24px 22px;
    grid-template-columns: 42px 1fr 34px;
    gap: 16px;
  }

  .mk-gallery-bottom-icon,
  .mk-gallery-bottom-icon svg {
    width: 40px;
    height: 40px;
  }

  .mk-gallery-bottom-card h3 {
    font-size: 24px;
  }

  .mk-gallery-bottom-card p {
    font-size: 13px;
  }

  .mk-gallery-bottom-arrow {
    width: 32px;
    height: 32px;
  }
}
/* =========================================
   ROZWIJANE STARSZE LATA GALERII
========================================= */

.mk-gallery-more-years {
  margin: 20px 0 42px 0;
}

.mk-gallery-more-years summary {
  width: fit-content;
  min-width: 250px;
  min-height: 44px;
  margin: 0 auto;
  padding: 13px 28px;
  border: 1px solid rgba(0, 105, 78, 0.58);
  background: transparent;
  color: #00694e;
  font-family: "Inter", "Montserrat", Arial, sans-serif;
  font-size: 13px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.mk-gallery-more-years summary::-webkit-details-marker {
  display: none;
}

.mk-gallery-more-years summary::after {
  content: "⌄";
  margin-left: 14px;
  font-size: 14px;
  line-height: 1;
}

.mk-gallery-more-years summary:hover {
  background: #00694e;
  color: #ffffff;
}

.mk-gallery-more-years[open] summary {
  margin-bottom: 42px;
  background: #00694e;
  color: #ffffff;
}

.mk-gallery-more-years[open] summary::after {
  content: "⌃";
}

.mk-more-open {
  display: none;
}

.mk-gallery-more-years[open] .mk-more-closed {
  display: none;
}

.mk-gallery-more-years[open] .mk-more-open {
  display: inline;
}

.mk-gallery-more-years-content {
  display: grid;
  gap: 0;
}

/* Delikatne wejście po rozwinięciu */
.mk-gallery-more-years[open] .mk-gallery-more-years-content {
  animation: mkGalleryReveal 0.28s ease both;
}

@keyframes mkGalleryReveal {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media screen and (max-width: 640px) {
  .mk-gallery-more-years summary {
    width: 100%;
    min-width: 0;
  }

  .mk-gallery-more-years[open] summary {
    margin-bottom: 32px;
  }
}/* End custom CSS */