/*
Theme Name: Grow
Theme URI: https://aapolix.com
Author: Rajkumar Dan
Description: Lightweight AI-ready WordPress theme optimized for performance and SEO.
Version: 1.5
License: GPLv2 or later
Text Domain: grow
*/

/* Color Scheme Start */
:root{
/* ---------- SURFACE (Glass Base) ---------- */
--surface-bg: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
--surface-bg-solid: #ffffff;
--surface-glass: rgba(255,255,255,0.72);
--surface-glass-strong: rgba(255,255,255,0.86);
/* ---------- TEXT ---------- */
--surface-text: #0f172a;
--surface-text-muted: #475569;
--surface-text-black: #0b0f19;
/* ---------- BORDER ---------- */
--surface-border: rgba(15,23,42,0.08);
--surface-border-strong: rgba(15,23,42,0.14);
/* ---------- BRAND ACCENT (Refined Indigo + Red hint) ---------- */
--surface-primary: #4f46e5;          /* premium indigo */
--surface-primary-soft: rgba(79,70,229,0.12);
--surface-accent: #ef4444;           /* controlled red (not aggressive) */
--surface-accent-soft: rgba(239,68,68,0.12);
/* ---------- SHADOWS (Soft Glass Elevation) ---------- */
--shadow-xs: 0 1px 1px rgba(15,23,42,0.04);
--shadow-sm: 0 2px 6px rgba(15,23,42,0.06),
             0 8px 16px rgba(15,23,42,0.08);
--shadow-md: 0 6px 16px rgba(15,23,42,0.08),
             0 16px 32px rgba(15,23,42,0.12);
--shadow-glow: 0 0 0 1px rgba(79,70,229,0.15),
               0 12px 40px rgba(79,70,229,0.18);
/* ---------- BUTTONS ---------- */
--surface-btn-bg: linear-gradient(135deg, var(--surface-primary), #6366f1);
--surface-btn-solid: var(--surface-primary);
--surface-btn-text: #ffffff;
--surface-btn-bg-hover: linear-gradient(135deg, #4338ca, #4f46e5);
--surface-btn-shadow: 0 10px 25px rgba(79,70,229,0.25);
/* optional accent button (danger / highlight) */
--surface-btn-accent: linear-gradient(135deg, #ef4444, #f97316);
/* ---------- DARKEN / OVERLAY ---------- */
--surface-darken-strength: 0.10;
/* ---------- GLASS EFFECT CONTROL ---------- */
--glass-blur: 16px;
--glass-saturation: 180%;
}
[data-surface="White"]{
/* ---------- BACKGROUND (Soft White Layers) ---------- */
--surface-bg: linear-gradient(180deg, #ffffff 0%, #ffffff 100%);
--surface-bg-solid: #ffffff;
--surface-bg-muted: #f1f5f9;
/* ---------- GLASS SURFACE ---------- */
--surface-glass: rgba(255,255,255,0.75);
--surface-glass-strong: rgba(255,255,255,0.9);
/* ---------- TEXT ---------- */
--surface-text: #0f172a;          /* primary */
--surface-text-muted: #475569;    /* secondary */
--surface-text-soft: #64748b;     /* tertiary */
--surface-text-black: #020617;
/* ---------- BORDER ---------- */
--surface-border: rgba(15,23,42,0.08);
--surface-border-strong: rgba(15,23,42,0.14);
/* ---------- ACCENT (Premium Indigo) ---------- */
--surface-primary: #4f46e5;
--surface-primary-soft: rgba(79,70,229,0.12);
/* ---------- OPTIONAL ACCENT (Status / Highlight) ---------- */
--surface-accent: #0ea5e9; /* soft sky blue */
--surface-success: #22c55e;
--surface-warning: #f59e0b;
--surface-danger: #ef4444;
/* ---------- SHADOWS (Soft Elevation) ---------- */
--shadow-xs: 0 1px 1px rgba(15,23,42,0.04);
--shadow-sm: 0 2px 8px rgba(15,23,42,0.06);
--shadow-md: 0 8px 24px rgba(15,23,42,0.10);
--shadow-lg: 0 16px 40px rgba(15,23,42,0.12);
/* ---------- BUTTONS ---------- */
--surface-btn-bg: linear-gradient(135deg, #6366f1, #22d3ee);
--surface-btn-solid: #4f46e5;
--surface-btn-text: #ffffff;
--surface-btn-hover: linear-gradient(135deg, #666666, #111111);
--surface-btn-shadow: 0 10px 25px rgba(79,70,229,0.25);
/* ---------- GLASS EFFECT ---------- */
--glass-blur: 16px;
--glass-opacity: 0.75;
/* ---------- OVERLAY ---------- */
--surface-overlay: rgba(15,23,42,0.04);
}
[data-surface="Royal-Blue"]{
/* ---------- BACKGROUND (Deep Glass Blue) ---------- */
--surface-bg: linear-gradient(
    135deg,
    rgba(79,70,229,0.18) 0%,
    rgba(30,64,175,0.22) 50%,
    rgba(2,6,23,0.95) 100%
);
--surface-bg-solid: #1e3a8a;
/* ---------- GLASS EFFECT ---------- */
--surface-glass: rgba(255,255,255,0.08);
--surface-glass-strong: rgba(255,255,255,0.12);
--glass-blur: 18px;
/* ---------- TEXT (High contrast for dark blue surface) ---------- */
--surface-text: #f8fafc;
--surface-text-muted: rgba(248,250,252,0.72);
--surface-text-soft: rgba(248,250,252,0.55);
/* ---------- BORDER (Soft glow edges) ---------- */
--surface-border: rgba(255,255,255,0.10);
--surface-border-strong: rgba(99,102,241,0.25);
/* ---------- ACCENT (Refined Royal Indigo) ---------- */
--surface-primary: #6366f1;
--surface-primary-soft: rgba(99,102,241,0.18);
/* ---------- BUTTONS ---------- */
--surface-btn-bg: linear-gradient(135deg, #6366f1, #4f46e5);
--surface-btn-solid: #6366f1;
--surface-btn-text: #ffffff;
--surface-btn-hover: linear-gradient(135deg, #4f46e5, #4338ca);
--surface-btn-shadow: 0 12px 30px rgba(99,102,241,0.35);
/* ---------- SHADOWS (Floating depth) ---------- */
--shadow-xs: 0 1px 1px rgba(0,0,0,0.25);
--shadow-sm: 0 4px 12px rgba(0,0,0,0.25);
--shadow-md: 0 10px 30px rgba(0,0,0,0.35);
--shadow-glow: 0 0 0 1px rgba(99,102,241,0.25),
               0 20px 60px rgba(99,102,241,0.20);
/* ---------- OVERLAY ---------- */
--surface-overlay: rgba(0,0,0,0.25);
/* ---------- OPTIONAL ACCENTS ---------- */
--surface-success: #22c55e;
--surface-warning: #f59e0b;
--surface-danger: #ef4444;
}

[data-surface="Neutral-Electric"]{
/* ---------- BASE (Frosted White System) ---------- */
--surface-bg: linear-gradient(180deg, #ffffff 0%, #f6f8fb 100%);
--surface-bg-solid: #ffffff;
--surface-bg-muted: #eef2f7;
/* ---------- GLASS ---------- */
--surface-glass: rgba(255,255,255,0.72);
--surface-glass-strong: rgba(255,255,255,0.88);
/* ---------- TEXT ---------- */
--surface-text: #0b1220;
--surface-text-muted: #445164;
--surface-text-soft: #6b7a90;
/* ---------- BORDER ---------- */
--surface-border: rgba(15,23,42,0.07);
--surface-border-strong: rgba(15,23,42,0.12);
/* ---------- PRIMARY (Electric Indigo - key trend) ---------- */
--surface-primary: #5b5cff;
--surface-primary-hover: #4c4df5;
--surface-primary-soft: rgba(91,92,255,0.12);
/* ---------- SECONDARY ACCENT (Cool Cyan Glow) ---------- */
--surface-accent: #22d3ee;
--surface-accent-soft: rgba(34,211,238,0.12);
/* ---------- STATUS COLORS (Muted, non-neon) ---------- */
--surface-success: #22c55e;
--surface-warning: #f59e0b;
--surface-danger: #ef4444;
/* ---------- SHADOWS (Floating Glass Depth) ---------- */
--shadow-xs: 0 1px 2px rgba(15,23,42,0.04);
--shadow-sm: 0 4px 12px rgba(15,23,42,0.06);
--shadow-md: 0 10px 30px rgba(15,23,42,0.10);
--shadow-lg: 0 20px 60px rgba(15,23,42,0.14);
/* ---------- GLOW (Subtle, not flashy) ---------- */
--shadow-glow: 0 0 0 1px rgba(91,92,255,0.18),
               0 12px 40px rgba(91,92,255,0.18);
/* ---------- BUTTONS ---------- */
--surface-btn-bg: linear-gradient(135deg, #5b5cff, #7c7dff);
--surface-btn-solid: #5b5cff;
--surface-btn-text: #ffffff;
--surface-btn-hover: linear-gradient(135deg, #4c4df5, #5b5cff);
--surface-btn-shadow: 0 10px 30px rgba(91,92,255,0.28);
/* ---------- GLASS CONTROL ---------- */
--glass-blur: 18px;
--glass-opacity: 0.75;
/* ---------- OVERLAY ---------- */
--surface-overlay: rgba(15,23,42,0.04);
}

[data-surface="Black-Glass"]{
/* ---------- BASE (Deep Luxury Background) ---------- */
--surface-bg: linear-gradient(180deg, #0b0f19 0%, #020617 100%);
--surface-bg-solid: #020617;
--surface-bg-muted: #0f172a;
/* ---------- GLASS (Dark Frosted Layers) ---------- */
--surface-glass: rgba(255,255,255,0.04);
--surface-glass-strong: rgba(255,255,255,0.08);
/* ---------- TEXT ---------- */
--surface-text: #f8fafc;
--surface-text-muted: #cbd5f5;
--surface-text-soft: #94a3b8;
/* ---------- BORDER ---------- */
--surface-border: rgba(255,255,255,0.08);
--surface-border-strong: rgba(255,255,255,0.14);
/* ---------- PRIMARY (Royal Indigo Glow) ---------- */
--surface-primary: #6366f1;
--surface-primary-hover: #4f46e5;
--surface-primary-soft: rgba(99,102,241,0.18);
/* ---------- LUXURY ACCENT (Soft Gold Highlight) ---------- */
--surface-accent: #f5d08a;
--surface-accent-soft: rgba(245,208,138,0.18);
/* ---------- STATUS COLORS ---------- */
--surface-success: #22c55e;
--surface-warning: #f59e0b;
--surface-danger: #ef4444;
/* ---------- SHADOWS (Depth + Glow) ---------- */
--shadow-xs: 0 1px 2px rgba(0,0,0,0.5);
--shadow-sm: 0 6px 18px rgba(0,0,0,0.6);
--shadow-md: 0 12px 40px rgba(0,0,0,0.7);
--shadow-lg: 0 24px 80px rgba(0,0,0,0.85);
/* ---------- GLOW (Premium effect) ---------- */
--shadow-glow: 0 0 0 1px rgba(99,102,241,0.25),
               0 20px 60px rgba(99,102,241,0.25);
/* ---------- BUTTONS ---------- */
--surface-btn-bg: linear-gradient(135deg, #6366f1, #4f46e5);
--surface-btn-solid: #6366f1;
--surface-btn-text: #ffffff;
--surface-btn-hover: linear-gradient(135deg, #4f46e5, #4338ca);
--surface-btn-shadow: 0 12px 35px rgba(99,102,241,0.35);
/* optional luxury gold button */
--surface-btn-accent: linear-gradient(135deg, #f5d08a, #eab308);
/* ---------- GLASS CONTROL ---------- */
--glass-blur: 20px;
--glass-opacity: 0.08;
/* ---------- OVERLAY ---------- */
--surface-overlay: rgba(0,0,0,0.5);
}
/* Color Scheme End */


/* Global Reset Start */
*,*::before,*::after{box-sizing:border-box;}
*{transition:background 0.3s ease,box-shadow 0.3s ease,border 0.3s ease;}
html{overflow-x:clip;}
p {margin-top: 0;line-height:25px;}
a{color:var(--surface-text); text-decoration: none;}
body,html{font-family: system-ui, sans-serif;}
body{
margin:0;
padding:0;
font-weight:400;
font-size: 16px;
line-height:1.7;
background:var(--surface-bg);
color:var(--surface-text);
}
p{color:var(--surface-text);}
.text-muted{--bs-text-opacity:1;color:var(--surface-text)!important;}
html {
  scroll-behavior: smooth;
}
/* Global Reset End */

/* Header Navbar Start */
nav.navigation h2.screen-reader-text {
    display: none;
}
.search-form .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
/*=============================*/
/*NAVBAR*/
/*=============================*/
.navbar-brand  {margin-right: 0px !important;}
/* Ensure logo link does not stretch */
.custom-logo-link {
    display: inline-block; /* prevents full-width */
    max-width: 100%;       /* responsive */
}
/* Logo image sizing */
.custom-logo {
    display: block;        /* remove inline spacing */
    max-height: 50px;      /* adjust height */
    width: auto;           /* maintain aspect ratio */
}
/* Navbar alignment for mobile first */
.navbar .container-fluid {
    display: flex;
    justify-content: space-between; /* LOGO left, toggler right */
    align-items: center;
}
/* Optional: adjust navbar toggler spacing */
.navbar-toggler {
    margin-left: auto;
}
.navbar{
background:var(--surface-bg);
color:var(--surface-text);
box-shadow:var(--shadow-sm);
border-bottom:1px solid var(--surface-border);
}
/*Top-level links*/
.navbar-nav .nav-link{
color:var(--surface-text);
font-weight:500;
font-size:0.81rem;
padding:0.7rem;
background:transparent;
transition:color 0.2s ease;
text-transform:uppercase;
}
.navbar-nav .nav-link:hover{color:var(--surface-text);}
.navbar-nav .nav-link.show{color:var(--surface-text);}
/*Dropdown*/
.dropdown-menu{
position:absolute;
z-index:1000;
min-width:220px;
margin:0;
padding:0;
background:var(--surface-bg);
color:var(--surface-text);
border:none;
border-radius:0;
box-shadow:var(--shadow-sm);
}
.dropdown-item{
padding:0.6rem 1rem;
font-weight:500;
font-size:0.81rem;
text-transform:uppercase;
color:var(--surface-text);
background:var(--surface-bg-solid);
border:0;
border-bottom:1px solid var(--surface-border);
transition:background-color 0.2s ease,color 0.2s ease;
}
.dropdown-item:hover,
.dropdown-item:focus{
background:var(--surface-bg);
color:var(--surface-text);
}
.dropdown-item.active{
background:transparent;
color:var(--surface-text);
font-weight:500;
}
.dropdown-item+.dropdown-item{border-top:1px solid var(--surface-border);}

/* ===============================
Custom 3-Line Hamburger Toggler
=============================== */
.navbar-toggler{
    width: 1.5em;
    height: 1em;
    position: relative;
    border: none;
    background: transparent; /* keep toggler transparent */
    padding: 0;
}
.navbar-toggler span,
.navbar-toggler::before,
.navbar-toggler::after{
    content: "";
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--surface-text); /* fallback black */
    transition: all 0.3s ease;
}
/* Top line */
.navbar-toggler::before{
    top: 0;
}
/* Middle line */
.navbar-toggler span{
    top: 50%;
    transform: translateY(-50%);
}
/* Bottom line */
.navbar-toggler::after{
    bottom: 0;
}
/* Search form */
.navbar .d-flex {
  flex-direction: column;
  width: 100%;
  gap: 0.5rem;
  margin-top: 0.5rem;
}
.navbar .form-control {
  width: 100%;
  padding: 8px 12px;
  border-radius: 5px;
  border: 1px solid var(--surface-border);
  font-size: 14px;
}
.navbar .btn {
  border-radius: 5px;
  padding: 8px 12px;
  background:var(--surface-bg);
  color:var(--surface-text);
  border: 1px solid #ccc;
  font-weight: 600;
}
.navbar .btn:hover {
  background:var(--surface-bg-solid);
}
/* Header Navbar End */

/* Breadcrum Start */
.seo-breadcrumb {
    font-size: 12px;
    margin: 25px 0px 10px 0px;	
}
.seo-breadcrumb ol {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.seo-breadcrumb li {
    display: flex;
    align-items: center;
    color:var(--surface-text);
}
.seo-breadcrumb li a {
    text-decoration: none;
    color:var(--surface-text);
}
.seo-breadcrumb li a:hover {
    text-decoration: none;
}
.seo-breadcrumb li::after {
    content: "›";
    margin: 0 8px;
    color:var(--surface-text);
}
.seo-breadcrumb li:last-child::after {
    content: "";
}
.seo-breadcrumb .active {
    color:var(--surface-text);
    font-weight: 500;
}
/* Breadcrum End */
/* Post Content Start */
/* ================= LAYOUT FIX ========================= */
.yge-sidebar {
    margin-top: 0;
    padding-left: 0;
}
/* ================= POST CONTENT ======================= */
.yge-post-content {
    padding: 32px 28px;
    border-radius: 18px;
    border: 1px solid var(--surface-border);
    background: var(--surface-glass);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
	margin-bottom: 48px;
   /* box-shadow: var(--shadow-sm);*/
}
/* Title */
.yge-post-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--surface-text);
    margin-bottom: 16px;
    letter-spacing: -0.3px;
}
/* Body */
.yge-post-body {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--surface-text-muted);
}
/* Headings inside content */
.yge-post-body h2,
.yge-post-body h3,
.yge-post-body h4 {
    color: var(--surface-text);
    margin-top: 28px;
    margin-bottom: 12px;
}
/* Links */
.yge-post-body a {
    color: var(--surface-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.25s;
}
.yge-post-body a:hover {
    border-color: var(--surface-primary);
}
/* Internal link box */
.internal-link-box {
    margin: 20px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--surface-primary);
    background: var(--surface-glass-strong);
    border-radius: 10px;
    box-shadow: var(--shadow-xs);
}
/* ================= RELATED POSTS ====================== */
.related-posts {
    margin-top: 40px;
}
.related-title {
    font-size: 1.2rem;
    color: var(--surface-text);
    margin-bottom: 14px;
}
.related-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
/* Button (shared system) */
.yge-btn {
    padding: 8px 16px;
    border-radius: 999px;
    border: none;
    background: var(--surface-btn-bg);
    color: var(--surface-btn-text);
    box-shadow: var(--surface-btn-shadow);
    transition: all 0.25s ease;
}
.yge-btn:hover {
    background: var(--surface-btn-hover);
    transform: translateY(-2px);
}
/* ================= SIDEBAR ============================ */
.yge-widget {
    padding: 16px;
    margin-bottom: 18px;
    border-radius: 16px;
    background: var(--surface-glass);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
/* Hover lift */
.yge-widget:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}
/* Title */
.yge-widget-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--surface-text);
    margin-bottom: 12px;
    display: inline-block;
}
/* Gradient underline */
.yge-widget-title::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 6px;
    border-radius: 10px;
    background: linear-gradient(
        90deg,
        var(--surface-primary),
        var(--surface-accent)
    );
    opacity: 0.85;
    transition: all 0.3s ease;
}
/* Glow on hover */
.yge-widget:hover .yge-widget-title::after {
    transform: scaleX(1.05);
    box-shadow: var(--shadow-glow);
}
/* Text */
.yge-widget p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--surface-text-muted);
}
/* List */
.yge-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.yge-widget li {
    padding: 6px 0;
    font-size: 0.9rem;
    color: var(--surface-text-muted);
    transition: 0.25s;
}
/* Remove bullet completely */
.yge-widget li::before {
    content: none;
}
/* Hover interaction */
.yge-widget li:hover {
    color: var(--surface-text);
    transform: translateX(3px);
}
/* Links */
.yge-widget a {
    color: var(--surface-text-muted);
    text-decoration: none;
    transition: 0.25s;
}
.yge-widget a:hover {
    color: var(--surface-primary);
}
/* Sidebar button */
.yge-widget .yge-btn {
    margin-top: 12px;
    width: fit-content;
}
/* Blockquote */
.yge-post-body blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 3px solid var(--surface-accent);
    background: var(--surface-glass-strong);
    border-radius: 10px;
    color: var(--surface-text-muted);
}
/* Code */
.yge-post-body code {
    padding: 3px 6px;
    border-radius: 6px;
    background: var(--surface-bg-muted);
    color: var(--surface-accent);
}
/* Divider */
.yge-post-body hr {
    border: none;
    height: 1px;
    background: var(--surface-border);
    margin: 25px 0;
}
/* Post Content End */
/* Page Content Start */
/* ===== HEADER ===== */
.yge-page-header {
    text-align: center;
    padding: 20px 20px 10px;
}
/* ===== TITLE ===== */
.yge-page-header .yge-page-title {
    margin: 0 auto 12px;
    max-width: 900px;
}
/* ===== BREADCRUMB ===== */
.yge-page-header .yge-breadcrumb-wrap {
    margin: 0 auto;
    max-width: 900px;
    font-size: 0.95rem;
}
/* Breadcrumb links */
.yge-page-header .yge-breadcrumb-wrap a {
    text-decoration: none;
    opacity: 0.9;
}
.yge-page-header .yge-breadcrumb-wrap a:hover {
    opacity: 1;
    text-decoration: none;
}
/* Center breadcrumb properly inside flex */
.yge-page-header .seo-breadcrumb ol {
    justify-content: center;
}
.yge-page-content {
    padding: 34px 30px;
    border-radius: 10px;
    background: var(--surface-glass);
    backdrop-filter: blur(var(--glass-blur));
    border: 0px solid var(--surface-border);
   /* box-shadow: var(--shadow-sm); */
}
/* Title */
.yge-page-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--surface-text);
    margin-bottom: 18px;
    letter-spacing: -0.4px;
}
/* Body */
.yge-page-body {
    font-size: 1rem;
    line-height: 1.9;
    color: var(--surface-text-muted);
}
/* Headings */
.yge-page-body h2,
.yge-page-body h3,
.yge-page-body h4 {
    color: var(--surface-text);
    margin-top: 30px;
    margin-bottom: 12px;
}
/* Links */
.yge-page-body a {
    color: var(--surface-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.25s;
}
.yge-page-body a:hover {
    border-color: var(--surface-primary);
}
/* Internal link box */
.yge-page-body .internal-link-box {
    margin: 20px 0;
    padding: 14px 16px;
    border-left: 3px solid var(--surface-primary);
    background: var(--surface-glass-strong);
    border-radius: 10px;
    box-shadow: var(--shadow-xs);
}
.yge-page-body img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}
.yge-page-body figure {
    margin: 20px 0;
}
.yge-page-body figcaption {
    font-size: 0.85rem;
    color: var(--surface-text-soft);
    margin-top: 6px;
    text-align: center;
}
.yge-page-content {
    margin-bottom: 48px;
}
.yge-page-body > *:last-child {
    margin-bottom: 0;
}
/* ================= RELATED ============================ */
.related-posts {
    margin-top: 40px;
}
.related-title {
    font-size: 1.2rem;
    color: var(--surface-text);
    margin-bottom: 14px;
}
.related-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.related-buttons a {
    display: inline-block;
}
/* ================= CONTENT EXTRAS ===================== */
.yge-page-body blockquote {
    margin: 20px 0;
    padding: 14px 18px;
    border-left: 3px solid var(--surface-accent);
    background: var(--surface-glass-strong);
    border-radius: 10px;
    color: var(--surface-text-muted);
}
.yge-page-body code {
    padding: 3px 6px;
    border-radius: 6px;
    background: var(--surface-bg-muted);
    color: var(--surface-accent);
}
.yge-page-body hr {
    border: none;
    height: 1px;
    background: var(--surface-border);
    margin: 25px 0;
}
/* Page Content End */

/* Default Gallery Start */
.gallery {
    margin: 20px 0;
}
/* ================= MOBILE FIRST ======================= */
/* Default = Mobile (1 column) */
.gallery-columns-4 {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
/* ================= GALLERY ITEM ======================= */
.gallery-columns-4 .gallery-item {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}
/* Hover effect (desktop only naturally applies) */
.gallery-columns-4 .gallery-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
/* ================= IMAGES ============================ */
.gallery-columns-4 img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    transition: transform 0.35s ease;
}
/* subtle zoom */
.gallery-columns-4 .gallery-item:hover img {
    transform: scale(1.05);
}

/* ================= CAPTION ============================ */
.gallery-caption {
    font-size: 0.85rem;
    padding: 8px 10px;
    color: var(--surface-text-soft);
    text-align: center;
    background: var(--surface-glass-strong);
    border-top: 1px solid var(--surface-border);
}
/* Default Gallery End */
/* Search Page Start */
/* ================= TEXT SYSTEM ================= */
.yge-text-muted {
    color: var(--surface-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.yge-text-accent {
    color: var(--surface-primary);
}
/* ================= GLASS CARD ================= */
.yge-glass-card {
    padding: 18px;
    border-radius: 16px;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-sm);
}
/* ================= SEARCH ITEM ================= */
.yge-page-section {margin-top: 30px; margin-bottom: 30px;}
.yge-search-title {
    font-size: 1.2rem;
    margin-bottom: 8px;
}
.yge-search-title a {
    color: var(--surface-text);
    text-decoration: none;
    transition: 0.25s;
}
.yge-search-title a:hover {
    color: var(--surface-primary);
}
/* ================= LIST CLEAN ================= */
.yge-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.yge-list li {
    padding: 6px 0;
    color: var(--surface-text-muted);
}
/* ================= FIXED PREMIUM BUTTON ================= */
.yge-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;              /* IMPORTANT: prevents full width */
    max-width: fit-content;
    padding: 8px 16px;
    border-radius: 10px;
    white-space: normal;      /* prevents text breaking */
    line-height: 1;
    background: var(--surface-btn-bg);
    color: var(--surface-btn-text);
    box-shadow: var(--surface-btn-shadow);
    transition: all 0.25s ease;
    text-decoration: none;
}
/* Hover effect */
.yge-btn:hover {
    transform: translateY(-2px);
}
/* ================= SMALL BUTTON VARIANT ================= */
.yge-btn-sm {
    padding: 6px 12px;
    font-size: 0.85rem;
}
/* ================= FORCE OVERRIDE (if Bootstrap used) ================= */
.yge-widget .yge-btn,
.yge-search-item .yge-btn {
    width: auto !important;
    display: inline-flex !important;
}
/* Search Page End */
/* Archive Page Start */
/* ================= ARCHIVE CARD ================= */
.yge-archive-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
/* ================= REMOVE BULLETS ================= */
.yge-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.yge-list li {
    padding: 6px 0;
    color: var(--surface-text-muted);
}
/* ================= TEXT SYSTEM ================= */
.yge-text-muted {
    color: var(--surface-text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
/* ================= GLASS CARD ================= */
.yge-glass-card {
    padding: 18px;
    border-radius: 16px;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-sm);
}
/* Archive Page End */
/* 404 Page Start */
.yge-404-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    padding: 40px 0;
}
.yge-404-box {
    padding: 24px 18px;
    border-radius: 18px;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-sm);
    text-align: center;
}
/* 404 number */
.yge-404-code {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--surface-primary);
    margin-bottom: 8px;
    letter-spacing: -1px;
}
/* title */
.yge-404-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--surface-text);
    margin-bottom: 10px;
}
/* text */
.yge-404-text {
    font-size: 0.95rem;
    color: var(--surface-text-muted);
    line-height: 1.6;
}
/* search */
.yge-404-search {
    margin-top: 14px;
}
/* buttons */
.yge-404-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
    align-items: center;
}
/* ensure buttons stay compact */
.yge-404-actions .yge-btn {
    width: auto;
}
/* 404 Page End */
/* Latest Post Scroll Start */
.yge-post-scroll-wrapper {
    overflow: hidden;
    position: relative;
    padding: 8px 10px;
    border-radius: 0px;
    background: var(--surface-glass);
    border-bottom: 0px solid var(--surface-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    box-shadow: var(--shadow-sm);
}
.yge-post-scroll-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    width: max-content;
    /* slower, readable on mobile */
    animation: yge-scroll-mobile 18s linear infinite;
}
.yge-post-item {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    border-radius: 5px;
    background: var(--surface-glass-strong);
    border: 1px solid var(--surface-border);
    color: var(--surface-text);
    text-decoration: none;
    font-size: 0.8rem;
    white-space: nowrap;
    transition: all 0.25s ease;
}
/* mobile hover (tap feel) */
.yge-post-item:active {
    transform: scale(0.97);
}
/* ============== MOBILE ANIMATION ====================== */
@keyframes yge-scroll-mobile {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-60%);
    }
}
/* pause on touch/hover */
.yge-post-scroll-wrapper:hover .yge-post-scroll-track {
    animation-play-state: paused;
}
/* Latest Post Scroll End */

