/* Sameiginlegt stílblað fyrir allar síður ip.is */
/* Útlit ÍFJ — hlýr pappírstónn með hófstilltri vísun í lógóbláa litinn (#2E3192) */
/* --brand = hreini lógóliturinn (tenglar). --navy = aðallitur ÍFJ (fyrirsagnir, valmynd, smáatriði). */
:root {
  --brand: #2E3192;
  --navy: #0E2841;
  --navy-l: #A7BACE;
  --dark: #2E2D29;
  --dark2: #2E2D29;
  --paper: #F7F5F1;
  --gold: #C48A10;
  --teal: #6DA598;
  --olive: #7F8F40;
  --sand: #C6A587;
  --slate: #748890;
  --grey: #8a8781;
  --ink: #2b2b2b;
  --hdg: #33343E;
  --line: #E0DDD5
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Avenir Next', 'Avenir', 'Futura', 'Century Gothic', 'Trebuchet MS', 'Helvetica Neue', Helvetica, sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65
}

a {
  color: var(--brand)
}

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  display: flex;
  align-items: center;
  gap: 26px;
  padding: 16px 4vw;
  flex-wrap: wrap;
  border-top: 3px solid var(--navy);
  border-bottom: 1px solid var(--line)
}

nav .brand {
  margin-right: auto;
  display: flex;
  align-items: center;
  text-decoration: none
}

nav .brand img {
  height: 40px;
  display: block
}

nav .item {
  position: relative;
  color: var(--dark);
  text-decoration: none;
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
  padding: 6px 0;
  line-height: 1.2;
  display: inline-block
}

nav .caret {
  font-size: 8px;
  margin-left: 5px;
  vertical-align: 1px
}

.dd {
  display: flex;
  align-items: center
}

nav .item:hover {
  color: var(--navy)
}

nav .item.active {
  color: var(--navy)
}

nav .item.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 18px;
  height: 2px;
  background: var(--navy)
}

.hero {
  position: relative;
  background: var(--dark);
  color: #fff;
  min-height: 480px;
  display: flex;
  align-items: flex-end
}

.hero .bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .6
}

.hero .skyggni {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 29, 26, .25) 0%, rgba(30, 29, 26, .45) 55%, rgba(30, 29, 26, .88) 100%)
}

.hero .in {
  position: relative;
  padding: 120px 4vw 58px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%
}

.hero .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy-l);
  letter-spacing: .28em;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 16px
}

.hero .kicker .rule {
  display: inline-block;
  width: 44px;
  height: 1.5px;
  background: var(--navy-l)
}

.hero h1 {
  font-weight: 200;
  font-size: clamp(38px, 5.6vw, 68px);
  max-width: 820px;
  line-height: 1.08;
  letter-spacing: -.015em
}

.hero p {
  color: #d5d1c8;
  margin-top: 16px;
  max-width: 640px;
  font-size: 15.5px;
  line-height: 1.65
}

section {
  padding: 74px 4vw
}

.wrap {
  max-width: 1080px;
  margin: 0 auto
}

.secno {
  color: var(--navy);
  letter-spacing: .22em;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 6px
}

h2.sec {
  font-weight: 200;
  font-size: clamp(30px, 3.8vw, 46px);
  color: var(--navy);
  margin-bottom: 26px;
  letter-spacing: -.01em
}

p.lead {
  font-size: 15.5px;
  max-width: 760px;
  margin-bottom: 14px
}

p.body {
  font-size: 14px;
  max-width: 760px;
  color: #4a473f;
  margin-bottom: 12px
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 10px
}

.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 22px
}

.card h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px
}

.card p {
  font-size: 13px;
  color: #5a574f
}

.svidgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 10px
}

.svidkort {
  position: relative;
  display: block;
  text-decoration: none;
  color: #fff;
  height: 270px;
  overflow: hidden
}

.svidkort img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s
}

.svidkort:hover img {
  transform: scale(1.05)
}

.svidkort .ol {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(30, 29, 26, .85))
}

.svidkort .t {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 14px;
  font-size: 16px;
  font-weight: 600
}

.svidkort .b {
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%
}

.felog {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px
}

.felag {
  background: #fff;
  padding: 22px;
  border: 1px solid var(--line)
}

