
/* --- ibn-push --- */
/* ibn.ge push prompt — top toast (the bottom edge belongs to the promo banner) */
.ibn-push-bar {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2147483600;
    width: min(420px, calc(100vw - 24px));
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 14px;
    padding: 18px;
    border-radius: 20px;
    background: #0b1733;
    background-image: radial-gradient(120% 140% at 100% 0%, rgba(139, 92, 246, .45) 0%, transparent 60%);
    color: #fff;
    box-shadow: 0 24px 60px rgba(11, 23, 51, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset;
    font-family: inherit;
    opacity: 0;
    transform: translateY(-16px) scale(.98);
    transition: opacity .3s ease, transform .35s cubic-bezier(.22, .8, .2, 1);
}

.ibn-push-bar[hidden] {
    display: none;
}

.ibn-push-bar.is-visible {
    opacity: 1;
    transform: none;
}

.ibn-push-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(255, 255, 255, .12);
    font-size: 22px;
    line-height: 1;
}

.ibn-push-copy {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ibn-push-bar-text {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
}

.ibn-push-sub {
    color: rgba(255, 255, 255, .7);
    font-size: 13px;
    line-height: 1.45;
}

.ibn-push-status {
    margin-top: 6px;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.45;
}

.ibn-push-status[hidden] {
    display: none;
}

.ibn-push-status.is-ok { color: #86efac; }
.ibn-push-status.is-err { color: #fca5a5; }

.ibn-push-actions {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ibn-push-subscribe-btn {
    flex: 1;
    height: 44px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #fff;
    color: #0b1733;
    font-family: inherit;
    font-size: 14.5px;
    font-weight: 800;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ibn-push-subscribe-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .25);
}

.ibn-push-subscribe-btn:disabled {
    opacity: .8;
    cursor: progress;
}

.ibn-push-close-btn {
    width: 44px;
    height: 44px;
    flex: 0 0 44px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    color: rgba(255, 255, 255, .85);
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s;
}

.ibn-push-close-btn:hover {
    background: rgba(255, 255, 255, .18);
    color: #fff;
}

@media (max-width: 575px) {
    .ibn-push-bar {
        top: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        padding: 16px;
        border-radius: 18px;
    }
}

/* --- ibn-dark-mode --- */
/* ============================================================
   IBN Dark Mode — Complete Fix
   Matches Benqu theme dark palette: #08090b, #0f1217, #0a0d12
   ============================================================ */


/* ── Post title (single post H1) ── */
[data-theme="dark"] .entry-title,
[data-theme="dark"] .pfy-post-title,
[data-theme="dark"] .entry-title a,
[data-theme="dark"] .pfy-post-title a,
[data-theme="dark"] .bnq-single-con .entry-title,
[data-theme="dark"] h1.entry-title,
[data-theme="dark"] .pfy_single_post_wrapper .entry-title {
    color: #fff !important;
}

/* ── Category badge on single post ── */
[data-theme="dark"] .benqu-cate-badge a,
[data-theme="dark"] .pfy-post-cat a {
    color: #fff !important;
}

/* ── Post meta (date, views, reading time) ── */
[data-theme="dark"] .pfy-single-post-meta,
[data-theme="dark"] .pfy-single-post-meta ul li,
[data-theme="dark"] .pfy-single-post-meta a,
[data-theme="dark"] .pfy-post-date,
[data-theme="dark"] .pfy-post-views,
[data-theme="dark"] .ibn-reading-time {
    color: #989898 !important;
}

/* ── Global resets ── */
[data-theme="dark"] .pfy-main-wrapper,
[data-theme="dark"] .benqu-page-interal,
[data-theme="dark"] .bnq-single-con,
[data-theme="dark"] .pfy_single_post_wrapper {
    background: #08090b !important;
}

/* ── Content text ── */
[data-theme="dark"] .entry-content,
[data-theme="dark"] .entry-content p,
[data-theme="dark"] .entry-content li,
[data-theme="dark"] .entry-content span,
[data-theme="dark"] .entry-content td,
[data-theme="dark"] .ibn-tool-content,
[data-theme="dark"] .ibn-tool-content p,
[data-theme="dark"] .ibn-tool-content li {
    color: #d4d0d0 !important;
}

[data-theme="dark"] .entry-content a,
[data-theme="dark"] .ibn-tool-content a {
    color: #60a5fa;
}

[data-theme="dark"] .entry-content strong,
[data-theme="dark"] .ibn-tool-content strong {
    color: #f0eded;
}

/* ── Headings ── */
[data-theme="dark"] .entry-content h2,
[data-theme="dark"] .entry-content h3,
[data-theme="dark"] .entry-content h4,
[data-theme="dark"] .ibn-tool-content h2,
[data-theme="dark"] .ibn-tool-content h3 {
    color: #fff !important;
}

/* ── TOC / სარჩევი ── */
[data-theme="dark"] .ibn-toc,
[data-theme="dark"] .ibn-toc-container,
[data-theme="dark"] #ibn-toc,
[data-theme="dark"] .toc-wrapper {
    background: #0f1217 !important;
    border-color: #1a1e23 !important;
}

[data-theme="dark"] .ibn-toc a,
[data-theme="dark"] .ibn-toc-container a,
[data-theme="dark"] .toc-wrapper a {
    color: #a9a6a6 !important;
}

[data-theme="dark"] .ibn-toc a:hover,
[data-theme="dark"] .toc-wrapper a:hover {
    color: #fff !important;
}

[data-theme="dark"] .ibn-toc-title,
[data-theme="dark"] .ibn-toc-header,
[data-theme="dark"] .toc-title {
    color: #fff !important;
}

/* ── Sidebar ── */
[data-theme="dark"] #secondary,
[data-theme="dark"] .widget-area,
[data-theme="dark"] .widget {
    background: transparent !important;
    color: #d4d0d0;
}

[data-theme="dark"] .widget-title,
[data-theme="dark"] .benqu-section-title-wrap p {
    color: #fff !important;
}

[data-theme="dark"] .ibn-sidebar-tool-item {
    border-color: #1a1e23;
    color: #d4d0d0;
    background: #0f1217;
}

[data-theme="dark"] .ibn-sidebar-tool-item:hover {
    border-color: #60a5fa;
    color: #60a5fa;
}

/* ── Breadcrumb ── */
[data-theme="dark"] .benqu-breadcrumb {
    background: #0a0d12;
}

/* ── Social sharing ── */
[data-theme="dark"] .social-box a,
[data-theme="dark"] .bnq-social-sharing a,
[data-theme="dark"] .copy-link-btn {
    background: #0f1217 !important;
    border-color: #1a1e23 !important;
    color: #a9a6a6 !important;
}

[data-theme="dark"] .social-box a:hover,
[data-theme="dark"] .bnq-social-sharing a:hover {
    color: #fff !important;
    border-color: #60a5fa !important;
}

/* ── Font size controls ── */
[data-theme="dark"] .ibn-font-controls a,
[data-theme="dark"] .pfy-font-size a {
    color: #a9a6a6 !important;
}

/* ── Comments ── */
[data-theme="dark"] .comments-area input,
[data-theme="dark"] .comments-area textarea,
[data-theme="dark"] .comment-form input,
[data-theme="dark"] .comment-form textarea {
    background: #0a0d12 !important;
    border-color: #1a1e23 !important;
    color: #eae4e4 !important;
}

/* ── Post cards / grids ── */
[data-theme="dark"] .pfy-post-item,
[data-theme="dark"] .pfy-post-content {
    background: #0f1217;
}

[data-theme="dark"] .pfy-post-excerpt,
[data-theme="dark"] .pfy-post-date {
    color: #989898;
}

/* ── Tools pages ── */
[data-theme="dark"] .ibn-tool-page,
[data-theme="dark"] .ibn-tool-article {
    background: #08090b;
}

[data-theme="dark"] .ibn-tool-title {
    color: #fff !important;
}

[data-theme="dark"] .ibn-tool-excerpt {
    color: #989898;
}

/* ── Tool form elements ── */
[data-theme="dark"] .ibn-form-group label {
    color: #d4d0d0;
}

[data-theme="dark"] .ibn-form-group input,
[data-theme="dark"] .ibn-form-group select {
    background: #0a0d12 !important;
    border-color: #1a1e23 !important;
    color: #eae4e4 !important;
}

[data-theme="dark"] .ibn-form-group input:focus,
[data-theme="dark"] .ibn-form-group select:focus {
    border-color: #60a5fa !important;
}

/* ── Tool result ── */
[data-theme="dark"] .ibn-result {
    background: #0f1217 !important;
    border-color: #1a1e23 !important;
}

[data-theme="dark"] .ibn-result-title {
    color: #fff;
}

[data-theme="dark"] .ibn-result-label {
    color: #989898;
}

[data-theme="dark"] .ibn-result-value {
    color: #eae4e4;
}

[data-theme="dark"] .ibn-result-row {
    border-color: #1a1e23;
}

/* ── Tools & Companies archive cards ── */
[data-theme="dark"] .ibn-tool-card {
    background: #0f1217 !important;
    border-color: #1a1e23 !important;
}

[data-theme="dark"] .ibn-tool-card:hover {
    border-color: #60a5fa !important;
}

[data-theme="dark"] .ibn-tool-card-title {
    color: #fff;
}

[data-theme="dark"] .ibn-tool-card-desc {
    color: #989898;
}

[data-theme="dark"] .ibn-tool-card-icon {
    background: #08090b;
    color: #60a5fa;
}

[data-theme="dark"] .ibn-tools-archive-title {
    color: #fff !important;
}

[data-theme="dark"] .ibn-tools-archive-desc {
    color: #989898;
}

/* ── Companies cards ── */
[data-theme="dark"] .ibn-company-card {
    background: #0f1217;
    border-color: #1a1e23;
}

[data-theme="dark"] .ibn-company-card:hover {
    border-color: #60a5fa;
}

[data-theme="dark"] .ibn-company-name {
    color: #fff;
}

[data-theme="dark"] .ibn-company-desc {
    color: #989898;
}

[data-theme="dark"] .ibn-company-logo {
    background: #08090b;
}

/* ── Company submission form ── */
[data-theme="dark"] .ibn-co-submit {
    background: #0f1217 !important;
    border-color: #1a1e23 !important;
}

[data-theme="dark"] .ibn-co-submit label {
    color: #d4d0d0;
}

[data-theme="dark"] .ibn-co-submit input {
    background: #0a0d12 !important;
    border-color: #1a1e23 !important;
    color: #eae4e4 !important;
}

/* ── Calculator feature checkboxes ── */
[data-theme="dark"] .ibn-feature-item {
    border-color: #1a1e23;
    color: #d4d0d0;
    background: #0f1217;
}

[data-theme="dark"] .ibn-feature-item:hover {
    border-color: #60a5fa;
}

[data-theme="dark"] .ibn-calc-step h3 {
    color: #fff;
}

/* ── Tables ── */
[data-theme="dark"] .entry-content table,
[data-theme="dark"] .entry-content th,
[data-theme="dark"] .entry-content td {
    border-color: #1a1e23 !important;
}

[data-theme="dark"] .entry-content th {
    background: #0f1217;
    color: #fff;
}

/* ── Blockquote ── */
[data-theme="dark"] .entry-content blockquote {
    background: #0f1217;
    border-left-color: #60a5fa;
    color: #d4d0d0;
}

/* ── Code ── */
[data-theme="dark"] .entry-content code,
[data-theme="dark"] .entry-content pre {
    background: #0a0d12;
    color: #eae4e4;
}

/* ── Newsletter box ── */
[data-theme="dark"] .bnq__cf-wrap {
    background: #0f1217;
}

/* ── SEO content on company category pages ── */
[data-theme="dark"] .ibn-company-seo-content {
    color: #d4d0d0;
}

[data-theme="dark"] .ibn-company-seo-content h2 {
    color: #fff !important;
}

/* ── Mobile menu ── */
[data-theme="dark"] .hamburger_menu {
    background: #08090b;
}

/* ── Related posts ── */
[data-theme="dark"] .related-post-wrap .pfy-post-item {
    background: #0f1217;
}

/* ── Author box ── */
[data-theme="dark"] .author-box,
[data-theme="dark"] .author-bio {
    background: #0f1217;
    border-color: #1a1e23;
    color: #d4d0d0;
}

/* ── Search results ── */
[data-theme="dark"] .search-results .pfy-post-item {
    background: #0f1217;
}

/* ── 404 ── */
[data-theme="dark"] .error-page {
    color: #d4d0d0;
}

/* --- ibn-header --- */
/* ============================================================
   ibn.ge header — topbar / brand+menu+search / market ticker
   ============================================================ */

.ibn-header {
    position: relative;
    z-index: 20;
}

/* ---------- Topbar ---------- */
.ibn-header .pfy-top-bar {
    background: #0b1733;
    padding: 0;
}

.ibn-header .ibn-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: 44px;
}

.ibn-header .pfy-top-left {
    display: flex;
    align-items: center;
    gap: 22px;
    min-width: 0;
    flex: 1;
}

.ibn-header .topbar-date span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    background: none;
    border: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ibn-header .topbar-date span i {
    color: rgba(255, 255, 255, .5);
    font-size: 13px;
}

.ibn-header .tp-news-ticker {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    flex: 1;
    position: relative;
    padding-left: 22px;
    overflow: hidden; /* the scrolling headlines otherwise peek out next to "Follow us" */
}

.ibn-header .tp-news-ticker::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, .14);
    transform: translateY(-50%);
}

