msos/css/pages/_press.css

300 lines
8.3 KiB
CSS

/* ==========================================================================
Press / media page
Reuses the FAQ hero (.faq-page/.faq-hero/.faq-lead) and the shared design
tokens: ink #101828, muted #475467, hairline #EAECF0, teal accent #2D738C.
========================================================================== */
.press-page .faq-body {
max-width: 960px;
display: block;
}
/* Two-up intro cards: enquiries + fact sheet */
.press-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 24px;
margin-bottom: 48px;
}
.press-card {
border: 1px solid #EAECF0;
border-radius: 12px;
background: #FFFFFF;
padding: 28px;
transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.press-card:hover {
border-color: #D0DEE3;
box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}
.press-card h2 { font-size: 20px; color: #101828; margin: 0 0 10px; }
.press-card > p { color: #475467; font-size: 15px; line-height: 26px; margin: 0 0 20px; }
/* Fact sheet */
.press-facts { list-style: none; margin: 0; padding: 0; }
.press-facts li {
display: flex;
gap: 12px;
padding: 12px 0;
border-bottom: 1px solid #EAECF0;
font-size: 15px;
line-height: 22px;
}
.press-facts li:last-child { border-bottom: 0; padding-bottom: 0; }
.press-facts .k { flex: 0 0 42%; color: #475467; font-weight: 600; }
.press-facts .v { flex: 1; color: #101828; }
.press-facts a, .press-logos a, .press-note a {
color: #2D738C; font-weight: 600; text-decoration: none;
}
.press-facts a:hover, .press-logos a:hover, .press-note a:hover { text-decoration: underline; }
/* Logo download grid (inside the enquiries card) */
.press-logos { margin: 24px 0 0; border-top: 1px solid #EAECF0; padding-top: 20px; }
.press-logos h3 { font-size: 14px; color: #475467; margin: 0 0 12px; font-weight: 600; }
.logo-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
}
.logo-swatch {
display: flex;
flex-direction: column;
gap: 8px;
text-decoration: none;
border: 1px solid #EAECF0;
border-radius: 10px;
padding: 12px;
transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.logo-swatch:hover {
border-color: #D0DEE3;
box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
transform: translateY(-1px);
}
.logo-shot {
display: flex;
align-items: center;
justify-content: center;
height: 46px;
border-radius: 6px;
background: #F5FAFB;
}
.logo-shot img { max-height: 26px; width: auto; }
.logo-swatch--dark .logo-shot { background: #101828; }
.logo-cap { font-size: 12px; color: #475467; font-weight: 600; text-align: center; }
/* Section heading, matched to .faq-cat h2 */
.press-h {
font-size: 22px;
color: #101828;
margin: 0 0 8px;
padding-bottom: 10px;
border-bottom: 1px solid #EAECF0;
}
.press-web-intro { color: #475467; font-size: 15px; line-height: 24px; margin: 0 0 24px; }
.press-group-h { font-size: 15px; font-weight: 700; color: #2D738C; letter-spacing: 0.02em; margin: 24px 0 12px; }
/* Coverage list */
.press-list { list-style: none; margin: 0 0 40px; padding: 0; display: grid; gap: 12px; }
.press-list li {
border: 1px solid #EAECF0;
border-radius: 12px;
background: #FFFFFF;
padding: 18px 20px;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 8px 12px;
transition: box-shadow 0.2s ease, border-color 0.2s ease;
}
.press-list li:hover {
border-color: #D0DEE3;
box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
}
.press-list a.title { font-weight: 600; font-size: 16px; color: #101828; text-decoration: none; }
.press-list a.title:hover { color: #2D738C; }
.press-badge {
font-size: 12px;
font-weight: 600;
letter-spacing: 0.04em;
text-transform: uppercase;
color: #2D738C;
background: #EAF3F5;
border-radius: 999px;
padding: 4px 10px;
}
.press-list .host { color: #667085; font-size: 13px; }
.press-list .desc { flex-basis: 100%; margin: 6px 0 0; color: #475467; font-size: 14px; line-height: 22px; }
/* Closing note, matched to .faq-contact panel */
.press-note {
background: #F5FAFB;
border: 1px solid #EAECF0;
border-radius: 16px;
padding: 24px;
color: #475467;
font-size: 15px;
line-height: 26px;
}
/* ==========================================================================
Event press kit (link-only page): /mk/press/meet-student-slovenia-2026/
Builds on the shared press styles above; same tokens.
========================================================================== */
/* Keep the hero title on a single line; scale the font so it never overflows.
Title is ~19.8x its font-size wide; dividing the available width by 20 keeps
it on one line with a little slack, capped at the 40px base size. */
.press-kit-page .faq-hero h1 { max-width: none; }
@media (min-width: 700px) {
.press-kit-page .faq-hero h1 {
white-space: nowrap;
font-size: min(40px, calc((100vw - 48px) / 20));
}
}
/* Hero action buttons + usage line (centered under the centered hero) */
.press-kit-actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 12px;
margin: 24px 0 14px;
}
.press-kit-embargo {
max-width: 680px;
margin: 0 auto;
text-align: center;
color: #475467;
font-size: 14px;
line-height: 22px;
}
.press-kit-embargo i { color: #2D738C; margin-right: 6px; }
/* Small fact sheet reused inside the contact card */
.press-kit-page .press-logos .press-facts { margin-top: 4px; }
/* Tighter key/value columns in the press-kit fact sheets */
.press-kit-page .press-facts .k { flex: 0 0 32%; }
/* Ready-to-quote boilerplate block */
.press-story {
background: #F5FAFB;
border: 1px solid #EAECF0;
border-radius: 16px;
padding: 8px 28px 24px;
margin: 0 0 40px;
}
.press-story p {
color: #344054;
font-size: 15px;
line-height: 27px;
margin: 0 0 16px;
}
.press-story p:last-child { margin-bottom: 0; }
/* Key messages list */
.press-messages {
list-style: none;
margin: 0 0 40px;
padding: 0;
display: grid;
gap: 12px;
}
.press-messages li {
position: relative;
padding: 2px 0 0 32px;
color: #344054;
font-size: 15px;
line-height: 26px;
}
.press-messages li::before {
content: "\f00c"; /* fa-check */
font-family: "Font Awesome 6 Free";
font-weight: 900;
position: absolute;
left: 0;
top: 2px;
color: #2D738C;
font-size: 14px;
}
/* Pull-quote for the ready-made statement */
.press-quote {
margin: 0 0 16px;
padding: 20px 26px;
border-left: 4px solid #FA7850;
background: #FFF5F0;
border-radius: 0 12px 12px 0;
}
.press-quote p {
margin: 0 0 10px;
color: #101828;
font-size: 18px;
line-height: 30px;
font-style: italic;
}
.press-quote cite {
color: #667085;
font-size: 14px;
font-style: normal;
font-weight: 600;
}
/* Downloadable photo grid */
.press-photos {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 14px;
margin: 0 0 20px;
}
.photo-dl {
display: flex;
flex-direction: column;
text-decoration: none;
border: 1px solid #EAECF0;
border-radius: 12px;
overflow: hidden;
background: #FFFFFF;
transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.photo-dl:hover {
border-color: #D0DEE3;
box-shadow: 0 6px 16px rgba(16, 24, 40, 0.06);
transform: translateY(-1px);
}
.photo-shot {
display: block;
aspect-ratio: 3 / 2;
background: #F5FAFB;
overflow: hidden;
}
.photo-shot img {
width: 100%;
height: 100%;
object-fit: cover;
display: block;
}
.photo-cap {
display: flex;
align-items: center;
justify-content: space-between;
gap: 10px;
padding: 12px 14px;
}
.photo-name { color: #101828; font-size: 14px; font-weight: 600; }
.photo-cap i { color: #2D738C; font-size: 14px; }
@media (max-width: 768px) {
.press-grid { grid-template-columns: 1fr; gap: 16px; }
.press-card { padding: 22px; }
.press-facts .k { flex-basis: 48%; }
.press-photos { grid-template-columns: repeat(2, 1fr); }
.press-story { padding: 8px 20px 20px; }
.press-quote p { font-size: 16px; line-height: 27px; }
}
@media (max-width: 460px) {
.press-photos { grid-template-columns: 1fr; }
.press-kit-actions .btn { width: 100%; text-align: center; }
}