/*
Theme Name: Mumbai Hosting Blog - Upgraded
Theme URI: https://mumbaihosting.com/
Author: Your Name
Description: Upgraded WP Blog Theme styled like Mumbai Hosting (Cairo font, grid, sidebar, advanced CSS)
Version: 1.1
*/

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;600;700&display=swap');

:root{
  --primary:#0073e6;
  --nav-bg:#cce9ff;
  --footer-bg:#0a2c52;
  --container-max:1200px;
}

*{box-sizing:border-box}
html,body{height:100%}
/*body {
    font-family: 'Cairo', sans-serif;
    margin: 0;
    padding: 0;
    background: #f7fbff;
    color: #222;
    line-height: 1.7;
    -webkit-font-smoothing:antialiased;
}
/*
/* ========================
   Container Scoped Styling
======================== */

/* --- Universal Links --- */
.container a {
    color: #0073e6;                  /* Brand color */
    text-decoration: none;           /* Remove underline */
    font-weight: 500;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    border-bottom: 1px solid transparent; /* subtle hover underline */
}

.container a:hover {
    color: #005bb5;                  /* Darker on hover */
    border-bottom: 1px solid #005bb5;
}

.container a:active,
.container a:focus {
    color: #003f7f;
    outline: none;
}

/* --- Unordered Lists --- */
.container ul {
    list-style: none; 
    margin: 1rem 0;
    padding: 0;
}

.container ul li {
    position: relative;
    padding-left: 1.6rem; /* space for arrow */
    margin-bottom: 0.6rem;
    line-height: 1.6;
    font-size: 1rem;
    color: #333;
    transition: color 0.3s ease;
}

/* Triangle arrow before each li */
.container ul li::before {
    content: "►";
    position: absolute;
    left: 0;
    top: 0;
    color: #0073e6;                 /* brand color */
    font-size: 1.1rem;
    line-height: 1.6;
    transition: color 0.3s ease, transform 0.3s ease;
}

/* Hover effect for li and arrow */
.container ul li:hover {
    color: #005bb5;                 /* darker text on hover */
}

.container ul li:hover::before {
    color: #005bb5;                 /* arrow color sync */
    transform: translateX(3px);     /* small slide animation */
}

/* --- Optional: Nested lists --- */
.container ul li ul li {
    padding-left: 2.5rem;           /* more indent for sublists */
    font-size: 0.95rem;
}

.container ul li ul li::before {
    content: "▸";                    /* smaller arrow for nested */
    font-size: 0.9rem;
}

