/* ══════════════════════════════════════════════════════════
   AdvizerEdge — Light Theme Stylesheet v5.0
   Background: hsl(210, 20%, 98%) | Text: #1a2340 | Orange: #f97316
   ══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg:        hsl(210, 20%, 98%);
  --bg-alt:    hsl(210, 20%, 94%);
  --card:      #ffffff;
  --border:    rgba(0,0,0,0.08);
  --text:      #1a2340;
  --muted:     #6b7280;
  --orange:    #f97316;
  --orange-l:  rgba(249,115,22,0.1);
  --green:     #16a34a;
  --shadow:    rgba(0,0,0,0.08);
  --radius:    12px;
  --max-w:     1200px;
  --max-w-sm:  820px;
}

html, body {
  margin: 0 !important;
  padding: 0 !important;
  background: var(--bg) !important;
  color: var(--text) !important;
  font-family: 'Inter', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--text);
  line-height: 1.2;
  margin: 0 0 0.5em;
}

a { color: var(--orange); text-decoration: none; }
a:hover { color: #ea6d0a; }
img { max-width: 100%; height: auto; }

/* ── CONTAINERS ── */
.ae-container    { max-width: var(--max-w);    margin: 0 auto; padding: 0 24px; }
.ae-container-sm { max-width: var(--max-w-sm); margin: 0 auto; padding: 0 24px; }

/* ── BUTTONS ── */
.ae-btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 700;
  padding: 12px 24px; border-radius: var(--radius); border: none; cursor: pointer;
  text-decoration: none; transition: background .2s, box-shadow .2s;
  box-shadow: 0 4px 12px rgba(249,115,22,.3);
}
.ae-btn-primary:hover { background: #ea6d0a; color: #fff; box-shadow: 0 6px 20px rgba(249,115,22,.4); }
.ae-btn-primary.ae-btn-block { display: block; text-align: center; }

.ae-btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: var(--text);
  font-family: 'Inter', sans-serif; font-size: 15px; font-weight: 600;
  padding: 12px 24px; border-radius: var(--radius);
  border: 1px solid var(--border); text-decoration: none;
  transition: border-color .2s, background .2s; cursor: pointer;
}
.ae-btn-outline:hover { border-color: var(--orange); background: var(--orange-l); color: var(--text); }

.ae-btn-ghost {
  background: none; border: none; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 8px 12px; border-radius: 8px; text-decoration: none; transition: color .2s;
}
.ae-btn-ghost:hover { color: var(--text); }

/* ── NAVIGATION ── */
#ae-nav {
  position: sticky; top: 36px; z-index: 9999;
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  border-bottom: 1px solid var(--border);
}

.ae-nav-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.ae-logo-text {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 22px; font-weight: 900; color: var(--text); text-decoration: none;
}
.ae-logo-text span { color: var(--orange); }
#ae-nav .custom-logo-link img,
#ae-nav .ae-nav-logo img { max-height: 48px !important; width: auto !important; }

.ae-menu, .ae-mobile-menu-list { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.ae-menu a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; transition: color .2s;
}
.ae-menu a:hover,
.ae-menu .current-menu-item > a { color: var(--text); }

.ae-nav-actions { display: flex; align-items: center; gap: 12px; }

.ae-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  color: var(--text); padding: 4px;
}

.ae-mobile-menu {
  display: none; flex-direction: column;
  background: #fff; border-top: 1px solid var(--border);
  padding: 0 24px 16px; box-shadow: 0 8px 24px rgba(0,0,0,.1);
}
.ae-mobile-menu.open { display: flex; }
.ae-mobile-menu-list { flex-direction: column; gap: 0; }
.ae-mobile-menu-list a {
  display: block; padding: 14px 0;
  font-size: 15px; font-weight: 500; color: var(--text);
  text-decoration: none; border-bottom: 1px solid var(--border);
}
.ae-mobile-cta {
  display: block; margin-top: 16px;
  background: var(--orange); color: #fff; text-align: center;
  padding: 14px; border-radius: var(--radius); font-size: 15px;
  font-weight: 700; text-decoration: none;
}

/* ── SECTION LABELS ── */
.ae-section-label {
  color: var(--orange); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; margin-bottom: 12px;
}
.ae-section-title {
  font-size: clamp(28px, 4vw, 42px); font-weight: 900;
  letter-spacing: -.5px; margin-bottom: 16px; color: var(--text);
}

