/*****
Theme Name: DeustoKom News
Theme URI: https://www.mhthemes.com/themes/mh/magazine/
Description: This is a child theme for MH Magazine WordPress theme to make customizations much easier for you. By using this child theme you make sure, that you keep your changes after an update of the parent theme.
Author: Miren Berasategi
Author URI: https://deustokom.deusto.es/
Template: mh-magazine
Version: 5.5.4
License: GNU General Public License v2.0
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*****/


/*********************************************
* COLOR REFERENCE
*********************************************/

:root {
  --red: #BB414D;
  --orange: #CA694A;
  --yellow: #DAAD54;
  --green: #9AC278;
  --purple: #BB7CAF;
  --nord-red: #bf616a;
  --nord-orange: #d08770;
  --nord-yellow: #ebcb8b;
  --nord-green: #a3be8c;
  --nord-purple: #b48ead;
  --frost1: #57A4A1;
  --frost2: #5DAAC0;
  --frost3: #5885B1;
  --frost4: #436FA4;
  --nord-frost1: #8fbcbb;
  --nord-frost2: #88c0d0;
  --nord-frost3: #81a1c1;
  --nord-frost4: #5e81ac;
  --dark-gray1: #2e3440;
  --dark-gray2: #3b4252;
  --dark-gray3: #434c5e;
  --dark-gray4: #4c566a;
  --light-gray3: #d8dee9;
  --light-gray2: #e5e9f0;
  --light-gray1: #eceff4;
  --serif: 'Playfair Display', Georgia, serif;
  --sans-serif: 'Inter', 'Open Sans', Arial, sans-serif;
}

@import url('https://mirenbz.gitlab.io/fonts/gardengrown/gardengrown.css');
@import url('https://rsms.me/inter/inter.css');

body { font-weight:200; font-family:var(--sans-serif); }
body > li { display:none; } /* fix duplicate langs */

.center { text-align:center; }

#lang { position: absolute; right:0; font-size:.7em; text-transform: uppercase; z-index:100; }
#lang li { display: inline-block; padding-left:1em; }
#lang li.wpml-ls-current-language { font-weight: 700; }
#lang li a:hover { text-decoration: underline; }
#lang .wpml-ls-display { display: none; }

ul#menu-social-icons .fa { font-family:"Font Awesome 5 Brands"; }

.mh-widget-title, .mh-ticker-title, .mh-spotlight-caption { font-family:"Montserrat", sans-serif; }

.mh-home-wide .mh-slider-layout2 .mh-slider-category { right:0; top: 20px; }

