MediaWiki:Common.css: Difference between revisions

From Taylor Wiki
No edit summary
No edit summary
 
(25 intermediate revisions by the same user not shown)
Line 10: Line 10:
     min-height: 100%;
     min-height: 100%;
}
}
body, #content, .mw-body {
body, #content, .mw-body {
     font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
     font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
Line 21: Line 20:
     flex-direction: column !important;
     flex-direction: column !important;
}
}
#mw-content-container {
#mw-content-container {
     flex: 1 0 auto !important;
     flex: 1 0 auto !important;
Line 33: Line 31:
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
     box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
}
#mw-header-container a,
#mw-header-container a,
#mw-header-container button,
#mw-header-container button,
Line 63: Line 60:
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
     box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}
}
#personal .dropdown h3,
#personal .dropdown h3,
#personal .dropdown label {
#personal .dropdown label {
Line 69: Line 65:
     border-bottom: 2px solid #2d3282 !important;
     border-bottom: 2px solid #2d3282 !important;
}
}
#personal .dropdown a {
#personal .dropdown a {
     color: #1f2159 !important;
     color: #1f2159 !important;
Line 77: Line 72:
     border-radius: 4px !important;
     border-radius: 4px !important;
}
}
#personal .dropdown a:hover {
#personal .dropdown a:hover {
     color: #ffffff !important;
     color: #ffffff !important;
Line 83: Line 77:
}
}


/* 6. Mobile Sidebar Menus (hamburger popups: dark text on white) */
@media screen and (max-width:850px){
@media screen and (max-width: 850px) {
  .sidebar-inner a, .dropdown a {
    .sidebar-inner a,
    color: #1f2159 !important;
    .dropdown a {
     background-color: transparent !important;
        color: #1f2159 !important;
    padding: 3px 6px;
     }
    border-radius: 4px;
    .sidebar-inner a:hover,
    transition: background-color 0.15s ease, color 0.15s ease;
    .dropdown a:hover {
  }
        color: #ffffff !important;
  .sidebar-inner a:hover,  
        background-color: #1f2159 !important;
  .sidebar-inner a:active,
    }
  .sidebar-inner a:focus,
  .dropdown a:hover,
  .dropdown a:active,
  .dropdown a:focus {
    color: #0b2545 !important;
    background-color: rgba(31, 33, 89, 0.08) !important; /* Soft, light tint */
  }
  .sidebar-chunk ul li a:hover,
  .sidebar-chunk ul li a:active,
  .sidebar-chunk ul li a:focus {
    color: #0b2545 !important;
  }
}
}


/* 7. Search Bar in Header */
/* 7. Search Bar in Header */
Line 108: Line 114:
     font-weight: 600 !important;
     font-weight: 600 !important;
}
}
a {
a {
     color: #1f2159;
     color: #1f2159;
Line 124: Line 129:
     font-size: 0.85rem !important;
     font-size: 0.85rem !important;
}
}
.sidebar-chunk ul li a:hover {
.sidebar-chunk ul li a:hover {
     color: #444ced !important;
     color: #444ced !important;
Line 144: Line 148:
     padding: 0 !important;
     padding: 0 !important;
}
}
#p-logo .mw-wiki-logo {
#p-logo .mw-wiki-logo {
     display: inline-flex !important;
     display: inline-flex !important;
Line 157: Line 160:
     transition: transform 0.2s ease, box-shadow 0.2s ease !important;
     transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
}
#p-logo .mw-wiki-logo:hover {
#p-logo .mw-wiki-logo:hover {
     transform: scale(1.04) !important;
     transform: scale(1.04) !important;
     box-shadow: 0 6px 16px rgba(68, 76, 237, 0.4) !important;
     box-shadow: 0 6px 16px rgba(68, 76, 237, 0.4) !important;
}
}
#p-logo .mw-wiki-logo img {
#p-logo .mw-wiki-logo img {
     width: 108px !important;
     width: 108px !important;
Line 181: Line 182:
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
}
}
#footer ul li,
#footer ul li,
#footer a,
#footer a,
Line 187: Line 187:
     color: #cbd5e1 !important;
     color: #cbd5e1 !important;
}
}
#footer a:hover,
#footer a:hover,
.mw-footer a:hover {
.mw-footer a:hover {
Line 201: Line 200:


/* ========================================================
/* ========================================================
   Hide Empty Sidebar Cards
   Hide Empty Sidebar Cards & Discussion Tab
   ======================================================== */
   ======================================================== */
.sidebar-chunk:not(:has(li)) {
.sidebar-chunk:not(:has(li)) {
     display: none !important;
     display: none !important;
}
}
/* Hide empty gear tools menu on mobile */
@media screen and (max-width: 850px) {
@media screen and (max-width: 850px) {
     #site-tools {
     #site-tools {
Line 213: Line 210:
     }
     }
}
}
/* Dynamic Breadcrumb Bar with balanced spacing */
#ca-talk {
    display: none !important;
}
 
/* ========================================================
  Dynamic Breadcrumb Bar
  ======================================================== */
