/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/

/* Homepage: completed projects heading. */
.home.page-id-7 .fusion-title-4 .fusion-title-heading {
    color: #ffffff !important;
}

/* Burgas case study mobile title: clear the overlaid site header. */
@media (max-width: 800px) {
  .postid-596 .fusion-page-title-bar { height: auto !important; min-height: 340px !important; padding-top: 130px !important; padding-bottom: 35px !important; }
  .postid-596 .fusion-page-title-row { height: auto !important; }
  .postid-596 .fusion-page-title-wrapper { min-height: 0; }
  .postid-596 .fusion-page-title-bar h1 { font-size: 25px !important; line-height: 1.35 !important; }
}

/* Witte case study: mobile title clear of overlaid header. */
@media (max-width: 800px) {
 .postid-590 .fusion-page-title-bar { height: auto !important; min-height: 340px !important; padding-top: 130px !important; padding-bottom: 35px !important; }
 .postid-590 .fusion-page-title-row { height: auto !important; }
 .postid-590 .fusion-page-title-wrapper { min-height: 0; }
 .postid-590 .fusion-page-title-bar h1 { font-size: 25px !important; line-height: 1.35 !important; }
}


/* Epoxy guide 979: scoped editorial typography and responsive image. */
.postid-979 .rs-epoxy-guide {max-width:840px;margin:0 auto;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:18px;line-height:1.8;color:#343a40;overflow-wrap:break-word;}
.postid-979 .rs-epoxy-guide p {margin:0 0 1.15em;}
.postid-979 .rs-epoxy-guide .rs-eyebrow {font-size:12px;font-weight:700;letter-spacing:.12em;color:#8a5b0a;margin-bottom:14px;}
.postid-979 .rs-epoxy-guide .rs-lead {font-size:21px;line-height:1.65;color:#242b32;}
.postid-979 .rs-epoxy-guide h2,.postid-979 .rs-epoxy-guide h3 {font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color:#202830;font-weight:700;letter-spacing:-.02em;}
.postid-979 .rs-epoxy-guide h2 {font-size:30px;line-height:1.3;margin:0 0 20px;}
.postid-979 .rs-epoxy-guide h3 {font-size:22px;line-height:1.4;margin:28px 0 12px;}
.postid-979 .rs-epoxy-guide section {padding-top:40px;margin-top:36px;border-top:1px solid #e7e9eb;scroll-margin-top:120px;}
.postid-979 .rs-epoxy-guide ul,.postid-979 .rs-epoxy-guide ol {padding-left:1.4em;margin:0 0 24px;}
.postid-979 .rs-epoxy-guide li {padding-left:5px;margin-bottom:12px;}
.postid-979 .rs-epoxy-guide a {color:#865800;text-decoration:underline;text-underline-offset:3px;}
.postid-979 .rs-epoxy-guide a:hover {color:#513600;}
.postid-979 .rs-epoxy-guide a:focus-visible {outline:3px solid #b07812;outline-offset:5px;}
.postid-979 .rs-article-figure {margin:32px 0;float:none;width:100%;}
.postid-979 .rs-article-figure img {display:block;width:100%;height:auto;border-radius:12px;}
.postid-979 .rs-article-figure figcaption {font-size:14px;line-height:1.6;color:#616971;padding:12px 2px 0;}
.postid-979 .rs-article-toc {padding:24px 28px;border:1px solid #e5e7e9;border-radius:12px;background:#f6f7f8;margin:32px 0;}
.postid-979 .rs-article-toc strong {display:block;margin-bottom:14px;color:#202830;}
.postid-979 .rs-article-toc ul {display:grid;grid-template-columns:1fr 1fr;gap:8px 24px;list-style:none;padding:0;margin:0;}
.postid-979 .rs-article-toc li {font-size:16px;margin:0;padding:0;}
.postid-979 .rs-article-note {margin:28px 0;padding:24px 28px;background:#fff8eb;border-left:4px solid #d19a35;border-radius:0 10px 10px 0;}
.postid-979 .rs-article-note p {margin:10px 0 0;}
.postid-979 .rs-article-cta {margin-top:44px;padding:32px;background:#f5f6f7;border-radius:12px;border-top:4px solid #d19a35;}
.postid-979 .rs-epoxy-guide .rs-article-button {display:inline-block;padding:13px 22px;background:#a46b0d;color:#fff;font-size:16px;font-weight:700;border-radius:6px;text-decoration:none;}
.postid-979 .rs-epoxy-guide .rs-article-button:hover {background:#805308;color:#fff;}
.postid-979 .fusion-page-title-bar h1 {font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:40px!important;line-height:1.3!important;font-weight:700!important;}
@media(max-width:800px) {
 .postid-979 .fusion-page-title-bar {height:auto!important;min-height:340px!important;padding-top:140px!important;padding-bottom:35px!important;}
 .postid-979 .fusion-page-title-row {height:auto!important;}
 .postid-979 .fusion-page-title-wrapper {min-height:0;}
 .postid-979 .fusion-page-title-bar h1 {font-size:28px!important;line-height:1.35!important;}
 .postid-979 .rs-epoxy-guide {font-size:17px;line-height:1.75;}
 .postid-979 .rs-epoxy-guide .rs-lead {font-size:19px;}
 .postid-979 .rs-epoxy-guide h2 {font-size:25px;}
 .postid-979 .rs-epoxy-guide h3 {font-size:21px;}
 .postid-979 .rs-article-toc ul {grid-template-columns:1fr;}
 .postid-979 .rs-article-toc,.postid-979 .rs-article-note,.postid-979 .rs-article-cta {padding:22px;}
 .postid-979 .rs-epoxy-guide section {padding-top:30px;margin-top:30px;}
}


/* Blog refresh 2026-09-28: scoped to the revised articles. */
.single-post .rs-blog-article {max-width:840px;margin:0 auto;font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-size:18px;line-height:1.8;color:#343a40;overflow-wrap:break-word;}
.single-post .rs-blog-article p {margin:0 0 1.15em;}
.single-post .rs-blog-article .rs-lead {font-size:21px;line-height:1.65;color:#242b32;}
.single-post .rs-blog-article h2 {font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif;font-weight:700;letter-spacing:-.02em;font-size:30px;line-height:1.3;color:#202830;margin:0 0 20px;}
.single-post .rs-blog-article section {padding-top:32px;margin-top:30px;border-top:1px solid #e7e9eb;}
.single-post .rs-blog-article a {color:#865800;text-decoration:underline;text-underline-offset:3px;}
.single-post .rs-blog-article a:hover {color:#513600;}
.single-post .rs-blog-article a:focus-visible {outline:3px solid #b07812;outline-offset:5px;}
.single-post .rs-blog-article .rs-article-figure {margin:28px auto;float:none;width:100%;max-width:840px;}
.single-post .rs-blog-article .rs-article-figure img {display:block;width:auto;height:auto;max-width:100%;max-height:560px;margin:0 auto;border-radius:12px;}
.single-post .rs-blog-article .rs-portrait {max-width:390px;}
.single-post .rs-blog-article figcaption {font-size:14px;line-height:1.6;color:#616971;padding:12px 2px 0;text-align:left;}
.single-post .rs-blog-article .rs-article-cta {margin-top:36px;padding:30px;background:#f5f6f7;border-radius:12px;border-top:4px solid #d19a35;}
.single-post .rs-blog-article .rs-article-button {display:inline-block;padding:13px 22px;background:#a46b0d;color:#fff;font-size:16px;font-weight:700;border-radius:6px;text-decoration:none;}
.single-post .rs-blog-article .rs-article-button:hover {background:#805308;color:#fff;}
:is(.postid-957,.postid-984,.postid-998,.postid-1021,.postid-1024,.postid-1040,.postid-1152,.postid-1166,.postid-1270,.postid-1311,.postid-1362,.postid-1370,.postid-1385,.postid-1394,.postid-1405,.postid-1418,.postid-1445,.postid-1485,.postid-1550,.postid-1575,.postid-1587,.postid-1617) .fusion-page-title-bar h1 {font-family:system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;font-size:36px!important;line-height:1.3!important;font-weight:700!important;}
@media(max-width:800px) {
 :is(.postid-957,.postid-984,.postid-998,.postid-1021,.postid-1024,.postid-1040,.postid-1152,.postid-1166,.postid-1270,.postid-1311,.postid-1362,.postid-1370,.postid-1385,.postid-1394,.postid-1405,.postid-1418,.postid-1445,.postid-1485,.postid-1550,.postid-1575,.postid-1587,.postid-1617) .fusion-page-title-bar {height:auto!important;min-height:340px!important;padding-top:140px!important;padding-bottom:35px!important;}
 :is(.postid-957,.postid-984,.postid-998,.postid-1021,.postid-1024,.postid-1040,.postid-1152,.postid-1166,.postid-1270,.postid-1311,.postid-1362,.postid-1370,.postid-1385,.postid-1394,.postid-1405,.postid-1418,.postid-1445,.postid-1485,.postid-1550,.postid-1575,.postid-1587,.postid-1617) .fusion-page-title-row {height:auto!important;}
 :is(.postid-957,.postid-984,.postid-998,.postid-1021,.postid-1024,.postid-1040,.postid-1152,.postid-1166,.postid-1270,.postid-1311,.postid-1362,.postid-1370,.postid-1385,.postid-1394,.postid-1405,.postid-1418,.postid-1445,.postid-1485,.postid-1550,.postid-1575,.postid-1587,.postid-1617) .fusion-page-title-wrapper {min-height:0;}
 :is(.postid-957,.postid-984,.postid-998,.postid-1021,.postid-1024,.postid-1040,.postid-1152,.postid-1166,.postid-1270,.postid-1311,.postid-1362,.postid-1370,.postid-1385,.postid-1394,.postid-1405,.postid-1418,.postid-1445,.postid-1485,.postid-1550,.postid-1575,.postid-1587,.postid-1617) .fusion-page-title-bar h1 {font-size:27px!important;line-height:1.35!important;}
 .single-post .rs-blog-article {font-size:17px;line-height:1.75;}
 .single-post .rs-blog-article .rs-lead {font-size:19px;}
 .single-post .rs-blog-article h2 {font-size:25px;}
 .single-post .rs-blog-article .rs-article-cta {padding:22px;}
 .single-post .rs-blog-article section {padding-top:26px;margin-top:26px;}
}

/* Equal article cards on Tips and Technologies, 2026-10-23. */
.page-id-952 .rs-tips-grid .fusion-posts-container {
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:32px;
 height:auto!important;margin:0!important;
}
.page-id-952 .rs-tips-grid .fusion-post-grid {
 position:relative!important;inset:auto!important;transform:none!important;width:auto!important;padding:0!important;min-width:0;display:flex;margin:0!important;
}
.page-id-952 .rs-tips-grid .fusion-post-wrapper {display:flex;flex-direction:column;width:100%;height:100%!important;min-width:0;}
.page-id-952 .rs-tips-grid .fusion-flexslider {flex:none;margin:0!important;overflow:hidden;}
.page-id-952 .rs-tips-grid .slides,.page-id-952 .rs-tips-grid .slides>li,.page-id-952 .rs-tips-grid .fusion-image-wrapper {aspect-ratio:3/2;height:auto!important;}
.page-id-952 .rs-tips-grid .fusion-image-wrapper img {display:block;width:100%;height:100%!important;aspect-ratio:3/2;object-fit:cover;}
.page-id-952 .rs-tips-grid .fusion-post-content-wrapper {display:flex;flex-direction:column;flex:1;}
.page-id-952 .rs-tips-grid .fusion-post-content {flex:1;}
.page-id-952 .rs-tips-grid .entry-title {line-height:1.5!important;min-height:4.5em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;}
.page-id-952 .rs-tips-grid .fusion-single-line-meta {line-height:1.5;min-height:3em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;}
.page-id-952 .rs-tips-grid .fusion-post-content-container {line-height:1.6;min-height:4.8em;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;}
.page-id-952 .rs-tips-grid .fusion-post-content-container p {margin:0;}
.page-id-952 .rs-tips-grid .fusion-meta-info {margin-top:auto;padding-top:20px;}
@media(max-width:1024px){.page-id-952 .rs-tips-grid .fusion-posts-container{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;}}
@media(max-width:640px){.page-id-952 .rs-tips-grid .fusion-posts-container{grid-template-columns:minmax(0,1fr);gap:24px;}}
/* Services overview page only; shares Rusinov graphite, warm white and orange. */
.page-id-14{--rs-ink:#192124;--rs-paper:#f4f3ed;--rs-orange:#f4a91f;--rs-muted:#596366}
.page-id-14 .fusion-page-title-bar{display:none!important}
.page-id-14 #main{padding:0!important;background:var(--rs-paper)}
.page-id-14 #main>.fusion-row{max-width:none!important}
.page-id-14 .rs-work-section{padding:82px 40px!important;margin:0!important;overflow:hidden}
.page-id-14 #main .rs-work-section>.fusion-builder-row{max-width:1200px!important;width:100%!important;margin:auto!important}
.page-id-14 .rs-work-section .fusion-layout-column{margin:0!important}
.page-id-14 .rs-work-section .fusion-column-wrapper{padding:0!important;margin:0!important}
.page-id-14 .rs-work-section .fusion-text{width:100%;max-width:1200px;margin:0 auto!important;color:var(--rs-ink);font-family:system-ui,-apple-system,'Segoe UI',sans-serif;font-size:17px;line-height:1.7}
.page-id-14 .rs-work-section h1,.page-id-14 .rs-work-section h2,.page-id-14 .rs-work-section h3{font-family:system-ui,-apple-system,'Segoe UI',sans-serif!important;font-weight:720!important;letter-spacing:-.035em!important;line-height:1.12!important;margin:0 0 20px;color:var(--rs-ink)}
.page-id-14 .rs-work-section h1{font-size:clamp(40px,4.7vw,66px)!important}
.page-id-14 .rs-work-section h2{font-size:clamp(31px,3.2vw,44px)!important}
.page-id-14 .rs-work-section h3{font-size:25px!important;line-height:1.2!important}
.page-id-14 .rs-work-section p{margin:0 0 20px}
.page-id-14 .rs-work-kicker{display:block;margin:0 0 23px;color:#ffba38;font-size:12px;font-weight:750;letter-spacing:.15em;text-transform:uppercase}
.page-id-14 .rs-work-hero{background:var(--rs-ink)!important;padding-top:175px!important;padding-bottom:56px!important}
.page-id-14 .rs-work-hero h1,.page-id-14 .rs-work-hero .fusion-text{color:white}
.rs-work-hero-grid{display:grid;grid-template-columns:1fr .92fr;gap:64px;align-items:center}
.rs-work-hero-copy{max-width:570px}
.rs-work-hero-copy h1 em{color:var(--rs-orange);font-style:normal}
.rs-work-hero-copy>p{max-width:530px;color:#c6ccca;font-size:18px;line-height:1.7}
.rs-work-actions{display:flex;gap:13px;flex-wrap:wrap;margin-top:29px}
.page-id-14 a.rs-work-button{min-height:52px;padding:13px 21px;display:inline-flex;align-items:center;justify-content:center;gap:17px;background:var(--rs-orange);border:1px solid var(--rs-orange);color:var(--rs-ink)!important;font-size:15px;font-weight:700;text-decoration:none!important;transition:transform .2s,background .2s}
.page-id-14 a.rs-work-button:hover{transform:translateY(-2px);background:#ffc55a}
.page-id-14 a.rs-work-button-alt{background:transparent;border-color:#657073;color:#fff!important}
.page-id-14 a.rs-work-button-alt:hover{background:#2c373b}
.rs-work-visual-wrap{position:relative;min-width:0}
.rs-work-visual{position:relative;aspect-ratio:1.22/1;overflow:hidden;background:#303a3d}
.rs-work-visual>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.rs-work-visual:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#101819dc)}
.rs-work-frame{position:absolute;z-index:1;inset:8%;border:1px solid #ffffff55;pointer-events:none}
.rs-work-frame:before{position:absolute;left:0;right:0;top:0;height:2px;background:var(--rs-orange);box-shadow:0 0 18px #f4a91f99;content:'';animation:rs-work-measure 5.5s ease-in-out infinite alternate}
@keyframes rs-work-measure{from{transform:translateY(0)}to{transform:translateY(320px)}}
.rs-work-motion input{position:absolute;z-index:4;top:11px;left:11px;width:16px;height:16px;accent-color:var(--rs-orange)}
.rs-work-motion label{position:absolute;z-index:3;top:5px;left:5px;padding:7px 10px 7px 32px;background:#192124ed;color:#fff;font-size:11px;cursor:pointer}
.rs-work-motion input:checked~.rs-work-visual .rs-work-frame:before{animation-play-state:paused}
.rs-work-visual-caption{position:absolute;z-index:2;left:22px;bottom:17px;color:#fff;font-size:12px;letter-spacing:.09em;text-transform:uppercase}
.rs-work-facts{display:grid;grid-template-columns:repeat(3,1fr);margin-top:40px;border-top:1px solid #ffffff30}
.rs-work-fact{padding:22px 15px 0 0;color:#bac1be;font-size:13px}
.rs-work-fact+.rs-work-fact{padding-left:24px;border-left:1px solid #ffffff30}
.rs-work-fact strong{display:block;color:#fff;font-size:24px;letter-spacing:-.03em}
.page-id-14 .rs-work-services{background:var(--rs-paper)!important}
.rs-work-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin:0 0 36px}
.rs-work-heading>div{max-width:650px}
.rs-work-heading>p{max-width:390px;color:var(--rs-muted)}
.rs-work-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.rs-work-card{min-width:0;background:white;padding:13px 13px 26px;display:flex;flex-direction:column;border:1px solid #e2e3dd;transition:transform .2s,border-color .2s}
.rs-work-card:hover{transform:translateY(-4px);border-color:var(--rs-orange)}
.rs-work-card-image{aspect-ratio:1.5/1;overflow:hidden;background:#e5e6e0;margin-bottom:23px}
.rs-work-card-image img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .35s}
.rs-work-card:hover .rs-work-card-image img{transform:scale(1.035)}
.rs-work-card-body{padding:0 13px;display:flex;flex:1;flex-direction:column;align-items:flex-start}
.rs-work-card-index{display:block;margin-bottom:13px;color:#87620c;font:12px monospace;letter-spacing:.08em}
.rs-work-card p{color:var(--rs-muted);font-size:15px}
.page-id-14 .rs-work-card a.rs-work-link{display:inline-flex;gap:12px;margin-top:auto;padding:5px 0;border-bottom:1px solid #bdc0b7;color:var(--rs-ink);font-size:14px;font-weight:700;text-decoration:none!important}
.page-id-14 .rs-work-card a.rs-work-link:hover{border-color:#996500;color:#805400}
.page-id-14 .rs-work-method{background:#e8e9e2!important}
.rs-work-method-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:70px;align-items:start}
.rs-work-method-intro p{color:var(--rs-muted);max-width:390px}
.rs-work-steps{display:grid;grid-template-columns:1fr 1fr;gap:24px 28px}
.rs-work-step{border-top:1px solid #b4b8ae;padding-top:17px}
.rs-work-step small{display:block;color:#805c04;font:12px monospace;margin-bottom:13px}
.page-id-14 .rs-work-step h3{font-size:21px!important;margin-bottom:9px}
.rs-work-step p{color:var(--rs-muted);font-size:14px}
.page-id-14 .rs-work-cta{background:var(--rs-orange)!important;padding-top:51px!important;padding-bottom:51px!important}
.rs-work-cta-row{display:flex;justify-content:space-between;align-items:center;gap:40px}
.rs-work-cta-copy{max-width:720px}
.page-id-14 .rs-work-cta h2{margin-bottom:12px}
.rs-work-cta p{margin:0!important;color:#2d3030}
.page-id-14 .rs-work-cta a.rs-work-button{flex-shrink:0;background:var(--rs-ink);border-color:var(--rs-ink);color:white!important}
.page-id-14 .rs-work-section a:focus-visible,.rs-work-motion input:focus-visible{outline:3px solid #bd7900;outline-offset:4px}
@media(max-width:950px){.rs-work-hero-grid{gap:32px}.rs-work-method-grid{gap:36px}.rs-work-card{padding:10px 10px 23px}}
@media(max-width:700px){.page-id-14 .rs-work-section{padding:57px 24px!important}.page-id-14 .rs-work-hero{padding-top:151px!important;padding-bottom:48px!important}.rs-work-hero-grid,.rs-work-service-grid,.rs-work-method-grid{grid-template-columns:1fr;gap:27px}.page-id-14 .rs-work-section h1{font-size:42px!important}.rs-work-hero-copy>p{font-size:17px}.rs-work-visual{aspect-ratio:1.25/1}.rs-work-facts{margin-top:26px}.rs-work-fact{padding-right:5px;font-size:11px;line-height:1.4}.rs-work-fact+.rs-work-fact{padding-left:10px}.rs-work-fact strong{font-size:19px;line-height:1.25;margin-bottom:5px}.rs-work-heading{display:block;margin-bottom:25px}.rs-work-heading>p{margin-top:17px!important}.rs-work-card{padding:12px 12px 24px}.rs-work-card-image{aspect-ratio:1.65/1}.rs-work-steps{gap:18px 16px}.page-id-14 .rs-work-step h3{font-size:19px!important}.rs-work-cta-row{align-items:flex-start;flex-direction:column;gap:24px}.page-id-14 a.rs-work-button{padding:12px 16px;font-size:14px}@keyframes rs-work-measure{from{transform:translateY(0)}to{transform:translateY(180px)}}}
@media(prefers-reduced-motion:reduce){.rs-work-frame:before{animation:none!important}.rs-work-motion label,.rs-work-motion input{display:none}.rs-work-card,.rs-work-card-image img,.page-id-14 a.rs-work-button{transition:none}}

/* Rusinov Stroi — sitewide design refresh, 2026-09-29 */
:root {
  --rs-graphite: #192124;
  --rs-ink: #252c30;
  --rs-muted: #626a6d;
  --rs-paper: #f4f3ed;
  --rs-white: #ffffff;
  --rs-orange: #f4a91f;
  --rs-orange-dark: #bf7410;
  --rs-line: rgba(25, 33, 36, .12);
  --rs-radius: 18px;
  --rs-shadow: 0 16px 42px rgba(22, 29, 32, .10);
}

html { scroll-behavior: smooth; }
body { color: var(--rs-ink); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
#main { color: var(--rs-ink); }
.fusion-main-menu > ul > li > a { font-weight: 650; letter-spacing: .015em; transition: color .2s ease; }
.fusion-main-menu > ul > li > a:hover,
.fusion-main-menu > ul > li.current-menu-item > a,
.fusion-main-menu > ul > li.current_page_item > a { color: var(--rs-orange) !important; }
.fusion-main-menu > ul > li > a:focus-visible,
.fusion-button:focus-visible,
a:focus-visible { outline: 3px solid var(--rs-orange); outline-offset: 4px; }
.fusion-button { border-radius: 6px !important; font-weight: 700 !important; letter-spacing: .01em; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.fusion-button:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(25, 33, 36, .16); }

/* Keep each Avada section distinct, while giving legacy title bars one shared visual language. */
body:not(.home) .fusion-page-title-bar { position: relative; isolation: isolate; min-height: 270px; border-bottom: 3px solid var(--rs-orange); overflow: hidden; }
body:not(.home) .fusion-page-title-bar::before { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(100deg, rgba(16, 21, 23, .88), rgba(16, 21, 23, .58) 58%, rgba(16, 21, 23, .40)); }
body:not(.home) .fusion-page-title-row { position: relative; z-index: 1; }
body:not(.home) .fusion-page-title-bar h1 { color: #fff !important; font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif !important; font-size: clamp(30px, 4vw, 48px) !important; line-height: 1.18 !important; font-weight: 760 !important; letter-spacing: -.035em; text-wrap: balance; text-shadow: 0 2px 18px rgba(0, 0, 0, .32); }
body:not(.home) .fusion-page-title-bar::after { content: ""; position: absolute; z-index: 1; left: -28%; bottom: -3px; width: 28%; height: 3px; background: #ffc24a; box-shadow: 0 0 14px rgba(244, 169, 31, .72); animation: rs-survey-sweep 8s ease-in-out infinite; }
@keyframes rs-survey-sweep { 0%, 15% { transform: translateX(0); } 85%, 100% { transform: translateX(460%); } }

/* Service pages: calm section backgrounds replace the old tiled texture; original Avada containers stay editable. */
:is(body.page-id-177,body.page-id-188,body.page-id-193,body.page-id-1261,body.page-id-1504,body.page-id-1523,
body.page-id-210,body.page-id-213,body.page-id-216,body.page-id-219,body.page-id-222,body.page-id-230,body.page-id-233,body.page-id-237,body.page-id-240,body.page-id-243,body.page-id-246,body.page-id-249,body.page-id-252,body.page-id-255) #main .fusion-fullwidth.has-pattern-background { background-image: none !important; background-color: var(--rs-paper) !important; }
:is(body.page-id-177,body.page-id-188,body.page-id-193,body.page-id-1261,body.page-id-1504,body.page-id-1523,
body.page-id-210,body.page-id-213,body.page-id-216,body.page-id-219,body.page-id-222,body.page-id-230,body.page-id-233,body.page-id-237,body.page-id-240,body.page-id-243,body.page-id-246,body.page-id-249,body.page-id-252,body.page-id-255) #main .fusion-text { color: var(--rs-ink); font-size: 17px; line-height: 1.78; }
:is(body.page-id-177,body.page-id-188,body.page-id-193,body.page-id-1261,body.page-id-1504,body.page-id-1523,
body.page-id-210,body.page-id-213,body.page-id-216,body.page-id-219,body.page-id-222,body.page-id-230,body.page-id-233,body.page-id-237,body.page-id-240,body.page-id-243,body.page-id-246,body.page-id-249,body.page-id-252,body.page-id-255) #main .fusion-text h2,
:is(body.page-id-177,body.page-id-188,body.page-id-193,body.page-id-1261,body.page-id-1504,body.page-id-1523,
body.page-id-210,body.page-id-213,body.page-id-216,body.page-id-219,body.page-id-222,body.page-id-230,body.page-id-233,body.page-id-237,body.page-id-240,body.page-id-243,body.page-id-246,body.page-id-249,body.page-id-252,body.page-id-255) #main h2 { color: var(--rs-graphite); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-weight: 720; letter-spacing: -.025em; line-height: 1.25; }
:is(body.page-id-177,body.page-id-188,body.page-id-193,body.page-id-1261,body.page-id-1504,body.page-id-1523,
body.page-id-210,body.page-id-213,body.page-id-216,body.page-id-219,body.page-id-222,body.page-id-230,body.page-id-233,body.page-id-237,body.page-id-240,body.page-id-243,body.page-id-246,body.page-id-249,body.page-id-252,body.page-id-255) #main h2::after { content: ""; display: block; width: 46px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--rs-orange); }
:is(body.page-id-177,body.page-id-188,body.page-id-193,body.page-id-1261,body.page-id-1504,body.page-id-1523,
body.page-id-210,body.page-id-213,body.page-id-216,body.page-id-219,body.page-id-222,body.page-id-230,body.page-id-233,body.page-id-237,body.page-id-240,body.page-id-243,body.page-id-246,body.page-id-249,body.page-id-252,body.page-id-255) #main a:not(.fusion-button) { color: var(--rs-orange-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:is(body.page-id-177,body.page-id-188,body.page-id-193) #main .fusion-accordian .panel-heading { border-radius: 10px; }
:is(body.page-id-177,body.page-id-188,body.page-id-193) #main .fusion-accordian .panel-title a { color: var(--rs-graphite); font-weight: 650; }

/* Portfolio index and cards: clear image area, warm white surface, orange detail on interaction. */
body.page-id-16 #main,
body.post-type-archive-avada_portfolio #main { background: var(--rs-paper); }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) #main .fusion-fullwidth.has-pattern-background { background-image: none !important; background-color: var(--rs-paper) !important; }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-post { overflow: hidden; border: 1px solid rgba(25, 33, 36, .08); border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(25, 33, 36, .07); transition: transform .24s ease, box-shadow .24s ease; }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-post:hover { transform: translateY(-5px); box-shadow: var(--rs-shadow); }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-post .fusion-image-wrapper { overflow: hidden; border-radius: 13px 13px 0 0; }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-post .fusion-image-wrapper img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .45s ease; }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-post:hover .fusion-image-wrapper img { transform: scale(1.035); }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-content { padding: 18px 18px 20px; }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-content h2,
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-content h3 { color: var(--rs-graphite); font: 700 17px/1.45 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-content a { color: inherit; text-decoration: none; }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-content a:hover { color: var(--rs-orange-dark); }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-filters { border-color: var(--rs-line); }
:is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-filters .fusion-filter a { font-weight: 650; }

/* Archive cards and single case studies. */
:is(body.single-avada_portfolio,body.single-post) #main { color: var(--rs-ink); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
body.single-avada_portfolio .fusion-text h2,
body.single-avada_portfolio .fusion-title h2 { color: var(--rs-graphite); font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif; font-weight: 720; letter-spacing: -.025em; }
body.single-avada_portfolio .fusion-text p { color: var(--rs-ink); line-height: 1.75; }
body.single-avada_portfolio .fusion-imageframe img { border-radius: 12px; }
body.page-id-952 #main,
body.blog #main,
body.archive:not(.post-type-archive-avada_portfolio) #main { background: var(--rs-paper); }
:is(body.page-id-952,body.blog,body.archive:not(.post-type-archive-avada_portfolio)) .fusion-post-grid .fusion-post-wrapper,
:is(body.page-id-952,body.blog,body.archive:not(.post-type-archive-avada_portfolio)) .fusion-blog-shortcode-post { overflow: hidden; border: 1px solid rgba(25, 33, 36, .08); border-radius: 14px; background: #fff; box-shadow: 0 8px 28px rgba(25, 33, 36, .07); }
:is(body.page-id-952,body.blog,body.archive:not(.post-type-archive-avada_portfolio)) .fusion-post-content-wrapper { padding: 20px; }
:is(body.page-id-952,body.blog,body.archive:not(.post-type-archive-avada_portfolio)) .fusion-post-title a { color: var(--rs-graphite); font-weight: 700; }

/* Contact and legal pages retain all existing wording and links. */
body.page-id-18 #main,
:is(body.page-id-3,body.page-id-83) #main { background-color: var(--rs-paper); }
body.page-id-18 #main .fusion-text,
:is(body.page-id-3,body.page-id-83) #main .fusion-text { color: var(--rs-ink); font-size: 17px; line-height: 1.8; }
:is(body.page-id-3,body.page-id-83) #main .fusion-text { max-width: 900px; margin-right: auto; margin-left: auto; }
body.page-id-18 #main input:not([type=submit]), body.page-id-18 #main textarea { border: 1px solid rgba(25, 33, 36, .20); border-radius: 7px; background: #fff; }
body.page-id-18 #main input:focus, body.page-id-18 #main textarea:focus { border-color: var(--rs-orange-dark); box-shadow: 0 0 0 3px rgba(244, 169, 31, .18); }

/* Preserve the established homepage video and native Avada container layout; polish the existing project cards. */
body.home.page-id-7 .fusion-builder-row-3 .fusion-layout-column { transition: transform .24s ease, box-shadow .24s ease; }
body.home.page-id-7 .fusion-builder-row-3 .fusion-layout-column:hover { transform: translateY(-5px); box-shadow: 0 18px 42px rgba(25, 33, 36, .16); }
body.home.page-id-7 .fusion-builder-row-3 .fusion-imageframe img { border-radius: 12px; }
body.home.page-id-7 .fusion-builder-row-3 .fusion-button { background-color: var(--rs-orange) !important; border-color: var(--rs-orange) !important; color: var(--rs-graphite) !important; }
body.home.page-id-7 .fusion-builder-row-3 .fusion-button:hover { background-color: #ffc04a !important; border-color: #ffc04a !important; }

@media (max-width: 800px) {
  body:not(.home) .fusion-page-title-bar { min-height: 215px; }
  body:not(.home) .fusion-page-title-bar h1 { font-size: clamp(25px, 7vw, 34px) !important; line-height: 1.28 !important; }
  :is(body.page-id-177,body.page-id-188,body.page-id-193,body.page-id-1261,body.page-id-1504,body.page-id-1523,
  body.page-id-210,body.page-id-213,body.page-id-216,body.page-id-219,body.page-id-222,body.page-id-230,body.page-id-233,body.page-id-237,body.page-id-240,body.page-id-243,body.page-id-246,body.page-id-249,body.page-id-252,body.page-id-255) #main .fusion-text { font-size: 16px; line-height: 1.72; }
  :is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-content { padding: 15px; }
  :is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-content h2,
  :is(body.page-id-16,body.post-type-archive-avada_portfolio) .fusion-portfolio-content h3 { font-size: 16px; }
}
@media (max-width: 480px) {
  body:not(.home) .fusion-page-title-bar { min-height: 190px; }
  body.page-id-18 #main .fusion-text, :is(body.page-id-3,body.page-id-83) #main .fusion-text { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body:not(.home) .fusion-page-title-bar::after { animation: none; }
  .fusion-button, .fusion-portfolio-post, .fusion-portfolio-post img, body.home.page-id-7 .fusion-builder-row-3 .fusion-layout-column { transition: none; }
}

/* Portfolio page ID 16 uses a legacy inline container background without the pattern class. */
body.page-id-16 #main .fusion-fullwidth { background-image: none !important; background-color: var(--rs-paper) !important; }

@media (max-width: 800px) {
  body:not(.home) .fusion-page-title-bar { height: auto !important; min-height: 220px !important; padding-top: 78px !important; padding-bottom: 24px !important; }
  body:not(.home) .fusion-page-title-row { height: auto !important; min-height: 0 !important; }
  body:not(.home) .fusion-page-title-wrapper { height: auto !important; min-height: 0 !important; }
}
@media (max-width: 800px) { body:not(.home) .fusion-page-title-bar h1 { position: relative; top: 40px; } }

/* Case-study sections keep their individual Avada containers, with controlled reading width and alternating surfaces. */
body.single-avada_portfolio #main .fusion-fullwidth { padding-top: clamp(38px, 4.6vw, 68px) !important; padding-bottom: clamp(38px, 4.6vw, 68px) !important; background-image: none !important; background-color: #fff !important; }
body.single-avada_portfolio #main .fusion-fullwidth:nth-of-type(even) { background-color: var(--rs-paper) !important; }
body.single-avada_portfolio #main .fusion-text { max-width: 1000px; margin-left: auto; margin-right: auto; color: var(--rs-ink); font-size: 17px; line-height: 1.78; }
body.single-avada_portfolio #main .fusion-text h2 { margin-top: 0; color: var(--rs-graphite); font: 720 clamp(24px, 3vw, 32px)/1.28 system-ui, -apple-system, "Segoe UI", Arial, sans-serif; letter-spacing: -.025em; }
body.single-avada_portfolio #main .fusion-text h2::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 12px; border-radius: 2px; background: var(--rs-orange); }
@media (max-width: 800px) {
  body.single-avada_portfolio #main .fusion-fullwidth { padding-top: 34px !important; padding-bottom: 34px !important; }
  body.single-avada_portfolio #main .fusion-text { font-size: 16px; line-height: 1.72; }
}

/* Contact page: replace the photo-heavy split panels with a calm information card and a graphite form card. */
body.page-id-18 #main { background: var(--rs-paper); }
body.page-id-18 #main .fusion-builder-column-1 { visibility: visible !important; opacity: 1 !important; padding: 28px !important; overflow: hidden; border: 1px solid var(--rs-line); border-radius: 18px !important; background: #fff !important; background-image: none !important; box-shadow: 0 12px 34px rgba(25, 33, 36, .08); }
body.page-id-18 #main .fusion-builder-column-2 { visibility: visible !important; opacity: 1 !important; padding: 28px !important; overflow: hidden; border: 1px solid rgba(244, 169, 31, .42); border-radius: 18px !important; background: var(--rs-graphite) !important; background-image: none !important; box-shadow: var(--rs-shadow); color: #fff; }
body.page-id-18 #main .fusion-builder-column-2 .fusion-title-heading,
body.page-id-18 #main .fusion-builder-column-2 label { color: #fff !important; }
body.page-id-18 #main .fusion-builder-column-2 .fusion-form-field { margin-bottom: 14px; }
body.page-id-18 #main .fusion-builder-column-2 .fusion-form-input { width: 100%; min-height: 44px; border: 1px solid rgba(255,255,255,.35); border-radius: 7px; background: #fff; color: var(--rs-ink); }
body.page-id-18 #main .fusion-builder-column-2 textarea.fusion-form-input { min-height: 110px; }
body.page-id-18 #main .fusion-builder-column-2 .fusion-form-submit-field button { min-height: 46px; padding: 0 24px; border: 0; border-radius: 6px; background: var(--rs-orange); color: var(--rs-graphite); font-weight: 750; }
body.page-id-18 #main .fusion-builder-column-2 .fusion-form-submit-field button:hover { background: #ffc04a; }
body.page-id-18 #main .fusion-builder-column-2 .fusion-form-response { color: #fff; }
body.page-id-952 #main .fusion-text { max-width: 960px; margin-right: auto; margin-left: auto; color: var(--rs-ink); font-size: 17px; line-height: 1.75; }
@media (max-width: 800px) {
  body.page-id-18 #main .fusion-builder-column-1,
  body.page-id-18 #main .fusion-builder-column-2 { padding: 23px !important; border-radius: 15px !important; }
  body.page-id-952 #main .fusion-text { font-size: 16px; }
}

body.page-id-18 #main .fusion-builder-column-1 > .fusion-column-wrapper { background-color: #fff !important; background-image: none !important; border-radius: 18px; }
body.page-id-18 #main .fusion-builder-column-2 > .fusion-column-wrapper { background-color: var(--rs-graphite) !important; background-image: none !important; border-radius: 18px; }
@media (max-width: 800px) {
  body.page-id-18 #main .fusion-builder-column-1 > .fusion-column-wrapper,
  body.page-id-18 #main .fusion-builder-column-2 > .fusion-column-wrapper { border-radius: 15px; }
}

body.page-id-18 #main .fusion-layout-column.fusion-animated { transform: none !important; animation: none !important; }
