/* Krokodili pages — desktop parity with live Elementor */
body.kd-theme,
body.kd-has-plugin-header {
  background: #000;
  color: #c9c9c9;
  font-family: "Montserrat", "Roboto", system-ui, sans-serif;
}


main {
  min-height: 50vh;
}

.kd-wrap,
.kd-home-videos,
.kd-home-section,
.kd-prose,
.kd-card-grid,
.kd-page-hero--home .kd-page-hero__title,
.kd-anketa-banner,
.kd-single__thumb,
.kd-single__back {
  max-width: 1140px;
}

/* —— Home videos: 2-col desktop (live post-12) —— */
.kd-home-videos {
  margin: 0.5rem auto 0;
  padding: 0 5%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  box-sizing: border-box;
  width: 100%;
  max-width: none; /* full width with side padding like live */
}
.kd-video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #111;
  overflow: hidden;
}
.kd-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* —— Heroes —— */
.kd-page-hero {
  padding: 2.5rem 5% 1.25rem;
  text-align: center;
  background: #000;
}
.kd-page-hero--home {
  text-align: center;
  padding: 2rem 5% 1rem;
}
.kd-page-hero__title {
  margin: 0 auto;
  color: #76c044;
  font-size: clamp(1.75rem, 4vw, 3rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.15;
}
.kd-page-hero__title--sentence {
  color: #76c044;
  text-transform: none;
  font-family: "Roboto", "Montserrat", system-ui, sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  line-height: 1.25;
  max-width: 1140px;
  text-align: center;
}
/* Kill MTL leftover underline under home hero */
.kd-page-hero__title--sentence::after,
.kd-home .kd-page-hero__title::after {
  display: none !important;
  content: none !important;
}

.kd-novosti .kd-page-hero__title {
  color: #f0f0f0;
  font-size: clamp(2.5rem, 8vw, 5.5rem);
  letter-spacing: -0.28px;
  line-height: 1.05;
  font-weight: 800;
}

/* —— Sections —— */
.kd-home-section {
  margin: 0 auto;
  padding: 1.75rem 5%;
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
}
.kd-home-section h2,
.kd-prose h2,
.kd-prose h3 {
  margin: 0 0 16px;
  color: #c9c9c9;
  font-size: 32px;
  font-weight: 500;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: normal;
}

.kd-prose {
  margin: 0 auto;
  padding: 0 5% 1.75rem;
  color: #c9c9c9;
  line-height: 19px;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0.87px;
  box-sizing: border-box;
  width: 100%;
  max-width: 1120px;
}
.kd-home-section .kd-prose {
  padding-left: 0;
  padding-right: 0;
  max-width: none;
}
.kd-prose p {
  margin: 0 0 14.4px;
  font-size: 16px;
  font-weight: 300;
  line-height: 19px;
  letter-spacing: 0.87px;
  color: #c9c9c9;
}
.kd-prose a {
  color: #76c044;
}
.kd-prose strong {
  font-weight: 700;
  color: #c9c9c9;
}

.kd-list {
  margin: 0 0 14.4px;
  padding-left: 40px;
  list-style: disc;
  letter-spacing: normal;
}
.kd-list li {
  margin: 0;
  padding: 0;
  color: #c9c9c9;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  letter-spacing: normal;
}
.kd-list li strong {
  font-weight: 700;
  color: #c9c9c9;
  font-size: 18px;
}

/* —— Novosti cards (archive-novosti) —— */
.kd-news-grid,
.kd-card-grid {
  display: grid;
  gap: 2.2rem 2.4rem;
  margin: 0 auto 3rem;
  padding: 0 5%;
  box-sizing: border-box;
  width: 100%;
}
.kd-news-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: none; /* live: full bleed with ~3% side padding */
  padding-left: 3%;
  padding-right: 3%;
  gap: 2.2rem 2rem;
}
.kd-card-grid {
  grid-template-columns: repeat(2, 1fr);
}
.kd-card-grid--kontakt {
  grid-template-columns: 1fr;
  max-width: 640px;
}