.mw-dynamic-breadcrumbs {
.mw-dynamic-breadcrumbs {
     font-size: 0.85rem;
     font-size: 0.85rem;
Line 227: Line 230:
     line-height: 1.5;
     line-height: 1.5;
}
}
/* Margin on the separator provides clean gaps on both sides */
.mw-dynamic-breadcrumbs .crumb-sep {
.mw-dynamic-breadcrumbs .crumb-sep {
     color: #8fa0b3;
     color: #8fa0b3;
Line 236: Line 237:
     user-select: none;
     user-select: none;
}
}
.mw-dynamic-breadcrumbs .crumb-link {
.mw-dynamic-breadcrumbs .crumb-link {
     color: #2b548a !important;
     color: #2b548a !important;
Line 242: Line 242:
     transition: color 0.15s ease;
     transition: color 0.15s ease;
}
}
.mw-dynamic-breadcrumbs .crumb-link:hover {
.mw-dynamic-breadcrumbs .crumb-link:hover {
     color: #002244 !important;
     color: #002244 !important;
     text-decoration: underline !important;
     text-decoration: underline !important;
}
}
.mw-dynamic-breadcrumbs .crumb-current {
.mw-dynamic-breadcrumbs .crumb-current {
     color: #1a2a44;
     color: #1a2a44;
     font-weight: 600;
     font-weight: 600;
}
}
/* Hide standard MediaWiki Discussion / Talk tab */
 
#ca-talk {
/* ==========================================================
  Desktop / Tablet Only: GEWAME Universal Top Bar (min-width: 851px)
  ========================================================== */
@media (min-width: 851px) {
    #gewame-universal-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 44px;
        background: #14153a linear-gradient(180deg, #14153a 0%, #0d0f28 100%);
        border-bottom: 2px solid #2d3282;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        z-index: 1000;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        box-sizing: border-box;
    }
    .gw-bar-inner {
        max-width: 1400px;
        height: 100%;
        margin: 0 auto;
        padding: 0 1.25rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
    }
    /* Brand on Left */
    .gw-brand {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none !important;
        color: #ffffff !important;
        line-height: 1;
    }
    .gw-brand-title {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: #ffffff !important;
    }
    .gw-brand-sep {
        color: rgba(255, 255, 255, 0.4);
        font-size: 0.9rem;
    }
    .gw-brand-sub {
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.85) !important;
        text-transform: uppercase;
    }
    /* Nav on Right */
    .gw-nav {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .gw-nav-link {
        color: #ffffff !important;
        text-decoration: none !important;
        text-transform: uppercase;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.8px;
        padding: 6px 10px;
        transition: all 0.2s ease;
        box-sizing: border-box;
    }
    .gw-nav-link:hover {
        color: #c5a059 !important;
        text-decoration: none !important;
    }
    /* Active Tab: Gold Text + Underline */
    .gw-nav-link.gw-active {
        color: #c5a059 !important;
        border-bottom: 2px solid #c5a059;
        border-radius: 4px 4px 0 0;
    }
    /* Boxed Action Buttons (REGISTER, LOG IN, LOG OUT) */
    .gw-nav-link.gw-btn-auth {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 4px;
        margin-left: 6px;
        padding: 5px 12px;
    }
    .gw-nav-link.gw-btn-auth:hover {
        background: #c5a059 !important;
        color: #0d1322 !important;
        border-color: #c5a059 !important;
    }
    /* Dock Timeless skin tools right below the 44px GEWAME bar */
    #mw-header-container {
        top: 44px !important;
        z-index: 990 !important;
        background: #0b2545 !important;
    }
    body.skin-timeless {
        padding-top: 44px !important;
    }
}
 
/* ==========================================================
  Mobile Only (max-width: 850px): Keep Timeless Native & Clean
  ========================================================== */
@media (max-width: 850px) {
    #gewame-universal-bar {
        display: none !important;
    }
}
 
/* ==========================================================
  Global Cleanups (All Screen Sizes)
  ========================================================= */
/* Remove Timeless's harsh red & green accent stripes */
#mw-header-hack,
#mw-header-nav-hack,
#mw-header-container::after {
    display: none !important;
}
/* Table Header Contrast Fix (Navy with Crisp White Text) */
table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #0b2545 !important;
    color: #ffffff !important;
    font-weight: 600;
    border-color: #001830 !important;
}
/* ===================================================
  GEWAME Archival Booklet / Document Reader (with Zoom)
  =================================================== */
.gw-book-reader {
    max-width: 820px;
    margin: 25px auto;
    background: #15181e;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    user-select: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}
 
/* Fixed-ratio viewing stage */
.gw-book-stage {
    position: relative;
    width: 100%;
    height: 680px;
    max-height: 80vh;
    background: #0d1017;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}
 
.gw-book-page-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    touch-action: none;
}
 
.gw-book-page-img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    border-radius: 2px;
    transition: transform 0.2s ease-out, opacity 0.15s ease-in-out;
    transform-origin: center center;
    pointer-events: auto;
}
 
