/* ============================================================
   Podigee Theme — Lederstof.dk stil
   Baseret på Lederstof.dk / Lederne brandidentitet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;1,400&family=PT+Sans:ital,wght@0,400;0,700;1,400&display=swap');

/* --- Farvevariabler --- */
:root {
  --ls-red:       #BBF07A;   /* Lederstof grøn */
  --ls-red-dark:  #9DD655;   /* Hover-tilstand */
  --ls-black:     #111111;   /* Overskrifter */
  --ls-dark:      #222222;   /* Brødtekst */
  --ls-mid:       #555555;   /* Sekundær tekst, datoer */
  --ls-light:     #888888;   /* Hints, placeholders */
  --ls-rule:      #DDDDDD;   /* Skillelinjer */
  --ls-bg:        #FFFFFF;   /* Primær baggrund */
  --ls-bg-warm:   #F7F5F2;   /* Varm grå til sidebar / footer */
  --ls-serif:     'PT Serif', Georgia, serif;
  --ls-sans:      'PT Sans', Helvetica, Arial, sans-serif;
  --ls-tagline:   'PT Serif', Georgia, serif;
}

/* ============================================================
   RESET & BASE
   ============================================================ */

*, *:before, *:after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--ls-bg);
  color: var(--ls-dark);
  font-family: var(--ls-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

hr {
  border: none;
  border-top: 1px solid var(--ls-rule);
  margin: 2rem 0;
}

/* ============================================================
   TYPOGRAFI
   ============================================================ */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ls-serif);
  color: var(--ls-black);
  font-weight: 400;
  line-height: 1.25;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a,
a:visited {
  color: var(--ls-red);
  text-decoration: none;
  transition: color 0.15s ease;
}

a:hover {
  color: var(--ls-red-dark);
  text-decoration: underline;
}

/* ============================================================
   HEADER
   ============================================================ */

.page-header {
  background: #BBF07A;
  padding: 0;
  overflow: hidden;
  border-bottom: none;
}

.page-header a {
  display: block;
  padding: 1.25rem 2rem;
  color: var(--ls-black);
  text-decoration: none;
}

.page-header a:hover {
  color: var(--ls-black);
  text-decoration: none;
  opacity: 0.85;
}

.page-header h1.title {
  font-family: var(--ls-serif);
  font-size: 2.4rem;
  font-weight: 400;
}

.page-header p.subtitle {
  font-family: var(--ls-serif);
  font-size: 0.9rem;
  color: rgba(0,0,0,0.6);
  margin: 0;
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
  max-width: 680px;
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.section-navigation {
  background: var(--ls-bg-warm);
  border-bottom: 1px solid var(--ls-rule);
  padding: 0 2rem;
}

.section-navigation ul {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  overflow: visible;
}

.section-navigation li {
  float: none;
  margin: 0;
}

.section-navigation li a {
  display: block;
  padding: 0.75rem 1rem;
  font-family: var(--ls-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ls-dark);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.section-navigation li a:hover {
  color: var(--ls-red);
  border-bottom-color: var(--ls-red);
  text-decoration: none;
}

/* ============================================================
   LAYOUT: SIDEBAR + MAIN
   ============================================================ */

.page-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
  overflow: hidden;
}

.section-sidebar {
  float: left;
  width: 26%;
  padding: 2rem 1.5rem 2rem 1.5rem;
}

.section-sidebar img {
  display: none;
}

.section-sidebar .copyright {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--ls-light);
}

.section-sidebar .sidebar-content p,
.section-sidebar p {
  font-family: var(--ls-serif);
  font-size: 0.9rem;
  color: var(--ls-dark);
  line-height: 1.65;
}

.section-sidebar .sidebar-content h3,
.section-sidebar h3 {
  font-size: 0.65rem;
  font-family: var(--ls-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ls-light);
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--ls-rule);
}

.section-main {
  float: left;
  width: 74%;
  padding: 2rem 1.5rem 2rem 1.5rem;
  border-left: 1px solid var(--ls-rule);
}

/* ============================================================
   EPISODE / POST
   ============================================================ */

.section-main .post {
  width: 100%;
  max-width: 720px;
}

.section-main .post header {
  margin-bottom: 1.25rem;
}

.section-main .post header h1 {
  font-family: var(--ls-serif);
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
  font-weight: 400;
}

.section-main .post header h1 a {
  color: var(--ls-black);
}

.section-main .post header h1 a:hover {
  color: var(--ls-red);
}