.ibn-header .breaking-heading {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none !important;
    border: 0 !important;
    padding: 0 !important;
    color: #ff4d4f !important;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ibn-breaking-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ff4d4f;
    animation: ibn-pulse 2s infinite;
}

@keyframes ibn-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(255, 77, 79, .55); }
    70%  { box-shadow: 0 0 0 7px rgba(255, 77, 79, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 77, 79, 0); }
}

.ibn-header .tp-news-ticker a {
    color: rgba(255, 255, 255, .9);
    font-size: 13.5px;
    font-weight: 500;
}

.ibn-header .tp-news-ticker a:hover {
    color: #fff;
}

.ibn-header .pfy-top-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 0 0 auto;
}

.ibn-header .socila-title p {
    margin: 0;
    color: rgba(255, 255, 255, .6);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    white-space: nowrap;
}

.ibn-header .social-info {
    display: flex;
    align-items: center;
    gap: 4px;
}

.ibn-header .social-info a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    border-radius: 8px;
    background: none;
    color: rgba(255, 255, 255, .78);
    font-size: 14px;
    transition: background .2s, color .2s;
}

.ibn-header .social-info a:hover {
    background: rgba(255, 255, 255, .1);
    color: #fff;
}

/* ---------- Main bar: brand + menu + search ---------- */
.ibn-header .ibn-mainbar {
    background: #fff;
    border-bottom: 1px solid #eef0f6;
    box-shadow: none;
}

.ibn-header .ibn-mainbar-inner {
    display: flex;
    align-items: center;
    gap: 28px;
    min-height: 82px;
}

.ibn-header .pfy-logo {
    flex: 0 0 auto;
    gap: 16px;
    padding-right: 0;
    margin-right: 0;
}

.ibn-header .pfy-logo::after {
    display: none; /* theme divider; the tagline carries its own */
}

.ibn-header .pfy-logo .custom-logo-link,
.ibn-header .pfy-logo .site-logo {
    flex: 0 0 auto;
}

.ibn-header .pfy-logo img.custom-logo,
.ibn-header .pfy-logo .site-logo img {
    height: 48px;
    max-height: none;
    width: auto;
    max-width: none;
}

