MediaWiki:Common.css: Difference between revisions

From Winds Of Valen Wiki
Jump to navigation Jump to search
Full OSRS-style design system v1
Refined OSRS Global Layout & Colors
Line 1: Line 1:
/* ============================================================
/* ============================================================
   WINDS OF VALEN WIKI — Common CSS
   WINDS OF VALEN WIKI — Global CSS Overrides
  Scoped under .wov-* prefix so nothing bleeds to default pages.
  Main Page layout based on OSRS Wiki aesthetic.
   ============================================================ */
   ============================================================ */


/* ---- Google Fonts ----------------------------------------- */
/* ---- Google Fonts ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@700&family=Inter:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@700&family=Inter:wght@400;600&display=swap');
:root {
    --header-bg-image: url('/images/header-bg-placeholder.jpg'); /* Placeholder tiled bg */
}


/* ============================================================
/* ============================================================
   GLOBAL WIKI OVERRIDES (body-level, theme tokens)
   GLOBAL BACKGROUND & BORDERS
   ============================================================ */
   ============================================================ */
body {
body, body.skin-vector-2022 {
    background-color: #e1d5be !important;
     color-scheme: light;
     color-scheme: light;
     font-family: 'PT Serif', Georgia, 'Times New Roman', serif;
     font-family: 'PT Serif', Georgia, serif;
}
 
#content, .mw-body {
    background-color: #f1e7d3 !important;
    border: none !important;
    box-shadow: none !important;
}
 
#mw-content-text {
    background-color: transparent !important;
}
 
/* Hide appearance / text / width / color tools and right rail globally */
#vector-appearance,
#vector-page-tools-pinned-container,
.vector-column-end {
    display: none !important;
}
}


/* ---- Typography overrides --------------------------------- */
/* ============================================================
a { color: #936039; }
  HEADER & TOP NAVIGATION
a:hover { color: #52351e; text-decoration: underline; }
  ============================================================ */
.vector-header-container,
.mw-header {
    background-image: var(--header-bg-image);
    background-repeat: repeat-x;
    background-position: top left;
    background-color: #4a3c28; /* Fallback */
}


h1, h2, h3, h4, h5, h6 {
/* Precise Logo Positioning */
     font-family: 'PT Serif', Georgia, serif;
#p-logo, .mw-logo {
     position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999;
}
#p-logo img, .mw-logo img, .mw-logo-icon {
    width: 140px !important;
    height: auto !important;
}
}


/* ---- Wikitable styles (OSRS look) ------------------------- */
/* Navigation Top Bar */
table.wikitable {
.vector-page-toolbar {
     background: #f1e7d3;
     background-color: #4a3c28 !important;
     border: 1px solid #a19277;
     border-bottom: 1px solid #2a2214 !important;
    color: #4a3c28;
}
}
table.wikitable > * > tr > th {
.vector-page-tabs .mw-list-item a {
    background: #c9b688;
     color: #eedfad !important;
    border: 1px solid #a19277;
     color: #4a3c28;
    font-family: 'PT Serif', Georgia, serif;
}
}
table.wikitable > * > tr > td {
.vector-page-tabs .mw-list-item.selected a,
     background: #fcf6e8;
.vector-page-tabs .mw-list-item a:hover {
     border: 1px solid #a19277;
     color: #ffffff !important;
     border-bottom: 2px solid #eedfad !important;
}
}


/* ============================================================
/* ============================================================
   HIDE "Main Page" h1 HEADING ON MAIN PAGE ONLY
   MAIN PAGE HIDE H1
  (JS also does this; CSS is the instant fallback)
   ============================================================ */
   ============================================================ */
.page-Main_Page #firstHeading,
.page-Main_Page #firstHeading,
.page-Main_Page .mw-first-heading {
.page-Main_Page .mw-first-heading {
     display: none !important;
     display: none !important;
}
.page-Main_Page .mw-body-content {
    padding-top: 0 !important;
}
}


