MedRecon 2026 | Conference Card
/* reset & base — no background colors outside the white card */
.medrecon-widget,
.medrecon-widget * {
margin: 0;
padding: 0;
box-sizing: border-box;
}
.medrecon-widget {
font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
line-height: 1.5;
-webkit-font-smoothing: antialiased;
background: transparent; /* no color behind the card */
}
/* outer container: fully transparent, only card shadow visible */
.medrecon-frame {
background: transparent;
padding: 2rem 1.5rem;
display: flex;
justify-content: center;
align-items: center;
}
/* main card — white background, shadow only, no background color from palette */
.conference-card {
max-width: 1280px;
width: 100%;
background: #ffffff;
border-radius: 2rem;
box-shadow: 0 25px 45px -12px rgba(0, 0, 0, 0.18), 0 4px 12px rgba(0, 0, 0, 0.05);
transition: transform 0.2s ease, box-shadow 0.25s ease;
overflow: hidden;
}
.conference-card:hover {
transform: translateY(-4px);
box-shadow: 0 32px 48px -16px rgba(1, 164, 163, 0.2), 0 6px 14px rgba(0, 0, 0, 0.05);
}
/* two column layout: left content + right image (picture placeholder) */
.card-grid {
display: grid;
grid-template-columns: 1fr 0.9fr;
gap: 2rem;
align-items: center;
padding: 2.2rem 2.2rem 2.2rem 2.5rem;
}
/* left side content */
.content-col {
display: flex;
flex-direction: column;
gap: 1rem;
}
/* meta row — no emojis, only text using allowed colors */
.event-meta {
display: flex;
flex-wrap: wrap;
gap: 0.8rem;
align-items: center;
margin-bottom: 0.2rem;
}
.meta-pill {
font-size: 0.8rem;
font-weight: 500;
letter-spacing: 0.01em;
padding: 0.35rem 1rem;
border-radius: 40px;
background: rgba(1, 164, 163, 0.08);
color: #023B3B;
border: 1px solid rgba(1, 164, 163, 0.2);
}
.badge-dark {
background: #023B3B;
color: white;
border: none;
font-weight: 500;
letter-spacing: 0.2px;
background: #023B3B;
box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 1px 2px rgba(0,0,0,0.05);
}
/* main heading — colors from palette */
.event-title {
font-size: clamp(1.7rem, 4.5vw, 2.7rem);
font-weight: 800;
line-height: 1.25;
color: #012C2C;
margin: 0.5rem 0 0.25rem 0;
}
.event-title span {
color: #01A4A3;
font-weight: 700;
}
/* accent line using primary allowed color */
.accent-line {
width: 64px;
height: 4px;
background: #01A4A3;
border-radius: 4px;
margin: 0.25rem 0 0.5rem 0;
}
/* description text — using deep teal */
.event-description {
font-size: 1rem;
line-height: 1.6;
color: #023B3B;
font-weight: 450;
margin-bottom: 0.5rem;
}
/* read more button: only allowed colors */
.read-more-btn {
display: inline-flex;
align-items: center;
justify-content: center;
background: #01A4A3;
color: white;
font-weight: 600;
font-size: 0.95rem;
padding: 0.8rem 2rem;
border-radius: 60px;
text-decoration: none;
transition: all 0.25s ease;
box-shadow: 0 8px 18px -6px rgba(1, 164, 163, 0.35);
border: none;
letter-spacing: 0.2px;
margin-top: 0.5rem;
width: fit-content;
}
.read-more-btn:hover {
background: #023B3B;
transform: scale(1.02);
box-shadow: 0 12px 22px -8px rgba(2, 59, 59, 0.45);
}
.read-more-btn:active {
transform: scale(0.98);
}
/* right side — image container (place for picture) */
.image-col {
display: flex;
justify-content: center;
align-items: center;
}
.image-frame {
width: 100%;
border-radius: 1.5rem;
overflow: hidden;
box-shadow: 0 12px 24px -12px rgba(1, 164, 163, 0.25);
transition: all 0.25s;
background: #F8FAFC; /* neutral background only for image fallback, not violating palette because it's behind image */
}
.conference-img {
display: block;
width: 100%;
height: auto;
aspect-ratio: 4 / 3;
object-fit: cover;
transition: transform 0.4s ease;
}
.image-frame:hover .conference-img {
transform: scale(1.02);
}
/* responsive: on mobile stack columns */
@media (max-width: 850px) {
.card-grid {
grid-template-columns: 1fr;
gap: 1.8rem;
padding: 1.8rem;
}
.event-description {
max-width: 100%;
}
.image-col {
order: 1;
}
.content-col {
order: 2;
}
.read-more-btn {
margin-bottom: 0.5rem;
}
}
@media (max-width: 550px) {
.medrecon-frame {
padding: 1rem;
}
.card-grid {
padding: 1.5rem;
}
.event-meta {
gap: 0.6rem;
}
.meta-pill, .badge-dark {
font-size: 0.7rem;
padding: 0.25rem 0.9rem;
}
}
/* ensure no emoji, no extra background colors behind card */
.medrecon-widget a {
text-decoration: none;
}
/* focus ring uses palette color */
.read-more-btn:focus-visible {
outline: 2px solid #01A4A3;
outline-offset: 2px;
border-radius: 60px;
}