/*
Theme Name: M&A Advogados Institucional
Theme URI: https://meaadvogados.com/
Author: M&A Advogados
Description: Tema clássico que preserva o site institucional aprovado, com blog nativo e configuração explícita de páginas. Não requer Elementor.
Version: 1.1.2
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: ma-advogados
License: Proprietary — uso exclusivo Maffioletti & Arndt Advogados
*/
.admin-bar .site-header{top:32px}
.ma-editorial{max-width:1100px;min-height:55vh}.ma-editorial>article{max-width:900px;margin-inline:auto}
.ma-post-header{margin:30px 0}.ma-post-header h1,.ma-editorial h1{font-size:clamp(2.4rem,5vw,4.8rem);line-height:1.1;overflow-wrap:anywhere}
.ma-post-featured{max-height:620px;width:100%;height:auto;object-fit:contain;border-radius:12px;margin:24px 0 36px}
.ma-entry-content{font-size:1.125rem;line-height:1.8;overflow-wrap:anywhere}
.ma-entry-content p,.ma-excerpt p{text-align:justify;hyphens:auto}
.ma-entry-content p,.ma-entry-content ul,.ma-entry-content ol,.ma-entry-content blockquote,.ma-entry-content figure{margin-bottom:1.5em}
.ma-entry-content ul,.ma-entry-content ol{padding-inline-start:1.5em}
.ma-entry-content h2,.ma-entry-content h3,.ma-entry-content h4{margin-top:1.4em;margin-bottom:.6em}
.ma-entry-content img,.ma-entry-content video,.ma-entry-content iframe{max-width:100%}
.ma-entry-content img{height:auto;border-radius:12px}.ma-entry-content table{display:block;max-width:100%;overflow-x:auto}
.ma-entry-content a,.ma-tags a{text-decoration:underline;text-underline-offset:3px}
.ma-entry-content blockquote{border-left:3px solid #a7804a;padding-left:1.2em}
.ma-post-grid{margin-top:42px;align-items:start}.ma-post-grid h2{font-size:2rem;margin:18px 0}
.ma-post-thumb{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:12px;margin-bottom:24px}
.ma-excerpt{font-size:1.05rem}.ma-search-form{display:flex;align-items:stretch;gap:12px;flex-wrap:wrap;margin:30px 0}
.ma-search-form label{flex:1;min-width:200px}.ma-search-form input{width:100%;height:100%;min-height:52px;padding:12px 16px;border:1px solid #b8b6af;border-radius:4px;font:inherit;color:inherit;background:transparent}
.ma-search-form button{min-height:52px;cursor:pointer}
.ma-pagination,.pagination,.post-navigation{margin:42px 0}.pagination .nav-links{display:flex;flex-wrap:wrap;gap:12px}
.page-numbers{padding:10px 14px;border:1px solid #c2bfb4}.page-numbers.current{background:#19191f;color:#fefefe}
.post-navigation .nav-links{display:flex;justify-content:space-between;gap:32px}.post-navigation a{display:block;max-width:390px}
.ma-comments{margin:60px 0}.ma-comments input:not([type=checkbox]),.ma-comments textarea{max-width:100%;width:100%;padding:12px;font:inherit;background:#fff;border:1px solid #b8b6af}
.ma-comments .form-submit input{width:auto;background:#19191f;color:#fff;padding:14px 24px;cursor:pointer}.ma-comments .comment-list{list-style:none;padding:0}
.ma-comments .comment-body{padding:24px 0;border-bottom:1px solid #ddd}.ma-comments .avatar{border-radius:50%;float:left;margin-right:12px}
.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.screen-reader-text:focus{position:fixed!important;top:0;left:0;width:auto;height:auto;clip-path:none;z-index:9999;background:white;padding:16px}
@media(max-width:782px){.admin-bar .site-header{top:46px}.ma-post-grid{grid-template-columns:1fr}.post-navigation .nav-links{flex-direction:column}.ma-editorial{padding-top:48px}}
@media(max-width:600px){.admin-bar .site-header{top:0}.ma-entry-content{font-size:1.0625rem}.ma-post-header h1,.ma-editorial h1{font-size:2.5rem}.ma-search-form{gap:10px}.ma-search-form button{width:100%;justify-content:center}}
/* Editorial archive: readable cards and native, linkable filters. */
.ma-blog h1{font-size:clamp(2.8rem,5vw,4.8rem);line-height:1.08;font-weight:400;overflow-wrap:break-word}
.ma-archive-intro{max-width:850px;font-size:1.18rem;line-height:1.75;margin:0 0 32px;text-align:justify;hyphens:auto}
.ma-editorial-filters{display:flex;align-items:end;flex-wrap:wrap;gap:16px;padding:24px 0;border-block:1px solid #d2cec4;margin:32px 0 64px}
.ma-editorial-filters label{display:flex;flex:1;min-width:170px;flex-direction:column;gap:8px;font-size:.95rem}
.ma-editorial-filters select{font:inherit;color:inherit;min-height:48px;padding:10px 32px 10px 12px;border:1px solid #aaa69d;border-radius:6px;background:#faf8f2;width:100%}
.ma-editorial-filters button{border:0;min-height:48px;padding:12px 20px;cursor:pointer;font:inherit;white-space:normal}
.ma-editorial-filters>a{padding:12px 0;text-decoration:underline;text-underline-offset:4px}
.ma-featured-section{margin:40px 0 80px}.ma-featured-section>h2,.ma-archive-heading{font-size:clamp(2.2rem,4vw,3.5rem);font-weight:400}
.ma-featured-grid{gap:32px;margin-top:32px}.ma-feature-card{min-width:0;display:flex;flex-direction:column;border-top:1px solid #bdb8ac;padding-top:24px}
.ma-feature-card h3{font-size:1.9rem;line-height:1.18;overflow-wrap:break-word;margin:16px 0}
.ma-feature-card h3 a:hover{text-decoration:underline;text-underline-offset:5px}
.ma-feature-card p{font-size:1.05rem;line-height:1.7;text-align:justify;hyphens:auto;margin-bottom:24px}
.ma-feature-card .meta{font-size:.79rem;line-height:1.6;letter-spacing:.06em;overflow-wrap:anywhere}
.ma-feature-card>.text-link{margin-top:auto;align-self:flex-start;gap:12px}
.ma-editorial-credit{font-size:.92rem;line-height:1.6;color:#65656d;margin-top:20px}
.ma-related{padding-top:36px;margin-top:60px;border-top:1px solid #d2cec4}.ma-related>h2{font-size:2.5rem;margin-bottom:30px}
.ma-related .ma-feature-card h3{font-size:1.65rem}.ma-person-publications{font-size:.95rem;margin-top:16px;line-height:1.5;display:flex;gap:10px}
#gustavo-maffioletti,#giulia-vitoria-arndt{scroll-margin-top:140px}
@media(max-width:900px){.ma-featured-grid,.ma-related .article-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.ma-featured-grid,.ma-related .article-grid{grid-template-columns:1fr}.ma-featured-grid{gap:34px}.ma-editorial-filters{gap:18px;margin-bottom:44px}.ma-editorial-filters label{flex-basis:100%;min-width:0}.ma-editorial-filters button{width:100%;justify-content:center}.ma-feature-card h3{font-size:1.85rem}.ma-archive-intro{font-size:1.08rem}.ma-featured-section{margin-bottom:50px}.ma-person-publications{font-size:.9rem}.ma-related{margin-top:40px}}

/* Match institutional vector arrows on every device; keep long labels inside cards. */
.ma-person-publications{display:grid;grid-template-columns:minmax(0,1fr) 20px;align-items:center;gap:10px;width:100%;min-height:44px;text-align:start}
.ma-person-publications .link-label{min-width:0;overflow-wrap:break-word;hyphens:none}
.ma-person-publications .ui-icon{justify-self:end}
@media(max-width:600px){.ma-person-publications{gap:8px;padding-block:10px}}
