/*
Theme Name: Twenty Twenty-Five
Theme URI: https://wordpress.org/themes/twentytwentyfive/
Author: the WordPress team
Author URI: https://wordpress.org
Description: Twenty Twenty-Five emphasizes simplicity and adaptability. It offers flexible design options, supported by a variety of patterns for different page types, such as services and landing pages, making it ideal for building personal blogs, professional portfolios, online magazines, or business websites. Its templates cater to various blog styles, from text-focused to image-heavy layouts. Additionally, it supports international typography and diverse color palettes, ensuring accessibility and customization for users worldwide.
Requires at least: 6.7
Tested up to: 6.7
Requires PHP: 7.2
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: twentytwentyfive
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

/*
 * Link styles
 * https://github.com/WordPress/gutenberg/issues/42319
 */
a {
	text-decoration-thickness: 1px !important;
	text-underline-offset: .1em;
}

/* Focus styles */
:where(.wp-site-blocks *:focus) {
	outline-width: 2px;
	outline-style: solid;
}

/* Increase the bottom margin on submenus, so that the outline is visible. */
.wp-block-navigation .wp-block-navigation-submenu .wp-block-navigation-item:not(:last-child) {
	margin-bottom: 3px;
}

/* Increase the outline offset on the parent menu items, so that the outline does not touch the text. */
.wp-block-navigation .wp-block-navigation-item .wp-block-navigation-item__content {
	outline-offset: 4px;
}

/* Remove outline offset from the submenus, otherwise the outline is visible outside the submenu container. */
.wp-block-navigation .wp-block-navigation-item ul.wp-block-navigation__submenu-container .wp-block-navigation-item__content {
	outline-offset: 0;
}

/*
 * Progressive enhancement to reduce widows and orphans
 * https://github.com/WordPress/gutenberg/issues/55190
 */
h1, h2, h3, h4, h5, h6, blockquote, caption, figcaption, p {
	text-wrap: pretty;
}

/*
 * Change the position of the more block on the front, by making it a block level element.
 * https://github.com/WordPress/gutenberg/issues/65934
*/
.more-link {
	display: block;
}
/* MARK SITE CUSTOMIZATION START */
:root {
  --mr-ink: #0f172a;
  --mr-ink-soft: #526077;
  --mr-accent: #0f766e;
  --mr-accent-2: #c2410c;
  --mr-accent-3: #c0a15d;
  --mr-surface: #f7fafc;
  --mr-surface-strong: #eef6f7;
  --mr-border: #d7e1ea;
  --mr-border-strong: rgba(148, 163, 184, 0.32);
  --mr-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --wp--style--global--content-size: min(1120px, calc(100vw - 3rem));
  --wp--style--global--wide-size: min(1380px, calc(100vw - 3rem));
}

