/* Basic Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f5f7; /* Light gray background - similar to Jira */
    color: #172b4d; /* Dark blue-gray text */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.header {
    background-color: #0052cc; /* Jira-like blue */
    height: 50px; /* Adjust as needed */
    width: 100%;
    flex-shrink: 0; /* Prevent header from shrinking */
}

.container {
    max-width: 850px; /* Slightly wider */
    margin: 40px auto; /* More margin top/bottom */
    padding: 30px 40px; /* More padding */
    background-color: #ffffff; /* White content background */
    border-radius: 3px;
    box-shadow: rgba(9, 30, 66, 0.25) 0px 1px 1px, rgba(9, 30, 66, 0.13) 0px 0px 1px 1px; /* Jira-like shadow */
    flex-grow: 1; /* Allow container to grow */
    width: 90%; /* Responsive width */
}

.title-section {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #dfe1e6; /* Light separator line */
}

.title-section .icon {
    font-size: 2.5em; /* Larger icon */
    margin-right: 20px;
    color: #0052cc; /* Match header blue */
}

.title-text-group h1 {
    font-size: 1.9em; /* Slightly larger heading */
    font-weight: 500;
    color: #172b4d;
    margin-bottom: 4px;
}

.title-text-group p {
    color: #5e6c84; /* Slightly lighter text for description */
    font-size: 1em;
}


.link-section h2 {
    font-size: 1.2em; /* Slightly larger section heading */
    font-weight: 600;
    color: #5e6c84; /* Medium gray */
    margin-bottom: 20px; /* More space below heading */
    padding-left: 5px; /* Slight indent */
}

.link-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #dfe1e6; /* Light border */
    border-radius: 3px;
    padding: 18px 25px; /* More padding inside cards */
    margin-bottom: 12px; /* Space between cards */
    text-decoration: none;
    color: inherit; /* Inherit text color from body */
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.link-card:hover {
    background-color: #f4f5f7; /* Slight gray on hover */
    cursor: pointer;
    border-color: #c1c7d0; /* Slightly darker border on hover */
    box-shadow: rgba(9, 30, 66, 0.15) 0px 4px 8px -2px, rgba(9, 30, 66, 0.31) 0px 0px 1px;
}

.link-text {
    /* Allow text section to take available space */
    flex-grow: 1;
    margin-right: 15px; /* Space between text and arrow */
}

.link-text h3 {
    font-size: 1.15em; /* Slightly larger card title */
    font-weight: 500;
    color: #0052cc; /* Blue link title */
    margin-bottom: 5px; /* More space below title */
}

.link-text p {
    font-size: 0.95em; /* Slightly larger description */
    color: #5e6c84; /* Medium gray */
}

.arrow {
    font-size: 1.6em;
    color: #5e6c84; /* Arrow color */
    transition: transform 0.2s ease;
    flex-shrink: 0; /* Prevent arrow from shrinking */
}

.link-card:hover .arrow {
    transform: translateX(5px); /* Move arrow slightly on hover */
    color: #0052cc; /* Change arrow color on hover */
}


footer {
    text-align: center;
    margin-top: 30px; /* Adjust as needed */
    padding: 20px;
    font-size: 0.85em;
    color: #5e6c84;
    flex-shrink: 0; /* Prevent footer from shrinking */
}

/* Basic Responsive Adjustments */
@media (max-width: 768px) {
    .container {
        margin: 20px auto;
        padding: 20px;
        width: 95%; /* Use more width on smaller screens */
    }

    .title-section {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

     .title-section .icon {
        margin-bottom: 15px;
    }

     .title-text-group h1 {
        font-size: 1.6em;
    }
     .title-text-group p {
        font-size: 0.95em;
    }

    .link-card {
        padding: 15px 20px;
    }

    .link-text h3 {
        font-size: 1.05em;
    }

    .link-text p {
        font-size: 0.9em;
    }
}

@media (max-width: 480px) {
    .title-text-group h1 {
        font-size: 1.4em;
    }
     .title-text-group p {
        font-size: 0.9em;
    }
     .link-section h2 {
        font-size: 1.1em;
     }
     .link-card {
        padding: 12px 15px;
     }
}
/* Add spacing ABOVE group headings, except the very first one */
.link-section h2 {
    margin-top: 35px; /* Adjust spacing as needed */
}

.link-section h2:first-of-type {
    margin-top: 0; /* Remove extra space above the first heading */
}