.mh-custom-posts-item { padding-bottom: .6em !important; margin-bottom: .6em !important; border-bottom: 1px dotted #81a1c1; }

img.avatar { border-radius: 50%; }
.mh-author-box-avatar { border:none; }

/* Izena eman template */

body.page-template-template-izenaeman h1.entry-title { display:none; }
body.page-template-template-izenaeman h4 { color:var(--dark-gray4);  font-family: "Open sans", Helvetica, Arial, sans-serif; text-transform: uppercase; font-weight: 400; letter-spacing: .3em; font-size: 1.8em; }
body.page-template-template-izenaeman h4 span { font-family:'Garden Grown', var(--sans-serif); font-size:2.4em; letter-spacing: 0; text-transform:none; }
body.page-template-template-izenaeman h2 { font-size:3em; color:var(--frost1); /*border-top:solid 1px var(--light-gray1);*/ padding:1em 0; margin-top:1em; }
body.page-template-template-izenaeman h2 span { font-family:'Open sans', Helvetica, Arial, sans-serif; text-transform:uppercase; font-size:.8em; font-weight:600; }
body.page-template-template-izenaeman .wp-block-column { text-align:center; }
body.page-template-template-izenaeman .wp-block-column i { color:var(--dark-gray4); margin:.6em 0; }
body.page-template-template-izenaeman .wp-block-column h3 { color:var(--dark-gray3); text-transform: uppercase; }
body.page-template-template-izenaeman .wp-block-column .fa-stack { margin:.6em 0 !important; margin-bottom:1.8em !important; }
body.page-template-template-izenaeman .wp-block-column .fa-laptop { margin-top:.3em; }
body.page-template-template-izenaeman .wp-block-column .fa-graduation-cap { margin-top:.35em; }
body.page-template-template-izenaeman span.ahora { font-family:'Garden Grown', var(--sans-serif); font-size:2.4em; line-height:1em; font-weight:normal !important; }
body.page-template-template-izenaeman a.wp-block-button__link { margin:2em 0; font-size:1.8em; background-color:var(--red); color:white; }
body.page-template-template-izenaeman a.wp-block-button__link:hover { background-color:var(--nord-red) !important; color:white; }

article#page-9859, article#page-9868 { text-align:center; }
article#page-9859 h3, article#page-9868 h3 { padding:2em 0 1em; }
article#page-9859 #info label, article#page-9868 #info label { display:inline-block; width:7em; }
article#page-9859 small, article#page-9868 small { font-size:.8em; display:block; margin-bottom:-1em; opacity:.6; }
article#page-9859 input[type="submit"], article#page-9868 input[type="submit"] { margin: 2em 0 1em; padding: 1em 2em; }

.wpcf7 form.sent .wpcf7-response-output {
  background: var(--green);
  font-size: 1.5em;
  border-radius: 5px;
  font-weight: bold;
  color: white;
  border:none !important;
}

/* /Izena eman template */

body.archive.category h1.page-title { font-family: "Montserrat", sans-serif; text-transform: uppercase; font-size: 4em; text-align: center; }

body.archive.category h1.page-title:before,
body.archive.category h1.page-title:after {
  background-color: var(--frost1);
  content: "";
  display: inline-block;
  height: 3px;
  position: relative;
  vertical-align: middle;
  width: 50%;
}

body.archive.category h1.page-title:before {
  right: 0.5em;
  margin-left: -50%;
}

body.archive.category h1.page-title:after {
  left: 0.5em;
  margin-right: -50%;
}

.entry-title { font-size: 2.4em; }
.entry-header h3.mh-preheading { font-family: inherit; font-weight: 200; text-transform: uppercase; font-size: .9em; letter-spacing: .1em; } 
.entry-header h2.mh-subheading { background: transparent; color: #333; text-transform: none; font-size: 1.5em; font-weight: normal; padding-left: 0; }

.entry-content p { font-size: 1.2em; }
.entry-content p a { color: #0b0c10 !important; box-shadow:inset 0 -7px 0 0 rgba(23, 171, 165, 0.3); font-weight:inherit; }
.entry-content p a:hover { box-shadow:inset 0 -7px 0 0 rgba(23, 171, 165, 0.5); text-decoration:none; }
.entry-content p strong { /*background-color:#DCFFFC; padding:0 .3em;*/ font-weight:600; }
.wp-caption-text, .wp-block-image figcaption, figure figcaption { text-align:center; font-weight: 300; font-size: 0.75rem; line-height: 1.4; margin-top: 5px; }
.wp-block-image figcaption, .wp-block-image .aligncenter > figcaption, .wp-block-image .alignleft > figcaption, .wp-block-image .alignright > figcaption, .wp-block-image.is-resized > figcaption, .wp-block-audio figcaption { font-weight:300; }

.entry-content blockquote { border-left: solid 24px #ddd; }
.entry-content blockquote p { font-family:var(--serif); margin-left:-1.2em; margin-bottom:.6em; }
.entry-content blockquote p:last-child { margin-left:-1.2em; }

.entry-content h3 { font-family:inherit; margin-bottom: .3em; }
.entry-content h6 /* preguntas de entrevista */ { font-family: inherit; font-size: 1.2em; font-weight: 600; margin-bottom: .6em !important; }

.entry-content figure.wp-block-embed-twitter { border: solid 1px var(--light-gray3); border-radius: 6px; box-shadow: var(--light-gray3) 0 0 3px; padding: 20px; }
.entry-content figure.wp-block-embed-twitter blockquote.twitter-tweet { border-left: none; font-family: Roboto, Helvetica, Arial, sans-serif; font-style: normal; font-size: .9em; color: #666; margin-bottom: 0; }
.entry-content figure.wp-block-embed-twitter blockquote.twitter-tweet p { margin-left: 0; margin-right:40px; font-family: Roboto, Helvetica, Arial, sans-serif; font-style: normal; font-size: 1.2em; line-height: 1.2em; font-weight: normal; color:#333; }
.entry-content figure.wp-block-embed-twitter blockquote.twitter-tweet p:before { font-family: 'FontAwesome'; content:'\f099'; color:#1DA1F2; font-size:2em; float:right; margin-right:-40px; }
.entry-content figure.wp-block-embed-twitter blockquote.twitter-tweet a { box-shadow:none; color:inherit;}
.entry-content figure.wp-block-embed-twitter blockquote.twitter-tweet a:hover { text-decoration: underline; }

.entry-content .license { font-size:1.4em; color:#666; }
.entry-content .license a { color:var(--dark-gray4); }
.entry-content .license a:hover { color:var(--dark-gray4); opacity:.9; text-decoration:underline; }

.entry-content .class-work { font-size:1.2em; color:var(--dark-gray3); }

.entry-content .ref-biblio { margin-bottom:2em; color:var(--dark-gray3); }

.entry-content .su-heading-style-entradilla { font-size:1.5em !important; line-height:1.2em; color:var(--dark-gray3); font-weight:400; border-bottom:solid 3px var(--light-gray3); padding-bottom:.8em; }
.entry-content .su-heading-style-entradilla .su-heading-inner { padding-left:0; }

.entry-content .su-pullquote { width:60%; font-size:1.5em; font-weight:400; text-align:right; color:var(--dark-gray4); font-style:italic; } 
.entry-content .su-pullquote::before { content: ' '; position: absolute; left: 0; background-color: var(--nord-frost4); mask: url(https://deustokom.deusto.es/wp-content/uploads/quotation.svg); width: 99px; height: 85px; opacity: .3; }
.entry-content .su-pullquote.sumario { font-style:normal; }
.entry-content .su-pullquote.sumario::before { display:none; }

.entry-content .su-pullquote-align-left { border-right: solid 9px var(--nord-frost3); }
.entry-content .su-pullquote-align-right { border-left: solid 9px var(--nord-frost3); }

.entry-content .su-button { margin-bottom:1.5em; }
.entry-content .su-button span { padding: 16px 32px; }
.entry-content .su-button span, .entry-content .su-button span i { font-size:18px; }

.entry-content .su-quote.featured { width:80%; margin:3em auto; text-align: center; font-size:1.5em; }

.entry-content hr { border: 0; background: var(--light-gray3); height: 1px; }

.entry-tags li.portada,
.entry-tags li.eus { 
	display:none; 
} 

.wp-block-button a:hover { text-decoration:none; }

div.nav-links { text-align: center; }

.hl {
	background-color: #FFFEB8;
	padding: 0 .3em;
	font-weight: 300;
	transform: rotate(-1deg);
	display: inline-block;
}

body div.su-pullquote + .is-layout-flex { display: block; }

/* Mastodon social icon */

.mh-social-icons li.mastodon a .fa-mh-social::before { content: '\f4f6'; }