/* breaking headlines: clip the carousel so the next slide can't peek in */
.ibn-header .pfy-breakingnews {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.ibn-header .pfy-breakingnews .owl-stage-outer {
    overflow: hidden;
}

.ibn-header .pfy-breakingnews .owl-item:not(.active) {
    visibility: hidden;
}

/* WP Rocket delays scripts until the first interaction; until the carousel
   starts, show the first headline instead of an empty line */
.ibn-header .pfy-breakingnews ul:not(.owl-loaded) {
    display: block;
    margin: 0;
    padding: 0;
}

.ibn-header .pfy-breakingnews ul:not(.owl-loaded) > li {
    display: none;
}

.ibn-header .pfy-breakingnews ul:not(.owl-loaded) > li:first-child {
    display: block;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* Desktop side-panel trigger — same look as the mobile menu button */
.ibn-header .header-right .pfy-sidebarnav {
    flex: 0 0 44px;
    margin: 0;
}

.ibn-header .pfy-sidebarnav {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 14px;
    background: var(--color-primary);
    box-shadow: 0 8px 20px rgba(85, 65, 248, .28);
    cursor: pointer;
    line-height: 0;
    transition: transform .2s ease, box-shadow .2s ease;
}

/* the theme's SVG lines are hairline-thin; draw the same bars glyph the mobile button uses */
.ibn-header .pfy-sidebarnav img {
    display: none;
}

.ibn-header .pfy-sidebarnav::before {
    content: "\f0c9";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
    font-weight: 400;
    color: #fff;
    font-size: 18px;
    line-height: 1;
}

.ibn-header .pfy-sidebarnav:hover,
.ibn-header .pfy-sidebarnav:focus-visible {
    /* theme's span.pfy-sidebarnav:hover swaps in a pale tint */
    background: var(--color-primary);
    border-color: transparent;
    filter: brightness(1.08);
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(85, 65, 248, .38);
}

.ibn-tagline {
    position: relative;
    padding-left: 16px;
    max-width: 150px;
    color: #8a94a6;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.ibn-tagline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 1px;
    height: 34px;
    background: #e5e9f2;
    transform: translateY(-50%);
}

.ibn-header .mainmenu {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    justify-content: center;
}

.ibn-header .site-navigation .navigation {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    margin: 0;
}

.ibn-header .site-navigation .navigation > li {
    float: none;
    margin: 0 14px;
    white-space: nowrap;
}

.ibn-header .site-navigation .navigation > li > a {
    position: relative;
    padding: 30px 0;
    font-size: 15px;
    font-weight: 600;
    color: #0f172a;
}

.ibn-header .site-navigation .navigation > li > a::before {
    display: none;
}

.ibn-header .site-navigation .navigation > li.current-menu-item > a,
.ibn-header .site-navigation .navigation > li.current-menu-ancestor > a,
.ibn-header .site-navigation .navigation > li:hover > a {
    color: #0f172a;
}

.ibn-header .site-navigation .navigation > li > a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    height: 3px;
    border-radius: 999px;
    background: var(--color-primary);
    transform: scaleX(0);
    transition: transform .25s ease;
}

.ibn-header .site-navigation .navigation > li.current-menu-item > a::after,
.ibn-header .site-navigation .navigation > li.current-menu-ancestor > a::after,
.ibn-header .site-navigation .navigation > li:hover > a::after {
    transform: scaleX(1);
}

/* Search: pill field with a round primary button */
.ibn-header .header-right {
    flex: 0 0 auto;
    gap: 12px;
}

/* theme gives this wrapper its own grey box, smaller than the pill field — it showed behind it */
.ibn-header .bnq-search {
    background: none !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
}

.ibn-header .bnq-search form {
    position: relative;
    display: flex;
    align-items: center;
    margin: 0;
}

.ibn-header .bnq-search input[type="search"],
.ibn-header .bnq-search input[type="text"] {
    width: 300px;
    height: 48px;
    padding: 0 58px 0 22px;
    border: 1px solid #e8ecf4;
    border-radius: 999px;
    background: #f8fafc;
    font-size: 14px;
    color: #0f172a;
    box-shadow: none;
    transition: border-color .2s, background .2s;
}

.ibn-header .bnq-search input:focus {
    outline: none;
    background: #fff;
    border-color: rgba(85, 65, 248, .35);
}

.ibn-header .bnq-search button,
.ibn-header .bnq-search input[type="submit"] {
    position: absolute;
    right: 4px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: filter .2s;
}

.ibn-header .bnq-search button:hover {
    filter: brightness(1.08);
}

.ibn-header .bnq-search button i,
.ibn-header .bnq-search button svg {
    color: #fff;
    fill: #fff;
}

/* ---------- Market ticker (a strip of the header, gently scrolling) ---------- */
.ibn-ticker-wrap {
    position: relative;
    z-index: 5;
    background: #fff;
    border-bottom: 1px solid #eef0f6;
}

.ibn-header .ibn-mainbar {
    border-bottom-color: #f1f4f9;
}

.ibn-ticker {
    display: flex;
    align-items: center;
    gap: 16px;
    height: 46px;
}

.ibn-ticker-viewport {
    position: relative;
    flex: 1;
    min-width: 0;
    height: 100%;
    overflow: hidden;
    /* soft fade at both edges instead of a hard cut */
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 40px, #000 calc(100% - 40px), transparent 100%);
}

.ibn-ticker-marquee {
    display: flex;
    width: max-content;
    height: 100%;
    animation: ibn-ticker-scroll 60s linear infinite;
    will-change: transform;
}

.ibn-ticker:hover .ibn-ticker-marquee {
    animation-play-state: paused;
}

@keyframes ibn-ticker-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
    .ibn-ticker-marquee { animation: none; }
}

.ibn-ticker-track {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
}

.ibn-ticker-item {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 22px;
    white-space: nowrap;
}

.ibn-ticker-item::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #d5dbe6;
    transform: translate(50%, -50%);
}

.ibn-ticker-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    font-size: 15px;
    line-height: 1;
    border-radius: 50%;
}

.ibn-ticker-icon.is-mono {
    background: #e31937;
    color: #fff;
    font-size: 10px;
    font-weight: 800;
}