/* Float Enquiry popup Start */
/* ============== OVERLAY (KEEP YOUR SYSTEM) ============ */
#yge-enquiry-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2,6,23,0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: 0.25s ease;
}
#yge-enquiry-popup.active {
    opacity: 1;
    visibility: visible;
}
/* ============== MODAL BOX (FIX ALIGNMENT ONLY) ======== */
.yge-popup-content {
    width: 380px;
    max-width: 92%;
    padding: 22px;
    border-radius: 18px;
    position: relative;
    /* GLASS UPGRADE (NOT STRUCTURE CHANGE) */
    background: rgba(15,23,42,0.82);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
    color: #fff;
    animation: popupFade 0.3s ease-in-out;
}
/* ============== CLOSE BUTTON FIX ====================== */
#yge-close {
    position: absolute;
    right: 14px;
    top: 10px;
    font-size: 22px;
    cursor: pointer;
    color: rgba(255,255,255,0.85);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
}
#yge-close:hover {
    color: #fff;
    background: rgba(255,255,255,0.12);
}
/* ============== TITLE FIX ============================= */
.yge-popup-content h3 {
    margin-bottom: 16px;
    font-size: 20px;
    text-align: center;
    color: #ffffff;
}
/* ============== FORM SPACING FIX ====================== */
#yge-enquiry-form {
    margin: 0;
}
#yge-enquiry-form input,
#yge-enquiry-form textarea {
    width: 100%;
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.06);
    color: #fff;
    outline: none;
    transition: 0.2s;
}
#yge-enquiry-form input::placeholder,
#yge-enquiry-form textarea::placeholder {
    color: rgba(255,255,255,0.6);
}
#yge-enquiry-form input:focus,
#yge-enquiry-form textarea:focus {
    border-color: rgba(99,102,241,0.6);
    background: rgba(255,255,255,0.08);
    box-shadow: 0 0 0 2px rgba(99,102,241,0.12);
}
/* ============== BUTTON FIX (THEME BASED) ============== */
#yge-enquiry-form button {
    width: 100%;
    padding: 11px;
    border: none;
    border-radius: 10px;
    background: var(--surface-btn-bg);
    color: var(--surface-btn-text);
    font-weight: 500;
    cursor: pointer;
    box-shadow: var(--surface-btn-bg-sd);
    transition: 0.25s ease;
}
#yge-enquiry-form button:hover {
    transform: translateY(-2px);
    box-shadow: var(--surface-btn-hover-sd);
}
/* ============== FLOAT BUTTON ========================== */
#yge-enquiry-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 12px 18px;
    border-radius: 999px;
    background: var(--surface-btn-bg);
    color: var(--surface-btn-text);
    border: none;
    cursor: pointer;
    z-index: 9999;
    box-shadow: var(--surface-btn-bg-sd);
}
/* ============== ANIMATION ============================= */
@keyframes popupFade {
    from {
        transform: scale(0.95);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
/* Float Enquiry Popup End */

/* Footer Start */
.footer-bg {
    background: var(--surface-bg);
    color: var(--surface-text);
    border-top: 1px solid var(--surface-border);
    padding-top: 0px;
    position: relative;
    backdrop-filter: blur(var(--glass-blur, 16px));
    -webkit-backdrop-filter: blur(var(--glass-blur, 16px));
}
/* subtle top glow line */
.footer-bg::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--surface-primary-soft),
        var(--surface-accent-soft, rgba(239,68,68,0.15)),
        transparent
    );
}
/* Headings */
.footer-bg h5 {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--surface-text);
}
/* Links */
.footer-nav .nav-link {
    color: var(--surface-text-muted);
    padding: 5px 0;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 14px;
}
.footer-nav .nav-link:hover {
    color: var(--surface-text);
    transform: translateX(4px);
}
/* Footer text */
.footer-nav a {
    font-size: 14px;
    color: var(--surface-text-muted);
}
/* Bottom footer */
.footer-bottom {
    font-size: 13px;
    color: var(--surface-text-soft);
}
.footer-bottom p {
    margin-bottom: 0;
    color: var(--surface-text-soft);
}
/* Social icons */
.social-icons a {
    color: var(--surface-text-soft);
    font-size: 18px;
    transition: 0.3s ease;
}
.social-icons a:hover {
    color: var(--surface-primary);
    transform: translateY(-3px);
}
/* divider */
.border-top {
    border-top: 1px solid var(--surface-border) !important;
}/* Footer End */