/* ── ARCHIVE / BLOG ── */
.ae-archive-layout { padding: 80px 0 100px; background: var(--bg); }

.ae-archive-header {
  text-align: center; margin-bottom: 64px; padding: 0 24px;
}
.ae-archive-title {
  font-size: clamp(32px, 5vw, 52px); font-weight: 900;
  letter-spacing: -1px; margin-bottom: 12px; color: var(--text);
}
.ae-archive-sub { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 auto; }

/* Post Grid */
.ae-posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.ae-posts-grid-3 { grid-template-columns: repeat(3, 1fr); }

/* Post Card */
.ae-post-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 2px 12px var(--shadow);
  transition: border-color .2s, transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.ae-post-card:hover {
  border-color: var(--orange);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(249,115,22,.15);
}

.ae-post-card-thumb { display: block; overflow: hidden; aspect-ratio: 16/9; }
.ae-post-thumb-img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ae-post-card:hover .ae-post-thumb-img { transform: scale(1.03); }
.ae-post-thumb-placeholder {
  width: 100%; height: 100%;
  background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; font-size: 48px;
}

.ae-post-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }

.ae-cat-pill {
  display: inline-block; padding: 3px 12px; border-radius: 999px;
  background: var(--orange-l); color: var(--orange);
  border: 1px solid rgba(249,115,22,.2);
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
  text-decoration: none;
}

.ae-post-card-title {
  font-size: 18px; font-weight: 700; line-height: 1.35; margin: 0;
  color: var(--text);
}
.ae-post-card-title a { color: var(--text); text-decoration: none; }
.ae-post-card-title a:hover { color: var(--orange); }

.ae-post-card-excerpt { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; flex: 1; }

.ae-post-card-meta {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; color: var(--muted); margin-top: auto; flex-wrap: wrap;
}
.ae-post-card-link { margin-left: auto; color: var(--orange); font-weight: 600; }

/* ── PAGINATION ── */
.ae-pagination {
  display: flex; justify-content: center; gap: 8px;
  margin-top: 64px; flex-wrap: wrap;
}
.ae-page-item .page-numbers {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: all .2s;
  box-shadow: 0 1px 4px var(--shadow);
}
.ae-page-item .page-numbers:hover,
.ae-page-item .page-numbers.current {
  background: var(--orange); border-color: var(--orange); color: #fff;
}
.ae-page-item .page-numbers.prev,
.ae-page-item .page-numbers.next { width: auto; padding: 0 16px; }

/* ── SINGLE POST ── */
.ae-post-header {
  background: var(--bg);
  padding: 80px 24px 48px;
  border-bottom: 1px solid var(--border);
}
.ae-post-title {
  font-size: clamp(32px,5vw,52px); font-weight: 900;
  letter-spacing: -1px; line-height: 1.1; margin-bottom: 20px; color: var(--text);
}
.ae-post-excerpt { font-size: 20px; color: var(--muted); line-height: 1.6; margin-bottom: 28px; }

