/* =========================================================
   linguistics-portal-static.css (v2.5 - Denser Layout)
   Static 3-Column Portal Homepage for Anagura Linguistics
   
   Layout: Left (Recent) | Middle (Icons/Featured) | Right (Resources)
   v2.5: Reduced gaps for denser, more professional appearance
   Created: December 2025
   ========================================================= */

/* =========================================================
   1. BODY & CONTAINER OVERRIDES
   ========================================================= */

body.home,
body.blog {
    height: auto;
    overflow: visible;
    white-space: normal;
}

/* Main Portal Container */
.portal-container {
    display: grid;
    grid-template-columns: 340px 1fr 340px;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.portal-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* =========================================================
   2. SECTION CONTAINERS
   ========================================================= */

.portal-section {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.portal-section-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid var(--rule);
    color: var(--ink);
}

.section-footer {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--rule);
    text-align: center;
}

.view-all-link {
    display: inline-block;
    padding: 0.5rem 1.2rem;
    background: var(--bg-tan);
    color: var(--ink);
    text-decoration: none;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.view-all-link:hover {
    background: var(--accent-river);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(201, 100, 45, 0.3);
}

/* =========================================================
   3. LEFT COLUMN: RECENT UPDATES
   ========================================================= */

.recent-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.recent-list-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.recent-list-item:last-child {
    border-bottom: none;
}

.recent-list-item a {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem 0;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    align-items: flex-start;
}

.recent-list-item a:hover {
    transform: translateX(3px);
    background: rgba(201, 100, 45, 0.03);
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}

.recent-thumb {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-tan);
}

.recent-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.recent-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.recent-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.7rem;
    color: var(--ink-light);
}

.recent-date {
    font-weight: 500;
}

.recent-category {
    padding: 2px 6px;
    background: var(--bg-tan);
    border-radius: 3px;
    font-weight: 600;
}

.recent-title {
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--ink);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =========================================================
   4. LEFT COLUMN: POPULAR TAGS
   ========================================================= */

.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.tag-item {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    background: var(--bg-tan);
    border: 1px solid rgba(201, 100, 45, 0.15);
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--ink-soft);
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    font-weight: 500;
}

.tag-item:hover {
    background: var(--accent-river);
    color: #fff;
    border-color: var(--accent-river);
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(201, 100, 45, 0.3);
}

.tag-item::after {
    content: attr(data-count);
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--accent-river);
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 5px;
    border-radius: 8px;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.tag-item:hover::after {
    opacity: 1;
}

/* =========================================================
   5. MIDDLE COLUMN: QUICK ACCESS ICONS
   ========================================================= */

.portal-column-middle .portal-section {
    background: var(--bg); 
    border-color: var(--rule);
    box-shadow: none; 
}

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 0.5rem;
}

.quick-access-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 0.75rem; 
    padding: 1rem 1.25rem;
    min-height: 60px;
    
    /* 3D EFFECT 1: Subtle Academic Gradient */
    /* Moves from a slightly deeper tan to the base button tan */
    background: linear-gradient(to bottom, #f2eadc 0%, #ede6d9 100%);
    
    /* 3D EFFECT 2: Multi-layered Border */
    /* Top border is lighter (highlight), bottom is darker (shadow) */
    border: 1px solid var(--rule);
    border-top-color: #fdfcfb;
    border-bottom-color: #c5b8a5;
    
    border-radius: var(--radius-main);
    text-decoration: none;
    color: var(--ink); 
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    text-align: left;

    /* 3D EFFECT 3: Soft Elevation Shadow */
    box-shadow: 
        0 2px 3px rgba(59, 54, 47, 0.1), 
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.quick-access-btn:hover {
    text-decoration: none !important;

    /* "Press" Effect: The button looks like it is being pushed into the page */
    background: var(--bg-tan); /* #f0e9dd */
    border-color: var(--accent-river);
    
    /* 3D EFFECT 4: Shadow Shift */
    transform: translateY(1px); /* Moves down slightly like a real button */
    box-shadow: 
        0 1px 2px rgba(59, 54, 47, 0.05),
        inset 0 1px 3px rgba(0, 0, 0, 0.05); /* Inner shadow for "pressed" feel */
}

/* Updated Icon & Label logic */
.quick-access-btn .qa-icon,
.quick-access-btn i {
    color: var(--ink-soft);
    font-size: 1.5rem;
    filter: drop-shadow(0 1px 0 rgba(255, 255, 255, 0.8)); /* 3D depth for icons */
}

.quick-access-btn svg {
    flex-shrink: 0;
    width: 1.4em;
    height: 1.4em;
    stroke: var(--ink-soft); 
    fill: none;
}

.btn-label {
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--ink);
    /* Subtle text shadow for "etched" look */
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
}

