/**
 * HAI UAE — Blog Legacy Styles (buzz.css)
 * Version: 2.0.0 (2026.09.12)
 *
 * DEPRECATED for blog grid layout — replaced by blog-modern.css (CSS Grid).
 * Retained ONLY for blog-details.php (.art_text, .art_page) backward compatibility.
 *
 * The float-based .art_item grid has been superseded by .blog-card-modern
 * in blog-modern.css. Do not add new float-based grid styles here.
 */

/* ==========================================================================
   Blog Detail Page — Article Content Styles
   These are consumed by blog-details.php and must be preserved.
   ========================================================================== */
.art_page {
  max-width: var(--dir-prose-max, 65ch);
  margin-inline: auto;
}

.art_page img {
  width: 100%;
  height: auto;
  border-radius: var(--dir-radius-lg, 16px);
}

.art_text {
  padding-block: var(--dir-space-xl, 1.75rem);
  font-size: var(--dir-text-lg, 1.125rem);
  line-height: 1.6;
  color: var(--dir-text-main, #0f172a);
}

.art_text b {
  color: var(--dir-navy, #0a192f);
  font-size: var(--dir-text-xl, 1.25rem);
  font-weight: 700;
}

.art_text u {
  font-weight: 600;
  text-decoration: none;
}

.art_text ul {
  list-style-type: circle;
  margin-inline-start: 1.875rem;
}

.art_text ol {
  list-style-type: decimal;
  margin-inline-start: 1.875rem;
}

.art_text ul li {
  list-style: circle;
  padding: 0.3125rem 0 0.3125rem 0.625rem;
}

.art_text ol li {
  list-style: decimal;
  padding: 0.3125rem 0 0.3125rem 0.625rem;
}

.art_text h2 {
  font-family: var(--dir-font-heading, sans-serif);
  font-size: var(--dir-text-2xl, 1.5rem);
  line-height: 1.2;
  font-weight: 700;
  padding-block: 0.9375rem 0.625rem;
  color: var(--dir-navy, #0a192f);
}

.art_text h3 {
  font-family: var(--dir-font-heading, sans-serif);
  font-size: var(--dir-text-xl, 1.25rem);
  line-height: 1.25;
  font-weight: 600;
  padding-block: 0.9375rem 0.625rem;
  color: var(--dir-navy, #0a192f);
}

.art_text iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
}

/* Blog detail hero image */
.art_img_main {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--dir-radius-xl, 24px);
  background-position: center center;
  background-size: cover;
  background-color: var(--dir-bg, #f8fafc);
}

/* Blog detail page meta bar */
.art_bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--dir-space-sm, 0.625rem);
}

.art_date {
  font-size: var(--dir-text-sm, 0.875rem);
  color: var(--dir-text-subtle, #64748b);
}

.art_tag {
  text-transform: uppercase;
  font-size: var(--dir-text-xs, 0.8125rem);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.art_tag a {
  color: var(--dir-blue, #1d4ed8);
  text-decoration: none;
}

.art_tag a:hover {
  color: var(--dir-blue-hover, #1e40af);
}

/* More reads sidebar */
.more_reads li {
  padding-block: 0.625rem;
  font-size: var(--dir-text-base, 1rem);
}

#buzz_top_ad {
  margin-block: var(--dir-space-md, 0.875rem) var(--dir-space-xl, 1.75rem);
}

/* ==========================================================================
   LEGACY — Float-based Article Grid (DEPRECATED)
   Kept for any pages that still reference these classes.
   New pages should use .blog-grid + .blog-card-modern from blog-modern.css.
   ========================================================================== */
.art_item {
  float: left;
  width: 31%;
  margin: 0 1% 2.5rem;
  font-size: var(--dir-text-sm, 0.875rem);
}

.art_item h3 {
  font-size: var(--dir-text-xl, 1.25rem);
  font-weight: 700;
  line-height: 1.3;
  padding: 0;
}

.art_item h3 a {
  text-decoration: none;
  color: var(--dir-text-main, #414141);
}

.art_img {
  width: 100%;
  aspect-ratio: 16 / 9;
  display: block;
  background-position: center center;
  background-size: cover;
  background-color: var(--dir-bg, #f8fafc);
  border-radius: var(--dir-radius-lg, 16px);
}

.art_item img {
  width: 100%;
  height: auto;
  border-radius: var(--dir-radius-lg, 16px);
}

.art_summary {
  line-height: 1.5;
  padding-block-start: 0.625rem;
  color: var(--dir-text-muted, #475569);
}

@media screen and (max-width: 750px) {
  .art_item {
    margin: 0 0 2.5rem;
    width: 100%;
  }

  .art_page {
    width: 100%;
  }

  #buzz_top_ad {
    margin-block: var(--dir-space-sm, 0.625rem) 0;
  }
}