/* ================= HERO ================= */

.blog-hero {

    background-size: cover;
    background-position: center;
    
    padding-top: 160px;
    padding-bottom: 60px;
    
    }
    
    .blog-hero-container {
    
    max-width: 1100px;
    margin: auto;
    
    }

    .blog-hero h1 {
    
    font-size: 52px;
    margin-bottom: 20px;
    color: black;
    
    }
    
    .blog-subtitle {
    
    font-size: 20px;
    margin-bottom: 40px;
    
    }
    
    .featured-title {
    
    font-size: 61px;
    margin-bottom: 20px;
    color: black;
    
    }
    
    .featured-meta {
    
    color: #555;
    margin-bottom: 20px;
    
    }
    
    .featured-excerpt {
    
    font-size: 20px;
    max-width: 900px;
    
    }
    
    .blog-buttons {
    
    margin-top: 40px;
    display: flex;
    gap: 20px;
    
    }
    
    .blog-btn {
        display: inline-block;
        padding: 18px 36px;
    
        border-radius: 8px;
        font-weight: 600;
        font-size: 18px;
    
        text-decoration: none;
        transition: all 0.25s ease;
    
        cursor: pointer;
    }
    
    /* Primary tlačítko */
    .blog-btn.primary {
        background: #3b2f2f;
        color: white;
        box-shadow: 0 6px 14px rgba(0,0,0,0.18);
    }
    
    .blog-btn.primary:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 22px rgba(0,0,0,0.25);
    }
    
    /* Secondary tlačítko */
    .blog-btn.secondary {
        background: transparent;
        border: 2px solid #3b2f2f;
        color: #3b2f2f;
    }
    
    .blog-btn.secondary:hover {
        background: #3b2f2f;
        color: white;
        transform: translateY(-2px);
    }
    
    
    /* ================= BLOG GRID ================= */
    
    .blog-list {
    
    background: #eef6f5;
    
    padding-top: 120px;
    padding-bottom: 120px;
    
    }
    
    .blog-list-title {
    
    text-align: center;
    font-size: 44px;
    margin-bottom: 60px;
    color: black;
    
    }
    
    .blog-grid {
    
    max-width: 1100px;
    margin: auto;
    
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 35px;
    
    }
    
    
    /* ================= CARD ================= */
    
    .blog-card {
        position: relative;
        background: white;
        padding: 30px;
        border-radius: 20px;
        text-decoration: none;
        color: black;
        box-shadow: 0 15px 30px rgba(0,0,0,0.05);
        transition: all .25s ease;    
    }
    
    .blog-card:hover {
        transform: translateY(-8px);
    }
    
    .blog-card h4 {
        font-size: 22px;
        font-weight: 700;
        margin-bottom: 15px;
    }
    
    .blog-date {
        font-size: 14px;
        color: #777;
        margin-bottom: 10px;
    }
    
    .blog-card p {
        font-size: 18px;
        color: #555;
    }

    .blog-card:hover {
        transform: translateY(-8px);
        color: #128c6a;
    }
    
    
    /* ================= BUG ================= */
    
    .blog-bug {
        position: absolute;
        width: 55px;
        height: 55px;
        background: #bfe6db;
        border-radius: 50%;

        display: flex;
        align-items: center;
        justify-content: center;

        box-shadow: 0 8px 18px rgba(0,0,0,0.08);
        transition: all 0.4s ease;
    }

    .blog-bug img {
        width: 32px;
        transition: all 0.4s ease;
    }

    .bug-top-left    { top: -22px; left: 20px; }
    .bug-top-right   { top: -22px; right: 20px; }
    .bug-bottom-left { bottom: -22px; left: 20px; }
    .bug-bottom-right{ bottom: -22px; right: 20px; }

    .blog-card:hover .bug-top-left {
        transform: translate(-10px, -10px) scale(1.15);
    }

    .blog-card:hover .bug-top-right {
        transform: translate(10px, -10px) scale(1.15);
    }

    .blog-card:hover .bug-bottom-left {
        transform: translate(-10px, 10px) scale(1.15);
    }

    .blog-card:hover .bug-bottom-right {
        transform: translate(10px, 10px) scale(1.15);
    }

    .blog-card:hover .blog-bug {
        box-shadow: 0 20px 40px rgba(18,140,106,0.25);
    }

    .blog-card:hover .blog-bug img {
        transform: rotate(10deg) scale(1.1);
    }

