@import url("https://fonts.googleapis.com/css?family=Merriweather:300,400,400i,700|Roboto+Condensed:700|Roboto:100,100i,300,400,500,700,900");
@import url("https://fonts.googleapis.com/css2?family=Oswald");
/* =========================================
   Web Profile Overrides
   Based on official class documentation:
   https://github.com/WatermarkInsights/dm-web-profile-themes/blob/v1/docs/styling.md
   Sections:
   1. Loading and Error
   2. Typography
   3. Profile Root and Preamble
   4. Sections and Headings
   5. Activities and Buttons
   6. Images
   7. Tabs Navigation
   8. Divider
   9. Main Image Section
========================================= */

/* =========================================
   1. Loading and Error
   Classes: dm-profile-loading, dm-profile-error
========================================= */
/* Add overrides here if needed */

/* =========================================
   2. Typography
   Applies to lists, tabs, and buttons
========================================= */

#dm-web-profile-root ol, #dm-web-profile-root ul {
    font-family: 'Roboto', sans-serif;
}
			
#dm-web-profile-root ol {
	text-indent: 0;
    margin-left: 0;
    padding-left: 0;
}
			
#dm-web-profile-root ul {
    padding-left: 1.5em;
}

#dm-web-profile-root ol li {
    margin-bottom: 0.625em;
    line-height: 1.6;
}

#dm-web-profile-root .dm-profile-tabs > .dm-profile-tabs__item > .dm-profile-tabs__link {
    font-family: 'Abrade', 'Roboto', sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    color: #444;
    text-decoration: auto;
    padding: 0.5rem;
}

#dm-web-profile-root .dm-profile-preamble .dm-profile-activities .dm-profile-activity a {
    font-family: 'abrade', 'roboto', sans-serif;
    font-weight: 600;
}
			
#dm-web-profile-root .dm-profile-text p {
	font-size: 1.25em;
	font-weight: bold;
	margin-top: 1em;
	margin-bottom: 0;
}

li.dm-profile-activities-group-item {
    margin-bottom: 1.5rem;
}

#dm-web-profile-root li.dm-profile-activity {
    line-height: 1.5;
}
			
#dm-web-profile-root .dm-profile-text p:empty {
	display: none;
}

#dm-web-profile-root .dm-profile-report-section h2, #dm-web-profile-root .dm-profile-report-section h3 {
	font-family: 'Oswald', sans-serif;
    font-weight: 700;
    margin-top: 1em;
    margin-bottom: 10px;
    line-height: 1.1;
}

#dm-web-profile-root .dm-profile-report-section h2 {
	color: #000;
	font-size: 2.25rem;
}

#dm-web-profile-root .dm-profile-report-section h3 {
	color: #c00;
	font-size: 1.75rem;
}


/* =========================================
   3. Profile Root and Preamble
   Classes: dm-profile, dm-profile-preamble
========================================= */
			
#dm-web-profile-root {
	margin: 0 auto 2em;
	max-width: 1200px !important;
}
			
#dm-web-profile-root .dm-profile-preamble.dm-profile-preamble--with-main-image {
    position: relative;
    display: flex;
    align-items: end;
    max-width: 100%;
	margin-top: 4.5em;
    padding: 2em 5.25em;

    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
                url("https://www.ttuhsc.edu/_resources/images/ttuhsc-seal-bg.jpg");
    background-position: center;
    background-size: cover;
}
			

/* =========================================
   Preamble layout: image and content
========================================= */

/* Parent: keep flex but make it stable across sizes */
#dm-web-profile-root .dm-profile-preamble.dm-profile-preamble--with-main-image {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 1.25rem;/* space between image and text */
}

/* Image section: fixed aspect ratio and controlled width */
.dm-profile-section.dm-profile-section--main-image {
  /* Frame settings */
  border: 0.375em solid white;
  display: block;
  overflow: hidden;
  background: #f5f5f5;

  width: min(280px, 45vw);
  max-width: 340px;
}

