/* The central island on department pages (VKG 2026-10-16). Uses the portal's tokens where present,
   with fallbacks, so the retained Sanskrit page can load it too. */
.island-wrap { display: flex; justify-content: center; padding-top: 4px; padding-bottom: 28px; }
.island {
  width: 100%; max-width: 760px; margin: 0 auto; box-sizing: border-box;
  display: grid; gap: 10px; text-align: left;
  padding: 26px 30px 20px; border-radius: 18px;
  background: var(--surface, #ffffff); color: var(--ink, #2d2a26);
  border: 1px solid var(--line, #e4d9c6); border-top: 5px solid var(--accent, #7d5b07);
  box-shadow: 0 10px 30px -18px rgba(26, 21, 16, .45);
}
.island-kind {
  margin: 0; font: 600 .78rem/1.3 var(--f-body, "Inter", system-ui, sans-serif);
  letter-spacing: .1em; text-transform: uppercase; color: var(--accent, #7d5b07);
}
.island-title { margin: 0; font: 700 clamp(1.3rem, 2.6vw, 1.7rem)/1.2 var(--f-display, "Playfair Display", Georgia, serif); color: inherit; }
.island-body, .island-example, .island-source { margin: 0; font-size: 1rem; line-height: 1.6; }
.island-steps { margin: 0; padding-left: 1.4em; display: grid; gap: 4px; line-height: 1.5; }
.island-example { padding: 10px 14px; border-radius: 10px; background: var(--sunk, #f3ecdf); }
.island-example b { margin-right: 6px; }
.island-source { font-style: italic; color: var(--muted, #6a6359); }
.island-foot { margin: 4px 0 0; font-size: .86rem; color: var(--muted, #6a6359); }
.island .dev { font-family: var(--f-dev, "VijayaDV", "Noto Sans Devanagari", sans-serif); }
@media (max-width: 600px) { .island { padding: 20px 18px 16px; } }

/* Main page department cards: one line naming today's island. */
.dc-island { font-size: .9rem; line-height: 1.4; color: var(--ink, #2d2a26); }
.dc-island b { color: var(--accent, #7d5b07); font-weight: 600; }

/* Retained Sanskrit page: the island sits on its dark band. */
.pb-section .island { background: #241a0f; color: #f5e6c8; border-color: rgba(212, 160, 23, .3); border-top-color: #d4a017; box-shadow: none; }
.pb-section .island-kind { color: #d4a017; }
.pb-section .island-example { background: #2d1f0e; }
.pb-section .island-source, .pb-section .island-foot { color: #cdbd9e; }

/* New texts and courses (VKG 2026-10-16): announced at the top of the island for 30 days. */
.island-news { display: grid; gap: 6px; padding: 12px 14px; border-radius: 10px; background: var(--sunk, #f3ecdf); }
.island-news-item { margin: 0; font-size: 1rem; line-height: 1.5; }
.island-news-item b { color: var(--accent, #7d5b07); }
.island-news-item a { color: inherit; font-weight: 600; }
.island-news-access { display: block; font-size: .9rem; color: var(--muted, #6a6359); }
.pb-section .island-news { background: #2d1f0e; }
.pb-section .island-news-item b { color: #d4a017; }
.pb-section .island-news-access { color: #cdbd9e; }

/* Department page: every new text and course, listed. */
.nw { margin-top: 18px; }
.nw .pb-sub { margin: 0 0 10px; font: 700 1.3rem/1.3 "Playfair Display", Georgia, serif; color: #d4a017; }
.nw-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.nw-card { display: grid; gap: 6px; align-content: start; padding: 18px; border-radius: 10px; background: #2d1f0e; border: 1px solid rgba(212, 160, 23, .3); color: #cdbd9e; font: 15px/1.55 "Inter", sans-serif; }
.nw-kind { margin: 0; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: #d4a017; }
.nw-title { margin: 0; font: 700 1.15rem/1.3 "Playfair Display", Georgia, serif; }
.nw-title a { color: #f5e6c8; text-decoration: none; }
.nw-title a:hover, .nw-title a:focus-visible { text-decoration: underline; }
.nw-title .dev { font-family: "VijayaDV", "Noto Sans Devanagari", sans-serif; color: #d4a017; font-weight: 400; margin-left: 6px; }
.nw-body, .nw-access, .nw-links { margin: 0; }
.nw-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nw-link { padding: 6px 12px; border-radius: 999px; border: 1px solid #d4a017; color: #f5e6c8; text-decoration: none; font-size: .9rem; }
.nw-link:hover, .nw-link:focus-visible { background: #d4a017; color: #241a0f; }
.nw-access { font-size: .9rem; color: #cdbd9e; font-style: italic; }
@media (max-width: 700px) { .nw-grid { grid-template-columns: 1fr; } }
