﻿.container-items {
    margin-top: -100px;
}
.honorable-committee-list-awardee-section {
  padding: 50px 20px;
}

/* === Responsive Grid === */
.honorable-committee-list-awardee-grid {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap; /* Important for wrapping on smaller screens */
    width: 100%;
}

/* === Card Wrapper === */
.honorable-committee-list-card {
    background: #fff;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    text-align: center;
    padding: 15px 10px 4px;
    transition: transform 0.3s;
}

.honorable-committee-list-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* === Profile Image === */
    .honorable-committee-list-card img {
        width: 200px !important;
        height: 200px !important;
        object-fit: contain !important;
        display: block;
        border-bottom: 1px solid #eee;
    }

/* === Card Content === */
.honorable-committee-list-card-body {
  padding: 16px 12px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* === Name Styling === */
.honorable-committee-list-card-body h3 {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #222;
  line-height: 1.3;
}

/* === Subtitle (Designation) === */
.honorable-committee-list-card-body p {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.4;
}

/* === Awardee Section Container === */
.honorable-committee-list-awardee-section {
    padding: 50px 20px;
    /*background: #f9f9f9;*/
}

/* === Card Wrapper === */
.honorable-committee-list-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

    .honorable-committee-list-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    }

/* === Card Content === */
.honorable-committee-list-card-body {
    padding: 16px 12px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

    /* === Name Styling === */
    .honorable-committee-list-card-body h3 {
        margin: 0 0 6px;
        font-size: 1.15rem;
        font-weight: 700;
        color: #222;
        line-height: 1.3;
    }

    /* === Subtitle (Designation) === */
/* === Awardee Section Container === */
.honorable-committee-list-awardee-section {
    padding: 50px 20px;
    /*background: #f9f9f9;*/
}

/* === Responsive Grid === */
.honorable-committee-list-awardee-grid {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    flex-wrap: wrap; /* Important for wrapping on smaller screens */
    width: 100%;
}

/* === Card Wrapper === */
.honorable-committee-list-card {
    background: #fff;
    border-radius: 12px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px 10px 4px;
}

.honorable-committee-list-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* === Card Image === */
.honorable-committee-list-card img {
    width: 100%;
    height: 260px; /* Restored taller portrait height */
    object-fit: cover;
    object-position: top;
    display: block;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    border-bottom: 1px solid #eee;
}

/* === Card Content === */
.honorable-committee-list-card-body {
    padding: 14px 12px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* === Name Styling === */
.honorable-committee-list-card-body h3 {
    margin: 0 0 6px;
    font-size: 1.15rem;
    font-weight: 700;
    color: #222;
    line-height: 1.3;
}

/* === Subtitle (Designation) === */
.honorable-committee-list-card-body p {
    font-size: 0.9rem;
    color: #555;
    margin: 0;
    line-height: 1.4;
}
    .honorable-committee-list-card-body p {
        font-size: 1.01rem;
        color: #555;
        margin: 0;
        line-height: 1.4;
    }
/* === Card Image Smaller === */
.honorable-committee-list-card img {
    width: 100%;
    height: 160px; /* Reduced from 220px */
    object-fit: cover;
    object-position: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

/* === Optional Tweak: Add more spacing below image */
.honorable-committee-list-card-body {
    padding: 14px 12px 20px;
}
.honorable-committee-list-card img {
    width: 100%;
    height: 260px; /* Restored taller portrait height */
    object-fit: cover;
    object-position: top;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}