/* Ensure the image fills the frame stably */
.dm-profile-image.dm-profile-main-image {
  width: 100%;
  height: 100%;
  max-width: none;
  display: block;
  object-fit: cover;
  aspect-ratio: 3/4;
  object-position: top center;
}

/* Content block next to the image */
#dm-web-profile-root .dm-profile-report-section,
#dm-web-profile-root .dm-profile-contents {
  flex: 1 1 420px;
  min-width: 260px;
}
			
#dm-web-profile-root .dm-profile-contents h2 {
	color: white;
}
			
#dm-web-profile-root .dm-profile-contents h2 + br {
	display: none;
}

/* =========================================
   Responsive refinements
========================================= */

/* Small screens */
@media (max-width: 639px) {
  #dm-web-profile-root .dm-profile-preamble.dm-profile-preamble--with-main-image {
    flex-direction: column;
    align-items: center;
	padding: 1em;
  }

  .dm-profile-section.dm-profile-section--main-image {
    width: min(85vw, 360px);
    max-width: 360px;
  }

  #dm-web-profile-root .dm-profile-report-section,
  #dm-web-profile-root .dm-profile-contents {
    width: 100%;
	flex: 0 1 auto;
  }
}

/* Medium screen */
@media (min-width: 640px) {
  .dm-profile-section.dm-profile-section--main-image {
    max-width: 340px;
  }
}

/* Large screens */
@media (min-width: 1024px) {
  .dm-profile-section.dm-profile-section--main-image {
    max-width: 320px;
  }
}


/* =========================================
   4. Sections and Headings
   Classes: dm-profile-sections, dm-profile-section, dm-profile-heading
========================================= */
.dm-profile-section--tabbed {
    border: 0;
    padding: 0.25rem 0;
    position: relative;
    z-index: 10;
}

/* =========================================
   5. Activities and Buttons
   Classes: dm-profile-activities, dm-profile-activity
========================================= */
.dm-profile-preamble .dm-profile-activities {
    background-color: rgba(1, 1, 1, 0) !important; /* External CSS override */
    color: #fff;
}

#dm-web-profile-root .dm-profile-preamble .dm-profile-activities .dm-profile-activity a {
    position: absolute;
    right: 2em;
    bottom: 1em;

    display: inline-block;
    padding: 0.5rem 1rem;

    color: #fff !important;
    text-decoration: none;

    background: none;
    border: 2px solid #fff;
    transition: all 0.5s ease-in-out;
}

#dm-web-profile-root .dm-profile-preamble .dm-profile-activities .dm-profile-activity a:hover {
    background: #fff;
    color: #c00 !important;
}
			
#dm-web-profile-root .dm-profile-contents ul.dm-profile-activities-group {
	padding: 1em;
}
			
@media (max-width: 930px) {		
	#dm-web-profile-root .dm-profile-preamble .dm-profile-activities .dm-profile-activity a {
		position: static;
		display: inline-block;
		color: #fff !important;
		padding: 0;
		border: none;
		text-decoration: underline;
	}
	
    #dm-web-profile-root .dm-profile-preamble .dm-profile-activities .dm-profile-activity a:hover,
    #dm-web-profile-root .dm-profile-preamble .dm-profile-activities .dm-profile-activity a:focus-visible {
    	color: #ffffff75 !important;
		background: none;
    }
	
	#dm-web-profile-root .dm-profile-contents ul.dm-profile-activities-group {
		padding: 0em;
	}
}


/* =========================================
   6. Images
   Classes: dm-profile-image, dm-profile-image--align-left/right/inline
========================================= */
/* Add image alignment overrides if needed */

/* =========================================
   7. Tabs Navigation
   Classes: dm-profile-tabs, dm-profile-tabs__item, dm-profile-tabs__link
========================================= */
#dm-web-profile-root ul.dm-profile-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 2rem 0rem 0;
	padding: 0;
}

