﻿/*
  ARREDO Blog Article Preset
  Visual direction aligned with 1.html
  Safe for duplicated Elementor posts (no post-id selectors)
*/

body.single-post {
  --ar-bg: #0E0E0E;
  --ar-bg2: #141414;
  --ar-bg3: #1a1a1a;
  --ar-surface: #181818;
  --ar-dark: #2a2520;
  --ar-gold: #c5a467;
  --ar-gold-l: #d4b87a;
  --ar-gold-m: rgba(197, 164, 103, 0.15);
  --ar-cream: #f5f0e8;
  --ar-cream-d: #e8e0d2;
  --ar-t1: #b0a898;
  --ar-t2: #8a8279;
  --ar-t3: #5a554e;

  background: var(--ar-bg);
  color: var(--ar-cream-d);
  font-family: 'Inter', sans-serif;
}

body.single-post .site-content {
  background: var(--ar-bg);
}

body.single-post .site-content .ast-container,
body.single-post #primary,
body.single-post #main,
body.single-post article.type-post,
body.single-post .ast-post-format,
body.single-post .entry-content {
  background: transparent;
}

body.single-post.ast-separate-container article.type-post,
body.single-post.ast-separate-container .ast-post-format,
body.single-post.ast-separate-container .entry-content {
  border: 0;
  box-shadow: none;
}

body.single-post .site-content > .ast-container {
  max-width: 1400px;
  padding-left: 0;
  padding-right: 0;
}

body.single-post .content-area.primary {
  float: none;
  width: 100%;
  margin: 0;
}

body.single-post article.type-post {
  margin: 0;
  padding: 0;
}

body.single-post .entry-header {
  display: none !important;
}

body.single-post .entry-meta {
  display: none !important;
}

body.single-post .entry-content > .elementor {
  position: relative;
}

body.single-post .entry-content > .elementor > .e-parent {
  position: relative;
  overflow: hidden;
  padding: 80px 60px;
}

body.single-post .entry-content > .elementor > .e-parent:first-child {
  padding-top: 120px;
  padding-bottom: 56px;
  background:
    radial-gradient(circle at 12% 12%, rgba(197, 164, 103, 0.10), transparent 32%),
    radial-gradient(circle at 85% 88%, rgba(197, 164, 103, 0.08), transparent 38%),
    linear-gradient(135deg, #0e0e0e 0%, #131313 55%, #171411 100%);
  border-bottom: 1px solid rgba(90, 85, 78, 0.75);
}

body.single-post .entry-content > .elementor > .e-parent:not(:first-child) {
  background: var(--ar-bg);
}

body.single-post .entry-content > .elementor > .e-parent > .e-con-inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

body.single-post .entry-content .elementor-widget:not(:last-child) {
  margin-bottom: 28px;
}

body.single-post .entry-content .elementor-widget-heading .elementor-heading-title {
  margin: 0 0 18px;
  color: var(--ar-cream);
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 600;
  line-height: 1.1;
}

body.single-post .entry-content .elementor-widget-heading .elementor-heading-title em {
  color: var(--ar-gold);
  font-style: italic;
}

body.single-post .entry-content .elementor-widget-text-editor {
  color: var(--ar-t1);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 300;
  line-height: 1.9;
}

body.single-post .entry-content .elementor-widget-text-editor p {
  margin: 0 0 24px;
}

body.single-post .entry-content .elementor-widget-text-editor strong,
body.single-post .entry-content .elementor-widget-text-editor b {
  color: var(--ar-cream-d);
  font-weight: 600;
}

body.single-post .entry-content .elementor-widget-text-editor a {
  color: var(--ar-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(197, 164, 103, 0.35);
}

body.single-post .entry-content .elementor-widget-text-editor a:hover {
  color: var(--ar-gold-l);
  border-bottom-color: var(--ar-gold-l);
}

body.single-post .entry-content .elementor-widget-text-editor ul,
body.single-post .entry-content .elementor-widget-text-editor ol {
  margin: 0 0 24px 1.2em;
  padding: 0;
}

body.single-post .entry-content .elementor-widget-text-editor li {
  margin-bottom: 10px;
}

body.single-post .entry-content .elementor-widget-text-editor blockquote {
  margin: 16px 0 28px;
  padding: 10px 0 10px 22px;
  border-left: 2px solid var(--ar-gold);
  color: var(--ar-cream-d);
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  line-height: 1.45;
}

body.single-post .entry-content .elementor-widget-image img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.45);
}

body.single-post .entry-content .elementor-widget-image .widget-image-caption {
  margin-top: 12px;
  color: var(--ar-t2);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

body.single-post .entry-content .elementor-widget-gallery .elementor-gallery__container {
  --hgap: 12px;
  --vgap: 12px;
}

body.single-post .entry-content .elementor-widget-gallery .e-gallery-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
}

body.single-post .entry-content .elementor-widget-gallery .elementor-gallery-item__image {
  transition: transform 0.65s cubic-bezier(.16, 1, .3, 1), filter 0.65s ease;
}

body.single-post .entry-content .elementor-widget-gallery .e-gallery-item:hover .elementor-gallery-item__image,
body.single-post .entry-content .elementor-widget-gallery .e-gallery-item:focus .elementor-gallery-item__image {
  transform: scale(1.05);
  filter: saturate(1.05);
}

body.single-post .entry-content .elementor-widget-gallery .elementor-gallery-item__overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(14, 14, 14, 0.56) 100%);
  opacity: 1;
}

@media (max-width: 1024px) {
  body.single-post .entry-content > .elementor > .e-parent {
    padding: 80px 32px;
  }

  body.single-post .entry-content > .elementor > .e-parent:first-child {
    padding-top: 96px;
    padding-bottom: 40px;
  }

  body.single-post .entry-content .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(34px, 6vw, 52px);
  }
}

@media (max-width: 640px) {
  body.single-post .entry-content > .elementor > .e-parent {
    padding: 56px 20px;
  }

  body.single-post .entry-content > .elementor > .e-parent:first-child {
    padding-top: 64px;
    padding-bottom: 28px;
  }

  body.single-post .entry-content .elementor-widget-heading .elementor-heading-title {
    font-size: clamp(30px, 9vw, 42px);
  }

  body.single-post .entry-content .elementor-widget-text-editor {
    font-size: 18px;
    line-height: 1.75;
  }

  body.single-post .entry-content .elementor-widget-gallery .elementor-gallery__container {
    --hgap: 10px;
    --vgap: 10px;
  }
}

