/************************************************

Stylesheet: Global Stylesheet

*************************************************/
/*********************
POSTS & CONTENT STYLES
*********************/
.page-title .vcard {
  border: 0px;
  padding: 0px; }

.byline {
  color: #999; }

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

.entry-content .alignleft, .entry-content img.alignleft {
  margin-right: 1.5em;
  display: inline;
  float: left; }

.entry-content .alignright, .entry-content img.alignright {
  margin-left: 1.5em;
  display: inline;
  float: right; }

.entry-content .aligncenter, .entry-content img.aligncenter {
  margin-right: auto;
  margin-left: auto;
  display: block;
  clear: both; }

.entry-content video, .entry-content object {
  max-width: 100%;
  height: auto; }

.entry-content pre {
  background: #eee;
  border: 1px solid #cecece;
  padding: 10px; }

.wp-caption {
  max-width: 100%;
  background: #eee;
  padding: 5px; }
  .wp-caption img {
    max-width: 100%;
    margin-bottom: 0;
    width: 100%; }
  .wp-caption p.wp-caption-text {
    font-size: 0.85em;
    margin: 4px 0 7px;
    text-align: center; }

.post-password-form input[type="submit"] {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0 1rem 0;
  font-family: inherit;
  padding: 0.85em 1em;
  -webkit-appearance: none;
  border: 1px solid transparent;
  border-radius: 0;
  transition: background-color 0.25s ease-out, color 0.25s ease-out;
  font-size: 0.9rem;
  line-height: 1;
  text-align: center;
  cursor: pointer;
  background-color: #1779ba;
  color: #fefefe; }
  [data-whatinput='mouse'] .post-password-form input[type="submit"] {
    outline: 0; }
  .post-password-form input[type="submit"]:hover, .post-password-form input[type="submit"]:focus {
    background-color: #14679e;
    color: #fefefe; }

/*********************
IMAGE GALLERY STYLES
*********************/
.gallery {
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  margin-right: -15px;
  margin-left: -15px; }

.gallery::before, .gallery::after {
  content: ' ';
  display: table; }

.gallery::after {
  clear: both; }

.gallery.gallery-columns-1 > dl {
  width: 100%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 40em) {
    .gallery.gallery-columns-1 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-1 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-2 > dl {
  width: 50%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 40em) {
    .gallery.gallery-columns-2 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-2 > dl:last-child:not(:first-child) 
    float: right; }

.gallery.gallery-columns-3 > dl {
  width: 33.33333%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 40em) {
    .gallery.gallery-columns-3 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-3 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-4 > dl {
  width: 25%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 40em) {
    .gallery.gallery-columns-4 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-4 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-5 > dl {
  width: 20%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 40em) {
    .gallery.gallery-columns-5 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-5 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-6 > dl {
  width: 16.66667%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 40em) {
    .gallery.gallery-columns-6 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-6 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-7 > dl {
  width: 14.28571%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 40em) {
    .gallery.gallery-columns-7 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-7 > dl:last-child:not(:first-child) {
    float: right; }

.gallery.gallery-columns-8 > dl {
  width: 12.5%;
  float: left;
  padding-right: 0.625rem;
  padding-left: 0.625rem; }
  @media print, screen and (min-width: 40em) {
    .gallery.gallery-columns-8 > dl {
      padding-right: 0.9375rem;
      padding-left: 0.9375rem; } }
  .gallery.gallery-columns-8 > dl:last-child:not(:first-child) {
    float: right; }

.gallery dl {
  width: 100%;
  float: left;
  padding-left: 0.9375rem;
  padding-right: 0.9375rem; }

.gallery dl:last-child:not(:first-child) {
  float: right; }

/*********************
PAGE NAVI STYLES
*********************/
.page-navigation {
  margin-top: 1rem; }

/*********************
COMMENT STYLES
*********************/
#comments .commentlist {
  margin-left: 0px; }

#respond ul {
  margin-left: 0px; }

.commentlist li {
  position: relative;
  clear: both;
  overflow: hidden;
  list-style-type: none;
  margin-bottom: 1.5em;
  padding: 0.7335em 10px; }
  .commentlist li:last-child {
    margin-bottom: 0; }
  .commentlist li ul.children {
    margin: 0; }

.commentlist li[class*=depth-] {
  margin-top: 1.1em; }

.commentlist li.depth-1 {
  margin-left: 0;
  margin-top: 0; }

.commentlist li:not(.depth-1) {
  margin-left: 10px;
  margin-top: 0;
  padding-bottom: 0; }

.commentlist .vcard {
  margin-left: 50px; }
  .commentlist .vcard cite.fn {
    font-weight: 700;
    font-style: normal; }
  .commentlist .vcard time {
    float: right; }
    .commentlist .vcard time a {
      color: #999;
      text-decoration: none; }
      .commentlist .vcard time a:hover {
        text-decoration: underline; }
  .commentlist .vcard img.avatar {
    position: absolute;
    left: 10px;
    padding: 2px;
    border: 1px solid #cecece;
    background: #fff; }

.commentlist .comment_content p {
  margin: 0.7335em 0 1.5em;
  font-size: 1em;
  line-height: 1.5em; }

.commentlist .comment-reply-link {
  float: right; }

/*********************
COMMENT FORM STYLES
*********************/
.respond-form {
  margin: 1.5em 10px;
  padding-bottom: 2.2em; }
  .respond-form form {
    margin: 0.75em 0; }
    .respond-form form li {
      list-style-type: none;
      clear: both;
      margin-bottom: 0.7335em; }
      .respond-form form li label,
      .respond-form form li small {
        display: none; }
    .respond-form form input[type=text],
    .respond-form form input[type=email],
    .respond-form form input[type=url],
    .respond-form form textarea {
      padding: 3px 6px;
      background: #efefef;
      border: 2px solid #cecece;
      line-height: 1.5em; }
      .respond-form form input[type=text]:focus,
      .respond-form form input[type=email]:focus,
      .respond-form form input[type=url]:focus,
      .respond-form form textarea:focus {
        background: #fff; }
      .respond-form form input[type=text]:invalid,
      .respond-form form input[type=email]:invalid,
      .respond-form form input[type=url]:invalid,
      .respond-form form textarea:invalid {
        outline: none;
        border-color: #fbc2c4;
        background-color: #f6e7eb;
        -ms-box-shadow: none;
        box-shadow: none; }
    .respond-form form input[type=text],
    .respond-form form input[type=email],
    .respond-form form input[type=url] {
      max-width: 400px;
      min-width: 250px; }
    .respond-form form textarea {
      resize: none;
      width: 97.3%;
      height: 150px; }

#comment-form-title {
  margin: 0 0 1.1em; }

#allowed_tags {
  margin: 1.5em 10px 0.7335em 0; }

.nocomments {
  margin: 0 20px 1.1em; }

/*********************
SIDEBARS & ASIDES
*********************/
/**.sidebar li {
  list-style: none; }**/

.widget ul {
  margin: 0; }

/*********************
FOOTER STYLES
*********************/
.footer {
  clear: both;
	background-color: #fff;
	padding-top: 50px;
	padding-bottom: 25px;
	font-size: 14px;
	font-family: "Montserrat", sans-serif !important;
	color: #393f49;
	margin-top: 0px;
}

/*********************
VISUAL EDITOR STYLES
*********************/
body#tinymce {
  margin: 20px; }

/*********************
PLUGIN STYLES
*********************/
.gform_body ul {
  list-style: none outside none;
  margin: 0; }

/*# sourceMappingURL=style.css.map */

/*********************
ACCESSIBILITY
*********************/

a.skip-main {
  left:-999px;
  position:absolute;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
  z-index:-999;
}
a.skip-main:focus, a.skip-main:active {
  color: #fff;
  background-color:#000;
  left: auto;
  top: auto;
  width: 30%;
  height: auto;
  overflow:auto;
  margin: 10px 35%;
  padding:5px;
  border-radius: 15px;
  border:4px solid yellow;
  text-align:center;
  font-size:1.2em;
  z-index:999;
}



.clibutton {
    padding: 10px;
	padding-top: 15px;
    padding-left: 30px;
    padding-right: 30px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    font-size: 18px;
	font-weight: 600;
	font-family: canada-type-gibson, sans-serif !important;
	color: #ffffff !important;
    background-color: #51545A;
    border-color: #51545A;
	text-transform: uppercase;
	    text-decoration: none;
	border: 2px solid #51545A !important;
	 min-width: 150px;
	display: inline-block; 
	min-width: 175px;
	

}


.clibutton:hover {
	color: #000000 !important;
	background-color: #ffffff;
	border: 2px solid #51545A !important;
	min-width: 150px;
	text-decoration: none;
	min-width: 175px;
}




/* Mobile Viewport */
@media (max-width: 600px) {
  .clibutton {
    font-size: 12px;
  }
}


.abtnsquare {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-weight: 700;
    display: inline-block;
    position: relative;
    border: 0;
    border-radius: 2px;
    text-align: center;
    white-space: nowrap;
    transition: all .25s;
    transition-property: background-color, border-color, color;
    -webkit-appearance: none;
    height: 35px;
    line-height: 33px !important;
    vertical-align: middle;
    border: 2px solid #3d3d3d;
    border-radius: 0px;
    color: white;
    padding-left: 45px;
    padding-right: 45px;
    text-decoration: none;
    background-color: #3d3d3d;
	margin: 5px;
	text-transform: uppercase;
	
	
}


.abtnsquare:hover, .abtn:link {
background-color: white;
color: #3d3d3d !important;
border: 2px solid #3d3d3d;
		text-transform: uppercase;
}


.abtnsquare_strawberry {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-weight: 700;
    display: inline-block;
    position: relative;
    border: 0;
    border-radius: 2px;
    text-align: center;
    white-space: nowrap;
    transition: all .25s;
    transition-property: background-color, border-color, color;
    -webkit-appearance: none;
    height: 35px;
    line-height: 33px !important;
    vertical-align: middle;
    border: 2px solid #EA0A01;
    border-radius: 0px;
    color: white;
    padding-left: 45px;
    padding-right: 45px;
    text-decoration: none;
    background-color: #EA0A01;
	margin: 5px;
	text-transform: uppercase;
	
	
}


.abtnsquare_strawberry:hover, .abtn:link {
background-color: white;
color: #EA0A01 !important;
border: 2px solid #EA0A01;
		text-transform: uppercase;
}

.abtnsquare_tecpdsblue {
    font-family: "Montserrat", sans-serif !important;
    font-size: 14px;
    line-height: 20px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    display: inline-block;
    font-weight: 700;
    display: inline-block;
    position: relative;
    border: 0;
    border-radius: 2px;
    text-align: center;
    white-space: nowrap;
    transition: all .25s;
    transition-property: background-color, border-color, color;
    -webkit-appearance: none;
    height: 35px;
    line-height: 33px !important;
    vertical-align: middle;
    border: 2px solid #1D64a6;
    border-radius: 0px;
    color: white;
    padding-left: 45px;
    padding-right: 45px;
    text-decoration: none;
    background-color: #1D64a6;
	margin: 5px;
	text-transform: uppercase;
	
	
}


.abtnsquare_tecpdsblue:hover, .abtn:link {
background-color: white;
color: #1D64a6 !important;
border: 2px solid #1D64a6;
		text-transform: uppercase;
}


.zoom {
  padding: 50px;
  transition: transform .2s; /* Animation */
  width: 250px;
  height: 200px;
  margin: 0 auto;
  margin-bottom: 30px;
}

.zoom:hover {
  transform: scale(1.2); /* (120% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}


.zoomtile {
  padding: 10px;
  transition: transform .2s; /* Animation */
  margin: 0 auto;
 width: 170px;
	margin-bottom: 30px;
}

.zoomtile:hover {
  transform: scale(1.2); /* (120% zoom - Note: if the zoom is too large, it will go outside of the viewport) */
}


a {
    line-height: inherit;
    color: #396D7E;
    text-decoration: underline;
    cursor: pointer;
}


a:hover {
	
    text-decoration: underline;	
	color: #764D6E;
}


body {
  font-family: "Montserrat", sans-serif !important;

}

p {
    color: #000 !important;
}


.teaser {
    color: #000 !important;
	font-family: "Montserrat", sans-serif !important;
    font-size: 1.75em;
    font-weight: 300;
    letter-spacing: 0.02em;
    line-height: 120%;
}

.sidemenu {
    border-radius: 0px;
    background-color: #f2eaf4;
    padding: 30px;
    margin-left: auto;
    margin-right: auto;
    font-size: 14px;
    margin-bottom: 25px;
	margin-top: 30px;
}


.sidebartitle {
	font-family: "Montserrat", sans-serif !important;
    font-size: 1.5em;
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 120%;
	padding-bottom: 20px;
	
}

.page-title {0
	margin-top: 40px;
}


 /*h1-h5 is based on google best practice*/

h1 {
	color: #000 !important;
    font-weight: 700 !important;
    letter-spacing: -1.5px;
    line-height: 105%;
    padding-bottom: 10px;
	font-size: 3.8em !important;
	max-width: 900px;
	
}

h2 {
    font-weight: 700 !important;
    font-size: 2.2em;
}

h3 {
	font-weight: 700 !important;
	font-size: 1.4em;
	text-transform: uppercase;
	
}



h1, h2, h3, h4, h5 {
    color: #3d3d3d;
    font-family: "Montserrat", sans-serif !important;
    font-weight: 400;

}

blockquote p {
    color: #1d64a6 !important; 
	font-size: 1.3em;
	font-weight: 300;
} 


/*********************
Titles without Hs STYLES
*********************/


.fontcolorblack {
		color: black;
}

.fontcolorwhite {
		color: white;
}

.fontcolorblue {
color: #1d64a6;
}

.fontcolorlightblue {
color: #bee0ff;
}




.titlebiggest {
	font-family: "Montserrat", sans-serif !important;
	font-weight: 300;
	font-size: 3.0em;
	line-height: 100%;
	letter-spacing: -2px;;
	
}

.titlebigger {
	
}


.titlebig {
	font-family: "Montserrat", sans-serif !important;
	font-weight: 800;
	font-size: 1.3em;
	
}


.titlesmallest {
	
}


.titlesmaller {
	
}


.titlesmallest {
	
}





.row {
  max-width: 1200px;
}

.clicustom_row {
	padding-top: 15px;
	padding-bottom: px;
	padding-left: 1.625rem;
	padding-right: 1.625rem;
}

.relatedlinks {
	
    font-weight: 700 !important;
	font-size: 1.5em;
	padding: 25px;
}


.titledivider {
	
	padding-bottom: 20px; 
}



.facetwp-pager .facetwp-page {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 4px 8px;
  margin-right: 6px;
}

/*********************
CLI CUSTOM BENJAMIN BUTTONS
*********************/

.footer-title-navigation {
font-weight: 700;
color: #000 !important;
font-family: "Montserrat", sans-serif !important;
font-size: 1.4em;
margin-bottom: 20px;
text-transform: uppercase;
}

.footer-navilinks ul {
	margin-left:0px;
}

.footer ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.footer li {
  padding: 5px 0 5px 0;
}

.footer li a {
	text-decoration: underline;
}

.footer li a:hover {
	text-decoration: underline;
}

.footer .copyright p {
  color: #000 !important;
  text-align: center;
  font-size: 12px;
  margin: 0 0 1rem 0;
}



.footer-title {
  color: #000 !important;
  text-align: left;
  font-size: 18px;
  padding: 100px 0 50px 0;
}


.row {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.socialmediaicon {
    padding-right: .3rem;
    cursor: pointer;
    -webkit-transition-property: all;
    -webkit-transition-duration: 0.3s;
    -webkit-transition-timing-function: ease;
}


#socialmedia {
  text-align: center;
}


.anchor-offset {
  position: relative;
}

.anchor-offset:before {
  content: "";
  display: block;
  height: 100px; /* Height of your nav bar */
  margin-top: -100px; /* Negative value of your nav bar's height */
  visibility: hidden;
}


/*Bangs CSS */

/* Bnag's Improved card stacker */
.feature-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 10px; 
  padding: 2rem 1.5rem;
  background: #fff;
  border: 1px solid #eee;
  text-align: center;
  
  /* Forces all children to start from the top */
  justify-content: flex-start; 
  align-items: center;
}

.feature-card-content {
  /* This remains the "spacer" that pushes the button down */
  flex-grow: 1;
  width: 100%;
}

.feature-card h3 {
  /* Reset margins to ensure no hidden spacing pushes the text down */
  margin-top: 0;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.feature-card-actions {
  /* Keeps the button at the very bottom */
  margin-top: 1.5rem; 
  width: 100%;
}


/* Modifier Classes for background colors */
.feature-card.is-waterspout {
  background-color: #B1E1F133;
  border-color: transparent;
}

.feature-card.is-palelavender {
  background-color: #DFCFE433;
  border-color: transparent;
}

.feature-card.is-melon {
  background-color: #F8B2B333;
  border-color: transparent;
}

.feature-card.is-calamansi {
  background-color: #F4F2AB33;
  border-color: transparent;
}

.feature-card.is-nyanza {
  background-color: #E1EECB33;
  border-color: transparent;
}

.feature-card.is-platinum {
  background-color: #E0E2E533;
  border-color: transparent;
}

/* Bnag's Resource Tiles */

body.resource-page {
    min-height: 100vh;
    margin: 0;
    background-repeat: no-repeat;
    background-attachment: scroll; 
    background-color: #ffffff; 
    background-image: 
        linear-gradient(
            to bottom,
            transparent 200px, 
            #ffffff 600px
        ),
        linear-gradient(
            to right,
            #ffffff 0%, 
            #ffffff 20%, 
            #cce5ff 70%, 
            #e0baff 100% 
        );
}

/* Activity Card Container */
/* Card Container */
.activity-card {
    margin-bottom: 50px;
    background-color: #f7f1f9;
    border-radius: 8px;
    display: flex; /* Ensure the cell itself behaves as a flex container */
}

/* Internal Padding and Layout */
.activity-card-content {
    display: flex;
    flex-direction: column;
    padding: 30px;
    width: 100%; /* Fill the width of the cell */
}

/* Image Styling */
.activity-thumbnail {
    display: block;
    margin: 0 auto;
    max-width: 100%; /* Prevents image from overflowing on small screens */
    height: auto;
}

/* Title Styling */
.title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 80px; /* Changed from height to min-height */
    margin-bottom: 10px;
}

/* Meta Data Adjustments */
.activity-meta {
    font-size: 14px;
    margin-bottom: 15px;
}

/* Remove fixed heights and use min-height for alignment if necessary */
.age-group, .learning-area {
    min-height: 20px; 
}

.learning-objective {
    flex-grow: 1; /* This pushes the button to the bottom */
    margin-bottom: 20px;
    /* Removed height: 150px; */
}


/* Fonts */

/* Utility class to shrink specific H2s */
h2.activitycard {
    font-size: 1.25rem; /* Adjust this value to your preferred size */
    line-height: 1.4;   /* Ensures the spacing looks right at a smaller size */
    margin-bottom: 10px; 
}

header.header {
    border-top: 0px solid #92c83e; /* Adjust 6px for thickness */
}


.thehero {
	padding-top: 50px;
	padding-bottom: 0px;
	margin-bottom: 20px;
	border-bottom: 8px solid #51545A; /* Adjust 8px for thickness */
}

/* Layout and Alignment */
.hero-section {
  display: flex;
  align-items: center;
}

/* Cell spacing and flex behavior */
.hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px;
  text-align: left;
}



/* Resources */

/* Layout & Container */
.resources-section {
    padding-top: 20px;
}

.section-header {
    margin-bottom: 30px;
}

/* Resource Card Base */
.resource-card {
    display: flex;
    margin-bottom: 10px;
    border-radius: 0px;

}

.resource-card:hover {

}

.card-inner {
    flex-grow: 1;
    display: flex;
    flex-direction: column;

                align-items:center;
                text-align:center;
                width:100%;
                padding: 10px;
                min-height:360px;
}



/* Dynamic Backgrounds */
.bg-lavender { background-color: #f7f1f9; }
.bg-blue { background-color: #e4f2ff; }

/* Typography */
.resource-title-link {
    color: #0a0a0a;
    text-decoration: none;
}

.title-wrapper {
    margin-bottom: 5px;
    height: 70px;
}

.resource-title {
    font-size: 20px;
    text-align: center;
	line-height: 1.1; /* Adjust this value to get it exactly how you want */
}


.resource-image {
    text-align: center;
	padding-bottom: 20px;
}

.resource-description {
    margin-bottom: 15px;
    font-size: 14px;
    flex-grow: 1; /* Pushes button to the bottom */
}

/* Button Styling */
.resource-button {
    background-color: #000000;
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 0;
    text-decoration: none;
    text-align: center;
    display: block;
    width: fit-content;
    margin: auto auto 0 auto;
    font-weight: bold;
    transition: opacity 0.2s;
}

.resource-button:hover {
    opacity: 0.8;
}


/* Theme Cards */
/* Container for the cards */
.grid-x {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
}

/* Cell handles the white vertical spacing between rows */
.cell {
    margin-bottom: 30px; 
}

.theme-card {
    background-color: #f7f1f9;
    margin: 0 10px; 
    padding: 25px;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* 1. Responsive Image Area */
.card-img-wrap {
    width: 100%;
    /* This height shrinks on small screens thanks to aspect-ratio or max-height */
    height: auto;
    min-height: 140px; 
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.card-img-wrap img {
    /* These properties make the image responsive */
    max-width: 100%; 
    height: auto;
    width: 164px; /* Default size on desktop */
}

/* 2. Aligned Title Area */
.card-title-wrap {
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.card-title-wrap h2 {
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

/* 3. Content Area - Pushes button to bottom */
.card-body-wrap {
    flex-grow: 1;
    margin-bottom: 25px;
}

.card-body-wrap p {
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* 4. Button Area */
.card-btn-wrap {
    margin-top: auto;
}
