/**
 * Blog Single Post Styles
 */

/* page wrapper blog */

.blog-single.page-wrapper {
	padding-top: 0px !important;
	padding-bottom: 0px !important;
}

/* Breadcrumbs on top of image */
.breadcrumb-container.blog-breadcrumbs {
    z-index: 10;
    max-width: 1200px !important;
    margin-left: auto;
    margin-right: auto;
}

.blog-breadcrumbs p {
	margin-bottom: .5rem;
	margin-top: .5rem;
}

.rank-math-breadcrumbs {
    background-color: rgba(255, 255, 255, 0.7);
    padding: 2rem 5px 0rem 3rem;
    border-radius: 4px;
    font-size: 1rem;
    display: inline-block;
}

.rank-math-breadcrumbs a {
    color: #203a60; /* fallback */
    color: var(--secondary-color-am);
  	padding: 3px;
  	opacity: .8;
    text-decoration: none;
	font-size: .9rem;
}

.rank-math-breadcrumbs a:hover {
    color: #5183e0; /* fallback */
    color: var(--tertiary-color-am);
      opacity: 1;
}

/* Main Wrapper */
.blog-single-wrapper {
  padding-top: 0px;
	background-color: #fff; /* fallback */
	background-color: var(--primary-color-am);
  padding-bottom: 4rem;
	position: relative;
}

/* Hero Image */
.post-hero-image {
  width: 100%;
  height: 28rem;
  background-color: #fff; /* fallback */
  background-color: var(--primary-color-am);
  position: relative;
  overflow: hidden;
}

.post-hero-image .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Container */
.blog-single-wrapper .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
  margin-top: -5rem;
}

/* Post Card */
.post-card {
  background-color: #fff; /* fallback */
  background-color: var(--primary-color-am);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateZ(0);
}

/* Windows/Edge/Firefox fallback for post card */
@supports not (-webkit-backdrop-filter: blur(1px)) {
  .post-card {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.12));
  }
}

/* Post breadcrumbs */
.post-card .rank-math-breadcrumb span.separator {
  padding-left: 0px;
  padding-right: 0px;
}

/* Post Header */
.post-header {
  padding: 2rem 3rem;
  border-bottom: 1px solid #f0f0f0; /* fallback */
  border-bottom: 1px solid #203a6045;
}

.post-category {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #3389B4; /* fallback */
  background-color: var(--brand-color-am-600);
  color: #fff; /* fallback */
  color: var(--primary-color-am);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
}

.post-title {
	font-size: clamp(1.25rem, 1.5rem + 0.5vw, 2.25rem);
  font-weight: 700;
  color: #203a60; /* fallback */
  color: var(--text-color-am);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.post-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  opacity: .8;
}

.meta-item {
  display: flex;
  align-items: center;
}

.meta-item i {
  margin-right: .75rem !important;
  font-size: 1rem;
}

.post-meta .meta-item .material-symbols-rounded {
    margin-right: .75rem;
    font-size: 1.1rem;
    width: auto;
    height: initial;
    color: #203a60; /* fallback */
    color: var(--secondary-color-am);
  	opacity: .8;
    border-radius: 0px;
    background-color: transparent;
}

.reading-time {
  color: #5183e0; /* fallback */
  color: var(--tertiary-color-am, #4a89dc);
  font-weight: 500;
}

/* Content Layout */
.post-content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 2rem;
}

@media (max-width: 768px) {
  .post-content-layout {
    grid-template-columns: 1fr;
  }
}

/* Main Content */
.post-main-content {
  padding: 2rem 3rem;
}

.post-content {
  font-size: 1rem;
  line-height: 1.6;
  color: #203a60; /* fallback */
  color: var(--text-color-am);
}

.post-content h2 {
  font-size: clamp(1.5rem, 2rem + 0.5vw, 3rem);
  font-weight: 600;
  color: #203a60; /* fallback - FIXED TYPO */
  color: var(--text-color-am);
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.post-content p {
  margin-bottom: 1.5rem;
}

/* Tags */
.post-tags {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #203a6045;
}

.tags-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.post-tags i {
  color: #1a4ead; /* fallback */
  color: var(--secondary-color-am-80);
  margin-right: 0.5rem;
}

.post-tags a {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: #f5f8ff; /* fallback */
  background-color: var(--tertiary-color-am-100);
  color: #1a4ead; /* fallback */
  color: var(--secondary-color-am-80);
  font-size: 0.75rem;
  border-radius: 9999px;
  text-decoration: none;
  transition: background-color 0.2s ease;
}

.post-tags a:hover {
  background-color: #e3edfc; /* fallback */
  background-color: var(--tertiary-color-am-150);
	transition: background-color 0.2s ease;
}

/* Social Share */
.post-share {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #203a6045;
}

.share-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.share-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  opacity: .8;
}

.share-buttons {
  display: flex;
  gap: 0.75rem;
}

.share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.2rem;
  height: 2.2rem;
  background-color: #f5f8ff; /* fallback */
  background-color: var(--green-color-am-200);
  border-radius: 9999px;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  opacity: .8;
  transform: translateZ(0);
  transition: all 0.2s ease;
}

.page-wrapper a.share-button {
  color: var(--secondary-color-am);
}

.page-wrapper a.share-button:hover {
  color: var(--secondary-color-am);
}

.share-button:hover {
	color: #203a60; /* fallback */
	color: var(--secondary-color-am);
  	background: #e3edfc; /* fallback */
  	background: var(--green-color-am-200);
  	opacity: 1;
	transition: all 0.2s ease;
}

