/*
 * RD Oportunidades — páginas públicas de detalhe
 * Camada isolada: vagas, classificados, anunciantes e perfil profissional.
 * Não altera Home, landing principal, formulários, painel ou dados internos.
 */

.rdoc-public-detail,
.rdoc-public-detail *{box-sizing:border-box}

body.rdoc-system-single-page .rdoc-system-template{
    padding:30px clamp(14px,2vw,28px) 64px;
    background:
      radial-gradient(circle at 12% 0%,rgba(200,16,46,.055),transparent 28%),
      linear-gradient(180deg,#f7f9fc 0,#f3f6fa 100%);
}

body.rdoc-system-single-page .rdoc-system-template-inner{
    width:min(var(--rdoc-content-width,1600px),100%);
    margin:0 auto;
}

body.rdoc-system-single-page .rdoc-public-detail{
    --rdoc-detail-navy:#102a43;
    --rdoc-detail-blue:#174f78;
    --rdoc-detail-text:#172033;
    --rdoc-detail-muted:#667085;
    --rdoc-detail-line:#e4e9f0;
    --rdoc-detail-soft:#f7f9fc;
    --rdoc-detail-shadow:0 14px 40px rgba(15,35,55,.07);
    width:100%;
    max-width:100%;
    min-width:0;
    color:var(--rdoc-detail-text);
}

/* Navegação institucional superior */
body.rdoc-system-single-page .rdoc-public-detail>.rdoc-portal-nav,
.rdoc-listing>.rdoc-portal-nav{
    margin:0 0 18px;
    padding:10px 12px;
    border:1px solid #dfe5ec;
    border-radius:16px;
    background:rgba(255,255,255,.96);
    box-shadow:0 7px 24px rgba(16,42,67,.055);
}

body.rdoc-system-single-page .rdoc-public-detail>.rdoc-portal-nav .rdoc-nav-back,
body.rdoc-system-single-page .rdoc-public-detail>.rdoc-portal-nav .rdoc-nav-sitehome{
    min-height:38px;
    border-radius:10px;
}

/* Hero das vagas e classificados */
body.rdoc-system-single-page .rdoc-detail-hero{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:end;
    gap:28px;
    margin:0 0 14px;
    padding:clamp(26px,3vw,46px);
    overflow:hidden;
    border:0;
    border-radius:24px;
    background:
      linear-gradient(118deg,rgba(16,42,67,.98),rgba(23,79,120,.94)),
      #102a43;
    box-shadow:0 20px 50px rgba(16,42,67,.16);
    color:#fff;
}

body.rdoc-system-single-page .rdoc-detail-hero.is-classified{
    background:linear-gradient(118deg,#162638,#274c6b);
}

body.rdoc-system-single-page .rdoc-detail-hero-copy{min-width:0;max-width:1000px}
body.rdoc-system-single-page .rdoc-detail-hero .rdoc-system-single-kicker{
    margin-bottom:12px;
    padding:6px 10px;
    border:1px solid rgba(255,255,255,.18);
    background:rgba(255,255,255,.09);
    color:#fff;
}
body.rdoc-system-single-page .rdoc-detail-hero h1{
    max-width:1050px;
    margin:0;
    color:#fff;
    font-size:clamp(32px,3.3vw,58px);
    line-height:1.02;
    letter-spacing:-.035em;
    text-wrap:balance;
}
body.rdoc-system-single-page .rdoc-detail-hero-copy>p{
    max-width:860px;
    margin:16px 0 0;
    color:#e8eff6;
    font-size:clamp(14px,1.15vw,17px);
    line-height:1.65;
}
body.rdoc-system-single-page .rdoc-detail-hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    margin-top:20px;
}
body.rdoc-system-single-page .rdoc-detail-hero-badges span{
    display:flex;
    align-items:center;
    gap:7px;
    min-height:36px;
    max-width:100%;
    padding:7px 11px;
    border:1px solid rgba(255,255,255,.17);
    border-radius:999px;
    background:rgba(255,255,255,.08);
    color:#cfe0ed;
    font-size:12px;
    line-height:1.3;
}
body.rdoc-system-single-page .rdoc-detail-hero-badges b{
    overflow:hidden;
    color:#fff;
    font-weight:850;
    text-overflow:ellipsis;
    white-space:nowrap;
}
body.rdoc-system-single-page .rdoc-detail-hero-actions{
    display:grid;
    gap:9px;
    width:min(260px,100%);
}
body.rdoc-system-single-page .rdoc-detail-hero-actions .rdoc-btn{
    width:100%;
    min-height:48px;
    justify-content:center;
    border-color:var(--rdoc-accent,#c8102e);
    background:var(--rdoc-accent,#c8102e);
    color:#fff!important;
    box-shadow:0 10px 22px rgba(200,16,46,.2);
}
body.rdoc-system-single-page .rdoc-detail-hero-actions .rdoc-btn-light{
    border-color:rgba(255,255,255,.3);
    background:rgba(255,255,255,.08);
    color:#fff!important;
    box-shadow:none;
}

/* Barra de atalhos */
.rdoc-detail-jumpnav{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:8px;
    margin:0 0 18px;
    padding:8px;
    border:1px solid var(--rdoc-detail-line,#e4e9f0);
    border-radius:15px;
    background:#fff;
    box-shadow:0 6px 20px rgba(16,42,67,.04);
}
.rdoc-detail-jumpnav a{
    display:flex;
    align-items:center;
    justify-content:center;
    min-width:0;
    min-height:44px;
    padding:9px 12px;
    border:1px solid #dce4ed;
    border-radius:10px;
    background:#f5f8fb;
    color:#29435c!important;
    box-shadow:0 2px 6px rgba(16,42,67,.05);
    font-size:12px;
    font-weight:850;
    text-align:center;
    text-decoration:none!important;
    transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,background .15s ease,color .15s ease;
}
.rdoc-detail-jumpnav a:hover,
.rdoc-detail-jumpnav a:focus-visible{
    transform:translateY(-1px);
    border-color:#b8c8d8;
    background:#eaf1f7;
    color:#102a43!important;
    box-shadow:0 5px 12px rgba(16,42,67,.09);
}
body.rdoc-system-single-page .rdoc-public-detail.is-job .rdoc-detail-jumpnav a:nth-child(1),
body.rdoc-system-single-page .rdoc-public-detail.is-classified .rdoc-detail-jumpnav a:nth-child(1){
    border-color:#173f66;
    background:#173f66;
    color:#fff!important;
}
body.rdoc-system-single-page .rdoc-public-detail.is-job .rdoc-detail-jumpnav a:nth-child(2),
body.rdoc-system-single-page .rdoc-public-detail.is-classified .rdoc-detail-jumpnav a:nth-child(2){
    border-color:var(--rdoc-accent,#c8102e);
    background:var(--rdoc-accent,#c8102e);
    color:#fff!important;
}

/* Estrutura principal: conteúdo + ação */
body.rdoc-system-single-page .rdoc-detail-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(320px,390px);
    gap:24px;
    align-items:start;
    min-width:0;
}
body.rdoc-system-single-page .rdoc-detail-main,
body.rdoc-system-single-page .rdoc-detail-sidebar{
    display:grid;
    min-width:0;
    gap:18px;
}
body.rdoc-system-single-page .rdoc-detail-sidebar{
    position:sticky;
    top:24px;
}

/* Cards principais */
body.rdoc-system-single-page .rdoc-detail-media-card,
body.rdoc-system-single-page .rdoc-detail-summary-card,
body.rdoc-system-single-page .rdoc-detail-content-card,
body.rdoc-system-single-page .rdoc-detail-action-card,
body.rdoc-system-single-page .rdoc-detail-explore{
    min-width:0;
    border:1px solid var(--rdoc-detail-line);
    border-radius:20px;
    background:#fff;
    box-shadow:var(--rdoc-detail-shadow);
}
body.rdoc-system-single-page .rdoc-detail-media-card{padding:18px}
body.rdoc-system-single-page .rdoc-detail-media-card:empty{display:none}
body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-single-cover{
    width:100%!important;
    max-width:none!important;
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
    border:0!important;
    border-radius:14px!important;
    background:#f3f5f7!important;
    box-shadow:none!important;
}
body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-job-single-cover{
    aspect-ratio:16/7!important;
}
body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-job-single-cover img{
    width:100%!important;
    height:100%!important;
    object-fit:contain!important;
    object-position:center!important;
}
body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-classified-single-cover img{
    display:block;
    width:100%;
    max-height:660px;
    object-fit:contain;
    background:#f3f5f7;
}
body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-gallery{
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:10px;
    margin:12px 0 0;
}
body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-gallery img{
    width:100%;
    height:190px;
    border-radius:12px;
    object-fit:cover;
}

body.rdoc-system-single-page .rdoc-detail-summary-card{padding:18px 20px}
body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-single-meta{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
    margin:0;
    padding:0;
    background:transparent;
}
body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-single-meta>span{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    min-height:54px;
    padding:11px 13px;
    border:1px solid #e4e9ef;
    border-radius:11px;
    background:#f8fafc;
    color:#475467;
}
body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-single-meta>span>b{
    display:block;
    margin:0 0 4px;
    color:#667085;
    font-size:10px;
    font-weight:900;
    letter-spacing:.055em;
    line-height:1.2;
    text-transform:uppercase;
}
body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-meta-value{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:3px 6px;
    color:#1d2939;
    font-size:13.5px;
    font-weight:800;
    line-height:1.45;
}
body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-meta-value a{
    color:#1d4f7a!important;
    text-decoration:underline;
    text-underline-offset:2px;
}
body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-meta-separator{color:#98a2b3;font-weight:700}
body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-single-highlight{
    margin:12px 0 0;
    padding:13px 14px;
    border:1px solid #f2d4da;
    border-left:4px solid var(--rdoc-accent,#c8102e);
    border-radius:10px;
    background:#fff7f8;
}
body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-share-box{
    margin-top:14px;
}

body.rdoc-system-single-page .rdoc-detail-content-card{padding:clamp(20px,2.5vw,32px)}
body.rdoc-system-single-page .rdoc-detail-section-head{
    margin-bottom:22px;
    padding-bottom:16px;
    border-bottom:1px solid #edf0f4;
}
body.rdoc-system-single-page .rdoc-detail-section-head span,
body.rdoc-system-single-page .rdoc-detail-card-kicker{
    display:block;
    margin-bottom:6px;
    color:var(--rdoc-accent,#c8102e);
    font-size:10px;
    font-weight:900;
    letter-spacing:.09em;
    text-transform:uppercase;
}
body.rdoc-system-single-page .rdoc-detail-section-head h2{
    margin:0;
    color:#101828;
    font-size:clamp(23px,2.2vw,32px);
    line-height:1.15;
}
body.rdoc-system-single-page .rdoc-detail-content-card>p,
body.rdoc-system-single-page .rdoc-detail-content-card>.rdoc-rich-output,
body.rdoc-system-single-page .rdoc-detail-content-card>ul,
body.rdoc-system-single-page .rdoc-detail-content-card>ol{
    color:#344054;
    font-size:15.5px;
    line-height:1.75;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-single-section{
    margin:24px 0 0;
    padding:22px;
    border:1px solid #e7ebf0;
    border-radius:15px;
    background:#fbfcfd;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-single-section h3{
    margin:0 0 12px;
    color:#102a43;
    font-size:19px;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-facts-section{
    margin:0 0 24px;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-facts{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:0 18px;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-facts>div{
    padding:12px 0;
    border-bottom:1px solid #e9edf2;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-facts span,
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-facts strong{
    display:block;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-facts span{
    margin-bottom:4px;
    color:#667085;
    font-size:10.5px;
    font-weight:850;
    letter-spacing:.045em;
    text-transform:uppercase;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-facts strong{
    color:#1d2939;
    font-size:13px;
    line-height:1.45;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-property-facts{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-property-facts>span{
    padding:12px;
    border:1px solid #e5eaf0;
    border-radius:11px;
    background:#fff;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-property-facts b{
    display:block;
    margin-bottom:4px;
    color:#667085;
    font-size:10px;
    text-transform:uppercase;
}

/* Candidatura / contato */
body.rdoc-system-single-page .rdoc-detail-action-card{
    margin:0;
    padding:24px;
    border-top:4px solid #173f66;
    background:linear-gradient(180deg,#fff 0%,#fff 82%,#f7fafc 100%);
}
body.rdoc-system-single-page .rdoc-public-detail.is-job .rdoc-detail-action-card{
    border-top-color:var(--rdoc-accent,#c8102e);
}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-detail-card-kicker{
    margin-bottom:8px;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-description,
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-classified-description{
    border-left:4px solid #173f66;
    background:#fff;
}
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-description h3,
body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-classified-description h3{
    margin-bottom:10px;
}
body.rdoc-system-single-page .rdoc-detail-action-card h2{
    margin:0 0 7px;
    color:#101828;
    font-size:24px;
    line-height:1.15;
}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-apply-intro{
    margin:0 0 18px;
    color:#667085;
    font-size:13px;
    line-height:1.55;
}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-price-lg{
    display:block;
    margin:3px 0 12px;
    color:#101828;
    font-size:clamp(27px,2.3vw,36px);
}
body.rdoc-system-single-page .rdoc-detail-action-card>.rdoc-btn,
body.rdoc-system-single-page .rdoc-detail-action-card form>.rdoc-btn{
    width:100%;
    min-height:48px;
    justify-content:center;
}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-apply-method{
    margin:14px 0 0;
    padding:14px;
    border:1px solid #e7ebf0;
    border-radius:13px;
    background:#f8fafc;
}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-apply-method:first-of-type{margin-top:0}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-apply-method strong,
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-apply-method span{
    display:block;
}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-apply-method strong{
    margin-bottom:5px;
    color:#1d2939;
    font-size:13px;
}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-apply-method span{
    color:#667085;
    font-size:12px;
    line-height:1.5;
}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-contact-actions,
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-apply-resume-actions{
    display:grid;
    grid-template-columns:1fr;
    gap:7px;
    margin-top:10px;
}
body.rdoc-system-single-page .rdoc-detail-action-card .rdoc-btn-small{
    width:100%;
    min-height:42px;
    justify-content:center;
    text-align:center;
}
body.rdoc-system-single-page .rdoc-detail-action-card textarea,
body.rdoc-system-single-page .rdoc-detail-action-card select{
    width:100%;
    min-width:0;
}

/* Card de continuidade / engajamento */
body.rdoc-system-single-page .rdoc-detail-explore{padding:22px}
body.rdoc-system-single-page .rdoc-detail-explore h3{
    margin:0;
    color:#102a43;
    font-size:20px;
}
body.rdoc-system-single-page .rdoc-detail-explore>p{
    margin:7px 0 14px;
    color:#667085;
    font-size:12.5px;
    line-height:1.55;
}
body.rdoc-system-single-page .rdoc-detail-explore nav{
    display:grid;
    gap:7px;
}
body.rdoc-system-single-page .rdoc-detail-explore nav a{
    display:block;
    min-width:0;
    padding:12px 13px;
    border:1px solid #e6ebf0;
    border-radius:12px;
    background:#fafbfc;
    color:#263648!important;
    text-decoration:none!important;
    transition:transform .15s ease,border-color .15s ease,background .15s ease;
}
body.rdoc-system-single-page .rdoc-detail-explore nav a:hover,
body.rdoc-system-single-page .rdoc-detail-explore nav a:focus-visible{
    transform:translateY(-1px);
    border-color:#cbd6e1;
    background:#fff;
}
body.rdoc-system-single-page .rdoc-detail-explore nav b,
body.rdoc-system-single-page .rdoc-detail-explore nav small{display:block}
body.rdoc-system-single-page .rdoc-detail-explore nav b{font-size:12.5px}
body.rdoc-system-single-page .rdoc-detail-explore nav small{margin-top:3px;color:#7b8794;font-size:10.5px}

/* Aviso de segurança: mais legível e menos alarmista visualmente */
body.rdoc-system-single-page .rdoc-detail-main>.rdoc-safety-alert{
    margin:0;
    padding:18px 20px;
    border:1px solid #f0d8a8;
    border-radius:16px;
    background:#fffaf0;
    box-shadow:none;
}
body.rdoc-system-single-page .rdoc-detail-main>.rdoc-safety-alert p{
    margin:5px 0 0;
    color:#72572a;
    font-size:11.5px;
    line-height:1.6;
}

/* Perfil de anunciante / imobiliária */
body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-hero{
    margin-bottom:14px;
    padding:clamp(26px,3vw,40px);
    border-radius:24px;
    background:linear-gradient(120deg,#102a43,#174f78);
    box-shadow:0 20px 50px rgba(16,42,67,.16);
}
body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-layout{
    grid-template-columns:minmax(0,1fr) minmax(320px,380px);
    gap:24px;
}
body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-layout aside{top:24px}
body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-about,
body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-listings,
body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-contact-card,
body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-trust{
    border-radius:20px;
    box-shadow:var(--rdoc-detail-shadow);
}

/* Perfil profissional público */
.rdoc-profile-detail.rdoc-public-detail{
    width:100%;
    max-width:var(--rdoc-content-width,1600px);
    margin:0 auto;
}
.rdoc-profile-detail.rdoc-public-detail>.rdoc-back-link{
    display:inline-flex;
    align-items:center;
    min-height:40px;
    margin:0 0 12px;
    padding:0 12px;
    border:1px solid #dfe5ec;
    border-radius:10px;
    background:#fff;
    color:#344054!important;
    font-size:12px;
    font-weight:850;
    text-decoration:none!important;
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-hero{
    display:grid;
    grid-template-columns:1fr;
    overflow:hidden;
    border:0;
    border-radius:24px;
    background:#fff;
    box-shadow:0 18px 46px rgba(16,42,67,.1);
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-cover{
    min-height:220px;
    background-color:#dce5ed;
    background-size:cover;
    background-position:center;
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity{
    display:flex;
    align-items:center;
    gap:20px;
    padding:0 clamp(20px,3vw,34px) 22px;
    margin-top:-48px;
    position:relative;
    z-index:1;
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity>img,
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity>.rdoc-avatar{
    width:112px;
    height:112px;
    flex:0 0 112px;
    border:5px solid #fff;
    border-radius:22px;
    object-fit:cover;
    box-shadow:0 10px 25px rgba(16,42,67,.12);
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity>div{
    min-width:0;
    padding-top:52px;
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity h1{
    margin:2px 0 5px;
    color:#101828;
    font-size:clamp(30px,3vw,48px);
    line-height:1.05;
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity strong{display:block;color:#174f78;font-size:15px}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity p,
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity small{margin:4px 0 0;color:#667085}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-hero-actions{
    display:flex;
    flex-wrap:wrap;
    gap:8px;
    padding:0 clamp(20px,3vw,34px) 26px;
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-content{
    grid-template-columns:minmax(0,1fr) minmax(300px,370px);
    gap:24px;
    margin-top:18px;
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-content main{display:grid;gap:16px}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-section,
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-contact{
    margin:0;
    padding:24px;
    border:1px solid #e4e9f0;
    border-radius:19px;
    background:#fff;
    box-shadow:0 10px 30px rgba(16,42,67,.05);
}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-content aside{position:sticky;top:24px;align-self:start}
.rdoc-profile-detail.rdoc-public-detail .rdoc-profile-contact .rdoc-btn{width:100%;justify-content:center;margin-top:8px}

/* Garantias contra largura excessiva / conflitos do tema */
body.rdoc-system-single-page .rdoc-public-detail img,
body.rdoc-system-single-page .rdoc-public-detail video,
body.rdoc-system-single-page .rdoc-public-detail iframe,
.rdoc-profile-detail.rdoc-public-detail img{
    max-width:100%;
}
body.rdoc-system-single-page .rdoc-public-detail input,
body.rdoc-system-single-page .rdoc-public-detail select,
body.rdoc-system-single-page .rdoc-public-detail textarea,
body.rdoc-system-single-page .rdoc-public-detail button,
body.rdoc-system-single-page .rdoc-public-detail a,
.rdoc-profile-detail.rdoc-public-detail a{
    min-width:0;
}
body.rdoc-system-single-page .rdoc-public-detail p,
body.rdoc-system-single-page .rdoc-public-detail li,
body.rdoc-system-single-page .rdoc-public-detail dd,
.rdoc-profile-detail.rdoc-public-detail p,
.rdoc-profile-detail.rdoc-public-detail li{
    overflow-wrap:anywhere;
}

/* Tablet */
@media(max-width:1100px){
    body.rdoc-system-single-page .rdoc-detail-hero{grid-template-columns:1fr;align-items:start}
    body.rdoc-system-single-page .rdoc-detail-hero-actions{display:flex;width:100%;flex-wrap:wrap}
    body.rdoc-system-single-page .rdoc-detail-hero-actions .rdoc-btn{width:auto;flex:1 1 220px}
    body.rdoc-system-single-page .rdoc-detail-layout,
    body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-layout,
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-content{grid-template-columns:1fr}
    body.rdoc-system-single-page .rdoc-detail-sidebar,
    body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-layout aside,
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-content aside{position:static}
    body.rdoc-system-single-page .rdoc-detail-sidebar{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* Celulares e tablets menores */
@media(max-width:760px){
    body.rdoc-system-single-page .rdoc-system-template{padding:16px 10px 40px}
    body.rdoc-system-single-page .rdoc-detail-hero{gap:20px;padding:24px 18px;border-radius:18px}
    body.rdoc-system-single-page .rdoc-detail-hero h1{font-size:clamp(28px,8vw,38px)}
    body.rdoc-system-single-page .rdoc-detail-hero-badges{display:grid;grid-template-columns:1fr;width:100%}
    body.rdoc-system-single-page .rdoc-detail-hero-badges span{border-radius:10px}
    body.rdoc-system-single-page .rdoc-detail-hero-badges b{white-space:normal}
    body.rdoc-system-single-page .rdoc-detail-hero-actions{display:grid;grid-template-columns:1fr}
    body.rdoc-system-single-page .rdoc-detail-hero-actions .rdoc-btn{width:100%}
    .rdoc-detail-jumpnav{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;padding:7px}
    .rdoc-detail-jumpnav a{min-height:46px;padding:10px 11px;font-size:12.5px}
    body.rdoc-system-single-page .rdoc-detail-sidebar{grid-template-columns:1fr}
    body.rdoc-system-single-page .rdoc-detail-media-card{padding:10px;border-radius:15px}
    body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-job-single-cover{aspect-ratio:16/9!important}
    body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}
    body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-gallery img{height:140px}
    body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-single-meta,
    body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-job-facts,
    body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-property-facts{grid-template-columns:1fr}
    body.rdoc-system-single-page .rdoc-detail-content-card{padding:20px 17px;border-radius:16px}
    body.rdoc-system-single-page .rdoc-detail-content-card .rdoc-single-section{padding:17px 15px}
    body.rdoc-system-single-page .rdoc-detail-action-card,
    body.rdoc-system-single-page .rdoc-detail-explore{padding:19px 16px;border-radius:16px}
    body.rdoc-system-single-page .rdoc-public-detail.is-advertiser .rdoc-realestate-hero{padding:22px 18px;border-radius:18px}
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-cover{min-height:160px}
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity{align-items:flex-start;flex-direction:column;margin-top:-40px;padding:0 18px 18px}
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity>img,
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity>.rdoc-avatar{width:92px;height:92px;flex-basis:92px;border-radius:18px}
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-identity>div{padding-top:0}
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-hero-actions{display:grid;grid-template-columns:1fr;padding:0 18px 20px}
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-hero-actions .rdoc-btn{width:100%;justify-content:center}
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-section,
    .rdoc-profile-detail.rdoc-public-detail .rdoc-profile-contact{padding:19px 16px;border-radius:16px}
}

@media(max-width:430px){
    .rdoc-detail-jumpnav{grid-template-columns:1fr}
    .rdoc-detail-jumpnav a{min-height:40px;justify-content:flex-start;text-align:left}
    body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-gallery{grid-template-columns:1fr}
    body.rdoc-system-single-page .rdoc-detail-media-card .rdoc-gallery img{height:auto;max-height:280px}
}

/* Compartilhamento integrado aos cards, sem criar uma segunda caixa visual. */
body.rdoc-system-single-page .rdoc-detail-summary-card .rdoc-social-share{
    margin:14px 0 0;
    padding:14px 0 0;
    border:0;
    border-top:1px solid #edf0f4;
    border-radius:0;
    background:transparent;
    box-shadow:none;
}
body.rdoc-system-single-page .rdoc-detail-summary-card>.rdoc-social-share:first-child{
    margin:0;
    padding:0;
    border-top:0;
}
