@media(max-width:768px) {
    .sticky {
        position: unset;
    }

    .mobile-view {
        display: block;
    }

    .header-container {
        display: none;
    }

    .contents-heading {
        display: none;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
    }

    /* desk top menu bar */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 98;
        display: none;
    }

    .mobile-container {
        position: fixed;
        top: 0;
        left: -280px;
        width: 280px;
        height: 100%;
        background-color: white;
        z-index: 99;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
        overflow-y: auto;
        transition: left 0.3s ease;
    }

    .mobile-container.mobile-open {
        left: 0;
    }

    .mobile-overlay.mobile-open {
        display: block;
    }

    .mobile-item {
        display: flex;
        align-items: center;
        padding: 15px 20px;
        border-bottom: 1px solid #eaecf0;
        background-color: white;
        text-decoration: none;
        color: #404244;
        font-size: 18px;
        transition: background-color 0.2s;
    }

    .mobile-item:hover {
        background-color: #f5f5f5;
    }

    .mobile-icon {
        margin-right: 15px;
        width: 24px;
        height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #4a4a4a; 
    }

    .mobile-text {
        font-weight: 500;
    }

    .mobile-donate-section {
        padding: 20px;
        background-color: #f5f8fa;
        border-bottom: 1px solid #eaecf0;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .mobile-donate-text {
        flex: 1;
    }

    .mobile-donate-button {
        color: #36c;
        font-size: 24px;
        font-weight: bold;
        margin-bottom: 10px;
        display: block;
    }

    .mobile-donate-description {
        color: #4a4a4a; 
        font-size: 16px;
        line-height: 1.4;
    }

    .mobile-wiki-logo {
        width: 80px;
        height: 80px;
    }

    .mobile-footer {
        display: flex;
        padding: 15px 20px;
        background-color: #f5f8fa;
    }

    .mobile-footer-link {
        margin-right: 20px;
        color: #4a4a4a; 
        text-decoration: none;
        font-size: 16px;
    }


    .mobile-content {
        padding: 20px;
        margin-left: 0;
        transition: margin-left 0.3s ease;
    }

    /* mobile search */
    /* Header container */
    .mobileHeader {
        display: flex;
        align-items: center;
        padding: 8px 16px;
        background-color: #f8f9fa;
        border-bottom: 1px solid #eaecf0;
        width: 100%;
        position: relative;
        height: 54px;
    }

    /* Menu and logo container */
    .mobileMenuLogoContainer {
        display: flex;
        align-items: center;
        flex: 1;
    }

    .mobileMenuButton {
        display: flex;
        background: none;
        border: none;
        padding: 8px;
        cursor: pointer;
        margin-right: 8px;
    }

    .mobileLogo {
        font-family: serif;
        font-size: 20px;
        font-weight: bold;
        color: #000;
        text-decoration: none;
    }

    /* Search container */
    .mobileSearchContainer {
        position: relative;
        margin-left: auto;
        width: auto;
        max-width: 50px;
        transition: max-width 0.3s ease;
    }

    .mobileSearchContainer.active {
        max-width: 100%;
        width: 100%;
        position: absolute;
        left: 0;
        top: -42;
        z-index: 10;
        padding: 8px;
        background-color: #f8f9fa;
    }

    /* Search button styling */
    .mobileSearchButton {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 8px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobileSearchIcon {
        color: #4b5563;
        width: 20px;
        height: 20px;

    }

    /* Search wrapper (when open) */
    .mobileSearchWrapper {
        display: none;
        align-items: center;
        width: 100%;
        background-color: white;
        border-radius: 8px;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    }

    .mobileInputContainer {
        flex: 1;
        display: flex;
        align-items: center;
        padding: 4px 8px;
    }

    .mobileSearchIconActive {
        color: #6b7280;
        margin-right: 8px;
        width: 18px;
        height: 18px;
    }

    .mobileSearchInput {
        flex: 1;
        padding: 6px;
        border: none;
        outline: none;
        font-size: 14px;
        width: 100%;
    }

    .mobileCloseButton {
        padding: 8px;
        color: #6b7280;
        background: none;
        border: none;
        cursor: pointer;
    }

    .mobileCloseIcon {
        width: 18px;
        height: 18px;
    }

    /* Show search when active */
    .mobileSearchContainer.active .mobileSearchButton {
        display: none;
    }

    .mobileSearchContainer.active .mobileSearchWrapper {
        display: flex;
    }

    /* Content area */
    .mobileContent {
        padding: 16px;
    }

    .mobileTitle {
        font-size: 24px;
        font-family: serif;
        margin-bottom: 16px;
    }

    .mobileNavTabs {
        display: flex;
        border-bottom: 1px solid #eaecf0;
        margin-bottom: 16px;
    }

    .mobileNavTab {
        padding: 12px 16px;
        font-size: 14px;
        font-weight: 500;
        color: #36c;
        text-decoration: none;
    }

    .mobileNavTab.active {
        color: #000;
        border-bottom: 2px solid #36c;
        font-weight: bold;
    }

    /*  */
    body {
        font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
        line-height: 1.6;
        color: #222;
        background-color: #f8f9fa;
        padding-bottom: 20px;
        margin: 0px 0px;
    }

    .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 12px 16px;
        background-color: #eaecf0;
        border-bottom: 1px solid #c8ccd1;
    }

    .header .logo {
        padding-left: 10px;
        line-height: 0;
        padding-bottom: 0px;
    }

    .header .logo img {
        width: 100px;
        height: 30px;

    }

    .menu-button {
        font-size: 25px;
        color: #4a4a4a; 
        background: none;
        border: none;
        cursor: pointer;
    }

    .logo {
        font-family: "Linux Libertine", Georgia, Times, serif;
        color: #000;
        text-decoration: none;
    }

    .search-button {
        font-size: 24px;
        color: #4a4a4a; 
        background: none;
        border: none;
        cursor: pointer;
    }

    .content {
        padding: 1px 16px;
    }

    .content .content-p {
        font-family: "Linux Libertine", Georgia, Times, serif;
        font-size: 2.25rem;
        font-weight: normal;
        margin-bottom: 16px;
        line-height: 1.3;
    }

    .tabs {
        display: flex;
        margin-bottom: 16px;
        border-bottom: 1px solid #c8ccd1;
    }

    .tab {
        padding: 8px 16px;
        font-size: 1rem;
        text-decoration: none;
        color: #36c;
    }

    .tab.active {
        font-weight: bold;
        color: #222;
        border-bottom: 2px solid #36c;
    }

    .page-actions {
        display: flex;
        justify-content: space-between;
        margin: 16px 0;
    }

    .action-button {
        font-size: 24px;
        color: #4a4a4a; 
        background: none;
        border: none;
        padding: 4px;
        cursor: pointer;
    }

    .notice-box {
        border: 1px solid #a2a9b1;
        margin-bottom: 16px;
        position: relative;
        background-color: #fff;
    }

    .orange-bar {
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 8px;
        background-color: #fc3;
    }

    .notice-content {
        padding: 12px 10px 12px 10px;
        display: flex;
        flex-direction: column;
    }

    .notice-header {
        display: flex;
        align-items: center;
        margin-bottom: 0px;
    }

    .notice-arrow {
        color: #fc3;
        font-size: 18px;
        margin-right: 8px;
    }

    .notice-text {
        color: #4a4a4a; 
        font-size: 14px;
    }

    .learn-more {
        color: #36c;
        text-decoration: none;
        font-weight: 500;
        align-self: flex-end;
    }

    .italics {
        font-style: italic;
        margin-bottom: 16px;
        color: #4a4a4a; 
    }

    .article p {
        margin-bottom: 0px;
        font-size: 16px;
    }

    .article a {
        color: #36c;
        text-decoration: none;
    }

    .article strong {
        font-weight: bold;
    }

    .footnote {
        color: #36c;
        font-size: 10px;
        font-weight: bold;
        vertical-align: super;
        text-decoration: none;
    }

    .container {
        display: flex;
        flex-direction: column;
        width: 100%;
        padding-top: 0px;
    }

    .left-column {
        width: 100%;
        padding: 0px 0px;
    }

    .contents-box {
        width: 100%;
        margin-bottom: 0px;

    }

    .contents-wrapper {
        max-width: 600px;
        padding: 0px 0;
    }

    .section-one-verification-box {
        display: none;
    }

    .section-one-paragraph {
        margin: 10px 0;
        /* display: flex; */
    }

    .article-source {
        display: none;
    }

    .tool-tabs {
        font-family: sans-serif;
        display: none;
        font-size: 14px;
        text-align: right;
    }

    .navigation-section {
        display: none;
    }

    .language-dropdown {
        display: none;
    }

    .page-title {
        display: none;
    }

    /* centre column */
    .section-one-heading {
        font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
        border-bottom: 1px solid #a2a9b1;
        padding-bottom: 3px;
        margin-top: 0px;
        margin-bottom: 15px;
        overflow: hidden;
        font-size: 1.5em;
        font-weight: normal;
        padding-top: 10px;


    }

    .toggle-icon {
        position: absolute;
        left: 0;
        top: -10px;
        width: 0px;
        font-size: 30px;
        color: #616161;
    }

    .top-item {
        display: none;
    }

    .section-three-main {
        display: grid;
        grid-template-columns: 7fr;
        gap: 20px;
    }

    .contents-list a {
        text-decoration: none;
        color: black;
        font-size: 14px;
        font-weight: 100;
    }

    .contents-list li a {
        font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
        padding-bottom: 3px;
        margin-top: 0px;
        margin-bottom: 15px;
        overflow: hidden;
        font-size: 1.5em;
        font-weight: normal;
        padding-left: 10px;
    }

    .section-three-content {
        padding-right: 0px;
    }

    .center-column {
        width: 100%;
        padding: 0px 10px;
        position: relative;
        display: flex;
        flex-direction: column;
    }

    .section-three-image {
        width: 100%;
        height: auto;
        display: block;
        /* margin: 0 auto; */
    }

    .references-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .header a {
        color: black;
        cursor: pointer;
        text-decoration: none;

    }

    .contents-list>li {
        margin: 4px 0;
        padding-left: 0;
        border-bottom: 1px solid rgb(176 171 171);
    }

    .references-column ol {
        padding-left: 20px;
    }

    .section-three-caption {
        font-size: 12px;
        padding: 0px;
        text-align: left;
    }

    .section-three-categories-box {
        margin-top: 20px;
    }

    .section-three-container1 {
        font-family: sans-serif;
        font-size: 14px;
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .section-three-heading {
        font-family: 'Linux Libertine', 'Georgia', 'Times', serif;
        border-bottom: 1px solid #a2a9b1;
        padding-bottom: 3px;
        margin-top: 0px;
        margin-bottom: 15px;
        font-size: 1.5em;
        font-weight: normal;
    }

    /* Right Column */
    .right-column {
        display: none;
    }

    /* footer */
    .footer-container {
        padding: 18px 10px 0px 10px;
    }

    /* language */

    /* mobile language */
    .mobile-dropdown {
        position: relative;
        display: inline-block;
    }

    .mobile-action-button {
        padding: 8px 12px;
        background-color: #f8f9fa;
        border: 0px solid #ddd;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
    }

    .mobile-dropdown-content {
        display: none;
        position: absolute;
        background-color: white;
        min-width: 160px;
        box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
        z-index: 1;
        border-radius: 4px;
        border: 1px solid #ddd;
    }

    .mobile-dropdown-content a {
        color: #555;
        padding: 12px 16px;
        text-decoration: none;
        display: block;
    }

    .mobile-dropdown-content a:hover {
        background-color: #f8f9fa;
    }

    .mobile-edit-links {
        border-top: 1px solid #ddd;
        color: #36c;
        font-size: 14px;
    }

    .mobile-show {
        display: block;
    }
    /* detail page */
    .infobox {
        border: 1px solid #a2a9b1;
        background-color: #f8f9fa;
        margin: 0 0 0px 0px;
        width: 100%;
        /* float: right; */
        /* clear: right; */
        font-size: 12px;
        line-height: 1.5;
        padding: 2px;
    }
    .infobox-title {
        font-weight: bold;
        font-size: 19px;
    }
    .infobox-image img {
        width: 100%;
        height: 235px;
        border: 1px solid #c8ccd1;
        object-fit: cover;
    }

}
