/* Borna homepage footer — inspired by the airy, five-column Tesmino composition.
   Only homepage .bn-close and #borna-tesmino-footer are affected. No global selectors. */
#borna-homepage-below-hero .bn-close {
    background: transparent !important;
    margin: 0 !important;
    padding: 23px 24px 26px !important;
    border: 0 !important;
}
#borna-homepage-below-hero .bn-close .bn-close-inner {
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 26px !important;
    max-width: 1510px !important;
    min-height: 126px;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 26px clamp(25px,4vw,66px) !important;
    box-sizing: border-box !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.18) !important;
    background: linear-gradient(115deg,#544079 0%,#6e4b9f 53%,#8a59c5 100%) !important;
    box-shadow: 0 18px 42px rgba(83,54,128,.12);
    color: #fff !important;
    text-align: right !important;
}
#borna-homepage-below-hero .bn-close .bn-close-inner > div:first-child { flex: 1 1 52%; min-width: 0; }
#borna-homepage-below-hero .bn-close #bn-close-title {
    color: #fff !important; font-size: clamp(22px,2.2vw,31px) !important;
    font-weight: 800 !important; line-height: 1.65 !important;
    margin: 0 !important;
}
#borna-homepage-below-hero .bn-close #bn-close-title em {color:#f4dbff !important;font-style:normal !important;}
#borna-homepage-below-hero .bn-close .bn-close-inner > div:first-child > p {
    margin: 5px 0 0 !important; color: rgba(255,255,255,.83) !important;
    font-size: 14px !important; line-height: 1.95 !important;
}
#borna-homepage-below-hero .bn-close .bn-close-actions {
    display:flex !important;flex:0 1 auto;align-items:center!important;gap: 16px !important;
    flex-wrap:wrap!important;justify-content:flex-start!important;
}
#borna-homepage-below-hero .bn-close .bn-button {
    border: 0 !important; background: #fff !important; color: #573580 !important;
    box-shadow: 0 7px 15px rgba(30,14,59,.12) !important;
    border-radius: 999px !important; padding: 16px 24px !important;
    font-weight: 800 !important; white-space: nowrap;
    min-height: 50px !important; transition:transform .2s ease,box-shadow .2s ease;
}
#borna-homepage-below-hero .bn-close .bn-button:hover {transform:translateY(-2px);box-shadow:0 11px 20px rgba(30,14,59,.19)!important}
#borna-homepage-below-hero .bn-close .bn-link {color: #fff !important;white-space:nowrap;font-size:14px!important;}
#borna-homepage-below-hero .bn-close .bn-link:hover {color: #f2dfff!important;}

