/*
Theme Name: Script Fabrik
Theme URI: https://example.com/
Author: Heidi
Description: Zartes, minimalistisches Lifestyle- und Kreativ-Blog-Theme nach dem Script-Fabrik-Design. Modernisiert mit optimierter Lesbarkeit, responsiver mobiler Menüführung und voller WordPress-Widget-Unterstützung.
Version: 1.1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: script-fabrik
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Parisienne&display=swap');

:root {
  --ink: #2b2627;
  --muted: #857778;
  --rose: #ff5475;
  --rose-hover: #e03b5c;
  --pale: #fff5f7;
  --line: #faebee;
  --button: #fff0f3;
  --button-hover: #ffe2e8;
  --bg-gradient: linear-gradient(180deg, #fff8f9 0%, #ffffff 200px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background-color: #faf5f6;
  background-image: linear-gradient(90deg, #fff5f7 0%, #ffffff 18%, #ffffff 82%, #fff5f7 100%);
  color: var(--ink);
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, transform 0.15s ease;
}

a:hover, a:focus {
  color: var(--rose);
}

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

/* Layout */
.site-shell {
  max-width: 860px;
  margin: 0 auto;
  background: #ffffff;
  min-height: 100vh;
  box-shadow: 0 0 35px rgba(180, 110, 125, 0.08);
  display: flex;
  flex-direction: column;
}

/* Topbar */
.topbar {
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 28px;
}

.menu {
  display: flex;
  gap: 22px;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.menu li {
  margin: 0;
  padding: 0;
}

.menu a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #55494a;
}

.menu a:hover, .menu .current-menu-item > a {
  color: var(--rose);
}

.top-icons {
  display: flex;
  gap: 14px;
  color: #948687;
  font-size: 14px;
}

/* Brand */
.brand {
  text-align: center;
  padding: 34px 20px 30px;
}

.site-title {
  font-family: 'Parisienne', cursive;
  color: var(--rose);
  font-size: 58px;
  font-weight: 400;
  line-height: 1.15;
  margin: 0;
  text-shadow: 0 1px 2px rgba(255, 84, 117, 0.1);
}

.site-description {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 8px;
  font-weight: 500;
}

/* Content Area */
.content-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 36px;
  padding: 10px 36px 50px;
  flex: 1;
}

.main-column {
  min-width: 0;
}

/* Posts / Cards */
.post-card {
  margin: 0 0 45px;
  text-align: center;
}

.post-card + .post-card {
  border-top: 1px solid var(--line);
  padding-top: 40px;
}

.post-meta {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
  color: var(--rose);
  margin-bottom: 5px;
}

.post-meta a {
  color: var(--rose);
}

.post-date {
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 12px;
}

.post-card-title {
  font-size: 22px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 16px;
  color: var(--ink);
}

.post-card-title a {
  color: var(--ink);
}

.post-card-title a:hover {
  color: var(--rose);
}

.post-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 4px;
  margin: 0 auto 16px;
  background: #fbf0f2;
  transition: opacity 0.25s ease;
}

.post-thumb:hover {
  opacity: 0.93;
}

.post-excerpt {
  font-size: 13.5px;
  line-height: 1.65;
  color: #55494a;
  margin: 0 auto 16px;
  max-width: 95%;
}

.read-more, .button {
  display: inline-block;
  background: var(--button);
  color: #4b3e40;
  padding: 8px 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 20px;
  border: 1px solid rgba(255, 84, 117, 0.15);
  transition: all 0.2s ease;
}

.read-more:hover, .button:hover {
  background: var(--button-hover);
  color: var(--rose);
  transform: translateY(-1px);
}

/* Single Entry */
.entry {
  padding-bottom: 20px;
}

.entry-header {
  text-align: center;
  margin-bottom: 24px;
}

.entry-title {
  font-size: 28px;
  line-height: 1.3;
  margin: 10px 0 8px;
  color: var(--ink);
  font-weight: 600;
}

.entry-thumbnail {
  margin: 0 0 24px;
  border-radius: 4px;
  overflow: hidden;
}

