/* =========================================================
   index.css
   استایل‌های اختصاصی صفحه اصلی (index.html)
   شامل: هیرو، داستان رسا، تیم، گذشته پرافتخار، پروژه‌ها،
   افتخارات و مودال تیم.
   استایل‌های مشترک (فوتر و دکمه‌های ثابت پایین) در style.css هستند.
   ========================================================= */

/* =========================================================
   Hero
   ========================================================= */
   .hero{
    position:relative;
    height:100vh;
    min-height:560px;
    overflow:hidden;
    isolation:isolate;
    background: linear-gradient(
      180deg, 
      rgba(12, 141, 141, 0.22) 0%,   
      rgba(11, 13, 13, 0.85) 55%,     
      var(--bg-1) 100%                
    );
  }
  
  .hero-stage{
    position:absolute;
    inset:0;
    z-index:3;
    will-change:transform;
  }
  
  .hero-figure{
    position:absolute;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    width:min(760px, 100vw);
    will-change:transform;
  }
  .hero-figure .figure-mobile,
  .hero-figure .figure-desktop{ width:100%; }
  .hero-figure .figure-desktop{ display:none; }
  
  @media (min-width:900px){
    .hero-figure{ width:min(50vw, 860px); left:2%; transform:none; }
    .hero-figure .figure-mobile{ display:none; }
    .hero-figure .figure-desktop{ display:block; }
  }
  
  .hero-pin-text{
    position:absolute;
    inset:0;
    height:100vh;
    z-index:2;
  }
  
  .hero-headline{
    position:absolute;
    top:17%;
    left:0;
    right:0;
    width:fit-content;   
    margin:0 auto;        
    z-index:1; 
    font-family:var(--font-display);
    font-weight:900;
    color:var(--c-mist);
    text-align:center;
    font-size:clamp(6rem, 30vw, 12rem);
    line-height:1.02;
    transform-origin:top center;
    will-change:transform;
  }
  
  .headline-desktop{ display:none; }
  
  @media (min-width:900px){
    .headline-mobile{ display:none; }
    .headline-desktop{ display:block; }
  }
  
  @media (min-width:900px){
    .hero-headline{
      top:21%;
      right:17%;
      left:-0%;
      width:auto;
      margin:0;
      text-align:right;
      font-size:clamp(15rem, 13vw, 12rem);
      line-height:.98;
      transform-origin:top right;
    }
  }
  
  .hero-logo{
    position:absolute;
    z-index:4;
    width:38px;
    bottom:8%;
    left:50%;
    transform:translateX(-50%);
    filter:drop-shadow(0 0 14px rgba(0,255,255,.35));
  }
  @media (min-width:900px){
    .hero-logo{
      width:52px;
      bottom:auto;
      top:44%;
      left:2%;
      transform:none;
    }
  }
  
  .hero-reveal{
    position:absolute;
    top:74%;
    left:8%;
    right:8%;
    z-index:5; 
    text-align:center;
    opacity:0;
  }
  .hero-reveal p{
    font-size:clamp(.92rem, 2.2vw, 1.05rem);
    line-height:1.8;
    color:var(--c-cyan-3);
    margin:0 0 .9rem;
  }
  .hero-reveal .reveal-note{
    display:inline-block;
    font-size:.75rem;
    color:var(--c-teal);
    border:1px dashed var(--c-teal);
    border-radius:999px;
    padding:.3rem .8rem;
  }
  
  @media (min-width:900px){
    .hero-reveal{
      top:62%;
      left:auto;
      right:55%;
      width:320px;
      text-align:right;
    }
  }
  
  
  /* =========================================================
     بخش داستان شکل‌گیری رسا
     ========================================================= */
  .story-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 2.5rem 1.5rem;
    background-color: #f7fcfd; 
    direction: rtl;
    border-radius: 24px;
  }
  
  .story-header-block {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    justify-content: flex-start;
  }
  
  .story-logo-box {
    width: 90px;
    height: 90px;
    background-color: #0c4d4d; 
    border-radius: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    order: 1; 
  }
  
  .story-img-element {
    width: 100%;
    height: auto;
    filter: brightness(0) invert(1); 
  }
  
  .story-titles {
    order: 2;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
  }
  
  .story-main-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2.4rem;
    color: #0c5454; 
    margin: 0;
  }
  
  .story-sub-title {
    font-size: 1.2rem;
    color: #0cb3b3; 
    margin: 0;
  }
  
  .story-body-content {
    text-align: justify;
  }
  
  .story-intro-title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.8rem;
    color: #0c4d4d;
    margin: 0 0 1.5rem 0;
  }
  
  .story-paragraph {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #2c3e3e;
    margin-bottom: 2rem; 
    text-shadow: 0 1px 0px rgba(0,0,0,0.02);
  }
  
  @media (max-width: 600px) {
    .story-header-block { gap: 0.7rem; }
    .story-logo-box { width: 58px; height: 58px; border-radius: 16px; padding: 10px; }
    .story-main-title { font-size: 1.45rem; white-space: nowrap; }
    .story-sub-title { font-size: 0.9rem; }
    .story-intro-title { font-size: 1.3rem; }
    .story-paragraph { font-size: 0.95rem; line-height: 1.75; }
  }
  
  .story-divider {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(12, 141, 141, 0.2), transparent);
    margin: 3rem auto;
    width: 88%;
  }
  
  
  /* =========================================================
     Team — 3D Position-based Virtual Carousel
     ========================================================= */
  .team-section{
    position:relative;
    z-index:4; 
    background:var(--c-mist);
    padding:3.5rem 0 4.5rem;
    overflow:hidden;
  }
  
  .team-head{
    text-align: right;
    padding:0 6vw;
    margin-bottom:1rem;
  }
  .team-title{
    font-family:var(--font-display);
    font-weight:900;
    font-size:clamp(1.7rem, 4.6vw, 2.5rem);
    color: #125454;
    margin:0 0 .2rem;
  }
  .team-subtitle{
    font-size:.95rem;
    color: #0c8d8d;
    margin:0;
  }
  
  .team-viewport{
    overflow: visible !important; 
    position:relative;
    width:100%;
    height:440px;
    margin:0 auto;
    cursor:grab;
    user-select:none;
    touch-action:pan-y; 
    perspective: 1200px;
  }
  .team-viewport.is-dragging{ cursor:grabbing; }
  
  .team-track{
    display:block !important; 
    position:relative;
    width:100%;
    height:100%;
    padding-block:0 !important;
  }
  
  .team-card{
    position:absolute;
    flex:0 0 auto;
    width:260px;
    height:360px;
    border-radius:42px;
    overflow:hidden;
    box-shadow:0 22px 46px -20px rgba(9,20,20,.5);
    will-change:transform, opacity, filter;
    transition: filter 0.7s cubic-bezier(0.2, 1, 0.25, 1);
  }
  
  @media (min-width:560px){
    .team-viewport { height: 480px; }
    .team-card{ width:300px; height:420px; border-radius:50px; }
  }
  @media (min-width:900px){
    .team-viewport { height: 540px; }
    .team-card{ width:340px; height:480px; border-radius:58px; }
  }
  
  .team-dots{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    margin-top:2rem;
  }
  .team-dot{
    width:7px;
    height:7px;
    padding:0;
    border-radius:3px;
    background:transparent;
    border:1.4px solid rgba(12,141,141,.35);
    cursor:pointer;
    transition:all .35s var(--ease-signature);
  }
  .team-dot:hover{ border-color:var(--c-teal); }
  .team-dot.is-active{
    width:22px;
    background:var(--c-ink);
    border-color:var(--c-ink);
  }
  
  
  /* =========================================================
     بخش: گذشته‌ای پرافتخار
     ========================================================= */
  .history-section {
    background-color: #f7fcfd; 
    padding: 2rem 1rem 1rem; 
    direction: rtl;
    position: relative;
    z-index: 5;
  }
  
  .history-container {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; 
    background: #ffffff;
    border-radius: 36px;
    overflow: hidden;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.03);
  }
  
  .history-media-block {
    position: relative;
    width: 100%;
    overflow: hidden;
  }
  
  .history-main-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.8s var(--ease-signature);
  }
  
  @media (min-width: 900px) {
    .history-container:hover .history-main-img {
      transform: scale(1.04);
    }
  }
  
  .history-badge {
    position: absolute;
    bottom: 115px; 
    right: 16px; 
    background-color: #0c5454;
    color: #ffffff;
    padding: 6px 12px; 
    border-radius: 10px;
    font-size: 0.72rem; 
    font-weight: bold;
    z-index: 4;
  }
  
  .history-fade-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom, 
      transparent 35%, 
      rgba(255, 255, 255, 0.4) 60%,
      rgba(255, 255, 255, 0.9) 80%, 
      #ffffff 100%
    );
    z-index: 2;
    pointer-events: none;
  }
  
  .history-text-block {
    position: relative;
    z-index: 4;
    padding: 0 1.2rem 2rem; 
    margin-top: -95px; 
    background: transparent; 
  }
  
  .history-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.6rem; 
    color: #1b2020;
    margin: 0 0 0.1rem 0; 
    white-space: nowrap; 
  }
  
  .history-subtitle {
    font-size: 0.9rem; 
    color: #0cb3b3;
    margin: 0 0 0.6rem 0; 
    font-weight: 500;
  }
  
  .history-desc-p {
    font-size: 0.86rem; 
    line-height: 1.65; 
    color: #3a4747;
    text-align: justify;
    text-justify: inter-word; 
    margin: 0;
  }
  
  @media (min-width: 900px) {
    .history-section { padding: 5rem 2rem 3rem; }
    .history-container { flex-direction: row; align-items: stretch; min-height: 480px; }
    .history-media-block { width: 45%; }
    .history-main-img { height: 100%; }
    .history-fade-overlay { background: linear-gradient(to left, transparent 80%, rgba(255, 255, 255, 0.15) 100%); }
    .history-badge { bottom: auto; top: 25px; right: 25px; padding: 9px 18px; font-size: 0.85rem; border-radius: 14px; }
    .history-text-block { width: 55%; padding: 4rem 4.5rem; margin-top: 0; background: #ffffff; display: flex; flex-direction: column; justify-content: center; }
    .history-title { font-size: 2.5rem; white-space: normal; margin-bottom: 0.3rem; }
    .history-subtitle { font-size: 1.2rem; margin-bottom: 1.5rem; }
    .history-desc-p { font-size: 1.05rem; line-height: 1.95; }
  }
  
  
  /* =========================================================
     بخش کارت‌های پروژه‌ها و رویدادها با انیمیشن خلاقانه
     ========================================================= */
  .projects-section {
    background-color: #f7fcfd;
    padding: 3rem 1rem 4rem;
    direction: rtl;
    position: relative;
    z-index: 5;
    perspective: 1000px;
  }
  
  .projects-container {
    max-width: 1140px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr; 
    gap: 2rem;
  }
  
  .project-card-link {
    display: block;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }
  
  .project-card {
    position: relative;
    background: #ffffff;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    transform-style: preserve-3d;
    transition: transform 0.15s ease-out, box-shadow 0.3s ease;
    will-change: transform;
  }
  
  .project-media {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 2 / 1; 
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateZ(20px);
    transition: transform 0.3s ease;
  }
  
  .project-img {
    width: 100%;
    height: 100%;
    object-fit: contain; 
    display: block;
  }
  
  .project-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 120px at var(--x, 50%) var(--y, 50%), rgba(0, 255, 255, 0.25), transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 3;
  }
  
  .project-card:hover {
    box-shadow: 0 30px 60px rgba(12, 141, 141, 0.18);
  }
  
  .project-card:hover .project-glow {
    opacity: 1;
  }
  
  .project-card:hover .project-media {
    transform: translateZ(35px) scale(1.02);
  }
  
  @media (min-width: 900px) {
    .projects-section { padding: 3rem 2rem 5rem; }
    .projects-container { grid-template-columns: repeat(2, 1fr); gap: 2.5rem; }
  }
  
  
  /* =========================================================
     بخش جدید: ویترین افتخارات و دستاوردهای رسا (3D Transparent)
     ========================================================= */
  .awards-section {
    background-color: #f7fcfd;
    padding: 4rem 1rem 9rem;
    direction: rtl;
    position: relative;
    z-index: 5;
    overflow: hidden;
  }
  
  .awards-header {
    max-width: 1140px;
    margin: 0 auto 3rem;
    text-align: right;
    padding: 0 1rem;
  }
  
  .awards-main-title {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2rem, 4.5vw, 2.8rem);
    color: #125454;
    margin: 0 0 0.2rem 0;
  }
  
  .awards-sub-title {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: #0cb3b3;
    margin: 0;
    font-weight: 500;
  }
  
  .awards-viewport {
    position: relative;
    width: 100%;
    height: 380px;
    margin: 0 auto;
    perspective: 1400px;
  }
  
  @media (min-width: 768px) { .awards-viewport { height: 460px; } }
  @media (min-width: 1200px) { .awards-viewport { height: 520px; } }
  
  .awards-track {
    position: relative;
    width: 100%;
    height: 100%;
  }
  
  .award-item {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    will-change: transform, opacity, filter;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.3, 1), 
                opacity 0.8s ease, 
                filter 0.8s ease;
  }
  
  @media (min-width: 768px) { .award-item { width: 300px; height: 380px; } }
  @media (min-width: 1200px) { .award-item { width: 380px; height: 460px; } }
  
  .award-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    pointer-events: none;
    /* اعمال فیلتر سایه طبیعی تندیس */
    filter: drop-shadow(0 25px 35px rgba(0, 0, 0, 0.15));
  }
  
  /* استایل عمومی طرح‌های برداری Fallback جایگزین تندیس لود نشده */
  .award-fallback-svg {
    width: 80%;
    height: 80%;
    filter: drop-shadow(0 25px 35px rgba(12, 141, 141, 0.25));
  }
  
  
  /* =========================================================
     Team Modal Settings — Glassmorphism & Neon Glow
     ========================================================= */
  .team-modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s var(--ease-signature);
  }
  
  .team-modal.is-open {
    opacity: 1;
    pointer-events: auto;
  }
  
  .modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 13, 13, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
  }
  
  .modal-content {
    position: relative;
    width: min(380px, 90vw);
    background: rgba(23, 26, 26, 0.85);
    border: 1px solid rgba(123, 254, 255, 0.2);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6), inset 0 0 20px rgba(123, 254, 255, 0.05);
    border-radius: 32px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    z-index: 2;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s var(--ease-signature);
  }
  
  .team-modal.is-open .modal-content {
    transform: scale(1) translateY(0);
  }
  
  .modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    color: var(--c-cyan-3);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
  }
  .modal-close:hover { color: #ff5555; }
  
  .modal-profile-wrap {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin: 0 auto 1.2rem;
    overflow: hidden;
    border: 3px solid var(--c-teal);
    box-shadow: 0 0 20px rgba(12, 141, 141, 0.4);
  }
  .modal-profile-wrap img { width: 100%; height: 100%; object-fit: cover; }
  
  .modal-name {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--c-mist);
    margin: 0 0 0.4rem;
  }
  
  .modal-role {
    font-size: 0.9rem;
    color: var(--c-cyan-2);
    margin: 0 0 2rem;
    opacity: 0.85;
  }
  
  .modal-socials { display: flex; flex-direction: column; gap: 12px; }
  
  .social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    direction: ltr; 
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--c-cyan-3);
  }
  
  .social-btn svg { width: 18px; height: 18px; }
  .social-btn:hover {
    background: rgba(123, 254, 255, 0.1);
    border-color: var(--c-cyan);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.2);
    color: #fff;
  }
  /* =========================================================
     بخش جدید: جدیدترین‌ها (کپیِ دقیقِ کارت‌های پشته‌ای صفحه مقالات)
     بالای فوتر صفحه اصلی
     ========================================================= */
  .home-latest-section{
    --cat-a:#0c8d8d;
    --cat-b:#e2394a;
    --cat-c:#7c4dff;
    --cat-d:#f2994a;
    --r-xl:28px;
    --r-lg:22px;
    --r-md:16px;
    background:var(--c-mist);
    padding:4.5rem 6vw 5.5rem;
    direction:rtl;
    position:relative;
    z-index:5;
    overflow:hidden;
  }
  .home-latest-head{
    max-width:1140px;
    margin:0 auto 4.5rem;
    text-align:right;
    padding:0 1rem;
  }
  .home-latest-head h2{
    font-family:var(--font-display);
    font-weight:900;
    font-size:clamp(2rem, 4.5vw, 2.8rem);
    color:#125454;
    margin:0;
  }
  
  /* کارت مقاله مشترک (rasa-card) — کپی از articles.css */
  .home-latest-section .rasa-card{
    display:flex;
    flex-direction: row-reverse;
    background:#fff; border-radius:var(--r-xl);
    border:1px solid rgba(12,141,141,.12);
    box-shadow:0 20px 46px -22px rgba(18,84,84,.28);
    overflow:hidden; text-decoration:none; color:inherit;
    height:100%;
    transition:box-shadow .3s ease, transform .3s ease;
  }
  .home-latest-section a.rasa-card:hover{ box-shadow:0 26px 56px -22px rgba(12,141,141,.35); }
  
  .home-latest-section .rasa-card-media{
    position:relative;
    flex:0 0 35%;
    background:var(--c-mist); overflow:hidden;
  }
  .home-latest-section .rasa-card-media img{ width:100%; height:100%; object-fit:cover; display:block; }
  
  .home-latest-section .rasa-card-author {
    position: absolute;
    z-index: 2;
    bottom: 0.6rem;
    left: 50%;
    transform: translateX(-50%);
    width: 88%;
    height: 42px;
  
    display: flex;
    flex-direction: row !important;
    align-items: center;
    justify-content: flex-end;
  
    background: rgba(40, 40, 40, 0.65);
    backdrop-filter: blur(12px) saturate(120%);
    -webkit-backdrop-filter: blur(12px) saturate(120%);
  
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  }
  
  .home-latest-section .rasa-card-author img {
    order: 2 !important;
    width: 42px;
    height: 42px;
    object-fit: cover;
    flex-shrink: 0;
    border-radius: 0 11px 11px 0;
  }
  
  .home-latest-section .rasa-card-author span {
    order: 1 !important;
    flex: 1;
    text-align: right;
    color: #ffffff;
    font-weight: 500;
    padding-right: 0.75rem;
    padding-left: 0.5rem;
    line-height: 42px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.68rem, 2.2vw, 0.8rem);
  }
  
  .home-latest-section .rasa-card-body{
    flex:1; min-width:0;
    padding:1.6rem 1.8rem; display:flex; flex-direction:column; gap:.7rem;
  }
  
  .home-latest-section .rasa-card-cat{
    display:flex; align-items:center; gap:.8rem; justify-content: flex-start;
  }
  .home-latest-section .rasa-card-cat-icon{
    flex-shrink:0; width:52px; height:52px; border-radius:18px;
    display:flex; align-items:center; justify-content:center;
    background:var(--cat-color, var(--c-teal)); color:#fff;
    box-shadow: 0 8px 16px -6px var(--cat-color);
  }
  .home-latest-section .rasa-card-cat-icon svg{ width:26px; height:26px; }
  .home-latest-section .rasa-card-cat-text{
    display:flex; flex-direction:column; gap:.1rem; text-align: right;
  }
  .home-latest-section .rasa-card-cat-text strong{ font-size:1.15rem; font-weight:800; color:var(--c-ink); }
  .home-latest-section .rasa-card-cat-text small{ font-size:.78rem; color:var(--c-deep); opacity:.65; }
  
  .home-latest-section .rasa-card-title{
    font-family:var(--font-display); font-weight:800; margin:0; color:var(--c-ink);
    font-size:1.32rem; line-height:1.6; text-align:right; margin-top: 0.3rem;
    display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
  }
  .home-latest-section a.rasa-card:hover .rasa-card-title{ color:var(--c-teal); }
  
  .home-latest-section .rasa-card-excerpt{
    margin:0; color:var(--c-deep); opacity:.75; font-size:.9rem; line-height:1.85; text-align:right;
    display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
  }
  
  /* جدیدترین‌ها — چیدمان پشته‌ای صعودی — کپی از articles.css */
  .home-latest-section .stack-wrap{
    position:relative;
    height: 265px !important;
    max-width:760px;
    margin:0 auto;
  }
  .home-latest-section .stack-card2{
    position:absolute; inset:0;
    display:block; will-change:transform, opacity;
    transition:transform .65s cubic-bezier(.22,.85,.32,1), opacity .5s ease;
  }
  .home-latest-section .stack-card2 .rasa-card-excerpt{ -webkit-line-clamp:2; }
  .home-latest-section .stack-skel{
    height:100%; border-radius:var(--r-xl);
    background:linear-gradient(100deg, rgba(12,141,141,.06) 30%, rgba(12,141,141,.13) 50%, rgba(12,141,141,.06) 70%);
    background-size:200% 100%; animation:shimmer 1.6s ease-in-out infinite;
  }
  
  @keyframes shimmer{
    0%{ background-position:-200% 0; }
    100%{ background-position:200% 0; }
  }
  
  @media (max-width:768px){
    .home-latest-section{ padding:3.5rem 6vw 4.5rem; }
    .home-latest-section .rasa-card-body { padding: 0.9rem 1.1rem; gap: 0.35rem; }
    .home-latest-section .rasa-card-title { font-size: 1.05rem !important; -webkit-line-clamp: 2; line-height: 1.5; }
    .home-latest-section .rasa-card-excerpt {
      display: -webkit-box !important;
      font-size: 0.8rem !important;
      -webkit-line-clamp: 2;
      line-height: 1.6;
      opacity: 0.7;
    }
    .home-latest-section .rasa-card-cat-icon { width: 36px !important; height: 36px !important; border-radius: 11px; }
    .home-latest-section .rasa-card-cat-icon svg { width: 18px !important; height: 18px !important; }
    .home-latest-section .rasa-card-cat-text strong { font-size: 0.9rem !important; }
    .home-latest-section .rasa-card-cat-text small { display: none; }
    .home-latest-section .stack-wrap { height: 175px !important; }
    .home-latest-head{ margin-bottom:3.8rem; }
  }
  
  @media (max-width:480px) {
    .home-latest-section .rasa-card-media { flex-basis: 38%; }
    .home-latest-section .rasa-card-body { padding: 0.75rem 0.9rem; gap: 0.25rem; }
    .home-latest-section .rasa-card-title { font-size: 0.95rem !important; -webkit-line-clamp: 2; }
    .home-latest-section .rasa-card-excerpt { -webkit-line-clamp: 2; font-size: 0.75rem !important; }
    .home-latest-section .rasa-card-author { height: 34px; bottom: 0.4rem; width: 92%; }
    .home-latest-section .rasa-card-author img { width: 34px; height: 34px; border-radius: 0 9px 9px 0; }
    .home-latest-section .rasa-card-author span { line-height: 34px; padding-right: 0.5rem; font-size: 0.65rem; }
    .home-latest-head{ margin-bottom:3.2rem; }
    .home-latest-section .stack-wrap { height: 165px !important; margin-bottom: 1rem; }
  }