.ibn-ticker-icon.is-bitcoin { color: #f7931a; font-size: 17px; }
.ibn-ticker-icon.is-ethereum { color: #627eea; }
.ibn-ticker-icon.is-apple { color: #0f172a; }

.ibn-ticker-label {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}

.ibn-ticker-price {
    font-size: 12.5px;
    font-weight: 500;
    color: #475569;
    font-variant-numeric: tabular-nums;
}

.ibn-ticker-change {
    font-size: 12px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.ibn-ticker-change.is-up { color: #16a34a; }
.ibn-ticker-change.is-down { color: #dc2626; }
.ibn-ticker-change.is-flat { color: #94a3b8; }

.ibn-ticker-all {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding-left: 16px;
    border-left: 1px solid #eef0f6;
    color: var(--color-primary);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
}

.ibn-ticker-all:hover {
    color: var(--color-primary);
}

/* ---------- Responsive ---------- */
@media (max-width: 1399px) {
    .ibn-header .site-navigation .navigation > li { margin: 0 11px; }
    .ibn-header .bnq-search input[type="search"],
    .ibn-header .bnq-search input[type="text"] { width: 230px; }
}

@media (max-width: 1199px) {
    .ibn-tagline { display: none; }
    .ibn-header .ibn-mainbar-inner { gap: 18px; }
    .ibn-header .bnq-search input[type="search"],
    .ibn-header .bnq-search input[type="text"] { width: 190px; }
}

@media (max-width: 991px) {
    .ibn-header .ibn-mainbar-inner {
        min-height: 68px;
        gap: 12px;
    }
    .ibn-header .pfy-logo {
        width: auto !important;
        max-width: none !important;
        flex: 0 0 auto;
    }
    .ibn-header .pfy-sidebarnav { display: none; }
    .ibn-header .mainmenu {
        order: 3;
        flex: 0 0 auto;
        margin-left: auto;
    }
    .ibn-header .header-right {
        flex: 1 1 auto;
        justify-content: flex-end;
    }
    .ibn-header .bnq-search input[type="search"],
    .ibn-header .bnq-search input[type="text"] { width: 100%; min-width: 140px; height: 42px; }
    .ibn-header .bnq-search button { width: 34px; height: 34px; }
    .ibn-header .socila-title { display: none; }
}

@media (max-width: 767px) {
    .ibn-header .topbar-date { display: none; }
    .ibn-header .tp-news-ticker { padding-left: 0; }
    .ibn-header .tp-news-ticker::before { display: none; }
    .ibn-header .pfy-top-right { display: none; }
    .ibn-header .bnq-search { display: none; }
    .ibn-header .pfy-logo img.custom-logo,
    .ibn-header .pfy-logo .site-logo img { height: 38px; }
    .ibn-ticker { height: 40px; }
    .ibn-ticker-item { padding: 0 16px; }
    .ibn-ticker-all { display: none; }
    .ibn-ticker-marquee { animation-duration: 45s; }
}

/* ============================================================
   Mobile header: brand gets its tagline back, tighter bar
   ============================================================ */
@media (max-width: 991px) {
    .ibn-tagline {
        display: block;
        max-width: 150px;
        padding-left: 12px;
        font-size: 11.5px;
        line-height: 1.3;
        color: #64748b;
    }
    .ibn-tagline::before { height: 28px; }
    .ibn-header .pfy-logo { gap: 12px; }

    .ibn-header .hamburger_menu a {
        width: 44px;
        height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 0;
        border-radius: 14px;
        background: var(--color-primary);
        color: #fff;
        box-shadow: 0 8px 20px rgba(85, 65, 248, .28);
    }
    .ibn-header .hamburger_menu a i,
    .ibn-header .hamburger_menu a span {
        color: #fff;
        font-size: 18px;
        line-height: 1;
    }
    .ibn-header .hamburger_menu .icon.bar { border: 0; padding: 0; background: none; }
}

@media (max-width: 767px) {
    .ibn-header .ibn-mainbar-inner { min-height: 64px; }
    .ibn-header .pfy-logo img.custom-logo,
    .ibn-header .pfy-logo .site-logo img { height: 34px; }
}

/* ============================================================
   Mobile drawer
   ============================================================ */
.body-overlay {
    background: rgba(11, 23, 51, .45);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
    transition: opacity .35s ease, visibility .35s ease;
}

.body-overlay.active {
    opacity: 1;
}

.slide-bar.ibn-drawer {
    right: 0;
    width: min(88vw, 370px);
    padding: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 24px 0 0 24px;
    box-shadow: -24px 0 60px rgba(11, 23, 51, .22);
    transform: translateX(105%);
    transition: transform .45s cubic-bezier(.22, .8, .2, 1);
    overflow-y: auto;
    z-index: 1000;
}

.slide-bar.ibn-drawer.show {
    right: 0;
    transform: translateX(0);
}

.body-overlay { z-index: 999; }

/* head */
.ibn-drawer-head {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 16px 22px;
    background: linear-gradient(135deg, #0b1733 0%, #1b2a6b 100%);
}

.ibn-drawer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.ibn-drawer-logo {
    height: 34px;
    width: auto;
    padding: 5px 9px;
    border-radius: 10px;
    background: #fff;
}

.ibn-drawer-tagline {
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.3;
    max-width: 130px;
}

.slide-bar.ibn-drawer .close-mobile-menu {
    position: static;
    width: auto;
    height: auto;
    line-height: 1;
    background: none;
}

.slide-bar.ibn-drawer .close-mobile-menu a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .12);
    color: #fff;
    font-size: 18px;
    transition: background .2s;
}

.slide-bar.ibn-drawer .close-mobile-menu a:hover {
    background: rgba(255, 255, 255, .22);
}

/* body */
.slide-bar.ibn-drawer .side-mobile-menu {
    padding: 20px 20px 8px;
    flex: 1 0 auto;
}

.slide-bar.ibn-drawer .header-mobile-search {
    margin-bottom: 22px;
}

.slide-bar.ibn-drawer .header-mobile-search form {
    position: relative;
}

.slide-bar.ibn-drawer .header-mobile-search input {
    height: 48px;
    padding: 0 56px 0 18px;
    border: 1px solid #e8ecf4;
    border-radius: 999px;
    background: #f8fafc;
    font-size: 14px;
}

.slide-bar.ibn-drawer .header-mobile-search input:focus {
    outline: none;
    background: #fff;
    border-color: rgba(85, 65, 248, .35);
}

.slide-bar.ibn-drawer .header-mobile-search button {
    top: 4px;
    right: 4px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--color-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.ibn-drawer-label {
    margin: 0 0 8px 4px;
    color: #94a3b8;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.slide-bar.ibn-drawer #pfy-mobile-menu {
    margin: 0;
    padding: 0;
}

.slide-bar.ibn-drawer #pfy-mobile-menu > li {
    border: 0;
    margin-bottom: 4px;
}

.slide-bar.ibn-drawer #pfy-mobile-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 13px 44px 13px 16px;
    border: 0;
    border-radius: 14px;
    color: #0f172a;
    font-size: 15.5px;
    font-weight: 600;
    text-transform: none;
    transition: background .2s, color .2s;
}

.slide-bar.ibn-drawer #pfy-mobile-menu > li > a::after {
    content: "\f054";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free";
    font-weight: 300;
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    width: auto;
    height: auto;
    font-size: 12px;
    color: #cbd5e1;
    transition: color .2s, transform .2s;
}

.slide-bar.ibn-drawer #pfy-mobile-menu > li > a:hover,
.slide-bar.ibn-drawer #pfy-mobile-menu > li.current-menu-item > a {
    background: #eef2ff;
    color: var(--color-primary);
}

.slide-bar.ibn-drawer #pfy-mobile-menu > li > a:hover::after,
.slide-bar.ibn-drawer #pfy-mobile-menu > li.current-menu-item > a::after {
    color: var(--color-primary);
    transform: translate(3px, -50%);
}

.slide-bar.ibn-drawer #pfy-mobile-menu ul {
    padding: 2px 0 6px 14px;
}

.slide-bar.ibn-drawer #pfy-mobile-menu ul li a {
    padding: 9px 14px;
    border: 0;
    border-radius: 10px;
    font-size: 14px;
    color: #475569;
}

/* foot */
.ibn-drawer-foot {
    padding: 16px 20px 24px;
    border-top: 1px solid #eef0f6;
    background: #f8fafc;
}

.ibn-drawer-rates {
    display: grid;
    gap: 6px;
    margin-bottom: 16px;
}

.ibn-drawer-rate {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eef0f6;
    font-variant-numeric: tabular-nums;
}

.ibn-drawer-rate-label {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
}

.ibn-drawer-rate-price {
    font-size: 13px;
    color: #475569;
}

.ibn-drawer-rate-change {
    min-width: 58px;
    text-align: right;
    font-size: 12.5px;
    font-weight: 600;
}

.ibn-drawer-rate-change.is-up { color: #16a34a; }
.ibn-drawer-rate-change.is-down { color: #dc2626; }
.ibn-drawer-rate-change.is-flat { color: #94a3b8; }

.ibn-drawer-social {
    display: flex;
    gap: 8px;
    margin-bottom: 14px;
}

.ibn-drawer-social a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eef0f6;
    color: #475569;
}

.ibn-drawer-copy {
    margin: 0;
    color: #94a3b8;
    font-size: 12px;
}

/* floating dark-mode switch sits above everything; keep it out of the open drawer */
body.on-side .benqu-switch-box-wrap {
    opacity: 0;
    visibility: hidden;
}

/* keep the floating dark-mode switch out of the open side panel too */
body:has(.pfy-sidebar-wrap.active) .benqu-switch-box-wrap {
    opacity: 0;
    visibility: hidden;
}

/* ============================================================
   Saved posts — floating button + popup
   ============================================================ */
.ibn-saved-fab {
    position: fixed;
    right: 26px;
    bottom: 146px; /* between back-to-top and the dark-mode switch */
    z-index: 2147483100;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 16px;
    background: var(--color-primary);
    color: #fff;
    font-size: 18px;
    box-shadow: 0 12px 28px rgba(85, 65, 248, .38);
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
}

.ibn-saved-fab[hidden] { display: none; }

.ibn-saved-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px rgba(85, 65, 248, .45);
}

.ibn-saved-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 11.5px;
    font-weight: 800;
    line-height: 1;
}