/* Zoomed-in state */
.gw-book-reader.is-zoomed .gw-book-page-wrapper {
    cursor: grab;
}
.gw-book-reader.is-zoomed.is-dragging .gw-book-page-wrapper {
    cursor: grabbing;
}
.gw-book-reader.is-zoomed .gw-book-click-left,
.gw-book-reader.is-zoomed .gw-book-click-right {
    display: none; /* disable edge clicks while panning */
}
 
/* Clickable click zones for left/right page turns */
.gw-book-click-left,
.gw-book-click-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    cursor: pointer;
    z-index: 5;
}
.gw-book-click-left { left: 0; }
.gw-book-click-right { right: 0; }
 
/* Control bar */
.gw-book-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #1a2230;
    color: #e0e4ec;
    border-top: 1px solid #2a3447;
    gap: 10px;
}
 
.gw-book-center-info {
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 8px;
    flex-grow: 1;
}
 
.gw-book-counter {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
}
 
.gw-book-caption {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 6px;
    font-weight: 400;
}
 
.gw-book-nav-group,
.gw-book-zoom-group {
    display: flex;
    gap: 6px;
    align-items: center;
}
 
.gw-book-btn {
    background: #2a3447;
    color: #ffffff;
    border: 1px solid #3d4a63;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}
 
.gw-book-btn:hover:not(:disabled) {
    background: #3b4962;
    border-color: #556789;
}
 
.gw-book-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}
 
.gw-book-btn.active {
    background: #2563eb;
    border-color: #3b82f6;
}
 
.gw-book-hint {
    text-align: center;
    font-size: 11px;
    color: #728096;
    padding: 4px 10px 8px;
    background: #1a2230;
}
 
/* Fallback if JS is off */
.gw-book-fallback {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 15px;
}
.gw-book-fallback img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* ===================================================
  Internet Archive Responsive Book Embed
  =================================================== */
.gw-ia-container {
    width: 100%;
    margin: 20px 0;
    background: #11141a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
 
.gw-ia-frame-wrap {
    width: 100%;
    height: 620px;
}
 
@media (max-width: 768px) {
    .gw-ia-frame-wrap {
        height: 480px;
        max-height: 70vh;
    }
}
 
.gw-ia-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #1a2230;
    border-top: 1px solid #2a3447;
    font-size: 12px;
}
 
.gw-ia-toolbar a {
    color: #93c5fd !important;
    text-decoration: none;
    font-weight: 500;
}
 
.gw-ia-toolbar a:hover {
    text-decoration: underline;
}
/* ==========================================================
  Mystery Photo Identification Cards
  ========================================================== */
.gw-mystery-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}
 