.entry-content {
  font-size: 15px;
  line-height: 1.8;
  color: #3b3334;
}

.entry-content p {
  margin: 0 0 1.5em;
}

.entry-content h2, .entry-content h3 {
  color: var(--ink);
  margin-top: 1.6em;
  margin-bottom: 0.7em;
  font-weight: 600;
}

.entry-content h2 {
  font-size: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

.entry-content h3 {
  font-size: 17px;
}

.entry-content blockquote {
  border-left: 3px solid var(--rose);
  padding: 10px 18px;
  margin: 20px 0;
  background: var(--pale);
  font-style: italic;
  color: #554446;
}

.entry-content ul, .entry-content ol {
  padding-left: 24px;
  margin-bottom: 1.5em;
}

.entry-footer {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.post-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  font-size: 12px;
  gap: 15px;
}

.post-nav a {
  color: var(--rose);
  font-weight: 600;
}

/* Sidebar */
.sidebar {
  padding-top: 2px;
  text-align: center;
}

.widget {
  margin-bottom: 30px;
  background: #fff;
  padding: 0;
}

.widget-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin: 0 0 14px;
  font-weight: 700;
  color: #4b3e40;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.widget-title::before, .widget-title::after {
  content: "";
  display: inline-block;
  height: 1px;
  background: var(--line);
  flex: 1;
}

.profile-image {
  width: 105px;
  height: 105px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 12px;
  box-shadow: 0 3px 12px rgba(255, 84, 117, 0.15);
  border: 2px solid #ffffff;
}

.about-text {
  font-size: 12.5px;
  line-height: 1.65;
  margin: 0 auto 15px;
  max-width: 200px;
  color: #5f5254;
}

.socials {
  display: flex;
  justify-content: center;
  gap: 14px;
  color: #7a6c6e;
  font-size: 15px;
}

.socials a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--pale);
  transition: all 0.2s ease;
}

.socials a:hover {
  background: var(--rose);
  color: #ffffff;
  transform: translateY(-2px);
}

.popular-item {
  display: block;
  margin-bottom: 16px;
  text-align: left;
}

.popular-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 6px;
  background: #fdf5f6;
}

.popular-item span {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}

.popular-item:hover span {
  color: var(--rose);
}

.category-list {
  background: linear-gradient(180deg, #fff7f9 0%, #fff1f4 100%);
  padding: 12px 14px;
  border-radius: 6px;
  border: 1px solid var(--line);
}

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

.category-list li {
  margin-bottom: 6px;
}

.category-list a {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #5a4f50;
}

.category-list a:hover {
  color: var(--rose);
  padding-left: 3px;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 25px 0 10px;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  padding: 0 10px;
  background: var(--button);
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.pagination .current {
  background: var(--rose);
  color: #fff;
  border-color: var(--rose);
}

.pagination a:hover {
  background: var(--button-hover);
  color: var(--rose);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 24px 36px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  background: #fff;
}

/* Comments */
.comments-area {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.comment-body {
  background: var(--pale);
  padding: 14px 18px;
  border-radius: 6px;
  margin-bottom: 14px;
  font-size: 13.5px;
}

.comment-meta {
  font-size: 11px;
  color: var(--muted);
  margin-bottom: 8px;
}

/* Accessibility */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Responsive */
@media (max-width: 768px) {
  body {
    background: #ffffff;
  }
  .site-shell {
    width: 100%;
    box-shadow: none;
  }
  .topbar {
    padding: 12px 18px;
    flex-direction: column;
    gap: 10px;
  }
  .menu {
    gap: 14px;
    justify-content: center;
  }
  .top-icons {
    display: none;
  }
  .site-title {
    font-size: 46px;
  }
  .content-wrap {
    grid-template-columns: 1fr;
    padding: 0 20px 35px;
    gap: 28px;
  }
  .sidebar {
    border-top: 1px solid var(--line);
    padding-top: 30px;
  }
  .site-footer {
    padding: 20px;
  }
}