/* rc18: one content frame for the Lucky Bird theme's inner pages.
 * The theme's five-class :not() rule otherwise wins over new shortcode blocks
 * and silently reduces their width to 780px. Keep this override shallow: card
 * interiors, the homepage, editor, and other themes retain their own layouts.
 */
body.wp-theme-lucky-bird-poker-theme:not(.home){--lbp-page-gutter:40px}
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main.lbpt-content,
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main > .lbpt-content,
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main > .lbp-article-layout,
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main .lbpt-entry-header > *{
 width:min(var(--lbpt-shell,1160px),calc(100% - var(--lbp-page-gutter)));
 max-width:var(--lbpt-shell,1160px);
 box-sizing:border-box;
 margin-inline:auto;
}
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main.lbpt-content > :not(.alignleft):not(.alignright),
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main .lbpt-content > :not(.alignleft):not(.alignright),
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main .lbpt-post-content > :not(.alignleft):not(.alignright){
 width:100%;
 max-width:none;
 min-width:0;
 box-sizing:border-box;
 margin-inline:0;
}
/* The blog index uses <main class="lbpt-main lbpt-content"> directly, with no
 * post-content wrapper. Its section must not subtract another set of gutters. */
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main.lbpt-content > .lbp-section > .lbp-section-inner{
 width:100%;
 max-width:none;
 margin-inline:0;
}
/* Gutenberg can wrap shortcode output in a constrained group. Inherit the
 * available frame there, too, without changing nested card or column widths. */
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main .lbpt-post-content > .wp-block-group.is-layout-constrained{
 --wp--style--global--content-size:100%;
 --wp--style--global--wide-size:100%;
}
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main .lbpt-post-content > .wp-block-shortcode > :where(.lbp-online-guide,.lbp-game-landing,.lbp-profile,.lbp-directory,.lbp-bonus-center,.lbp-tournament-calendar,.lbp-live-featured,.lbp-live-tips,.lbp-press,.lbp-video-library,.lbp-video-detail){
 width:100%;
 max-width:none;
 margin-inline:0;
}
/* Long prose starts on the same left edge; its line length stays readable.
 * Structured sections, tables, galleries, headings, and cards use the frame. */
body.wp-theme-lucky-bird-poker-theme:not(.home) .lbpt-main .lbpt-post-content > :is(p,ul,ol,blockquote,pre):not(.alignleft):not(.alignright):not(.alignwide):not(.alignfull){
 max-width:780px;
 overflow-wrap:anywhere;
}
@media(max-width:720px){
 body.wp-theme-lucky-bird-poker-theme:not(.home){--lbp-page-gutter:24px}
}

/* Scoped prelaunch repairs. Preserve the existing hero and original room cards. */
.lbp-consent-panel[hidden],.lbp-consent-panel [hidden],
[data-lbp-tournament-calendar] [hidden]{display:none!important}
.lbp-consent-panel .lbp-consent-copy p{font-size:13px;line-height:1.5}
.lbp-consent-panel .lbp-consent-legal-warning{font-size:11px;line-height:1.5}
.lbp-consent-panel .lbp-consent-actions button{min-height:44px;font-size:12px}
.lbp-consent-panel .lbp-consent-actions [data-lbp-consent-choice]{background:#e0bd72;color:#17130d;border:1px solid #e0bd72}
.lbp-consent-panel .lbp-consent-actions [data-lbp-consent-choice]:hover{background:#eed298}
.lbp-consent-panel .lbp-consent-actions button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.lbp-room-guide a{color:inherit;text-decoration:underline;text-underline-offset:4px}
.lbp-source-date{display:block;margin-top:5px;font-size:11px;line-height:1.45;color:inherit;opacity:.85}
.lbp-room-bonus-source{display:inline-block;margin-top:8px;color:inherit;text-underline-offset:3px;font-size:12px}
.lbp-profile{box-sizing:border-box;margin:24px auto;padding:clamp(18px,3vw,36px);background:#f3eee5;color:#211d17;border-top:3px solid #b18a48;font:400 16px/1.65 var(--wp--preset--font-family--sans,Arial,sans-serif);overflow-wrap:anywhere}
.lbp-profile *{box-sizing:border-box}
.lbp-profile>section,.lbp-profile>aside{margin-block:28px}
.lbp-profile h2{color:#211d17;margin:0 0 14px;font:600 clamp(26px,3vw,34px)/1.15 var(--wp--preset--font-family--serif,Georgia,serif)}
.lbp-profile h3{color:#211d17;margin:0 0 12px;font:700 18px/1.35 var(--wp--preset--font-family--sans,Arial,sans-serif)}
.lbp-profile a{color:#68470f;text-underline-offset:3px}
.lbp-profile p{margin:10px 0 16px}
.lbp-profile a:focus-visible{outline:2px solid #a07524;outline-offset:4px}
.lbp-profile .lbp-profile-breadcrumbs{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;margin-bottom:24px}
.lbp-profile .lbp-profile-intro{font-size:18px;line-height:1.55}
.lbp-profile .lbp-profile-verdict{padding:18px 22px;background:#e9e0d1;border-left:3px solid #a07524}
.lbp-profile-verdict p:last-child{margin-bottom:0}
.lbp-profile-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;margin:0;background:#d1c7b7;border:1px solid #d1c7b7}
.lbp-profile-facts>div{padding:14px 16px;background:#f8f4ed;min-width:0}
.lbp-profile dt{font-weight:700;font-size:13px;color:#61503a}
.lbp-profile dd{margin:3px 0 12px}
.lbp-profile-facts dd{margin-bottom:0}
.lbp-profile-offers,.lbp-profile-columns{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.lbp-profile-offer{padding:20px;background:#fffbf4;border:1px solid #c8bba6;min-width:0}
.lbp-profile-offer-value{display:block;font:700 25px/1.25 var(--wp--preset--font-family--sans,Arial,sans-serif);color:#68470f}
.lbp-profile .lbp-profile-button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;max-width:100%;padding:10px 18px;background:#e0bd72;color:#17130d;font-weight:700;text-decoration:none;line-height:1.4}
.lbp-profile .lbp-profile-button:hover{background:#d2ac5e}
.lbp-profile li+li{margin-top:8px}
.lbp-profile-footer{padding-top:22px;border-top:1px solid #c8bba6}
.lbp-profile-warning{font-size:12px;line-height:1.5}
.lbp-profile-contact{margin:28px 0;padding:24px;border:1px solid #c8bba6;overflow-wrap:anywhere}
.lbp-article-byline{font-size:13px;line-height:1.5;padding-bottom:14px;border-bottom:1px solid #a99a81}
.lbp-home-video-more{margin:0;padding:0 20px 28px;text-align:center;background:#11110f;color:#e0bd72}
.lbp-home-video-more a{color:inherit;display:inline-block;padding:10px}
@media(max-width:700px){
 .lbp-profile-offers,.lbp-profile-columns,.lbp-profile-facts{grid-template-columns:1fr}
 .lbp-profile{padding:18px;font-size:15px}
 .lbp-profile-offer{padding:16px}
 .lbp-consent-panel .lbp-consent-copy p{font-size:12px}
 .lbp-consent-panel .lbp-consent-legal-warning{font-size:11px}
 .lbp-consent-panel .lbp-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}
 .lbp-consent-panel .lbp-consent-settings,.lbp-consent-panel .lbp-consent-save{grid-column:1/-1}
}