.gw-mystery-card {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
 
.gw-mystery-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
 
.gw-mystery-photo {
  flex: 0 0 280px;
  width: 280px;
  height: 200px;
  background-color: #0b1528;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
 
.gw-mystery-photo img {
  width: 280px !important;
  height: 200px !important;
  object-fit: cover !important; /* Uniform size without stretching */
  display: block;
}
 
.gw-mystery-details {
  flex: 1 1 auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
 
.gw-mystery-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2b49;
  margin-bottom: 8px;
}
 
.gw-mystery-meta {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 14px;
}
 
.gw-mystery-btn {
  display: inline-block;
  align-self: flex-start;
  background-color: #1a2b49;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none !important;
}
 
.gw-mystery-btn:hover {
  background-color: #2a4373;
}
 
/* Mobile responsive: stack photo above text */
@media screen and (max-width: 768px) {
  .gw-mystery-card {
    flex-direction: column;
  }
  .gw-mystery-photo {
    flex: none;
    width: 100%;
    height: 220px;
  }
  .gw-mystery-photo img {
    width: 100% !important;
    height: 220px !important;
  }
}
/* Left-align photo galleries and align captions */
ul.gallery.gw-photo-grid {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}
 
ul.gallery.gw-photo-grid li.gallerybox {
    text-align: left !important;
    margin: 6px 14px 14px 0 !important;
}
 
/* Optional: Clean card border around each thumbnail box */
ul.gallery.gw-photo-grid li.gallerybox div.thumb {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
}
 
ul.gallery.gw-photo-grid div.gallerytext {
    text-align: left !important;
    font-size: 0.88em !important;
    color: #1e293b !important;
    padding: 6px 2px !important;
}
ul.gallery.gw-photo-grid li.gallerybox div.thumb {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}
 
ul.gallery.gw-photo-grid li.gallerybox:hover div.thumb {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}
/* ========================================================
  Social Share Bar Styling
  ======================================================== */
.gw-share-bar {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
 
.gw-share-label {
    font-size: 0.9em;
    font-weight: 600;
    color: #475569;
}
 
.gw-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
 
.gw-share-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.85em;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #1e293b !important;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
 
.gw-share-btn:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}
 
/* Subtle branded accents on hover */
.gw-share-fb:hover { color: #1877f2 !important; border-color: #1877f2; }
.gw-share-x:hover { color: #000000 !important; border-color: #000000; }
.gw-share-li:hover { color: #0a66c2 !important; border-color: #0a66c2; }
.gw-share-email:hover { color: #0f172a !important; border-color: #0f172a; }
 
/* Copy Link confirmation state */
.gw-share-copy.gw-copied {
    background-color: #166534 !important;
    border-color: #166534 !important;
    color: #ffffff !important;
}
/* Gallery thumbnail corner overlay tags */
.gw-photo-overlay-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 2;
}
 
/* 1. Unidentified: Amber */
.gw-tag-unidentified {
  background-color: #D97706;
  color: #FFFFFF !important;
}
 
/* 2. Partially Identified: Slate / Muted Steel */
.gw-tag-partial {
  background-color: #475569;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
 
/* 3. Fully Identified: GEWAME Navy */
.gw-tag-identified {
  background-color: #0B2545;
  color: #FFFFFF !important;
  border: 1px solid #133E68;
}
 
/* Partially Identified variant for the top File-page banner */
.gw-needs-id-banner.gw-banner-partial {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  border-left: 4px solid #475569 !important;
}
.gw-needs-id-banner.gw-banner-partial .gw-needs-id-pill {
  background: #475569 !important;
}
.gw-needs-id-banner.gw-banner-partial .gw-needs-id-text {
  color: #1E293B !important;
}
 
 
/* Identification Needed banner styling */
.gw-needs-id-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #FFFDF5;
  border: 1px solid #F6D58C;
  border-left: 4px solid #D97706;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 12px 0 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
 
.gw-needs-id-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
 
.gw-needs-id-pill {
  display: inline-block;
  background: #D97706;
  color: #FFFFFF !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.2;
}
 
.gw-needs-id-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #78350F;
}
 
/* GEWAME Navy Button (high specificity to override MediaWiki skin links) */
.gw-needs-id-banner a.gw-needs-id-btn,
.gw-needs-id-banner span.gw-needs-id-btn,
.gw-needs-id-banner .gw-needs-id-btn,
a.gw-needs-id-btn {
  display: inline-block !important;
  background-color: #0B2545 !important;
  color: #FFFFFF !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  border: 1px solid #0B2545 !important;
  box-shadow: 0 1px 2px rgba(11, 37, 69, 0.2) !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}
 
/* Keep text white even if browser marks the anchor as visited */
.gw-needs-id-banner a.gw-needs-id-btn:visited,
a.gw-needs-id-btn:visited {
  color: #FFFFFF !important;
}
 
/* Hover state: GEWAME gold text with medium navy background */
.gw-needs-id-banner a.gw-needs-id-btn:hover,
.gw-needs-id-banner span.gw-needs-id-btn:hover,
.gw-needs-id-banner .gw-needs-id-btn:hover,
a.gw-needs-id-btn:hover {
  background-color: #133E68 !important;
  color: #FFDF73 !important;
  border-color: #133E68 !important;
  text-decoration: none !important;
}
 
/* Active click state */
.gw-needs-id-banner a.gw-needs-id-btn:active,
a.gw-needs-id-btn:active {
  transform: translateY(1px);
}
 
/* Ensure mobile stacks cleanly */
@media (max-width: 640px) {
  .gw-needs-id-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .gw-needs-id-banner a.gw-needs-id-btn,
  .gw-needs-id-banner span.gw-needs-id-btn,
  .gw-needs-id-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
/* Force nested anchor inside the button to be crisp white */
.gw-needs-id-btn a,
.gw-needs-id-btn a:link,
.gw-needs-id-btn a:visited {
  color: #FFFFFF !important;
  text-decoration: none !important;
}
 
.gw-needs-id-btn:hover a,
.gw-needs-id-btn a:hover {
  color: #FFDF73 !important; /* GEWAME gold hover */
  text-decoration: none !important;
}
/* Breathing room between share bar and comments */
.gw-share-bar {
  margin-top: 28px !important;
  margin-bottom: 24px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0; /* clean, subtle divider line */
}
 
/* Give the Add Comment area a bit of spacing */
.cs-comments,
#comments,
.ext-commentstreams,
button:has(.fa-plus),
button:contains("Add comment") {
  margin-top: 16px !important;
}
/* Hide redundant File Page navigation TOC */
#filetoc,
ul#filetoc {
  display: none !important;
}
/* Hide sidebar logo to streamline navigation and remove redundant branding */
#mw-site-navigation #p-logo {
    display: none !important;
}
@media (max-width: 640px) {
    .gw-contact-text { display: none !important; }
    .gw-contact-icon { display: inline-block !important; }
}
/* Automatically hide the guest callout when logged in */
body:has(#pt-logout) .gw-guest-only-box {
     display: none !important;
     display: none !important;
}
}

Latest revision as of 13:48, 25 October 2026

/* CSS placed here will be applied to all skins */
/* ========================================================
   Taylor Archive / GEWAME - Timeless Skin Theme
   ======================================================== */

/* 1. Global Typography & Base Background */
html, body {
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
    background-color: #14153a !important;
    min-height: 100%;
}
body, #content, .mw-body {
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
}

/* 2. Sticky Footer Layout (No gap below footer on short pages) */
#mw-wrapper {
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
}
#mw-content-container {
    flex: 1 0 auto !important;
    border-bottom: 2px solid #2d3282 !important;
}

