﻿/* Magazine Overview Table */
.magazine-table {
    width: 100%;
    border-collapse: collapse;
    color: #eeeeff;
    padding: 3px;
}

    .magazine-table td {
        width: 174px; /* Adjusted for 7 columns */
        height: 280px; /* Adjust height as needed */
        text-align: center;
        vertical-align: top;
        padding: 2px;
    }

/* Magazine Item */
.magazine-item {
    text-align: center;
    width: 160px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 3px;
    margin: 5px;
}

    .magazine-item:hover {
        cursor: pointer;
        opacity: 0.9; /* Slight transparency effect */
    }

/* Magazine Cover */
.magazine-cover {
    width: 160px;
    height: 220px;
    border-radius: 3px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Adds a subtle shadow */
}

/* Magazine Details */
.magazine-details h3 {
    margin: 10px 0 5px;
    font-size: 1rem;
    color: #eeeeff;
}

.magazine-details p {
    margin: 0px;
    padding: 5px 0 0 0;
    font-size: 1rem;
    color: #eeeeff;
}

.magazine-details input[type="checkbox"] {
    margin-left: 5px;
    transform: scale(1.2); /* Slightly larger checkbox */
}

/* Magazine Link Section */
.magazine-link {
    margin-top: 10px;
    text-align: center;
}

    .magazine-link img {
        width:98px; /* Adjust size for k2slogo */
        height: auto;
        display: inline-block;
        border-radius: 3px;
    }



/* Magazine Series Table */
.magazineseriestable {
    border-collapse: collapse;
    background-color: #121C35;
    color: #ffffff;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 1rem;
    margin: 2px;
}

    .magazineseriestable td {
        text-align: center; /* Center content in cells */
        vertical-align: middle;
        padding: 5px;
    }

    .magazineseriestable img {
        max-width: 180px;
        max-height: 100px;
        display: block;
        margin: auto;
        border-radius: 3px; /* Adds rounded corners */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Adds a subtle shadow */
    }

/* Publisher Section */
.publisher-section {
    text-align: center;
    margin-bottom: 20px; /* Add spacing between the logo and the table */
}

/* Publisher Logo */
.publisher-logo-cell {
    text-align: center;
    padding: 8px;
    height: 76px; /* Ensure enough height for the logo */
    background-color: #f9f9f9; /* Optional: Add a background color for distinction */
}

.publisher-logo {
    width: 600px; /* Fixed width */
    height: 60px; /* Fixed height */
    display: block;
    margin: auto;
    object-fit: contain; /* Ensures the image fits within the specified dimensions */
}

/* Magazine Detail Layout */
.magazine-container {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.magazine-detail {
    flex: none; /* Remove flex-grow behavior */
    margin-right: 8px; /* Add spacing between details and images */
}

.magazine-images {
    display: flex; /* Use flexbox to align the covers side by side */
    gap: 16px; /* Add spacing between the covers */
    justify-content: center; /* Center the images horizontally */
    align-items: flex-start; /* Align the images at the top */
}

.magazine-cover,
.magazine-alt-cover {
    flex: none; /* Prevent the images from stretching */
    max-width: 300px; /* Set a maximum width for the images */
    max-height: 400px; /* Set a maximum height for the images */
    overflow: hidden; /* Ensure content doesn't overflow */
    text-align: center; /* Center the image inside the container */
}

.magazine-cover img,
.magazine-alt-cover img {
    width: 100%; /* Make the image responsive */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 5px; /* Optional: Add rounded corners */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Optional: Add a subtle shadow */
}

.magazine-cover-detail,
.magazine-alt-cover {
    flex: none; /* Prevent the images from stretching */
    width: 240px; /* Set a maximum width for the images */
    overflow: hidden; /* Ensure content doesn't overflow */
    text-align: center; /* Center the image inside the container */
}

    .magazine-cover-detail img,
    .magazine-alt-cover img {
        width: 100%; /* Make the image responsive */
        height: auto; /* Maintain the aspect ratio */
        border-radius: 5px; /* Optional: Add rounded corners */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5); /* Optional: Add a subtle shadow */
    }

.magazine-detail, .magazine-records {
    min-width: 240px; /* Ensure enough space for details */
    margin: 4px auto;
    padding: 4px;
    border: 0px solid #ddd;
    border-radius: 2px;
}

/* Table Styling */
.table {
    width: 100%;
    border-collapse: collapse;
    margin: 4px 0;
    font-size: 1rem;
    text-align: left;
}

    .table th, .table td {
        padding: 4px;
        border: 1px solid #ddd;
    }

    .table th {
        background-color: #121C35;
        font-weight: bold;
    }

    .table tbody tr:nth-child(even) {
        background-color: #121C35;
    }