/* Post Navigation */
.post-navigation {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid #203a6045;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}

.nav-previous,
.nav-next {
  display: flex;
  align-items: center;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-previous:hover,
.nav-next:hover {
  color: #5183e0; /* fallback */
  color: var(--tertiary-color-am, #4a89dc);
}

.nav-previous i {
  margin-right: 0.5rem !important;
}

.nav-next i {
  margin-left: 0.5rem !important;
}

/* Sidebar */
.post-sidebar {
  background-color: #fbfaf9; /* fallback */
  background-color: var(--grey-color-am);
  padding: 2rem;
}

.sidebar-widget {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid #e2e8f0;
}

.sidebar-widget:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.widget-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  margin-bottom: 1rem;
}

/* Author Widget */
.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  overflow: hidden;
  background-color: #e3edfc; /* fallback */
  background-color: var(--tertiary-color-am-150);
}

.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 1%;
}

.author-name {
  font-weight: 500;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
}

.author-title {
  font-size: 0.875rem;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  opacity: .8;
}

/* Related Posts Widget */
.related-posts {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.related-post {
  display: flex;
  gap: 0.75rem;
  text-decoration: none;
}

.related-post-image {
  flex-shrink: 0;
  width: 5rem;
  height: 5rem;
  background-color: #e2e8f0;
  border-radius: 0.25rem;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  transform: translateZ(0);
  transition: transform 0.3s, box-shadow 0.3s;
}

.related-post-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.related-post:hover .related-post-image {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.related-post:hover .related-post-image img {
  transform: scale(1.05);
}

/* Windows fallback for related post images */
@supports not (-webkit-backdrop-filter: blur(1px)) {
  .related-post-image {
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.12));
  }
  
  .related-post:hover .related-post-image {
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
  }
}

.related-post-title {
  font-weight: 500;
  font-size: 0.95rem;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  margin: 0 0 0.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s;
}

.related-post-date {
  font-size: 0.75rem;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  opacity: .8;
}

/* Newsletter Widget */
.newsletter-desc {
  font-size: 0.875rem;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  opacity: .8;
  margin-bottom: 1rem;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.newsletter-input {
  width: 100%;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  outline: none;
  transition: all 0.3s;
}

.newsletter-input:focus {
  border-color: #5183e0; /* fallback */
  border-color: var(--tertiary-color-am, #4a89dc);
  box-shadow: 0 0 0 2px rgba(74, 137, 220, 0.2);
  transform: translateZ(0);
}

/* Windows fallback for newsletter input focus */
@supports not (-webkit-backdrop-filter: blur(1px)) {
  .newsletter-input:focus {
    filter: drop-shadow(0 0 4px rgba(74, 137, 220, 0.3));
  }
}

.newsletter-button {
  width: 100%;
  padding: 0.5rem 1rem;
  background-color: #5183e0; /* fallback */
  background-color: var(--tertiary-color-am, #4a89dc);
  color: white;
  font-weight: 500;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background-color 0.3s;
}

.newsletter-button:hover {
  background-color: #3872c9; /* fallback */
  background-color: var(--tertiary-color-dark-am, #3872c9);
}

/* Call To Action */

.post-cta .section-background--tertiary.section.dark {
  background: transparent;
}
.post-cta {
  margin-top: 4rem;
  padding: 2rem;
  border-radius: 0.75rem;
  text-align: center;
}

.cta-title {
  font-weight: 600;
  color: #203a60; /* fallback */
  color: var(--secondary-color-am);
  margin-bottom: 1rem;
}

.cta-desc {
  color: #1a4ead; /* fallback */
  color: var(--secondary-color-am-80);
  margin-bottom: 1.5rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background-color: #5183e0; /* fallback */
  background-color: var(--tertiary-color-am, #4a89dc);
  color: #fff; /* fallback */
  color: var(--primary-color-am);
  font-weight: 500;
  border-radius: 0.375rem;
  text-decoration: none;
  transition: background-color 0.3s;
}

.cta-button i {
  margin-left: 0.5rem;
}

.cta-button:hover {
  background-color: #2A65D3; /* fallback */
  background-color: var(--tertiary-color-am-600, #3872c9);
	 color: #fff; /* fallback */
	 color: var(--primary-color-am);
}

body a, .page-wrapper a.fourth--button {
  color: var(--primary-color-am);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
  .post-header,
  .post-main-content {
    padding: 1.5rem 2rem;
  }
  .rank-math-breadcrumbs {
    padding: 1.5rem 5px 0rem 2rem;
}
  
  .post-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 768px) {
  .blog-single-wrapper {
    padding-top: 0rem;
  }
	
.breadcrumb-container.blog-breadcrumbs {
    top: 130px;
   }
  
  .post-hero-image {
    height: 18rem;
  }
  
  .blog-single-wrapper .container {
    margin-top: -3rem;
  }
  
  .post-header,
  .post-main-content {
    padding: 1.25rem 1.5rem;
  }
   .rank-math-breadcrumbs {
    padding: 1.25rem 5px 0rem 1.5rem;
}
  
  .post-title {
    font-size: 1.5rem;
  }
  
  .post-meta {
    gap: 1rem;
  }
  
  .share-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .post-header,
  .post-main-content,
  .post-sidebar {
    padding: 1rem;
  }
  
  .rank-math-breadcrumbs {
    padding: 1rem 5px 0rem 1rem;
}
  
  .post-title {
    font-size: 1.25rem;
  }
}