:root {
  /* Swapped fallback priority to Inter */
  --default-font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
      Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
      "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
      "Source Han Sans CN", sans-serif;
  
  /* Brand Fire/Orange Palette */
  --primary-dark: #2a0804;
  --primary-deep: #8b2500;
  --primary-vivid: #f25f0a;
  --primary-light: #ffaa33;
  --accent-yellow: #fff4a3;
  --bg-dark: #1a0502;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden; /* prevent horizontal scroll */
  font-family: var(--default-font-family); /* Applied baseline font here */
}

/* ==========================================================================
   INTER FONT INTEGRATION (Replaced Nexa bindings securely)
   ========================================================================== */
@font-face {
  font-family: 'Inter';
  src: url('https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp5SRlDa7mv1A9K6m7Q.woff2') format('woff2');
  font-weight: 300; /* Light */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp5SRlDa7mv1A9K6m7Q.woff2') format('woff2');
  font-weight: 400; /* Regular */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp5SRlDa7mv1A9K6m7Q.woff2') format('woff2');
  font-weight: 700; /* Bold */
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('https://fonts.gstatic.com/s/inter/v13/UcCO3FwrK3iLTeHuS_fvQtMwCp5SRlDa7mv1A9K6m7Q.woff2') format('woff2');
  font-weight: 900; /* Heavy */
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   LAYOUT CONTAINERS
   ========================================================================== */
.main-container {
  position: fixed;
  top: 0;            /* align at top */
  left: 0;           /* full width from left */
  width: 100%;
  height: 80px;
  background: url(../assets/images/header.png) no-repeat center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;   /* safe spacing */
  box-sizing: border-box; /* prevents padding from overflowing */
  z-index: 1000;     /* above other content */
}

.content-wrapper {
  margin-top: 100px; /* FIX: Added explicit top margin to clear fixed header safely */
  display: flex;
  flex-direction: column;
}

/* ==========================================================================
   HEADER ACTIONS & SEARCH
   ========================================================================== */
.icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
  flex-shrink: 0; /* stops icons from stretching */
}

.left-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

.right-icon {
  width: 24px;
  height: 24px;
  cursor: pointer;
}

/* Glass-style search */
.search-container {
    position: relative;
    display: flex;
    align-items: center;
    width: 300px;
    max-width: 90%;
    background: rgba(255, 255, 255, 0.1); /* semi-transparent glass */
    backdrop-filter: blur(12px); /* blur behind */
    border-radius: 15px;
    padding: 0.5rem 1rem;
    margin-left: auto; /* align to the right */
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.search-container:hover {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 12px 36px rgba(0,0,0,0.25);
}

.search-container input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: white;
    font-size: 13px;
    font-family: 'Inter', var(--default-font-family);
    padding-right: 30px;
    transition: all 0.3s ease;
}

.search-container input::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-container input:focus {
    width: 100%;
}

.search-icon {
    position: absolute;
    right: 12px;
    width: 20px;
    height: 20px;
    pointer-events: none;
    transition: all 0.3s ease;
}

/* ==========================================================================
   HERO / RECENTS SCROLL SECTION
   ========================================================================== */
.recents-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0 auto 10px auto; /* FIX: Styled with margin auto and distinct layout separation */
    width: 100%;
}

.recents {
  display: flex;
  align-items: center;
  gap: 5px;
  position: relative;

  width: min(95vw, 1200px);
  margin: 0 auto;
  padding: 10px 0px;
  box-sizing: border-box;

  overflow-x: auto;
  overflow-y: hidden;
}

.recents::-webkit-scrollbar { height: 8px; }
.recents::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.2); border-radius: 4px; }
.recents::-webkit-scrollbar-track { background: transparent; }

.recent-article {
  flex: 0 0 auto;          /* do not shrink, don't grow; stays an item in the horizontal row */
  margin: 0 5px;   
  aspect-ratio: 390 / 562; /* keeps the same proportion you used before */
  overflow: hidden;
  position: relative;
  border-radius: 8px;
  background-color: #eee;  /* fallback while image loads */
  box-sizing: border-box;
  margin-right: 0px;
  height: 500px; 
  justify-content: center;  /* center children horizontally */
}