.ibn-saved-fab.is-pulse {
    animation: ibn-saved-pulse .9s ease;
}

@keyframes ibn-saved-pulse {
    0%   { transform: scale(1); }
    30%  { transform: scale(1.18); box-shadow: 0 0 0 10px rgba(85, 65, 248, .18); }
    60%  { transform: scale(.96); }
    100% { transform: scale(1); }
}

.ibn-saved-toast {
    position: fixed;
    right: 88px;
    bottom: 152px;
    z-index: 2147483100;
    max-width: calc(100vw - 120px);
    padding: 10px 14px;
    border-radius: 12px;
    background: #0b1733;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    box-shadow: 0 12px 30px rgba(11, 23, 51, .3);
    opacity: 0;
    transform: translateX(8px);
    transition: opacity .25s ease, transform .25s ease;
}

.ibn-saved-toast[hidden] { display: none; }
.ibn-saved-toast.is-visible { opacity: 1; transform: none; }

.ibn-saved-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(92vw, 460px);
    height: fit-content;
    max-height: calc(100vh - 40px);
    padding: 0;
    border: 0;
    border-radius: 24px;
    background: transparent;
    overflow: visible;
}

.ibn-saved-dialog::backdrop {
    background: rgba(11, 23, 51, .5);
    -webkit-backdrop-filter: blur(4px);
            backdrop-filter: blur(4px);
}

.ibn-saved-dialog[open] {
    animation: ibn-hours-in .25s cubic-bezier(.22, .8, .2, 1);
}

@keyframes ibn-hours-in {
    from { opacity: 0; transform: translateY(12px) scale(.98); }
    to   { opacity: 1; transform: none; }
}

.ibn-saved-box {
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 40px);
    padding: 22px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 70px rgba(11, 23, 51, .3);
}

.ibn-saved-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.ibn-saved-head h3 {
    margin: 0 !important;
    color: #0f172a !important;
    font-size: 19px !important;
    font-weight: 800 !important;
}

.ibn-saved-note {
    margin: 4px 0 0 !important;
    color: #94a3b8;
    font-size: 12.5px;
}

.ibn-saved-close {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    color: #475569;
    font-size: 17px;
    cursor: pointer;
}

.ibn-saved-list {
    margin: 0 -8px;
    padding: 0;
    list-style: none;
    overflow-y: auto;
}

.ibn-saved-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 8px;
    border-radius: 14px;
    transition: background .2s;
}

.ibn-saved-item:hover {
    background: #f8fafc;
}

.ibn-saved-link {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none !important;
}

.ibn-saved-thumb {
    flex: 0 0 64px;
    width: 64px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    overflow: hidden;
    background: #eef2ff;
    color: var(--color-primary);
}

.ibn-saved-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ibn-saved-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.ibn-saved-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #0f172a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;
}

.ibn-saved-link:hover .ibn-saved-name {
    color: var(--color-primary);
}

.ibn-saved-date {
    color: #94a3b8;
    font-size: 12px;
}

.ibn-saved-remove {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 10px;
    background: none;
    color: #94a3b8;
    font-size: 15px;
    cursor: pointer;
}

.ibn-saved-remove:hover {
    background: #fee2e2;
    color: #dc2626;
}

.ibn-saved-empty {
    padding: 28px 10px;
    text-align: center;
    color: #64748b;
}

.ibn-saved-empty i {
    font-size: 30px;
    color: #cbd5e1;
    margin-bottom: 10px;
}

.ibn-saved-foot {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #eef0f6;
    text-align: right;
}

.ibn-saved-clear {
    border: 0;
    background: none;
    color: #94a3b8;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.ibn-saved-clear:hover {
    color: #dc2626;
}

@media (max-width: 767px) {
    .ibn-saved-fab {
        right: 14px;
        bottom: 206px; /* above the dark-mode switch; the promo banner owns the bottom */
        width: 46px;
        height: 46px;
        border-radius: 14px;
    }

    .ibn-saved-toast {
        right: 70px;
        bottom: 212px;
    }

    .ibn-saved-dialog {
        width: min(94vw, 460px);
    }

    .ibn-saved-box {
        padding: 18px;
    }
}

.ibn-saved-fab:focus:not(:focus-visible) {
    outline: none;
}

.ibn-saved-fab:focus-visible {
    outline: 3px solid rgba(85, 65, 248, .35);
    outline-offset: 3px;
}

/* Drawer: advertising contact button */
.slide-bar.ibn-drawer .ibn-drawer-ad {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0 6px;
    padding: 14px 16px;
    border: 0;
    border-radius: 18px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(139, 92, 246, .55) 0%, transparent 55%),
        linear-gradient(135deg, #1b2a6b 0%, #3b2fd9 60%, #5541f8 100%);
    color: #fff;
    font-family: inherit;
    text-align: left;
    cursor: pointer;
    box-shadow: 0 12px 28px rgba(59, 47, 217, .3);
}

.ibn-drawer-ad-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: rgba(255, 255, 255, .16);
    font-size: 18px;
}

.ibn-drawer-ad-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.ibn-drawer-ad-text strong {
    font-size: 14.5px;
    font-weight: 800;
    line-height: 1.3;
}

.ibn-drawer-ad-text small {
    color: rgba(255, 255, 255, .75);
    font-size: 12px;
}

.ibn-drawer-ad-arrow {
    font-size: 13px;
    opacity: .8;
}

/* back-to-top floats over the open drawer otherwise */
body.on-side .back-top-btn {
    opacity: 0 !important;
    visibility: hidden !important;
}

/* the contact dialog must stack above the drawer */
.ibn-ad-dialog {
    z-index: 2147483647;
}

/* ============================================================
   Ticker as a floating island (v3)
   ============================================================ */
.ibn-ticker-wrap {
    background: transparent;
    border-bottom: 0;
    padding: 14px 0 0;
}

.ibn-header .ibn-mainbar {
    border-bottom: 0;
}

/* on the homepage the island overlaps the hero image */
.ibn-ticker-wrap.is-front {
    margin-bottom: -38px;
}

.ibn-ticker {
    height: 60px;
    padding: 0 10px;
    gap: 0;
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 18px;
    box-shadow: 0 14px 36px rgba(15, 23, 42, .08);
}

.ibn-ticker-viewport {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 24px, #000 calc(100% - 24px), transparent 100%);
}

.ibn-ticker-item {
    gap: 10px;
    padding: 0 26px;
}

/* thin vertical dividers instead of dots */
.ibn-ticker-item::after {
    width: 1px;
    height: 24px;
    border-radius: 0;
    background: #eef0f6;
    transform: translate(0, -50%);
}

/* round badges like the mockup */
.ibn-ticker-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    overflow: hidden;
    font-size: 15px;
}

.ibn-ticker-icon.is-flag {
    font-size: 38px;
    line-height: 30px;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06);
}

.ibn-ticker-icon.is-bitcoin {
    background: #f7931a;
    color: #fff;
    font-size: 15px;
}

.ibn-ticker-icon.is-ethereum {
    background: #eef2ff;
    color: #627eea;
    font-size: 15px;
}

.ibn-ticker-icon.is-mono {
    background: #e31937;
    font-size: 12px;
}

