* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: #f4f7fb;
        }

        /* HEADER */

        header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 50px;
            background: linear-gradient(90deg, #0b2a4a, #163f6b);
            color: white;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 25px;
        }

        nav a {
            color: white;
            text-decoration: none;
            font-weight: 500;
        }

        /* TITULO */

        .titulo {
            text-align: center;
            padding: 60px 20px;
        }

        .titulo h1 {
            font-size: 40px;
            color: #0b2a4a;
        }

        /* BUSCADOR */

        .buscador {
            text-align: center;
            margin-bottom: 40px;
        }

        .buscador input {
            padding: 12px;
            width: 280px;
            border-radius: 8px;
            border: 1px solid #ccc;
        }

        /* GRID */

        .noticias-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
            padding: 40px 60px;
        }

        /* TARJETA */

        .noticia {
            background: white;
            border-radius: 14px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
            padding: 25px;
            transition: 0.4s;
        }

        .noticia:hover {
            transform: translateY(-8px);
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
        }

        .noticia h3 {
            color: #1e4f86;
            margin-bottom: 10px;
        }

        .fecha {
            font-size: 13px;
            color: #888;
            margin-bottom: 10px;
        }

        .noticia p {
            font-size: 14px;
            color: #555;
        }

        .noticia a {
            display: inline-block;
            margin-top: 15px;
            text-decoration: none;
            color: white;
            background: #1e6acb;
            padding: 8px 15px;
            border-radius: 6px;
            transition: 0.3s;
        }

        .noticia a:hover {
            background: #0b2a4a;
        }

        /* FOOTER */

        footer {
            text-align: center;
            padding: 30px;
            background: #0b2a4a;
            color: white;
            margin-top: 40px;
        }

        /* RESPONSIVE */

        @media(max-width:768px) {

            header {
                flex-direction: column;
                gap: 10px;
            }

            .noticias-container {
                padding: 20px;
            }

            .titulo h1 {
                font-size: 28px;
            }

        }