body { background-color: #fcca03; }
/* Smaller title on an individual Joomla article page */
.item-page .page-header h1,
.item-page .page-header h2 {
  font-size: 1.6rem;
}

/* Student Feedback blog titles */
.blog h2,
.blog h2 a,
.blog-item h2,
.blog-item h2 a,
.com-content-category-blog h2,
.com-content-category-blog h2 a {
  font-size: 1rem !important;
  line-height: 1.25 !important;
}

/* Only the Language Switcher title in Cassiopeia */
.language-switcher-small > h3,
.language-switcher-small h3.card-header {
  font-size: 1rem !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
  text-transform: none !important;
}

/* Smart Search result title */
span.result__title-text,
.result__title-text {
  font-size: 1rem !important;
  line-height: 1.2 !important;
  font-weight: 400 !important;
}

/* Put the Cassiopeia logo and tagline on one horizontal line */
.container-header .navbar-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}

/* Position the white tagline beside the logo */
.container-header .site-description {
  margin: 0;
  color: #fff;
  font-size: 1.15rem;
  line-height: 1.25;
  white-space: normal;
  max-width: 70rem;
}

/* Keep the layout usable on phones */
@media (max-width: 768px) {
  .container-header .navbar-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .container-header .site-description {
    max-width: 100%;
    font-size: 1rem;
  }
}
/* Enlarge the white title beside the logo */
.container-header .site-description,
.container-header .header-title {
  font-size: 3.75rem !important;
  line-height: 1.25 !important;
  color: #fff !important;
}
.container-header .site-description,
.container-header .header-title {
  font-weight: 600 !important;
}

/* First paragraph and image layout */
.intro-columns {
  display: grid !important;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr) !important;
  gap: 1.5rem !important;
  align-items: start !important;
  width: 100% !important;
}

/* Prevent the text column from stretching across the page */
.intro-text {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Image and message side by side */
.circle-callout {
  display: grid !important;
  grid-template-columns: 190px minmax(130px, 1fr) !important;
  grid-template-areas:
    "image note"
    "image arrow" !important;
  align-items: center !important;
  column-gap: 0.75rem !important;
  width: 100% !important;
}

.circle-callout > p {
  grid-area: image;
  margin: 0 !important;
}

.circle-callout img {
  width: 190px !important;
  max-width: 100% !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  border-radius: 50% !important;
}

.circle-note {
  font-family: "Comic Sans MS", "Comic Sans", cursive !important;
  position: relative !important;
  left: 5.5rem !important;
  top: 4rem !important;
  transform: rotate(-5deg) !important;
  z-index: 3;
  max-width: 180px;
  color: #6b2338;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: left;
}


/* Place the arrow between the text and the image */
.circle-callout {
  position: relative !important;
}

.circle-arrow {
  position: absolute !important;
  left: 250px !important;
  top: 50% !important;
  width: 60px;
  height: 28px;
  border-top: 3px solid #6b2338;
  border-radius: 50% 50% 0 0;
  transform: translate(-50%, -50%) rotate(30deg) !important;
  z-index: 3;
}

/* Arrowhead pointing toward the image */
.circle-arrow::after {
  content: "";
  position: absolute;
  left: -2px;
  top: -7px;
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 12px solid #6b2338;
}

/* Mobile layout */
@media (max-width: 768px) {
  .intro-columns {
    display: block !important;
  }

  .circle-callout {
    grid-template-columns: 1fr !important;
    grid-template-areas:
      "note"
      "arrow"
      "image" !important;
    justify-items: center;
    row-gap: 0.25rem;
  }

  .circle-note,
  .circle-arrow {
    text-align: center;
  }

  .circle-callout img {
    width: 190px !important;
  }
}

.lesson-plan-image {
  width: 220px !important;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .intro-columns {
    display: block !important;
  }
 
@media (max-width: 768px) {
  .circle-note {
    position: static !important;
    margin: 0 auto 0.5rem !important;
    text-align: center;
  }
}