.recent-article img {
  position: absolute;   /* take full control inside container */
  top: 0;
  width: 100%;          /* always fill horizontally */
  height: 100%;         /* always fill vertically */
  object-fit: cover;    /* scale without distortion */
  object-position: center; /* keep centered when cropped */
}

.recent-article[data-bg] {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.scroll-btn {
  display: none;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;           /* size of the circle */
    height: 60px;          /* size of the circle */
    border-radius: 50%;    /* make it circular */
    border: 1.8px solid rgba(255, 255, 255, 0.7); /* subtle white border */
    background: rgba(255, 255, 255, 0.15);        /* glassy background */
    backdrop-filter: blur(8px) saturate(180%);
    -webkit-backdrop-filter: blur(8px) saturate(180%);
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease, transform 0.2s ease, border 0.3s ease;
}

.scroll-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
    border: 1.8px solid rgba(255, 255, 255, 0.9);
}

.scroll-btn svg {
    width: 30px;      /* bigger arrow */
    height: 36px;
    stroke: #ffffff;  /* white arrow */
}

/* Positioning adjustments */
.scroll-btn.left { left: 180px; }
.scroll-btn.right { right: 180px; }

.most-read-wrapper .scroll-btn.left { left: 250px; }
.most-read-wrapper .scroll-btn.right { right: 250px; }

.article-details {
  position: absolute; 
  bottom: 20px;       
  left: 20px;
  width: 260px;      /* default for small screens */
  display: flex;
  flex-direction: column; 
  gap: 2px;              
  z-index: 4;
}

/* ==========================================================================
   BUTTONS AND GRAPHICS ON HERO IMAGES
   ========================================================================== */
.catbutton {
  flex-shrink: 0;
  position: relative;
  width: 87.207px;
  height: 18.168px;
  background: #ffffff;
  z-index: 5;
  overflow: hidden;
  border-radius: 78.728px; 

  display: flex;
  align-items: center;
  justify-content: center; 
  cursor: pointer; 
  transition: background 0.3s ease, transform 0.2s ease;
}

.catbutton:hover {
  background: #e8e8e8;
  transform: translateY(-2px);
}

.cat-button {
  font-family: 'Inter', var(--default-font-family);
  font-weight: 900;
  font-size: 11.97px;
  line-height: 11.5px;
  color: var(--primary-dark);
  text-transform: uppercase;
  text-decoration: none; 

  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
  position: static; 
  text-align: center;
}

.title {
  font-family: 'Inter', var(--default-font-family);
  font-weight: 900;
  font-size: 23.937px;
  line-height: 1;
  color: #ffffff;
  text-transform: uppercase;
  word-wrap: break-word;
  overflow-wrap: break-word;
  white-space: normal; 
  margin: 0;          
}

.author {
  font-family: 'Inter', var(--default-font-family);
  font-weight: 300; 
  font-size: 10px;
  color: #ffffff;
  text-transform: capitalize;
}

.date {
  font-family: 'Inter', var(--default-font-family);
  font-weight: 700; 
  font-size: 10px;
  color: #ffffff;
  text-transform: capitalize;
}

.readhere-btn {
  flex-shrink: 0;
  width: 134.444px;
  height: 28.009px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px) saturate(180%);
  -webkit-backdrop-filter: blur(8px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 121.373px;

  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
}

.readhere-btn:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

.readhere-btnn {
  font-family: 'Inter', var(--default-font-family);
  font-weight: 900;
  font-size: 15.76px;
  color: #ffffff;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
}

.readhere-btnn:hover {
  color: #000000;
}

.gradient-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%; 
  background: linear-gradient(to top, rgba(42, 8, 4, 0.85), rgba(139, 37, 0, 0)); 
  z-index: 3; 
  pointer-events: none; 
}

.bgpic {
  position: absolute;
  top: 50%;                
  left: 50%;               
  width: 100vw;            
  height: 600px;           
  max-width: 1600px;       
  transform: translate(-50%, -50%); 
  background-size: cover;  
  background-position: center; 
  background-repeat: no-repeat;
  z-index: 2;
}

