.payment_methods li[class*=payment_method_ppcp-] label img{max-height:24px}.fw-ebooks {
--fw-navy: #0b1626;
--fw-navy-2: #101e33;
--fw-navy-3: #16263f;
--fw-gold: #c9a45c;
--fw-gold-light: #e0c285;
--fw-ink: #f4efe4;
--fw-muted: #97a6be;
--fw-line: rgba(201, 164, 92, 0.28);
--fw-shadow: 0 18px 40px rgba(4, 10, 20, 0.45);
--fw-radius: 16px;
--fw-font-display: Georgia, "Iowan Old Style", "Times New Roman", serif;
--fw-font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
background: radial-gradient(120% 140% at 15% 0%, #12213a 0%, var(--fw-navy) 55%);
border-radius: 22px;
box-sizing: border-box;
color: var(--fw-ink);
font-family: var(--fw-font-body);
margin: 0 auto;
padding: clamp(30px, 5vw, 58px);
}
.fw-ebooks *,
.fw-ebooks *::before,
.fw-ebooks *::after {
box-sizing: border-box;
} .fw-ebooks__header {
margin: 0 auto clamp(30px, 4vw, 46px);
max-width: 640px;
text-align: center;
}
.fw-ebooks__kicker {
color: var(--fw-gold);
font-size: 12px;
font-weight: 600;
letter-spacing: 0.16em;
margin: 0 0 12px;
text-transform: uppercase;
}
.fw-ebooks__heading {
color: var(--fw-ink);
font-family: var(--fw-font-display);
font-size: clamp(26px, 3.4vw, 38px);
font-weight: 400;
line-height: 1.2;
margin: 0;
}
.fw-ebooks__intro {
color: var(--fw-muted);
font-size: 16px;
line-height: 1.7;
margin: 14px 0 0;
} .fw-ebooks__grid {
display: grid;
gap: clamp(20px, 2.6vw, 30px);
grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr));
list-style: none;
margin: 0;
padding: 0;
} .fw-ebooks__card {
background: linear-gradient(180deg, var(--fw-navy-2) 0%, #0d1a2d 100%);
border: 1px solid rgba(151, 166, 190, 0.14);
border-radius: var(--fw-radius);
box-shadow: 0 10px 26px rgba(4, 10, 20, 0.35);
display: flex;
flex-direction: column;
overflow: hidden;
position: relative;
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
} .fw-ebooks__card::before {
background: linear-gradient(90deg, transparent 0%, var(--fw-gold) 22%, var(--fw-gold-light) 50%, var(--fw-gold) 78%, transparent 100%);
content: "";
height: 2px;
left: 0;
opacity: 0.85;
position: absolute;
right: 0;
top: 0;
z-index: 1;
}
.fw-ebooks__card:hover {
border-color: var(--fw-line);
box-shadow: var(--fw-shadow);
transform: translateY(-6px);
} .fw-ebooks__cover {
background: var(--fw-navy-3);
display: block;
overflow: hidden;
position: relative;
text-decoration: none;
}
.fw-ebooks__cover-img,
.fw-ebooks__cover img {
aspect-ratio: 5 / 7;
display: block;
height: auto;
object-fit: cover;
transition: transform 0.4s ease;
width: 100%;
}
.fw-ebooks__card:hover .fw-ebooks__cover-img,
.fw-ebooks__card:hover .fw-ebooks__cover img {
transform: scale(1.03);
} .fw-ebooks__cover-fallback {
align-items: center;
aspect-ratio: 5 / 7;
background:
radial-gradient(90% 70% at 50% 0%, rgba(201, 164, 92, 0.16) 0%, transparent 60%),
var(--fw-navy-3);
display: flex;
flex-direction: column;
gap: 14px;
justify-content: center;
padding: 24px;
text-align: center;
width: 100%;
}
.fw-ebooks__cover-fallback-mark {
border: 1px solid var(--fw-gold);
border-radius: 50%;
color: var(--fw-gold);
font-family: var(--fw-font-display);
font-size: 18px;
height: 52px;
line-height: 50px;
width: 52px;
}
.fw-ebooks__cover-fallback-title {
color: var(--fw-ink);
font-family: var(--fw-font-display);
font-size: 18px;
line-height: 1.35;
} .fw-ebooks__cover-hint {
align-items: center;
background: linear-gradient(0deg, rgba(6, 12, 22, 0.92) 0%, rgba(6, 12, 22, 0.55) 70%, transparent 100%);
bottom: 0;
color: var(--fw-gold-light);
display: flex;
font-size: 13px;
font-weight: 600;
gap: 8px;
justify-content: center;
left: 0;
letter-spacing: 0.04em;
opacity: 0;
padding: 26px 16px 14px;
position: absolute;
right: 0;
transform: translateY(6px);
transition: opacity 0.25s ease, transform 0.25s ease;
}
.fw-ebooks__card:hover .fw-ebooks__cover-hint,
.fw-ebooks__cover:focus-visible .fw-ebooks__cover-hint {
opacity: 1;
transform: translateY(0);
} .fw-ebooks__body {
display: flex;
flex: 1 1 auto;
flex-direction: column;
padding: 24px 26px 26px;
}
.fw-ebooks__eyebrow {
align-items: center;
color: var(--fw-gold);
display: flex;
font-size: 11px;
font-weight: 600;
gap: 10px;
letter-spacing: 0.16em;
margin: 0 0 10px;
text-transform: uppercase;
}
.fw-ebooks__eyebrow::before {
background: var(--fw-gold);
content: "";
height: 1px;
opacity: 0.7;
width: 22px;
}
.fw-ebooks__title {
color: var(--fw-ink);
font-family: var(--fw-font-display);
font-size: 22px;
font-weight: 400;
line-height: 1.3;
margin: 0 0 12px;
}
.fw-ebooks__desc {
color: var(--fw-muted);
font-size: 15px;
line-height: 1.68;
margin: 0 0 18px;
}
.fw-ebooks__meta {
border-top: 1px solid var(--fw-line);
color: var(--fw-muted);
font-size: 12.5px;
letter-spacing: 0.03em;
margin: auto 0 0;
padding-top: 14px;
} .fw-ebooks__button {
align-items: center;
background: linear-gradient(180deg, var(--fw-gold-light) 0%, var(--fw-gold) 100%);
border: 0;
border-radius: 10px;
color: #0a1422;
cursor: pointer;
display: flex;
font-family: var(--fw-font-body);
font-size: 15px;
font-weight: 600;
gap: 10px;
justify-content: center;
letter-spacing: 0.01em;
margin-top: auto;
padding: 13px 20px;
text-align: center;
text-decoration: none;
transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
width: 100%;
}
.fw-ebooks__meta + .fw-ebooks__button {
margin-top: 16px;
}
.fw-ebooks__button:hover {
box-shadow: 0 8px 20px rgba(201, 164, 92, 0.28);
color: #0a1422;
filter: brightness(1.05);
text-decoration: none;
transform: translateY(-1px);
}
.fw-ebooks__icon {
flex: 0 0 auto;
} .fw-ebooks a {
box-shadow: none;
text-decoration: none;
}
.fw-ebooks a:focus-visible {
border-radius: 6px;
outline: 2px solid var(--fw-gold);
outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
.fw-ebooks__card,
.fw-ebooks__cover-img,
.fw-ebooks__cover img,
.fw-ebooks__cover-hint,
.fw-ebooks__button {
transition: none;
}
.fw-ebooks__card:hover {
transform: none;
}
.fw-ebooks__card:hover .fw-ebooks__cover-img,
.fw-ebooks__card:hover .fw-ebooks__cover img {
transform: none;
}
} @media (max-width: 420px) {
.fw-ebooks {
border-radius: 16px;
}
.fw-ebooks__body {
padding: 20px;
}
}