/**
 * @file Contains styling for typography.
 */

.pagecontent a:not(.env-button, .sv-proxy-portlet a),
.smhi-page-header .sv-text-portlet a,
.smhi-page-footer a {
   color: var(--color-sky-60);
   /*var(--env-link-font-color);*/
   text-decoration: var(--env-link-text-decoration);
   transition: var(--bg-and-typocolor-animation);
}

.pagecontent a:not(.env-button, .sv-proxy-portlet a):hover,
.smhi-page-header .sv-text-portlet a:hover,
.smhi-page-footer a:hover {
   color: var(--color-sky-70);
   /*var(--env-link-hover-font-color);*/
   text-decoration: var(--env-link-hover-text-decoration);
   transition: var(--bg-and-typocolor-animation);
}

.pagecontent a:not(.env-button, .sv-proxy-portlet a):focus-visible,
.smhi-page-header .sv-text-portlet a:focus-visible,
.smhi-page-footer a:focus-visible,
.smhi-social-sharing__item a:focus-visible,
.smhi-links-with-icons a:focus-visible,
.sv-predefinedsearch-portlet a:focus-visible {
   /* box-shadow: 0 0 0 var(--env-focus-offset) var(--env-focus-inner-color); */
   outline: var(--env-focus-size) solid var(--env-focus-outline-color);
   outline-offset: var(--env-focus-offset);
}

.heading {
   hyphens: auto;
}

.pagecontent .subheading {
   margin-top: 3rem;
   hyphens: auto;
}

.pagecontent .subheading3 {
   margin: 1rem 0 .25rem;
}
.pagecontent .sv-font-rubrik-niva-4 {
   margin: 0 0 .25rem;
}

.pagecontent p.normal {
   /*margin: 0.5rem 0 1rem;*/

   margin: 0 0 1.5rem;
}

.pagecontent p.normal:has(a) {
   margin-bottom: .5rem;
}

.pagecontent p.normal:last-child {
   margin-bottom: 0;
}

.pagecontent ul.normal {
   padding-left: 1em;
}

.pagecontent ul.normal li {
   margin: 0.5rem 0;
}

/*	Smoothing out text	*/
body {
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
}

/*	To smooth it out even more		*/
html,
html a {
   text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}


/*		Sektionsrubrik		*/

.smhi-section-heading h1,
.smhi-section-heading h2,
.smhi-section-heading .subheading,
.smhi-section-heading h3,
h2.smhi-section-heading,
a.smhi-section-heading {
   color: var(--color-cloud-100);
   font-family: var(--font-family-heading);
   font-style: normal;
   font-weight: 700;

   /*text-decoration: solid underline var(--color-cloud-100) .25rem;
   text-decoration-skip-ink: none;
   text-underline-offset: .375rem;*/
   margin-bottom: 0.75rem;
   border-bottom: 0.25rem solid var(--color-cloud-100);
   display: inline-block;
}

@media (min-width: 48rem) {

   .smhi-section-heading h1,
   .smhi-section-heading h2,
   .smhi-section-heading h3,
   h2.smhi-section-heading,
   a.smhi-section-heading {
      font-size: 1.25rem;
      line-height: 1.4;
   }
}

@media (max-width: 47.9375rem) {

   .smhi-section-heading h1,
   .smhi-section-heading h2,
   .smhi-section-heading h3,
   h2.smhi-section-heading,
   a.smhi-section-heading {
      font-size: 1.125rem;
      line-height: 1.4;
   }
}

/*  Links with icons  */


.smhi-links-with-icons a[href^="mailto:"]::before,
.smhi-links-with-icons a[href^="tel:"]::before {
   content: '';
   display: inline-block;
   width: 1.5rem;
   height: 1.5rem;
   margin: 0 .25rem 0 0;
   background-position: center;
   background-repeat: no-repeat;
   background-size: 1.5rem;
   vertical-align: middle;
}

.smhi-links-with-icons a[href^="tel:"]::before {
   background-image: url('/images/18.104dba0d18d553f548c15e8/1708527205345/phone-outline-24x24x--sky-60.svg');
}

.smhi-links-with-icons a[href^="mailto:"]::before {
   background-image: url('/images/18.104dba0d18d553f548c15e9/1708527205357/mail-outline-24x24x--sky-60.svg');
}

/* polopoly-blockquotes */

.polopoly-blockquote > blockquote {
    margin: 0;
    padding: 0;
    font-family: var(--env-font-family);
    font-weight: 400;
    font-style: normal;
    font-size: 1rem;
    color: var(--env-font-color);
    line-height: 1.5;

}

.polopoly-blockquote > blockquote::before {
    content: '–';
}