.bgpic2 {
  position: absolute;
  width: 1017.352px;
  height: 678.317px;
  top: -58.138px;
  left: -80px;
  background: url(./assets/IMG_0420.JPG) no-repeat center;
  background-size: cover;
  z-index: 2;
}

.bgpic3 {
  position: absolute;
  width: 1017.352px;
  height: 678.317px;
  top: -58.138px;
  left: -290px;
  background:url(./assets/2016_0208_01014700.jpg) no-repeat center;
  background-size: cover;
  z-index: 2;
}

/* ==========================================================================
   SECTION CONTROLLERS & GENERAL ELEMENT BASES
   ========================================================================== */
.section-container {
  padding: 10px;
  position: relative;
}

.articles-main-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.section-articles {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  width: 85%;          
  max-width: 100%;     
  margin: 0 auto;       
  padding: 0 0;      
  box-sizing: border-box;
}

.section-header {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    width: 100%;
    padding: 5px 0;
    box-sizing: border-box;
}

.sectionH {
  background: #e52e02;;
  border-radius: 78.728px;
  padding: 4px 16px; 
}

.text-s {
  color: #ffffff;
  font-family: 'Inter', var(--default-font-family);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.sectionM {
    display: flex;               
    align-items: center; 
    justify-content: center; 
    background: #e52e02;;
    border-radius: 78.728px;
    padding: 4px 20px; 
}

.text-m {
  color: #ffffff;
  font-family: 'Inter', var(--default-font-family);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;   
  margin: 0; 
}

.wrapper {
  margin-left: 0;
}

.view-more-btn {
  color: var(--primary-dark);
  font-family: 'Inter', var(--default-font-family);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.63;
  cursor: pointer; 
  text-decoration: none;
  margin-left: auto;
}

.view-more-btn:hover {
  color: var(--primary-vivid);
}

/* ==========================================================================
   MOST READ GRID/CAROUSEL (OVERLAY BASES ONLY)
   ========================================================================== */
.article-container {
    display: grid;                  
    gap: 10px;                      
    overflow: hidden;
    width: 100%;
    max-width: 360px;               
    margin: 0 auto;
    padding: 10px 15px;
    box-sizing: border-box;
    grid-template-columns: 1fr;     
}

.article-img {
    position: relative;
    width: 100%;
    max-width: 359px;
    height: 240px;
    background: url(./assets/images/DOS04774.jpg) no-repeat center;
    background-size: cover;
    overflow: hidden;
    flex-shrink: 0;      
    object-fit: cover;
    image-rendering: auto;
}

.article-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: absolute;   
  bottom: 10px;         
  left: 10px;            
  right: 5px;           
  gap: 5px;
  z-index: 1;
}

.title1 {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  align-self: stretch;
  position: relative;
  color: #ffffff;
  font-family: 'Inter', var(--default-font-family);
  font-size: 25px;
  font-weight: 900;
  line-height: 23.603px;
  text-align: left;
  z-index: 2;
  white-space: normal;
  word-wrap: break-word;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.75);
  text-decoration: none;
}

.article-text a.title1:hover {
  cursor: pointer;
  color: var(--accent-yellow);
}

.date1 {
  align-self: stretch;
  position: relative;
  height: 10px;
  color: #ffffff;
  font-family: 'Inter', var(--default-font-family);
  font-size: 10px;
  font-weight: 700;
  line-height: 9.037px;
  text-align: left;
  white-space: nowrap;
  z-index: 3;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.75);
}

.author1 {
  align-self: stretch;
  position: relative;
  height: 10px;
  color: #ffffff;
  font-family: 'Inter', var(--default-font-family);
  font-size: 10px;
  font-weight: 400;
  line-height: 9.037px;
  text-align: left;
  white-space: nowrap;
  z-index: 4;
  text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.75);
}

.most-read {
    display: flex;             
    flex-wrap: nowrap;         
    overflow-x: auto;          
    gap: 15px;                 
    padding: 10px 0;
    scroll-behavior: smooth;   
}

.most-read::-webkit-scrollbar { height: 8px; }
.most-read::-webkit-scrollbar-thumb { background-color: rgba(0,0,0,0.2); border-radius: 4px; }
.most-read::-webkit-scrollbar-track { background: transparent; }

