/* ===== Home Page template: promo banners (page_home.php) ===== */
/* Left: coloured panel with logo, label, title, wood button. Right: photo. */
.ukl-promos{padding:24px 0 64px;background:#fff}
.ukl-promos__inner{box-sizing:border-box;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;max-width:1720px;margin:auto;padding:0 24px}
.ukl-promos__inner>.ukl-promo:only-child{grid-column:1/-1}
.ukl-promo{position:relative;display:flex;min-height:clamp(340px,28vw,540px);border-radius:18px;overflow:hidden;background:#f7efe0;color:#2a1006;isolation:isolate;box-shadow:0 10px 28px rgba(60,30,5,.14)}
.ukl-promo__image{position:absolute;inset:0;z-index:-3;width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.ukl-promo:hover .ukl-promo__image{transform:scale(1.03)}

/* Panel (::before) over the photo; light = curved edge, dark = slanted edge with gold line (::after). */
.ukl-promo:before{content:"";position:absolute;top:0;bottom:0;left:0;z-index:-1;width:56%}
.ukl-promo--light:before{background:linear-gradient(100deg,rgba(253,249,239,.8) 0,rgba(250,242,224,.5) 55%,rgba(248,238,217,.12) 100%);box-sizing:border-box;border:2px solid #d9a94b;border-left:0;border-radius:0 38% 62% 0/0 50% 50% 0;box-shadow:6px 0 18px rgba(60,30,5,.12)}
.ukl-promo--dark{background:#1d1109}
.ukl-promo--dark:before{background:linear-gradient(100deg,rgba(30,17,8,.55) 0,rgba(26,15,7,.3) 55%,rgba(24,14,7,.06) 100%);clip-path:polygon(0 0,calc(100% - 2px) 0,calc(84% - 2px) 100%,0 100%)}
.ukl-promo--dark:after{content:"";position:absolute;top:0;bottom:0;left:0;z-index:-2;width:56%;background:linear-gradient(rgba(217,169,75,.75),rgba(217,169,75,.45));clip-path:polygon(0 0,100% 0,84% 100%,0 100%)}

.ukl-promo__content{display:flex;flex-direction:column;align-items:flex-start;width:56%;max-width:620px;padding:36px 40px 40px}
.ukl-promo__label{display:flex;align-items:center;gap:14px;margin:0 0 14px;color:#2a1006;font-size:clamp(12px,.9vw,15px);font-weight:600;letter-spacing:.2em;line-height:1.4;text-transform:uppercase}
.ukl-promo__label:before{content:"";flex:none;width:40px;height:2px;background:#9c6a25}
.ukl-promo__title{margin:0 0 clamp(20px,2.4vw,36px);font-size:clamp(28px,2.9vw,52px);font-weight:800;line-height:1.05;letter-spacing:-.02em}
.ukl-promo__title span{display:block}
.ukl-promo__title-a{color:#2a1006}
.ukl-promo__title-b{color:#2e6b17}
.ukl-promo--dark .ukl-promo__label{color:#f3e9d8}
.ukl-promo--dark .ukl-promo__label:before{background:#d9a94b}
.ukl-promo--dark .ukl-promo__title-a{color:#fff}
.ukl-promo--dark .ukl-promo__title-b{color:#e6b45a}

/* Button: wood style comes from style.css; layout only here. */
.ukl-promo__cta{display:inline-flex;align-items:center;gap:16px;margin-top:auto;padding:6px 6px 6px 28px;border-radius:100px;color:#fcc90f;font-size:clamp(15px,1.1vw,18px);font-weight:800;text-decoration:none}
/* Whole card is clickable via the CTA. */
.ukl-promo__cta:after{content:"";position:absolute;inset:0;display: none;}
.ukl-promo__cta:hover,.ukl-promo__cta:focus{color:#ffd61f;text-decoration:none}
.ukl-promo__cta:focus-visible{outline:none}
.ukl-promo:focus-within{outline:2px solid #9c7239;outline-offset:3px}
.ukl-promo__cta i{display:inline-flex;align-items:center;justify-content:center;flex:none;width:42px;height:42px;border-radius:50%;background:#fff;color:#3b1f0c;text-shadow:none}

@media only screen and (max-width:1100px){
	.ukl-promos{padding:16px 0 48px}
	.ukl-promos__inner{gap:16px}
	.ukl-promo__content{width:62%;padding:28px 26px 28px}
	.ukl-promo:before,.ukl-promo--dark:after{width:62%}
}

@media only screen and (max-width:767px){
	.ukl-promos__inner{grid-template-columns:1fr;padding:0 16px}
	.ukl-promo{min-height:380px}

	.ukl-promo:before,.ukl-promo--dark:after{width:100%}
	.ukl-promo--light:before{border-radius:0;opacity:.9}
	.ukl-promo--dark:before{clip-path:none;opacity:.88}
	.ukl-promo--dark:after{display:none}
	.ukl-promo__content{width:100%;max-width:none;padding:24px 20px 24px}
	.ukl-promo__title{font-size:30px}
	.ukl-promo__cta i{width:38px;height:38px}
}

/* The CTA's ::after covers the whole card, so hovering anywhere "hovers" the button: no lift. */
body .ukl-promo .ukl-promo__cta,body .ukl-promo .ukl-promo__cta:hover,body .ukl-promo .ukl-promo__cta:focus{transform:none}
