/* BuBaLo Start 0.1.0 */
.bubalo-start {
    width: 85vw;
    max-width: 85vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 0;
    margin-right: 0;
    --bs-ink: #1b2232;
    --bs-muted: #697386;
    --bs-line: #e2e6ed;
    --bs-orange: #f47a25;
    --bs-panel: #ffffff;
    --bs-bg: #f2f4f8;
    color: var(--bs-ink);
    background: var(--bs-bg);
    border-radius: 14px;
    overflow: hidden;
    font-family: inherit;
    line-height: 1.5;
    box-sizing: border-box;
}
.bubalo-start *, .bubalo-start *::before, .bubalo-start *::after { box-sizing: border-box; }
.bubalo-start a { text-decoration: none; }
.bs-header { background: #171d2b; color: #fff; padding: 24px clamp(16px, 3vw, 34px) 16px; }
.bs-header__top { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:20px; }
.bs-brand { color:#fff !important; display:inline-flex; align-items:baseline; flex-wrap:wrap; font-size:32px; font-weight:900; letter-spacing:-1.6px; line-height:1; }
.bs-brand strong { color:var(--bs-orange); }
.bs-brand small { flex-basis:100%; color:#aeb8c9; font-size:9px; letter-spacing:2px; font-weight:600; margin-top:7px; }
.bs-header__actions { display:flex; gap:8px; align-items:center; }
.bs-button { border:1px solid transparent; border-radius:7px; padding:9px 13px; cursor:pointer; font:inherit; font-size:13px; font-weight:700; }
.bs-button--ghost { color:#fff; border-color:#566176; background:transparent; }
.bs-button--light { color:#20283a; background:#fff; }
.bs-button:hover { filter:brightness(.94); }
.bs-search { max-width:450px; margin:0 auto 16px; display:flex; align-items:center; gap:10px; background:#fff; border-radius:8px; padding:5px 6px 5px 14px; }
.bs-search__icon { color:#596579; font-size:25px; line-height:1; }
.bs-search input { flex:1; min-width:0; border:0 !important; box-shadow:none !important; outline:0; padding:10px 0; color:#1b2232; background:transparent !important; font:inherit; font-size:14px; }
.bs-search button { border:0; border-radius:6px; padding:9px 17px; background:var(--bs-orange); color:#fff; font-weight:700; cursor:pointer; }
.bs-nav { display:flex; justify-content:center; flex-wrap:wrap; gap:8px 24px; }
.bs-nav a { color:#e3e8f0 !important; font-size:13px; font-weight:600; }
.bs-nav a:hover { color:#ff9b55 !important; }
.bs-toolbar { display:flex; align-items:center; gap:12px; padding:13px clamp(12px, 2vw, 24px); color:var(--bs-muted); font-size:12px; }
.bs-toolbar__status { color:var(--bs-ink); font-weight:800; }
.bs-toolbar__hint { flex:1; }
.bs-reset { border:0; background:transparent; color:#a64c0c; text-decoration:underline; cursor:pointer; font:inherit; }
.bs-layout { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; padding:0 clamp(12px, 2vw, 24px) 24px; align-items:start; }
.bs-widget { min-width:0; background:var(--bs-panel); border:1px solid var(--bs-line); border-radius:9px; box-shadow:0 2px 8px rgba(23,29,43,.035); overflow:hidden; }
.bs-widget--wide { grid-column:span 2; }
.bs-widget__header { display:flex; align-items:center; justify-content:space-between; gap:8px; min-height:45px; padding:10px 13px; border-bottom:1px solid var(--bs-line); background:#fff; }
.bs-widget__title { margin:0 !important; color:var(--bs-ink); font-size:14px !important; line-height:1.3; font-weight:800; letter-spacing:.1px; }
.bs-widget__controls { display:flex; gap:4px; }
.bs-widget__control { width:27px; height:27px; border:1px solid #e5e8ee; border-radius:5px; background:#fff; color:#687386; cursor:pointer; line-height:1; font-size:17px; }
.bs-widget__control:hover { color:#a64c0c; border-color:#f2b27e; }
.bs-widget__body { padding:14px; }
.bs-lead { margin:0 0 12px; color:#4d586b; font-size:13px; }
.bs-placeholder { border:1px dashed #d8dee8; border-radius:7px; padding:13px; background:#fafbfc; }
.bs-placeholder p { margin:7px 0 0; color:#687386; font-size:12px; }
.bs-placeholder__tag { color:#a64c0c; font-size:9px; font-weight:900; letter-spacing:1.1px; }
.bs-text-link { display:inline-block; margin-top:12px; color:#a64c0c !important; font-size:12px; font-weight:700; }
.bs-chip-list { display:flex; flex-wrap:wrap; gap:6px; margin:0 0 12px; }
.bs-chip-list span { background:#f1f3f7; border-radius:20px; padding:5px 9px; color:#455066; font-size:11px; font-weight:700; }
.bs-shortcuts { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.bs-shortcuts a { display:flex; justify-content:center; align-items:center; min-height:42px; border:1px solid #e7eaf0; border-radius:6px; color:#344056 !important; font-size:12px; font-weight:700; background:#fbfcfd; }
.bs-shortcuts a:hover { border-color:#f2a56c; background:#fff8f2; }
.bs-footer { display:flex; justify-content:space-between; gap:10px; padding:14px 22px; border-top:1px solid #e1e5ec; color:#8791a1; font-size:11px; }
.bs-widget.is-hidden { display:none; }
.bs-layout.is-editing .bs-widget { outline:1px dashed #f0a36a; outline-offset:2px; }
.bs-layout.is-editing .bs-widget__drag { cursor:grab; color:#a64c0c; }
.bs-widget.is-dragging { opacity:.45; }
.bs-widget.is-drop-target { outline:2px solid var(--bs-orange); }
.bs-add-panel[hidden] { display:none !important; }
.bs-add-panel { position:fixed; inset:0; z-index:99999; display:flex; justify-content:center; align-items:center; padding:20px; background:rgba(12,17,28,.65); }
.bs-add-panel__inner { width:min(520px,100%); padding:22px; border-radius:12px; background:#fff; color:#20283a; box-shadow:0 18px 70px rgba(0,0,0,.25); }
.bs-add-panel__head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.bs-add-panel__head h2 { margin:0; font-size:20px; }
.bs-add-panel__inner > p { color:#687386; font-size:13px; }
.bs-add-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.bs-add-options button { padding:12px; border:1px solid #e1e5ec; border-radius:7px; background:#fbfcfd; text-align:left; color:#20283a; font-weight:800; cursor:pointer; }
.bs-add-options button:hover { border-color:#f0a36a; background:#fff8f2; }
.bs-add-options small { display:block; margin-top:4px; color:#778194; font-size:11px; font-weight:400; }
.bs-add-panel__inner .bs-add-panel__note { margin-bottom:0; font-size:11px; }
@media (max-width:900px) {
    .bs-layout { grid-template-columns:repeat(2,minmax(0,1fr)); }
    .bs-widget--wide { grid-column:span 2; }
}
@media (max-width:600px) {
    .bubalo-start { width:100vw; max-width:100vw; left:50%; transform:translateX(-50%); margin-left:0; margin-right:0; border-radius:8px; }
    .bs-header { padding:18px 13px 14px; }
    .bs-header__top { align-items:flex-start; flex-direction:column; gap:14px; }
    .bs-brand { font-size:29px; }
    .bs-header__actions { width:100%; }
    .bs-button { flex:1; }
    .bs-search { gap:7px; }
    .bs-search button { padding:9px 11px; }
    .bs-nav { justify-content:flex-start; gap:9px 16px; }
    .bs-toolbar { flex-wrap:wrap; }
    .bs-toolbar__hint { flex-basis:100%; order:3; }
    .bs-layout { grid-template-columns:minmax(0,1fr); gap:10px; padding:0 10px 16px; }
    .bs-widget--wide { grid-column:span 1; }
    .bs-footer { flex-direction:column; }
    .bs-add-options { grid-template-columns:1fr; }
}


/* Hide only the theme's page heading and breadcrumbs on the BuBaLo Start page. */
body.bubalo-start-page .entry-header,
body.bubalo-start-page .page-header,
body.bubalo-start-page .breadcrumbs,
body.bubalo-start-page .breadcrumb,
body.bubalo-start-page .rank-math-breadcrumb,
body.bubalo-start-page .yoast-breadcrumb,
body.bubalo-start-page .wp-block-post-title {
    display: none !important;
}

/* Remove excess top spacing from common theme content wrappers on this page only. */
body.bubalo-start-page .site-main,
body.bubalo-start-page .content-area,
body.bubalo-start-page .site-content,
body.bubalo-start-page .entry-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}


/* Personalization controls: additional actions appear only in edit mode. */
.bs-widget__resize,
.bs-widget__remove { display:none; }
.bs-layout.is-editing .bs-widget__resize,
.bs-layout.is-editing .bs-widget__remove { display:inline-flex; align-items:center; justify-content:center; }
.bs-layout.is-editing .bs-widget__controls { flex-wrap:wrap; }
.bs-widget--size-normal { grid-column:span 1 !important; }
.bs-widget--size-wide { grid-column:span 2 !important; }
.bs-widget--size-full { grid-column:1 / -1 !important; }
.bs-widget--custom .bs-widget__drag { cursor:grab; }
@media (max-width:900px) {
    .bs-widget--size-wide { grid-column:span 2 !important; }
    .bs-widget--size-full { grid-column:1 / -1 !important; }
}
@media (max-width:600px) {
    .bs-widget--size-wide,
    .bs-widget--size-full { grid-column:span 1 !important; }
}

/* BuBaLo Start 0.1.4 – multilingual mixed portal */
.bs-language-bar { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:7px; margin:0 auto 13px; color:#e8edf5; font-size:12px; }
.bs-language-bar strong { margin-right:4px; }
.bs-language { border:1px solid rgba(255,255,255,.25); border-radius:20px; padding:6px 11px; color:#eef2f8; background:rgba(255,255,255,.08); font:inherit; font-size:11px; cursor:pointer; }
.bs-language:hover,.bs-language.is-active { color:#20283a; background:#fff; border-color:#fff; }
.bs-language--all { border-color:var(--bs-orange); }
.bs-portal .bs-nav { max-height:66px; overflow:auto; }
.bs-portal-sources { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin:0 0 12px; font-size:11px; }
.bs-portal-sources strong { color:#596579; margin-right:3px; }
.bs-portal-sources a { display:inline-block; border:1px solid #e5e9f0; border-radius:5px; padding:4px 7px; color:#344056 !important; background:#fbfcfd; font-weight:700; }
.bs-portal-sources a:hover { border-color:#f2a56c; background:#fff8f2; }
.bs-placeholder--compact { padding:9px 11px; }
.bs-placeholder--compact p { margin-top:4px; }
.bs-portal-category .bs-widget__body { padding:12px; }
@media (max-width:600px) {
  .bs-language-bar { justify-content:flex-start; }
  .bs-portal .bs-nav { max-height:88px; justify-content:flex-start; }
}


/* 0.1.4.1 hotfix: keep the Add Frame action visible against theme button rules. */
.bubalo-start .bs-header__actions .bs-button--light {
    color: #ffffff !important;
    background: #f47a25 !important;
    border-color: #f47a25 !important;
}
.bubalo-start .bs-header__actions .bs-button--light:hover {
    color: #ffffff !important;
    background: #df681b !important;
    border-color: #df681b !important;
}

/* 0.1.5: language-aware RSS panels. */
.bs-portal-feed[hidden] { display:none !important; }
.bs-portal-feed { min-width:0; margin-top:10px; }
.bs-portal-feed .bubalo-rss-wrap { margin:0; }
.bs-portal-feed--featured { margin-top:0; }

/* 0.1.5.1: compact search field and enforce readable input text color. */
.bs-search input,
.bs-search input:focus,
.bs-search input:active {
    color: #1b2232 !important;
    -webkit-text-fill-color: #1b2232 !important;
    background: transparent !important;
    opacity: 1 !important;
}
.bs-search input::placeholder {
    color: #596579 !important;
    -webkit-text-fill-color: #596579 !important;
    opacity: 1 !important;
}





/* 0.1.5.7 — favikony pobierane dla domen oryginalnych portali */
.bs-portal-sources a.bs-portal-source {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.bs-portal-source__icon,
.bs-shortcut__icon {
    display: inline-block;
    width: 20px;
    height: 20px;
    min-width: 20px;
    object-fit: contain;
    border-radius: 4px;
    vertical-align: middle;
}
.bs-portal-source__icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
}
.bs-shortcuts a.bs-shortcut {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}


/* 0.1.5.8 — niezależne kolumny bez pustych przestrzeni między modułami */
.bs-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    align-items: start;
    gap: 14px;
}
.bs-layout__main,
.bs-layout__sidebar {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    min-width: 0;
}
.bs-layout__main > .bs-widget,
.bs-layout__sidebar > .bs-widget {
    width: 100%;
    min-width: 0;
    grid-column: auto !important;
}
.bs-layout__sidebar > .bs-widget + .bs-widget {
    margin-top: 0;
}
@media (max-width: 900px) {
    .bs-layout {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 600px) {
    .bs-layout {
        gap: 10px;
    }
    .bs-layout__main,
    .bs-layout__sidebar {
        gap: 10px;
    }
}


/* 0.1.5.11 — modal Dodaj ramkę poza kontenerem motywu */
body > .bs-add-panel {
    position: fixed !important;
    inset: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    margin: 0 !important;
    transform: none !important;
    z-index: 2147483000 !important;
    box-sizing: border-box !important;
}
body > .bs-add-panel[hidden] {
    display: none !important;
}
body > .bs-add-panel > .bs-add-panel__inner {
    position: relative !important;
    transform: none !important;
    max-height: calc(100vh - 40px);
    overflow: auto;
}


/* 0.1.5.12 — szerokość ramek w kolumnach flex (normalny / szeroki / pełny) */
.bs-layout__main > .bs-widget,
.bs-layout__sidebar > .bs-widget {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    transition: width .18s ease, max-width .18s ease;
}
.bs-layout__main > .bs-widget.bs-widget--size-normal,
.bs-layout__sidebar > .bs-widget.bs-widget--size-normal {
    width: 50% !important;
    max-width: 50% !important;
    align-self: flex-start;
}
.bs-layout__main > .bs-widget.bs-widget--size-wide,
.bs-layout__sidebar > .bs-widget.bs-widget--size-wide {
    width: 75% !important;
    max-width: 75% !important;
    align-self: flex-start;
}
.bs-layout__main > .bs-widget.bs-widget--size-full,
.bs-layout__sidebar > .bs-widget.bs-widget--size-full {
    width: 100% !important;
    max-width: 100% !important;
    align-self: stretch;
}
@media (max-width: 900px) {
    .bs-layout__main > .bs-widget.bs-widget--size-normal,
    .bs-layout__sidebar > .bs-widget.bs-widget--size-normal,
    .bs-layout__main > .bs-widget.bs-widget--size-wide,
    .bs-layout__sidebar > .bs-widget.bs-widget--size-wide,
    .bs-layout__main > .bs-widget.bs-widget--size-full,
    .bs-layout__sidebar > .bs-widget.bs-widget--size-full {
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* 0.1.5.13 — precyzyjna, płynna regulacja szerokości każdej ramki */
.bs-layout .bs-widget {
    width: var(--bs-widget-width, 100%) !important;
    max-width: var(--bs-widget-width, 100%) !important;
    flex: 0 0 var(--bs-widget-width, 100%);
    box-sizing: border-box;
    align-self: flex-start;
    transition: width .12s ease, max-width .12s ease, flex-basis .12s ease;
}
.bs-widget__width-control {
    display: none;
    align-items: center;
    gap: 7px;
    min-width: 150px;
    padding: 3px 7px;
    border: 1px solid #d9e1ec;
    border-radius: 6px;
    background: #fff;
    color: #26354a;
    font-size: 11px;
    line-height: 1;
    white-space: nowrap;
}
.bs-layout.is-editing .bs-widget__width-control {
    display: inline-flex;
}
.bs-widget__width-slider {
    width: 105px;
    min-width: 70px;
    margin: 0;
    accent-color: #ff5a1f;
    cursor: ew-resize;
}
.bs-widget__width-value {
    min-width: 32px;
    font-weight: 700;
    text-align: right;
    font-variant-numeric: tabular-nums;
}
.bs-widget.is-resizing {
    outline: 2px solid rgba(255, 90, 31, .55);
    outline-offset: 2px;
}
@media (max-width: 900px) {
    .bs-layout .bs-widget {
        width: 100% !important;
        max-width: 100% !important;
        flex-basis: 100%;
    }
    .bs-widget__width-control {
        min-width: 120px;
    }
    .bs-widget__width-slider {
        width: 75px;
    }
}


/* 0.1.5.14 — przenoszenie ramek między kolumnami */
.bs-layout.is-editing [data-bs-column] {
    min-height: 180px;
    border-radius: 8px;
}
.bs-layout.is-editing [data-bs-column].is-drop-target {
    outline: 2px dashed #ff5a1f;
    outline-offset: 3px;
    background: rgba(255, 90, 31, .035);
}
.bs-widget.is-dragging {
    opacity: .55;
    cursor: grabbing;
}
.bs-layout.is-editing .bs-widget__drag {
    cursor: grab;
    touch-action: none;
}


/* 0.1.5.15 — czytelny uchwyt przenoszenia i automatyczne przewijanie podczas drag */
.bs-layout.is-editing .bs-widget__drag {
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: none;
}
.bs-layout.is-editing .bs-widget__drag:active {
    cursor: grabbing;
}
.bs-layout.is-editing .bs-widget.is-dragging {
    opacity: .58;
    outline: 2px dashed #ff5a1f;
    outline-offset: 2px;
}


/* 0.1.5.16 — uchwyt jest właściwym elementem HTML5 draggable */
.bs-layout.is-editing .bs-widget__drag[draggable="true"] {
    -webkit-user-drag: element;
    user-select: none;
    -webkit-user-select: none;
    cursor: grab;
}
.bs-layout.is-editing .bs-widget__drag[draggable="true"]:active {
    cursor: grabbing;
}


/* 0.1.5.17 — widoczne ikony sterowania ramkami bez najeżdżania kursorem.
   Resetuje style przycisków motywu DarkNews, które ukrywały znaki w stanie normalnym. */
.bubalo-start .bs-widget__controls .bs-widget__control,
.bubalo-start .bs-widget__controls .bs-widget__control:hover,
.bubalo-start .bs-widget__controls .bs-widget__control:focus,
.bubalo-start .bs-widget__controls .bs-widget__control:active {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px !important;
    min-width: 28px !important;
    height: 28px !important;
    min-height: 28px !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 5px !important;
    background: #ffffff !important;
    color: #26354a !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 17px !important;
    font-style: normal !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    letter-spacing: 0 !important;
    text-indent: 0 !important;
    text-transform: none !important;
    text-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-shadow: none !important;
    filter: none !important;
    overflow: visible !important;
    cursor: pointer;
}
.bubalo-start .bs-widget__controls .bs-widget__drag {
    color: #174d79 !important;
}
.bubalo-start .bs-widget__controls .bs-widget__hide {
    color: #26354a !important;
}
.bubalo-start .bs-widget__controls .bs-widget__resize,
.bubalo-start .bs-widget__controls .bs-widget__remove {
    display: none !important;
}
.bubalo-start .bs-layout.is-editing .bs-widget__controls .bs-widget__resize,
.bubalo-start .bs-layout.is-editing .bs-widget__controls .bs-widget__remove {
    display: inline-flex !important;
}
.bubalo-start .bs-widget__controls .bs-widget__control:hover {
    border-color: #ff6b35 !important;
    background: #fff3ed !important;
    color: #a33d12 !important;
}
.bubalo-start .bs-widget__controls .bs-widget__control:focus-visible {
    outline: 2px solid #ff6b35 !important;
    outline-offset: 2px !important;
}


/* BuBaLo Start 0.1.5.21 — moduł pogody: interfejs i wybór lokalizacji */
.bs-weather { display:flex; flex-direction:column; gap:12px; min-width:0; }
.bs-weather__lead { margin:6px 0 0; color:#596579; font-size:12px; }
.bs-weather__actions { display:flex; flex-wrap:wrap; gap:8px; }
.bs-weather__button { border:1px solid #dfe4ec; border-radius:6px; padding:9px 12px; background:#fff; color:#263247; font:inherit; font-size:12px; font-weight:800; cursor:pointer; }
.bs-weather__button:hover { border-color:#f0a36a; background:#fff8f2; }
.bs-weather__button--gps { border-color:#f0a36a; background:#fff4e9; color:#98470e; }
.bs-weather__manual { padding:11px; border:1px solid #e5e9ef; border-radius:7px; background:#fafbfc; }
.bs-weather__manual[hidden] { display:none !important; }
.bs-weather__label { display:block; margin-bottom:6px; color:#455066; font-size:11px; font-weight:800; }
.bs-weather__search { display:flex; gap:7px; }
.bs-weather__search input { flex:1; min-width:0; width:100%; border:1px solid #dfe4ec; border-radius:6px; padding:9px 10px; color:#263247; background:#fff; font:inherit; font-size:12px; }
.bs-weather__status { padding:9px 10px; border-radius:6px; background:#f2f4f8; color:#596579; font-size:11px; line-height:1.5; overflow-wrap:anywhere; }
.bs-weather__status[data-state="success"] { background:#edf7ef; color:#27613a; }
.bs-weather__status[data-state="error"] { background:#fff1ef; color:#9b3428; }
.bs-weather__forecast { border:1px solid #e5e9ef; border-radius:7px; overflow:hidden; }
.bs-weather__forecast-head { display:flex; justify-content:space-between; padding:10px 11px; background:#f7f8fa; color:#263247; font-size:12px; }
.bs-weather__forecast-head span { color:#7b8493; font-size:11px; }
.bs-weather__days { display:grid; grid-template-columns:repeat(7,minmax(0,1fr)); }
.bs-weather__day { display:flex; flex-direction:column; align-items:center; gap:6px; min-width:0; padding:10px 3px; border-top:1px solid #edf0f4; border-right:1px solid #edf0f4; text-align:center; }
.bs-weather__day:last-child { border-right:0; }
.bs-weather__day span:first-child { color:#596579; font-size:9px; font-weight:700; }
.bs-weather__day-icon { color:#9aa3b1; font-size:18px; line-height:1; }
.bs-weather__day strong { color:#7b8493; font-size:10px; white-space:nowrap; }
.bs-weather__hint { margin:8px 10px 10px; color:#8791a1; font-size:10px; line-height:1.45; }
@media (max-width:600px) {
    .bs-weather__days { grid-template-columns:repeat(4,minmax(0,1fr)); }
    .bs-weather__day:nth-child(4) { border-right:0; }
    .bs-weather__day:nth-child(n+5) { border-top:1px solid #edf0f4; }
    .bs-weather__search { flex-direction:column; }
    .bs-weather__search .bs-weather__button { width:100%; }
}


/* BuBaLo Start 0.1.5.22 — poprawa kontrastu i ergonomii wyboru lokalizacji */
.bs-weather .bs-weather__button {
    color: #263247 !important;
    background: #ffffff !important;
    border: 1px solid #dfe4ec !important;
    opacity: 1 !important;
    text-shadow: none !important;
}
.bs-weather .bs-weather__button:hover:not(:disabled) {
    color: #202b3d !important;
    background: #fff8f2 !important;
    border-color: #f0a36a !important;
}
.bs-weather .bs-weather__button--gps {
    color: #713508 !important;
    background: #fff4e9 !important;
    border-color: #f0a36a !important;
}
.bs-weather .bs-weather__button--gps:hover {
    color: #592800 !important;
    background: #ffead8 !important;
}
.bs-weather .bs-weather__button:disabled {
    color: #8b93a1 !important;
    background: #f1f3f6 !important;
    border-color: #e1e5eb !important;
    cursor: not-allowed;
    opacity: 1 !important;
}
.bs-weather .bs-weather__label {
    display: block;
    margin-bottom: 7px;
    color: #263247 !important;
    font-size: 12px;
    font-weight: 800;
}
.bs-weather .bs-weather__search {
    display: flex;
    align-items: stretch;
    gap: 8px;
}
.bs-weather .bs-weather__search input {
    flex: 1 1 auto;
    min-width: 0;
    width: 100%;
    color: #263247 !important;
    background: #ffffff !important;
}
.bs-weather .bs-weather__search input::placeholder {
    color: #8993a3 !important;
    opacity: 1;
}
.bs-weather .bs-weather__save {
    flex: 0 0 auto;
    min-width: 76px;
    color: #713508 !important;
    background: #fffaf5 !important;
    border-color: #f0a36a !important;
}
.bs-weather .bs-weather__save:disabled {
    color: #929aa7 !important;
    background: #f1f3f6 !important;
    border-color: #e1e5eb !important;
}
@media (max-width: 540px) {
    .bs-weather .bs-weather__search {
        flex-direction: column;
    }
    .bs-weather .bs-weather__search .bs-weather__save {
        width: 100%;
        min-height: 38px;
    }
}

/* BuBaLo Start 0.1.5.23 — prognoza Open-Meteo */
.bs-weather__results { display:flex; flex-direction:column; gap:5px; margin-top:9px; }
.bs-weather__results[hidden] { display:none !important; }
.bs-weather__result { width:100%; text-align:left; border:1px solid #e2e7ef; border-radius:6px; padding:9px 10px; background:#fff; color:#263247; font:inherit; font-size:12px; cursor:pointer; }
.bs-weather__result:hover { border-color:#f0a36a; background:#fff8f2; }
.bs-weather__current { border:1px solid #e5e9ef; border-radius:7px; padding:12px; background:#fafbfc; }
.bs-weather__current[hidden] { display:none !important; }
.bs-weather__current-main { display:flex; align-items:center; gap:12px; }
.bs-weather__current-icon { font-size:38px; line-height:1; }
.bs-weather__current-main div { display:flex; flex-direction:column; gap:2px; }
.bs-weather__current-main strong { color:#263247; font-size:27px; line-height:1.1; }
.bs-weather__current-main span:not(.bs-weather__current-icon) { color:#455066; font-size:12px; }
.bs-weather__current-main small { color:#8791a1; font-size:10px; }
.bs-weather__current-stats { display:flex; flex-wrap:wrap; gap:8px 16px; margin-top:12px; padding-top:10px; border-top:1px solid #e8ecf2; color:#687386; font-size:10px; }
.bs-weather__current-stats b { color:#263247; }
.bs-weather__days { grid-template-columns:repeat(7,minmax(0,1fr)); }
.bs-weather__day { padding:0; }
.bs-weather__day summary { display:flex; flex-direction:column; align-items:center; gap:6px; padding:10px 3px; cursor:pointer; list-style:none; }
.bs-weather__day summary::-webkit-details-marker { display:none; }
.bs-weather__day summary span:first-child { color:#596579; font-size:9px; font-weight:700; }
.bs-weather__day summary .bs-weather__day-icon { color:#9aa3b1; font-size:20px; line-height:1; }
.bs-weather__day summary strong { color:#596579; font-size:10px; white-space:nowrap; }
.bs-weather__day[open] { background:#fffaf6; }
.bs-weather__day-details { display:flex; flex-direction:column; gap:4px; padding:8px 6px 10px; border-top:1px solid #f0e4da; color:#687386; font-size:9px; line-height:1.35; text-align:left; }
.bs-weather__day-details b { color:#263247; }
.bs-weather__attribution { margin:8px 10px 10px; color:#8791a1; font-size:10px; }
.bs-weather__attribution a { color:#596579; text-decoration:underline; }
@media (max-width:600px) {
  .bs-weather__days { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .bs-weather__day:nth-child(odd) { border-right:1px solid #edf0f4; }
  .bs-weather__day:nth-child(even) { border-right:0; }
  .bs-weather__day summary { min-height:90px; }
}


/* BuBaLo Start 0.1.5.24 — wymuszenie czytelności wyników wyszukiwania miejscowości */
.bs-weather .bs-weather__results .bs-weather__result,
.bs-weather .bs-weather__results button.bs-weather__result {
    color: #263247 !important;
    -webkit-text-fill-color: #263247 !important;
    background-color: #ffffff !important;
    border-color: #e2e7ef !important;
    opacity: 1 !important;
    visibility: visible !important;
    text-shadow: none !important;
}
.bs-weather .bs-weather__results .bs-weather__result:hover,
.bs-weather .bs-weather__results .bs-weather__result:focus,
.bs-weather .bs-weather__results .bs-weather__result:focus-visible {
    color: #263247 !important;
    -webkit-text-fill-color: #263247 !important;
    background-color: #fff8f2 !important;
    border-color: #f0a36a !important;
}


/* BuBaLo Start 0.1.5.25 — dwukolumnowy układ wyłącznie lewego panelu portalu */
.bs-portal .bs-layout__main {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-flow: row;
    align-items: start;
    gap: 14px;
    min-width: 0;
}
.bs-portal .bs-layout__main > .bs-widget {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin: 0 !important;
    flex: initial;
    align-self: start;
    box-sizing: border-box;
}
.bs-portal .bs-layout__main > .bs-portal-featured,
.bs-portal .bs-layout__main > .bs-widget.bs-widget--size-wide,
.bs-portal .bs-layout__main > .bs-widget.bs-widget--size-full {
    grid-column: 1 / -1;
}
.bs-portal .bs-layout__main > .bs-widget.bs-widget--size-normal {
    grid-column: span 1;
}
@media (max-width: 600px) {
    .bs-portal .bs-layout__main {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }
    .bs-portal .bs-layout__main > .bs-widget,
    .bs-portal .bs-layout__main > .bs-widget.bs-widget--size-normal,
    .bs-portal .bs-layout__main > .bs-widget.bs-widget--size-wide,
    .bs-portal .bs-layout__main > .bs-widget.bs-widget--size-full {
        grid-column: 1 / -1;
    }
}

/* 0.1.5.26: compact RSS rows in portal category widgets only. The featured section and sidebar remain untouched. */
.bubalo-start .bs-portal-category .bubalo-rss-view-controls { display:none !important; }
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-grid,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-grid.bubalo-rss-grid-view,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-grid.bubalo-rss-list-view {
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
    margin:0 !important;
}
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card {
    display:grid !important;
    grid-template-columns:60px minmax(0,1fr) !important;
    align-items:center !important;
    gap:9px !important;
    min-height:0 !important;
    height:auto !important;
    padding:4px 0 !important;
    border:0 !important;
    border-bottom:1px dotted #d5d9e0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#3f4652 !important;
    box-shadow:none !important;
    overflow:visible !important;
}
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card:last-child { border-bottom:0 !important; }
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card > a:first-child {
    display:block !important;
    width:60px !important;
    height:42px !important;
    min-height:42px !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    border-radius:2px !important;
}
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-image,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-image-placeholder {
    display:block !important;
    width:60px !important;
    height:42px !important;
    min-height:42px !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
}
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card-body {
    display:block !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    color:#3f4652 !important;
}
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title {
    margin:0 !important;
    padding:0 !important;
    min-height:0 !important;
    font-size:12px !important;
    line-height:1.35 !important;
    font-weight:400 !important;
}
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title a {
    color:#41464f !important;
    text-decoration:none !important;
}
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title a:hover { color:#a64c0c !important; text-decoration:underline !important; }
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-new-badge,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-source,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-game-tags,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-date,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-excerpt,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-read,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card-actions { display:none !important; }
@media (max-width:600px) {
    .bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card { grid-template-columns:56px minmax(0,1fr) !important; gap:8px !important; }
    .bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card > a:first-child,
    .bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-image,
    .bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-image-placeholder { width:56px !important; height:40px !important; min-height:40px !important; }
}


/* BuBaLo Start 0.1.5.27 — czytelniejsze tytuły w kompaktowych listach kategorii */
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title {
    margin: 0 !important;
    padding: 0 !important;
    min-height: 0 !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
    letter-spacing: 0.05px !important;
}
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title a,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title a:link,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title a:visited,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title a:active {
    color: #263247 !important;
    -webkit-text-fill-color: #263247 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    font-weight: 600 !important;
}
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title a:hover,
.bubalo-start .bs-portal-category .bubalo-rss-wrap .bubalo-rss-title a:focus-visible {
    color: #c94f0b !important;
    -webkit-text-fill-color: #c94f0b !important;
    text-decoration: none !important;
}


/* BuBaLo Start 0.1.5.28 — wymuszenie stylu tytułów RSS niezależnie od struktury linku i motywu. */
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card .bubalo-rss-title,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card .bubalo-rss-title a,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card .bubalo-rss-card-body a,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card a.bubalo-rss-title,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card a:link,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card a:visited,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card a:hover,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card a:focus,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card a:active {
    color: #263247 !important;
    -webkit-text-fill-color: #263247 !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
    text-decoration-thickness: 0 !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    background-image: none !important;
    font-size: 13px !important;
    line-height: 1.45 !important;
    font-weight: 600 !important;
}
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card a:hover,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-category .bubalo-rss-wrap .bubalo-rss-card a:focus-visible {
    color: #c94f0b !important;
    -webkit-text-fill-color: #c94f0b !important;
    text-decoration: none !important;
    text-decoration-line: none !important;
}


/* BuBaLo Start 0.1.5.30 — sekcja „Najważniejsze informacje” w tym samym kompaktowym stylu co kategorie. */
.bubalo-start .bs-portal-featured .bubalo-rss-view-controls { display:none !important; }
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-grid,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-grid.bubalo-rss-grid-view,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-grid.bubalo-rss-list-view {
    display:flex !important;
    flex-direction:column !important;
    gap:0 !important;
    margin:0 !important;
}
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card {
    display:grid !important;
    grid-template-columns:60px minmax(0,1fr) !important;
    align-items:center !important;
    gap:9px !important;
    min-height:0 !important;
    height:auto !important;
    padding:4px 0 !important;
    border:0 !important;
    border-bottom:1px dotted #d5d9e0 !important;
    border-radius:0 !important;
    background:transparent !important;
    color:#3f4652 !important;
    box-shadow:none !important;
    overflow:visible !important;
}
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card:last-child { border-bottom:0 !important; }
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card > a:first-child {
    display:block !important;
    width:60px !important;
    height:42px !important;
    min-height:42px !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    border-radius:2px !important;
}
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-image,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-image-placeholder {
    display:block !important;
    width:60px !important;
    height:42px !important;
    min-height:42px !important;
    aspect-ratio:auto !important;
    object-fit:cover !important;
}
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card-body {
    display:block !important;
    min-width:0 !important;
    padding:0 !important;
    margin:0 !important;
    background:transparent !important;
    color:#3f4652 !important;
}
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-title {
    margin:0 !important;
    padding:0 !important;
    min-height:0 !important;
    font-size:13px !important;
    line-height:1.45 !important;
    font-weight:600 !important;
    letter-spacing:.05px !important;
}
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-title a,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-title a:link,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-title a:visited,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-title a:active,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card .bubalo-rss-card-body a,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card a:link,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card a:visited,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card a:hover,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card a:focus,
.bubalo-start.bs-portal .bs-layout__main .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card a:active {
    color:#263247 !important;
    -webkit-text-fill-color:#263247 !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
    text-decoration-thickness:0 !important;
    border-bottom:0 !important;
    box-shadow:none !important;
    background-image:none !important;
    font-size:13px !important;
    line-height:1.45 !important;
    font-weight:600 !important;
}
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-title a:hover,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-title a:focus-visible {
    color:#c94f0b !important;
    -webkit-text-fill-color:#c94f0b !important;
    text-decoration:none !important;
    text-decoration-line:none !important;
}
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-new-badge,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-source,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-game-tags,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-date,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-excerpt,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-read,
.bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card-actions { display:none !important; }
@media (max-width:600px) {
    .bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card { grid-template-columns:56px minmax(0,1fr) !important; gap:8px !important; }
    .bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-card > a:first-child,
    .bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-image,
    .bubalo-start .bs-portal-featured .bubalo-rss-wrap .bubalo-rss-image-placeholder { width:56px !important; height:40px !important; min-height:40px !important; }
}

/* 0.1.5.31 — nagłówek portalu bez logo i wyszukiwarki */
.bs-portal .bs-header__top {
    justify-content: flex-end;
    margin-bottom: 14px;
}
