/* FarmandTech project gallery v1.2.0 — additive layer, Peyda inherited from site.css */
.fp-gallery-section{padding:88px 0 98px;background:linear-gradient(165deg,#f0f6ff 0%,#fff 41%,#f4f8ff 100%);position:relative;overflow:hidden;isolation:isolate}
.fp-gallery-section:before{content:"";position:absolute;z-index:-1;left:-180px;top:-220px;width:570px;height:570px;border-radius:50%;background:radial-gradient(circle,#c5ddff85,transparent 70%);pointer-events:none}
.fp-gallery-head{display:flex;justify-content:space-between;align-items:flex-end;gap:35px;margin-bottom:30px}
.fp-gallery-head-copy{max-width:780px;min-width:0}.fp-kicker{display:flex;flex-wrap:wrap;align-items:center;gap:10px;color:#0865cd;font-size:13px;font-weight:800}.fp-kicker-mark{width:29px;height:3px;background:#1f83ff;border-radius:5px}.fp-kicker-en{font-family:Arial,sans-serif;font-size:10px;letter-spacing:1.6px;color:#879aba;margin-right:6px}
.fp-gallery-head h2{font-size:clamp(27px,3.4vw,43px);line-height:1.4;color:#082448;margin:14px 0 9px;font-weight:900;letter-spacing:-.9px}.fp-gallery-head h2 span{color:#0874e6}.fp-gallery-head p{color:#647b98;font-size:15px;line-height:2;margin:0}
.fp-gallery-head-action{display:flex;flex-direction:column;align-items:flex-end;gap:13px;flex-shrink:0}.fp-gallery-count{font-size:12px;color:#7187a2;border:1px solid #d9e7f8;border-radius:100px;padding:8px 12px;background:#fff9;white-space:nowrap}.fp-gallery-count strong{font-size:16px;color:#0d50aa;margin-left:3px}
.fp-gallery-all{display:inline-flex;align-items:center;gap:12px;border-radius:12px;padding:13px 19px;color:#fff;background:#092a57;font-weight:800;font-size:13px;box-shadow:0 12px 25px #102f5b20;transition:transform .2s,background .2s}.fp-gallery-all:hover{background:#0768dc;color:#fff;transform:translateY(-2px)}.fp-gallery-all>span{display:flex}.fp-gallery-all svg{width:17px;height:17px}
.fp-showcase{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);gap:17px;height:516px}.fp-showcase-single{grid-template-columns:1fr;height:460px}.fp-showcase-side{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));min-height:0;gap:17px}.fp-showcase-double .fp-showcase-side{grid-template-rows:1fr}
.fp-project-card{display:block;position:relative;isolation:isolate;overflow:hidden;min-width:0;min-height:0;border-radius:23px;background:#08254b;box-shadow:0 17px 42px #092f5b21;color:white;transition:box-shadow .25s,transform .25s}.fp-project-card:hover{transform:translateY(-4px);box-shadow:0 24px 53px #08346d33;color:white}.fp-project-card:focus-visible{outline:3px solid #40a8ff;outline-offset:4px}
.fp-project-image{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;transition:transform .65s cubic-bezier(.2,.7,.2,1);z-index:0}.fp-project-card:hover .fp-project-image{transform:scale(1.045)}.fp-project-shade{position:absolute;inset:0;background:linear-gradient(0deg,#031a39fa 0%,#062449c9 28%,#041a3960 58%,#041a3910 100%);z-index:1;pointer-events:none}.fp-project-featured .fp-project-shade{background:linear-gradient(0deg,#031a39fa 0%,#05254bdb 26%,#041a3952 67%,#041a3912 100%)}
.fp-project-id{position:absolute;top:18px;left:19px;font:700 10px/1 Arial,sans-serif;letter-spacing:1.5px;border:1px solid #ffffff75;border-radius:99px;padding:10px 11px;display:flex;gap:8px;align-items:center;background:#061d39a8;backdrop-filter:blur(10px)}.fp-project-id i{width:4px;height:4px;background:#60b9ff;border-radius:50%}
.fp-project-content{position:absolute;bottom:0;right:0;left:0;padding:25px 27px 23px;display:flex;flex-direction:column;gap:8px}.fp-project-location{font-size:12px;color:#bdd6f2;display:flex;align-items:center;gap:6px;line-height:1.5}.fp-project-location svg{width:16px;height:16px;flex-shrink:0}.fp-project-title{font-size:clamp(19px,2vw,27px);font-weight:900;line-height:1.5;color:#fff;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fp-project-summary{font-size:12px;line-height:1.9;color:#d4e1f0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.fp-project-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:10px}.fp-project-detail{display:inline-flex;gap:10px;align-items:center;font-weight:800;font-size:12px;color:white}.fp-project-detail i{width:29px;height:29px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#1388f5;font-style:normal}.fp-project-detail svg{width:15px;height:15px}.fp-project-render-tag{border:1px solid #ffffff4d;padding:5px 8px;border-radius:7px;color:#e6eefe;font-size:10px;white-space:nowrap;background:#123e7070}
.fp-project-featured .fp-project-content{padding:33px 37px 30px;gap:12px}.fp-project-featured .fp-project-title{font-size:clamp(24px,2.65vw,35px)}.fp-project-featured .fp-project-summary{font-size:14px;line-height:2}.fp-project-side .fp-project-content{padding:19px 22px 18px;gap:5px}.fp-project-side .fp-project-title{font-size:20px}.fp-project-side .fp-project-summary{display:none}.fp-project-side .fp-project-bottom{margin-top:3px}.fp-project-side .fp-project-id{top:11px;left:12px}
.fp-showcase-more{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;margin-top:17px}.fp-project-small{height:275px}.fp-project-small .fp-project-content{padding:19px 21px 18px;gap:5px}.fp-project-small .fp-project-title{font-size:18px}.fp-project-small .fp-project-summary{display:none}.fp-project-small .fp-project-bottom{margin-top:4px}.fp-project-small .fp-project-id{top:10px;left:12px}.fp-gallery-note{color:#7187a1;font-size:12px;text-align:center;margin:23px 0 0}
.fp-archive-hero{background:linear-gradient(120deg,#e9f3ff,#f9fbff)}.fp-archive{background:linear-gradient(#fff,#f6f9ff);min-height:400px}.fp-archive-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:30px}.fp-archive-caption{font-size:12px;color:#1675dc;font-weight:800}.fp-archive-toolbar h2{margin:3px 0 0;font-size:29px;color:#092a54}.fp-project-search{width:min(100%,520px)}.fp-project-search>label{display:block;color:#71829d;font-size:12px;font-weight:800;margin-bottom:7px}.fp-project-search>div{display:flex;gap:8px;padding:5px;background:#f7faff;border:1px solid #dce8fa;border-radius:12px}.fp-project-search input{width:100%;min-width:0;flex:1;border:0;background:transparent;box-shadow:none;color:#16365e;font-family:inherit;padding:7px 13px}.fp-project-search input:focus{box-shadow:none;outline:0}.fp-project-search>div:focus-within{box-shadow:0 0 0 3px #c9e5ff}.fp-project-search button{border:0;border-radius:8px;background:#086cde;color:white;padding:9px 16px;display:inline-flex;gap:7px;align-items:center;cursor:pointer;font:800 13px Peyda,Arial,sans-serif}.fp-project-search button svg{width:16px;height:16px}
.fp-archive-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:19px}.fp-project-archive{height:345px}.fp-project-archive .fp-project-title{font-size:20px}.fp-project-archive .fp-project-summary{font-size:12px;-webkit-line-clamp:2}.fp-project-archive .fp-project-content{padding:22px 22px 21px}
.fp-projects-empty{padding:65px 25px;border:1px dashed #cbdff5;border-radius:20px;background:#f7faff;text-align:center}.fp-projects-empty h3{margin:0 0 12px;color:#0f396c}.fp-projects-empty p{color:#657c99}.fp-pagination{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin-top:34px}.fp-pagination a,.fp-pagination span{min-width:40px;height:40px;display:flex;align-items:center;justify-content:center;padding:0 12px;border:1px solid #dce9f8;background:white;color:#345c87;border-radius:10px;font-weight:800;font-size:13px}.fp-pagination a:hover{background:#eaf3ff;color:#026bd8}.fp-pagination a[aria-current=page]{background:#086ddd;border-color:#086ddd;color:white}.fp-pagination-dots{border:0!important;background:transparent!important}
@media(max-width:980px){.fp-gallery-head{align-items:flex-start}.fp-gallery-head p{font-size:13px}.fp-showcase{height:460px}.fp-project-featured .fp-project-content{padding:25px 23px}.fp-project-featured .fp-project-title{font-size:24px}.fp-showcase-more{grid-template-columns:repeat(2,minmax(0,1fr))}.fp-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:690px){.fp-gallery-section{padding:59px 0 66px}.fp-gallery-head{flex-direction:column;align-items:stretch;gap:22px}.fp-gallery-head h2{font-size:28px}.fp-gallery-head-action{flex-direction:row;align-items:center;justify-content:space-between}.fp-gallery-all{padding:11px 12px;font-size:12px}.fp-gallery-count{font-size:11px}.fp-showcase{height:auto;grid-template-columns:1fr;gap:13px}.fp-project-featured{height:385px}.fp-showcase-side{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;gap:12px}.fp-showcase-side>.fp-project-card{height:247px}.fp-showcase-double .fp-showcase-side{grid-template-columns:1fr}.fp-showcase-double .fp-showcase-side>.fp-project-card{height:287px}.fp-project-side .fp-project-content{padding:16px 15px}.fp-project-side .fp-project-title{font-size:15px}.fp-project-side .fp-project-bottom{gap:5px}.fp-project-side .fp-project-render-tag{display:none}.fp-project-side .fp-project-location{font-size:10px}.fp-project-side .fp-project-detail{font-size:11px}.fp-project-side .fp-project-detail i{width:25px;height:25px}.fp-showcase-more{gap:12px;margin-top:13px}.fp-project-small{height:235px}.fp-archive-toolbar{flex-direction:column;align-items:stretch}.fp-project-search{width:100%}}
@media(max-width:480px){.fp-gallery-head h2{font-size:25px}.fp-gallery-head-action{flex-wrap:wrap}.fp-showcase-side{grid-template-columns:1fr}.fp-showcase-side>.fp-project-card{height:255px}.fp-showcase-more{grid-template-columns:1fr}.fp-project-small{height:245px}.fp-project-featured{height:370px}.fp-project-featured .fp-project-summary{font-size:12px}.fp-project-featured .fp-project-title{font-size:22px}.fp-project-featured .fp-project-content{padding:23px 19px 20px}.fp-project-render-tag{font-size:9px}.fp-project-archive{height:320px}.fp-archive-grid{grid-template-columns:1fr}.fp-archive-grid .fp-project-card{height:320px}.fp-project-search button{padding:8px 11px}}
@media(prefers-reduced-motion:reduce){.fp-project-card,.fp-project-image,.fp-gallery-all{transition:none!important}.fp-project-card:hover,.fp-project-card:hover .fp-project-image,.fp-gallery-all:hover{transform:none!important}}

/* Explicit stacking layers ensure visual overlays render consistently on all browsers. */
.fp-project-card .fp-project-content,.fp-project-card .fp-project-id{z-index:2}