.felag h3 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 6px
}

.felag p {
  font-size: 13px;
  color: #5a574f;
  margin-bottom: 8px
}

.felag a {
  font-size: 12.5px
}

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 10px
}

.person {
  background: #fff;
  padding: 22px;
  border: 1px solid var(--line)
}

/* Myndin fyllir breidd spjaldsins — neikvæð spássía étur upp 22px pöddun .person */
.person .ph {
  display: block;
  width: calc(100% + 44px);
  height: auto;
  aspect-ratio: 1/1;
  margin: -22px -22px 14px;
  border-radius: 0;
  background: var(--navy);
  object-fit: cover;
  object-position: center top
}

/* Eigendur — portrettið við hlið textans. Spjöldin halda fullri breidd
   efnisdálksins (1080px) eins og aðrar blokkir, en myndin verður samt hófleg. */
.people.eig {
  grid-template-columns: repeat(2, minmax(0, 1fr))
}

.people.eig .person {
  display: flex;
  align-items: stretch;
  padding: 0
}

.people.eig .person .ph {
  flex: 0 0 200px;
  width: 200px;
  height: auto;
  aspect-ratio: auto;
  align-self: stretch;
  margin: 0;
  object-position: center 22%
}

.people.eig .person .txt {
  padding: 22px;
  min-width: 0
}

@media(max-width:860px) {
  .people.eig {
    grid-template-columns: 1fr
  }
}

@media(max-width:560px) {
  .people.eig .person {
    display: block
  }

  .people.eig .person .ph {
    width: 100%;
    flex: none;
    aspect-ratio: 4/3
  }
}

/* LinkedIn-táknið situr efst til hægri svo það hrökkvi ekki í nýja línu aftan við löng nöfn */
.person b .lil {
  flex: 0 0 auto;
  margin: 5px 0 0
}

.person b {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  font-size: 14.5px
}

.person .t {
  font-size: 11.5px;
  color: var(--grey);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 2px 0 6px
}

.person a {
  font-size: 12.5px
}

.person p {
  font-size: 12.5px;
  color: #5a574f;
  margin-top: 8px
}

details {
  border-top: 1px solid #ddd8d0
}

details:last-of-type {
  border-bottom: 1px solid #ddd8d0
}

details summary {
  cursor: pointer;
  padding: 15px 4px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dark);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center
}

details summary::after {
  content: "+";
  color: var(--navy);
  font-size: 20px;
  font-weight: 300
}

details[open] summary::after {
  content: "−"
}

details .inner {
  padding: 4px 4px 22px
}

.tl .yr {
  display: flex;
  gap: 22px;
  margin-bottom: 20px;
  align-items: center
}

.tl .badge {
  flex: 0 0 58px;
  height: 58px;
  border: 2.5px solid var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13.5px;
  background: #fff;
  color: var(--dark)
}

.tl .txt {
  flex: 1;
  font-size: 13.5px;
  color: #4a473f;
  padding-top: 4px
}

.arch {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px;
  margin-top: 14px
}

.arch a,
.arch .bidur {
  display: block;
  background: #fff;
  text-align: center;
  padding: 22px 10px;
  text-decoration: none;
  border: 1px solid var(--line);
  border-top: 3px solid var(--slate);
  color: var(--dark);
  font-weight: 600
}

.arch .bidur {
  background: transparent;
  color: var(--grey);
  border-top-color: var(--line);
  border-style: dashed;
  cursor: default
}

.arch a:hover {
  border-top-color: var(--brand)
}

.arch a small,
.arch .bidur small {
  display: block;
  color: var(--grey);
  font-weight: 400;
  font-size: 11px;
  margin-top: 4px
}

.nyjasta {
  display: block;
  background: var(--dark2);
  color: #fff;
  padding: 26px;
  text-decoration: none;
  margin-top: 8px
}

.nyjasta b {
  font-size: 17px
}

.nyjasta span {
  display: block;
  color: #b9b5ac;
  font-size: 13px;
  margin-top: 4px
}

.altbg {
  background: #EDEAE4
}

footer {
  background: var(--dark2);
  color: #b9b5ac;
  padding: 44px 4vw;
  font-size: 13px
}

footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  justify-content: space-between;
  align-items: flex-start
}

