.mytheme-container { max-width: 1200px; margin: 0 auto; padding: 24px 20px; }
.mytheme-section-header { display:none; }
.mytheme-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.mytheme-card { background: #ffffff; border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.06); display: flex; flex-direction: column; }
.mytheme-card-thumb { display: block; position: relative; padding-top: 66%; overflow: hidden; }
.mytheme-card-thumb img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.mytheme-card-thumb:hover img { transform: scale(1.04); }
.mytheme-card-body { padding: 16px 16px 18px; }
.mytheme-card-title { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: #2d3748; }
.mytheme-card-desc { margin: 0; color: #4a5568; font-size: 14px; white-space: pre-wrap; }
.mytheme-pagination { margin-top: 28px; text-align: center; }
.mytheme-pagination .page-numbers { display: inline-block; padding: 8px 12px; margin: 0 4px; border-radius: 8px; background: #edf2f7; color: #2d3748; text-decoration: none; }
.mytheme-pagination .page-numbers.current { background: #667eea; color: #ffffff; }
.mytheme-empty { text-align: center; color: #718096; }
@media (max-width: 992px) { .mytheme-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .mytheme-grid { grid-template-columns: 1fr; } }

/* Hero (featured) */
.mytheme-hero { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 32px; min-height: 460px; box-shadow: 0 10px 30px rgba(0,0,0,0.08); z-index: 1; }
.mytheme-hero-media { position: absolute; inset: 0; background-size: cover; background-position: center; }
.mytheme-hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.55) 100%); z-index: 1; }
.mytheme-hero-content { position: absolute; left: 24px; right: 24px; bottom: 24px; color: #fff; z-index: 2; }
.mytheme-hero-title { margin: 0 0 10px; font-size: 28px; font-weight: 700; line-height: 1.2; }
.mytheme-hero-sub { margin: 0 0 14px; font-size: 16px; opacity: .95; max-width: 900px; white-space: pre-wrap; }
.mytheme-hero-actions { margin-bottom: 10px; }
.mytheme-hero-meta { display: flex; align-items: center; gap: 10px; font-size: 13px; opacity: .9; }
.mytheme-dot { opacity: .7; }

/* Buttons / links */
.mytheme-btn { display: inline-block; padding: 10px 18px; border-radius: 10px; background: #111827; color: #fff; text-decoration: none; font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,0.25); transition: transform .15s ease, box-shadow .15s ease; }
.mytheme-btn:hover { transform: translateY(-1px); box-shadow: 0 12px 30px rgba(0,0,0,0.28); color: #fff; }
.mytheme-text-link { color: #374151; text-decoration: none; font-weight: 600; }
.mytheme-text-link:hover { text-decoration: underline; }

/* Single view */
.mytheme-single-body { max-width: 900px; margin: 24px auto 0; font-size: 16px; color: #374151; line-height: 1.8; white-space: pre-wrap; }
.mytheme-back { text-align: center; margin: 24px 0 0; }