/* 3. Top Header Bar (Desktop & Mobile) */
#mw-header-container {
    background: #14153a linear-gradient(180deg, #14153a 0%, #1f2159 50%, #14153a 100%) !important;
    border-bottom: 2px solid #2d3282 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
}
#mw-header-container a,
#mw-header-container button,
#user-tools h2 span {
    color: #ffffff !important;
}

/* Header hover states matching TNG */
#mw-header-container a:hover {
    color: #ffffff !important;
    background-color: #444ced !important;
    border-radius: 4px !important;
}

/* 4. Header Icons (white on desktop AND mobile) */
#user-tools h2,
#user-tools h2::after,
#site-tools h2,
#site-navigation h2,
.sidebar-chunk h2::after {
    filter: brightness(0) invert(1) !important;
    opacity: 0.95 !important;
}

/* 5. User Popup Menu (fixes invisible white-on-white links) */
#personal .dropdown {
    background-color: #ffffff !important;
    border: 1px solid #c8ccd1 !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25) !important;
}
#personal .dropdown h3,
#personal .dropdown label {
    color: #14153a !important;
    border-bottom: 2px solid #2d3282 !important;
}
#personal .dropdown a {
    color: #1f2159 !important;
    background-color: transparent !important;
    display: block !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
}
#personal .dropdown a:hover {
    color: #ffffff !important;
    background-color: #1f2159 !important;
}

@media screen and (max-width:850px){
  .sidebar-inner a, .dropdown a {
    color: #1f2159 !important;
    background-color: transparent !important;
    padding: 3px 6px;
    border-radius: 4px;
    transition: background-color 0.15s ease, color 0.15s ease;
  }
  .sidebar-inner a:hover, 
  .sidebar-inner a:active, 
  .sidebar-inner a:focus,
  .dropdown a:hover,
  .dropdown a:active,
  .dropdown a:focus {
    color: #0b2545 !important;
    background-color: rgba(31, 33, 89, 0.08) !important; /* Soft, light tint */
  }
  .sidebar-chunk ul li a:hover,
  .sidebar-chunk ul li a:active,
  .sidebar-chunk ul li a:focus {
    color: #0b2545 !important;
  }
}


/* 7. Search Bar in Header */
#mw-header-container #searchInput {
    border-radius: 4px !important;
    border: 1px solid #2d3282 !important;
}

/* 8. Content Headings and Primary Links */
h1#firstHeading {
    color: #14153a !important;
    border-bottom: 2px solid #444ced !important;
    font-weight: 600 !important;
}
a {
    color: #1f2159;
}
a:hover {
    color: #444ced;
}

/* 9. Sidebar Navigation (desktop) — default skin card look, headings only */
.sidebar-chunk h2 {
    color: #14153a !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.85rem !important;
}
.sidebar-chunk ul li a:hover {
    color: #444ced !important;
}

/* 10. Tabs across the top of articles */
.page-tools .mw-portlet-views li.selected a {
    border-bottom: 3px solid #444ced !important;
    color: #14153a !important;
    font-weight: bold !important;
}

/* ========================================================
   GEWAME Seal Medallion in Sidebar
   ======================================================== */
#p-logo {
    text-align: center !important;
    margin: 20px auto 16px auto !important;
    padding: 0 !important;
}
#p-logo .mw-wiki-logo {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #14153a linear-gradient(180deg, #14153a 0%, #1f2159 50%, #14153a 100%) !important;
    border: 3px solid #2d3282 !important;
    border-radius: 50% !important;
    width: 124px !important;
    height: 124px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
#p-logo .mw-wiki-logo:hover {
    transform: scale(1.04) !important;
    box-shadow: 0 6px 16px rgba(68, 76, 237, 0.4) !important;
}
#p-logo .mw-wiki-logo img {
    width: 108px !important;
    height: 108px !important;
    max-width: 108px !important;
    max-height: 108px !important;
    object-fit: contain !important;
    display: block !important;
}

/* ========================================================
   Footer - Match TNG / Header Navy
   ======================================================== */
#mw-footer-container {
    flex-shrink: 0 !important;
    background: #14153a linear-gradient(180deg, #1f2159 0%, #14153a 100%) !important;
    border-top: 2px solid #2d3282 !important;
    color: #e0e0e0 !important;
}
#footer ul li,
#footer a,
.mw-footer a {
    color: #cbd5e1 !important;
}
#footer a:hover,
.mw-footer a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* Remove Powered by MediaWiki badge / mobile icon */
#footer-icons,
#footer-poweredbyico {
    display: none !important;
}

/* ========================================================
   Hide Empty Sidebar Cards & Discussion Tab
   ======================================================== */
.sidebar-chunk:not(:has(li)) {
    display: none !important;
}
@media screen and (max-width: 850px) {
    #site-tools {
        display: none !important;
    }
}
#ca-talk {
    display: none !important;
}

/* ========================================================
   Dynamic Breadcrumb Bar
   ======================================================== */
