/* Editorial surfaces inherit the storefront's glass, spacing and icon system. */
.tp-blog-grid-area, .tp-postbox-details-area { padding-bottom: 64px; }
.tp-blog-grid-top { align-items: center; flex-wrap: wrap; gap: 16px; margin-bottom: 26px !important; }
.tp-blog-grid-result p { margin: 0; color: #4b626a; }
.tp-blog-grid-tab .nav { gap: 6px; border: 0; }
.tp-blog-grid-tab .nav-link { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 12px; color: #3b5965; background: #ffffffb8; }
.tp-blog-grid-tab svg { width: 18px; height: 18px; }
.tp-blog-grid-tab .nav-link.active { background: var(--elbana-red); color: white; }
.tp-blog-grid-item, .tp-blog-list-item { display: flex !important; flex-direction: column; height: calc(100% - 30px); padding: 12px; border: 0; border-radius: 24px; background: #ffffffc9; box-shadow: 0 8px 28px #17313b06; overflow: hidden; }
.tp-blog-grid-thumb, .tp-blog-list-thumb { flex-shrink: 0; margin-bottom: 0 !important; border-radius: 16px; overflow: hidden; }
.tp-blog-grid-thumb img, .tp-blog-list-thumb img { width: 100%; aspect-ratio: 16/10; height: auto; object-fit: cover; }
.tp-blog-grid-content { display: flex; flex-direction: column; flex: 1; min-width: 0; padding: 20px 10px 12px; }
.tp-blog-grid-meta { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; font-size: 12px; color: #52676f; }
.tp-blog-grid-meta > span { display: inline-flex; align-items: center; gap: 5px; margin: 0; }
.tp-blog-grid-meta svg { width: 17px; height: 17px; flex-shrink: 0; }
.tp-blog-grid-title { margin: 0 0 12px; font-size: clamp(19px, 1.6vw, 24px); line-height: 1.55; font-weight: 600; white-space: normal; overflow-wrap: anywhere; text-align: start; }
.tp-blog-grid-title[dir=auto], .tp-sidebar-blog-title[dir=auto], .tp-postbox-details-title[dir=auto], .tp-blog-grid-content > p[dir=auto] { unicode-bidi: plaintext; }
.tp-blog-grid-content > p { margin: 0 0 20px; font-size: 15px; line-height: 1.9; color: #4b626a; text-align: start; }
.tp-blog-grid-btn { margin-top: auto; }
.tp-blog-grid-btn a { display: inline-flex; gap: 10px; align-items: center; min-height: 44px; color: var(--elbana-red); font-weight: 600; }
.tp-blog-list-item { flex-direction: row; align-items: stretch; gap: 12px; height: auto; margin-bottom: 22px; }
.tp-blog-list-thumb { flex: 0 0 36%; width: 36%; }
.tp-blog-list-thumb img { height: 100%; min-height: 230px; }
.tp-blog-list-content { flex: 1; min-width: 0; padding: 0; }
.tp-blog-list-content .tp-blog-grid-content { height: 100%; }
.tp-sidebar-wrapper { margin-inline: 0 !important; padding-inline: 14px 0; }
.tp-sidebar-widget { margin-bottom: 20px !important; padding: 22px; border-radius: 22px; background: #ffffffb8; }
.tp-sidebar-widget-title { margin-bottom: 18px; font-size: 20px; line-height: 1.4; }
.tp-sidebar-search-input { display: flex; position: relative; }
.tp-sidebar-search-input input { height: 48px; padding-inline: 14px 52px; border-radius: 12px; background: #f3f6f6; border-color: #d7e1e3; }
.tp-sidebar-search-input button { position: absolute; inset-inline-end: 0; inset-inline-start: auto; top: 0; width: 48px; height: 48px; color: var(--elbana-red); }
.tp-sidebar-blog-item { gap: 12px; margin-bottom: 18px !important; padding: 0; border: 0; }
.tp-sidebar-blog-item:last-child { margin-bottom: 0; }
.tp-sidebar-blog-thumb { flex: 0 0 64px; width: 64px; margin: 0 !important; }
.tp-sidebar-blog-thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.tp-sidebar-blog-content { min-width: 0; }
.tp-sidebar-blog-title { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; line-height: 1.7; margin: 4px 0 0; text-align: start; }
.tp-sidebar-blog-meta { color: #52676f; font-size: 11px; }
.widget_categories a { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding-block: 10px; }
.tp-postbox-details-top { max-width: 950px; padding-block: 10px 20px; }
.tp-postbox-details-title { font-size: clamp(28px, 3.3vw, 46px); line-height: 1.5; letter-spacing: -.02em; text-align: start; overflow-wrap: anywhere; }
.tp-postbox-details-meta { display: flex; gap: 12px 22px; flex-wrap: wrap; margin-bottom: 8px !important; color: #52676f; }
.tp-postbox-details-meta span { display: inline-flex; align-items: center; gap: 6px; margin: 0; }
.tp-postbox-details-meta svg { width: 18px; height: 18px; }
.tp-postbox-details-content { padding: clamp(20px, 3.2vw, 44px); border-radius: 26px; background: #ffffffd9; }
.elbana-article-body { font-size: 17px; line-height: 1.95; color: #28434e; overflow-wrap: anywhere; }
.elbana-article-body[dir=rtl], .tp-blog-grid-title[dir=auto], .tp-postbox-details-title[dir=auto], .tp-sidebar-blog-title[dir=auto] { font-family: var(--elbana-font); letter-spacing: normal; }
.elbana-article-body > * { max-width: 100%; }
.elbana-article-body h2 { margin-top: 36px; margin-bottom: 14px; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.6; }
.elbana-article-body h3 { margin-top: 28px; margin-bottom: 10px; line-height: 1.6; }
.elbana-article-body p, .elbana-article-body li { line-height: 1.95; }
.elbana-article-body img { max-width: 100%; height: auto; border-radius: 16px; }
.elbana-article-body figure { margin-inline: 0; }
.elbana-article-body table { display: block; max-width: 100%; overflow-x: auto; }
.elbana-article-body a { color: #a80a2f; text-underline-offset: 4px; }
.tp-postbox-related-area { margin-top: 40px !important; padding-top: 40px !important; background: transparent !important; }
.tp-postbox-details-tags, .tp-product-details-social { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.tp-postbox-details-share-wrapper { padding-top: 24px; margin-top: 28px; }
.tp-contact-inner { padding: clamp(16px, 3vw, 36px); border-radius: 28px; background: #ffffffb8; }
.tp-contact-wrapper { border: 0; padding: 12px; background: transparent; }
.tp-contact-title { font-size: clamp(26px, 3vw, 36px); }
.tp-page-area > .container > div > .ck-content { max-width: 78ch; margin-inline: auto; padding: clamp(20px, 3vw, 40px); border-radius: 26px; background: #ffffffb8; }
.tp-page-area .ck-content h3 { margin-top: 30px; margin-bottom: 12px; line-height: 1.45; }
.tp-page-area .ck-content > :first-child { margin-top: 0; }
.elbana-error-page { padding-block: 44px 64px; }
.elbana-error-surface { max-width: 800px; margin-inline: auto; padding: clamp(24px, 5vw, 60px); text-align: center; border-radius: 30px; background: #ffffffd9; }
.elbana-error-code { display: block; color: var(--elbana-red); font-size: clamp(60px, 10vw, 110px); line-height: 1.2; font-weight: 700; }
.elbana-error-surface h1 { margin-block: 20px 12px; font-size: clamp(28px, 4vw, 44px); }
.elbana-error-surface p { max-width: 55ch; margin-inline: auto; }
.elbana-error-actions, .elbana-error-categories { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.elbana-error-search { max-width: 480px; margin: 28px auto 0; }
.elbana-error-search input { border-radius: 14px; padding-inline: 18px 54px; }
.elbana-error-search button { width: 48px; height: 48px; inset-inline-end: 0; inset-inline-start: auto; }
.elbana-error-search svg { width: 20px; height: 20px; }
.elbana-error-categories a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 12px; background: #ffffffb8; color: #264855; }
@media (max-width: 991.98px) {
    .tp-sidebar-wrapper { padding: 0; margin-top: 30px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; align-items: start; }
    .tp-sidebar-widget { margin-bottom: 0 !important; }
    .tp-sidebar-widget:first-child { grid-column: 1 / -1; }
}
@media (max-width: 575.98px) {
    .tp-blog-grid-area, .tp-postbox-details-area { padding-bottom: 36px; }
    .tp-blog-list-item { flex-direction: column; }
    .tp-blog-list-thumb { flex-basis: auto; width: 100%; }
    .tp-blog-list-thumb img { min-height: 0; aspect-ratio: 16/10; }
    .tp-sidebar-wrapper { grid-template-columns: minmax(0, 1fr); }
    .tp-blog-grid-title { font-size: 21px; }
    .elbana-article-body { font-size: 16px; }
    .tp-postbox-details-content { padding: 20px 16px; }
}
