<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>DailyNews</title>
  <script src="https://cdn.tailwindcss.com"></script>
</head>

<body class="bg-white">

<!-- ================= HEADER ================= -->
<header class="bg-black text-white border-b border-gray-800 sticky top-0 z-50">
  <div class="max-w-7xl mx-auto px-4 py-3 flex items-center justify-between">

    <!-- Left: Logo + Desktop Menu -->
    <div class="flex items-center space-x-6">

      <!-- Logo -->
      <a href="index.html" class="bg-white px-2 py-1">
        <img src="images/fav-icon.svg" alt="Logo" class="h-8">
      </a>

      <!-- Desktop Navigation -->
      <nav class="hidden md:flex space-x-6 text-sm font-semibold">
        <a href="#" class="hover:text-red-500">WORLD</a>
        <a href="#" class="hover:text-red-500">U.S.</a>
        <a href="#" class="hover:text-red-500">POLITICS</a>
        <a href="#" class="hover:text-red-500">SPORTS</a>
        <a href="#" class="hover:text-red-500">ENTERTAINMENT</a>
        <a href="#" class="hover:text-red-500">BUSINESS</a>
        <a href="#" class="hover:text-red-500">SCIENCE</a>
        <a href="#" class="hover:text-red-500">TECH</a>
        <a href="#" class="hover:text-red-500">PRESS RELEASES</a>
      </nav>

    </div>

    <!-- Right Section -->
    <div class="flex items-center space-x-5">

      <!-- Sign in (desktop only) -->
      <a href="#" class="hidden md:block text-sm hover:text-gray-300">
        Sign in
      </a>

      <!-- Search Icon (desktop only) -->
      <svg xmlns="http://www.w3.org/2000/svg"
        class="hidden md:block h-5 w-5 cursor-pointer hover:text-gray-300"
        fill="none" viewBox="0 0 24 24" stroke="currentColor">
        <path stroke-linecap="round" stroke-linejoin="round"
          stroke-width="2"
          d="M21 21l-4.35-4.35M10 18a8 8 0 100-16 8 8 0 000 16z" />
      </svg>

      <!-- Donate Button (desktop only) -->
      <button class="hidden md:block bg-red-600 hover:bg-red-700 text-white text-sm font-semibold px-4 py-1 rounded">
        DONATE
      </button>

      <!-- Hamburger Button (Mobile only - Right side) -->
      <button id="menuBtn" class="md:hidden">
        <svg xmlns="http://www.w3.org/2000/svg" class="h-7 w-7"
          fill="none" viewBox="0 0 24 24" stroke="currentColor">
          <path stroke-linecap="round" stroke-linejoin="round"
            stroke-width="2"
            d="M4 6h16M4 12h16M4 18h16" />
        </svg>
      </button>

    </div>

  </div>
</header>

<!-- ================= MOBILE MENU ================= -->
<div id="mobileMenu" class="hidden md:hidden bg-black text-white border-b border-gray-800">
  <nav class="flex flex-col space-y-4 px-4 py-4 text-sm font-semibold">
    <a href="#" class="hover:text-red-500">WORLD</a>
    <a href="#" class="hover:text-red-500">U.S.</a>
    <a href="#" class="hover:text-red-500">POLITICS</a>
    <a href="#" class="hover:text-red-500">SPORTS</a>
    <a href="#" class="hover:text-red-500">ENTERTAINMENT</a>
    <a href="#" class="hover:text-red-500">BUSINESS</a>
    <a href="#" class="hover:text-red-500">SCIENCE</a>
    <a href="#" class="hover:text-red-500">TECH</a>
    <a href="#" class="hover:text-red-500">PRESS RELEASES</a>
    <hr class="border-gray-700">
    <a href="#" class="hover:text-red-500">Sign in</a>
  </nav>
</div>


<main>



<!-- ================= AUTHOR HEADER ================= -->
<section class="bg-black text-white py-8">
  <div class="max-w-7xl mx-auto px-4">

    <div class="flex flex-col md:flex-row items-start md:items-center gap-8">

      <!-- Author Image -->
      <div class="flex-shrink-0">
        <img src="images/author.webp" alt="Author" class="w-40 h-40 rounded-full object-cover">
      </div>

      <!-- Author Info -->
      <div class="flex-1">

        <!-- Name -->
        <h1 class="text-4xl md:text-5xl font-extrabold tracking-tight">STEPHEN GROVES</h1>

        <!-- Role -->
        <p class="text-lg text-gray-300 mt-2">Congressional reporter</p>

        <!-- Social Icons -->
