/* Ehtesham Law logo — shield crest + crisp text wordmark.
 * Markup: resources/views/front/partials/brand.blade.php. Used on the website and in the admin panel.
 */
.el-brand { --brand-ink: #0b2236; --brand-tag: #6a7687; display: inline-flex; align-items: center; gap: 11px; text-decoration: none !important; line-height: 1; flex-shrink: 0; }
.el-brand--light { --brand-ink: #ffffff; --brand-tag: #9fb2c6; }
.el-brand .el-brand__crest { width: 46px; height: 48px; margin: 0; display: block; object-fit: contain; flex-shrink: 0; filter: drop-shadow(0 6px 10px rgba(22, 104, 196, .28)) saturate(1.15) contrast(1.05); transition: transform .5s cubic-bezier(.34, 1.4, .64, 1), filter .4s; }
.el-brand:hover .el-brand__crest, .el-brand:focus-visible .el-brand__crest { transform: rotate(-6deg) scale(1.08); filter: drop-shadow(0 8px 14px rgba(242, 165, 43, .45)) saturate(1.25) contrast(1.08); }
.el-brand__text { display: flex; flex-direction: column; gap: 5px; }
.el-brand__name { font: 700 22px/1 "Fraunces", Georgia, serif; letter-spacing: .015em; text-transform: uppercase; color: var(--brand-ink); white-space: nowrap; }
.el-brand__name b { font-weight: 700; background: linear-gradient(100deg, #ff8a1f 0%, #f2a52b 55%, #e07a00 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.el-brand--light .el-brand__name b { background-image: linear-gradient(100deg, #ffb347, #ffcf70); }
.el-brand__tag { position: relative; display: flex; align-items: center; gap: 6px; font: 800 9.5px/1 "Plus Jakarta Sans", system-ui, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--brand-tag); white-space: nowrap; }
/* A tiny tricolour stripe, echoing the crest. */
.el-brand__tag::before { content: ""; width: 16px; height: 3px; border-radius: 2px; flex-shrink: 0; background: linear-gradient(90deg, #ff9933 0 33.3%, #e9eef5 33.3% 66.6%, #138808 66.6%); }
.el-brand--light .el-brand__tag::before { background: linear-gradient(90deg, #ff9933 0 33.3%, #ffffff 33.3% 66.6%, #2bb34a 66.6%); }
.el-brand:focus-visible { outline: 3px solid #f2a52b; outline-offset: 4px; border-radius: 10px; }

/* Sizes */
.el-brand.el-brand--lg .el-brand__crest { width: 52px; height: 54px; }
.el-brand--lg .el-brand__name { font-size: 25px; }
.el-brand--lg .el-brand__tag { font-size: 10.5px; }
@media (max-width: 400px) {
    .el-brand { gap: 9px; }
    .el-brand .el-brand__crest { width: 36px; height: 38px; }
    .el-brand__name { font-size: 18px; }
    .el-brand__tag { font-size: 8.5px; letter-spacing: .16em; }
}
@media (prefers-reduced-motion: reduce) { .el-brand__crest { transition: none; } }
/* Placement tweaks where the old image logo had its own spacing. */
.el-footer__logo.el-brand { margin-bottom: 20px; }
.el-drawer__head .el-brand .el-brand__crest { width: 38px; height: 40px; }
.el-drawer__head .el-brand__name { font-size: 19px; }
/* Admin panel */
.a-login__brand { margin-bottom: 22px; }
.a-side__brand .el-brand .el-brand__crest { width: 34px; height: 36px; }
.a-side__brand .el-brand__name { font-size: 17px; }