.ibn-ticker-icon.is-apple {
    background: #f1f5f9;
    color: #0f172a;
    font-size: 15px;
}

.ibn-ticker-label {
    font-size: 14px;
}

.ibn-ticker-price {
    font-size: 14px;
    color: #334155;
}

.ibn-ticker-change {
    font-size: 13.5px;
}

@media (max-width: 767px) {
    .ibn-ticker-wrap { padding-top: 10px; }
    .ibn-ticker-wrap.is-front { margin-bottom: -26px; }
    .ibn-ticker { height: 50px; border-radius: 14px; padding: 0 4px; }
    .ibn-ticker-item { padding: 0 16px; gap: 8px; }
    .ibn-ticker-icon { width: 24px; height: 24px; font-size: 12px; }
    .ibn-ticker-icon.is-flag { font-size: 30px; line-height: 24px; }
    .ibn-ticker-label, .ibn-ticker-price { font-size: 13px; }
    .ibn-ticker-change { font-size: 12.5px; }
}

/* the homepage hero is not a full-width band here, so overlapping hides the sidebar tabs */
.ibn-ticker-wrap.is-front {
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .ibn-ticker-wrap.is-front { margin-bottom: 0; }
}

/* island straddles the header edge: top half on the header's white, bottom half on the page */
.ibn-ticker-wrap {
    padding-top: 2px;
    background: linear-gradient(to bottom, #fff 0, #fff 50%, transparent 50%);
}

@media (max-width: 767px) {
    .ibn-ticker-wrap { padding-top: 2px; }
}

/* ============================================================
   Ticker grows out of the header: flat top, no top line,
   concave flared top corners, soft shadow only below
   ============================================================ */
.ibn-ticker-wrap {
    padding-top: 0;
    background: transparent;
}

.ibn-ticker {
    position: relative;
    border: 0;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 18px 30px -18px rgba(15, 23, 42, .16);
}

.ibn-ticker::before,
.ibn-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 22px;
    height: 22px;
    pointer-events: none;
}