/* Remove the top padding gap that appears when h1 is hidden */
/* ============================================================
.page-Main_Page #mw-content-text {
  WIKITABLES
     margin-top: 0 !important;
  ============================================================ */
table.wikitable {
    background: #fcf6e8;
    border: 1px solid #a19277;
     color: #4a3c28;
}
}
.page-Main_Page .mw-body-content {
table.wikitable > * > tr > th {
     padding-top: 6px !important;
    background: #b3a07d;
    border: 1px solid #a19277;
    color: #4a3c28;
}
table.wikitable > * > tr > td {
     background: #fcf6e8;
    border: 1px solid #a19277;
}
}


/* ============================================================
/* ============================================================
   MAIN PAGE — OUTER WRAPPER
   MAIN PAGE COMPONENTS
   ============================================================ */
   ============================================================ */
.wov-main-page {
.wov-main-page {
Line 68: Line 114:
}
}


/* ============================================================
/* Welcome Box */
  WELCOME BOX
  ============================================================ */
.wov-welcome-box {
.wov-welcome-box {
     background: #fcf6e8;
     background: #fcf6e8;
Line 86: Line 130:
     line-height: 1.2;
     line-height: 1.2;
}
}
.wov-welcome-sub {
    color: #6b5b45;
    font-size: 0.92em;
    margin: 0;
    line-height: 1.5;
}
.wov-welcome-sub a { color: #936039; }


/* ============================================================
/* Layout Grid */
  TWO-COLUMN LAYOUT GRID
  ============================================================ */
.wov-layout-grid {
.wov-layout-grid {
     display: flex;
     display: flex;
Line 107: Line 142:
}
}
.wov-side-col {
.wov-side-col {
     width: 282px;
     width: 300px;
     flex-shrink: 0;
     flex-shrink: 0;
    flex-grow: 0;
}
}


/* ============================================================
/* Parchment Box */
  PARCHMENT BOX — base component for every section
  ============================================================ */
.wov-parchment-box {
.wov-parchment-box {
     background: #f1e7d3;
     background: #fcf6e8; /* Inside content area block */
     border: 1px solid #a19277;
     border: 1px solid #a19277;
     margin-bottom: 14px;
     margin-bottom: 14px;
Line 122: Line 154:
}
}


/* ============================================================
/* Section Header */
  SECTION HEADER — dark serif with gold bottom line
  ============================================================ */
.wov-section-header {
.wov-section-header {
     font-family: 'PT Serif', Georgia, serif;
     font-family: 'PT Serif', Georgia, serif;
Line 131: Line 161:
     color: #4a3c28;
     color: #4a3c28;
     padding: 7px 14px 6px;
     padding: 7px 14px 6px;
     border-bottom: 2px solid #c9a55a;
     border-bottom: 1px solid #a19277;
     background: #ede2cc;
     background: #f1e7d3;
     letter-spacing: 0.015em;
     letter-spacing: 0.015em;
    display: flex;
    align-items: center;
    gap: 6px;
}
}
.wov-section-header-dark {
.wov-section-header-dark {
Line 142: Line 169:
     font-size: 0.97em;
     font-size: 0.97em;
     font-weight: bold;
     font-weight: bold;
     color: #e8d8ff;
     color: #ffffff;
     padding: 8px 14px 7px;
     padding: 8px 14px 7px;
     border-bottom: 1px solid rgba(255,255,255,0.18);
     border-bottom: 1px solid rgba(255,255,255,0.2);
     letter-spacing: 0.015em;
     background: #1e3a6e;
}
}


/* ============================================================
/* Updates Row */
  LATEST UPDATES ROW — two cards side-by-side
  ============================================================ */
.wov-updates-row {
.wov-updates-row {
     display: flex;
     display: flex;
Line 159: Line 184:
     padding: 10px 14px 12px;
     padding: 10px 14px 12px;
     border-right: 1px solid #a19277;
     border-right: 1px solid #a19277;
     background: #f8f2e4;
     background: #fcf6e8;
}
}
.wov-update-card:last-child {
.wov-update-card:last-child {
Line 189: Line 214:
.wov-update-snippet {
.wov-update-snippet {
     font-size: 0.84em;
     font-size: 0.84em;
     color: #5a4a34;
     color: #4a3c28;
     margin: 0;
     margin: 0;
     line-height: 1.55;
     line-height: 1.55;
}
}


/* ============================================================
/* Categories Grid */
  CATEGORIES GRID — 4-column square cards
  ============================================================ */
.wov-categories-grid {
.wov-categories-grid {
     display: grid;
     display: grid;
Line 207: Line 230:
     border: 1px solid #a19277;
     border: 1px solid #a19277;
     overflow: hidden;
     overflow: hidden;
     background: #eedfad;
     background: #ffffff;
     position: relative;
     display: flex;
    flex-direction: column;
}
}
.wov-cat-img-box {
.wov-cat-img-box {
Line 215: Line 239:
     align-items: center;
     align-items: center;
     justify-content: center;
     justify-content: center;
     min-height: 90px;
     height: 90px;
     padding: 10px;
     padding: 0;
    border-bottom: 1px solid #a19277;
}
}
/* Target the actual img MediaWiki renders inside */
.wov-cat-img-box img {
.wov-cat-img-box img,
     max-width: 100%;
.wov-cat-img-box a img {
     max-height: 100%;
     max-width: 80px !important;
     max-height: 80px !important;
    width: auto !important;
    height: auto !important;
     object-fit: contain;
     object-fit: contain;
     display: block;
     display: block;
}
}
.wov-cat-label {
.wov-cat-label {
     background: #c9b688;
     background: #fcf6e8;
    border-top: 1px solid #a19277;
     padding: 6px;
     padding: 5px 6px;
     text-align: center;
     text-align: center;
     font-size: 0.84em;
     font-size: 0.84em;
    font-weight: bold;
    color: #4a3c28;
}
}
.wov-cat-label a {
.wov-cat-label a {
     color: #4a3c28 !important;
     color: #611313 !important;
     text-decoration: none !important;
     text-decoration: none !important;
     font-weight: bold;
     font-weight: bold;
}
}
.wov-cat-label a:hover {
.wov-cat-label a:hover {
     color: #7a1212 !important;
     text-decoration: underline !important;
}
}


/* ============================================================
/* Popular Pages */
  POPULAR PAGES — 3-column dark button grid
  ============================================================ */
.wov-popular-inner {
.wov-popular-inner {
     padding: 10px;
     padding: 10px;
     background: #ede2cc;
     background: #f1e7d3;
}
}
.wov-popular-grid {
.wov-popular-grid {
     display: grid;
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     grid-template-columns: repeat(3, 1fr);
     gap: 6px;
     gap: 8px;
}
}
.wov-popular-btn {
.wov-popular-btn {
     display: block;
     display: block;
     background: #5c4e38;
     background: #5c4e38;
     border: 1px solid #3a301d;
     border: 1px solid #4a3c28;
    border-bottom: 2px solid #2a2214;
     color: #ffffff !important;
     color: #fff !important;
     font-family: 'Inter', sans-serif;
     font-family: 'Inter', 'PT Serif', sans-serif;
     font-size: 0.85em;
     font-size: 0.82em;
     font-weight: bold;
     font-weight: bold;
     text-align: center;
     text-align: center;
     padding: 9px 6px;
     padding: 12px 10px;
     text-decoration: none !important;
     text-decoration: none !important;
     line-height: 1.3;
     line-height: 1.3;
    transition: background 0.12s ease, border-color 0.12s ease;
    cursor: pointer;
}
}
.wov-popular-btn:hover {
.wov-popular-btn:hover {
     background: #4a3c28 !important;
     background: #4a3c28;
    color: #f0d890 !important;
    text-decoration: none !important;
    border-color: #2a2214;
}
}


/* ============================================================
/* Skills Grid */
  SKILL TRAINING GRID
  ============================================================ */
.wov-skills-inner {
.wov-skills-inner {
     padding: 8px 10px 10px;
     padding: 8px 10px 10px;
Line 294: Line 302:
}
}
.wov-skill-item {
.wov-skill-item {
     padding: 5px 10px;
     padding: 6px 10px;
     font-size: 0.85em;
     font-size: 0.85em;
     border-bottom: 1px solid #c9b688;
     border-bottom: 1px solid #a19277;
     border-right: 1px solid #c9b688;
     border-right: 1px solid #a19277;
    color: #4a3c28;
     display: flex;
     display: flex;
     align-items: center;
     align-items: center;
     gap: 5px;
     gap: 6px;
}
}
.wov-skill-item:nth-child(3n) {
.wov-skill-item:nth-child(3n) {
Line 307: Line 314:
}
}
.wov-skill-item img {
.wov-skill-item img {
     width: 16px !important;
     width: 18px !important;
     height: 16px !important;
     height: 18px !important;
     object-fit: contain;
     object-fit: contain;
    vertical-align: middle;
    flex-shrink: 0;
}
}
.wov-skill-item a {
.wov-skill-item a {
     color: #936039 !important;
     color: #4a3c28 !important;
     text-decoration: none;
     text-decoration: none;
    font-weight: bold;
}
}
.wov-skill-item a:hover {
.wov-skill-item a:hover {
    color: #a61c1c !important;
     text-decoration: underline;
     text-decoration: underline;
}
}


/* ============================================================
/* Sidebar Widgets */
  SIDEBAR WIDGETS
.wov-widget {
  ============================================================ */
     background: #fcf6e8;
 
/* -- Wiki Statistics Widget -- */
.wov-widget-stats {
     background: #f1e7d3;
     border: 1px solid #a19277;
     border: 1px solid #a19277;
     margin-bottom: 12px;
     margin-bottom: 14px;
    overflow: hidden;
}
}
.wov-stats-body {
.wov-widget-body {
     padding: 10px 14px;
     padding: 10px 14px;
     font-size: 0.86em;
     font-size: 0.85em;
     color: #4a3c28;
     color: #4a3c28;
     line-height: 2;
     line-height: 1.6;
}
}
.wov-stats-body dl {
.wov-widget-body dl {
    margin: 0;
     display: grid;
     display: grid;
     grid-template-columns: auto 1fr;
     grid-template-columns: auto 1fr;
     gap: 0 8px;
     gap: 4px 8px;
    margin: 0;
}
}
.wov-stats-body dt {
.wov-widget-body dt {
     font-weight: bold;
     font-weight: bold;
    color: #6b5b45;
}
}
.wov-stats-body dd {
.wov-widget-body dd {
     margin: 0;
     margin: 0;
    font-weight: bold;
    color: #4a3c28;
     text-align: right;
     text-align: right;
}
}


/* -- Discord / Community Widget -- */
/* Discord Community Box */
.wov-discord-widget {
.wov-discord-widget {
     background: linear-gradient(135deg, #1e3a6e 0%, #2b5797 60%, #1a306e 100%);
     background: #1e3a6e;
     border: 1px solid #16306e;
     border: 1px solid #14284f;
     margin-bottom: 12px;
     margin-bottom: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(20,40,100,0.3);
}
}
.wov-discord-body {
.wov-discord-body {
     padding: 10px 14px 14px;
     padding: 12px 14px;
}
}
.wov-discord-desc {
.wov-discord-desc {
     font-size: 0.84em;
     font-size: 0.85em;
     color: #b8cdf0;
     color: #e2e8f0;
     line-height: 1.6;
     line-height: 1.5;
     margin-bottom: 10px;
     margin: 0 0 12px;
}
}
.wov-discord-link {
 
     display: flex !important;
/* Simple solid HTML button for Discord */
    align-items: center;
.wov-discord-btn-link {
    justify-content: center;
     display: block;
    gap: 8px;
     background: #5865F2;
     background: #5865F2;
     border: 1px solid #4752c4;
     color: #ffffff !important;
     border-bottom: 2px solid #3341a8;
     text-align: center;
    border-radius: 4px;
    color: #fff !important;
     font-family: 'Inter', sans-serif;
     font-family: 'Inter', sans-serif;
     font-weight: bold;
     font-weight: bold;
     font-size: 0.87em;
     font-size: 0.9em;
     padding: 8px 14px;
     padding: 10px;
    border-radius: 4px;
     text-decoration: none !important;
     text-decoration: none !important;
     transition: background 0.15s ease;
     border: 1px solid #4752c4;
    cursor: pointer;
}
}
.wov-discord-link:hover {
.wov-discord-btn-link:hover {
     background: #4752c4 !important;
     background: #4752c4;
    color: #fff !important;
    text-decoration: none !important;
}
.wov-discord-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}
}


/* -- Help Improve Widget -- */
/* Help Improve */
.wov-widget-help {
.wov-help-list {
     background: #f1e7d3;
     margin: 6px 0 0;
    border: 1px solid #a19277;
     padding-left: 16px;
     margin-bottom: 12px;
    overflow: hidden;
}
}
.wov-help-body {
.wov-help-list a {
    padding: 8px 14px 12px;
     color: #a61c1c !important;
    font-size: 0.85em;
    color: #4a3c28;
    line-height: 1.7;
}
.wov-help-body p {
    margin: 0 0 6px;
}
.wov-help-body ul {
    margin: 4px 0 0;
    padding: 0 0 0 14px;
    list-style: disc;
}
.wov-help-body ul li {
    margin-bottom: 1px;
}
.wov-help-body ul li a {
     color: #936039 !important;
     text-decoration: none;
     text-decoration: none;
}
}
.wov-help-body ul li a:hover {
.wov-help-list a:hover {
     text-decoration: underline;
     text-decoration: underline;
}
}


/* ============================================================
  RESPONSIVE — collapse to single column
  ============================================================ */
@media screen and (max-width: 800px) {
@media screen and (max-width: 800px) {
     .wov-layout-grid {
     .wov-layout-grid { flex-direction: column; }
        flex-direction: column;
     .wov-side-col { width: 100%; }
    }
     .wov-categories-grid, .wov-popular-grid, .wov-skills-grid {
     .wov-side-col {
        width: 100%;
    }
     .wov-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wov-popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .wov-updates-row {
        flex-direction: column;
    }
    .wov-update-card {
        border-right: none;
        border-bottom: 1px solid #a19277;
    }
    .wov-skills-grid {
         grid-template-columns: repeat(2, 1fr);
         grid-template-columns: repeat(2, 1fr);
     }
     }
}
}

Revision as of 01:16, 11 July 2026

/* ============================================================
   WINDS OF VALEN WIKI — Global CSS Overrides
   ============================================================ */

/* ---- Google Fonts ----------------------------------------- */
@import url('https://fonts.googleapis.com/css2?family=PT+Serif:ital,wght@0,400;0,700;1,400&family=Cinzel:wght@700&family=Inter:wght@400;600&display=swap');

:root {
    --header-bg-image: url('/images/header-bg-placeholder.jpg'); /* Placeholder tiled bg */
}

/* ============================================================
   GLOBAL BACKGROUND & BORDERS
   ============================================================ */
body, body.skin-vector-2022 {
    background-color: #e1d5be !important;
    color-scheme: light;
    font-family: 'PT Serif', Georgia, serif;
}

#content, .mw-body {
    background-color: #f1e7d3 !important;
    border: none !important;
    box-shadow: none !important;
}

#mw-content-text {
    background-color: transparent !important;
}

/* Hide appearance / text / width / color tools and right rail globally */
#vector-appearance,
#vector-page-tools-pinned-container,
.vector-column-end {
    display: none !important;
}

/* ============================================================
   HEADER & TOP NAVIGATION
   ============================================================ */
.vector-header-container,
.mw-header {
    background-image: var(--header-bg-image);
    background-repeat: repeat-x;
    background-position: top left;
    background-color: #4a3c28; /* Fallback */
}

/* Precise Logo Positioning */
#p-logo, .mw-logo {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 999;
}
#p-logo img, .mw-logo img, .mw-logo-icon {
    width: 140px !important;
    height: auto !important;
}

