.resource-list {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
}

.resource-list-item {
    padding: 40px;
    background-color: var(--bluebg);
}

.resource-list-item-img {
    width: 180px;
    height: 130px;
    overflow: hidden;
}

.resource-list-item-img img {
    width: 100%;
    height: 100%;
    object-fit: scale-down;
    transition: transform 0.6s ease; 
}
.resource-list-item-img:hover img {
    transform: scale(1.1); 
}
.resource-list-item-info {
    flex: 1;
}

.resource-list-item-title {
    font-size: 18px;
    line-height: 20px;
    margin-bottom: 10px;
}

.resource-list-item-title a {
    color: var(--black2);
}

.resource-list-item-title a:hover {
    color: var(--blue);
}

.resource-list-item-content {
    font-size: 14px;
    line-height: 20px;
    color: var(--gray2);
    margin: 10px 0;
    height: 40px;
    overflow: hidden;
}

.resource-list-item-time {
    color: var(--black2);
    font-size: 14px;
    line-height: 20px;
}
.resource-list-item-price {
    color: var(--red);
    font-size: 18px;
    line-height: 30px;
}
.resource-list-item-attr {
    color: var(--black2);
    font-size: 14px;
    line-height: 20px;
}
.resource-list-item-attr a {
    color: var(--blue);
    margin-right: 10px;
}
.resource-detail {
    flex: 1;
    border: solid 1px var(--borderColor);
}

.resource-detail-top {
    display: flex;
    gap: 20px;
    border-bottom: solid 1px var(--borderColor);
    padding: 20px;
}

.resource-detail-top-image {
    width: 400px;
    height: 300px;
}

.resource-detail-top-image img {
    width: 400px;
    height: 300px;
    object-fit: scale-down;
}

.resource-detail-top-info {
    flex: 1;
}

.resource-detail-title {
    margin-bottom: 20px 0;
    padding-bottom: 20px;
    color: var(--black2);
}

.resource-detail-title h1 {
    font-size: 24px;
    line-height: 30px;
    margin-bottom: 10px;
}

.resource-detail-title-meta {
    color: var(--gray1);
    line-height: 30px;
}

.resource-detail-title-meta-item {
    display: flex;
    gap: 10px;
}
.resource-detail-title-meta-item .label {
    width: 80px;
    text-align: justify;
    text-justify: inter-word;
    font-weight: bolder;
}

.resource-detail-title-meta-item .value {
    flex: 1;
}
.resource-detail-title-meta-item .value .link {
    color: var(--orange);
    cursor: pointer;
}
.resource-detail-top-sign-up {
    margin: 20px 0;
    text-align: center;
    justify-content: center;
    align-items: center;   
}
.resource-detail-top-sign-up-qrcode {
  width: 100px;
  height: 120px; 
  line-height: 20px;
}
.resource-detail-top-sign-up-qrcode img {
  width: 100px;
  height: 100px; 
}
.resource-detail-top-sign-up a {
   display: inline-block; 
   line-height: 20px;
   padding: 20px 40px;
   background-color: var(--red);
   color: white;
   border-radius: 4px;
   cursor: pointer;
   font-size: 20px;
}
.resource-detail-content {
    padding: 20px;
}
.resource-sidebar {
    width: 300px;
    border: solid 1px var(--borderColor);
}

.resource-sidebar-title {
    padding: 20px;
    border-bottom: solid 1px var(--borderColor);
    color: var(--blue);
    font-size: 18px;
    font-weight: bolder;
}

.resource-sidebar-list {
    padding: 20px;
}

.resource-sidebar-list-item {
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: solid 1px var(--borderColor);
}

.resource-sidebar-list-item:last-child {
    border-bottom: none;
}

.resource-sidebar-list-item-title {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
}

.resource-sidebar-list-item-title a {
    color: var(--black2);
}

.resource-sidebar-list-item-title a:hover {
    color: var(--blue);
}

.resource-sidebar-list-item-time {
    font-size: 14px;
    color: var(--gray2);
}

.resource-list-item-sign-up {
    display: flex;
    align-items: center;
    justify-content: center;
}

.resource-list-item-sign-up a {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--blue);
    color: white;
    border-radius: 4px;
}

.resource-list-item-sign-up a:hover {
    background-color: var(--orange);
}

