/*
 * Bikkgane Biryani (pId 23764) — brand override styles.
 * Auto-loaded by base.php for this brand.
 *
 * Covers:
 *  - the home "About" widget (vt=16 html_content, classes aboutus /
 *    wla_section_heading / about-btn / about-img), ported from the CI3
 *    home theme CSS (theme_2 / wla_home_22).
 *  - the about / gallery brand pages (common-heading-tp, bottom-dots, …),
 *    ported from assets/wla_new/bikkganeBriyani/css/about.css.
 *
 * CI3 used --main-bg-color; CI4 injects --brand-primary at runtime, so alias.
 */
:root {
    --main-bg-color: var(--brand-primary, #c63114);
    --secondary-bg-color: var(--brand-secondary, #201c1d);
}

/* ── Home "About" widget ────────────────────────────────────────── */
/* The custom_content renderer wraps html_content in .html-block, which is
   globally centered (home_widgets.css). This is a 2-column text+image block,
   so restore left alignment and vertically centre the row. */
.aboutus { text-align: left; }
.aboutus .row { align-items: center; }
.aboutus .wla_section_heading {
    color: #252525;
    text-transform: capitalize;
    font-size: 32px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 18px;
}
.aboutus .wla_section_heading:after {
    content: "";
    position: absolute;
    width: 100%;
    max-width: 100px;
    height: 2px;
    background-color: var(--main-bg-color);
    left: 0;
    bottom: 0;
}
.aboutus p { color: #444; line-height: 1.7; }
.about-btn,
.about-btn:hover,
.about-btn:focus {
    display: inline-block;
    background-color: var(--main-bg-color);
    padding: 10px 24px;
    font-size: 15px;
    border-radius: 6px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    margin-top: 10px;
}
.about-img {
    border-radius: 15px;
    overflow: hidden;
}
.about-img img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
}

/* ── About / gallery brand pages ────────────────────────────────── */
.common-spacing { padding: 30px 0; }
.common-para { font-size: 15px; font-weight: 500; color: #201c1d; line-height: 26px; margin-bottom: 1rem; }
.common-heading-tp { font-size: 26px; }
.common-heading-tp span { display: block; font-weight: 500; font-size: 22px; color: var(--main-bg-color); margin-bottom: 7px; }
.semibold { font-weight: 600; }
.bottom-dots .dot {
    position: relative; display: block; float: left;
    width: 3px; height: 2px; border-right: 3px solid var(--main-bg-color); margin-right: 3px;
}
.bottom-dots .dot.line-dot { border-right: 40px solid var(--main-bg-color); color: var(--main-bg-color); }
.placeholder-img {
    border-radius: 12px; overflow: hidden; width: 100%; max-width: 100%;
    height: 320px; position: relative; box-shadow: 0 0 15px 0 rgb(0 0 0 / 20%);
}
.placeholder-img img { width: 100%; max-width: 100%; height: 100%; object-fit: cover; }
.about-img img { width: 100%; max-width: 100%; }

/* ── Section heading w/ underline (about + gallery "title") ─────── */
.title { position: relative; }
.title .span-one { display: block; font-size: 22px; }
.title .span-two {
    display: block; font-size: 26px; line-height: normal;
    margin: 0 0 1em; text-transform: uppercase; color: #000;
}
.title:after {
    content: ""; position: absolute; width: 100%; max-width: 130px;
    background-color: var(--main-bg-color); height: 1px; bottom: -7px; left: 0;
}
.text-center.title::after { left: 50%; transform: translate(-50%, 0); }
.text-center.text-md-left.title::after { left: 0; transform: translate(0, 0); }
.font-weight-semibold { font-weight: 600; }
.color-primary { color: var(--main-bg-color); }

/* ── Gallery lightbox modal ─────────────────────────────────────── */
#imageViewer .modal-content { margin-top: 220px !important; background: none; border: none; }
#imageViewer .modal-dialog { min-height: auto; }
#imageViewer #imageDiv { border: 0 !important; border-radius: 20px !important; overflow: hidden; }

@media (max-width: 767px) {
    .title { font-size: 20px; }
    .title .span-one { font-size: 18px; }
    .title:after { max-width: 100px; }
    .title .span-two { font-size: 20px; }
    .text-center.text-md-left.title::after { left: 50%; transform: translate(-50%, 0); }
    #imageViewer .modal-content { margin-top: 0 !important; }
    #imageViewer .modal-dialog { min-height: calc(100% - 1rem); }
    .aboutus { text-align: center; }
    .aboutus .wla_section_heading { font-size: 24px; }
    .about-img { margin-top: 20px; }
    .common-spacing { padding: 20px 0; }
    .common-heading-tp { font-size: 22px; }
    .common-heading-tp span { font-size: 18px; }
    .placeholder-img { height: 260px; }
}
