/* ==========================================================================
   Today @ Juniata — article view (pages/today-at-juniata/article.php)
   Same frosted-glass look as the Today @ Juniata dashboard
   (today-at-juniata.css): .arch-glass panels from arch-portal.css laid
   straight on the campus photo, white text, light-gold accents.
   Uses the arch-portal.css tokens (--arch-glass, --arch-soft, --arch-gold …).
   Everything is scoped to .taj-art.
   ========================================================================== */

/* Glass sits directly on the photo, like the dashboard: drop the white panel */
body.arch-body .container-body:has(.taj-art) {
    padding: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: var(--arch-text);
}

.taj-art {
    color: var(--arch-text);
    font-family: var(--arch-font);
    font-size: 15.5px;
    line-height: 1.55;
}
.taj-art h1, .taj-art h2, .taj-art h3, .taj-art p { margin: 0; font-family: var(--arch-font); }
.taj-art a { color: inherit; }
.taj-art > * + * { margin-top: 14px; }
.taj-art .arch-icon { width: 17px; height: 17px; flex-shrink: 0; }

/* ---------- Submission tools (signed-in only) -----------------------------
   Same slim glass strip as on the Today @ Juniata dashboard. */
.taj-art__tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    padding: 4px;
    border-radius: 999px;
}
.taj-art__tools a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 13px;
    border-radius: 999px;
    color: var(--arch-text-2) !important;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}
.taj-art__tools a:hover,
.taj-art__tools a:focus-visible { background: var(--arch-soft); color: #fff !important; }
.taj-art .taj-art__tools .arch-icon { width: 15px; height: 15px; }

/* ---------- Back link + search -------------------------------------------- */
.taj-art__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    padding: 14px 16px 14px 22px;
    border-radius: var(--arch-r-sm);
}
.taj-art__back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--arch-text-2) !important;
    font-weight: 700;
    text-decoration: none !important;
}
.taj-art__back:hover { color: #fff !important; text-decoration: underline !important; }
.taj-art__back .arch-icon { width: 16px; height: 16px; }
.taj-art__heading { font-size: 22px !important; font-weight: 800 !important; color: #fff; }

/* Same white search pill as the dashboard greeting */
.taj-art__search {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 0 1 380px;
    min-width: 240px;
    margin: 0;
    padding: 5px 5px 5px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .95);
    color: var(--arch-ink);
}
.taj-art__search:focus-within { box-shadow: 0 0 0 3px var(--arch-gold); }
.taj-art__search input {
    flex: 1;
    min-width: 0;
    height: auto;
    padding: 6px 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--arch-ink);
    font: 15px var(--arch-font);
}
.taj-art__search input:focus { outline: none; }
.taj-art__search input::placeholder { color: #5d6878; }
.taj-art__search button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 0;
    border-radius: 999px;
    background: var(--arch-navy);
    color: #fff;
    font: 700 14px var(--arch-font);
    cursor: pointer;
}
.taj-art__search button:hover { background: #26497a; }
.taj-art__search button .arch-icon { width: 15px; height: 15px; }

/* ---------- Layout -------------------------------------------------------- */
.taj-art__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 14px;
    align-items: start;
}

/* ---------- Article tile -------------------------------------------------- */
.taj-art__card { overflow: hidden; padding: 0; }

/* Image: shown whole on a darker glass band (posters and flyers aren't cropped) */
.taj-art__figure {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 18px;
    background: rgba(0, 0, 0, .22);
    border-bottom: 1px solid var(--arch-edge);
}
.taj-art__figure img { display: block; max-width: 100%; max-height: 400px; height: auto; border-radius: 12px; }

.taj-art__body { padding: 26px 30px 28px; }
.taj-art__kicker {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-bottom: 10px !important;
    color: var(--arch-gold);
    font-size: 13.5px;
    font-weight: 800;
}
.taj-art__kicker .arch-icon { width: 16px; height: 16px; }
.taj-art__title {
    font-size: 36px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    letter-spacing: -.03em;
    color: #fff;
}
.taj-art__sponsor { margin-top: 8px !important; color: var(--arch-text-2); font-weight: 600; }

/* Date / time / place chips */
.taj-art__meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; }
.taj-art__meta li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 13px;
    border-radius: 999px;
    background: var(--arch-soft);
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}
.taj-art__meta .arch-icon { width: 16px; height: 16px; color: var(--arch-gold); }

/* Announcement text (sanitised HTML) */
.taj-art__text {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--arch-edge);
    color: var(--arch-text-2);
    font-size: 16.5px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.taj-art__text p { margin: 0 0 .9em; }
