-
+
{article.category.name}
@@ -62,20 +57,19 @@ const is_small = size === 'sm';
flex-direction: column;
height: 100%;
background: var(--color-bg-card);
- border: 1px solid #e2e8f0;
- border-radius: 6px;
+ border: none;
+ border-bottom: 2px solid color-mix(in srgb, var(--color-primary) 18%, transparent);
+ border-radius: 0;
overflow: hidden;
- transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
+ transition: box-shadow 0.2s ease;
}
[data-theme="dark"] .inst-card {
- border-color: var(--color-border);
+ border-bottom-color: var(--color-border);
}
.inst-card:hover {
- border-color: var(--color-secondary);
- box-shadow: 0 4px 16px rgba(26, 58, 92, 0.08);
- transform: translateY(-2px);
+ box-shadow: 0 8px 24px rgba(26, 58, 92, 0.1);
}
.inst-card--sm {
@@ -96,7 +90,7 @@ const is_small = size === 'sm';
.inst-card--md .inst-card__thumb-link,
.inst-card--lg .inst-card__thumb-link {
- aspect-ratio: 16 / 9;
+ aspect-ratio: 3 / 2;
}
.inst-card--sm .inst-card__thumb-link {
@@ -109,15 +103,15 @@ const is_small = size === 'sm';
height: 100%;
object-fit: cover;
display: block;
- transition: transform 0.35s ease;
+ transition: transform 0.45s ease;
}
.inst-card:hover .inst-card__thumb {
- transform: scale(1.03);
+ transform: scale(1.04);
}
.inst-card__thumb--empty {
- min-height: 140px;
+ min-height: 160px;
background: var(--color-accent);
}
@@ -125,23 +119,8 @@ const is_small = size === 'sm';
min-height: 88px;
}
- .inst-card__ribbon {
- position: absolute;
- top: var(--space-2);
- left: var(--space-2);
- font-family: var(--font-heading, inherit);
- font-size: 0.65rem;
- font-weight: 700;
- text-transform: uppercase;
- letter-spacing: 0.05em;
- padding: 0.2rem 0.55rem;
- background: var(--color-primary);
- color: #fff;
- border-radius: 3px;
- }
-
.inst-card__body {
- padding: var(--space-4);
+ padding: var(--space-4) var(--space-1) var(--space-3);
display: flex;
flex-direction: column;
gap: var(--space-2);
@@ -153,32 +132,30 @@ const is_small = size === 'sm';
justify-content: center;
}
- .inst-card__badge {
+ .inst-card__kicker {
align-self: flex-start;
- display: inline-block;
- padding: 0.2rem 0.6rem;
- border-radius: 3px;
font-family: var(--font-heading, inherit);
- font-size: 0.65rem;
+ font-size: 0.7rem;
font-weight: 700;
+ letter-spacing: 0.06em;
text-transform: uppercase;
- letter-spacing: 0.05em;
text-decoration: none;
- background: rgba(26, 58, 92, 0.08);
- color: var(--color-primary);
- transition: background 0.15s ease;
+ color: var(--color-secondary);
+ padding: 0;
+ background: none;
}
- .inst-card__badge:hover {
- background: rgba(26, 58, 92, 0.15);
+ .inst-card__kicker:hover {
+ color: var(--color-primary);
+ text-decoration: underline;
}
.inst-card__title {
- font-family: var(--font-heading, inherit);
+ font-family: var(--font-display, var(--font-heading, inherit));
font-size: var(--text-base);
font-weight: 700;
- line-height: 1.3;
- letter-spacing: -0.01em;
+ line-height: 1.28;
+ letter-spacing: -0.015em;
margin: 0;
flex: 1;
}
@@ -186,7 +163,7 @@ const is_small = size === 'sm';
.inst-card--lg .inst-card__title {
font-size: var(--text-xl);
font-weight: 800;
- letter-spacing: -0.015em;
+ letter-spacing: -0.02em;
}
.inst-card--sm .inst-card__title {
diff --git a/frontend/src/themes/institutional/HeroSection.astro b/frontend/src/themes/institutional/HeroSection.astro
index aadb7c4..9bd9c1c 100644
--- a/frontend/src/themes/institutional/HeroSection.astro
+++ b/frontend/src/themes/institutional/HeroSection.astro
@@ -39,7 +39,7 @@ const secondary = rest.slice(0, 4);
)}
-
{main.category.name}
+
{main.category.name}
@@ -74,7 +74,7 @@ const secondary = rest.slice(0, 4);
)}
-
+
{article.category.name}
@@ -113,7 +113,7 @@ const secondary = rest.slice(0, 4);
.inst-hero__featured {
position: relative;
- border-radius: var(--inst-radius-lg, 10px);
+ border-radius: 0;
overflow: hidden;
background: #0f172a;
box-shadow: var(--inst-shadow-feature, 0 12px 40px rgba(26, 58, 92, 0.12));
@@ -158,32 +158,30 @@ const secondary = rest.slice(0, 4);
gap: var(--space-3);
}
- .inst-hero__pill {
+ .inst-hero__kicker {
align-self: flex-start;
- display: inline-block;
- padding: 0.25rem 0.75rem;
- border-radius: 3px;
font-family: var(--font-heading, inherit);
- font-size: 0.7rem;
+ font-size: 0.75rem;
font-weight: 700;
text-transform: uppercase;
- letter-spacing: 0.06em;
+ letter-spacing: 0.08em;
text-decoration: none;
- background: var(--color-secondary);
color: #fff;
+ border-bottom: 2px solid color-mix(in srgb, var(--color-secondary) 80%, #fff);
+ padding-bottom: 0.1rem;
}
- .inst-hero__pill--muted {
- background: rgba(255, 255, 255, 0.18);
- color: #fff;
+ .inst-hero__kicker--muted {
+ color: var(--color-secondary);
+ border-bottom-color: color-mix(in srgb, var(--color-secondary) 40%, transparent);
}
.inst-hero__featured-title {
- font-family: var(--font-heading, inherit);
- font-size: clamp(1.6rem, 4.2vw, 2.6rem);
+ font-family: var(--font-display, var(--font-heading, inherit));
+ font-size: clamp(1.7rem, 4.4vw, 2.75rem);
font-weight: 800;
- line-height: 1.15;
- letter-spacing: -0.02em;
+ line-height: 1.12;
+ letter-spacing: -0.025em;
margin: 0;
}
@@ -250,16 +248,15 @@ const secondary = rest.slice(0, 4);
.inst-hero__card {
display: flex;
flex-direction: column;
- background: var(--color-bg-card);
- border: 1px solid var(--color-border);
- border-radius: var(--inst-radius-lg, 8px);
+ background: transparent;
+ border: none;
+ border-radius: 0;
overflow: hidden;
- transition: box-shadow 0.2s ease, transform 0.2s ease;
+ transition: opacity 0.2s ease;
}
.inst-hero__card:hover {
- box-shadow: var(--shadow-md);
- transform: translateY(-2px);
+ opacity: 0.92;
}
.inst-hero__card-media {
@@ -268,7 +265,7 @@ const secondary = rest.slice(0, 4);
.inst-hero__card-img {
width: 100%;
- aspect-ratio: 16 / 9;
+ aspect-ratio: 3 / 2;
object-fit: cover;
display: block;
}
@@ -278,7 +275,7 @@ const secondary = rest.slice(0, 4);
}
.inst-hero__card-body {
- padding: var(--space-4);
+ padding: var(--space-3) 0 0;
display: flex;
flex-direction: column;
gap: var(--space-2);
@@ -286,11 +283,11 @@ const secondary = rest.slice(0, 4);
}
.inst-hero__card-title {
- font-family: var(--font-heading, inherit);
+ font-family: var(--font-display, var(--font-heading, inherit));
font-size: var(--text-base);
font-weight: 700;
line-height: 1.3;
- letter-spacing: -0.01em;
+ letter-spacing: -0.015em;
margin: 0;
flex: 1;
}
diff --git a/frontend/src/themes/institutional/theme.css b/frontend/src/themes/institutional/theme.css
index e3fff33..04577df 100644
--- a/frontend/src/themes/institutional/theme.css
+++ b/frontend/src/themes/institutional/theme.css
@@ -1,13 +1,13 @@
/**
* Institutional theme — token overrides
*
- * Typography strategy (BIT-626):
- * Headings → condensed sans-serif stack for authority and density
- * Body/UI → clean sans-serif for readability
+ * Typography (BIT-26753 editorial refresh):
+ * Headings → condensed/system display sans + serif accent (no Inter/CDN)
+ * Body/UI → system UI sans for readability
* Articles → serif (inherited from global.css .article-body)
*
- * Inspired by professional sports portals (eurohandball.com pattern):
- * bold sans headings, generous weight contrast, navy palette.
+ * Inspired by professional sports portals:
+ * bold weight contrast, navy palette, photo-forward cards.
*/
:root {
--color-primary: #1a3a5c;
@@ -15,15 +15,15 @@
--color-secondary: #4a6fa5;
--color-accent: #f5f5f5;
- /* Typography — sans-serif for headings + body */
- --font-heading: 'Inter', 'SF Pro Display', -apple-system, BlinkMacSystemFont,
- 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
- --font-body: 'Inter', 'SF Pro Text', -apple-system, BlinkMacSystemFont,
- 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
+ /* Typography — local stacks only (no external font CDN) */
+ --font-heading: 'Avenir Next Condensed', 'Segoe UI Semibold', 'Helvetica Neue',
+ Arial Narrow, Arial, sans-serif;
+ --font-body: 'Segoe UI', 'Helvetica Neue', system-ui, -apple-system, sans-serif;
+ --font-display: Georgia, 'Iowan Old Style', 'Palatino Linotype', Palatino, serif;
/* Institutional surfaces */
--inst-surface-muted: #eef2f7;
- --inst-radius-lg: 8px;
+ --inst-radius-lg: 2px;
--inst-shadow-feature: 0 12px 40px rgba(26, 58, 92, 0.12);
/* Section titles — heavier underline accent */
@@ -47,5 +47,5 @@ body {
h1, h2, h3, h4, h5, h6 {
font-family: var(--font-heading);
font-weight: 700;
- letter-spacing: -0.01em;
+ letter-spacing: -0.02em;
}
diff --git a/frontend/src/themes/sports/ArticleCard.astro b/frontend/src/themes/sports/ArticleCard.astro
index 1c62c1f..5e8ae55 100644
--- a/frontend/src/themes/sports/ArticleCard.astro
+++ b/frontend/src/themes/sports/ArticleCard.astro
@@ -33,13 +33,10 @@ const is_small = size === 'sm';
)}
- {article.is_featured && (
-
Featured
- )}
-
+
{article.category.name}
@@ -152,11 +149,15 @@ const is_small = size === 'sm';
.article-card__category {
align-self: flex-start;
- font-size: 0.65rem;
+ font-size: 0.7rem;
+ font-weight: 700;
+ letter-spacing: 0.05em;
+ text-transform: uppercase;
text-decoration: none;
- transition: opacity var(--transition-fast);
+ color: var(--color-secondary);
+ transition: color var(--transition-fast);
}
- .article-card__category:hover { opacity: 0.8; }
+ .article-card__category:hover { color: var(--color-primary); }
.article-card__title {
font-size: var(--text-base);
diff --git a/frontend/src/types/index.ts b/frontend/src/types/index.ts
index c30ae33..9b57f8a 100644
--- a/frontend/src/types/index.ts
+++ b/frontend/src/types/index.ts
@@ -28,7 +28,7 @@ export interface DomainConfig {
timezone: string;
ads_enabled: boolean;
analytics_id: string | null;
- /** When true, show login/register in chrome and expose /entrar + /registar → WordPress. */
+ /** When true, show login/register in chrome and expose branded /entrar + /registar. */
auth_links?: boolean;
/** Homepage includes FPA fixture feed (bridge proxies ws.fpa.pt). */
fpa_agenda_enabled?: boolean;