:root {
    --copper: #c47b4a;
    --moss: #3b4719;
    --sky: #354659;
    --slate: #354659;
    --skyaccent: #81bdd0;
}

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

body {
    font-family: Georgia, "Times New Roman", serif;
    background: #fff;
    color: #000;
    line-height: 1.6;
}

.layout {
    display: flex;
    min-height: 100vh;
}

.image-panel {
    width: 50%;
    height: 100vh;
    position: sticky;
    top: 0;
    overflow: hidden;
    border-right: 1px solid #000;
}

.image-panel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.content-panel {
    padding: 40px;
    overflow-y: auto;
    width: 60%;
}

section {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(53, 70, 89, 0.2);
}

/* Header hierarchy */

h1,
h2,
h3,
h4 {
    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
    font-weight: normal;
    line-height: 1.2;
}

h1 {
    font-size: 2.6rem;
    color: var(--slate);
    letter-spacing: 0.05.5em;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--copper);
    padding-bottom: 0.35rem;
}

h2 {
    font-size: 1.8rem;
    color: var(--moss);
    letter-spacing: 0.03em;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}

h3 {
    font-size: 1.3rem;
    color: var(--copper);
    letter-spacing: 0.08em;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

h4 {
    font-size: 0.95rem;
    color: var(--slate);
    text-transform: small-caps;
    letter-spacing: 0.18em;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    text-decoration-line: underline;
}

p {
    margin-bottom: 1rem;
    max-width: 70ch;
}

ul {
    margin: 1rem 0 1rem 1.5rem;
}

ul li {
    margin-bottom: 0.4rem;
}

ul li::marker {
    color: var(--copper);
}

li {
    margin-bottom: 0.4rem;
    padding-left: 1.5rem;
    position: relative;
}

/* Green checkmark */
li.check::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #3b4719; /* your moss green */
    font-weight: bold;
}

/* Red X */
li.cross::before {
    content: "✗";
    position: absolute;
    left: 0;
    color: Red;
    font-weight: bold;
}

/* Links */

a {
    color: var(--sky);
    text-decoration: none;
    border-bottom: 1px dotted var(--skyaccent);
    transition: all 0.15s ease;
}

a:hover {
    color: var(--copper);
    border-bottom-color: var(--copper);
}

/* Emphasis */

em,
i {
    color: var(--moss);
    font-style: italic;
}

strong,
b {
    color: var(--copper);
    font-weight: bold;
}
hr {
    border: 0;
    border-top: 1px solid #000;
    margin: 2rem 0;
}

/* Optional fantasy accent class */

.accent {
    color: var(--slate);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-size: 0.9rem;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
    background: #fff;
    border: 1px solid rgba(53, 70, 89, 0.25);
}

caption {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    letter-spacing: 0.08em;
    color: #354659;
    text-align: left;
}

thead {
    background: #354659;
    color: #fff;
}

th {
    padding: 0.85rem 1rem;
    text-align: center;
    font-weight: normal;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-bottom: 2px solid #c47b4a;
}

td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid rgba(53, 70, 89, 0.15);
    vertical-align: top;
}

tbody tr:nth-child(even) {
    background: rgba(129, 189, 205.5.5e8, 0.08);
}

tbody tr:hover {
    background: rgba(196, 123, 74, 0.08);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Optional status classes */

td.good {
    color: #3b4719;
    font-weight: bold;
}

td.bad {
    color: #c47b4a;
    font-weight: bold;
}

td.note {
    color: #354659;
    font-style: italic;
}

.back-button {
    display: inline-block;
    padding: 0.7rem 1.2rem;
    margin: 1rem 0 2rem 0;

    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;

    font-size: 0.95rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    color: #354659;
    text-decoration: none;

    border: 1px solid #354659;
    background: #fff;

    transition:
        background-color 0.15s ease,
        color 0.15s ease,
        border-color 0.15s ease;
}

.back-button::before {
    content: "← ";
    color: #c47b4a;
}

.back-button:hover {
    color: #fff;
    background: #354659;
    border-color: #354659;
}

.back-button:hover::before {
    color: #81bdd0;
}

@media (max-width: 900px) {
    .layout {
        flex-direction: column;
    }

    .image-panel,
    .content-panel {
        width: 100%;
    }

    .image-panel {
        height: 40vh;
        border-right: none;
        border-bottom: 1px solid #000;
    }
}

/* Tooltip container */
.tooltip {
    position: relative;
    display: inline-block;
    cursor: help;
    color: #c47b4a;
    border-bottom: 1px dotted #354659; /* ink-like underline */
}

/* Tooltip text */
.tooltiptext {
    visibility: hidden;

    width: 250px;
    padding: 0.6rem 0.75rem;

    position: absolute;
    z-index: 10;

    top: 125%;
    left: 50%;
    transform: translateX(-50%);

    background: #fff;
    color: #354659;

    border: 1px solid rgba(53, 70, 89, 0.35);
    box-shadow: 0 2px 8px rgba(53, 70, 89, 0.08);

    font-size: 0.85rem;
    line-height: 1.4;
    letter-spacing: 0.02em;

    font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}

/* Show tooltip */
.tooltip:hover .tooltiptext {
    visibility: visible;
}