footer b {
  color: #fff
}

footer a {
  color: #d5d1c8
}

footer img.flogo {
  height: 44px;
  display: block;
  margin-bottom: 10px
}

img.banner {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block
}

@media(max-width:700px) {
  .hero {
    min-height: 320px
  }

  img.banner {
    height: 220px
  }
}

/* fellivalmynd og lykiltölur fjárhagssíðu */
.dd {
  position: relative
}

.dd .item {
  cursor: default
}

.ddm {
  display: none;
  position: absolute;
  top: 100%;
  left: -16px;
  background: #fff;
  min-width: 220px;
  padding: 6px 0;
  border: 1px solid var(--line);
  border-top: 2px solid var(--navy);
  z-index: 60
}

.dd:hover .ddm,
.dd:focus-within .ddm {
  display: block
}

.ddm a {
  display: block;
  color: var(--dark);
  text-decoration: none;
  font-size: 13px;
  padding: 10px 18px;
  border-bottom: 1px solid #F1EEE8
}

.ddm a:last-child {
  border-bottom: none
}

.ddm a:hover {
  color: var(--navy);
  background: var(--paper)
}

.fkpis {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 14px
}

.fkpi {
  background: #fff;
  padding: 22px;
  border: 1px solid var(--line)
}

.fkpi .v {
  font-size: 38px;
  font-weight: 200;
  color: var(--dark)
}

.fkpi .v small {
  font-size: 13px;
  color: var(--grey)
}

.fkpi .l {
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-top: 6px;
  font-weight: 600
}

.fkpi .d {
  font-size: 12px;
  color: #5a574f;
  margin-top: 6px
}

/* fréttir ársins á forsíðu */
.frettir {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-top: 10px
}

.frett {
  background: #fff;
  padding: 22px;
  border: 1px solid var(--line)
}

.frett .tala {
  font-size: 36px;
  font-weight: 200;
  color: var(--dark)
}

.frett .tala small {
  font-size: 13px;
  color: var(--grey)
}

.frett h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin: 6px 0 6px
}

.frett p {
  font-size: 12.5px;
  color: #5a574f
}

/* skipurit og félagaskrá */
.orgtop {
  background: var(--dark2);
  color: #fff;
  padding: 16px 22px;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px
}

.orgtop small {
  font-weight: 400;
  color: #b9b5ac;
  letter-spacing: .02em
}

.orgcols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(195px, 1fr));
  gap: 14px;
  margin-top: 14px
}

.orgcol {
  background: #fff;
  border: 1px solid var(--line)
}

.orgcol .oh {
  padding: 10px 14px;
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase
}

.orgcol .om {
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 1px solid #eee
}

.orgcol .om small {
  color: var(--brand);
  font-weight: 700
}

.orgcol .os {
  padding: 5px 14px 5px 22px;
  font-size: 11.5px;
  color: #555;
  border-bottom: 1px solid #f5f2ee
}

.fhop {
  font-size: 13px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  margin: 26px 0 12px;
  font-weight: 700
}

.fhop:first-of-type {
  margin-top: 0
}

.fcards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 14px
}

.fcard {
  background: #fff;
  padding: 18px 20px;
  border: 1px solid var(--line)
}

.fcard b {
  font-size: 13.5px
}

.fcard a {
  font-size: 11.5px;
  margin-left: 4px
}

.fcard p {
  font-size: 11.5px;
  color: #4a473f;
  margin: 3px 0 0;
  line-height: 1.45
}

.fcard p span {
  color: var(--grey)
}

/* lógó félaga og vörumerkja */
.fmerki {
  height: 64px;
  max-width: 120px;
  object-fit: contain;
  display: block;
  margin-bottom: 12px
}
/* stakt merki sem á að haldast lítið */
.fmerki.smatt,
.tv .felog.thett .fmerki.smatt {
  height: 30px
}


.lstrip {
  display: flex;
  flex-wrap: wrap;
  gap: 34px 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 0 0
}

.lstrip img {
  height: 30px;
  max-width: 130px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .55;
  transition: .25s
}

.lstrip img:hover {
  filter: none;
  opacity: 1
}

/* snyrtileg merkjarönd í jafnri grind */
.lgrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 10px;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line)
}

