/* WordPress-specific additions for the DipBlueTech theme */
.lang-switch a {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    outline: none;
    transition: transform 0.2s;
    display: flex;
    cursor: pointer !important;
}
.lang-switch a:hover { transform: scale(1.1); }
.lang-switch a.current-lang img { box-shadow: 0 0 0 2px var(--accent-cyan); }
.lang-switch img { height: 32px; width: auto; }

.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { color: var(--primary-blue); }

.dbt-pagination { display: flex; justify-content: center; gap: 8px; margin: 50px 0 20px; flex-wrap: wrap; }
.dbt-pagination .page-numbers {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 42px; height: 42px; padding: 0 12px; border-radius: 8px;
    background: #fff; color: var(--primary-blue); font-weight: 600;
    box-shadow: 0 2px 8px rgba(0,0,0,.06); cursor: pointer !important;
}
.dbt-pagination .page-numbers.current { background: var(--primary-blue); color: #fff; }
.dbt-pagination .page-numbers.dots { box-shadow: none; background: transparent; }

.blog-page-intro { margin-bottom: 40px; }
.no-posts { text-align: center; padding: 60px 0; color: var(--text-light); }

/* Comments (kept minimal) */
.comments-area { max-width: 800px; margin: 60px auto 0; }

/* Admin bar offset for fixed navbar */
body.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) { body.admin-bar .navbar { top: 46px; } }

/* RTL tweaks */
body.rtl .nav-links, body.rtl .footer-content { direction: rtl; }
body.rtl .lang-switch { transform-origin: left center; right: auto; left: 50px; }
body.rtl .back-link i { transform: scaleX(-1); display: inline-block; }

/* Editor safety: imported sections should not be constrained */
.site-main > .wp-block-html, .site-main > .entry-content { width: 100%; }
