/*big home layout container*/
.big-container {
    max-width: 1200px; /* Equivalent to max-w-[70rem] */
    margin: 0 auto; /* Centers the container horizontally */
}

.content-wrapper {
    width: 100%;  /* Equivalent to w-full */
    height: 100%; /* Equivalent to h-full */
}

/**
* Home Page
*/

 /* Container for the whole page */
.home-container {
    width: 100%;
    margin: 0 auto;
}

/* Banner Image */
.home-banner {
    width: 100%;
}

.home-banner-image {
    width: 100%; /* Makes the image span the full width */
    height: auto; /* Ensures the image maintains its aspect ratio */
}

/* Content Section */
.home-content {
    display: flex;
    flex-direction: column; /* Stack elements vertically by default */
    gap: 30px; /* Space between sections */
    padding: 40px 20px;
}

/* On medium screens and above, switch to row layout */
@media (min-width: 768px) {
    .home-content {
        flex-direction: row; /* Switch to row for larger screens */
    }
}

/* Main Content */
.main-content {
    flex: 1;
}

/* Links */
.link {
    color: #2563eb;
    text-decoration: underline;
}

.sidebar-news-link {
    color: #2563eb;
    font-size: 0.9rem;
    text-decoration: underline;
}

/* Sidebar (News Section) */
.sidebar {
    width: 100%;
    max-width: 400px; /* Fixed width for sidebar */
    background-color: #f3f4f6; /* Light gray background */
    padding: 20px;
    border-top: 2px solid #d1d5db; /* Light gray border on top */
    border-radius: 8px; /* Rounded corners */
}

/* News Item Styling */
.sidebar-news-item {
    margin-bottom: 1.0rem;
}

.sidebar-news-date {
    color: #5481B0;
    font-size: 0.9rem;
}

/* Responsive design adjustments */
@media (max-width: 767px) {
    .sidebar {
        max-width: 95%; /* Full width for smaller screens */
    }

    .main-content {
        padding-right: 0; /* Remove right padding on small screens */
    }
}


/**
* Header
*/

/* General Header Styling */
.site-header {
    border-bottom: 2px solid #e0e0e0;
    background-color: #efefef;
    position: sticky;
    top: 0;
    z-index: 10;
    width: 100%;
}

.container-header {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: row;
    gap: 50px;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
}

.profile-link {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
}

.profile-link:hover {
    text-decoration: none;
}

.profile {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: black;
}

.logo-image {
    height: 48px;
    width: auto;
    border-radius: 10px;
}

.profile-name {
    font-size: 1.5rem;
    color: #333;
}

/* Navigation */
.site-nav {
    position: relative;
}

.nav-trigger {
    display: none;
}

.menu-icon {
    display: none;
    cursor: pointer;
}

.trigger {
    display: flex;
    gap: 30px;
}

.page-link {
    text-decoration: none;
    color: #111;
    font-size: 1rem;
}

/* Mobile Styling */

@media screen and (max-width: 600px) {
    .menu-icon {
        display: block;
        width: 36px;
        height: 36px;
    }

    .menu-icon > svg {
        fill: #333;
    }

    .site-nav .trigger {
        display: none;
        position: absolute;
        top: 50px;
        right: 15px;
        background: #fff;
        border: 1px solid #e8e8e8;
        border-radius: 5px;
        padding: 10px;
        flex-direction: column;
    }

    .nav-trigger:checked ~ .trigger {
        display: flex;
    }

    .page-link {
        margin: 10px 0;
    }
}

/**
* Footer
*/

/* Predefined CSS */
.footer {
    background-color: #333;
    color: #fff;
}

.footer-info {
    max-width: 1200px;
    margin: 10px auto;
    display: flex;
    gap: 1rem;
}

.footer-block-common {
    padding: 0px 10px;
}
.footer-block-common h3 {
    color: #00bcd4;
    font-weight: 0;
}
.footer-block-common p {
    margin-bottom: 5px;
}

