/*
Theme Name: Astra AVV Child
Template: astra
Version: 1.1.0
*/

:root {
  --avv-primary: #E85D2F;
  --avv-dark: #1A1A1A;
  --avv-accent: #F4A261;
  --avv-bg: #FAFAF7;
  --avv-bg-alt: #F0EDE6;
  --avv-border: #E4E0D6;
  --avv-text-soft: #5C5C5C;
  --avv-radius: 0px;
  --avv-font-h: "Fraunces", Georgia, serif;
  --avv-font-b: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--avv-font-b);
  color: var(--avv-dark);
  background: var(--avv-bg);
  -webkit-font-smoothing: antialiased;
  font-size: 1.0625rem;
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6, .wp-block-heading, .entry-title, .page-title, .ast-blog-single-element .entry-title {
  font-family: var(--avv-font-h);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--avv-dark);
}
h1 { font-size: clamp(2.25rem, 6vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 4.5vw, 2.5rem); margin-top: 2.5rem; }
h3 { font-size: clamp(1.375rem, 3vw, 1.75rem); }

a { color: var(--avv-primary); text-decoration: none; }
a:hover { color: var(--avv-dark); }

.site-header, .ast-primary-header-bar, .ast-desktop-header, header.site-header {
  background: #FFFFFF !important;
  border-bottom: 1px solid var(--avv-border);
  padding: 0.85rem 0;
}

.ast-primary-header-bar .main-header-menu > li > a, .ast-header-menu a, .main-header-menu a {
  font-family: var(--avv-font-b);
  font-weight: 500;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--avv-dark) !important;
  position: relative;
}
.ast-primary-header-bar .main-header-menu > li > a::after, .ast-header-menu a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--avv-primary);
  transition: all 0.25s ease;
  transform: translateX(-50%);
}
.ast-primary-header-bar .main-header-menu > li > a:hover::after { width: 70%; }
.ast-primary-header-bar .main-header-menu > li > a:hover { color: var(--avv-primary) !important; }

.custom-logo, .site-logo-img img {
  max-height: 64px;
  width: auto;
}

