/* HEADER */
header h1 a:hover {text-decoration:none;}
header ul.wp-block-navigation li {padding:10px 12px;}
header ul.wp-block-navigation li:hover {background-color:#ebe9e9;}
header ul.wp-block-navigation li a:hover {text-decoration:none;}
/* FOOTER */
footer ul.wp-block-navigation li a:hover {text-decoration:none; color: #262626!important;}



/* ------------- */
::-moz-selection {color: black;background: #e2dfdf;}
::selection {color: black;background: #e2dfdf;}

main p a {border-bottom:3px solid #b7b0b1;}
.so-premium-web-font a {
  border-bottom: 3px solid #b7b0b1;
}




/* MY WORK HOVER */
#work-features li:hover .sow-icon-container span {color:#96898b !important;transition:0.4s}
#work-features li:hover .textwidget h3 {letter-spacing:1px;transition:0.6s;text-decoration:none!important;}
#work-features .textwidget h3 a:hover {text-decoration:none !important;}

/* JOURNALISM PAGE BOX SHADOW */
.widget-img-shadow img {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
	-webkit-box-shadow: 3px 3px 5px rgba(0,0,0,0.175);
	-moz-box-shadow: 3px 3px 5px rgba(0,0,0,0.175);
	box-shadow: 3px 3px 5px rgba(0,0,0,0.175);
}

/* HOME PAGE SLIDER BUTTON COLOR*/
.btn-translucent .ow-button-base a {
	background: rgba(25, 38, 70, 0.4) !important;
	border-color: transparent !important;
	color: rgb(255,255,255) !important;
}
.btn-translucent .ow-button-base a:hover {
		background: rgba(25, 38, 70, 1) !important; 
		border-color: transparent !important;
}
/* POST TAGS */

.single-post .taglist a {
  border-radius: 0px;
	border-color: #192646;
  padding: 12px 18px 8px;
  background-color: #fbfbfb;
  color: #192646;
  font-size: 0.9em;
  line-height: 2.8em;
	transition:0.3s;	
}
.single-post .taglist a:hover {
  background-color: #192646;
  color: #fbfbfb;
  text-decoration: none 
}

.single-post .taglist a:before {
		content: "\269C";
		color: #192646;
		font-size:1.2em;
		margin-right:5px;
}

/* POST COMMENT SECTION */

.single-post .catlist a {
  border-bottom:3px solid #b7b0b1;
	padding-bottom:6px;
}
form#commentform #submit {border-radius:0px;}

/* COMMUNICATIONS PAGE NUMBERED LIST SPACING */

.spaced-list ol li:not(:last-child) {
    margin-bottom: 15px;
}

/* MENU HYPERLINKING AND ICONS */
.wp-block-navigation-submenu__toggle {
    display: none;
}
.wp-block-navigation-item.has-child > a::after {
    content: "▾";
    font-size: 0.9em;
    margin-left: 6px;
}


/* WORK WITH ME CONTACT ME BUTTON */
@media (max-width: 768px) {
  #contact-me {
    text-align: center !important;
  }

@media (max-width: 768px) {
  #contact-me .ow-button-base {
    float: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}
}


/* Contact Form Button Styling */
#contact-form button.sow-submit,
#contact-form input[type="submit"] {
    font-family: 'Josefin Sans', sans-serif;
    font-size: 1.1rem;
    margin-top: 5%;
    padding: 16px 28px;
    white-space: nowrap;
    width: auto;
    min-width: unset;
    display: inline-block;
    line-height: 1.2;
}

#contact-form {
  max-width: 500px;
  margin: 0 auto;
  padding: 0;
}

#contact-form form {
  margin: 0;
  padding: 0;
}

#contact-form .sow-form-field,
#contact-form p,
#contact-form .form-field {
  margin-top: 0;
}

#contact-form label:first-of-type {
  margin-top: 0;
  padding-top: 0;
}

#contact-form input,
#contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #ccc7c8;
  border-radius: 0px;
  background: #ffffff;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

#contact-form input:focus,
#contact-form textarea:focus {
  outline: none;
  background: #fff;
  border-color: #e8e5e5;
  box-shadow: 0 0 0 3px rgba(29, 45, 91, 0.12);
}

