/* Style the .btn-secondary button */
.btn-secondary {
  background-color: #1E90FF; /* Your custom color */
  border-color: #1E90FF;
  color: white;
}

/* Optional: hover effect */
.btn-secondary:hover {
  background-color: #7B68EE;
  border-color: #7B68EE;
  color: white;
}

/* Center any custom module content inside the Cassiopeia footer */
.footer .grid-child {
    justify-content: center !important;
    display: flex !important;
    text-align: center !important;
    width: 100% !important;
}

.footer .mod-custom {
    text-align: center !important;
    width: 100% !important;
}

/* ======================================= */

/* Full-screen width background for the Single Article title */
.com-content-article .page-header {
    background-color: #3da7ff; /* Your desired background color */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 25px 2rem; /* Top/bottom padding, plus left/right text padding */
    margin-bottom: 2rem; /* Increases the gap below the title banner (e.g., 2.5rem ≈ 40px) */
    box-sizing: border-box;
}

/* Prevent horizontal scrollbar caused by 100vw breakout */
body {
    overflow-x: hidden;
}

/* Ensure the heading inside doesn't add conflicting margins */
/* and reduce the font size of the Single Article title */
.com-content-article .page-header h1,
.com-content-article .page-header h2 {
    margin: 0;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem); /* Scales from ~22px on mobile to ~30px on desktop */
                                              /* Default in Cassiopeia is ~2.5rem (40px); 1.75rem is ~28px */
}
