/* Light polish on top of the Wowchemy template */

/* section headings: small, quiet sub-line */
.section-heading .section-sub { margin-top: .75rem; font-size: .9rem; line-height: 1.5; color: #6b7280; }
.section-heading .section-sub a { font-weight: 500; }

/* tighter vertical rhythm */
.home-section { padding-top: 56px !important; padding-bottom: 56px !important; }
#about h1 { font-size: 2.4rem; margin-bottom: 1.25rem; }
#about p { font-size: 1.05rem; line-height: 1.75; }

/* experience: quieter cards */
.experience .card { border: 1px solid rgba(127,127,127,.18); box-shadow: none; }
.exp-company { font-size: .95rem !important; }

/* projects: clean two-column grid instead of narrow masonry */
.projects-container { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; height: auto !important; position: static !important; }
.projects-container .project-item { position: static !important; width: auto !important; transform: none !important; left: auto !important; top: auto !important; margin: 0 !important; padding: 0 !important; float: none !important; }
.projects-container .card { height: 100%; overflow: hidden; box-shadow: none; border: 1px solid rgba(127,127,127,.2); }
.project-card .card-image { display: block; aspect-ratio: 16 / 9; overflow: hidden; background: #fff; }
.project-card .card-image img { width: 100%; height: 100%; object-fit: cover; }
.card-text h4 { text-transform: none !important; font-size: 1.05rem; }
.card-text .article-style p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
@media (max-width: 767px) { .projects-container { grid-template-columns: 1fr; } }

/* publications: compact list */
.stream-item { padding-bottom: .9rem; margin-bottom: .9rem; border-bottom: 1px solid rgba(127,127,127,.18); }
.stream-item .article-title { font-size: 1.05rem; line-height: 1.4; }
.stream-item .article-style { font-size: .85rem; opacity: .8; }
.stream-item .article-metadata { font-size: .85rem; }
.experience .card-body { padding: .9rem 1.1rem; }
.experience .card { margin-bottom: 0; }
.experience .py-2 { padding-top: .3rem !important; padding-bottom: .3rem !important; }