.mw-dynamic-breadcrumbs {
    font-size: 0.85rem;
    color: #4b5563;
    margin: 0 0 12px 0;
    padding: 6px 12px;
    background: rgba(26, 42, 68, 0.04);
    border: 1px solid rgba(26, 42, 68, 0.1);
    border-radius: 4px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    line-height: 1.5;
}
.mw-dynamic-breadcrumbs .crumb-sep {
    color: #8fa0b3;
    font-size: 0.9rem;
    font-weight: bold;
    margin: 0 10px;
    user-select: none;
}
.mw-dynamic-breadcrumbs .crumb-link {
    color: #2b548a !important;
    text-decoration: none !important;
    transition: color 0.15s ease;
}
.mw-dynamic-breadcrumbs .crumb-link:hover {
    color: #002244 !important;
    text-decoration: underline !important;
}
.mw-dynamic-breadcrumbs .crumb-current {
    color: #1a2a44;
    font-weight: 600;
}

/* ==========================================================
   Desktop / Tablet Only: GEWAME Universal Top Bar (min-width: 851px)
   ========================================================== */
@media (min-width: 851px) {
    #gewame-universal-bar {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        height: 44px;
        background: #14153a linear-gradient(180deg, #14153a 0%, #0d0f28 100%);
        border-bottom: 2px solid #2d3282;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
        z-index: 1000;
        font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
        box-sizing: border-box;
    }
    .gw-bar-inner {
        max-width: 1400px;
        height: 100%;
        margin: 0 auto;
        padding: 0 1.25rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
        box-sizing: border-box;
    }
    /* Brand on Left */
    .gw-brand {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        text-decoration: none !important;
        color: #ffffff !important;
        line-height: 1;
    }
    .gw-brand-title {
        font-family: Georgia, "Times New Roman", serif;
        font-size: 1.15rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: #ffffff !important;
    }
    .gw-brand-sep {
        color: rgba(255, 255, 255, 0.4);
        font-size: 0.9rem;
    }
    .gw-brand-sub {
        font-size: 0.85rem;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.85) !important;
        text-transform: uppercase;
    }
    /* Nav on Right */
    .gw-nav {
        display: flex;
        align-items: center;
        gap: 6px;
    }
    .gw-nav-link {
        color: #ffffff !important;
        text-decoration: none !important;
        text-transform: uppercase;
        font-size: 0.8rem;
        font-weight: 600;
        letter-spacing: 0.8px;
        padding: 6px 10px;
        transition: all 0.2s ease;
        box-sizing: border-box;
    }
    .gw-nav-link:hover {
        color: #c5a059 !important;
        text-decoration: none !important;
    }
    /* Active Tab: Gold Text + Underline */
    .gw-nav-link.gw-active {
        color: #c5a059 !important;
        border-bottom: 2px solid #c5a059;
        border-radius: 4px 4px 0 0;
    }
    /* Boxed Action Buttons (REGISTER, LOG IN, LOG OUT) */
    .gw-nav-link.gw-btn-auth {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.25) !important;
        border-radius: 4px;
        margin-left: 6px;
        padding: 5px 12px;
    }
    .gw-nav-link.gw-btn-auth:hover {
        background: #c5a059 !important;
        color: #0d1322 !important;
        border-color: #c5a059 !important;
    }
    /* Dock Timeless skin tools right below the 44px GEWAME bar */
    #mw-header-container {
        top: 44px !important;
        z-index: 990 !important;
        background: #0b2545 !important;
    }
    body.skin-timeless {
        padding-top: 44px !important;
    }
}

/* ==========================================================
   Mobile Only (max-width: 850px): Keep Timeless Native & Clean
   ========================================================== */
@media (max-width: 850px) {
    #gewame-universal-bar {
        display: none !important;
    }
}

/* ==========================================================
   Global Cleanups (All Screen Sizes)
   ========================================================= */
/* Remove Timeless's harsh red & green accent stripes */
#mw-header-hack,
#mw-header-nav-hack,
#mw-header-container::after {
    display: none !important;
}
/* Table Header Contrast Fix (Navy with Crisp White Text) */
table.wikitable > tr > th,
table.wikitable > * > tr > th {
    background-color: #0b2545 !important;
    color: #ffffff !important;
    font-weight: 600;
    border-color: #001830 !important;
}
/* ===================================================
   GEWAME Archival Booklet / Document Reader (with Zoom)
   =================================================== */
.gw-book-reader {
    max-width: 820px;
    margin: 25px auto;
    background: #15181e;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    user-select: none;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* Fixed-ratio viewing stage */
.gw-book-stage {
    position: relative;
    width: 100%;
    height: 680px;
    max-height: 80vh;
    background: #0d1017;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-sizing: border-box;
}

.gw-book-page-wrapper {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: zoom-in;
    touch-action: none;
}

.gw-book-page-img {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
    border-radius: 2px;
    transition: transform 0.2s ease-out, opacity 0.15s ease-in-out;
    transform-origin: center center;
    pointer-events: auto;
}

/* Zoomed-in state */
.gw-book-reader.is-zoomed .gw-book-page-wrapper {
    cursor: grab;
}
.gw-book-reader.is-zoomed.is-dragging .gw-book-page-wrapper {
    cursor: grabbing;
}
.gw-book-reader.is-zoomed .gw-book-click-left,
.gw-book-reader.is-zoomed .gw-book-click-right {
    display: none; /* disable edge clicks while panning */
}

/* Clickable click zones for left/right page turns */
.gw-book-click-left,
.gw-book-click-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 20%;
    cursor: pointer;
    z-index: 5;
}
.gw-book-click-left { left: 0; }
.gw-book-click-right { right: 0; }

