.site-title {
	text-transform: unset;
}

.front-page-1 .flexible-widgets {
	overflow: hidden;
	padding-bottom: 90px;
	padding-top: 90px;
	padding-right: 55%;
}

@media only screen and (max-width: 782px) {
	.front-page-1 .flexible-widgets {
		padding-right: 0;
	}


.mk-author-avatar {
display: none;
}

select {
width: 180px;
margin-right: 20px;
}

.entry-avatar {
	visibility:hidden;
}

.book-author-link {
	pointer-events: none;
  cursor: default;
}

.book-details-meta {
	font-size: small;
}


.wp-caption-text {
	text-align: left;
}

.overlay-image-container {
    position: relative;
    width: 50%;
}

.overlay-image-image {
  opacity: 1;
  display: block;
  width: 100%;
  height: auto;
  transition: .5s ease;
  backface-visibility: hidden;
}

.overlay-image-middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
}

.overlay-image-container:hover .image {
  opacity: 0.3;
}

.overlay-image-container:hover .middle {
  opacity: 1;
}

.overlay-image-text {
  background-color: #4CAF50;
  color: white;
  font-size: 16px;
  padding: 16px 32px;
}

.academia {
	font-size: medium;
}

.front-page-4 .enews {
	padding: 0px;
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: center;
	-webkit-justify-content: center;
	    -ms-flex-pack: center;
	        justify-content: center;
	-webkit-box-align: center;
	-webkit-align-items: center;
	    -ms-flex-align: center;
	        align-items: center;
	max-width: 1000px;
	margin: 0 auto;
}

.front-page-4 form {
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	    -ms-flex: 1;
	        flex: 1; /* grow this item to fill the available space */
}

.front-page-4 .enews-widget input {
	margin-bottom: 0;
	width: auto;
	margin-right: 10px;
	padding: 10px;
	line-height: 1;
	-webkit-box-flex: 3;
	-webkit-flex: 3;
	    -ms-flex: 3;
	        flex: 3;
}

.front-page-4 .enews-widget input[type="submit"] {
	margin-right: 0;
	padding: 10px 50px;
	-webkit-box-flex: 1;
	-webkit-flex: 1;
	    -ms-flex: 1;
	        flex: 1;
}


@media only screen and (max-width: 860px) {

	.front-page-4 .enews {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
	}

	.front-page-4 .widget-title {
		margin-bottom: 20px;
	}

	.front-page-4 form {
		width: 100%;
	}

}

@media only screen and (max-width: 620px) {

	.front-page-4 form {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-webkit-flex-direction: column;
		    -ms-flex-direction: column;
		        flex-direction: column;
		width: 100%;
	}

	.front-page-4 .enews-widget input {
		margin-right: 0;
		margin-bottom: 20px;
	}

	.front-page-4 .enews-widget input:last-child {
		margin-bottom: 10px;
	}

}

.front-page-4 .flexible-widgets.widget-area .widget:nth-of-type(1) {
	margin-bottom: 40px;
}

:target:before {
content:"";
display:block;
height:140px; /* fixed header height*/
margin:-140px 0 0; /* negative fixed header height */
}

:focus {
color: #000;
outline: #ccc solid 0px;
}

	/*
.teachpress_publication_list {
	
/* -ms-word-break: break-all;
     word-break: break-all;
     word-break: normal;
-webkit-hyphens: auto;
   -moz-hyphens: auto;
        hyphens: auto;
		color: black;*/
}
*/
/*
 * .tp_pub_author,  p.tp_pub_author, .tp_pub_menu,  p.tp_pub_menu, div.tp_pub_number, .tp_abstract_entry, .tp_pub_additional,  p.tp_pub_additional, .tp_pub_title, # p.tp_pub_title {
	/* Do what you want here: */
    /*font-size: 16px !important;
	  color: black !important;
}*/




/* Compact, no bullets/indent, aligned years */
.appointments-timeline{
  list-style:none; margin:0; padding:0;
}
.appointments-timeline li{
  display:grid;
  grid-template-columns: 12ch 1fr;   /* fixed year column */
  column-gap:.75rem;
  align-items:baseline;
  padding:.25rem 0; margin:0;
}
.appointments-timeline .year{
  font-weight:700;
  font-variant-numeric: tabular-nums; /* equal digit widths */
  white-space:nowrap;
}
/* Optional: add brackets visually without typing them */
.appointments-timeline .year::before{content:"["}
.appointments-timeline .year::after{content:"]"}

/* Mobile: stack, still no indent */
@media (max-width:600px){
  .appointments-timeline li{ grid-template-columns: 1fr; }
  .appointments-timeline .year{ margin-bottom:.1rem; }
}

/* remove default UL/LIs indent for this one list */
.appointments-timeline,
.appointments-timeline ul,
.appointments-timeline ol {
  margin-left: 0 !important;
  padding-left: 0 !important;
  list-style: none !important;   /* no bullets */
}

/* each item flush-left, no inner padding */
.appointments-timeline li {
  margin: 0 !important;
  padding: 0 !important;
}