/* "by Lederstof.dk" → erstat med "udgivet af Lederstof.dk" via CSS */
.section-sidebar .authors::before {
  content: 'Udgivet af Lederstof.dk';
  font-family: var(--ls-serif);
  font-size: 0.88rem;
  color: var(--ls-mid);
  display: block;
}

.section-main .post section {
  margin-bottom: 1.5rem;
}

.post-meta {
  font-size: 0.8rem;
  color: var(--ls-light);
  font-family: var(--ls-sans);
  margin-bottom: 0.75rem;
}

/* ============================================================
   AFSPILLER (MEDIA PLAYER)
   ============================================================ */

.post-media-player {
  margin: 1.25rem 0;
  border-radius: 4px;
  overflow: hidden;
}

.post-media-player iframe {
  width: 100%;
  border: none;
}

/* ============================================================
   SOCIALE KNAPPER
   ============================================================ */

.post-social-media {
  margin: 1rem 0;
  overflow: hidden;
}

.post-social-buttons {
  float: left;
}

.post-social-buttons .link {
  color: var(--ls-mid);
  font-size: 1.2rem;
  margin-right: 0.75rem;
  text-decoration: none;
  transition: color 0.15s;
}

.post-social-buttons .link:hover {
  color: var(--ls-red);
}

/* ============================================================
   TIDSLINJE (INDEX)
   ============================================================ */

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 100%;
  background: none;
}

