﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
  }
   .navTitle1{
      display: block !important;
  }
  .navTitle2{
      display: none  !important;
  }
@media screen and (max-width: 706px) {
    .navTitle1 {
        display: none  !important;
    }

    .navTitle2 {
        display: block  !important;
    }
}
        .left-content, .left-column {
    flex: 1;
    position: relative;
}

.right-content, .right-column {
    width: 30% !important;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    height: fit-content;
    border-left: 1px solid #ddd;
}

  .pkp_structure_content {
      display: flex;
      align-items: flex-start;
      padding-top: 20px !important;
  }
  #pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}
  .view_more {
    font-size: .93rem;
    font-weight: 700;
    line-height: 2.143rem;
    color: #3E2723;
    text-decoration: none;
    margin-bottom: 1.43rem;
    margin-right: 17px;
}
  #pagination span {
    font-weight: bold;
}
  .pkp_structure_main:before, .pkp_structure_main:after {
          width: 0px !important;
      }

  .cover {
    width: unset;
    float: none !important;
    height: 100%;
}

  .obj_article_summary {
    display: flex;
    gap: 0px;
    flex-direction: row;
}
  
  .coverImg {
    width: 166px;
    height: 167px;
        position: relative;
}

  .coverImg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px;
}
  
.coverImg span {
    position: absolute;
    bottom: 18px;
    left: 43px;
    color: white;
    font-size: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.obj_article_summary:before, .obj_article_summary:after {
    content: none !important;
}

@media (max-width: 992px){
    .obj_article_summary {
    gap: 48px;
}
}
@media (max-width: 767px) {
    .coverImg {
                width: 290px;
        height: 50%;
    }
      .obj_article_summary {
    gap: 0px;
    flex-direction: column;
}

            .obj_article_summary h4{
    margin: 0 !important;
}
        .coverImg span {
            bottom: 19px;
            left: 78px;
            font-size: 100%;
        }

    .right-column {
    display: none !important;
}
}
  .wrapper {
    background: #5D3A1A; /* Professional Brown - Nav Background */
    z-index: 999;
    position: fixed;
    width: 100%;
    box-shadow: 2px 2px 5px #b6b6b6, -2px -2px 2px #ffffff;
  }
  .wrapper nav {
    position: relative;
    display: flex;
    max-width: calc(100% - 200px);
    margin: 0 auto;
    height: auto;
    align-items: center;
    justify-content: space-between;
  }
  nav .nav-content {
    display: flex;
    flex-wrap:wrap;
    /* align-items: center; */
    /* justify-content: space-between; */
    width: 100%;
  }
  nav .nav-content .links {
    margin-left: 5px;
    display: flex;
    gap: 10px;
  }
  .nav-content .logo {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 91%;
      line-height: 1.2;
  }
  .nav-content .logo img {
    width: 80px;
  }
  .nav-content .logo .delsu {
    width: 69px;
  }
  .nav-content .logo a {
    color: #F5E6D3; /* Light cream for contrast against brown */
    font-size: 30px;
    font-weight: 600;
  }
  .nav-content .links li {
    list-style: none;
    line-height: 60px;
  }
  
  .nav-content .links li a,
  .nav-content .links li label {
    color: #F0E2D0; /* Warm light beige for navigation text */
    font-size: 14px;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    /* margin: 0 5px; */
  }
  .nav-content .links li label {
    display: none;
  }
  
  .nav-content .links li i {
    transition: transform 0.3s ease-in-out;
  }
  .nav-content .links li a:hover,
  .nav-content .links li label:hover {
    background: #8B5E3C; /* Lighter brown/gold on hover */
    color: #fff;
  }
  
  .nav-content .links li a:hover i,
  .nav-content .links li label:hover i{
    transform: rotate(180deg)
  }
  .wrapper .search-icon,
  .wrapper .menu-icon {
    color: #F0E2D0; /* Light beige for icons */
    font-size: 18px;
    cursor: pointer;
    line-height: 70px;
    width: 70px;
    text-align: center;
  
  }
  
  .wrapper .search-icon {
    position: fixed;
      top: 3px;
      right: 15px;
      transition: all 0.3s ease-in-out
  }
  .wrapper .menu-icon {
    display: none;
  }
  .wrapper #show-search:checked ~ .search-icon i::before {
    content: "\f00d";
  }
  
  .wrapper #show-search:checked ~ .search-icon {
      top: 23px;
  }
  
  .wrapper .search-box {
    position: absolute;
    height: 100%;
    max-width: calc(100% - 50px);
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease;
  }
  .wrapper #show-search:checked ~ .search-box {
    opacity: 1;
    pointer-events: auto;
  }
  
  
  .search-box input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    font-size: 17px;
    color: #3E2723; /* Dark brown text in search input */
    background: #FFF8F0; /* Warm off-white background */
    padding: 0 100px 0 15px;
  }
  .search-box input::placeholder {
    color: #8B6B4A;
  }
  .search-box .go-icon {
    position: absolute;
    display: flex;
    right: 10px;
    top: 50%;
    align-items: center;
    transform: translateY(-50%);
    line-height: 60px;
    width: 51px;
    height: 50px;
    justify-content: center;
    border: none;
    outline: none;
    color: #5D3A1A;
    font-size: 20px;
    border-radius: 50%;
    cursor: pointer;
    background: #C9A03D; /* Gold accent for search button */
  }
  .wrapper input[type="checkbox"] {
    display: none;
  }
  
  /* Dropdown Menu code start */
  .nav-content .links ul {
    position: absolute;
    background: #6B442A; /* Rich chestnut brown for dropdown */
    top: 145px;
    z-index: -1;
    opacity: 0;
    visibility: hidden;
    color: #fff;
  }
  .nav-content .links li:hover > ul {
    top: 119px;
    opacity: 1;
    visibility: visible;
    transition: all 0.3s ease;
  }
  .nav-content .links ul li a {
    color: #F5EDE4; /* Light cream for dropdown text */
    display: block;
    width: 100%;
    line-height: 30px;
    border-radius: 0px !important;
  }
  .nav-content .links ul ul {
    position: absolute;
    top: 0;
    right: calc(-100% + 8px);
  }
  .nav-content .links ul li {
    position: relative;
  }
  .nav-content .links ul li:hover ul {
    top: 0;
  }
  
  /* Responsive code start */
  @media screen and (max-width: 1250px) {
    .wrapper nav {
      max-width: 100%;
      padding: 0 20px;
    }
    nav .nav-content .links {
    }
    .nav-content .links li a {
      color: #F0E2D0;
      padding: 8px 13px;
      font-size: 14px;
    }
    .wrapper .search-box {
      max-width: calc(100% - 100px);
    }
    .wrapper .search-box input {
      padding: 0 100px 0 15px;
    }
  }
  
  @media screen and (max-width: 1080px) {
      .pkp_structure_content {
      padding-top: 97px !important;
  }
  
    .wrapper .menu-icon {
      display: block;
    }
    .nav-content .logo a {
      font-size: 25px;
    }
    .wrapper #show-menu:checked ~ .menu-icon i::before {
      content: "\f00d";
    }
    .wrapper #show-search:checked ~ .search-icon {
      top: 1px;
  }
    nav .nav-content .links {
      display: block;
      position: fixed;
      background: #4A2C1A; /* Deep dark brown for mobile menu */
      height: 100%;
      width: 100%;
      top: 70px;
      left: -100%;
      margin-left: 0;
      max-width: 350px;
      overflow-y: auto;
      padding-bottom: 100px;
      transition: all 0.3s ease;
    }
    nav #show-menu:checked ~ .nav-content .links {
      left: 0%;
    }
    .nav-content .links li {
      margin: 15px 20px;
    }
    .nav-content .links li a,
    .nav-content .links li label {
      line-height: 20px;
      font-size: 17px;
      display: block;
      padding: 8px 18px;
      cursor: pointer;
      color: #F5EDE4;
    }
    .nav-content .links li a.desktop-link {
      display: none;
    }
  
    /* dropdown responsive code start */
    .nav-content .links ul,
    .nav-content .links ul ul {
      position: static;
      opacity: 1;
      visibility: visible;
      background: #8B5E3C; /* Medium brown for mobile dropdowns */
      display: none;
      overflow: hidden;
    }
    .nav-content .links #show-features:checked ~ ul,
    .nav-content .links #show-services:checked ~ ul,
    .nav-content .links #show-items:checked ~ ul {
      max-height: 100vh;
    }
    .nav-content .links ul li {
      margin: 7px 20px;
    }
    .nav-content .links ul li a {
      font-size: 17px;
      line-height: 30px;
      border-radius: 5px !important;
    }
  }
 
  @media screen and (max-width: 400px) {
    .wrapper nav {
      padding: 0 10px;
    }
    .nav-content .logo img {
      width: 25px;
    }
    .nav-content .logo a {
      font-size: 23px;
    }
    .wrapper .search-box {
      max-width: calc(100% - 70px);
    }
    .wrapper .search-box .go-icon {
      width: 30px;
      right: 0;
    }
    .wrapper .search-box input {
      padding-right: 30px;
    }
  }

