/*
Theme Name: Roamwise
Author: Roamwise
Description: An editorial travel theme with destination inspiration, a trip planner, and configurable affiliate links. No paid plugin or booking API is required.
Version: 1.2.1
Requires at least: 6.0
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: roamwise
Tags: blog, custom-logo, custom-menu, featured-images, translation-ready
*/

/* The visual stylesheet is assets/styles.css. Native editorial templates use these additions. */
.rw-editorial { max-width: 1140px; margin: 0 auto; padding: 74px 24px 90px; }
.rw-editorial .rw-page-heading { font-family: Georgia, serif; font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 400; line-height: 1.07; margin: 0 0 24px; letter-spacing: -0.04em; }
.rw-editorial .rw-intro { max-width: 720px; font-size: 1.1rem; line-height: 1.8; color: #696b65; margin-bottom: 45px; }
.rw-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.rw-post-card { border-bottom: 1px solid #dcdcd3; padding-bottom: 25px; }
.rw-post-card .wp-post-image { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 18px; }
.rw-post-card h2 { font-family: Georgia, serif; font-size: 1.8rem; line-height: 1.2; margin: 18px 0 12px; }
.rw-post-card h2 a { text-decoration: none; color: inherit; }
.rw-post-card p { line-height: 1.7; color: #696b65; }
.rw-post-meta { color: #696b65; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.rw-post-content { max-width: 780px; margin: 0 auto; }
.rw-post-content .wp-post-image { width: 100%; height: auto; border-radius: 20px; margin: 15px 0 30px; }
.rw-post-content .entry-content { font-size: 1.1rem; line-height: 1.85; }
.rw-post-content .entry-content > p, .rw-post-content .entry-content > ul, .rw-post-content .entry-content > ol, .rw-post-content .entry-content > figure { margin-top: 1em; margin-bottom: 1em; }
.rw-post-content .entry-content a { color: #b84229; text-decoration: underline; }
.rw-post-content .entry-content img { max-width: 100%; height: auto; }
.rw-post-content .entry-content h2, .rw-post-content .entry-content h3 { font-family: Georgia, serif; font-weight: 400; line-height: 1.25; margin: 1.7em 0 .6em; }
.rw-post-content .entry-content h2 { font-size: 2.4rem; }
.rw-post-content .entry-content h3 { font-size: 1.8rem; }
.rw-post-content blockquote { border-left: 3px solid #e36946; padding-left: 24px; margin-left: 0; font-style: italic; }
.rw-post-content table { border-collapse: collapse; width: 100%; }
.rw-post-content th, .rw-post-content td { border: 1px solid #dcdcd3; padding: 10px 14px; text-align: left; }
.rw-post-content pre { overflow: auto; padding: 18px; background: #ecece4; }
.rw-post-content iframe { max-width: 100%; }
.rw-native-empty { background: #efeee6; padding: 32px; border-radius: 20px; max-width: 760px; line-height: 1.8; }
.rw-native-link { color: #b84229; font-weight: 600; }
.rw-blog-utilities { display: flex; justify-content: space-between; gap: 18px; align-items: center; margin-bottom: 40px; flex-wrap: wrap; }
.rw-search-form { display: flex; gap: 8px; flex-wrap: wrap; }
.rw-search-form input { background: #fff; border: 1px solid #dcdcd3; padding: 12px 14px; border-radius: 8px; font: inherit; }
.rw-search-form button, .rw-comments input[type=submit] { background: #233c36; color: white; padding: 12px 18px; border: 0; border-radius: 8px; cursor: pointer; font: inherit; }
.rw-pagination { margin-top: 46px; }
.rw-pagination .nav-links { display: flex; gap: 14px; flex-wrap: wrap; }
.rw-pagination a, .rw-pagination span { padding: 8px 14px; border: 1px solid #dcdcd3; border-radius: 6px; }
.rw-comments { margin-top: 60px; border-top: 1px solid #dcdcd3; padding-top: 30px; }
.rw-comments textarea, .rw-comments input:not([type=submit]):not([type=checkbox]) { width: 100%; padding: 12px; font: inherit; border: 1px solid #dcdcd3; border-radius: 8px; }
.rw-comments label { display: block; margin-bottom: 6px; }
.rw-comments .comment-form-cookies-consent label { display: inline; }
.rw-comments .comment-list { list-style: none; padding: 0; }
.rw-comments .comment-body { margin: 25px 0; }
.rw-post-nav { display: flex; justify-content: space-between; gap: 30px; margin-top: 50px; }
.rw-widget-credits { font-size: .8rem; color: #6b7068; }
.rw-admin-note { font-size: .78rem; line-height: 1.7; color: #6b7068; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.screen-reader-text:focus { position: fixed !important; top: 12px; left: 12px; width: auto; height: auto; clip: auto; padding: 16px; z-index: 100000; background: #fff; color: #1e322b; }
.alignwide { max-width: 1000px; }
.alignfull { max-width: none; }
body.admin-bar .site-header { top: 32px; }
.rw-custom-nav { display: flex; gap: 28px; align-items: center; list-style: none; padding: 0; margin: 0; }
.rw-custom-nav li { padding: 0; margin: 0; }
.rw-custom-logo img { width: auto; max-width: 180px; max-height: 46px; height: auto; display: block; }
.rw-footer-menu { margin: 22px 0; }
.rw-footer-menu .rw-custom-nav { gap: 20px; flex-wrap: wrap; font-size: .84rem; }
@media (max-width: 800px) {
    .rw-post-grid { grid-template-columns: 1fr 1fr; }
    .main-nav { display: none; position: absolute; top: 92px; left: 24px; right: 24px; z-index: 20; background: var(--paper); border: 1px solid var(--line); padding: 20px; border-radius: 10px; box-shadow: 0 10px 20px #26352e10; }
    .main-nav.open { display: flex; flex-direction: column; gap: 12px; }
    .main-nav .rw-custom-nav { align-items: flex-start; flex-direction: column; gap: 16px; }
    .mobile-toggle { display: flex; }
    .saved-button { margin-left: auto; margin-right: 20px; }
}
@media (max-width: 650px) { .main-nav { top: 72px; left: 18px; right: 18px; } }
@media (max-width: 600px) { .rw-post-grid { grid-template-columns: 1fr; } .rw-editorial { padding-top: 44px; } body.admin-bar .site-header { top: 46px; } .rw-custom-logo img { max-width: 155px; } }
