/* Publications Form Styles */
.card.obs-publication-card {
    max-width: 800px;
    padding: 20px;
    margin-top: 20px;
}

/* Simple Datepicker styling to match WP Admin */
#ui-datepicker-div {
    background: #fff;
    border: 1px solid #ccc;
    box-shadow: var(--shadow-primary);
    padding: 10px;
    z-index: 9999 !important;
}
.ui-datepicker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}
.ui-datepicker-calendar {
    border-collapse: collapse;
}
.ui-datepicker-calendar th, .ui-datepicker-calendar td {
    padding: 5px;
    text-align: center;
}
.ui-datepicker-calendar td a {
    text-decoration: none;
    color: #0073aa;
}
.ui-datepicker-calendar td a:hover {
    background: #eee;
}
.ui-datepicker-current-day {
    background: #0073aa;
}
.ui-datepicker-current-day a {
    color: #fff !important;
}

/* Publications Shortcode (Cards) */
.obs-last-publications {
    display: flex;
    gap: 2.4rem;
    margin: 3rem 0;
    overflow-x: auto;
    padding-bottom: 1rem; /* Space for scrollbar if needed */
}
.obs-pub-card {
    flex: 0 0 234px;
    display: grid;
    grid-row: span 3;
    grid-template-rows: subgrid;
    gap: 1.6rem;
    background: #fff;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease-in-out;
    border: 1px solid #eee;
    border-radius: 8px;
    padding-bottom: 2rem;
}

.obs-pub-image {
    aspect-ratio: 4 / 3;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-color: #f5f5f5;
}

div.obs-last-publications a.obs-pub-card {
    text-decoration: none;
}

.obs-pub-card h3.obs-pub-title {
    margin: 0;
    padding: 0 2rem;
    color: #000;
    font-family: var(--font-secondary);
    font-size: 1.6rem;
    font-style: normal;
    font-weight: 600;
    line-height: 150%;
    letter-spacing: -0.176px;
}

.obs-pub-card span.obs-pub-date {
    padding: 0 2rem;
    color: #000;
    font-family: var(--font-secondary);
    font-size: 1.4rem;
    font-style: normal;
    font-weight: 400;
    line-height: 150%;
    letter-spacing: -0.154px;
}
