/*
 *  Blog Common
 *
 *  => Content
 *  Normal Grid - 2 - Blog
 *  Normal Grid - 3 - Blog
 *  Normal Grid - 4 - Blog
 */
/*----------  Media Query min-width Structure   ----------*/
/*----------  Media Query max-width Structure   ----------*/
/*----------  Break-point min-width Structure   ----------*/
/*----------  Break-point max-width Structure   ----------*/
.ast-page-builder-template .ast-article-post {
  margin-bottom: 2.5em;
}

.ast-featured-post {
  float: none;
}

.ast-separate-container .ast-separate-posts.ast-article-post {
  margin-bottom: 2em;
}

/**
 * Normal Blog
 */
.ast-animate-hidden {
  visibility: hidden;
  opacity: 0;
}

.ast-animate-display {
  visibility: visible;
  opacity: 1;
}

.ast-no-thumb .ast-date-meta .posted-on {
  margin-bottom: 1.5em;
}

.ast-date-meta.circle .posted-on {
  border-radius: 50%;
  overflow: hidden;
}

.has-post-thumbnail .ast-date-meta.circle .posted-on {
  margin: 1em;
}

.ast-separate-container .ast-grid-1 .blog-layout-1 {
  padding: 0;
}

.ast-separate-container .ast-grid-1 .blog-layout-2,
.ast-separate-container .ast-grid-1 .blog-layout-3 {
  padding: 0;
  border-bottom: 0;
}

.ast-separate-container .ast-grid-2 .ast-article-post .blog-layout-2,
.ast-separate-container .ast-grid-2 .ast-article-post .blog-layout-3,
.ast-separate-container .ast-grid-3 .ast-article-post .blog-layout-2,
.ast-separate-container .ast-grid-3 .ast-article-post .blog-layout-3,
.ast-separate-container .ast-grid-4 .ast-article-post .blog-layout-2,
.ast-separate-container .ast-grid-4 .ast-article-post .blog-layout-3 {
  border-bottom: 0;
}

.ast-separate-container .blog-layout-1,
.ast-separate-container .blog-layout-2,
.ast-separate-container .blog-layout-3 {
  padding: 2.66666em;
}

.ast-separate-container .ast-grid-2 .blog-layout-1,
.ast-separate-container .ast-grid-2 .blog-layout-2,
.ast-separate-container .ast-grid-2 .blog-layout-3,
.ast-separate-container .ast-grid-3 .blog-layout-1,
.ast-separate-container .ast-grid-3 .blog-layout-2,
.ast-separate-container .ast-grid-3 .blog-layout-3,
.ast-separate-container .ast-grid-4 .blog-layout-1,
.ast-separate-container .ast-grid-4 .blog-layout-2,
.ast-separate-container .ast-grid-4 .blog-layout-3 {
  padding: 1.5em;
}

@media (max-width: 1200px) {
  .ast-separate-container .ast-grid-2 .ast-article-post:nth-child(2n+0), .ast-separate-container .ast-grid-2 .ast-article-post:nth-child(2n+1),
  .ast-separate-container .ast-grid-3 .ast-article-post:nth-child(2n+0),
  .ast-separate-container .ast-grid-3 .ast-article-post:nth-child(2n+1),
  .ast-separate-container .ast-grid-4 .ast-article-post:nth-child(2n+0),
  .ast-separate-container .ast-grid-4 .ast-article-post:nth-child(2n+1) {
    padding: 0;
  }
  .ast-separate-container .blog-layout-1,
  .ast-separate-container .blog-layout-2,
  .ast-separate-container .blog-layout-3 {
    padding: 1.5em;
  }
}

.site-content .ast-grid-2 .ast-article-post,
.site-content .ast-grid-3 .ast-article-post,
.site-content .ast-grid-4 .ast-article-post {
  background: transparent;
}

