/*
Theme Name: Rasa Magazine
Theme URI: https://example.com/rasa-magazine
Author: OpenAI
Description: Tema WordPress majalah kuliner responsif dengan layout artikel, kategori, artikel unggulan, dan sidebar populer. Terinspirasi secara umum oleh portal editorial kuliner, bukan salinan situs tertentu.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rasa-magazine
Tags: blog, food-and-drink, news, grid-layout, custom-logo, custom-menu, featured-images, right-sidebar, sticky-post, threaded-comments
*/
:root{--rm-ink:#222522;--rm-muted:#72776f;--rm-accent:#d94f28;--rm-accent-dark:#ad3518;--rm-paper:#fff;--rm-soft:#f7f5f1;--rm-line:#e9e6df;--rm-radius:14px;--rm-width:1180px}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--rm-paper);color:var(--rm-ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.7}
a{color:inherit;text-decoration:none}
a:hover{color:var(--rm-accent)}
img{max-width:100%;height:auto;display:block}
button,input{font:inherit}
.container{width:min(var(--rm-width),calc(100% - 36px));margin-inline:auto}
.site-topline{background:#262923;color:#f8f7f2;font-size:12px;letter-spacing:.04em}
.topline-inner{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:7px 0}
.site-header{background:#fff;border-bottom:1px solid var(--rm-line)}
.header-main{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:22px 0}
.brand{display:flex;align-items:center;gap:12px;min-width:0}
.custom-logo{max-height:58px;width:auto}
.site-title{font-family:Georgia,"Times New Roman",serif;font-size:34px;line-height:1.1;font-weight:800;letter-spacing:-1.2px}
.site-title span{color:var(--rm-accent)}
.site-description{font-size:12px;color:var(--rm-muted);margin-top:4px}
.header-search{display:flex;max-width:280px;width:100%;border:1px solid var(--rm-line);border-radius:999px;overflow:hidden;background:#fbfaf8}
.header-search input{width:100%;min-width:0;border:0;background:transparent;padding:10px 15px;outline:0}
.header-search button{border:0;background:var(--rm-accent);color:white;padding:0 15px;cursor:pointer}
.primary-nav{border-top:1px solid var(--rm-line)}
.primary-nav .menu,.primary-nav ul{list-style:none;margin:0;padding:0;display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.primary-nav a{display:block;padding:13px 0;font-weight:750;font-size:13px}
.primary-nav .current-menu-item>a,.primary-nav a:hover{color:var(--rm-accent)}
.mobile-nav-label{display:none}
main{min-height:55vh}
.section-heading{display:flex;align-items:end;justify-content:space-between;gap:16px;margin:34px 0 18px;padding-bottom:10px;border-bottom:2px solid var(--rm-ink)}
.section-heading h2,.section-heading h1{margin:0;font-family:Georgia,"Times New Roman",serif;font-size:26px;line-height:1.2;letter-spacing:-.4px}
.section-heading a{font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.07em;color:var(--rm-accent)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(280px,1fr);gap:18px;margin-top:28px}
.hero-feature,.hero-mini{position:relative;overflow:hidden;border-radius:var(--rm-radius);background:#e9e2d8;isolation:isolate}
.hero-feature{min-height:410px}
.hero-feature:after,.hero-mini:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,.78),rgba(0,0,0,.02) 72%);z-index:0}
.hero-feature img,.hero-mini img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;z-index:-1;transition:transform .5s}
.hero-feature:hover img,.hero-mini:hover img{transform:scale(1.04)}
.hero-copy{position:absolute;left:26px;right:26px;bottom:24px;color:#fff;z-index:1}
.category-label{display:inline-block;background:var(--rm-accent);color:#fff;border-radius:4px;padding:4px 9px;font-size:10px;font-weight:850;text-transform:uppercase;letter-spacing:.08em;margin-bottom:10px}
.hero-copy h2{font-family:Georgia,"Times New Roman",serif;font-size:clamp(27px,3.2vw,42px);line-height:1.12;letter-spacing:-.8px;margin:0 0 10px}
.hero-copy p{margin:0;color:rgba(255,255,255,.84);font-size:13px;max-width:620px}
.hero-side{display:grid;grid-template-rows:1fr 1fr;gap:18px;min-height:410px}
.hero-mini{min-height:196px}
.hero-mini .hero-copy{left:18px;right:18px;bottom:16px}
.hero-mini .hero-copy h2{font-size:22px}
.post-meta{color:var(--rm-muted);font-size:11px;font-weight:650;display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.post-meta .dot{width:3px;height:3px;border-radius:50%;background:currentColor}
.content-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:42px;align-items:start;margin-top:36px}
.post-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px 22px}
.post-card{min-width:0}
.post-thumb{display:block;position:relative;overflow:hidden;border-radius:10px;background:var(--rm-soft);aspect-ratio:16/10;margin-bottom:13px}
.post-thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.post-card:hover .post-thumb img{transform:scale(1.04)}
.post-card .category-label{position:absolute;bottom:10px;left:10px;margin:0}
.post-card h2,.post-card h3{font-family:Georgia,"Times New Roman",serif;font-size:22px;line-height:1.27;letter-spacing:-.3px;margin:7px 0 8px}
.post-card p{font-size:13px;color:var(--rm-muted);line-height:1.65;margin:0}
.sidebar-widget{padding:0 0 26px;margin-bottom:26px;border-bottom:1px solid var(--rm-line)}
.sidebar-widget:last-child{border-bottom:0}
.widget-title{font-family:Georgia,"Times New Roman",serif;font-size:21px;line-height:1.25;margin:0 0 17px;padding-left:12px;border-left:4px solid var(--rm-accent)}
.popular-list{list-style:none;margin:0;padding:0;counter-reset:popular}
.popular-list li{display:grid;grid-template-columns:32px 1fr;gap:12px;padding:12px 0;border-bottom:1px solid var(--rm-line);counter-increment:popular}
.popular-list li:before{content:counter(popular,decimal-leading-zero);font-size:19px;font-weight:900;color:var(--rm-accent);font-family:Georgia,serif}
.popular-list li:last-child{border-bottom:0}
.popular-list a{font-family:Georgia,serif;font-weight:700;line-height:1.35}
.popular-list small{display:block;color:var(--rm-muted);font-family:system-ui,sans-serif;font-size:11px;font-weight:500;margin-top:5px}
.tag-cloud{display:flex;flex-wrap:wrap;gap:7px}
.tag-cloud a{border:1px solid var(--rm-line);padding:5px 10px;border-radius:999px;font-size:12px;color:var(--rm-muted)}
.tag-cloud a:hover{background:var(--rm-accent);border-color:var(--rm-accent);color:#fff}
.archive-intro{background:var(--rm-soft);padding:26px;border-radius:var(--rm-radius);margin-top:28px}
.archive-intro h1{font-family:Georgia,serif;font-size:34px;line-height:1.2;margin:0 0 8px}
.archive-intro p{color:var(--rm-muted);margin:0}
.pagination{display:flex;gap:8px;margin:35px 0;flex-wrap:wrap}
.pagination .page-numbers{border:1px solid var(--rm-line);border-radius:7px;padding:8px 13px;font-weight:750;font-size:13px}
.pagination .current,.pagination a:hover{background:var(--rm-accent);border-color:var(--rm-accent);color:#fff}
.single-layout{max-width:850px;margin:34px auto 70px}
.breadcrumbs{font-size:12px;color:var(--rm-muted);margin-bottom:14px}
.single-title{font-family:Georgia,serif;font-size:clamp(34px,5vw,52px);line-height:1.1;letter-spacing:-1.2px;margin:10px 0 15px}
.single-featured{margin:24px 0;border-radius:var(--rm-radius);overflow:hidden;background:var(--rm-soft)}
.single-featured img{width:100%;max-height:570px;object-fit:cover}
.entry-content{font-size:18px;line-height:1.85}
.entry-content h2,.entry-content h3{font-family:Georgia,serif;line-height:1.25;margin-top:1.7em}
.entry-content h2{font-size:30px}
.entry-content h3{font-size:23px}
.entry-content a{color:var(--rm-accent);text-decoration:underline;text-underline-offset:3px}
.entry-content blockquote{margin:25px 0;padding:8px 22px;border-left:4px solid var(--rm-accent);background:var(--rm-soft);font-family:Georgia,serif;font-size:21px}
.entry-content ul,.entry-content ol{padding-left:1.4em}
.entry-content img{border-radius:9px}
.post-tags{margin-top:28px;display:flex;gap:8px;flex-wrap:wrap}
.post-tags a{background:var(--rm-soft);padding:5px 10px;border-radius:6px;font-size:12px}
.author-box{margin-top:35px;padding:20px;background:var(--rm-soft);border-radius:var(--rm-radius)}
.related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.site-footer{background:#252923;color:#f4f2ec;margin-top:55px;padding:42px 0 18px}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:35px}
.site-footer h2,.site-footer h3{font-family:Georgia,serif;margin:0 0 14px}
.site-footer p,.site-footer li{color:#c7c8c0;font-size:13px}
.site-footer ul{list-style:none;padding:0;margin:0}
.site-footer li{margin:8px 0}
.footer-bottom{border-top:1px solid #44483f;margin-top:30px;padding-top:16px;color:#b8bbb2;font-size:12px;display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap}
.no-results{padding:30px;background:var(--rm-soft);border-radius:var(--rm-radius)}
.screen-reader-text{position:absolute!important;height:1px;width:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);white-space:nowrap}
@media(max-width:900px){.hero-grid{grid-template-columns:1fr}.hero-feature{min-height:380px}.hero-side{grid-template-columns:1fr 1fr;grid-template-rows:1fr;min-height:210px}.hero-mini{min-height:210px}.content-layout{grid-template-columns:minmax(0,1fr) 260px;gap:25px}.footer-grid{grid-template-columns:1fr 1fr}.footer-grid>div:first-child{grid-column:1/-1}}
@media(max-width:680px){.container{width:min(var(--rm-width),calc(100% - 26px))}.topline-inner{font-size:10px}.header-main{padding:16px 0;align-items:flex-start}.site-title{font-size:29px}.site-description{max-width:210px}.header-search{max-width:42px;border:0;background:transparent}.header-search input{display:none}.header-search button{width:42px;height:42px;border-radius:50%;font-size:0;padding:0}.header-search button:before{content:"⌕";font-size:24px}.primary-nav .menu,.primary-nav ul{gap:17px;overflow-x:auto;flex-wrap:nowrap;white-space:nowrap}.primary-nav a{font-size:12px;padding:11px 0}.hero-feature{min-height:350px}.hero-side{gap:12px}.hero-mini{min-height:180px}.hero-mini .hero-copy h2{font-size:18px}.hero-mini .hero-copy{left:12px;right:12px;bottom:12px}.hero-copy{left:18px;right:18px;bottom:18px}.hero-copy h2{font-size:30px}.hero-copy p{display:none}.section-heading{margin-top:28px}.section-heading h2,.section-heading h1{font-size:23px}.content-layout{grid-template-columns:1fr;gap:20px}.post-grid{gap:24px 14px}.post-card h2,.post-card h3{font-size:19px}.post-card p{font-size:12px}.sidebar{display:grid;grid-template-columns:1fr;gap:10px}.single-layout{margin-top:25px}.single-title{font-size:36px}.entry-content{font-size:17px}.entry-content h2{font-size:27px}.related-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.footer-grid{grid-template-columns:1fr;gap:22px}.footer-grid>div:first-child{grid-column:auto}}
