@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

body {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  color: #1a1a18;
  background: #faf9f6;
  font-size: 15px;
  line-height: 1.7;
}

.site { max-width: 960px; margin: 0 auto; }

/* TOPBAR */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  border-bottom: 0.5px solid #d8d5ce;
  position: sticky;
  top: 0;
  background: #faf9f6;
  z-index: 10;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: #1a1a18;
  text-decoration: none;
}
.logo span { color: #6b7c5e; }
nav { display: flex; gap: 28px; flex-wrap: wrap; }
nav a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b6b60;
  text-decoration: none;
  transition: color 0.2s;
}
nav a:hover { color: #1a1a18; }
nav a.active { color: #1a1a18; border-bottom: 0.5px solid #1a1a18; padding-bottom: 1px; }

/* PAGE HEADER */
.page-header {
  padding: 64px 48px 52px;
  border-bottom: 0.5px solid #d8d5ce;
  position: relative;
  overflow: hidden;
}
.page-header-bg {
  position: absolute;
  pointer-events: none;
  bottom: 0; right: 0;
  width: 100%; height: 100%;
}
.page-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8a89a;
  margin-bottom: 14px;
  position: relative;
}
.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 300;
  line-height: 1.1;
  color: #1a1a18;
  position: relative;
}
.page-title em { font-style: italic; color: #6b7c5e; }
.page-intro {
  font-size: 14px;
  color: #6b6b60;
  line-height: 1.9;
  max-width: 520px;
  margin-top: 20px;
  position: relative;
}

/* SECTIONS */
.section {
  padding: 56px 48px;
  border-bottom: 0.5px solid #d8d5ce;
  position: relative;
  overflow: hidden;
}
.section-label {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #a8a89a;
  margin-bottom: 28px;
}
.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 36px;
  font-weight: 300;
  color: #1a1a18;
  margin-bottom: 20px;
  line-height: 1.2;
}
.section-title em { font-style: italic; color: #6b7c5e; }
.section-body {
  font-size: 14px;
  color: #6b6b60;
  line-height: 1.9;
}
.section-body p + p { margin-top: 14px; }

.section-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* IMG PLACEHOLDER */
.img-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.img-placeholder svg { opacity: 0.3; }
.img-placeholder span {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8a89a;
}

/* NEWS */
.news-loading { font-size: 13px; color: #a8a89a; font-style: italic; padding: 16px 0; }
.news-item {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: 24px;
  align-items: start;
  padding: 20px 0;
  border-top: 0.5px solid #d8d5ce;
}
.news-item:first-child { border-top: none; }
.news-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: 13px;
  color: #a8a89a;
  padding-top: 2px;
}
.news-title { font-size: 14px; color: #1a1a18; font-weight: 400; margin-bottom: 5px; }
.news-desc { font-size: 13px; color: #6b6b60; line-height: 1.7; }
.news-tag {
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7c5e;
  background: #eef1ea;
  padding: 4px 9px;
  border-radius: 2px;
  white-space: nowrap;
  margin-top: 2px;
}

/* CALENDAR */
.cal-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 16px 0;
  border-top: 0.5px solid #d8d5ce;
}
.cal-item:last-child { border-bottom: 0.5px solid #d8d5ce; }
.cal-date-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 44px;
  padding-top: 2px;
}
.cal-day {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 300;
  line-height: 1;
  color: #1a1a18;
}
.cal-month {
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #a8a89a;
  margin-top: 4px;
}
.cal-divider {
  width: 0.5px;
  background: #d8d5ce;
  align-self: stretch;
  flex-shrink: 0;
}
.cal-info { flex: 1; padding-top: 4px; }
.cal-event { font-size: 14px; font-weight: 400; color: #1a1a18; margin-bottom: 3px; }
.cal-desc { font-size: 13px; color: #6b6b60; line-height: 1.6; }

/* STYRELSEN */
.styrelse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
}
.styrelse-item {
  padding: 20px 0;
  border-top: 0.5px solid #d8d5ce;
}
.styrelse-item:nth-child(odd) { padding-right: 32px; border-right: 0.5px solid #d8d5ce; }
.styrelse-item:nth-child(even) { padding-left: 32px; }
.styrelse-item:last-child,
.styrelse-item:nth-last-child(2) { border-bottom: 0.5px solid #d8d5ce; }
.styrelse-role {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #a8a89a;
  margin-bottom: 4px;
}
.styrelse-name { font-size: 14px; color: #1a1a18; font-weight: 400; margin-bottom: 3px; }
.styrelse-mail { font-size: 12px; color: #6b7c5e; }

/* PHOTO GRID */
.photo-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 8px;
}
.photo-slot {
  background: #e2dfda;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.photo-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photo-slot:first-child { grid-row: 1 / 3; }

/* SUMMARY CARD (startsida) */
.summary-card {
  display: block;
  padding: 32px 36px;
  border: 0.5px solid #d8d5ce;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  overflow: hidden;
}
.summary-card:hover { border-color: #9aae92; background: #f5f7f3; }
.summary-card-label {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #a8a89a;
  margin-bottom: 10px;
}
.summary-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 300;
  color: #1a1a18;
  margin-bottom: 10px;
  line-height: 1.2;
}
.summary-card-title em { font-style: italic; color: #6b7c5e; }
.summary-card-text { font-size: 13px; color: #6b6b60; line-height: 1.8; }
.summary-card-arrow {
  position: absolute;
  bottom: 20px; right: 24px;
  font-size: 18px;
  color: #c8d5c0;
  transition: color 0.2s, transform 0.2s;
}
.summary-card:hover .summary-card-arrow { color: #6b7c5e; transform: translate(2px, -2px); }

/* LINK CARDS */
.links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.link-card {
  display: block;
  padding: 24px 28px;
  border: 0.5px solid #d8d5ce;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, background 0.2s;
}
.link-card:hover { border-color: #9aae92; background: #f5f7f3; }
.link-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}
.link-card-title { font-size: 14px; font-weight: 400; color: #1a1a18; }
.link-card-arrow { font-size: 16px; color: #c8d5c0; transition: color 0.2s, transform 0.2s; }
.link-card:hover .link-card-arrow { color: #6b7c5e; transform: translate(2px, -2px); }
.link-card-text { font-size: 13px; color: #6b6b60; line-height: 1.7; margin-bottom: 12px; }
.link-card-url { font-size: 11px; letter-spacing: 0.1em; color: #a8a89a; text-transform: lowercase; }

/* FOOTER */
footer {
  padding: 28px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-name { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #a8a89a; }
.footer-org { font-size: 11px; color: #c8c7bd; }

/* SVG ILLUSTRATIONS shared */
.section-bg {
  position: absolute;
  pointer-events: none;
}

@media (max-width: 680px) {
  .topbar { padding: 20px 24px; flex-direction: column; gap: 16px; }
  nav { gap: 16px; }
  .page-header { padding: 40px 24px; }
  .page-title { font-size: 38px; }
  .section { padding: 40px 24px; }
  .section-split { grid-template-columns: 1fr; gap: 32px; }
  .styrelse-grid { grid-template-columns: 1fr; }
  .styrelse-item:nth-child(odd) { padding-right: 0; border-right: none; }
  .styrelse-item:nth-child(even) { padding-left: 0; }
  .photo-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 160px 160px 160px; }
  .photo-slot:first-child { grid-row: auto; grid-column: 1 / 3; }
  .news-item { grid-template-columns: 1fr; gap: 8px; }
  footer { padding: 24px; flex-direction: column; gap: 8px; text-align: center; }
}
