/* =============================================================
   custom-hdfs.css
   Shared stylesheet for HDFS online program pages
   College of Health & Human Sciences — Texas Tech University
   Path: /hs/hdfs/masters/includes/custom-hdfs.css
   ============================================================= */

/* -------------------------------------------------------------
   BASE / RESET
   ------------------------------------------------------------- */
.ns-rawls-theme *,
.ns-rawls-theme *::before,
.ns-rawls-theme *::after {
  box-sizing: border-box;
}

.ns-rawls-theme {
  font-family: "Open Sans", Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

/* -------------------------------------------------------------
   CONTAINER
   ------------------------------------------------------------- */
.ns-rawls-theme .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------------------------------------
   HERO
   ------------------------------------------------------------- */
.ns-rawls-theme .hero-intro {
  background-color: #fff;
  color: #333;
  padding: 60px 0;
}

.ns-rawls-theme .hero-flex {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.ns-rawls-theme .hero-text {
  flex: 1 1 400px;
}

.ns-rawls-theme .hero-intro h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 16px;
  line-height: 1.2;
}

.ns-rawls-theme .hero-description {
  font-size: 1.05rem;
  color: #555;
  margin-bottom: 24px;
}

.ns-rawls-theme .hero-image {
  flex: 1 1 340px;
  max-width: 480px;
}

.ns-rawls-theme .hero-photo {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

/* -------------------------------------------------------------
   CTA BUTTONS
   ------------------------------------------------------------- */
.ns-rawls-theme .cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.ns-rawls-theme .btn-red,
.ns-rawls-theme .btn-black,
.ns-rawls-theme .btn-outline {
  display: inline-block;
  padding: 10px 22px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: 3px;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.ns-rawls-theme .btn-red {
  background-color: #cc0000;
  color: #fff;
  border: 2px solid #cc0000;
}

.ns-rawls-theme .btn-red:hover {
  background-color: #a00000;
  border-color: #a00000;
}

.ns-rawls-theme .btn-black {
  background-color: #222;
  color: #fff;
  border: 2px solid #222;
}

.ns-rawls-theme .btn-black:hover {
  background-color: #000;
  border-color: #000;
}

.ns-rawls-theme .btn-outline {
  background-color: transparent;
  color: #222;
  border: 2px solid #222;
}

.ns-rawls-theme .btn-outline:hover {
  background-color: #222;
  color: #fff;
}

.ns-rawls-theme .btn-red.large-btn {
  padding: 14px 32px;
  font-size: 1rem;
}

/* -------------------------------------------------------------
   STATS BAR
   ------------------------------------------------------------- */
.ns-rawls-theme .stats-bar {
  background-color: #cc0000;
  padding: 24px 0;
}

.ns-rawls-theme .stats-flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 16px;
  text-align: center;
}

.ns-rawls-theme .stat-item {
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}

.ns-rawls-theme .stat-item strong {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.1;
}

.ns-rawls-theme .stat-item span {
  font-size: 0.85rem;
  margin-top: 4px;
  opacity: 0.9;
}

/* -------------------------------------------------------------
   CONTENT SECTION
   ------------------------------------------------------------- */
.ns-rawls-theme .content-section {
  padding: 36px 0;
  background-color: #fff;
}

.ns-rawls-theme .content-section.tight {
  padding-top: 8px;
}

.ns-rawls-theme .content-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #222;
}

.ns-rawls-theme .flex-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.ns-rawls-theme .flex-col {
  flex: 1 1 300px;
}

.ns-rawls-theme .flex-col.gray-box {
  background-color: #f5f5f5;
  border-left: 4px solid #cc0000;
  padding: 24px;
  border-radius: 2px;
}

.ns-rawls-theme .flex-col.gray-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #222;
}

.ns-rawls-theme .outcomes-list {
  margin: 12px 0 0 20px;
  padding: 0;
}

.ns-rawls-theme .outcomes-list li {
  margin-bottom: 8px;
}

/* -------------------------------------------------------------
   CONCENTRATIONS / CERTIFICATES GRID
   ------------------------------------------------------------- */
.ns-rawls-theme .concentrations-section {
  background-color: #f5f5f5;
  padding: 52px 0;
}

.ns-rawls-theme .concentrations-section h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 28px;
  color: #222;
}

.ns-rawls-theme .concentrations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.ns-rawls-theme .concentration-card {
  background-color: #fff;
  border-top: 4px solid #cc0000;
  padding: 28px 24px;
  border-radius: 2px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.ns-rawls-theme .concentration-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #cc0000;
}

