/* ASKALE v19: home "Check our projects" button + projects layout switch */
.craft-banner .craft-cta-btns{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;align-items:center}
.craft-banner .craft-cta-btn2{background:transparent;color:#f6ead9}
.craft-banner .craft-cta-btn2:hover,.craft-banner .craft-cta-btn2:focus-visible{background:#f6ead9;color:#2b1b11;outline:none}
.layout-switch{display:flex;gap:6px;justify-content:center;align-items:center;margin:0 0 22px}
.layout-switch .ls-label{font-size:10px;letter-spacing:2px;text-transform:uppercase;color:#796555;margin-right:6px}
.layout-switch button{display:inline-flex;align-items:center;justify-content:center;width:42px;height:38px;border:1px solid #d8c0a5;background:#fffaf2;color:#3b2519;border-radius:8px;cursor:pointer;padding:0}
.layout-switch button:hover{background:#f3e7d8}
.layout-switch button.on{background:#3b2519;color:#fffaf2;border-color:#3b2519}
.layout-switch button:focus-visible{outline:2px solid #70482c;outline-offset:2px}
.layout-switch svg{width:20px;height:20px;display:block}
#projectsGrid[data-layout="2"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
#projectsGrid[data-layout="3"]{grid-template-columns:repeat(3,minmax(0,1fr))!important}
#projectsGrid[data-layout="4"]{grid-template-columns:repeat(4,minmax(0,1fr))!important}
#projectsGrid[data-layout="3"] .project-card h2,#projectsGrid[data-layout="4"] .project-card h2{font-size:19px}
#projectsGrid[data-layout="3"] .project-card p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#projectsGrid[data-layout="4"] .project-card p,#projectsGrid[data-layout="4"] .project-read{display:none}
#projectsGrid[data-layout="4"] .project-card-body{padding:12px}
#projectsGrid[data-layout="list"]{grid-template-columns:1fr!important;gap:14px}
#projectsGrid[data-layout="list"] .project-card{display:grid;grid-template-columns:minmax(0,30%) minmax(0,1fr);align-items:stretch}
#projectsGrid[data-layout="list"] .project-card img{width:100%;height:100%;aspect-ratio:4/3;object-fit:cover}
#projectsGrid[data-layout="list"] .project-card-body{display:flex;flex-direction:column;justify-content:center}
@media(max-width:900px){#projectsGrid[data-layout="3"],#projectsGrid[data-layout="4"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:600px){
 .layout-switch button[data-m="3"],.layout-switch button[data-m="4"]{display:none}
 #projectsGrid[data-layout="2"] .project-card h2{font-size:16px}
 #projectsGrid[data-layout="2"] .project-card p,#projectsGrid[data-layout="2"] .project-read{display:none}
 #projectsGrid[data-layout="2"] .project-card-body{padding:11px}
 #projectsGrid[data-layout="list"] .project-card{grid-template-columns:minmax(0,38%) minmax(0,1fr)}
 #projectsGrid[data-layout="list"] .project-card img{aspect-ratio:1/1}
 #projectsGrid[data-layout="list"] .project-card h2{font-size:17px}
 #projectsGrid[data-layout="list"] .project-card p,#projectsGrid[data-layout="list"] .project-read{display:none}
}

/* ASKALE v20: projects under the Proudly Lebanese banner */
.home-projects{padding:58px 0 46px;background:#f3e7d8}
.home-projects .quick-category-head{margin-bottom:24px}
.hp-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.hp-grid[data-cols="2"]{grid-template-columns:repeat(2,minmax(0,1fr))}
.hp-grid[data-cols="4"]{grid-template-columns:repeat(4,minmax(0,1fr))}
.hp-card{display:block;background:#fffaf2;border:1px solid #e4d5c1;box-shadow:0 10px 28px rgba(86,60,38,.10);transition:transform .2s ease,box-shadow .2s ease;color:inherit}
.hp-card:hover,.hp-card:focus-visible{transform:translateY(-3px);box-shadow:0 18px 38px rgba(86,60,38,.18);outline:none}
.hp-card img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;background:#e8ddcf}
.hp-body{padding:16px 17px 18px}
.hp-meta{font-size:9px;letter-spacing:1.6px;text-transform:uppercase;color:#796555;margin-bottom:8px}
.hp-body h3{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:22px;font-weight:400;color:#241912}
@media(max-width:900px){.hp-grid,.hp-grid[data-cols="4"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.home-projects{padding:42px 0 32px}.hp-grid,.hp-grid[data-cols="2"],.hp-grid[data-cols="4"]{grid-template-columns:1fr;gap:14px}.hp-body h3{font-size:20px}}

/* v22: "Check our projects" is its own section; the old button inside the Imagine box stays hidden */
.craft-cta-btn2{display:none!important}
.home-projbtn{padding:26px 0;background:transparent}
.home-projbtn .pb-inner{display:flex;flex-direction:column;align-items:center;text-align:center;gap:10px}
.home-projbtn h2{margin:0;font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:30px;color:#241912}
.home-projbtn p{margin:0;color:#6f6256;font-size:14px;max-width:560px}
.home-projbtn .pb-btn{padding:14px 34px;font-size:11px;letter-spacing:.14em}
@media(max-width:560px){.home-projbtn{padding:18px 0}.home-projbtn h2{font-size:25px}.home-projbtn .pb-btn{width:100%;text-align:center;box-sizing:border-box}}
