/* ==========================================================
   Dubani & Company – text logo + image placeholders
   All original <img> tags are commented out in the HTML.
   To restore a picture: uncomment the <img> and delete the
   placeholder element directly below it.
   ========================================================== */

/* ---------- Text logo (matches dubanilaw.com) ---------- */
.text-logo {
    line-height: 1;
    text-decoration: none;
    text-align: left;
}
/* show/hide of .logo / .logo-2 is handled by the template's own header rules */
.text-logo .tl-name,
.text-logo .tl-sub { display: block; }

.text-logo .tl-name {
    font-family: "Libre Baskerville", Georgia, serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: .5px;
    color: inherit;
}
.text-logo .tl-name em {
    font-style: normal;
    color: var(--primary-color-accent, #2765ea);
}
.text-logo .tl-sub {
    font-family: "Jost", Arial, sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 8px;
    color: inherit;
    opacity: .85;
}
.text-logo .tl-sub::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    border-radius: 2px;
    margin-top: 8px;
    background: var(--primary-color);
}
header .text-logo.logo { color: #ffffff; }
header .text-logo.logo-2 { color: #0b2545; }
footer .text-logo { color: #ffffff; margin-bottom: 20px; }

@media (max-width: 600px) {
    .text-logo .tl-name { font-size: 20px; }
    .text-logo .tl-sub { font-size: 9px; letter-spacing: 2px; }
}

/* ---------- Generic image placeholder ---------- */
.img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    aspect-ratio: 4 / 3;
    background: linear-gradient(135deg, #eaf2fb 0%, #d4e5f7 100%);
    color: var(--primary-color);
    border: 2px dashed rgba(var(--primary-color-rgb), .35);
    border-radius: 4px;
    overflow: hidden;
}
.img-placeholder i { font-size: 48px; opacity: .8; }
.img-placeholder span {
    font-size: 12px;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: .75;
}
.img-placeholder.ph-portrait { aspect-ratio: 4 / 5; }
.img-placeholder.ph-tall     { aspect-ratio: 3 / 4; }
.img-placeholder.ph-wide     { aspect-ratio: 3 / 2; }

/* about page stacked images keep their own sizing */
.de-images .img-placeholder.di-small-2 { width: 40%; height: 40%; aspect-ratio: auto; background: #cfe0f4; }
.de-images .img-placeholder.di-small-2 i { font-size: 28px; }

/* ---------- Background (jarallax) placeholders ---------- */
.img-ph-section { isolation: isolate; background-color: #0b2545; }
section.img-ph-section { position: relative; }
.img-ph-section.image-container { min-height: 100%; }

.img-placeholder.ph-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    aspect-ratio: auto;
    border: 0;
    border-radius: 0;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 20px 24px;
    color: rgba(255, 255, 255, .35);
    background:
        radial-gradient(circle at 20% 20%, rgba(var(--primary-color-rgb), .45) 0%, transparent 55%),
        linear-gradient(135deg, #0b2545 0%, #0f4f8f 100%);
}
.img-placeholder.ph-bg i { font-size: 36px; }
.img-placeholder.ph-bg span { font-size: 11px; }

/* ---------- Slider (carousel) placeholders ---------- */
.carousel-item.img-ph-slide {
    background:
        radial-gradient(circle at 75% 30%, rgba(var(--primary-color-rgb), .55) 0%, transparent 55%),
        linear-gradient(135deg, #0b2545 0%, #0f4f8f 100%) !important;
}
.carousel-item.img-ph-slide::after {
    content: "\f03e";              /* FontAwesome picture-o */
    font-family: "FontAwesome";
    position: absolute;
    right: 40px;
    bottom: 40px;
    font-size: 64px;
    color: rgba(255, 255, 255, .15);
    pointer-events: none;
}
