.elementor-159 .elementor-element.elementor-element-419bec70{--display:flex;}.elementor-159 .elementor-element.elementor-element-419bec70:not(.elementor-motion-effects-element-type-background), .elementor-159 .elementor-element.elementor-element-419bec70 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1A1A2E;}.elementor-159 .elementor-element.elementor-element-2ea69e62{--display:flex;--margin-top:-5px;--margin-bottom:-5px;--margin-left:0px;--margin-right:0px;}.elementor-159 .elementor-element.elementor-element-2ea69e62:not(.elementor-motion-effects-element-type-background), .elementor-159 .elementor-element.elementor-element-2ea69e62 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1A1A2E;}.elementor-159 .elementor-element.elementor-element-424fb60e{margin:0px 0px calc(var(--kit-widget-spacing, 0px) + 0px) 0px;}.elementor-159 .elementor-element.elementor-element-50f9c742{--display:flex;}.elementor-159 .elementor-element.elementor-element-50f9c742:not(.elementor-motion-effects-element-type-background), .elementor-159 .elementor-element.elementor-element-50f9c742 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1A1A2E;}.elementor-widget-divider{--divider-color:var( --e-global-color-secondary );}.elementor-widget-divider .elementor-divider__text{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-divider.elementor-view-stacked .elementor-icon{background-color:var( --e-global-color-secondary );}.elementor-widget-divider.elementor-view-framed .elementor-icon, .elementor-widget-divider.elementor-view-default .elementor-icon{color:var( --e-global-color-secondary );border-color:var( --e-global-color-secondary );}.elementor-widget-divider.elementor-view-framed .elementor-icon, .elementor-widget-divider.elementor-view-default .elementor-icon svg{fill:var( --e-global-color-secondary );}.elementor-159 .elementor-element.elementor-element-4b7ec0af{--divider-border-style:solid;--divider-color:#000;--divider-border-width:0px;}.elementor-159 .elementor-element.elementor-element-4b7ec0af .elementor-divider-separator{width:100%;}.elementor-159 .elementor-element.elementor-element-4b7ec0af .elementor-divider{padding-block-start:27px;padding-block-end:27px;}.elementor-159 .elementor-element.elementor-element-5259e207{--display:flex;}.elementor-159 .elementor-element.elementor-element-5259e207:not(.elementor-motion-effects-element-type-background), .elementor-159 .elementor-element.elementor-element-5259e207 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1A1A2E;}.elementor-159 .elementor-element.elementor-element-99dbd33{--display:flex;}.elementor-widget-posts .elementor-button{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-post__title, .elementor-widget-posts .elementor-post__title a{color:var( --e-global-color-secondary );font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-widget-posts .elementor-post__meta-data{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-posts .elementor-post__excerpt p{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );}.elementor-widget-posts .elementor-post__read-more{color:var( --e-global-color-accent );}.elementor-widget-posts a.elementor-post__read-more{font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-post__card .elementor-post__badge{background-color:var( --e-global-color-accent );font-family:var( --e-global-typography-accent-font-family ), Sans-serif;font-weight:var( --e-global-typography-accent-font-weight );}.elementor-widget-posts .elementor-pagination{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-widget-posts .e-load-more-message{font-family:var( --e-global-typography-secondary-font-family ), Sans-serif;font-weight:var( --e-global-typography-secondary-font-weight );}.elementor-159 .elementor-element.elementor-element-369e55f{--grid-row-gap:35px;--grid-column-gap:30px;}.elementor-159 .elementor-element.elementor-element-369e55f .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.66 * 100% );}.elementor-159 .elementor-element.elementor-element-369e55f:after{content:"0.66";}.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__thumbnail__link{width:100%;}.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__meta-data span + span:before{content:"///";}.elementor-159 .elementor-element.elementor-element-369e55f.elementor-posts--thumbnail-left .elementor-post__thumbnail__link{margin-right:20px;}.elementor-159 .elementor-element.elementor-element-369e55f.elementor-posts--thumbnail-right .elementor-post__thumbnail__link{margin-left:20px;}.elementor-159 .elementor-element.elementor-element-369e55f.elementor-posts--thumbnail-top .elementor-post__thumbnail__link{margin-bottom:20px;}.elementor-159 .elementor-element.elementor-element-369e55f .elementor-pagination{text-align:center;font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );}.elementor-159 .elementor-element.elementor-element-369e55f .elementor-pagination .page-numbers:not(.dots){color:#000000;}body:not(.rtl) .elementor-159 .elementor-element.elementor-element-369e55f .elementor-pagination .page-numbers:not(:first-child){margin-left:calc( 10px/2 );}body:not(.rtl) .elementor-159 .elementor-element.elementor-element-369e55f .elementor-pagination .page-numbers:not(:last-child){margin-right:calc( 10px/2 );}body.rtl .elementor-159 .elementor-element.elementor-element-369e55f .elementor-pagination .page-numbers:not(:first-child){margin-right:calc( 10px/2 );}body.rtl .elementor-159 .elementor-element.elementor-element-369e55f .elementor-pagination .page-numbers:not(:last-child){margin-left:calc( 10px/2 );}.elementor-159 .elementor-element.elementor-element-7ab71fe3{--display:flex;}.elementor-159 .elementor-element.elementor-element-40962b4e{--display:flex;}.elementor-159 .elementor-element.elementor-element-b185bcc{--display:flex;}.elementor-159 .elementor-element.elementor-element-b185bcc:not(.elementor-motion-effects-element-type-background), .elementor-159 .elementor-element.elementor-element-b185bcc > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1A1A2E;}.elementor-159 .elementor-element.elementor-element-45407f4{--divider-border-style:solid;--divider-color:#000;--divider-border-width:1px;}.elementor-159 .elementor-element.elementor-element-45407f4 .elementor-divider-separator{width:0%;}.elementor-159 .elementor-element.elementor-element-45407f4 .elementor-divider{padding-block-start:15px;padding-block-end:15px;}.elementor-159 .elementor-element.elementor-element-1444cca1{--display:flex;}.elementor-159 .elementor-element.elementor-element-1444cca1:not(.elementor-motion-effects-element-type-background), .elementor-159 .elementor-element.elementor-element-1444cca1 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#1A1A2E;}.elementor-159 .elementor-element.elementor-element-1e208e3d{--display:flex;}.elementor-159 .elementor-element.elementor-element-1e208e3d:not(.elementor-motion-effects-element-type-background), .elementor-159 .elementor-element.elementor-element-1e208e3d > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:var( --e-global-color-f467fae );}@media(max-width:767px){.elementor-159 .elementor-element.elementor-element-369e55f .elementor-posts-container .elementor-post__thumbnail{padding-bottom:calc( 0.5 * 100% );}.elementor-159 .elementor-element.elementor-element-369e55f:after{content:"0.5";}.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__thumbnail__link{width:100%;}}/* Start custom CSS for posts, class: .elementor-element-369e55f *//* ── Resources page /resources/ — Posts widget Custom CSS ── */
/* Paste into: Posts widget (369e55f) → Advanced → Custom CSS */

/* ── NO-IMAGE SPACER ── */
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post:not(:has(.elementor-post__thumbnail__link)) .elementor-post__text {
  padding-top: 200px !important;
}
/* ── GRID ── */
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-posts-container {
  gap: 24px !important;
}

/* ── CARD ── */
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post {
  background: #ffffff !important;
  border: 1px solid #eee !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: box-shadow 0.25s ease !important;
  max-width: 100% !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08) !important;
}

/* ── THUMBNAIL ── */
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__thumbnail__link {
  display: block !important;
  width: 100% !important;
  height: 180px !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  line-height: 0 !important;
  position: relative !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__thumbnail {
  width: 100% !important;
  height: 180px !important;
  overflow: hidden !important;
  display: block !important;
  position: relative !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__thumbnail img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center center !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  transform: scale(1) !important;
  transition: transform 0.4s ease !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post:hover .elementor-post__thumbnail img {
  transform: scale(1.05) !important;
}

/* ── TEXT AREA ── */
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__text {
  padding: 20px 20px 16px !important;
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  min-height: calc(40px + 16px + 8px + calc(13px * 1.65 * 4) + 12px + 18px) !important;
}
/* ── TITLE — 2 lines fixed, Safari-safe ── */
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  height: 40px !important;
  overflow: hidden !important;
  margin: 0 0 8px !important;
  display: block !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__title a,
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__title a * {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  color: #1a1a2e !important;
  text-decoration: none !important;
  border-bottom: none !important;
  transition: color 0.2s !important;
  display: block !important;
  overflow: hidden !important;
  height: 40px !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__title a:hover,
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__title a:hover * {
  color: #0037FF !important;
}

/* ── META — 1 line ── */
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__meta-data {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #bbb !important;
  margin-bottom: 8px !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  height: 16px !important;
  display: block !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__meta-data *,
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post-date,
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post-avatar {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 11px !important;
  font-weight: 400 !important;
  color: #bbb !important;
}

/* ── EXCERPT — 4 lines, Safari-safe ── */
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__excerpt {
  overflow: hidden !important;
  max-height: calc(13px * 1.65 * 4) !important;
  margin-bottom: 12px !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__excerpt p,
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__excerpt * {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: #777 !important;
  line-height: 1.65 !important;
  margin: 0 !important;
  overflow: hidden !important;
  max-height: calc(13px * 1.65 * 4) !important;
}

/* ── READ MORE ── */
.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__read-more,
.elementor-159 .elementor-element.elementor-element-369e55f a.elementor-post__read-more {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: #0037FF !important;
  text-decoration: none !important;
  border-bottom: none !important;
  margin-top: auto !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  transition: color 0.2s !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__read-more:hover,
.elementor-159 .elementor-element.elementor-element-369e55f a.elementor-post__read-more:hover {
  color: #0026cc !important;
}

.elementor-159 .elementor-element.elementor-element-369e55f .elementor-post__read-more::after,
.elementor-159 .elementor-element.elementor-element-369e55f a.elementor-post__read-more::after {
  content: ' →' !important;
}/* End custom CSS */
/* Start custom CSS for container, class: .elementor-element-99dbd33 *//* ================================================================
   MELLIVOR — RESOURCES PAGE: WP NATIVE BLOG LOOP CUSTOM CSS
   Paste into: Appearance → Customize → Additional CSS
   OR: Elementor → Site Settings → Custom CSS
   
   Targets the WordPress native post loop on /resources/
   Transforms default blog posts into styled resource cards
   matching the Mellivor design system.
   ================================================================ */


/* ----------------------------------------------------------------
   1. POSTS CONTAINER — turn the loop into a clean 2-col grid
   ---------------------------------------------------------------- */

/* Wrap the whole blog section area */
.blog .site-main,
.home .site-main,
body.blog main,
body.page .site-main,
#main .site-main {
  background: #f5f5f7;
}

/* The main posts wrapper — 2 column grid */
.posts-container,
.site-main .posts-container,
main#main,
.blog main,
#primary,
.content-area,
.elementor-posts-container,
#main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px 80px;
}

/* The actual loop wrapper Astra/OceanWP/Hello use */
.ast-article-post,
.ast-blog-grid-post {
  padding: 0 !important;
  margin: 0 !important;
}


/* ----------------------------------------------------------------
   2. INDIVIDUAL POST ARTICLES — card styling
   ---------------------------------------------------------------- */

/* Target every article in the loop */
.blog article,
.page article.post,
.archive article,
.posts-loop article,
.hentry,
article.post,
article.type-post {
  background: #ffffff !important;
  border: 1px solid #eee !important;
  border-radius: 12px !important;
  padding: 32px !important;
  margin-bottom: 24px !important;
  position: relative !important;
  overflow: hidden !important;
  transition: box-shadow 0.25s, transform 0.25s !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
}

/* Hover state */
article.post:hover,
article.type-post:hover,
.hentry:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07) !important;
  transform: translateY(-3px) !important;
}

/* Animated top border on hover */
article.post::before,
article.type-post::before,
.hentry::before {
  content: '' !important;
  position: absolute !important;
  top: 0; left: 0; right: 0 !important;
  height: 3px !important;
  background: #0037FF !important;
  transform: scaleX(0) !important;
  transform-origin: left !important;
  transition: transform 0.3s !important;
  border-radius: 12px 12px 0 0 !important;
}

article.post:hover::before,
article.type-post:hover::before,
.hentry:hover::before {
  transform: scaleX(1) !important;
}

/* Remove featured image from loop (keeps cards clean) */
article.post .post-thumbnail,
article.type-post .post-thumbnail,
.hentry .post-thumbnail,
.blog article .ast-blog-featured-img,
article .entry-header img,
.wp-post-image,
.blog .post-image {
  display: none !important;
}


/* ----------------------------------------------------------------
   3. CATEGORY BADGE — styled pill above title
   ---------------------------------------------------------------- */

.cat-links,
.entry-meta .cat-links,
.posted-in,
.entry-categories,
.blog article .entry-meta a[rel="category"],
article .entry-meta .cat-links a {
  display: inline-block !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 4px 12px !important;
  border-radius: 4px !important;
  margin-bottom: 14px !important;
  text-decoration: none !important;
  background: rgba(0, 55, 255, 0.07) !important;
  color: #0037FF !important;
  border: 1px solid rgba(0, 55, 255, 0.2) !important;
}

/* Category-specific badge colours */
/* Whitepaper */
.tag-whitepaper .cat-links a,
.category-whitepaper .cat-links a,
[class*="whitepaper"] .cat-links a {
  background: rgba(0, 55, 255, 0.07) !important;
  color: #0037FF !important;
  border-color: rgba(0, 55, 255, 0.2) !important;
}

/* Threat Report */
.tag-threat-report .cat-links a,
.category-threat-report .cat-links a,
[class*="threat-report"] .cat-links a {
  background: rgba(225, 112, 85, 0.07) !important;
  color: #e17055 !important;
  border-color: rgba(225, 112, 85, 0.2) !important;
}

/* Compliance Guide */
.tag-compliance-guide .cat-links a,
.category-compliance-guide .cat-links a,
[class*="compliance-guide"] .cat-links a {
  background: rgba(162, 155, 254, 0.07) !important;
  color: #a29bfe !important;
  border-color: rgba(162, 155, 254, 0.2) !important;
}

/* Comparison Tool */
.tag-comparison-tool .cat-links a,
.category-comparison-tool .cat-links a,
[class*="comparison-tool"] .cat-links a {
  background: rgba(0, 184, 148, 0.07) !important;
  color: #00b894 !important;
  border-color: rgba(0, 184, 148, 0.2) !important;
}


/* ----------------------------------------------------------------
   4. POST TITLE
   ---------------------------------------------------------------- */

.entry-title,
.blog article .entry-title,
article.post .entry-title,
.hentry .entry-title,
h2.entry-title,
h3.entry-title {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  color: #1a1a2e !important;
  line-height: 1.25 !important;
  margin: 0 0 12px !important;
  letter-spacing: -0.2px !important;
}

.entry-title a,
.blog article .entry-title a,
article.post .entry-title a {
  color: #1a1a2e !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

.entry-title a:hover {
  color: #0037FF !important;
}


/* ----------------------------------------------------------------
   5. POST META (date, author, comments) — clean & subtle
   ---------------------------------------------------------------- */

.entry-meta,
.blog article .entry-meta,
article .entry-meta,
.posted-on,
.byline,
.comments-link,
.post-meta {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  color: #bbb !important;
  font-weight: 500 !important;
  margin-bottom: 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex-wrap: wrap !important;
}

.entry-meta a,
.entry-meta .posted-on a,
.entry-meta .byline a {
  color: #bbb !important;
  text-decoration: none !important;
  font-weight: 500 !important;
}

/* Hide comments count — keep it clean */
.entry-meta .comments-link,
.entry-meta .comment-count,
article .comments-link {
  display: none !important;
}

/* Author — hide on resources page, date is enough */
.entry-meta .byline,
.entry-meta .author {
  display: none !important;
}

/* Date separator dot */
.entry-meta .posted-on::before {
  content: '' !important;
  display: inline-block !important;
  width: 5px !important;
  height: 5px !important;
  border-radius: 50% !important;
  background: #0037FF !important;
  margin-right: 8px !important;
  vertical-align: middle !important;
}


/* ----------------------------------------------------------------
   6. EXCERPT TEXT
   ---------------------------------------------------------------- */

.entry-summary,
.entry-content p,
article .entry-summary,
.blog article .entry-summary,
.hentry .entry-summary,
.excerpt {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.7 !important;
  font-weight: 400 !important;
  margin: 0 0 20px !important;
  flex: 1 !important;
}

/* Strip ellipsis read more from excerpt */
.entry-summary p:last-child {
  margin-bottom: 0 !important;
}


/* ----------------------------------------------------------------
   7. READ MORE LINK — styled as inline link with arrow
   ---------------------------------------------------------------- */

.read-more-link,
.more-link,
a.more-link,
.entry-footer a,
.blog article a.read-more,
article .entry-summary a,
.ast-continue-reading-link,
a[rel="bookmark"].more-link,
.entry-more-link {
  display: inline-block !important;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0037FF !important;
  text-decoration: none !important;
  margin-top: auto !important;
  padding-top: 16px !important;
  border-top: 1px solid #f0f0f0 !important;
  width: 100% !important;
  letter-spacing: 0 !important;
  background: none !important;
  border-radius: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.read-more-link:hover,
.more-link:hover,
a.more-link:hover {
  color: #0028cc !important;
  background: none !important;
}

/* Replace "Read More »" text visually */
.more-link::after {
  content: ' →' !important;
}

.more-link .screen-reader-text {
  display: none !important;
}


/* ----------------------------------------------------------------
   8. POSTS GRID LAYOUT — 2 columns desktop
   ---------------------------------------------------------------- */

/* For themes that render articles in a flat list, 
   we use CSS Grid on the containing element */

.site-main > .blog-posts,
.site-main > .posts-wrap,
#primary .blog-posts,
body.blog #main > *:not(.navigation):not(.widget),
.ast-blog-layout-1 .ast-posts-structure,
.ast-grid,
.blog-entries,
.post-listing {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  padding: 0 !important;
  list-style: none !important;
}

/* Astra theme specific grid */
.ast-separate-post {
  margin-bottom: 0 !important;
}

/* If articles are direct children of main, grid them */
body.blog #main > article,
body.page-template-default #main > article,
.site-main > article.post {
  display: block !important;
}

/* 
  IMPORTANT NOTE: WordPress native loop renders articles sequentially.
  If your theme wraps them in a div, add that div's class here.
  Most common theme wrappers:
  - Astra: .ast-blog-grid-post (already targeted above)
  - Hello/Elementor: .elementor-posts-container
  - GeneratePress: .inside-article  
  - OceanWP: .oceanwp-row
*/


/* ----------------------------------------------------------------
   9. POST NAVIGATION / PAGINATION
   ---------------------------------------------------------------- */

.navigation.pagination,
.posts-navigation,
.page-links,
.nav-links {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  margin: 40px 0 !important;
  padding: 0 48px !important;
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
}

.nav-links a,
.page-numbers a,
.nav-links .page-numbers {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1a1a2e !important;
  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  text-decoration: none !important;
  transition: border-color 0.2s, color 0.2s !important;
  display: inline-block !important;
}

.nav-links a:hover,
.page-numbers a:hover {
  border-color: #0037FF !important;
  color: #0037FF !important;
}

.page-numbers.current {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #fff !important;
  background: #0037FF !important;
  border: 1px solid #0037FF !important;
  border-radius: 8px !important;
  padding: 10px 16px !important;
  display: inline-block !important;
}

.nav-previous a,
.nav-next a {
  color: #0037FF !important;
  font-weight: 700 !important;
  border-color: rgba(0, 55, 255, 0.2) !important;
  background: rgba(0, 55, 255, 0.05) !important;
}


/* ----------------------------------------------------------------
   10. ENTRY FOOTER (tags, edit link) — hide clutter
   ---------------------------------------------------------------- */

.entry-footer,
.blog article .entry-footer,
.post-footer,
.tag-links,
.edit-link {
  display: none !important;
}


/* ----------------------------------------------------------------
   11. NO-POSTS MESSAGE
   ---------------------------------------------------------------- */

.no-results,
.page-content.no-results {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  text-align: center !important;
  padding: 80px 48px !important;
  color: #888 !important;
  font-size: 16px !important;
}


/* ----------------------------------------------------------------
   12. SIDEBAR — hide if present on this page
   ---------------------------------------------------------------- */

#secondary,
.widget-area,
aside.sidebar {
  display: none !important;
}

#primary,
.content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}


/* ----------------------------------------------------------------
   13. MOBILE — full responsive
   ---------------------------------------------------------------- */

@media (max-width: 1024px) {
  #primary,
  .content-area,
  .posts-container,
  #main {
    padding: 0 24px 60px !important;
  }
}

@media (max-width: 767px) {

  /* Single column on mobile */
  .site-main > .blog-posts,
  .site-main > .posts-wrap,
  #primary .blog-posts,
  .ast-blog-layout-1 .ast-posts-structure,
  .blog-entries,
  .post-listing {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #primary,
  .content-area,
  .posts-container,
  #main {
    padding: 0 5vw 48px !important;
  }

  /* Tighten card padding on mobile */
  article.post,
  article.type-post,
  .hentry {
    padding: 24px 20px !important;
    margin-bottom: 16px !important;
  }

  /* Smaller title on mobile */
  .entry-title,
  h2.entry-title,
  h3.entry-title {
    font-size: 16px !important;
    line-height: 1.3 !important;
  }

  /* Smaller excerpt */
  .entry-summary,
  .entry-content p {
    font-size: 13px !important;
  }

  /* Pagination on mobile */
  .navigation.pagination,
  .posts-navigation,
  .nav-links {
    padding: 0 5vw !important;
    flex-wrap: wrap !important;
  }

  .nav-links a,
  .page-numbers a,
  .nav-links .page-numbers,
  .page-numbers.current {
    padding: 8px 12px !important;
    font-size: 12px !important;
  }
}


/* ----------------------------------------------------------------
   14. ASTRA THEME OVERRIDES (most common with Hostinger)
   ---------------------------------------------------------------- */

/* Astra specific post card */
.ast-article-single-post,
.ast-blog-grid-post .ast-article-single-post {
  background: #ffffff !important;
  border: 1px solid #eee !important;
  border-radius: 12px !important;
  padding: 32px !important;
  transition: box-shadow 0.25s, transform 0.25s !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.ast-article-single-post:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07) !important;
  transform: translateY(-3px) !important;
}

/* Astra grid */
.ast-blog-layout-1 #content .ast-row,
.ast-blog-masonry .ast-row {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  margin: 0 !important;
}

.ast-blog-layout-1 #content .ast-row .ast-article-post {
  width: 100% !important;
  padding: 0 !important;
}

/* Astra read more */
.ast-continue-reading-link {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0037FF !important;
  text-decoration: none !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid #f0f0f0 !important;
  display: block !important;
  margin-top: 16px !important;
}

/* Remove Astra card border/shadow defaults */
.ast-grid-common-layout .ast-article-post .ast-article-inner,
.ast-grid-2-layout .ast-article-inner {
  box-shadow: none !important;
  border: none !important;
  background: transparent !important;
}

/* Astra meta icons */
.ast-blog-single-element .ast-blog-post-format-image {
  display: none !important;
}

@media (max-width: 767px) {
  .ast-blog-layout-1 #content .ast-row,
  .ast-blog-masonry .ast-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .ast-article-single-post {
    padding: 24px 20px !important;
  }
}


/* ----------------------------------------------------------------
   15. HELLO ELEMENTOR / ELEMENTOR BLOG WIDGET OVERRIDES
   ---------------------------------------------------------------- */

.elementor-posts-container .elementor-post {
  background: #ffffff !important;
  border: 1px solid #eee !important;
  border-radius: 12px !important;
  padding: 32px !important;
  overflow: hidden !important;
  transition: box-shadow 0.25s, transform 0.25s !important;
  margin-bottom: 0 !important;
}

.elementor-posts-container .elementor-post:hover {
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.07) !important;
  transform: translateY(-3px) !important;
}

.elementor-posts-container .elementor-post__thumbnail {
  display: none !important;
}

.elementor-posts-container .elementor-post__title a {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-weight: 700 !important;
  font-size: 19px !important;
  color: #1a1a2e !important;
  text-decoration: none !important;
  line-height: 1.25 !important;
}

.elementor-posts-container .elementor-post__meta-data {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 12px !important;
  color: #bbb !important;
  margin-bottom: 12px !important;
}

.elementor-posts-container .elementor-post__excerpt p {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 14px !important;
  color: #666 !important;
  line-height: 1.7 !important;
}

.elementor-posts-container .elementor-post__read-more {
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #0037FF !important;
  text-decoration: none !important;
  display: block !important;
  padding-top: 16px !important;
  border-top: 1px solid #f0f0f0 !important;
  margin-top: 16px !important;
}/* End custom CSS */