.ibn-ticker::before {
    left: -22px;
    background: radial-gradient(circle at 0 100%, transparent 21.5px, #fff 22px);
}

.ibn-ticker::after {
    right: -22px;
    background: radial-gradient(circle at 100% 100%, transparent 21.5px, #fff 22px);
}

@media (max-width: 767px) {
    .ibn-ticker { border-radius: 0 0 16px 16px; }
    .ibn-ticker::before, .ibn-ticker::after { width: 14px; height: 14px; }
    .ibn-ticker::before { left: -14px; background: radial-gradient(circle at 0 100%, transparent 13.5px, #fff 14px); }
    .ibn-ticker::after { right: -14px; background: radial-gradient(circle at 100% 100%, transparent 13.5px, #fff 14px); }
}

/* ── Market movers card (homepage TradingView hotlists) ─────────────── */
.ibn-movers {
    background: #fff;
    border: 1px solid #eef0f6;
    border-radius: 22px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 12px 32px -18px rgba(15, 23, 42, .18);
    padding: 16px 14px 10px;
    overflow: hidden;
}
.ibn-movers-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 4px 14px;
    border-bottom: 1px solid #eef0f6;
    margin-bottom: 6px;
}
.ibn-movers-icon {
    flex: 0 0 38px;
    height: 38px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(85, 65, 248, .1);
    color: var(--color-primary, #5541f8);
    font-size: 16px;
}
.ibn-movers-heading { min-width: 0; flex: 1; line-height: 1.25; }
.ibn-movers-heading strong { display: block; font-size: 15px; font-weight: 700; color: #12172b; }
.ibn-movers-heading small { display: block; font-size: 12px; color: #64748b; margin-top: 2px; }
.ibn-movers-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: #16a34a;
    background: rgba(22, 163, 74, .1);
    padding: 4px 10px;
    border-radius: 999px;
}
.ibn-movers-live i {
    width: 6px; height: 6px; border-radius: 50%;
    background: currentColor;
    animation: ibnMoversPulse 1.8s ease-out infinite;
}
@keyframes ibnMoversPulse {
    0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .5); }
    100% { box-shadow: 0 0 0 7px rgba(22, 163, 74, 0); }
}
.ibn-movers-frame { position: relative; height: 470px; }
.ibn-movers-frame .tradingview-widget-container,
.ibn-movers-frame .tradingview-widget-container__widget,
.ibn-movers-frame iframe { width: 100% !important; height: 100% !important; border: 0 !important; display: block; }
.ibn-movers-skeleton { position: absolute; inset: 8px 4px; display: grid; grid-template-rows: 150px repeat(3, 1fr); gap: 12px; }
.ibn-movers-skeleton span {
    border-radius: 12px;
    background: linear-gradient(90deg, #f3f4f8 0%, #fafbfd 50%, #f3f4f8 100%);
    background-size: 200% 100%;
    animation: ibnMoversShimmer 1.4s linear infinite;
}
.ibn-movers-frame .tradingview-widget-container ~ .ibn-movers-skeleton { display: none; }
@keyframes ibnMoversShimmer { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) {
    .ibn-movers-live i, .ibn-movers-skeleton span { animation: none; }
}

/* ── Sticky header carries the ticker island ─────────────────────────
   #stickyHeader gets .stickyHeader after 300px of scroll. Instead of pinning
   the bar alone, the whole <header> is pinned (shifted up by the top bar), so
   bar + island stay one shape and one drop-shadow can follow its outline.
   The wrapper keeps the header's height so the page doesn't jump.
   Heights come from --ibn-head-h / --ibn-top-h (set by JS in ibn_ticker_render). */
.pfy-main-wrapper:has(> .ibn-header #stickyHeader.stickyHeader) {
    padding-top: var(--ibn-head-h, 191px);
}
.ibn-header:has(#stickyHeader.stickyHeader) {
    position: fixed;
    top: calc(-1 * var(--ibn-top-h, 45px));
    left: 0;
    right: 0;
    z-index: 44;
    animation: 300ms ease-in-out 0s normal none 1 running ibnHeadDown;
}
.ibn-header #stickyHeader.stickyHeader {
    position: relative;
    top: auto;
    margin-top: 0;
    animation: none;
    box-shadow: none;
}
.admin-bar .ibn-header:has(#stickyHeader.stickyHeader) {
    top: calc(32px - var(--ibn-top-h, 45px));
}
@media (max-width: 782px) {
    .admin-bar .ibn-header:has(#stickyHeader.stickyHeader) {
        top: calc(-1 * var(--ibn-top-h, 45px));
    }
}
@keyframes ibnHeadDown {
    from { transform: translateY(-40px); opacity: 0; }
    to { transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
    .ibn-header:has(#stickyHeader.stickyHeader) { animation: none; }
}

/* ── Lifted header: one soft shadow along the whole cut-out outline ──── */
.ibn-header {
    filter: drop-shadow(0 14px 22px rgba(15, 23, 42, .13)) drop-shadow(0 3px 5px rgba(15, 23, 42, .06));
}
.ibn-header .ibn-ticker {
    box-shadow: none;
}

/* --- ibn-footer --- */
/* ============================================================
   ibn.ge footer — CTA band / 4 columns / watermark / bottom bar
   ============================================================ */

.pfy-site-footer.ibn-footer {
    position: relative;
    /* own stacking context: the header lives inside .pfy-main-wrapper (z-index 1), so footer
       children with z-index 1 later in the DOM used to paint over the sticky header */
    z-index: 0;
    margin-top: 110px;
    padding: 0 !important;
    background: #070b1a !important;
    color: #94a3b8;
    overflow: visible;
}

/* ---------- CTA band (overlaps the page above) ---------- */
.ibn-footer-cta {
    position: relative;
    top: -64px;
    margin-bottom: -64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 40px 48px;
    border-radius: 28px;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(139, 92, 246, .55) 0%, transparent 55%),
        radial-gradient(90% 120% at 0% 100%, rgba(59, 96, 254, .45) 0%, transparent 60%),
        linear-gradient(135deg, #1b2a6b 0%, #3b2fd9 55%, #5541f8 100%);
    box-shadow: 0 30px 70px rgba(59, 47, 217, .35);
    overflow: hidden;
}

.ibn-footer-cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 18px 18px;
    -webkit-mask-image: linear-gradient(to left, #000 0%, transparent 70%);
            mask-image: linear-gradient(to left, #000 0%, transparent 70%);
    pointer-events: none;
}

.ibn-footer-cta-text {
    position: relative;
    z-index: 1;
    max-width: 560px;
}

.ibn-footer-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.ibn-footer-cta-title {
    margin: 0;
    color: #fff !important;
    font-size: 34px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em;
}

.ibn-footer-stats {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ibn-footer-stat {
    display: flex;
    flex-direction: column;
    min-width: 130px;
    padding: 16px 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
    text-decoration: none !important;
    transition: transform .25s ease, background .25s ease;
}

.ibn-footer-stat:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, .18);
}

.ibn-footer-stat strong {
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.ibn-footer-stat span {
    margin-top: 6px;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    font-weight: 500;
}

/* ---------- Main columns ---------- */
.ibn-footer-main {
    position: relative;
    padding: 72px 0 40px;
    overflow: hidden;
}

.ibn-footer-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.35fr .8fr 1.2fr 1fr;
    gap: 48px;
}

.ibn-footer-logo {
    display: inline-block;
    margin-bottom: 14px;
    padding: 8px 14px;
    border-radius: 14px;
    background: #fff;
    line-height: 0;
}

.ibn-footer-logo img {
    height: 38px;
    width: auto;
}

.ibn-footer-tagline {
    margin: 0 0 10px;
    color: #e2e8f0;
    font-size: 15px;
    font-weight: 700;
}

.ibn-footer-about {
    margin: 0 0 20px;
    max-width: 320px;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.7;
}

.ibn-footer-social {
    display: flex;
    gap: 8px;
}

.ibn-footer-social a {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    color: #cbd5e1 !important;
    transition: all .2s;
}

.ibn-footer-social a:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff !important;
}

.ibn-footer-title {
    position: relative;
    margin: 0 0 22px !important;
    padding-left: 14px;
    color: #fff !important;
    font-size: 15px !important;
    font-weight: 800 !important;
    letter-spacing: .01em;
}

.ibn-footer-title::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 16px;
    border-radius: 999px;
    background: var(--color-primary);
    transform: translateY(-50%);
}

.ibn-footer-links {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ibn-footer-links li {
    margin-bottom: 12px;
}

.ibn-footer-links a {
    position: relative;
    color: #94a3b8 !important;
    font-size: 14.5px;
    font-weight: 500;
    text-decoration: none !important;
    transition: color .2s, padding .2s;
}

.ibn-footer-links a:hover {
    color: #fff !important;
    padding-left: 6px;
}

.ibn-footer-posts {
    margin: 0;
    padding: 0;
    list-style: none;
}

.ibn-footer-posts li {
    padding: 0 0 14px;
    margin: 0 0 14px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.ibn-footer-posts li:last-child {
    margin-bottom: 0;
    border-bottom: 0;
}

.ibn-footer-posts a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #e2e8f0 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.45;
    text-decoration: none !important;
    transition: color .2s;
}

.ibn-footer-posts a:hover {
    color: #a5b4fc !important;
}

.ibn-footer-posts time {
    display: block;
    margin-top: 6px;
    color: #64748b;
    font-size: 12px;
}

/* rates reuse the drawer rows, restyled for the dark ground */
.ibn-footer-rates {
    display: grid;
    gap: 8px;
}

.ibn-footer .ibn-footer-rate {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 10px;
    padding: 11px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .07);
    font-variant-numeric: tabular-nums;
}

.ibn-footer .ibn-footer-rate .ibn-drawer-rate-label { color: #fff; font-size: 13px; font-weight: 700; }
.ibn-footer .ibn-footer-rate .ibn-drawer-rate-price { color: #cbd5e1; font-size: 13px; }
.ibn-footer .ibn-footer-rate .ibn-drawer-rate-change { min-width: 56px; text-align: right; font-size: 12.5px; font-weight: 600; }
.ibn-footer .ibn-footer-rate .is-up { color: #4ade80; }
.ibn-footer .ibn-footer-rate .is-down { color: #f87171; }
.ibn-footer .ibn-footer-rate .is-flat { color: #94a3b8; }

/* ---------- Giant outlined watermark ---------- */
.ibn-footer-watermark {
    position: absolute;
    left: 50%;
    bottom: -0.28em;
    transform: translateX(-50%);
    font-size: clamp(160px, 26vw, 420px);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, .06);
    background: linear-gradient(180deg, rgba(85, 65, 248, .14) 0%, transparent 70%);
    -webkit-background-clip: text;
            background-clip: text;
    white-space: nowrap;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

/* ---------- Bottom bar ---------- */
.ibn-footer-bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255, 255, 255, .07);
    background: rgba(0, 0, 0, .25);
}

.ibn-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 64px;
}

.ibn-footer-copy p {
    margin: 0 !important;
    color: #64748b !important;
    font-size: 13px !important;
}

.ibn-footer-copy a,
.ibn-footer-copy a strong {
    color: #a5b4fc !important;
}

.ibn-footer-nav ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ibn-footer-nav a {
    color: #94a3b8 !important;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none !important;
}

.ibn-footer-nav a:hover {
    color: #fff !important;
}

/* ---------- Responsive ---------- */
@media (max-width: 1199px) {
    .ibn-footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
    .ibn-footer-cta { flex-direction: column; align-items: flex-start; }
    .ibn-footer-stats { justify-content: flex-start; }
}

@media (max-width: 767px) {
    .pfy-site-footer.ibn-footer { margin-top: 90px; }
    .ibn-footer-cta { padding: 28px 22px; border-radius: 22px; top: -48px; margin-bottom: -48px; }
    .ibn-footer-cta-title { font-size: 24px !important; }
    .ibn-footer-stats { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .ibn-footer-stat { min-width: 0; padding: 12px; border-radius: 14px; }
    .ibn-footer-stat strong { font-size: 22px; }
    .ibn-footer-stat span { font-size: 11.5px; }
    .ibn-footer-main { padding: 48px 0 28px; }
    .ibn-footer-grid { grid-template-columns: 1fr; gap: 30px; }
    /* shorter on phones: categories in two columns, posts already fill the page above */
    .ibn-footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
    .ibn-footer-links li { margin: 0; }
    .ibn-footer-grid > .ibn-footer-col:nth-child(3) { display: none; }
    .ibn-footer-rates { grid-template-columns: 1fr 1fr; }
    .ibn-footer .ibn-footer-rate { grid-template-columns: 1fr; gap: 2px; padding: 10px 12px; }
    .ibn-footer .ibn-footer-rate .ibn-drawer-rate-change { text-align: left; min-width: 0; }
    .ibn-footer-bottom-inner { flex-direction: column; justify-content: center; padding: 18px 0 84px; text-align: center; }
    .ibn-footer-nav ul { justify-content: center; }
}

/* ============================================================
   Advertising link + contact popup
   ============================================================ */
.ibn-footer-bottom-right {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.ibn-ad-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 16px;
    border: 1px solid rgba(165, 180, 252, .35);
    border-radius: 999px;
    background: rgba(85, 65, 248, .16);
    color: #c7d2fe;
    font-family: inherit;
    font-size: 13px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s, color .2s, transform .2s;
}

.ibn-ad-link:hover {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: #fff;
    transform: translateY(-1px);
}

.ibn-ad-dialog {
    position: fixed;
    inset: 0;
    margin: auto;
    width: min(92vw, 480px);
    height: fit-content;
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    border-radius: 28px;
    background: transparent;
    overflow: visible;
}

.ibn-ad-dialog::backdrop {
    background: rgba(7, 11, 26, .6);
    -webkit-backdrop-filter: blur(5px);
            backdrop-filter: blur(5px);
}

.ibn-ad-dialog[open] {
    animation: ibn-ad-in .3s cubic-bezier(.22, .8, .2, 1);
}

@keyframes ibn-ad-in {
    from { opacity: 0; transform: translateY(16px) scale(.97); }
    to   { opacity: 1; transform: none; }
}

.ibn-ad-box {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 40px 90px rgba(7, 11, 26, .45);
}

.ibn-ad-close {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, .16);
    color: #fff;
    font-size: 17px;
    cursor: pointer;
    transition: background .2s;
}

.ibn-ad-close:hover {
    background: rgba(255, 255, 255, .28);
}

.ibn-ad-hero {
    position: relative;
    padding: 34px 30px 30px;
    text-align: center;
    color: #fff;
    background:
        radial-gradient(120% 140% at 100% 0%, rgba(139, 92, 246, .6) 0%, transparent 55%),
        linear-gradient(135deg, #1b2a6b 0%, #3b2fd9 60%, #5541f8 100%);
}

.ibn-ad-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .12) 1px, transparent 1px);
    background-size: 16px 16px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 85%);
            mask-image: linear-gradient(to bottom, #000, transparent 85%);
    pointer-events: none;
}

.ibn-ad-icon {
    position: relative;
    z-index: 1;
    width: 58px;
    height: 58px;
    margin-bottom: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255, 255, 255, .16);
    font-size: 24px;
}

.ibn-ad-hero h3 {
    position: relative;
    z-index: 1;
    margin: 0 0 8px !important;
    color: #fff !important;
    font-size: 22px !important;
    font-weight: 900 !important;
    line-height: 1.3 !important;
}

.ibn-ad-hero p {
    position: relative;
    z-index: 1;
    margin: 0 !important;
    color: rgba(255, 255, 255, .82) !important;
    font-size: 14px;
    line-height: 1.6;
}

.ibn-ad-actions {
    display: grid;
    gap: 10px;
    padding: 22px;
}

.ibn-ad-card {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    border: 1px solid #eef0f6;
    border-radius: 18px;
    transition: border-color .2s, box-shadow .2s;
}

.ibn-ad-card:hover {
    border-color: rgba(85, 65, 248, .3);
    box-shadow: 0 12px 30px rgba(59, 47, 217, .1);
}

.ibn-ad-main {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 6px;
    border-radius: 12px;
    text-decoration: none !important;
}

.ibn-ad-card-icon {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: var(--color-primary);
    color: #fff;
    font-size: 19px;
}

.ibn-ad-card-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.ibn-ad-card-text small {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 600;
}

.ibn-ad-card-text strong {
    color: #0f172a;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: .01em;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ibn-ad-main:hover .ibn-ad-card-text strong {
    color: var(--color-primary);
}

.ibn-ad-copy {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 12px;
    background: #f1f5f9;
    color: #64748b;
    font-size: 16px;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.ibn-ad-copy:hover {
    background: #eef2ff;
    color: var(--color-primary);
}

.ibn-ad-copy .ibn-copy-ok { display: none; }
.ibn-ad-copy.is-done { background: #dcfce7; color: #16a34a; }
.ibn-ad-copy.is-done .ibn-copy-idle { display: none; }
.ibn-ad-copy.is-done .ibn-copy-ok { display: inline; }

.ibn-ad-foot {
    margin: 0 !important;
    padding: 10px 22px 22px;
    color: #94a3b8 !important;
    font-size: 12.5px;
    text-align: center;
}

@media (max-width: 767px) {
    .ibn-footer-bottom-right { justify-content: center; gap: 14px; }
    .ibn-ad-hero { padding: 30px 22px 24px; }
    .ibn-ad-hero h3 { font-size: 20px !important; }
    .ibn-ad-actions { padding: 16px; }
    .ibn-ad-card-text strong { font-size: 16px; }
}

/* the fixed INFINITY promo banner (up to ~110px tall) sits over the page bottom;
   leave room so the bottom bar (copyright, ad link, footer menu) can scroll above it */
.ibn-footer-bottom {
    padding-bottom: 120px;
}

@media (max-width: 767px) {
    .ibn-footer-bottom { padding-bottom: 96px; }
    .ibn-footer-bottom-inner { padding-bottom: 18px; }
}

/* --- ibn-home --- */
/* =========================================================================
   მთავარი გვერდი — front-page.php-ის განლაგება.
   ეს ფაილი ცვლის Elementor-ის სტილებს (frontend.min.css, post-8.css,
   post-1770.css). ბარათების, ტაბების და სექციის სათაურის გაფორმება
   უცვლელად benqu-style.css-იდან მოდის — აქ მხოლოდ განლაგებაა.
   ========================================================================= */

/* ---------- ზედა სექცია: ჰერო + ორი სიახლე + გვერდითი სვეტი ---------- */
.ibn-home-top {
	padding: 16px 0 30px;
}

.ibn-home-row {
	display: flex;
	flex-wrap: wrap;
	max-width: 1320px;
	margin: 0 auto;
}

.ibn-home-main {
	width: 66.105%;
	padding: 0 12px;
}

.ibn-home-side {
	width: 33.561%;
	padding: 0 12px 0 13px;
}

/* ---------- ჰერო ---------- */
.ibn-hero {
	position: relative;
	margin-bottom: 20px;
}

.ibn-hero img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: 500px;
	object-fit: cover;
	object-position: center center;
	border-radius: 10px;
}

.ibn-hero-title {
	position: absolute;
	top: 28px;
	left: 0;
	right: 0;
	margin: 0;
	padding: 0 12px;
	text-align: center;
	font-size: 47px;
	line-height: 1.25;
	color: #fff;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .35);
}

/* ---------- გვერდითი სვეტი ---------- */
.ibn-home-side .ibn-home-tabs {
	padding-bottom: 30px;
	margin-bottom: 20px;
}

/* ---------- ტექსტი + სურათი (ორი სარედაქციო ბლოკი) ---------- */
.ibn-home-band {
	padding: 10px;
}

.ibn-home-band-inner {
	display: flex;
	flex-wrap: nowrap;
	max-width: 1140px;
	margin: 0 auto;
}

.ibn-home-band-wide .ibn-home-band-inner {
	max-width: 1320px;
}

.ibn-home-band-text {
	width: 60%;
	flex: 0 0 auto;
	padding: 10px;
}

.ibn-home-band-wide .ibn-home-band-text {
	justify-content: center;
	display: flex;
	flex-direction: column;
}

.ibn-home-band-text h2 {
	margin: 0 0 20px;
}

.ibn-home-band-text p {
	margin: 0;
	/* იგივე შრიფტის სტეკი, რაც აქამდე იყო — ტექსტი ზუსტად ისევე ეწყობა. */
	font-family: Roboto, sans-serif;
}

.ibn-home-band-media {
	padding: 10px;
	text-align: center;
}

.ibn-home-band-media-33 {
	width: 33%;
}

.ibn-home-band-media-50 {
	width: 50%;
}

.ibn-home-band-media img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

/* ---------- ბოლო ბლოკი: სათაური + 9 სიახლე ---------- */
.ibn-home-feed {
	padding: 80px 0 130px;
}

.ibn-home-feed-inner {
	max-width: 1320px;
	margin: 0 auto;
	padding: 0 12px;
}

.ibn-home-feed-head {
	margin-bottom: 20px;
}

/* ---------- რესპონსივი ---------- */
@media (max-width: 1024px) {
	.ibn-home-main,
	.ibn-home-side {
		width: 100%;
	}
}

@media (max-width: 767px) {
	.ibn-home-band-inner {
		flex-wrap: wrap;
	}

	.ibn-home-band-text,
	.ibn-home-band-media {
		width: 100%;
	}

	.ibn-home-feed {
		padding: 0;
	}
}
