body {
	font-family: 'droid_serifregular';
	font-size: 16px;
	/* Optional: set a base font size */
	background-color: #f7f4f5;
	color: #6c6767;
}



body.accessibility-mode h1,
body.accessibility-mode h2 {
	font-size: 20px!important;
	line-height: 1.6;
}

body.accessibility-mode,
body.accessibility-mode p,
body.accessibility-mode span,

body.accessibility-mode h3,
body.accessibility-mode h4,
body.accessibility-mode h5,
body.accessibility-mode li,
body.accessibility-mode a,
body.accessibility-mode td,
body.accessibility-mode input,

body.accessibility-mode label {
	font-size: 20px !important;
	line-height: 1.6;
}



h1 {
	font-size: 22px;
	color: #6c6767;
}

h2 {
	font-size: 21px;
	color: #6c6767;
}

h3 {
	font-size: 20px;
	color: #6c6767;
}

h4 {
	font-size: 19px;
	color: #6c6767;
}

h4 {
	font-size: 18px;
	color: #6c6767;
}

h5 {
	font-size: 16px;
	color: #6c6767;
}




@media (min-width: 768px) {

	.container,
	.container-md,
	.container-sm {
		max-width: 95%;
	}
}

/*in case image is needed*/
.bg-menu-image {
	position: relative;
	background-image: url('/resources/images/bannermmr.jpg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}

#customCarousel {
	position: relative;
}




.custom-orcid-btn {
	padding: 4px 10px;
	font-size: 0.8rem;
	display: flex;
	align-items: center;
	gap: 6px;
	color: #747474;
}


.nav-with-bg .overlay {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.4);
	/* Adjust opacity as needed */
	z-index: 0;
}

/* Ensure content appears above overlay */
.nav-with-bg .container-fluid {
	position: relative;
	z-index: 1;
}


.container,
.container-fluid {}

.large-font {
	font-size: 20px
}

.medium{
	font-size: 14px;
}

.very-small {
	font-size: 12px
}

.hamburger-btn {
	font-size: 1.0rem;
	/* Larger icon size */
	padding: 0.5rem 1rem;
	/* More padding for easier tap */
	border-radius: 8px;
	/* Slightly rounded corners */
	border: 2px solid white;
	/* Customize border color */
	background-color: #bab6b6;
	/* Background color */
	color: white;
	/* Icon color */
	transition: all 0.3s ease;
}

.hamburger-btn:hover {
	background-color: white;
	color: #bab6b6;
	border: 2px solid #bab6b6;
}

.hamburger-btn:active {
	background-color: white !important;
	color: bab6b6 !important;
	border: 2px solid #bab6b6 !important;
}


.transparent-box {
	top: 70px;
	/* adjust to position vertically */
	right: 0;
	width: 400px;
	/* or use % */
	height: 40px;
	background-color: rgba(108, 103, 103, 0.6);
	/* semi-transparent black */
	z-index: 1000;
	border-radius: 10px;
}

.body-background {
	background-color: #f8f7f8;
	padding-bottom: 70px;
}

.underlne {
	text-decoration: underline !important;
}

.not-underlne {
	text-decoration: none !important;
}
.font_weight_normal{
	font-weight: normal!important;
}

h5.underline {
	color: white;
}

small {
	
	font-size: 9px;
}

h5 {
	color: #6c6767;
}

h6 {
	color: #6c6767;
}

p {
	color: #6c6767;
}

h3.home-logo-text {
	font-size: 1.6rem;
	text-decoration: none;
	margin: 0;
}

.basic-font-color {
	color: #6c6767;
	font-size: 14px;
}



.ol {
	color: #961750;
}

.ijo {
	color: #b11068;
}

.mco {
	color: #b45a13;
}

.etm {
	color: #2c8532;
}

.ijmm {
	color: #005d4d;
}

.br {
	color: #517775;
}

.or {
	color: #0e7eaf;
}

.mmr {
	color: #281e6e;
}

.mi {
	color: #cf1f25;
}

.wasj {
	color: #0b617c;
}

.ijfn {
	color: #5f1515;
}

.ije {
	color: #a65499;
}

