:root {
    --gt-border: gray;
    --gt-border-dark: #555;
    --gt-accent: rgba(150, 48, 0);
    --gt-shadow: rgba(0, 0, 0, 0.28);
    --gt-panel-bg: color-mix(in srgb, var(--bg-color) 94%, #ffffff 6%);
    --gt-panel-bg-soft: color-mix(in srgb, var(--bg-color) 97%, #ffffff 3%);
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
}

img {
    max-width: 100%;
}

.page-wrapper {
    max-width: 980px;
    margin: 18px auto;
    padding: 12px 18px 18px;
    border: 2px ridge var(--gt-border);
    background: color-mix(in srgb, var(--bg-color) 92%, #ffffff 8%);
    box-shadow: 6px 6px 0 var(--gt-shadow);
}

.header {
    text-align: center;
    padding: 8px 0 0;
}

.header-logo {
    width: 30vw;
    min-width: 280px;
    max-width: 480px;
}

.header-subtitle {
    margin: 3px 0 8px;
    font-size: 0.95em;
    font-style: italic;
    letter-spacing: 0.03em;
    opacity: 0.85;
}

.header-badges {
    margin: 8px 0 0;
    font-size: 0.9em;
    opacity: 0.85;
}

.section-heading {
    font-size: 1em;
    margin: 0 0 8px;
    padding-bottom: 3px;
    border-bottom: 1px solid var(--gt-border);
    color: var(--gt-accent);
    font-style: italic;
    font-weight: bold;
}

.section-heading img {
    vertical-align: middle;
    margin-right: 3px;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 230px minmax(0, 1fr);
    gap: 0 24px;
    align-items: stretch;
    margin-top: 12px;
}

/* Left column */
.col-left {
    border-right: 2px ridge var(--gt-border);
    padding: 10px 14px 10px 0;
    text-align: center;
}

.col-left p {
    margin: 4px 0;
    line-height: 140%;
}

.col-left a {
    display: inline-block;
    margin: 3px 0;
}

.col-left .nav-section {
    margin-bottom: 16px;
    padding: 8px;
    border: 1px solid var(--gt-border);
    background: var(--gt-panel-bg-soft);
}

.col-left .site-map {
    text-align: center;
}

.col-left .site-map .side-bar-links {
    display: inline-block;
    text-align: left;
}

.site-map small {
    display: block;
    margin-top: -1px;
    font-size: 0.8em;
    opacity: 0.75;
}

.about-blurb {
    font-size: 0.92em;
}

.tiny-note {
    font-size: 0.82em;
    opacity: 0.78;
}

.button-wall p {
    margin: 6px 0;
}

/* Right column */
.col-right {
    min-width: 0;
    padding-left: 0;
    padding-top: 10px;
}

.right-section {
    margin-bottom: 18px;
    padding: 10px 12px;
    border: 2px ridge var(--gt-border);
    background: var(--gt-panel-bg);
}

.col-right > hr {
    display: none;
}

/* Quick Update section */
.quick-update {
    border-style: double;
}

.quick-update p {
    margin: 0;
    line-height: 150%;
}

/* Right Now widget */
.right-now {
    padding: 0;
}

.right-now-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 8px 0;
    border-bottom: 1px dotted var(--gt-border);
}

.right-now-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.right-now-row:first-child {
    padding-top: 0;
}

.right-now-label {
    min-width: 72px;
    padding-top: 2px;
    white-space: nowrap;
    font-size: 0.9em;
    font-style: italic;
    font-weight: bold;
}

.right-now-content {
    flex-grow: 1;
    font-size: 0.9em;
    line-height: 150%;
}

/* ===== Posts ===== */
#recent-posts-container ul,
#pinned-posts-container ul {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

#recent-posts-container li,
#pinned-posts-container li {
    padding: 5px 0;
    border-bottom: 1px dotted var(--gt-border);
    line-height: 140%;
}

#recent-posts-container li:last-child,
#pinned-posts-container li:last-child {
    border-bottom: 0;
}

#recent-posts-container time,
#pinned-posts-container time {
    font-size: 0.9em;
    opacity: 0.75;
}

.post-type {
    font-size: 0.85em;
    opacity: 0.75;
}

/* Secrets */
.tooltip {  
    position: relative;  
    display: inline-block;  
    cursor:default; 
    transition: 0s;
}  

    .tooltip .tooltiptext {  
        visibility: hidden;  
        width: 120px;  
        background-color: black;  
        color: #fff;  
        text-align: center;  
        border-radius: 6px;  
        padding: 10px 10px;  
        /* Position the tooltip */  
        position: absolute;  
        z-index: 1;  
        bottom: 100%;  
        left: 50%;  
        margin-left: -60px;  
    }  

    .tooltip:hover .tooltiptext { 
        transition-delay:1s;
        visibility: visible;  
    }  