Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

MediaWiki:Common.css: Difference between revisions

MediaWiki interface page
No edit summary
No edit summary
 
(26 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* ============================================
/* ============================================
   Wikiverse — Purple Premium Theme
   WIKIVERSA — Custom Theme
   Paste this entire file's content into:
   Paste this entire file into: MediaWiki:Common.css
  MediaWiki:Common.css
  ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');
 
/* ============================================
  LOGO SECTION
  ============================================ */
#mw-panel { padding-top: 0 !important; }
 
#p-logo {
    margin: 0 !important;
    padding: 0 !important;
    width: 300px !important;
    height: 80px !important;
}
 
#p-logo a {
    display: block !important;
    height: 80px !important;
    background-image: url("/images/Logo.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
}
 
#p-logo,
#p-logo a,
#p-logo .mw-wiki-logo {
    margin-left: 0 !important;
    padding-left: 0 !important;
}
 
/* ============================================
  DESIGN TOKENS
  ============================================ */
:root {
    --wv-ink:      #14213D;
    --wv-ink-soft:  #33405e;
    --wv-paper:    #F1F5F9;
    --wv-white:    #FFFFFF;
    --wv-teal:      #0F766E;
    --wv-gold:      #B8902E;
    --wv-line:      #DAD2C0;
    --wv-slate:    #5B6472;
    --wv-font-display: 'Fraunces', serif;
    --wv-font-body:    'Inter', sans-serif;
    --wv-font-mono:    'IBM Plex Mono', monospace;
}
 
/* ============================================
  BASE / BODY (ONLY THIS SECTION CHANGED)
   ============================================ */
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
body,
body,
.mw-body,
.mw-body,
.vector-body {
.vector-body {
     font-family: 'Inter', sans-serif !important;
     font-family: var(--wv-font-body) !important;
    font-size: 16px;
    line-height: 1.75;
    color: var(--wv-ink);
   
    /* Modern 3D Ambient Light Background */
    background-color: #f1f5f9 !important;
    background-image:
        radial-gradient(at 10% 10%, rgba(79, 70, 229, 0.08) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(236, 72, 153, 0.06) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(255, 255, 255, 0.8) 0px, transparent 100%) !important;
    background-attachment: fixed !important;
}
 
.mw-parser-output {
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
}
 
h1, .firstHeading {
    font-family: var(--wv-font-display) !important;
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--wv-ink);
    letter-spacing: -0.5px;
}
 
h2 {
    font-family: var(--wv-font-display) !important;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--wv-ink);
    border-bottom: none;
    margin-top: 40px;
    padding-bottom: 0;
}
 
h3 {
    font-family: var(--wv-font-body) !important;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--wv-ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
 
a { color: var(--wv-teal); text-decoration: none; }
a:hover { color: var(--wv-ink); text-decoration: underline; }
 
/* ============================================
  HERO — "Registry Header"
  ============================================ */
.wv-hero {
    background: var(--wv-white);
    border: 1px solid var(--wv-line);
    border-left: 4px solid var(--wv-teal);
    padding: 48px 48px 40px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}
 
.wv-hero .eyebrow {
    font-family: var(--wv-font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wv-teal);
    display: block;
    margin-bottom: 14px;
}
 
.wv-hero h1 {
    font-size: 3.2rem;
    margin: 0 0 12px;
}
 
.wv-hero .tag {
    font-family: var(--wv-font-body);
    font-size: 17px;
    color: var(--wv-ink-soft);
    max-width: 640px;
}
 
.wv-hero .seal {
    position: absolute;
    top: 40px;
    right: 48px;
    width: 108px;
    height: 108px;
    transform: rotate(-8deg);
    opacity: 0.9;
}
 
/* ============================================
  SECTIONS — "Dossier Entries"
  ============================================ */
.wv-section {
    background: transparent;
    border-top: 1px solid var(--wv-line);
    padding: 32px 0;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}
 
.wv-section .wv-index {
    font-family: var(--wv-font-mono);
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--wv-gold);
    display: block;
    margin-bottom: 6px;
}
 