#loadingScreen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.logoLoading img {
    width: 150px; /* Adjust size as needed */
    animation: fadeInOut 2s infinite;
}

/* Fade in and out animation for the logo */
@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

the menu is ok. What I mean the space between nav and content is too much on mobile view. drag up on mobile view: * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
}

/* ========== FIX: Use sticky instead of fixed to avoid spacing issues ========== */
.wrapper {
    background: #5D3A1A;
    position: sticky;
    top: 0;
    z-index: 999;
    width: 100%;
    box-shadow: 2px 2px 5px #b6b6b6, -2px -2px 2px #ffffff;
}

/* ========== FIX: Remove conflicting nav styling ========== */
.wrapper nav {
    position: relative;
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    padding: 12px 24px;
    align-items: center;
    justify-content: space-between;
}

/* ========== Original nav structure (keep but don't duplicate) ========== */
nav .nav-content {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: space-between;
}

nav .nav-content .links {
    margin-left: 5px;
    display: flex;
    gap: 10px;
    list-style: none;
}

.nav-content .logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-content .logo img {
    width: 50px;
}

.nav-content .logo .delsu {
    width: 50px;
}

.nav-content .logo a {
    color: #F5E6D3;
    font-size: 18px;
    font-weight: 600;
}

.nav-content .links li {
    list-style: none;
    line-height: normal;
    position: relative;
}