.lcell {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 92px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff
}

.lcell img {
  max-height: 34px;
  max-width: 70%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .6;
  transition: .25s
}

.lcell:hover img {
  filter: none;
  opacity: 1
}

p.lead.stor {
  font-size: 19px;
  font-weight: 300;
  max-width: 700px;
  color: var(--hdg)
}

/* tvískipt svið — t.d. KILROY | Flóra, Stafir | Íslenskar fasteignir */
/* Hvor súla er ein samfelld hvít plata; báðar teygjast í sömu hæð svo bilin haldist jöfn. */
.tvennd {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch
}

.tv {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--line);
  padding: 28px 30px 22px
}

.tvhaus {
  margin-bottom: 12px
}

.tvhaus h3 {
  font-size: 26px;
  font-weight: 200;
  color: var(--navy)
}

.tvhaus span {
  display: block;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  margin-top: 3px
}

.tvmilli {
  font-size: 12px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey);
  font-weight: 700;
  margin: 22px 0 4px
}

.tv .felog.thett {
  grid-template-columns: 1fr;
  gap: 0
}

.tv .felog.thett .felag {
  background: none;
  box-shadow: none;
  padding: 14px 0 12px;
  border: none;
  border-top: 1px solid var(--line)
}

.tv .felog.thett .felag:first-child {
  border-top: none
}

.tv .felog.thett .fmerki {
  height: 54px;
  margin-bottom: 8px
}

@media(max-width:820px) {
  .tvennd {
    grid-template-columns: 1fr
  }
}

/* staðreyndalisti (í stað kassa) og vinnustaðarblokk */
.fakta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 8px 44px;
  margin-top: 6px
}

.fak {
  padding: 14px 0;
  border-top: 1px solid #ddd8d0
}

.fak h3 {
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 700;
  margin-bottom: 5px
}

.fak p {
  font-size: 13.5px;
  color: #4a473f
}

.vst {
  display: grid;
  grid-template-columns: minmax(240px, 420px) 1fr;
  gap: 34px;
  align-items: center
}

.vst img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block
}

@media(max-width:700px) {
  .vst {
    grid-template-columns: 1fr
  }

  .vst img {
    height: 200px
  }
}

.hlekkir {
  font-size: 14px;
  text-align: center;
  letter-spacing: .02em
}

.hlekkir a {
  text-decoration: none
}

/* LinkedIn — lágstemmdur borði og lítil merki við nöfn */
.liband {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  padding: 14px 20px;
  border: 1px solid var(--line);
  flex-wrap: wrap
}

.limerki {
  display: flex;
  flex: 0 0 auto
}

.limerki svg {
  width: 26px;
  height: 26px
}

.litexti {
  flex: 1;
  min-width: 200px;
  font-size: 13.5px;
  color: #4a473f
}

.lihnappar {
  display: flex;
  gap: 10px
}

.libtn {
  display: inline-block;
  background: #0A66C2;
  border: 1.5px solid #0A66C2;
  color: #fff;
  text-decoration: none;
  padding: 7px 16px;
  font-size: 12.5px;
  letter-spacing: .02em;
  border-radius: 2px
}

.libtn:hover {
  background: #084d92;
  border-color: #084d92
}

.libtn.ghost {
  background: transparent;
  color: #0A66C2
}

.libtn.ghost:hover {
  background: #EEF4FB
}

.ligrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 16px
}

.ligrid iframe {
  width: 100%;
  height: 400px;
  background: #fff;
  border: 1px solid var(--line)
}

.lil {
  display: inline-block;
  vertical-align: -2px;
  margin-left: 6px
}

.lil svg {
  width: 14px;
  height: 14px
}

/* fréttir sem látlaus listi */
.frettlist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 6px 44px
}

.fritem {
  padding: 14px 0;
  border-bottom: 1px solid #ddd8d0
}

.fritem h3 {
  font-size: 14.5px;
  font-weight: 600;
  margin-bottom: 4px
}

.fritem p {
  font-size: 13px;
  color: #5a574f
}
/* fréttir — dagsetning og heimild */
.fritem time {
  display: block;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 3px
}