/* ================= VERY LARGE SCREENS ================= */

@media screen and (min-width: 1800px) {

    .blog-hero h1 {
        font-size: 64px;
    }
    
    .featured-title {
        font-size: 72px;
    }
    
    .blog-subtitle {
        font-size: 22px;
    }
    
    .featured-excerpt {
        font-size: 22px;
    }
    
    .blog-grid {
        max-width: 1400px;
        grid-template-columns: repeat(3, 1fr);
        gap: 45px;
    }
    
    .blog-card {
        padding: 36px;
    }
    
    }
    
    
    /* ================= LAPTOP ================= */
    
    @media screen and (max-width: 1450px) {
    
    .blog-hero {
        padding-top: 140px;
        padding-bottom: 140px;
    }
    
    .blog-hero h1 {
        font-size: 46px;
    }
    
    .featured-title {
        font-size: 52px;
    }
    
    .blog-grid {
        max-width: 1000px;
    }
    
    .blog-card p {
        font-size: 17px;
    }
    
    }
    
    
    /* ================= SMALL LAPTOP ================= */
    
    @media screen and (max-width: 1220px) {
    
    .blog-hero {
        padding-top: 120px;
        padding-bottom: 120px;
    }
    
    .blog-hero h1 {
        font-size: 42px;
    }
    
    .featured-title {
        font-size: 48px;
    }
    
    .blog-subtitle {
        font-size: 18px;
    }
    
    .featured-excerpt {
        font-size: 18px;
    }
    
    .blog-grid {
        grid-template-columns: repeat(2,1fr);
        gap: 30px;
    }
    
    .blog-list-title {
        font-size: 38px;
    }
    
    }
    
    
    /* ================= TABLET ================= */
    
    @media screen and (max-width: 1030px) {
    
    .blog-hero {
        padding-top: 100px;
        padding-bottom: 100px;
    }
    
    .blog-hero-container {
        padding: 0 30px;
    }
    
    .blog-hero h1 {
        font-size: 38px;
    }
    
    .featured-title {
        font-size: 40px;
    }
    
    .featured-excerpt {
        font-size: 17px;
    }
    
    .blog-buttons {
        flex-wrap: wrap;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
    
    .blog-card {
        padding: 28px;
    }
    
    .blog-list-title {
        font-size: 34px;
    }
    
    }
    
    
    /* ================= MOBILE ================= */
    
    @media screen and (max-width: 768px) {
    
    .blog-hero {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .blog-hero-container {
        padding: 0 20px;
    }
    
    .blog-hero h1 {
        font-size: 32px;
    }
    
    .featured-title {
        font-size: 32px;
    }
    
    .blog-subtitle {
        font-size: 16px;
    }
    
    .featured-excerpt {
        font-size: 16px;
    }
    
    .blog-buttons {
        flex-direction: column;
        gap: 15px;
    }
    
    .blog-btn {
        width: 100%;
        text-align: center;
    }
    
    .blog-list {
        padding-top: 80px;
        padding-bottom: 80px;
    }
    
    .blog-list-title {
        font-size: 30px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .blog-card {
        padding: 24px;
    }
    
    .blog-card h4 {
        font-size: 20px;
    }
    
    .blog-card p {
        font-size: 16px;
    }
    
    .blog-bug {
        width: 45px;
        height: 45px;
    }
    
    .blog-bug img {
        width: 26px;
    }
    
    }