/* Skavoovie Site v1.0 — Scoped homepage styling */
:root{--sws-navy:#003049;--sws-steel:#669BBC;--sws-cream:#FDF0D5;--sws-red:#C1121F;--sws-lava:#780000;--sws-muted:#526879;--sws-border:#dce5ea}
body.home .entry-content{margin-top:0}body.home .site-main{margin:0}body.home .inside-article{padding:0}body.home .entry-header{display:none}body.home .site-content{max-width:none}body.home .content-area{width:100%}body.home .entry-content>*{margin-bottom:0}
body.home .sws-section{padding:85px 24px;box-sizing:border-box}body.home .sws-inner{max-width:1200px;margin:auto}body.home .sws-inner>*,body.home .sws-service-card>*{margin-block-start:0}
body.home .sws-section h1,body.home .sws-section h2,body.home .sws-section h3{color:var(--sws-navy);font-family:Inter,system-ui,-apple-system,sans-serif;line-height:1.13;letter-spacing:-.035em}body.home .sws-section h2{font-size:clamp(29px,3.1vw,42px);font-weight:750;margin-bottom:15px}body.home .sws-section h3{font-size:20px;margin-bottom:12px}body.home .sws-section p{color:var(--sws-muted);line-height:1.65}body.home .sws-eyebrow{color:var(--sws-lava)!important;font-size:12px;font-weight:800;letter-spacing:.19em;margin-bottom:18px!important}body.home .sws-center{text-align:center}body.home .sws-lead{font-size:17px;margin-bottom:38px!important}
body.home .sws-hero{padding-top:70px;padding-bottom:65px;background:linear-gradient(115deg,#fff 3%,var(--sws-cream) 100%);overflow:hidden}body.home .sws-hero-columns{align-items:center;gap:2vw;margin:0}body.home .sws-hero-copy{flex-basis:44%}body.home .sws-hero-visual{flex-basis:56%}body.home .sws-hero-title{font-size:clamp(42px,4.4vw,66px);font-weight:800;max-width:580px;margin-bottom:22px}body.home .sws-hero-title span{color:var(--sws-red)}body.home .sws-hero-copy>p:not(.sws-eyebrow){font-size:17px;max-width:510px}body.home .sws-hero-image{margin:0!important}body.home .sws-hero-image img{width:110%;max-width:none;height:auto;filter:drop-shadow(0 20px 24px rgba(0,48,73,.10))}
body.home .sws-actions{display:flex;gap:12px;margin-top:25px;flex-wrap:wrap}body.home .sws-actions .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;min-height:50px;border-radius:9px;font-size:14px;font-weight:700;padding:12px 20px;text-decoration:none;transition:background .2s,transform .2s}body.home .sws-btn-primary .wp-block-button__link{background:var(--sws-red);color:white}body.home .sws-btn-primary .wp-block-button__link:hover{background:var(--sws-lava);transform:translateY(-2px)}body.home .sws-btn-secondary .wp-block-button__link{background:transparent;color:var(--sws-navy);border:1px solid var(--sws-navy)}body.home .sws-btn-secondary .wp-block-button__link:hover{background:var(--sws-navy);color:#fff}
body.home .sws-services-section{background:#fff}body.home .sws-services-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:13px;margin-top:36px}body.home .sws-service-card{background:#fff;border:1px solid var(--sws-border);border-radius:15px;padding:24px 18px;box-shadow:0 6px 20px rgba(0,48,73,.035);display:flex;flex-direction:column;transition:transform .25s,box-shadow .25s}body.home .sws-service-card:hover{transform:translateY(-5px);box-shadow:0 12px 26px rgba(0,48,73,.11)}body.home .sws-service-icon{font-size:38px;color:var(--sws-steel)!important;line-height:1.1;margin-bottom:18px}body.home .sws-service-line{font-size:13px;margin-bottom:6px!important}body.home .sws-service-more{margin-top:auto!important;padding-top:22px;font-size:13px;font-weight:700}body.home .sws-service-more a{color:var(--sws-red)}
body.home .sws-why-section{background:#f2f7fa}body.home .sws-features-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:25px;margin-top:30px}body.home .sws-feature-icon{font-size:32px;color:var(--sws-steel)!important}body.home .sws-feature h3{font-size:17px}body.home .sws-feature p{font-size:14px}body.home .sws-feature-banner{margin-top:45px;padding:35px 40px;border-radius:17px;background:linear-gradient(105deg,var(--sws-navy),#235b79);max-width:100%}body.home .sws-feature-banner h2,body.home .sws-feature-banner p{color:#fff}
body.home .sws-sector-section{background:var(--sws-cream)}body.home .sws-sector-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px;margin-top:34px}body.home .sws-sector{text-align:center;background:rgba(255,255,255,.6);border-radius:14px;padding:20px 10px}body.home .sws-sector-icon{font-size:31px;color:var(--sws-navy)!important}body.home .sws-sector h3{font-size:15px;margin:0}
body.home .sws-blog-section{background:#fff}body.home .sws-blog-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:28px}body.home .sws-post-card{overflow:hidden;border:1px solid var(--sws-border);border-radius:15px;padding-bottom:20px;background:white}body.home .sws-post-image,body.home .sws-post-placeholder{display:flex;height:170px;overflow:hidden;background:var(--sws-navy);align-items:center;justify-content:center;text-decoration:none;color:#fff}body.home .sws-post-image img{width:100%;height:100%;object-fit:cover}body.home .sws-post-category{display:inline-block;margin:18px 20px 8px;font-size:11px;text-transform:uppercase;color:var(--sws-red);font-weight:700}body.home .sws-post-card h3{margin:12px 20px 18px;font-size:18px}body.home .sws-post-card h3 a{color:var(--sws-navy);text-decoration:none}body.home .sws-post-meta{display:flex;justify-content:space-between;gap:10px;margin:0 20px;font-size:12px;color:var(--sws-muted)}body.home .sws-post-meta a{color:var(--sws-red);text-decoration:none}body.home .sws-empty-posts{text-align:center;background:#f2f7fa;padding:30px;border-radius:12px}
body.home .sws-cta-section{background:#f2f7fa;padding-top:45px;padding-bottom:45px}body.home .sws-cta-columns{align-items:center;gap:25px;margin:0}body.home .sws-cta-actions{display:flex;justify-content:flex-end}
@media(max-width:1100px){body.home .sws-services-grid{grid-template-columns:repeat(3,minmax(0,1fr))}body.home .sws-sector-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:781px){body.home .sws-section{padding:60px 18px}body.home .sws-hero-columns{display:flex;flex-direction:column;gap:30px}body.home .sws-hero-copy,body.home .sws-hero-visual{width:100%;flex-basis:auto}body.home .sws-hero-title{font-size:clamp(38px,9vw,54px)}body.home .sws-hero-image img{width:100%}body.home .sws-services-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.home .sws-features-grid{grid-template-columns:repeat(2,minmax(0,1fr))}body.home .sws-blog-grid{grid-template-columns:1fr}body.home .sws-cta-actions{justify-content:flex-start}}
@media(max-width:520px){body.home .sws-services-grid{grid-template-columns:1fr}body.home .sws-sector-grid{grid-template-columns:repeat(2,1fr)}body.home .sws-features-grid{grid-template-columns:1fr}body.home .sws-feature-banner{padding:25px}body.home .sws-actions{flex-direction:column;align-items:stretch}body.home .sws-actions .wp-block-button{width:100%}body.home .sws-actions .wp-block-button__link{width:100%}}
@media(prefers-reduced-motion:reduce){body.home .sws-service-card,body.home .sws-actions .wp-block-button__link{transition:none}body.home .sws-service-card:hover,body.home .sws-actions .wp-block-button__link:hover{transform:none}}

/* V1.1: neutralize earlier hero display:flex / min-height rules and constrain layout */
body.home .entry-content > .sws-section { width:100%; max-width:none; margin:0!important; }
body.home .entry-content > .sws-section.sws-hero { display:block!important; min-height:0!important; position:relative; padding:70px 24px!important; }
body.home .sws-hero .sws-inner { width:100%; max-width:1200px; margin:0 auto; position:relative; z-index:1; }
body.home .sws-hero .sws-hero-columns { display:flex; flex-wrap:nowrap; align-items:center; gap:30px; }
body.home .sws-hero .sws-hero-copy { flex:0 1 46%; min-width:0; }
body.home .sws-hero .sws-hero-visual { flex:0 1 54%; min-width:0; display:block!important; min-height:0!important; margin:0; }
body.home .sws-hero .sws-hero-visual::before { display:none!important; }
body.home .sws-hero .sws-hero-image img { display:block; width:100%; max-width:100%; height:auto; }
body.home .sws-hero .sws-hero-title { margin:0 0 22px; }
body.home .sws-hero .sws-eyebrow { font-size:12px!important; line-height:1.5!important; }
body.home .sws-hero .sws-hero-copy > p { margin:0 0 20px; }
body.home .sws-section .wp-block-group__inner-container { max-width:100%; }
@media(max-width:781px) {
 body.home .entry-content > .sws-section.sws-hero { padding:55px 18px!important; }
 body.home .sws-hero .sws-hero-columns { flex-direction:column; gap:25px; }
 body.home .sws-hero .sws-hero-copy,body.home .sws-hero .sws-hero-visual { flex:auto; width:100%; }
}

/* v1.2 — Grid width correction for Gutenberg constrained groups / GeneratePress */
body.home .entry-content .sws-services-section .sws-inner,
body.home .entry-content .sws-why-section .sws-inner,
body.home .entry-content .sws-sector-section .sws-inner,
body.home .entry-content .sws-blog-section .sws-inner {
  box-sizing:border-box; width:100%; max-width:1200px; margin-left:auto; margin-right:auto;
}
body.home .entry-content .sws-services-grid,
body.home .entry-content .sws-features-grid,
body.home .entry-content .sws-sector-grid,
body.home .entry-content .sws-blog-grid {
  box-sizing:border-box; width:100% !important; max-width:none !important;
  min-width:0; margin-left:0 !important; margin-right:0 !important;
  display:grid !important; align-items:stretch;
}
body.home .entry-content .sws-services-grid {grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:18px}
body.home .entry-content .sws-features-grid {grid-template-columns:repeat(4,minmax(0,1fr)) !important}
body.home .entry-content .sws-sector-grid {grid-template-columns:repeat(6,minmax(0,1fr)) !important}
body.home .entry-content .sws-blog-grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important}
body.home .entry-content .sws-services-grid > .sws-service-card,
body.home .entry-content .sws-features-grid > .sws-feature,
body.home .entry-content .sws-sector-grid > .sws-sector,
body.home .entry-content .sws-blog-grid > .sws-post-card {
  box-sizing:border-box; width:100%; max-width:none !important; min-width:0;
  margin:0 !important; overflow-wrap:normal; word-break:normal;
}
body.home .entry-content .sws-service-card h3,
body.home .entry-content .sws-service-card p {overflow-wrap:break-word;word-break:normal;hyphens:none}
@media(max-width:1100px){
 body.home .entry-content .sws-services-grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important}
 body.home .entry-content .sws-sector-grid {grid-template-columns:repeat(3,minmax(0,1fr)) !important}
}
@media(max-width:781px){
 body.home .entry-content .sws-services-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
 body.home .entry-content .sws-features-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
 body.home .entry-content .sws-blog-grid {grid-template-columns:1fr !important}
}
@media(max-width:520px){
 body.home .entry-content .sws-services-grid,
 body.home .entry-content .sws-features-grid,
 body.home .entry-content .sws-blog-grid {grid-template-columns:minmax(0,1fr) !important}
 body.home .entry-content .sws-sector-grid {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}


/* ============================================================
   V1.3 - WordPress Group inner-container compatibility.
   The Gutenberg legacy wrapper is the real parent of the cards.
   Put grid on THAT wrapper, not on the outer wp-block-group.
   ============================================================ */
body.home .entry-content .sws-services-grid,
body.home .entry-content .sws-features-grid,
body.home .entry-content .sws-sector-grid {
  display:block !important;
  width:100% !important;
  max-width:1200px !important;
  min-width:0 !important;
  margin-left:auto !important;
  margin-right:auto !important;
  box-sizing:border-box;
}
body.home .entry-content .sws-services-grid > .wp-block-group__inner-container,
body.home .entry-content .sws-features-grid > .wp-block-group__inner-container,
body.home .entry-content .sws-sector-grid > .wp-block-group__inner-container {
  display:grid !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  box-sizing:border-box;
  align-items:stretch;
}
body.home .entry-content .sws-services-grid > .wp-block-group__inner-container {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:24px !important;
}
body.home .entry-content .sws-features-grid > .wp-block-group__inner-container {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:24px !important;
}
body.home .entry-content .sws-sector-grid > .wp-block-group__inner-container {
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:18px !important;
}
body.home .entry-content .sws-services-grid > .wp-block-group__inner-container > .sws-service-card,
body.home .entry-content .sws-features-grid > .wp-block-group__inner-container > .sws-feature,
body.home .entry-content .sws-sector-grid > .wp-block-group__inner-container > .sws-sector {
  width:100% !important;
  min-width:0 !important;
  max-width:none !important;
  margin:0 !important;
  box-sizing:border-box;
}
body.home .entry-content .sws-service-card > .wp-block-group__inner-container,
body.home .entry-content .sws-feature > .wp-block-group__inner-container,
body.home .entry-content .sws-sector > .wp-block-group__inner-container {
  display:block !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  padding:0 !important;
  box-sizing:border-box;
}
body.home .entry-content .sws-service-card h3,
body.home .entry-content .sws-service-card p,
body.home .entry-content .sws-feature h3,
body.home .entry-content .sws-feature p,
body.home .entry-content .sws-sector h3 {
  width:auto !important;
  max-width:none !important;
  min-width:0 !important;
  overflow-wrap:break-word !important;
  word-break:normal !important;
  hyphens:none !important;
}
@media(max-width:1024px) {
 body.home .entry-content .sws-services-grid > .wp-block-group__inner-container {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
 body.home .entry-content .sws-features-grid > .wp-block-group__inner-container {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:767px) {
 body.home .entry-content .sws-services-grid > .wp-block-group__inner-container {grid-template-columns:minmax(0,1fr) !important}
 body.home .entry-content .sws-sector-grid > .wp-block-group__inner-container {grid-template-columns:repeat(2,minmax(0,1fr)) !important}
}
@media(max-width:520px) {
 body.home .entry-content .sws-features-grid > .wp-block-group__inner-container {grid-template-columns:minmax(0,1fr) !important}
}
