.hero {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 760px;
    margin: clamp(1.5rem, 4vw, 2.5rem) auto;
    padding: clamp(1.25rem, 3vw, 2rem) 1.5rem;
    background-color: #ffffff;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    gap: clamp(1rem, 3vw, 2rem);
}

.hero-content {
    text-align: left;
    flex: 1 1 16rem;
}

.hero-title {
    font-size: clamp(1.4rem, 3.2vw, 1.9rem);
    font-weight: bold;
    margin-bottom: 0.75rem;
}

.subheader-top {
    font-size: clamp(1rem, 2vw, 1.2rem);
    font-weight: 300;
    color: #555555;
    line-height: 1.6;
    margin: 0.5rem 0 0.5rem 0;
}

.subheader-bottom {
    font-size: clamp(0.9rem, 1.6vw, 1rem);
    font-weight: 300;
    color: #555555;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.flag-icon {
    width: 1.2em;
    height: auto;
    vertical-align: middle;
    margin-left: 0.5rem;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.thesis-header {
    display: flex;
    justify-content: space-between; /* Pushes text to left, button to right */
    align-items: center;            /* Keeps them perfectly leveled vertically */
    width: 100%;
}

/* Your specific stylings remain untouched */
.thesis-header p {

    
    color: #414141;
    margin: 0; /* Removes default paragraph spacing that might break alignment */
}

.actions-thesis-download {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.button {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1.1rem;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    border-radius: 5px;
    border: 1px solid #d3d3d3;
    font-weight: bold;
    font-size: 0.9rem;
    gap: 0.5rem;
    transition: background-color 0.3s, border-color 0.3s;
}

.button:hover {
    background-color: #f5f5f5;
    border-color: #a9a9a9;
}

.icon-inline {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease;
}

.button:hover .icon-inline {
    transform: scale(1.1);
}

.icons {
    display: flex;
    gap: 1rem;
}

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.icon img {
    width: 22px;
    height: 22px;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.icon:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

.profile-image {
    width: clamp(8rem, 26vw, 11rem);
    aspect-ratio: 17 / 21;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}