/* Main theme styles */
:root {
	--primary-color: #26a8ed;
	--secondary-color: #3eb0ef;
	--dark-color: #15171a;
	--light-color: #f8f9fa;
	--text-color: #333;
	--border-color: #e1e8ed;
	--success-color: #4caf50;
	--warning-color: #ff9800;
	margin-bottom: 1rem;
}

.kg-product-card-description {
	margin-bottom: 1rem;
	color: #666;
}

.kg-product-card-button {
	display: inline-block;
	padding: 0.8rem 1.5rem;
	background-color: var(--primary-color);
	color: white;
	text-decoration: none;
	border-radius: 4px;
	transition: background-color 0.3s ease;
}

.kg-product-card-button:hover {
	background-color: var(--secondary-color);
	text-decoration: none;
}

@media (max-width: 768px) {
	.kg-product-card-container {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 1rem;
	}
}

/* Required Ghost classes */
.kg-width-wide {
    max-width: 1040px;
    margin: 0 auto;
    width: 100%;
}

.kg-width-full {
    max-width: 100vw;
    margin: 0 calc(50% - 50vw);
    width: 100vw;
}

.kg-width-wide img,
.kg-width-full img {
    display: block;
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

.kg-gallery-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.kg-gallery-card img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.kg-bookmark-card {
    width: 100%;
    margin: 2rem 0;
}

.kg-bookmark-container {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
}

.kg-bookmark-content {
    padding: 1.5rem;
    flex: 1;
}

.kg-bookmark-title {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.kg-bookmark-description {
    color: #666;
    margin-bottom: 1rem;
}

.kg-bookmark-metadata {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #999;
}

.kg-bookmark-icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

.kg-bookmark-author {
    margin-right: 1rem;
}

.kg-bookmark-publisher {
    text-transform: uppercase;
    font-size: 0.8rem;
}

.kg-bookmark-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.kg-bookmark-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@media (max-width: 768px) {
    .kg-bookmark-container {
        flex-direction: column;
    }
    
    .kg-bookmark-thumbnail {
        width: 100%;
        height: 200px;
    }
}

/* Additional required styles for Ghost editor cards */
.kg-card {
    margin: 2rem 0;
}

.kg-callout-card {
    padding: 1.5rem;
    border-left: 4px solid var(--primary-color);
    background-color: #f8f9fa;
    border-radius: 4px;
}

.kg-callout-emoji {
    margin-right: 1rem;
    font-size: 1.5rem;
}

.kg-toggle-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
}

.kg-toggle-heading {
    padding: 1.5rem;
    background-color: #f8f9fa;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.kg-toggle-content {
    padding: 1.5rem;
}

.kg-product-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    margin: 2rem 0;
}

.kg-product-card-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 2rem;
    padding: 2rem;
}

.kg-product-card-image {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.kg-product-card-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.kg-product-card-description {
    margin-bottom: 1rem;
    color: #666;
}

.kg-product-card-button {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.kg-product-card-button:hover {
    background-color: var(--secondary-color);
    text-decoration: none;
}

@media (max-width: 768px) {
    .kg-product-card-container {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem;
    }
}
