/* =========================================================
   MitroCZECH - O nas v4 / CLEAN CSS
   Soubor pro: /user/documents/mc/mc-about-v2.css
   ========================================================= */

/* Skryti systemoveho nadpisu clanku */
body:has(.mc-about-v4) header[itemprop="headline"] h1,
body:has(.mc-about-v4) h1[itemprop="headline"],
body:has(.mc-about-v4) .article-detail__title,
body:has(.mc-about-v4) .article-detail__date {
  display: none !important;
}

/* O nas stranka nesmi zustat v uzkem clankovem/sloupcovem layoutu Shoptetu */
html body:has(.mc-about-v4) {
  background: #ffc00c !important;
}

html body:has(.mc-about-v4) #content,
html body:has(.mc-about-v4) .content-wrapper,
html body:has(.mc-about-v4) .content-wrapper-in,
html body:has(.mc-about-v4) .content,
html body:has(.mc-about-v4) .content-inner,
html body:has(.mc-about-v4) .article-detail,
html body:has(.mc-about-v4) .article-content,
html body:has(.mc-about-v4) .article-content-inner,
html body:has(.mc-about-v4) .news-item-detail,
html body:has(.mc-about-v4) .news-item-detail-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  float: none !important;
  clear: both !important;
  display: block !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
  background: #ffc00c !important;
}

/* Kdyby sablona mela vlevo pruh/sidebar, na teto strance ho vypneme */
html body:has(.mc-about-v4) aside,
html body:has(.mc-about-v4) .sidebar,
html body:has(.mc-about-v4) .sidebar-left,
html body:has(.mc-about-v4) .sidebar-right,
html body:has(.mc-about-v4) .left-sidebar,
html body:has(.mc-about-v4) .right-sidebar,
html body:has(.mc-about-v4) .filter-section,
html body:has(.mc-about-v4) .filters-wrapper {
  display: none !important;
}

/* Drobeckova navigace zustane bila a srovnana s hlavnim obsahem webu */
html body:has(.mc-about-v4) .breadcrumbs,
html body:has(.mc-about-v4) .breadcrumbs-wrapper,
html body:has(.mc-about-v4) .navigation-home-icon-wrapper {
  background: #fff !important;
}

html body:has(.mc-about-v4) .breadcrumbs-wrapper,
html body:has(.mc-about-v4) .breadcrumbs {
  max-width: 1420px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Hlavni blok O nas */
.mc-about-v4 {
  --yellow: #ffc00c;
  --black: #050505;
  --white: #ffffff;
  --cream: #fff1a8;
  --gray: #f5f5f5;
  --text: #111111;
  --muted: #666666;
  --border: rgba(0,0,0,.11);
  --shadow: 0 16px 38px rgba(0,0,0,.10);

  position: static !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  float: none !important;
  clear: both !important;

  width: min(1180px, calc(100vw - 48px)) !important;
  max-width: 1180px !important;
  margin: 26px auto 0 auto !important;
  padding: 0 0 50px !important;

  color: var(--text);
  font-size: 16px;
  line-height: 1.62;
}

.mc-about-v4,
.mc-about-v4 * {
  box-sizing: border-box;
  min-width: 0;
}

.mc-about-v4 img {
  display: block;
  max-width: 100%;
  height: auto;
}

.mc-about-v4 h1,
.mc-about-v4 h2,
.mc-about-v4 h3,
.mc-about-v4 p {
  margin: 0;
}

.mc-about-v4 h1,
.mc-about-v4 h2,
.mc-about-v4 h3 {
  color: var(--black);
  line-height: 1.12;
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: none !important;
}

.mc-about-v4 a {
  color: var(--black);
  font-weight: 900;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.mcav4-section {
  margin: 42px 0;
}

.mcav4-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.mcav4-kicker::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--yellow);
}

