/*
Theme Name:     UM IPC theme
Theme URI:      
Description:    Generatepress child theme.
Author:         Boxcar Studio
Author URI:     https://boxcarstudio.com
Template:       generatepress
Version:        0.1.1
*/

a[href*='.pdf']:not(.gb-button,.gb-container-link), a[href*="//"]:not([href*="dev-med-ipc-website.pantheonsite.io"],[href*="test-med-ipc-website.pantheonsite.io"],[href*="live-med-ipc-website.pantheonsite.io"], [href*="injurycenter.umich.edu/"]) {
position: relative;
    padding-right: 1.5em;
	display: inline-block;
}

a[href*='.pdf']:not(.gb-button,.gb-container-link):after {
	    content: ' (PDF)';
    font-size: 0;
    background-image: url(/wp-content/uploads/2024/12/pdf-icon.svg);
    height: 20px;
    width: 20px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    bottom: 0px;
    top: auto;
    position: absolute;
    margin-left: 3px;
}


a[href*="//"]:not(.default-button, [href*="dev-med-ipc-website.pantheonsite.io"],[href*="test-med-ipc-website.pantheonsite.io"],[href*="live-med-ipc-website.pantheonsite.io"], [href*="injurycenter.umich.edu/"]):after {
	  content: ' (External Site)';
	  font-size: 0;
		background-image: url(/wp-content/uploads/2025/01/external-link.svg);
		height: 20px;
	  width: 20px;
	  display: inline-block;
	  background-size: contain;
		background-repeat: no-repeat;
	  bottom: 0px;
		top: auto;
	  position: absolute;
	  margin-left: 3px;
}

footer a[href*="//"]:not(.default-button, [href*="dev-med-ipc-website.pantheonsite.io"],[href*="test-med-ipc-website.pantheonsite.io"],[href*="live-med-ipc-website.pantheonsite.io"], [href*="injurycenter.umich.edu/"]):after{
	  content: ' (External Site)';
	  font-size: 0;
		background-image: url(/wp-content/uploads/2025/03/external-link-white.svg);
		height: 14px;
	  width: 14px;
	  display: inline-block;
	  background-size: contain;
		background-repeat: no-repeat;
	  bottom: 0px;
		top: auto;
	  position: absolute;
	  margin-left: 3px;
}

.wp-block-social-links a:after {
    display: none !important;
}

span.sep:last-of-type {
    display: none;
}

p.feed-title {
    border-bottom: 1px solid var(--gray-light);
    padding-bottom: 1em;
}


.yellow-border p.feed-title {
    border-color: var(--um-maize);
}

.feed-two-col {
        display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 1em 2em;
}


.feed-two-col p.feed-title {
	margin-bottom: 0;
}

@media only screen and (max-width: 1024px) {
	.feed-two-col {
		display: block;
	}
}

.gb-query-loop-item:last-child .query-feed-item {
    border-bottom: 0;
}


/* FACET WP */

.facetwp-counter {
  display: none;
}
