/* AFTABIN V4 — canonical shadow Design Tokens (R7.4 correction)
 * Single source for all V4 visual values. At final activation, import this
 * exact file into resources/css/app.css, not another copy of the values.
 * Root-scoped to V4 so currently active Production pages are unaffected.
 * Note: breakpoints in @media cannot read CSS custom properties without
 * CSS preprocessors; those remain source-level responsive conditions.
 */
@font-face {
  font-family: 'Aftabin-IRANYekanX-VF';
  src: url('/fonts/IRANYekanXVF.woff2') format('woff2');
  font-style: normal;
  font-weight: 300 600;
  font-display: swap;
}

.av4-public-root,
.av4 {
  --av4-primary: #126b5e;
  --av4-primary-dark: #0c4c43;
  --av4-ink: #102b2b;
  --av4-navy: #152f3c;
  --av4-navy-soft: #587a94;
  --av4-muted: #52645e;
  --av4-border: #dfe8e3;
  --av4-surface: #ffffff;
  --av4-background: #f6f8f5;
  --av4-accent: #e8bc49;
  --av4-favorite-active: #c43848;
  --av4-compare-active: var(--av4-navy);
  --av4-utility-feedback-duration: 5s;
  --av4-mint: #e5f2ec;
  --av4-spotlight: #0b4a43;
  --av4-spotlight-deep: #0a302e;
  --av4-on-dark: #ffffff;
  --av4-focus: #e8bc49;
  --av4-verified: #259fd1;
  --av4-danger: #c83232;
  --av4-font: 'Aftabin-IRANYekanX-VF', Tahoma, Arial, sans-serif;
  --av4-body-size: 0.875rem;
  --av4-caption-size: 0.6875rem;
  --av4-small-size: 0.75rem;
  --av4-card-title-size: 1rem;
  --av4-section-title-size: clamp(1.2rem, 1.03rem + 0.55vw, 1.52rem);
  --av4-page-title-size: clamp(1.45rem, 1.15rem + 1.0vw, 2.05rem);
  --av4-category-portrait-size: clamp(5rem, 7vw, 8rem);
  --av4-hub-circle-size: clamp(5.5rem, 7.6vw, 8.75rem);
  --av4-r86-motion-lift: -2px;
  --av4-r86-motion-speed: .16s;
  --av4-r86-overlay-soft: .15;
  --av4-r86-overlay-medium: .35;
  --av4-r86-overlay-strong: .6;
  --av4-w-regular: 400;
  --av4-w-medium: 500;
  --av4-w-semibold: 600;
  /* P27F2 shared paginator – aliases to canonical V4 values */
  --av4-page-control-gap: var(--av4-space-2);
  --av4-page-control-radius: var(--av4-radius-md);
  --av4-page-control-size: var(--av4-button-height);
  --av4-page-control-font: var(--av4-small-size);
  --av4-page-control-border: var(--av4-border-width);
  --av4-space-1: 0.25rem;
  --av4-space-2: 0.5rem;
  --av4-space-3: 0.75rem;
  --av4-space-4: 1rem;
  --av4-space-5: 1.25rem;
  --av4-space-6: 1.5rem;
  --av4-space-8: 2rem;
  --av4-space-10: 2.5rem;
  --av4-space-12: 3rem;
  --av4-radius-sm: 0.375rem;
  --av4-radius-md: 0.5625rem;
  --av4-radius-lg: 0.75rem;
  --av4-border-width: 1px;
  --av4-heading-rule-width: 2px;
  --av4-container-width: 100%;
  --av4-container-gutter: clamp(1rem,3vw,3.5rem);
  --av4-header-logo-max-width: 11rem;
  --av4-header-logo-height: 3.5rem;
  --av4-header-logo-compact-width: 7.5rem;
  --av4-header-logo-compact-height: 2.5rem;
  --av4-header-menu-scroll-height: 70vh;
  --av4-r85-mega-max-width: 84rem;
  --av4-r85-mega-intro-width: 22rem;
  --av4-r85-brand-copy-width: 13rem;
  --av4-r85-brand-copy-width-mobile: 9rem;
  --av4-r85-brand-logo-width: 5.5rem;
  --av4-r85-brand-logo-height: 3.125rem;
  --av4-r85-hub-grid-max: 106rem;
  --av4-r85-hub-card-height: 14rem;
  --av4-r85-hub-card-mobile: 12rem;
  --av4-r85-hub-media-height: 6.5rem;
  --av4-r85-card-shadow: 0 2px 16px rgba(16,43,43,.04);
  --av4-r85-hover-speed: .16s;
  --av4-r85-article-min: 16rem;
  --av4-r85-topic-height: 12rem;
  --av4-r85-company-min: 16rem;
  --av4-r85-company-max: 22rem;
  --av4-r85-company-height: 17rem;
  --av4-r85b-news-thumb-width: 10.5rem;
  --av4-r85b-news-min-height: 10.5rem;
  --av4-r85b-control-size: 2.75rem;
  --av4-r85b-chevron-size: 1.375rem;
  --av4-r85-brand-card-height: 7rem;
  --av4-r85-brand-logo-height: 3.25rem;
  --av4-shadow: 0 10px 35px rgb(12 76 67 / 7%);
  --av4-button-height: 2.5rem;
  --av4-breakpoint-mobile: 40rem;
  --av4-focus-ring: 3px;
  --av4-font-weight: var(--av4-w-regular);
  --av4-grid-company: 3;
  --av4-grid-projects: 4;
  --av4-body-leading: 2;
  --av4-catalog-search-width: 30rem;
  --av4-category-image-ratio: 4/3;
  --av4-compare-width: 30rem;
  --av4-compare-z: 70;
  --av4-filter-width: 14rem;
  --av4-footer-subdued-opacity: .76;
  --av4-hero-visual-width: 17rem;
  --av4-legal-sidebar-width: 18rem;
  --av4-link-columns: 2;
  --av4-min-main-height: 45vh;
  --av4-model-detail-image-width: 40%;
  --av4-model-image-maxheight: 28rem;
  --av4-model-image-ratio: 4/3;
  --av4-model-minheight: 18rem;
  /* P15: component geometry stays in the canonical V4 token sheet. */
  --av4-p15-model-aside-width: var(--av4-aside-width);
  --av4-p15-model-company-logo: var(--av4-space-12);
  --av4-p15-model-hero-image-height: var(--av4-model-image-maxheight);
  --av4-p15-model-hero-image-width: var(--av4-model-detail-image-width);
  --av4-p15-model-hero-image-tablet-width: 45%;
  --av4-p15-related-card-max-width: 85%;
  --av4-p15-related-card-mobile-width: 80%;
  --av4-p15-category-title-lines: 2;
  --av4-p15-category-description-lines: 3;
  --av4-p15-related-card-width: calc(var(--av4-space-16) * 4);
  /* P27F1: canonical V4 carousel control tokens for ALL public card rails. */
  --av4-carousel-control-size: var(--av4-space-10);
  --av4-carousel-control-radius: var(--av4-radius-md);
  --av4-carousel-control-gap: var(--av4-space-2);
  --av4-carousel-mobile-card-basis: 43.478%;
  --av4-carousel-dot-gap: var(--av4-space-3);
  --av4-p15-carousel-dot-size: var(--av4-space-2);
  --av4-p15-carousel-dot-active: calc(var(--av4-p15-carousel-dot-size) * 1.25);
  --av4-p15-category-card-min: calc(var(--av4-category-portrait-size) + var(--av4-space-16) + var(--av4-space-6));
  --av4-notice-z: 1000;
  --av4-outline-focus-width: var(--av4-border-width);
  --av4-scroll-offset: 6rem;
  --av4-sidebar-top: 5rem;
  --av4-skip-z: 999;
  --av4-sticky-offset: 6rem;
  --av4-table-minwidth: 34rem;
  --av4-company-mark-size: 3.75rem;
  --av4-table-wide-minwidth: 42rem;
  /* V4's approved header inherits this font, independent of static fonts. */
  /* Independent V4 public header and shared icon sizing. */
  --av4-space-16: 4rem;
  --av4-header-search-width: 56rem;
  --av4-header-mega-width: 80rem;
  --av4-header-mobile-width: 42rem;
  --av4-header-title-size: 1.25rem;
  --av4-header-small-size: 0.8125rem;
  --av4-header-line-normal: 1.8;
  --av4-header-line-tight: 1.55;
  --av4-header-shadow-sm: 0 1px 2px rgb(11 31 51 / 5%);
  --av4-header-shadow-md: 0 3px 10px rgb(11 31 51 / 7%);
  --av4-header-shadow-lg: 0 8px 20px rgb(11 31 51 / 9%);
  --av4-icon-xs: 0.75rem;
  --av4-icon-sm: 1rem;
  --av4-icon-md: 1.25rem;
  --av4-icon-lg: 1.5rem;
  --av4-icon-xl: 2rem;
  --av4-icon-stroke: 1.75;
  /* R7.4.4: default V4 component tokens centralized; responsive overrides remain in V4 CSS. */
  --av4-aside-width: 20rem;
  --av4-category-columns: 4;
  --av4-category-grid-cols: 5;
  --av4-content-width: 47rem;
  --av4-editorial-grid-cols: 4;
  --av4-footer-columns: 2fr 1fr 1fr 1fr;
  --av4-home-art: #104f50;
  --av4-home-art-grid: #e4f3e8;
  --av4-home-art-height: 24rem;
  --av4-home-art-inverter-width: 5rem;
  --av4-home-art-panel-height: 11rem;
  --av4-home-art-soft: #216d70;
  --av4-home-art-sun: #edc66b;
  --av4-home-company-cols: 3;
  --av4-home-hero-end: var(--av4-spotlight);
  --av4-home-hero-height: 30rem;
  --av4-home-hero-start: var(--av4-spotlight-deep);
  --av4-hub-cols: 4;
  --av4-info-aside: 1fr;
  --av4-info-columns: 4;
  --av4-info-input-min: var(--av4-button-height);
  --av4-info-main: 2fr;
  --av4-info-outline: var(--av4-border-width) solid var(--av4-border);
  --av4-media-ratio: 16/9;
  --av4-model-grid-cols: 4;
  --av4-outline: var(--av4-border-width) solid var(--av4-border);
  --av4-path-columns: 3;
  --av4-reading-columns: 4;
  --av4-reading-image-ratio: 16/9;
  --av4-reading-outline: var(--av4-border-width) solid var(--av4-border);
  --av4-reading-rail-width: var(--av4-aside-width,20rem);
  --av4-reading-sticky: var(--av4-sticky-offset,6rem);
  --av4-reading-width: var(--av4-content-width,48rem);
  --av4-topic-cols: 3;
}