/* Navigation Top Bar */
.vector-page-toolbar {
    background-color: #4a3c28 !important;
    border-bottom: 1px solid #2a2214 !important;
}
.vector-page-tabs .mw-list-item a {
    color: #eedfad !important;
}
.vector-page-tabs .mw-list-item.selected a,
.vector-page-tabs .mw-list-item a:hover {
    color: #ffffff !important;
    border-bottom: 2px solid #eedfad !important;
}

/* ============================================================
   MAIN PAGE HIDE H1
   ============================================================ */
.page-Main_Page #firstHeading,
.page-Main_Page .mw-first-heading {
    display: none !important;
}
.page-Main_Page .mw-body-content {
    padding-top: 0 !important;
}

/* ============================================================
   WIKITABLES
   ============================================================ */
table.wikitable {
    background: #fcf6e8;
    border: 1px solid #a19277;
    color: #4a3c28;
}
table.wikitable > * > tr > th {
    background: #b3a07d;
    border: 1px solid #a19277;
    color: #4a3c28;
}
table.wikitable > * > tr > td {
    background: #fcf6e8;
    border: 1px solid #a19277;
}

/* ============================================================
   MAIN PAGE COMPONENTS
   ============================================================ */
.wov-main-page {
    font-family: 'PT Serif', Georgia, serif;
    color: #4a3c28;
    max-width: 100%;
    box-sizing: border-box;
}

