/* Custom styles for Community */
.plugin-hero__content {
    --cwf-contain--max-width: 100%;
}
/* Health Hub homepage card icons */
.plugin-card__image {
    background-color: #ffffff;
}
.plugin-card__body h6 {
    margin-bottom: 5px;
}

.plugin-card__body h3 {
    margin-top: 0;
}

.hh-signup-card {
    max-width: 420px;
    padding: 2rem;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
}

.hh-signup-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: #fff4da;
    color: #f8b300;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.hh-signup-card h3 {
    margin: 0 0 .75rem;
}

.hh-signup-card p {
    margin: 0 0 1.5rem;
}

.hh-signup-card form {
    display: flex;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.hh-signup-card input[type="email"] {
    flex: 1;
    border: 0;
    padding: 1rem;
}

.hh-signup-card button,
.hh-signup-card input[type="submit"] {
    border: 0;
    background: #ffb300;
    color: #fff;
    font-weight: 700;
    padding: 0 1.5rem;
}
/* ========================================
   Impact Section
======================================== */

.impact-section {
    background-color: #111111;
    color: #ffffff;
    padding: 4rem 3rem;
}

.impact-section h2,
.impact-section h3,
.impact-section p {
    color: #ffffff;
}

.impact-section h6 {
    color: #FFB300; /* VCU Gold */
    text-transform: uppercase;
    letter-spacing: .08em;
}

/* Impact section vertical dividers */
.impact-section .plugin-general-content:not(:first-child) {
    border-left: 1px solid rgba(255, 255, 255, 0.35);
    padding-left: 2rem;
}

/* ========================================
   Social Determinants of Health
======================================== */

.sdoh-callout {
    background-color: #111111;
    color: #ffffff;
    display: grid;
    grid-template-columns: 180px 1fr;
    gap: 2rem;
    align-items: center;
    padding: 4rem;
    width: 100%;
    box-sizing: border-box;
}

.sdoh-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffb300;
    font-size: 5rem;
    border-right: 2px solid rgba(255,255,255,.25);
    padding-right: 2rem;
    height: 100%;
}

.sdoh-content h2 {
    color: #ffffff;
    margin: 0 0 1rem;
    font-size: 2.5rem;
}

.sdoh-content p {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.75;
    margin-bottom: 1.5rem;
}

.sdoh-source {
    color: #ffb300;
    font-weight: 700;
    font-style: italic;
    margin-bottom: 0;
}

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

    .sdoh-callout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }

    .sdoh-icon {
        border-right: none;
        border-bottom: 2px solid rgba(255,255,255,.25);
        padding-right: 0;
        padding-bottom: 1.5rem;
        margin: 0 auto;
    }
}

/* Health Hub services grid */
.hh-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid #dddddd;
    border-left: 1px solid #dddddd;
}

.hh-service-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 1rem;
    padding: 2rem;
    border-right: 1px solid #dddddd;
    border-bottom: 1px solid #dddddd;
}

.hh-service-icon {
    color: #ffb300;
    font-size: 3rem;
    line-height: 1;
}

.hh-service-item h3 {
    margin: 0 0 .5rem;
    font-size: 1.25rem;
}

.hh-service-item p {
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .hh-services-grid {
        grid-template-columns: 1fr;
    }
}
.map-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,.12);
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: 0;
    display: block;
}
/* ======================================
   About Page Services
====================================== */

.hh-services-compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

/* Last card spans both columns */
.hh-service-card:last-child {
    grid-column: 1 / -1;
}

.hh-service-card {
    background: #ffffff;
    border-radius: 12px;
    border-top: 8px solid #FFB300;
    padding: 2rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    transition: all .25s ease;
    min-height: 220px;
}

.hh-service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0,0,0,.15);
}

.hh-service-header {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hh-service-header i {
    font-size: 2rem;
    color: #FFB300;
    margin-top: .2rem;
    flex-shrink: 0;
}

.hh-service-header h3 {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.2;
    color: #222;
}

.hh-service-card p {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.7;
    color: #555;
}

/* Mobile */

@media (max-width: 768px){

    .hh-services-compact{
        grid-template-columns:1fr;
    }

    .hh-service-card:last-child{
        grid-column:auto;
    }
/* Community Engagement Pathways */

.dce-engagement-pathways {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  padding: 1rem 0;
  text-align: center;
}

.dce-engagement-pathway {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0;
  padding: 0 0.5rem;
}

.dce-engagement-icon {
  width: 55px;
  height: 55px;
  margin: 0 auto 1rem;
  color: #f8b300;
}

.dce-engagement-icon svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.dce-engagement-pathway h3 {
  margin: 0 0 0.75rem;
  padding: 0;
  color: #333333;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.dce-engagement-pathway p {
  max-width: 210px;
  margin: 0;
  padding: 0;
  color: #4a4a4a;
  font-size: 1rem;
  line-height: 1.55;
  text-align: center;
}

@media screen and (max-width: 950px) {
  .dce-engagement-pathways {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media screen and (max-width: 600px) {
  .dce-engagement-pathways {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .dce-engagement-pathway p {
    max-width: 320px;
  }
}