.wv-section h2 {
    margin: 0 0 18px;
}
 
.wv-section p {
    color: var(--wv-ink-soft);
    max-width: 760px;
}
 
/* ============================================
  INDEX CARDS
  ============================================ */
.wv-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    border: 1px solid var(--wv-line);
    margin-bottom: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}
 
.wv-card {
    flex: 1 1 280px;
    background: var(--wv-white);
    border-right: 1px solid var(--wv-line);
    padding: 28px;
    position: relative;
}
}
.wv-hero{background:linear-gradient(135deg,#3b1d6e 0%,#6a3bd6 55%,#9b6bf0 100%);color:#fff;text-align:center;padding:56px 30px 46px;border-radius:10px;margin-bottom:28px;}
.wv-hero h1{font-size:46px;margin:0 0 6px;font-weight:800;letter-spacing:-1px;color:#fff;}
.wv-hero .tag{font-size:16px;letter-spacing:2px;text-transform:uppercase;color:#d8c7fb;}
.wv-hero .sub{font-size:13px;letter-spacing:3px;text-transform:uppercase;color:#b89cf2;margin-top:6px;}


.wv-grid{display:flex;flex-wrap:wrap;gap:18px;margin-bottom:28px;}
.wv-card:last-child { border-right: none; }
.wv-card{flex:1 1 260px;background:#fff;border:1px solid #e3d6fb;border-top:4px solid #6a3bd6;border-radius:10px;padding:22px;box-shadow:0 3px 12px rgba(106,59,214,0.08);}
 
.wv-card h3{color:#3b1d6e;font-size:18px;margin:0 0 10px;border-bottom:2px solid #f1e9fd;padding-bottom:8px;}
.wv-card .tag-no {
.wv-card ul{margin:0;padding-left:18px;color:#4a3870;font-size:15px;line-height:1.7;}
    font-family: var(--wv-font-mono);
    font-size: 11px;
    color: var(--wv-slate);
    position: absolute;
    top: 14px;
    right: 18px;
}


.wv-stats{display:flex;justify-content:space-around;flex-wrap:wrap;background:#fff;border:1px solid #e3d6fb;border-radius:10px;padding:24px;margin-bottom:28px;box-shadow:0 3px 12px rgba(106,59,214,0.06);}
.wv-card h3 {
.wv-stat{text-align:center;padding:10px 18px;}
    margin: 0 0 14px;
.wv-stat .num{font-size:30px;font-weight:800;color:#6a3bd6;}
    padding-right: 30px;
.wv-stat .lbl{font-size:13px;color:#8a78b5;text-transform:uppercase;letter-spacing:1px;}
}


.wv-cta{background:linear-gradient(135deg,#3b1d6e,#6a3bd6);color:#fff;border-radius:10px;padding:30px;text-align:center;margin-bottom:28px;box-shadow:0 4px 16px rgba(59,29,110,0.3);}
.wv-card ul {
.wv-cta h2{margin:0 0 6px;font-size:24px;color:#fff;}
    margin: 0;
.wv-cta p{color:#d8c7fb;margin-bottom:16px;}
    padding-left: 18px;
.wv-btn{display:inline-block;background:#fff;color:#3b1d6e;padding:10px 24px;border-radius:24px;font-weight:700;font-size:14px;margin:4px;text-decoration:none;}
    color: var(--wv-ink-soft);
.wv-btn-outline{display:inline-block;background:rgba(255,255,255,0.12);color:#fff;border:1px solid rgba(255,255,255,0.4);padding:10px 24px;border-radius:24px;font-weight:600;font-size:14px;margin:4px;text-decoration:none;}
    font-size: 15px;
    line-height: 1.8;
}


.wv-section{background:#fff;border:1px solid #e3d6fb;border-radius:10px;padding:22px 26px;margin-bottom:24px;box-shadow:0 3px 10px rgba(106,59,214,0.06);}
/* ============================================
.wv-section h2{color:#3b1d6e;font-size:20px;margin:0 0 14px;border-bottom:2px solid #f1e9fd;padding-bottom:10px;}
  CTA STRIP
.wikiverse-infobox{
  ============================================ */
     float:right;
.wv-cta {
     width:320px;
    background: var(--wv-ink);
     margin:0 0 15px 15px;
    color: var(--wv-white);
     border:1px solid #a2a9b1;
     padding: 44px 48px;
     background:#f8f9fa;
     text-align: left;
    border-collapse:collapse;
     margin-bottom: 0;
     width: 100%;
     box-sizing: border-box;
}
}


.wikiverse-infobox th{
.wv-cta h2 { color: var(--wv-white); margin: 0 0 8px; }
     background:#d8ecff;
.wv-cta p  { color: #c7cede; margin-bottom: 22px; font-size: 16px; }
     padding:8px;
 
     border:1px solid #a2a9b1;
.wv-btn {
    display: inline-block;
    background: var(--wv-teal);
    color: #fff;
    padding: 12px 26px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 14px;
    margin: 4px 8px 4px 0;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.wv-btn:hover { background: #0d5f58; text-decoration: none; }
 
.wv-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--wv-white);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 12px 26px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 14px;
    margin: 4px 0;
    text-decoration: none;
}
.wv-btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }
 
/* ============================================
  ARTICLE / CATEGORY LISTS
  ============================================ */
.wv-list-col {
    border: 1px solid var(--wv-line);
    background: var(--wv-white);
}
 
.wv-list-item {
    padding: 14px 20px;
    border-bottom: 1px solid var(--wv-line);
    font-size: 15px;
}
.wv-list-item:last-child { border-bottom: none; }
 
.wv-cat-grid {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--wv-line);
}
.wv-cat-grid a {
    flex: 1 1 200px;
    padding: 16px 20px;
    border-right: 1px solid var(--wv-line);
    border-bottom: 1px solid var(--wv-line);
    color: var(--wv-ink);
    font-weight: 500;
    font-size: 14px;
}
.wv-cat-grid a:hover { background: #f2eee3; text-decoration: none; }
 
/* ============================================
  INFOBOX
  ============================================ */
.infobox.biography.vcard,
.wikiverse-infobox {
    float: right;
    clear: right;
    width: 300px;
    margin: 0 0 24px 24px;
    border: 1px solid var(--wv-line);
    background: var(--wv-white);
    font-size: 14px;
    line-height: 1.6;
    border-radius: 0;
    box-shadow: none;
}
 
.infobox.biography.vcard th[colspan="2"] {
    background: var(--wv-ink);
    color: #fff;
    font-family: var(--wv-font-display);
    font-size: 19px;
    font-weight: 600;
    text-align: left;
    padding: 16px 18px;
}
 
.infobox.biography.vcard th,
.infobox.biography.vcard td,
.wikiverse-infobox th,
.wikiverse-infobox td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--wv-line);
    border-left: none;
    border-right: none;
    border-top: none;
    vertical-align: top;
}
 
.infobox.biography.vcard th,
.wikiverse-infobox th {
    width: 38%;
    background: #f2efe6;
    color: var(--wv-ink-soft);
    font-weight: 600;
    text-align: left;
    font-size: 13px;
}
 
.infobox.biography.vcard img,
.wikiverse-infobox img {
    max-width: 100%;
    border-radius: 0;
    border: none;
}
 
.infobox.biography.vcard .verified {
    width: 16px;
    vertical-align: middle;
    margin-left: 4px;
}
 
/* ============================================
  TABLES
  ============================================ */
.wikitable {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--wv-line);
    margin: 20px 0;
    font-size: 15px;
}
.wikitable th {
     background: #f2efe6;
    color: var(--wv-ink);
    font-weight: 600;
    padding: 12px;
    border: 1px solid var(--wv-line);
}
.wikitable td { padding: 12px; border: 1px solid var(--wv-line); }
 
/* ============================================
  TOC / CATLINKS
  ============================================ */
.toc {
    background: var(--wv-white);
    border: 1px solid var(--wv-line);
    padding: 15px 20px;
    display: inline-block;
    min-width: 280px;
}
 
.catlinks {
    background: transparent;
    border-top: 1px solid var(--wv-line);
    padding: 15px 0;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}
 
pre, code { border-radius: 4px; padding: 12px; }
 
.footer__description,
.footer__tagline { display: none !important; }
 
/* ============================================
  MOBILE
  ============================================ */
@media (max-width: 768px) {
    .infobox.biography.vcard,
    .wikiverse-infobox { float: none; width: 100%; margin: 20px 0; }
 
    body, .mw-body, .vector-body { font-size: 15px; }
    h1, .firstHeading { font-size: 1.9rem; }
    h2 { font-size: 1.35rem; }
 
     .wv-hero { padding: 32px 24px; }
    .wv-hero h1 { font-size: 2.1rem; }
    .wv-hero .seal { display: none; }
 
    .wv-grid, .wv-cat-grid { flex-direction: column; }
     .wv-card { border-right: none; border-bottom: 1px solid var(--wv-line); }
    .wv-cat-grid a { border-right: none; }
    .wv-cta { padding: 32px 24px; }
}
 
/* Hide Discussion */
a[href*="action=edit&section=new"],
.vector-talk-link,
#ca-talk {
    display: none !important;
}
 
/* Hide 3-dot menu
.citizen-dropdown-details{
    display: none !important;
}*/
 
 
 
/* ============================================================
  WIKIVERSA — HOMEPAGE DYNAMIC BOXES (ADD-ON ONLY)
  Ye poora block apne maujuda MediaWiki:Common.css ke SABSE
  NEECHE paste karo. Upar wala poora CSS jaisa hai waisa hi
  rehne do — kuch bhi delete/edit karne ki zaroorat nahi.
  ============================================================ */
 
/* ---- shared box shell (Featured / News / OTD / Newest / Browse) ---- */
.wv-mp-box {
    background: var(--wv-white);
    border: 1px solid var(--wv-line);
    margin-bottom: 20px;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}
 
.wv-mp-box-header {
    padding: 12px 18px;
    font-family: var(--wv-font-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--wv-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
 
.wv-mp-box-header .wv-view-all {
    font-family: var(--wv-font-body);
    font-weight: 500;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
}
 
.wv-mp-box-body { padding: 18px; }
 
/* header color variants, matched to your screenshots */
.wv-mp-header-green  { background: #d9f2e0; }
.wv-mp-header-blue  { background: #d7e6f7; }
.wv-mp-header-pink  { background: #f6dde6; }
.wv-mp-header-grey  { background: #ebebeb; }
.wv-mp-header-purple { background: #e3e0f7; }
 
/* ---- two-column top row: Featured (left) / News + OTD (right) ---- */
.wv-mp-toprow {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
}
.wv-mp-toprow-left  { flex: 2 1 0; min-width: 0; }
.wv-mp-toprow-right { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
 
/* ---- featured article ---- */
.wv-mp-featured { display: flex; gap: 18px; }
.wv-mp-featured img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}
.wv-mp-featured .wv-mp-featured-text { font-size: 15px; color: var(--wv-ink-soft); line-height: 1.6; }
.wv-mp-featured .wv-mp-featured-text a { font-weight: 600; }
.wv-mp-featured-more { display: block; text-align: right; margin-top: 10px; font-style: italic; font-size: 14px; }
 
/* ---- in the news / on this day lists ---- */
.wv-mp-news-list { margin: 0; padding-left: 18px; font-size: 15px; color: var(--wv-ink-soft); line-height: 1.9; }
.wv-mp-news-list li { margin-bottom: 4px; }
.wv-mp-empty { color: var(--wv-slate); font-size: 14px; font-style: italic; }
 
/* ---- newest additions / category card grids ---- */
.wv-mp-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.wv-mp-card {
    flex: 1 1 220px;
    max-width: 260px;
    border: 1px solid var(--wv-line);
    background: var(--wv-white);
}
.wv-mp-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.wv-mp-card-body { padding: 14px 16px; }
.wv-mp-card-title { font-weight: 600; font-size: 15px; display: block; margin-bottom: 4px; }
.wv-mp-card-cat { font-style: italic; color: var(--wv-slate); font-size: 13px; display: block; margin-bottom: 6px; }
.wv-mp-card-snippet { font-size: 13.5px; color: var(--wv-ink-soft); line-height: 1.5; }
 
/* ---- browse by category: repeated sub-sections ---- */
.wv-mp-catsection { margin-bottom: 26px; }
.wv-mp-catsection-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--wv-line);
    padding-bottom: 6px;
    margin-bottom: 14px;
}
.wv-mp-catsection-title h3 {
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--wv-font-display);
    font-size: 18px;
    font-weight: 600;
}
}


.wikiverse-infobox td{
@media (max-width: 768px) {
     padding:6px;
    .wv-mp-toprow { flex-direction: column; }
     border:1px solid #a2a9b1;
     .wv-mp-featured { flex-direction: column; }
     .wv-mp-featured img { width: 100%; height: 180px; }
    .wv-mp-card { flex: 1 1 100%; max-width: 100%; }
}
}

Latest revision as of 21:50, 28 July 2026

/* ============================================
   WIKIVERSA — Custom Theme
   Paste this entire file into: MediaWiki:Common.css
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600&family=IBM+Plex+Mono:wght@400;500&display=swap');

/* ============================================
   LOGO SECTION
   ============================================ */
#mw-panel { padding-top: 0 !important; }

#p-logo {
    margin: 0 !important;
    padding: 0 !important;
    width: 300px !important;
    height: 80px !important;
}

#p-logo a {
    display: block !important;
    height: 80px !important;
    background-image: url("/images/Logo.png") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    margin: 0 !important;
    padding: 0 !important;
}

#p-logo,
#p-logo a,
#p-logo .mw-wiki-logo {
    margin-left: 0 !important;
    padding-left: 0 !important;
}

/* ============================================
   DESIGN TOKENS
   ============================================ */
:root {
    --wv-ink:       #14213D;
    --wv-ink-soft:  #33405e;
    --wv-paper:     #F1F5F9;
    --wv-white:     #FFFFFF;
    --wv-teal:      #0F766E;
    --wv-gold:      #B8902E;
    --wv-line:      #DAD2C0;
    --wv-slate:     #5B6472;
    --wv-font-display: 'Fraunces', serif;
    --wv-font-body:    'Inter', sans-serif;
    --wv-font-mono:    'IBM Plex Mono', monospace;
}

/* ============================================
   BASE / BODY (ONLY THIS SECTION CHANGED)
   ============================================ */
body,
.mw-body,
.vector-body {
    font-family: var(--wv-font-body) !important;
    font-size: 16px;
    line-height: 1.75;
    color: var(--wv-ink);
    
    /* Modern 3D Ambient Light Background */
    background-color: #f1f5f9 !important;
    background-image: 
        radial-gradient(at 10% 10%, rgba(79, 70, 229, 0.08) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(236, 72, 153, 0.06) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(255, 255, 255, 0.8) 0px, transparent 100%) !important;
    background-attachment: fixed !important;
}

.mw-parser-output {
    max-width: 100% !important;
    width: 100%;
    box-sizing: border-box;
}

h1, .firstHeading {
    font-family: var(--wv-font-display) !important;
    font-weight: 600;
    font-size: 2.5rem;
    color: var(--wv-ink);
    letter-spacing: -0.5px;
}

h2 {
    font-family: var(--wv-font-display) !important;
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--wv-ink);
    border-bottom: none;
    margin-top: 40px;
    padding-bottom: 0;
}

h3 {
    font-family: var(--wv-font-body) !important;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--wv-ink);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

a { color: var(--wv-teal); text-decoration: none; }
a:hover { color: var(--wv-ink); text-decoration: underline; }

/* ============================================
   HERO — "Registry Header"
   ============================================ */
.wv-hero {
    background: var(--wv-white);
    border: 1px solid var(--wv-line);
    border-left: 4px solid var(--wv-teal);
    padding: 48px 48px 40px;
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.wv-hero .eyebrow {
    font-family: var(--wv-font-mono);
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--wv-teal);
    display: block;
    margin-bottom: 14px;
}

.wv-hero h1 {
    font-size: 3.2rem;
    margin: 0 0 12px;
}

.wv-hero .tag {
    font-family: var(--wv-font-body);
    font-size: 17px;
    color: var(--wv-ink-soft);
    max-width: 640px;
}

.wv-hero .seal {
    position: absolute;
    top: 40px;
    right: 48px;
    width: 108px;
    height: 108px;
    transform: rotate(-8deg);
    opacity: 0.9;
}

/* ============================================
   SECTIONS — "Dossier Entries"
   ============================================ */
.wv-section {
    background: transparent;
    border-top: 1px solid var(--wv-line);
    padding: 32px 0;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.wv-section .wv-index {
    font-family: var(--wv-font-mono);
    font-size: 12px;
    letter-spacing: 1.5px;
    color: var(--wv-gold);
    display: block;
    margin-bottom: 6px;
}

.wv-section h2 {
    margin: 0 0 18px;
}

.wv-section p {
    color: var(--wv-ink-soft);
    max-width: 760px;
}

/* ============================================
   INDEX CARDS
   ============================================ */
.wv-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    width: 100%;
    border: 1px solid var(--wv-line);
    margin-bottom: 0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.03);
}

.wv-card {
    flex: 1 1 280px;
    background: var(--wv-white);
    border-right: 1px solid var(--wv-line);
    padding: 28px;
    position: relative;
}

.wv-card:last-child { border-right: none; }

.wv-card .tag-no {
    font-family: var(--wv-font-mono);
    font-size: 11px;
    color: var(--wv-slate);
    position: absolute;
    top: 14px;
    right: 18px;
}

.wv-card h3 {
    margin: 0 0 14px;
    padding-right: 30px;
}

.wv-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--wv-ink-soft);
    font-size: 15px;
    line-height: 1.8;
}

/* ============================================
   CTA STRIP
   ============================================ */
.wv-cta {
    background: var(--wv-ink);
    color: var(--wv-white);
    padding: 44px 48px;
    text-align: left;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.wv-cta h2 { color: var(--wv-white); margin: 0 0 8px; }
.wv-cta p  { color: #c7cede; margin-bottom: 22px; font-size: 16px; }

.wv-btn {
    display: inline-block;
    background: var(--wv-teal);
    color: #fff;
    padding: 12px 26px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 14px;
    margin: 4px 8px 4px 0;
    text-decoration: none;
    letter-spacing: 0.3px;
}
.wv-btn:hover { background: #0d5f58; text-decoration: none; }

.wv-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--wv-white);
    border: 1px solid rgba(255,255,255,0.4);
    padding: 12px 26px;
    border-radius: 2px;
    font-weight: 500;
    font-size: 14px;
    margin: 4px 0;
    text-decoration: none;
}
.wv-btn-outline:hover { background: rgba(255,255,255,0.1); text-decoration: none; }

/* ============================================
   ARTICLE / CATEGORY LISTS
   ============================================ */
.wv-list-col {
    border: 1px solid var(--wv-line);
    background: var(--wv-white);
}

.wv-list-item {
    padding: 14px 20px;
    border-bottom: 1px solid var(--wv-line);
    font-size: 15px;
}
.wv-list-item:last-child { border-bottom: none; }

.wv-cat-grid {
    display: flex;
    flex-wrap: wrap;
    border: 1px solid var(--wv-line);
}
.wv-cat-grid a {
    flex: 1 1 200px;
    padding: 16px 20px;
    border-right: 1px solid var(--wv-line);
    border-bottom: 1px solid var(--wv-line);
    color: var(--wv-ink);
    font-weight: 500;
    font-size: 14px;
}
.wv-cat-grid a:hover { background: #f2eee3; text-decoration: none; }

/* ============================================
   INFOBOX
   ============================================ */
.infobox.biography.vcard,
.wikiverse-infobox {
    float: right;
    clear: right;
    width: 300px;
    margin: 0 0 24px 24px;
    border: 1px solid var(--wv-line);
    background: var(--wv-white);
    font-size: 14px;
    line-height: 1.6;
    border-radius: 0;
    box-shadow: none;
}

.infobox.biography.vcard th[colspan="2"] {
    background: var(--wv-ink);
    color: #fff;
    font-family: var(--wv-font-display);
    font-size: 19px;
    font-weight: 600;
    text-align: left;
    padding: 16px 18px;
}

.infobox.biography.vcard th,
.infobox.biography.vcard td,
.wikiverse-infobox th,
.wikiverse-infobox td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--wv-line);
    border-left: none;
    border-right: none;
    border-top: none;
    vertical-align: top;
}

.infobox.biography.vcard th,
.wikiverse-infobox th {
    width: 38%;
    background: #f2efe6;
    color: var(--wv-ink-soft);
    font-weight: 600;
    text-align: left;
    font-size: 13px;
}

.infobox.biography.vcard img,
.wikiverse-infobox img {
    max-width: 100%;
    border-radius: 0;
    border: none;
}

.infobox.biography.vcard .verified {
    width: 16px;
    vertical-align: middle;
    margin-left: 4px;
}

/* ============================================
   TABLES
   ============================================ */
.wikitable {
    width: 100%;
    border-collapse: collapse;
    border: 1px solid var(--wv-line);
    margin: 20px 0;
    font-size: 15px;
}
.wikitable th {
    background: #f2efe6;
    color: var(--wv-ink);
    font-weight: 600;
    padding: 12px;
    border: 1px solid var(--wv-line);
}
.wikitable td { padding: 12px; border: 1px solid var(--wv-line); }

/* ============================================
   TOC / CATLINKS
   ============================================ */
.toc {
    background: var(--wv-white);
    border: 1px solid var(--wv-line);
    padding: 15px 20px;
    display: inline-block;
    min-width: 280px;
}

.catlinks {
    background: transparent;
    border-top: 1px solid var(--wv-line);
    padding: 15px 0;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}

pre, code { border-radius: 4px; padding: 12px; }

.footer__description,
.footer__tagline { display: none !important; }

/* ============================================
   MOBILE
   ============================================ */
@media (max-width: 768px) {
    .infobox.biography.vcard,
    .wikiverse-infobox { float: none; width: 100%; margin: 20px 0; }

    body, .mw-body, .vector-body { font-size: 15px; }
    h1, .firstHeading { font-size: 1.9rem; }
    h2 { font-size: 1.35rem; }

    .wv-hero { padding: 32px 24px; }
    .wv-hero h1 { font-size: 2.1rem; }
    .wv-hero .seal { display: none; }

    .wv-grid, .wv-cat-grid { flex-direction: column; }
    .wv-card { border-right: none; border-bottom: 1px solid var(--wv-line); }
    .wv-cat-grid a { border-right: none; }
    .wv-cta { padding: 32px 24px; }
}

/* Hide Discussion */
a[href*="action=edit&section=new"],
.vector-talk-link,
#ca-talk {
    display: none !important;
}

/* Hide 3-dot menu 
.citizen-dropdown-details{
    display: none !important;
}*/



/* ============================================================
   WIKIVERSA — HOMEPAGE DYNAMIC BOXES (ADD-ON ONLY)
   Ye poora block apne maujuda MediaWiki:Common.css ke SABSE
   NEECHE paste karo. Upar wala poora CSS jaisa hai waisa hi
   rehne do — kuch bhi delete/edit karne ki zaroorat nahi.
   ============================================================ */

/* ---- shared box shell (Featured / News / OTD / Newest / Browse) ---- */
.wv-mp-box {
    background: var(--wv-white);
    border: 1px solid var(--wv-line);
    margin-bottom: 20px;
    box-sizing: border-box;
    box-shadow: 0 6px 18px rgba(0,0,0,0.03);
}

.wv-mp-box-header {
    padding: 12px 18px;
    font-family: var(--wv-font-display);
    font-weight: 600;
    font-size: 17px;
    color: var(--wv-ink);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wv-mp-box-header .wv-view-all {
    font-family: var(--wv-font-body);
    font-weight: 500;
    font-size: 13px;
    text-transform: none;
    letter-spacing: 0;
}

.wv-mp-box-body { padding: 18px; }

/* header color variants, matched to your screenshots */
.wv-mp-header-green  { background: #d9f2e0; }
.wv-mp-header-blue   { background: #d7e6f7; }
.wv-mp-header-pink   { background: #f6dde6; }
.wv-mp-header-grey   { background: #ebebeb; }
.wv-mp-header-purple { background: #e3e0f7; }

/* ---- two-column top row: Featured (left) / News + OTD (right) ---- */
.wv-mp-toprow {
    display: flex;
    gap: 20px;
    width: 100%;
    align-items: flex-start;
}
.wv-mp-toprow-left  { flex: 2 1 0; min-width: 0; }
.wv-mp-toprow-right { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }

/* ---- featured article ---- */
.wv-mp-featured { display: flex; gap: 18px; }
.wv-mp-featured img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    flex-shrink: 0;
}
.wv-mp-featured .wv-mp-featured-text { font-size: 15px; color: var(--wv-ink-soft); line-height: 1.6; }
.wv-mp-featured .wv-mp-featured-text a { font-weight: 600; }
.wv-mp-featured-more { display: block; text-align: right; margin-top: 10px; font-style: italic; font-size: 14px; }

/* ---- in the news / on this day lists ---- */
.wv-mp-news-list { margin: 0; padding-left: 18px; font-size: 15px; color: var(--wv-ink-soft); line-height: 1.9; }
.wv-mp-news-list li { margin-bottom: 4px; }
.wv-mp-empty { color: var(--wv-slate); font-size: 14px; font-style: italic; }

/* ---- newest additions / category card grids ---- */
.wv-mp-card-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.wv-mp-card {
    flex: 1 1 220px;
    max-width: 260px;
    border: 1px solid var(--wv-line);
    background: var(--wv-white);
}
.wv-mp-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}
.wv-mp-card-body { padding: 14px 16px; }
.wv-mp-card-title { font-weight: 600; font-size: 15px; display: block; margin-bottom: 4px; }
.wv-mp-card-cat { font-style: italic; color: var(--wv-slate); font-size: 13px; display: block; margin-bottom: 6px; }
.wv-mp-card-snippet { font-size: 13.5px; color: var(--wv-ink-soft); line-height: 1.5; }

/* ---- browse by category: repeated sub-sections ---- */
.wv-mp-catsection { margin-bottom: 26px; }
.wv-mp-catsection-title {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    border-bottom: 1px solid var(--wv-line);
    padding-bottom: 6px;
    margin-bottom: 14px;
}
.wv-mp-catsection-title h3 {
    margin: 0;
    text-transform: none;
    letter-spacing: 0;
    font-family: var(--wv-font-display);
    font-size: 18px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .wv-mp-toprow { flex-direction: column; }
    .wv-mp-featured { flex-direction: column; }
    .wv-mp-featured img { width: 100%; height: 180px; }
    .wv-mp-card { flex: 1 1 100%; max-width: 100%; }
}