.mcav4-title {
  max-width: 1080px;
  margin-top: 16px;
  font-size: clamp(40px, 5vw, 70px);
  line-height: 1.02;
  letter-spacing: -0.052em;
  font-weight: 950;
}

.mcav4-title mark {
  background: rgba(255,192,12,.55);
  color: var(--black);
  padding: 0 .12em;
  border-radius: 12px;
}

.mcav4-lead {
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.42;
  color: #1d1d1d;
}

/* HERO */
.mcav4-hero {
  position: relative;
  padding: 30px;
  border-radius: 34px;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 18%, rgba(255,255,255,.62), transparent 24%),
    linear-gradient(135deg, var(--yellow), #ffe36b);
  box-shadow: var(--shadow);
}

.mcav4-hero::after {
  content: "";
  position: absolute;
  right: -95px;
  bottom: -115px;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  border: 36px solid rgba(0,0,0,.08);
  pointer-events: none;
}

.mcav4-hero-head {
  position: relative;
  z-index: 2;
  margin-bottom: 22px;
}

.mcav4-hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0,.88fr) minmax(0,1.12fr);
  gap: 22px;
  align-items: start;
}

.mcav4-hero-text {
  align-self: start;
  display: grid;
  gap: 15px;
  padding: 24px;
  border-radius: 28px;
  background: rgba(255,255,255,.48);
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 10px 26px rgba(0,0,0,.05);
}

.mcav4-hero-side {
  align-self: start;
  display: grid;
  gap: 14px;
}

.mcav4-hero-note {
  padding: 16px 18px;
  border-radius: 24px;
  background: var(--black);
  color: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.mcav4-hero-note p {
  margin-bottom: 13px;
  color: rgba(255,255,255,.88);
  font-size: 15px;
  line-height: 1.45;
}

.mcav4-hero-note strong {
  color: var(--yellow);
}

/* Tlacitka */
.mcav4-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.mcav4-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: 11px 17px;
  border-radius: 999px;
  font-weight: 950;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.mcav4-btn:hover {
  transform: translateY(-2px);
}

.mcav4-btn-primary {
  background: var(--black);
  color: var(--yellow) !important;
  box-shadow: 0 10px 22px rgba(0,0,0,.20);
}

.mcav4-hero-note .mcav4-btn-primary {
  background: var(--yellow);
  color: var(--black) !important;
}

.mcav4-btn-secondary {
  background: #fff;
  color: var(--black) !important;
  border: 1px solid rgba(0,0,0,.12);
}

/* Fotky */
.mcav4-photo {
  position: relative;
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.12);
  line-height: 0;
}

.mcav4-photo img {
  display: block;
  width: 100%;
  max-width: none;
}

.mcav4-photo-hero {
  background: transparent;
}

.mcav4-photo-hero img {
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  border-radius: 28px;
}

.mcav4-photo-people {
  min-height: 460px;
  aspect-ratio: 4 / 5;
}

.mcav4-photo-family {
  min-height: 360px;
  aspect-ratio: 4 / 3;
}

.mcav4-photo-wide {
  min-height: 280px;
  aspect-ratio: 16 / 10;
}

.mcav4-photo-people img,
.mcav4-photo-family img,
.mcav4-photo-wide img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  object-position: center center;
}

/* Mista pro dalsi fotky */
.mcav4-photo-placeholder {
  position: relative;
  min-height: 280px;
  aspect-ratio: 16 / 10;
  border: 2px dashed rgba(0,0,0,.18);
  background:
    linear-gradient(135deg, rgba(255,192,12,.13), rgba(255,192,12,.04)),
    #fafafa;
  box-shadow: none;
}

.mcav4-paste-zone {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: grid;
  place-items: center;
  padding: 24px;
  text-align: center;
  color: #666;
  font-weight: 800;
  line-height: 1.45;
}

.mcav4-paste-zone img {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
}

.mcav4-paste-zone small {
  display: block;
  margin-top: 5px;
  font-weight: 600;
  color: #888;
}

