/*
Theme Name: MadMedic Railway Journal
Author: MadMedic
Description: Japanse Spoorwegen & Traveler's Journal stijl voor MadMedic.nl
Version: 2.0
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;900&family=JetBrains+Mono:wght@400;700&family=Noto+Sans+JP:wght@500;700;900&display=swap');

:root {
    --jr-black: #1a1a1a;
    --jr-white: #fafafa;
    --jr-paper: #f4efe6; /* Traveler's Notebook papier tint */
    --jr-border: #222222;
    
    /* Line Colors per categorie */
    --line-hike: #008000;    /* Yamanote Green */
    --line-radio: #ff6c00;   /* Chuo Orange */
    --line-trauma: #e60012;  /* Red Cross / Accent */
    --line-music: #00bfff;   /* Keihin Blue */
    --line-journal: #8a2be2; /* Purple */
}

body {
    font-family: 'Inter', 'Noto Sans JP', sans-serif;
    background-color: var(--jr-paper);
    color: var(--jr-black);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* Base Layout & Grid Setup */
.container {
    max-width: 900px;
    margin: 30px auto;
    padding: 0 20px;
}

/* Station Sign Header */
.site-header {
    background-color: #ffffff;
    border-top: 10px solid var(--jr-border);
    border-bottom: 3px solid var(--jr-border);
    padding: 30px 20px;
}

.station-board {
    border: 3px solid var(--jr-border);
    border-radius: 4px;
    padding: 20px 40px;
    max-width: 650px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    box-shadow: 4px 4px 0px var(--jr-border); /* Retro drop shadow */
}

.station-kanji {
    font-size: 1.1rem;
    letter-spacing: 6px;
    color: #666;
    margin-bottom: 2px;
}

.site-title {
    font-weight: 900;
    font-size: 3rem;
    letter-spacing: 3px;
    margin: 0;
    text-transform: uppercase;
}

.site-title a {
    color: var(--jr-black);
    text-decoration: none;
}

.station-next {
    display: flex;
    justify-content: space-between;
    margin-top: 15px;
    padding-top: 10px;
    border-top: 2px solid var(--jr-border);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Line Map Navigation */
.railway-nav {
    background: var(--jr-black);
    padding: 0;
    border-bottom: 3px solid var(--jr-border);
}

.railway-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}

.railway-nav li a {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: 12px 20px;
    font-weight: 700;
    font-size: 0.9rem;
    border-bottom: 4px solid transparent;
    transition: all 0.2s ease;
}

/* Category Line Colors op de Navigatie */
.railway-nav li.nav-hike a:hover { border-color: var(--line-hike); }
.railway-nav li.nav-radio a:hover { border-color: var(--line-radio); }
.railway-nav li.nav-trauma a:hover { border-color: var(--line-trauma); }
.railway-nav li.nav-music a:hover { border-color: var(--line-music); }

/* Journal / Station Cards */
.entry-card {
    background: #ffffff;
    border: 2px solid var(--jr-border);
    border-radius: 6px;
    padding: 25px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.85); /* Analog retro feel */
}

.entry-meta {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #555;
    text-transform: uppercase;
    margin-bottom: 10px;
    display: flex;
    gap: 15px;
    align-items: center;
}

.line-badge {
    display: inline-block;
    padding: 2px 8px;
    color: #fff;
    font-weight: 700;
    border-radius: 2px;
    background: var(--jr-black);
}

/* Categorie specifieke accent-randen */
.category-hike { border-left: 10px solid var(--line-hike); }
.category-radio { border-left: 10px solid var(--line-radio); }
.category-trauma { border-left: 10px solid var(--line-trauma); }
.category-music { border-left: 10px solid var(--line-music); }

.entry-title {
    margin: 0 0 15px 0;
    font-size: 1.6rem;
    font-weight: 900;
}

.entry-title a {
    color: var(--jr-black);
    text-decoration: none;
}

.entry-title a:hover {
    text-decoration: underline;
}

/* Simulated Eki Stamp / Station Stamp (Retro Accents) */
.eki-stamp {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 65px;
    height: 65px;
    border: 3px double var(--line-trauma);
    border-radius: 50%;
    color: var(--line-trauma);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-family: 'JetBrains Mono', monospace;
    font-weight: bold;
    text-align: center;
    transform: rotate(-12deg);
    opacity: 0.75;
    pointer-events: none;
}

/* ==========================================================================
   Traveler's Field Note / Quick Log Styling
   ========================================================================== */

.field-note-card {
    background: #ffffff;
    border: 2px solid var(--jr-border);
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.1);
    position: relative;
    background-image: radial-gradient(var(--jr-border) 0.75px, transparent 0.75px);
    background-size: 12px 12px; /* Subtiel stippenpatroon (Dot grid notebook) */
}

.field-note-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px dashed var(--jr-border);
    padding-bottom: 8px;
    margin-bottom: 12px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
    color: #444;
}

.note-tag {
    background: var(--jr-black);
    color: #fff;
    padding: 2px 6px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.note-meta {
    display: flex;
    gap: 12px;
}

.field-note-content {
    font-size: 1rem;
    line-height: 1.5;
    color: #111;
}

.field-note-content p {
    margin: 0 0 10px 0;
}

.field-note-footer {
    margin-top: 15px;
    padding-top: 8px;
    border-top: 1px solid #eee;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: #777;
    display: flex;
    justify-content: space-between;
}