body {
  background: linear-gradient(180deg, #f9fbfc 0%, #ffffff 28rem);
  color: var(--mr-ink);
  font-size: 0.96rem;
  line-height: 1.58;
}

main {
  margin-top: 0 !important;
  padding-top: 0.35rem;
}

main .wp-block-post-content {
  margin-top: 0.35rem;
}

main .wp-block-post-content > :first-child {
  margin-top: 0;
}

main .wp-block-post-content p {
  margin-top: 0;
  margin-bottom: 0.72rem;
}

main .wp-block-post-content ul,
main .wp-block-post-content ol {
  margin-top: 0.35rem;
  margin-bottom: 0.72rem;
}

main .wp-block-post-content li + li {
  margin-top: 0.2rem;
}

.wp-site-blocks {
  background: transparent;
}

header .wp-block-site-title,
header .wp-block-site-title a,
header .wp-block-navigation-item__content,
header .wp-block-navigation-submenu__toggle,
header nav a {
  font-size: 0.88rem;
}

header .wp-block-navigation-item__content[href*="linkedin.com"],
header .wp-block-navigation-item__content[href*="github.com"],
header nav a[href*="linkedin.com"],
header nav a[href*="github.com"] {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
}

header .wp-block-navigation-item__content[href*="linkedin.com"]::before,
header nav a[href*="linkedin.com"]::before,
header .wp-block-navigation-item__content[href*="github.com"]::before,
header nav a[href*="github.com"]::before {
  content: "";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  line-height: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

header .wp-block-navigation-item__content[href*="linkedin.com"]::before,
header nav a[href*="linkedin.com"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230A66C2' d='M20.45 20.45h-3.56v-5.58c0-1.33-.03-3.05-1.86-3.05-1.87 0-2.15 1.46-2.15 2.95v5.68H9.32V9.5h3.42V11h.05c.48-.9 1.64-1.85 3.38-1.85 3.61 0 4.28 2.38 4.28 5.48v5.82ZM5.9 7.95a2.08 2.08 0 1 1 0-4.16 2.08 2.08 0 0 1 0 4.16Zm1.78 12.5H4.12V9.5h3.56v10.95ZM22.23 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.46c.98 0 1.77-.77 1.77-1.72V1.72C24 .77 23.21 0 22.23 0Z'/%3E%3C/svg%3E");
}

header .wp-block-navigation-item__content[href*="github.com"]::before,
header nav a[href*="github.com"]::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23181717' d='M12 .3a12 12 0 0 0-3.8 23.39c.6.12.82-.26.82-.58l-.02-2.23c-3.34.73-4.04-1.42-4.04-1.42-.55-1.38-1.34-1.74-1.34-1.74-1.1-.75.08-.73.08-.73 1.21.08 1.84 1.24 1.84 1.24 1.07 1.84 2.81 1.31 3.49 1 .11-.78.42-1.31.76-1.61-2.66-.3-5.46-1.33-5.46-5.91 0-1.31.47-2.39 1.24-3.23-.12-.3-.54-1.52.12-3.17 0 0 1-.33 3.3 1.23a11.5 11.5 0 0 1 6 0c2.3-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.87.12 3.17.77.84 1.24 1.92 1.24 3.23 0 4.59-2.8 5.6-5.48 5.9.43.37.82 1.1.82 2.22l-.01 3.29c0 .32.22.7.83.58A12 12 0 0 0 12 .3Z'/%3E%3C/svg%3E");
}

main .wp-block-post-title,
main .wp-block-heading,
.mr-footer h2 {
  color: var(--mr-accent);
}

main .wp-block-post-title {
  letter-spacing: -0.03em;
  font-size: clamp(1.95rem, 3.5vw, 2.85rem);
  margin-top: 0;
  margin-bottom: 0.25rem;
  line-height: 1.02;
}

main .wp-block-heading {
  line-height: 1.15;
}

main h2.wp-block-heading {
  font-size: clamp(1.45rem, 2vw, 1.8rem);
}

main h3.wp-block-heading {
  font-size: clamp(1.08rem, 1.35vw, 1.24rem);
}

.mr-hero {
  color: var(--mr-ink);
  background: #ffffff;
  border: 1px solid var(--mr-border);
  border-radius: 28px;
  padding: clamp(0.9rem, 1.9vw, 1.3rem);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.05);
  overflow: hidden;
  gap: clamp(0.65rem, 1.25vw, 0.95rem);
}

.mr-hero p {
  color: inherit !important;
}

.mr-kicker {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.76rem;
  color: var(--mr-accent);
}

.mr-hero-lead {
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  line-height: 1.35;
  max-width: none;
  margin-bottom: 0.55rem;
  text-wrap: pretty;
}

.mr-hero-copy {
  max-width: none;
}

.mr-button-row {
  margin-top: 0.6rem;
  gap: 0.55rem;
}

.mr-button-row .wp-block-button__link {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.18);
  border-radius: 999px;
  color: var(--mr-accent);
  padding: 0.65rem 0.95rem;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: none;
}

.mr-button-row .is-style-outline .wp-block-button__link,
.mr-button-row .wp-block-button.is-style-outline .wp-block-button__link {
  background: rgba(15, 118, 110, 0.08);
  border-color: rgba(15, 118, 110, 0.18);
  color: var(--mr-accent);
}

.mr-spotlight {
  background: transparent;
  border: 0;
  border-left: 3px solid rgba(15, 118, 110, 0.24);
  border-radius: 24px;
  padding: 0 0 0 0.85rem;
}

.mr-meta-on-dark {
  color: var(--mr-ink-soft);
}

.mr-home-stat {
  margin: 0;
  padding-top: 0.55rem;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.mr-home-stat strong,
.mr-home-stat span {
  display: block;
}

.mr-home-stat strong {
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.72;
  margin-bottom: 0.28rem;
}

.mr-home-stat span {
  line-height: 1.4;
}

.mr-grid {
  margin-top: 0.7rem;
}

.mr-feature-grid {
  margin-top: 0.85rem;
  gap: 0.75rem;
}

.mr-feature-grid > .wp-block-column,
.mr-archive-panel .wp-block-columns > .wp-block-column {
  display: flex;
}

.mr-stack {
  display: grid;
  gap: 0.7rem;
  width: 100%;
}

.mr-card,
.mr-paper,
.mr-podcast-item,
.mr-highlight,
.mr-feature-card,
.mr-archive-panel {
  background: #ffffff;
  border: 1px solid var(--mr-border);
  border-radius: 22px;
  padding: 0.95rem;
  padding: 0.82rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.04);
}