/* Blog Post */
.yge-blog-card {
    background: rgba(255,255,255,0.03);
    border:1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    transition: 0.3s ease;
    height: 100%;
}
.yge-blog-card:hover {
    transform: translateY(-4px);
    border-color: var(--surface-text);
}
/* Thumbnail */
.yge-blog-thumb img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}
/* Content */
.yge-blog-content {
    padding: 15px;
}
.yge-blog-title {
    font-size: 1rem;
    margin-bottom: 8px;
}
.yge-blog-title a {
    color:var(--surface-text);
    text-decoration: none;
}
.yge-blog-title a:hover {
    color:var(--surface-text);
}
.yge-blog-excerpt {
    font-size: 0.85rem;
   color:var(--surface-text);
    line-height: 1.5;
}
/* Screen >768 */
@media (min-width: 768px) {
.navbar-brand img{
        max-height:50px;
}
.navbar .d-flex {
    flex-direction: row;
    width: auto;
    margin-top: 0;
}
.navbar .form-control {
    width: 180px;
} 
.yge-carousel .carousel-item {
        min-height: 450px;
        padding: 60px 40px;
} 
.gallery-columns-4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }
.yge-404-code {
        font-size: 4rem;
    }
.yge-404-box {
        padding: 30px 24px;
    }
.yge-404-actions {
        flex-direction: row;
        justify-content: center;
}
.yge-404-code {
        font-size: 4.5rem;
    }
.yge-post-scroll-track {
        gap: 10px;
        animation-duration: 22s;
    }
    .yge-post-item {
        font-size: 0.85rem;
        padding: 7px 14px;
    }
    .yge-slide-content {
        padding: 40px 20px;
    }
    .yge-slide-title {
        font-size: 2rem;
    }
}
@media (min-width: 992px) {
.gallery-columns-4 {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
}
.yge-post-scroll-wrapper {
        padding: 10px 12px;
    }
    .yge-post-scroll-track {
        animation: yge-scroll-desktop 28s linear infinite;
    }
    .yge-post-item {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
/* smoother long-loop desktop motion */
@keyframes yge-scroll-desktop {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }

}