.quick-access-btn:hover .btn-label {
    color: var(--accent-hover); 
    text-shadow: none;
}

.quick-access-btn:hover .qa-icon {
    color: var(--accent-river); 
    filter: none;
}

/* =========================================================
   6. MIDDLE COLUMN: FEATURED POSTS
   ========================================================= */

.featured-posts {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.featured-post-card {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.featured-post-card:hover {
    border-color: var(--accent-river);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.featured-thumb {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-tan);
}

.featured-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.featured-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.4;
    color: var(--ink);
}

.featured-title a {
    color: inherit;
    text-decoration: none;
}

.featured-title a:hover {
    color: var(--accent-river);
}

.featured-excerpt {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-card.sticky-post {
    border-left: 3px solid var(--accent-river);
    background: linear-gradient(to right, rgba(201, 100, 45, 0.03), transparent);
}

.sticky-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.sticky-indicator {
    font-size: 0.85em;
    margin-right: 0.3rem;
    display: inline-block;
}

.featured-thumb {
    position: relative;
}

.featured-posts.compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.featured-post-card.compact {
    display: flex;
    gap: 0.8rem;
    padding: 0.8rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.featured-post-card.compact:hover {
    border-color: var(--accent-river);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.featured-thumb.small {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: var(--bg-tan);
}

.featured-thumb.small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.featured-title.small {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.35;
    color: var(--ink);
}

.featured-title.small a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.featured-title.small a:hover {
    color: var(--accent-river);
}

.featured-excerpt.small {
    font-size: 0.8rem;
    line-height: 1.4;
    color: var(--ink-soft);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.featured-post-card.compact:not(:has(.featured-thumb)) {
    padding: 0.7rem 1rem;
}

/* =========================================================
   6b. PORTAL: MONGOLIAN HISTORY
   ========================================================= */

.portal-mongolian-history .portal-card-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.portal-mongolian-history .portal-card {
    display: block;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    color: var(--ink);
    transition: all 0.2s ease;
}

.portal-mongolian-history .portal-card:last-child {
    border-bottom: none;
}

.portal-mongolian-history .portal-card:hover {
    color: var(--accent-river);
    padding-left: 0.5rem;
}

.portal-mongolian-history .portal-card-inner {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.portal-mongolian-history .portal-card-icon {
    flex-shrink: 0;
    width: 1.3em;
    height: 1.3em;
    color: var(--accent-river);
}

.portal-mongolian-history .portal-card-title {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.portal-mongolian-history .portal-card-meta {
    margin: 0 0 0 auto;
    font-size: 0.8rem;
    color: var(--ink-light);
}

/* =========================================================
   7. MINIMAL SEARCH BOX (v2.5 - Denser Design)
   ========================================================= */

.portal-section.search-compact {
  padding: 0.8rem 1rem;
}

.minimal-search-section {
  padding: 0.8rem 0.8rem 0.8rem !important;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 0.5rem;
}

.minimal-search-form {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 0.6rem 0.4rem;
  transition: all 0.2s ease;
}

.minimal-search-form:focus-within {
  border-color: var(--ink-light);
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.minimal-search-input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 0.2rem;
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--ink);
  outline: none;
}

.minimal-search-input::placeholder {
  color: #aaa;
}

.minimal-search-btn {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink-light);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.minimal-search-btn:hover {
  color: var(--accent-river);
}

.minimal-search-btn svg {
  width: 14px;
  height: 14px;
}

/* =========================================================
   8. RIGHT COLUMN: RESOURCES & TOOLS
   ========================================================= */

.resource-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.resource-list-horizontal {
    gap: 0.4rem;
}

.resource-list-horizontal li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.resource-list-horizontal li:last-child {
    border-bottom: none;
}

.resource-list-horizontal .resource-link {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.6rem 0;
    text-decoration: none;
    color: var(--ink);
    transition: all 0.2s ease;
}

.resource-list-horizontal .resource-link:hover {
    color: var(--accent-river);
    padding-left: 0.5rem;
}

.resource-list-horizontal .resource-icon {
    flex-shrink: 0;
    width: 1.3em;
    height: 1.3em;
    color: var(--accent-river);
}

.resource-list-horizontal .resource-title {
    font-size: 0.9rem;
    font-weight: 600;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    transition: all 0.2s ease;
}

.resource-item:last-child {
    border-bottom: none;
}

.resource-item:hover {
    background: rgba(201, 100, 45, 0.03);
    margin: 0 -0.5rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    border-radius: 4px;
}

.resource-icon {
    flex-shrink: 0;
    width: 1.5em;
    height: 1.5em;
    color: var(--accent-river);
}

.resource-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.resource-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ink);
    text-decoration: none;
    transition: color 0.2s ease;
}

.resource-title:hover {
    color: var(--accent-river);
}

.resource-desc {
    font-size: 0.75rem;
    color: var(--ink-light);
}

/* =========================================================
   9. RIGHT COLUMN: EXTERNAL LINKS
   ========================================================= */

.external-links {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.external-link-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.external-link-item:last-child {
    border-bottom: none;
}

.ext-icon {
    flex-shrink: 0;
    width: 1.2em;
    height: 1.2em;
    color: var(--accent-river);
    stroke-width: 1.6;
}

.external-link-item a {
    flex: 1;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--ink);
    text-decoration: none;
    transition: all 0.2s ease;
}

.external-link-item a:hover {
    color: var(--accent-river);
    transform: translateX(3px);
}

/* =========================================================
   10. RIGHT COLUMN: RELATED SITES (REFINED)
   ========================================================= */

.related-sites-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.related-sites-list li {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.related-sites-list li:last-child {
    border-bottom: none;
}

.related-sites-list a {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.6rem 0;
    text-decoration: none;
    transition: all 0.2s ease;
}

.related-sites-list a:hover {
    padding-left: 0.5rem;
}

.related-sites-list .site-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--ink);
}

.related-sites-list a:hover .site-name {
    color: var(--accent-river);
}

.related-sites-list .site-desc {
    font-size: 0.75rem;
    color: var(--ink-light);
}

/* =========================================================
   11. RIGHT COLUMN: NEWS BOX
   ========================================================= */

.news-box {
    margin-top: 0;
    padding: 1.2rem;
    background: #fffaf5;
    border: 1px solid var(--rule);
    border-radius: 8px;
}

.news-title {
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 700;
    margin: 0 0 0.8rem;
    color: var(--accent-river);
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(201, 100, 45, 0.2);
}

.news-content {
    font-size: 0.85rem;
    color: var(--ink-light);
    margin: 0;
}

.news-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.news-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.news-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.news-date {
    font-size: 0.7rem;
    color: var(--ink-light);
    font-weight: 500;
}

.news-item a {
    font-size: 0.85rem;
    color: var(--ink);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.news-item a:hover {
    color: var(--accent-river);
}

.portal-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--rule);
}

.portal-list-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 12px 8px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    text-decoration: none;
    color: var(--ink);
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.portal-list-item:hover {
    background: rgba(255,255,255,0.6);
    color: var(--accent-river);
    border-left-color: var(--accent-river);
    transform: translateX(4px);
}

.portal-list-item .meta-date {
    font-family: var(--sans);
    font-size: 0.75rem;
    color: var(--ink-light);
    white-space: nowrap;
    min-width: 40px;
}

.portal-list-item .meta-title {
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.5;
}

.portal-list-item.small {
    padding: 8px 6px;
}

.portal-list-item.small .meta-title {
    font-size: 0.85rem;
}

/* =========================================================
   11. RESPONSIVE DESIGN
   ========================================================= */

@media (max-width: 1200px) {
    .portal-container {
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }
    
    .portal-column-middle {
        grid-column: 1 / -1;
    }
    
    .quick-access-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .tag-cloud {
        gap: 0.4rem;
    }
    
    .tag-item {
        font-size: 0.75rem;
        padding: 0.3rem 0.7rem;
    }
}

@media (max-width: 768px) {
    .portal-container {
        grid-template-columns: 1fr;
        padding: 1rem;
        gap: 1rem;
    }

    .portal-column {
        display: contents;
    }

    .portal-quick-access {
        order: -1;
    }
    
    .portal-section {
        padding: 1rem;
    }
    
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .quick-access-btn {
        padding: 1.2rem 1rem;
        min-height: 70px;
    }
    
    .featured-posts {
        gap: 0.8rem;
    }
    
    .featured-post-card {
        flex-direction: column;
    }
    
    .featured-thumb {
        width: 100%;
        height: 120px;
    }
    
    .portal-search-form {
        flex-direction: column;
    }
    
    .search-submit {
        width: 100%;
    }
    
    .tag-cloud {
        justify-content: center;
    }
    
    .external-links {
        gap: 0.4rem;
    }
    
    .news-box {
        margin-top: 0;
    }
}

@media (max-width: 480px) {
    .portal-section-title {
        font-size: 1rem;
    }
    
    .btn-label {
        font-size: 0.85rem;
    }
    
    .recent-title {
        font-size: 0.85rem;
    }
    
    .featured-title {
        font-size: 0.9rem;
    }
}

/* =========================================================
   12. PRINT STYLES
   ========================================================= */

@media print {
    .portal-container {
        display: block;
    }
    
    .portal-section {
        page-break-inside: avoid;
        margin-bottom: 1rem;
    }
    
    .quick-access-btn,
    .search-submit {
        display: none;
    }
}

/* =========================================================
   WIDGET AREAS (v2.1)
   ========================================================= */

.widget-area {
    margin-top: 0;
}

.widget,
.portal-widget {
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
}

.widget-title,
.widget .portal-section-title {
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 1rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid var(--rule);
    color: var(--ink);
}

.widget-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
}

.widget-card {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.widget-card:hover {
    border-color: var(--accent-river);
    box-shadow: 0 3px 8px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

.widget-card-title {
    font-family: var(--serif);
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    color: var(--ink);
}

.widget-card-desc {
    font-size: 0.8rem;
    line-height: 1.5;
    color: var(--ink-soft);
    margin: 0;
}

.widget-card-meta {
    font-size: 0.7rem;
    color: var(--ink-light);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget li {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.widget li:last-child {
    border-bottom: none;
}

.widget a {
    color: var(--ink);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

.widget a:hover {
    color: var(--accent-river);
}

/* =========================================================
   WIDGET: ICON NAVIGATION (Added v3.1)
   ========================================================= */

.portal-nav-card {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid var(--rule);
    border-radius: 8px;
    margin-bottom: 1rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.portal-nav-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border-color: var(--accent-river);
}

.nav-card-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
}

.nav-card-text h3 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ink);
}

.nav-card-text p {
    margin: 0.3rem 0 0;
    font-size: 0.85rem;
    color: var(--ink-light);
    line-height: 1.4;
}