/* Mártires do Guiúa — estilo G (padrões e retrato recortado) */
@import url('https://fonts.googleapis.com/css2?family=Anton&family=Rubik+Dirt&family=Work+Sans:ital,wght@0,400;0,500;0,600;1,400&display=swap');

:root {
  --gm-red: #D6402F;
  --gm-yellow: #F0A030;
  --gm-ochre: #C77A0E;
  --gm-green: #2E7D57;
  --gm-black: #1A1A1A;
  --gm-text: #3A3A3A;
  --gm-sand: #F7F3EA;
  --gm-soft: #F1F3EE;
  --gm-zigzag: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='28'%3E%3Crect width='40' height='28' fill='%23F0A030'/%3E%3Cpath d='M0 22 L10 8 L20 22 L30 8 L40 22' fill='none' stroke='%23D6402F' stroke-width='5'/%3E%3Cpath d='M0 14 L10 0 L20 14 L30 0 L40 14' fill='none' stroke='%232E7D57' stroke-width='4'/%3E%3C/svg%3E");
  --gm-dots: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='18'%3E%3Crect width='22' height='18' fill='%232E7D57'/%3E%3Ccircle cx='11' cy='9' r='4' fill='%23F0A030'/%3E%3Ccircle cx='11' cy='9' r='1.6' fill='%23D6402F'/%3E%3C/svg%3E");
  --gm-dots-red: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='18'%3E%3Crect width='22' height='18' fill='%23D6402F'/%3E%3Ccircle cx='11' cy='9' r='4' fill='%23F0A030'/%3E%3Ccircle cx='11' cy='9' r='1.6' fill='%232E7D57'/%3E%3C/svg%3E");
  --gm-diamonds: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Crect width='60' height='60' fill='%232E7D57'/%3E%3Cpath d='M30 2 L58 30 L30 58 L2 30 Z' fill='%231A1A1A'/%3E%3Cpath d='M30 12 L48 30 L30 48 L12 30 Z' fill='%23D6402F'/%3E%3Cpath d='M30 21 L39 30 L30 39 L21 30 Z' fill='%23F0A030'/%3E%3C/svg%3E");
  --gm-jagged: polygon(8% 0, 92% 3%, 100% 14%, 96% 40%, 100% 66%, 94% 100%, 30% 97%, 4% 100%, 0 72%, 5% 46%, 0 18%);
  --gm-jagged-soft: polygon(6% 0, 94% 2%, 100% 12%, 97% 40%, 100% 68%, 95% 100%, 32% 97%, 4% 100%, 0 74%, 3% 46%, 0 16%);
}

/* Base */
html body { font-family: 'Work Sans', system-ui, sans-serif; color: var(--gm-black); background: #FFFFFF; font-size: 17px; line-height: 1.6; }
html body h1, html body h2, html body h3, html body h4, html body h5, html body h6 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; letter-spacing: 0.01em; line-height: 1.1; color: var(--gm-black); }
html body a { color: var(--gm-black); }
html body a:hover, html body a:focus { color: var(--gm-red); }

