/* ===========================
   Form Styling
=========================== */
#wpforms-submit-552 {
    width: 100%;
}

/* ===========================
   Header
=========================== */
.jeg_main_menu {
  display: flex !important;
  justify-content: space-between !important;
  width: 100%;
}

.jeg_main_menu > li {
  margin: 0 6.5px; 
	margin-top: -10px;
}

.jeg_main_menu > li > a::before {
  bottom: 6px !important; 
}

.jeg_main_menu_wrapper {
  width: 100%;
}

.jeg_midbar img {
    max-height: 50px !important;
}
.jeg_header .jeg_menu.jeg_main_menu > li > a {
    color: #000000;
		font-size: 19px;
}

/* sticky nav*/
.jeg_stickybar .jeg_logo img{
	max-height: 70px;
}
/* mobile */
.jeg_mobile_logo img {
    max-height: 60px !important;
		max-width: 90%;
		margin-left: 20px;
}

.jeg_content{
	padding: 0;
}

@media(max-width: 1024px){
	.jeg_mobile_logo img{
    max-width: 70%;
    margin-left: 15%;
	}
}
/* Remove bottom margin in last paragraph of text editor */
.elementor-widget-text-editor p:last-child {
    margin-bottom: 0;
}
.jeg_main_menu>li>a {
	margin-left: -8px;
	margin-top: 10px;
}
.jeg_accountlink [aria-label="Register popup button"] {
    display: none !important;
}
.jeg_nav_account, .jeg_navbar .jeg_nav_account .jeg_menu > li > a, .jeg_midbar .jeg_nav_account .jeg_menu > li > a
 {
    font-family: Heebo, Helvetica, Arial, sans-serif;
    text-transform: uppercase;
}

/* ===========================
   Comments - Fully Disabled
=========================== */
.comments-link,
.comments-count,
.comment-link,
.post-meta-comments,
.jeg_meta_comment,
.highlander-embedded .highlander-light,
.comments-area,
.comment-respond,
#comments,
.comments,
.comment-form, #jp-relatedposts{
    display: none !important;
}


/* ===========================
   Navigation Menu
=========================== */
.menu {
    display: flex;
    gap: 15px;
    justify-content: center;
    padding: 10px;
    background-color: #fff;
}

.menu a {
    padding: 8px 16px;
    background-color: #f5f5f5;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
}

.jeg_mobile_menu li a{
	text-transform: uppercase !important;
	font-size: 25px !important;
}

.menu a:hover,
.menu .current-menu-item a {
    background-color: #e41e26;
    color: #fff;
}

.tagcloud{
	margin-bottom: 30px;
}


/* Hide Share Buttons & Redundant Headings */
body.um-page-default h1.jeg_post_title {
    display: none !important;
}

/* ===========================
   Related Content
=========================== */
#related_news_mod5 {
    display: none !important;
}
@media (max-width: 766px){
	#related_news_mod5 {
    display: block !important;
}
	.related_news{
		display:none !important;
	}
}

/* ===========================
   Single Page
=========================== */
.jeg_share_button a.expanded{
	align-items: center;
}
@media screen and (min-width: 481px) and (max-width: 689px) {
  .jeg_share_button {
    flex-wrap: nowrap !important;
    justify-content: space-between;
  }
}


/* ===========================
   Category Page
=========================== */
.jeg_cat_header_2{
	margin: 0 0 15px 0 !important;
	border: none !important;
	background: none !important;
}
.category-title-wrapper h1.jeg_cat_title{
		text-transform: uppercase;
		font-family: oswald;
	  font-weight: 500 !important;
		margin-left: -12px !important;
}
.jeg_archive_title{
	margin-top: 20px;
	font-size: 36px;
	font-family: oswald;
	text-transform: uppercase;
}

.entry-header .jeg_post_title{
	 margin: 18px 0 !important;
}

/* ===========================
   Authors Page
=========================== */
.jeg_authorpage .jeg_author_content h3{
	margin-bottom: 20px !important;
}
.jeg_archive_header{
	margin-top: 20px;
}

/* ===========================
   Footer
=========================== */
.copyright {
	text-align: center;
	margin-top: 10px;
}
.footer_logo{
	 filter: invert(1);
}

@media (max-width:600px){
	.footer_logo{
		width: 60%;
	}
}

/* DARK MODE */
body.jnews-dark-mode .footer_logo img {
    filter: none !important;
}

.col-md-4.footer_column{
margin-top: -2%;	
}
.jeg_footer_content .jeg_about{
	margin-top: 5%;
} 

/* ======== Mobile:=======*/
@media (max-width: 380px) {
    .jeg_post_excerpt {
        display: none;
    }
}
.widget_jnews_about p:last-of-type {
    margin-bottom: 30px !important;
	margin-top: -10px !important;
}
	 .jeg_pl_sm .jeg_thumb {
        width: 100px !important;
		    height: 71.1px !important;
		 margin-right: 10px;
    }
	.module3-thumb{
		height: 71.1px !important;
	}
	.jeg_footer .footer_dark .jeg_footer_heading h3, .jeg_footer .footer_dark .widget h2, .jeg_footer.dark .jeg_footer_heading h3{
		margin-top: 15px !important;
	}
	.jeg_post_title a{ font-weight: 600;}
