.qotd-quote {
  color: var(--qotd-color) !important;
/*  border-left: 4px solid var(--qotd-color); */
  border-left: none !important;
/*  padding-left: 16px; */
  padding-left: 0 !important;
  font-style: italic;
}

.qotd-author {
  color: var(--qotd-color);
  opacity: 0.85;
  margin-top: 0.5em;
  font-style: italic;
}

.qotd-author-centered {
  text-align: center;
}

.qotd-author-inline {
  opacity: 0.75;
}

/* Pagination Styling */
.qotd-pagination {
    margin-top: 30px;
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.qotd-pagination .page-numbers {
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid var(--qotd-color);
    color: var(--qotd-color);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.qotd-pagination .page-numbers:hover {
    background-color: var(--qotd-color);
    color: #fff !important;
}

.qotd-pagination .current {
    background-color: var(--qotd-color);
    color: #fff !important;
}

/* Specific styling for Prev/Next if you want them to stand out */
.qotd-pagination .prev, .qotd-pagination .next {
    font-weight: bold;
}

/* Container */
.qotd-accordion-archive {
    max-width: 800px;
    margin: 0 auto;
}

/* Year and Month Sections */
.qotd-year-group, .qotd-month-group {
    background: #fff;
    border: 1px solid #eee;
    margin-bottom: 10px;
    border-radius: 6px;
    overflow: hidden;
}

/* Clickable Headers */
.qotd-year-title, .qotd-month-title {
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    background: #f9f9f9;
    list-style: none; /* Hide default arrow */
    display: flex;
    justify-content: space-between;
    transition: background 0.3s ease;
}

.qotd-year-title:hover, .qotd-month-title:hover {
    background: #f0f0f0;
}

.qotd-year-title::after, .qotd-month-title::after {
    content: "▼";
    font-size: 0.8em;
    color: var(--qotd-color);
}

details[open] > .qotd-year-title::after, 
details[open] > .qotd-month-title::after {
    content: "▲";
}

/* Month inner styling */
.qotd-month-group {
    margin: 10px 15px;
    border-color: #ddd;
}

.qotd-month-title {
    font-size: 0.9em;
    background: #fff;
}

/* Quote Layout in Archive */
.qotd-month-content {
    padding: 10px 15px;
}

.qotd-archive-item {
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 0;
}

.qotd-archive-item:last-child {
    border-bottom: none;
}

.qotd-archive-date {
    display: block;
    color: #888;
    margin-bottom: 5px;
    font-size: 0.75em;
    text-transform: uppercase;
}

.qotd-count {
    font-weight: normal;
    font-size: 0.8em;
    opacity: 0.6;
}

/* Highlight the open month header to make it pop */
details[open] > .qotd-month-title {
    background-color: #fff;
    color: var(--qotd-color);
    border-bottom: 1px solid #eee;
}

.qotd-search-wrapper {
    display: block !important;
    visibility: visible !important;
    margin-bottom: 20px !important;
    position: relative !important;
    clear: both !important;
}

#qotd-archive-search {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    padding: 12px 15px !important;
    border: 2px solid #ccc !important;
    background-color: #fff !important;
    color: #333 !important;
    opacity: 1 !important;
}

#qotd-clear-search {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: #ccc;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
    display: none; /* Hidden by default */
    font-size: 18px;
    font-weight: bold;
    padding: 0;
}

#qotd-clear-search:hover {
    background: var(--qotd-color);
}
