/* Blog post styles - mirrors index.scss blog styles */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Zalando+Sans+Expanded&display=swap');

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

body {
  font-family: "Inter", sans-serif;
  line-height: 1.5;
  background: linear-gradient(124deg, #fff 30%, #D4D1CD 100%);
  min-height: 100vh;
  padding: 4% 2%;
}

h1, h2 {
  font-family: "Zalando Sans Expanded", sans-serif;
  font-weight: normal;
}

/* App header */
.app-header {
  padding: 0 ;
  max-width: 720px;
  margin: 0 auto;
}
.app-header .app-header__logo {
  text-decoration: none;
  color: black;
}
.app-header .app-header__logo .DIBDABS {
  color: transparent;
  background: url(/assets/Dibdabs.svg) no-repeat center left;
  background-size: contain;
}
 

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

.blog-post__back {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: #661166;
  text-decoration: none;
  font-size: 0.9rem;
}

.blog-post__back:hover {
  text-decoration: underline;
}

.blog-post article {
  background: #fff;
  padding: 1rem;
  box-shadow: 3px 3px 10px #bebebe, -3px -3px 5px #ffffff;  
  border-radius: 8px;
  @media (min-width: 640px) {
    padding: 1.5rem;
    box-shadow: 3px 3px 10px #bebebe, -3px -3px 10px #ffffff;  
  }
}

.blog-post article header {
  margin-bottom: 2rem;
  border-bottom: 1px solid #eee;
  padding-bottom: 1.5rem;
}

.blog-post article header small {
  display: block;
  color: #888;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.blog-post article header h1 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-post article header p {
  color: #555;
  line-height: 1.6;
  margin-bottom: 0.5rem;
}

.blog-post article section {
  margin-bottom: 2rem;
}

.blog-post article section h2 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.blog-post article section h2 a {
  color: #661166;
  text-decoration: none;
}

.blog-post article section h2 a:hover {
  text-decoration: underline;
}

.blog-post article section h3 {
  font-size: 1rem;
  margin: 0 0 0.5rem;
}

.blog-post article section h3 a {
  color: #661166;
  text-decoration: none;
}

.blog-post article section h3 a:hover {
  text-decoration: underline;
}

.blog-post article section p {
  color: #444;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.blog-post article section p em {
  font-style: italic;
}

.blog-post article section p strong {
  font-weight: 600;
}

/* Item section with image */
.item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.item__image {
  width: 120px;
  height: 120px;
  flex-shrink: 0;
}

.item__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  background-color: #f0f0f0;
}

.item__content {
  flex: 1;
}

@media (min-width: 640px) {
  .item {
    flex-direction: row;
    align-items: flex-start;
  }
}

.blog-post article hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 2rem 0;
}

.blog-post article footer {
  color: #666;
  font-size: 0.95rem;
  padding-top: 1rem;
}

.blog-post article footer p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.blog-post article footer a {
  color: #661166;
  text-decoration: none;
}

.blog-post article footer a:hover {
  text-decoration: underline;
}
