/* Palet terpilih juga berlaku pada tombol yang mengikuti warna usaha. */
.webz-palette .btn-primary {
    --bs-btn-bg: var(--webz-brand);
    --bs-btn-border-color: var(--webz-brand);
    --bs-btn-hover-bg: var(--webz-dark);
    --bs-btn-hover-border-color: var(--webz-dark);
    --bs-btn-active-bg: var(--webz-dark);
}
.webz-palette .btn-outline-primary {
    --bs-btn-color: var(--webz-brand);
    --bs-btn-border-color: var(--webz-brand);
    --bs-btn-hover-bg: var(--webz-brand);
    --bs-btn-hover-border-color: var(--webz-brand);
}
.webz-palette .contact-section { border-top: 3px solid var(--webz-brand); }
.webz-palette.theme-catalog .tenant-hero.hero-layout-split { background: var(--webz-tint); }

.palette-picker { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0; }
.palette-picker legend { float: none; width: 100%; font-size: 1.25rem; font-weight: 650; }
.palette-picker label {
    display: flex; align-items: center; gap: .5rem; min-height: 44px;
    padding: .45rem .7rem; border: 1px solid #c9d5cf; border-radius: .75rem; cursor: pointer;
}
.palette-picker label:has(input:checked) { border-color: #086b5c; box-shadow: inset 0 0 0 1px #086b5c; }
.palette-picker i { width: 1.15rem; height: 1.15rem; border-radius: 50%; background: linear-gradient(45deg,#194737 50%,#ecdfc4 50%); }
.swatch-forge { background: #282e31; }
.swatch-forge b { background: linear-gradient(100deg,#d6a27f 46%,#794025 46%); height: 68px; }
.swatch-forge span { grid-column: 1/-1; background: #f4e6d6; height: 6px; }
.swatch-atelier { background: #f8f0f3; }
.swatch-atelier b { background: #85546d; width: 73%; height: 65px; margin-left: auto; border-radius: 28px 0 0 0; }
.swatch-atelier span { background: #d9b8c6; }
.theme-forge .tenant-hero:is(.hero-layout-split,.hero-layout-brand) {
    background: var(--webz-dark); color: white; padding-block: clamp(2rem,5vw,4.8rem);
    border-bottom: .4rem solid var(--webz-brand);
}
.theme-forge .tenant-hero:is(.hero-layout-split,.hero-layout-brand) :is(.lead,.text-link,.eyebrow) { color: #f3efeb; }
.theme-forge .tenant-hero:is(.hero-layout-split,.hero-layout-brand) .btn-primary { background: white; border-color: white; color: var(--webz-dark); }
.theme-forge .tenant-hero:is(.hero-layout-split,.hero-layout-brand) .tenant-hero-image { border-radius: 2px; }
.theme-forge .section-heading { border-top: 2px solid var(--webz-brand); padding-top: 1.3rem; }
.theme-forge .forge-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1rem; }
.forge-list .modern-entry { display: grid; background: var(--webz-tint); border-left: 3px solid var(--webz-brand); }
.forge-list .modern-entry.with-photo { grid-template-columns: minmax(100px,34%) minmax(0,1fr); }
.modern-entry { min-width: 0; overflow-wrap: anywhere; }
.modern-entry h3 { font-size: clamp(1.2rem,2.6vw,1.85rem); }
.modern-entry h3 a { color: var(--ink); }
.modern-entry .entry-info { padding: clamp(1rem,2vw,1.6rem); }
.modern-entry .entry-info p { line-height: 1.55; }
.modern-entry .entry-link { display: inline-flex; gap: .5em; align-items: center; min-height: 44px; font-weight: 700; }
.modern-entry .entry-photo { display: block; overflow: hidden; background: var(--webz-tint); }
.modern-entry .entry-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.forge-list .entry-photo { position: relative; }
.forge-list .entry-photo img { position: absolute; inset: 0; }

.theme-atelier :is(h1,h2,.modern-entry h3) { font-family: Georgia,'Times New Roman',serif; font-weight: 500; letter-spacing: -.04em; }
.theme-atelier .tenant-hero:is(.hero-layout-split,.hero-layout-brand) { background: var(--webz-tint); padding-block: clamp(2rem,5vw,4.6rem); }
.theme-atelier .tenant-hero:is(.hero-layout-split,.hero-layout-brand) .tenant-hero-image { border-radius: clamp(2rem,8vw,6rem) 0 2rem 0; }
.studio-gallery { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(1rem,2.5vw,2.2rem); align-items: start; }
.studio-gallery .entry-photo { aspect-ratio: 4/3; }
.studio-gallery .entry-info { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.studio-gallery .text-only { background: var(--webz-tint); padding: .7rem 1.4rem; }
.theme-atelier .studio-gallery .with-photo:first-child { grid-column: span 2; }
.theme-atelier .studio-gallery .with-photo:first-child .entry-photo { aspect-ratio: 16/9; }
@media (max-width: 760px) {
    .theme-forge .forge-list { grid-template-columns: 1fr; }
    .studio-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 520px) {
    .studio-gallery { grid-template-columns: minmax(0,1fr); }
    .theme-atelier .studio-gallery .with-photo:first-child { grid-column: auto; }
}