.mr-card h3,
.mr-paper h3,
.mr-podcast-item h3,
.mr-feature-card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.mr-card:hover,
.mr-paper:hover,
.mr-podcast-item:hover,
.mr-feature-card:hover {
  transform: translateY(-2px);
  transition: transform 180ms ease, box-shadow 180ms ease;
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.12);
}

.mr-feature-card {
  width: 100%;
}

.mr-feature-card--podcast {
  border-top: 4px solid var(--mr-accent);
}

.mr-feature-card--podcast p,
.mr-feature-card--podcast h3,
.mr-feature-card--research p,
.mr-feature-card--research h3 {
  color: inherit;
}

.mr-feature-card--research {
  border-top: 4px solid rgba(15, 118, 110, 0.65);
}

.mr-feature-card--profiles {
  border-top: 4px solid rgba(194, 65, 12, 0.45);
}

.mr-feature-link {
  margin-top: auto;
}

.mr-feature-link a,
.mr-card a,
.mr-paper a,
.mr-podcast-item a,
.mr-highlight a,
.mr-inline-list a {
  color: var(--mr-accent);
  text-decoration-color: rgba(15, 118, 110, 0.28);
  text-underline-offset: 0.18em;
}

.mr-feature-card--podcast a {
  color: var(--mr-accent);
  text-decoration-color: rgba(15, 118, 110, 0.28);
}

.mr-archive-panel {
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin-top: 1.75rem;
}

.mr-archive-panel .wp-block-columns {
  gap: 2rem;
}

.mr-card--soft {
  background: #ffffff;
  border-color: var(--mr-border-strong);
}

.mr-section-title {
  margin-top: 1.3rem;
  margin-bottom: 0.4rem;
  letter-spacing: -0.03em;
}

.mr-paper {
  border-left: 5px solid var(--mr-accent);
  margin-bottom: 0.6rem;
}

.mr-paper-meta,
.mr-meta {
  color: var(--mr-ink-soft);
  font-size: 0.84rem;
  letter-spacing: 0.02em;
}

.mr-paper-links a,
.mr-meta a {
  text-decoration: none;
}

.mr-podcast-embed {
  overflow: hidden;
  border-radius: 22px;
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.22);
}

.mr-video-card .mr-podcast-embed {
  margin-bottom: 0.6rem;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

main .wp-block-post-content > p > a[href*="/books/"]:has(img),
.site-content > p > a[href*="/books/"]:has(img) {
  display: flex;
  align-items: center;
  gap: 1.35rem;
  text-decoration: none;
  color: var(--mr-accent);
  width: 100%;
}

main .wp-block-post-content > p > a[href*="/books/"]:has(img) img,
.site-content > p > a[href*="/books/"]:has(img) img {
  flex: 0 0 auto;
}

main .wp-block-post-content > p > a[href*="/books/"]:has(img) strong,
.site-content > p > a[href*="/books/"]:has(img) strong {
  display: flex;
  align-items: center;
  flex: 1;
  padding-inline: 0.35rem 0;
  text-align: left;
  color: var(--mr-accent);
  font-size: clamp(1.28rem, 1.75vw, 1.65rem);
  line-height: 1.14;
}

body.page-id-13 main .wp-block-post-content > p:first-of-type {
  font-size: 1.16rem;
  line-height: 1.4;
}

.mr-archive-list {
  margin: 0 0 0.85rem 1rem;
  padding-left: 1rem;
}

.mr-archive-list li + li {
  margin-top: 0.45rem;
}

.mr-inline-list {
  color: var(--mr-ink-soft);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.6rem;
}

.mr-inline-list-label {
  color: var(--mr-ink-soft);
  display: inline-flex;
  align-items: center;
  margin-right: 0.1rem;
}

.mr-inline-list a {
  text-decoration: none;
  padding: 0.48rem 0.78rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--mr-border);
}

.mr-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.6rem;
}

.mr-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--mr-accent);
  text-decoration: none;
  font-size: 0.95rem;
}

.mr-social-icon {
  width: 1.7rem;
  height: 1.7rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(15, 118, 110, 0.18);
  background: rgba(15, 118, 110, 0.12);
  color: var(--mr-accent);
  line-height: 1;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem 1rem;
}

