/* Blog Content Specific Styles */

/* Main Container for the structured content */
.content-wrapper {
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
    color: #ffffff;
    line-height: 1.6;
}

/* Common Card Style */
.info-card {
    background-color: #37474f;
    /* Dark Slate */
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Header Card (Top Section) */
.info-card.header-card {
    text-align: center;
    padding: 60px 40px;
}

.header-icon {
    font-size: 4rem;
    color: #26a69a;
    /* Teal/Cyan */
    margin-bottom: 20px;
}

.header-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #26a69a;
    margin-bottom: 10px;
    display: inline-block;
}

.header-subtitle {
    font-size: 1.2rem;
    color: #b0bec5;
    margin-bottom: 30px;
}

.highlight-box {
    border: 1px solid #546e7a;
    border-radius: 12px;
    padding: 20px;
    display: inline-block;
    text-align: left;
    background-color: rgba(0, 0, 0, 0.2);
}

.highlight-list li {
    margin-bottom: 8px;
    list-style: none;
    display: flex;
    align-items: center;
}

.highlight-list li::before {
    content: '';
    margin-right: 10px;
}

/* Grid Layout for Bottom Section */
.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on large screens */
    gap: 30px;
}

@media (max-width: 1024px) {
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}

.info-grid .info-card {
    margin-bottom: 0;
    /* Grid handles gap */
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    text-align: center;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #26a69a;
    color: #ffffff;
}

/* Lists in Cards */
.step-list {
    padding-left: 0;
    list-style: none;
}

.step-list li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.step-badge {
    background-color: #78909c;
    color: white;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    margin-right: 10px;
    font-size: 0.9rem;
    min-width: 24px;
    text-align: center;
}

.check-list {
    padding-left: 0;
    list-style: none;
}

.check-list li {
    margin-bottom: 15px;
    position: relative;
    padding-left: 25px;
}

.check-list li::before {
    content: '✔';
    /* Or use an icon */
    position: absolute;
    left: 0;
    color: #ef5350;
    /* Red accent */
    font-weight: bold;
}

/* Text Colors */
.text-cyan {
    color: #26a69a;
}

.text-yellow {
    color: #fdd835;
}

.text-red {
    color: #ef5350;
}

.text-white {
    color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
    .header-title {
        font-size: 2rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* --- New Additions for Interactions --- */

/* Metadata Row */
.post-meta-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    font-size: 1.1rem;
    color: #b0bec5;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.meta-item i {
    color: #ff00ff;
    /* Hot Pink */
}

.like-button {
    cursor: pointer;
    transition: transform 0.2s;
}

.like-button:hover {
    transform: scale(1.2);
}

.like-button.liked i {
    color: #ff00ff;
    text-shadow: 0 0 10px #ff00ff;
}

/* Action Links (Bottom) */
.action-links {
    display: flex;
    justify-content: flex-end;
    gap: 30px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.action-link {
    color: #b0bec5;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s;
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    font-family: inherit;
}

.action-link:hover {
    color: #ffffff;
    text-decoration: underline;
}

/* Comment Section */
.comment-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.comment-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #ffffff;
}

.comment-form {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.comment-form textarea {
    width: 100%;
    background-color: #263238;
    /* Darker Slate */
    border: 1px solid #546e7a;
    color: #ffffff;
    padding: 15px;
    font-family: inherit;
    font-size: 1rem;
    resize: vertical;
    border-radius: 8px;
}

.comment-form textarea:focus {
    outline: none;
    border-color: #26a69a;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comment-item {
    background-color: #37474f;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #b0bec5;
}

.comment-author {
    font-weight: bold;
    color: #26a69a;
}

.comment-body {
    color: #eceff1;
    line-height: 1.5;
}

/* Markdown Content Styles */
.post-content h1 {
    font-size: 1.3rem;
    /* Reduced from 1.5rem */
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #000000;
    /* Changed from Teal to Black */
    font-weight: 800;
}

.post-content h2 {
    font-size: 1.15rem;
    /* Reduced from 1.3rem */
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #333333;
    /* Changed from White to Dark Grey */
    border-bottom: 2px solid #000000;
    /* Changed border color */
    padding-bottom: 0.5rem;
    font-weight: 700;
}

.post-content h3 {
    font-size: 1.0rem;
    /* Reduced from 1.1rem */
    margin-top: 1.2rem;
    margin-bottom: 0.8rem;
    color: #555555;
    /* Changed to Medium Grey */
    font-weight: 700;
}

.post-content h4 {
    font-size: 0.9rem;
    /* Reduced from 1.0rem */
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #000000;
}

.post-content p {
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-content blockquote {
    border-left: 4px solid #26a69a;
    padding-left: 1rem;
    margin-left: 0;
    margin-bottom: 1rem;
    color: #b0bec5;
    font-style: italic;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 1rem 0;
}