Ads

60
550
220


https://skiper-ui.com/v1/skiper24

https://skiper-ui.com/components



    /* 1. IMPORT GEIST FROM GOOGLE FONTS */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&display=swap');

/* 2. THE UNIVERSAL OVERRIDE (Safely Applied) */
/* Targets structural and text elements without breaking icon fonts or pseudo-elements */
html, body, div, p, a, li, input, button, textarea, select {
    font-family: 'Geist', sans-serif !important;
}

/* If you absolutely must target spans or generic elements, use :not() to exclude common icon classes */
span:not([class*="icon"]):not(.fa):not(.fas):not(.fab):not(.far):not(.dashicons) {
    font-family: 'Geist', sans-serif !important;
}

/* 3. REFINING THE HEADINGS (Maintaining your Luxury Scaling) */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Geist', sans-serif !important;
    text-transform: none !important;
    line-height: 1.2 !important;
    margin-bottom: 1.5rem !important;
    font-weight: 700 !important; /* Bold for headers */
}

/* 4. PROPORTIONAL SCALING */
h1 { 
    font-size: clamp(2.5rem, 5vw, 4.5rem) !important; 
    letter-spacing: -0.03em !important; /* Tighter look for Geist */
}

h2 { 
    font-size: clamp(2rem, 4vw, 3.2rem) !important; 
    letter-spacing: -0.02em !important;
}

h3 { 
    font-size: clamp(1.5rem, 3vw, 2.2rem) !important; 
    font-weight: 600 !important;
}

h4 { 
    font-size: 1.2rem !important; 
    text-transform: uppercase !important; 
    letter-spacing: 0.15em !important; /* Keeping that "Designer" spacing */
}

/* 5. BODY TEXT REFINEMENT */
body, p {
    font-size: 1.1rem !important;
    line-height: 1.8 !important;
    font-weight: 400 !important;
}

/* 1. THE GRID: Force 4 equal columns and 100% width */
ul.wp-block-latest-posts {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 20px !important;
    padding: 0 !important;
    margin: 30px 0 !important;
    list-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* 2. THE CARD: Force width and portrait shape */
ul.wp-block-latest-posts li {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    width: 100% !important; /* Forces card to fill the grid column */
    min-height: 550px !important; /* Sets the height */
    padding: 30px 24px !important;
    margin: 0 !important;
    border-radius: 24px !important;
    overflow: hidden !important;
    background-color: #111 !important;
    box-sizing: border-box !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}

/* 3. THE IMAGE: Forced Background Coverage */
ul.wp-block-latest-posts li .wp-block-latest-posts__featured-image,
ul.wp-block-latest-posts li .wp-block-latest-posts__featured-image a,
ul.wp-block-latest-posts li img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    z-index: 0 !important;
    object-fit: cover !important;
    object-position: center !important;
    max-width: none !important;
    max-height: none !important;
    transition: transform 0.6s ease !important;
}

/* 4. THE GRADIENT OVERLAY */
ul.wp-block-latest-posts li::after {
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0) 100%) !important;
    z-index: 1 !important;
    pointer-events: none !important;
}

/* 5. THE TEXT: Prevent vertical stacking */
ul.wp-block-latest-posts li > a:not(.wp-block-latest-posts__featured-image),
ul.wp-block-latest-posts li div,
ul.wp-block-latest-posts li time {
    position: relative !important;
    z-index: 2 !important;
    color: #ffffff !important;
    text-decoration: none !important;
    display: block !important;
    width: 100% !important;
    /* CRITICAL: Stops the letter-by-letter stacking */
    word-break: normal !important; 
    overflow-wrap: break-word !important;
    white-space: normal !important; 
}

/* Title Styling */
ul.wp-block-latest-posts li > a:not(.wp-block-latest-posts__featured-image) {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    line-height: 1.3 !important;
    margin-bottom: 12px !important;
}

/* Date Styling */
ul.wp-block-latest-posts li .wp-block-latest-posts__post-date {
    font-size: 0.85rem !important;
    opacity: 0.8 !important;
}

/* INTERACTION: Hover Effects */
ul.wp-block-latest-posts li:hover {
    transform: translateY(-8px) !important;
}
ul.wp-block-latest-posts li:hover img {
    transform: scale(1.1) !important;
}

/* RESPONSIVE: Tablet & Mobile */
@media (max-width: 1024px) {
    ul.wp-block-latest-posts { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
    ul.wp-block-latest-posts { grid-template-columns: 1fr !important; }
    ul.wp-block-latest-posts li { min-height: 450px !important; }
}