
/* =========================================================
   REISOP / TINOS LEGACY – STABIL KOMPLETT CSS
   Fokus: riktig fargepalett, én kolonne, meny til venstre,
   ingen vimpel, ingen svarte linjer, normale bilder i innlegg
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:wght@400;500;600&family=Cormorant+Garamond:wght@400;500;600&display=swap');

/* -------------------------
   Grunnflate
   ------------------------- */

html,
body {
  background: #efe3bf !important;
}

body {
  background-color: #efe3bf !important;
  color: #111214 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 20px !important;
  line-height: 1.82 !important;
}

/* -------------------------
   Typografi
   ------------------------- */

p,
li,
.entry-content,
.entry-summary,
.post-content,
.page-content {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  color: #1a1a1a !important;
  line-height: 1.88 !important;
}

.entry-content,
.entry-summary,
.post-content,
.page-content {
  max-width: 760px !important;
}

h1, h2, h3, h4, h5, h6,
.entry-title,
.entry-title a,
.page-title,
.site-title,
.site-title a,
.widget-title,
.post-title {
  font-family: "EB Garamond", Georgia, serif !important;
  color: #111214 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  line-height: 1.04 !important;
}

h1,
.entry-title,
.page-title {
  font-size: 48px !important;
  margin-bottom: 0.28em !important;
}

h2 {
  font-size: 32px !important;
}

h3 {
  font-size: 26px !important;
}

h4 {
  font-size: 22px !important;
}

a,
a:visited,
a:focus {
  color: #111214 !important;
  text-decoration: none !important;
  outline: none !important;
}

a:hover {
  color: #d57a59 !important;
  text-decoration: underline !important;
}

/* -------------------------
   Struktur
   ------------------------- */

#page,
#header,
#main,
#footer,
.site-header,
.site-content,
.site-footer {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#header {
  position: relative !important;
  margin-bottom: 42px !important;
}

#main {
  margin-bottom: 24px !important;
  padding-bottom: 36px !important;
}

/* Én kolonne */
#sidebar,
.sidebar,
#secondary,
.secondary,
aside,
.widget-area,
#left,
#right,
#leftcol,
.rightcol {
  display: none !important;
}

#content,
.content,
#main,
#primary,
#main-content,
.content-wrap,
.site-content,
.container,
.wrapper,
#page {
  width: 100% !important;
  max-width: 1100px !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.row,
.col,
.columns,
[class*="col-"] {
  float: none !important;
}

/* -------------------------
   Logo og meny
   ------------------------- */

#logo,
#logo a,
#logo a:visited,
.site-title,
.site-title a {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 15px !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase !important;
  color: #111214 !important;
  text-decoration: none !important;
}

#logo,
.site-branding {
  padding-top: 48px !important;
}

#logo span {
  border-top: none !important;
  padding: 16px 0 !important;
}

/* Meny øverst til venstre */
#nav {
  position: absolute !important;
  top: 0 !important;
  left: 15px !important;
  right: auto !important;
}

#navigation,
.main-navigation {
  display: table-cell !important;
  height: 52px !important;
  vertical-align: middle !important;
}

#navigation > li,
.mnav > li,
.main-navigation > ul > li {
  float: left !important;
}

#navigation a,
#navigation a:visited,
.mnav a,
.mnav a:visited,
.main-navigation a,
.main-navigation a:visited {
  color: #111214 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 15px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
}

#navigation a:hover,
#navigation .sfHover > a,
#navigation .sfHover > a:visited,
.mnav .sfHover > a,
.mnav ul li a:hover,
.main-navigation a:hover {
  color: #d57a59 !important;
  text-decoration: none !important;
}

/* -------------------------
   Poster
   ------------------------- */

.entry,
.post,
.hentry {
  background: transparent !important;
  width: 100% !important;
  margin-bottom: 54px !important;
  padding-bottom: 30px !important;
  border: none !important;
  box-shadow: none !important;
}

.entry-title {
  margin-bottom: 8px !important;
}

.entry-title a,
.entry-title a:visited {
  color: #111214 !important;
  text-decoration: none !important;
}

.entry-title a:hover {
  color: #d57a59 !important;
  text-decoration: none !important;
}

/* -------------------------
   Fjern vimpel / metadata
   ------------------------- */

.entry-meta,
.post-meta,
.meta,
.byline,
.post-date,
.comments-link,
.post-categories,
.entry-categories,
.cat-links,
.category,
.categories,
.entry-category,
.post-category,
.entry-meta-before-title,
.entry-meta-top,
.entry-header .entry-meta,
.entry-header .post-categories,
.entry-header .cat-links,
.category-list,
.category-list a,
.entry-tags,
.entry-tag,
.tags,
.tag-links,
span[class*="cat"],
span[class*="tag"],
div[class*="cat"],
div[class*="tag"] {
  display: none !important;
}

.entry-header::before,
.entry-header::after,
.entry-title::before,
.entry-title::after,
.entry-meta::before,
.entry-meta::after,
.cat-links::before,
.cat-links::after,
.entry-tags::before,
.entry-tags::after,
.post-meta::before,
.post-meta::after {
  content: none !important;
  display: none !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
}

