/* Responsive CSS */

/* Responsive CSS - General Fixes */

/* --- Universal Box Sizing & Fluid Images --- */
@media (max-width: 767px) {
    /* Universal fixes */
    *,
    *::before,
    *::after {
        box-sizing: border-box;
    }

    img {
        max-width: 100%;
        height: auto;
    }

    iframe {
        max-width: 100%;
    }

    body {
        font-size: 12px;
        line-height: 1.6;
    }

    h1 { font-size: 2em; }
    h2 { font-size: 1.8em; }
    h3 { font-size: 1.5em; }
    h4 { font-size: 1.2em; }
    h5 { font-size: 1.1em; }
    h6 { font-size: 1em; }

    p {
        font-size: 1em;
        line-height: 1.7;
    }

    /* Layout spacing */
    .container,
    .main-container,
    .content-wrapper {
        padding-left: 15px !important;
        padding-right: 15px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden;
    }

    /* Top featured post improvements */
    .top-story-featured {
        margin-bottom: 30px;
        padding: 10px 15px;
    }

    .top-story-featured h2,
    .top-story-featured h1,
    .top-story-featured .entry-title {
        margin-bottom: 8px;
        font-size: 1.1em !important;
        font-weight: 600;
        line-height: 1.4;
    }

    .top-story-featured p {
        font-size: 1em;
        line-height: 1.6;
    }

    /* Form and input fixes */
    input[type="text"],
    input[type="email"],
    input[type="url"],
    input[type="password"],
    input[type="search"],
    input[type="number"],
    input[type="tel"],
    textarea {
        width: 100%;
        padding: 10px;
        margin-bottom: 10px;
    }

    button,
    input[type="submit"],
    input[type="reset"],
    input[type="button"] {
        width: 100%;
        padding: 12px 15px;
        margin-bottom: 10px;
    }

    /* Column stacking and sidebar */
    .theme-main-content-area,
    .widget-area,
    .site-main .col-md-8,
    .site-main .col-md-4,
    .wp-block-columns > .wp-block-column {
        width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .main-content-area + .sidebar-area,
    #primary + #secondary {
        margin-top: 30px;
    }
	.theme_blog_navigation__Wrap {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    background: #f8f8f8;
    border-radius: 12px;
  }

  .theme_blog_Nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    padding: 12px 14px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    gap: 0;
    width: 100%;
  }

  /* Hide thumbnails */
  .prev_nav_left_Img,
  .prev_nav_Right_Img {
    display: none !important;
  }

  /* Inner text container shared styles */
  .theme_blog_nav_Inner {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  /* Align "Previous Post" to the left */
  .post_nav_Left .theme_blog_nav_Inner {
    align-items: flex-start;
    text-align: left;
  }

  /* Keep "Next Post" centered */
  .post_nav_Right .theme_blog_nav_Inner {
    align-items: center;
    text-align: center;
  }

  .theme_blog_nav_Label {
    font-size: 0.72rem;
    color: #888;
    font-weight: 500;
    margin: 0;
  }

  .theme_blog_nav_Title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #222;
    margin: 0;
    line-height: 1.4;
  }

  .theme_blog_nav_Title a {
    color: inherit;
    text-decoration: none;
  }

  .theme_blog_nav_Title a:hover {
    color: #004cff;
  }
}