.ns-rawls-theme .concentration-card ul {
  margin: 8px 0 0 18px;
  padding: 0;
}

.ns-rawls-theme .concentration-card li {
  margin-bottom: 6px;
}

/* -------------------------------------------------------------
   ACCORDION
   ------------------------------------------------------------- */
.ttu-accordion-wrap {
  max-width: 1100px;
  margin: 0 auto 0;
  padding: 0 20px;
}

.ttu-accordion-btn {
  background-color: #cc0000;
  color: #fff;
  cursor: pointer;
  padding: 14px 20px;
  width: 100%;
  text-align: left;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.2s ease;
}

.ttu-accordion-btn:hover,
.ttu-accordion-btn.active {
  background-color: #a00000;
}

.ttu-accordion-btn .ttu-accordion-icon {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.ttu-accordion-btn.active .ttu-accordion-icon {
  transform: rotate(180deg);
}

.ttu-accordion-panel {
  display: none;
  padding: 20px 24px;
  border: 1px solid #ddd;
  border-top: none;
  background-color: #fff;
  line-height: 1.6;
}

.ttu-accordion-panel.open {
  display: block;
}

.ttu-accordion-panel h3 {
  margin-top: 1.2em;
  margin-bottom: 0.4em;
  font-size: 1rem;
  font-weight: bold;
}

.ttu-accordion-panel ul {
  margin: 0.4em 0 1em 1.4em;
  padding: 0;
}

.ttu-accordion-panel p {
  margin: 0.5em 0;
}

.ttu-accordion-panel .note {
  font-size: 0.9rem;
  color: #555;
  margin-top: 1em;
}

.ttu-accordion-panel .apply-btn {
  display: inline-block;
  margin-top: 0.8em;
  padding: 10px 20px;
  background-color: #cc0000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 3px;
}

.ttu-accordion-panel .apply-btn:hover {
  background-color: #a00000;
}

/* -------------------------------------------------------------
   CONTACT SECTION
   ------------------------------------------------------------- */
.ns-rawls-theme .contact-section {
  background-color: #fff;
  padding: 40px 0;
}

.ns-rawls-theme .contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.ns-rawls-theme .contact-card {
  flex: 1 1 240px;
  background-color: #f5f5f5;
  border-left: 4px solid #cc0000;
  padding: 20px 24px;
  border-radius: 2px;
}

.ns-rawls-theme .contact-card h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #222;
}

/* -------------------------------------------------------------
   FOOTER CTA
   ------------------------------------------------------------- */
.ns-rawls-theme .footer-cta-area {
  background-color: #fff;
  color: #333;
  text-align: center;
  padding: 52px 20px;
  border-top: 1px solid #ddd;
}

.ns-rawls-theme .footer-cta-area h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 12px;
}

.ns-rawls-theme .footer-cta-area p {
  color: #555;
  margin-bottom: 24px;
  font-size: 1rem;
}

/* -------------------------------------------------------------
   FAST FACTS SIDEBAR CALLOUT
   ------------------------------------------------------------- */
.callout.graybg.fast-facts {
  background-color: #f5f5f5;
  border-left: 4px solid #cc0000;
  padding: 20px 24px;
  border-radius: 2px;
}

.callout.graybg.fast-facts h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: #222;
}

.callout.graybg.fast-facts .default-list {
  margin: 0 0 0 18px;
  padding: 0;
}

.callout.graybg.fast-facts .default-list li {
  margin-bottom: 8px;
  font-size: 0.95rem;
}

/* -------------------------------------------------------------
   PAGE-SPECIFIC OVERRIDES
   ------------------------------------------------------------- */

/* HDFS MS page — 2 concentration cards only, cap at 2 columns */
.ns-rawls-theme .concentrations-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
}

/* -------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------- */
@media (max-width: 768px) {
  .ns-rawls-theme .hero-flex {
    flex-direction: column;
  }

  .ns-rawls-theme .hero-image {
    max-width: 100%;
  }

  .ns-rawls-theme .hero-intro h2 {
    font-size: 1.5rem;
  }

  .ns-rawls-theme .stats-flex {
    gap: 20px;
  }

  .ns-rawls-theme .stat-item strong {
    font-size: 1.3rem;
  }

  .ns-rawls-theme .concentrations-grid {
    grid-template-columns: 1fr;
  }
}

  .ns-rawls-theme .flex-row {
    flex-direction: column;
  }

  .ns-rawls-theme .contact-grid {
    flex-direction: column;
  }

  .ttu-accordion-wrap {
    padding: 0 12px;
  }
}