/*
 Theme Name:   Hello Elementor Child
 Theme URI:    https://alrighthospital.com
 Description:  Hello Elementor Child Theme — Alright Hospital v4
 Author:       Alright Hospital
 Template:     hello-elementor
 Version:      4.0.0
 Text Domain:  hello-elementor-child
*/

@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,300;0,400;0,600;0,700;0,900;1,400&display=swap');

/* ── VARIABLES ── */
:root {
  --ah-blue:       #164d92;
  --ah-blue-dark:  #0f3870;
  --ah-green:      #00b48d;
  --ah-green-dark: #009a78;
  --ah-gray:       #58595b;
  --ah-white:      #ffffff;
  --ah-light-bg:   #f4f8fd;
  --ah-border:     #dde8f5;
  --ah-text:       #2c2c2c;
  --ah-text-light: #777777;
  --ah-font:       'Titillium Web', sans-serif;
  --ah-radius:     6px;
  --ah-radius-lg:  10px;
  --ah-shadow:     0 2px 12px rgba(22,77,146,0.08);
  --ah-shadow-md:  0 4px 20px rgba(22,77,146,0.12);
}

/* ── SVG LOCKDOWN ── */
.ah-page-wrap svg {
  max-width: 24px !important;
  max-height: 24px !important;
}

/* ── GLOBAL FONT OVERRIDE ── */
.ah-page-wrap,
.ah-page-wrap p,
.ah-page-wrap a,
.ah-page-wrap span,
.ah-page-wrap li,
.ah-page-wrap h1,
.ah-page-wrap h2,
.ah-page-wrap h3,
.ah-page-wrap h4,
.ah-page-wrap h5,
.ah-page-wrap h6,
.ah-page-wrap input,
.ah-page-wrap button,
.ah-page-wrap textarea,
.ah-page-wrap label {
  font-family: var(--ah-font) !important;
}

/* ── PAGE WRAPPER ── */
.ah-page-wrap {
  background: #f0f4f9;
  min-height: 80vh;
}

/* ── CONTAINER ── */
.ah-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ════════════════════════════════════════
   BREADCRUMB BAR
════════════════════════════════════════ */
.ah-breadcrumb-bar {
  background: var(--ah-white);
  border-bottom: 1px solid var(--ah-border);
  padding: 12px 0;
  position: relative;
  z-index: 1;
}

/* Force breadcrumb below any sticky header */
.ah-breadcrumb-bar {
  margin-top: 0;
  clear: both;
}

.ah-breadcrumb,
.ah-breadcrumb span,
.ah-breadcrumb a,
.ah-breadcrumb-bar span,
.ah-breadcrumb-bar a,
.ah-breadcrumb-bar .breadcrumbs,
.ah-breadcrumb-bar .breadcrumbs span,
.ah-breadcrumb-bar .breadcrumbs a,
.ah-breadcrumb-bar #breadcrumbs,
.ah-breadcrumb-bar #breadcrumbs span,
.ah-breadcrumb-bar #breadcrumbs a,
.ah-breadcrumb-bar .breadcrumb-trail,
.ah-breadcrumb-bar .breadcrumb-trail span,
.ah-breadcrumb-bar .breadcrumb-trail a {
  font-family: var(--ah-font) !important;
  font-size: 13px !important;
  color: var(--ah-text-light) !important;
  text-decoration: none !important;
  line-height: 1.4 !important;
}

.ah-breadcrumb a:hover,
.ah-breadcrumb-bar a:hover {
  color: var(--ah-blue) !important;
}

.ah-bc-sep {
  margin: 0 6px;
  color: #bbb !important;
}

/* ════════════════════════════════════════
   LAYOUT
════════════════════════════════════════ */
.ah-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 28px;
  align-items: start;
  padding: 28px 0 60px;
}

/* ════════════════════════════════════════
   MAIN CONTENT CARD
════════════════════════════════════════ */
.ah-main {
  background: var(--ah-white);
  border-radius: var(--ah-radius-lg);
  box-shadow: var(--ah-shadow);
  padding: 0 0 40px;
  min-width: 0;
  overflow: hidden;
}

/* ── FEATURED IMAGE ── */
.ah-featured-img-wrap {
  width: 100%;
  max-height: 420px;
  overflow: hidden;
}

.ah-featured-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

/* ── INNER PADDING (everything below image) ── */
.ah-post-title,
.ah-meta-row,
.ah-blog-content,
.ah-tags-row,
.ah-divider,
.ah-author-cards-wrap,
.ah-post-nav,
.ah-related-section {
  padding-left: 32px;
  padding-right: 32px;
}

