/*
Theme Name: RSRCHDB Child
Theme URI: https://rsrchdb.com
Description: GeneratePress child theme for the RSRCHDB research-database directory. Adds the single-database profile template.
Author: Joe
Template: generatepress
Version: 1.0.0
*/

/* ---- Database profile layout ---- */
.rsrchdb-profile {
    max-width: 820px;
    margin: 0 auto;
}
.rsrchdb-header {
    margin-bottom: 2rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 1.5rem;
}
.rsrchdb-logo img {
    max-height: 72px;
    width: auto;
    margin-bottom: 1rem;
}
.rsrchdb-title {
    margin: 0 0 .35em;
}
.rsrchdb-tagline {
    font-size: 1.15rem;
    color: #4b5563;
    margin: 0 0 1rem;
}
.rsrchdb-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}
.rsrchdb-badge {
    display: inline-block;
    background: #eef2ff;
    color: #3730a3;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .01em;
    padding: .25rem .6rem;
    border-radius: 999px;
}
.rsrchdb-badge a {
    color: inherit;
    text-decoration: none;
}
.rsrchdb-glance {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2rem;
}
.rsrchdb-glance h2 {
    margin-top: 0;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #6b7280;
}
.rsrchdb-glance dl {
    margin: 0;
    display: grid;
    grid-template-columns: max-content 1fr;
    gap: .5rem 1.25rem;
}
.rsrchdb-glance dt {
    font-weight: 700;
    color: #374151;
}
.rsrchdb-glance dd {
    margin: 0;
    color: #374151;
}
.rsrchdb-section {
    margin-bottom: 2rem;
}
.rsrchdb-section h2 {
    margin-bottom: .5rem;
}
.rsrchdb-tips {
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    padding: 1rem 1.25rem;
    border-radius: 0 8px 8px 0;
}
.rsrchdb-verified {
    font-size: .85rem;
    color: #9ca3af;
    font-style: italic;
    border-top: 1px solid #e5e7eb;
    padding-top: 1rem;
}
@media (max-width: 600px) {
    .rsrchdb-glance dl { grid-template-columns: 1fr; gap: .1rem 0; }
    .rsrchdb-glance dd { margin-bottom: .6rem; }
}

/* ---- Typography: Roboto (headings) + Lora (body) ---- */
body,
button,
input,
select,
textarea {
	font-family: 'Lora', Georgia, 'Times New Roman', serif;
}
h1, h2, h3, h4, h5, h6,
.site-title,
.main-title,
.rsrchdb-title,
.entry-title {
	font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	font-weight: 700;
}

/* ---- RSRCHDB logo size (~2x) ---- */
.main-title {
	font-size: 3rem !important;
	line-height: 1.1;
}
.site-logo img { max-height: 96px; width: auto; }
@media (max-width: 768px) {
	.main-title { font-size: 2rem !important; }
	.site-logo img { max-height: 60px; }
}
