/* Nasary Company Intro v1.0.3 – layout hardening for WordPress themes and Elementor */
.nasary-about{
 --na-green:#064b2b;--na-deep:#043b23;--na-gold:#d9a300;--na-cream:#fffdf7;
 position:relative;isolation:isolate;overflow:hidden;background:var(--na-cream);
 padding:clamp(42px,5vw,76px) clamp(18px,3vw,46px) 58px;color:#171b18;font-family:inherit;
}
.nasary-about:before{
 content:"";position:absolute;z-index:-1;left:-8%;top:-12%;width:43%;height:128%;
 background:var(--na-green);border-radius:0 46% 46% 0;transform:rotate(-3deg);
 box-shadow:12px 0 0 var(--na-gold);
}
.nasary-about-inner{
 width:100%;max-width:1320px;margin:0 auto;display:grid;
 grid-template-columns:minmax(0, .82fr) minmax(0,1.18fr);
 gap:clamp(28px,3.2vw,48px);align-items:center;
}
.nasary-about-gallery{min-width:0;position:relative;padding:0 0 0 0}
.nasary-about-main-photo{
 width:100%;height:clamp(330px,34vw,455px);overflow:hidden;
 border-radius:0 42% 12% 0;border:4px solid var(--na-gold);border-left:0;
 box-shadow:0 10px 26px #092d1b22;background:#164b2c;
}
.nasary-about-main-photo img{
 display:block!important;width:100%!important;height:100%!important;max-height:none!important;
 min-height:100%!important;object-fit:cover!important;object-position:center 43%!important;
}
.nasary-about-thumbs{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;
 margin:-22px 0 0 12px;position:relative;z-index:2;
}
.nasary-about-thumb{
 height:clamp(95px,10vw,142px);min-width:0;overflow:hidden;border:4px solid #fff;
 border-radius:22px;background:#eee;box-shadow:0 5px 16px #0002;transform:rotate(-2deg);
}
.nasary-about-thumb:nth-child(2){transform:rotate(1deg);margin-top:9px}
.nasary-about-thumb:nth-child(3){transform:rotate(-2deg);margin-top:16px}
.nasary-about-thumb img{
 display:block!important;width:100%!important;height:100%!important;max-height:none!important;
 object-fit:cover!important;
}
.nasary-about-content{position:relative;z-index:1;max-width:760px;min-width:0}
.nasary-about-eyebrow{
 display:flex;align-items:center;gap:13px;color:var(--na-green);font-weight:800;
 letter-spacing:2.5px;font-size:14px;margin:0 0 14px;
}
.nasary-about-eyebrow span{height:3px;width:42px;background:var(--na-gold);display:inline-block;flex:0 0 auto}
.nasary-about-content h2{
 color:var(--na-green)!important;font-size:clamp(32px,3.15vw,52px)!important;
 line-height:1.08!important;letter-spacing:-1.4px!important;font-weight:850!important;
 margin:0 0 20px!important;padding:0!important;
}
.nasary-about-content h2:after{
 content:"";display:block;width:40%;height:6px;border-radius:100%;
 background:var(--na-gold);margin:12px 0 0 48%;transform:rotate(-1deg);
}
.nasary-about-description{font-size:clamp(15px,1.05vw,17px);line-height:1.58;margin:0 0 24px}
.nasary-about-description p{margin:0 0 8px}
.nasary-about-features{
 display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);
 column-gap:22px;row-gap:22px;margin:24px 0 28px;
}
.nasary-about-feature{
 display:grid;grid-template-columns:66px minmax(0,1fr);gap:13px;
 align-items:center;min-width:0;
}
.nasary-about-feature:nth-child(even){border-left:1px solid var(--na-gold);padding-left:22px}
.nasary-about-icon{
 width:66px;height:66px;box-sizing:border-box;border-radius:20px;background:var(--na-green);
 border:3px solid var(--na-gold);display:grid;place-items:center;box-shadow:0 3px 0 #064b2b20;
}
.nasary-about-icon svg{width:34px;height:34px;fill:none;stroke:#fff;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.nasary-about-feature h3{
 font-size:clamp(16px,1.2vw,20px)!important;line-height:1.2!important;color:var(--na-green)!important;
 font-weight:800!important;margin:0 0 5px!important;padding:0!important;
}
.nasary-about-feature p{font-size:14px;line-height:1.42;margin:0}
.nasary-about-button{
 display:inline-flex;align-items:center;gap:18px;padding:14px 27px;border-radius:40px;
 background:var(--na-green);color:#fff!important;text-decoration:none!important;
 font-weight:800;font-size:16px;border:2px solid var(--na-gold);box-shadow:0 4px 0 #b88a00;
 transition:transform .2s,background .2s;
}
.nasary-about-button:hover{background:var(--na-deep);transform:translateY(-2px);color:#fff!important}
.nasary-about-button span{font-size:23px;line-height:1}
.nasary-about-landscape{
 position:absolute;bottom:0;left:0;right:0;height:32px;display:flex;align-items:end;
 justify-content:space-around;color:#b18a35;font-size:29px;opacity:.35;pointer-events:none;
 border-bottom:6px solid #d9a30033;
}
.nasary-about-landscape b{font-size:22px}
@media(max-width:900px){
 .nasary-about:before{width:36%;opacity:.95}
 .nasary-about-inner{grid-template-columns:1fr;gap:38px}
 .nasary-about-gallery{max-width:680px;width:100%;margin:0 auto}
 .nasary-about-main-photo{height:clamp(300px,55vw,440px)}
 .nasary-about-thumbs{margin-top:-18px}
 .nasary-about-thumb{height:clamp(100px,17vw,145px)}
 .nasary-about-content{max-width:760px;margin:0 auto}
}
@media(max-width:560px){
 .nasary-about{padding:34px 15px 52px}
 .nasary-about:before{width:25%;opacity:.15}
 .nasary-about-main-photo{height:280px;border-width:4px;border-radius:0 32% 12% 0}
 .nasary-about-thumbs{gap:6px;margin-left:3px}
 .nasary-about-thumb{height:95px;border-width:3px;border-radius:15px}
 .nasary-about-content h2{font-size:33px!important;letter-spacing:-.7px!important}
 .nasary-about-eyebrow{font-size:12px;letter-spacing:2px}
 .nasary-about-eyebrow span{width:28px}
 .nasary-about-features{grid-template-columns:1fr;gap:17px}
 .nasary-about-feature{grid-template-columns:60px minmax(0,1fr);gap:12px}
 .nasary-about-feature:nth-child(even){border-left:0;padding-left:0}
 .nasary-about-icon{width:60px;height:60px;border-radius:17px}
 .nasary-about-icon svg{width:31px;height:31px}
 .nasary-about-button{font-size:14px;padding:13px 20px}
 .nasary-about-landscape{height:22px;font-size:21px}
}

/* v1.0.5 requested refinements */
.nasary-about-landscape{display:none!important}

/* Make feature icon frames more compact and less rounded. */
.nasary-about-icon{
  width:60px!important;
  height:60px!important;
  border-radius:12px!important;
  border-width:2px!important;
}
.nasary-about-icon svg{width:31px!important;height:31px!important}
.nasary-about-feature{
  grid-template-columns:60px minmax(0,1fr)!important;
  gap:12px!important;
}

/* On phones, remove the decorative green/gold side background shape. */
@media(max-width:560px){
  .nasary-about:before{
    display:none!important;
    content:none!important;
  }
  .nasary-about{
    background:var(--na-cream)!important;
  }
}

/* ===== v1.0.6: explicit overrides for requested visual changes ===== */
/* Remove the decorative savannah strip / animal below the intro section. */
section.nasary-about .nasary-about-landscape,
.nasary-about .nasary-about-landscape {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    min-height: 0 !important;
}

/* Reduce all four feature icon tiles and their gold outlines. */
.nasary-about .nasary-about-icon {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
    border: 2px solid var(--na-gold) !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
.nasary-about .nasary-about-icon svg {
    width: 28px !important;
    height: 28px !important;
}
.nasary-about .nasary-about-feature {
    grid-template-columns: 54px minmax(0, 1fr) !important;
    gap: 11px !important;
}

/* Eliminate the decorative left-side green/gold background on mobile. */
@media screen and (max-width: 560px) {
    section.nasary-about::before,
    .nasary-about::before {
        display: none !important;
        content: none !important;
        background: none !important;
        box-shadow: none !important;
    }
    section.nasary-about,
    .nasary-about {
        background: #fffdf7 !important;
    }
}
