/* Cookie consent banner — vorano.si
   Accept and Reject are deliberately given identical visual weight:
   under GDPR/ePrivacy refusing must be as easy as accepting. */

.cc-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 99999;
    background: #1d1d1d;
    color: #e8e8e8;
    border-top: 3px solid #bb925b;
    box-shadow: 0 -4px 24px rgba(0,0,0,.35);
    font-size: 14px;
    line-height: 1.6;
    display: none;
}
.cc-banner.is-open { display: block; }

.cc-inner {
    max-width: 1140px;
    margin: 0 auto;
    padding: 22px 20px;
}

.cc-title {
    margin: 0 0 8px;
    font-size: 18px;
    font-weight: 700;
    color: #fff;
}
.cc-text { margin: 0 0 16px; }
.cc-text a, .cc-link {
    color: #d7b47c;
    text-decoration: underline;
}
.cc-text a:hover, .cc-link:hover { color: #fff; }

/* --- buttons ---------------------------------------------------------- */
.cc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}
.cc-btn {
    display: inline-block;
    min-width: 190px;
    padding: 12px 22px;
    border: 2px solid #bb925b;
    border-radius: 3px;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .04em;
    cursor: pointer;
    transition: background .18s, color .18s;
    background: #bb925b;
    color: #1d1d1d;
}
.cc-btn:hover { background: #cfa76b; color: #1d1d1d; }
.cc-btn:focus-visible, .cc-btn:focus {
    outline: 3px solid #fff;
    outline-offset: 2px;
}
/* Reject carries the same size, weight and border as Accept. */
.cc-btn--reject { background: #bb925b; color: #1d1d1d; }

.cc-btn--ghost {
    background: transparent;
    color: #e8e8e8;
    border-color: #6a6a6a;
    min-width: 0;
    text-transform: none;
    font-weight: 600;
}
.cc-btn--ghost:hover { background: #2c2c2c; color: #fff; }

/* --- settings panel --------------------------------------------------- */
.cc-settings {
    display: none;
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid #3a3a3a;
}
.cc-settings.is-open { display: block; }

.cc-group {
    padding: 14px 0;
    border-bottom: 1px solid #2f2f2f;
}
.cc-group:last-of-type { border-bottom: 0; }
.cc-group-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.cc-group-name { font-weight: 700; color: #fff; }
.cc-group-desc { margin: 6px 0 0; color: #b4b4b4; font-size: 13px; }
.cc-always { color: #9a9a9a; font-size: 13px; font-style: italic; }

.cc-switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.cc-switch input { width: 18px; height: 18px; cursor: pointer; accent-color: #bb925b; }
.cc-switch span { font-size: 13px; color: #d0d0d0; }

@media (max-width: 600px) {
    .cc-inner { padding: 18px 16px; }
    .cc-actions { flex-direction: column; align-items: stretch; }
    .cc-btn { width: 100%; min-width: 0; }
}

/* Footer trigger for re-opening the choice (withdrawal must be as easy). */
.cc-reopen {
    background: none;
    border: 0;
    padding: 0;
    color: inherit;
    text-decoration: underline;
    cursor: pointer;
    font: inherit;
}

/* ---------------------------------------------------------------------------
   Cookie policy page (/slv/piskotki/)
   Same button language as the consent banner, tuned for a light background.
   --------------------------------------------------------------------------- */

/* Gold solid button — identical to the banner's Accept/Reject.
   Applies wherever a link is styled as a button, not just on the policy page. */
a.cc-btn, a.cc-btn:hover, a.cc-btn:focus { text-decoration: none; }

/* Outline variant, for secondary actions on a light background. */
.cc-btn--outline {
    background: transparent;
    color: #8a6a3b;
    border-color: #bb925b;
}
.cc-btn--outline:hover { background: #bb925b; color: #1d1d1d; }

.cc-actions--page {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 26px 0 10px;
}
@media (max-width: 600px) {
    .cc-actions--page { flex-direction: column; }
    .cc-actions--page .cc-btn { width: 100%; }
}

/* --- prose ------------------------------------------------------------ */
.cc-page h3 {
    font-size: 20px;
    margin: 38px 0 14px;
    color: #987D65;
}
.cc-page h4 {
    font-size: 16px;
    font-weight: 700;
    margin: 26px 0 10px;
    color: #333;
}
.cc-page p { margin-bottom: 14px; }
.cc-page code {
    background: #f3efe8;
    color: #7d5f36;
    border: 1px solid #e4daca;
    border-radius: 3px;
    padding: 1px 6px;
    font-size: 13px;
}

/* --- cookie table ----------------------------------------------------- */
.cc-tablewrap { overflow-x: auto; margin: 16px 0 10px; }
.cc-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: #fff;
}
.cc-table th {
    background: #bb925b;
    color: #fff;
    text-align: left;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: .04em;
    padding: 11px 14px;
    white-space: nowrap;
}
.cc-table td {
    padding: 12px 14px;
    border-bottom: 1px solid #ece7de;
    vertical-align: top;
}
.cc-table tr:last-child td { border-bottom: 0; }
.cc-table tbody tr:nth-child(even) { background: #faf8f4; }

/* --- callout ---------------------------------------------------------- */
.cc-note {
    background: #faf8f4;
    border-left: 4px solid #bb925b;
    padding: 16px 18px;
    margin: 20px 0;
}
.cc-note p:last-child { margin-bottom: 0; }

/* --- consent group badge --------------------------------------------- */
.cc-badge {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 4px 10px;
    border-radius: 2px;
    margin-left: 10px;
    vertical-align: middle;
}
.cc-badge--required { background: #e6e0d5; color: #6b5636; }
.cc-badge--optional { background: #bb925b; color: #fff; }