.timeline .year {
  background: #424a5e;
  color: #fff;
  font-family: var(--ls-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 0.8rem;
  border-radius: 2px;
  display: inline-block;
  margin: 2rem 0 1rem 0;
  max-width: none;
  clear: both;
}

.timeline .month {
  background: var(--ls-red);
  color: #fff;
  font-family: var(--ls-sans);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.75rem;
  border-radius: 2px;
  display: inline-block;
  margin: 0.5rem 0 1rem 0;
  max-width: none;
  clear: both;
  line-height: 1.6;
}

.timeline .event {
  position: static;
  float: none;
  clear: both;
  width: 100%;
  margin: 0 0 1.5rem 0;
  padding: 1.25rem;
  background: var(--ls-bg);
  border: none;
  border-left: 3px solid var(--ls-red);
  border-radius: 0;
  text-align: left;
  transition: border-left-color 0.15s, box-shadow 0.15s;
}

.timeline .event:hover {
  background: var(--ls-bg);
  border-left-color: var(--ls-black);
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.timeline .event:after {
  display: none !important;
}

.timeline .event:nth-child(2n) {
  float: none;
  margin-left: 0;
  margin-top: 0;
}

.timeline .event h3 {
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  font-weight: 400;
}

.timeline .event h3 a {
  color: var(--ls-black);
  text-decoration: none;
}

.timeline .event h3 a:hover {
  color: var(--ls-red);
}

.timeline .event h4 {
  font-family: var(--ls-serif);
  font-size: 0.85rem;
  font-weight: 400;
  font-style: normal;
  color: var(--ls-mid);
  margin-bottom: 0.75rem;
}

.timeline .event iframe {
  margin-bottom: 0;
}

.timeline .event.featured {
  width: 100%;
  background: var(--ls-bg-warm);
}

/* ============================================================
   ARKIV (ARCHIVE)
   ============================================================ */

.archive {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.archive li {
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--ls-rule);
}

.archive li a {
  font-family: var(--ls-serif);
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--ls-black);
  display: block;
  margin-bottom: 0.2rem;
}

.archive li a:hover {
  color: var(--ls-red);
}

.archive li small {
  display: block;
  font-size: 0.78rem;
  color: var(--ls-light);
  margin-bottom: 0.5rem;
}

.archive li p {
  font-size: 0.9rem;
  color: var(--ls-mid);
  margin: 0 0 0.5rem 0;
}

/* ============================================================
   PAGINERING
   ============================================================ */

.pagination {
  margin: 2rem 0;
  overflow: hidden;
  font-size: 0.85rem;
}

.pagination a {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--ls-rule);
  border-radius: 2px;
  color: var(--ls-dark);
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.pagination a:hover {
  background: var(--ls-red);
  border-color: var(--ls-red);
  color: #fff;
  text-decoration: none;
}

.pagination_next_link {
  float: right;
  margin-right: 0;
}

/* ============================================================
   ABOUT / SUBSCRIBE-SEKTION
   ============================================================ */

.feeds {
  list-style: none;
  padding: 0;
}

.feeds li {
  margin-bottom: 0.4rem;
}

.feeds li a {
  font-size: 0.9rem;
  color: var(--ls-mid);
}

.follow.unstyled {
  list-style: none;
  padding: 0;
}

.follow li {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.follow li i {
  color: var(--ls-red);
  margin-right: 0.4rem;
  width: 1.1em;
}

/* ============================================================
   KOMMENTARER
   ============================================================ */

.post-comments {
  margin-top: 2rem;
}

.post-comments h4 {
  font-size: 0.7rem;
  font-family: var(--ls-sans);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ls-light);
}

.post-comments .comment {
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.post-comments .comment img {
  float: left;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.post-comments .comment .comment-body {
  margin-left: 60px;
}

.post-comments .comment .comment-meta {
  font-size: 0.8rem;
  color: var(--ls-light);
  margin-bottom: 0.35rem;
}

/* ============================================================
   NYT KOMMENTAR-FORMULAR
   ============================================================ */

.new-comment {
  margin-top: 1.5rem;
}

.new-comment form .field {
  margin-bottom: 1rem;
}

.new-comment form .field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ls-dark);
  margin-bottom: 0.3rem;
}

.new-comment form .field small {
  color: var(--ls-light);
  font-size: 0.78rem;
}

.new-comment form .field input,
.new-comment form .field textarea {
  border: 1px solid var(--ls-rule);
  border-radius: 2px;
  padding: 0.5rem 0.75rem;
  width: 100%;
  max-width: 600px;
  font-family: var(--ls-sans);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.15s;
  margin-top: 0;
  margin-bottom: 0;
}

.new-comment form .field input:focus,
.new-comment form .field textarea:focus {
  border-color: var(--ls-red);
}

.new-comment form .field button {
  background: var(--ls-red);
  border: none;
  border-radius: 2px;
  color: #fff;
  font-family: var(--ls-sans);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.55rem 1.25rem;
  cursor: pointer;
  float: right;
  transition: background 0.15s;
}

.new-comment form .field button:hover {
  background: var(--ls-red-dark);
}

.new-comment .messages .success {
  background: #edf7ed;
  color: #2e6b30;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

.new-comment .messages .error {
  background: #fdecea;
  color: #9e1a1a;
  padding: 0.75rem 1rem;
  border-radius: 2px;
  margin-bottom: 1rem;
}

/* ============================================================
   MEDDELELSE (ANNOUNCEMENT)
   ============================================================ */

.announcement {
  margin: 1rem 2rem;
  background: #FFF5CC;
  padding: 0.6rem 1.25rem;
  border-left: 3px solid #E6C800;
  border-radius: 0 2px 2px 0;
}

.announcement h1 {
  font-size: 1rem;
  text-align: left;
  margin: 0;
}

/* ============================================================
   POWERED BY PODIGEE
   ============================================================ */

.powered-by-podigee {
  margin: 3rem auto 2rem;
  text-align: center;
  width: 100%;
  padding: 2rem 0;
  border-top: 1px solid var(--ls-rule);
}

.powered-by-podigee img {
  display: block;
  margin: 0 auto;
  width: 56px;
  opacity: 0.4;
  transition: opacity 0.2s;
}

.powered-by-podigee img:hover {
  opacity: 0.8;
}

/* ============================================================
   UTILITIES
   ============================================================ */

.unstyled {
  list-style: none;
  margin: 0;
  padding: 0;
}

.padd {
  display: block;
  padding: 0.75rem;
}

.padd.center {
  text-align: center;
}

/* ============================================================
   RESPONSIVT DESIGN
   ============================================================ */

@media (max-width: 800px) {
  .page-content {
    padding: 0 1.25rem;
  }

  .section-sidebar,
  .section-main {
    float: none;
    width: 100%;
    padding: 1.25rem 0;
    border-left: none;
  }

  .section-sidebar {
    border-bottom: 1px solid var(--ls-rule);
    padding-bottom: 1.5rem;
  }

  .section-sidebar .sidebar-content {
    display: none;
  }

  .section-navigation {
    padding: 0 1.25rem;
  }

  .page-header a {
    padding: 1rem 1.25rem;
  }

  .page-header h1.title {
    font-size: 1.3rem;
  }

  .timeline .event {
    float: none;
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 480px) {
  h1 { font-size: 1.6rem; }
  .timeline .event h3 { font-size: 1rem; }
}