/* ════════════════════════════════════════
   POST TITLE — BOLD
════════════════════════════════════════ */
.ah-page-wrap h1.ah-post-title,
.ah-main h1.ah-post-title,
h1.ah-post-title {
  font-family: 'Titillium Web', sans-serif !important;
  font-size: 46px !important;
  font-weight: 600 !important;
  color: #164d92 !important;
  line-height: 1.2 !important;
  margin: 28px 0 18px !important;
  letter-spacing: -0.3px !important;
  text-transform: none !important;
}

@media (max-width: 1024px) {
  .ah-page-wrap h1.ah-post-title, .ah-main h1.ah-post-title, h1.ah-post-title { font-size: 36px !important; }
}

/* ════════════════════════════════════════
   META ROW
════════════════════════════════════════ */
.ah-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--ah-border);
}

.ah-meta-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.ah-meta-cat-badge {
  display: inline-block;
  background: var(--ah-blue);
  color: #fff !important;
  font-family: var(--ah-font) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 3px 10px;
  border-radius: 50px;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ah-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
  flex-shrink: 0;
}

.ah-meta-item {
  font-family: var(--ah-font) !important;
  font-size: 13px;
  color: var(--ah-text-light);
}

/* ── SHARE BUTTONS ── */
.ah-share-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.ah-share-label {
  font-family: var(--ah-font) !important;
  font-size: 12px;
  font-weight: 700;
  color: var(--ah-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ah-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  text-decoration: none !important;
  transition: opacity 0.2s, transform 0.15s;
  flex-shrink: 0;
}

.ah-share-btn:hover { opacity: 0.82; transform: translateY(-1px); }

.ah-share-icon {
  font-family: var(--ah-font) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #fff !important;
  line-height: 1;
  letter-spacing: 0;
}

.ah-share-fb   { background: #1877f2; }
.ah-share-wa   { background: #25d366; }
.ah-share-tw   { background: #111111; }
.ah-share-li   { background: #0a66c2; }
.ah-share-copy { background: var(--ah-gray); }

/* ════════════════════════════════════════
   BLOG CONTENT TYPOGRAPHY
════════════════════════════════════════ */
.ah-blog-content {
  font-family: var(--ah-font) !important;
  color: var(--ah-text);
  font-size: 16px;
  line-height: 1.85;
  padding-top: 4px;
}

.ah-blog-content p {
  font-size: 16px;
  color: var(--ah-text);
  line-height: 1.85;
  margin-bottom: 20px;
}

.ah-blog-content h2 {
  font-size: clamp(19px, 2.5vw, 26px);
  font-weight: 700;
  color: var(--ah-blue);
  line-height: 1.3;
  margin: 40px 0 14px;
  padding-left: 14px;
  border-left: 4px solid var(--ah-green);
}

.ah-blog-content h3 {
  font-size: clamp(16px, 2vw, 21px);
  font-weight: 700;
  color: var(--ah-gray);
  margin: 32px 0 12px;
}

.ah-blog-content h4 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ah-gray);
  margin: 24px 0 10px;
}

.ah-blog-content ul,
.ah-blog-content ol {
  padding-left: 22px;
  margin-bottom: 20px;
}

.ah-blog-content li {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 8px;
  color: var(--ah-text);
}

.ah-blog-content a { color: var(--ah-blue); text-decoration: underline; }
.ah-blog-content a:hover { color: var(--ah-green); }

.ah-blog-content blockquote {
  border-left: 4px solid var(--ah-green);
  background: var(--ah-light-bg);
  margin: 28px 0;
  padding: 16px 20px;
  border-radius: 0 var(--ah-radius) var(--ah-radius) 0;
  font-style: italic;
  color: var(--ah-gray);
}

.ah-blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--ah-radius);
  display: block;
  margin: 24px auto;
}

/* Tables */
.ah-blog-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 14px;
  border-radius: var(--ah-radius);
  overflow: hidden;
  box-shadow: var(--ah-shadow);
}

.ah-blog-content th {
  background: var(--ah-blue);
  color: #fff;
  font-weight: 700;
  padding: 11px 14px;
  text-align: left;
}

.ah-blog-content td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--ah-border);
  color: var(--ah-text);
}

.ah-blog-content tr:last-child td { border-bottom: none; }
.ah-blog-content tr:nth-child(even) td { background: var(--ah-light-bg); }