.ae-post-meta-bar {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.ae-post-author { display: flex; align-items: center; gap: 12px; }
.ae-author-avatar { border-radius: 50%; border: 2px solid rgba(249,115,22,.3); }
.ae-author-name { display: block; font-size: 14px; font-weight: 600; color: var(--text); }
.ae-post-date, .ae-read-time { font-size: 12px; color: var(--muted); }
.ae-post-stats { font-size: 13px; color: var(--muted); }

.ae-post-thumb { padding: 32px 24px 0; background: var(--bg); }
.ae-featured-img { width: 100%; max-width: 960px; border-radius: var(--radius); display: block; margin: 0 auto; box-shadow: 0 8px 32px var(--shadow); }

/* Post layout */
.ae-post-layout {
  display: grid; grid-template-columns: 1fr 320px;
  gap: 48px; padding: 56px 0 80px; align-items: start;
  background: var(--bg);
}

/* Article content */
.ae-post-content { min-width: 0; }
.ae-post-content p  { margin: 0 0 1.4em; font-size: 17px; line-height: 1.8; color: var(--text); }
.ae-post-content h2 { font-size: 28px; margin: 2em 0 .6em; color: var(--text); }
.ae-post-content h3 { font-size: 22px; margin: 1.8em 0 .5em; color: var(--text); }
.ae-post-content ul, .ae-post-content ol { margin: 0 0 1.4em 1.5em; }
.ae-post-content li { margin-bottom: .4em; font-size: 17px; color: var(--text); }
.ae-post-content blockquote {
  border-left: 4px solid var(--orange); padding: 20px 24px;
  background: var(--bg-alt); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 0 0 1.4em; font-size: 19px; font-style: italic; color: var(--text);
}
.ae-post-content pre {
  background: var(--bg-alt); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 20px 24px; overflow-x: auto;
  font-size: 14px; margin: 0 0 1.4em;
}
.ae-post-content code {
  background: var(--bg-alt); color: var(--orange);
  padding: 2px 6px; border-radius: 4px; font-size: .9em;
}
.ae-post-content img { border-radius: var(--radius); margin: 8px 0; box-shadow: 0 4px 16px var(--shadow); }
.ae-post-content a { color: var(--orange); text-decoration: underline; }
.ae-post-content table { width: 100%; border-collapse: collapse; margin: 0 0 1.4em; font-size: 15px; }
.ae-post-content th { background: var(--bg-alt); padding: 12px 16px; text-align: left; border: 1px solid var(--border); color: var(--text); }
.ae-post-content td { padding: 12px 16px; border: 1px solid var(--border); color: var(--text); }

/* Share + Tags */
.ae-post-tags { margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ae-post-tags a {
  padding: 4px 12px; border-radius: 999px; background: var(--bg-alt);
  border: 1px solid var(--border); font-size: 12px; color: var(--muted); text-decoration: none;
}
.ae-post-share { display: flex; align-items: center; gap: 10px; margin: 24px 0 0; flex-wrap: wrap; }
.ae-share-btn {
  padding: 6px 14px; border-radius: 8px;
  background: var(--bg-alt); border: 1px solid var(--border);
  font-size: 13px; font-weight: 600; color: var(--muted); text-decoration: none;
}
.ae-share-btn:hover { border-color: var(--orange); color: var(--orange); }

/* Sidebar */
.ae-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 110px; }
.ae-sidebar-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  box-shadow: 0 2px 12px var(--shadow);
}
.ae-sidebar-title {
  font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin: 0 0 16px;
}
.ae-toc-list { display: flex; flex-direction: column; gap: 4px; }
.ae-toc-list a {
  font-size: 14px; color: var(--muted); text-decoration: none;
  padding: 6px 0; border-bottom: 1px solid var(--border); transition: color .2s;
}
.ae-toc-list a:hover { color: var(--orange); }
.ae-toc-placeholder { font-size: 13px; color: var(--muted); }
.ae-author-info { display: flex; gap: 12px; }
.ae-author-avatar-lg { border-radius: 50%; border: 2px solid rgba(249,115,22,.3); flex-shrink: 0; }
.ae-author-info strong { display: block; font-size: 15px; font-weight: 700; margin-bottom: 4px; color: var(--text); }
.ae-author-info p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.ae-sidebar-cta { background: var(--orange-l); border-color: rgba(249,115,22,.2); }
.ae-sidebar-cta h3 { font-size: 17px; margin: 0 0 8px; color: var(--text); }
.ae-sidebar-cta p  { font-size: 13px; color: var(--muted); margin: 0 0 16px; line-height: 1.6; }

/* Related posts */
.ae-related-posts {
  background: var(--bg-alt); border-top: 1px solid var(--border);
  padding: 80px 24px;
}

/* ── SEARCH BAR ── */
.ae-search-bar { margin-top: 24px; }
.ae-search-bar form, .ae-404-search form { display: flex; gap: 8px; max-width: 480px; margin: 0 auto; }
.ae-search-input {
  flex: 1; background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px; color: var(--text);
  font-size: 15px; font-family: 'Inter', sans-serif; outline: none;
  box-shadow: 0 1px 4px var(--shadow);
}
.ae-search-input:focus { border-color: var(--orange); }
.ae-search-btn {
  background: var(--orange); color: #fff; border: none; border-radius: 8px;
  padding: 12px 20px; font-size: 15px; font-weight: 700; cursor: pointer;
  font-family: 'Inter', sans-serif;
}

