.content-figure {
    margin: 1.5em 0;
    text-align: center;
}

.content-image {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

.content-paragraph {
    line-height: 1.6;
    margin: 1em 0;
}

.content-paragraph.align-left {
    text-align: left;
}
.content-paragraph.align-center {
    text-align: center;
}
.content-paragraph.align-right {
    text-align: right;
}

.content-link {
    display: block;
    text-decoration: none;
    border: 1px solid #bdbcbc;
    padding: 10px;
    border-radius: 6px;
}
.content-link img {
    max-width: 100%;
    height: auto;
    margin-bottom: 5px;
}
.content-link .title {
    font-weight: bold;
    display: block;
    margin-bottom: 3px;
}
.content-link .desc {
    color: #555;
    font-size: 0.9em;
}

/* 링크 카드 기본 */
.content-linkcard {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    background-color: #fff;
    transition: box-shadow 0.2s ease, transform 0.15s ease;
    margin: 1em 0;
}

/* hover 시 약간 띄우기 + 그림자 */
.content-linkcard:hover {
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

/* 썸네일 영역 */
.content-linkcard .thumb {
    flex: 0 0 150px;
    background: #f5f5f5;
    display: flex;
    align-items: center;   /* 세로 중앙 */
    justify-content: center; /* 가로 중앙 */
    overflow: hidden;
}

.content-linkcard .thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* 텍스트 영역 */
.content-linkcard .body {
    flex: 1 1 auto;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* 제목 */
.content-linkcard .title {
    font-size: 14pt;
    font-weight: bold;
    margin-bottom: 4px;
    color: #222;
}

/* 설명 */
.content-linkcard .desc {
    font-size: 12pt;
    color: #555;
    line-height: 1.4;
    margin-bottom: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 도메인 표시 */
.content-linkcard .host {
    font-size: 0.75rem;
    color: #888;
    margin-top: auto; /* 아래로 밀기 */
}

/* 작은 화면 대응 */
@media (max-width: 500px) {
    .content-linkcard {
        flex-direction: column;
    }
    .content-linkcard .thumb {
        flex: 0 0 auto;
        width: 100%;
    }
}

.content-embed {
    margin: 1.5em 0;
    position: relative;
    width: 100%;
}

.content-embed iframe {
    width: 100%;
    height: auto;
    border: none;
}

.embed-caption {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.4em;
    text-align: center;
}
