/* Vicdan Vakfı - Homepage Projects & Reports v1.3.0
   Black text override / theme-resistant
*/

.vv-projects-widget,
.vv-reports-widget {
  width: 100%;
  min-width: 0;
  color: #000 !important;
}

/* -----------------------------
   PROJECTS
   ----------------------------- */

.vv-projects-grid {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 16px !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.vv-project-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;

  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 8px;

  color: #000 !important;

  box-shadow: 0 1px 2px rgba(0,0,0,.025);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

@media (hover:hover) and (pointer:fine) {
  .vv-project-card:hover {
    transform: translateY(-2px);
    border-color: #cfcfcf !important;
    box-shadow: 0 8px 20px rgba(0,0,0,.055);
  }
}

/* IMAGE */

.vv-project-card__media {
  display: block;
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;

  background: #f3f3f3 !important;
  text-decoration: none !important;
}

.vv-project-card__img,
.vv-project-card__media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;

  object-fit: cover !important;
  object-position: center !important;

  transition: transform .3s ease;
}

@media (hover:hover) and (pointer:fine) {
  .vv-project-card:hover .vv-project-card__img {
    transform: scale(1.02);
  }
}

/* PROJECT BODY */

.vv-project-card__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-width: 0;
  margin: 0 !important;
  padding: 14px 15px 15px !important;

  color: #000 !important;
}

/* PROJECT TITLE */

.vv-project-card__title,
.vv-project-card__title a {
  margin: 0 0 7px !important;
  padding: 0 !important;

  color: #000 !important;
  opacity: 1 !important;

  font-size: 17px !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;

  text-decoration: none !important;
}

/* PROJECT EXCERPT */

.vv-project-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  margin: 0 0 10px !important;
  padding: 0 !important;

  color: #000 !important;
  opacity: 1 !important;

  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
}

/* PROJECT LINK */

.vv-project-card__link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 5px;

  margin-top: auto !important;
  padding: 0 !important;

  color: #000 !important;
  opacity: 1 !important;

  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;

  text-decoration: none !important;
}

.vv-project-card__link span {
  color: #000 !important;
  transition: transform .2s ease;
}

.vv-project-card__link:hover,
.vv-project-card__link:hover span {
  color: #000 !important;
}

.vv-project-card__link:hover span {
  transform: translateX(3px);
}


/* -----------------------------
   REPORTS
   ----------------------------- */

.vv-reports-grid {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px 12px !important;
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
}

.vv-report-card {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;

  color: #000 !important;
  border: 0 !important;
}

/* REPORT LINK */

.vv-report-card__link {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;

  min-height: 64px;
  width: 100%;

  margin: 0 !important;
  padding: 10px 12px !important;

  background: #fff !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 7px;

  color: #000 !important;
  opacity: 1 !important;

  text-decoration: none !important;

  transition:
    border-color .2s ease,
    background-color .2s ease,
    transform .2s ease;
}

@media (hover:hover) and (pointer:fine) {
  .vv-report-card__link:hover {
    transform: translateY(-1px);

    background: #fff !important;
    border-color: #cfcfcf !important;

    color: #000 !important;
  }
}

/* REPORT CONTENT */

.vv-report-card__content {
  display: block;
  min-width: 0;
  color: #000 !important;
}

/* REPORT DATE */

.vv-report-card__date {
  display: block;

  margin: 0 0 3px !important;
  padding: 0 !important;

  color: #000 !important;
  opacity: 1 !important;

  font-size: 10.5px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: .025em;
}

/* REPORT TITLE */

.vv-report-card__title {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;

  margin: 0 !important;
  padding: 0 !important;

  color: #000 !important;
  opacity: 1 !important;

  font-size: 14px !important;
  font-weight: 650 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

/* REPORT EXCERPT */

.vv-report-card__excerpt {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  overflow: hidden;

  margin: 4px 0 0 !important;
  padding: 0 !important;

  color: #000 !important;
  opacity: 1 !important;

  font-size: 11.5px !important;
  line-height: 1.4 !important;
}

/* REPORT ARROW */

.vv-report-card__arrow {
  display: flex;
  align-items: center;
  justify-content: center;

  flex: 0 0 24px;
  width: 24px;
  height: 24px;

  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid #bdbdbd !important;
  border-radius: 50%;

  color: #000 !important;
  opacity: 1 !important;

  font-size: 13px;
  line-height: 1;

  transition: transform .2s ease;
}

.vv-report-card__link:hover .vv-report-card__arrow {
  color: #000 !important;
  transform: translateX(3px);
}


/* -----------------------------
   SEE ALL
   ----------------------------- */

.vv-widget-all {
  display: flex;
  justify-content: flex-end;

  width: 100%;
  margin: 14px 0 0 !important;
  padding: 0 !important;

  color: #000 !important;
}

.vv-widget-all a,
.vv-widget-all a span {
  display: inline-flex;
  align-items: center;
  gap: 6px;

  margin: 0 !important;
  padding: 0 !important;

  color: #000 !important;
  opacity: 1 !important;

  font-size: 12.5px !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;

  text-decoration: none !important;
}

.vv-widget-all a:hover,
.vv-widget-all a:hover span {
  color: #000 !important;
}

.vv-widget-all a:hover span {
  transform: translateX(3px);
}


/* -----------------------------
   EMPTY
   ----------------------------- */

.vv-empty {
  margin: 0 !important;
  padding: 0 !important;

  color: #000 !important;
  opacity: 1 !important;
}


/* -----------------------------
   GLOBAL THEME OVERRIDE
   ----------------------------- */

.vv-projects-widget *,
.vv-reports-widget * {
  --vv-text: #000;

  color: #000 !important;
}

.vv-projects-widget a,
.vv-projects-widget a:visited,
.vv-projects-widget a:hover,
.vv-projects-widget a:focus,
.vv-projects-widget a:active,
.vv-reports-widget a,
.vv-reports-widget a:visited,
.vv-reports-widget a:hover,
.vv-reports-widget a:focus,
.vv-reports-widget a:active {
  color: #000 !important;
  text-decoration: none !important;
}


/* -----------------------------
   TABLET
   ----------------------------- */

@media (max-width: 1024px) {
  .vv-projects-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
  }

  .vv-reports-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}


/* -----------------------------
   MOBILE
   ----------------------------- */

@media (max-width: 767px) {
  .vv-projects-grid {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
  }

  .vv-project-card__media {
    aspect-ratio: 16 / 8.5;
  }

  .vv-project-card__body {
    padding: 12px 13px 13px !important;
  }

  .vv-project-card__title {
    font-size: 16px !important;
  }

  .vv-reports-grid {
    grid-template-columns: 1fr !important;
    gap: 8px !important;
  }

  .vv-report-card__link {
    min-height: 58px;
    padding: 9px 11px !important;
  }

  .vv-report-card__title {
    font-size: 13.5px !important;
  }

  .vv-widget-all {
    margin-top: 12px !important;
  }
}