/* -------------------------
   Bilder – generelt
   ------------------------- */

img,
figure img,
.wp-post-image,
.post-thumbnail img,
.entry-content img,
.post-content img {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 1.25rem 0 !important;
  float: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

/* Ikke la temaet lage miniatyr nederst */
.entry img[width],
.post img[width],
.entry-content img[width],
.post-content img[width] {
  max-width: 100% !important;
  height: auto !important;
}

/* Skjul duplikate miniatyrlenker / småbildebokser hvis temaet genererer dem */
.fancybox,
.gallery-item,
.wp-caption a img,
.post-thumbnail,
.entry-thumb,
[class*="thumb"] img {
  box-shadow: none !important;
}

/* Bildetekster */
.entry-thumb figcaption,
.wp-caption p.wp-caption-text,
.gallery-caption,
figcaption {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 15px !important;
  color: #6a5e4b !important;
}

.wp-caption,
figure {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  max-width: 100% !important;
}

/* Enkeltinnlegg: ett normalt toppbilde i innholdet */
.single .entry-content > p:first-child img,
.single .post-content > p:first-child img,
.single .entry-content > figure:first-child img,
.single .post-content > figure:first-child img {
  margin-top: 0 !important;
  margin-bottom: 1.5rem !important;
  max-width: 100% !important;
}

/* Skjul ekstra småbilder nederst i enkeltinnlegg hvis temaet lager thumb-versjon i tillegg */
.single .entry-content p:last-child a img,
.single .post-content p:last-child a img {
  display: none !important;
}

/* Forside/blogg/arkiv: ingen tvunget høyrekolonne for bilder nå */
.home img,
.blog img,
.archive img {
  float: none !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 1rem 0 !important;
}

/* -------------------------
   Sitat / widgets / kommentarer
   ------------------------- */

blockquote {
  border: none !important;
  border-left: none !important;
  padding-left: 0 !important;
  color: #111214 !important;
  font-style: italic !important;
  font-size: 1.15em !important;
  background: transparent !important;
}

.widget {
  margin-bottom: 2.5rem !important;
  border: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

.widget-title {
  font-size: 28px !important;
  color: #111214 !important;
}

.comments,
#comments,
.comments-area,
.comment-respond,
.comment-list {
  display: none !important;
}

#comments::before,
#comments::after {
  content: none !important;
  display: none !important;
}

/* -------------------------
   Linjer / borders
   ------------------------- */

table,
table th,
table td,
hr {
  border: none !important;
  box-shadow: none !important;
}

hr {
  display: none !important;
  height: 0 !important;
}

#header::before,
#header::after,
#main::before,
#main::after,
#footer::before,
#footer::after,
.entry::before,
.entry::after,
.post::before,
.post::after,
.hentry::before,
.hentry::after,
.widget::before,
.widget::after,
.post-title::before,
.post-title::after,
.archive-title::before,
.archive-title::after,
#logo::before,
#logo::after,
#logo span::before,
#logo span::after,
.widget-title::before,
.widget-title::after {
  content: none !important;
  display: none !important;
  border: none !important;
  background: none !important;
  box-shadow: none !important;
}

/* -------------------------
   Skjema / knapper
   ------------------------- */

input[type="text"],
input[type="password"],
input[type="date"],
input[type="datetime"],
input[type="email"],
input[type="number"],
input[type="search"],
input[type="tel"],
input[type="time"],
input[type="url"],
textarea {
  border: 1px solid rgba(17, 18, 20, 0.16) !important;
  background: rgba(247, 242, 232, 0.55) !important;
  color: #111214 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  box-shadow: none !important;
}

input[type="text"]:focus,
input[type="password"]:focus,
input[type="date"]:focus,
input[type="datetime"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="time"]:focus,
input[type="url"]:focus,
textarea:focus {
  border-color: #d57a59 !important;
  box-shadow: none !important;
}

a.btn,
a.btn:visited,
input[type=submit].btn,
button.btn,
button[type=submit],
input[type=submit] {
  background: #d57a59 !important;
  color: #f7f2e8 !important;
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-size: 21px !important;
  padding: 12px 26px !important;
  border: none !important;
  box-shadow: none !important;
}

a.btn:hover,
input[type=submit].btn:hover,
button.btn:hover,
button[type=submit]:hover,
input[type=submit]:hover {
  background: #111214 !important;
  color: #f7f2e8 !important;
}

::selection {
  background: #d57a59 !important;
  color: #f7f2e8 !important;
}

strong,
b {
  color: #111214 !important;
}

/* -------------------------
   Mobil
   ------------------------- */

@media (max-width: 900px) {
  #nav {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    margin-bottom: 1rem !important;
  }

  #logo,
  .site-branding {
    padding-top: 0 !important;
  }

  h1,
  .entry-title,
  .page-title {
    font-size: 38px !important;
  }

  h2 {
    font-size: 28px 