@font-face {
  font-family: 'RIT Rachana' ;
  src: url('resources/woff2/RIT-Rachana-Regular.woff2') format('woff2') ;
  unicode-range: U+0D00-0D7F, U+2000-209F;
}

/* === Base styles === */
body {
  font-family: 'Ysabeau', sans-serif;
  font-size: 20px;
  background-color: #503b30;
  color: white;
  margin: 0;
  padding: 0;
}

body, p, h1, h2, h3, h4, h5, h6, a {
  color: white;
}


/* === Header styling === */
div.ss-identity {
  padding-block: 20px;
  vertical-align: text-top;
  text-align: center;
}

/* === Main content wrapper === */
div.ss-contents {
  width: 50%;
  max-width: 100%;
  margin: auto;
  word-break: break-word;
  text-align: justify;
  box-sizing: border-box;
  padding: 1em 0;
}

/* Paragraphs inside main content */
div.ss-contents p {
  color: white;
  line-height: 1.4;
}

/* Centered link section */
div.ss-contents p[style*="text-align: center"] {
  margin-top: 1.5em;
  font-weight: bold;
}

/* === Footer styles === */
div.ss-footer {
  width: 50%;
  max-width: 100%;
  margin: auto;
  font-family: 'Ysabeau', sans-serif;
  font-size: 18px;
  color: white;
  text-align: center;
  /*padding: 2em 0;*/
  /* The padding was commented out. In margin 2em was given. That was also deleted. */
}

/* === Responsive adjustment for tablets/mobiles === */
@media (max-width: 1000px) {
  div.ss-contents,
  div.ss-footer {
    width: 85%;
  }
}

/* Album footer (if used elsewhere) */
div.ss-album-footer,
p.ss-album-footer {
  font-family: 'Ysabeau', sans-serif;
  font-size: 18px;
  color: white;
  text-align: left;
}

/* === Anchor styles === */
a.ss-anchor {
  font-family: 'Ysabeau', sans-serif;
  font-size: 18px;
  color: #cfd49d;
  text-decoration: none;
  text-align: right;
}

a.ss-anchor:hover {
  color: white;
  font-size: 102%;
  text-align: right;
}

/* === Optional: For temple list page if using .ss-temples-list === */
div.ss-temples-list {
  width: 47%;
  word-break: break-word;
  text-align: justify;
  margin: auto;
}

div.spacer {
  height: 150px;
}

/* === Article-specific enhancements === */
.ss-title {
  font-size: 24px;
  font-weight: normal;
  margin-bottom: 0.5em;
}

.ss-article-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
}

.ss-article-icons {
  text-align: right;
}

.ss-heading {
  font-size: 22px;
  font-weight: normal;
  margin: 2em 0 1em;
}

.album-button {
  display: inline-block;
  background-color: #7a3b2f;
  color: #cfd49d;
  padding: 1px 6px;
  /*padding: 6px 12px;*/
  margin-left: 5px;
  margin-right: 5px;
  text-decoration: none;
  font-size: 16px;
  vertical-align: middle;
  border: none;
  border-radius: 4px;
}

.album-button:hover {
  background-color: #6a1b1a;
  color: white;
}

.ss-image-left {
  border: 2px solid white;
  float: left;
  margin: 15px;
  vertical-align: top;
}

/* === Added by GSK to typeset images within paragraphs, right aligned === */
.ss-image-right {
  border: 2px solid white;
  float: right;
  margin: 15px;
  vertical-align: top;
}

/* === Added by GSK to typeset images within paragraphs without any right or left alignment. See Thrpperunthura. === */
.ss-image-neutral {
  border: 2px solid white;
  float: none;
  margin: 15px;
  vertical-align: top;
}

/* === Add this new class to control the Malayalam font size === */
.malayalam-text {
  font-family: 'RIT Rachana' ;
  font-size: 1.0em;
}