.bold {
	font-weight: bold;
}


.green {
	color: #517775;
}

.white {
	color: white;
}

.pinkRed {
	color: #e30641;
}

.darkGrey {
	color: #6c6767;
}

.lightGrey {
	color: #bab6b6;
}

.darkestGrey {
	color: #625d5d;
}

.regularGrey {
	color: #6c757d
}


.pinkLight {
	color: #ded2d6;
}

.pinkRedDark {
	color: #ad3c5a;
}

.greenButton {
	color: #487e7a
}


.bg-color-1 {
	background-color: #f7f4f5;
}

.bg-color-2 {
	background-color: #e9e7e8;
}

.bg-color-3 {
	background-color: white;
}

.bg-color-4 {
	background-color: #6c6767;
}

.bg-color-5 {
	background-color: #517775;
}

.bg-color-6 {
	background-color: #bab6b6;
}

.bg-color-7 {
	background-color: #aca448
}

.bg-color-8 {
	background-color: #fbfafa;
}

.bg-color-9 {
	background-color: #e30641;
}

.bg-color-10 {
	background-color: #ad3c5a;
}
.bg-color-11 {
	background-color:#6b51db
}
.bg-color-12 {
	background-color:#f7bece
}

.intense-green{color:#2e8732}

.add-cursor {
	cursor: pointer;
}

.unstyled-link {
	text-decoration: none;
	color: inherit;
	display: block;
	/* Ensure the card remains block-level inside the link */
}

.logo-banner-img {
	max-width: 100%;
	height: 140px;

}


@media (max-width: 768px) {
  .logo-banner-img{
    height:160px;
   
  }
}
.top-logo {
	height: 60px;
	max-width: 150px;
	object-fit: contain;
}

.offcanvas-logo {
	height: 50px;
	max-width: 130px;
	object-fit: contain;
}

.navbar-nav .nav-link {
	font-weight: 600;
	color: #625d5d;
}

.navbar-nav .nav-link:hover {
	text-decoration: underline;
}

.navbar-nav .nav-link#administrationBtn {
	text-decoration: underline;
}


ul.dropdown-menu li a.dropdown-item:hover {
	background-color: #e9e7e8;
}

a.dropdown-item {
	color: #6c6767;
	font-size: 14px;
}

.dropdown-menu .dropdown-divider {
	border-color: #000 !important;
	/* black */
	margin: 0.25rem 1rem;
}

/*doesn't apply*/
div.dropdown-divider-info {
	height: 0;
	margin: .2rem .5rem 0 .5rem;
	overflow: hidden;
	border-top: 1px solid #e9ecef;
}
/* Main menu highlighting */
.nav-item.dropdown:hover > .nav-link,
.nav-item.dropdown:focus-within > .nav-link {
    background-color: #e9e7e8; 
    border-bottom: 1px solid #e9e7e8; 
}

/* Journal item highlighting when hovering its submenus */
.dropdown-menu .dropdown-item:hover,
.dropdown-menu a:hover {
    background-color: #e9e7e8; 
}

/* Nested dropdown parent stays highlighted */
.dropdown-menu li:hover > a {
    background-color: #e9e7e8;
}
.btn-login {
	background-color: white !important;
	color: #e30641 !important;
	font-size: 0.95rem;
	border: 1px solid #e30641 !important;
}

.btn-login:hover {
	color: white !important;
	background-color: #e30641 !important;
}

.btn-green {
	background-color: white !important;
	color: #517775 !important;
	font-size: 0.95rem;
	border: 1px solid #517775 !important;
}

.btn-green:hover {
	background-color: white !important;
	color: #517775 !important;
	font-size: 0.95rem;
	border: 1px solid #517775 !important;
}

a.btn {
	color: #e30641;
	font-size: 0.95rem;
	border-color: #e30641;
}

a.btn:visited {
	color: #e30641;
}

/*a.btn:hover {font-weight: bold;}*/

.btn-src {
	background-color: #e30641 !important;
	color: white !important;
	font-size: 0.9rem;
}

.btn-src:hover {
	font-weight: bold;
}


.btn-small {
	font-size: 0.8rem;
}

