214 lines
4.7 KiB
CSS
214 lines
4.7 KiB
CSS
.culture-hero .container {
|
|
min-height: 440px;
|
|
padding-top: 74px;
|
|
padding-bottom: 74px;
|
|
}
|
|
|
|
.hero-copy {
|
|
position: relative;
|
|
padding-left: 28px;
|
|
}
|
|
|
|
.hero-copy:before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 0;
|
|
top: 58px;
|
|
width: 4px;
|
|
height: 132px;
|
|
border-radius: 999px;
|
|
background: linear-gradient(180deg, var(--red), var(--gold));
|
|
}
|
|
|
|
.culture-stats {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 28px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.culture-stats span {
|
|
padding: 10px 14px;
|
|
border: 1px solid rgba(224, 211, 189, .78);
|
|
border-radius: 999px;
|
|
color: #6d766f;
|
|
background: rgba(255,253,248,.74);
|
|
box-shadow: 0 14px 32px rgba(72, 57, 38, .06);
|
|
font-weight: 800;
|
|
transition: transform .22s ease, color .22s ease, background .22s ease;
|
|
}
|
|
|
|
.culture-stats span:hover {
|
|
color: #fff;
|
|
background: var(--green);
|
|
transform: translateY(-3px);
|
|
}
|
|
|
|
.culture-quote {
|
|
position: relative;
|
|
min-height: 260px;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
color: #fff;
|
|
background:
|
|
linear-gradient(180deg, rgba(33,63,56,.18), rgba(33,63,56,.86)),
|
|
linear-gradient(135deg, #476f63, #c49245 50%, #c83b32);
|
|
}
|
|
|
|
.culture-quote:before {
|
|
content: "";
|
|
position: absolute;
|
|
inset: 0;
|
|
background:
|
|
linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px),
|
|
linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px);
|
|
background-size: 34px 34px;
|
|
opacity: .34;
|
|
}
|
|
|
|
.quote-moon {
|
|
position: absolute;
|
|
right: 72px;
|
|
top: 34px;
|
|
width: 92px;
|
|
height: 92px;
|
|
border-radius: 50%;
|
|
background: rgba(255,255,255,.32);
|
|
box-shadow: 0 0 34px rgba(255,255,255,.12);
|
|
animation: moonFloat 4s ease-in-out infinite;
|
|
}
|
|
|
|
.culture-quote span {
|
|
position: relative;
|
|
z-index: 2;
|
|
width: 64px;
|
|
height: 64px;
|
|
margin-bottom: 24px;
|
|
border-radius: 50%;
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--red);
|
|
background: rgba(255,255,255,.94);
|
|
font-family: "SimSun", "Songti SC", serif;
|
|
font-size: 30px;
|
|
font-weight: 800;
|
|
transition: transform .24s ease, background .24s ease;
|
|
}
|
|
|
|
.culture-quote:hover span {
|
|
transform: rotate(-8deg) scale(1.08);
|
|
}
|
|
|
|
.culture-quote p {
|
|
position: relative;
|
|
z-index: 2;
|
|
margin: 0;
|
|
color: rgba(255,255,255,.86);
|
|
font-size: 22px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.article-section {
|
|
position: relative;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.article-section:before {
|
|
content: "";
|
|
position: absolute;
|
|
left: 50%;
|
|
top: 58px;
|
|
width: 520px;
|
|
height: 180px;
|
|
border-radius: 50%;
|
|
background: radial-gradient(circle, rgba(196, 146, 69, .09), transparent 68%);
|
|
transform: translateX(-50%);
|
|
}
|
|
|
|
.article-card {
|
|
position: relative;
|
|
overflow: hidden;
|
|
border-radius: 18px;
|
|
background: #fff;
|
|
border: 1px solid var(--line);
|
|
box-shadow: 0 18px 48px rgba(57, 48, 36, .07);
|
|
transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
|
|
}
|
|
|
|
.article-card:hover {
|
|
border-color: rgba(196, 146, 69, .42);
|
|
box-shadow: 0 24px 60px rgba(57, 48, 36, .11);
|
|
}
|
|
|
|
.article-cover {
|
|
position: relative;
|
|
height: 190px;
|
|
overflow: hidden;
|
|
background:
|
|
radial-gradient(circle at 74% 28%, rgba(255,255,255,.7) 0 8%, transparent 9%),
|
|
linear-gradient(135deg, #e7c89e, #b94135 48%, #143d57);
|
|
}
|
|
|
|
.article-cover:after {
|
|
content: "";
|
|
position: absolute;
|
|
left: -42%;
|
|
top: 0;
|
|
width: 36%;
|
|
height: 100%;
|
|
background: linear-gradient(90deg, transparent, rgba(255,255,255,.34), transparent);
|
|
transform: skewX(-18deg);
|
|
transition: left .58s ease;
|
|
}
|
|
|
|
.article-card:hover .article-cover:after {
|
|
left: 112%;
|
|
}
|
|
|
|
.article-cover span {
|
|
position: absolute;
|
|
left: 22px;
|
|
bottom: 20px;
|
|
padding: 7px 12px;
|
|
border-radius: 999px;
|
|
color: var(--green-dark);
|
|
background: rgba(255,253,248,.86);
|
|
font-weight: 800;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.article-card:nth-child(2) .article-cover {
|
|
background: linear-gradient(135deg, #dfd1b5, #6b7f70 48%, #26302c);
|
|
}
|
|
|
|
.article-card:nth-child(3) .article-cover {
|
|
background: linear-gradient(135deg, #f0d8ac, #c49245 45%, #7d342d);
|
|
}
|
|
|
|
.article-body { padding: 24px; }
|
|
.article-body h3 { transition: color .22s ease; }
|
|
.article-card:hover .article-body h3 { color: var(--red); }
|
|
.article-body p { color: var(--muted); line-height: 1.75; }
|
|
.article-body span { color: #9a8f82; font-size: 14px; }
|
|
|
|
.tilt-card {
|
|
transform: perspective(900px) rotateX(var(--tilt-x, 0deg)) rotateY(var(--tilt-y, 0deg)) translateY(var(--lift, 0));
|
|
transition: transform .18s ease, box-shadow .24s ease, border-color .24s ease;
|
|
}
|
|
|
|
.tilt-card:hover {
|
|
--lift: -6px;
|
|
}
|
|
|
|
@keyframes moonFloat {
|
|
0%, 100% { transform: translateY(0) scale(1); opacity: .72; }
|
|
50% { transform: translateY(-8px) scale(1.04); opacity: .92; }
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.hero-copy { padding-left: 0; }
|
|
.hero-copy:before { display: none; }
|
|
}
|