/* Fuktguide – enhetligt designsystem (Fas A+C: artikelkomponenter) */
:root{
  --fg-teal:#1f6f6d;--fg-teal-dark:#14504d;
  --fg-text:#243746;--fg-muted:#526273;--fg-border:#E4DED3;
  --fg-tips-bg:#F1F6F5;--fg-tips-border:#CFE3E0;
  --fg-shadow:0 10px 30px rgba(31,41,51,.06);
}
/* Lasupplevelse i artiklar */
body.single-post .entry-content{max-width:820px;}
body.single-post .entry-content > p,
body.single-post .entry-content > ul li{font-size:1.05rem;line-height:1.75;}
body.single-post .entry-content > h2{margin-top:2.2rem;color:var(--fg-text);}
body.single-post .entry-content a{color:var(--fg-teal);text-underline-offset:2px;}
/* Signaturkomponent: Snabbkoll / tips */
.entry-content .fg-tips{
  background:var(--fg-tips-bg);border:1px solid var(--fg-tips-border);
  border-left:4px solid var(--fg-teal);border-radius:14px;
  padding:1.25rem 1.45rem;margin:2.2rem 0;box-shadow:var(--fg-shadow);
}
.entry-content .fg-tips > h2{
  margin-top:0;margin-bottom:.6rem;font-size:1.22rem;color:var(--fg-teal-dark);
  display:flex;align-items:center;gap:.5rem;
}
.entry-content .fg-tips > h2::before{
  content:"";width:1.35rem;height:1.35rem;flex:none;
  background:url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231f6f6d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M9 5H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2h-2'/><rect x='9' y='3' width='6' height='4' rx='1'/><path d='m9 14 2 2 4-4'/></svg>") center/contain no-repeat;
}
.entry-content .fg-tips ul{list-style:none;padding-left:0;margin:0;}
.entry-content .fg-tips li{position:relative;padding:.32rem 0 .32rem 1.5rem;line-height:1.6;font-size:1rem;}
.entry-content .fg-tips li::before{content:"";position:absolute;left:.2rem;top:.85rem;width:7px;height:7px;border-radius:50%;background:var(--fg-teal);}
.entry-content .fg-tips p:last-child{margin-bottom:0;color:var(--fg-muted);}
@media(max-width:860px){ body.single-post .entry-content{max-width:100%;} }
/* Byline (egen klass – undviker temats dölj-författare-regel) */
.entry-meta .fgcb-byline{color:#6b6b6b;}
.entry-meta .fgcb-byline a{color:#6b6b6b;text-decoration:none;}
.entry-meta .fgcb-byline a:hover{color:#1f6f6d;text-decoration:underline;}

/* Redaktionella förtroendesignaler */
.entry-content .fg-editorial-note,
.entry-content .fg-practical-box,
.entry-content .fg-log-table-wrap{
  border:1px solid var(--fg-border);
  border-radius:12px;
  background:#fff;
  box-shadow:var(--fg-shadow);
}
.entry-content .fg-editorial-note{
  margin:2.6rem 0 0;
  padding:1.2rem 1.35rem;
  background:#fbfaf7;
}
.entry-content .fg-editorial-note h2,
.entry-content .fg-practical-box h2{margin-top:0;font-size:1.2rem;color:var(--fg-teal-dark);}
.entry-content .fg-editorial-note p{font-size:.98rem;line-height:1.65;margin-bottom:.65rem;color:var(--fg-muted);}
.entry-content .fg-editorial-note .fg-editorial-note-meta{margin-bottom:0;font-size:.92rem;color:#6a756e;}
.entry-content .fg-practical-box{padding:1.2rem 1.35rem;margin:2rem 0;background:#f7fbfa;}
.entry-content .fg-practical-box ul{margin-bottom:0;}
.entry-content .fg-log-table-wrap{overflow-x:auto;margin:1.7rem 0;background:#fff;}
.entry-content table.fg-log-table{width:100%;border-collapse:collapse;font-size:.95rem;min-width:680px;}
.entry-content .fg-log-table th,
.entry-content .fg-log-table td{border-bottom:1px solid var(--fg-border);padding:.72rem .85rem;text-align:left;vertical-align:top;}
.entry-content .fg-log-table th{background:#f1f6f5;color:var(--fg-teal-dark);font-weight:700;}
.entry-content .fg-log-table tr:last-child td{border-bottom:0;}
.fg-home-editorial .fg-home-card p{font-size:.98rem;}
.fg-home-editorial .fg-home-card strong{color:var(--fg-teal-dark);}

/* FG-AUTHOR-BOX-096 */
.entry-content .fgcb-author-box{
  background:var(--fg-tips-bg);border:1px solid var(--fg-tips-border);
  border-left:4px solid var(--fg-teal);border-radius:14px;
  padding:1.25rem 1.45rem;margin:2.6rem 0 0;box-shadow:var(--fg-shadow);
}
.entry-content .fgcb-author-box-label{
  margin:0 0 .3rem;font-size:.85rem;font-weight:700;letter-spacing:.02em;
  text-transform:uppercase;color:var(--fg-teal-dark);
}
.entry-content .fgcb-author-box-name{
  margin:0 0 .5rem;font-size:1.1rem;font-weight:700;color:var(--fg-teal-dark);
}
.entry-content .fgcb-author-box p{font-size:.98rem;line-height:1.65;color:var(--fg-muted);margin-bottom:.65rem;}
.entry-content .fgcb-author-box p:last-child{margin-bottom:0;}
