Lompat ke isi

MediaWiki:Common.css: Perbedaan antara revisi

Dari Maliki Encyclopedia
Tidak ada ringkasan suntingan
Tidak ada ringkasan suntingan
 
(109 revisi perantara oleh pengguna yang sama tidak ditampilkan)
Baris 1: Baris 1:
/* =========================================================
/* =====================================
  MALIKI ENSIKLOPEDIA
MALIKI ENCYCLOPEDIA
  Perwajahan V2 — CSS Tahap 1A
Common.css v12 FINAL
  ========================================================= */
World History Inspired Style
===================================== */
 
/* =========================
GLOBAL
========================= */


/* Latar belakang halaman */
body {
body {
     background: #f5f8f7;
     background: #f5f8f7;
Baris 10: Baris 14:
}
}


/* Area konten utama */
#content {
    background: #ffffff;
}
/* Judul halaman */
.firstHeading {
.firstHeading {
    color: #004f40;
    font-weight: 600;
}
/* Judul bagian */
.mw-heading2,
.mw-heading3,
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-05C Field Card Spacing
  ========================================================= */
.me-field-grid .me-card {
    padding: 1.1rem;
}
.mw-heading4 {
     color: #004f40;
     color: #004f40;
}
}


/* Tautan */
a {
a {
     color: #1f5f8b;
     color: #1f5f8b;
}
a:visited {
    color: #315f78;
}
}


Baris 49: Baris 26:
}
}


/* Sidebar */
/* =========================
#mw-panel {
HOME CONTAINER
     font-size: 0.95rem;
========================= */
 
.me-home {
     max-width: 1200px;
    margin: 0 auto;
}
}


#mw-panel .portal {
/* =====================================
     margin-bottom: 1.2rem;
HERO BANNER
===================================== */
 
.me-hero-image {
    width: 100%;
     margin: 25px auto 0;
    text-align: center;
}
}


#mw-panel .portal h3 {
.me-hero-image img {
     color: #004f40;
     width: 100%;
     font-weight: 700;
     height: 220px;
     letter-spacing: 0.04em;
    object-fit: cover;
     display: block;
}
}


#mw-panel .portal .body a {
/* =====================================
     color: #1f5f8b;
HERO CONTENT
===================================== */
 
.me-hero {
     background: #f8f6ef;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    margin: 0 auto 45px;
    padding: 25px 40px 35px;
}
}


#mw-panel .portal .body a:hover {
.me-hero h1 {
    font-family: Georgia, serif;
    font-size: 54px;
    font-weight: normal;
     color: #006b54;
     color: #006b54;
    margin: 0 auto 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    max-width: 850px;
}
}


/* Tabel MediaWiki */
.me-hero h3.tagline {
.wikitable {
     font-size: 24px;
     border: 1px solid #d8e2df;
    font-weight: bold;
     background: #ffffff;
    color: #24343b;
     margin: 25px 0 15px;
}
}


.wikitable > tr > th,
.me-hero p {
.wikitable > * > tr > th {
     font-size: 17px;
     background: #eaf5f1;
     line-height: 1.6;
     color: #004f40;
     max-width: 850px;
     border-color: #d8e2df;
    margin: 15px auto;
}
}


.wikitable > tr > td,
/* =====================================
.wikitable > * > tr > td {
FEATURED GRID
    border-color: #d8e2df;
Pengetahuan Pilihan
}
===================================== */


/* Kotak navigasi pada halaman */
.featured-grid {
.mw-body {
     display: flex;
     border-color: #d8e2df;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin: 25px auto 45px;
}
}


/* Footer */
/* =====================================
#footer {
FEATURED ITEM
    color: #66777d;
===================================== */
}


#footer a {
.featured-item {
     color: #1f5f8b;
     width: 300px;
    flex: none;
    text-align: center;
}
}


/* Kotak pencarian */
/* =====================================
#searchInput {
IMAGE BOX
    border-color: #d8e2df;
Border hanya gambar
}
===================================== */


#searchInput:focus {
.featured-image {
     border-color: #006b54;
    height: 130px;
     box-shadow: 0 0 0 1px #006b54;
    background: #f8f6ef;
    border: 1px solid #ddd;
     border-radius: 8px;
    display: flex;
    justify-content: center;
     align-items: center;
}
}


