/* Standalone guide pages (/guides/...). Builds on cs16.css for the
   Counter-Strike VGUI look; kept separate from styles.css so these pages
   stay light and render without the SPA scripts. */

body {
    min-height: 100vh;
    background: var(--bg) url('images/background.webp') center / cover fixed no-repeat;
    font-family: 'Verdana', 'Geneva', sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

a {
    color: var(--accent);
}

a:hover {
    color: #ffd700;
}

.guide-shell {
    max-width: 860px;
    margin: 0 auto;
    padding: 24px 16px 48px;
}

.guide-topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 14px;
}

.guide-home {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #eeae00;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 2px #000;
}

.guide-home:hover {
    color: #ffd700;
    text-shadow: 0 0 5px #ffd700;
}

.guide-topbar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    font-size: 14px;
}

.guide-topbar nav a {
    color: #fff;
    text-decoration: none;
    text-shadow: 1px 1px 2px #000;
}

.guide-topbar nav a:hover {
    color: var(--accent);
}

.guide-panel {
    background: var(--bg);
    border: 1px solid;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    padding: 28px 34px 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
}

.breadcrumb {
    margin-bottom: 14px;
    color: var(--text-3);
    font-size: 13px;
}

.breadcrumb a {
    color: var(--text-3);
}

.guide-panel h1 {
    margin-bottom: 6px;
    color: #fff;
    font-size: 30px;
    font-weight: bold;
    line-height: 1.25;
}

.guide-lead {
    margin-bottom: 22px;
    color: var(--secondary-text);
    font-size: 17px;
}

.guide-panel h2 {
    margin: 30px 0 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-dark);
    box-shadow: 0 1px 0 var(--border-light);
    color: var(--accent);
    font-size: 21px;
    font-weight: bold;
}

.guide-panel h3 {
    margin: 18px 0 6px;
    color: #fff;
    font-size: 17px;
    font-weight: bold;
}

.guide-panel p,
.guide-panel ul,
.guide-panel ol {
    margin-bottom: 12px;
}

.guide-panel ul,
.guide-panel ol {
    padding-left: 24px;
}

.guide-panel li {
    margin-bottom: 6px;
}

.guide-panel strong {
    color: #fff;
}

.guide-panel code {
    padding: 1px 5px;
    background: var(--secondary-bg);
    border: 1px solid var(--border-dark);
    color: #ffaa00;
    font-family: Consolas, 'Courier New', monospace;
    font-size: 0.95em;
    overflow-wrap: anywhere;
}

.guide-callout {
    margin: 18px 0;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid #555;
    border-left: 3px solid #ffaa00;
}

.guide-callout p:last-child {
    margin-bottom: 0;
}

.guide-connect {
    display: inline-block;
    margin: 4px 0 8px;
    padding: 8px 14px;
    background: var(--secondary-bg);
    border: 1px solid;
    border-color: var(--border-light) var(--border-dark) var(--border-dark) var(--border-light);
    color: #fff;
    font-weight: bold;
    text-decoration: none;
}

.guide-connect:hover {
    color: var(--accent);
}

.guide-connect:active {
    border-color: var(--border-dark) var(--border-light) var(--border-light) var(--border-dark);
}

/* Weapon order table */
.weapon-table {
    width: 100%;
    margin: 10px 0 16px;
    border-collapse: collapse;
    font-size: 15px;
}

.weapon-table th,
.weapon-table td {
    padding: 6px 10px;
    border: 1px solid var(--border-dark);
    text-align: left;
    vertical-align: middle;
}

.weapon-table th {
    background: var(--secondary-bg);
    color: var(--accent);
}

.weapon-table tbody tr:nth-child(odd) {
    background: rgba(0, 0, 0, 0.14);
}

.weapon-table th:first-child,
.weapon-table td:first-child {
    width: 56px;
}

.weapon-table td:nth-child(2) {
    width: 72px;
}

.weapon-table img {
    display: block;
    height: 22px;
    width: auto;
}

.weapon-table .tier {
    color: var(--text-3);
    font-size: 13px;
}

/* Command list */
.command-table {
    width: 100%;
    margin: 10px 0 16px;
    border-collapse: collapse;
}

.command-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-dark);
    vertical-align: top;
}

.command-table td:first-child {
    width: 150px;
    white-space: nowrap;
}

/* Guide index cards */
.guide-list {
    display: grid;
    gap: 12px;
    margin-top: 10px;
    padding: 0 !important;
    list-style: none;
}

.guide-card {
    display: block;
    padding: 14px 16px;
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid #555;
    border-left: 3px solid #c9c38c;
    color: var(--text);
    text-decoration: none;
}

.guide-card:hover {
    border-left-color: #ffaa00;
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
}

.guide-card strong {
    display: block;
    margin-bottom: 4px;
    color: var(--accent);
    font-size: 18px;
}

.guide-card span {
    color: var(--secondary-text);
    font-size: 15px;
}

.guide-related {
    margin-top: 32px;
    padding-top: 14px;
    border-top: 1px solid var(--border-dark);
}

.guide-footer {
    margin-top: 18px;
    color: #ddd;
    font-size: 13px;
    text-align: center;
    text-shadow: 1px 1px 2px #000;
}

.guide-footer a {
    color: #fff;
}

@media (max-width: 640px) {
    .guide-shell {
        padding: 14px 10px 32px;
    }

    .guide-panel {
        padding: 20px 16px 24px;
    }

    .guide-panel h1 {
        font-size: 24px;
    }

    .guide-home {
        font-size: 19px;
    }

    .command-table td:first-child {
        width: auto;
        white-space: normal;
    }

    .weapon-table th,
    .weapon-table td {
        padding: 5px 6px;
    }
}

/* Site credit under the footer line. */
.guide-footer .guide-credit {
    margin-top: 4px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

.guide-footer .guide-credit a {
    color: inherit;
    text-decoration: none;
}

.guide-footer .guide-credit a:hover {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
}
