/*
- --------------------------------------------------------------------------------------------------------------
- Author: alowe@cihq.org
- Description: Corporate, AI Trust CSS.
- 05/13/2026 Created (Allen)
- --------------------------------------------------------------------------------------------------------------
*/

/* HERO-LITE SECTION */

.ai-hero {
  background-color: #e8ecf1;
  border-bottom: 1px solid #dcdcdc;
  padding: 30px;
  overflow: hidden;
  font-size: 16px;
}

  /* Left content (65%) */
  .ai-hero-content {
    float: left;
    width: 70%;
  }

    /* H1 */
    .ai-hero h1 {
      margin: 0 0 10px 0;
      font-size: 2.2em;
      font-weight: 500;
      color: #000000;
      line-height: 1.1em;
    }

      /* Tagline (your red line) */
      .ai-hero-tagline {
        margin: 0 0 12px 0;
        font-size: 1.35em;
        color: #a30000;
        font-weight: 400;
        line-height: 1.2em;
      }

        /* Intro paragraph */
        .ai-hero-intro {
          margin: 0;
          font-size: 1.05em;
          color: #000000;
          line-height: 1.6em;
          max-width: 680px; /* keeps line length readable */
        }

        /* Right column (35%) */
        .ai-hero-branding {
          float: right;
          width: 30%;
          text-align: center;
        }

          /* Logo */
          .ai-hero-branding img {
            max-width: 200px;
            height: auto;
            margin: 20px auto 0 auto;
            display: block;
          }

@media (max-width: 768px) {
.ai-hero-content,
.ai-hero-branding {
  float: none;
  width: 100%;
}

.ai-hero-branding {
  text-align: center; /* ✅ center logo on mobile */
  margin-top: 20px;
}

.ai-hero-branding img {
  display: block !important;
  margin: 25px auto 0 auto !important;
}
}


/* BODY CONTENT */

.ai-body {
  color: #1f2937;
  padding: 20px 30px;
  background-color: #ffffff; /* force white */
}

  .ai-body p {
    margin: 0 0 16px 0;
    line-height: 1.6em;
    font-size: 16px;
  }  
  
    /* Clear hero floats explicitly (extra safety) */
    .ai-hero::after {
      content: "";
      display: block;
      clear: both;
    }


 /* DASHBOARD NAVIGATION */ 
.subnav {
  width: 300px;
  background-color: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  margin: 0 0 26px 0;
}

  /* Reset list */
  .subnav-list {
    list-style: none;
    margin: 0;
    padding: 0;
  }

    /* Header */
    .subnav-list li.header {
      padding: 12px 16px;
      font-size: 1.2em;
      color: #000000;
      font-weight: 500;
      background-color: #f3f4f6;
      border-bottom: 1px solid #e5e7eb;
    }

      /* Dividers */
      .subnav-list li:not(.header) + li:not(.header) {
        border-top: 1px solid #e5e7eb;
      }

        /* Links */
        .subnav-list a {
          display: block;
          padding: 12px 16px;
          text-decoration: none;
          color: #1f2937;
          font-weight: 500;
        }

          /* Hover */
          .subnav-list a:hover,
          .subnav-list a:focus {
            background-color: #f3f4f6;
            color: #003a8f;
            text-decoration: underline;
          }

            /* Active */
            .subnav-list a[aria-current="page"] {
              background-color: #003a8f;
              color: #ffffff;
              font-weight: 600;
            }


/* DASHBOARD NAVIGATION AND IMAGE */

.ai-nav-image {
  overflow: hidden;
  margin: 0 0 30px 0;
}

  /* LEFT: Nav */
  .ai-nav-image .subnav {
    float: left;
    width: 300px;
    margin-right: 40px;
  }

    /* RIGHT: Image */
    .ai-dashboard {
      float: left;
      width: calc(100% - 340px);
      max-width: 700px;
      height: auto;
      /*margin-left: 40px;*/
    }
  
@media (max-width: 1120px) {
.ai-dashboard {
    width: auto; 
    max-width: 100%;
    margin-left: 0;
    display: block;
  }}

@media (max-width: 768px) {
.ai-nav-image .subnav,
.ai-dashboard {
  float: none;
  width: 100%;
  margin-left: 0;
}

.ai-dashboard {
  margin-top: 20px;
}}










