/*
Theme Name: Design Vitae
Theme URI: https://example.com/
Author: Design Vitae Team
Author URI: https://example.com/
Description: Custom WordPress theme migrated from React design.
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: design-vitae
*/

/* Custom CSS */
body {
    font-family: 'Noto Sans JP', sans-serif;
    -webkit-font-smoothing: antialiased;
    background-color: #050505;
    color: #ffffff;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

/* Brutalist Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #111;
}

::-webkit-scrollbar-thumb {
    background: #333;
}

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.text-outline {
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.2);
    color: transparent;
}

.clip-diagonal {
    clip-path: polygon(0 0, 100% 0, 100% 85%, 0% 100%);
}

/* -------------------------------------------------------------------------
   Content Typography
   Tailwind CDNのpreflightで見出し/リストの装飾がリセットされるため、
   WordPress本文（the_content）用に最低限のタイポグラフィを復元する。
------------------------------------------------------------------------- */

.prose {
    color: #d1d5db; /* text-gray-300 */
    line-height: 1.95;
    font-size: 1.05rem;
}

.prose > *:first-child {
    margin-top: 0 !important;
}
.prose > *:last-child {
    margin-bottom: 0 !important;
}

.prose p {
    margin: 1.1em 0;
}

.prose h1,
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    color: #ffffff;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.01em;
    margin: 2.2em 0 0.9em;
}

.prose h1 { font-size: 2em; }
.prose h2 { font-size: 1.55em; }
.prose h3 { font-size: 1.25em; }
.prose h4 { font-size: 1.1em; }
.prose h5 { font-size: 1.0em; }
.prose h6 { font-size: 0.95em; letter-spacing: 0.02em; text-transform: uppercase; color: #e5e7eb; }

/* Heading decoration (h2-h6) */
.prose h2,
.prose h3,
.prose h4,
.prose h5,
.prose h6 {
    position: relative;
    padding-left: 0.95em;
    scroll-margin-top: 96px; /* fixed header offset */
}

.prose h2::before,
.prose h3::before,
.prose h4::before,
.prose h5::before,
.prose h6::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 3px;
    height: 0.95em;
    background: #ccff00; /* lime accent */
    border-radius: 9999px;
    box-shadow: 0 0 0 1px rgba(204, 255, 0, 0.15);
}

/* Subtle underline for hierarchy */
.prose h2::after,
.prose h3::after {
    content: "";
    position: absolute;
    left: 0.95em;
    bottom: -0.35em;
    width: 3.2em;
    height: 2px;
    background: rgba(204, 255, 0, 0.7);
    border-radius: 9999px;
}

.prose h4::after,
.prose h5::after,
.prose h6::after {
    content: "";
    position: absolute;
    left: 0.95em;
    bottom: -0.35em;
    width: 2.2em;
    height: 1px;
    background: rgba(255, 255, 255, 0.18);
    border-radius: 9999px;
}

.prose hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin: 2.2em 0;
}

.prose ul,
.prose ol {
    margin: 1.1em 0;
    padding-left: 1.4em;
}

.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }

.prose li {
    margin: 0.35em 0;
}

.prose li > p {
    margin: 0.55em 0;
}

.prose a {
    color: #ccff00; /* lime accent */
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}
.prose a:hover {
    opacity: 0.9;
}

.prose strong {
    color: #ffffff;
    font-weight: 900;
}

.prose blockquote {
    margin: 1.6em 0;
    padding-left: 1.1em;
    border-left: 3px solid rgba(204, 255, 0, 0.65);
    color: #e5e7eb;
}

.prose code {
    font-family: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    font-size: 0.95em;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.15em 0.35em;
    border-radius: 0.35em;
}

.prose pre {
    margin: 1.6em 0;
    padding: 1em 1.1em;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 0.75em;
    overflow-x: auto;
}
.prose pre code {
    background: transparent;
    border: 0;
    padding: 0;
}