@charset "utf-8";

/* Interview Archive Page Styles */

/* Card Grid Layout */
.interview-card-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    margin-top: 30px;
}
.interview-card-list::after {
    display: block;
	content: '';
	width: 32%;
}
.interview-card {
    width: 31%; /* 3 columns with gap */
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid #e0e0e0;
    /* Sharp corners as requested */
    border-radius: 0; 
    overflow: hidden;
    position: relative;
	margin-bottom: 20px;
}

@media (max-width: 768px) {
    .interview-card {
        width: 48%;
    }
}

@media (max-width: 480px) {
    .interview-card {
        width: 100%;
    }
}

.interview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.interview-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Thumbnail Section */
.interview-card__thumb {
    position: relative;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    overflow: hidden;
}

.interview-card__thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.interview-card:hover .interview-card__thumb img {
    transform: scale(1.05);
}

/* Tag Styling */
.interview-card__tag {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 5px 10px;
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    z-index: 10;
    /* Sharp corners for tag too */
    border-radius: 0; 
}

/* Course Colors */
.tag-emc { background-color: #00693d; }
.tag-pbl { background-color: #e66f01; }
.tag-ebl { background-color: #4a82bf; }
.tag-taryu { background-color: #973538; }
.tag-liberalarts { background-color: #6ba433; }
.tag-senryakujinji { background-color: #dc8182; }
.tag-jinjikenkyu { background-color: #6169a4; }
.tag-coach { background-color: #000066; } /* Defaulting to main color or similar */

/* Content Section */
.interview-card__content {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.interview-card__title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
	margin-top: 0!important;
    margin-bottom: 15px;
	border-bottom: none!important;
    color: #333;
    min-height: 3em; /* Ensure alignment */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.interview-card__meta {
    font-size: 12px;
    color: #666;
    margin-top: auto;
}

.interview-card__company {
    font-weight: bold;
    margin-bottom: 2px;
}

.interview-card__position {
    margin-bottom: 5px;
    line-height: 1.3;
}

.interview-card__name {
    font-size: 14px;
    font-weight: bold;
    color: #000066; /* Main color */
    text-align: right;
}

/* Horizontal List Layout - Photo Left, Content Right */
.interview-list-horizontal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.interview-list-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.interview-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.interview-list-item a {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    align-items: stretch;
}

/* Photo Section - Left Side */
.interview-list-item__photo {
    flex: 0 0 260px;
    width: 260px;
    min-height: 180px;
    overflow: hidden;
    position: relative;
}

.interview-list-item__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.interview-list-item:hover .interview-list-item__photo img {
    transform: scale(1.05);
}

/* Content Section - Right Side */
.interview-list-item__content {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

/* Tag Styling */
.interview-list-item__tag {
    display: inline-block;
    padding: 4px 10px;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 12px;
    border-radius: 0;
    width: auto;
    align-self: flex-start;
}

/* Title */
.interview-list-item__title {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.5;
    margin-top: 0 !important;
    margin-bottom: 15px;
    border-bottom: none !important;
    color: #333;
}

.interview-list-item__name {
    font-size: 30px;
    font-weight: bold;
    font-family: "游明朝", "Yu Mincho", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", serif;
    color: #000;
    margin-bottom: 15px;
    line-height: 1.4;
}

/* Meta Information */
.interview-list-item__meta {
    font-size: 13px;
    color: #666;
    margin-top: auto;
}

.interview-list-item__company {
    font-weight: bold;
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Tag Colors for List Items */
.interview-list-item__tag.tag-emc { background-color: #00693d; }
.interview-list-item__tag.tag-pbl { background-color: #e66f01; }
.interview-list-item__tag.tag-ebl { background-color: #4a82bf; }
.interview-list-item__tag.tag-taryu { background-color: #973538; }
.interview-list-item__tag.tag-liberalarts { background-color: #6ba433; }
.interview-list-item__tag.tag-senryakujinji { background-color: #dc8182; }
.interview-list-item__tag.tag-jinjikenkyu { background-color: #6169a4; }
.interview-list-item__tag.tag-coach { background-color: #000066; }

/* Responsive Design */
@media (max-width: 768px) {
    .interview-list-item a {
        flex-direction: column;
    }

    .interview-list-item__photo {
        flex: 0 0 auto;
        width: 100%;
        height: 250px;
    }

    .interview-list-item__content {
        padding: 20px;
    }

    .interview-list-item__title {
        font-size: 16px;
    }
}
