    /* Center the content vertically and horizontally */
    body {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
    }

    main.container {
      text-align: center;
      padding: 2rem;
    }

    /* Use Flexbox for the search container to prevent overlap */
    .search-container {
      display: flex;
      align-items: center;
      width: 100%;
      max-width: 500px;
      margin: 2rem auto 0;
    }

    /* Style the search input to take up 75% of the width */
    input[type="search"] {
      padding-left: 3rem; 
      height: 3.5rem;
      font-size: 1rem;
      flex: 3;
      border-right: none;
      border-radius: 1.5rem 0 0 1.5rem;
      margin-bottom: 0;
    }
    
    input[type="search"]:focus {
        box-shadow: 0 0 0 1px var(--pico-form-element-focus-color);
    }

    /* Style the submit button to take up 25% of the width */
    .search-button {
        height: 3.5rem;
        margin: 0;
        flex: 1;
        border-radius: 0 1.4rem 1.4rem 0;
    }

    /* --- Custom Dropdown Styles --- */
    h1 {
      /* Ensure h1 can contain positioned elements */
      position: relative;
    }
    
    .dropdown-container {
      display: inline-block;
      position: relative;
    }

    .dropdown-trigger {
      text-decoration: underline;
      cursor: pointer;
      user-select: none; /* Prevents text selection on double click */
    }

    .dropdown-menu {
      display: none; /* Hidden by default */
      position: absolute;
      top: 120%; /* Position below the trigger */
      left: 50%;
      transform: translateX(-50%);
      background-color: var(--pico-card-background-color);
      border: var(--pico-card-border-width) solid var(--pico-card-border-color);
      border-radius: var(--pico-border-radius);
      box-shadow: var(--pico-card-box-shadow);
      z-index: 10;
      width: max-content; /* Make width fit content */
      padding: 0.5rem 0;
    }

    .dropdown-menu.active {
      display: block; /* Show when active */
    }

    .dropdown-option {
      padding: 0.5rem 1.5rem;
      cursor: pointer;
      text-align: center;
      background-color: transparent;
      border: none;
      width: 100%;
      font-size: 1rem;
    }

    .dropdown-option:hover {
      background-color: var(--pico-muted-background-color);
    }