:root {
  --primary: #f30051;
  --link-color: #f30051;
  --hover-color: #c00045;
  --accent: #f30051;
}

/* Base text */
body,
.content,
.post-content,
.post-title,
.entry-title,
.list-title {
  color: #2e2e33 !important;
  font-family: system-ui, sans-serif;
}

/* Headings */
.content h1,
.content h2,
.content h3,
.content h4,
.content h5,
.content h6,
.post-title,
.entry-title,
.list-title {
  color: #f30051 !important;
  font-weight: 700 !important;
}

/* Links */
a {
  color: var(--link-color) !important;
  text-decoration: none;
}

a:hover {
  color: var(--hover-color) !important;
  text-decoration: underline;
}

/* Buttons */
button,
.btn,
.button,
input[type="submit"] {
  background-color: #f30051 !important;
  border-color: #f30051 !important;
  color: white !important;
}

/* Tag chips */
.taxonomy-term {
  background-color: #f30051 !important;
  color: white !important;
}

/* Code blocks */
pre,
code {
  background-color: #f8f8f8 !important;
  color: #2e2e33 !important;
}

/* Footer styling */
footer {
  color: #999;
  text-align: center;
  font-size: 0.9rem;
}

footer a {
  color: #f30051;
}

footer a:hover {
  color: #c00045;
}

/* Hide theme toggle */
#theme-toggle {
  display: none !important;
}

/* Hero Section — Outer pink box preserved */
.home-info {
  background-color: #f30051;
  color: white;
  padding: 3.5rem 2rem;
  border-radius: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  text-align: center;
  max-width: 960px;
  margin: 2rem auto;
}

/* Remove any inner white box (if it exists via PaperMod) */
.home-info > div {
  background: none !important;
  box-shadow: none !important;
}

/* Ensure heading and paragraph wrap cleanly */
.home-info h1 {
  font-size: 2.3rem;
  color: white !important;
  margin-bottom: 1rem;
  word-break: break-word;
  overflow-wrap: break-word;
}

.home-info p {
  font-size: 1.15rem;
  line-height: 1.6;
  margin: 0 auto;
  max-width: 800px;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: normal;
  display: block;
  overflow: visible;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .home-info {
    padding: 2.5rem 1.2rem;
  }

  .home-info h1 {
    font-size: 1.8rem;
  }

  .home-info p {
    font-size: 1rem;
  }
}

/* Back link top-left */
nav ul li:first-child {
  margin-right: auto;
}

.home-info,
.home-info * {
  max-height: none !important;
  height: auto !important;
  overflow: visible !important;
  white-space: normal !important;
  word-break: break-word;
  overflow-wrap: break-word;
  flex-wrap: wrap !important;
  display: block !important;
}
