:root {
  --profilegreen: rgb(6, 87, 44);
  --profilegrey: rgb(201, 217, 207);
}


.profile_fieldheader {
  color: var(--profilegreen);
  font-weight: bold;
  margin: 0.5rem
}



.profile_webbutton {
  color: var(--profilegreen);
  font-weight: bold;
  margin: 0.5rem auto;
  /* Small vertical margin + center horizontally */
  display: inline-block;
  /* Keeps border tight around text */
  padding: 0.3rem 0.75rem;
  /* Optional padding for nicer spacing */
  border: 1px solid var(--profilegreen);
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  background-color: white;
}

.profile_webbutton_wrapper {
  text-align: center;
}

.profile_fieldcontent {
  color: black;
  margin: 0.5rem;
  margin-left: 2rem;
}

.profile_top_right {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.profile-box {
  max-width: 900px;
}

@media (min-width: 992px) {
  .profile-box {
    border: 2px solid var(--profilegreen);
    max-width: 900px;
  }
}

.profile-name {
  max-width: 900px;
  display: flex;
  align-content: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .profile-name {
    max-width: 900px;
    display: block;
  }
}

.profile-leftcolum {
  background-color: none
}

@media (min-width: 992px) {
  .profile-leftcolum {
    background-color: var(--profilegrey);
  }
}

.profile-bg-grey {
  background-color: var(--profilegrey);
}

.profile-rightcolumtop {
  background-color: var(--profilegreen);
  color: white;
}

.profile-image {
  max-width: 300px;
  max-height: 400px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* fills container, crops excess */
  display: block;
}

.profile-image-small {
  width: 150px;
  height: 200px;
  overflow: hidden;
}

.profile-image-small img {
  height: 100%;
  width: 100%;
}

.profile-flexrow {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.profile-icon {
  display: flex;
  align-items: stretch;
}

.profile-icon img {
  height: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.profile-image img.img-fluid {
  height: 100% !important;
  width: 100% !important;
  object-fit: cover;
  object-position: center;
}

.profile-box-small {
  border: 2px solid var(--profilegreen);
  margin: 0 auto;
  background-color: white;
  color: black;
  max-width: 550px;
}

.profile-box-small:hover {
  background-color: var(--profilegreen);
  color: white;
}

.profile-box-small:hover h5 {
  color: white;
}

.views-view-responsive-grid__item:only-child {
  grid-column: 1 / -1;
  max-width: 550px;      /* match your column min-width */
  width: 100%;
  margin-inline: auto;
}

.munkatars-profilecard-view-exposed-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  /* space between filters */
  align-items: center;
}

.munkatars-profilecard-view-exposed-form .form-item {
  flex: 1 1 auto;
  /* allow inputs to size nicely */
  min-width: 150px;
  /* optional */
}

.profile-desktop-only {
  display: none;
}

@media (min-width: 992px) {
  .profile-desktop-only {
    display: block;
  }
}

.profile-mobile-only {
  display: block;
}

@media (min-width: 992px) {
  .profile-mobile-only {
    display: none;
  }
}

.profile-list-view {
  margin: 0.5rem;
}

@media (min-width: 992px) {
  .profile-list-view {
    margin: 5rem;
  }
}

.view-munkatars-profilecard-view .views-exposed-form {
  display: flex;
  justify-content: center;
  /* centers horizontally */
  margin-bottom: 0.5rem;
}

.view-munkatars-profilecard-view .views-exposed-form > :first-child {
    gap: 1rem;
}

.views-view-responsive-grid.views-view-responsive-grid--horizontal {
  max-width: 1700px;
  /* shrinks to content width */
  margin: 0 auto
}

.icon-row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.icon-row>.icon-col {
  padding-left: 0 !important;
  padding-right: 0 !important;
  flex: 0 0 auto !important;
  width: auto !important;
}

.icon-col img[src*="styles/publikaciok_ikonsor"] {
  width: 32px;
  /* fixed size instead of % — adjust to taste */
  height: auto;
}