/*
@largerthanphone: ~"only screen and (min-width: 415px)";

@largerthantablet: ~"only screen and (min-width: 768px)";

@largerthansmalldesktop: ~"only screen and (min-width: 991px)";

@largerthandesktop: ~"only screen and (min-width: 1248px)";
*/


.ws-subsite-startpage-blurb {
  display: flex;
  padding-top: 2rem;
  padding-bottom: 2rem;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;


  flex-direction: column;
  position: relative;
  /*
  min-height: 483px;
  */
}

.ws-subsite-startpage-blurb__textcolumn {

  background-color: var(--white);
  border-top-left-radius: 1rem;
  border-top-right-radius: 1rem;
  display: flex;
  padding: 1rem 1.5rem 1rem 1.5rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  height: fit-content;
  z-index: 1;
}

.ws-subsite-startpage-blurb__imagecolumn {
  z-index: 0;
  /*
  position: absolute;
  right: 0;
  */
  width: 100%;
  border-bottom-left-radius: 0.625rem;
  border-bottom-right-radius: 0.625rem;
  box-shadow: var(--mc-boxshadow);
  max-height: 310px;
  object-fit: cover;
}

/*
.ws-subsite-startpage-blurb--reversed .ws-subsite-startpage-blurb__imagecolumn {
  right: unset;
  left: 0;
}
*/

.ws-subsite-startpage-blurb--reversed .ws-subsite-startpage-blurb__textcolumn {
  left: unset;
  right: 0;
}


@media only screen and (min-width: 768px) {

  .ws-subsite-startpage-blurb {
    flex-direction: row-reverse;
  }

  .ws-subsite-startpage-blurb--reversed {
    flex-direction: row;
  }

  .ws-subsite-startpage-blurb__textcolumn {

    padding: 2rem 2rem 2rem 2.5rem;
    position: absolute;
    left: 0;
    width: 46%;
    border-radius: 1rem;
  }

  .ws-subsite-startpage-blurb__imagecolumn {
    width: 69%;
    border-radius: 0.625rem;
    max-height: 448px;
  }
}

@media only screen and (min-width: 991px) {
  .ws-subsite-startpage-blurb__textcolumn {
    padding: 2.5rem 6.5rem 2.5rem 3rem;
    gap: 2rem;
  }

  .ws-subsite-startpage-blurb__imagecolumn {
    width: 54%;
  }
}


.ws-subsite-startpage-blurb__textcolumn__drop {
  transform: rotate(32deg);
}

.ws-subsite-startpage-blurb__textcolumn__drop--green {
  color: var(--mc-green);
}

.ws-subsite-startpage-blurb__textcolumn__drop--orange {
  color: var(--mc-peach);
}

.ws-subsite-startpage-blurb__textcolumn__drop--blue {
  color: var(--mc-blue-100);
}

.ws-subsite-startpage-blurb__textcolumn__heading {
  display: flex;
  gap: 1rem;
  margin: 0;
  font-size: 1.375rem;
  font-style: normal;
  font-weight: 700;
  line-height: 140%;
}

@media only screen and (min-width: 991px) {
  .ws-subsite-startpage-blurb__textcolumn__heading {
    font-size: 2rem;
  }
}

.ws-subsite-startpage-blurb__textcolumn__preamble {
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: 170%;
  margin: 0;
}

.ws-subsite-startpage-blurb__textcolumn__linkbutton {
  border-radius: 1.25rem;

  padding: 0.75rem 3rem;
  text-decoration: none;
}

.sv-theme-novagymnasiet .ws-subsite-startpage-blurb__textcolumn__linkbutton {
  background: var(--ng-yellow);
  box-shadow: var(--ng-boxshadow);
  color: var(--ng-grey);
}

.sv-theme-marint-centrum .ws-subsite-startpage-blurb__textcolumn__linkbutton {
  background: var(--mc-black);
  box-shadow: var(--mc-boxshadow);
  color: white;
}

.ws-subsite-startpage-blurb__textcolumn__linkbutton:hover {
  text-decoration: underline;
}