/* Container */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* Header / Nav */
/*.header-top{
  background:#fff;
  border-bottom:1px solid rgba(0,0,0,0.04);
}*/
.main-nav {
    background: var(--nav-bg);
    color: #fff;
    padding: 1rem .5rem;
    position: relative;
    z-index: 999;
    text-transform: uppercase;
    font-size: .98rem;
    box-shadow: 0 2px 6px rgba(10,44,82,0.03);
}
.main-nav .container { display:flex; align-items:center; justify-content:space-between; }
.site-brand { font-weight:700; color:#0a2c52; text-transform:none; font-size:1.1rem; }
.main-nav ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    gap: 18px;
}
.main-nav a { color:#fff; text-decoration:none; font-weight:600; padding:.25rem .5rem; border-radius:6px; }
.main-nav a:hover{ background:rgba(0,0,0,0.05); color:#07243a; }

/* Layout */
.content { padding: 2.5rem 0 4rem; }
.with-sidebar {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 2.5rem;
  align-items:start;
}
@media (max-width: 980px){
  .with-sidebar { grid-template-columns: 1fr; padding:0 10px; }
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.6rem;
    margin: 1.6rem 0;
}
.blog-card {
    background: #fff;
    box-shadow: 0 8px 22px rgba(13,38,63,0.06);
    overflow: hidden;
    transition: transform .28s ease, box-shadow .28s ease;
    display:flex;
    flex-direction:column;
}
.blog-card:hover{ transform: translateY(-6px); box-shadow: 0 14px 36px rgba(13,38,63,0.10); }
.blog-card img{ width:100%; height:190px; object-fit:cover; display:block; }
.blog-card-content{ padding:1rem 1rem 1.2rem; flex:1; display:flex; flex-direction:column; }
.blog-card-content h3{ font-size:1.05rem; margin:0 0 .6rem; color:#07243a; }
.blog-card-content p{ color:#555; margin-bottom: .9rem; flex:1; }
.blog-card-content .meta{ font-size:.85rem; color:#7a8a99; margin-bottom:.6rem; }

/* Buttons */
.btn { display:inline-block; background:var(--primary); color:#fff !important; padding:.55rem .9rem;  font-size:.95rem; text-decoration:none; }
.btn:hover{ background:#005bb5; transform:translateY(-2px); }

/* Sidebar */
.sidebar .widget { background:#fff; border-radius:10px; padding:1rem; margin-bottom:1.2rem; box-shadow:0 6px 18px rgba(13,38,63,0.05); transition:transform .25s ease; }
.sidebar .widget:hover{ transform:translateY(-4px); }
.widget-title{ font-size:1.05rem; margin-bottom:.8rem; color:#07243a; }

/* Single Post */
.single-post { background:#fff; border-radius:12px; padding:1.6rem; box-shadow:0 10px 30px rgba(13,38,63,0.06); }
.post-title{ font-size:2rem; margin:0 0 .6rem; color:#07243a; }
.post-meta{ color:#7a8a99; font-size:.95rem; margin-bottom:1rem; }
.post-thumbnail img{ width:100%; border-radius:10px; margin-bottom:1rem; }

/* Post content typographic styles */
.post-content { font-size:1rem; color:#1f2a3a; line-height:1.9; }
.post-content h2{ font-size:1.5rem; margin-top:1.4rem; color:#07243a; }
.post-content p{ margin: .9rem 0; }
.post-content img{ max-width:100%; border-radius:8px; margin:1rem 0; }
.post-content blockquote{ background:#f1f8ff; border-left:4px solid var(--primary); padding:1rem 1.2rem; margin:1.2rem 0; font-style:italic; color:#0a2c52; }
.post-content pre{ background:#0b1220; color:#e6eef8; padding:1rem; border-radius:8px; overflow-x:auto; font-family: monospace; font-size:.9rem; }

/* Author box */
.author-box{ display:flex; gap:1rem; align-items:center; margin:1.6rem 0; background:#fbfdff; padding:1rem; border-radius:10px; border:1px solid rgba(10,44,82,0.04); }
.author-box .author-avatar img{ border-radius:50%; }
.author-info h4{ margin:0 0 .2rem; }
.author-info p{ margin:0; color:#5b6a78; }

/* Post navigation */
.post-navigation{ display:flex; justify-content:space-between; gap:1rem; margin:1.8rem 0; }
.post-navigation a{ color:var(--primary); font-weight:600; text-decoration:none; }

/* Related posts header */
.related-posts h3{ color:#07243a; margin-bottom:1rem; }

/* Footer */
.site-footer {
    background: var(--footer-bg);
    color: #fff;
    padding: 3rem 1rem;
    font-size: 0.95rem;
    position: relative;
    overflow: hidden;
}
.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    gap:2rem;
    position: relative;
    z-index: 1;
}
.site-footer h4{ margin:0 0 .7rem; color:#fff; }

/* Floating Background Icons */
.footer-bg-icons { position:absolute; width:100%; height:100%; top:0; left:0; overflow:hidden; z-index:0; pointer-events:none; }
.footer-bg-icons i{ position:absolute; font-size:3rem; color: rgba(255,255,255,0.06); animation:float 20s linear infinite; transform-origin:center; }
.footer-bg-icons i:nth-child(1){ top:12%; left:6%; font-size:4.2rem; }
.footer-bg-icons i:nth-child(2){ top:42%; left:76%; font-size:3.8rem; }
.footer-bg-icons i:nth-child(3){ top:70%; left:18%; font-size:5.2rem; }
.footer-bg-icons i:nth-child(4){ top:8%; left:82%; font-size:4.5rem; }
.footer-bg-icons i:nth-child(5){ top:56%; left:44%; font-size:3.2rem; }
.footer-bg-icons i:nth-child(6){ top:30%; left:50%; font-size:3.6rem; }
.footer-bg-icons i:nth-child(7){ top:82%; left:86%; font-size:4rem; }

@keyframes float{
  0%{ transform: translateY(0) rotate(0deg) }
  50%{ transform: translateY(-18px) rotate(8deg) }
  100%{ transform: translateY(0) rotate(0deg) }
}

/* Small tweaks */
.footer-legal{ margin-top:1.4rem; color:rgba(255,255,255,0.7); font-size:.9rem; }

/* Utility */
.text-center{text-align:center}

/* Containers */
.mh-container, .mh-container-999 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Top Bar 
.mh-topbar {
  background: #003366;
  color: #fff;
  font-size: .9rem;
  padding: .3rem 0;
}
.mh-topbar ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  gap: 1rem;
}
.mh-topbar a {
  color: #fff;
  text-decoration: none;
  font-size: .9rem;
}*/

/* Logo + Promo */
.mh-logo img {
  max-height: 54px;
	
}
.mh-logo img {
    max-height: 60px !important;
    width: auto;
    height: auto;
    display: block;
    max-width: 250px !important;
}
.mh-promo img {
  max-width: 100%;
  height: auto;
}

/* Navigation */
.mh-nav-999 {
  background: #cce9ff;
}
.mh-nav-999 .nav {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
}
.mh-nav-999 .nav li {
  margin: 0;
}
.mh-nav-999 .nav a {
  display: block;
  padding: 1rem .8rem;
  text-transform: uppercase;
  font-family: 'Cairo', sans-serif;
  font-size: .95rem;
  color: #333;
  text-decoration: none;
}
.mh-nav-999 .nav a:hover {
  background: #99d0ff;
  color: #000;
}

/* Burger menu */
.mh-burger-999 {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #333;
}

/* Responsive */
@media (max-width: 768px) {
  .mh-container, .mh-container-999 {
    flex-direction: column;
    align-items: flex-start;
  }
  .mh-promo { margin-top: .5rem; }
  .mh-burger-999 { display: block; }
  .mh-menu-999 { display: none; width: 100%; }
  .mh-menu-999.active { display: block; }
  .mh-nav-999 .nav { flex-direction: column; }
  .mh-nav-999 .nav a { padding: .8rem 1rem; }
}

/* VPS Section */
.mh-vps-section {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}
.mh-vps-text {
  font-size: 1.2rem;
  line-height: 1.6;
}
.mh-vps-btn {
  background: #ff6600;
  color: #fff;
  padding: .6rem 1.2rem;
  border-radius: 4px;
  text-decoration: none;
  margin-left: 1rem;
  transition: background .3s;
}
.mh-vps-btn:hover {
  background: #cc5200;
}

/* Footer */
.footer {
  background: #111;
  color: #ccc;
  position: relative;
  overflow: hidden;
  padding-top: 3rem;
}
.footer-bg-icons {
  position: absolute;
  inset: 0;
  font-size: 3rem;
  color: rgba(255,255,255,.05);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  z-index: 0;
}
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
  gap: 2rem;
  padding: 2rem;
  position: relative;
  z-index: 1;
}
.footer-column h3 {
  color: #fff;
  margin-bottom: 1rem;
}
.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-column ul li {
  margin-bottom: .6rem;
}
.footer-column a {
  color: #ccc;
  text-decoration: none;
}
.footer-column a:hover {
  color: #fff;
}
.footer-bottom {
  background: #000;
  text-align: center;
  padding: 1rem;
  margin-top: 1rem;
  font-size: .9rem;
}
.page-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.page-meta {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 2rem;
}

.page-content {
    font-size: 1rem;
    line-height: 1.8;
    color: #333;
}

.page-content img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 1rem 0;
}
/* Container clear fix */
/* Grid columns */
.pciwgas-pdt-cat-grid {
    width: 23%; /* 4 columns */
    margin: 1%;
    float: left;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center; /* Center content */
}

/* Inner post styling */
.pciwgas-post-cat-inner {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 200px; /* Equal height boxes */
    width: 100%;
    padding: 1rem 0.5rem;
    transition: box-shadow 0.3s, transform 0.3s;
}

.pciwgas-post-cat-inner:hover {
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
    transform: translateY(-3px);
}

/* Icon images */
.pciwgas-img-wrapper {
    width: 60px;   /* Small icon width */
    height: 60px;  /* Small icon height */
    margin: 0 auto 0.75rem auto;
    overflow: hidden;
}

.pciwgas-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Maintain icon proportions */
    display: block;
}

/* Title */
.pciwgas-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.pciwgas-title a {
    color: #0073e6;
    text-decoration: none;
    transition: color 0.3s;
}

.pciwgas-title a:hover {
    color: #005bb5;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .pciwgas-pdt-cat-grid { width: 31%; }
}

@media (max-width: 768px) {
    .pciwgas-pdt-cat-grid { width: 48%; }
}

@media (max-width: 480px) {
    .pciwgas-pdt-cat-grid { width: 98%; margin: 1% 0; }
}
/* Pagination container */
.pagination-wrapper {
    text-align: center;
    margin: 2rem 0;
    font-family: 'Cairo', sans-serif; /* matches your theme */
}

/* All page numbers */
.pagination-wrapper .page-numbers {
    display: inline-block;
    padding: 0.5rem 0.9rem;
    margin: 0 0.25rem;
    background: #cce9ff;
    color: #0073e6;
    border-radius: 50px; /* rounded pill style */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    min-width: 36px; /* uniform size */
    text-align: center;
}

/* Hover effect */
.pagination-wrapper .page-numbers:hover {
    background: #0073e6;
    color: #fff;
    transform: scale(1.1);
}

/* Current page */
.pagination-wrapper .page-numbers.current {
    background: #0073e6;
    color: #fff;
    font-weight: 700;
}

/* Previous / Next arrows */
.pagination-wrapper .prev.page-numbers,
.pagination-wrapper .next.page-numbers {
    background: #0073e6;
    color: #fff;
    font-weight: 700;
    border-radius: 50px;
    padding: 0.5rem 1rem;
}

.pagination-wrapper .prev.page-numbers:hover,
.pagination-wrapper .next.page-numbers:hover {
    background: #005bb5;
    color: #fff;
    transform: scale(1.1);
}
/* Search form wrapper */
.search-form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: 500px;
    margin: .5rem auto;
    font-family: 'Cairo', sans-serif; /* matches your theme */
}

/* Search input field */
.search-form .search-field {
    flex: 1 1 250px; /* grows to fill space */
    padding: 0.6rem 1rem;
    font-size: 1rem;
    border: 2px solid #cce9ff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Focus effect for input */
.search-form .search-field:focus {
    border-color: #0073e6;
    box-shadow: 0 0 6px rgba(0, 115, 230, 0.3);
}

/* Search button */
.search-form .search-submit {
    padding: 0.6rem 1.5rem;        /* Height and width */
    font-size: 1rem;               /* Text size */
    background-color: #0073e6;     /* Button color */
    color: #fff;                   /* Text color */
    border: none;                  /* Remove default border */
    cursor: pointer;               /* Pointer on hover */
    transition: background-color 0.3s, transform 0.2s; /* Smooth effects */
    min-width: 120px;              /* Ensures button width */
}

/* Hover effect for search button */
.search-form .search-submit:hover {
    background-color: #005bb5;     /* Darker shade on hover */
    transform: scale(1.05);        /* Slight zoom effect */
}

/* Active/focus state */
.search-form .search-submit:active,
.search-form .search-submit:focus {
    outline: none;
    box-shadow: 0 0 6px rgba(0, 115, 230, 0.4);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .search-form {
        flex-direction: column;
    }
    
    .search-form .search-submit {
        width: 100%; /* Full width button on small screens */
    }
}
.related-posts-sidebar {
    margin: 2rem 0;
    font-family: 'Cairo', sans-serif;
}

.related-posts-sidebar h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.related-posts-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.related-posts-sidebar li {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
}

.related-posts-sidebar li a {
    text-decoration: none;
    color: #0073e6;
    transition: color 0.3s;
}

.related-posts-sidebar li a:hover {
    color: #005bb5;
}

.related-posts-sidebar li img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 0.5rem;
    border-radius: 6px;
}
.sidebar {
    position: static !important;  /* removes sticky/fixed behavior */
}