#borna-tesmino-footer {
    --bf-text: #2e2140; --bf-muted:#655673;--bf-purple:#8848bb;
    width:100%;box-sizing:border-box;margin:0!important;
    background:radial-gradient(ellipse at 95% 2%,rgba(201,166,226,.16),transparent 44%),#fbf9fd;
    border-top: 1px solid #eee4f3;
    color:var(--bf-text);text-align:right;direction:rtl;
    padding: 54px 24px 0;
    font-family:inherit;isolation:isolate;
}
#borna-tesmino-footer * {box-sizing:border-box;}
#borna-tesmino-footer a {text-decoration:none;}
#borna-tesmino-footer .bf-container {width:100%;max-width:1510px;margin:0 auto;}
#borna-tesmino-footer .bf-grid {
    display:grid;grid-template-columns:minmax(238px,1.46fr) minmax(138px,.83fr) minmax(169px,1fr) minmax(180px,1.06fr) minmax(145px,.87fr);
    gap:clamp(18px,2.6vw,48px);align-items:start;
}
#borna-tesmino-footer .bf-brand-title {
    display:inline-flex;align-items:center;gap:12px;
    font-weight:900;font-size:27px;letter-spacing:-.4px;color:#6d389d;line-height:1.6;
}
#borna-tesmino-footer .bf-brand-title:hover {color:#934dd1;}
#borna-tesmino-footer .bf-brand-light {color:#9c67c6;}
#borna-tesmino-footer .bf-brand-icon {
    display:inline-flex;align-items:center;justify-content:center;position:relative;
    font-size:27px;color:#fff;background:linear-gradient(140deg,#9b65d3,#69348f);
    width:45px;height:45px;border-radius:13px;font-weight:800;letter-spacing:0;
}
#borna-tesmino-footer .bf-brand-icon span {font-size:14px;position:absolute;top:2px;left:5px;color:#fff5bc;}
#borna-tesmino-footer .bf-brand-description {
    margin:20px 0 16px;max-width:325px;font-size:14px!important;
    line-height:2.2!important;color:var(--bf-muted)!important;
}
#borna-tesmino-footer .bf-brand-action {display:inline-flex;gap:8px;align-items:center;color:var(--bf-purple);font-size:13px;font-weight:800;padding:7px 0;}
#borna-tesmino-footer .bf-brand-action:hover {color:#542076;}
#borna-tesmino-footer .bf-heading {
    margin:7px 0 24px !important;font-size:17px!important;line-height:1.6!important;
    font-weight:850!important;color:#2c2041!important;
}
#borna-tesmino-footer .bf-links {list-style:none!important;padding:0!important;margin:0!important;display:flex;flex-direction:column;gap:17px;}
#borna-tesmino-footer .bf-links li {margin:0!important;padding:0!important;line-height:1.75!important;font-size:14px!important;}
#borna-tesmino-footer .bf-links li::before {display:none!important;content:none!important;}
#borna-tesmino-footer .bf-links a {color:var(--bf-muted)!important;transition:color .15s ease;}
#borna-tesmino-footer .bf-links a:hover {color:#8742ba!important;}
#borna-tesmino-footer .bf-contact-links li {display:flex;gap:9px;align-items:baseline;min-width:0;color:var(--bf-muted);}
#borna-tesmino-footer .bf-contact-dot {color:#a77ad0;font-size:10px;flex:none;}
#borna-tesmino-footer .bf-contact-links a[dir="ltr"] {display:inline-block;direction:ltr;unicode-bidi:isolate;font-size:13px;white-space:nowrap;}
#borna-tesmino-footer .bf-trust-list {display:flex;flex-wrap:wrap;gap:12px;align-items:stretch;}
#borna-tesmino-footer .bf-trust-item {
    flex: 0 1 calc(50% - 6px);min-width:84px;min-height:110px;
    display:flex;flex-direction:column;align-items:center;justify-content:space-around;
    padding:9px 5px;border:1px solid #eadcf2;border-radius:13px;background:#fff;
}
#borna-tesmino-footer .bf-trust-item a {display:flex;align-items:center;justify-content:center;min-height:66px;max-width:100%;}
#borna-tesmino-footer .bf-trust-item a img {object-fit:contain;max-width:100%;max-height:65px;width:auto;height:auto;}
#borna-tesmino-footer .bf-trust-item > span {font-size:10px!important;line-height:1.8!important;color:#72647b;text-align:center;}
#borna-tesmino-footer .bf-bottom {
    display:flex;gap:20px;flex-wrap:wrap;align-items:center;justify-content:space-between;
    border-top:1px solid #ecdfef;padding:21px 0 24px;margin-top:48px;
}
#borna-tesmino-footer .bf-bottom p {font-size:12px!important;line-height:1.8!important;color:#83768d!important;margin:0!important;}
#borna-tesmino-footer .bf-bottom-links {display:flex;flex-wrap:wrap;gap:11px;align-items:center;}
#borna-tesmino-footer .bf-bottom-links a {font-size:12px!important;color:#735d88!important;}
#borna-tesmino-footer .bf-bottom-links a:hover {color:#8538be!important;}
#borna-tesmino-footer .bf-top {padding:6px 13px;margin-right:7px;border-radius:999px;border:1px solid #ddcaea;background:#fff;white-space:nowrap;}
@media(max-width:1200px){
 #borna-tesmino-footer .bf-grid {grid-template-columns:1.35fr 1fr 1fr;row-gap:36px;}
 #borna-tesmino-footer .bf-trust {grid-column:span 2;}
 #borna-tesmino-footer .bf-trust-list {justify-content:flex-start;}
 #borna-tesmino-footer .bf-trust-item {flex:none;width:102px;}
}
@media(max-width:780px){
 #borna-homepage-below-hero .bn-close {padding:17px 15px 19px!important;}
 #borna-homepage-below-hero .bn-close .bn-close-inner {border-radius:35px!important;min-height:0;flex-direction:column!important;align-items:stretch!important;gap:18px!important;padding:27px 24px!important;}
 #borna-homepage-below-hero .bn-close .bn-close-actions {justify-content:flex-start!important;}
 #borna-homepage-below-hero .bn-close .bn-close-inner > div:first-child > p {font-size:13px!important;}
 #borna-tesmino-footer {padding:37px 18px 0;}
 #borna-tesmino-footer .bf-grid {grid-template-columns:repeat(2,minmax(0,1fr));column-gap:23px;row-gap:29px;}
 #borna-tesmino-footer .bf-brand {grid-column:1 / -1;}
 #borna-tesmino-footer .bf-brand-description {max-width:540px;}
 #borna-tesmino-footer .bf-trust {grid-column:1 / -1;}
 #borna-tesmino-footer .bf-heading {margin-bottom:16px!important;}
 #borna-tesmino-footer .bf-links {gap:12px;}
 #borna-tesmino-footer .bf-bottom {margin-top:33px;}
}
@media(max-width:460px){
 #borna-homepage-below-hero .bn-close #bn-close-title {font-size:22px!important;}
 #borna-homepage-below-hero .bn-close .bn-close-actions {gap:9px!important;}
 #borna-homepage-below-hero .bn-close .bn-button {white-space:normal;max-width:100%;width:100%;justify-content:center;padding:14px 12px!important;text-align:center;}
 #borna-tesmino-footer .bf-grid {column-gap:15px;}
 #borna-tesmino-footer .bf-brand-title {font-size:24px;}
 #borna-tesmino-footer .bf-links li {font-size:12.5px!important;}
 #borna-tesmino-footer .bf-contact-links a[dir="ltr"] {white-space:normal;overflow-wrap:anywhere;}
 #borna-tesmino-footer .bf-bottom {align-items:flex-start;flex-direction:column;}
}
@media(prefers-reduced-motion: reduce){
 #borna-homepage-below-hero .bn-close .bn-button {transition:none!important;}
 #borna-tesmino-footer .bf-links a {transition:none!important;}
}