.footer-block-300px {
    flex: 1 1 300px;
}

.footer-block-auto {
    flex: 1 1 auto;
}

.footer-link {
    color: #fff;
}

.footer-copyrights {
    text-align: center;
    padding: 5px 0;
    border-top: 1px solid white;
}

.footer-col-1 {
    width: calc(35% - 15px);
}

.footer-col-2 {
    width: calc(20% - 15px);
}

.footer-col-3 {
    width: calc(45% - 15px);
}

/* Media Queries for Responsiveness */
@media screen and (max-width: 800px) {
    .footer-col-1,
    .footer-col-2 {
        width: calc(50% - 15px);
    }

    .footer-col-3 {
        width: calc(100% - 15px);
    }
}

@media screen and (max-width: 600px) {
    .footer-col {
        float: none;
        width: calc(100% - 15px);
    }
}

/* Custom CSS for Tailwind replaced styles */

/* Footer container for full-width layout */
.footer-container {
    display: flex;
    justify-content: center;
}

/* Wrapper to limit content width */
.footer-content {
    display: flex;
    max-width: 70rem; /* Ensures the footer doesn't stretch too far */
    width: 100%;
    justify-content: space-between;
    padding: 0 20px;
}

/* Footer left section (address, copyright) */
.footer-left {
    width: 50%;
    font-size: 0.875rem;
}

/* Footer right section (contact info) */
.footer-right {
    width: 45%;
}

/* Styling for address text */
.footer-address {
    font-size: 0.875rem;
    color: #000;
}

.footer-address-text {
    margin-bottom: 10px;
}

/* Map link styling */
.map-link {
    display: inline-block;
    text-decoration: underline;
    color: #2563eb;
}

.map-text {
    color: #4b5563;
}

.map-icon {
    width: 12px;
    height: 12px;
    vertical-align: middle;
}

/* Copyright styling */
.footer-copy {
    font-size: 0.875rem;
    color: #828282;
}

/* Contact list styling */
.contact-list {
    font-size: 0.875rem;
    color: #000;
}

.footer-contact-follow {
    font-weight: bold;
}

/* Mobile Adjustments */
@media screen and (max-width: 600px) {
    .footer-content {
        flex-direction: column;
    }

    .footer-left,
    .footer-right {
        width: 100%;
        margin-bottom: 20px;
    }
}

/**
* Members
*/

/* General Styles for the Page */
.page-container {
    box-sizing: border-box;
    padding-top: 55px;
    padding-right: 20px;
    padding-left: 20px;
    padding-bottom: 20px;
}

/* Category Header */
.category-header {
    font-size: 1.3rem; /* text-2xl */
    font-weight: bold;
    color: #4a4a4a; /* text-gray-700 */
    border-bottom: 1px solid #a1a1a1; /* border-b */
    padding-bottom: 0.5rem; /* pb-2 */
    margin-bottom: 1.5rem; /* mb-5 */
}

/* Members List Container */
.members-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columns by default */
    gap: 1.5rem; /* gap-x-10 and gap-y-10 equivalent */
    margin-top: 0rem; /* pt-6 equivalent */
    margin-bottom: 2.5rem; /* pb-10 equivalent */
}

/* Member Card Styling */
.member-card {
    display: flex;
    flex-direction: row; /* Stack photo and info vertically */
    gap: 1.3rem; /* gap-x-4 equivalent */
    box-sizing: border-box;
}

/* Member Photo */
.member-photo {
    width: 103px;
    height: 135px;
    object-fit: cover;
    border-radius: 0.5rem; /* rounded-lg equivalent */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* shadow-xl equivalent */
}

/* Member Info Block */
.member-info {
    display: flex;
    flex-direction: column;
    gap: 2px; /* gap-y-0.5 equivalent */
    padding-top: 5px;
    flex-grow: 1; /* Ensures the info block stretches to take available space */
}

/* Member Name */
.member-name {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom:5px;
}

