/* ============================================================
   AppleHub — design system
   Bảng màu: midnight + mint, chữ đậm tương phản cao
   ============================================================ */
:root {
  --bg: #ffffff;
  --bg-soft: #f6f6f6;
  --card: #ffffff;
  --card-2: #f7f7f7;
  --line: #e4e4e4;
  --line-soft: #efefef;
  --ink: #0b0b0b;
  --ink-2: #2c2c2c;
  --muted: #6d6d6d;
  --brand: #111111;
  --brand-deep: #000000;
  --brand-ink: #ffffff;
  --violet: #4a4a4a;
  --danger: #b3261e;
  --warn: #6b5b00;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 26px 50px -34px rgba(0, 0, 0, .38);
  --shadow-hover: 0 30px 60px -32px rgba(0, 0, 0, .28);
  --ff: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --ff-head: "Space Grotesk", "Be Vietnam Pro", system-ui, sans-serif;
  --fs-hero: clamp(1.9rem, 5.2vw, 3.6rem);
  --fs-h2: clamp(1.35rem, 2.6vw, 2rem);
  --fs-h3: clamp(1.05rem, 1.6vw, 1.25rem);
  --fs-body: clamp(.94rem, 1vw, 1rem);
  --fs-sm: .84rem;
  --fs-xs: .76rem;
  --pad-x: clamp(1rem, 4vw, 2.5rem);
  --max: 1200px;
  --t: .22s cubic-bezier(.2, .7, .3, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(1000px 460px at 84% -12%, rgba(0, 0, 0, .045), transparent 60%),
    radial-gradient(820px 420px at 6% 0%, rgba(0, 0, 0, .03), transparent 62%),
    var(--bg);
  color: var(--ink);
  font-family: var(--ff);
  font-size: var(--fs-body);
  line-height: 1.65;
  min-height: 100vh;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--ff-head); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { margin: 0 0 1em; }
ul { margin: 0; padding-left: 1.1rem; }
::selection { background: #111; color: #fff; }

.wrap {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section { padding-block: clamp(2.2rem, 5vw, 3.6rem); }

/* ------------------------------- TOP BAR ------------------------------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar-inner {
  display: flex;
  align-items: center;
  gap: .7rem;
  min-height: 64px;
  padding-inline: var(--pad-x);
  width: min(100%, var(--max));
  margin-inline: auto;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
  transition: var(--t);
  flex: 0 0 auto;
}
.icon-btn:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); }
.icon-btn svg { width: 20px; height: 20px; }

.brand { display: inline-flex; align-items: center; gap: .6rem; min-width: 0; }
.brand-logo {
  width: 38px; height: 38px; border-radius: 12px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, #262626, #000000);
  color: var(--brand-ink);
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.05rem;
  overflow: hidden;
  flex: 0 0 auto;
  box-shadow: 0 10px 22px -14px rgba(0, 0, 0, .6);
}
.brand-logo img { width: 100%; height: 100%; object-fit: cover; }
.brand-name {
  font-family: var(--ff-head);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: -.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 42vw;
}
.brand-tag { display: block; font-family: var(--ff); font-size: var(--fs-xs); color: var(--muted); font-weight: 400; }

.topbar-spacer { margin-left: auto; }

.topbar-search {
  display: none;
  align-items: center;
  gap: .5rem;
  flex: 1;
  max-width: 380px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .45rem .5rem .45rem .9rem;
}
.topbar-search input {
  flex: 1; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font-size: var(--fs-sm);
}
.topbar-search button {
  border: 0; background: var(--brand); color: var(--brand-ink); font-weight: 600;
  border-radius: 999px; padding: .35rem .9rem; cursor: pointer; font-size: var(--fs-xs);
}

.bell { position: relative; }
.bell .dot {
  position: absolute; top: 7px; right: 8px; width: 8px; height: 8px; border-radius: 50%;
  background: #111; box-shadow: 0 0 0 3px rgba(0, 0, 0, .12);
}

.avatar {
  width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center;
  font-weight: 700; font-size: .82rem; color: #fff; overflow: hidden; flex: 0 0 auto;
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }

.user-menu { position: relative; }
.user-menu-panel {
  position: absolute; right: 0; top: calc(100% + 10px);
  min-width: 220px;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: .5rem;
  box-shadow: var(--shadow);
  display: none;
  z-index: 80;
}
.user-menu.open .user-menu-panel { display: block; }
.user-menu-panel .um-head { padding: .55rem .7rem; border-bottom: 1px solid var(--line); margin-bottom: .35rem; }
.user-menu-panel .um-head strong { display: block; font-size: .92rem; }
.user-menu-panel .um-head span { font-size: var(--fs-xs); color: var(--muted); word-break: break-all; }
.user-menu-panel a, .user-menu-panel button {
  display: flex; align-items: center; gap: .55rem; width: 100%;
  padding: .55rem .7rem; border-radius: 10px; background: none; border: 0;
  color: var(--ink-2); font-size: .88rem; cursor: pointer; text-align: left; transition: var(--t);
}
.user-menu-panel a:hover, .user-menu-panel button:hover { background: #f0f0f0; color: var(--brand); }
.user-menu-panel svg { width: 16px; height: 16px; }

/* ------------------------------- DRAWER -------------------------------- */
.drawer-mask {
  position: fixed; inset: 0; background: rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none; transition: var(--t); z-index: 90;
  backdrop-filter: blur(2px);
}
.drawer-mask.show { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; left: 0; bottom: 0; width: min(84vw, 320px);
  background: #ffffff; border-right: 1px solid var(--line);
  transform: translateX(-102%); transition: transform .28s cubic-bezier(.2, .7, .3, 1);
  z-index: 95; display: flex; flex-direction: column; padding: 1.1rem;
  overflow-y: auto;
}
.drawer.show { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.2rem; }
.drawer nav { display: flex; flex-direction: column; gap: .25rem; }
.drawer nav a {
  display: flex; align-items: center; gap: .7rem; padding: .7rem .8rem; border-radius: 12px;
  color: var(--ink-2); font-size: .95rem; transition: var(--t);
}
.drawer nav a:hover, .drawer nav a.active { background: #111; color: #fff; }
.drawer nav svg { width: 18px; height: 18px; opacity: .85; }
.drawer-foot { margin-top: auto; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--muted); }
.drawer .drawer-cta { margin-top: 1rem; display: grid; gap: .5rem; }

/* -------------------------------- BUTTONS ------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
  padding: .66rem 1.05rem; border-radius: 12px; font-size: .9rem; font-weight: 600;
  border: 1px solid transparent; cursor: pointer; transition: var(--t); white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn-primary { background: var(--brand); color: var(--brand-ink); }
.btn-primary:hover { background: #2b2b2b; transform: translateY(-1px); box-shadow: 0 14px 26px -18px rgba(0, 0, 0, .8); }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn-danger { background: rgba(179, 38, 30, .07); color: var(--danger); border-color: rgba(179, 38, 30, .28); }
.btn-danger:hover { background: rgba(179, 38, 30, .13); }
.btn-sm { padding: .42rem .75rem; font-size: .8rem; border-radius: 10px; }
.btn-block { width: 100%; }

/* -------------------------------- HERO --------------------------------- */
.hero { padding-top: clamp(1.8rem, 4vw, 3rem); padding-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.hero-card {
  position: relative; overflow: hidden; border-radius: calc(var(--radius) + 6px);
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(0, 0, 0, .055), rgba(0, 0, 0, .02) 58%, transparent),
    var(--card);
  padding: clamp(1.4rem, 4vw, 3rem);
  box-shadow: var(--shadow);
}
.hero-card.has-banner { background-size: cover; background-position: center; }
.hero-card.has-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(255, 255, 255, .95) 18%, rgba(255, 255, 255, .72) 68%, rgba(255, 255, 255, .42));
}
.hero-inner { position: relative; z-index: 2; max-width: 680px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .14em;
  color: var(--brand-ink); background: #111;
  border: 1px solid #111;
  padding: .3rem .7rem; border-radius: 999px; margin-bottom: 1rem; font-weight: 600;
}
.hero h1 { margin-bottom: .7rem; }
.hero p.lead { color: var(--ink-2); font-size: clamp(.95rem, 1.3vw, 1.08rem); max-width: 60ch; margin-bottom: 1.4rem; }

.hero-search {
  display: flex; gap: .5rem; align-items: center; flex-wrap: wrap;
  background: #ffffff; border: 1px solid var(--line);
  padding: .45rem .45rem .45rem 1rem; border-radius: 16px; max-width: 560px;
  box-shadow: 0 12px 26px -24px rgba(0, 0, 0, .5);
}
.hero-search input { flex: 1 1 180px; min-width: 0; background: none; border: 0; outline: none; color: var(--ink); font-size: .95rem; padding: .45rem 0; }
.hero-search .btn { flex: 0 0 auto; }

.hero-stats { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.5rem; }
.hero-stat strong { display: block; font-family: var(--ff-head); font-size: clamp(1.2rem, 2.4vw, 1.6rem); color: var(--brand); }
.hero-stat span { font-size: var(--fs-xs); color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }

/* -------------------------------- CARDS -------------------------------- */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem;
  margin-bottom: 1.3rem; flex-wrap: wrap;
}
.section-head h2 { margin: 0; }
.section-head .sub { color: var(--muted); font-size: var(--fs-sm); margin: .2rem 0 0; }
.link-more { color: var(--brand); font-size: var(--fs-sm); font-weight: 600; display: inline-flex; align-items: center; gap: .3rem; }
.link-more:hover { gap: .5rem; }

.grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }

.post-card {
  display: flex; flex-direction: column; overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); transition: var(--t); min-width: 0;
}
.post-card:hover { transform: translateY(-3px); border-color: #111; box-shadow: var(--shadow-hover); }
.post-thumb {
  aspect-ratio: 16 / 9; overflow: hidden;
  background: linear-gradient(135deg, #ededed, #fafafa);
}
.post-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.post-card:hover .post-thumb img { transform: scale(1.04); }
.post-body { padding: 1rem 1.05rem 1.1rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.chip {
  display: inline-flex; align-items: center; gap: .3rem; align-self: flex-start;
  font-size: var(--fs-xs); font-weight: 600; letter-spacing: .04em;
  color: #111; background: #f0f0f0;
  border-radius: 999px; padding: .18rem .6rem;
}
.chip.violet { color: #3a3a3a; background: #ececec; }
.chip.warn { color: #5c4d00; background: #f2efdf; }
.chip.grey { color: var(--muted); background: #efefef; }
.post-card h3 { margin: 0; font-size: 1.02rem; line-height: 1.35; }
.post-card h3 a:hover { color: var(--brand); }
.post-card p { margin: 0; color: var(--muted); font-size: var(--fs-sm); line-height: 1.55; }
.post-meta {
  margin-top: auto; padding-top: .6rem; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; gap: .9rem; font-size: var(--fs-xs); color: var(--muted); flex-wrap: wrap;
}
.post-meta span { display: inline-flex; align-items: center; gap: .3rem; min-width: 0; }
.post-meta svg { width: 14px; height: 14px; opacity: .8; }
.post-meta .spacer { margin-left: auto; }

/* ------------------------------ ACCOUNT LIST --------------------------- */
.account-panel {
  border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(160deg, #fafafa, #ffffff);
  padding: clamp(1rem, 3vw, 1.6rem);
}
.account-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: .55rem;
  padding: .85rem 0;
  border-bottom: 1px dashed var(--line);
}
.account-row:last-child { border-bottom: 0; }
.account-id { font-weight: 600; font-size: .95rem; word-break: break-all; display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.account-pass {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  background: #f5f5f5; border: 1px dashed #d4d4d4;
  color: #111; border-radius: 8px; padding: .2rem .55rem; font-size: .88rem; word-break: break-all;
}
.account-note { font-size: var(--fs-xs); color: var(--muted); }
.account-actions { display: flex; gap: .4rem; flex-wrap: wrap; }

.copy-btn {
  border: 1px solid var(--line); background: var(--card); color: var(--ink-2);
  border-radius: 8px; padding: .28rem .6rem; font-size: var(--fs-xs); cursor: pointer; transition: var(--t);
}
.copy-btn:hover, .copy-btn.copied { border-color: var(--brand); color: var(--brand); }

.locked-panel {
  border: 1px dashed rgba(0, 0, 0, .18); border-radius: var(--radius);
  background: #fafafa; padding: clamp(1.2rem, 4vw, 2rem); text-align: center;
}
.locked-panel h3 { margin-bottom: .35rem; }
.locked-panel p { color: var(--muted); font-size: var(--fs-sm); }

/* ------------------------------- ARTICLE ------------------------------- */
.article-wrap { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.article {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.1rem, 3.5vw, 2.4rem); min-width: 0;
}
.article-head { margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.article h1 { font-size: clamp(1.5rem, 3.6vw, 2.4rem); margin-bottom: .7rem; }
.article-meta { display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; font-size: var(--fs-sm); color: var(--muted); }
.article-cover { margin: 0 0 1.4rem; border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.article-body { color: var(--ink-2); font-size: 1.02rem; overflow-wrap: break-word; }
.article-body h2 { margin-top: 1.6em; color: var(--ink); }
.article-body h3 { margin-top: 1.4em; color: var(--ink); }
.article-body p { margin-bottom: 1.05em; }
.article-body a { color: #111; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body img { border-radius: var(--radius-sm); margin: 1rem 0; }
.article-body blockquote {
  margin: 1.2rem 0; padding: .8rem 1rem; border-left: 3px solid #111;
  background: #f7f7f7; border-radius: 0 12px 12px 0; color: var(--ink-2);
}
.article-body code { background: #f1f1f1; padding: .12em .4em; border-radius: 6px; font-size: .9em; }
.article-body pre { background: #f4f4f4; border: 1px solid #e8e8e8; padding: 1rem; border-radius: 12px; overflow-x: auto; }
.article-body ul, .article-body ol { padding-left: 1.3rem; margin-bottom: 1em; }
.sidebar { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.sidecard { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem; }
.sidecard h4 { font-family: var(--ff-head); font-size: .95rem; margin: 0 0 .7rem; color: var(--ink); }
.mini-post { display: flex; gap: .7rem; padding: .55rem 0; border-bottom: 1px solid var(--line-soft); }
.mini-post:last-child { border-bottom: 0; }
.mini-post .mp-thumb { width: 54px; height: 42px; border-radius: 8px; object-fit: cover; flex: 0 0 auto; background: var(--card-2); }
.mini-post strong { display: block; font-size: .85rem; font-weight: 600; line-height: 1.35; }
.mini-post span { font-size: var(--fs-xs); color: var(--muted); }

/* -------------------------------- FORMS -------------------------------- */
.form-page { max-width: 460px; margin-inline: auto; }
.card-panel {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.2rem, 3.5vw, 2rem);
}
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: var(--fs-sm); font-weight: 600; margin-bottom: .35rem; color: var(--ink-2); }
.field .hint { font-size: var(--fs-xs); color: var(--muted); margin-top: .3rem; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=file], select, textarea {
  width: 100%; background: #ffffff; border: 1px solid var(--line);
  border-radius: 12px; padding: .68rem .85rem; color: var(--ink); font-family: inherit;
  font-size: .95rem; outline: none; transition: var(--t);
}
input:focus, select:focus, textarea:focus { border-color: #111; box-shadow: 0 0 0 3px rgba(0, 0, 0, .07); }
textarea { resize: vertical; min-height: 120px; }
input[type=file] { padding: .5rem; font-size: var(--fs-sm); }
.alert {
  border-radius: 12px; padding: .7rem .9rem; font-size: var(--fs-sm); margin-bottom: 1rem;
  border: 1px solid; display: flex; gap: .5rem; align-items: flex-start;
}
.alert-error { background: rgba(179, 38, 30, .06); border-color: rgba(179, 38, 30, .25); color: #a3241d; }
.alert-success { background: #f4f4f4; border-color: #dbdbdb; color: #111; }
.alert-info { background: #f7f7f7; border-color: #e0e0e0; color: #333333; }
.form-foot { font-size: var(--fs-sm); color: var(--muted); text-align: center; margin-top: 1rem; }
.form-foot a { color: var(--brand); font-weight: 600; }

/* -------------------------------- PROFILE ------------------------------ */
.profile-head {
  display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap;
  background: linear-gradient(140deg, #fafafa, #ffffff);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.1rem, 3vw, 1.8rem);
}
.profile-avatar-big {
  width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center;
  font-family: var(--ff-head); font-size: 1.6rem; font-weight: 700; color: #ffffff; overflow: hidden; flex: 0 0 auto;
}
.profile-avatar-big img { width: 100%; height: 100%; object-fit: cover; }
.profile-head h1 { font-size: clamp(1.3rem, 3vw, 1.8rem); margin-bottom: .2rem; }
.profile-head .pmeta { color: var(--muted); font-size: var(--fs-sm); word-break: break-all; }
.tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1.4rem 0 1rem; }
.tab {
  padding: .45rem .85rem; border-radius: 999px; border: 1px solid var(--line);
  background: var(--card); color: var(--ink-2); font-size: var(--fs-sm); cursor: pointer; transition: var(--t);
}
.tab.active { background: #111; border-color: #111; color: #ffffff; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* -------------------------------- EMPTY -------------------------------- */
.empty-state {
  text-align: center; padding: clamp(2rem, 6vw, 4rem) 1rem;
  border: 1px dashed var(--line); border-radius: var(--radius); background: #fafafa;
}
.empty-state h1 { font-size: clamp(2rem, 6vw, 3rem); color: #111; }
.empty-state p { color: var(--muted); }

/* -------------------------------- PAGER -------------------------------- */
.pager { display: flex; gap: .4rem; justify-content: center; margin-top: 1.8rem; flex-wrap: wrap; }
.pager a, .pager span {
  min-width: 38px; height: 38px; display: grid; place-items: center; border-radius: 10px;
  border: 1px solid var(--line); background: var(--card); font-size: var(--fs-sm); color: var(--ink-2);
}
.pager .active { background: #111; color: #ffffff; border-color: #111; font-weight: 700; }

/* -------------------------------- FOOTER ------------------------------- */
.site-footer {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--line-soft);
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .03));
  padding-block: clamp(1.8rem, 4vw, 2.8rem);
}
.footer-grid { display: grid; gap: 1.6rem; grid-template-columns: 1fr; }
.footer-grid h4 { font-family: var(--ff-head); font-size: .95rem; margin-bottom: .6rem; }
.footer-grid a, .footer-grid p { color: var(--muted); font-size: var(--fs-sm); display: block; margin-bottom: .35rem; }
.footer-grid a:hover { color: var(--brand); }
.footer-bottom {
  margin-top: 1.6rem; padding-top: 1rem; border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap;
  font-size: var(--fs-xs); color: var(--muted);
}

/* -------------------------------- MISC --------------------------------- */
.notice-item {
  display: flex; gap: .9rem; padding: 1rem;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: .8rem;
}
.notice-icon {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
  background: #f0f0f0; color: #111; flex: 0 0 auto;
}
.notice-icon svg { width: 18px; height: 18px; }
.notice-item h3 { font-size: 1rem; margin-bottom: .25rem; }
.notice-item p { margin: 0; color: var(--muted); font-size: var(--fs-sm); }
.notice-item time { font-size: var(--fs-xs); color: var(--muted); opacity: .8; }

.ck.ck-editor__editable_inline { min-height: 260px; background: #ffffff; color: #111111; }
.ck.ck-toolbar { background: #f7f7f7 !important; border-color: #e4e4e4 !important; }
.ck.ck-editor__main > .ck-editor__editable { border-color: #e4e4e4 !important; }

/* ------------------------------- RESPONSIVE ---------------------------- */
@media (min-width: 720px) {
  .topbar-search { display: flex; }
  .account-row { grid-template-columns: 1fr auto; align-items: center; }
  .account-row .account-actions { justify-content: flex-end; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (min-width: 960px) {
  .article-wrap { grid-template-columns: minmax(0, 1fr) 320px; }
  .drawer, .drawer-mask { display: none !important; }
  .menu-toggle { display: none; }
}
@media (max-width: 959px) {
  .hide-sm { display: none !important; }
}
