@import "global_setting.css";

/*images*/
.img-full {
    width: 100%;
}

/*divider*/
.divider{
  width: 100%;
  height: 1px;
  background-color: var(--gray-300);
}

/*breadcrumb*/
.breadcrumb {
    margin: 0px;
    padding: 12px 8%;
    background-color: var(--primary-50);
}

.breadcrumb-item+.breadcrumb-item::before {
    content: url(../../../i/global/breadcrumb_navigate.svg);
    padding-top: 4px;
}

.breadcrumb-item.active {
    color: var(--gray-800);
}

.breadcrumb-item a {
    color: var(--primary-600);
    text-decoration: none;
}

.breadcrumb-item a:hover {
    color: var(--primary-400);
}

/* card*/
.card-wrap{
    height: auto;
    width: 100%;
    max-width: 248px;
    overflow: hidden;
    margin-bottom: 12px;
    border-radius: 8px;
    background-color: white;
    filter: drop-shadow(0px 4px 10px rgba(34, 29, 86, 0.06));
}

.card-cover{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    max-height: 148px;
    overflow: hidden;
}

.card-cover img{
    width: 100%;
    transition: transform 300ms;
}

.card-wrap:hover .card-cover img{
    transform: scale(1.05);
    transition: transform 300ms;
}

.card-content{
    background-color: white;
    padding: 12px 8px 16px 12px;
}

.card-provider{
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.card-provider-avatar{
    height: 20px;
    width: 20px;
    overflow: hidden;
}

.card-provider-avatar img{
    width: 100%;
}

.card-provider-name{
    color: var(--gray-600);
}

.card-title{
    color: var(--gray-800);
    height: 41px;
    margin-bottom: 8px;
}

.card-title .body2,
.card-title .subtitle2 {
    font-weight: 700;
}

.card-bottom, .card-bottom-between{
    width: 100%;
    display: flex;
    align-items: center;
    margin-top: 8px;
    gap: 12px;
    color: var(--gray-500);
}

.card-bottom{
    gap: 12px;
}

.card-bottom-between{
    justify-content: space-between;
}

.card-location, .card-time, .card-link{
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.card-location img, .card-time img{
    height: 10px !important;
    width: 10px !important;
    margin-right: 4px;
}

.card-price{
    color: var(--primary-600);
}

.card-link{
  margin-top: 8px;
  color: var(--gray-600);
}

.card-link--left{
  width: 20%;
}

.card-link--right{
  width: 80%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* card-article */
.card-article-wrap{
    height: auto;
    width: 100%;
    max-width: 325px;
    overflow: hidden;
}

.card-article-wrap a{
    height: auto;
    width: 100%;
    max-width: 325px;
    overflow: hidden;
}

.card-article-cover{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: auto;
    max-height: 178px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 12px;
}

.card-article-cover img{
    width: 100%;
    transition: transform 300ms;
}

.card-article-wrap:hover .card-article-cover img{
    transform: scale(1.05);
    transition: transform 300ms;
}

.card-descript{
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

/* mobile card */
.m_card-item{
    display: flex;
    width: 100%;
    margin-bottom: 8px;
    padding: 8px;
    background-color: white;
    border-radius: 8px;
    filter: drop-shadow(0px 2px 10px rgba(34, 29, 86, 0.04));
}

.m_card-cover{
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin-right: 8px;
    border-radius: 8px;
}

.m_card-cover img{
    width: 100%;
}

.m_card-inner{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2px;
    width: 100%;
}

.m_card-title{
    color: var(--gray-800);
    height: 41px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.m_card-date, .m_card-location, .m_card-time{
    color: var(--gray-500);
}

.m_card-location, .m_card-time{
    display: flex;
    align-items: center;
    gap: 4px;
}

.m_card-price{
    color: var(--primary-600);
    display: flex;
    justify-content: flex-end;
}

.m_card-descript{
    color: var(--gray-500);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    font-size: 12px;
}

.m_card-more{
    color: var(--primary-600);
    text-decoration-line: underline;
}

p.m_card-link {
    width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* content-expand */

.content-expand{
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 48px 20px;
    padding: 48px 0px;
    border-top: 1px solid var(--primary-600);
}

.content-expand-btn{
    min-width: 160px;

    display: flex;
    justify-content: center;
    align-items: center;
    margin: 16px 0px;
    padding: 8px 24px;

    color: var(--primary-600);

    border: 1px solid var(--primary-600);
    border-radius: 50px;
}

.content-expand-btn:hover{
    color: var(--primary-600);
    background-color: rgba(58, 93, 174, 0.1);;
}