#dm-web-profile-root .dm-profile-tabs__item {
    display: block;
    width: auto;
    margin: 1px 0.5rem 0;
    padding: 0;
    background: none;
    border: 0;
    position: relative; /* Needed for ::after underline */
}

#dm-web-profile-root .dm-profile-tabs > .dm-profile-tabs__item--active {
    border-bottom: 2px solid #c00;
    padding-bottom: 0.5rem;
}
			
#dm-web-profile-root .dm-profile-tabs > .dm-profile-tabs__item--active:focus-visible {
    outline: none;
}

/* Hover underline effect */
@media (min-width: 640px) {
    #dm-web-profile-root .dm-profile-tabs__item:after {
        content: " ";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 0;
        height: 2px;
        background-color: #c00;
        transition: width 0.3s ease-in-out;
    }

    #dm-web-profile-root .dm-profile-tabs__item:hover:after {
        width: 100%;
    }

    #dm-web-profile-root .dm-profile-tabs > .dm-profile-tabs__item--active:after,
    #dm-web-profile-root .dm-profile-tabs > .dm-profile-tabs__item--active:hover:after {
        background: transparent;
    }
}


/* =========================================
   Mobile refinements for Tabs
========================================= */
@media (max-width: 639px) {
    /* Stack tabs vertically and add spacing */
    #dm-web-profile-root ul.dm-profile-tabs {
      flex-direction: column;
      gap: 0.5em;
    }
  
    /* Give each tab item a visible border */
    #dm-web-profile-root .dm-profile-tabs__item {
      border: 2px solid black !important;
      position: relative;
	  margin: 0;
    }
  
    /* Active tab: remove bottom padding and set dark background */
    #dm-web-profile-root .dm-profile-tabs > .dm-profile-tabs__item--active {
      padding-bottom: 0;
      background: black;
    }
  
    /* Active tab link: invert text color for contrast and remove arrow in content*/
    #dm-web-profile-root .dm-profile-tabs > .dm-profile-tabs__item--active > .dm-profile-tabs__link {
      color: white;
    }
			
	.dm-profile-tabs__item--active .dm-profile-tabs__link::after {
        content: "" !important;
    }
}
  

/* =========================================
   8. Divider
   Classes: dm-profile-break
========================================= */
hr.dm-profile-break,
.dm-profile-break {
    background-color: #e6e6e6;
    border-top: 1px solid #e6e6e6;
    height: 0 !important;
    margin: 0 0 2rem 0 !important;
    padding: 0 !important;
}

/* =========================================
   9. Main Image Section
   Classes: dm-profile-section--main-image
========================================= */
.dm-profile-section.dm-profile-section--main-image {
    display: flex;
    justify-content: center;
    min-height: 300px;
    margin-top: -5em;
    border: 0.375em solid white;
}
			
/* Roster */
#RosterContainer img.thumbImage {
    aspect-ratio: 3/4;
    object-fit: cover;
    width: min(100%, 250px);
	margin-right: 1em;
}
			
@media (max-width: 991px) {
	#RosterContainer img.thumbImage {
		margin-bottom: 1em;
	}
}
			
#RosterContainer button.ViewProfile {
    border: none;
    background: #c00;
    color: white;
    font-size: 1.125rem;
    padding: .85em;
    font-family: 'Abrade', 'Roboto', sans-serif;
	transition: 300ms;
}
			
#RosterContainer button.ViewProfile:hover {
	background: #7b0000;
}
			
#RosterContainer button.pagerButton {
    background: none;
    border: 2px solid transparent;
    font-family: 'Abrade', 'Roboto', sans-serif;
    font-weight: 500;
    font-size: 1.125em;
    margin-right: .125em;
	transition: 200ms;
}
			
#RosterContainer button.pagerButton:hover, #RosterContainer button.pagerButton:active {
    border-bottom: 2px solid #c00;
}
			
#RosterContainer .row.Profile {
    border-bottom: 1px solid #ddd;
    padding-bottom: 15px;
}