.theme-reference .mobile-copy,.mobile-menu-payment{display:none}

@media screen and (max-width:700px){
  .theme-reference{background:var(--surface);font-size:16px;line-height:1.75}
  .theme-reference *{letter-spacing:0!important}
  .theme-reference:has(.mobile-contact-bar){padding-bottom:calc(60px + env(safe-area-inset-bottom,0px))}
  .theme-reference .container{width:calc(100% - 40px);max-width:600px}
  .theme-reference .desktop-copy{display:none}
  .theme-reference .mobile-copy{display:block}
  .theme-reference .topbar{display:none}
  .theme-reference .site-header,.theme-reference.juris-home.home-page .site-header{position:sticky;top:0;background:var(--header-bg);box-shadow:none;border-bottom:1px solid var(--line);z-index:50}
  .theme-reference .topbar+.site-header{top:0}
  .theme-reference .header-inner,.theme-reference.home-page .header-inner,.theme-reference.header-inline .header-inner,.theme-reference.juris-home.home-page.header-inline .header-inner,.theme-reference.juris-home.header-inline .site-header.is-scrolled .header-inner{min-height:72px;height:auto;padding:10px 0;gap:8px;flex-wrap:nowrap}
  .theme-reference .header-inner>.brand,.theme-reference.header-inline .header-inner>.brand{flex:1;min-width:0;max-width:none;min-height:44px;margin:0;gap:8px}
  .theme-reference .brand>span:last-child{min-width:0}
  .theme-reference .site-header .brand strong{font-size:21px;line-height:1.25;overflow-wrap:normal}
  .theme-reference .site-header .brand small{font-size:8px;line-height:1.5;margin-top:3px}
  .theme-reference .brand-mark,.theme-reference.header-inline .brand-mark{width:30px;height:36px;flex:0 0 30px;padding-right:6px}
  .theme-reference .brand-mark .icon{width:24px;height:24px}
  .theme-reference .brand-logo{display:block;max-width:100%;max-height:48px;object-fit:contain}
  .theme-reference .header-actions{flex:0 0 auto;gap:0;margin:0;min-height:44px}
  .theme-reference .header-actions .icon-button{width:44px;height:44px}
  .theme-reference .header-actions .header-payment,.theme-reference.juris-home .header-actions .header-payment,.theme-reference .header-contact{display:none}
  .theme-reference .main-nav,.theme-reference.home-page .main-nav{left:-20px;right:-20px;top:100%;padding:8px 20px 20px;max-height:calc(100svh - 92px);overflow-y:auto;overscroll-behavior:contain;box-shadow:0 8px 16px #0000000d;background:var(--header-bg)}
  .theme-reference .main-nav.is-open{display:flex;gap:0}
  .theme-reference .main-nav .nav-item>a,.theme-reference.juris-home .main-nav .nav-item>a{font-size:16px;line-height:1.5;padding:14px 0;min-height:48px}
  .theme-reference .main-nav a::after{display:none}
  .theme-reference .submenu-toggle{width:48px;min-height:48px}
  .theme-reference .nav-submenu{padding:0 0 12px 16px}
  .theme-reference .nav-submenu a{padding:12px 0;min-height:44px;font-size:14px}
  .theme-reference .mobile-menu-payment{display:flex;align-items:center;gap:10px;min-height:48px;padding:14px 0;margin-top:8px;color:var(--action);font-size:14px}
  .theme-reference .mobile-menu-payment .icon{width:18px;height:18px}
  .theme-reference .mobile-menu-payment .icon:last-child{margin-left:auto}

  .theme-reference.juris-home .juris-hero{min-height:min(var(--hero-height),430px);height:auto;max-height:none;background:#292b2c}
  .theme-reference.juris-home .juris-hero-media img{transform:none;transition:none;object-position:center}
  .theme-reference.juris-home .juris-hero-shade{background:var(--hero-overlay);opacity:var(--hero-opacity)}
  .theme-reference.juris-home .juris-hero-content{display:block;padding:44px 0 40px;text-align:left}
  .theme-reference.juris-home .juris-hero-copy>*{animation:none;transform:none;opacity:1}
  .theme-reference.juris-home .juris-hero .eyebrow{margin:0 0 12px;font-size:13px;color:var(--hero-text);font-weight:400;text-shadow:0 1px 3px #000}
  .theme-reference.juris-home .juris-hero h1{font-size:34px;line-height:1.2;font-weight:600;margin:0 0 8px;text-shadow:0 1px 4px #0008}
  .theme-reference.juris-home .juris-hero .mobile-hero-subtitle{margin:0 0 22px;font-size:15px;line-height:1.5}
  .theme-reference.juris-home .juris-hero .mobile-hero-summary{font-size:15px;line-height:1.75;margin:0 0 26px;text-shadow:0 1px 3px #000}
  .theme-reference.juris-home .juris-hero-actions{flex-direction:column;align-items:flex-start;gap:12px}
  .theme-reference.juris-home .juris-hero-actions .button{flex:none;width:auto;min-width:0;min-height:46px;padding:11px 18px;font-size:14px;transform:none;box-shadow:none}
  .theme-reference.juris-home .juris-hero-actions .button-glass{background:transparent;color:var(--hero-text);border:0;padding:8px 0;min-height:44px;text-decoration:underline;text-underline-offset:5px}
  .theme-reference.juris-home .juris-hero-note,.theme-reference.juris-home .juris-hero-expertise,.theme-reference.juris-home .juris-hero-pagination{display:none}
  .theme-reference.juris-home [data-home-section="office"],.theme-reference.juris-home [data-home-section="principles"],.theme-reference.juris-home [data-home-section="intro"],.theme-reference.juris-home [data-home-section="approach"]{display:none}
  .theme-reference.juris-home:has([data-home-section="home_map"]) [data-home-section="contact"]{display:none}

  .theme-reference .section,.theme-reference .home-lawyer-section,.theme-reference .home-consultation,.theme-reference .home-map-section,.theme-reference .lawyer-publications{padding:40px 0}
  .theme-reference h2,.theme-reference .section-heading h2,.theme-reference .home-lawyer-heading h2,.theme-reference .home-consultation-heading h2,.theme-reference .home-map-heading h2{font-size:26px;line-height:1.35;margin:0 0 16px}
  .theme-reference .eyebrow{font-size:11px;line-height:1.5;margin-bottom:12px}
  .theme-reference .home-lawyer-inner,.theme-reference .home-consultation-inner,.theme-reference .home-map-inner{grid-template-columns:minmax(0,1fr);gap:24px}
  .theme-reference .home-lawyer-heading p{font-size:15px;margin:0;color:var(--muted)}
  .theme-reference .home-lawyer-heading>.eyebrow,.theme-reference .home-lawyer-heading>p{display:none}
  .theme-reference .lawyer-tile{grid-template-columns:105px minmax(0,1fr);min-height:210px;box-shadow:none;background:var(--surface);border-radius:4px}
  .theme-reference .lawyer-tile-copy{padding:18px 16px;min-width:0}
  .theme-reference .lawyer-tile-copy strong{font-size:20px;line-height:1.35;margin:8px 0}
  .theme-reference .lawyer-tile-copy>span:not(.lawyer-tile-link){font-size:13px;line-height:1.65}
  .theme-reference .lawyer-tile-copy .lawyer-tile-link{background:transparent;color:var(--action);padding:8px 0;margin-top:8px;font-size:13px;min-height:44px}
  .theme-reference .lawyer-tile:hover{transform:none;box-shadow:none}
  .theme-reference .home-consultation{background:var(--background)}
  .theme-reference .home-consultation-heading p{font-size:15px;line-height:1.75;margin:0}
  .theme-reference .home-consultation-heading>.text-link{display:none}
  .theme-reference .home-consultation-steps li{grid-template-columns:28px minmax(0,1fr);gap:12px;padding:18px 0}
  .theme-reference .home-consultation-steps li:hover{padding-left:0}
  .theme-reference .home-consultation-steps h3{font-size:17px;line-height:1.4;margin-bottom:6px}
  .theme-reference .home-consultation-steps p{font-size:14px;line-height:1.75}

  .theme-reference.juris-home .juris-practices{background:var(--surface);padding:40px 0}
  .theme-reference.juris-home .juris-section-heading{text-align:left;max-width:none;margin:0 0 20px}
  .theme-reference.juris-home .juris-section-heading h2{font-size:26px;margin:0}
  .theme-reference.juris-home .juris-section-heading>.eyebrow,.theme-reference.juris-home .juris-section-heading .practice-text{display:none}
  .theme-reference.juris-home .juris-practices .service-grid{grid-template-columns:minmax(0,1fr);gap:0;border-top:1px solid var(--line)}
  .theme-reference.juris-home .juris-practices .service-card,.theme-reference.juris-home .juris-practices .service-card:hover{display:block;padding:20px 0;background:var(--surface);color:var(--ink);border:0;border-bottom:1px solid var(--line);border-radius:0;box-shadow:none;transform:none}
  .theme-reference.juris-home .juris-practices .service-image{display:none}
  .theme-reference.juris-home .juris-practices .service-body{padding:0;min-height:0}
  .theme-reference .service-number{display:none}
  .theme-reference.juris-home .juris-practices .service-body h3,.theme-reference.juris-home .juris-practices .service-body h3 a,.theme-reference.juris-home .juris-practices .service-card:hover .service-body h3 a{font-size:19px;line-height:1.4;color:var(--ink);margin:0 0 8px}
  .theme-reference.juris-home .juris-practices .service-body p,.theme-reference.juris-home .juris-practices .service-card:hover .service-body p{display:block;font-size:14px;line-height:1.75;color:var(--muted);margin:0 0 8px;overflow:visible}
  .theme-reference.juris-home .juris-practices .service-body .text-link,.theme-reference.juris-home .juris-practices .service-card:hover .text-link{font-size:13px;min-height:44px;color:var(--action)}
  .theme-reference.juris-home .juris-practices .section-tail{margin-top:24px}
  .theme-reference .button{font-size:14px;min-height:46px;padding:11px 18px}
  .theme-reference .text-link{font-size:14px;min-height:44px;align-items:center}
  .theme-reference .articles-section{background:var(--background)}
  .theme-reference .section-heading{margin-bottom:24px}
  .theme-reference .section-heading p{font-size:15px;line-height:1.75}
  .theme-reference .journal-grid,.theme-reference .article-grid{grid-template-columns:minmax(0,1fr);gap:24px}
  .theme-reference .article-image img,.theme-reference .journal-feature .article-image img{width:100%;height:auto;aspect-ratio:1.8;object-fit:cover}
  .theme-reference .article-card h3,.theme-reference .journal-feature h3{font-size:21px;line-height:1.45}
  .theme-reference .article-content>p{font-size:15px;line-height:1.75}
  .theme-reference .journal-row{gap:14px;padding:18px 0;align-items:flex-start}
  .theme-reference .journal-thumb{flex:0 0 76px;width:76px;height:76px;border-radius:3px}
  .theme-reference .journal-row h3{font-size:16px;line-height:1.5}
  .theme-reference .journal-author,.theme-reference .journal-row time{font-size:12px}
  .theme-reference .faq-list summary{font-size:15px;line-height:1.6;padding:18px 0;gap:12px;align-items:flex-start}
  .theme-reference .faq-list details>div{font-size:15px;line-height:1.8}
  .theme-reference .faq-number{display:none}

  .theme-reference .home-map-section{background:var(--background);color:var(--ink);border-top:1px solid var(--line)}
  .theme-reference .home-map-heading h2,.theme-reference .home-map-heading address,.theme-reference .home-map-actions .text-link{color:var(--ink)}
  .theme-reference .home-map-heading .eyebrow{color:var(--action)}
  .theme-reference .home-map-heading address{font-size:15px;margin-top:12px}
  .theme-reference .home-map-actions{margin-top:16px;gap:8px}
  .theme-reference .home-map-actions .button{width:auto;background:transparent;border:0;color:var(--action);padding:8px 0;min-height:44px;font-size:14px}
  .theme-reference .home-map-actions .button-outline{display:none}
  .theme-reference .home-map-frame{height:250px;border:1px solid var(--line);border-radius:4px;box-shadow:none}
  .theme-reference .home-map-disclosure{color:var(--muted);font-size:12px;opacity:1}
  .theme-reference .home-map-visual{display:none}

  .theme-reference .page-heading{padding:24px 0 28px;background:var(--background)}
  .theme-reference .page-heading .container{text-align:left}
  .theme-reference .page-heading .breadcrumbs{justify-content:flex-start}
  .theme-reference .page-heading .eyebrow,.theme-reference .page-heading h1:after{display:none}
  .theme-reference .page-heading h1,.theme-reference .hub-title,.theme-reference .list-title,.theme-reference .post-title,.theme-reference .lawyer-profile-copy h1{font-size:30px;line-height:1.35;text-align:left;overflow-wrap:anywhere}
  .theme-reference .heading-watermark{display:none}
  .theme-reference .breadcrumbs,.theme-reference .crumb{font-size:12px;line-height:1.6;margin-bottom:18px;flex-wrap:wrap}
  .theme-reference .crumb-last{white-space:normal;overflow-wrap:anywhere}
  .theme-reference .hub-text{font-size:15px;text-align:left;margin-bottom:24px}
  .theme-reference .hub-card{display:grid;grid-template-columns:36px minmax(0,1fr);gap:8px 14px;padding:20px;text-align:left;align-items:start}
  .theme-reference .hub-card h2{font-size:19px;margin:0}
  .theme-reference .hub-icon{grid-row:1/3;width:36px;height:36px;border-radius:4px;background:var(--background);color:var(--action);box-shadow:none}
  .theme-reference .hub-icon svg{width:22px;height:22px}
  .theme-reference .hub-card p{font-size:14px;grid-column:2}
  .theme-reference .hub-count{position:static;grid-column:2;font-size:12px}
  .theme-reference .hub-card:hover,.theme-reference .hub-card:focus-visible{transform:none;background:var(--surface);color:var(--ink);box-shadow:none}
  .theme-reference .hub-card:hover p,.theme-reference .hub-card:hover .hub-count{color:var(--muted)}
  .theme-reference .post-header{text-align:left}
  .theme-reference .post-meta{justify-content:flex-start;gap:8px 12px;font-size:12px}
  .theme-reference .post-meta>*{padding:0;border:0}
  .theme-reference .post-lead{font-size:16px;padding:14px 16px}
  .theme-reference .post-main .prose,.theme-reference .prose{font-size:16px;line-height:1.85;overflow-wrap:anywhere}
  .theme-reference .post-main .prose p{text-align:left;hyphens:none}
  .theme-reference .prose h2,.theme-reference .post-main .prose h2{font-size:24px}
  .theme-reference .prose h3,.theme-reference .post-main .prose h3{font-size:20px}
  .theme-reference .post-side>.author-card,.theme-reference .sidebar-contact{display:none}
  .theme-reference .post-recent{padding:24px 0;border:0;border-top:1px solid var(--line);border-radius:0}
  .theme-reference .contact-form-card{padding:24px 0;border:0;box-shadow:none;background:transparent}
  .theme-reference .section:has(>.container>.archive-lead){padding:24px 0 0}
  .theme-reference .archive-lead{margin:0;font-size:16px}
  .theme-reference .contact-info>.eyebrow{display:none}
  .theme-reference .lawyer-profile{padding:28px 0 40px}
  .theme-reference .lawyer-profile-grid{gap:24px}
  .theme-reference .lawyer-profile-aside .lawyer-identity{display:none}
  .theme-reference .form-grid,.theme-reference .contact-details{grid-template-columns:minmax(0,1fr)}
  .theme-reference input,.theme-reference select,.theme-reference textarea{font-size:16px;max-width:100%;min-width:0}
  .theme-reference .checkbox-label{align-items:flex-start;font-size:14px;line-height:1.75}
  .theme-reference .search-dialog{width:calc(100% - 32px);max-width:500px;padding:20px}
  .theme-reference .search-dialog label{font-size:24px;line-height:1.4}
  .theme-reference .search-input{display:flex;flex-wrap:wrap;gap:10px}
  .theme-reference .search-input input{flex:1 1 170px;font-size:16px}
  .theme-reference .search-dialog .muted{font-size:14px}

  .theme-reference .site-footer{background:var(--surface);color:var(--ink);padding:32px 0 0;border-top:1px solid var(--line)}
  .theme-reference .site-footer:before,.theme-reference .footer-grid>.footer-col:nth-child(2),.theme-reference .footer-about,.theme-reference .footer-legal>p{display:none}
  .theme-reference .site-footer .footer-grid{grid-template-columns:minmax(0,1fr);gap:28px;padding-bottom:28px}
  .theme-reference .footer-grid .footer-col{grid-column:auto}
  .theme-reference .site-footer .brand{display:flex;color:var(--ink);margin-bottom:20px}
  .theme-reference .footer-grid .brand strong{font-size:24px}
  .theme-reference .footer-grid h3{font-size:15px;color:var(--ink);opacity:1;text-transform:none;margin-bottom:12px}
  .theme-reference .footer-title:after{display:none}
  .theme-reference .footer-grid a,.theme-reference .footer-grid p,.theme-reference .footer-grid li{color:var(--muted);font-size:14px;line-height:1.8;opacity:1;overflow-wrap:anywhere}
  .theme-reference .footer-grid ul{display:flex;flex-wrap:wrap;gap:0 20px}
  .theme-reference .footer-grid li a{display:inline-flex;align-items:center;min-height:44px}
  .theme-reference .footer-bottom{background:var(--background);color:var(--muted);border-top:1px solid var(--line);padding:18px 0}
  .theme-reference .footer-bottom-inner{display:flex;flex-direction:column;gap:12px;align-items:flex-start;text-align:left;font-size:12px}
  .theme-reference .footer-bottom a,.theme-reference .footer-payment{color:var(--ink);font-size:13px}

  .theme-reference .mobile-contact-bar{display:flex;gap:0;min-height:60px;padding:0 16px env(safe-area-inset-bottom,0px);background:var(--surface);border-top:1px solid var(--line);box-shadow:none;z-index:45}
  .theme-reference .mobile-contact-bar a[class]{min-height:60px;padding:8px 12px;gap:8px;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent;color:var(--ink);font-size:14px;font-weight:500;box-shadow:none;white-space:normal;text-align:center;line-height:1.4}
  .theme-reference .mobile-contact-bar a:last-child{border-right:0}
  .theme-reference .mobile-contact-bar a.mobile-contact-whatsapp{color:#176a3e}
  .theme-reference .mobile-contact-bar .mobile-contact-icon,.theme-reference .mobile-contact-bar .mobile-contact-whatsapp .mobile-contact-icon{width:24px;height:24px;flex-basis:24px;border-radius:0;background:transparent}
  .theme-reference .mobile-contact-bar a:hover{transform:none}
  .theme-reference .floating-contact,.theme-reference .back-top{display:none}
  .theme-reference.menu-open .mobile-contact-bar,.theme-reference:has(.search-dialog[open]) .mobile-contact-bar{visibility:hidden}
  .theme-reference .reveal,.theme-reference .reveal.is-visible{opacity:1;transform:none;transition:none}
}

@media screen and (max-width:360px){
  .theme-reference .container{width:calc(100% - 32px)}
  .theme-reference .main-nav,.theme-reference.home-page .main-nav{left:-16px;right:-16px;padding-inline:16px}
  .theme-reference .site-header .brand strong{font-size:19px}
  .theme-reference .site-header .brand small{font-size:7px}
  .theme-reference .lawyer-tile{grid-template-columns:88px minmax(0,1fr)}
  .theme-reference .lawyer-tile-copy{padding:16px 12px}
}
