.homeblog-section {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
color: #111827;
-webkit-font-smoothing: antialiased;
box-sizing: border-box;
margin: 0;
padding: 0;
width: 100%;
max-width: 1240px;
margin: 0 auto;
}

/* Header */
.homeblog-header {
text-align: center;
max-width: 780px;
margin: 0 auto 48px;
}

.homeblog-main-title {
font-size: clamp(2rem, 3.5vw, 2.75rem);
font-weight: 800;
color: #132448;
line-height: 1.18;
letter-spacing: -0.025em;
margin-bottom: 14px;
}

.homeblog-subtitle {
font-size: 1.05rem;
color: #64748b;
font-weight: 400;
line-height: 1.5;
}

/* Grid Layout */
.homeblog-grid {
display: grid;
grid-template-columns: 1.15fr 1fr 1fr;
grid-template-rows: repeat(2, 280px);
gap: 22px;
margin-bottom: 44px;
}

/* Shared Card Styles */
.homeblog-card {
position: relative;
border-radius: 22px;
overflow: hidden;
display: flex;
flex-direction: column;
justify-content: space-between;
padding: 24px;
text-decoration: none;
color: #ffffff;
isolation: isolate;
transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.homeblog-card:hover {
transform: translateY(-3px);
box-shadow: 0 16px 32px rgba(15, 23, 42, 0.15);
}

.homeblog-card-img {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
object-fit: cover;
z-index: -2;
transition: transform 0.4s ease;
}

.homeblog-card:hover .homeblog-card-img {
transform: scale(1.04);
}

.homeblog-card-overlay {
position: absolute;
inset: 0;
z-index: -1;
background: linear-gradient(
180deg,
rgba(10, 20, 40, 0.25) 0%,
rgba(10, 20, 40, 0.5) 45%,
rgba(6, 14, 30, 0.92) 100%
);
}

/* Badges */
.homeblog-badge {
align-self: flex-start;
display: inline-block;
padding: 5px 10px;
font-size: 0.68rem;
font-weight: 800;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #ffffff;
background-color: #e52920;
border-radius: 6px;
line-height: 1;
}

/* Featured Large Card (Left) */
.homeblog-card-featured {
grid-column: 1;
grid-row: 1 / span 2;
padding: 32px 30px;
justify-content: flex-start;
}

.homeblog-card-featured .homeblog-card-overlay {
background: linear-gradient(
180deg,
rgba(10, 25, 55, 0.4) 0%,
rgba(10, 25, 55, 0.7) 40%,
rgba(6, 17, 40, 0.96) 95%
);
}

.homeblog-featured-top {
margin-bottom: 22px;
}

.homeblog-featured-title {
font-size: clamp(1.45rem, 2.2vw, 1.85rem);
font-weight: 700;
line-height: 1.25;
letter-spacing: -0.015em;
color: #ffffff;
max-width: 95%;
}

/* Giant Clock Graphic */
.homeblog-clock-container {
position: absolute;
bottom: -15px;
left: 15px;
width: 250px;
height: 250px;
pointer-events: none;
opacity: 0.45;
}

.homeblog-clock-svg {
width: 100%;
height: 100%;
}

.homeblog-featured-meta {
position: absolute;
bottom: 30px;
right: 30px;
text-align: right;
font-size: 0.85rem;
color: #cbd5e1;
font-weight: 500;
line-height: 1.4;
}

.homeblog-featured-meta-editor {
color: #94a3b8;
}

/* Regular Small Cards */
.homeblog-card-bottom {
margin-top: auto;
}

.homeblog-card-title {
font-size: 1.08rem;
font-weight: 700;
line-height: 1.35;
color: #ffffff;
margin-bottom: 8px;
letter-spacing: -0.01em;
}

.homeblog-card-meta {
font-size: 0.8rem;
color: #94a3b8;
font-weight: 500;
}

/* Special Overlays on small cards */
.homeblog-chart-overlay {
position: absolute;
top: 12px;
right: 14px;
text-align: right;
opacity: 0.75;
pointer-events: none;
}

.homeblog-chart-title {
font-size: 0.45rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #e2e8f0;
margin-bottom: 2px;
}

.homeblog-project-header {
position: absolute;
top: 16px;
left: 0;
right: 0;
text-align: center;
pointer-events: none;
}

.homeblog-project-title {
font-size: 1.25rem;
font-weight: 800;
letter-spacing: 0.06em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.9);
line-height: 1.1;
}

.homeblog-project-subtitle {
font-size: 0.65rem;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: rgba(255, 255, 255, 0.6);
}

/* Bottom Button */
.homeblog-footer {
display: flex;
justify-content: center;
}

.homeblog-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 13px 28px;
border-radius: 9999px;
border: 1.5px solid #132448;
background-color: transparent;
color: #132448;
font-size: 0.95rem;
font-weight: 600;
text-decoration: none;
transition: all 0.2s ease;
}

.homeblog-btn:hover {
background-color: #132448;
color: #ffffff;
}

.homeblog-btn-arrow {
width: 16px;
height: 16px;
stroke-width: 2.2;
stroke: currentColor;
fill: none;
transition: transform 0.2s ease;
}

.homeblog-btn:hover .homeblog-btn-arrow {
transform: translateX(3px);
}

/* Responsive */
@media (max-width: 1024px) {
.homeblog-grid {
grid-template-columns: 1fr 1fr;
grid-template-rows: auto;
}
.homeblog-card-featured {
grid-column: 1 / span 2;
min-height: 380px;
}
.homeblog-card {
min-height: 270px;
}
}

@media (max-width: 680px) {
.homeblog-section {
padding: 40px 16px 60px;
}
.homeblog-grid {
grid-template-columns: 1fr;
}
.homeblog-card-featured {
grid-column: 1;
min-height: 350px;
}
.homeblog-clock-container {
width: 190px;
height: 190px;
}
}