.mr-social-icon--linkedin {
  border: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230A66C2' d='M20.45 20.45h-3.56v-5.58c0-1.33-.03-3.05-1.86-3.05-1.87 0-2.15 1.46-2.15 2.95v5.68H9.32V9.5h3.42V11h.05c.48-.9 1.64-1.85 3.38-1.85 3.61 0 4.28 2.38 4.28 5.48v5.82ZM5.9 7.95a2.08 2.08 0 1 1 0-4.16 2.08 2.08 0 0 1 0 4.16Zm1.78 12.5H4.12V9.5h3.56v10.95ZM22.23 0H1.77C.79 0 0 .77 0 1.72v20.56C0 23.23.79 24 1.77 24h20.46c.98 0 1.77-.77 1.77-1.72V1.72C24 .77 23.21 0 22.23 0Z'/%3E%3C/svg%3E");
}

.mr-social-icon--github {
  border: 0;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23181717' d='M12 .3a12 12 0 0 0-3.8 23.39c.6.12.82-.26.82-.58l-.02-2.23c-3.34.73-4.04-1.42-4.04-1.42-.55-1.38-1.34-1.74-1.34-1.74-1.1-.75.08-.73.08-.73 1.21.08 1.84 1.24 1.84 1.24 1.07 1.84 2.81 1.31 3.49 1 .11-.78.42-1.31.76-1.61-2.66-.3-5.46-1.33-5.46-5.91 0-1.31.47-2.39 1.24-3.23-.12-.3-.54-1.52.12-3.17 0 0 1-.33 3.3 1.23a11.5 11.5 0 0 1 6 0c2.3-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.87.12 3.17.77.84 1.24 1.92 1.24 3.23 0 4.59-2.8 5.6-5.48 5.9.43.37.82 1.1.82 2.22l-.01 3.29c0 .32.22.7.83.58A12 12 0 0 0 12 .3Z'/%3E%3C/svg%3E");
}

.mr-footer {
  border-top: 1px solid var(--mr-border);
}

.mr-footer p,
.mr-footer h2 {
  margin-top: 0;
}

.mr-footer a {
  text-decoration: none;
}

@media (max-width: 960px) {
  header .wp-block-group.is-layout-flex,
  header .wp-block-columns.is-layout-flex,
  header .wp-block-columns {
    gap: 0.85rem;
  }

  header .wp-block-navigation,
  header nav {
    width: 100%;
  }

  header .wp-block-navigation__container,
  header nav ul {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 0.65rem 1rem;
  }

  header .wp-block-navigation-item,
  header nav li {
    white-space: nowrap;
  }
}

@media (max-width: 900px) {
  main .wp-block-post-title {
    font-size: clamp(1.7rem, 8vw, 2.45rem);
  }

  .mr-hero {
    border-radius: 22px;
    padding: 0.85rem;
  }

  .mr-hero-lead {
    max-width: none;
  }

  .mr-hero > .wp-block-column,
  .mr-grid > .wp-block-column,
  .mr-feature-grid > .wp-block-column,
  .mr-archive-panel .wp-block-columns > .wp-block-column {
    flex-basis: 100% !important;
  }

  .mr-button-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .mr-button-row .wp-block-button,
  .mr-button-row .wp-block-button__link {
    width: 100%;
  }

  .mr-card,
  .mr-paper,
  .mr-podcast-item,
  .mr-highlight,
  .mr-feature-card,
  .mr-archive-panel {
    padding: 0.78rem;
  }

  .mr-archive-panel .wp-block-columns {
    gap: 1rem;
  }

  main .wp-block-post-content > p > a[href*="/books/"]:has(img),
  .site-content > p > a[href*="/books/"]:has(img) {
    gap: 1rem;
  }

  main .wp-block-post-content > p > a[href*="/books/"]:has(img) strong,
  .site-content > p > a[href*="/books/"]:has(img) strong {
    font-size: clamp(1.18rem, 3vw, 1.45rem);
  }

  .mr-inline-list {
    display: block;
  }

  .mr-inline-list-label {
    display: block;
    margin: 0 0 0.45rem 0;
  }

  .mr-inline-list a {
    display: inline-block;
    margin: 0 0.5rem 0.5rem 0;
  }

  main .wp-block-post-content > p > a[href*="/books/"]:has(img) {
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
  }

  main .wp-block-post-content > p > a[href*="/books/"]:has(img) strong {
    padding-inline: 0;
  }
}
/* MARK SITE CUSTOMIZATION END */
