/* Custom Affirmations — readable editorial layout, December 2026.
   Page-scoped styles: shared site navigation and other pages are unchanged. */
body .custom-page {
  width:min(1160px,calc(100% - 48px));
  max-width:1160px;
  margin:0 auto;
  padding:34px 0 72px;
  color:#4b3549;
  font-family:Georgia,"Times New Roman",serif;
}
.custom-page, .custom-page * {box-sizing:border-box}
/* Match the site's minimal gold-underlined page navigation (not filled pills). */
.custom-page .custom-jump-links{
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:wrap;
  gap:clamp(20px,3vw,42px);
  margin:0 0 26px;
  padding:0 4px 2px;
  border-bottom:1px solid #e5d8cd;
}
.custom-page .custom-jump-links a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  padding:11px 2px 10px;
  margin:0;
  border:0;
  border-bottom:3px solid transparent;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#70546a;
  text-decoration:none;
  font:500 1.05rem/1.3 Georgia,"Times New Roman",serif;
  white-space:nowrap;
  transition:color .15s ease,border-color .15s ease;
}
.custom-page .custom-jump-links a:hover {
  background:transparent;
  color:#51334f;
  border-bottom-color:#dec59a;
}
.custom-page .custom-jump-links a[aria-current="location"]{
  color:#51334f;
  border-bottom-color:#bf9648;
  font-weight:700;
}
.custom-page .custom-jump-links a:focus-visible{
  outline:2px solid #bf9648;
  outline-offset:3px;
}
.custom-page>.section{scroll-margin-top:90px}
.custom-page>.section {
  margin:0 0 26px;
  padding:clamp(22px,3.2vw,40px);
  border:1px solid #e7d6c8;
  border-radius:24px;
  background:#fffaf6;
  box-shadow:0 6px 24px rgba(74,48,61,.045);
}
.custom-page .page-kicker {
  display:block;
  margin:0 0 12px;
  color:#986a27;
  font:700 .84rem/1.4 Georgia,"Times New Roman",serif;
  letter-spacing:.09em;
}
.custom-page .section h2 {
  margin:0 0 17px;
  color:#593c55;
  font:italic 600 clamp(1.82rem,2.65vw,2.35rem)/1.18 Georgia,"Times New Roman",serif;
  letter-spacing:-.014em;
}
.custom-page .intro,
.custom-page .section-intro {
  max-width:880px;
  margin:0 0 21px;
  color:#574657;
  font:400 clamp(1.07rem,1.3vw,1.2rem)/1.66 Georgia,"Times New Roman",serif;
  font-style:normal;
}
.custom-page .action-flow {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:15px;
  margin:23px 0;
}
.custom-page .action-flow>div{
  position:relative;
  min-width:0;
  min-height:135px;
  padding:22px 20px;
  border:1px solid #e7d4c7;
  border-radius:17px;
  background:#fffdf9;
}
.custom-page .action-flow>div:nth-child(2){background:#fcf3f5}
.custom-page .action-flow>div:nth-child(3){background:#f9f4e9}
.custom-page .action-flow strong{
  display:block;
  margin:0 0 10px;
  color:#694867;
  font:700 1.12rem/1.35 Georgia,"Times New Roman",serif;
}
.custom-page .action-flow span{
  display:block;
  color:#594959;
  font:400 1.05rem/1.55 Georgia,"Times New Roman",serif;
}
.custom-page .callout{
  margin:0;
  padding:16px 20px;
  border:0;
  border-left:4px solid #b88e43;
  border-radius:0 12px 12px 0;
  background:#f7eddf;
  color:#584557;
  font:400 1.04rem/1.6 Georgia,"Times New Roman",serif;
}
.custom-page .template-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:19px;
  margin:23px 0 0;
}
.custom-page .template-card {
  min-width:0;
  padding:23px;
  border:1px solid #e5d4c7;
  border-radius:19px;
  background:#fffdfa;
  box-shadow:0 3px 14px rgba(70,49,61,.035);
}
.custom-page .template-card:nth-child(even){background:#fcf6f9}
.custom-page .template-card h3{
  margin:0 0 18px;
  color:#67445f;
  font:italic 600 clamp(1.35rem,1.9vw,1.57rem)/1.25 Georgia,"Times New Roman",serif;
}
.custom-page .template-card p{
  margin:0 0 11px;
  padding:16px 17px;
  border:1px solid #eee1d7;
  border-radius:12px;
  background:rgba(255,255,255,.82);
  color:#483848;
  font:400 1.06rem/1.63 Georgia,"Times New Roman",serif;
}
.custom-page .template-card p:last-child{margin-bottom:0}
.custom-page .template-card p strong{
  display:block;
  margin:0 0 6px;
  color:#936a2e;
  font:700 .94rem/1.35 Georgia,"Times New Roman",serif;
}
.custom-page .template-card p br{display:none}
.custom-page .application-example{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:15px;
  margin:23px 0 25px;
  padding:clamp(18px,2.5vw,29px);
  border:1px solid #e4d2c7;
  border-radius:21px;
  background:#fffdf9;
  box-shadow:0 3px 14px rgba(73,48,63,.035);
  align-items:stretch;
}
.custom-page .application-example-heading{
  grid-column:1/-1;
  margin:0 0 4px;
  color:#66445e;
  font:italic 600 clamp(1.35rem,2.1vw,1.7rem)/1.25 Georgia,"Times New Roman",serif;
}
.custom-page .application-question,
.custom-page .application-result{
  min-width:0;
  padding:20px 21px;
  border:1px solid #e8dbd0;
  border-radius:14px;
  background:#faf5f0;
}
.custom-page .application-question:nth-of-type(3){background:#fbf3f6}
.custom-page .application-example .application-arrow{display:none}
.custom-page .application-question strong,
.custom-page .application-result strong{
  display:block;
  margin:0 0 10px;
  color:#896229;
  font:700 .92rem/1.3 Georgia,"Times New Roman",serif;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.custom-page .application-question p{
  margin:0;
  color:#493949;
  font:400 1.09rem/1.65 Georgia,"Times New Roman",serif;
}
.custom-page .application-result{
  grid-column:1/-1;
  padding:22px clamp(21px,2.7vw,31px);
  border:1px solid #e6d2ab;
  border-left:5px solid #c29a4b;
  background:linear-gradient(115deg,#fbf4e5,#fffaf0);
}
.custom-page .application-result strong{color:#7b5829}
.custom-page .application-result p{
  max-width:920px;
  margin:0;
  color:#473547;
  font:italic 400 clamp(1.09rem,1.4vw,1.19rem)/1.67 Georgia,"Times New Roman",serif;
}
.custom-page .application-result p + p{
  margin-top:13px;
  padding-top:13px;
  border-top:1px solid #e4d6bc;
}
.custom-page .practice-note{
  margin:17px 0 0;
  padding:16px 20px;
  border:0;
  border-left:4px solid #b58f4e;
  border-radius:0 11px 11px 0;
  background:#f7f0e7;
  color:#554456;
  font:400 1.04rem/1.64 Georgia,"Times New Roman",serif;
}
.custom-page .practice-note strong{color:#6d4c62}
.custom-page a:focus-visible{outline:3px solid #b58f4e;outline-offset:3px}
@media(max-width:820px) {
 body .custom-page{width:calc(100% - 28px);padding:21px 0 48px}
 .custom-page>.section{padding:clamp(19px,4vw,29px)}
 .custom-page .action-flow{grid-template-columns:1fr}
 .custom-page .action-flow>div{min-height:auto}
 .custom-page .template-grid{grid-template-columns:1fr}
 .custom-page .application-example{grid-template-columns:1fr}
 .custom-page .application-example-heading,.custom-page .application-result{grid-column:1}
}
@media(max-width:700px){
 .custom-page .custom-jump-links{flex-wrap:nowrap;gap:22px;overflow-x:auto;scrollbar-width:thin;margin-bottom:20px}
 .custom-page .custom-jump-links a{flex:none;padding:10px 1px 8px;font-size:.95rem}
}
@media(max-width:440px){
 .custom-page>.section{border-radius:17px}
 .custom-page .template-card{padding:16px}
 .custom-page .template-card p{padding:13px}
 .custom-page .application-example{padding:14px;gap:12px}
 .custom-page .application-question,.custom-page .application-result{padding:16px}
}