/* Hide category label only on the first hero post (top-left) */
.jeg_heroblock_13 .jeg_hero_item_1 .jeg_post_category {
    display: none !important;
}
	.jeg_thumb .jeg_post_category{
		display: none !important;
	}
	
	.jeg_sharelist,
body.um-page-default h1.jeg_post_title {
    display: block !important;
}
	.jeg_authorbox{
		display: none! important
	}
	.jp-relatedposts{
		display: none !important;
	}
	.jeg_block_title{
		letter-spacing: unset;
		font-family: oswald;
		text-transform: uppercase;
	}
	  
/* ===========================
   Account Setting
=========================== */
.jeg_account_page .jeg_account_title {
	text-transform: uppercase;
		font-family: oswald;
		font-size: 36px;
	font-weight: 500;
	}
.jeg_account_left{
	margin-top: 30px;
}
.col-md-12.photo-field {
      display: none;
    }
/* ===========================
   Visibility Tweaks by Screen Size
=========================== */
@media (max-width: 1706px) {
    .item_wrap.jeg_nav_alignright {
        display: none !important;
    }
}

@media (max-width: 1369px) {
    .dark_mode_switch,
    .jeg_social_icon_block {
        display: none !important;
    }
}

/* ===========================
   Custom Modal Popup
=========================== */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.custom-modal-content {
    position: relative;
    background-color: #195ea9;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s ease-in-out;
}

.custom-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: #fff;
    cursor: pointer;
}

.custom-modal-title {
    color: #fff;
    font-size: 24px;
    margin-bottom: 30px;
}

.custom-modal-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.custom-modal-btn {
    background-color: #fff;
    color: #195ea9;
    padding: 12px 20px;
    border-radius: 5px;
    font-size: 16px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.custom-modal-btn:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ===========================
   Category Post Layout on Mobile
=========================== */


/* ========= MOBILE ======= */
	.jeg_post_title{
		margin: 0 !important;
	}
.jeg_mobile_menu li a{
	text-transform: uppercase;
}
	@media (max-width: 767px) {
  /* Target the actual UL element of the category list */
  ul.okayNav__nav {
    display: flex !important;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    margin-top: 10px; /* space below the title */
    padding: 8px 0;
    scrollbar-width: thin;
  }

  /* Each list item inline */
  ul.okayNav__nav li {
    flex: 0 0 auto;
    list-style: none;
  }

  /* Style each category button */
  ul.okayNav__nav li a.subclass-filter {
    display: inline-block;
    padding: 6px 12px;
    background-color: #f5f5f5;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 14px;
    color: #333;
    border: 1px solid #ddd;
    transition: background 0.2s ease;
  }

  ul.okayNav__nav li a.subclass-filter:hover {
    background-color: #e0e0e0;
  }

  /* Prevent the 3-dot menu toggle from showing */
  .okayNav__menu-toggle {
    display: none !important;
  }

  /* Ensure full category nav is shown */
  .okayNav__nav--invisible {
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    display: block !important;
  }
}

	
/******** Follow / Unsubscribe Button ******/
#subscribe-button.subscribe-btn {
  font-family: 'Oswald', sans-serif;
  background-color: #195EA9;
  color: white;
  text-transform: uppercase;
  border: none;
  padding: 8px 18px;
  cursor: pointer;
  font-size: 13px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

#subscribe-button.subscribe-btn:hover {
  background-color: #144c8c;
}

/* If Following (Subscribed) */
#subscribe-button.subscribe-btn.following {
  background-color: #f2f2f2;
  color: black;
  border: 1px solid #ccc;
}

/* Modal Styles */
.subscribe-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.6);
  animation: fadeIn 0.3s ease;
}

.subscribe-modal-content {
  background-color: #fff;
  margin: auto;
  padding: 25px 35px;
  border-radius: 8px;
  max-width: 420px;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: relative;
}

.subscribe-modal-content h3 {
  margin-top: 0;
  font-size: 20px;
  color: #195EA9;
}

.subscribe-modal-content input[type="email"] {
  width: 100%;
  padding: 10px;
  margin: 18px 0;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
}

.subscribe-modal-content button {
  background-color: #195EA9;
  color: #fff;
  border: none;
  padding: 10px 22px;
  border-radius: 4px;
  font-size: 14px;
  cursor: pointer;
  text-transform: uppercase;
}

.subscribe-modal-content button:hover {
  background-color: #144c8c;
}

/* Close Button */
.subscribe-close {
  position: absolute;
  top: 8px;
  right: 15px;
  font-size: 40px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.2s ease;
}

.subscribe-close:hover {
  color: #000;
}

/* Fade-in Animation */
@keyframes fadeIn {
  from {opacity: 0;}
  to {opacity: 1;}
}


/* This hides the entire Checkboxes section inside WPForms ID 552 */
#wpforms-552-field_6-container {
    display: none !important;
}
	/* Stronger selectors to override WPForms inline styles */
#wpforms-552 .wpforms-field-checkbox,
#wpforms-552-field_6-container,
#wpforms-552-field_6-container fieldset,
#wpforms-552-field_6-container .wpforms-field-label,
#wpforms-552-field_6-container .wpforms-field {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  padding: 0 !important;
  margin: 0 !important;
}
