/* Header */
.site-header { 
  background: var(--ti-header-bg-color, #fff); 
  position: sticky;
  top: 0;
  z-index: var(--ti-z-sticky, 1000);
  border-bottom: 0.5px solid #000 !important;
  box-shadow: none !important;
  margin-bottom: 10px !important;
  margin-top: 10px !important;
}
button {
  font-family: "Manrope", sans-serif !important;
  font-weight: 600 !important;
}

.site-header .container.ti-nav {
  display: flex;
  width: 100%;
  box-sizing: border-box;
  height: 101px;
  padding: 30px 40px;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.site-header .navbar-brand.ti-logo { padding: 0; display: block; }
@media screen and (min-width: 768px) and (max-width: 1024px) {
.site-header .navbar-brand.ti-logo{margin-left:15px;}
}

.site-header .nav {
  justify-content: center;
  flex: 1 1 auto;
  margin-right: 20px;
  margin-left: 20px;
}

.site-header .menu-item {
  display: flex;
  align-items: center;
}

.site-header .menu-item a { 
  text-transform: uppercase; 
  font-weight: 600; 
  color: #1C1A1A ;
  margin: 0 0.85rem;
  font-size: 16px;
  padding: 0.5rem 0;
  position: relative;
  text-decoration: none;
  display: block;
  line-height: 20px;
  letter-spacing: 0.32px;
}

/* Bottom border animation */
.site-header .menu-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #A40002;
  transition: width var(--ti-transition-normal, 0.3s ease);
}

.site-header .menu-item a:hover::after,
.site-header .menu-item a:focus::after,
.site-header .current-menu-item a::after {
  width: 100%;
}

.site-header .menu-item a:hover,
.site-header .menu-item a:focus,
.site-header .current-menu-item a {
  color: #A40002;
}

.site-header .btn-subscribe { 
  background-color: #C72B1C;
    border: none;
    color: #fff;
    text-transform: uppercase;
    width: 141px;
    height: 54px;
    padding: 12px 20px;
    align-items: center;
    border-radius: 5px;
    font-size: 18px;
    font-weight: 700;
    border:3px solid transparent;
}

.site-header .btn-subscribe:hover {
  border: 3px solid #C72B1C;
  background: #EB4D36;
}

.site-header .search-icon i, 
.site-header .bi-list { 
  color: #000; 
  font-size: 45px !important; 
}

.site-header .search-icon:hover i,
.site-header .btn-link:hover .bi-list {
  color: var(--ti-primary-color, #C72B1C) !important;
}

.site-header .d-flex.align-items-center.ti-actions { white-space: nowrap; gap: 16px; }

/* Mobile menu */
#mobileMenu {
  border-top: 1px solid #eee;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

#mobileMenu .menu-item {
  padding: 0;
  border-bottom: 1px solid #eee;
}

#mobileMenu .menu-item a {
  padding: 0.75rem 1rem;
  display: block;
}

/* Responsive: keep Figma spacing while adapting at breakpoints */
@media (max-width: 992px) {
  .site-header .container.ti-nav { height: 90px; padding: 24px 24px; }
  .navbar-brand img, .navbar-brand .svg-logo { width: 140px; height: auto; }
  .site-header .nav { margin: 0 12px; }
}
@media (max-width: 768px) {
  .site-header .container.ti-nav { height: 80px; padding: 20px 16px; }
  .site-header .btn-subscribe {  }
  .navbar-brand img, .navbar-brand .svg-logo { margin-left:15px;}
}

#mobileMenu .btn-subscribe {
  margin: 0 1rem 1rem;
  width: calc(100% - 2rem);
}

