/*

SORP BLUE: #7EB2C6
SORP YELLOW: #EDBD52
SORP GREEN: #5D8836

*/


.font-display {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.08em;
}

.font-hero {
    font-family: 'Bitter', serif;
    font-weight: 700;
}


/* links */
a.sorp-link {
  color: #7EB2C6 !important;
  font-weight: bolder;
  text-decoration: none;
}

a.sorp-link:hover {
  color: #EDBD52 !important; 
}

a.sorp-link-black {
  color: #000000 !important;
  text-decoration: none;
}

a.sorp-link-black:hover {
  color: #EDBD52 !important; 
}


a.sorp-link-gray {
  color: #323232 !important;
  text-decoration: none;
}

a.sorp-link-gray:hover {
  color: #000 !important; 
  text-decoration: underline;
}


/* backgrounds */
.bg-sorp-blue {
  background-color: #7EB2C6 !important;
}

.bg-sorp-blue:hover {
    background-color: #EDBD52 !important;
}

.bg-sorp-yellow {
  background-color: #EDBD52 !important;
}

.bg-sorp-yellow:hover {
    background-color: #7EB2C6 !important;
}

.bg-sorp-green {
  background-color: #5D8836 !important;
}


/* font colors */
.text-sorp-contrast {
  color: #ffffff !important;
}

/* pagination links */
nav[role="navigation"] a:hover {
    color: #fff;
    background-color: #EDBD52;
}
nav[role="navigation"] span[aria-current="page"] > span {
    background-color: #7EB2C6 !important;
    color: #fff !important;
    font-weight: bolder;
}


/* Resource title */
.resource-browse-title {
    font-family: "Adelle", "Merriweather", Georgia, serif;
    font-weight: 700; /* Bold */
    color: #5E8B3D;
}


/* file buttons*/
/* Style the file button */
input[type="file"]::file-selector-button {
    background-color: #7EB2C6;
    color: #fff;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
}

/* Hover effect */
input[type="file"]::file-selector-button:hover {
    background-color: #EDBD52;
}

/* Style the file name text */
input[type="file"] {
    color: #1c1c1c;
}


/* Inputs */

/* Text inputs, selects, textareas */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="file"],
input[type="number"],
input[type="search"],
textarea,
select {
    border-color: #ccc;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #7EB2C6 !important;
    outline-offset: 2px;
    border-color: #7EB2C6 !important;
    box-shadow: 0 0 0 1px #7EB2C6 !important;  /* for Tailwind ring mimic */
}

/* Override focus for the original TinyMCE textarea */
textarea.tox-target:focus {
    outline: 2px solid #7EB2C6 !important;
    border-color: #7EB2C6 !important;
    box-shadow: 0 0 0 1px #7EB2C6 !important;
}


/* =========================================================
   Rich Text (Public View)
   Restores semantics after CSS reset / Tailwind preflight
   ========================================================= */

.rich-text p {
  margin-bottom: 1.25rem;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

/* Headings */
.rich-text h1,
.rich-text h2,
.rich-text h3,
.rich-text h4,
.rich-text h5,
.rich-text h6 {
  font-family: "Bitter", serif;
  font-weight: 700;
  line-height: 1.25;
  margin: 1.75em 0 0.75em;
}

.rich-text h1 {
  font-size: 2rem;
}

.rich-text h2 {
  font-size: 1.6rem;
}

.rich-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
}

.rich-text h4 {
  font-size: 1.1rem;
}

.rich-text h5,
.rich-text h6 {
  font-size: 1rem;
  font-weight: 600;
}

/* Links */
.rich-text a {
  color: #7EB2C6;
  font-weight: 600;
  text-decoration: underline;
}

.rich-text a:hover {
  color: #EDBD52;
}

/* Lists */
.rich-text ul,
.rich-text ol {
  margin: 0 0 1.25rem 1.5rem;
  padding: 0;
}

.rich-text li {
  margin-bottom: 0.5rem;
}

/* Blockquotes */
.rich-text blockquote {
  border-left: 4px solid #7EB2C6;
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  background-color: #f7fafb;
}

/* Horizontal rule */
.rich-text hr {
  border: none;
  border-top: 2px solid #e5e5e5;
  margin: 2rem 0;
}

/* Tables */
.rich-text table {
  border-collapse: collapse;
  width: 100%;
  margin-bottom: 1.5rem;
}

.rich-text th,
.rich-text td {
  border: 1px solid #ddd;
  padding: 0.5rem 0.75rem;
  text-align: left;
}

.rich-text th {
  background-color: #7EB2C6;
  color: #fff;
  font-weight: 600;
}

/* Code */
.rich-text code {
  background-color: #f2f2f2;
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-size: 0.9em;
}

.rich-text pre {
  background-color: #f2f2f2;
  padding: 1rem;
  overflow-x: auto;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}