<div class="flex items-center gap-6 mt-4">

  <!-- X / Twitter -->
  <a href="https://x.com/username" target="_blank" class="hover:opacity-80">
    <img src="images/footer-instagram.webp" alt="X" class="w-6 h-6 object-contain">
  </a>

  <!-- Email -->
  <a href="mailto:author@email.com" class="hover:opacity-80">
    <img src="images/footer-instagram.webp" alt="Email" class="w-6 h-6 object-contain">
  </a>

</div>
        <!-- Bio -->
        <p class="text-gray-300 mt-6 text-lg">
          Groves covers Congress for The Associated Press.
        </p>

      </div>

    </div>

  </div>
</section>  



<!-- ================= AUTHOR ARTICLES LIST ================= -->
<section class="bg-white py-8 md:py-10">
  <div class="max-w-4xl mx-auto px-4 sm:px-6 md:px-0">

    <!-- Article Item -->
    <article class="grid grid-cols-1 md:grid-cols-[1.6fr_1fr] gap-4 md:gap-6 items-start py-6 border-b">
      <div>
        <h2 class="text-xl md:text-2xl font-extrabold leading-tight hover:underline cursor-pointer">
          Trump raises the possibility of a ‘friendly takeover of Cuba’ coming out of talks with Havana
        </h2>

        <p class="text-gray-600 mt-2 text-sm md:text-base">
          President Donald Trump says the United States is talking with Cuba and raised the possibility of a “friendly takeover” of the island without explaining what that means.
        </p>

        <div class="text-xs text-gray-500 mt-3 flex items-center gap-4"><span>13 HOURS AGO</span><span>💬 95</span></div>
      </div>
     
      <div>
        <img src="images/img.webp" class="w-full h-48 md:h-40 object-cover rounded">
      </div>
    </article>


    <!-- Article Item -->
    <article class="grid grid-cols-1 md:grid-cols-[1.6fr_1fr] gap-4 md:gap-6 items-start py-6 border-b">
      <div>
        <h2 class="text-xl md:text-2xl font-extrabold leading-tight hover:underline cursor-pointer">
          From Cabinet secretary to doomsday president: What being the designated survivor is like
        </h2>

        <p class="text-gray-600 mt-2 text-sm md:text-base">
          The designated survivor for a president’s address to Congress starts the day as a Cabinet secretary and ends it that way, too, God willing.
        </p>

        <div class="text-xs text-gray-500 mt-3">FEBRUARY 25</div>
      </div>

      <div>
        <img src="images/img1.webp" class="w-full h-48 md:h-40 object-cover rounded">
      </div>
    </article>


    <!-- Article Item -->
    <article class="grid grid-cols-1 md:grid-cols-[1.6fr_1fr] gap-4 md:gap-6 items-start py-6 border-b">
      <div>
        <h2 class="text-xl md:text-2xl font-extrabold leading-tight hover:underline cursor-pointer">
          Trump uses longest-ever State of the Union to try to convince voters that US is ‘winning so much’
        </h2>

        <p class="text-gray-600 mt-2 text-sm md:text-base">
          The president is expected in Tuesday’s speech to proclaim the economy booming while endorsing increased military funding and tighter voter ID rules.
        </p>

        <div class="text-xs text-gray-500 mt-3 flex items-center gap-4"><span>FEBRUARY 25</span><span>💬 374</span></div>
      </div>

      <div>
        <img src="images/img2.webp" class="w-full h-48 md:h-40 object-cover rounded">
      </div>
    </article>


    <!-- Article Item -->
    <article class="grid grid-cols-1 md:grid-cols-[1.6fr_1fr] gap-4 md:gap-6 items-start py-6 border-b">
      <div>
        <h2 class="text-xl md:text-2xl font-extrabold leading-tight hover:underline cursor-pointer">
          War-hammered Gaza needs basics like homes, roads
        </h2>

        <p class="text-gray-600 mt-2 text-sm md:text-base">
          Aid groups say rebuilding basic infrastructure is critical as humanitarian needs continue to grow.
        </p>

        <div class="text-xs text-gray-500 mt-3">FEBRUARY 24</div>
      </div>

      <div>
        <img src="images/img3.webp" class="w-full h-48 md:h-40 object-cover rounded">
      </div>
    </article>

    <article class="grid grid-cols-1 md:grid-cols-[1.6fr_1fr] gap-4 md:gap-6 items-start py-6 border-b">
      <div>
        <h2 class="text-xl md:text-2xl font-extrabold leading-tight hover:underline cursor-pointer">
          War-hammered Gaza needs basics like homes, roads
        </h2>

        <p class="text-gray-600 mt-2 text-sm md:text-base">
          Aid groups say rebuilding basic infrastructure is critical as humanitarian needs continue to grow.
        </p>

        <div class="text-xs text-gray-500 mt-3">FEBRUARY 24</div>
      </div>

      <div>
        <img src="images/img.webp" class="w-full h-48 md:h-40 object-cover rounded">
      </div>
    </article>


  </div>