/* Welcome Box */
.wov-welcome-box {
    background: #fcf6e8;
    border: 1px solid #a19277;
    text-align: center;
    padding: 22px 24px 18px;
    margin-bottom: 14px;
}
.wov-welcome-title {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 1.55em;
    font-weight: bold;
    color: #4a3c28;
    margin: 0 0 6px;
    line-height: 1.2;
}

/* Layout Grid */
.wov-layout-grid {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.wov-main-col {
    flex: 1 1 0;
    min-width: 0;
}
.wov-side-col {
    width: 300px;
    flex-shrink: 0;
}

/* Parchment Box */
.wov-parchment-box {
    background: #fcf6e8; /* Inside content area block */
    border: 1px solid #a19277;
    margin-bottom: 14px;
    overflow: hidden;
}

/* Section Header */
.wov-section-header {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 0.97em;
    font-weight: bold;
    color: #4a3c28;
    padding: 7px 14px 6px;
    border-bottom: 1px solid #a19277;
    background: #f1e7d3;
    letter-spacing: 0.015em;
}
.wov-section-header-dark {
    font-family: 'PT Serif', Georgia, serif;
    font-size: 0.97em;
    font-weight: bold;
    color: #ffffff;
    padding: 8px 14px 7px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    background: #1e3a6e;
}

/* Updates Row */
.wov-updates-row {
    display: flex;
    gap: 0;
}
.wov-update-card {
    flex: 1;
    padding: 10px 14px 12px;
    border-right: 1px solid #a19277;
    background: #fcf6e8;
}
.wov-update-card:last-child {
    border-right: none;
}
.wov-update-tag {
    font-family: 'Inter', sans-serif;
    font-size: 0.71em;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.09em;
    color: #7a6848;
    margin-bottom: 5px;
}
.wov-update-title {
    font-size: 0.93em;
    font-weight: bold;
    line-height: 1.35;
    margin-bottom: 6px;
}
.wov-update-title a {
    color: #a61c1c !important;
    text-decoration: none;
}
.wov-update-title a:hover {
    text-decoration: underline;
    color: #7a1212 !important;
}
.wov-update-snippet {
    font-size: 0.84em;
    color: #4a3c28;
    margin: 0;
    line-height: 1.55;
}

/* Categories Grid */
.wov-categories-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 10px;
    background: #f1e7d3;
}
.wov-cat-card {
    border: 1px solid #a19277;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    flex-direction: column;
}
.wov-cat-img-box {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90px;
    padding: 0;
    border-bottom: 1px solid #a19277;
}
.wov-cat-img-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}
.wov-cat-label {
    background: #fcf6e8;
    padding: 6px;
    text-align: center;
    font-size: 0.84em;
}
.wov-cat-label a {
    color: #611313 !important;
    text-decoration: none !important;
    font-weight: bold;
}
.wov-cat-label a:hover {
    text-decoration: underline !important;
}