/* Duvera */
.mcav4-trust {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 14px;
  margin-top: 18px;
}

.mcav4-trust-item {
  padding: 18px;
  border-radius: 20px;
  background: var(--black);
  color: #fff;
}

.mcav4-trust-item strong {
  display: block;
  color: var(--yellow);
  font-size: 22px;
  line-height: 1.1;
}

.mcav4-trust-item span {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}

/* Hlavicky sekci */
.mcav4-head {
  max-width: 820px;
  margin: 0 auto 22px;
  text-align: center;
}

.mcav4-head h2 {
  margin-top: 10px;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.mcav4-head p {
  margin-top: 12px;
  color: var(--muted);
  font-size: 18px;
}

/* Gridy */
.mcav4-grid {
  display: grid;
  gap: 18px;
}

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

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

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

/* Karty */
.mcav4-card {
  position: relative;
  padding: 22px;
  border-radius: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  overflow: hidden;
}

.mcav4-card::before {
  content: "";
  position: absolute;
  right: -28px;
  top: -28px;
  width: 80px;
  height: 80px;
  border-radius: 24px;
  background: var(--yellow);
  transform: rotate(14deg);
  opacity: .9;
  pointer-events: none;
}

.mcav4-card h3,
.mcav4-card p,
.mcav4-card a,
.mcav4-card .mcav4-icon {
  position: relative;
  z-index: 2;
}

.mcav4-card h3 {
  margin-bottom: 9px;
  font-size: 20px;
  font-weight: 950;
}

.mcav4-card p {
  color: #333;
}

.mcav4-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: var(--black);
  color: var(--yellow);
  font-size: 22px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
}

.mcav4-step-icon {
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
}

.mcav4-card-link {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 9px 13px;
  border-radius: 999px;
  background: rgba(255,192,12,.18);
  color: #000 !important;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none !important;
}

.mcav4-card-link:hover {
  background: rgba(255,192,12,.35);
}

/* Kdo za tim stoji */
.mcav4-people {
  display: grid;
  grid-template-columns: minmax(0,.92fr) minmax(0,1.08fr);
  gap: 22px;
  align-items: stretch;
}

.mcav4-persons {
  display: grid;
  gap: 16px;
}

.mcav4-person {
  display: grid;
  grid-template-columns: 74px minmax(0,1fr);
  gap: 16px;
  align-items: start;
  padding: 20px;
  border-radius: 24px;
  background: var(--black);
  color: #fff;
}

.mcav4-avatar {
  width: 74px;
  height: 74px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  background: var(--yellow);
  color: var(--black);
  font-size: 30px;
  font-weight: 950;
}

.mcav4-person h3 {
  margin-bottom: 5px;
  color: var(--yellow);
  font-size: 24px;
}

.mcav4-person p {
  color: rgba(255,255,255,.86);
}

/* Rodinny blok */
.mcav4-story {
  display: grid;
  grid-template-columns: minmax(0,1.03fr) minmax(0,.97fr);
  gap: 22px;
  align-items: center;
  padding: 28px;
  border-radius: 32px;
  background: var(--black);
  color: #fff;
  overflow: hidden;
}

.mcav4-story h2 {
  color: var(--yellow);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.mcav4-story p {
  margin-top: 12px;
  color: rgba(255,255,255,.86);
}

/* Timeline */
.mcav4-timeline {
  display: grid;
  gap: 12px;
}

.mcav4-year {
  display: grid;
  grid-template-columns: 90px minmax(0,1fr);
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: var(--gray);
  border: 1px solid var(--border);
}

.mcav4-year strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 999px;
  background: var(--black);
  color: var(--yellow);
  font-weight: 950;
}

/* Details */
.mcav4-details {
  margin-top: 16px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: #fff;
  overflow: hidden;
}

.mcav4-details summary {
  cursor: pointer;
  padding: 18px 20px;
  font-weight: 950;
  list-style: none;
}