/* Control bar */
.gw-book-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: #1a2230;
    color: #e0e4ec;
    border-top: 1px solid #2a3447;
    gap: 10px;
}

.gw-book-center-info {
    text-align: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 0 8px;
    flex-grow: 1;
}

.gw-book-counter {
    font-size: 13px;
    font-weight: 700;
    color: #f1f5f9;
}

.gw-book-caption {
    font-size: 12px;
    color: #94a3b8;
    margin-left: 6px;
    font-weight: 400;
}

.gw-book-nav-group,
.gw-book-zoom-group {
    display: flex;
    gap: 6px;
    align-items: center;
}

.gw-book-btn {
    background: #2a3447;
    color: #ffffff;
    border: 1px solid #3d4a63;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
    white-space: nowrap;
}

.gw-book-btn:hover:not(:disabled) {
    background: #3b4962;
    border-color: #556789;
}

.gw-book-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.gw-book-btn.active {
    background: #2563eb;
    border-color: #3b82f6;
}

.gw-book-hint {
    text-align: center;
    font-size: 11px;
    color: #728096;
    padding: 4px 10px 8px;
    background: #1a2230;
}

/* Fallback if JS is off */
.gw-book-fallback {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    padding: 15px;
}
.gw-book-fallback img {
    max-width: 100%;
    height: auto;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
/* ===================================================
   Internet Archive Responsive Book Embed
   =================================================== */
.gw-ia-container {
    width: 100%;
    margin: 20px 0;
    background: #11141a;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.gw-ia-frame-wrap {
    width: 100%;
    height: 620px;
}

@media (max-width: 768px) {
    .gw-ia-frame-wrap {
        height: 480px;
        max-height: 70vh;
    }
}

.gw-ia-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 14px;
    background: #1a2230;
    border-top: 1px solid #2a3447;
    font-size: 12px;
}

.gw-ia-toolbar a {
    color: #93c5fd !important;
    text-decoration: none;
    font-weight: 500;
}

.gw-ia-toolbar a:hover {
    text-decoration: underline;
}
/* ==========================================================
   Mystery Photo Identification Cards
   ========================================================== */