.btn-small:hover {
	font-weight: bold;
}

.btn-submit {
	color: #e30641;
	font-size: 0.95rem;
	border-color: #e30641;
}

.btn-submit {
	color: #e30641;
}

.btn-submit {
	font-weight: bold;
}

.btn-download {
	background-color: #e30641 !important;
	color: white !important;
	font-size: 0.95rem;
	border: 1px solid #e30641 !important;
}

.btn-download-green {
	background-color: #517775 !important;
	color: white !important;
	font-size: 0.95rem;
	border: 1px solid #517775 !important;
}

.btn-download-white {
	background-color: white !important;
	color: #e30641 !important;
	font-size: 0.95rem;
	border: 1px solid #e30641 !important;
}



input#loginBtn.btn.custom-login-btn {
	background-color: white !important;
	color: #e30641 !important;
	border-color: #e30641;
	font-size: 0.8rem;
}

input#loginBtn.btn.custom-login-btn:hover {
	color: white !important;
	background-color: #e30641 !important;
}


.btn-more-journals {
	background-color: white !important;
	color: #517775 !important;
	font-size: 0.8rem;
	border: 1px solid #517775 !important;
}

.btn-more-journals:hover {
	color: #517775 !important;
	background-color: white !important;
}

.btn-up {
	background-color: #4b6e91 !important;
	color: white !important;
	font-size: 0.8rem;
	border: 1px solid #4b6e91 !important;
}

.btn-up:hover {
	color: white !important;
	background-color: #6b8fb2 !important;
}


button.btn.btn-link {
	color: #6c6767;
	background-color: #e9e7e8;
}

a:link {
	color: #517775;
}

a:link {
	color: #517775;
}




a:visited {
	color: #517775;
}

a.dropdown-item {
	color: #625d5d ! important;

}

p a:link {
	color: #517775;
}

p a:visited {
	color: #84a9a7
}

a#advanced_search {
	color: #625d5d;
}



/* Custom black arrows using mask */



/*LOGIN*/
th {

	font-size: 1.2em;
	background: #bab6b6;
}


.bg-wrapper {
	background: url('../images/bannerbgor.jpg') top left repeat-x;
	width: 50%;
	height: 120px;
	overflow: hidden;
	position: relative;
}

.bg-wrapper img {
	height: 100%;
	object-fit: cover;
}




#mainCarousel .carousel-inner img {
	height: 300px;
	object-fit: fill;
}

.custom-orcid-btn {
	padding: 4px 10px;
	font-size: 0.8rem;
	display: flex;
	align-items: center;
	gap: 6px;
}

@media (min-width: 992px) {
	.nav-item.dropdown:hover .dropdown-menu {
		display: block;
	}
}

.main-content {
	
}


/* Ensure search input fills available space */
#searchContainer input#searchInput {
	width: 300px;
	max-width: 100%;
}

/* Remove outline on button focus for cleaner UI */
#searchToggleBtn:focus,
#searchCloseBtn:focus {
	outline: none;
	box-shadow: none;
}





.svg-icon {
	width: 1em;
	height: 1em;
}



a span {

	color: #6c6767;
	position: relative;
	transition: all 0.3s ease;
}





a span.logo_title::after {
	content: '';
	position: absolute;
	left: 0;
	bottom: -2px;
	height: 1px;
	width: 0%;
	background-color: currentColor;
	transition: width 0.3s ease;
	text-decoration: underline;

}

a:hover span::after {
	width: 100%;
	text-decoration: underline;
}


/*Search*/

input#searchFor.submenuSearch {
	width: 40em;
	height: 2.5em;
}

a#searchFor {
	background-color: white;
}






/*journal cards*/

.custom-card-container {
	/* fixed width or change as needed */
	display: flex;
	flex-direction: column;
	gap: 1.5rem;

	width: 100%;
}

.custom-card {
	background-color: white;
	display: flex;
	border-radius: 3px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
	transition: box-shadow 0.3s ease;
	font-size: 10px;
}

.custom-card:hover .card-text {
	display: block;
}


.card-title {
	font-weight: 600;
	margin-bottom: 10px;
	color: #6c6767;
}