.mcav4-details summary::-webkit-details-marker {
  display: none;
}

.mcav4-details summary::after {
  content: "+";
  float: right;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--black);
  text-align: center;
  line-height: 28px;
  font-weight: 950;
}

.mcav4-details[open] summary::after {
  content: "-";
}

.mcav4-details-content {
  padding: 0 20px 20px;
}

/* Videa */
.mcav4-media-card {
  padding: 0;
}

.mcav4-media-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  background: #000;
}

.mcav4-media-content {
  padding: 16px;
}

.mcav4-media-content h3 {
  font-size: 18px;
}

.mcav4-media-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.mcav4-media-link {
  display: block;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--gray);
  text-decoration: none !important;
}

/* FAQ */
.mcav4-faq {
  display: grid;
  gap: 10px;
}

.mcav4-faq details {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  overflow: hidden;
}

.mcav4-faq summary {
  cursor: pointer;
  padding: 17px 18px;
  font-weight: 950;
  list-style: none;
}

.mcav4-faq summary::-webkit-details-marker {
  display: none;
}

.mcav4-faq summary::after {
  content: "+";
  float: right;
  color: var(--black);
  font-size: 22px;
  line-height: 1;
}

.mcav4-faq details[open] summary {
  background: var(--yellow);
}

.mcav4-faq details[open] summary::after {
  content: "-";
}

.mcav4-faq div {
  padding: 16px 18px 18px;
  color: #333;
}

/* Final */
.mcav4-final {
  padding: 30px;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(0,0,0,.94), rgba(0,0,0,.86)),
    var(--black);
  color: #fff;
  text-align: center;
}

.mcav4-final h2 {
  color: var(--yellow);
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 950;
  letter-spacing: -0.03em;
}

.mcav4-final p {
  max-width: 740px;
  margin: 12px auto 0;
  color: rgba(255,255,255,.84);
}

.mcav4-final .mcav4-actions {
  justify-content: center;
  margin-top: 20px;
}

/* Responsive */
@media (max-width: 1180px) {
  .mcav4-grid-4 {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }

  .mcav4-title {
    font-size: clamp(38px, 5.8vw, 60px);
  }
}

@media (max-width: 980px) {
  .mc-about-v4 {
    width: calc(100vw - 32px) !important;
  }

  .mcav4-hero-grid,
  .mcav4-people,
  .mcav4-story {
    grid-template-columns: 1fr;
  }

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

  .mcav4-grid-3 {
    grid-template-columns: 1fr;
  }

  .mcav4-photo-people {
    min-height: 340px;
    aspect-ratio: 4 / 3;
  }

  .mcav4-photo-family,
  .mcav4-photo-wide,
  .mcav4-photo-placeholder,
  .mcav4-paste-zone {
    min-height: 280px;
  }
}

@media (max-width: 680px) {
  .mc-about-v4 {
    width: calc(100vw - 24px) !important;
    padding-bottom: 38px !important;
    margin-top: 18px !important;
  }

  .mcav4-hero,
  .mcav4-story,
  .mcav4-final {
    padding: 20px;
    border-radius: 24px;
  }

  .mcav4-title {
    font-size: clamp(34px, 11vw, 46px);
  }

  .mcav4-hero-text {
    padding: 20px;
  }

  .mcav4-trust,
  .mcav4-grid-4,
  .mcav4-grid-2,
  .mcav4-media-list {
    grid-template-columns: 1fr;
  }

  .mcav4-person {
    grid-template-columns: 1fr;
  }

  .mcav4-year {
    grid-template-columns: 1fr;
  }

  .mcav4-photo-people,
  .mcav4-photo-family,
  .mcav4-photo-wide,
  .mcav4-photo-placeholder,
  .mcav4-paste-zone {
    min-height: 240px;
    aspect-ratio: 4 / 3;
    border-radius: 22px;
  }
}
