/* ============= CITY OF DOLLS – BLOG HERO GRID ============= */
/* Target: Blog module with class "cod-blog-hero" */
.cod-blog-hero .et_pb_ajax_pagination_container {
max-width: 1800px;
margin: 0 auto 2.5rem;
display: grid;
grid-template-columns: 2fr 1.15fr 1.15fr;
grid-template-rows: 260px 260px;
grid-template-areas:
"feat side side"
"feat small1 small2";
gap: 1.5rem;
}
/* Make each post a card */
.cod-blog-hero .et_pb_post {
position: relative;
background: #050505;
border-radius: 26px;
overflow: hidden;
border: 2px solid rgba(255, 92, 31, 0.35);
box-shadow: 0 0 0 1px rgba(255, 92, 31, 0.18);
transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.cod-blog-hero .et_pb_post:hover {
transform: translateY(-6px);
box-shadow: 0 26px 65px rgba(0, 0, 0, 0.85);
border-color: #ff5c1f;
}
/* Grid placement: 4 panels (1 big feature, 1 medium, 2 small) */
.cod-blog-hero .et_pb_post:nth-child(1) { grid-area: feat; }
.cod-blog-hero .et_pb_post:nth-child(2) { grid-area: side; }
.cod-blog-hero .et_pb_post:nth-child(3) { grid-area: small1; }
.cod-blog-hero .et_pb_post:nth-child(4) { grid-area: small2; }
/* Featured (big) card tweaks */
.cod-blog-hero .et_pb_post:nth-child(1) {
min-height: 100%;
}
/* Image behavior */
.cod-blog-hero .et_pb_post .entry-featured-image-url {
display: block;
height: 100%;
}
.cod-blog-hero .et_pb_post .entry-featured-image-url img {
width: 100%;
height: 100%;
object-fit: cover;
filter: saturate(1.05);
transition: transform 0.3s ease, filter 0.3s ease;
}
.cod-blog-hero .et_pb_post:hover .entry-featured-image-url img {
transform: scale(1.05);
filter: saturate(1.2);
}
/* Content overlay inside card */
.cod-blog-hero .et_pb_post .entry-title,
.cod-blog-hero .et_pb_post .post-meta,
.cod-blog-hero .et_pb_post .post-content {
position: relative;
z-index: 2;
}
/* Dark gradient overlay at bottom for text readability */
.cod-blog-hero .et_pb_post::before {
content: "";
position: absolute;
inset: 0;
background: linear-gradient(
to top,
rgba(0, 0, 0, 0.9) 0%,
rgba(0, 0, 0, 0.55) 40%,
transparent 100%
);
z-index: 1;
}
/* Inner padding & layout for text */
.cod-blog-hero .et_pb_post .post-content,
.cod-blog-hero .et_pb_post .post-meta,
.cod-blog-hero .et_pb_post .entry-title {
padding-left: 1.4rem;
padding-right: 1.4rem;
}
.cod-blog-hero .et_pb_post .entry-title {
font-family: "Bayon", var(--body-font, sans-serif);
font-size: 1.6rem;
line-height: 1.1;
letter-spacing: 0.04em;
text-transform: uppercase;
color: #ffffff;
margin-top: auto;
margin-bottom: 0.25rem;
}
/* Meta (date / category) */
.cod-blog-hero .et_pb_post .post-meta {
font-size: 0.78rem;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.7);
}
/* Excerpt */
.cod-blog-hero .et_pb_post .post-content {
font-size: 0.85rem;
line-height: 1.4;
color: rgba(255, 255, 255, 0.9);
padding-bottom: 1.3rem;
}
/* "Read more" as a pill link */
.cod-blog-hero .et_pb_post .more-link {
display: inline-flex;
align-items: center;
justify-content: center;
margin: 0.75rem 1.4rem 1.4rem;
padding: 0.45rem 1.35rem;
border-radius: 999px;
background: #ff5c1f;
color: #ffffff !important;
font-size: 0.8rem;
text-transform: uppercase;
letter-spacing: 0.16em;
border: none;
box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.25);
transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.cod-blog-hero .et_pb_post .more-link:hover {
background: #ff7b35;
transform: translateY(-1px);
box-shadow: 0 16px 40px rgba(0, 0, 0, 0.75);
}
/* Keep inner stack pinned to bottom of card */
.cod-blog-hero .et_pb_post {
display: flex;
flex-direction: column;
justify-content: flex-end;
}
/* Responsive – stack on mobile */
@media (max-width: 980px) {
.cod-blog-hero .et_pb_ajax_pagination_container {
grid-template-columns: 1fr;
grid-template-rows: auto;
grid-template-areas:
"feat"
"side"
"small1"
"small2";
}
.cod-blog-hero .et_pb_post {
min-height: 260px;
}
}