/*
Theme Name: MRIGlobal
Theme URI: https://electrickite.com/
Author: Electric Kite
Author URI: https://electrickite.com/
Description: A custom WordPress theme for the MriGlobal project.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mriglobal
*/

/* Admin bar is 32px on desktop, 46px on mobile */
.has-admin-bar .navbar-wrapper,
.admin-bar .navbar-wrapper,
.admin-bar .offcanvas.offcanvas-end {
  top: 32px !important;
}

.admin-bar .search-overlay {
  top: 56px; /* Considering adminbar 32px*/
}

@media screen and (max-width: 782px) {
  .has-admin-bar .navbar-wrapper,
  .admin-bar .navbar-wrapper,
  .admin-bar .offcanvas.offcanvas-end {
    top: 46px !important;
  }
}

/* Site Paddings */
.site-footer {
	margin-top: 3rem;
}
.hero-internal, .hero-market {
	margin-bottom: 3rem;
}
.common-container {
	padding: 3rem 4rem;
}

.block-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 1rem;
  width: 100%;
}

/* Single News Post. */
.single-news h2.feature-block__heading {
	font-size: 32px;
}
.single-news .container.news-container {
	padding-top: 0px;
}
.single-news .feature-block {
    	min-height: 250px;
    	padding-bottom: 40px;
    	gap: 2rem;
}

@media (min-width: 992px) {
    .container.news-container {
    	width: 60%
    }
}

@media (max-width: 992px) {
figure.alignright, figure.alignleft {
    float: none;
    margin: 0 auto;
    }
 }

.common-container.feature-block {
  height: auto;
}

.news-container .common-container.feature-block {
  min-height: auto;
}

/* Utility Classes */
.no-padding-left {
  padding-left: 0 !important;
}

.no-padding-right {
  padding-right: 0 !important;
}

@media (min-width: 992px) {
  .block-container {
    padding: 0 4rem;
  }
}


/* End Site Paddings */

p {
  color: #002957;
}

img {
  border-radius: 24px;
}

.nav-logo img,
.leadership-profile__image,
.dark-block-reverse img,
.dark-block img,
.site-footer img {
  border-radius: 0;
}

/* Search Form */
form#searchform {
  width: 100%;
  display: flex;
}

audio {
  margin: 10px 0;
}

.no-results {
  padding: 1rem 0;
}

/* Search result sidebar */
.search-layout {
  justify-content: space-between;
}
/* All styles applied via .help- classes only */

.contact-form__image img {
  border-radius: 24px 0 0 24px;
}

@media (max-width: 992px) {
  .contact-form__image img {
    border-radius: 24px 24px 0 0;
  }
}

/* Container adjustments */
.mri-custom-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Target the links and spans (the actual items) */
.mri-custom-pagination .page-numbers li .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  height: 32px;
  font-family: 'Lexend', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #002957;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

/* Hover state */
.mri-custom-pagination .page-numbers li a.page-numbers:hover {
  color: #002957;
  background: #fcb316;
}

/* Active State (WordPress uses .current) */
.mri-custom-pagination .page-numbers li .page-numbers.current {
  background: #fcb316;
  pointer-events: none;
}

/* Dots/Ellipsis (WordPress uses .dots) */
.mri-custom-pagination .page-numbers li .page-numbers.dots {
  pointer-events: none;
  border-color: transparent;
  color: #002957;
}

/* Prev/Next specifically */
.mri-custom-pagination .page-numbers li .prev,
.mri-custom-pagination .page-numbers li .next {
  color: #666666;
}

/* All container padding. */
.podcast-container iframe {
  margin: 30px 0px;
}
.podcast-container,
.news-container {
  padding: 1rem 0;
}

.news-container {
  margin-top: 3rem;
}

.tagslist {
  margin-bottom: 1.5rem;
  padding-top: 1.5rem;
  color: #002957;
  font-family:
    'Lexend',
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    'Roboto',
    sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1.75;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}
.tagslist .type {
  display: inline;
}
.tagslist .type:not(:last-child)::after {
  content: '•';
  display: inline-block;
  margin: 0 0.5rem;
  color: #f89521;
  font-size: 0.875rem;
}

@media (max-width: 768px) {
  .tagslist .type:not(:last-child)::after {
    margin: 0 0.25rem;
  }
}

/* WYSIWYG Styles */
.wysiwyg-content p,
.wysiwyg-content ol,
.wysiwyg-content ul {
  padding-top: 0;
}

/* Fonts */
/* style.css */

@font-face {
  font-family: 'Font Brands';
  font-style: normal;
  font-weight: 400;
  font-display: swap; /* <--- Fixes the Lighthouse warning */
  src: url('/webfonts/fa-brands-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Font Regular';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/webfonts/fa-regular-400.woff2') format('woff2');
}

@font-face {
  font-family: 'Font Solid';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url('/webfonts/fa-solid-900.woff2') format('woff2');
}
