/* Rankauto Home 3.0: additive stylesheet. Requires /style.css and /home-2-1.css. */
.ra-home3{--ra3-ink:#0a1729;--ra3-red:#ff3154;--ra3-orange:#ff792c}
.ra-home3 .ra3-header{position:sticky;top:0;z-index:500;background:#fff!important;border-bottom:1px solid rgba(14,30,49,.09);box-shadow:0 4px 24px rgba(0,0,0,.07)}
.ra-home3.theme-dark .ra3-header{background:#101827!important;border-color:#27334a}
.ra3-header-inner{max-width:1360px;margin:auto;min-height:84px;padding:0 24px;display:flex;align-items:center;gap:36px}
.ra3-logo{display:flex;align-items:center;flex:0 0 auto}.ra3-logo img{display:block;width:245px;max-width:100%;height:auto}.ra3-logo-on-dark{display:none!important}.ra3-logo-on-light{display:block!important}
.ra-home3.theme-dark .ra3-logo-on-dark{display:block!important}.ra-home3.theme-dark .ra3-logo-on-light{display:none!important}
.ra3-header .main-nav{margin-left:auto}.ra3-header .main-nav ul{display:flex;align-items:center;gap:30px}.ra3-header .main-nav a{font-size:14px;font-weight:600}.ra3-header-actions{display:flex;align-items:center;gap:20px;margin-left:auto}.ra3-header .theme-toggle{border-radius:50%;width:42px;height:42px;flex-shrink:0}.ra3-top-cta{display:inline-flex;align-items:center;gap:18px;background:linear-gradient(110deg,#ff2b55,#ff762e);border-radius:50px;color:white!important;text-decoration:none;font-size:14px;font-weight:800;padding:15px 23px;white-space:nowrap}.ra3-top-cta:hover{filter:brightness(1.07)}
.ra-home3 .ra3-stage{background:#061427;padding:0 0 18px;color:white;overflow:hidden}
.ra3-hero{position:relative;max-width:1510px;margin:0 auto;min-height:580px;display:flex;align-items:center;isolation:isolate}
.ra3-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:60% 49%;z-index:-3}
.ra3-hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#051226 0%,rgba(5,18,38,.97) 21%,rgba(5,18,38,.83) 37%,rgba(5,18,38,.3) 65%,rgba(5,18,38,.04) 100%),linear-gradient(0deg,rgba(5,18,38,.2),transparent 50%);z-index:-2}
.ra3-hero-content{width:min(1320px,100%);margin:auto;padding:64px 30px 78px;position:relative}.ra3-hero-content>*{max-width:660px}
.ra3-kicker{display:flex;align-items:center;gap:13px;font-size:12px!important;letter-spacing:2.2px;font-weight:900;color:#fff!important;margin:0 0 24px!important}.ra3-kicker span{display:inline-block;width:32px;height:2px;background:#ff3154}
.ra3-hero h1{font-size:clamp(40px,4.2vw,70px)!important;line-height:1.08!important;letter-spacing:-2.8px;font-weight:900;color:#fff!important;margin:0 0 20px!important}.ra3-hero h1 strong{font-weight:900;color:#ff4865}
.ra3-lead{font-size:17px!important;line-height:1.65!important;color:#e3eaf3!important;max-width:580px!important;margin:0 0 27px!important}
.ra3-facts{display:flex;gap:0;margin:0 0 28px!important;max-width:680px!important}.ra3-facts>div{padding:0 17px;border-right:1px solid rgba(255,255,255,.24);flex:1}.ra3-facts>div:first-child{padding-left:0}.ra3-facts>div:last-child{border:0}.ra3-facts b{display:block;color:#fff;font-size:13px;line-height:1.3}.ra3-facts small{display:block;color:#c3d0df;font-size:11px;margin-top:6px;line-height:1.3}
.ra3-buttons{display:flex;flex-wrap:wrap;gap:10px}.ra3-btn{display:inline-flex;justify-content:center;align-items:center;gap:17px;min-height:54px;padding:15px 24px;border-radius:30px;text-decoration:none!important;color:white!important;font-weight:800;font-size:14px;transition:transform .2s}.ra3-btn:hover{transform:translateY(-2px)}.ra3-btn-primary{background:linear-gradient(100deg,#ff2955,#ff762c);box-shadow:0 14px 34px rgba(245,42,75,.2)}.ra3-btn-ghost{border:1px solid rgba(255,255,255,.56);background:rgba(5,17,34,.45)}
.ra3-image-tag{position:absolute;right:32px;bottom:22px;color:#e6eef6;font-size:10px;letter-spacing:1.2px;font-weight:900;background:rgba(6,19,35,.72);padding:10px 15px;border:1px solid rgba(255,255,255,.2);border-radius:9px}.ra3-image-tag span{color:#ff4563;margin:0 5px}
.ra3-tiles{position:relative;max-width:1320px;margin:-4px auto 0;padding:0 24px;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.ra3-tile{min-height:190px;position:relative;display:flex;flex-direction:column;justify-content:flex-end;padding:24px;color:white!important;text-decoration:none!important;border-radius:16px;overflow:hidden;background-size:cover;background-position:center;border:1px solid rgba(255,255,255,.25);box-shadow:0 12px 40px rgba(0,0,0,.24);transition:transform .2s}.ra3-tile:hover{transform:translateY(-5px)}.ra3-tile::before{content:'';position:absolute;inset:0;background:linear-gradient(0deg,rgba(3,12,26,.97),rgba(3,12,26,.15));z-index:0}.ra3-tile>*{position:relative;z-index:1}.ra3-tile>span{font-size:10px;letter-spacing:2px;font-weight:900;margin-bottom:22px}.ra3-tile>b{font-size:24px;letter-spacing:-.5px;line-height:1.15}.ra3-tile>small{font-size:12px;margin-top:8px;color:#e7eef8}.ra3-tile-blue{background-image:url('/kredyt-6.webp');border-top:2px solid #388dff}.ra3-tile-green{background-image:url('/wynajem-6.webp');border-top:2px solid #17be8a}.ra3-tile-red{background-image:url('/leasing-6.webp');border-top:2px solid #ff3b5c}
.ra3-note{max-width:1320px;margin:13px auto 0;padding:0 24px;color:#9eafc2;font-size:11px;line-height:1.4}
.ra-home3 .home-categories{padding-top:86px}.ra-home3 .home-section-heading h2{letter-spacing:-1.6px}.ra-home3 .home-category-card{min-height:255px}
.ra-home3 .home-benefits>div>div:first-child>p{color:#d2dbe7!important}.ra-home3 .home-benefits-list p{color:#c6d1df!important}
.ra-home3 .home-finance-panel{grid-template-columns:1.2fr .8fr;align-items:center}.ra3-finance-card{background:linear-gradient(155deg,#132942,#081728);border:1px solid #4b6075;border-radius:20px;padding:32px;color:#fff;min-height:320px;display:flex;flex-direction:column;position:relative;overflow:hidden}.ra3-finance-card:before{content:'';position:absolute;right:-65px;top:-80px;width:220px;height:220px;border-radius:50%;background:radial-gradient(circle,rgba(255,55,91,.35),transparent 70%)}.ra3-finance-overline{font-size:11px;letter-spacing:2px;color:#b8c9da;font-weight:800}.ra3-finance-mark{position:absolute;top:30px;right:30px;font-weight:900;color:#fff}.ra3-finance-mark span{color:#ff4564}.ra3-finance-card h3{font-size:clamp(32px,3.1vw,52px);line-height:1.07;letter-spacing:-1.5px;margin:25px 0 12px;color:white}.ra3-finance-card h3 em{font-style:normal;color:#ff536d}.ra3-finance-card p{color:#d4deea;max-width:300px;font-size:14px;line-height:1.5}.ra3-finance-card a{color:#fff;font-weight:800;margin-top:auto;text-decoration:none;display:flex;justify-content:space-between;border-top:1px solid #5d6c7e;padding-top:14px}
.ra-home3 .home-contact-strip h2{color:#152337!important}.ra-home3 .home-contact-strip p{color:#627187!important}.ra-home3.theme-dark .home-contact-strip h2{color:#fff!important}.ra-home3.theme-dark .home-contact-strip p{color:#d5deeb!important}
@media(max-width:1100px){.ra3-header-inner{gap:15px}.ra3-logo img{width:195px}.ra3-header .main-nav ul{gap:15px}.ra3-header-actions{gap:10px}.ra3-top-cta{padding:12px 16px}.ra3-hero{min-height:570px}.ra3-hero-content{padding:60px 28px}.ra3-hero-content>*{max-width:590px}}
@media(max-width:760px){.ra3-header-inner{min-height:72px;padding:0 15px;gap:10px}.ra3-logo img{width:min(48vw,195px)}.ra3-header .main-nav{margin:0}.ra3-header .main-nav ul{gap:0}.ra3-header-actions{margin-left:auto;gap:8px}.ra3-header .theme-toggle{width:40px;height:40px}.ra3-top-cta{display:none}.ra3-header .nav-toggle{font-size:25px}.ra3-hero{min-height:0;display:block}.ra3-hero-image{object-position:66% center}.ra3-hero-shade{background:linear-gradient(90deg,rgba(4,15,30,.94),rgba(4,15,30,.65) 65%,rgba(4,15,30,.32)),linear-gradient(0deg,rgba(4,15,30,.85),transparent 60%)}.ra3-hero-content{padding:70px 22px 76px}.ra3-hero h1{font-size:clamp(35px,8vw,51px)!important;letter-spacing:-1.6px}.ra3-lead{font-size:15px!important;max-width:450px!important}.ra3-kicker{font-size:10px!important;letter-spacing:1.1px}.ra3-facts{display:grid;grid-template-columns:repeat(2,1fr);gap:15px 0}.ra3-facts>div{padding:0 12px}.ra3-facts>div:nth-child(2){border:0}.ra3-facts>div:nth-child(3){padding-left:0}.ra3-buttons{gap:10px}.ra3-btn{min-height:48px;padding:12px 16px;font-size:13px}.ra3-image-tag{display:none}.ra3-tiles{grid-template-columns:1fr;padding:12px 18px;gap:10px}.ra3-tile{min-height:140px;padding:20px}.ra3-tile>span{margin-bottom:15px}.ra3-tile>b{font-size:22px}.ra3-note{padding:0 18px}.ra-home3 .home-categories{padding-top:50px}.ra-home3 .home-finance-panel{grid-template-columns:1fr}.ra3-finance-card{min-height:300px}.ra-home3 .home-category-card{min-height:240px}}
@media(min-width:761px) and (max-width:950px){.ra3-top-cta{display:none}}
@media(prefers-reduced-motion:reduce){.ra3-tile,.ra3-btn{transition:none}}

/* Home 3.1 editorial refresh */
.ra-home3 .ra3-tile-blue{background-image:url('/assets/home31-osobowe.webp')}
.ra-home3 .ra3-tile-green{background-image:url('/assets/home31-dostawcze.webp')}
.ra-home3 .ra3-tile-red{background-image:url('/assets/home31-droga.webp')}
.ra-home3 .ra3-header .main-nav a{color:#25334a!important}
.ra-home3 .ra3-header .main-nav a.active{color:#111f35!important}
.ra-home3.theme-dark .ra3-header .main-nav a{color:#e5eaf3!important}
.ra-home3 .ra3-header .main-nav a:hover{color:#f03a53!important}
.ra31-explore{padding:100px 0;background:#f2f5f9;color:#172338}
.ra31-section-head{display:flex;justify-content:space-between;align-items:end;gap:40px;margin-bottom:34px}
.ra31-section-head h2{font-size:clamp(32px,4.4vw,58px);letter-spacing:-2px;line-height:1.1;margin:15px 0 0;color:#152136}
.ra31-section-head>p{max-width:340px;color:#607086;line-height:1.7}
.ra31-explore-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.ra31-explore-card{min-height:355px;display:flex;flex-direction:column;justify-content:flex-end;position:relative;isolation:isolate;overflow:hidden;border-radius:22px;padding:28px;color:#fff!important;text-decoration:none!important;background-size:cover;background-position:center;box-shadow:0 18px 42px rgba(9,25,46,.12);transition:transform .2s}
.ra31-explore-card:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,rgba(5,15,32,.96),rgba(5,15,32,.28) 72%,rgba(5,15,32,.1))}
.ra31-explore-card:hover{transform:translateY(-5px)}
.ra31-explore-card>span{font-size:11px;letter-spacing:1.8px;font-weight:900;color:#f6c8d1}
.ra31-explore-card h3{color:white;font-size:clamp(25px,2.4vw,34px);line-height:1.12;margin:12px 0}
.ra31-explore-card p{color:#e1e9f2;font-size:14px;margin:0 0 22px}
.ra31-explore-card b{font-size:13px;color:white}
.ra31-explore-card--premium{background-image:url('/assets/home31-finansowanie.webp')}
.ra31-explore-card--electric{background-image:url('/assets/home31-elektryczne.webp')}
.ra31-explore-card--china{background-image:url('/assets/home31-chinskie.webp')}
.ra31-why{background:#07172b;color:white;padding:110px 0}
.ra31-why-grid{display:grid;grid-template-columns:1.05fr 1fr;align-items:center;gap:clamp(36px,5vw,90px)}
.ra31-why-visual{position:relative;border-radius:24px;overflow:hidden;min-height:560px;box-shadow:0 30px 80px rgba(0,0,0,.23)}
.ra31-why-visual img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center}
.ra31-why-caption{position:absolute;bottom:22px;left:22px;background:rgba(6,20,39,.88);padding:13px 16px;border-radius:9px;font-size:11px;font-weight:900;letter-spacing:1.2px;color:white}
.ra31-why-caption span{color:#ff4a62;margin:0 6px}
.ra31-why-copy h2{color:white;font-size:clamp(38px,4vw,58px);line-height:1.12;letter-spacing:-2px;margin:18px 0}
.ra31-why-copy h2 em{font-style:normal;color:#ff536b}
.ra31-why-copy>p{color:#c5d2e1;font-size:17px;line-height:1.75;max-width:550px}
.ra31-why-points{margin:30px 0;display:grid}
.ra31-why-points>div{display:flex;gap:22px;border-top:1px solid rgba(255,255,255,.2);padding:19px 0}
.ra31-why-points b{color:#ff526b;font-size:14px}.ra31-why-points strong{display:block;color:#fff;font-size:17px}.ra31-why-points small{display:block;color:#b8c7d9;font-size:14px;margin-top:5px;line-height:1.5}
.ra31-finance{padding:100px 0;background:#eaf0f6}
.ra31-finance-panel{min-height:520px;border-radius:26px;position:relative;isolation:isolate;overflow:hidden;display:flex;align-items:center;box-shadow:0 30px 80px rgba(5,19,39,.16)}
.ra31-finance-panel>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center;z-index:-3}
.ra31-finance-overlay{position:absolute;inset:0;z-index:-2;background:linear-gradient(90deg,rgba(4,16,34,.96),rgba(4,16,34,.85) 32%,rgba(4,16,34,.48) 60%,rgba(4,16,34,.04))}
.ra31-finance-content{padding:65px clamp(24px,6vw,90px);max-width:760px;color:#fff}
.ra31-finance-content h2{font-size:clamp(36px,4.8vw,68px);line-height:1.08;letter-spacing:-2px;color:#fff;margin:17px 0 20px}
.ra31-finance-content h2 em{font-style:normal;color:#ff6177}
.ra31-finance-content p{font-size:17px;line-height:1.7;color:#e1e9f3;max-width:540px}
.ra31-finance-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:22px;margin-top:30px}.ra31-finance-link{color:white!important;text-decoration:none!important;font-weight:800}
.ra-home3 .home-contact-strip{padding-top:80px;padding-bottom:80px}
.ra-home3 .home-contact-strip h2{font-size:clamp(28px,3.5vw,48px);line-height:1.2;margin:12px 0 16px}
.ra-home3.theme-dark .ra31-explore{background:#101d30}.ra-home3.theme-dark .ra31-section-head h2{color:#fff}.ra-home3.theme-dark .ra31-section-head>p{color:#c1cfde}
.ra-home3.theme-dark .ra31-finance{background:#111e30}
@media(max-width:850px){.ra31-explore{padding:65px 0}.ra31-explore-grid{grid-template-columns:1fr 1fr}.ra31-explore-card{min-height:320px}.ra31-explore-card:last-child{grid-column:span 2}.ra31-why{padding:70px 0}.ra31-why-grid{grid-template-columns:1fr}.ra31-why-visual{min-height:360px}.ra31-finance{padding:65px 0}}
@media(max-width:600px){.ra31-section-head{display:block}.ra31-section-head>p{margin-top:18px}.ra31-explore-grid{grid-template-columns:1fr}.ra31-explore-card,.ra31-explore-card:last-child{grid-column:auto;min-height:290px}.ra31-why-visual{min-height:280px}.ra31-why-copy h2{letter-spacing:-1.2px}.ra31-finance-panel{min-height:510px}.ra31-finance-overlay{background:linear-gradient(90deg,rgba(4,16,34,.93),rgba(4,16,34,.7)),linear-gradient(0deg,rgba(4,16,34,.45),transparent)}.ra31-finance-content{padding:48px 25px}.ra31-finance-content h2{letter-spacing:-1.2px}.ra31-finance-content p{font-size:15px}}
@media(prefers-reduced-motion:reduce){.ra31-explore-card{transition:none}}


/* Home 3.2 – ostrożne dopracowanie widoku mobilnego.
   Nadpisania wyłącznie do 600 px; desktop, grafiki i skrypty bez zmian. */
@media (max-width:600px) {
  /* Mniej pustej przestrzeni między hero a kafelkami. */
  .ra-home3 .ra3-hero-content { padding-bottom:52px; }
  .ra-home3 .ra3-tiles { padding-top:8px; }
  .ra-home3 .ra3-stage { padding-bottom:12px; }

  /* Krótsze odstępy sekcji redakcyjnych. */
  .ra-home3 .ra31-explore { padding-top:52px; padding-bottom:52px; }
  .ra-home3 .ra31-section-head { margin-bottom:26px; }
  .ra-home3 .ra31-explore-card,
  .ra-home3 .ra31-explore-card:last-child { min-height:278px; }
  .ra-home3 .ra31-why { padding-top:54px; padding-bottom:54px; }
  .ra-home3 .ra31-finance { padding-top:52px; padding-bottom:52px; }

  /* Finansowanie: czytelniej i trochę bardziej kompaktowo. */
  .ra-home3 .ra31-finance-panel { min-height:0; }
  .ra-home3 .ra31-finance-content { padding:40px 24px 44px; }
  .ra-home3 .ra31-finance-content h2 {
    font-size:clamp(34px,8.5vw,46px);
    line-height:1.09;
    margin:14px 0 15px;
  }
  .ra-home3 .ra31-finance-content p { line-height:1.6; }
  .ra-home3 .ra31-finance-buttons { margin-top:22px; gap:16px; }

  /* Mobilny katalog: zachowujemy istniejące pola i ich funkcje.
     Zmniejszamy jedynie rozmiary i odstępy kontrolek w #offers. */
  .ra-home3 #offers input:not([type=checkbox]):not([type=radio]),
  .ra-home3 #offers select {
    min-height:44px;
    padding-top:10px;
    padding-bottom:10px;
  }

  /* Stopka: przewidywalne dwie kolumny, bez wąskich czterech pól. */
  .ra-home3 .site-footer .footer-inner { gap:16px; }
  .ra-home3 .site-footer .footer-links {
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    column-gap:18px;
    row-gap:12px;
    width:100%;
  }
  .ra-home3 .site-footer .footer-links a {
    display:block;
    margin:0;
    overflow-wrap:normal;
  }
}


/* ============================================================
   RANKAUTO HOME 3.3 — AUTOMOTIVE SHOWCASE
   Warstwa prezentacyjna. Nie zmienia struktury widgetu AKOL.
   ============================================================ */
.ra-home3 .home-latest{position:relative;isolation:isolate;background:linear-gradient(180deg,#ffffff 0%,#f8fafd 100%)}
.ra-home3 .home-latest:before{content:"";position:absolute;inset:0 0 auto;height:360px;pointer-events:none;z-index:-1;background:radial-gradient(ellipse at 82% 8%,rgba(255,78,92,.065),transparent 57%)}
.ra-home3 .home-latest .home-section-heading{margin-bottom:32px}
.ra-home3 .home-latest .home-kicker{letter-spacing:2.5px}
.ra-home3 .home-latest .home-all-link{font-weight:800;transition:color .2s,transform .2s}
.ra-home3 .home-latest .home-all-link:hover{transform:translateX(3px)}
.ra-home3 #offers .ra33-showcase-card{position:relative;isolation:isolate;overflow:hidden;border-radius:22px!important;background:#fff!important;border:1px solid #e5eaf1!important;box-shadow:0 14px 38px rgba(13,29,52,.075),0 2px 6px rgba(13,29,52,.025)!important;transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease!important}
.ra-home3 #offers .ra33-showcase-card:before{content:"";position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#ff3154,#ff8129);z-index:2;opacity:.95}
.ra-home3 #offers .ra33-showcase-card:hover{transform:translateY(-7px);border-color:#f5bac3!important;box-shadow:0 26px 60px rgba(13,29,52,.16),0 5px 14px rgba(13,29,52,.04)!important}
.ra-home3 #offers .ra33-showcase-card img{display:block;transition:transform .45s ease,filter .35s ease}
.ra-home3 #offers .ra33-showcase-card:hover img{filter:saturate(1.05) contrast(1.015)}
.ra-home3 #offers .ra33-showcase-card :is(h2,h3,h4){letter-spacing:-.35px;line-height:1.35}
.ra-home3 #offers .ra33-showcase-card :is(a,button){transition:background-color .2s,border-color .2s,color .2s,transform .2s}
.ra-home3 #offers .ra33-showcase-card :is(a,button):focus-visible{outline:3px solid #ff6d43;outline-offset:3px}
.ra-home3.theme-dark .home-latest{background:linear-gradient(180deg,#0e192a 0%,#111f33 100%)}
.ra-home3.theme-dark #offers .ra33-showcase-card{background:#15243a!important;border-color:#33445e!important;box-shadow:0 16px 38px rgba(0,0,0,.25)!important;color:#f3f6fa}
.ra-home3.theme-dark #offers .ra33-showcase-card:hover{border-color:#a44b60!important;box-shadow:0 24px 52px rgba(0,0,0,.35)!important}
@media(max-width:760px){.ra-home3 .home-latest .home-section-heading{margin-bottom:24px}.ra-home3 #offers .ra33-showcase-card{border-radius:20px!important}.ra-home3 #offers .ra33-showcase-card:hover{transform:none}}
@media(prefers-reduced-motion:reduce){.ra-home3 #offers .ra33-showcase-card,.ra-home3 #offers .ra33-showcase-card img{transition:none!important}.ra-home3 #offers .ra33-showcase-card:hover{transform:none}}


/* HOME 3.4 — AKOL: kontrast i rytm kart w obu motywach.
   Wykorzystuje rzeczywiste klasy z offers-widget.js; bez zmian JS/API. */
.ra-home3 #offers .offer-card .offer-body{min-width:0;gap:0;padding:20px 20px 18px}
.ra-home3 #offers .offer-card .offer-title{font-size:clamp(17px,1.25vw,19px);line-height:1.38;font-weight:800;margin:0 0 12px;overflow-wrap:anywhere}
.ra-home3 #offers .offer-card .offer-meta{line-height:1.55;margin:0 0 20px}
.ra-home3 #offers .offer-card .offer-price{font-size:clamp(23px,1.8vw,27px);font-weight:850;line-height:1.18;margin:auto 0 15px;opacity:1}
.ra-home3 #offers .offer-card .offer-price small{font-size:12px;font-weight:500;margin-top:7px}
.ra-home3 #offers .offer-card .offer-link{min-height:44px;border-radius:12px}
.ra-home3.theme-dark #offers .offer-card .offer-title,
.ra-home3.theme-dark #offers .offer-card .offer-price{color:#f8fafc!important;opacity:1!important;visibility:visible!important}
.ra-home3.theme-dark #offers .offer-card .offer-meta,
.ra-home3.theme-dark #offers .offer-card .offer-price small{color:#b8c8dd!important;opacity:1!important}
.ra-home3.theme-dark #offers .offer-count{color:#c4d1e2!important;opacity:1!important}
.ra-home3.theme-dark #offers .offer-card .offer-link{background:#f8fafc!important;color:#142033!important;border-color:#dbe3ed!important}
.ra-home3.theme-dark #offers .offer-card .offer-link:hover{background:#ff4961!important;color:#fff!important;border-color:#ff4961!important}
.ra-home3.theme-dark #offers .offer-card .offer-body{background:#15243a!important}
@media(max-width:600px){
 .ra-home3 #offers .offer-card .offer-body{padding:18px 19px 19px}
 .ra-home3 #offers .offer-card .offer-title{font-size:19px;margin-bottom:12px}
 .ra-home3 #offers .offer-card .offer-meta{font-size:14px;margin-bottom:20px}
 .ra-home3 #offers .offer-card .offer-price{font-size:27px;margin-bottom:16px}
 .ra-home3 #offers .offer-card .offer-link{min-height:48px}
}


/* ============================================================
   HOME 3.5 — PREMIUM FINAL TOUCH
   Wyłącznie warstwa wizualna katalogu; bez zmian widgetu AKOL.
   ============================================================ */
.ra-home3 #offers .offer-count{
  color:#52637a!important;opacity:1!important;font-weight:650;
  letter-spacing:.01em;
}
.ra-home3.theme-dark #offers .offer-count{
  color:#d2dceb!important;opacity:1!important;
}
/* Spójna, delikatna linia na obwodzie karty w obu motywach. */
.ra-home3 #offers .ra33-showcase-card{
  border-color:#dfe5ee!important;
  box-shadow:0 16px 40px rgba(14,29,49,.085),0 2px 8px rgba(14,29,49,.035)!important;
}
.ra-home3.theme-dark #offers .ra33-showcase-card{
  border-color:#3c4b62!important;
  box-shadow:0 16px 38px rgba(0,0,0,.26)!important;
}
/* Bez nachalnego różowego obramowania: mocniejszy efekt tylko na hover/focus. */
@media (hover:hover) and (pointer:fine){
  .ra-home3 #offers .ra33-showcase-card:hover,
  .ra-home3 #offers .ra33-showcase-card:focus-within{
    border-color:#f39a9b!important;
    box-shadow:0 24px 55px rgba(17,34,57,.15),0 0 0 1px rgba(255,80,90,.12)!important;
  }
  .ra-home3.theme-dark #offers .ra33-showcase-card:hover,
  .ra-home3.theme-dark #offers .ra33-showcase-card:focus-within{
    border-color:#d66d79!important;
    box-shadow:0 25px 55px rgba(0,0,0,.40),0 0 0 1px rgba(255,107,116,.13)!important;
  }
}
/* Przycisk pozostaje wyraźny, a interakcja nawiązuje do barw Rankauto. */
.ra-home3 #offers .offer-card .offer-link{
  font-weight:750;
  transition:background .22s ease,color .22s ease,border-color .22s ease,
             box-shadow .22s ease,transform .22s ease!important;
}
.ra-home3 #offers .offer-card .offer-link:focus-visible{
  outline:3px solid #ff8a45!important;outline-offset:3px!important;
}
@media (hover:hover) and (pointer:fine){
  .ra-home3 #offers .offer-card .offer-link:hover{
    background:linear-gradient(110deg,#ff3154,#ff792c)!important;
    border-color:transparent!important;color:#fff!important;
    box-shadow:0 10px 24px rgba(255,64,80,.20)!important;
    transform:translateY(-2px);
  }
  .ra-home3.theme-dark #offers .offer-card .offer-link:hover{
    background:linear-gradient(110deg,#ff3154,#ff792c)!important;
    border-color:transparent!important;color:#fff!important;
  }
}
@media (hover:none), (pointer:coarse){
  .ra-home3 #offers .ra33-showcase-card:hover{transform:none!important}
  .ra-home3 #offers .offer-card .offer-link:hover{transform:none!important}
}
@media (prefers-reduced-motion:reduce){
  .ra-home3 #offers .offer-card .offer-link{transition:none!important}
  .ra-home3 #offers .offer-card .offer-link:hover{transform:none!important}
}


/* HOME 3.6 — PREMIUM EXPLORE / WYBIERZ SWOJĄ DROGĘ */
.ra-home3 .ra31-explore{position:relative;isolation:isolate;overflow:hidden;background:linear-gradient(155deg,#f8fafc 0%,#e9eff7 60%,#f6f8fc 100%);padding-block:100px 108px}
.ra-home3 .ra31-explore::before{content:"";position:absolute;z-index:-1;pointer-events:none;top:-280px;right:-170px;width:720px;height:720px;border-radius:50%;background:radial-gradient(circle,rgba(255,91,93,.09),transparent 65%)}
.ra-home3 .ra31-section-head{margin-bottom:36px;gap:40px}
.ra-home3 .ra31-section-head h2{letter-spacing:-.045em}
.ra-home3 .ra31-explore-grid{gap:22px;align-items:stretch}
.ra-home3 .ra31-explore-card{min-height:410px;border:1px solid rgba(255,255,255,.25);border-radius:26px;padding:32px;box-shadow:0 22px 50px rgba(12,29,51,.15);transition:transform .35s ease,box-shadow .35s ease,border-color .35s ease;transform:translateZ(0);background-position:center;background-size:cover}
.ra-home3 .ra31-explore-card::before{background:linear-gradient(0deg,rgba(3,13,29,.96) 0%,rgba(5,16,34,.83) 27%,rgba(5,16,34,.20) 75%,rgba(5,16,34,.04) 100%)}
.ra-home3 .ra31-explore-card::after{content:"";position:absolute;inset:0;border-radius:inherit;border:1px solid rgba(255,255,255,.13);pointer-events:none;z-index:1}
.ra-home3 .ra31-explore-card>span{display:inline-flex;align-self:flex-start;align-items:center;gap:8px;font-size:11px;letter-spacing:2px;color:#ffe0e5;text-shadow:0 1px 10px rgba(0,0,0,.4)}
.ra-home3 .ra31-explore-card>span::before{content:"";width:22px;height:2px;border-radius:5px;background:linear-gradient(90deg,#ff3154,#ff802b)}
.ra-home3 .ra31-explore-card h3{font-size:clamp(27px,2.35vw,38px);letter-spacing:-.035em;line-height:1.12;margin:16px 0 12px;text-shadow:0 2px 20px rgba(0,0,0,.23)}
.ra-home3 .ra31-explore-card p{font-size:15px;color:#e5ebf5;line-height:1.5;margin:0 0 23px}
.ra-home3 .ra31-explore-card b{display:inline-flex;align-items:center;align-self:flex-start;padding:12px 0 5px;border-bottom:1px solid rgba(255,255,255,.45);font-size:14px;font-weight:800;transition:color .25s,border-color .25s}
.ra-home3 .ra31-explore-card:focus-visible{outline:3px solid #ff7842;outline-offset:4px}
.ra-home3.theme-dark .ra31-explore{background:linear-gradient(145deg,#0b1729,#14243b 60%,#101c2e)}
.ra-home3.theme-dark .ra31-explore::before{background:radial-gradient(circle,rgba(255,83,97,.11),transparent 65%)}
.ra-home3.theme-dark .ra31-explore-card{border-color:rgba(255,255,255,.13);box-shadow:0 24px 48px rgba(0,0,0,.3)}
/* Wyższy kontrast licznika ofert również na telefonie */
.ra-home3.theme-dark #offers .offer-count{color:#e0e9f6!important;opacity:1!important}
@media (hover:hover) and (pointer:fine){
 .ra-home3 .ra31-explore-card:hover{transform:translateY(-9px);border-color:rgba(255,141,124,.75);box-shadow:0 32px 65px rgba(11,25,44,.24),0 0 0 1px rgba(255,111,100,.15)}
 .ra-home3 .ra31-explore-card:hover b{color:#fff0e8;border-color:#ff8b61}
 .ra-home3.theme-dark .ra31-explore-card:hover{box-shadow:0 32px 65px rgba(0,0,0,.46),0 0 0 1px rgba(255,111,100,.16)}
}
@media(max-width:850px){.ra-home3 .ra31-explore{padding-block:72px 78px}.ra-home3 .ra31-explore-card{min-height:360px}}
@media(max-width:600px){
 .ra-home3 .ra31-explore{padding-block:64px 72px}
 .ra-home3 .ra31-section-head{margin-bottom:30px}
 .ra-home3 .ra31-explore-grid{gap:20px}
 .ra-home3 .ra31-explore-card,.ra-home3 .ra31-explore-card:last-child{min-height:335px;padding:27px;border-radius:24px}
 .ra-home3 .ra31-explore-card h3{font-size:clamp(28px,7vw,35px)}
 .ra-home3 .ra31-explore-card p{font-size:15px}
}
@media(prefers-reduced-motion:reduce){.ra-home3 .ra31-explore-card,.ra-home3 .ra31-explore-card b{transition:none!important}}


/* ============================================================
   HOME 3.7 — SPÓJNOŚĆ PREMIUM OD KATALOGU DO STOPKI
   Wyłącznie wygląd: bez zmian AKOL, filtrów i linków.
   ============================================================ */
.ra-home3 .home-latest{
  position:relative;
  background:linear-gradient(180deg,#fff8f8 0%,#fff 12%,#f7f9fc 100%);
}
.ra-home3.theme-dark .home-latest{
  background:linear-gradient(180deg,#111d30 0%,#0e1b2d 15%,#0d1a2c 100%);
}
.ra-home3 .ra31-why{
  position:relative;
  overflow:hidden;
  background:linear-gradient(125deg,#07172b 0%,#10233b 65%,#0b1b30 100%);
}
.ra-home3 .ra31-why::before{
  content:"";position:absolute;pointer-events:none;right:-180px;top:-200px;
  width:680px;height:680px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,91,97,.10),transparent 68%);
}
.ra-home3 .ra31-why-grid{position:relative}
.ra-home3 .ra31-why-visual{
  border:1px solid rgba(255,255,255,.16);
  box-shadow:0 30px 75px rgba(0,0,0,.30);
}
.ra-home3 .ra31-why-visual::after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,transparent 55%,rgba(4,14,30,.35));
}
.ra-home3 .ra31-why-caption{z-index:1;backdrop-filter:blur(9px)}
.ra-home3 .ra31-why-points>div{
  transition:background .2s ease,padding .2s ease;
}
.ra-home3 .ra31-why-points b{font-weight:900;letter-spacing:.08em}
.ra-home3 .ra31-finance{
  background:linear-gradient(155deg,#f6f9fd,#e7eef6 62%,#f7f9fc);
}
.ra-home3.theme-dark .ra31-finance{
  background:linear-gradient(145deg,#0c192a,#14253b 65%,#101d30);
}
.ra-home3 .ra31-finance-panel{
  border:1px solid rgba(255,255,255,.25);
  box-shadow:0 30px 75px rgba(5,19,39,.20);
}
.ra-home3 .ra31-finance-content{position:relative;z-index:1}
.ra-home3 .ra31-finance-link{
  display:inline-flex;align-items:center;
  min-height:44px;border-bottom:1px solid rgba(255,255,255,.50);
  transition:border-color .2s ease,color .2s ease;
}
.ra-home3 .home-contact-strip{
  position:relative;overflow:hidden;
  background:linear-gradient(125deg,#fff 0%,#f6f8fc 60%,#fff4f3 100%);
  border-top:1px solid rgba(20,39,65,.06);
}
.ra-home3.theme-dark .home-contact-strip{
  background:linear-gradient(125deg,#111e31 0%,#16263d 70%,#1d263b 100%);
  border-top-color:rgba(255,255,255,.08);
}
.ra-home3 .home-contact-inner{position:relative;z-index:1}
.ra-home3 .home-contact-actions .btn{
  box-shadow:0 13px 30px rgba(255,63,79,.18);
  transition:transform .2s ease,box-shadow .2s ease;
}
.ra-home3 .site-footer{border-top:1px solid rgba(125,145,171,.18)}
.ra-home3 .site-footer a{
  text-underline-offset:4px;
  transition:color .2s ease;
}
.ra-home3 a:focus-visible{
  outline:3px solid #ff914d;
  outline-offset:4px;
}
@media(hover:hover) and (pointer:fine){
  .ra-home3 .ra31-why-points>div:hover{
    background:rgba(255,255,255,.035);
    padding-left:10px;
  }
  .ra-home3 .ra31-finance-link:hover{
    color:#ffd8ce!important;border-color:#ff986e;
  }
  .ra-home3 .home-contact-actions .btn:hover{
    transform:translateY(-3px);
    box-shadow:0 18px 34px rgba(255,63,79,.24);
  }
  .ra-home3 .site-footer a:hover{color:#ff526b}
}
@media(max-width:850px){
  .ra-home3 .ra31-why-grid{gap:34px}
}
@media(max-width:600px){
  .ra-home3 .ra31-why{padding-block:58px}
  .ra-home3 .ra31-why-visual{border-radius:22px}
  .ra-home3 .ra31-why-copy>p{font-size:15px;line-height:1.65}
  .ra-home3 .ra31-why-points>div{gap:15px;padding-block:17px}
  .ra-home3 .ra31-why-points strong{font-size:16px}
  .ra-home3 .ra31-finance{padding-block:58px}
  .ra-home3 .ra31-finance-panel{border-radius:24px}
  .ra-home3 .home-contact-strip{padding-block:58px}
}
@media(prefers-reduced-motion:reduce){
  .ra-home3 .ra31-why-points>div,
  .ra-home3 .ra31-finance-link,
  .ra-home3 .home-contact-actions .btn,
  .ra-home3 .site-footer a{transition:none!important}
}


/* HOME 3.8 — premium footer; isolated styles, no AKOL/filters changes */
.ra-home3 .ra38-footer{
  position:relative;overflow:hidden;
  background:linear-gradient(135deg,#f8fafc 0%,#fff 53%,#fff3f0 100%)!important;
  color:#152237!important;border-top:1px solid #e1e7ef!important;
}
.ra-home3 .ra38-footer::before{content:"";position:absolute;inset:0 0 auto;height:3px;background:linear-gradient(90deg,#ef2857,#ff7930 54%,transparent 92%)}
.ra-home3 .ra38-footer-main{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,.8fr) minmax(0,1fr);gap:clamp(28px,5vw,85px);padding-top:72px;padding-bottom:64px;position:relative}
.ra-home3 .ra38-footer-brand p{max-width:390px;color:#607087;line-height:1.75;font-size:15px;margin:22px 0 20px}
.ra-home3 .ra38-footer-logo{display:inline-flex;align-items:center}
.ra-home3 .ra38-footer-logo img{width:235px;max-width:100%;height:auto}
.ra-home3 .ra38-logo-dark{display:none}
.ra-home3 .ra38-footer-brand-note{display:inline-block;font-size:10px;letter-spacing:.17em;font-weight:850;color:#e83757}
.ra-home3 .ra38-footer-column{display:flex;flex-direction:column;align-items:flex-start;gap:15px}
.ra-home3 .ra38-footer-column h3{margin:5px 0 9px;color:#142238;font-size:17px;font-weight:850}
.ra-home3 .ra38-footer-column>a:not(.ra38-footer-cta){color:#52627a;text-decoration:none;font-size:14px;font-weight:600;transition:color .2s ease,transform .2s ease}
.ra-home3 .ra38-footer-column>a span{margin-left:6px;font-size:12px;color:#f0445a}
.ra-home3 .ra38-footer-contact p{margin:0 0 1px;color:#68768b;line-height:1.6;font-size:14px}
.ra-home3 .ra38-footer-column .ra38-footer-phone{color:#142238!important;font-size:25px!important;font-weight:900!important;letter-spacing:-.02em}
.ra-home3 .ra38-footer-column .ra38-footer-cta{display:inline-flex;align-items:center;justify-content:space-between;gap:30px;margin-top:8px;padding:13px 19px;border-radius:13px;background:linear-gradient(100deg,#fa315b,#ff742c);color:white!important;text-decoration:none;font-size:13px;font-weight:800;box-shadow:0 12px 25px rgba(246,65,75,.16);transition:transform .2s ease,box-shadow .2s ease}
.ra-home3 .ra38-footer-cta span{color:#fff!important}
.ra-home3 .ra38-footer-bottom{display:flex;justify-content:space-between;align-items:center;gap:22px;padding-top:23px;padding-bottom:25px;border-top:1px solid #e0e7ef;font-size:12px;color:#758198}
.ra-home3 .ra38-footer-legal{display:flex;gap:22px;flex-wrap:wrap}
.ra-home3 .ra38-footer-legal a{color:inherit;text-decoration:none}
.ra-home3.theme-dark .ra38-footer{background:radial-gradient(ellipse at 85% 0%,rgba(255,80,90,.09),transparent 42%),linear-gradient(140deg,#081425,#101f34 75%,#0a1729)!important;color:#f5f8ff!important;border-top-color:#253650!important}
.ra-home3.theme-dark .ra38-footer .ra38-logo-light{display:none}
.ra-home3.theme-dark .ra38-footer .ra38-logo-dark{display:block}
.ra-home3.theme-dark .ra38-footer-brand p,.ra-home3.theme-dark .ra38-footer-contact p{color:#aebdd1}
.ra-home3.theme-dark .ra38-footer-column h3{color:#fff}
.ra-home3.theme-dark .ra38-footer-column>a:not(.ra38-footer-cta){color:#c2cde0}
.ra-home3.theme-dark .ra38-footer-column .ra38-footer-phone{color:#fff!important}
.ra-home3.theme-dark .ra38-footer-bottom{border-top-color:#2a3b51;color:#a7b5ca}
@media(hover:hover) and (pointer:fine){
 .ra-home3 .ra38-footer-column>a:hover{color:#f34359!important;transform:translateX(3px)}
 .ra-home3 .ra38-footer-column .ra38-footer-cta:hover{color:#fff!important;transform:translateY(-3px);box-shadow:0 18px 30px rgba(246,65,75,.25)}
 .ra-home3 .ra38-footer-legal a:hover{color:#f34359}
}
@media(max-width:800px){.ra-home3 .ra38-footer-main{grid-template-columns:1fr 1fr;gap:42px 25px}.ra-home3 .ra38-footer-brand{grid-column:1/-1}.ra-home3 .ra38-footer-brand p{max-width:580px}}
@media(max-width:540px){.ra-home3 .ra38-footer-main{grid-template-columns:1fr;padding-top:52px;padding-bottom:42px;gap:35px}.ra-home3 .ra38-footer-brand{grid-column:auto}.ra-home3 .ra38-footer-logo img{width:210px}.ra-home3 .ra38-footer-column{gap:13px}.ra-home3 .ra38-footer-bottom{align-items:flex-start;flex-direction:column;gap:16px}.ra-home3 .ra38-footer-legal{gap:12px 19px}}
@media(prefers-reduced-motion:reduce){.ra-home3 .ra38-footer a{transition:none!important}}

/* HOME 3.9 — cztery etapy zakupu, zamiast powtórzonego CTA */
.ra-home3 .ra39-process{padding:clamp(64px,7vw,110px) 0;background:linear-gradient(125deg,#f5f8fc,#fff 62%,#fff5f2);color:#152237}
.ra-home3.theme-dark .ra39-process{background:linear-gradient(125deg,#0c1b2e,#12233a 65%,#20273b);color:#f6f8ff}
.ra-home3 .ra39-process-head{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:38px}
.ra-home3 .ra39-process-head h2{font-size:clamp(32px,4vw,56px);line-height:1.12;letter-spacing:-.035em;margin:15px 0 0;color:inherit}
.ra-home3 .ra39-process-head h2 em{font-style:normal;color:#f34360}
.ra-home3 .ra39-process-head>p{max-width:350px;line-height:1.7;color:#66758a;margin:0}
.ra-home3.theme-dark .ra39-process-head>p{color:#b6c4d8}
.ra-home3 .ra39-process-grid{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;counter-reset:none}
.ra-home3 .ra39-process-grid>li{min-width:0;display:flex;flex-direction:column;align-items:flex-start;padding:28px 23px 25px;border-radius:20px;background:#fff;border:1px solid #e0e6ee;box-shadow:0 12px 35px rgba(16,37,64,.05)}
.ra-home3.theme-dark .ra39-process-grid>li{background:#172941;border-color:#34445b;box-shadow:0 14px 32px rgba(0,0,0,.1)}
.ra-home3 .ra39-process-number{font-weight:900;color:#f0445b;font-size:13px;letter-spacing:.14em;border-bottom:2px solid #f0445b;padding-bottom:10px}
.ra-home3 .ra39-process-grid h3{font-size:19px;line-height:1.3;color:inherit;margin:23px 0 12px;font-weight:850}
.ra-home3 .ra39-process-grid p{font-size:14px;line-height:1.7;color:#65748a;margin:0 0 22px;flex-grow:1}
.ra-home3.theme-dark .ra39-process-grid p{color:#b6c4d8}
.ra-home3 .ra39-process-grid a{font-size:13px;font-weight:800;text-decoration:none;color:#e83c56}
.ra-home3 .ra39-process-grid a:hover{text-decoration:underline}
.ra-home3 .ra39-process-final{font-size:10px;font-weight:900;letter-spacing:.11em;color:#e83c56}
.ra-home3 .ra38-footer-main{padding-top:58px;padding-bottom:52px}
.ra-home3 .ra38-footer-brand p{margin:16px 0 15px;line-height:1.65}
@media(max-width:900px){
 .ra-home3 .ra39-process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
 .ra-home3 .ra39-process{padding:58px 0}
 .ra-home3 .ra39-process-head{display:block;margin-bottom:26px}
 .ra-home3 .ra39-process-head>p{margin-top:18px;font-size:15px}
 .ra-home3 .ra39-process-grid{grid-template-columns:1fr;gap:12px}
 .ra-home3 .ra39-process-grid>li{padding:22px 22px 20px}
 .ra-home3 .ra39-process-grid h3{margin:14px 0 8px;font-size:18px}
 .ra-home3 .ra39-process-grid p{margin-bottom:13px}
 .ra-home3 .ra38-footer-main{padding-top:40px;padding-bottom:35px;gap:28px}
 .ra-home3 .ra38-footer-brand p{margin:12px 0}
 .ra-home3 .ra38-footer-column{gap:11px}
 .ra-home3 .ra38-footer-column h3{margin-bottom:3px}
}

/* HOME 4.0 — subtle social icons and mobile process refinements */
.ra-home3 .ra40-social{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:22px}
.ra-home3 .ra40-social a{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:1px solid #dbe3ed;border-radius:11px;background:rgba(255,255,255,.75);color:#40526b;text-decoration:none;font-family:Arial,sans-serif;font-size:17px;font-weight:800;line-height:1;transition:color .2s,border-color .2s,background .2s,transform .2s}
.ra-home3 .ra40-social a[aria-label^="LinkedIn"]{font-size:14px;letter-spacing:-.07em}
.ra-home3 .ra40-social a[aria-label^="Pinterest"]{font-family:Georgia,serif;font-size:20px}
.ra-home3.theme-dark .ra40-social a{background:rgba(255,255,255,.055);border-color:#33445d;color:#d4dfef}
.ra-home3 .ra40-social a:focus-visible{outline:2px solid #f34360;outline-offset:3px}
@media(hover:hover) and (pointer:fine){.ra-home3 .ra40-social a:hover{color:#f34360;border-color:#f34360;transform:translateY(-2px)}}
@media(max-width:600px){
 .ra-home3 .ra39-process-grid{gap:11px}
 .ra-home3 .ra39-process-grid>li{padding:20px 21px 19px}
 .ra-home3 .ra39-process-grid h3{margin:13px 0 7px}
 .ra-home3 .ra39-process-grid p{margin-bottom:12px}
 .ra-home3 .ra40-social{margin-top:18px;gap:8px}
}
@media(prefers-reduced-motion:reduce){.ra-home3 .ra40-social a{transition:none!important}}

/* Home 4.1: wektorowe ikony serwisów społecznościowych */
.ra-home3 .ra40-social svg{display:block;width:19px;height:19px;flex:none}
.ra-home3 .ra40-social a[aria-label^="LinkedIn"],.ra-home3 .ra40-social a[aria-label^="Pinterest"]{font-size:inherit;letter-spacing:normal}

/* Home 4.2: desktop navigation readability aligned with Finansowanie. */
@media(min-width:761px){body.ra-home3 .ra3-header .main-nav a{font-size:16px!important;font-weight:650!important;line-height:1.4}}


/* HOME 4.3 — czytelne menu mobilne w obu motywach.
   Dotyczy wyłącznie nagłówka i menu, bez zmian sekcji strony. */
@media (max-width:760px) {
  body.ra-home3 > .ra3-header {
    position:sticky!important;
    top:0!important;
    z-index:1100!important;
    overflow:visible!important;
  }
  body.ra-home3 .ra3-header-inner {
    position:relative;
  }
  body.ra-home3 .ra3-header-actions {
    display:flex!important;
    align-items:center!important;
    gap:12px!important;
  }
  body.ra-home3 .ra3-header .nav-toggle {
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    order:1;
    width:46px;
    height:46px;
    margin:0!important;
    padding:0;
    border:1px solid #c7d2df;
    border-radius:13px;
    background:#fff;
    color:#182c43!important;
    font-size:29px;
    line-height:1;
    cursor:pointer;
  }
  body.ra-home3 .ra3-header .theme-toggle {
    order:2;
    margin:0!important;
  }
  body.ra-home3 .ra3-header .main-nav {
    display:none!important;
    position:absolute!important;
    top:100%!important;
    left:0!important;
    right:0!important;
    width:100%!important;
    margin:0!important;
    padding:16px 22px 22px!important;
    background:#fff!important;
    border-top:1px solid #e0e7ef;
    border-bottom:1px solid #dbe3ec;
    box-shadow:0 14px 28px rgba(12,28,49,.12);
    z-index:1101!important;
  }
  body.ra-home3 .ra3-header .main-nav.open {display:block!important}
  body.ra-home3 .ra3-header .main-nav ul {
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:0!important;
    padding:0!important;
    margin:0!important;
    list-style:none!important;
  }
  body.ra-home3 .ra3-header .main-nav li {display:block;width:100%}
  body.ra-home3 .ra3-header .main-nav a {
    display:block!important;
    width:100%;
    padding:13px 0!important;
    color:#26364b!important;
    font-size:16px!important;
    font-weight:700!important;
    line-height:1.4!important;
    text-decoration:none!important;
    border-bottom:2px solid transparent!important;
  }
  body.ra-home3 .ra3-header .main-nav a.active,
  body.ra-home3 .ra3-header .main-nav a[aria-current="page"] {
    color:#e93e59!important;
    border-bottom-color:#e93e59!important;
  }
  body.ra-home3.theme-dark .ra3-header .nav-toggle {
    background:#111c2e!important;
    border-color:#46546b!important;
    color:#fff!important;
  }
  body.ra-home3.theme-dark .ra3-header .main-nav {
    background:#101827!important;
    border-top-color:#2e3b50!important;
    border-bottom-color:#2e3b50!important;
    box-shadow:0 14px 28px rgba(0,0,0,.3);
  }
  body.ra-home3.theme-dark .ra3-header .main-nav a {
    color:#e5ebf5!important;
  }
  body.ra-home3.theme-dark .ra3-header .main-nav a.active,
  body.ra-home3.theme-dark .ra3-header .main-nav a[aria-current="page"] {
    color:#ff4c68!important;
    border-bottom-color:#ff4c68!important;
  }
  body.ra-home3 .ra3-header .nav-toggle:focus-visible,
  body.ra-home3 .ra3-header .main-nav a:focus-visible {
    outline:2px solid #f34360!important;
    outline-offset:3px;
  }
}

/* HOME 4.4 — spójny kolor aktywnej zakładki w menu desktopowym.
   Mobilne menu zachowuje dotychczasowe style. */
@media (min-width:761px){
  body.ra-home3 .ra3-header .main-nav a.active,
  body.ra-home3 .ra3-header .main-nav a[aria-current="page"],
  body.ra-home3.theme-dark .ra3-header .main-nav a.active,
  body.ra-home3.theme-dark .ra3-header .main-nav a[aria-current="page"]{
    color:#f03a53!important;
  }
}