.fritem .frheimild {
  display: inline-block;
  font-size: 12px;
  margin-top: 6px
}
/* allt spjaldið smellanlegt: hlekkurinn í fyrirsögninni þenst yfir .fritem.
   Fréttir án innri síðu (engin <h3><a>) fá enga yfirbreiðu og haldast óbreyttar. */
.fritem {
  position: relative
}

.fritem h3 a::after {
  content: "";
  position: absolute;
  inset: 0
}

.fritem:has(h3 a):hover {
  background: #efece6
}

.fritem:has(h3 a):hover h3 a {
  text-decoration: underline
}

.fritem h3 a:focus-visible::after {
  outline: 2px solid var(--navy);
  outline-offset: -3px
}
/* ytri hlekkur á spjaldi án innri síðu má ekki hverfa undir yfirbreiðuna */
.fritem a.frheimild {
  position: relative;
  z-index: 1
}
/* fréttasafn — ein dálkur svo tímaröðin lesist rétt */
.frettlist.safn {
  grid-template-columns: 1fr;
  max-width: 720px;
  gap: 0
}
/* fréttamynd — valfrjáls. Sé <img class="frmynd"> sleppt lítur fréttin eins út og áður.
   Á forsíðunni liggur myndin ofan á textanum, í fréttasafninu til hliðar. */
.frmynd {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: #efece6;
  margin-bottom: 10px
}

.frettlist.safn .fritem {
  display: flex;
  gap: 20px;
  align-items: flex-start
}

.frettlist.safn .frtexti {
  flex: 1;
  min-width: 0
}

.frettlist.safn .frmynd {
  flex: 0 0 190px;
  width: 190px;
  aspect-ratio: 4/3;
  margin: 2px 0 0
}

@media(max-width:560px) {
  .frettlist.safn .fritem {
    display: block
  }

  .frettlist.safn .frmynd {
    width: 100%;
    aspect-ratio: 16/9;
    margin: 0 0 10px
  }
}

/* ── stök fréttasíða (frettir/*.html) ────────────────────────────────── */
.greinsvid {
  padding-top: 118px
}

.frettgrein {
  max-width: 720px;
  margin: 0 auto
}

.greinhaus {
  border-bottom: 1px solid var(--line);
  padding-bottom: 22px;
  margin-bottom: 26px
}

.greinhaus .kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  letter-spacing: .28em;
  font-size: 11px;
  text-transform: uppercase;
  margin-bottom: 14px
}

.greinhaus .kicker .rule {
  display: inline-block;
  width: 44px;
  height: 1.5px;
  background: var(--navy)
}

.greinhaus time {
  display: block;
  font-size: 11.5px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--grey);
  margin-bottom: 8px
}

.greinhaus h1 {
  font-weight: 200;
  font-size: clamp(30px, 4.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -.015em;
  color: var(--navy)
}

.frettgrein .inngangur {
  font-size: 17px;
  line-height: 1.6;
  color: #3c393a;
  margin-top: 16px
}

.frettgrein h2 {
  font-size: 15px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
  margin: 32px 0 10px
}

.frettgrein p {
  font-size: 15px;
  line-height: 1.75;
  color: #4a473f;
  margin-bottom: 16px
}

.frettfigur {
  margin: 0 0 26px
}

.frettmynd {
  display: block;
  width: 100%;
  object-fit: cover;
  background: #efece6
}

.frettmynd.portrett {
  max-width: 400px
}

.frettfigur figcaption,
.frettmyndir figcaption {
  font-size: 12px;
  color: var(--grey);
  margin-top: 8px;
  line-height: 1.45
}

.frettmyndir {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin: 0 0 30px
}

.frettmyndir figure {
  margin: 0
}

.frettmyndir img {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  object-position: center top;
  background: #efece6
}

.tilvitnun {
  margin: 24px 0;
  padding: 2px 0 2px 22px;
  border-left: 3px solid var(--navy-l)
}

.tilvitnun p {
  font-size: 15.5px;
  line-height: 1.7;
  color: #3f3c35;
  font-style: italic;
  margin-bottom: 10px
}

.tilvitnun cite {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--grey)
}

.frettheimild {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: 30px;
  font-size: 12.5px
}

.tilbaka {
  margin-top: 26px;
  font-size: 13px
}

@media(max-width:560px) {
  .greinsvid {
    padding-top: 96px
  }
}