.card-text {
	color: #6c6767;
	font-size: 14px;
	line-height: 1.5;
}


.custom-card .card-text {
	display: none;
	transition: opacity 0.3s ease;
}




.journal-icon {
	width: 80px;
	height: auto;
}


div ul li a.journal-font {
	font-size: 0.8em;
	color: #6c6767;
}

.list-group-item {
	border: none;
}


.list-group-item a.journal-font {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

/*Registration*/
input[type="text"],
input[type="password"] {
	border: 1px solid #E4E4E4;
	width: 29em;
	font-family: 'dinproregular';
	font-size: 1em;
	height: 2.52em;
}

input[type="radio"],
input[type="checkbox"] {
	height: 1.5em;
	width: 1.5em;
	margin-right: 1em;
	vertical-align: middle;
}


textarea {
	height: 7em;
	width: 25em;
	font-size: 1em;
	-webkit-appearance: textarea;
	background-color: white;
	border: 1px solid #e4e4e4;
	border-image: initial;
	-webkit-rtl-ordering: logical;
	-webkit-user-select: text;
	-webkit-box-orient: vertical;
	resize: auto;
	cursor: auto;
	white-space: pre-wrap;
	word-wrap: break-word;

}




.swipe-buttons .nav-link.active .swipe-buttons-span {
	color: white;
}

.equal-img {
  width: 100%;
  height: 200px; /* Adjust for consistent card height */
  object-fit: cover; /* Keeps aspect ratio, crops slightly if needed */
  border-top-left-radius: 0.5rem;
  border-top-right-radius: 0.5rem;
}

#swipeTabs {
	display: flex;
	border-radius: 25px;
	overflow: hidden;

	padding: 5px;
	border: 1px solid #625d5d;
}

#swipeTabs .nav-item {
	flex: 1;
	/* This makes each item take up 50% of the space */
}

#swipeTabs .nav-link {
	width: 100%;
	/* Fill the flex item */
	text-align: center;
	border: none !important;
	border-radius: 20px;
	padding: 10px 0;
	color: white;
	font-weight: 600;
	background-color: transparent;
	transition: background-color 0.3s, color 0.3s;
}

#swipeTabs .nav-link.active {
	background-color: #787575;
	color: white;
}

#swipeTabs .nav-link:hover:not(.active) {
	background-color: rgba(98, 93, 93, 0.2);
	color: white;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.card-body-home {
	text-decoration: none !important;
}

.logo-banner-img-journals-carousel {
	width: 100%;
	  height: 160px;       /* fixed height */
	  object-fit: fill;   /* crop and fill */
	  display: block;
}

@media (max-width: 768px) {
  .logo-banner-img-journals-carousel {
       /* taller banner on small screens */
	   height: 155px;    
	   object-fit: fill;
  object-fit: cover;  /* keep proportions, no distortion */
  }
}

@media (max-width: 768px) {
  .logo-banner-img-conf-carousel {
    max-height: 110px; /* smaller height for mobile */
    object-fit: cover; /* prevents cutting off on small screens */
  }
}

.carousel-inner {
	display: block;
}

.text-content a {
	text-align: left;
	display: block;
	line-height: 1.4;
	text-decoration: none;
}

.custom-carousel-button {
	all: unset;
	display: flex;
	align-items: left;
	justify-content: left;
	cursor: pointer;
}

/* Optional button wrapper (if you want padding, background, etc.) */
.custom-carousel-button span {
	width: 2rem;
	height: 2rem;
	display: block;
	background-size: contain;
	background-repeat: no-repeat;
	background-color: transparent;
}


/* Position container bottom-left inside the parent */
.carousel-controls-bottom-left {
	position: absolute;
	bottom: 10px;
	left: 10px;
	z-index: 10;
}


/* Style for custom carousel buttons */
.custom-carousel-button-conf {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #ffffff;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 85%;
  transform: translateY(-50%);
  z-index: 10;
  transition: background-color 0.3s ease;
}



.custom-carousel-button-conf:hover {
  background-color: #f0f0f0;
}

.custom-carousel-button-conf.prev {
  left: 1rem;
}

