/*
 * online-poker.rs — the Feb 2026 mobile design.
 *
 * Lifted verbatim from mobile-template.php's inline <style> in
 * ~/personal/hetzner (branch online-poker-design-feb2026), which is the design
 * of record and is byte-identical to what ran on the server. The only edit is
 * the theme-directory path, which was a PHP call inside the CSS.
 *
 * Everything here is unconditional: the original was served ONLY to mobile
 * user agents, so it carries no media queries of its own. Desktop rules live
 * in poker-desktop.css and are all behind min-width, so this file stays the
 * mobile baseline and the two cannot fight.
 */

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif; background: #f5f5f5; color: #222; line-height: 1.5; -webkit-font-smoothing: antialiased; }

/* Header - COMPACT with logo */
.m-header { background: #000; color: #fff; padding: 12px 16px; display: flex; align-items: center; gap: 0; }
.m-header-logo { width: 112px; height: 112px; flex-shrink: 0; margin: -7px -20px -23px -18px; }
.m-header-logo img { width: 100%; height: 100%; object-fit: contain; }
.m-header-text { flex: 1; }
.m-header h1 { font-size: 25px; font-weight: 700; letter-spacing: -0.3px; margin: 0; line-height: 1.1; }
.m-header h1 a { color: #fff; text-decoration: none; }
.m-header p { font-size: 12px; color: #999; margin: 2px 0 0 0; font-weight: 400; letter-spacing: -0.5px; text-transform: uppercase; line-height: 1; }

/* Hamburger - In header */
.hamburger { display: flex; flex-direction: column; justify-content: center; align-items: center; width: 48px; height: 48px; background: #222; border: none; border-radius: 8px; cursor: pointer; flex-shrink: 0; }
.hamburger:active { transform: scale(0.95); }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; margin: 3px 0; border-radius: 2px; transition: all 0.2s ease; }
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile Nav */
.m-nav { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100vh; background: rgba(0,0,0,0.98); z-index: 9998; padding: 120px 20px 40px; overflow-y: auto; }
.m-header { position: relative; z-index: 9999; }
.m-nav.active { display: block; }
.m-nav-search { margin-bottom: 20px; }
.m-nav-search input { width: 100%; padding: 14px 16px; font-size: 16px; border: none; border-radius: 8px; background: #333; color: #fff; }
.m-nav-search input::placeholder { color: #888; }
.m-nav ul { list-style: none; }
.m-nav li { border-bottom: 1px solid rgba(255,255,255,0.1); }
.m-nav li.menu-item-has-children > a { display: flex; justify-content: space-between; align-items: center; }
.m-nav li.menu-item-has-children > a::after { content: '+'; font-size: 20px; font-weight: 400; color: #888; }
.m-nav li.menu-item-has-children.submenu-open > a::after { content: '−'; }
.m-nav a { display: block; padding: 16px 0; color: #fff; text-decoration: none; font-size: 18px; }
.m-nav a:hover { color: #ccc; }
.m-nav .sub-menu { display: none; padding-left: 20px; background: rgba(255,255,255,0.05); margin: 0 -20px; padding-right: 20px; }
.m-nav li.submenu-open > .sub-menu { display: block; }
.m-nav .sub-menu li { border-bottom: 1px solid rgba(255,255,255,0.05); }
.m-nav .sub-menu a { font-size: 16px; padding: 14px 20px; color: #ccc; }

/* Cards - COMPACT like left screenshot */
.card { background: #fff; margin: 10px 16px; padding: 18px 18px; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,0.04); border: 1px solid #e8e8e8; }
.card h2 { font-size: 20px; font-weight: 700; margin-bottom: 10px; color: #000; }
.card p { color: #444; line-height: 1.6; margin-bottom: 10px; font-size: 16px; }
.card p:last-child { margin-bottom: 0; }

/* Poker Sites List - COMPACT like left screenshot */
.site { display: flex; align-items: center; padding: 15px 8px; margin: 0 -8px; border-bottom: 1px solid #eee; text-decoration: none; border-radius: 8px; transition: background 0.15s; }
.site:active { background: #f0f0f0; }
.site:last-child { border-bottom: none; }
.rank { width: 38px; height: 38px; background: #000; color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; margin-right: 16px; flex-shrink: 0; }
.site-info { flex: 1; line-height: 1.3; }
.site-name { font-weight: 700; font-size: 16px; color: #000; }
.site-bonus { color: #27A745; font-size: 15px; font-weight: 400; }

/* Buttons - exact values */
.btn, a.btn { display: block; background: #000; color: #ffffff !important; text-align: center; padding: 11px 16px; border-radius: 8px; text-decoration: none; font-weight: 700; font-size: 16px; margin-top: 12px; }
.btn:hover { background: #222; }

/* Category Links */
.cat-link { display: block; padding: 15px 0; border-bottom: 1px solid #eee; color: #000; text-decoration: none; font-size: 15px; }
.cat-link:last-child { border-bottom: none; }
.cat-link:hover { color: #555; }

/* Article/Post styles */
.article-meta { font-size: 12px; color: #888; margin-bottom: 10px; }
.featured-image { margin: 0 0 15px 0; }
.featured-image img { max-width: 100% !important; width: 100% !important; height: auto !important; display: block; border-radius: 8px; }
.article-content { font-size: 18px; line-height: 1.8; }
.article-content p { margin-bottom: 15px; }
.article-content h1 { font-size: 30px; font-weight: 700; line-height: 1.2; margin: 20px 0 12px; color: #000; }
.article-content h2, .article-content h3 { font-size: 20px; font-weight: 700; margin: 25px 0 15px; color: #000; }
.article-content ul, .article-content ol { margin: 15px 0; padding-left: 25px; }
.article-content li { margin-bottom: 8px; }
.article-content img { max-width: 100% !important; width: auto !important; height: auto !important; border-radius: 8px; margin: 15px 0; display: block; }
.article-content a { color: #000; font-weight: 500; }

/* Poker Room Review Pages */
.poker-room-hero { background: #000; color: #fff; padding: 24px 18px; margin: -18px -18px 20px -18px; border-radius: 12px 12px 0 0; text-align: center; }
.poker-room-hero h2 { font-size: 28px; font-weight: 800; margin: 0 0 8px 0; color: #fff; }
.poker-room-hero .tagline { font-size: 14px; color: #888; margin: 0; }
.poker-room-hero .hero-rating { display: inline-block; background: rgba(255,255,255,0.15); padding: 6px 14px; border-radius: 20px; font-size: 16px; font-weight: 700; color: #ffc107; }

.bonus-box { background: linear-gradient(135deg, #1a1a1a 0%, #000 100%); border: 2px solid #333; border-radius: 12px; padding: 20px; margin: 0 0 20px 0; text-align: center; }
.bonus-box .bonus-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px; }
.bonus-box .bonus-amount { font-size: 36px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 8px; }
.bonus-box .bonus-code { display: inline-block; background: #fff; color: #000; padding: 8px 20px; border-radius: 6px; font-family: monospace; font-size: 18px; font-weight: 700; letter-spacing: 2px; margin-top: 8px; }

.rating-badge { display: inline-flex; align-items: center; gap: 6px; background: #f8f9fa; border: 1px solid #e9ecef; border-radius: 20px; padding: 6px 14px; font-size: 14px; font-weight: 700; margin: 15px 0; }
.rating-badge::before { content: '★'; color: #ffc107; font-size: 16px; }

.cta-buttons { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.cta-buttons .btn-primary { background: #28a745; color: #fff !important; padding: 16px 20px; font-size: 16px; font-weight: 700; border-radius: 10px; text-align: center; text-decoration: none; display: block; }
.cta-buttons .btn-primary:active { background: #218838; }
.cta-buttons .btn-secondary { background: #000; color: #fff !important; padding: 14px 20px; font-size: 15px; font-weight: 600; border-radius: 10px; text-align: center; text-decoration: none; display: block; }

.reasons-list { counter-reset: reasons; list-style: none !important; padding: 0 !important; margin: 15px 0 !important; }
.reasons-list li { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; border-bottom: 1px solid #eee; counter-increment: reasons; }
.reasons-list li:last-child { border-bottom: none; }
.reasons-list li::before { content: counter(reasons); display: flex; align-items: center; justify-content: center; min-width: 28px; height: 28px; background: #000; color: #fff; border-radius: 50%; font-size: 14px; font-weight: 700; flex-shrink: 0; }

.pros-cons { margin: 20px 0; }
.pros-cons h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px 0; padding-bottom: 8px; border-bottom: 2px solid #000; }
.pros-list, .cons-list { list-style: none !important; padding: 0 !important; margin: 0 0 20px 0 !important; }
.pros-list li, .cons-list li { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 15px; }
.pros-list li:last-child, .cons-list li:last-child { border-bottom: none; }
.pros-list li::before { content: '✓'; color: #28a745; font-weight: 700; font-size: 16px; }
.cons-list li::before { content: '✗'; color: #dc3545; font-weight: 700; font-size: 16px; }

.info-table { width: 100%; border-collapse: collapse; margin: 15px 0; font-size: 15px; }
.info-table tr { border-bottom: 1px solid #eee; }
.info-table tr:last-child { border-bottom: none; }
.info-table th { text-align: left; padding: 10px 0; font-weight: 600; color: #666; width: 40%; }
.info-table td { text-align: right; padding: 10px 0; font-weight: 500; }

/* Flag icons for language support */
.zastava { display: inline-block; background: url('/wp-content/themes/online-poker/images/payment2.png'); margin: 0 8px 0 0; }
.zastava.srbija { background-position: -715px -90px; font-size: 11px; color: #28a745; text-transform: uppercase; padding-left: 25px; }
.zastava.srbijasivo { background-position: -715px -70px; font-size: 11px; color: #888; text-transform: uppercase; padding-left: 25px; }

/* Payment icons */
.paymentIcon { display: inline-block; width: 40px; height: 18px; font-size: 0; background: url('/wp-content/themes/online-poker/images/payment2.png'); margin: 0 8px 8px 0; }
.paymentIcon.visa { background-position: -10px -10px; width: 29px; }
.paymentIcon.mastercard { background-position: -50px -10px; width: 30px; }
.paymentIcon.moneybookers { background-position: -90px -10px; width: 33px; }
.paymentIcon.paysafecard { background-position: -140px -10px; width: 69px; }
.paymentIcon.neteller { background-position: -270px -10px; width: 65px; }
.paymentIcon.dinersclub { background-position: -560px -10px; width: 40px; }
.paymentIcon.solo { background-position: -440px -10px; width: 37px; }
.paymentIcon.maestro { background-position: -480px -10px; width: 35px; }
.paymentIcon.banktransfer { background-position: -520px -10px; width: 35px; }
.paymentIcon.echeck { background-position: -600px -10px; width: 28px; }
.paymentIcon.paypoint { background-position: -630px -10px; width: 28px; }
.paymentIcon.wiretransfer { background-position: -660px -10px; width: 48px; }
.paymentIcon.enets { background-position: -710px -10px; width: 43px; }
.paymentIcon.instadebit { background-position: -760px -10px; width: 73px; }
.paymentIcon.clickandbuy { background-position: -10px -30px; width: 81px; }
.paymentIcon.ukash { background-position: -100px -30px; width: 42px; }
.paymentIcon.entropay { background-position: -150px -30px; width: 62px; }
.paymentIcon.paypal { background-position: -220px -30px; width: 60px; }

/* Screenshots gallery */
.screenshots-gallery { display: flex; flex-direction: column; gap: 12px; }
.screenshot-full { width: 100%; height: auto; border-radius: 8px; display: block; }

.section-tabs { display: flex; gap: 0; margin: 20px -18px; padding: 0 18px; overflow-x: auto; border-bottom: 2px solid #eee; }
.section-tabs button { flex-shrink: 0; padding: 12px 16px; background: none; border: none; font-size: 14px; font-weight: 600; color: #666; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -2px; }
.section-tabs button.active { color: #000; border-bottom-color: #000; }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* Style existing content elements as poker room components */
.article-content .bonusbar, .article-content .bonus_bar { background: linear-gradient(135deg, #1a1a1a 0%, #000 100%); border: 2px solid #333; border-radius: 12px; padding: 20px; margin: 20px 0; text-align: center; color: #fff; }
.article-content .bonusbar strong, .article-content .bonus_bar strong { font-size: 24px; display: block; margin-bottom: 8px; }
.article-content .green_button, .article-content .cta-button { display: block; background: #28a745; color: #fff !important; padding: 16px 20px; font-size: 16px; font-weight: 700; border-radius: 10px; text-align: center; text-decoration: none; margin: 15px 0; }
.article-content .green_button:active { background: #218838; }

/* Comments */
.comments-toggle { width: 100%; padding: 14px 20px; background: #000; color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; text-align: center; }
.comments-toggle:active { background: #333; }
.comments-section { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; margin-top: 0; }
.comments-section.active { max-height: 2000px; margin-top: 20px; }
.comments-section .comment { padding: 15px 0; border-bottom: 1px solid #eee; }
.comments-section .comment:last-child { border-bottom: none; }
.comments-section .comment-author { font-weight: 700; margin-bottom: 5px; }
.comments-section .comment-date { font-size: 12px; color: #888; margin-bottom: 10px; }
.comments-section .comment-content { font-size: 15px; line-height: 1.6; }
.comments-section input[type="text"], .comments-section input[type="email"], .comments-section textarea { width: 100%; padding: 12px 14px; border: 1px solid #ddd; border-radius: 8px; font-size: 16px; margin-bottom: 12px; font-family: inherit; }
.comments-section textarea { min-height: 120px; resize: vertical; }
.comments-section input[type="submit"] { width: 100%; padding: 14px 20px; background: #000; color: #fff; border: none; border-radius: 8px; font-size: 16px; font-weight: 600; cursor: pointer; }
.comments-section input[type="submit"]:active { background: #333; }
.comments-section label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; color: #333; }
.comments-section .comment-form-comment, .comments-section .comment-form-author, .comments-section .comment-form-email { margin-bottom: 15px; }
.comments-section #reply-title { font-size: 18px; font-weight: 700; margin-bottom: 15px; }

/* Poker Cards */
.cardWrapper { height: 80px; display: inline-block; margin-bottom: 10px; }
.cardWrapper .cardLarge { position: relative; float: left; display: block; width: 53px; height: 71px; background: url('/wp-content/themes/online-poker/images/karte.png') 0 0; margin: 0 6px 0 0; }
.cardWrapper .cardLarge .cardSymbol { position: absolute; top: 21px; left: 4px; display: block; width: 11px; height: 14px; }
.cardWrapper .card_s { background: url('/wp-content/themes/online-poker/images/karte.png') -110px 0; }
.cardWrapper .card_c { background: url('/wp-content/themes/online-poker/images/karte.png') -110px -20px; }
.cardWrapper .card_h { background: url('/wp-content/themes/online-poker/images/karte.png') -110px -40px; }
.cardWrapper .card_d { background: url('/wp-content/themes/online-poker/images/karte.png') -110px -60px; }
.cardWrapper .cardLarge .cardValue { position: absolute; top: -16px; left: -2px; display: block; width: 15px; height: 15px; }
.cardWrapper .card_s .card_A, .cardWrapper .card_c .card_A { background: url('/wp-content/themes/online-poker/images/karte.png') -130px 0; }
.cardWrapper .card_s .card_K, .cardWrapper .card_c .card_K { background: url('/wp-content/themes/online-poker/images/karte.png') -150px 0; }
.cardWrapper .card_s .card_Q, .cardWrapper .card_c .card_Q { background: url('/wp-content/themes/online-poker/images/karte.png') -170px 0; }
.cardWrapper .card_s .card_J, .cardWrapper .card_c .card_J { background: url('/wp-content/themes/online-poker/images/karte.png') -190px 0; }
.cardWrapper .card_s .card_10, .cardWrapper .card_c .card_10 { background: url('/wp-content/themes/online-poker/images/karte.png') -210px 0; }
.cardWrapper .card_s .card_9, .cardWrapper .card_c .card_9 { background: url('/wp-content/themes/online-poker/images/karte.png') -230px 0; }
.cardWrapper .card_s .card_8, .cardWrapper .card_c .card_8 { background: url('/wp-content/themes/online-poker/images/karte.png') -250px 0; }
.cardWrapper .card_s .card_7, .cardWrapper .card_c .card_7 { background: url('/wp-content/themes/online-poker/images/karte.png') -270px 0; }
.cardWrapper .card_s .card_6, .cardWrapper .card_c .card_6 { background: url('/wp-content/themes/online-poker/images/karte.png') -290px 0; }
.cardWrapper .card_s .card_5, .cardWrapper .card_c .card_5 { background: url('/wp-content/themes/online-poker/images/karte.png') -310px 0; }
.cardWrapper .card_s .card_4, .cardWrapper .card_c .card_4 { background: url('/wp-content/themes/online-poker/images/karte.png') -330px 0; }
.cardWrapper .card_s .card_3, .cardWrapper .card_c .card_3 { background: url('/wp-content/themes/online-poker/images/karte.png') -350px 0; }
.cardWrapper .card_s .card_2, .cardWrapper .card_c .card_2 { background: url('/wp-content/themes/online-poker/images/karte.png') -370px 0; }
.cardWrapper .card_h .card_A, .cardWrapper .card_d .card_A { background: url('/wp-content/themes/online-poker/images/karte.png') -130px -30px; }
.cardWrapper .card_h .card_K, .cardWrapper .card_d .card_K { background: url('/wp-content/themes/online-poker/images/karte.png') -150px -30px; }
.cardWrapper .card_h .card_Q, .cardWrapper .card_d .card_Q { background: url('/wp-content/themes/online-poker/images/karte.png') -170px -30px; }
.cardWrapper .card_h .card_J, .cardWrapper .card_d .card_J { background: url('/wp-content/themes/online-poker/images/karte.png') -190px -30px; }
.cardWrapper .card_h .card_10, .cardWrapper .card_d .card_10 { background: url('/wp-content/themes/online-poker/images/karte.png') -210px -30px; }
.cardWrapper .card_h .card_9, .cardWrapper .card_d .card_9 { background: url('/wp-content/themes/online-poker/images/karte.png') -230px -30px; }
.cardWrapper .card_h .card_8, .cardWrapper .card_d .card_8 { background: url('/wp-content/themes/online-poker/images/karte.png') -250px -30px; }
.cardWrapper .card_h .card_7, .cardWrapper .card_d .card_7 { background: url('/wp-content/themes/online-poker/images/karte.png') -270px -30px; }
.cardWrapper .card_h .card_6, .cardWrapper .card_d .card_6 { background: url('/wp-content/themes/online-poker/images/karte.png') -290px -30px; }
.cardWrapper .card_h .card_5, .cardWrapper .card_d .card_5 { background: url('/wp-content/themes/online-poker/images/karte.png') -310px -30px; }
.cardWrapper .card_h .card_4, .cardWrapper .card_d .card_4 { background: url('/wp-content/themes/online-poker/images/karte.png') -330px -30px; }
.cardWrapper .card_h .card_3, .cardWrapper .card_d .card_3 { background: url('/wp-content/themes/online-poker/images/karte.png') -350px -30px; }
.cardWrapper .card_h .card_2, .cardWrapper .card_d .card_2 { background: url('/wp-content/themes/online-poker/images/karte.png') -370px -30px; }

/* Big buttons - convert to simple list */
.big-buttons { display: block; margin: 0 0 15px 0; padding: 0; }
.big-buttons a { display: block; padding: 12px 0; border-bottom: 1px solid #eee; color: #000; text-decoration: none; font-size: 16px; }
.big-buttons a:last-child { border-bottom: none; }
.big-buttons br { display: none; }
.big-button-black, .big-button-gray, .big-button-white { background: none !important; color: #000 !important; }

/* Collapsible widget sections */
.widget-toggle { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; width: 100%; padding: 14px 0; background: transparent; border: none; border-bottom: 1px solid #eee; font-size: 17px; font-weight: 700; color: #000; cursor: pointer; text-align: left; line-height: 1.3; }
.widget-toggle:last-of-type { border-bottom: none; }
.widget-toggle .toggle-text { flex: 1; }
.widget-toggle .toggle-icon { font-size: 20px; font-weight: 400; color: #666; flex-shrink: 0; }
.widget-content { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.widget-content.active { max-height: 3000px; }
.widget-content ul { list-style: none; padding: 0; margin: 0; }
.widget-content li { border-bottom: 1px solid #f0f0f0; }
.widget-content li:last-child { border-bottom: none; }
.widget-content a { display: block; padding: 12px 0; color: #333; text-decoration: none; font-size: 15px; }
.widget-content a:active { background: #f5f5f5; }

/* Footer */
.m-footer { text-align: center; padding: 30px 20px; background: transparent; color: #666; font-size: 14px; margin-top: 20px; }
.m-footer a { color: #666; margin: 0 10px; text-decoration: none; }
.m-footer a:hover { color: #000; }
.m-footer p { margin-bottom: 10px; }

/* Breadcrumb */
.breadcrumb { padding: 12px 15px; font-size: 12px; color: #888; background: #fff; margin: 0 0 5px; }
.breadcrumb a { color: #555; text-decoration: none; }

/* Category listings, from the [catlist] shortcode — see lib/shortcodes-catlist.ts.
   The plugin shipped its own stylesheet, which is gone with it; these follow
   the card idiom the rest of the design uses. */
.catlist { list-style: none; padding: 0; margin: 0; }
.catlist-item { padding: 16px 0; border-bottom: 1px solid #eee; }
.catlist-item:last-child { border-bottom: none; }
.catlist-title { display: block; font-size: 17px; font-weight: 700; color: #000; text-decoration: none; line-height: 1.35; }
.catlist-title:hover { color: #555; }
.catlist-date { display: block; margin-top: 4px; font-size: 12px; color: #888; }
.catlist-excerpt { margin: 8px 0 0; font-size: 15px; line-height: 1.6; color: #555; }

/* The two recovered bonus tables — see lib/shortcodes-tablepress.ts.
   Scrolls inside its own box: the no-deposit table is five columns wide and
   one of them is a paragraph of instructions, which no phone fits. */
.poker-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 16px 0; }
.poker-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 460px; }
/* The no-deposit table: a rank digit, three short values and one paragraph of
   instructions. Left to itself the browser hands the spare width to the rank
   column and squeezes the paragraph into a single word per line. */
.poker-table[data-cols="5"] th:nth-child(1) { width: 5.5em; }
.poker-table[data-cols="5"] th:nth-child(2) { width: 9em; }
.poker-table[data-cols="5"] th:nth-child(3) { width: 7em; }
.poker-table[data-cols="5"] th:nth-child(5) { width: 9em; }
.poker-table[data-cols="2"] th:nth-child(1) { width: 60%; }
.poker-table th { text-align: left; padding: 12px 10px; background: #000; color: #fff; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.poker-table td { padding: 12px 10px; border-bottom: 1px solid #eee; vertical-align: top; line-height: 1.5; }
.poker-table tr:last-child td { border-bottom: none; }
.poker-table a { color: #000; font-weight: 700; text-decoration: none; }
.poker-table a:hover { text-decoration: underline; }

/* ══ Secondary strip ═══════════════════════════════════════════════════════
   The seven-item bar the original carried under its header. A real WordPress
   menu ("Middle menu"), two of whose items point at categories. Scrolls
   sideways on a phone rather than wrapping to three ragged rows. */
.poker-strip { background: #1a1a1a; overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.poker-strip::-webkit-scrollbar { display: none; }
.poker-strip ul { display: flex; list-style: none; margin: 0; padding: 0 8px; }
.poker-strip li { flex: 0 0 auto; }
.poker-strip a { display: block; padding: 12px 14px; color: #ddd; text-decoration: none; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; white-space: nowrap; }
.poker-strip a:hover, .poker-strip a:focus-visible { color: #fff; background: #000; }

/* ══ Category tiles ════════════════════════════════════════════════════════
   The original had four black JPEGs with the category name set in white. None
   of those files survive anywhere, so this is type and colour instead — which
   also stays sharp at any size, unlike a 220x150 JPEG. */
.poker-cats-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 4px; }
.poker-cat-tile {
  display: flex; align-items: center; justify-content: center; text-align: center;
  min-height: 74px; padding: 14px 12px;
  background: #000; color: #fff !important; text-decoration: none;
  border-radius: 10px; font-weight: 700; font-size: 15px; line-height: 1.25;
  transition: transform .12s ease, background .12s ease;
}
.poker-cat-tile:hover, .poker-cat-tile:focus-visible { background: #1f1f1f; transform: translateY(-2px); }
/* An odd count leaves a hole; the last tile takes the full row instead. */
.poker-cats-grid > :last-child:nth-child(odd) { grid-column: 1 / -1; }

/* ══ Post cards ════════════════════════════════════════════════════════════
   Shared by "Najnovije Vesti" and every archive. The original rendered both
   as a grid of thumbnails with an excerpt; the first port rendered a list of
   bare titles, which measured at ~5% of the original page's text. */
.poker-postlist { margin: 10px 16px 24px; }
.poker-postlist-heading { font-size: 20px; font-weight: 700; margin: 0 0 12px; color: #000; }
.poker-postlist-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; grid-template-columns: 1fr; }

.poker-card { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; box-shadow: 0 1px 3px rgba(0,0,0,.04); overflow: hidden; }
.poker-card-link { display: flex; gap: 14px; padding: 12px; color: inherit; text-decoration: none; align-items: flex-start; }
.poker-card-media { flex: 0 0 108px; border-radius: 8px; overflow: hidden; background: #f0f0f0; aspect-ratio: 16 / 10; }
.poker-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poker-card-body { display: flex; flex-direction: column; min-width: 0; }
.poker-card-title { font-size: 16px; font-weight: 700; line-height: 1.3; color: #000; }
.poker-card-date { font-size: 12px; color: #888; margin-top: 4px; }
.poker-card-excerpt { font-size: 14px; line-height: 1.55; color: #555; margin-top: 6px; }
.poker-card:hover { border-color: #d5d5d5; }
.poker-card:hover .poker-card-title { color: #444; }

.poker-archive-title { font-size: 22px; font-weight: 700; margin: 0; color: #000; }
.poker-archive-desc { margin-top: 8px; color: #555; }

/* ══ Aside ═════════════════════════════════════════════════════════════════ */
.poker-aside { margin: 0 16px 24px; }
.poker-aside-box { background: #fff; border: 1px solid #e8e8e8; border-radius: 12px; padding: 16px 18px; margin-bottom: 14px; }
.poker-aside-box h2 { font-size: 16px; font-weight: 700; margin: 0 0 8px; color: #000; }
.poker-aside-box p, .poker-aside-box li { font-size: 14px; line-height: 1.6; color: #555; }
.poker-aside-box ol { margin: 8px 0 0 18px; }
.poker-aside-box li { margin-bottom: 6px; }
.poker-aside-box a { color: #000; font-weight: 600; }
.poker-aside-search { display: flex; gap: 8px; }
.poker-aside-search input { flex: 1; min-width: 0; padding: 10px 12px; font-size: 15px; border: 1px solid #ddd; border-radius: 8px; background: #fafafa; }
.poker-aside-search input:focus { outline: 2px solid #000; outline-offset: 1px; background: #fff; }
.poker-aside-search button { padding: 10px 16px; background: #000; color: #fff; border: 0; border-radius: 8px; font-weight: 700; font-size: 14px; cursor: pointer; }
.poker-aside-search button:hover { background: #222; }

.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* ══ Single post furniture ════════════════════════════════════════════════
   Lead image, categories, tags and adjacent-post links — all rendered by the
   original single.php, none by the Feb template. */
.poker-single-title { font-size: 22px; font-weight: 700; line-height: 1.25; margin: 0 0 8px; color: #000; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; font-size: 13px; color: #888; margin-bottom: 14px; }
.poker-meta-cats { display: flex; flex-wrap: wrap; gap: 6px; }
.poker-meta-cats a { color: #555; text-decoration: none; border: 1px solid #e2e2e2; border-radius: 999px; padding: 2px 10px; font-size: 12px; }
.poker-meta-cats a:hover { background: #f2f2f2; color: #000; }

.poker-lead-image { margin: 0 0 16px; }
.poker-lead-image img { width: 100%; height: auto; border-radius: 10px; display: block; }

.poker-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 20px 0 0; padding-top: 16px; border-top: 1px solid #eee; }
.poker-tags-label { font-size: 12px; color: #888; text-transform: uppercase; letter-spacing: .4px; }
.poker-tags a { font-size: 13px; color: #333; text-decoration: none; background: #f4f4f4; border-radius: 6px; padding: 4px 10px; }
.poker-tags a:hover { background: #e8e8e8; color: #000; }

.poker-adjacent { display: grid; gap: 12px; }
.poker-adjacent a { display: block; text-decoration: none; color: inherit; padding: 12px 14px; border: 1px solid #eee; border-radius: 10px; }
.poker-adjacent a:hover { border-color: #ccc; background: #fafafa; }
.poker-adjacent-label { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; color: #999; margin-bottom: 4px; }
.poker-adjacent-title { display: block; font-size: 15px; font-weight: 700; line-height: 1.35; color: #000; }
.poker-adjacent-next { text-align: right; }

/* The /poker-sobe/ page's own copy, above the room cards. */
.poker-listing-copy { padding: 18px; font-size: 15px; }
.poker-listing-copy p:last-child { margin-bottom: 0; }
.poker-room-hero h1, .poker-room-hero h2 { font-size: 24px; font-weight: 700; color: #fff; margin: 0; line-height: 1.2; }

/* On mobile the aside simply follows the rankings card in flow. */
.poker-home-top > .poker-aside { margin-top: 0; }

/* ══ Page sidebar ══════════════════════════════════════════════════════════
   The original theme's sidebar-1: two collapsed menus and a recent-posts
   list. On mobile it simply follows the content, which is where the two
   menus already were — they were just stranded on /poker-sobe/ alone. */
.poker-sidebar { margin: 0; }
.poker-sidebar-card { padding: 0 18px; }
.poker-sidebar-card:has(> .poker-sidebar-heading) { padding: 16px 18px; }
.poker-sidebar-heading { font-size: 16px; font-weight: 700; margin: 0 0 10px; color: #000; }

.poker-recent { list-style: none; margin: 0; padding: 0; }
.poker-recent li { padding: 11px 0; border-bottom: 1px solid #f0f0f0; }
.poker-recent li:last-child { border-bottom: none; }
.poker-recent a { display: block; color: #000; text-decoration: none; font-size: 14.5px; font-weight: 600; line-height: 1.35; }
.poker-recent a:hover { color: #555; }
.poker-recent time { display: block; margin-top: 3px; font-size: 12px; color: #999; }
.poker-recent-all { display: inline-block; margin-top: 12px; font-size: 13px; font-weight: 700; color: #000; text-decoration: none; }
.poker-recent-all:hover { text-decoration: underline; }

/* ══ Book reviews ══════════════════════════════════════════════════════════
   /poker-knjige/ — ranked rows rather than the site's landscape cards. A
   cover is portrait and these titles run long, so a 16:9 crop suits neither. */
.poker-books { list-style: none; margin: 0; padding: 0; counter-reset: book; }
.poker-book { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 16px; align-items: start; padding: 16px; }

.poker-book-cover { position: relative; display: block; border-radius: 8px; overflow: hidden; background: #f2f2f2; aspect-ratio: 2 / 3; }
.poker-book-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.poker-book-nocover { display: flex; align-items: center; justify-content: center; height: 100%; color: #bbb; font-size: 28px; font-weight: 700; }
.poker-book-rank { position: absolute; top: 6px; left: 6px; width: 28px; height: 28px; font-size: 13px; margin: 0; box-shadow: 0 2px 6px rgba(0,0,0,.35); }

.poker-book-title { font-size: 17px; font-weight: 700; line-height: 1.3; margin: 0 0 6px; }
.poker-book-title a { color: #000; text-decoration: none; }
.poker-book-title a:hover { color: #444; }

.poker-book-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 0 0 8px; font-size: 12.5px; color: #888; }
.poker-book-author { font-weight: 600; color: #555; }
.poker-book-year::before { content: '·'; margin-right: 10px; color: #ccc; }
.poker-book-cat { color: #555; text-decoration: none; border: 1px solid #e2e2e2; border-radius: 999px; padding: 2px 10px; }
.poker-book-cat:hover { background: #f2f2f2; color: #000; }

.poker-book-summary { font-size: 14.5px; line-height: 1.6; color: #555; margin: 0 0 12px; }
.poker-book-cta { display: inline-block; font-size: 13.5px; font-weight: 700; color: #000; text-decoration: none; border-bottom: 2px solid #000; padding-bottom: 1px; }
.poker-book-cta:hover { color: #555; border-color: #555; }

/* ══ Footer nav ════════════════════════════════════════════════════════════
   The original's six-column "Footer menu", 31 links. It sits above the credit
   line on the page's own background, separated by a rule rather than by a
   block of colour — the header is the site's only black band. */
.m-footer-nav { margin-top: 28px; padding: 26px 16px 6px; border-top: 1px solid #e2e2e2; }
.m-footer-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
.m-footer-col h2 { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; margin: 0 0 10px; color: #000; }
.m-footer-col h2 a { color: #000; text-decoration: none; }
.m-footer-col h2 a:hover { color: #555; }
.m-footer-col ul { list-style: none; margin: 0; padding: 0; }
.m-footer-col li { margin-bottom: 7px; }
.m-footer-col li a { color: #666; text-decoration: none; font-size: 13.5px; line-height: 1.4; }
.m-footer-col li a:hover { color: #000; }
/* The nav already carries the separating rule, so the credit line drops its
   own top margin and sits directly under it. */
.m-footer-nav + .m-footer { margin-top: 0; padding-top: 18px; }

/* ══ Header search ════════════════════════════════════════════════════════
   Hidden on mobile: the nav overlay already opens with a search field, and a
   second one inside the same panel would be two ways to do one thing. */
.poker-nav-search { display: none; }

/* A card whose image is missing keeps the frame, drawn rather than fetched. */
.poker-card-media-blank {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, #1b1b1b, #000);
  color: rgba(255,255,255,.22); font-size: 34px; line-height: 1;
}

/* ══ Sidebar section menu ═════════════════════════════════════════════════
   The current page is marked with a chevron rather than a filled row: a
   full-bleed black bar inside a padded card had no breathing room on either
   side and read as a rendering fault. Hover opens the indent instead of
   tightening it. */
.poker-sidebar-card .widget-content ul { list-style: none; margin: 0; padding: 0; }
.poker-sidebar-card .widget-content li { border-bottom: 1px solid #f0f0f0; }
.poker-sidebar-card .widget-content li:last-child { border-bottom: none; }

.poker-sidebar-card .widget-content a {
  position: relative;
  display: block;
  padding: 11px 8px 11px 22px;
  border-radius: 8px;
  color: #333;
  text-decoration: none;
  font-size: 14.5px;
  line-height: 1.4;
  transition: background .16s ease, color .16s ease, padding-left .16s ease;
}

/* The chevron sits in the 22px gutter the padding reserves, so nothing moves
   when it appears. */
.poker-sidebar-card .widget-content a::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  width: 5px;
  height: 5px;
  margin-top: -3px;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  transform: rotate(-45deg);
  transition: border-color .16s ease, left .16s ease;
}

.poker-sidebar-card .widget-content a:hover,
.poker-sidebar-card .widget-content a:focus-visible {
  background: #f6f6f6;
  color: #000;
  padding-left: 30px;
}
.poker-sidebar-card .widget-content a:hover::before,
.poker-sidebar-card .widget-content a:focus-visible::before {
  border-right-color: #bbb;
  border-bottom-color: #bbb;
  left: 12px;
}

/* The page you are on. aria-current carries it for assistive tech; the
   chevron and the weight are the visible half of the same fact. */
.poker-sidebar-card .widget-content a[aria-current='page'] {
  color: #000;
  font-weight: 700;
}
.poker-sidebar-card .widget-content a[aria-current='page']::before {
  border-right-color: #000;
  border-bottom-color: #000;
  width: 6px;
  height: 6px;
  border-width: 2.5px;
}
.poker-sidebar-card .widget-content a[aria-current='page']:hover { padding-left: 22px; }
.poker-sidebar-card .widget-content a[aria-current='page']:hover::before { left: 6px; }

/* A section heading in the gap between cards, not inside one. */
.poker-section-heading {
  font-size: 20px; font-weight: 700; color: #000; line-height: 1.25;
  margin: 26px 16px 14px;
}

/* ══ Contact form ═════════════════════════════════════════════════════════
   The rebuilt Contact Form 7 markup, styled for this theme. The class names
   are CF7's own — lib/cf7.ts reproduces them so the stored shortcode keeps
   working — so they are what the rules hang off. */
.wpcf7-form { margin-top: 6px; }
.wpcf7-form p { margin-bottom: 16px; font-size: 14px; color: #444; }
.wpcf7-form label { display: block; font-weight: 700; font-size: 13.5px; color: #000; margin-bottom: 6px; }

.wpcf7-form-control-wrap { display: block; }
.wpcf7-form input[type='text'],
.wpcf7-form input[type='email'],
.wpcf7-form textarea {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  font: inherit; font-size: 16px; color: #111;
  background: #fafafa;
  border: 1px solid #ddd; border-radius: 10px;
  transition: border-color .14s ease, background .14s ease, box-shadow .14s ease;
}
.wpcf7-form input[type='text']:focus,
.wpcf7-form input[type='email']:focus,
.wpcf7-form textarea:focus {
  outline: none; background: #fff; border-color: #000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, .08);
}
.wpcf7-form textarea { min-height: 160px; resize: vertical; line-height: 1.6; }

/* The honeypot CF7 ships for spam; it must never be visible or focusable. */
.wpcf7-form .wpcf7-hp,
.wpcf7-form input[name='website'] { position: absolute !important; left: -9999px !important; }

.wpcf7-form .cf-turnstile { margin: 4px 0 18px; }

.wpcf7-form input[type='submit'] {
  display: inline-block; width: auto; min-width: 190px;
  padding: 14px 26px;
  background: #000; color: #fff;
  border: 0; border-radius: 10px;
  font-weight: 700; font-size: 16px; cursor: pointer;
  transition: background .14s ease, transform .08s ease;
}
.wpcf7-form input[type='submit']:hover { background: #222; }
.wpcf7-form input[type='submit']:active { transform: scale(.99); }
.wpcf7-form input[type='submit'][disabled] { background: #999; cursor: progress; }

/* The response line. Green on success, red on failure — the same signalling
   the bonus boxes and the Serbian-language chips use elsewhere. */
.wpcf7-response-output {
  margin: 16px 0 0; padding: 12px 14px;
  border: 1px solid #e2e2e2; border-radius: 10px;
  font-size: 14.5px; line-height: 1.5;
}
.wpcf7-response-output[aria-hidden='true'] { display: none; }
.wpcf7-form.sent .wpcf7-response-output { background: #d4edda; border-color: #b7dfc1; color: #155724; }
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.invalid .wpcf7-response-output { background: #f8d7da; border-color: #f0b8be; color: #721c24; }
.wpcf7-not-valid { border-color: #dc3545 !important; }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 13px; color: #dc3545; }

/* ══ Comments ═════════════════════════════════════════════════════════════
   The shared widget goes full-bleed on mobile with `width: 100vw;
   margin-left: calc(50% - 50vw)`, which assumes it sits directly in the
   article column. Inside this theme's card that maths is computed against a
   different width and pushed the whole block off-screen to the left, clipping
   the field labels to "ne" and "omentar".

   The CARD goes full width here instead, and the widget's own breakout is
   cancelled. Scoped to .poker-comments, so the other sites keep theirs. */
@media (max-width: 899px) {
  .poker-comments {
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    padding-right: 0;
    border-left: 0;
    border-right: 0;
    border-radius: 0;
  }
  .poker-comments #comments .tu-comments {
    width: auto;
    margin-left: 0;
    margin-right: 0;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }
}

/* Every control that leaves a comment is black, matching the site's buttons.
   The accent variable covers the primary ones; these are the outliers the
   widget styles literally. */
.poker-comments .tu-comments__submit,
.poker-comments .tu-comments__toggle,
.poker-comments .tu-comments__reply-submit,
.poker-comments button[type='submit'] {
  background: #000 !important;
  border-color: #000 !important;
  color: #fff !important;
}
.poker-comments .tu-comments__submit:hover,
.poker-comments .tu-comments__toggle:hover,
.poker-comments .tu-comments__reply-submit:hover,
.poker-comments button[type='submit']:hover {
  background: #222 !important;
  border-color: #222 !important;
}