.nav-content .links li a,
.nav-content .links li label {
    color: #F0E2D0;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: 5px;
    transition: all 0.3s ease;
    cursor: pointer;
    display: block;
}

.nav-content .links li label {
    display: none;
}

.nav-content .links li i {
    transition: transform 0.3s ease-in-out;
}

.nav-content .links li a:hover,
.nav-content .links li label:hover {
    background: #8B5E3C;
    color: #fff;
}

/* ========== FIX: Dropdown positioning ========== */
.nav-content .links ul {
    position: absolute;
    top: 100%;
    left: 0;
    background: #6B442A;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    list-style: none;
    padding: 8px 0;
    border-radius: 8px;
    z-index: 100;
}

.nav-content .links li:hover > ul {
    opacity: 1;
    visibility: visible;
    top: 100%;
}

.nav-content .links ul li a {
    color: #F5EDE4;
    display: block;
    padding: 8px 20px;
    white-space: nowrap;
}

.nav-content .links ul li a:hover {
    background: #8B5E3C;
    padding-left: 25px;
}

/* ========== FIX: Remove conflicting fixed search/menu icons ========== */
.wrapper .search-icon,
.wrapper .menu-icon {
    color: #F0E2D0;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    display: none;
}

/* ========== NAV TITLE RESPONSIVE ========== */
.navTitle1 {
    display: block !important;
}
.navTitle2 {
    display: none !important;
}

@media screen and (max-width: 706px) {
    .navTitle1 {
        display: none !important;
    }
    .navTitle2 {
        display: block !important;
    }
}

