  /* Custom sitewide CSS */

/*** CUSTOM STYLING FOR INTERIOR PAGES ***/
section#content-well button.accordion-button { font-weight: bold; }
/*** END CUSTOM STYLING FOR INTERIOR PAGES ***/

/*** GRADUATE INFORMATION SESSION STYLING ***/
@media (min-width: 768px) {
	.modal-open {
    	padding-right: 0 !important; /* prevents added whitespace on modal open */
  	}
}
.ribbon {
	--r: .8em; /* controls the cutout on the sticky ribbon */
  	border-block: .5em solid #F6BE00; /* gold border on the ribbon */
	color: #fff;
  	padding-inline: calc(var(--r) + .25em) .5em;
  	line-height: 1.8;
  	clip-path: polygon(0 0,100% 0,100% 100%,0 100%,0 calc(100% - .25em),var(--r) 50%,0 .25em);
  	background: radial-gradient(.2em 50% at right,#000a,#0000) border-box, #c8102e padding-box; /* red color of the ribbon  */
  	width: fit-content;
	position: fixed; /* makes the ribbon stick to the viewport */
	right: 0; /* positions the ribbon 0px from the right edge */
	top: 30%; /* positions ribbon vertically 30% of viewport from the top */
	transform: translateY(-30%); /* adjusts vertical placement on scroll */
  	z-index: 1000; /* ensures the ribbon appears "on top of" other content */
  	max-width: 300px;
  	text-align: center;
	cursor: pointer;
}
.ribbon h3 { 
	padding-left: .5em; 
	text-transform: uppercase; 
}
/*** END GRADUATE INFORMATION SESSION STYLING ***/

/*** DEGREES & PROGRAMS STYLING ***/
/* card with img component */
.content-column-items {
	margin-bottom: -40px;
	width: 100%;
}

.content-column-section-heading {
	margin-bottom: 0px;
	margin-top: 30px;
	text-transform: uppercase;
}

.content-column-items ul li {
	background-color: #F5F5F5;
	display: flex;
	flex-direction: row;
	font-size: 18px;
	justify-content: space-between;
	padding: 2.5px 0 2.5px 20px;
	width: 100%;
	margin-bottom: 2px;
}

.content-column-items ul li:hover {
	background-color: #E9E9E9;
}

.content-column-bottom-text::before {
	border-top: none;
}

.content-column-items ul {
	/*display: flex;*/
	/*flex-direction: row;*/
	/*flex-wrap: wrap;*/
	/*row-gap: 2px;*/
	list-style: none;
	margin-bottom: 60px;
	padding: 0;
}

.content-column {
	background-color: #FFFFFF;
	border: 1px solid #E9E9E9;
	display: flex;
	flex-direction: column;
	flex: 1;
	position: relative;
	padding: 0 40px;
}

.split-content-card {
	display: flex;
	flex-direction: column-reverse;
	height: auto;
	margin-bottom: 30px;
}

.media-column {
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
	width: 100%;
}

.content-column-bottom-text {
	/*display: flex;*/
	font-size: 18px;
	font-style: italic;
	margin-bottom: 20px;
	width: 100%;
}

.media-column {
	aspect-ratio: 430 / 250;
}

.internal-link::after {
	background-image: url('https://www.uh.edu/undergraduate-admissions/academics/_images/vector.png');
	background-repeat: no-repeat;
	background-size: contain;
	content: "";
	display: inline-block;
	height: 15px;
	position: absolute;
	right: 20px;
	top: 50%;
	transform: translateY(-50%);
	width: 15px;
	pointer-events:none;
}

.internal-link {
	padding-right: 20px;
	position: relative;
}

.content-column-items ul li a:hover {
	color: #000000;
	text-decoration: none !important;
}

.content-column-items ul li a {
	align-items: center;
	color: #000000 !important;
	display: flex;
	justify-content: space-between;
	text-decoration: none !important;
	padding-right: 45px;
	width: 100%;
}

/* card with img component - tablet & larger screens */
@media (min-width: 1200px) {
	.content-column-section-heading {
		margin-top: 0;
	}

	.content-column-bottom-text::before {
		border-top: 1px solid #E9E9E9;
		content: "";
		left: 0;
		margin-top: -10px;
		position: absolute;
		width: 100%;
	}

	.content-column-bottom-text {
		margin: 0;
		padding-bottom: 10px;
		padding-top: 10px;
	}

	.content-column-items {
		margin-bottom: 0;
	}

	.split-content-card {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.content-column-items ul {
		padding-left: 0;
		column-gap: 20px;
		margin-left: -20px;
		column-count:2;
	}

	.content-column-items ul li {
		/*width: calc(50% - 20px);*/
	}

	.content-column {
		align-items: start;
		border-radius: 8px 0 0 8px;
		padding: 70px 90px 0 90px;
	}

	.media-column {
		background-size: cover;
		border-radius: 0 8px 8px 0;
		height: auto;
		position: relative;
		width: 350px;
	}

	.content-column-items ul li a {
		width: 100%;
		max-width: 100%;
	}
}

@media (min-width: 768px) and (max-width: 1200px) {
	.media-column {
		border-radius: 8px 8px 0 0;
		aspect-ratio: 430 / 250;
	}

	.content-column {
		border-radius: 0 0 8px 8px;
	}

	.content-column-items ul {
		column-gap: 20px;
		margin-left: 0;
	}

	.content-column-bottom-text {
		margin: -40px 0 20px 0;
	}

	.content-column-items {
		margin-bottom: auto;
	}
}
/*** END DEGREES & PROGRAMS STYLING ***/