/* BricksFA Pro — generic Header/Footer composition runtime */
.bricksfa-pro-composition{position:relative;width:100%;direction:rtl;box-sizing:border-box}.bricksfa-pro-composition*,.bricksfa-pro-composition *:before,.bricksfa-pro-composition *:after{box-sizing:border-box}.bricksfa-pro-composition--header{z-index:var(--bricksfa-header-z-index,9990);background:var(--bricksfa-header-background,#fff);color:var(--bricksfa-color-text,#151515)}.bricksfa-pro-composition--header.is-sticky{position:sticky;top:0}.bricksfa-pro-composition__device{width:100%}.bricksfa-pro-composition__device--desktop{display:block}.bricksfa-pro-composition__device--tablet,.bricksfa-pro-composition__device--mobile{display:none}
@media(min-width:768px) and (max-width:1024px){.bricksfa-pro-composition__device--desktop,.bricksfa-pro-composition__device--mobile{display:none}.bricksfa-pro-composition__device--tablet{display:block}}
@media(max-width:767px){.bricksfa-pro-composition__device--desktop,.bricksfa-pro-composition__device--tablet{display:none}.bricksfa-pro-composition__device--mobile{display:block}}

.bricksfa-pro-header-row{position:relative;width:100%;min-height:var(--bricksfa-header-row-height,0);padding-block:var(--bricksfa-header-row-padding-block,0);padding-inline:var(--bricksfa-header-row-padding-inline,0);border-bottom:var(--bricksfa-header-row-border-bottom,0) solid var(--bricksfa-header-row-border-color,transparent);border-radius:var(--bricksfa-header-row-radius,0);background:var(--bricksfa-header-row-bg,transparent);color:var(--bricksfa-header-row-color,inherit)}.bricksfa-pro-header-row[hidden]{display:none!important}.bricksfa-pro-header-row.is-sticky-row{position:sticky;top:0;z-index:calc(var(--bricksfa-header-z-index,9990) - 1)}
.bricksfa-pro-header-row__inner{direction:ltr;display:grid;align-items:center;gap:var(--bricksfa-header-row-gap,20px);min-height:inherit;margin-inline:auto}.bricksfa-pro-header-row--boxed .bricksfa-pro-header-row__inner{width:min(calc(100% - 36px),var(--bricksfa-header-container-width,1550px))}.bricksfa-pro-header-row--full .bricksfa-pro-header-row__inner{width:100%;padding-inline:18px}
.bricksfa-pro-header-row--wide-center .bricksfa-pro-header-row__inner{grid-template-columns:minmax(0,1fr) minmax(180px,var(--bricksfa-header-center-width,700px)) minmax(0,1fr)}.bricksfa-pro-header-row--equal .bricksfa-pro-header-row__inner{grid-template-columns:repeat(3,minmax(0,1fr))}.bricksfa-pro-header-row--content .bricksfa-pro-header-row__inner{grid-template-columns:max-content minmax(0,1fr) max-content}
.bricksfa-pro-header-row__column{direction:rtl;display:flex;align-items:var(--bricksfa-column-align,center);justify-content:var(--bricksfa-column-justify,center);gap:var(--bricksfa-column-gap,9px);width:var(--bricksfa-column-width,auto);min-width:0}.bricksfa-pro-header-row__column--left{justify-self:start}.bricksfa-pro-header-row__column--center{justify-self:center;width:var(--bricksfa-column-width,100%)}.bricksfa-pro-header-row__column--right{justify-self:end}.bricksfa-pro-header-row__item{display:flex;align-items:center;min-width:0;width:var(--bricksfa-element-width,auto);max-width:var(--bricksfa-element-max-width,none);height:var(--bricksfa-element-height,auto);padding:var(--bricksfa-element-padding,0);margin:var(--bricksfa-element-margin,0);gap:var(--bricksfa-element-gap,0);align-self:var(--bricksfa-element-align-self,auto);justify-self:var(--bricksfa-element-justify-self,auto);border:var(--bricksfa-element-border-width,0) solid var(--bricksfa-element-border-color,transparent);border-radius:var(--bricksfa-element-radius,0);background:var(--bricksfa-element-bg,transparent);color:var(--bricksfa-element-color,inherit);font-size:var(--bricksfa-element-font-size,inherit);font-weight:var(--bricksfa-element-font-weight,inherit)}.bricksfa-pro-header-row__item>*{min-width:0}.bricksfa-pro-header-row__column--center>.bricksfa-pro-header-row__item{width:var(--bricksfa-element-width,100%);justify-content:center}.bricksfa-pro-header-row__item>.bricksfa-header-search{width:100%;max-width:none}

.bricksfa-pro-header-row--announcement{background:transparent}.bricksfa-pro-header-row--announcement .bricksfa-pro-header-row__inner{display:block;direction:rtl}.bricksfa-pro-header-row--announcement .bricksfa-pro-header-row__column{display:none}.bricksfa-pro-header-row--announcement .bricksfa-pro-header-row__column:not(:empty){display:flex;width:100%;justify-content:center}.bricksfa-pro-header-row--announcement .bricksfa-pro-header-row__item{width:100%}.bricksfa-pro-header-row--announcement:has(.bricksfa-header-announcement[hidden]){display:none!important}

@media(max-width:1200px) and (min-width:1025px){.bricksfa-pro-header-row--boxed .bricksfa-pro-header-row__inner{width:min(calc(100% - 28px),var(--bricksfa-header-container-width,1550px))}.bricksfa-pro-header-row--wide-center .bricksfa-pro-header-row__inner{grid-template-columns:minmax(0,1fr) minmax(300px,min(var(--bricksfa-header-center-width,620px),52vw)) minmax(0,1fr)}}
@media(max-width:1024px){.bricksfa-pro-header-row--boxed .bricksfa-pro-header-row__inner{width:calc(100% - 28px)}.bricksfa-pro-header-row__inner{gap:var(--bricksfa-header-row-gap,8px)}.bricksfa-pro-header-row--wide-center .bricksfa-pro-header-row__inner,.bricksfa-pro-header-row--equal .bricksfa-pro-header-row__inner,.bricksfa-pro-header-row--content .bricksfa-pro-header-row__inner{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)}.bricksfa-pro-header-row--bottom .bricksfa-pro-header-row__inner{grid-template-columns:0 minmax(0,1fr) 0}.bricksfa-pro-header-row--bottom .bricksfa-pro-header-row__column--center{width:100%}}
@media(max-width:767px){.bricksfa-pro-header-row--boxed .bricksfa-pro-header-row__inner{width:calc(100% - 24px)}.bricksfa-pro-header-row--full .bricksfa-pro-header-row__inner{padding-inline:12px}.bricksfa-pro-header-row__inner{gap:var(--bricksfa-header-row-gap,5px)}.bricksfa-pro-header-row--announcement .bricksfa-pro-header-row__inner{width:calc(100% - 24px)}.bricksfa-pro-header-row--main{border-bottom:0}.bricksfa-pro-header-row--bottom{border-bottom:1px solid #eee}}


/* v0.7.1 — content-fit header rows: outer columns hug content, center consumes remaining width. */
.bricksfa-pro-header-row--content .bricksfa-pro-header-row__column--left,
.bricksfa-pro-header-row--content .bricksfa-pro-header-row__column--right{width:max-content!important;max-width:max-content}
.bricksfa-pro-header-row--content .bricksfa-pro-header-row__column--center{width:100%!important;min-width:0}
.bricksfa-pro-header-row--content .bricksfa-pro-header-row__column--center>.bricksfa-pro-header-row__item{width:100%}

/* v0.9.8 — explicit Header responsive repair: keep accepted desktop behavior, fix compact Tablet/Mobile composition. */
@media(max-width:1024px){
  /* When a responsive Header row is intentionally built only in the center column,
     do not leave two empty grid tracks around it. Let the configured elements use
     the available row width instead of clustering in the middle. */
  .bricksfa-pro-header-row--main .bricksfa-pro-header-row__inner:has(>.bricksfa-pro-header-row__column--left:empty):has(>.bricksfa-pro-header-row__column--center:not(:empty)):has(>.bricksfa-pro-header-row__column--right:empty){
    grid-template-columns:minmax(0,1fr);
  }
  .bricksfa-pro-header-row--main .bricksfa-pro-header-row__inner:has(>.bricksfa-pro-header-row__column--left:empty):has(>.bricksfa-pro-header-row__column--center:not(:empty)):has(>.bricksfa-pro-header-row__column--right:empty)>.bricksfa-pro-header-row__column--left,
  .bricksfa-pro-header-row--main .bricksfa-pro-header-row__inner:has(>.bricksfa-pro-header-row__column--left:empty):has(>.bricksfa-pro-header-row__column--center:not(:empty)):has(>.bricksfa-pro-header-row__column--right:empty)>.bricksfa-pro-header-row__column--right{
    display:none;
  }
  .bricksfa-pro-header-row--main .bricksfa-pro-header-row__inner:has(>.bricksfa-pro-header-row__column--left:empty):has(>.bricksfa-pro-header-row__column--center:not(:empty)):has(>.bricksfa-pro-header-row__column--right:empty)>.bricksfa-pro-header-row__column--center{
    justify-self:stretch;
    width:100%!important;
    justify-content:space-between;
  }

  /* Responsive announcement must never inherit the boxed Header width. */
  .bricksfa-pro-header-row--announcement{
    padding-inline:0!important;
    border-radius:0!important;
  }
  .bricksfa-pro-header-row--announcement .bricksfa-pro-header-row__inner{
    width:100%!important;
    max-width:none!important;
    padding-inline:0!important;
  }
}

/* Announcement is a full-bleed Header row on every device, including desktop. */
.bricksfa-pro-header-row--announcement{
  padding-inline:0!important;
  border-radius:0!important;
}
.bricksfa-pro-header-row--announcement .bricksfa-pro-header-row__inner{
  width:100%!important;
  max-width:none!important;
  padding-inline:0!important;
}

/* v0.9.9 — runtime-marked responsive single-column rows; no :has() dependency. */
@media(max-width:1024px){
  .bricksfa-pro-header-row--main.has-single-column .bricksfa-pro-header-row__inner{
    grid-template-columns:minmax(0,1fr)!important;
    width:100%!important;
    max-width:none!important;
    padding-inline:14px;
  }
  .bricksfa-pro-header-row--main.has-single-column .bricksfa-pro-header-row__column:not(.has-content){
    display:none;
  }
  .bricksfa-pro-header-row--main.has-single-left .bricksfa-pro-header-row__column--center,
  .bricksfa-pro-header-row--main.has-single-left .bricksfa-pro-header-row__column--right,
  .bricksfa-pro-header-row--main.has-single-center .bricksfa-pro-header-row__column--left,
  .bricksfa-pro-header-row--main.has-single-center .bricksfa-pro-header-row__column--right,
  .bricksfa-pro-header-row--main.has-single-right .bricksfa-pro-header-row__column--left,
  .bricksfa-pro-header-row--main.has-single-right .bricksfa-pro-header-row__column--center{
    display:none!important;
  }
  .bricksfa-pro-header-row--main.has-single-column .bricksfa-pro-header-row__column{
    grid-column:1;
    justify-self:stretch!important;
    width:100%!important;
    max-width:none!important;
  }
  .bricksfa-pro-header-row--main.has-single-center .bricksfa-pro-header-row__column--center{
    justify-content:space-between!important;
  }
}
@media(max-width:767px){
  .bricksfa-pro-header-row--main.has-single-column .bricksfa-pro-header-row__inner{
    padding-inline:12px;
  }
}

/* v0.9.9 — collapse empty responsive Main Header tracks for 2-column compositions. */
@media(max-width:1024px){
  .bricksfa-pro-header-row--main.has-two-columns .bricksfa-pro-header-row__inner{
    grid-template-columns:max-content minmax(0,1fr)!important;
    width:100%!important;
    max-width:none!important;
    padding-inline:14px;
  }
  .bricksfa-pro-header-row--main.has-two-columns .bricksfa-pro-header-row__column.is-empty{
    display:none!important;
  }
  .bricksfa-pro-header-row--main.has-left-column.has-center-column:not(.has-right-column) .bricksfa-pro-header-row__column--left,
  .bricksfa-pro-header-row--main.has-left-column.has-right-column:not(.has-center-column) .bricksfa-pro-header-row__column--left,
  .bricksfa-pro-header-row--main.has-center-column.has-right-column:not(.has-left-column) .bricksfa-pro-header-row__column--center{
    width:max-content!important;
    max-width:max-content!important;
    justify-self:start!important;
  }
  .bricksfa-pro-header-row--main.has-left-column.has-center-column:not(.has-right-column) .bricksfa-pro-header-row__column--center,
  .bricksfa-pro-header-row--main.has-left-column.has-right-column:not(.has-center-column) .bricksfa-pro-header-row__column--right,
  .bricksfa-pro-header-row--main.has-center-column.has-right-column:not(.has-left-column) .bricksfa-pro-header-row__column--right{
    width:100%!important;
    max-width:none!important;
    justify-self:stretch!important;
    justify-content:flex-end!important;
  }
}
@media(max-width:767px){
  .bricksfa-pro-header-row--main.has-two-columns .bricksfa-pro-header-row__inner{
    padding-inline:12px;
  }
}

/* v0.10.0 — Responsive Main Header: remove reserved tracks and make real content span the row. */
@media(max-width:1024px){
  .bricksfa-pro-header-row--main .bricksfa-pro-header-row__inner{
    display:flex!important;
    align-items:center;
    justify-content:space-between;
    width:100%!important;
    max-width:none!important;
    padding-inline:14px!important;
  }
  .bricksfa-pro-header-row--main .bricksfa-pro-header-row__column.is-empty{
    display:none!important;
  }
  .bricksfa-pro-header-row--main .bricksfa-pro-header-row__column.has-content{
    flex:0 0 auto;
    width:auto!important;
    max-width:none!important;
    min-width:0;
    justify-self:auto!important;
  }
  .bricksfa-pro-header-row--main.has-single-column .bricksfa-pro-header-row__column.has-content{
    flex:1 1 auto;
    width:100%!important;
    justify-content:space-between!important;
  }
  .bricksfa-pro-header-row--main .bricksfa-pro-header-row__column>.bricksfa-pro-header-row__item{
    width:var(--bricksfa-element-width,auto)!important;
    flex:0 0 auto;
  }
  .bricksfa-pro-header-row--main.has-single-column .bricksfa-pro-header-row__column>.bricksfa-pro-header-row__item{
    max-width:min(100%,var(--bricksfa-element-max-width,none));
  }
}
@media(max-width:767px){
  .bricksfa-pro-header-row--main .bricksfa-pro-header-row__inner{
    padding-inline:12px!important;
  }
}