/* Popular Pages */
.wov-popular-inner {
    padding: 10px;
    background: #f1e7d3;
}
.wov-popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}
.wov-popular-btn {
    display: block;
    background: #5c4e38;
    border: 1px solid #4a3c28;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif;
    font-size: 0.85em;
    font-weight: bold;
    text-align: center;
    padding: 12px 10px;
    text-decoration: none !important;
    line-height: 1.3;
}
.wov-popular-btn:hover {
    background: #4a3c28;
}

/* Skills Grid */
.wov-skills-inner {
    padding: 8px 10px 10px;
}
.wov-skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: #fcf6e8;
    border: 1px solid #a19277;
}
.wov-skill-item {
    padding: 6px 10px;
    font-size: 0.85em;
    border-bottom: 1px solid #a19277;
    border-right: 1px solid #a19277;
    display: flex;
    align-items: center;
    gap: 6px;
}
.wov-skill-item:nth-child(3n) {
    border-right: none;
}
.wov-skill-item img {
    width: 18px !important;
    height: 18px !important;
    object-fit: contain;
}
.wov-skill-item a {
    color: #4a3c28 !important;
    text-decoration: none;
    font-weight: bold;
}
.wov-skill-item a:hover {
    color: #a61c1c !important;
    text-decoration: underline;
}

