/***********************
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: #055c80 !important;
}

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

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

.top-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* or space-between if you want logo left */
    gap: 10px;
}

.top-menu ul {
    display: flex;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.top-menu li {
    margin: 0 8px;
}

.gt_selector {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 15px;
    border: 1px solid #ddd;
    background: #fff;
    cursor: pointer;
}