/*
Theme Name: MakanSedap
Theme URI: https://makansedap.my/
Author: MakanSedap
Description: Custom WordPress block theme for MakanSedap, inspired by a clean editorial food-magazine layout.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: makansedap
*/

/* MakanSedap - initial editorial styling */
body { color: #222; background: #fff; }
.ms-site-header { border-bottom: 1px solid #ededed; }
.ms-topbar { min-height: 36px; padding-top: 7px; padding-bottom: 7px; border-bottom: 1px solid #f0f0f0; color: #777; font-size: 11px; }
.ms-topbar .wp-block-social-links { margin: 0; gap: 10px; }
.ms-topbar .wp-block-social-links .wp-social-link { background: transparent !important; color: #555 !important; padding: 0; }
.ms-topbar .wp-block-social-links .wp-social-link svg { width: 14px; height: 14px; }
.ms-main-header { min-height: 92px; padding-top: 18px; padding-bottom: 18px; }
.ms-brand { gap: 2px; }
.ms-site-title { margin: 0; font-family: Georgia, serif; font-size: clamp(27px, 3vw, 36px); font-weight: 700; line-height: 1.05; letter-spacing: -1px; }
.ms-site-title a { text-decoration: none; }
.ms-site-tagline { margin: 5px 0 0; color: #777; font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase; }
.ms-navigation-area { gap: 18px; }
.ms-navigation-area .wp-block-navigation-item__content { text-decoration: none; text-transform: uppercase; letter-spacing: .6px; }
.ms-navigation-area .wp-block-navigation-item__content:hover { color: #a45b35; }
.ms-search { width: 34px; margin: 0; }
.ms-search .wp-block-search__inside-wrapper { border: 0; padding: 0; }
.ms-search .wp-block-search__input { display: none; }
.ms-search .wp-block-search__button { margin: 0; padding: 5px; background: transparent; color: #222; border: 0; }
.ms-post-card { gap: 10px; }
.ms-post-category { margin-top: 12px; color: #a45b35; text-transform: uppercase; letter-spacing: 1px; }
.ms-post-card .wp-block-post-title { margin-top: 3px; line-height: 1.25; }
.ms-post-card .wp-block-post-title a { text-decoration: none; }
.ms-post-card .wp-block-post-excerpt { color: #777; font-size: 14px; }
.ms-footer { margin-top: 3rem; padding-bottom: 1.5rem; color: #777; }
.ms-footer-rule { border-top-color: #ededed; }
@media (max-width: 781px) {
  .ms-main-header { align-items: flex-start; gap: 18px; }
  .ms-navigation-area { width: 100%; justify-content: space-between; }
  .ms-navigation-area .wp-block-navigation { flex: 1; }
  .ms-post-template { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .ms-post-template { grid-template-columns: 1fr; }
}