.most-read .article-img {
    flex: 0 0 auto;            
    width: 300px;               
    height: 400px;              
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.most-read .title1 {
    width: 250px;
    color: #ffffff;
    font-family: 'Inter', var(--default-font-family);
}

/* ==========================================================================
   FIXED COMPONENT GRID LAYOUT (NEW NEWSPAPER FLUID STRUCTURE)
   ========================================================================== */
.category-grid {
    display: grid;
    grid-template-columns: 1fr;    
    gap: 24px;
    width: 85%; 
    max-width: 1200px; 
    margin: 0 auto;
    padding: 20px 0;
    box-sizing: border-box;
}

.category-grid .grid-item {
    display: flex;
    flex-direction: row;            
    align-items: center; /* FIX: Vertically centers text against thumbnails */
    gap: 16px; 
    width: 100%;
    overflow: hidden;
}

.category-grid .article-img {
    width: 110px;                   
    height: 75px;
    border-radius: 6px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;                 
    position: relative;
}

.category-grid .article-text {
    position: relative !important;   /* FIX: Re-anchors structural text stream block from standard global position: absolute override */
    bottom: auto !important;         
    left: auto !important;            
    right: auto !important;           
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    flex-grow: 1;
    min-width: 0; 
    overflow: hidden;
}

.category-grid .title1 {
    display: -webkit-box;
    -webkit-line-clamp: 2; /* Keeps neat limits */
    -webkit-box-orient: vertical;
    overflow: hidden;
    
    color: #111111 !important; /* FIX: Enforces clean visible dark text against page light backgrounds */
    text-shadow: none !important; /* FIX: Cleans out floating white hero visual shadow filters */
    font-family: 'Inter', var(--default-font-family);
    font-size: clamp(14px, 1.2vw, 16px) !important; 
    font-weight: 700;
    line-height: 1.4;
    word-break: break-word;
}

.category-grid .title1:hover {
    color: var(--primary-deep) !important;
}

.category-grid .date1 {
    color: #666666 !important; /* FIX: Consistent typography visible baseline */
    font-family: 'Inter', var(--default-font-family);
    font-size: 11px !important;
    font-weight: 500 !important;
    text-shadow: none !important;
    white-space: nowrap;
    line-height: 1 !important;
}

/* ==========================================================================
   ARTICLE VIEW PAGE & METRICS
   ========================================================================== */
.article-page-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: 'Inter', var(--default-font-family);
    line-height: 1.6;
    color: #333;
}

.article-image-top img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px;
}

.article-header h1 {
    font-size: 2.2rem;
    margin: 0 0 10px 0;
    font-weight: bold;
    color: #222;
}

.article-meta {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 20px;
}

.article-content {
    font-size: 1rem;
    color: #444;
}

.article-content p { margin-bottom: 1em; }
.article-content a { color: var(--primary-vivid); text-decoration: none; }
.article-content a:hover { text-decoration: underline; }

/* ==========================================================================
   FEEDBACK MODULE
   ========================================================================== */
.divider {
    width: 100%;
    margin: 60px auto 40px auto;
    border: none;
    border-top: 1px solid var(--primary-deep);
}

.feedback-section {
    background-color: #fff;
    max-width: 600px;
    margin: 0 auto 10px auto;
    padding: 40px 30px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
    text-align: center;
}

.feedback-section h2 {
    color: var(--primary-deep);
    font-size: 24px;
    margin-bottom: 10px;
    font-weight: bold;
}

.feedback-section p {
    color: #555;
    font-size: 16px;
    margin-bottom: 25px;
}

.feedback-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feedback-form input,
.feedback-form textarea {
    font-family: 'Inter', var(--default-font-family);
    font-size: 16px;
    padding: 12px 15px;
    border-radius: 6px;
    border: 1.5px solid #ccc;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.feedback-form input:focus,
.feedback-form textarea:focus {
    border-color: var(--primary-vivid);
    box-shadow: 0 0 6px rgba(242, 95, 10, 0.3);
}

.feedback-form button {
    background-color: var(--primary-deep);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    padding: 12px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
}

.feedback-form button:hover {
    background-color: var(--primary-vivid);
    transform: scale(1.03);
}

/* ==========================================================================
   ACCOUNT & PROFILES
   ========================================================================== */
.search-account-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.profile-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden; 
  cursor: pointer;
  border: 2px solid #ddd;
  flex-shrink: 0; 
  transition: transform 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  background: #f8f8f8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.profile-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover; 
}

