.articlecontainer h1 {
        padding-bottom: 0.5rem;
        margin-bottom: 2rem;
      }
    
      .articlecontainer h2 {
        font-size: 1.75rem; /* 28px */
        font-weight: 600;
        color: var(--main-color, #1A48EE);
      }
       /* --- NEW TWO-COLUMN CATEGORY GRID --- */
        #category-grid-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr; /* Two equal columns */
        gap: 2.5rem; /* Space between columns and rows */
        margin-bottom:2rem;
        padding-bottom: 2rem;
        }
        
        /* Make ad containers span both columns */
        .ad-container {
        grid-column: 1 / -1; /* Span from first to last grid line */
        width: 100%;
        }
        /* This targets the intro paragraphs */
        .articlecontainer > p {
        font-size: 1.1rem; /* 18px */
        line-height: 1.7;
        margin-bottom: 1.5rem; /* 24px */
        margin-left: auto;
        margin-right: auto;
        }
      .articlecontainer section {
        /* This creates the "card" effect */
        background-color: var(--color-white, #ffffff);
        border: 1px solid var(--border-color, #e2e8f0);
        border-radius: 12px;
        padding: 1.5rem; /* 24px */
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
        transition: all 0.2s ease-in-out;
        
        /* Use flex to stack link/description and make cards in a row equal height */
        display: flex;
        flex-direction: column;
        height: 100%;
        margin: 0; /* Override default li margin */
        padding-bottom: 0.5rem; /* 8px */
        margin-top: 2.5rem; /* 40px */
        margin-bottom: 1.5rem; /* 24px */
      }

      .articlecontainer section:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
      }
      .articlecontainer section h2 a {
        text-decoration: none;
      }
      .articlecontainer section h2 a:hover {
        text-decoration: underline;
      }
      .articlecontainer section li a {
        /* This is the card title */
        font-size: 1.25rem; /* 20px */
        font-weight: 600;
        color: var(--tertiary-color, #2c20E6);
        text-decoration: none;
        margin-bottom: 0.75rem; /* 12px */
      }
      
      .articlecontainer section li a:hover {
        text-decoration: underline;
        color: var(--main-color, #1A48EE);
      }

      .articlecontainer section li p {
        /* This is the card description */
        font-size: 0.95rem; /* 15px */
        color: var(--color-gray, #4a5568);
        line-height: 1.6;
        margin: 0; /* Remove default p margins */
        flex-grow: 1; /* Allows description to fill card height */
      }
      
      .intro-blurb {
        font-size: 1.1rem; /* 18px */
        color: var(--color-gray, #4a5568);
        line-height: 1.7;
        margin-bottom: 2.5rem; /* 40px */
        max-width: 900px; /* Don't let it get too wide */
        margin-left: auto;
        margin-right: auto;
        text-align: center;
      }
       /* --- RESPONSIVE STYLES --- */
    @media (max-width: 768px) { /* Changed to 768px for a better stacking breakpoint */
    #category-grid-wrapper {
        /* Stack to one column */
        grid-template-columns: 1fr;
    }
    }