/* Mobile layout repair: fit real containers; do not hide page overflow. */
/* Bound the decorative circle to its own hero, rather than the page container. */
main .guides-hero-section { position:relative; }
main .guides-hero-section::before { right:0; max-width:100%; }
@media (max-width: 1199px) {
  main.clearfix { width:100%; min-width:0; max-width:100%; box-sizing:border-box; }
  main.clearfix > .page-content { min-width:0; max-width:100%; box-sizing:border-box; }
  main .seo-scroll-table { min-width:0; max-width:100%; overflow-x:auto; }
  main .full-content .main-content { width:100%; min-width:0; margin:0; padding:0; }
  main .full-content .container { max-width:100%; }
  .main-recommend-section .recommend-casino-wrap { width:100%; margin-left:0; margin-right:0; box-sizing:border-box; }
  .main-recommend-section .recommend-casino-wrap .row { margin-left:0; margin-right:0; }
}
@media (max-width: 991px) {
  .site-header .header-container { width:100%; min-width:0; max-width:1321px; box-sizing:border-box; padding:0 12px; gap:8px; }
  .site-header .header-logo { flex:0 1 146px; min-width:0; max-width:42%; }
  .site-header .header-logo img { width:100%; max-width:146px; height:auto; }
  .site-header .header-right { flex:0 0 auto; min-width:0; gap:6px; margin-left:auto; }
  .site-header .profile-icon-link { flex:0 0 36px; width:36px; height:40px; margin:0; padding:4px; box-sizing:border-box; }
  .site-header .profile-icon-link svg { width:26px; height:28px; }
  .site-header .lang-current { padding:6px 4px; gap:5px; }
  .site-header .burger-btn { display:flex; flex:0 0 36px; width:36px; height:40px; margin:0; box-sizing:border-box; }
  .site-header .header-nav { box-sizing:border-box; max-width:100%; height:calc(100dvh - 74px); }
  .site-header .header-nav > ul { max-height:none; overflow:visible; }
  .site-header .header-nav > ul > li > a { box-sizing:border-box; white-space:normal; }
  .site-header .header-nav .submenu { min-width:0; }
  .site-header .lang-list { right:0; left:auto; max-width:calc(100vw - 24px); }
  main.clearfix { display:block; width:100%; min-width:0; max-width:1321px; box-sizing:border-box; }
  main.clearfix > .page-content { float:none; width:100% !important; min-width:0; max-width:100%; box-sizing:border-box; }
  main .mobile-sidebar, main .mobile-sidebar-wrap, main .mobile-sidebar-content { min-width:0; max-width:100%; box-sizing:border-box; }
  .mobile-popular-sidebar-list li { display:grid; grid-template-columns:49px minmax(0,1fr) 100px; gap:10px; align-items:center; box-sizing:border-box; padding:10px 8px; }
  .mobile-popular-sidebar-list li::before, .mobile-popular-sidebar-list li::after { display:none; }
  .mobile-popular-sidebar-list li img { float:none; width:49px; max-width:100%; height:49px; object-fit:contain; margin:0; }
  .mobile-popular-sidebar-list li span { float:none; width:auto; min-width:0; margin:0; text-align:left; line-height:1.35; overflow-wrap:anywhere; }
  .mobile-popular-sidebar-list li .button { float:none; width:100%; max-width:100%; margin:0; padding:7px 4px; line-height:1.3; box-sizing:border-box; white-space:normal; }
  html[lang="de"] .mobile-popular-sidebar-list li .button { font-size:12px; overflow-wrap:anywhere; }
  .mobile-popular-sidebar-list li.show-mobile { display:grid !important; }
  .sidebar-show-more-btn { box-sizing:border-box; max-width:100%; white-space:normal; }
}
@media (max-width: 767px) {
  main .page-content { overflow-wrap:anywhere; }
  main .seo-scroll-table { width:100%; min-width:0; max-width:100%; box-sizing:border-box; overflow-x:auto; }
  main .page-content img, main .page-content iframe, main .page-content video { max-width:100%; }
  main .guides-img { width:100% !important; height:auto !important; }
  main .form-wrap, main .form-left-block, main .form-right-block { max-width:100%; min-width:0; box-sizing:border-box; }
  main input, main select, main textarea { max-width:100%; box-sizing:border-box; }
  main .guides-feature-list, main .guides-category-grid { grid-template-columns:minmax(0,1fr); }
  main .guides-feature-item, main .guides-category-card, main .guides-content-section { min-width:0; max-width:100%; box-sizing:border-box; }
}
@media (max-width: 576px) {
  .site-header .header-nav { top:64px; height:calc(100vh - 64px); height:calc(100dvh - 64px); }
  main .guides-hero-section, main .guides-content-section, main .guides-info-box { padding:24px 16px; }
}
@media (max-width: 360px) {
  .site-header .header-container { padding:0 8px; gap:4px; }
  .site-header .header-right { gap:3px; }
  .site-header .lang-current { gap:3px; font-size:12px; }
  .mobile-popular-sidebar-list li { grid-template-columns:40px minmax(0,1fr) 84px; gap:7px; }
  .mobile-popular-sidebar-list li img { width:40px; height:40px; }
  .mobile-popular-sidebar-list li .button { font-size:12px; }
  html[lang="de"] .mobile-popular-sidebar-list li { grid-template-columns:40px minmax(0,1fr) 96px; }
}
