/*
Theme Name: grctemp.com GRC Template Atlas
Theme URI: https://grctemp.com/
Description: An editorial WordPress theme for the Excellog governance, risk and compliance template collection.
Version: 1.0.1
Requires at least: 6.5
Requires PHP: 7.4
Author: Excellog
Text Domain: excellog-grc-mega
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/
:root {
  --navy: #102b50;
  --ink: #1b3048;
  --muted: #485d72;
  --brand: #174fbb;
  --blue: #134da9;
  --line: #d5e1ee;
  --paper: #fff;
  --wash: #eef5fc;
  --serif: "STIX Two Text", Georgia, serif;
  --sans: "Instrument Sans", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 1.3rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1rem/1.65 var(--sans); overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--blue); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { color: #072e76; text-decoration: underline; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, summary:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid #ce751e; outline-offset: 3px; }
[hidden] { display: none !important; }
.shell { width: min(1200px, calc(100% - clamp(40px, 9vw, 150px))); margin-inline: auto; }
.sr-only,.screen-reader-text,.skip-link:not(:focus) { clip: rect(0,0,0,0); clip-path: inset(50%); position: absolute; width: 1px; height: 1px; overflow: hidden; white-space: nowrap; }
.skip-link:focus { position: absolute; z-index: 100; left: 1em; top: 1em; padding: .8em 1em; background: #fff; color: var(--navy); }
h1,h2,h3,h4,p { margin: 0; }
h1,h2,h3,h4 { color: var(--navy); text-wrap: pretty; }
h1,h2,h3 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
h1 { font-size: clamp(2.7rem,5.3vw,5rem); letter-spacing: -.055em; }
h2 { font-size: clamp(1.95rem,3.3vw,3.15rem); letter-spacing: -.043em; }
h3 { font-size: 1.55rem; letter-spacing: -.027em; }
.mast { border-bottom: 1px solid var(--line); background: #fff; position: relative; z-index: 10; }
.mast-row { min-height: 77px; display: flex; align-items: center; gap: clamp(14px,3.2vw,55px); }
.brand-block { margin-right: auto; }
.brand, .foot-title { display: inline-flex; align-items: baseline; color: var(--navy); font: 700 1.93rem/.98 var(--sans); letter-spacing: -.08em; text-decoration: none; }
.brand:hover, .foot-title:hover { text-decoration: none; color: var(--navy); }
.brand-dot,.foot-title span { color: var(--brand); }
.brand-symbol { width: 24px; height: 24px; display: inline-flex; align-items: flex-end; gap: 2px; transform: skewY(-9deg); margin-right: 9px; }
.brand-symbol i { width: 6px; background: var(--brand); border-radius: 1px; }
.brand-symbol i:nth-child(1) { height: 12px; }.brand-symbol i:nth-child(2) { height: 18px; }.brand-symbol i:nth-child(3) { height: 24px; }
.custom-logo { max-height: 55px; width: auto; }
.mast-nav,.mast-nav ul,.mast-actions,.site-foot nav,.site-foot nav ul { display: flex; gap: clamp(12px,2.2vw,33px); align-items: center; }
.mast-nav ul,.site-foot nav ul { padding: 0; margin: 0; list-style: none; }
.mast-nav a,.site-foot nav a { text-decoration: none; color: var(--ink); font-size: .91rem; font-weight: 550; }
.mast-nav a:hover,.site-foot nav a:hover { text-decoration: underline; color: var(--brand); }
.mast-actions { gap: 16px; }
.mast-cta { display: inline-flex; align-items: center; gap: .9em; padding: .55em 1em; border: 1px solid var(--navy); border-radius: 4px; font-size: .88rem; font-weight: 600; color: var(--navy); text-decoration: none; }
.mast-cta:hover { background: var(--wash); text-decoration: none; }
.quicksearch { position: relative; }
.quicksearch summary,.menu-toggle { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; list-style: none; color: var(--navy); background: transparent; border: 0; border-radius: 3px; cursor: pointer; }
.quicksearch summary::-webkit-details-marker { display: none; }
.quicksearch summary:hover,.menu-toggle:hover { background: var(--wash); }
.magnify { display: inline-block; width: 16px; height: 16px; border: 1.7px solid; border-radius: 50%; position: relative; transform: translate(-2px,-1px); }
.magnify::after { content: ""; position: absolute; left: 11px; top: 13px; width: 8px; border-top: 1.7px solid; transform: rotate(45deg); }
.popover { z-index: 20; position: absolute; right: 0; top: 52px; width: min(390px,83vw); background: white; padding: 14px; border: 1px solid #b8cbe1; border-radius: 4px; }
.menu-toggle { display: none; }
.burger { border-top: 2px solid; border-bottom: 2px solid; width: 19px; height: 10px; }
.kicker { font: 650 .73rem/1.45 var(--sans); letter-spacing: .15em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; color: var(--blue); }
.kicker-line { width: 26px; height: 2px; background: currentColor; }
.cover { background: var(--wash); border-bottom: 1px solid #d7e5f3; }
.cover-grid { display: grid; grid-template-columns: 1fr .93fr; align-items: center; gap: clamp(30px,6.8vw,108px); padding-block: clamp(44px,5.4vw,82px); }
.cover-copy h1 { max-width: 13ch; margin: .24em 0 .19em; font-size: clamp(3.55rem,6.6vw,6.35rem); line-height: 1; }
.cover-lead { max-width: 38em; font-size: clamp(1.05rem,1.35vw,1.27rem); line-height: 1.6; color: #3d5268; }
.cover-actions { margin-top: 1.65rem; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; background: var(--brand); border: 1px solid var(--brand); color: white; border-radius: 4px; min-height: 46px; padding: .65em 1.15em; font: 600 .95rem/1.35 var(--sans); text-decoration: none; }
.button:hover { color: #fff; text-decoration: none; background: #103c93; border-color: #103c93; }
.text-link { font: 650 .92rem/1.5 var(--sans); color: var(--blue); text-decoration: underline; }
.cover-figure { overflow: hidden; border-radius: 4px; border: 1px solid #c2d6eb; background: white; }
.cover-figure img { width: 100%; aspect-ratio: 1.82; object-fit: cover; object-position: 53% 53%; }
.cover-figure figcaption { display: grid; grid-template-columns: repeat(3,1fr); padding: 15px 0; border-top: 1px solid #ccdae9; }
.cover-figure figcaption div { display: flex; flex-direction: column; align-items: center; justify-content: center; font: 550 .76rem/1.4 var(--sans); color: var(--muted); }
.cover-figure figcaption div+div { border-left: 1px solid var(--line); }
.stat-count { color: var(--navy); font: 550 1.88rem/1 var(--serif); margin: 0 0 2px; }
.domain-section { padding-block: 48px 56px; }
.section-heading { display: flex; gap: 18px; align-items: baseline; justify-content: space-between; margin-bottom: 24px; }
.domains-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.domain-tile { --accent: #2355b3; --tint: #e3edfd; padding: clamp(19px,2.4vw,35px); border: 1px solid var(--line); border-top: 3px solid var(--accent); border-radius: 4px; display: flex; flex-direction: column; align-items: flex-start; }
.theme-compliance { --accent: #11766d; --tint: #ddf2ed; }
.theme-risk-management { --accent: #986126; --tint: #fbefd9; }
.tile-icon { width: 34px; height: 34px; border-radius: 6px; background: var(--tint); color: var(--accent); display: flex; justify-content: center; align-items: center; gap: 2px; margin-bottom: 18px; }
.tile-icon i { width: 3px; height: 13px; background: currentColor; }
.theme-compliance .tile-icon i:nth-child(1),.theme-risk-management .tile-icon i:nth-child(1) { height: 6px; }
.theme-compliance .tile-icon i:nth-child(2),.theme-risk-management .tile-icon i:nth-child(2) { height: 10px; }
.theme-compliance .tile-icon i { transform: rotate(35deg); }
.domain-tile h3 { font-size: clamp(1.65rem,2.4vw,2.1rem); }
.domain-tile h3 a,.directory-domain h2 a,.directory-cat h3 a,.member-list h3 a,.result h2 a { color: inherit; text-decoration: none; }
.domain-tile h3 a:hover,.directory-domain h2 a:hover,.directory-cat h3 a:hover,.member-list h3 a:hover,.result h2 a:hover { color: var(--brand); text-decoration: underline; }
.domain-tile p { margin: .6em 0 1.35em; color: var(--muted); line-height: 1.55; font-size: .93rem; }
.tile-link { display: flex; width: 100%; justify-content: space-between; margin-top: auto; padding-top: 12px; border-top: 1px solid var(--line); font-size: .87rem; font-weight: 600; text-decoration: none; color: var(--accent); }
.home-content,.directory-editorial { border-top: 1px solid var(--line); padding-block: 40px 60px; }
.home-content .prose { max-width: 830px; }
.breadcrumbs { margin: 26px 0 0; display: flex; align-items: center; flex-wrap: wrap; column-gap: .7em; color: var(--muted); font-size: .82rem; line-height: 1.65; }
.breadcrumbs a { color: var(--muted); text-decoration: none; }.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current] { color: var(--navy); }
.page-heading,.entry-heading { padding-block: clamp(35px,4.7vw,73px) 29px; }
.page-heading h1,.entry-heading h1 { max-width: 22ch; margin: .18em 0; }
.lead { max-width: 75ch; color: var(--muted); font-size: clamp(1.02rem,1.45vw,1.27rem); line-height: 1.6; }
.entry-heading { border-bottom: 1px solid var(--line); }
.buy-link { margin-top: 17px; }
.article-layout { display: grid; grid-template-columns: minmax(0,3fr) minmax(210px,1.05fr); gap: clamp(30px,7vw,125px); padding: clamp(26px,4vw,60px) 0 70px; align-items: start; }
.article-body { min-width: 0; }
.entry-image { margin-bottom: 20px; }
.entry-image img { width: 100%; border-radius: 4px; }
.prose { color: var(--ink); font: 400 1.07rem/1.78 var(--sans); }
.prose > * + * { margin-top: 1.05em; }
.prose > :first-child { margin-top: 0; }.prose > :last-child { margin-bottom: 0; }
.prose h2,.collection-list h2,.source-list h2,.comments-area h2 { font-size: clamp(1.7rem,2.55vw,2.4rem); }
.prose h2,.prose h3 { margin-top: 1.18em; margin-bottom: .3em; }
.prose :is(h2,h3)+* { margin-top: .55em; }
.prose h3 { font-size: 1.5rem; }
.prose ol,.prose ul { padding-left: 1.5em; }
.prose li + li { margin-top: .4em; }
.prose blockquote { background: var(--wash); border-left: 3px solid var(--brand); margin-inline: 0; padding: .7em 1.2em; }
.prose table,.wp-block-table table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .93rem; }
.prose td,.prose th { padding: .55em .8em; border: 1px solid var(--line); text-align: left; vertical-align: top; }.prose th { background: var(--wash); }
.prose figcaption,.wp-caption-text { color: var(--muted); font-size: .89rem; }
.prose .alignleft { float: left; margin: 0 1em .7em 0; }.prose .alignright { float: right; margin: 0 0 .7em 1em; }.prose .aligncenter { margin-inline: auto; }.wp-caption { max-width: 100%; }
.collection-list,.source-list,.comments-area { margin-top: 36px; }
.source-list { border-top: 1px solid var(--line); padding-top: 24px; }.source-list ul { padding-left: 1.2em; }.source-list li { margin-bottom: .4em; }
.member-list { margin-top: 12px; border-top: 1px solid var(--line); }.member-list > div { padding-block: 17px; border-bottom: 1px solid var(--line); }
.member-list h3 { font-size: 1.42rem; }.member-list p { color: var(--muted); font-size: .96rem; margin-top: .25em; }
.reading-rail { display: grid; gap: 25px; }
.rail-section { padding-top: 15px; border-top: 2px solid var(--brand); }
.rail-section h2,.rail-card h2 { font: 600 1.2rem/1.35 var(--sans); letter-spacing: -.025em; }
.rail-section ul { padding: 0; margin: 9px 0 0; list-style: none; }.rail-section li { border-bottom: 1px solid var(--line); }
.rail-section a { display: block; padding-block: 9px; font-size: .94rem; text-decoration: none; }.rail-section a:hover { text-decoration: underline; }
.rail-card { background: var(--wash); border: 1px solid var(--line); padding: 23px; border-radius: 4px; }
.rail-card h2 { margin-bottom: 7px; }.rail-card p { margin-bottom: 12px; color: var(--muted); font-size: .94rem; }
.bundle-icon { display: block; width: 21px; height: 23px; border: 1px solid var(--brand); border-radius: 2px; margin-bottom: 13px; position: relative; }
.filter-form,.search-form { display: flex; align-items: end; gap: 12px; }
.filter-form { padding: clamp(16px,2.3vw,29px); background: var(--wash); border: 1px solid var(--line); border-radius: 4px; }
.filter-form label,.search-form label { display: grid; gap: 4px; min-width: 0; font-weight: 600; font-size: .88rem; }
.filter-text,.search-form label { flex: 1; }.domain-filter { flex: 0 1 240px; }
input[type=search],select,.comments-area textarea,.comments-area input:not([type="submit"]):not([type="checkbox"]) { width: 100%; border: 1px solid #94acc6; border-radius: 3px; padding: .65em .78em; background: white; color: var(--ink); font: 400 1rem/1.3 var(--sans); min-height: 46px; }
input::placeholder { color: #536983; opacity: 1; }
.directory-meta { display: flex; align-items: center; gap: 16px; min-height: 49px; font-size: .92rem; color: var(--muted); }
.directory-meta button { background: transparent; border: 0; padding: 2px; color: var(--blue); text-decoration: underline; font-size: inherit; }
.directory-main { margin-bottom: 40px; }
.directory-domain { padding: 28px 0 35px; border-top: 1px solid var(--line); }
.directory-domain h2 { display: flex; align-items: center; gap: 12px; font-size: clamp(1.8rem,3.2vw,2.7rem); }
.domain-dot { width: 11px; height: 11px; border-radius: 50%; background: var(--accent,var(--brand)); }
.directory-cats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 23px; margin-top: 17px; }
.directory-cat { border: 1px solid var(--line); border-top: 2px solid var(--accent,var(--brand)); border-radius: 3px; padding: 19px; }
.directory-cat h3 { font-size: 1.35rem; }
.directory-cat ul { list-style: none; margin: 12px 0 0; padding: 0; }
.directory-cat li { border-top: 1px solid #e2e9f0; }.directory-cat li a { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 8px 0; text-decoration: none; color: var(--blue); font-size: .93rem; line-height: 1.5; }.directory-cat li a:hover { text-decoration: underline; }.directory-cat li span { color: #55728e; }
.directory-editorial { max-width: 850px; }
.listing { min-height: 50vh; padding-bottom: 56px; }.listing .search-form { max-width: 560px; margin-top: 14px; }
.search-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; }
.result { padding: 19px; border: 1px solid var(--line); border-radius: 3px; }
.result-type { text-transform: uppercase; font: 650 .72rem/1.4 var(--sans); color: var(--blue); letter-spacing: .1em; margin-bottom: .65em; }
.result h2 { font-size: 1.5rem; margin-bottom: .35em; }.result p:last-child { font-size: .93rem; color: var(--muted); }
.pagination,.no-matches { margin: 22px 0; }.nav-links { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }.page-numbers { padding: 6px 11px; border: 1px solid var(--line); }.page-numbers.current { background: var(--wash); }
.site-foot { border-top: 1px solid var(--line); }
.foot-main { padding-block: 30px; display: flex; align-items: center; justify-content: space-between; row-gap: 16px; flex-wrap: wrap; }
.foot-title { font-size: 1.55rem; }.foot-bar { background: var(--navy); color: #fff; }
.foot-bar .shell { min-height: 41px; display: flex; align-items: center; gap: 13px; font-size: .78rem; }
.bar-divider { height: 12px; width: 1px; background: #9cafc6; }
@media (min-width: 1350px) { .cover-grid { gap: 100px; } }
@media (max-width: 900px) {
  .shell { width: min(100% - 44px,1200px); }
  .mast-row { gap: 12px; }.mast-nav { gap: 15px; }.mast-actions { gap: 6px; }
  .cover-grid { gap: 30px; }.cover-copy h1 { font-size: clamp(3.2rem,6.75vw,4.6rem); }
  .directory-cats,.search-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .article-layout { gap: 28px; grid-template-columns: minmax(0,2.3fr) minmax(185px,.9fr); }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }.mast-row { min-height: 63px; flex-wrap: wrap; row-gap: 0; }
  .brand { font-size: 1.65rem; }.brand-symbol { transform: scale(.86) skewY(-9deg); transform-origin: right bottom; margin-right: 6px; }
  .mast-cta { font-size: .78rem; padding: .48em .7em; gap: .45em; }
  .mast-nav { order: 3; width: 100%; padding: 10px 0; }.mast-nav ul { flex-wrap: wrap; }
  .atlas-js .menu-toggle { display: inline-flex; }.atlas-js .mast-nav { display: none; }.atlas-js .mast-nav.open { display: flex; flex-wrap: wrap; border-top: 1px solid var(--line); }
  .popover { position: fixed; top: auto; margin-top: 8px; right: 18px; width: calc(100vw - 36px); }
  .cover-grid { grid-template-columns: 1fr; padding-block: 39px 30px; gap: 28px; }.cover-copy h1 { max-width: 14ch; font-size: clamp(3.35rem,10vw,4.2rem); }.cover-actions { margin-top: 19px; }
  .cover-figure img { max-height: 225px; }.cover-figure figcaption { padding: 10px 0; }.stat-count { font-size: 1.52rem; }
  .domain-section { padding-block: 32px; }.section-heading { margin-bottom: 16px; }.domains-grid { grid-template-columns: 1fr; gap: 12px; }
  .domain-tile { padding: 16px 19px; }.tile-icon { margin-bottom: 10px; }.domain-tile p { margin: .35em 0 .75em; }
  .article-layout { grid-template-columns: 1fr; padding-bottom: 40px; }.reading-rail { max-width: 100%; }
  .directory-cats,.search-grid { grid-template-columns: 1fr; gap: 13px; }
  .filter-form { flex-wrap: wrap; align-items: end; gap: 11px; }.filter-text { flex: 1 0 100%; }.domain-filter { flex: 1 1 0; }
  .foot-main { align-items: flex-start; flex-direction: column; }.site-foot nav,.site-foot nav ul { flex-wrap: wrap; gap: 8px 16px; }
  .breadcrumbs { margin-top: 16px; }.page-heading,.entry-heading { padding-block: 28px 23px; }.prose { font-size: 1.02rem; }.prose h2 { font-size: 1.8rem; }
}
@media (max-width: 380px) { .mast-actions { gap: 0; }.mast-row { gap: 4px; }.menu-toggle,.quicksearch summary { width: 37px; }.cover-copy h1 { font-size: 3rem; }.kicker { font-size: .67rem; }.section-heading { align-items: flex-start; }.section-heading .text-link { white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media print { .mast-actions,.mast-nav,.cover-actions,.reading-rail,.site-foot,.filter-form,.directory-meta button { display:none!important; } .article-layout,.cover-grid { display:block; } .shell { width: 100%; } body { color: #000; } .cover-figure { max-width: 55%; margin-top: 16px; } }

.bundle-icon::after { content: ""; position: absolute; top: 6px; left: 3px; right: 3px; height: 4px; border-block: 1px solid var(--brand); }

/* Draw the external-link arrow independently of the installed system fonts. */
.external-mark { display: inline-block; width: 10px; height: 10px; position: relative; flex: 0 0 10px; vertical-align: .07em; color: currentColor; }
.external-mark::before { content: ""; position: absolute; width: 7px; height: 7px; right: 0; top: 0; border-top: 1.3px solid; border-right: 1.3px solid; box-sizing: border-box; }
.external-mark::after { content: ""; position: absolute; width: 11px; height: 1.3px; top: 0; right: 0; background: currentColor; transform-origin: center right; transform: rotate(-45deg); }
.section-heading .text-link { white-space: nowrap; }
@media (max-width: 700px) {
  .mast-row { gap: 0; justify-content: space-between; }
  .mast-actions { gap: 2px; }
  .mast-cta { gap: 7px; font-size: .77rem; padding: .48em .6em; }
  .section-heading h2 { font-size: clamp(1.65rem, 6.9vw, 2.15rem); }
}
@media (max-width: 430px) {
  .mast-actions { gap: 0; }
  .quicksearch summary,.menu-toggle { width: 35px; }
  .mast-cta .external-mark { display: none; }
}
@media (max-width: 355px) {
  .brand { font-size: 1.47rem; }
  .mast-cta { font-size: .73rem; padding: .4em .55em; }
  .quicksearch summary,.menu-toggle { width: 31px; }
  .section-heading { gap: 10px; }
  .section-heading h2 { font-size: 1.54rem; }
}