/* Member Role */
.member-role {
    font-size: 0.95rem;
}

/* Member Affiliation */
.member-affiliation {
    color: #696969;
    font-size: 0.90rem;
}

/* Media Queries for Responsive Design */

/* Medium screens (700px to 500px): 2 columns */
@media screen and (max-width: 768px) {
    .members-list {
        grid-template-columns: repeat(2, 1fr); /* 2 columns */
        gap: 2rem 1.5rem; /* Adjust gap for smaller screens */
    }
}

/* Small screens (less than 500px): 1 column */
@media screen and (max-width: 500px) {
    .members-list {
        grid-template-columns: 1fr; /* 1 column */
        gap: 1.5rem; /* Adjust gap for small screens */
    }
}

/**
* Publications
*/

/* Spacer equivalent for h-10 */
.spacer {
    height: 2.5rem; /* h-10 */
}

/* Publication Button Styling */
.publication-btn {
    padding: 0.5rem;
    margin-bottom: 1.5rem;
    background-color: #158CBA;
    border-radius: 0.375rem;
    text-decoration: none;
}

.publication-btn-text {
    color: white;
    display: inline-block;
}

.publication-section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

/* Year Header */
.publication-year-container {
    margin-bottom: 2rem;
}

.year-header {
    font-size: 1.3rem; /* text-2xl */
    font-weight: bold;
    color: #4a4a4a; /* text-gray-700 */
    border-bottom: 1px solid #a1a1a1; /* border-b */
    padding-bottom: 0.5rem; /* pb-2 */
    margin-bottom: 1rem; /* mb-5 */
}

/* Publication Item */
.publication-item {
    margin-left: 0.5rem; /* ml-3 */
    margin-bottom: 1rem; /* mb-5 */
}

/* Publication Title */
.publication-title {
    font-weight: bold;
    font-size: 1.1rem;
}

.publication-authors {
    font-size: 1.1rem;
}

/* Publication Details */
.publication-venue {
    font-size: 1.0rem;
    color: #414141;
    margin-bottom: 5px;
}

.publication-type {
    border: 1px solid black;
    padding: 2px 6px;
    margin-right: 0.3rem;
}

/* Publication Links */
.publication-links {
    display: flex;
    gap: 0.5rem;
}

.publication-link {
    background-color: #158CBA;
    border: none;
    color: white;
    cursor: pointer;
    align-items: center;
    padding: 3px 6px;
    font-size: 14px;
    border-radius: 15%;
    text-decoration: none;
}

.publication-link:hover {
    background-color: #0056b3; /* darken on hover */
}

/**
* News
*/

/* Section Title */
.news-section-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: #4a4a4a;
    margin-bottom: 1.5rem;
}

.news-item {
    margin-bottom: 1.3rem;
}

.news-date {
    font-size: 1.1rem;
    color: #5481B0;
    margin-bottom: 3px;
}

.news-link {
    background-color: #158CBA;
    border: none;
    color: white;
    cursor: pointer;
    align-items: center;
    padding: 4px 5px;
    font-size: 14px;
    border-radius: 15%;
    text-decoration: none;
    margin-right: 10px;
}

.news-link:hover {
    background-color: #0056b3;
}

.news-bold {
    font-size: 1.0rem;
    font-weight: 400;
}

/**
* 404
*/

.container-404 {
    color: #333;
    text-align: center;
}

.title-404 {
    color: #333;
    font-size: 5rem;
}

.emoji-404 {
    font-size: 4rem;
    margin-bottom: 2rem;
}

.message-404 {
    font-size: 1.2em;
    margin-bottom: 2rem;
}

.return-btn-404 {
    text-decoration: none;
    color: #333;
    font-weight: bold;
    border: 2px solid #333;
    padding: 10px 20px;
    border-radius: 15%;
    transition: 0.3s;
    margin-bottom: 2rem;
}
.return-btn-404:hover {
    background-color: #333;
    color: white;
}
