/*
 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
*/

/* Global Setting */

/* Import Jost font (Google Fonts) */
/* Root Font Setup */
:root {
  --font-family-base: 'Jost', sans-serif;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;
}

/* Fluid Typography Scale (GeneratePress compatible) */
body, p, .fs-p {
  font-family: var(--font-family-base);
  font-size: clamp(16px, 1.2vw + 12px, 18px);
  line-height: var(--line-height-relaxed);
  color: var(--global-color-text, #222);
}

/* Headings */
h1, .entry-title, .fs-h1 {
  font-family: var(--font-family-base);
  font-size: clamp(26px, 1.8vw + 20px, 30px);
  line-height: var(--line-height-tight);
  font-weight: 700;
  margin-bottom: 0.5em;
}

h2, .fs-h2 {
  font-family: var(--font-family-base);
  font-size: clamp(20px, 1.5vw + 14px, 24px);
  line-height: var(--line-height-normal);
  font-weight: 600;
  margin-bottom: 0.6em;
}

h3, .fs-h3 {
  font-size: clamp(18px, 1.2vw + 12px, 22px);
  line-height: var(--line-height-normal);
  font-weight: 600;
}

h4, .fs-h4 {
  font-size: clamp(16px, 1vw + 10px, 20px);
  line-height: var(--line-height-normal);
  font-weight: 500;
}

h5, .fs-h5 {
  font-size: clamp(15px, 0.8vw + 9px, 18px);
  line-height: var(--line-height-normal);
  font-weight: 500;
}

h6, .fs-h6 {
  font-size: clamp(14px, 0.6vw + 8px, 16px);
  line-height: var(--line-height-normal);
  font-weight: 500;
}

/* Entry Meta (GeneratePress Default Style) */
.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: var(--font-family-base);
  color: var(--global-color-meta, #666);
  font-size: clamp(13px, 0.8vw + 8px, 15px);
  line-height: var(--line-height-normal);
}

.entry-meta .byline,
.entry-meta .author {
  font-weight: 600;
  font-size: clamp(14px, 0.8vw + 9px, 16px);
  color: var(--global-color-primary, #111);
}

.entry-meta .posted-on,
.entry-meta .date {
  font-weight: 400;
  opacity: 0.9;
  font-size: clamp(13px, 0.6vw + 8px, 14px);
}



@media (max-width: 768px) {
  .entry-meta {
    flex-direction: column;
    gap: 4px;
  }
}
/* Desktop - Large screens (1200px and above) */
.site-content {
    background-color: #f0f1f2;
    padding-left: 100px;
    padding-right: 100px;
    box-shadow: 0 0 12px rgba(0, 0, 0, 0.25);
}

/* Laptop/Tablet Landscape (992px - 1199px) */
@media (max-width: 1199px) {
    .site-content {
        padding-left: 60px;
        padding-right: 60px;
    }
}

/* Tablet Portrait (768px - 991px) */
@media (max-width: 991px) {
    .site-content {
        padding-left: 40px;
        padding-right: 40px;
    }
}

/* Mobile Landscape (576px - 767px) */
@media (max-width: 767px) {
    .site-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

/* Mobile Portrait (below 576px) */
@media (max-width: 575px) {
    .site-content {
        padding-left: 15px;
        padding-right: 15px;
    }
}
/* End of Global Setting */

.rank-math-breadcrumb p {
    margin-bottom: 0 !important;
}


/* next and previous post end of single post style*/
/* Post Navigation - Modern Style */
.entry-meta .post-navigation {
    background: #f5f5f5;
    padding: 40px 30px;
    margin: 40px 0;
    border-radius: 8px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
    width: 48%;
    display: inline-block;
    vertical-align: top;
}

.post-navigation .nav-previous {
    float: left;
    text-align: left;
}

.post-navigation .nav-next {
    float: right;
    text-align: right;
}

/* Hide default icons */
.post-navigation .gp-icon {
    display: none;
}

/* Previous and Next labels */
.post-navigation .nav-previous .prev::before {
    content: "« Previous:";
    display: block;
    color: #ff5722;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

.post-navigation .nav-next .next::before {
    content: "Next: »";
    display: block;
    color: #ff5722;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
}

/* Post title links */
.post-navigation a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.6;
    display: block;
    transition: color 0.3s ease;
}

.post-navigation a:hover {
    color: #ff5722;
}

/* Clear floats */
.post-navigation::after {
    content: "";
    display: table;
    clear: both;
}

/* Tablet (768px - 991px) */
@media (max-width: 991px) {
    .entry-meta .post-navigation {
        padding: 35px 25px;
    }
    
    .post-navigation .nav-previous .prev::before,
    .post-navigation .nav-next .next::before {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .post-navigation a {
        font-size: 15px;
    }
}

/* Mobile (below 768px) */
@media (max-width: 767px) {
    .entry-meta .post-navigation {
        padding: 25px 20px;
    }
    
    .post-navigation .nav-previous,
    .post-navigation .nav-next {
        width: 100%;
        float: none;
        text-align: left;
        margin-bottom: 25px;
    }
    
    .post-navigation .nav-next {
        margin-bottom: 0;
    }
    
    .post-navigation .nav-previous .prev::before,
    .post-navigation .nav-next .next::before {
        font-size: 15px;
        margin-bottom: 8px;
    }
    
    .post-navigation a {
        font-size: 14px;
    }
}

/* Small Mobile (below 576px) */
@media (max-width: 575px) {
    .entry-meta .post-navigation {
        padding: 20px 15px;
    }
    
    .post-navigation .nav-previous .prev::before,
    .post-navigation .nav-next .next::before {
        font-size: 14px;
    }
    
    .post-navigation a {
        font-size: 13px;
    }
}

/* 🔸 Global Animated Underline Style */
a,
.entry-title a,
.widget a,
.main-navigation a,
.site-footer a {
  display: inline;
  position: relative;
  color: inherit;
  text-decoration: none;
  background-image: linear-gradient(transparent calc(100% - 1px), #ff5722 1px);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.5s ease, color 0.3s ease;
}

/* 🔸 Hover Effect */
a:hover,
.entry-title a:hover,
.widget a:hover,
.main-navigation a:hover,
.site-footer a:hover {
  color: #ff5722 !important;
  background-size: 100% 100%;
}

#mobile-header .inside-navigation, .main-navigation {
    border-bottom-color: rgba(0, 0, 0, .05) !important;
    box-shadow: 0 2px 8px 0 rgba(16, 7, 104, .07) !important;
    position: relative;
}


.


.top-bar {
  background: linear-gradient(90deg, #ff4b1f, #ff9068);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  padding: 6px 0 !important;
}

.inside-top-bar {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 15px;
  box-sizing: border-box;
}

.inside-top-bar aside {
  display: flex;
  align-items: center;
}

/* Left: Date */
#block-17 {
  margin-right: auto;
}
#ag-current-datetime {
  color: #fff !important;
  font-weight: 600;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  padding: 4px 10px;
  margin: 0;
  line-height: 1;
}

/* Center: Social icons */
#block-18 {
  justify-content: center;
  flex: 1;
}
.social-media-icons-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.social-media-icons-wrapper a {
  background-color: #2b2b2b !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #fff !important;
  transition: 0.3s ease;
}
.social-media-icons-wrapper a:hover {
  background-color: #fff !important;
  color: #ff4b1f !important;
  transform: scale(1.05);
}

/* Right: Mail icon */
#block-20 {
  margin-left: auto; /* ✅ This is the key fix */
}
#block-20 svg {
  color: #fff;
  width: 20px;
  height: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .inside-top-bar {
    flex-direction: column;
    text-align: center;
    gap: 6px;
  }
  #block-17, #block-18, #block-20 {
    margin: 0 auto;
    justify-content: center;
  }
}

.top-bar p {
  margin-bottom: 0 !important;
}

.social-media-icons-wrapper {
    margin: 0 0 !important;
}

/* Resize individual icons inside top bar */
.top-bar .social-icons a {
  width: 18px !important;
  height: 18px !important;
  line-height: 18px !important;
  font-size: 14px !important;
}

.top-bar {
    background-color: var(--extra);
    color: #ffffff;
    padding-top: 5px;
}


/* Make footer menu items horizontal */
#menu-footer {
  display: flex;
  justify-content: center; /* center horizontally */
  flex-wrap: wrap; /* wrap on small screens */
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 15px; /* space between items */
}

/* Style individual links */
#menu-footer li a {
  color: #fff !important; /* white text */
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s ease;
}

/* Hover effect */
#menu-footer li a:hover {
  color: var(--extra) !important; /* accent color on hover */
}


.gb-text-740ff99f {
color: var(--extra) !important;
}