/* =========================================================
.featured-image img {
  MALIKI ENSIKLOPEDIA
     max-width: 120px;
  Halaman Utama — Perwajahan V2
     max-height: 120px;
  ========================================================= */
    width: auto;
 
    height: auto;
/* Pembungkus Halaman Utama */
    object-fit: contain;
.me-home {
     max-width: 1200px;
     margin: 0 auto;
}
}


/* Hero */
/* =====================================
.me-hero {
TITLE
    padding: 2.5rem 2rem;
===================================== */
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f7fbf9 0%, #eef6f3 100%);
    border: 1px solid #d8e2df;
    border-radius: 12px;
    text-align: center;
}


.me-hero-title {
.featured-item h3 {
     color: #004f40;
     color: #006b54;
     font-size: 2.4rem;
     font-size: 21px;
    font-weight: 700;
     margin: 15px 0 10px;
     margin-bottom: 0.4rem;
}
}


.me-hero-subtitle {
/* =====================================
    color: #b58a2a;
DESCRIPTION
    font-size: 1.15rem;
===================================== */
    font-weight: 600;
    margin-bottom: 1rem;
}


.me-hero-description {
.featured-item p {
     max-width: 820px;
     max-width: 240px;
     margin: 0 auto;
     margin: 0 auto;
     color: #40545a;
     font-size: 14px;
     line-height: 1.7;
     line-height: 1.55;
}
}


/* Section */
/* =====================================
.me-section {
LINK
     margin-bottom: 1.5rem;
===================================== */
 
.featured-item a {
    display: inline-block;
     margin-top: 15px;
    color: #c79b2b;
    font-weight: bold;
    text-decoration: none;
}
}


.me-section-title {
.featured-item a:hover {
     color: #004f40;
     color: #006b54;
    font-size: 1.45rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    border-bottom: 2px solid #d8e2df;
    padding-bottom: 0.45rem;
}
}


/* Grid kartu */
/* =====================================
.me-grid {
SECOND SECTION
    display: grid;
===================================== */
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
}


/* Kartu */
.featured-grid + h2 {
.me-card {
     margin-top: 30px;
     display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
    padding: 0.8rem;
    background: #ffffff;
    border: 1px solid #d8e2df;
    border-radius: 8px;
    text-align: center;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
}


.me-card a {
/* =====================================
    color: #1f5f8b;
MALIKI ARTICLE STYLE
    font-weight: 600;
===================================== */
    text-decoration: none;
}


.me-card:hover {
.me-article {
     border-color: #006b54;
     max-width: 900px;
     box-shadow: 0 2px 8px rgba(0, 79, 64, 0.10);
     margin: auto;
}
}


.me-card:hover a {
.me-article-header h1 {
    font-family: Georgia, serif;
    font-size: 42px;
     color: #006b54;
     color: #006b54;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}
}


/* Grid bidang */
.me-article-image {
.me-field-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
 
/* Grid relasi */
.me-relation-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.65rem;
}
 
.me-relation-card {
    padding: 0.9rem 0.6rem;
    background: #faf9f5;
    border: 1px solid #ded9ca;
    border-radius: 8px;
     text-align: center;
     text-align: center;
    margin: 25px 0;
}
}


.me-relation-code {
.me-article-image img {
     color: #004f40;
     max-width: 350px;
    font-weight: 700;
     height: auto;
     font-size: 1.05rem;
}
}


.me-relation-label {
.me-summary {
     margin-top: 0.3rem;
     background: #f8f6ef;
     color: #40545a;
    border-left: 4px solid #c79b2b;
     font-size: 0.9rem;
     padding: 20px;
     margin: 30px 0;
}
}


/* Kontributor */
.me-section {
.me-contribute-grid {
     margin: 35px 0;
     display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}
 
.me-contribute-card {
    padding: 1rem;
    background: #f8f5ed;
    border: 1px solid #e4dcc8;
    border-radius: 8px;
    text-align: center;
}
}


.me-contribute-card a {
.me-section h2 {
     color: #006b54;
     color: #006b54;
     font-weight: 600;
     border-bottom: 1px solid #ddd;
     text-decoration: none;
     padding-bottom: 8px;
}
}


/* Responsif */
/* ================================
@media screen and (max-width: 900px) {
NAVIGASI PENGETAHUAN
    .me-grid {
================================ */
        grid-template-columns: repeat(3, 1fr);
    }


    .me-relation-grid {
.me-navigation {
        grid-template-columns: repeat(3, 1fr);
    margin: 35px 0;
    }
}
}