/* ========== FIX: Remove huge top padding that caused spacing issues ========== */
.pkp_structure_content {
    display: flex;
    align-items: flex-start;
    padding-top: 20px !important;
}

.left-content, .left-column {
    flex: 1;
    position: relative;
}

.right-content, .right-column {
    width: 30% !important;
    position: -webkit-sticky;
    position: sticky;
    top: 20px;
    height: fit-content;
    border-left: 1px solid #ddd;
}

#pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 11px;
}

.view_more {
    font-size: .93rem;
    font-weight: 700;
    line-height: 2.143rem;
    color: #3E2723;
    text-decoration: none;
    margin-bottom: 1.43rem;
    margin-right: 17px;
}

#pagination span {
    font-weight: bold;
}

.pkp_structure_main:before, .pkp_structure_main:after {
    width: 0px !important;
}

.cover {
    width: unset;
    float: none !important;
    height: 100%;
}

.obj_article_summary {
    display: flex;
    gap: 0px;
    flex-direction: row;
}

.coverImg {
    width: 166px;
    height: 167px;
    position: relative;
}

.coverImg img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 4px;
}

.coverImg span {
    position: absolute;
    bottom: 18px;
    left: 43px;
    color: white;
    font-size: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.obj_article_summary:before, .obj_article_summary:after {
    content: none !important;
}

@media (max-width: 992px) {
    .obj_article_summary {
        gap: 48px;
    }
}

@media (max-width: 767px) {
    .coverImg {
        width: 290px;
        height: 50%;
    }
    .obj_article_summary {
        gap: 0px;
        flex-direction: column;
    }
    .obj_article_summary h4 {
        margin: 0 !important;
    }
    .coverImg span {
        bottom: 19px;
        left: 78px;
        font-size: 100%;
    }
    .right-column {
        display: none !important;
    }
}

/* ========== RESPONSIVE: Mobile menu (FIXED - no duplicate links) ========== */
@media screen and (max-width: 1080px) {
    .wrapper .menu-icon {
        display: block;
    }
    
    .wrapper .search-icon {
        display: block;
    }
    
    .nav-content .logo a {
        font-size: 16px;
    }
    
    .nav-content .links {
        position: fixed;
        background: #4A2C1A;
        height: 100%;
        width: 100%;
        top: 70px;
        left: -100%;
        max-width: 350px;
        overflow-y: auto;
        padding-bottom: 100px;
        transition: all 0.3s ease;
        display: block !important;
        z-index: 999;
    }
    
    .nav-content .links.active {
        left: 0%;
    }
    
    .nav-content .links li {
        margin: 15px 20px;
    }
    
    .nav-content .links li a,
    .nav-content .links li label {
        line-height: 20px;
        font-size: 16px;
        display: block;
        padding: 8px 18px;
        cursor: pointer;
        color: #F5EDE4;
    }
    
    /* Hide desktop-only links, show mobile dropdown triggers */
    .nav-content .links li a.desktop-link {
        display: none;
    }
    
    .nav-content .links li label {
        display: block;
    }
    
    /* Mobile dropdowns */
    .nav-content .links ul,
    .nav-content .links ul ul {
        position: static;
        opacity: 1;
        visibility: visible;
        background: #8B5E3C;
        display: none;
        width: 100%;
        padding: 0;
        margin-top: 8px;
        border-radius: 8px;
    }
    
    .nav-content .links ul.active-submenu {
        display: block;
    }
    
    .nav-content .links ul li {
        margin: 0;
    }
    
    .nav-content .links ul li a {
        font-size: 14px;
        padding: 10px 20px 10px 35px;
        white-space: normal;
    }
    
    .nav-content .links ul li a:hover {
        padding-left: 40px;
    }
}

@media screen and (max-width: 400px) {
    .wrapper nav {
        padding: 10px 15px;
    }
    .nav-content .logo img {
        width: 35px;
    }
    .nav-content .logo a {
        font-size: 14px;
    }
}

/* ========== LOADING SCREEN ========== */
#loadingScreen {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 9999;
}

.logoLoading img {
    width: 150px;
    animation: fadeInOut 2s infinite;
}

@keyframes fadeInOut {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}
}