#contact-form textarea {
  min-height: 150px;
  resize: vertical;
}

#contact-form input[type="submit"],
#contact-form button[type="submit"] {
  padding: 14px 30px;
  background: #192646;
  color: #fff;
  border: none;
  border-radius: 0px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.25s ease;
}

#contact-form input[type="submit"]:hover,
#contact-form button[type="submit"]:hover {
  background: #162247;
  transform: translateY(-1px);
}


/*VIDEO WRAPPER CONSTRAINT*/

.sow-video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.sow-video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
}


.margin-zero p:first-child {
  margin-top: -0.4em;
}

.yt-lite {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  cursor: pointer;
}

.yt-lite img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-lite button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 68px;
  height: 48px;
  background: #ff0000;
  border: none;
  border-radius: 12px;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
}

/* White play triangle */
.yt-lite button::before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-left: 16px solid white;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}

.yt-lite iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.yt-title {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;

  padding: 20px 22px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;

  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.85),
    rgba(0, 0, 0, 0)
  );

  pointer-events: none;
  line-height: 1.3;

  z-index: 2;
}

.yt-title {
  text-shadow: 0 2px 6px rgba(0,0,0,0.6);
}
/* Enforce width in Siteorigin Blog Widget */
.sow-blog-posts article img {
		max-width:100%;
		height: auto;
}
/* captions formatting */
.wp-block-image figcaption {
		font-size: clamp(1rem, 1rem + 0.3vw, 1.2rem) !important; 
		line-height: 1.5;
		color:#595959; 
}


/* Custom tabs for blog or publications page */
#custom-tabs .sow-tabs-tab {
  width: 100%;
  text-align: center;
  text-transform: uppercase;
  border: 1px solid #595959;
  font-family: "Josefin Sans";
  background: radial-gradient(rgb(251,250,250) 0%,rgb(185,178,179) 100%);
	font-size:16px
}
#custom-tabs .sow-tabs-tab-selected, #custom-tabs .sow-tabs-tab:hover {
  background: #595959 !important;
	color:white;
}
#custom-tabs .sow-tabs-title {
		justify-content:space-around;
}

/*QUOTE STYLE*/
.wp-block-quote {
	border-left: 0px !important;
	padding-top: 0px !important;
  padding-bottom: 0px !important;
	padding-left: 63px !important;
	color: #595959;
}

.wp-block-quote {
    background-image: linear-gradient(to right, #fbfbfb 0px 30px, #b7b0b1 30px 33px, #fbfbfb 33px 63px) !important;
  background-size: 63px 100% !important;
  background-repeat: no-repeat !important;
  background-position: left !important;
}

.wp-block-quote { font-size: var(--wp--preset--font-size--medium); 
font-weight: 500 !important;}

/*H3 STYLING FOR POSTS*/

.h3post {
  font-size: clamp(1.2rem, 1.15rem + 0.25vw, 1.4rem) !important;
	line-height: 1.4
}

/*ALSO READ IMAGE HOVER EFFECTS*/


.wp-block-query figure.wp-block-post-featured-image,
.wp-block-query figure.wp-block-post-featured-image a,
.wp-block-query figure.wp-block-post-featured-image img,
.wp-block-query figure.nfd-rounded.wp-block-post-featured-image,
.wp-block-query figure.nfd-rounded.wp-block-post-featured-image img {
  border-radius: 0 !important;
}

.wp-block-query figure.wp-block-post-featured-image {
  overflow: hidden;
}

.wp-block-query figure.wp-block-post-featured-image a {
  display: block;
  overflow: hidden;
}

.wp-block-query figure.wp-block-post-featured-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0 !important;
  transition: transform 0.5s ease;
}

.wp-block-query figure.wp-block-post-featured-image:hover img {
  transform: scale(1.04) translateX(0%);
}

/*ALSO READ TITLE HOVER EFFECTS*/

.wp-block-query .wp-block-post-title a {
  color: #192646;
  text-decoration: none;
  display: inline-block;
  transition: color 0.5s ease, letter-spacing 0.5s ease, transform 0.5s ease;
}

.wp-block-query .wp-block-post-title a:hover {
  color: #595959;
  text-decoration: none;
  letter-spacing: 0.01em;
}