.kd-news-card,
.kd-info-card {
  border: 1px solid #c9c9c9;
  background: #000;
  overflow: hidden;
  padding: 1.25rem;
}
.kd-news-card__media {
  display: block;
  aspect-ratio: 2 / 1;
  background-size: cover;
  background-position: center;
  background-color: #111;
  margin: -1.25rem -1.25rem 1.25rem;
}
.kd-news-card__title {
  margin: 0 0 0.75rem;
  font-size: clamp(1.2rem, 2vw, 1.875rem);
  font-weight: 700;
  color: #c9c9c9;
  line-height: 1.25;
}
.kd-news-card__title a {
  color: inherit;
  text-decoration: none;
}
.kd-news-card__date,
.kd-single__date {
  color: #c9c9c9;
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
}
.kd-news-card__excerpt,
.kd-info-card__text {
  color: #c9c9c9;
  font-size: clamp(1.05rem, 1.6vw, 1.55rem);
  line-height: 1.4;
  font-weight: 500;
}
.kd-news-card__more {
  display: inline-block;
  margin-top: 1.25rem;
  color: #c9c9c9;
  font-weight: 700;
  font-size: 1.25rem;
  text-decoration: underline;
}
.kd-news-card__more:hover {
  color: #fff;
}

.kd-btn {
  display: inline-block;
  margin-top: 0.85rem;
  color: #76c044;
  font-weight: 700;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 1px solid #76c044;
  padding: 0.65rem 1.1rem;
}
.kd-btn:hover {
  color: #fff;
  border-color: #fff;
}

.kd-info-card__title {
  margin: 0 0 0.75rem;
  color: #76c044;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
}

.kd-anketa-banner {
  margin: 0 auto 2.5rem;
  padding: 1.5rem 5%;
  text-align: center;
  box-sizing: border-box;
  width: 100%;
}

.kd-single__thumb {
  margin: 0 auto 1.5rem;
  padding: 0 5%;
  box-sizing: border-box;
  width: 100%;
}
.kd-single__thumb img {
  display: block;
  width: 100%;
  height: auto;
}
.kd-single__back {
  margin: 0 auto;
  padding: 0 5% 3rem;
  box-sizing: border-box;
  width: 100%;
}

/* —— Kontakt (live 2-col: bio card + form) —— */
.kd-kontakt-grid {
  max-width: 1140px;
  margin: 0 auto 3rem;
  padding: 0 5%;
  display: grid;
  grid-template-columns: minmax(280px, 350px) minmax(0, 1fr);
  gap: 2.5rem 4%;
  align-items: start;
  box-sizing: border-box;
  width: 100%;
}
.kd-kontakt-card {
  text-align: center;
  padding: 1.5rem 1rem 2rem;
}
.kd-kontakt .kd-page-hero__title {
  color: #c9c9c9;
  font-family: "Roboto", "Montserrat", system-ui, sans-serif;
  font-weight: 600;
}
.kd-kontakt-card__photo {
  width: 220px;
  height: 220px;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid #c9c9c9;
  background: #111;
}
.kd-kontakt-card__name {
  color: #c9c9c9;
}
.kd-kontakt-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.kd-kontakt-card__name {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
  font-weight: 700;
}
.kd-kontakt-card__lead {
  margin: 0 0 1rem;
  color: #c9c9c9;
  font-size: 1rem;
}
.kd-kontakt-card__social {
  display: flex;
  justify-content: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}
.kd-kontakt-card__social a {
  color: #c9c9c9;
  font-size: 1.15rem;
}
.kd-kontakt-card__social a:hover {
  color: #76c044;
}
.kd-btn--donate {
  background: #76c044;
  color: #000 !important;
  border-color: #76c044;
  border-radius: 6px;
  padding: 0.7rem 1.6rem;
}
.kd-btn--donate:hover {
  background: #fff;
  border-color: #fff;
  color: #000 !important;
}

.kd-kontakt-form {
  max-width: 100%;
}
.kd-kontakt-form__heading {
  color: #fff;
  margin: 10px 0 1rem;
  font-size: 1.15rem;
  font-weight: 700;
}
.kd-kontakt-form input[type="text"],
.kd-kontakt-form input[type="email"],
.kd-kontakt-form input[type="tel"],
.kd-kontakt-form textarea,
.crock-form input[type="text"],
.crock-form input[type="email"],
.crock-form input[type="tel"],
.crock-form textarea {
  width: 100%;
  max-width: 100%;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  padding: 0.75rem 0.9rem;
  margin-bottom: 0.75rem;
  font-family: inherit;
  box-sizing: border-box;
}
.kd-kontakt-form input[type="submit"],
.crock-form input[type="submit"] {
  background: #76c044;
  color: #000;
  border: 0;
  font-weight: 800;
  text-transform: uppercase;
  padding: 0.75rem 1.5rem;
  cursor: pointer;
}