@media screen and (max-width: 600px) {
.me-navigation h2 {
    .me-grid,
     color: #006b54;
     .me-field-grid,
     font-size: 24px;
     .me-relation-grid,
     margin-bottom: 25px;
     .me-contribute-grid {
     border-bottom: 1px solid #ddd;
        grid-template-columns: 1fr;
     padding-bottom: 10px;
     }
 
    .me-hero {
        padding: 1.5rem 1rem;
     }
 
    .me-hero-title {
        font-size: 1.8rem;
    }
}
}
/* =========================================================
  MALIKI ENSIKLOPEDIA
  Perwajahan V2 — CSS Tahap 1B
  Penyempurnaan visual
  ========================================================= */


/* Area section */
.me-navigation-table {
.me-section {
    width: 100%;
     margin: 0 0 2rem 0;
    border-collapse: collapse;
     margin-top: 20px;
}
}


.me-section-title {
.me-navigation-table th {
     color: #004f40;
     width: 180px;
     font-size: 1.5rem;
     text-align: left;
     font-weight: 700;
     background: #f5f3eb;
     margin: 0 0 1rem 0;
     padding: 12px;
     padding-bottom: 0.55rem;
     border: 1px solid #ddd;
     border-bottom: 2px solid #d8e2df;
     font-weight: bold;
}
}


/* Kartu umum */
.me-navigation-table td {
.me-card {
     padding: 12px;
    min-height: 72px;
     border: 1px solid #ddd;
     padding: 1rem;
    background: #ffffff;
     border: 1px solid #d8e2df;
    border-radius: 10px;
    box-sizing: border-box;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        background-color 0.15s ease;
}
 
.me-card:hover {
    transform: translateY(-2px);
    border-color: #006b54;
    background: #fbfdfc;
    box-shadow: 0 5px 14px rgba(0, 79, 64, 0.12);
}
}


.me-card a {
.me-navigation-table a {
    display: block;
    width: 100%;
     color: #1f5f8b;
     color: #1f5f8b;
    font-weight: 600;
    text-decoration: none;
}
}


.me-card:hover a {
.me-navigation-table a:hover {
     color: #006b54;
     color: #006b54;
}
}


/* Kartu bidang */
.me-knowledge-navigation {
.me-field-grid .me-card {
    margin-top: 35px;
     min-height: 68px;
     margin-bottom: 35px;
}
}


/* Kartu relasi Islam–Sains */
/* =====================================
.me-relation-card {
JELAJAH PENGETAHUAN
    min-height: 92px;
===================================== */
    box-sizing: border-box;
    transition:
        transform 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


.me-relation-card:hover {
.me-grid {
     transform: translateY(-2px);
    display: grid;
     border-color: #b58a2a;
     grid-template-columns: repeat(3, minmax(0, 1fr));
     box-shadow: 0 5px 14px rgba(181, 138, 42, 0.12);
     gap: 20px;
    width: 100%;
    margin: 20px 0 35px;
     align-items: stretch;
}
}


/* Kode relasi */
.me-card {
.me-relation-code {
     border: 1px solid #d9e2df;
     letter-spacing: 0.03em;
     background: #fff;
}
     padding: 16px;
 
/* Keterangan relasi */
.me-relation-label {
     line-height: 1.45;
}
 
/* Kartu kontribusi */
.me-contribute-card {
     min-height: 78px;
     box-sizing: border-box;
     box-sizing: border-box;
     transition:
     border-radius: 10px;
        transform 0.15s ease,
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
        border-color 0.15s ease,
    width: 100%;
        box-shadow 0.15s ease;
    min-width: 0;
}
}


.me-contribute-card:hover {
.me-card img {
     transform: translateY(-2px);
     width: 100%;
     border-color: #b58a2a;
    max-width: 250px;
     box-shadow: 0 5px 14px rgba(181, 138, 42, 0.12);
    height: 180px;
     object-fit: contain;
    display: block;
     margin: 0 auto 14px;
}
}


.me-contribute-card a {
.me-card a {
     display: block;
     color: #006b54;
     text-decoration: none;
     text-decoration: none;
    font-weight: bold;
}
}


/* Teks paragraf dalam section */
.me-card a:hover {
.me-section > p {
     color: #c79b2b;
    max-width: 900px;
    line-height: 1.7;
     color: #40545a;
}
}