.site-content .ast-grid-2 .ast-article-post .blog-layout-2,
.site-content .ast-grid-2 .ast-article-post .blog-layout-3,
.site-content .ast-grid-3 .ast-article-post .blog-layout-2,
.site-content .ast-grid-3 .ast-article-post .blog-layout-3,
.site-content .ast-grid-4 .ast-article-post .blog-layout-2,
.site-content .ast-grid-4 .ast-article-post .blog-layout-3 {
  border-bottom: 0;
}

/* Full Width Content Stretch */
.ast-page-builder-template .ast-article-post .entry-header {
  margin: auto auto 1em auto;
  padding: 0;
}

.ast-article-post .ast-post-format-audio.ast-embeded-audio .ast-date-meta .posted-on {
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
}

hr.post-divider {
  height: 0;
  margin: 0;
}

hr.ast-single-previous-hr {
  height: 0;
  margin-top: 2em;
}

.ast-show-comments-data {
  padding: 2em 6.67em;
}

.ast-show-comments-data .ast-show-comments {
  cursor: pointer;
}

.ast-show-comments-data .ast-show-comments-count,
.ast-show-comments-data .ast-show-comments {
  max-width: 640px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.ast-show-comments-data .ast-show-comments-count {
  margin-bottom: 2em;
}

.ast-pagination-square .ast-pagination .page-numbers,
.ast-pagination-circle .ast-pagination .page-numbers {
  border-style: solid;
  border-width: 1px;
  line-height: 2.33333em;
}

.ast-pagination-circle .ast-pagination .page-numbers {
  border-radius: 50%;
}

.ast-pagination-circle .ast-pagination .prev.page-numbers,
.ast-pagination-circle .ast-pagination .next.page-numbers {
  border-radius: 30px;
}

@media all and (max-width: 768px) {
  #content:before {
    content: "";
  }
}


/* Focus Management Styles - WCAG 2.1 Compliance */
/* Added for keyboard accessibility and screen reader support */

/* Button Focus Styles */
.hvac-button:focus,
.hvac-content .button:focus,
.hvac-content button:focus,
.hvac-content input[type="submit"]:focus,
.hvac-email-submit:focus,
.hvac-filter-submit:focus,
.hvac-certificate-actions button:focus,
.hvac-certificate-actions a:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
    border-radius: 4px;
}

/* Input Focus Styles */
.hvac-form-input:focus,
.hvac-content input[type="text"]:focus,
.hvac-content input[type="email"]:focus,
.hvac-content input[type="password"]:focus,
.hvac-content input[type="url"]:focus,
.hvac-content textarea:focus,
.hvac-content select:focus,
.hvac-email-form-row input:focus,
.hvac-email-form-row textarea:focus,
.hvac-filter-group input:focus,
.hvac-filter-group select:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    border-color: #005fcc;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
}

/* Link Focus Styles */
.hvac-content a:focus,
.hvac-event-link:focus,
.hvac-certificate-link:focus,
.hvac-attendee-profile-icon:focus,
.hvac-dashboard-nav a:focus,
.hvac-email-navigation a:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    text-decoration: underline;
    background-color: rgba(0, 95, 204, 0.1);
    border-radius: 2px;
}

/* Interactive Element Focus Styles */
.hvac-attendee-checkbox:focus,
.hvac-select-all-container input[type="checkbox"]:focus,
.hvac-modal-close:focus,
.hvac-certificate-table tr:focus {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(0, 95, 204, 0.2);
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .hvac-content *:focus {
        outline: 3px solid #000000;
        outline-offset: 2px;
        background-color: #ffff00;
        color: #000000;
    }
}

/* Focus-visible polyfill support */

/* Reset focus for mouse users while preserving keyboard accessibility */
.js-focus-visible :focus:not(.focus-visible) {
    outline: none;
    box-shadow: none;
}

/* Ensure focus is visible for keyboard users */
.js-focus-visible .focus-visible {
    outline: 2px solid #005fcc;
    outline-offset: 2px;
}