/* ── NO POSTS ── */
.ae-no-posts { text-align: center; padding: 80px 24px; }
.ae-no-posts-icon { font-size: 64px; margin-bottom: 16px; }
.ae-no-posts h2 { font-size: 28px; margin-bottom: 8px; color: var(--text); }
.ae-no-posts p  { color: var(--muted); margin-bottom: 24px; }

/* ── 404 PAGE ── */
.ae-404-page { padding: 80px 0 100px; background: var(--bg); }
.ae-404-inner { max-width: 640px; margin: 0 auto; text-align: center; padding: 0 24px; }
.ae-404-code {
  font-size: 120px; font-weight: 900; line-height: 1;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: var(--orange); margin-bottom: 8px;
}
.ae-404-title { font-size: 36px; margin-bottom: 16px; color: var(--text); }
.ae-404-sub   { font-size: 17px; color: var(--muted); margin-bottom: 32px; line-height: 1.6; }
.ae-404-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 40px; }
.ae-404-search { margin-bottom: 40px; }
.ae-404-search p { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.ae-404-links-label { font-size: 14px; color: var(--muted); margin-bottom: 12px; }
.ae-404-link-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
.ae-404-link-card {
  background: var(--card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; font-size: 14px; font-weight: 600; color: var(--text);
  text-decoration: none; transition: border-color .2s; box-shadow: 0 1px 4px var(--shadow);
}
.ae-404-link-card:hover { border-color: var(--orange); color: var(--text); }

/* ── STANDARD PAGE ── */
.ae-page-main { padding: 80px 0 100px; background: var(--bg); }
.ae-page-header { margin-bottom: 48px; padding-bottom: 32px; border-bottom: 1px solid var(--border); }
.ae-page-title { font-size: clamp(32px,5vw,52px); color: var(--text); }
.ae-page-content { font-size: 17px; line-height: 1.8; color: var(--text); }
.ae-page-content p  { margin: 0 0 1.4em; }
.ae-page-content h2 { font-size: 28px; margin: 2em 0 .6em; color: var(--text); }
.ae-page-content h3 { font-size: 22px; margin: 1.8em 0 .5em; color: var(--text); }
.ae-page-content ul, .ae-page-content ol { margin: 0 0 1.4em 1.5em; }
.ae-page-content a { color: var(--orange); }

/* ── COMMENTS ── */
.ae-comments-wrap { padding: 64px 0 80px; border-top: 1px solid var(--border); margin-top: 48px; background: var(--bg); }
.ae-comments-title { font-size: 24px; margin-bottom: 32px; color: var(--text); }
.ae-comment-list { list-style: none; padding: 0; margin: 0 0 48px; display: flex; flex-direction: column; gap: 20px; }
.ae-comment { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 6px var(--shadow); }
.ae-comment-inner { display: flex; gap: 16px; }
.ae-comment-avatar img { border-radius: 50%; border: 2px solid rgba(249,115,22,.2); flex-shrink: 0; }
.ae-comment-header { display: flex; align-items: baseline; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.ae-comment-author { font-size: 15px; font-weight: 700; color: var(--text); }
.ae-comment-date { font-size: 12px; color: var(--muted); }
.ae-comment-text { font-size: 15px; color: var(--text); line-height: 1.7; }
.ae-comment-text p { margin: 0; }
.ae-comment-reply { margin-top: 12px; }
.ae-comment-reply a { font-size: 13px; color: var(--orange); font-weight: 600; }
.ae-comments-closed { text-align: center; color: var(--muted); padding: 24px; }

/* Comment form */
.ae-comment-form-title { font-size: 24px; margin-bottom: 24px; color: var(--text); }
.ae-comment-form { display: flex; flex-direction: column; gap: 16px; }
.ae-comment-form p { margin: 0; }
.ae-comment-form input[type="text"],
.ae-comment-form input[type="email"],
.ae-comment-form input[type="url"],
.ae-comment-form textarea {
  width: 100%; background: var(--card); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px; color: var(--text);
  font-size: 15px; font-family: 'Inter', sans-serif; outline: none;
}
.ae-comment-form input:focus,
.ae-comment-form textarea:focus { border-color: var(--orange); }
.ae-comment-form textarea { min-height: 140px; resize: vertical; }
.ae-comment-form .ae-btn-primary { align-self: flex-start; }

/* ── WIDGETS ── */
.ae-widget { margin-bottom: 24px; }
.ae-widget-title {
  font-size: 14px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); margin: 0 0 14px;
}

/* ── FOOTER ── */
#ae-footer {
  background: var(--text);
  padding: 48px 24px 32px;
}
.ae-footer-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 32px; align-items: start;
}
.ae-footer-brand { display: flex; flex-direction: column; gap: 8px; }
.ae-footer-tagline { font-size: 13px; color: rgba(255,255,255,.5); margin: 0; }
.ae-footer-menu { list-style: none; padding: 0; margin: 0; display: flex; gap: 28px; flex-wrap: wrap; }
.ae-footer-menu a { font-size: 14px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.ae-footer-menu a:hover { color: #fff; }
.ae-footer-bottom { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.ae-footer-bottom p { font-size: 13px; color: rgba(255,255,255,.4); margin: 0; }
.ae-footer-privacy { font-size: 13px; color: rgba(255,255,255,.4); text-decoration: none; }
.ae-footer-privacy:hover { color: rgba(255,255,255,.7); }

/* ── BACK TO TOP ── */
#ae-back-to-top {
  position: fixed; bottom: 24px; right: 24px; z-index: 999;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--orange); color: #fff; border: none;
  font-size: 18px; font-weight: 700; cursor: pointer;
  opacity: 0; pointer-events: none; transition: opacity .3s, transform .3s;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(249,115,22,.4);
}
#ae-back-to-top.visible { opacity: 1; pointer-events: all; }
#ae-back-to-top:hover { transform: translateY(-2px); }

/* ── COOKIE BANNER ── */
#ae-cookie-banner {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9998;
  background: var(--card); border-top: 1px solid var(--border);
  padding: 16px 24px; box-shadow: 0 -4px 16px rgba(0,0,0,.08);
}
.ae-cookie-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}
.ae-cookie-inner p { font-size: 14px; color: var(--muted); margin: 0; flex: 1; }
.ae-cookie-inner a { color: var(--orange); }
.ae-cookie-buttons { display: flex; gap: 10px; }