/* Shortcode styles */
.ah-cta-block {
  background: linear-gradient(135deg, var(--ah-blue) 0%, var(--ah-blue-dark) 100%);
  color: #fff;
  border-radius: var(--ah-radius-lg);
  padding: 32px 28px;
  text-align: center;
  margin: 36px 0;
}

.ah-cta-icon    { font-size: 34px; display: block; margin-bottom: 10px; }
.ah-cta-title   { font-size: 21px; font-weight: 700; margin-bottom: 8px; }
.ah-cta-subtitle{ font-size: 14px; opacity: 0.88; margin-bottom: 20px; }

.ah-cta-btn {
  display: inline-block;
  background: var(--ah-green);
  color: #fff !important;
  font-size: 15px;
  font-weight: 700;
  padding: 11px 28px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: background 0.2s;
}
.ah-cta-btn:hover { background: var(--ah-green-dark); }
.ah-cta-note { font-size: 12px; opacity: 0.7; margin-top: 10px; }

.ah-info-box {
  background: #edf4ff;
  border-left: 4px solid var(--ah-blue);
  border-radius: 0 var(--ah-radius) var(--ah-radius) 0;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 15px;
  line-height: 1.7;
}

.ah-table-wrap { overflow-x: auto; margin: 24px 0; border-radius: var(--ah-radius); box-shadow: var(--ah-shadow); }
.ah-table-scroll-hint { font-size: 12px; color: var(--ah-text-light); text-align: center; margin-bottom: 4px; display: none; }

/* ════════════════════════════════════════
   TAGS
════════════════════════════════════════ */
.ah-tags-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 28px 0 0;
  padding-top: 0;
}

.ah-tags-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--ah-text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ah-tag {
  display: inline-block;
  background: var(--ah-light-bg);
  border: 1px solid var(--ah-border);
  color: var(--ah-blue) !important;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
  text-decoration: none !important;
  transition: all 0.2s;
}
.ah-tag:hover { background: var(--ah-blue); color: #fff !important; border-color: var(--ah-blue); }

/* ════════════════════════════════════════
   DIVIDER
════════════════════════════════════════ */
.ah-divider {
  border: none;
  border-top: 1px solid var(--ah-border);
  margin: 32px 0;
}

/* ════════════════════════════════════════
   AUTHOR CARD — "Written and Verified by" style
════════════════════════════════════════ */
.ah-author-cards-wrap {
  margin-bottom: 8px;
}

.ah-author-verified-label {
  font-family: var(--ah-font) !important;
  font-size: 13px;
  color: var(--ah-text-light);
  margin-bottom: 14px;
  font-weight: 400;
}

.ah-author-card {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid var(--ah-border);
}

.ah-author-card:first-of-type { border-top: none; padding-top: 0; }

.ah-author-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--ah-border);
}

.ah-author-photo-placeholder {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ah-light-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}

.ah-author-body { flex: 1; min-width: 0; }

.ah-author-name {
  font-size: 15px !important;
  font-weight: 700 !important;
  color: var(--ah-text) !important;
  margin-bottom: 2px;
}

.ah-author-specialty {
  font-size: 13px;
  color: var(--ah-text-light);
  margin-bottom: 6px;
}

.ah-author-degrees {
  font-size: 12px;
  color: var(--ah-text-light);
  margin-bottom: 4px;
}

.ah-author-bio {
  font-size: 13px;
  color: var(--ah-text-light);
  line-height: 1.6;
  margin-bottom: 8px;
  display: none; /* hidden in compact mode */
}

.ah-author-btn {
  display: inline-block;
  color: var(--ah-green) !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none !important;
  transition: color 0.2s;
}
.ah-author-btn:hover { color: var(--ah-blue) !important; }

/* ════════════════════════════════════════
   POST NAVIGATION
════════════════════════════════════════ */
.ah-post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 8px;
}

.ah-nav-item {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 14px 16px;
  background: var(--ah-light-bg);
  border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius);
  text-decoration: none !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.ah-nav-item:hover { border-color: var(--ah-blue); box-shadow: var(--ah-shadow); }
.ah-nav-next { text-align: right; }

.ah-nav-dir {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--ah-blue);
}

.ah-nav-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--ah-text);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ════════════════════════════════════════
   BLOGS BY DOCTOR
════════════════════════════════════════ */
.ah-related-section {
  margin-top: 8px;
  padding-top: 0;
}