.custom-carousel-button-conf.next {
  right: 1rem;
}



/* 📱 Mobile adjustments */
@media (max-width: 768px) {
  .custom-carousel-button-conf {
    width: 30px;
    height: 30px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .custom-carousel-button-conf.prev {
    left: 0.5rem;
  }

  .custom-carousel-button-conf.next {
    right: 0.5rem;
  }
}

/* 📱 Even smaller screens (optional) */
@media (max-width: 768px) {
  .custom-carousel-button-conf {
    width: 25px;
    height: 25px;
  }
}

/* 📱 Even smaller screens (optional) */
@media (max-width: 480px) {
  .custom-carousel-button-conf {
    width: 25px;
    height: 25px;
  }
}

/* Override Bootstrap's default icons to make them black */
.carousel-control-prev-icon-conf,
.carousel-control-next-icon-conf {
 
  width: 20px;
  height: 20px;
}





.hidden-article {
	display: none;
}

.article-flex-container {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 20px;
}

.article-main {
	padding: 0.3rem;
	/* Optional highlight bar */
	border-radius: 0.5rem;
	flex: 1;
}

.article-main a{
	text-decoration: none;
}

.article-main h4 {
	font-size: 1rem;
	font-weight: 600;
	margin-top: 0.5rem;
	text-decoration: none !important;
	color:#6c757d;
}

.article-main h4:hover {
	text-decoration: underline;
}

.article-main h3 {
	font-size: 0.80rem;
	color: #6c757d;
	margin-bottom: 0.5rem;
}

.article-main .article_type {
	font-size: 0.7rem;
	font-weight: bold;
	color: #fff;
	background-color: #4b6e91;
	padding: 0.2rem 0.5rem;
	border-radius: 0.25rem;
	margin-right: 0.5rem;
}

.article-main .special_issue_link {
	font-size: 0.7rem;
	border: 1px solid #4b6e91;
	font-weight: bold;
	color: #4b6e91;
	background-color: white;
	padding: 0.2rem 0.5rem;
	border-radius: 0.25rem;
	text-decoration: none;
	cursor: pointer;
}

.article-main .special_issue_link:hover {
	font-weight: bold;
	color: #4b6e91;
}
.article_open_access {
	font-size: 0.9rem;
	font-weight: bold;
	border: 1px solid #4b6e91;
	color: #4b6e91;
	background-color: white;
	padding: 0.25rem 0.6rem;
	border-radius: 1rem;
	cursor: default;
}

.article-main .article_open_access {
	font-size: 0.7rem;
	font-weight: bold;
	border: 1px solid #4b6e91;
	color: #4b6e91;
	background-color: white;
	padding: 0.25rem 0.6rem;
	border-radius: 1rem;
	margin-left: 0.5rem;
	cursor: default;
}





.article-main h6 {
	font-size: 0.7rem;
	color: #6c757d;
	margin: 0.5rem 0;
	font-weight: 600;

}

.article-main .inline {
	gap: 1rem;
	align-items: center;
	margin-top: 0.75rem;
}



.article-icons {
	flex: 0 0 auto;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
	padding-left: 10px;
}

.article-actions {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.article-actions img {
	width: 24px;
	height: 24px;
	cursor: pointer;
}

.article-card {
	margin-bottom: 20px;
	padding: 0 5px 0 5px;
	border: 1px solid #ddd;
	border-radius: 8px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
	background-color: #fff;
}

/* #submissionsTable.table, th, td {
     border: 1px solid #6c757d;
	 color:#484545;
   }*/

#filesInfo,
th,
td,
tr,
thead {
	color: #6c6767 !important;
	font-size: 1em !important;
}

.sidebar-text {
	font-size: 14px;
}





.custom-divider {
	border: 0;
	border-top: 3px solid #bab6b6;
	/* Teal color */
	margin: 1rem 0;
}

.active>.page-link,
.page-link.active {

	background-color: #6c757d;
	border-color: #6c757d;

}


.sidebar-box-sticky {
	position: sticky;
	top: 0;
	/* distance from the top of viewport */
	z-index: 1020;
}


/****osats****/
.form-check-input:checked {
	background-color: #6c757d;
	/* green background */
	border-color: #6c757d;
	/* green border */
	/* optionally add box-shadow */
	box-shadow: 0 0 0 0.25rem rgba(186, 182, 182, 0.25);
}

#submissionsTable {
	--bs-table-hover-bg: #dcdada;
	/* Light cyan background, change as needed */
}

#authorInfo{
	--bs-table-hover-bg: #dcdada;
	/* Light cyan background, change as needed */
}