.gw-mystery-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.gw-mystery-card {
  display: flex;
  flex-direction: row;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gw-mystery-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.gw-mystery-photo {
  flex: 0 0 280px;
  width: 280px;
  height: 200px;
  background-color: #0b1528;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gw-mystery-photo img {
  width: 280px !important;
  height: 200px !important;
  object-fit: cover !important; /* Uniform size without stretching */
  display: block;
}

.gw-mystery-details {
  flex: 1 1 auto;
  padding: 18px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.gw-mystery-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a2b49;
  margin-bottom: 8px;
}

.gw-mystery-meta {
  font-size: 0.9rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 14px;
}

.gw-mystery-btn {
  display: inline-block;
  align-self: flex-start;
  background-color: #1a2b49;
  color: #ffffff !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 4px;
  text-decoration: none !important;
}

.gw-mystery-btn:hover {
  background-color: #2a4373;
}

/* Mobile responsive: stack photo above text */
@media screen and (max-width: 768px) {
  .gw-mystery-card {
    flex-direction: column;
  }
  .gw-mystery-photo {
    flex: none;
    width: 100%;
    height: 220px;
  }
  .gw-mystery-photo img {
    width: 100% !important;
    height: 220px !important;
  }
}
/* Left-align photo galleries and align captions */
ul.gallery.gw-photo-grid {
    text-align: left !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
}

ul.gallery.gw-photo-grid li.gallerybox {
    text-align: left !important;
    margin: 6px 14px 14px 0 !important;
}

/* Optional: Clean card border around each thumbnail box */
ul.gallery.gw-photo-grid li.gallerybox div.thumb {
    background-color: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 4px !important;
}

ul.gallery.gw-photo-grid div.gallerytext {
    text-align: left !important;
    font-size: 0.88em !important;
    color: #1e293b !important;
    padding: 6px 2px !important;
}
ul.gallery.gw-photo-grid li.gallerybox div.thumb {
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

ul.gallery.gw-photo-grid li.gallerybox:hover div.thumb {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
    border-color: #cbd5e1 !important;
}
/* ========================================================
   Social Share Bar Styling
   ======================================================== */
.gw-share-bar {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid #e2e8f0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.gw-share-label {
    font-size: 0.9em;
    font-weight: 600;
    color: #475569;
}

.gw-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.gw-share-btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 0.85em;
    font-weight: 500;
    border-radius: 4px;
    text-decoration: none !important;
    cursor: pointer;
    border: 1px solid #cbd5e1;
    background-color: #ffffff;
    color: #1e293b !important;
    transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}

.gw-share-btn:hover {
    background-color: #f1f5f9;
    border-color: #94a3b8;
}

/* Subtle branded accents on hover */
.gw-share-fb:hover { color: #1877f2 !important; border-color: #1877f2; }
.gw-share-x:hover { color: #000000 !important; border-color: #000000; }
.gw-share-li:hover { color: #0a66c2 !important; border-color: #0a66c2; }
.gw-share-email:hover { color: #0f172a !important; border-color: #0f172a; }

/* Copy Link confirmation state */
.gw-share-copy.gw-copied {
    background-color: #166534 !important;
    border-color: #166534 !important;
    color: #ffffff !important;
}
/* Gallery thumbnail corner overlay tags */
.gw-photo-overlay-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  line-height: 1.2;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
  pointer-events: none;
  z-index: 2;
}

/* 1. Unidentified: Amber */
.gw-tag-unidentified {
  background-color: #D97706;
  color: #FFFFFF !important;
}

/* 2. Partially Identified: Slate / Muted Steel */
.gw-tag-partial {
  background-color: #475569;
  color: #FFFFFF !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* 3. Fully Identified: GEWAME Navy */
.gw-tag-identified {
  background-color: #0B2545;
  color: #FFFFFF !important;
  border: 1px solid #133E68;
}

/* Partially Identified variant for the top File-page banner */
.gw-needs-id-banner.gw-banner-partial {
  background: #F8FAFC !important;
  border: 1px solid #CBD5E1 !important;
  border-left: 4px solid #475569 !important;
}
.gw-needs-id-banner.gw-banner-partial .gw-needs-id-pill {
  background: #475569 !important;
}
.gw-needs-id-banner.gw-banner-partial .gw-needs-id-text {
  color: #1E293B !important;
}


/* Identification Needed banner styling */
.gw-needs-id-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #FFFDF5;
  border: 1px solid #F6D58C;
  border-left: 4px solid #D97706;
  border-radius: 6px;
  padding: 10px 14px;
  margin: 12px 0 16px 0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.gw-needs-id-content {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.gw-needs-id-pill {
  display: inline-block;
  background: #D97706;
  color: #FFFFFF !important;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
  line-height: 1.2;
}

.gw-needs-id-text {
  font-size: 0.92rem;
  font-weight: 600;
  color: #78350F;
}

/* GEWAME Navy Button (high specificity to override MediaWiki skin links) */
.gw-needs-id-banner a.gw-needs-id-btn,
.gw-needs-id-banner span.gw-needs-id-btn,
.gw-needs-id-banner .gw-needs-id-btn,
a.gw-needs-id-btn {
  display: inline-block !important;
  background-color: #0B2545 !important;
  color: #FFFFFF !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 6px 14px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  border: 1px solid #0B2545 !important;
  box-shadow: 0 1px 2px rgba(11, 37, 69, 0.2) !important;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease !important;
}

/* Keep text white even if browser marks the anchor as visited */
.gw-needs-id-banner a.gw-needs-id-btn:visited,
a.gw-needs-id-btn:visited {
  color: #FFFFFF !important;
}

/* Hover state: GEWAME gold text with medium navy background */
.gw-needs-id-banner a.gw-needs-id-btn:hover,
.gw-needs-id-banner span.gw-needs-id-btn:hover,
.gw-needs-id-banner .gw-needs-id-btn:hover,
a.gw-needs-id-btn:hover {
  background-color: #133E68 !important;
  color: #FFDF73 !important;
  border-color: #133E68 !important;
  text-decoration: none !important;
}

/* Active click state */
.gw-needs-id-banner a.gw-needs-id-btn:active,
a.gw-needs-id-btn:active {
  transform: translateY(1px);
}

/* Ensure mobile stacks cleanly */
@media (max-width: 640px) {
  .gw-needs-id-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .gw-needs-id-banner a.gw-needs-id-btn,
  .gw-needs-id-banner span.gw-needs-id-btn,
  .gw-needs-id-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
}
/* Force nested anchor inside the button to be crisp white */
.gw-needs-id-btn a,
.gw-needs-id-btn a:link,
.gw-needs-id-btn a:visited {
  color: #FFFFFF !important;
  text-decoration: none !important;
}

.gw-needs-id-btn:hover a,
.gw-needs-id-btn a:hover {
  color: #FFDF73 !important; /* GEWAME gold hover */
  text-decoration: none !important;
}
/* Breathing room between share bar and comments */
.gw-share-bar {
  margin-top: 28px !important;
  margin-bottom: 24px !important;
  padding-bottom: 16px;
  border-bottom: 1px solid #E2E8F0; /* clean, subtle divider line */
}

/* Give the Add Comment area a bit of spacing */
.cs-comments, 
#comments, 
.ext-commentstreams,
button:has(.fa-plus),
button:contains("Add comment") {
  margin-top: 16px !important;
}
/* Hide redundant File Page navigation TOC */
#filetoc,
ul#filetoc {
  display: none !important;
}
/* Hide sidebar logo to streamline navigation and remove redundant branding */
#mw-site-navigation #p-logo {
    display: none !important;
}
@media (max-width: 640px) {
    .gw-contact-text { display: none !important; }
    .gw-contact-icon { display: inline-block !important; }
}
/* Automatically hide the guest callout when logged in */
body:has(#pt-logout) .gw-guest-only-box {
    display: none !important;
}