/* Mediji archive shell */
.kd-mediji .kd-page-hero__title {
  color: #fff;
  text-transform: none;
  font-weight: 700;
}
.kd-mediji__body {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 0 2rem;
}
.kd-mediji .mc-archive-container {
  padding: 20px 5% 40px !important;
}
.kd-mediji .mc-filter-bar,
.mc-filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}
.kd-mediji .mc-filter-btn,
.mc-filter-btn {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  color: #cc3366;
  border: 1px solid #cc3366;
  border-radius: 4px;
  padding: 8px 18px;
  cursor: pointer;
  font-family: "Montserrat", "Roboto", system-ui, sans-serif;
  font-weight: 400;
  font-size: 16px;
  letter-spacing: 0.2px;
  text-transform: none;
  line-height: 1.25;
}
.kd-mediji .mc-filter-btn.active,
.kd-mediji .mc-filter-btn:hover,
.mc-filter-btn.active,
.mc-filter-btn:hover {
  background: rgba(204, 51, 102, 0.12);
  color: #cc3366;
  border-color: #cc3366;
}

/* O nama / Naučni: green titles; Kontakt title is #C9C9C9 (live) */
.kd-onama .kd-page-hero__title {
  color: #76c044;
  text-transform: none;
  font-weight: 700;
}

/* —— Naučni kutak (live single-column) —— */
.kd-naucni {
  background: #000;
  color: #fff;
  padding: 2.5rem 5% 3.5rem;
}
.kd-naucni__inner {
  max-width: 1140px;
  margin: 0 auto;
  text-align: center;
}
.kd-naucni__title {
  margin: 0 0 1.5rem;
  color: #76c044;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  text-transform: none;
}
.kd-naucni__intro,
.kd-naucni__body,
.kd-naucni__contact-note {
  color: #fff;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  font-weight: 400;
  line-height: 1.65;
  margin: 0 auto 1.75rem;
}
.kd-naucni__intro p,
.kd-naucni__body p,
.kd-naucni__contact-note p {
  margin: 0 0 1rem;
}
.kd-naucni .kd-accent,
.kd-naucni em.kd-accent,
.kd-naucni span.kd-accent {
  color: #76c044;
  font-style: italic;
}
.kd-naucni span.kd-accent {
  font-style: normal;
}
.kd-naucni__section-title {
  margin: 2rem 0 1.25rem;
  color: #fff;
  font-size: clamp(1.5rem, 2.8vw, 2.25rem);
  font-weight: 700;
  line-height: 1.3;
}
.kd-naucni__study-title {
  margin: 0 0 1.25rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  color: #fff;
}
.kd-naucni__emails {
  margin-top: 1.5rem !important;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  font-weight: 600;
}
.kd-naucni__emails a {
  color: #76c044;
  text-decoration: none;
  font-weight: 700;
}
.kd-naucni__emails a:hover {
  text-decoration: underline;
}
.kd-naucni__cta-prompt {
  margin: 2rem 0 1rem;
  color: #fff;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  font-weight: 600;
}
.kd-naucni__cta {
  margin: 0 0 2rem;
}
.kd-btn--study {
  display: inline-block;
  background: #76c044;
  color: #000 !important;
  border: 1px solid #76c044;
  border-radius: 0;
  padding: 0.65rem 1.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
}
.kd-btn--study:hover {
  background: #fff;
  border-color: #fff;
  color: #000 !important;
}
.kd-naucni__contact-link {
  color: #76c044;
  font-size: 1.05rem;
  text-decoration: underline;
}
.kd-naucni__contact-link:hover {
  color: #fff;
}
.kd-naucni__contact-link-wrap {
  margin: 1.25rem 0 0;
}

@media (max-width: 1024px) {
  .kd-home-videos,
  .kd-home-section,
  .kd-prose,
  .kd-news-grid,
  .kd-card-grid,
  .kd-page-hero {
    padding-left: 3%;
    padding-right: 3%;
  }
  .kd-news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .kd-home-videos {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0.75rem 5% 0;
  }
  .kd-page-hero__title--sentence {
    font-size: 1.35rem;
    text-align: left;
  }
  .kd-page-hero--home {
    text-align: left;
  }
  .kd-novosti .kd-page-hero__title {
    font-size: 2.25rem;
    line-height: 2.5rem;
  }
  .kd-news-grid,
  .kd-card-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .kd-news-card__excerpt {
    font-size: 1.05rem;
    line-height: 1.35;
  }
  .kd-prose {
    font-size: 0.98rem;
  }
  .kd-kontakt-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .kd-kontakt-card__photo {
    width: 180px;
    height: 180px;
  }
}
