body.tph-story-browse {
--story-paper: #fcfaf5;
--story-ink: #172237;
--story-muted: #4b5160;
--story-line: #d6cfc2;
--story-accent: #1848cd;
--story-tint: #edf2ff;
--story-tag: #173a9b;
}
body.tph-story-browse :is(.article-card.hub-behaviour, .tph-gl-section--behaviour) {
--story-accent: #f26860;
--story-tint: #fce7e4;
--story-tag: #842c25;
}
body.tph-story-browse :is(.article-card.hub-grooming, .tph-gl-section--grooming) {
--story-accent: #f7c63d;
--story-tint: #fbefc9;
--story-tag: #614708;
}
body.tph-story-browse :is(.article-card.hub-living, .tph-gl-section--living) {
--story-accent: #087769;
--story-tint: #e0f2ec;
--story-tag: #075a50;
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-grid,
body.tph-story-browse #tph-guide-library .tph-gl-guide-grid {
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: clamp(28px, 4vw, 48px) clamp(18px, 3vw, 37px);
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-card,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card {
min-width: 0;
padding: 0;
overflow: visible;
border: 0;
border-bottom: 1px solid var(--story-line);
border-radius: 0;
background: transparent;
box-shadow: none;
transform: none;
transition: none;
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-card-link,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__link {
display: flex;
flex-direction: column;
align-items: stretch;
gap: 0;
min-height: 44px;
height: 100%;
text-decoration: none;
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-image,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__media {
display: block;
flex: 0 0 auto;
width: 100%;
height: auto;
min-height: 0;
aspect-ratio: 3 / 2;
overflow: hidden;
border: 0;
border-radius: 0;
background: var(--story-tint);
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-image img,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__media img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
transform: none;
transition: none;
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-card .card-body,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__body {
display: flex;
flex: 1;
flex-direction: column;
min-width: 0;
padding: clamp(14px, 2vw, 22px) 0 17px;
border-top: 4px solid var(--story-accent);
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-card :is(.tph-story-card-topic, .meta),
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__category {
display: inline-block;
align-self: flex-start;
margin: 0 0 10px;
padding: 3px 7px;
background: var(--story-tint);
color: var(--story-tag);
font: 800 .75rem/1.4 system-ui, sans-serif;
letter-spacing: .045em;
text-transform: uppercase;
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-card .card-body h3,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__title {
margin: 0 0 9px;
color: var(--story-ink);
font: 700 clamp(1.3rem, 2.2vw, 1.84rem)/1.14 Georgia, "Times New Roman", serif;
letter-spacing: -.028em;
overflow-wrap: anywhere;
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-card .card-body p,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__excerpt {
margin: 0 0 12px;
color: var(--story-muted);
font-size: .96rem;
line-height: 1.55;
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-card .card-link,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__action {
margin-top: auto;
padding: 0;
border: 0;
color: var(--story-tag);
font-size: .82rem;
font-weight: 800;
}
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__action { justify-content: flex-start; }
body.tph-story-browse.tph-editorial-browse .page-shell .article-card-link:hover h3,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__link:hover .tph-gl-guide-card__title {
text-decoration: underline;
text-decoration-thickness: .07em;
text-underline-offset: .14em;
}
body.tph-story-browse.tph-editorial-browse .page-shell .article-card-link:focus-visible,
body.tph-story-browse #tph-guide-library .tph-gl-guide-card__link:focus-visible {
outline: 3px solid var(--story-ink);
outline-offset: 4px;
} body.tph-story-browse #tph-guide-library .tph-gl-topic-card { position: relative; }
body.tph-story-browse #tph-guide-library .tph-gl-topic-card > img.tph-gl-topic-photo {
position: absolute;
inset: 0 auto auto 0;
visibility: hidden;
clip-path: inset(50%);
pointer-events: none;
}
body.tph-story-browse #tph-guide-library .tph-gl-topic-card__foot {
border-color: currentColor;
}
@media (max-width: 920px) {
body.tph-story-browse.tph-editorial-browse .page-shell .article-grid,
body.tph-story-browse #tph-guide-library .tph-gl-guide-grid {
grid-template-columns: repeat(2, minmax(0, 1fr));
}
}
@media (max-width: 600px) {
body.tph-story-browse.tph-editorial-browse .page-shell .article-grid,
body.tph-story-browse #tph-guide-library .tph-gl-guide-grid {
grid-template-columns: minmax(0, 1fr);
}
}
@media (max-width: 350px) {
body.tph-story-browse #tph-guide-library .tph-gl-topic-grid { grid-template-columns: minmax(0, 1fr); }
} @media (max-width: 700px) {
body.tph-story-browse .page-intro .page-intro-grid {
grid-template-columns: minmax(0, 1fr);
}
body.tph-story-browse .page-intro .page-visual {
width: 100%;
min-width: 0;
min-height: 0;
}
}