/* Sidebar Widgets */
.wov-widget {
    background: #fcf6e8;
    border: 1px solid #a19277;
    margin-bottom: 14px;
}
.wov-widget-body {
    padding: 10px 14px;
    font-size: 0.85em;
    color: #4a3c28;
    line-height: 1.6;
}
.wov-widget-body dl {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 4px 8px;
    margin: 0;
}
.wov-widget-body dt {
    font-weight: bold;
}
.wov-widget-body dd {
    margin: 0;
    text-align: right;
}

/* Discord Community Box */
.wov-discord-widget {
    background: #1e3a6e;
    border: 1px solid #14284f;
    margin-bottom: 14px;
}
.wov-discord-body {
    padding: 12px 14px;
}
.wov-discord-desc {
    font-size: 0.85em;
    color: #e2e8f0;
    line-height: 1.5;
    margin: 0 0 12px;
}

/* Simple solid HTML button for Discord */
.wov-discord-btn-link {
    display: block;
    background: #5865F2;
    color: #ffffff !important;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    font-size: 0.9em;
    padding: 10px;
    border-radius: 4px;
    text-decoration: none !important;
    border: 1px solid #4752c4;
}
.wov-discord-btn-link:hover {
    background: #4752c4;
}

/* Help Improve */
.wov-help-list {
    margin: 6px 0 0;
    padding-left: 16px;
}
.wov-help-list a {
    color: #a61c1c !important;
    text-decoration: none;
}
.wov-help-list a:hover {
    text-decoration: underline;
}

@media screen and (max-width: 800px) {
    .wov-layout-grid { flex-direction: column; }
    .wov-side-col { width: 100%; }
    .wov-categories-grid, .wov-popular-grid, .wov-skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}