/***********************
Theme Name: HI Sporty Child Theme
Template: superior-news-pro-premium
Author: Kamal Kr
***********************/

body {
    font-size: 17px !important; /* Change 18px as needed */
}

h1 {
    font-size: 27px !important;
}

h2 {
    font-size: 16px !important;
}

h3 {
    font-size: 16px !important;
}

:root {
  --primary-color: #055C80;          /* Main brand color */
  --primary-color-dark: #044a67;     /* Slightly darker shade for hover */
  --primary-color-light: #0a7aa8;    /* Lighter shade for gradient or accents */
  --primary-color-transparent: rgba(5, 92, 128, 0.1); /* For focus or background tint */
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.widget-header a {
  font-size: 16px !important; /* Adjust size as needed */
  font-weight: 500;
  color: #0073e6;
  text-decoration: none;
}

.widget-header a:hover {
  color: #005bb5;
  text-decoration: underline;
}


/* Top menu left-side date/time fix CLS */
.left-side {
    min-width: 150px;      /* Reserve width for date/time */
    height: 30px;          /* Reserve height for menu */
    display: flex;         /* Align items properly */
    align-items: center;   /* Center vertically */
    justify-content: flex-start; /* Align left */
    font-size: 14px;       /* Match your menu font */
}

.custom-logo {
    width: 200px !important;   /* fixes CLS */
    height: 50px !important;   /* fixes CLS */
    display: block;            /* prevents inline spacing */
    object-fit: contain;       /* ensures image scales correctly */
}

.custom-logo {
    width: auto;
    max-width: 100%;
    aspect-ratio: 250 / 69;
}


/* Default / Desktop */
.theme-wrapper {
    max-width: 95% !important; /* Keeps layout within 95% of viewport width */
    margin-inline: auto !important;       /* Centers the wrapper */
    padding-left: 6px !important;  /* Adds left padding */
    padding-right: 6px !important; /* Adds right padding */
}

/* Mobile (for screens up to 767px wide) */
@media only screen and (max-width: 767px) {
    .theme-wrapper {
        padding-left: 6px;
        padding-right: 6px;
    }
}

/* ✅ Default for desktop (important applied) */
.post-item.post-grid .post-item-content {
    padding: 3px !important; /* desktop padding */
}

/* ✅ For mobile screens */
@media (max-width: 767px) {
    .post-item.post-grid .post-item-content {
        padding: 2px !important; /* mobile padding */
    }
}

@media only screen and (max-width: 767px) {
  h1 {
    font-size: 22px !important;
    line-height: inherit;
  }
}

.post-item .post-item-image {
    border-radius: 5px;
}

.site-main article .entry-footer span a {
    text-decoration: none !important;
    color: #cf2e2e !important;
}

.nav-title {
    color: #cf2e2e !important;
}

main article .post-thumbnail img {
    border-radius: 5px;
}

.main-widget-section-wrap,
.theme-wrap {
    gap: 20px !important;
}

.archive-header {
        padding: 15px;
        border-bottom: 1px solid #ddd;
    }

    .archive-header h1 {
        margin: 0 0 10px;
        font-size: 24px;
    }

    .archive-box {
        max-width: 900px;
        margin: 20px auto;
        background: #fff;
        border: 1px solid #ddd;
        border-radius: 6px;
		text-decoration: none;
    }

    /* Navigation Wrapper */
    .main-nav {
        display: flex;
        overflow-x: auto;
        background-color: #f5f5f5;
        border-bottom: 1px solid #ddd;
        position: sticky;
        top: 0;
        z-index: 10;
    }

    /* Nav Links */
    .main-nav a {
        padding: 14px 10px;
        text-decoration: none;
        color: #333;
        font-size: 14px;
        white-space: nowrap;
        border-bottom: 3px solid transparent;
        flex-shrink: 0;
    }

    .main-nav a:hover {
        color: #0073e6;
    }

	.main-nav a:visited {
		text-decoration: none;
	}


    .main-nav a.active {
        color: #0073e6;
        font-weight: bold;
        border-bottom-color: #0073e6;
    }

    /* Hide scrollbar (mobile) */
    .main-nav::-webkit-scrollbar {
        display: none;
    }

    /* Desktop View */
    @media (min-width: 768px) {
        .main-nav {
            justify-content: center;
            overflow-x: hidden;
        }

        .main-nav a {
            font-size: 15px;
            padding: 16px 10px;
        }
    }