/* if the list sits inside entry-content rules that add extra indent */
.entry-content .appointments-timeline {
  margin-left: 0 !important;
}

/* mobile safety net */
@media (max-width: 782px) {
  .appointments-timeline,
  .appointments-timeline li {
    margin-left: 0 !important;
    padding-left: 0 !important;
  }
}

/* === DETAILS (global) === */

/* Box + spacing when open */
.wp-block-details[open] {
  border: 1px solid #efefef;
  padding-bottom: 30px;
}

/* Summary row */
.wp-block-details summary {
  background: #f7f7f7;
  padding: 3px 15px;
  margin: 0;
  list-style: none;           /* hide default marker in Firefox */
  cursor: pointer;
  display: flex;
  align-items: center;
}

/* Remove built-in markers/icons from themes & browsers */
.wp-block-details summary::-webkit-details-marker { 
  display: none !important;   /* Chrome/Safari/iOS */
}
.wp-block-details summary::marker { 
  content: "" !important;     /* Firefox */
  font-size: 0 !important;
}
.wp-block-details summary::after {
  content: none !important;   /* in case theme injects an icon */
}

/* Hover */
.wp-block-details summary:hover {
  background-color: #f2f2f2;
}

/* Inner content spacing (exclude the summary itself) */
.wp-block-details > :not(summary) {
  margin: 10px 20px;
  margin-block-start: 1.5rem;
}

/* Custom toggle icons (plus/minus) */
.wp-block-details summary::before {
  content: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' fill='%23000000'%3E%3Cpath d='M480,1117 C472.268,1117 466,1110.73 466,1103 C466,1095.27 472.268,1089 480,1089 C487.732,1089 494,1095.27 494,1103 C494,1110.73 487.732,1117 480,1117 Z M480,1087 C471.163,1087 464,1094.16 464,1103 C464,1111.84 471.163,1119 480,1119 C488.837,1119 496,1111.84 496,1103 C496,1094.16 488.837,1087 480,1087 Z M486,1102 L481,1102 L481,1097 C481,1096.45 480.553,1096 480,1096 C479.447,1096 479,1096.45 479,1097 L479,1102 L474,1102 C473.447,1102 473,1102.45 473,1103 C473,1103.55 473.447,1104 474,1104 L479,1104 L479,1109 C479,1109.55 479.447,1110 480,1110 C480.553,1110 481,1109.55 481,1109 L481,1104 L486,1104 C486.553,1104 487,1103.55 487,1103 C487,1102.45 486.553,1102 486,1102 Z' transform='translate(-464 -1087)'/%3E%3C/svg%3E");
  display: inline-block;
  width: 20px;
  margin-right: 8px;
  vertical-align: middle;
  flex: 0 0 auto;
}

.wp-block-details[open] summary::before {
  content: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' fill='%23000000'%3E%3Cpath d='M532,1117 C524.268,1117 518,1110.73 518,1103 C518,1095.27 524.268,1089 532,1089 C539.732,1089 546,1095.27 546,1103 C546,1110.73 539.732,1117 532,1117 Z M532,1087 C523.163,1087 516,1094.16 516,1103 C516,1111.84 523.163,1119 532,1119 C540.837,1119 548,1111.84 548,1103 C548,1094.16 540.837,1087 532,1087 Z M538,1102 L526,1102 C525.447,1102 525,1102.45 525,1103 C525,1103.55 525.447,1104 526,1104 L538,1104 C538.553,1104 539,1103.55 539,1103 C539,1102.45 538.553,1102 538,1102 L538,1102 Z' transform='translate(-516 -1087)'/%3E%3C/svg%3E");
}



/* === Lightbox styles === */
/*
#video-lightbox {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.65);
  z-index: 9999;
  padding: 1rem;
}
#video-lightbox iframe {
  width: min(90vw, 960px);
  aspect-ratio: 16/9;
  border: none;
  border-radius: 12px;
  background: #000;
}
#video-lightbox button.close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  background: transparent;
  color: #fff;
  border: 0;
  cursor: pointer;
}*/

.btn-pill {
  display: inline-block !important;        /* ensures it only wraps around its content */
	width: 120px;
  padding: 6px 18px;            /* adjust spacing around text */
  border: 1px solid #444;       /* dark gray border */
  border-radius: 9999px;        /* fully rounded corners */
  color: #1a0dab;               /* link-style blue text */
  text-decoration: none;        /* remove underline */
  background-color: #fff;       /* white background */
  font-family: system-ui, sans-serif;
  font-size: 16px;
  font-weight: 500;
  vertical-align: middle;       /* aligns nicely if near other inline items */
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
	margin-left: 0x;
	margin-bottom: 0px;
	 position:absolute; 
	left:50%; bottom:1%; 
	transform: translate(-50%, -1%);
}

/* Hover */
.btn-pill:hover {
  background-color: #f5f5f5;
}

/* Active (pressed) */
.btn-pill:active {
  background-color: #eaeaea;
}
.entry-content ul.wp-block-post-template {
    list-style: none;
    padding-left: 0;
}

.entry-content ul.wp-block-post-template > li {
    list-style: none;
}