.profile-icon:hover {
  transform: scale(1.05);
  border-color: #555;
  background: #eee;
}

.profile-icon i {
  font-size: 20px;
  color: #555;
}

.profile-icon:hover i {
  color: #222;
}

/* ==========================================================================
   RESPONSIVE MEDIA INJECTIONS
   ========================================================================== */

/* Mobile / Collapse States */
@media (max-width: 768px) {
    .search-container {
        width: 35px; 
        padding: 0.3rem;
    }

    .search-container input {
        width: 0;
        opacity: 0;
        padding: 0;
        pointer-events: none;
        transition: width 0.3s ease, opacity 0.3s ease;
    }

    .search-container.active {
        width: 250px;
        padding: 0.5rem 1rem;
    }

    .search-container.active input {
        width: 100%;
        opacity: 1;
        pointer-events: auto;
        color: white; 
    }

    .author-page-container {
      display: flex;
      flex-direction: column;
      align-items: center;      
      justify-content: center;
      text-align: center;
      max-width: 100%;
      margin: 20px auto;        
      padding: 0 20px;
      box-sizing: border-box;
    }

    .author-image {
      display: flex;
      justify-content: center;
      width: 100%;
    }

    .author-image img {
      width: 130px;
      height: 130px;
      border-radius: 50%;
      object-fit: cover;
    }

    .author-details {
      display: flex;
      flex-direction: column;
      align-items: center;      
      width: 100%;
      gap: 6px;
    }

    .author-details h1,
    .author-details span,
    .author-details p {
      text-align: center;
    }

    .author-details div {
      justify-content: center;  
    }
}

@media screen and (max-width: 600px) {
    .article-page-container { padding: 0 15px; }
    .article-header h1 { font-size: 1.8rem; }
    .article-meta { font-size: 0.85rem; }
    .search-container { display: none !important; }
    .feedback-section { padding: 30px 20px; margin: 0 15px 60px; }
    .feedback-section h2 { font-size: 20px; }
    .feedback-section p { font-size: 14px; }
}

/* Medium screens (Tablet Breakpoint bases) */
@media (min-width: 820px) {
  .article-details { width: 400px; gap: 2px; }
  .article-details .title { font-size: 28px; }
  .article-details .author, .article-details .date { font-size: 12px; }
  .article-details .catbutton { width: 100px; height: 22px; }
}

@media (min-width: 601px) and (max-width: 1439px) {
    .section-articles { width: 85%; max-width: 100%; }
    .section-header { flex-direction: row; justify-content: space-between; padding: 8px 0; }
    .text-s { font-size: 12px; }
    .view-more-btn { font-size: 11px; }
}

@media (min-width: 768px) and (max-width: 1439px) {
    .article-container { max-width: 720px; grid-template-columns: repeat(2, 1fr); }
    .category-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Large Desktop Multi-Column Breakpoints */
@media (min-width: 1440px) {
  .recent-article { width: min(90vw, 1152px); height: 600px; }
  .scroll-btn { display: flex; }
  .article-details { width: 500px; gap: 2px; }
  .article-details .title { font-size: 32px; }
  .article-details .author, .article-details .date { font-size: 14px; }
  .article-details .catbutton { width: 120px; height: 25px; }
  .section-articles { width: 85%; max-width: 100%; }
  .section-header { flex-direction: row; justify-content: space-between; padding: 10px 0; }
  .text-s { font-size: 14px; }
  .view-more-btn { font-size: 12px; }

  .article-container { max-width: 1080px; grid-template-columns: repeat(3, 1fr); }
  
  .category-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr) !important;
      gap: 24px;
      width: 85%;
      max-width: 1200px; 
      margin: 0 auto;
      padding: 20px 0;
      box-sizing: border-box;
  }
}