* {
  box-sizing: border-box;
}

/* Tags */
a {
color:#20375d; 
text-decoration:underline; 
font-weight:bold;
}

a:hover {
color:#20375d; 
text-decoration:none;
}

a img {
border:0;
}

h1 {
color:#20375c; 
margin-top:10px; 
margin-bottom:10px;
font-size: 2.5em; 
text-align: center;
font-family: Arial, Helvetica, sans-serif;
}

h2 {
color:#20375c; 
margin-top:20px; 
font-size: 2em; 
text-align: center;
margin-bottom: 30px;
}


#wrapper {
    max-width: 1100px; 
    margin: 0 auto;
}

/* Main content */
.main-content {
    margin-top: 10px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
}


.row {
/* **MUST KEEP:** This contains the floated columns. */
    overflow: hidden; 
    
    /* Optional: Use only if you need space *above* the columns */
    margin-top: 20px;
}

/* Create three equal columns that floats next to each other */
.column {
  float: left;
  width: 30%;
  padding: 15px 0;
  margin: 2px;
  text-align: center;
  background-color: #c7daf0;
  border: 3px solid #20375c;
  min-width: 285px;
  
  /* Flexbox for vertical stacking and center alignment */
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Responsive layout - makes the three columns stack on top of each other instead of next to each other */

@media screen and (max-width: 900px) {
  .column {
    width: 85%; 
    margin: 15px auto; 
    padding: 30px 0;
    float: none;
  }
  
  /* Aggressively remove padding from the parent containers */
  .row, .main-content {
      padding: 0;
      margin: 0;
      width: 100%;
  }
  
  /* Makes the main heading smaller for mobile */
    h1 {
        font-size: 1.8em; 
    }

    /* Makes the secondary heading (if you have one) smaller */
    h2 {
        font-size: 1.5em; 
    }
}



/* Card Component Base */


.card-link {
    /* ESSENTIAL: Makes the entire column area clickable and a positioning reference */
    display: block; 
    position: relative; 
    
    /* CLEANUP: Prevents default link colors/underlines */
    text-decoration: none; 
    color: inherit; 
    cursor: pointer;
}



/* Defines the hover state to explicitly match your column's background color */
.card-link:hover {
    /* CRITICAL FIX: Ensures the background color of the link stays the column color */
    background-color: #c7daf0; 
    
    /* Ensures the text underline is removed on hover */
    text-decoration: none; 
}



.column img {
    /* Ensures image scales down to fit the parent column */
    max-width: 100%;
    /* Prevents image distortion */
    height: auto; 
}



.arrow {
    margin-top: 20px; 
}

.sketch {
    margin-top: 20px;
}

.where {
    margin-top: 20px;
    font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 1em;
}



/* Ensure the text has an underline (default state) 
   We target the text inside the link (.card-link) to make it highly specific.
*/
.card-link .where {
    text-decoration: underline;
}

/* The hover state you already have should handle removing the underline. 
   If the underline is NOT disappearing on hover, use this next block.
*/
.card-link:hover .where {
    text-decoration: none; 
}



/* Footer */
#footer {
background-color:#eff4fb; 
background-color: #ffffff;
clear:both; 
font-size: .9em;
line-height: 1.3em;
text-align: center;
font-family: Arial, Helvetica, sans-serif;
margin-top: 50px;
}

#footer a {
color: #20375c;
}

#footer a:hover {
color: #20375c;
}


p.footer {
	text-align: center;
}

/* Utility Classes */

.icon-link {
	border: 0px;
}

.icon-image {
	margin-top: 5px;
}