/* Tampilan layar besar */
/* =====================================
@media screen and (min-width: 1200px) {
RESPONSIVE (Ditaruh di bagian paling bawah)
    .me-grid {
===================================== */
        gap: 1rem;
    }


     .me-field-grid {
@media (max-width: 900px) {
         gap: 1rem;
     .featured-grid {
         flex-wrap: wrap;
     }
     }
 
   
     .me-relation-grid {
     .me-grid {
         gap: 0.85rem;
         grid-template-columns: repeat(2, minmax(0, 1fr));
    }
 
    .me-contribute-grid {
        gap: 1rem;
     }
     }
}
}


/* Tablet */
@media (max-width: 700px) {
@media screen and (max-width: 900px) {
     .me-hero {
     .me-grid {
         padding: 20px;
         grid-template-columns: repeat(3, 1fr);
     }
     }


     .me-field-grid,
     .me-hero h1 {
    .me-contribute-grid {
         font-size: 36px;
         grid-template-columns: repeat(2, 1fr);
     }
     }


     .me-relation-grid {
     .me-hero h3.tagline {
         grid-template-columns: repeat(3, 1fr);
         font-size: 20px;
     }
     }
}


/* Ponsel */
     .me-hero-image img {
@media screen and (max-width: 600px) {
         height: 160px;
     .me-section {
         margin-bottom: 1.5rem;
     }
     }


     .me-section-title {
     .featured-item {
         font-size: 1.3rem;
         width: 100%;
     }
     }
}


    .me-grid,
@media (max-width: 600px) {
    .me-field-grid,
     .me-grid {
    .me-relation-grid,
     .me-contribute-grid {
         grid-template-columns: 1fr;
         grid-template-columns: 1fr;
        gap: 0.65rem;
    }
    .me-card,
    .me-field-grid .me-card,
    .me-relation-card,
    .me-contribute-card {
        min-height: 0;
     }
     }
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V2 — Halaman Internal
  ========================================================= */
/* Pembungkus halaman internal */
.me-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0.5rem 0 2rem 0;
}
}


/* Paragraf */
/* =========================================
.me-page p {
  Maliki Encyclopedia
    line-height: 1.75;
  WikiEditor - Isi Artikel
}
  ========================================= */


/* Daftar */
.me-free-text,
.me-page ul,
.me-free-text textarea,
.me-page ol {
.wikiEditor-ui-text,
     line-height: 1.7;
.wikiEditor-ui-text textarea {
     width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}
}


/* Judul bagian */
.wikiEditor-ui {
.me-page .mw-heading2 {
     width: 100% !important;
     margin-top: 2rem;
     max-width: none !important;
    padding-bottom: 0.45rem;
     border-bottom: 2px solid #d8e2df;
}
}