/* ── ELEMENTOR overrides ── */
.elementor-section { margin-top: 0 !important; background-color: var(--bg); }
.elementor-section-wrap { margin-top: 0 !important; }
.elementor-heading-title { color: var(--text) !important; font-family: 'Plus Jakarta Sans', sans-serif !important; }
.elementor-widget-text-editor { color: var(--muted); }
.elementor-button {
  background-color: var(--orange) !important; color: #fff !important;
  font-family: 'Inter', sans-serif !important; font-weight: 700 !important;
  border-radius: 8px !important;
}
.elementor-button:hover { background-color: #ea6d0a !important; color: #fff !important; }

/* ── MOBILE ── */
@media (max-width: 1024px) {
  .ae-posts-grid, .ae-posts-grid-3 { grid-template-columns: repeat(2,1fr); }
  .ae-post-layout { grid-template-columns: 1fr; }
  .ae-sidebar { position: static; }
  .ae-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .ae-footer-bottom { align-items: flex-start; }
}

@media (max-width: 768px) {
  .ae-nav-desktop, .ae-login-btn, .ae-cta-btn { display: none !important; }
  .ae-hamburger { display: flex !important; }
  .ae-posts-grid, .ae-posts-grid-3 { grid-template-columns: 1fr; }
  .ae-post-title { font-size: 28px; }
  .ae-404-code { font-size: 80px; }
  .ae-404-link-grid { grid-template-columns: 1fr; }
  .ae-archive-layout { padding: 48px 0 64px; }
  .ae-related-posts { padding: 48px 16px; }
  .ae-comment-inner { flex-direction: column; }
  .ae-post-meta-bar { flex-direction: column; align-items: flex-start; }
  .ae-search-bar form { flex-direction: column; }
  /* Elementor grid overrides for light theme */
  div[style*="grid-template-columns:repeat(4,1fr)"] { grid-template-columns: repeat(2,1fr) !important; }
  div[style*="grid-template-columns:repeat(3,1fr)"] { grid-template-columns: 1fr !important; }
  div[style*="grid-template-columns:1fr 1fr"]       { grid-template-columns: 1fr !important; }
  div[style*="flex:0 0 calc(33.333%"]               { flex: 0 0 100% !important; min-width: unset !important; }
}

@media (max-width: 480px) {
  .ae-nav-inner { padding: 0 16px; }
  .ae-container { padding: 0 16px; }
  .ae-container-sm { padding: 0 16px; }
}