.taj-art__text ul, .taj-art__text ol { margin: 0 0 .9em; padding-left: 24px; }
.taj-art__text li { margin-bottom: 6px; }
.taj-art__text h2, .taj-art__text h3, .taj-art__text h4 { margin: 22px 0 10px; color: #fff; font-size: 19px; line-height: 1.3; }
.taj-art__text strong, .taj-art__text b { color: #fff; }
.taj-art__text blockquote { margin: 18px 0; padding: 4px 0 4px 16px; border-left: 3px solid var(--arch-gold); color: #fff; font-style: italic; }
.taj-art__text img { max-width: 100%; height: auto; border-radius: 10px; }
.taj-art__text a { color: #fff !important; font-weight: 700; text-decoration: underline; text-decoration-color: var(--arch-gold); text-underline-offset: 3px; }

/* Posted by */
.taj-art__credit {
    display: flex;
    gap: 10px;
    margin-top: 22px;
    padding: 12px 16px;
    border-radius: 14px;
    background: var(--arch-soft);
    color: var(--arch-text-2);
    font-size: 14.5px;
}
.taj-art__credit .arch-icon { margin-top: 2px; color: var(--arch-gold); }
.taj-art__credit strong { color: #fff; }

/* Share + calendar */
.taj-art__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.taj-art__actions-label { margin-right: 2px; color: var(--arch-text-2); font-size: 13.5px; font-weight: 700; }
.taj-art__share {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    background: var(--arch-soft);
    color: #fff !important;
}
.taj-art__share:hover { background: var(--arch-soft-2); }
.taj-art__share svg { width: 17px; height: 17px; }
.taj-art__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    padding: 10px 18px;
    border-radius: 999px;
    background: #fff;
    color: var(--arch-ink) !important;
    font-size: 14.5px;
    font-weight: 800;
    text-decoration: none !important;
}
.taj-art__btn:hover { background: #e8edf3; }

/* Messages (not found, sign-in needed) */
.taj-art__notice { padding: 34px 28px; text-align: center; }
.taj-art__notice-title { font-size: 24px !important; font-weight: 800 !important; color: #fff; }
.taj-art__notice p { margin-top: 8px !important; color: var(--arch-text-2); }
.taj-art__notice .taj-art__btn { margin: 20px 0 0; }

/* ---------- Upcoming events tile (like "This week" on the dashboard) ------ */
.taj-art__aside { overflow: hidden; padding: 0; }
.taj-art__aside-head {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 20px 22px 6px;
    color: #fff;
    font-size: 16px !important;
    font-weight: 800 !important;
}
.taj-art__aside-head .arch-icon { opacity: .85; }
.taj-art__aside-body {
    max-height: 640px;
    overflow-y: auto;
    padding: 4px 22px 16px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.35) transparent;
}
.taj-art__day { padding: 12px 0; }
.taj-art__day + .taj-art__day { border-top: 1px solid var(--arch-edge); }
.taj-art__day-label { margin-bottom: 8px !important; color: var(--arch-gold); font-size: 13.5px !important; font-weight: 800 !important; }
.taj-art__ev { display: grid; grid-template-columns: 8px 1fr; gap: 10px; margin: 0 0 10px; }
.taj-art__ev:last-child { margin-bottom: 0; }
.taj-art__ev-dot { width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; background: var(--arch-gold); }
.taj-art__ev--sport .taj-art__ev-dot { background: transparent; border: 1.5px solid #fff; }
.taj-art__ev-time { color: var(--arch-text-2); font-size: 13px; font-weight: 700; }
.taj-art__ev-title { color: #fff !important; font-size: 14.5px; font-weight: 700; line-height: 1.35; text-decoration: none !important; }
a.taj-art__ev-title:hover { text-decoration: underline !important; }
.taj-art__ev-loc { display: flex; align-items: center; gap: 4px; margin-top: 2px; color: var(--arch-text-2); font-size: 12.5px; }
.taj-art__ev-loc .arch-icon { width: 13px; height: 13px; }
.taj-art__ev-flag { display: inline-block; padding: 1px 7px; border-radius: 999px; background: #b42318; color: #fff; font-size: 11.5px; font-weight: 700; }
.taj-art__empty { padding: 10px 0; color: var(--arch-text-2); }
.taj-art__cal {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 22px;
    border-top: 1px solid var(--arch-edge);
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
}
.taj-art__cal:hover { background: var(--arch-soft); }
.taj-art__cal .arch-icon { color: var(--arch-gold); }

/* ---------- Phones -------------------------------------------------------- */
@media (max-width: 900px) {
    .taj-art__layout { grid-template-columns: 1fr; }
    .taj-art__aside-body { max-height: none; }
}
@media (max-width: 640px) {
    /* one swipeable row instead of four stacked buttons */
    .taj-art__tools { flex-wrap: nowrap; overflow-x: auto; border-radius: 14px; scrollbar-width: none; }
    .taj-art__tools::-webkit-scrollbar { display: none; }
    .taj-art__head { padding: 14px; }
    .taj-art__search { flex-basis: 100%; }
    .taj-art__body { padding: 22px 18px 24px; }
    .taj-art__title { font-size: 28px !important; }
    .taj-art__btn { margin-left: 0; }
}
@media print {
    .taj-art { color: #000; }
    .taj-art__tools, .taj-art__search, .taj-art__aside, .taj-art__actions { display: none !important; }
    .taj-art__layout { grid-template-columns: 1fr; }
}

/* ==========================================================================
   A LITTLE GOLD (kept light, matching the dashboard)
   Only a thin gold line on top of each glass panel and a gold edge under the
   Search button. Delete this block to remove it.
   ========================================================================== */
.taj-art .arch-glass { box-shadow: inset 0 2px 0 rgba(214, 197, 146, .45), var(--arch-shadow); }
.taj-art__search button { box-shadow: inset 0 -3px 0 #A89968; }