.resource_container {
    max-width: 1764px;
    width: 100%;
    margin:0 auto;
    padding: 20px 120px;
  }
  .sub_title {

    color: var(--blue-alpha);
    font-weight: 500;
    font-size: 3.5rem;
    margin-bottom: 30px;
  }
 
  .resource_content {
    display: grid;
    grid-template-columns: repeat(3,1fr); /*3 equal width columns */
    width: 100%; /* Full width of its parent */
    overflow: hidden;
    justify-content: space-between; /* columns are spread out and the space between the first and last grid items is maximized. */
    align-items: start; /* Align items to the top of the grid */
    padding: 20px;
    gap: 10px; /* Space between grid items */
    grid-row-gap: 50px;

  }

  .resource_image{
    border-radius: 20px;                         /* Rounds the corners of the container */
    display: flex;                               /* Flexbox for vertical alignment */
    flex-direction: column;                      /* Stacks children (image, title, date, excerpt) vertically */
    justify-content: flex-start;                 /* Aligns content to the top */
    text-align: left;                          /* ensures that the text inside (the title, date, and excerpt) is centered.*/
    padding: 20px;                               /* Padding inside each grid item */
    box-sizing: border-box;                      /* Ensures padding does not affect width */
  }

  .resource_image img {
    border-radius: 20px;
    height: 300px;
    max-width: 100%;
    object-fit: cover;
  }
  .resource_container p{
    margin:20px 0;
  }

  .blog_title {
    color: var(--blue-alpha);
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1rem;                            /* Adds space above the title */
  }

  .blog_link{
    text-decoration: none;
    color: var(--blue-alpha);
    font-size: 18px;

  }

  .blog_link:hover {
    color: black;
    text-decoration: underline;
  }

  .blog_date {
    color: #adadad;
    margin:0;
  }
  .blog_date p{
    margin: 0 !important;
    font-size: 12px;

  }
  .blog_excerpt {
    color: black;
    font-size: 14px;
    max-width: 45rem;
    word-break: break-word;
    margin-top:10px !important;
  }

  .blog_link {
    display: inline;
  }
  
  .view-more {
    background: linear-gradient(105deg, var(--orange-alpha), var(--yellow-alpha));
    position: relative;
    color: var(--black-gamma);
    letter-spacing: 0.05em;
    font-weight: 600;
    line-height: 1;
    font-size: 16px;
    text-align: center;
    border-radius: 30px;
    padding: 16px 30px;
    cursor: pointer;
    /*transition: background-color  linear, color linear;*/
    overflow: hidden;
    display: inline-block; /* Ensures it behaves like a button */
    text-decoration: none; /* Removes default underline */  
    margin: 20px auto;
  }

  .view-more:hover {
    background: var(--blue-alpha); /* Reverse colors */
    color: white; /* Change text color */
  }

  .viewmore-container {
    display: flex;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Centers vertically */
  }

  .blog-heading {
    color: var(--blue-alpha);
    font-weight: 600;
    font-size: 30px;
    margin-bottom: 6rem;
  }

  .blog-image{
    display: flex;
    margin:0;
    flex-direction: column;
    justify-content: center; /* Centers the button horizontally */
    align-items: center; /* Centers vertically */
  }

  .blog-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
    border-radius:0.75rem;
  }

  .blog-date-name {
    color:var(--orange-alpha);
    font-weight: 500;
    font-size: 18px;
  }
  
  .blog-subheading h2, h3, h4, h5, h6 {
    margin-top: 10px;
    color: var(black);
    font-weight: 1000;
    font-size: 25px;
    margin-bottom: 10px;
  }
  .blog-subheading p:not(:last-child) {
    margin-bottom: 15px;
  }

  .blog-bullets {
    list-style-type: disc; /* Default bullet style */
    font-size:20px;
    padding-bottom: 1rem;
    padding-left:6rem;
  }

  .blog-numbered-list {
    list-style-type: decimal;
    font-size:20px;
    padding-bottom: 1rem;
    padding-left:6rem;
  }

  .blog-numbered-list li, 
  .blog-bullets li {
    margin-bottom: 0.75rem; /* Space between bullets */
  }
  .blog-numbered-list li::marker {
    font-weight: bold;
  }

  .case-date-name {
    color:var(--orange-alpha);
    font-weight: 500;
    font-size: 18px;
    margin-left:30px;
  }
  
  .case-quote {
    width: auto;
    border-radius: 20px;
    background-color: var(--blue-alpha);
    padding: 30px;
    margin: 40px auto; /* Centers the quote with automatic left/right margins */
    color: white;
    font-weight: 500;
    box-shadow: 5px 5px 14px 0px #888888;
    max-width: 1000px; /* Prevents it from stretching too wide on large screens */
    box-sizing: border-box;
  }

  .case-summary {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap; 
    padding-top:50px;
  }

  .case-img {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .case-img img {
    width: 100%;
    max-width: 600px;
    height: auto;

  }
  
  .case-sum-txt {
    flex: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 20px;
  }
  
  .case-sum-txt h3 {
    margin-top: 0;
    color: #2c3e50;
    margin-bottom: 0;
  }
  
  .case-sum-txt ul {
    padding-left: 20px;
    margin: 0;
  }
  
  .case-sum-txt li {
    margin-bottom: 8px;
    line-height: 1.4;
  }

  .case-container {
    max-width: 1350px;
    margin: auto;
    padding-bottom:20px;
  }


  .case-container h1, h2, h3 {
    color: #1a4f82;
  }


  .case-container h2 {
    font-size: 30px;
    font-weight: 500;

  }

  .case-container h3 {
    font-size: 1.25em;
    margin-top: 30px;
  }

  .case-container p {
    margin: 12px 0;
    margin-bottom: 40px;
  }

  .case-container ul {
    margin: 10px 0 20px 20px;
    font-size: 20px;
  }

  blockquote {
    border-left: 4px solid #1a4f82;
    margin: 20px 0;
    padding-left: 15px;
    font-style: italic;
    background-color: #eef4fa;
  }

  .highlight {
    background-color: #eef4fa;
    padding: 5px;
    border-radius: 5px;
    margin: 20px auto;
    max-width:600px;
    width:90%;
  }

  .footer-note {
    font-size: 0.9em;
    color: #555;
    margin-top: 50px;
  }

  .quote {
    text-align: left;
    margin: 40px 0;
  }
  
  .quote-mark {
    font-size: 80px;
    color: #ffa500;
    line-height: 1;
    margin-bottom: -50px;
    font-family: Georgia, 'Times New Roman', serif;
  }
  
  .quote-text {
    font-size: 20px;
    font-style: italic;
    line-height: 3.5rem;
    margin: 10px 0px 0px 25px;
    color: #333;
    font-family: Georgia, 'Times New Roman', serif;
  }
  
  .quote-author {
    text-align: right;
    font-size: 20px;
    margin-top: 25px;
    color: #555;
    font-style: normal;
    padding-right: 10px;
  }

  .credit {

    font-size: 16px;
    color: #000000;
    margin-top: 4px;
    white-space: nowrap; 
    overflow-x:auto;
    display: flex;
  }

  .credit_link{
    text-decoration: none;
    color: var(--blue-alpha);
    font-size: 16px;
    white-space: nowrap;
  }

@media only screen and (max-width:1366px) {

  .case-container{
    padding: 40px 80px;
  }

}

@media only screen and (max-width:1200px) {

    .resource_container{
      padding: 30px 60px;
    }

}

@media (max-width: 1024px) {
  .resource_content {
    grid-template-columns: repeat(2, 1fr);
    padding: 20px;
  }

  .sub_title {
    font-size: 5px;
  }
  .blog-bullets {
    font-size: 18px;
  }
}

  @media (max-width: 1100px) {
  .case-img,
  .case-sum-txt {
    flex: 100%;
    width: 100%;
    padding: 10px 0;
  }
  .case-summary {
    flex-direction: column;
    padding-top: 30px;
    gap: 10px;
  }
  .case-sum-txt {
    font-size: 18px;
  }

  .case-img img {
    max-width: 70%;
    height: auto;
  }

  .case-container{
    padding: 0px 40px;
  }

  .case-container p {
    font-size:18px;
  }

  .resource_container{
    padding: 10px 40px;
  }

  .case-container ul {
    font-size: 18px;
    margin: 0;
  }

  .case-container h2 {
    font-size: 25px;
  }
  .blog-numbered-list {
    padding: 0 0 0 40px;
    font-size:18px;
  }

  }

@media (max-width: 800px) {
  .case-quote {
    margin: 20px 20px;  /* Reduced side margins for smaller screens */
    padding: 20px;
    font-size: 18px;     /* Optional: slightly smaller text */
  }

  .case-img img {
    max-width: 100%;
    height: auto;
  }
}


/* Mobile devices */
@media (max-width: 600px) {

  .resource_container{
    padding: 0;
    margin-bottom:36px;
  }
  .resource_container p{
    margin: 0;
    padding: 5px 15px 5px 15px;
  }
  .resource_content {
    grid-template-columns: 1fr;
    padding: 10px;
    grid-row-gap:10px;
  }

  .resource_image {
    padding: 10px;
    margin-bottom: 20px;
  }

  .resource_image img {
    width: 100%;
    max-height: 250px;
    object-fit: contain;
    padding:0 15px;
  }

  .sub_title {
    font-size: 3rem;
    text-align: center;
    padding-top: 30px;
  }

  .blog_title {
    font-size: 18px;
    padding-top:10px;
  }

  .blog_excerpt {
    font-size: 14px;
  }

  .viewmore-container {
    text-align: center;
  }

  .view-more {
    display: inline-block;
    width: auto;
    font-size: 16px;
    padding: 10px 20px;
  }

  .blog-heading,
  .blog-subheading h2, h3, h4, h5, h6 {
    margin-bottom: 0;
    padding:15px;
  }
  
  .blog-image,
  .blog-date-name
   {
    padding:15px;
  }
  .blog-subheading p {
    padding:15px;
  }

  .case-sum-txt ul {
    margin: 0 15px;
  }
  .case-container {
    margin: 0 15px;
    padding: 0;
  }
}