/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/


/* Custom styling for WordPress code block (Publish Only) */
body:not(.is-root-container) .wp-block-code {
  background-color: #f5f5f5; /* Light gray background */
  color: #333; /* Default text color */
  padding: 16px;
  border-radius: 5px;
  font-family: 'Courier New', Courier, monospace;
  font-size: 14px;
  overflow-x: auto; /* Enables horizontal scroll if code is too wide */
  line-height: 1.5;
}

/* Style for the code inside the blocks */
body:not(.is-root-container) .wp-block-code code.language-php {
  color: #0073aa; /* Text color for PHP code */
}

/* Optional: Add border for better visibility */
body:not(.is-root-container) .wp-block-code {
  border-left: 4px solid #0073aa; /* Adds a blue left border */
  padding-left: 12px;
}

/* Specific styling for links inside published content */
/* body:not(.is-root-container) .entry-content a:not(.wp-block-button__link):not(.wp-block-latest-posts__post-title):not(.read-more) {
  text-decoration: underline;
} */

.ad-container {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  display: block; /* Ensure the ad container takes up its own line */
  text-align: center; /* Center-align the ad content for better visual presentation */
  padding: 10px 0; /* Add some vertical padding to give space above and below the ad */
}

@media (min-width: 768px) {
  .ad-container {
      max-width: 728px; /* Desktop leaderboard ad size */
  }
}

@media (max-width: 767px) {
  .ad-container {
      max-width: 300px; /* Smaller ad size for mobile devices */
  }
}



/* .wp-block-button a{
  text-decoration: underline !important;
  color: #FFFFFF !important;
} */
/* .inside-article a:not(.wp-block-button__link){
  color: #498AD5 !important;
}




.cat-links{
  font-size: 90%;
  color: #1D0370 !important;
}

.cat-links:hover{
  color: #498AD5 !important;
  text-decoration: underline;

} */
/* @media(min-width: 769px) {
  .inside-right-sidebar {
    height: 100%;
  }
  .inside-right-sidebar .widget:last-child {
    top: 60px;
    position: fixed;
    transition: transform 0.5s ease 0s;
    width: 400px;
    height: auto !important;
  }
} */

/* @media(min-width: 769px) {
  .inside-right-sidebar {
      height: 100%;
  }
  .inside-right-sidebar .widget:last-child {
    position: -webkit-sticky;
    position: sticky;
    top: 60px;
    display: flex;
    justify-content: center;
}
} */

@media (min-width: 769px) {
  #content {
      display: flex;
  }

  .inside-right-sidebar {
      min-height: 100%;
  }

  .inside-right-sidebar>*:last-child {
      position: sticky;
      top: 40px;
  }
}

#breadcrumbs {font-size: 90%; color: #545454;margin:1em 0 2em 0;}
#breadcrumbs a {display: inline; border: none; padding: 0; text-transform: none;}

/* poppins-300 - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 300;
    src: url('https://www.freecodespot.com/app/uploads/2024/03/poppins-v20-latin-300.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-regular - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 400;
    src: url('https://www.freecodespot.com/app/uploads/2024/03/poppins-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-500 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 500;
    src: url('https://www.freecodespot.com/app/uploads/2024/03/poppins-v20-latin-500.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-600 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 600;
    src: url('https://www.freecodespot.com/app/uploads/2024/03/poppins-v20-latin-600.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }
  /* poppins-700 - latin */
  @font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Poppins';
    font-style: normal;
    font-weight: 700;
    src: url('https://www.freecodespot.com/app/uploads/2024/03/poppins-v20-latin-700.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
  }

 
 // Hide featured image for page
/* .page-header-image img{
	display:none;
} */

 /* Custom CSS */
 /* body {
	padding-bottom:0px !important;
}
.site-logo a img{
    padding-top:10px;
}
.inside-header{
  padding:10px;	
}
.updated{
	display:none;
}


.page-header-image-single{
	display: initial !important;
} */

/* Remove meta data */
//.entry-meta .byline, .entry-meta .cat-links { display: none; }
//.entry-meta .posted-on { display: none; }

/* time.entry-date.published {
    display: none;
}

.inside-header{ */
/**	padding:10px !important;**/
	/* background-color:#fff;
	z-index:9999 !important;
	position: fixed;
	 top: 0;
   width: 100%;
	 box-shadow: 0 4px 2px -3px #3a3a3a;
	
}
.site-content{
	padding-top:5% !important;
}


@media (max-width: 800px) {
	.site-description{
		font-size:10px;
	}
	.site-header{
		
		padding-bottom:20px;
	}
	.site-logo{
		position:absolute;
		width:130px;
		top: 15px;
	}
	.inside-header{
	 z-index:9999 !important;
	 position: fixed;
   top: 0;
    width: 100%;
		padding:0 !important;
	}
	.site-branding-container{
		position:absolute;
		top:20px;
		left:35%;
	}
	.wp-block-latest-posts{
		margin:0;
	}
	

} */

.main-title  {
  /* font-size:16px; */
  margin: 15px;
}

 /* Custom CSS end */


 /* framer custom css */
 .custom-title::after {
	background-color: var(--contrast);
	content: '';
	display: block;
	height: 3px;
	margin: 30px auto 40px;
	width: 60px;
}
.wpf-popup-contact-form input,
.wpf-popup-contact-form textarea {
	width: 100%;
}
.wpf-popup-contact-form {
	width: 500px;
}
.single-featured-image {
	margin-top: 25px;
}
.gp-custom-tag-section {
	margin-top: 20px;
}
.button.tag {
	font-size: 15px;
  padding: 7px 15px;
  border-radius: 8px;
  margin-right: 5px;
}
 /*  framer custom*/



 /* Custom Entry Meta */

/* General styling for the byline */
.byline {
  font-size: 0.9rem;
  color: #555; /* Neutral color for text */
  font-style: italic;
  margin: 10px 0;
  margin-left: 2px;
  display: inline-block;
}

/* Styling the author's link */
.byline .author .url {
  text-decoration: none; /* Remove underline */
  color: #0073e6; /* Highlight with a professional blue */
  font-weight: bold;
  transition: color 0.3s ease, text-shadow 0.3s ease; /* Smooth hover effect */
}

/* Adding hover effect to the author's link */
.byline .author .url:hover {
  color: #005bb5; /* Slightly darker blue */
  text-shadow: 0px 0px 5px rgba(0, 115, 230, 0.5); /* Subtle glow effect */
}

/* Styling the inner span for the author's name */
.byline .author-name {
  font-weight: normal; /* Reset any inherited bold */
}

/* Mobile-friendly adjustments */
@media (max-width: 768px) {
  .byline {
      font-size: 0.8rem; /* Slightly smaller font for smaller screens */
  }
}
/* Ensure the entry meta items are displayed inline */
.entry-meta {
  display: inline-flex;
  align-items: center;
}

/* Add a separator before each entry meta item except the first one */
.entry-meta span:not(:first-child)::before {
  content: '|';
  margin: 0 5px; /* Adjust spacing around the separator */
  color: #aaa; /* Separator color */
}

 /* End Custom Entry Meta */
