/*
 * animeunity-home.css — the CMS extras of the home (frontend/home.blade.php)
 * that animeunity's home never had, in its vocabulary. Owned by the
 * foundation. animeunity's own home look comes from app.css (#home …) and
 * the components' scoped CSS (TheCarousel, LayoutItems).
 */

/* Carousel: a slide opens its anime (bootstrap-vue's @click on the image). */
#home [data-au-href] { cursor: pointer; }



/* CONTINUA A GUARDARE: one row of the home grid. */
#home .au-cw .items-wrapper { grid-auto-rows: 0; grid-template-rows: auto; overflow: hidden; row-gap: 0 !important; }
#home #continue-watching:empty { display: none !important; }

/* ULTIMI COMMENTI (#home-discussion, notifications-bell.js). */
#home .au-home-discussion[hidden] { display: none; }
#home .au-hd-tools .hd-tab { color: var(--color-text); margin-left: 12px; }
#home .au-hd-tools .hd-tab.active { color: #3db4f2; }
#home .au-hd-switch { display: inline-block; position: relative; width: 28px; height: 16px; margin-left: 12px; vertical-align: -3px; border-radius: 8px; background: #3db4f2; cursor: pointer; }
#home .au-hd-switch > span { position: absolute; top: 2px; left: 14px; width: 12px; height: 12px; border-radius: 50%; background: #fff; transition: left .15s; }
#home .is-off .au-hd-switch { background: var(--color-divider); }
#home .is-off .au-hd-switch > span { left: 2px; }
#home .is-off .hd-body { display: none; }
#home .au-hd-loading { display: none; }
#home .is-loading .au-hd-loading { display: block; }
#home .au-hd-list { list-style: none; margin: 0; padding: 0; }
#home .au-hd-row { display: grid; grid-template-columns: 32px auto; gap: 10px; margin-bottom: 15px; line-height: 1.3; }
#home .au-hd-row:last-child { margin-bottom: 0; }
#home .au-hd-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; }
#home .au-hd-about { font-size: 12px; }
#home .au-hd-user { color: var(--color-text-0); font-weight: 900; }
#home .au-hd-user.is-staff { color: #f2870d; }
#home .au-hd-time { margin-left: 6px; font-size: 10px; color: var(--color-text); }
#home .au-hd-text { margin: 3px 0; font-size: 11px; font-weight: 400; color: var(--color-text-plot); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; word-break: break-word; }
#home .au-hd-on { font-size: 10px; color: #3db4f2; }
#home .au-hd-on:hover { color: var(--color-text-0); text-decoration: none; }
#home .au-hd-on i { margin-right: 3px; }

/* Landing (frontend/front-page, only with show_frontpage = 1): animeunity's
   /login box + the Archivio search field look. */
.au-land-box { background: var(--color-background-1); padding: 50px; border-radius: 6px; margin: 50px 0 0; }
@media (max-width: 500px) { .au-land-box { padding: 40px 20px; } }
.au-land-logo { max-width: 100%; height: auto; }
.au-land-box .title { font-size: 25px; font-weight: 700; margin: 20px 0 10px; color: var(--color-text-0); }
.au-land-tagline { color: var(--color-text); margin-bottom: 25px; }
.au-land-search .search-bar { box-shadow: 0 0 14px 1px rgba(16, 16, 16, .2); border-radius: 5px; margin-bottom: 25px; }
.au-land-search .input-group-text { background: var(--color-background); border: 0; color: var(--color-text); font-size: 12px; }
.au-land-search .form-control.search { background: var(--color-background); border: 0; color: var(--color-text-0); font-size: 15px; height: 40px; }
.au-land-search .form-control.search:focus { box-shadow: none; }
.au-land-text .au-box-body { color: var(--color-text-plot); font-weight: 400; line-height: 1.6; }
.au-land-text .au-box-body h2 { font-size: 18px; font-weight: 700; color: var(--color-text-0); margin: 20px 0 10px; }