.ah-related-section-title {
  font-family: var(--ah-font) !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--ah-blue) !important;
  margin: 0 0 6px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ah-blue);
  display: inline-block;
}

.ah-related-section-wrap {
  border-top: 1px solid var(--ah-border);
  padding-top: 20px;
  margin-top: 0;
}

.ah-blogs-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

/* Blogs by Doctor card */
.ah-doc-blog-card {
  border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius);
  overflow: hidden;
  background: var(--ah-white);
  transition: box-shadow 0.2s;
  text-decoration: none !important;
  display: block;
}
.ah-doc-blog-card:hover { box-shadow: var(--ah-shadow-md); }

.ah-doc-blog-thumb {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.ah-doc-blog-thumb img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.ah-doc-blog-card:hover .ah-doc-blog-thumb img { transform: scale(1.04); }

.ah-doc-blog-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(22,77,146,0.85) 0%, transparent 100%);
  padding: 14px 12px 10px;
}

.ah-doc-blog-overlay-cat {
  display: block;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 2px;
}

.ah-doc-blog-overlay-title {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.ah-doc-blog-body {
  padding: 12px 14px;
}

.ah-doc-blog-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ah-blue) !important;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none !important;
}

.ah-doc-blog-author {
  font-size: 12px;
  color: var(--ah-blue);
  font-weight: 600;
  margin-bottom: 4px;
}

.ah-doc-blog-meta {
  font-size: 11px;
  color: var(--ah-text-light);
  display: flex;
  gap: 8px;
  align-items: center;
}

.ah-doc-blog-meta-sep {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #ccc;
  display: inline-block;
}

/* Must Read Blogs card (no overlay, simpler) */
.ah-mustread-card {
  border: 1px solid var(--ah-border);
  border-radius: var(--ah-radius);
  overflow: hidden;
  background: var(--ah-white);
  transition: box-shadow 0.2s;
  text-decoration: none !important;
  display: block;
}
.ah-mustread-card:hover { box-shadow: var(--ah-shadow-md); }

.ah-mustread-thumb {
  height: 150px;
  overflow: hidden;
}

.ah-mustread-thumb img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}
.ah-mustread-card:hover .ah-mustread-thumb img { transform: scale(1.04); }

.ah-mustread-body {
  padding: 12px 14px;
}

.ah-mustread-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--ah-blue) !important;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none !important;
}

.ah-mustread-author {
  font-size: 12px;
  color: var(--ah-text-light);
  margin-bottom: 4px;
}

.ah-mustread-meta {
  font-size: 11px;
  color: var(--ah-text-light);
  display: flex;
  gap: 8px;
  align-items: center;
}

/* ════════════════════════════════════════
   SIDEBAR
════════════════════════════════════════ */
.ah-sidebar {
  position: sticky;
  top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* ── SIDEBAR CTA FORM ── */
.ah-sidebar-cta {
  background: var(--ah-blue);
  border-radius: var(--ah-radius-lg);
  padding: 24px 20px;
  box-shadow: var(--ah-shadow-md);
}

.ah-sidebar-cta-title {
  font-family: var(--ah-font) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #fff !important;
  margin: 0 0 16px !important;
  line-height: 1.3;
}

.ah-cta-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ah-cta-input {
  width: 100%;
  padding: 10px 14px;
  border: none;
  border-radius: var(--ah-radius);
  font-family: var(--ah-font) !important;
  font-size: 13px;
  color: var(--ah-text);
  background: #fff;
  box-sizing: border-box;
  outline: none;
}

.ah-cta-input::placeholder { color: #aaa; }
.ah-cta-input:focus { box-shadow: 0 0 0 2px var(--ah-green); }

.ah-cta-phone-wrap {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: var(--ah-radius);
  overflow: hidden;
}

.ah-cta-phone-prefix {
  padding: 10px 10px 10px 14px;
  font-family: var(--ah-font) !important;
  font-size: 13px;
  color: var(--ah-text);
  font-weight: 600;
  flex-shrink: 0;
  border-right: 1px solid #e0e0e0;
  background: #f5f5f5;
}

.ah-cta-phone {
  border: none !important;
  border-radius: 0 !important;
  flex: 1;
  padding-left: 10px !important;
}

.ah-cta-check-label {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--ah-font) !important;
  font-size: 11px;
  color: rgba(255,255,255,0.8);
  cursor: pointer;
  line-height: 1.4;
}

.ah-cta-check-label input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--ah-green);
  width: 14px;
  height: 14px;
}