/* Cabeçalho */
#sp-header, #sp-header.header-sticky { background: #FFFFFF !important; box-shadow: none; border-bottom: 0; opacity: 1 !important; visibility: visible !important; transform: none !important; }
#sp-header::after { content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 12px; background: var(--gm-dots) repeat-x; z-index: 2; }
#sp-header .logo a, #sp-header .logo { text-decoration: none; }
#sp-header .logo h1, #sp-header .logo .logo-text, #sp-header .logo a { font-family: 'Anton', sans-serif; font-size: 26px; text-transform: uppercase; color: var(--gm-black); display: inline-flex; align-items: center; gap: 12px; }
#sp-header .logo a::before { content: ''; width: 46px; height: 46px; flex: none; background: url('../../../images/martires/logo/simbolo.svg') center / contain no-repeat; }
.sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span { font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 15px; color: var(--gm-black) !important; text-transform: none; }
.sp-megamenu-parent > li:hover > a, .sp-megamenu-parent > li.active > a { color: var(--gm-red) !important; }
.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner { border-radius: 0; border-top: 4px solid var(--gm-red); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.gm-btn-graca { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; background: var(--gm-black); color: #FFFFFF !important; font-weight: 600; text-decoration: none; }
.gm-btn-graca:hover { background: var(--gm-red); color: #FFFFFF !important; }

/* Títulos de página (Helix) */
#sp-title .sp-page-title { background: #FFFFFF; padding: 56px 0 24px; }
#sp-title .sp-page-title h2, #sp-title .sp-page-title h1 { color: var(--gm-black); font-size: 52px; }
#sp-title .breadcrumb, #sp-title .breadcrumb a { color: var(--gm-text); background: none; }

/* Botões genéricos */
.btn-primary, .sppb-btn-primary { background: var(--gm-red); border-color: var(--gm-red); border-radius: 0; color: #FFFFFF; }
.btn-primary:hover, .sppb-btn-primary:hover { background: var(--gm-black); border-color: var(--gm-black); }

/* Ficha do mártir (artigo da categoria Mártires) */
.com-content-article .fields-container, .item-page .fields-container { list-style: none; margin: 0 0 32px; padding: 24px 28px; background: var(--gm-sand); display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px 28px; }
.fields-container .field-entry { margin: 0; }
.fields-container .field-label { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gm-green); }
.fields-container .field-value { font-size: 17px; color: var(--gm-black); }
.catid-14 .article-full-image img, .catid-14 .full-image img { clip-path: var(--gm-jagged); filter: grayscale(1) contrast(1.1); max-height: 560px; width: auto; }

/* Artigo: limpar elementos do Kind que não se usam */
.article-details .hits, .item-page .hits, .key-summery-wrapper .key-summery, .social-share-wrapper, .article-ratings, .blog-details-author-info .article-author-information { display: none !important; }
.blog-details-author-info .row > .col-md-6 { flex: 0 0 100%; max-width: 100%; }
.blog-details-author-info .row > .col-md-6:empty { display: none; }
.key-summery-wrapper { background: none !important; border: 0 !important; padding: 0 !important; margin: 0 0 24px; box-shadow: none !important; }
.article-details .key-summery-wrapper p, .key-summery-wrapper p { font-size: 21px !important; line-height: 1.6 !important; font-weight: 500; color: var(--gm-black) !important; max-width: 760px; margin: 0; }
.fields-container .field-entry:has(.field-label)::before { display: none; }
.fields-container .field-label { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gm-green); }
.fields-container .data-da-morte .field-label { color: var(--gm-red); }
.blog-details-author-info .col-md-6.d-flex { display: block !important; }
.blog-details-author-info .fields-container { list-style: none; margin: 0 0 32px; padding: 24px 28px; background: var(--gm-sand) !important; display: grid !important; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px 28px; border-radius: 0 !important; width: 100%; }
.blog-details-author-info .fields-container .field-entry { padding: 0 !important; border: 0 !important; font-size: 17px; }
.fields-container .field-entry::before { display: block; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--gm-green); }
.fields-container .field-entry.nascimento::before { content: 'Nascimento'; }
.fields-container .field-entry.naturalidade::before { content: 'Naturalidade'; }
.fields-container .field-entry.papel::before { content: 'Papel no grupo'; }
.fields-container .field-entry.familia::before { content: 'Família'; }
.fields-container .field-entry.data-da-morte::before { content: 'Data da morte'; color: var(--gm-red); }
.article-details .article-header h1, .item-page .article-header h1 { font-size: 64px; margin-bottom: 24px; }
.article-details .article-full-image, .item-page .article-full-image { float: none !important; display: block; margin: 0 0 32px; }
.article-details .article-full-image img, .item-page .article-full-image img { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 0; }
.article-details:has(.fields-container) .article-full-image { display: inline-block; background: var(--gm-red); padding: 10px; clip-path: var(--gm-jagged); }
.article-details:has(.fields-container) .article-full-image img { width: auto; max-width: 100%; clip-path: var(--gm-jagged); filter: grayscale(1) contrast(1.1); }
.article-details .article-full-image figcaption { font-size: 14px; color: var(--gm-text); margin-top: 8px; }
.article-details > div > p, .item-page [itemprop="articleBody"] p { font-size: 18px; line-height: 1.75; color: var(--gm-text); max-width: 760px; }

/* Blog de categorias (Mártires e Notícias) */
.blog-items .blog-item, .blog .item { background: var(--gm-soft); border: 0; border-radius: 0; box-shadow: none; }
.blog-items .blog-item .item-content, .blog .item .item-content { padding: 20px 22px 26px; }
.blog-items .blog-item h2, .blog .item h2 { font-size: 24px; }
.blog-items .item-image img { border-radius: 0; }

/* Rodapé */
#sp-bottom { background: var(--gm-black) !important; background-image: none !important; color: #E5E5E5; position: relative; padding-top: 72px; }
#sp-bottom .container, #sp-footer .container { max-width: 1200px !important; padding-left: 32px !important; padding-right: 32px !important; margin: 0 auto; }
#sp-bottom .row { margin-left: 0; margin-right: 0; }
#sp-bottom { padding-top: 0 !important; padding-bottom: 32px !important; }
#sp-bottom > .container { position: relative; padding-top: 88px !important; }
#sp-bottom1 { padding-left: 0; padding-right: 0; }
#sp-footer { background: var(--gm-black) !important; background-image: none !important; }
#sp-footer .copyright, #sp-footer span { color: #BDBDBD; }
#sp-bottom::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 46px; background: var(--gm-dots) repeat-x top, var(--gm-zigzag) repeat-x 0 18px; }
#sp-bottom a, #sp-footer a { color: #FFFFFF; }
#sp-footer { background: var(--gm-black); color: #BDBDBD; border-top: 1px solid #333; }
.gm-rodape { display: grid; grid-template-columns: 1.2fr 0.8fr 1.4fr; gap: 32px 48px; font-size: 15px; line-height: 1.65; color: #D6D6D6; padding-bottom: 24px; }
.gm-rodape p { margin: 0 0 12px; }
.gm-rodape strong { color: #FFFFFF; }
.gm-rodape a { color: #FFFFFF; text-decoration: underline; text-underline-offset: 3px; }
.gm-rodape a:hover { color: var(--gm-yellow); }
.gm-rodape__autor { border-left: 4px solid var(--gm-yellow); padding-left: 20px; }
@media (max-width: 767px) { .gm-rodape { grid-template-columns: 1fr; } }
.gm-rodape-nome { display: flex; align-items: center; gap: 12px; }
.gm-rodape-nome::before { content: ''; width: 52px; height: 52px; flex: none; background: url('../../../images/martires/logo/simbolo-claro.svg') center / contain no-repeat; }
.gm-rodape-nome { font-family: 'Anton', sans-serif; font-size: 26px; text-transform: uppercase; color: #FFFFFF; margin: 0 0 8px; }

/* ============ Página inicial ============ */
.gm-wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; box-sizing: border-box; }
.gm-eyebrow { margin: 0 0 12px; font-size: 15px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; }
.gm-btn { display: inline-flex; align-items: center; min-height: 50px; padding: 0 24px; font-weight: 600; text-decoration: none !important; }
.gm-btn--red { background: var(--gm-red); color: #FFFFFF !important; }
.gm-btn--red:hover { background: var(--gm-black); }
.gm-btn--line { border: 2px solid var(--gm-black); color: var(--gm-black) !important; }
.gm-btn--line:hover { background: var(--gm-black); color: #FFFFFF !important; }
.gm-btn--green { background: var(--gm-green); color: #FFFFFF !important; }
.gm-btn--green:hover { background: var(--gm-black); }
.gm-spiral { position: absolute; width: 44px; height: 44px; pointer-events: none; }
.gm-h2 { margin: 0; font-size: 48px; }
.gm-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 40px; }
.gm-link { font-weight: 600; border-bottom: 3px solid var(--gm-red); padding-bottom: 3px; text-decoration: none !important; }

/* Abertura */
.gm-hero { position: relative; overflow: hidden; background: #FFFFFF; }
.gm-hero__corner { position: absolute; left: 0; top: 0; width: 360px; height: 230px; background: var(--gm-diamonds); clip-path: polygon(0 0, 100% 0, 83% 26%, 67% 52%, 50% 74%, 33% 87%, 17% 100%, 0 100%); }
.gm-hero__inner { position: relative; display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-end; padding-top: 40px; padding-bottom: 72px; }
.gm-hero__text { flex: 999 1 560px; min-width: 0; padding-top: 160px; }
.gm-hero h1 { margin: 0; font-family: 'Rubik Dirt', 'Anton', sans-serif; font-size: 112px; line-height: .95; }
.gm-hero__tri { margin: 18px 0 0; font-family: 'Anton', sans-serif; font-size: 40px; line-height: 1.1; text-transform: uppercase; }
.gm-hero__tri .r { color: var(--gm-red); } .gm-hero__tri .o { color: var(--gm-ochre); } .gm-hero__tri .g { color: var(--gm-green); }
.gm-hero__lead { margin: 22px 0 0; font-size: 19px; line-height: 1.6; color: var(--gm-text); max-width: 560px; }
.gm-hero__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; }
.gm-hero__figure { flex: 1 1 380px; max-width: 470px; margin: 0; }
.gm-cutout { background: var(--gm-red); padding: 12px; clip-path: var(--gm-jagged); }
.gm-cutout img { width: 100%; height: 640px; object-fit: cover; display: block; filter: grayscale(1) contrast(1.1); clip-path: var(--gm-jagged); }
.gm-hero__figure figcaption { margin-top: 10px; font-size: 14px; color: var(--gm-text); }

/* Faixas */
.gm-band-zigzag { height: 28px; background: var(--gm-zigzag) repeat-x; }
.gm-band-dots { height: 18px; background: var(--gm-dots) repeat-x; }

/* Causa */
.gm-section { padding-top: 88px; padding-bottom: 88px; }
.gm-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.gm-step { padding: 24px; }
.gm-step__mark { display: inline-flex; width: 36px; height: 36px; border-radius: 50%; align-items: center; justify-content: center; margin-bottom: 14px; color: #FFFFFF; font-weight: 600; }
.gm-step__state { margin: 0 0 6px; font-size: 13px; font-weight: 600; }
.gm-step__title { margin: 0; font-family: 'Anton', sans-serif; font-size: 24px; text-transform: uppercase; line-height: 1.15; }
.gm-step__text { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--gm-text); }
.gm-step--1 { background: #FBE1DC; } .gm-step--1 .gm-step__mark { background: var(--gm-red); } .gm-step--1 .gm-step__state { color: #A12A1C; }
.gm-step--2 { background: #FCEAC7; } .gm-step--2 .gm-step__mark { background: var(--gm-ochre); } .gm-step--2 .gm-step__state { color: #8A5300; }
.gm-step--3 { background: #DCEEE3; } .gm-step--3 .gm-step__mark { background: var(--gm-green); } .gm-step--3 .gm-step__state { color: #1F6342; }
.gm-step--now { background: #F5B94A; } .gm-step--now .gm-step__mark { background: var(--gm-black); } .gm-step--now .gm-step__mark::after { content: ''; width: 12px; height: 12px; border-radius: 50%; background: #F5B94A; } .gm-step--now .gm-step__state, .gm-step--now .gm-step__text { color: var(--gm-black); }
.gm-step--next { background: #F2EFE8; } .gm-step--next .gm-step__mark { background: #D9D4CA; color: var(--gm-text); } .gm-step--next .gm-step__state { color: var(--gm-text); }

/* Vídeo */
.gm-video { position: relative; aspect-ratio: 16 / 9; background: var(--gm-black); }
.gm-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Servos de Deus e oração */
.gm-servos { background: var(--gm-sand); position: relative; overflow: hidden; }
.gm-servos__inner { display: flex; flex-wrap: wrap; gap: 48px; }
.gm-servos__list { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; }
.gm-servos__list ul { flex: 1; margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(12, minmax(44px, 1fr)); grid-auto-flow: column; column-gap: 32px; }
.gm-servos__list li { display: flex; align-items: center; border-bottom: 1px solid #E4DCCB; }
.gm-servos__list a { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 44px; text-decoration: none; font-size: 21px; font-weight: 600; line-height: 1.2; color: var(--gm-black); }
.gm-servos__list a::before { content: ''; flex: none; width: 6px; height: 26px; background: var(--gm-red); }
.gm-servos__list li:nth-child(3n+2) a::before { background: var(--gm-yellow); }
.gm-servos__list li:nth-child(3n+3) a::before { background: var(--gm-green); }
.gm-servos__list a::after { content: '+'; margin-left: auto; font-size: 22px; font-weight: 400; color: #A79F90; transition: color .15s, transform .15s; }
.gm-servos__list a:hover, .gm-servos__list a:focus-visible { color: var(--gm-red); }
.gm-servos__list a:hover::after, .gm-servos__list a:focus-visible::after { color: var(--gm-red); transform: scale(1.2); }

/* Janela da biografia */
.gm-modal { width: min(880px, calc(100vw - 32px)); max-height: calc(100vh - 48px); padding: 0; border: 0; background: #FFFFFF; color: var(--gm-black); box-shadow: 0 24px 80px rgba(0,0,0,.35); overflow: hidden; }
.gm-modal::backdrop { background: rgba(26,26,26,.72); }
.gm-modal__band { height: 18px; background: var(--gm-dots-red) repeat-x; }
.gm-modal__bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px 12px 32px; border-bottom: 1px solid #ECE6D9; }
.gm-modal__count { margin-right: auto; font-size: 14px; font-weight: 600; color: var(--gm-text); letter-spacing: .06em; text-transform: uppercase; }
.gm-modal__btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding: 0 14px; border: 0; background: var(--gm-soft); color: var(--gm-black); font: 600 15px 'Work Sans', sans-serif; cursor: pointer; }
.gm-modal__btn:hover, .gm-modal__btn:focus-visible { background: var(--gm-black); color: #FFFFFF; }
.gm-modal__btn--close { background: var(--gm-red); color: #FFFFFF; font-size: 22px; }
.gm-modal__body { padding: 28px 40px 40px; overflow-y: auto; max-height: calc(100vh - 48px - 90px); }
.gm-modal__body .article-header h1, .gm-modal__body h1 { font-size: 48px; margin: 0 0 20px; }
.gm-modal__body .fields-container { list-style: none; margin: 0 0 28px; padding: 20px 24px; background: var(--gm-sand); display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 14px 24px; }
.gm-modal__body .fields-container .field-entry { padding: 0; border: 0; font-size: 16px; }
.gm-modal__layout { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.gm-modal__photo { flex: 0 1 260px; margin: 0; background: var(--gm-red); padding: 8px; clip-path: var(--gm-jagged); }
.gm-modal__photo img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.1); clip-path: var(--gm-jagged); }
.gm-modal__text { flex: 1 1 360px; min-width: 0; }
.gm-modal__text p { font-size: 17px; line-height: 1.75; color: var(--gm-text); margin: 0 0 14px; }
.gm-modal__text .gm-modal__lead { font-size: 19px; font-weight: 500; color: var(--gm-black); }
.gm-modal__more { display: inline-block; margin-top: 12px; font-weight: 600; border-bottom: 3px solid var(--gm-red); padding-bottom: 3px; text-decoration: none; }
.gm-modal__loading { padding: 48px 0; text-align: center; color: var(--gm-text); }
html.gm-modal-open { overflow: hidden; }
.gm-oracao { flex: 1 1 380px; min-width: 0; align-self: flex-start; background: #FFFFFF; clip-path: var(--gm-jagged-soft); }
.gm-oracao::before { content: ''; display: block; height: 18px; background: var(--gm-dots-red) repeat-x; }
.gm-oracao__body { padding: 34px 48px 48px; }
.gm-oracao h2 { margin: 0 0 16px; font-size: 32px; }
.gm-oracao__texto { margin: 0 0 24px; font-size: 18px; line-height: 1.65; color: var(--gm-text); font-style: italic; }
.gm-oracao p { color: var(--gm-text); }
.gm-oracao__texto p { margin: 0 0 14px; font-size: 17px; line-height: 1.7; font-style: italic; color: var(--gm-black); }
.gm-oracao__texto p:last-child { margin-bottom: 0; font-weight: 600; }
.gm-oracao__rubrica { font-style: normal; font-size: 15px; color: var(--gm-red); }

/* Notícias (módulo com layout "noticias") */
.gm-news { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 32px; }
.gm-news__card { background: var(--gm-soft); }
.gm-news__img { display: block; }
.gm-news__img img { width: 100%; height: 210px; object-fit: cover; display: block; }
.gm-news__bar { height: 10px; background: var(--gm-red); }
.gm-news__card:nth-child(3n+2) .gm-news__bar { background: var(--gm-yellow); }
.gm-news__card:nth-child(3n+3) .gm-news__bar { background: var(--gm-green); }
.gm-news__body { padding: 20px 22px 26px; }
.gm-news__date { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--gm-red); }
.gm-news__card:nth-child(3n+2) .gm-news__date { color: #A35F00; }
.gm-news__card:nth-child(3n+3) .gm-news__date { color: var(--gm-green); }
.gm-news__title { margin: 0; font-family: 'Work Sans', sans-serif !important; text-transform: none !important; font-size: 21px; line-height: 1.3; font-weight: 600; letter-spacing: 0; }
.gm-news__title a { text-decoration: none; }

/* Figura dentro do texto */
.gm-figura { margin: 32px 0; max-width: 900px; }
.gm-figura img { display: block; width: 100%; height: auto; }
.gm-figura figcaption { padding: 12px 16px; background: var(--gm-soft); border-left: 6px solid var(--gm-green); font-size: 15px; line-height: 1.5; color: var(--gm-text); }

/* Galeria dentro de artigos */
.gm-galeria { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; margin: 24px 0 40px; }
.gm-galeria figure { margin: 0; background: var(--gm-soft); }
.gm-galeria img { width: 100%; height: 200px; object-fit: cover; display: block; }
.gm-galeria figcaption { padding: 10px 14px 14px; font-size: 14px; line-height: 1.45; color: var(--gm-text); border-top: 6px solid var(--gm-red); }
.gm-galeria figure:nth-child(3n+2) figcaption { border-top-color: var(--gm-yellow); }
.gm-galeria figure:nth-child(3n+3) figcaption { border-top-color: var(--gm-green); }

@media (max-width: 1279px) {
  .gm-hero__text { padding-top: 200px; }
}

@media (min-width: 992px) and (max-width: 1199px) {
  #sp-header .logo a { font-size: 21px; gap: 8px; }
  #sp-header .logo a::before { width: 38px; height: 38px; }
  .sp-megamenu-parent { flex-wrap: nowrap; white-space: nowrap; }
  .sp-megamenu-parent > li > a, .sp-megamenu-parent > li > span { font-size: 14px; padding-left: 8px !important; padding-right: 8px !important; }
  .gm-btn-graca { min-height: 40px; padding: 0 12px; font-size: 14px; }
}

@media (max-width: 767px) {
  .gm-hero h1 { font-size: 64px; }
  .gm-hero__tri { font-size: 28px; }
  .gm-hero__text { padding-top: 200px; }
  .gm-cutout img { height: 460px; }
  .gm-h2 { font-size: 36px; }
  .gm-servos__list ul { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; grid-auto-flow: row; }
  .gm-servos__list a { font-size: 19px; }
  .gm-modal__body { padding: 20px 20px 28px; }
  .gm-modal__bar { padding-left: 20px; }
  .gm-modal__body h1 { font-size: 36px; }
  .gm-oracao__body { padding: 28px 32px 36px; }
}

/* Página Links úteis */
.gm-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin: 32px 0 48px; }
.gm-links__grupo { background: var(--gm-soft); border-top: 10px solid var(--gm-green); padding: 28px 28px 32px; display: flex; flex-direction: column; }
.gm-links__grupo--amarelo { border-top-color: var(--gm-yellow); }
.gm-links__grupo--vermelho { border-top-color: var(--gm-red); }
.gm-links__grupo h2 { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 28px; line-height: 1.1; margin: 0 0 12px; color: var(--gm-black); }
.gm-links__grupo p { font-size: 16px; line-height: 1.55; margin: 0 0 20px; }
.gm-links__site { display: inline-block; align-self: flex-start; background: var(--gm-black); color: #fff !important; padding: 12px 18px; font-weight: 600; text-decoration: none !important; margin-bottom: 20px; }
.gm-links__site:hover, .gm-links__site:focus-visible { background: var(--gm-red); }
.gm-links__site::after { content: " \2197"; }
.gm-links__redes-titulo { font-size: 13px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gm-text); margin: auto 0 10px !important; }
.gm-links__redes { list-style: none; margin: 0; padding: 0; min-height: 86px; align-content: flex-start; display: flex; flex-wrap: wrap; gap: 8px; }
.gm-links__redes a { display: inline-block; padding: 8px 14px; background: #fff; color: var(--gm-black) !important; font-size: 15px; font-weight: 600; text-decoration: none !important; box-shadow: inset 0 0 0 2px var(--gm-black); }
.gm-links__redes a:hover, .gm-links__redes a:focus-visible { background: var(--gm-black); color: #fff !important; }

/* Página Comunicar uma graça */
.gm-graca__titulo { margin-bottom: 32px; }
.gm-graca__layout { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; margin-bottom: 64px; }
.gm-graca__texto { background: var(--gm-soft); border-top: 10px solid var(--gm-green); padding: 32px; }
.gm-graca__texto p { font-size: 17px; line-height: 1.6; margin: 0 0 16px; }
.gm-graca__texto .gm-graca__intro { font-size: 21px; line-height: 1.5; font-weight: 600; color: var(--gm-black); }
.gm-graca__texto .gm-graca__nota { font-size: 14px; color: var(--gm-text); margin: 24px 0 0; padding-top: 16px; border-top: 2px solid rgba(26,26,26,.12); }
.gm-graca-form__linha { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; }
.gm-graca-form .control-group { margin-bottom: 20px; }
.gm-graca-form .control-label label, .gm-graca-form legend { font-weight: 600; font-size: 15px; color: var(--gm-black); margin-bottom: 6px; }
.gm-graca-form .form-control, .gm-graca-form input[type=text], .gm-graca-form input[type=email], .gm-graca-form textarea { border-radius: 0 !important; border: 2px solid #D9D3C4 !important; background: #fff !important; padding: 12px 14px !important; font-size: 16px; box-shadow: none !important; height: auto; }
.gm-graca-form .form-control:focus, .gm-graca-form textarea:focus { border-color: var(--gm-green) !important; outline: 0; }
.gm-graca-form textarea { min-height: 220px; }
.gm-graca-form fieldset { border: 0; padding: 0; margin: 0; }
.gm-graca-form .form-check-input { border-radius: 0; border: 2px solid var(--gm-black); }
.gm-graca-form .form-check-input:checked { background-color: var(--gm-green); border-color: var(--gm-green); }
.gm-graca-form .form-check-input[type=radio] { border-radius: 50%; }
.gm-graca-form .form-check-label { font-size: 15px; }
.gm-graca-form .invalid { border-color: var(--gm-red) !important; color: var(--gm-red); }
.gm-graca-form__enviar .btn { background: var(--gm-black) !important; border: 0 !important; border-radius: 0 !important; color: #fff !important; padding: 14px 26px !important; font-size: 16px; font-weight: 600; }
.gm-graca-form__enviar .btn:hover, .gm-graca-form__enviar .btn:focus-visible { background: var(--gm-red) !important; }
@media (max-width: 991px) { .gm-graca__layout { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 575px) { .gm-graca-form__linha { grid-template-columns: 1fr; } }
.gm-graca-form .form-check-label { color: var(--gm-black) !important; opacity: 1 !important; }
.gm-graca-form__enviar .btn { text-transform: none !important; letter-spacing: 0 !important; }
.gm-graca__texto .gm-graca__contacto { margin-top: 24px; padding: 16px 18px; background: #fff; border-left: 6px solid var(--gm-yellow); font-size: 16px; }
.gm-graca__texto .gm-graca__contacto a { color: var(--gm-black); font-weight: 600; text-decoration: underline; text-decoration-color: var(--gm-yellow); text-underline-offset: 3px; word-break: break-word; }
.gm-graca__texto .gm-graca__contacto a:hover { color: var(--gm-red); }

/* Faixa de direitos (rodapé inferior) */
#sp-footer { background: var(--gm-black) !important; background-image: none !important; border-top: 1px solid rgba(255,255,255,.12); padding: 22px 0 !important; }
#sp-footer #sp-footer1 { display: none; }
#sp-footer #sp-footer2 { flex: 0 0 100%; max-width: 100%; text-align: center; }
#sp-footer .sp-copyright { display: block; color: rgba(255,255,255,.72) !important; font-size: 14px; line-height: 1.6; }
#sp-footer .sp-copyright a { color: #fff !important; font-weight: 600; text-decoration: underline; text-decoration-color: var(--gm-yellow); text-underline-offset: 3px; }
#sp-footer .sp-copyright a:hover, #sp-footer .sp-copyright a:focus-visible { color: var(--gm-yellow) !important; }

/* Títulos longos dos artigos: linhas sem sobreposição */
.article-details .article-header h1, .article-details .article-header h2, .article-details h1[itemprop="headline"] { line-height: 1.08 !important; }

/* Rodapé: links rápidos */
.gm-rodape__links { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 8px; }
.gm-rodape__links a { color: #fff !important; text-decoration: underline; text-decoration-color: rgba(255,255,255,.45); text-underline-offset: 4px; }
.gm-rodape__links a:hover, .gm-rodape__links a:focus-visible { color: var(--gm-yellow) !important; text-decoration-color: var(--gm-yellow); }

/* Lista de fontes no fim dos artigos */
.gm-fontes { margin: 48px 0 24px; padding: 24px 28px; background: var(--gm-soft); border-left: 6px solid var(--gm-ochre); }
.gm-fontes h2 { font-size: 22px !important; margin: 0 0 12px !important; }
.gm-fontes ul { margin: 0; padding-left: 18px; }
.gm-fontes li { font-size: 15px; line-height: 1.5; margin-bottom: 6px; }
.gm-fontes a { color: var(--gm-black); text-decoration: underline; text-decoration-color: var(--gm-ochre); text-underline-offset: 3px; }

/* Menu mais compacto entre 992 e 1279px, para caber numa linha */
@media (min-width: 992px) and (max-width: 1279px) {
  #sp-header .sp-megamenu-parent > li > a, #sp-header .sp-megamenu-parent > li > span { padding: 0 6px !important; font-size: 15px !important; }
  #sp-header .sp-megamenu-parent > li.sp-has-child > a::after, #sp-header .sp-megamenu-parent > li.sp-has-child > span::after { margin-left: 3px !important; }
  #sp-header .gm-btn-graca { padding: 9px 12px !important; font-size: 14px !important; }
  #sp-header .logo a, #sp-header .logo { font-size: 20px !important; }
}

/* Submenus: largura suficiente para títulos longos */
#sp-header .sp-dropdown.sp-dropdown-main { width: auto !important; min-width: 230px; }
#sp-header .sp-dropdown .sp-dropdown-inner { width: max-content; min-width: 100%; }
#sp-header .sp-dropdown li.sp-menu-item > a { white-space: nowrap; }

/* Livros sobre os mártires */
.gm-livros { margin: 56px 0 32px; }
.gm-livros > p { font-size: 17px; line-height: 1.6; max-width: 760px; }
.gm-livros__lista { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 24px; }
.gm-livro { position: relative; background: var(--gm-sand); padding: 28px 28px 28px 44px; display: flex; flex-direction: column; box-shadow: 0 1px 0 rgba(26,26,26,.08); }
.gm-livro::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 16px; background: var(--gm-red); }
.gm-livro--verde::before { background: var(--gm-green); }
.gm-livro__colecao { font-size: 13px !important; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gm-ochre); margin: 0 0 10px !important; }
.gm-livro .gm-livro__titulo { font-family: 'Anton', sans-serif; font-weight: 400; text-transform: uppercase; font-size: 28px !important; line-height: 1.1 !important; margin: 0 0 8px !important; color: var(--gm-black); }
.gm-livro__sub { font-size: 17px !important; font-style: italic; margin: 0 0 16px !important; }
.gm-livro__ficha { font-size: 15px !important; line-height: 1.6; color: var(--gm-text); margin: 0 0 20px !important; }
.gm-livro__links { margin: auto 0 0 !important; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.gm-livro__comprar { background: var(--gm-black); color: #fff !important; padding: 11px 16px; font-weight: 600; text-decoration: none !important; }
.gm-livro__comprar:hover, .gm-livro__comprar:focus-visible { background: var(--gm-red); }
.gm-livro__bnp { font-size: 15px; color: var(--gm-black) !important; text-decoration: underline; text-decoration-color: var(--gm-ochre); text-underline-offset: 3px; }
.gm-livro__capa { display: block; width: 132px; height: auto; margin: 0 0 18px; filter: drop-shadow(0 6px 10px rgba(26,26,26,.18)); }
@media (min-width: 576px) {
  .gm-livro--capa { display: grid; grid-template-columns: 132px 1fr; column-gap: 24px; align-content: start; }
  .gm-livro--capa .gm-livro__capa { grid-row: 1 / span 6; margin: 0; }
  .gm-livro--capa .gm-livro__links { margin-top: 0 !important; }
}

/* Página do processo: postulador e etapas */
.gm-postulador { margin: 24px 0 28px; padding: 24px 28px; background: var(--gm-soft); border-left: 8px solid var(--gm-green); max-width: 760px; }
.gm-postulador p { margin: 0 0 6px; }
.gm-postulador .gm-postulador__rotulo { font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--gm-green); }
.gm-postulador .gm-postulador__nome { font-family: 'Anton', sans-serif; text-transform: uppercase; font-size: 30px; line-height: 1.15; color: var(--gm-black); margin-bottom: 10px; }
.gm-etapas { list-style: none; margin: 20px 0 32px; padding: 0 0 0 24px; border-left: 4px solid var(--gm-yellow); max-width: 820px; }
.gm-etapas li { position: relative; margin: 0 0 18px; padding-left: 8px; line-height: 1.6; }
.gm-etapas li::before { content: ""; position: absolute; left: -35px; top: 7px; width: 14px; height: 14px; background: var(--gm-red); border: 3px solid #fff; border-radius: 50%; }
.gm-etapas li:last-child::before { background: var(--gm-green); }
.gm-etapas strong { color: var(--gm-black); }
.gm-links__grupo--ocre { border-top-color: var(--gm-ochre); }
@media (min-width: 768px) { .gm-links { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Telemóvel: botão "Comunicar uma graça" só no menu lateral (offcanvas) */
@media (max-width: 991.98px) {
  #sp-header .gm-btn-graca { display: none !important; }
}
.offcanvas-menu .gm-btn-graca--offcanvas { display: block; margin: 24px 0 8px; padding: 14px 18px; background: var(--gm-black); color: #fff !important; font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 17px; text-align: center; text-decoration: none !important; }
.offcanvas-menu .gm-btn-graca--offcanvas:hover, .offcanvas-menu .gm-btn-graca--offcanvas:focus-visible { background: var(--gm-red); }

/* Menu lateral: logótipo com o símbolo */
.offcanvas-menu .logo a { display: inline-flex; align-items: center; gap: 10px; font-family: 'Anton', sans-serif; font-size: 22px; line-height: 1.1; text-transform: uppercase; color: var(--gm-black) !important; text-decoration: none; }
.offcanvas-menu .logo a::before { content: ''; width: 40px; height: 40px; flex: none; background: url('../../../images/martires/logo/simbolo.svg') center / contain no-repeat; }
@media (max-width: 991.98px) {
  #sp-header .row { flex-wrap: nowrap !important; align-items: center; }
  #sp-header #sp-logo { flex: 1 1 auto; min-width: 0; }
  #sp-header #sp-menu { flex: 0 0 auto !important; width: auto !important; }
  #sp-header #sp-menu .menu-with-offcanvas { display: none !important; }
}
@media (max-width: 575.98px) {
  #sp-header .logo a { font-size: 20px !important; gap: 8px; white-space: nowrap; }
  #sp-header .logo a::before { width: 36px; height: 36px; }
}
.offcanvas-menu .offcanvas-inner .menu li.active > a, .offcanvas-menu .offcanvas-inner .menu li > a:hover { color: var(--gm-red) !important; }
.offcanvas-menu .offcanvas-inner .menu li > a { color: var(--gm-black); }
