/* =============================================================================
   Resources Page Styles
   public_html/assets/css/resources.css
   Loaded on /resources/ only. Requires Bootstrap 5 base styles.
============================================================================= */


/* ── Page intro ──────────────────────────────────────────────────────────── */

.resources-intro {
    background: #f8f5f0;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}


/* ── Section heading ─────────────────────────────────────────────────────── */

.resources-section {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
}

.resources-section-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0ebe2;
    color: #8a6a3a;
    font-size: 1rem;
    flex-shrink: 0;
}

.resources-section-title {
    font-weight: 700;
    color: #3d2b1a;
}


/* ── Link cards ──────────────────────────────────────────────────────────── */

.link-card {
    border: 1px solid rgba(0, 0, 0, .1);
    transition: box-shadow .2s ease, transform .2s ease;
}

.link-card:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, .12) !important;
    transform: translateY(-2px);
}

/* Logo header area */
.link-card-logo {
    height: 96px;
    background: #faf7f2;
    background: #bf966a;
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    border-radius: .375rem .375rem 0 0;
    overflow: hidden;
    padding: .75rem 1rem;
}

.link-logo-img {
    max-height: 72px;
    max-width: 100%;
    object-fit: contain;
}

.link-logo-icon {
    font-size: 2rem;
    opacity: .4;
}

.link-card-logo.banner-img {
	height: 180px;
	background: #faf7f2;
	border-bottom: 1px solid rgba(0, 0, 0, .06);
	border-radius: .375rem .375rem 0 0;
	overflow: hidden;
	padding: 0;
}

.link-logo-img.banner-img {
    max-height: none;
    max-width: 100%;
    object-fit: contain;
    object-position: top;
}



/* Card body text */
.link-title a {
    text-decoration: none;
    color: inherit;
    font-size: 1.5rem;
}

.link-title a:hover {
    color: var(--bs-primary);
}

.link-domain {
    font-size: .78rem;
}

.link-description {
    color: #555;
    line-height: 1.5;
    /* Clamp to 4 lines so cards stay uniform height */
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
