@charset "utf-8";
/* Articles Area CSS Document */

/* CSS Specific to the articles/index.html area to make all the links #702277 in color and underlined and not affet the entire site that uses btn's
2026 10 12 change */
.resources-grid .resource-card a {
    color: #702277;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.resources-grid .resource-card a:hover {
    color: #4d1852;
    text-decoration-thickness: 2px;
}

/* CSS for images on the articles pages 2026 10 12 */
.article-image {
    max-width: 100%;
    height: auto;
}



/* Article paragraph spacing added 2026 10 13 */

.resource-body p.space-1 {
    margin-bottom: 1em;
}

.resource-body p.space-2 {
    margin-bottom: 2em;
}

.resource-body p.space-3 {
    margin-bottom: 3em;
}



/* ===== ARTICLE NAVIGATION BUBBLES for TCM Page 2026 10 13 ===== */

.article-navigation {
    text-align: center;
    padding: 24px;
    margin: 20px 0 35px;
    background: #f5f0f6;
    border-radius: 18px;
}

.article-navigation h2 {
    margin: 0 0 8px;
    color: #702277;
}

.article-navigation p {
    margin-bottom: 20px;
}

.article-nav-bubbles {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.article-nav-bubbles a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    border: 1px solid #c49a45;
    border-radius: 30px;
    background: #ffffff;
    color: #702277;
    text-decoration: none;
    font-weight: 600;
    text-align: center;
    transition: background 0.2s ease, color 0.2s ease;
}

.article-nav-bubbles a:hover,
.article-nav-bubbles a:focus-visible {
    background: #702277;
    color: #ffffff;
}

.resource-body h2[id] {
    scroll-margin-top: 100px;
}


/* shrink the image to fit the page added 2026 10 15 */

.article-image {
    display: block;
    width: 100%;
    max-width: 550px;
    height: auto;
    margin: 0 auto 24px;
}


/* keep old articles with the original sizes 2026 10 15 */
.article-image-small {
    display: block;
    width: 99px;
    max-width: 100%;
    height: auto;
    margin: 0 auto 24px;
}


/* make plain links #702277 purple and underlined at the top and very bottom of the page */
.resources-hero-card p a,
.resource-body p a,
.resource-body li a {
    color: #702277;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.resources-hero-card p a:hover,
.resource-body p a:hover,
.resource-body li a:hover {
    color: #4d1852;
    text-decoration-thickness: 2px;
}




/* Handwriting alphabet samples: scale down on smaller screens added 2026 10 17 */
.resources-page .resource-body img.handwriting-sample {
    display: block;
    width: 700px; 
    min-width: 0;
    max-width: 100%;
    height: auto;
    margin: 16px auto;
}

/* Animated number 4: keep its display width at 63px */
.resources-page .resource-body img.handwriting-four {
    display: block;
    width: 63px !important;
    min-width: 0 !important;
    max-width: 63px !important;
    height: auto !important;
    margin: 12px auto;
}


/* REformat the Gemonacy images added 2026 10 18  */
.resource-body img.geomancy-image {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 300px;
  margin: 1rem auto;
}



/* Metatron Mat image alignment added 2026 10 19 */
.resource-body .mat-image-row {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 1rem auto;
}

.resource-body .mat-image-row img {
    display: block;
    float: none;
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 0;
}

.resource-body img.mat-grid-image {
    display: block !important;
    float: none !important;
    width: 186px !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: auto !important;
    margin-right: auto !important;
}



/* Pyramid article image sizes added 2026 10 19 */
.resources-page .resource-body img.article-image.pyramid-photo {
  display: block;
  width: 360px;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
}

.resources-page .resource-body img.article-image.pyramid-metatron {
  display: block;
  width: 100px;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
}

.resources-page .resource-body img.article-image.pyramid-nubian {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  margin: 1rem auto;
}



/* Keep article headings visible when following section links added 2026 10 19 */
.resources-page .resource-body h3[id] {
  scroll-margin-top: 140px;
}