.ast-footer-overlay, .site-footer, footer.site-footer, .ast-small-footer {
  background: var(--avv-dark) !important;
  color: var(--avv-bg-alt) !important;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
}
.site-footer a, footer a, .ast-small-footer a { color: var(--avv-accent); }
.site-footer a:hover, footer a:hover, .ast-small-footer a:hover { color: #FFFFFF; }
.site-footer h1, .site-footer h2, .site-footer h3, .site-footer h4,
footer h1, footer h2, footer h3, footer h4,
.ast-small-footer h1, .ast-small-footer h2, .ast-small-footer h3, .ast-small-footer h4 {
  color: #FFFFFF;
  font-family: var(--avv-font-h);
}
.site-footer .widget-title, footer .widget-title, .ast-small-footer .widget-title {
  font-size: 1.0625rem;
  font-weight: 600;
  padding-bottom: 0.6rem;
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--avv-primary);
  color: #FFFFFF;
}
.site-footer .widget, footer .widget {
  background: transparent;
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.ast-small-footer-wrap, .ast-footer-copyright {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

.ast-article-post, .entry-content > article, .wp-block-post {
  background: #FFFFFF;
  border: 1px solid var(--avv-border);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.ast-article-post:hover, .entry-content > article:hover, .wp-block-post:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(26,26,26,0.12);
  border-color: var(--avv-primary);
}

.ast-article-post .ast-article-image img, .post-thumbnail img, .wp-block-post-featured-image img {
  transition: transform 0.5s cubic-bezier(0.4,0,0.2,1);
}
.ast-article-post:hover .ast-article-image img,
article:hover .post-thumbnail img, .wp-block-post:hover .wp-block-post-featured-image img { transform: scale(1.08); }

.entry-title, .ast-archive-title, .ast-blog-featured-section .entry-title {
  font-family: var(--avv-font-h);
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.entry-title a, .ast-blog-featured-section .entry-title a { color: var(--avv-dark); }
.entry-title a:hover { color: var(--avv-primary); }

.entry-meta, .ast-post-meta, .posted-on, .posted-on a, .ast-post-cat-links {
  color: var(--avv-primary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.ast-read-more, .ast-read-more-link, .read-more, .wp-block-read-more {
  color: var(--avv-primary);
  font-weight: 600;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 2px solid var(--avv-primary);
  padding-bottom: 2px;
}
.ast-read-more:hover, .read-more:hover { color: var(--avv-dark); border-color: var(--avv-dark); }

.wp-block-buttons .wp-block-button__link,
.ast-button, .button, a.button, button[type="submit"] {
  font-family: var(--avv-font-b);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: 0 !important;
  background: var(--avv-primary);
  color: #FFFFFF;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.wp-block-buttons .wp-block-button__link:hover,
.ast-button:hover, .button:hover, a.button:hover, button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(232,93,47,0.25);
  filter: brightness(0.95);
  color: #FFFFFF;
  background: var(--avv-primary);
}

.widget {
  background: #FFFFFF;
  border: 1px solid var(--avv-border);
  border-radius: 0;
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
}
.widget-title {
  font-family: var(--avv-font-h);
  color: var(--avv-dark);
  font-size: 1.0625rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--avv-primary);
}
.widget ul { list-style: none; padding: 0; margin: 0; }
.widget li { padding: 0.4rem 0; border-bottom: 1px solid var(--avv-border); }
.widget li:last-child { border-bottom: none; }
.widget a { color: var(--avv-dark); font-size: 0.9375rem; }
.widget a:hover { color: var(--avv-primary); }

.ast-cat-links a, .cat-links a, .post-categories a, .tags-links a {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: var(--avv-bg-alt);
  color: var(--avv-dark);
  border-radius: 0;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0.2rem 0.3rem 0.2rem 0;
  border: 1px solid var(--avv-border);
  transition: all 0.2s ease;
}
.ast-cat-links a:hover, .cat-links a:hover, .post-categories a:hover {
  background: var(--avv-primary);
  color: #FFFFFF;
  border-color: var(--avv-primary);
}

.entry-content p { margin-bottom: 1.5rem; }
.entry-content img { border-radius: 0; }
.entry-content blockquote {
  border-left: 4px solid var(--avv-primary);
  padding-left: 1.5rem;
  font-style: italic;
  font-family: var(--avv-font-h);
  font-size: 1.25rem;
  color: var(--avv-text-soft);
}

.single .entry-title, .page .entry-title {
  font-family: var(--avv-font-h);
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sassy-social-share-buttons,
.heateor_sss_sharing_container,
.heateor_sss_horizontal_sharing {
  margin: 2rem 0;
  padding: 1.5rem 0;
  border-top: 1px solid var(--avv-border);
  border-bottom: 1px solid var(--avv-border);
}
.heateor_sss_sharing_title {
  font-family: var(--avv-font-h);
  font-weight: 600;
  color: var(--avv-dark);
}

#cc-main { --cc-font-family: var(--avv-font-b); }
#cc-main .cc--box { border-radius: 0 !important; box-shadow: 0 12px 40px rgba(26,26,26,0.18) !important; }
#cc-main .cc__btn { border-radius: 0 !important; font-weight: 600 !important; text-transform: uppercase; letter-spacing: 0.06em; }
#cc-main .cc__btn--primary { background: var(--avv-primary) !important; color: #fff !important; }
#cc-main .cc__btn--secondary { background: transparent !important; color: var(--avv-dark) !important; border: 2px solid var(--avv-border) !important; }

@media (max-width: 768px) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.75rem; }
  .custom-logo, .site-logo-img img { max-height: 48px; }
}

::-webkit-scrollbar { width: 14px; }
::-webkit-scrollbar-track { background: var(--avv-bg-alt); }
::-webkit-scrollbar-thumb { background: var(--avv-primary); border-radius: 0; border: 3px solid var(--avv-bg-alt); }
::-webkit-scrollbar-thumb:hover { background: var(--avv-dark); }

::selection { background: var(--avv-primary); color: #fff; }