</section>



</main>



<!-- ================= FOOTER ================= -->
<footer class="bg-black text-white mt-12">

  <!-- Top Section -->
  <div class="max-w-7xl mx-auto px-4 md:px-6 lg:pl-0 lg:pr-56 py-10
              grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-[1.5fr_0.8fr_0.8fr]
              gap-x-6 gap-y-10">

    <!-- Column 1 -->
    <div>
      <div class="bg-white inline-block px-3 py-2 mb-4">
        <img src="images/fav-icon.svg" alt="Logo" class="h-10">
      </div>

      <h2 class="text-xl font-bold">The Associated Press</h2>
      <p class="text-gray-400 mb-4">Advancing the Power of Facts</p>

      <p class="text-sm font-semibold leading-relaxed max-w-md">
        The Associated Press is an independent global news organization dedicated
        to factual reporting. Founded in 1846, AP remains the most trusted source
        of fast, accurate, unbiased news in all formats.
      </p>
    </div>

    <!-- Column 2 -->
    <div>
      <h3 class="font-semibold mb-4">FROM AP NEWS</h3>
      <ul class="space-y-3 text-sm font-semibold">
        <li><a href="#" class="hover:text-white">About</a></li>
        <li><a href="#" class="hover:text-white">Contact Us</a></li>
        <li><a href="#" class="hover:text-white">Accessibility Statement</a></li>
        <li><a href="#" class="hover:text-white">Terms of Use</a></li>
        <li><a href="#" class="hover:text-white">Privacy Policy</a></li>
        <li><a href="#" class="hover:text-white">Your Privacy Choices</a></li>
        <li><a href="#" class="hover:text-white">Do Not Sell My Info</a></li>
        <li><a href="#" class="hover:text-white">CA Notice of Collection</a></li>
      </ul>
    </div>

    <!-- Column 3 -->
    <div>
      <h3 class="font-semibold mb-4">THE ASSOCIATED PRESS</h3>
      <ul class="space-y-3 text-sm font-semibold">
        <li><a href="#" class="hover:text-white">AP.org</a></li>
        <li><a href="#" class="hover:text-white">Careers</a></li>
        <li><a href="#" class="hover:text-white">Advertise With Us</a></li>
        <li><a href="#" class="hover:text-white">AP News Values</a></li>
        <li><a href="#" class="hover:text-white">AP’s Role in Elections</a></li>
        <li><a href="#" class="hover:text-white">AP Leads</a></li>
        <li><a href="#" class="hover:text-white">AP Stylebook</a></li>
        <li><a href="#" class="hover:text-white">Code of Conduct</a></li>
      </ul>
    </div>

  </div>


  <!-- Bottom Bar -->
  <div class="border-t border-gray-800">
    <div class="max-w-7xl mx-auto px-4 md:px-6 lg:pl-4 lg:pr-12 py-4
                flex flex-col sm:flex-row justify-between items-center
                text-sm text-gray-400">

      <p class="text-center sm:text-left">
        Copyright © 2026 The Associated Press. All Rights Reserved.
      </p>

      <!-- Social Icons -->
      <div class="flex space-x-5 mt-3 sm:mt-0">
        <a href="#" class="hover:opacity-80">
          <img src="images/footer-instagram.webp" class="h-5 w-5">
        </a>
        <a href="#" class="hover:opacity-80">
          <img src="images/footer-instagram.webp" class="h-5 w-5">
        </a>
        <a href="#" class="hover:opacity-80">
          <img src="images/footer-instagram.webp" class="h-5 w-5">
        </a>
      </div>

    </div>
  </div>

</footer>


<script src="./script.js"></script>
</body>
</html>