.ah-cta-submit {
  background: var(--ah-green);
  color: #fff;
  font-family: var(--ah-font) !important;
  font-size: 15px;
  font-weight: 700;
  padding: 12px;
  border: none;
  border-radius: var(--ah-radius);
  cursor: pointer;
  transition: background 0.2s;
  letter-spacing: 0.3px;
}
.ah-cta-submit:hover { background: var(--ah-green-dark); }

.ah-cta-success {
  background: var(--ah-green);
  color: #fff;
  font-family: var(--ah-font) !important;
  font-size: 13px;
  font-weight: 600;
  padding: 12px;
  border-radius: var(--ah-radius);
  text-align: center;
}

.ah-cta-email {
  font-family: var(--ah-font) !important;
  font-size: 12px;
  color: rgba(255,255,255,0.65);
  margin: 12px 0 0;
  text-align: center;
}

.ah-cta-email a {
  color: rgba(255,255,255,0.85) !important;
  text-decoration: underline !important;
}

/* ── SIDEBAR WIDGETS ── */
.ah-sidebar-widget {
  background: var(--ah-white);
  border-radius: var(--ah-radius-lg);
  padding: 20px 18px;
  box-shadow: var(--ah-shadow);
}

.ah-sidebar-widget-title {
  font-family: var(--ah-font) !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: var(--ah-blue) !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin: 0 0 14px !important;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--ah-border);
}

/* Recent Posts */
.ah-recent-posts { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }

.ah-recent-item { display: flex; gap: 10px; align-items: flex-start; }

.ah-recent-thumb { flex-shrink: 0; width: 60px; height: 52px; border-radius: 5px; overflow: hidden; display: block; }
.ah-recent-thumb img { width: 60px; height: 52px; object-fit: cover; display: block; }

.ah-recent-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; }

.ah-recent-title {
  font-family: var(--ah-font) !important;
  font-size: 13px;
  font-weight: 600;
  color: var(--ah-text) !important;
  text-decoration: none !important;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ah-recent-title:hover { color: var(--ah-blue) !important; }

.ah-recent-date { font-size: 11px; color: var(--ah-text-light); }

/* Browse by Topic */
.ah-cat-list { list-style: none; padding: 0; margin: 0; }

.ah-cat-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--ah-font) !important;
  font-size: 13px;
  font-weight: 500;
  color: var(--ah-text) !important;
  text-decoration: none !important;
  padding: 9px 10px;
  border-radius: var(--ah-radius);
  border-bottom: 1px solid var(--ah-border);
  transition: background 0.15s, color 0.15s;
}

.ah-cat-list li:last-child a { border-bottom: none; }

.ah-cat-list li a:hover {
  background: var(--ah-light-bg);
  color: var(--ah-blue) !important;
}

.ah-cat-name { flex: 1; }

.ah-cat-count {
  background: var(--ah-light-bg);
  color: var(--ah-text-light);
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 50px;
  border: 1px solid var(--ah-border);
  margin-left: 8px;
}

/* Sidebar Share */
.ah-sidebar-share-text { font-size: 13px; color: var(--ah-text-light); margin-bottom: 10px; }
.ah-sidebar-share-btns { display: flex; gap: 8px; flex-wrap: wrap; }

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  .ah-layout { grid-template-columns: 1fr 290px; gap: 20px; }
}

@media (max-width: 768px) {
  .ah-layout { grid-template-columns: 1fr; padding: 16px 0 40px; }
  .ah-sidebar { position: static; }
  .ah-main { border-radius: var(--ah-radius); }

  .ah-post-title,
  .ah-meta-row,
  .ah-blog-content,
  .ah-tags-row,
  .ah-divider,
  .ah-author-cards-wrap,
  .ah-post-nav,
  .ah-related-section { padding-left: 18px; padding-right: 18px; }

  .ah-featured-img { height: 220px; }
  .ah-page-wrap h1.ah-post-title, .ah-main h1.ah-post-title, h1.ah-post-title { font-size: 26px !important; }
  .ah-post-nav { grid-template-columns: 1fr; }
  .ah-blogs-grid { grid-template-columns: 1fr; }
  .ah-meta-row { flex-direction: column; align-items: flex-start; }
  .ah-table-scroll-hint { display: block; }
  .ah-container { padding: 0 14px; }
}

@media (max-width: 480px) {
  .ah-featured-img { height: 180px; }
  .ah-page-wrap h1.ah-post-title, .ah-main h1.ah-post-title, h1.ah-post-title { font-size: 26px !important; }
}