/* Footer */
.site-footer { 
  background-color: var(--ti-footer-bg-color, #000); 
  color: var(--ti-footer-text-color, #fff); 
  padding: 4rem 0 1rem;
  margin-top: 60px;
}

@media (min-width: 768px) and (max-width: 991px) {
  .site-footer {
    padding: 30px !important;
    /* text-align: center !important; */
  }
}

.site-footer h5 {
  font-size: 1.1rem;
  font-style: italic;
  font-weight: 300;
  margin-top: 0.75rem;
  margin-bottom: 1.75rem;
}

.site-footer p {
  color: #ccc;
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 2rem;
  max-width: 90%;
}

.site-footer h6 {
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  color: #fff;
}

.site-footer .social-icons {
  display: flex;
  margin-top: 1.5rem;
  justify-content: flex-start;
  gap: 16px;
}

.site-footer .social-icons a { 
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: #fff;
}

.site-footer .social-icons a svg {
  width: 34px;
  height: 34px;
}

.site-footer .social-icons a:hover {
  color: var(--ti-primary-color, #eb4d36);
}

/* Footer links */
.site-footer .list-unstyled {
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-footer .list-unstyled li {
  margin-bottom: 1.1rem;
}

.site-footer .list-unstyled a {
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 500;
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
}

/* Footer link animation */
.site-footer .list-unstyled a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--ti-primary-color, #eb4d36);
  transition: width var(--ti-transition-normal, 0.3s ease);
}

.site-footer .list-unstyled a:hover::after {
  width: 100%;
}

.site-footer a { 
  color: #fff; 
  text-decoration: none; 
}

.site-footer a:hover { 
  color: #eb4d36;
  text-decoration: none; 
}

.site-footer hr {
  border-color: #333;
  margin: 1.5rem 0;
  opacity: 0.2;
  border-top-width: 1px;
}

.site-footer .container > hr {
  margin-top: 2rem;
}

.site-footer .d-flex.justify-content-between,
.site-footer .d-flex.flex-column {
  font-size: 0.8rem;
}

.site-footer .d-flex p {
  margin-bottom: 0;
  color: #fff;
  font-size: 0.8rem;
}

.site-footer .d-flex.flex-column a,
.site-footer .d-flex.justify-content-between a {
  color: #656565;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  position: relative;
  display: inline-block;
  padding-bottom: 2px;
}

/* Bottom footer links animation */
.site-footer .d-flex.flex-column a::after,
.site-footer .d-flex.justify-content-between a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: #eb4d36;
  opacity: 0.7;
  transition: width 0.3s ease;
}

.site-footer .d-flex.flex-column a:hover::after,
.site-footer .d-flex.justify-content-between a:hover::after {
  width: 100%;
}

.site-footer .d-flex a:hover {
  color: #eb4d36;
}

/* Subscribe Form in Footer */
.site-footer .subscribe-section {
  margin-bottom: 3rem;
  margin-top: 0rem;
}

.site-footer .subscribe-section .subscribe-heading {
  font-size: 28px !important;
  text-transform: none;
  margin-bottom: 1.25rem;
  letter-spacing: 0;
}

.site-footer form {
  display: flex;
}

.site-footer form input {
  height: 48px;
  background-color: transparent;
  border: 1px solid #333;
  color: #fff;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  flex-grow: 1;
  border-radius: 0;
  border:1px solid #989898;
}

.site-footer form input::placeholder {
  color: #ccc;
}

.site-footer form input:focus {
  outline: none;
  box-shadow: none;
  border-color: #eb4d36;
  background-color: transparent;
  color: #fff;
}

.site-footer .btn-subscribe {
  height: 48px;
  background-color: #eb4d36;
  border: none;
  color: #fff;
  text-transform: uppercase;
  font-weight: 600;
  padding: 0 1.5rem;
  font-size: 0.85rem;
  border-radius: 0;
  letter-spacing: 0.05em;
}

.site-footer .btn-subscribe:hover {
  background-color: #d34430;
}

/* Content */
.site-content { padding: var(--ti-content-spacing, 30px) 0; }

/* Buttons */
#ti-infscroll-load-btn.button,
.button.ti-inline,
button.ti-inline,
a.button.ti-inline {
  display: inline-flex;
  padding: 14px 20px;
  justify-content: center;
  align-items: center;
  gap: 10px;
  border-radius: 5px;
  border: 1px solid #C72B1C;
  color: #1C1A1A;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  text-decoration: none;
  background: transparent;
}

#ti-infscroll-load-btn.button:hover,
.button.ti-inline:hover,
button.ti-inline:hover,
a.button.ti-inline:hover {
  background: rgba(199,43,28,0.06);
}

/* Logo Styling */
.navbar-brand img,
.navbar-brand .svg-logo {
  width: 163px;
  height: 53px;
  max-width: none;
  max-height: none;
  aspect-ratio: 163 / 43;
  object-fit: contain;
}

.svg-logo {
  display: block;
}

/* Single Post Audio Player Component Styles */
.single-post-container {
  position: relative;
}

/* =====================
   Single template layout overrides
   - Do not apply global container row/column gutter tweaks on single pages
   - Ensures single components honor container content width without extra side gaps
   ===================== */
.single .container > .row {
  --bs-gutter-x: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single .container > .row > [class*="col-lg-"] {
  /* padding-left: 0 !important; */
  /* padding-right: 0 !important; */
}

/* Remove inner builder horizontal gaps on single */
.single .container .row [class*="col-"] > .row.gx-4,
.single .container .row [class*="col-"] > .row[class*="gx-"] {
  --bs-gutter-x: 0 !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

.single .container {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

@media (max-width: 991.98px) {
  .single .container > .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .single .container > .row > [class*="col-lg-"] {
    /* padding-left: 0 !important; */
    /* padding-right: 0 !important; */
  }
}

/* =====================
   Global Title Line Clamp (3 lines)
   Apply without editing each component
   ===================== */
.ti-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  /* Ensure consistent wrapping */
  word-break: break-word;
}

 /* Apply clamp to common title classes across the theme */
 .headline-title,
 .side-title,
 .article-title,
 .entry-title,
 .post-title,
 .ti-featured-title,
 .ti-article-title,
 .card .card-title,
 .ti-card-title,
 .ti-section .ti-card .ti-card-title,
 .ti-post-card .ti-card-title {
   display: -webkit-box;
   -webkit-line-clamp: 3;
   -webkit-box-orient: vertical;
   overflow: hidden;
   text-overflow: ellipsis;
   word-break: break-word;
   /* Ensure ellipsis inherits the title's color */
   color: inherit;
 }

/* Force ellipsis to use current text color */
.headline-title::after,
.side-title::after,
.article-title::after,
.entry-title::after,
.post-title::after,
.ti-featured-title::after,
.ti-article-title::after,
.card .card-title::after,
.ti-post-card .ti-card-title::after {
  color: currentColor;
}

.featured-image-container {
  display: flex;
  width: 100%;
  height: 480px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.featured-image-container::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 48%;
  /* background: linear-gradient(0deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.00) 100%); */
  pointer-events: none;
}

.audio-player-container {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 20px;
  padding: 16px 24px;
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: #C72B1C;
  border-radius: 0;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
  max-width: 100%;
  opacity: 0.9;
}

.listen-text {
  color: #FFF;

  font-size: 24px;
  font-style: normal;
  font-weight: 600;
  line-height: 30px; /* 125% */
  letter-spacing: 0.24px;
  white-space: nowrap;
}

.play-pause-btn {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-sizing: border-box;
  min-width: 44px;
  min-height: 44px;
}

.play-pause-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}
.play-pause-btn:focus-visible,
.skip-btn:focus-visible,
.restart-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.play-pause-btn.disabled {
  cursor: not-allowed;
  opacity: 0.6;
}

/* Audio waveform visualization */
.audio-waveform-container {
  flex: 1 1 auto;
  min-width: 240px;
  max-width: none;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 20px;
}
.skip-back { margin-left: auto; }

.waveform-bars {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1px;
  height: 44px;
  cursor: pointer;
  user-select: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  width: 100%;
  overflow: hidden; /* prevent horizontal overflow on narrow screens */
}

.waveform-bars:hover {
  background: rgba(255, 255, 255, 0.1);
}

.waveform-bars .bar {
  flex: 0 0 2px; /* ensure uniform width while allowing full-row distribution */
  background: rgba(255, 255, 255, 1);
  border-radius: 1px;
  transition: all 0.2s ease;
  transform-origin: bottom;
  will-change: transform, background, opacity;
}

.waveform-bars .bar:nth-child(1) { height: 15px; }
.waveform-bars .bar:nth-child(2) { height: 25px; }
.waveform-bars .bar:nth-child(3) { height: 35px; }
.waveform-bars .bar:nth-child(4) { height: 20px; }
.waveform-bars .bar:nth-child(5) { height: 30px; }
.waveform-bars .bar:nth-child(6) { height: 40px; }
.waveform-bars .bar:nth-child(7) { height: 25px; }
.waveform-bars .bar:nth-child(8) { height: 15px; }
.waveform-bars .bar:nth-child(9) { height: 35px; }
.waveform-bars .bar:nth-child(10) { height: 20px; }
.waveform-bars .bar:nth-child(11) { height: 30px; }
.waveform-bars .bar:nth-child(12) { height: 40px; }
.waveform-bars .bar:nth-child(13) { height: 25px; }
.waveform-bars .bar:nth-child(14) { height: 35px; }
.waveform-bars .bar:nth-child(15) { height: 20px; }
.waveform-bars .bar:nth-child(16) { height: 15px; }
.waveform-bars .bar:nth-child(17) { height: 30px; }
.waveform-bars .bar:nth-child(18) { height: 35px; }
.waveform-bars .bar:nth-child(19) { height: 25px; }
.waveform-bars .bar:nth-child(20) { height: 40px; }
.waveform-bars .bar:nth-child(21) { height: 20px; }
.waveform-bars .bar:nth-child(22) { height: 30px; }
.waveform-bars .bar:nth-child(23) { height: 15px; }
.waveform-bars .bar:nth-child(24) { height: 35px; }
.waveform-bars .bar:nth-child(25) { height: 25px; }
.waveform-bars .bar:nth-child(26) { height: 40px; }
.waveform-bars .bar:nth-child(27) { height: 20px; }
.waveform-bars .bar:nth-child(28) { height: 30px; }
.waveform-bars .bar:nth-child(29) { height: 15px; }
.waveform-bars .bar:nth-child(30) { height: 35px; }
.waveform-bars .bar:nth-child(31) { height: 25px; }
.waveform-bars .bar:nth-child(32) { height: 20px; }
.waveform-bars .bar:nth-child(33) { height: 30px; }
.waveform-bars .bar:nth-child(34) { height: 40px; }
.waveform-bars .bar:nth-child(35) { height: 15px; }
.waveform-bars .bar:nth-child(36) { height: 25px; }
.waveform-bars .bar:nth-child(37) { height: 35px; }
.waveform-bars .bar:nth-child(38) { height: 20px; }
.waveform-bars .bar:nth-child(39) { height: 30px; }
.waveform-bars .bar:nth-child(40) { height: 25px; }

/* Playing animation */
.waveform-bars.playing .bar {
  background: #FFF;
  animation: waveform-pulse 1.5s ease-in-out infinite;
}

/* Ensure bars beyond the first 40 are visible, and provide a repeating pattern */
.waveform-bars .bar:nth-child(n+41) { height: 26px; }
.waveform-bars .bar:nth-child(2n+41) { height: 34px; }
.waveform-bars .bar:nth-child(3n+41) { height: 18px; }
.waveform-bars .bar:nth-child(5n+41) { height: 40px; }

.waveform-bars.playing .bar:nth-child(odd) {
  animation-delay: 0.1s;
}

.waveform-bars.playing .bar:nth-child(even) {
  animation-delay: 0.2s;
}

@keyframes waveform-pulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* Skip and restart buttons */
.skip-btn,
.restart-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s ease;
  position: relative;
  width: 48px;
  height: 48px;
  min-width: 44px;
  min-height: 44px;
  box-sizing: border-box;
}

.skip-btn:hover,
.restart-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.skip-btn {
  flex-direction: column;
  gap: 0;
}

.skip-text {
  color: #FFF;
  font-size: 14px;
  font-weight: 700;
  z-index: 2;
}

/* Ensure skip forward button spacing */
.skip-forward {
  margin-left: 5px;
}

.skip-back {
  margin-right: 5px;
}

.audio-unavailable {
  opacity: 0.7;
}

/* Article Content Component Styles */
.article-content-wrapper {
  /* padding: 60px 0; */
  background: #fff;
}

.article-content-container {
  /* max-width: 800px; */
  margin: 0 auto;
}

/* Article Header */
.article-header {
  margin-bottom: 50px;
  text-align: center;
  border-bottom: 1px solid #eee;
  padding-bottom: 30px;
}

.article-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 30px;
  color: #1a1a1a;
}

.article-meta {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.meta-label {
  font-size: 12px;
  font-weight: 600;
  color: #999;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

.article-excerpt {
  margin-top: 20px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #C72B1C;
}

.article-excerpt p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  font-style: italic;
}

/* Article Body */
.article-body {
  margin-bottom: 50px;
  padding-left: 30px;
  padding-right: 30px;
}

@media (max-width: 768px) {
  .article-body {
    padding-left: 5px;
    padding-right: 5px;
  }
}


.article-content {
  font-size: 20px;
  color: #000;
  font-style: normal;
  font-weight: 400;
  line-height: 38px;
  letter-spacing: 0.2px;
  -webkit-font-smoothing:auto;
}

.article-content p {
  margin-bottom: 24px;
}

.article-content h2, 
.article-content h3, 
.article-content h4 {
  margin-top: 40px;
  margin-bottom: 20px;
  color: #000;
}

.article-content h2 {
  font-size: 2rem;
  font-weight: 600;
}

.article-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

.article-content h4 {
  font-size: 1.25rem;
  font-weight: 600;
}

.article-content blockquote {
  border-left: 4px solid #C72B1C;
  padding-left: 20px;
  margin: 30px 0;
  font-style: italic;
  font-size: 20px;
  color: #555;
}

.article-content ul, 
.article-content ol {
  margin-bottom: 24px;
  padding-left: 30px;
}

.article-content li {
  margin-bottom: 8px;
}

/* Article Footer */
.article-footer {
  border-top: 1px solid #eee;
  padding-top: 30px;
  margin-top: 50px;
  margin-bottom: 40px;
  padding-left: 30px;
}

.article-tags,
.article-categories {
  margin-bottom: 30px;
}

.tags-container,
.categories-container {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.tags-label,
.categories-label {
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.tags-list,
.categories-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-link,
.category-link {
  background: #f1f1f1;
  color: #666;
  padding: 8px 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.3s ease;
  border-radius: 5px;
}

.tag-link:hover,
.category-link:hover {
  background: #C72B1C;
  color: #fff;
  text-decoration: none;
}

/* Share Section */
.article-share {
  border-top: 1px solid #eee;
  padding-top: 20px;
}

.share-label {
  display: block;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
  font-size: 14px;
}

.share-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.share-btn.twitter {
  background: #1da1f2;
  color: #fff;
}

.share-btn.facebook {
  background: #4267b2;
  color: #fff;
}

.share-btn.linkedin {
  background: #0077b5;
  color: #fff;
}

.share-btn.copy-link {
  background: #4C4C4C;
  color: #fff;
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: #fff;
}

/* Author Page Styles */
.author-posts .post-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 20px;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-posts .post-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.author-posts .post-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.author-posts .post-title a {
  color: #333;
  text-decoration: none;
}

.author-posts .post-title a:hover {
  color: var(--ti-primary-color, #eb4d36);
}

.author-posts .post-meta {
  font-size: 0.875rem;
  color: #666;
}

.author-posts .post-meta a {
  color: var(--ti-primary-color, #eb4d36);
  text-decoration: none;
}

.author-posts .post-meta a:hover {
  text-decoration: underline;
}

.author-posts .post-excerpt {
  color: #555;
  line-height: 1.6;
}

.author-bio-section {
  margin-bottom: 3rem;
}

/* Responsive styles */
@media (max-width: 768px) {
  .featured-image-container {
    height: 300px;
  }
  
  .audio-player-container {
    position: absolute; /* stick to bottom like desktop */
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px 14px;
    gap: 8px;
    flex-wrap: nowrap; /* keep controls on one row */
    justify-content: flex-start;
    align-items: center;
    max-width: 100%;
    border-radius: 0;
    margin: 0;
  }
  
  .listen-text {
    font-size: 18px;
    line-height: 24px;
    order: 1;
    width: 100%;
    text-align: center;
    margin-bottom: 10px;
  }
  
  .play-pause-btn {
    order: 2;
    width: 44px;
    height: 44px;
  }
  
  .audio-waveform-container {
    order: 3;
    margin: 0 8px;
    flex: 1 1 auto; /* allow shrink/grow to keep one row */
    min-width: 120px;
    max-width: 100%;
  }
  
  .skip-btn,
  .restart-btn {
    order: 4;
    width: 40px;
    height: 40px;
  }
  
  .waveform-bars {
    height: 28px;
    gap: 0;               /* pack bars tighter */
  }
  .waveform-bars .bar { flex: 0 0 1px; } /* thinner bars on tablet */
  .waveform-bars .bar:nth-child(n+121) { display: none; } /* reduce count to ~120 */
  
  .waveform-bars .bar {
    width: 2px;
  }
  
  .article-title {
    font-size: 2rem;
  }
  
  .article-meta {
    flex-direction: column;
    gap: 15px;
  }
  
  .article-content {
    font-size: 16px;
  }
  
  .share-buttons {
    justify-content: center;
  }
  
  .share-btn {
    flex: 1;
    justify-content: center;
    min-width: 120px;
  }
}

@media (max-width: 480px) {
  .audio-player-container { padding: 10px 12px; gap: 6px; }
  .listen-text { display: none; }
  
  .listen-text {
    font-size: 16px;
    line-height: 20px;
  }
  
  .play-pause-btn { width: 40px; height: 40px; }
  
  .skip-btn,
  .restart-btn { width: 32px; height: 32px; }
  
  .waveform-bars {
    height: 24px;
    gap: 1px;
  }
  .waveform-bars .bar { flex: 0 0 1px; }
  .waveform-bars .bar:nth-child(n+91) { display: none; } /* ~90 bars on phones */
  
  .waveform-bars .bar {
    width: 2px;
  }
  
  .skip-text {
    font-size: 10px;
    top: 6px;
  }
  
  .article-content-wrapper {
    padding: 20px 0;
  }
  
  .tags-container,
  .categories-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .share-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .share-btn {
    justify-content: center;
  }
}

/* Make the SVG icon fill most of the circle and sit under the numeric label */
.skip-btn svg {
  width: 80%;
  height: 80%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover {
  text-decoration: underline !important;
  text-decoration-color: currentColor !important;
  text-decoration-thickness: 2px !important;
  text-underline-offset: 3px !important;
}

/* Sticky Share Bar – slim pill at bottom-left with tube expansion */
#ti-sharebar {
  position: fixed;
  bottom: 18px;
  left: 18px;
  z-index: 2000;
  display: flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 9999px;
  transition: opacity .2s ease, transform .2s ease;
}

#ti-sharebar.ti-hidden { opacity: 0; pointer-events: none; transform: translateY(6px); }

#ti-sharebar .ti-share-toggle {
  background: #EB4D36;
  border: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
}
#ti-sharebar .ti-share-toggle svg { width: 22px; height: 22px; display: block; }
#ti-sharebar .ti-share-toggle svg path { fill: #fff; }

#ti-sharebar .ti-share-panel {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  background: #EB4D36;
  border-radius: 9999px;
  padding: 6px;
  overflow: hidden;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
  max-width: 0;
  transition: transform .25s ease, opacity .2s ease, max-width .25s ease;
}

#ti-sharebar.expanded .ti-share-panel { transform: scaleX(1); opacity: 1; max-width: 260px; }

#ti-sharebar .ti-share-divider { display: none; }

#ti-sharebar .ti-share-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  margin: 0 4px;
  text-decoration: none;
  transition: transform .15s ease, background-color .15s ease;
}
#ti-sharebar .ti-share-link i { font-size: 18px; line-height: 1; }
#ti-sharebar .ti-share-link:hover { transform: translateY(-1px); background: rgba(255,255,255,.15); }

@media (max-width: 992px) {
  #ti-sharebar { left: 12px; bottom: 14px; }
}
.ti-why-ribbon
{
  display: none !important;
}

/* Global heading/subheading sentence-case overrides (consolidated) */
h1, h2, h3, h4, h5, h6 { text-transform: none !important; }
.ti-featured-title,
.ti-secondary-title,
.ti-category-title,
.ti-article-title,
.ti-widget-title,
.ti-section-title,
.entry-title,
.page-title,
.post-title,
.mega-menu-title,
.category-cards-title,
.resources-title,
.events-hero-details .title,
.event-card-details .title,
.site-footer h6 { text-transform: none !important; }