/* Judul subbagian */
.wikiEditor-ui-text {
.me-page .mw-heading3 {
     width: 100% !important;
    margin-top: 1.5rem;
}
 
/* Tabel dalam halaman */
.me-page .wikitable {
    width: auto;
    max-width: 100%;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}
 
/* Responsif */
@media screen and (max-width: 600px) {
    .me-page {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-01 Search Refinement
  ========================================================= */
 
#searchInput {
    min-height: 2.5rem;
    padding: 0.5rem 0.8rem;
    border: 1px solid #cbd9d5;
    border-radius: 8px;
    box-sizing: border-box;
    background: #ffffff;
    color: #24343b;
}
 
#searchInput:focus {
    border-color: #006b54;
    box-shadow: 0 0 0 2px rgba(0, 107, 84, 0.10);
    outline: none;
}
/* MALIKI ENCYCLOPEDIA — V3-02A */
.me-hero {
    padding: 3rem 2rem;
}
/* MALIKI ENCYCLOPEDIA — V3-02B */
.me-hero {
    border-color: #cbd9d5;
}
/* MALIKI ENCYCLOPEDIA — V3-02C */
.me-hero {
    background: #f5faf8;
}
/* MALIKI ENCYCLOPEDIA — V3-02D */
.me-hero {
    box-shadow: 0 2px 8px rgba(0, 79, 64, 0.08);
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-03B Featured Knowledge
  ========================================================= */
 
.me-featured {
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: #ffffff;
    border: 1px solid #d8e2df;
    border-radius: 10px;
    box-sizing: border-box;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-03C Featured Knowledge Layout
  ========================================================= */
 
.me-featured-content {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 1.5rem;
    align-items: stretch;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-03D Visual Panel
  ========================================================= */
 
.me-featured-visual {
    padding: 3rem 1rem;
    background: #eef6f3;
    border: 1px solid #d5e1dd;
    border-radius: 8px;
    text-align: center;
}
 
.me-featured-visual-label {
    color: #004f40;
    font-weight: 700;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-04A Article Type Cards
  ========================================================= */
 
.me-card {
    background: #fbfcfc;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-04B Article Type Accent
  ========================================================= */
 
.me-grid .me-card {
    border-top: 3px solid #d8e2df;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-05A Field Cards
  ========================================================= */
 
.me-field-grid .me-card {
    background: #f8faf9;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-05B Field Card Accent
  ========================================================= */
 
.me-field-grid .me-card {
    border-left: 4px solid #d8e2df;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-05D Islam–Science Relation
  ========================================================= */
 
.me-relation-card {
    background: #fbfaf6;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-05E Relation Border
  ========================================================= */
 
.me-relation-card {
    border-color: #d8cfb8;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-06A Contribution Cards
  ========================================================= */
 
.me-contribute-card {
    background: #f7f4ec;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-06B Contribution Link
  ========================================================= */
 
.me-contribute-card a:hover {
    text-decoration: underline;
}
/* =========================================================
  MALIKI ENCYCLOPEDIA
  Perwajahan V3 — V3-06C Consistent Card Links
  ========================================================= */
 
.me-card a:hover {
    text-decoration: underline;
}
/* V3-06C — Underline Hover */
.me-card a:hover {
    text-decoration: underline;
}
/* V3-14B — Perspektif Keilmuan 4 Kolom */
 
.me-perspective-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}
/* V3-19A — Interaksi Tombol Mulai Jelajah */
 
.me-hero a:hover {
    text-decoration: none;
}
/* Hide Main Page title */
.page-Halaman_Utama .firstHeading {
    display: none;
}
/* ===================================
  MALIKI HEADER MENU
=================================== */
 
#maliki-header-menu {
    text-align: center;
    padding: 12px;
    border-top: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
}
 
#maliki-header-menu a {
    color: #00695c;
    text-decoration: none;
    font-weight: 600;
}
 
#maliki-header-menu a:hover {
    color: #b8860b;
}
/* =====================================
  MALIKI ENCYCLOPEDIA HEADER MENU
===================================== */
 
#maliki-header-menu {
     width:100%;
    text-align:center;
    padding-top:12px;
    padding-bottom:12px;
    margin-top:10px;
    margin-bottom:20px;
    border-top:1px solid #e5e5e5;
    border-bottom:1px solid #e5e5e5;
}
}


#maliki-header-menu a {
.wikiEditor-ui-text textarea {
     color:#00695c;
     width: 100% !important;
     text-decoration:none;
     max-width: none !important;
     font-weight:bold;
     box-sizing: border-box !important;
    margin-left:12px;
    margin-right:12px;
}
}

Revisi terkini sejak 23 September 2026 01.52

/* =====================================
MALIKI ENCYCLOPEDIA
Common.css v12 FINAL
World History Inspired Style
===================================== */

/* =========================
GLOBAL
========================= */

body {
    background: #f5f8f7;
    color: #24343b;
}

.firstHeading {
    color: #004f40;
}

a {
    color: #1f5f8b;
}

a:hover {
    color: #006b54;
}

/* =========================
HOME CONTAINER
========================= */

.me-home {
    max-width: 1200px;
    margin: 0 auto;
}

/* =====================================
HERO BANNER
===================================== */

.me-hero-image {
    width: 100%;
    margin: 25px auto 0;
    text-align: center;
}

.me-hero-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

/* =====================================
HERO CONTENT
===================================== */

.me-hero {
    background: #f8f6ef;
    border: 1px solid #ddd;
    border-radius: 12px;
    text-align: center;
    margin: 0 auto 45px;
    padding: 25px 40px 35px;
}

.me-hero h1 {
    font-family: Georgia, serif;
    font-size: 54px;
    font-weight: normal;
    color: #006b54;
    margin: 0 auto 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #ccc;
    max-width: 850px;
}

.me-hero h3.tagline {
    font-size: 24px;
    font-weight: bold;
    color: #24343b;
    margin: 25px 0 15px;
}

.me-hero p {
    font-size: 17px;
    line-height: 1.6;
    max-width: 850px;
    margin: 15px auto;
}

/* =====================================
FEATURED GRID
Pengetahuan Pilihan
===================================== */

.featured-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 12px;
    margin: 25px auto 45px;
}

/* =====================================
FEATURED ITEM
===================================== */

.featured-item {
    width: 300px;
    flex: none;
    text-align: center;
}

/* =====================================
IMAGE BOX
Border hanya gambar
===================================== */

.featured-image {
    height: 130px;
    background: #f8f6ef;
    border: 1px solid #ddd;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.featured-image img {
    max-width: 120px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* =====================================
TITLE
===================================== */

.featured-item h3 {
    color: #006b54;
    font-size: 21px;
    margin: 15px 0 10px;
}

/* =====================================
DESCRIPTION
===================================== */

.featured-item p {
    max-width: 240px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.55;
}

/* =====================================
LINK
===================================== */

.featured-item a {
    display: inline-block;
    margin-top: 15px;
    color: #c79b2b;
    font-weight: bold;
    text-decoration: none;
}

.featured-item a:hover {
    color: #006b54;
}

/* =====================================
SECOND SECTION
===================================== */

.featured-grid + h2 {
    margin-top: 30px;
}

/* =====================================
MALIKI ARTICLE STYLE
===================================== */

.me-article {
    max-width: 900px;
    margin: auto;
}

.me-article-header h1 {
    font-family: Georgia, serif;
    font-size: 42px;
    color: #006b54;
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}

.me-article-image {
    text-align: center;
    margin: 25px 0;
}

.me-article-image img {
    max-width: 350px;
    height: auto;
}

.me-summary {
    background: #f8f6ef;
    border-left: 4px solid #c79b2b;
    padding: 20px;
    margin: 30px 0;
}

.me-section {
    margin: 35px 0;
}

.me-section h2 {
    color: #006b54;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;
}

/* ================================
NAVIGASI PENGETAHUAN
================================ */

.me-navigation {
    margin: 35px 0;
}

.me-navigation h2 {
    color: #006b54;
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
}

.me-navigation-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.me-navigation-table th {
    width: 180px;
    text-align: left;
    background: #f5f3eb;
    padding: 12px;
    border: 1px solid #ddd;
    font-weight: bold;
}

.me-navigation-table td {
    padding: 12px;
    border: 1px solid #ddd;
}

.me-navigation-table a {
    color: #1f5f8b;
}

.me-navigation-table a:hover {
    color: #006b54;
}

.me-knowledge-navigation {
    margin-top: 35px;
    margin-bottom: 35px;
}

/* =====================================
JELAJAH PENGETAHUAN
===================================== */

.me-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    width: 100%;
    margin: 20px 0 35px;
    align-items: stretch;
}

.me-card {
    border: 1px solid #d9e2df;
    background: #fff;
    padding: 16px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    width: 100%;
    min-width: 0;
}

.me-card img {
    width: 100%;
    max-width: 250px;
    height: 180px;
    object-fit: contain;
    display: block;
    margin: 0 auto 14px;
}

.me-card a {
    color: #006b54;
    text-decoration: none;
    font-weight: bold;
}

.me-card a:hover {
    color: #c79b2b;
}

/* =====================================
RESPONSIVE (Ditaruh di bagian paling bawah)
===================================== */

@media (max-width: 900px) {
    .featured-grid {
        flex-wrap: wrap;
    }
    
    .me-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .me-hero {
        padding: 20px;
    }

    .me-hero h1 {
        font-size: 36px;
    }

    .me-hero h3.tagline {
        font-size: 20px;
    }

    .me-hero-image img {
        height: 160px;
    }

    .featured-item {
        width: 100%;
    }
}

@media (max-width: 600px) {
    .me-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Maliki Encyclopedia
   WikiEditor - Isi Artikel
   ========================================= */

.me-free-text,
.me-free-text textarea,
.wikiEditor-ui-text,
.wikiEditor-ui-text textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}

.wikiEditor-ui {
    width: 100% !important;
    max-width: none !important;
}

.wikiEditor-ui-text {
    width: 100% !important;
}

.wikiEditor-ui-text textarea {
    width: 100% !important;
    max-width: none !important;
    box-sizing: border-box !important;
}