#filesInfo {
	--bs-table-hover-bg: #dcdada;
	/* Light cyan background, change as needed */
}

#fundInfo {
	--bs-table-hover-bg: #dcdada;
	/* Light cyan background, change as needed */
}

#suggestedReviewerInfo{
	--bs-table-hover-bg: #dcdada;
	/* Light cyan background, change as needed */
}

#oppositeReviewerInfo{
	--bs-table-hover-bg: #dcdada;
	/* Light cyan background, change as needed */
}


#navbar_gdpr {
  display: none; /* hidden by default */
  position: fixed;
  bottom: 0;
  z-index: 9999;
  
  
  bottom: 2px;   /* distance from bottom of the viewport */
  right: 80px; 
  max-width: 500px;
  margin-bottom: 10px;
 
  overflow: hidden;
  max-height: 200px;
  box-shadow: 2px 2px 5px 2px rgba(0, 0, 0, 0.2); 
}

#navbar_gdpr .d-flex {
 
  flex-direction: column;
  align-items: flex-end;  
 
}


#navbar_gdpr .list-group {
  list-style: none;
  margin: 0;
  padding: 0;
  width: 100%;
  background: transparent;
}

#navbar_gdpr .list-group p{
	font-size:16px !important;
}

#navbar_gdpr .list-group span{
	font-size:16px !important;
}


#navbar_gdpr .list-group-item a {
    text-decoration: none;
    color: #625d5d;
    transition: color 0.2s ease;
    font-size: 16px; 
	color: #4b6e91;
}

.dropdown-submenu {
  position: relative;
}
/* Hide ALL nested dropdown menus by default */
.dropdown-submenu .dropdown-menu {
    display: none !important;
    position: absolute;
    left: 100%;
    top: 0;
    margin-top: 0;
    margin-left: -1px;
    }
/* Only show submenus on hover for journal dropdown specifically */
.dropdown-menu[aria-labelledby="infoDropdownLs"] .dropdown-submenu:hover .dropdown-menu {
    display: block !important;
  }
    
/* Create a hover bridge to prevent flickering - only for journal dropdown */
.dropdown-menu[aria-labelledby="infoDropdownLs"] .dropdown-submenu::before {
    content: '';
    position: absolute;
    top: 0;
    right: -5px;
    width: 5px;
    height: 100%;
    z-index: 999;
    background: transparent;
}

/* Ensure proper z-index */
.dropdown-menu {
    z-index: 1000;
}
.dropdown-submenu .dropdown-menu {
    z-index: 1001;
}



.border_ebm_color{
	 border-color: #e9e7e8!important;
}
input#orcid.form-control.w-5{
	height:auto !important;
}


.modern-control {
        width: 35px;
        height: 35px;
        border-radius: 50%;
        -webkit-backdrop-filter: blur(8px);
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0.95;
        top: 84%;
        transform: translateY(-50%);
        transition: all 0.3s ease;
    }

   

    /* Arrow styling */
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
       
        width: 18px;
        height: 18px;
    }

    /* Hover effect */
    .modern-control:hover {
        background: rgba(255, 255, 255, 0.5);
        transform: translateY(-50%) scale(0.9);
        box-shadow: 0 3px 12px rgba(0,0,0,0.35);
    }

    /* Responsive tweak for small screens */
    @media (max-width: 768px) {
        .modern-control {
            width: 35px;
            height: 35px;
        }
        
    }
	.inline-citations {
	  display: flex;
	  align-items: center;
	}
	
	@media (max-width: 768px) {
	  .article-flex-container {
	    display: block !important; /* stop flex alignment */
	  }
	  .article-main {
	    width: 100% !important;
	    flex: 1 1 100% !important;
	  }
	}