/*
Theme Name: Simulacranews
Theme URI: https://simulacranews.id
Author: Simulacra (darmasp)
Author URI: https://simulacranews.id
Description: A lightweight, fast, and modern WordPress theme designed for literary blogs and multi-contributor writing collections. Text-oriented with a static front page showcasing posts by category.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: simulacranews
Tags: blog, literary, lightweight, modern, static-front-page
*/

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-bg: #0f0f0f;
    --color-surface: #1a1a1a;
    --color-surface-hover: #242424;
    --color-border: #2a2a2a;
    --color-text: #e8e6e3;
    --color-text-secondary: #9a9590;
    --color-accent: #c9a96e;
    --color-accent-hover: #dbbe85;
    --color-heading: #f5f0eb;
    --color-link: #c9a96e;
    --color-header-bg: rgba(15, 15, 15, 0.92);
    --color-shadow: rgba(0, 0, 0, 0.3);

    /* Header-specific colors (always dark) */
    --header-bg: rgba(15, 15, 15, 0.92);
    --header-text: #f5f0eb;
    --header-text-secondary: #9a9590;
    --header-border: #2a2a2a;
    --header-accent: #c9a96e;

    --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-body: 'Source Serif 4', Georgia, 'Times New Roman', serif;
    --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    --max-width: 1200px;
    --max-width-content: 720px;
    --border-radius: 6px;
    --transition: 0.25s ease;
}

[data-theme="light"] {
    --color-bg: #f8f6f2;
    --color-surface: #ffffff;
    --color-surface-hover: #fcfbf9;
    --color-border: #e2ded5;
    --color-text: #1a1a1a;
    --color-text-secondary: #66615b;
    --color-accent: #a67c52;
    --color-accent-hover: #8e6844;
    --color-heading: #2c2925;
    --color-link: #a67c52;
    --color-header-bg: rgba(248, 246, 242, 0.92);
    --color-shadow: rgba(0, 0, 0, 0.08);

    /* Header stays dark in light mode (with slightly lighter shade) */
    --header-bg: rgba(30, 30, 30, 0.92);
    --header-text: #f0ede8;
    --header-text-secondary: #a89e96;
    --header-border: #383838;
    --header-accent: #d4af7f;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg);
    color: var(--color-text);
    line-height: 1.75;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    transition: background-color var(--transition), color var(--transition);
}

a {
    color: var(--color-link);
    text-decoration: none;
    transition: color var(--transition);
}

a:hover {
    color: var(--color-accent-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-heading);
    line-height: 1.3;
    font-weight: 700;
}

/* ============================================
   SITE HEADER
   ============================================ */
.site-header {
    border-bottom: 1px solid var(--header-border);
    padding: var(--space-lg) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-branding .site-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--header-text);
}

.site-branding .site-title a {
    color: inherit;
    text-decoration: none;
}

.site-branding .site-title a:hover {
    color: var(--header-accent);
}

.site-branding .site-tagline {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--header-text-secondary);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 4px;
}

/* Custom Logo */
.site-logo {
    display: flex;
    align-items: center;
}

.site-logo a,
.site-logo--placeholder a {
    display: block;
    line-height: 0;
    color: var(--header-text);
    transition: opacity var(--transition);
}

.site-logo a:hover,
.site-logo--placeholder a:hover {
    opacity: 0.75;
}

.site-logo img {
    max-width: 200px;
    max-height: 50px;
    width: auto;
    height: auto;
    display: block;
}

.site-logo--placeholder svg {
    display: block;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

/* Navigation */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: var(--space-lg);
}

.main-navigation a {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--header-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition);
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--header-accent);
    transition: width var(--transition);
}

.main-navigation a:hover {
    color: var(--header-accent);
}

.main-navigation a:hover::after {
    width: 100%;
}

.main-navigation .current-menu-item a,
.main-navigation .current_page_item a {
    color: var(--header-accent);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--header-text);
    font-size: 1.5rem;
    cursor: pointer;
    padding: var(--space-xs);
}

/* Theme Toggle Button */
.theme-toggle-wrapper {
    display: flex;
    align-items: center;
    margin-right: var(--space-lg);
}

#theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--header-border);
    border-radius: 20px;
    padding: var(--space-xs) var(--space-sm);
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--header-text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}

#theme-toggle:hover {
    border-color: var(--header-accent);
    color: var(--header-accent);
    background: rgba(255, 255, 255, 0.15);
}

#theme-toggle .toggle-icon {
    font-size: 1rem;
    line-height: 1;
}

#theme-toggle .toggle-text {
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

[data-theme="light"] #theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] #theme-toggle .moon-icon {
    display: none;
}

body:not([data-theme]) #theme-toggle .sun-icon {
    display: none;
}

/* Default is dark */

/* Search Button & Form */
.search-toggle {
    background: rgba(201, 169, 110, 0.1);
    border: 1.5px solid var(--header-accent);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    padding: 0;
    cursor: pointer;
    color: var(--header-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    margin-right: var(--space-md);
    position: relative;
    box-shadow: 0 2px 8px rgba(201, 169, 110, 0.1);
}

.search-toggle:hover {
    border-color: var(--header-accent);
    color: var(--header-text);
    background: var(--header-accent);
    box-shadow: 0 4px 16px rgba(201, 169, 110, 0.25);
    transform: scale(1.08);
}

.search-toggle:active {
    transform: scale(0.95);
}

.search-icon {
    width: 18px;
    height: 18px;
    stroke-width: 2.5;
}

/* Search Form Wrapper */
.header-search-form {
    position: absolute;
    top: calc(100% + 4px);
    left: 50%;
    transform: translateX(-50%);
    background: var(--header-bg);
    border: 1.5px solid var(--header-accent);
    border-radius: var(--border-radius);
    padding: var(--space-md);
    display: none;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 999;
    min-width: 340px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.header-search-form.search-form--active {
    display: block;
    animation: slideDown 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(-12px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

.header-search-form form {
    display: flex;
    gap: 6px;
}

.header-search-form input[type="search"] {
    flex: 1;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(201, 169, 110, 0.3);
    border-radius: 6px;
    padding: 10px 14px;
    color: var(--header-text);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    transition: all 0.25s ease;
}

.header-search-form input[type="search"]:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--header-accent);
    box-shadow: 0 0 12px rgba(201, 169, 110, 0.15);
}

.header-search-form input[type="search"]::placeholder {
    color: var(--header-text-secondary);
}

.header-search-form button {
    background: var(--header-accent);
    color: var(--header-bg);
    border: none;
    border-radius: 6px;
    padding: 10px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.25s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(201, 169, 110, 0.2);
}

.header-search-form button:hover {
    opacity: 0.9;
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.3);
    transform: translateY(-1px);
}

.header-search-form button:active {
    transform: translateY(0);
}

/* ============================================
   FRONT PAGE — Category Sections
   ============================================ */
.front-page {
    flex: 1;
}

.front-hero {
    text-align: center;
    padding: var(--space-3xl) var(--space-xl) var(--space-2xl);
    border-bottom: 1px solid var(--color-border);
}

.front-hero h1 {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    color: var(--color-heading);
}

.front-hero .hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-style: italic;
}

.category-section {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-xl);
    border-bottom: 1px solid var(--color-border);
}

.category-section:last-child {
    border-bottom: none;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-xl);
}

.category-header h2 {
    font-size: 1.4rem;
    letter-spacing: 0.02em;
    position: relative;
    padding-left: var(--space-lg);
}

.category-header h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    border-radius: 2px;
}

.category-header .view-all {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}

.category-header .view-all:hover {
    color: var(--color-accent);
}

/* Post Grid */
.post-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
}

/* Post Card */
.post-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.post-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-accent);
    box-shadow: 0 8px 30px var(--color-shadow);
}

.post-card .card-thumbnail {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--color-surface-hover);
}

.post-card .card-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.post-card:hover .card-thumbnail img {
    transform: scale(1.05);
}

.post-card .card-thumbnail .no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--color-border);
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-hover) 100%);
}

.post-card .card-body {
    padding: var(--space-md) var(--space-lg) var(--space-lg);
}

.post-card .card-title {
    font-size: 1.05rem;
    line-height: 1.4;
    margin-bottom: var(--space-sm);
}

.post-card .card-title a {
    color: var(--color-heading);
    transition: color var(--transition);
}

.post-card .card-title a:hover {
    color: var(--color-accent);
}

.post-card .card-meta {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.post-card .card-meta .separator {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--color-text-secondary);
}

/* ============================================
   SINGLE POST
   ============================================ */
.single-post-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
    flex: 1;
}

.single-post-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.single-post-header .post-category {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
    display: inline-block;
}

.single-post-header h1 {
    font-size: 2.2rem;
    margin-bottom: var(--space-lg);
    line-height: 1.25;
}

.single-post-header .post-meta {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.single-post-header .post-meta .author-name {
    color: var(--color-text);
    font-weight: 500;
}

.single-featured-image {
    margin-bottom: var(--space-2xl);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.single-featured-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.post-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--color-text);
}

.post-content p {
    margin-bottom: var(--space-lg);
}

.post-content h2 {
    font-size: 1.6rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.post-content h3 {
    font-size: 1.3rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.post-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: var(--space-md) var(--space-xl);
    margin: var(--space-xl) 0;
    font-style: italic;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.post-content ul,
.post-content ol {
    margin: var(--space-md) 0 var(--space-lg) var(--space-xl);
}

.post-content li {
    margin-bottom: var(--space-sm);
}

.post-content a {
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 1px;
}

.post-content a:hover {
    border-bottom-color: var(--color-accent-hover);
}

.post-content pre {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    overflow-x: auto;
    font-size: 0.9rem;
    margin: var(--space-lg) 0;
}

.post-content code {
    background: var(--color-surface);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

.post-footer {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.post-tags a {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    padding: var(--space-xs) var(--space-md);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    color: var(--color-text-secondary);
    transition: all var(--transition);
}

.post-tags a:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.post-navigation {
    margin-top: var(--space-2xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
}

.post-navigation .nav-label {
    font-family: var(--font-ui);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xs);
}

.post-navigation .nav-title {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-heading);
    transition: color var(--transition);
}

.post-navigation a:hover .nav-title {
    color: var(--color-accent);
}

.post-navigation .nav-next {
    text-align: right;
}

/* ============================================
   PAGE (Non-Post)
   ============================================ */
.page-container {
    max-width: var(--max-width-content);
    margin: 0 auto;
    padding: var(--space-3xl) var(--space-xl);
    flex: 1;
}

.page-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.page-header h1 {
    font-size: 2.2rem;
    line-height: 1.25;
}

.page-featured-image {
    margin-bottom: var(--space-2xl);
    border-radius: var(--border-radius);
    overflow: hidden;
}

.page-featured-image img {
    width: 100%;
    border-radius: var(--border-radius);
}

.page-content {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--color-text);
}

.page-content p {
    margin-bottom: var(--space-lg);
}

.page-content h2 {
    font-size: 1.6rem;
    margin-top: var(--space-2xl);
    margin-bottom: var(--space-md);
}

.page-content h3 {
    font-size: 1.3rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.page-content blockquote {
    border-left: 3px solid var(--color-accent);
    padding: var(--space-md) var(--space-xl);
    margin: var(--space-xl) 0;
    font-style: italic;
    color: var(--color-text-secondary);
    background: var(--color-surface);
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.page-content ul,
.page-content ol {
    margin: var(--space-md) 0 var(--space-lg) var(--space-xl);
}

.page-content li {
    margin-bottom: var(--space-sm);
}

.page-content a {
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 1px;
}

.page-content a:hover {
    border-bottom-color: var(--color-accent-hover);
}

.page-content pre {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: var(--space-lg);
    border-radius: var(--border-radius);
    overflow-x: auto;
    font-size: 0.9rem;
    margin: var(--space-lg) 0;
}

.page-content code {
    background: var(--color-surface);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 0.9em;
}

/* ============================================
   DEFAULT INDEX / ARCHIVE
   ============================================ */
.archive-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-xl);
    flex: 1;
}

.archive-header {
    margin-bottom: var(--space-2xl);
}

.archive-header h1 {
    font-size: 1.8rem;
}

.archive-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.archive-item {
    display: flex;
    gap: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.archive-item .archive-thumb {
    flex-shrink: 0;
    width: 200px;
    aspect-ratio: 16 / 10;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--color-surface);
}

.archive-item .archive-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.archive-item .archive-content h2 {
    font-size: 1.2rem;
    margin-bottom: var(--space-sm);
}

.archive-item .archive-content h2 a {
    color: var(--color-heading);
}

.archive-item .archive-content h2 a:hover {
    color: var(--color-accent);
}

.archive-item .archive-excerpt {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.archive-item .archive-meta {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) var(--space-xl);
    text-align: center;
    margin-top: auto;
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-footer .footer-text {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    letter-spacing: 0.03em;
}

.site-footer .footer-text a {
    color: var(--color-accent);
}

/* Footer Navigation */
.footer-navigation {
    margin-bottom: var(--space-xl);
}

.footer-navigation ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-lg);
    justify-content: center;
}

.footer-navigation a {
    font-family: var(--font-ui);
    font-size: 0.85rem;
    color: var(--color-text-secondary);
    text-decoration: none;
    transition: color var(--transition);
    position: relative;
}

.footer-navigation a:hover {
    color: var(--color-accent);
}

.footer-navigation a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width var(--transition);
}

.footer-navigation a:hover::after {
    width: 100%;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--header-bg);
        border-bottom: 1px solid var(--header-border);
        padding: var(--space-md) var(--space-xl);
    }

    .main-navigation.toggled {
        display: block;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .main-navigation li {
        border-bottom: 1px solid var(--header-border);
    }

    .main-navigation li:last-child {
        border-bottom: none;
    }

    .main-navigation a {
        display: block;
        padding: var(--space-md) 0;
    }

    .front-hero h1 {
        font-size: 1.8rem;
    }

    .post-grid {
        grid-template-columns: 1fr 1fr;
    }

    .single-post-header h1 {
        font-size: 1.6rem;
    }

    .single-post-container {
        padding: var(--space-xl) var(--space-md);
    }

    .archive-item {
        flex-direction: column;
    }

    .archive-item .archive-thumb {
        width: 100%;
    }

    .post-navigation {
        grid-template-columns: 1fr;
    }

    .post-navigation .nav-next {
        text-align: left;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }

    .page-container {
        padding: var(--space-xl) var(--space-md);
    }
}

@media (max-width: 480px) {
    .post-grid {
        grid-template-columns: 1fr;
    }

    .front-hero {
        padding: var(--space-xl) var(--space-md);
    }

    .category-section {
        padding: var(--space-xl) var(--space-md);
    }
}

/* ============================================
   BERANDA — Two-Column Layout
   ============================================ */
.beranda-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: var(--space-2xl);
    max-width: var(--max-width);
    margin: 0 auto;
    padding: var(--space-2xl) var(--space-xl);
    align-items: start;
}

.beranda-main {
    min-width: 0;
}

/* Section header共通 */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 1.3rem;
    letter-spacing: 0.02em;
    position: relative;
    padding-left: var(--space-lg);
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 100%;
    background: var(--color-accent);
    border-radius: 2px;
}

/* ============================================
   HEADLINE SLIDER
   ============================================ */
.headline-section {
    margin-bottom: var(--space-3xl);
}

.headline-slider {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--color-surface);
    width: 100%;
    min-height: 500px;
    display: grid;
}

.slider-track {
    position: relative;
    width: 100%;
    height: 100%;
    grid-column: 1;
    grid-row: 1;
}

/* Slide */
.slide {
    grid-column: 1;
    grid-row: 1;
    display: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.slide--active {
    display: grid;
    grid-template-rows: 1fr auto;
    opacity: 1;
    pointer-events: auto;
}

.slide-link {
    display: contents;
}

/* Slide Image */
.slide-image {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: var(--color-surface-hover);
    grid-column: 1;
    grid-row: 1;
}

.slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.slide--active .slide-img {
    transform: scale(1.03);
}

.slide-no-thumb {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-surface) 0%, var(--color-surface-hover) 100%);
    font-family: var(--font-heading);
    font-size: 5rem;
    color: var(--color-border);
}

/* Slide Content */
.slide-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--color-surface);
    grid-column: 1;
    grid-row: 2;
    min-height: 180px;
}

.slide-category {
    display: inline-block;
    font-family: var(--font-ui);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-sm);
}

.slide-title {
    font-family: var(--font-heading);
    font-size: clamp(1.1rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--color-heading);
    line-height: 1.3;
    margin-bottom: var(--space-md);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.slide-excerpt {
    display: none;
}

.slide-meta {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-top: auto;
}

.slide-sep {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

/* Slider Nav Buttons */
.slider-btn {
    position: absolute;
    top: 140px;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #f5f0eb;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.slider-btn:hover {
    background: rgba(201, 169, 110, 0.8);
    border-color: var(--color-accent);
}

.slider-btn--prev {
    left: var(--space-md);
}

.slider-btn--next {
    right: var(--space-md);
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 195px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: 20px;
    backdrop-filter: blur(4px);
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
    padding: 0;
    transition: all var(--transition);
}

.slider-dot--active,
.slider-dot:hover {
    background: var(--color-accent);
    border-color: var(--color-accent);
    transform: scale(1.2);
}

/* ============================================
   CATEGORIES SECTION
   ============================================ */
.categories-section {
    margin-bottom: var(--space-2xl);
}

.categories-section .category-section {
    max-width: none;
    padding: 0;
    margin-bottom: var(--space-3xl);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: var(--space-3xl);
}

.categories-section .category-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* ============================================
   BERANDA MAIN CONTENT WIDGETS
   ============================================ */
/* Post by Category Widget Section */
section.widget {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

section.widget:last-child {
    border-bottom: none;
}

section.widget .section-header {
    margin-bottom: var(--space-xl);
}

section.widget .section-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-heading);
    margin: 0;
}

/* Post Grid in Widget */
.category-widget-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: var(--space-lg);
}

/* ============================================
   LIST STYLE WIDGET
   ============================================ */
.category-widget-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.list-item {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    transition: all 0.25s ease;
}

.list-item:hover {
    border-color: var(--color-accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.list-thumbnail {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 4px;
    overflow: hidden;
}

.list-thumbnail a {
    display: block;
    width: 100%;
    height: 100%;
}

.list-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.no-thumb-sm {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: var(--color-border);
    color: var(--color-text-secondary);
    font-size: 1.5rem;
}

.list-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.list-category {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.list-category a {
    color: var(--color-accent);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

.list-category a:hover {
    opacity: 0.8;
}

.list-title {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    color: var(--color-heading);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.list-title a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color 0.25s ease;
}

.list-title a:hover {
    color: var(--color-accent);
}

.list-date {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-family: var(--font-ui);
}

/* ============================================
   3-COLUMN STYLE WIDGET
   ============================================ */
.category-widget-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
}

.post-card-minimal {
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform 0.25s ease;
}

.post-card-minimal:hover {
    transform: translateY(-2px);
}

.card-thumbnail-minimal {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    border-radius: 4px;
    overflow: hidden;
}

.card-thumbnail-minimal a {
    display: block;
    width: 100%;
    height: 100%;
}

.card-thumbnail-minimal img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card-thumbnail-minimal a:hover img {
    transform: scale(1.05);
}

.card-title-minimal {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-heading);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.card-title-minimal a {
    color: var(--color-heading);
    text-decoration: none;
    transition: color 0.25s ease;
}

.card-title-minimal a:hover {
    color: var(--color-accent);
}

/* Responsive 3-Column */
@media (max-width: 768px) {
    .category-widget-3col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .category-widget-3col {
        grid-template-columns: 1fr;
    }
    
    .list-item {
        flex-direction: column;
    }
    
    .list-thumbnail {
        width: 100%;
        height: 120px;
    }
}
   ============================================ */
.beranda-widget-section {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-2xl);
    border-top: 1px solid var(--color-border);
    padding-top: var(--space-2xl);
}

.beranda-widget-inner {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: var(--space-lg);
}

/* ============================================
   SIDEBAR
   ============================================ */
.beranda-sidebar {
    position: sticky;
    top: calc(80px + var(--space-xl));
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    scrollbar-width: none;
    scrollbar-color: transparent transparent;
    transition: scrollbar-width 0.3s ease;
}

.beranda-sidebar::-webkit-scrollbar {
    width: 0;
    transition: width 0.3s ease;
}

.beranda-sidebar::-webkit-scrollbar-thumb {
    background: transparent;
    border-radius: 2px;
    transition: background 0.3s ease;
}

/* Show scrollbar on hover */
.beranda-sidebar:hover {
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.beranda-sidebar:hover::-webkit-scrollbar {
    width: 4px;
}

.beranda-sidebar:hover::-webkit-scrollbar-thumb {
    background: var(--color-border);
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.sidebar-empty {
    padding: var(--space-xl);
    border: 1px dashed var(--color-border);
    border-radius: var(--border-radius);
    text-align: center;
}

.sidebar-empty p {
    font-family: var(--font-ui);
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    line-height: 1.6;
}

/* Widget Styles */
.widget {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--space-lg);
    transition: border-color var(--transition);
}

.widget-title {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
    padding-bottom: var(--space-sm);
    border-bottom: 1px solid var(--color-border);
}

.widget ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.widget ul li {
    padding: var(--space-xs) 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 0.9rem;
}

.widget ul li:last-child {
    border-bottom: none;
}

.widget ul li a {
    color: var(--color-text);
    transition: color var(--transition);
}

.widget ul li a:hover {
    color: var(--color-accent);
}

.widget p {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
}

/* ============================================
   BERANDA RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .beranda-layout {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .beranda-sidebar {
        position: static;
        max-height: none;
        overflow-y: visible;
    }

    .sidebar-inner {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: var(--space-lg);
    }

    .headline-slider {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .beranda-layout {
        padding: var(--space-lg) var(--space-md);
    }

    .headline-slider {
        min-height: 450px;
    }

    .slide-image {
        height: 250px;
    }

    .slide-content {
        min-height: 150px;
    }

    .slider-btn {
        top: 120px;
    }

    .slider-dots {
        bottom: 170px;
    }

    .beranda-widget-inner {
        grid-template-columns: 1fr;
    }

    .sidebar-inner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .headline-slider {
        min-height: 380px;
    }

    .slide-image {
        height: 200px;
    }

    .slide-content {
        padding: var(--space-md);
        min-height: 140px;
    }

    .slide-title {
        font-size: clamp(1rem, 2vw, 1.4rem);
    }

    .slider-btn {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
        top: 95px;
    }

    .slider-dots {
        bottom: 145px;
    }
}

/* ============================================
   POPULAR POSTS WIDGET (90 DAYS)
   ============================================ */
.popular-posts-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: post-counter;
}

.popular-post-item {
    margin-bottom: var(--space-md);
    padding: var(--space-sm) 0;
}

.popular-post-item:last-child {
    margin-bottom: 0;
}

.popular-post-item a {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    text-decoration: none;
    color: inherit;
    transition: all var(--transition);
    padding: var(--space-sm);
    margin-left: calc( -1 * var(--space-sm) );
    margin-right: calc( -1 * var(--space-sm) );
    border-radius: calc( var(--border-radius) - 2px );
}

.popular-post-item a:hover {
    background-color: var(--color-surface-hover);
    padding-left: calc( var(--space-md) - 2px );
}

.popular-post-item .post-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    min-width: 28px;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-accent);
    background-color: rgba( 201, 169, 110, 0.1 );
    border-radius: 50%;
    border: 1px solid rgba( 201, 169, 110, 0.2 );
    transition: all var(--transition);
}

.popular-post-item a:hover .post-number {
    background-color: rgba( 201, 169, 110, 0.15 );
    border-color: var(--color-accent);
    transform: scale( 1.05 );
}

[data-theme="light"] .popular-post-item .post-number {
    background-color: rgba( 166, 124, 82, 0.08 );
    border-color: rgba( 166, 124, 82, 0.15 );
}

[data-theme="light"] .popular-post-item a:hover .post-number {
    background-color: rgba( 166, 124, 82, 0.12 );
    border-color: var(--color-accent);
}

.popular-post-item .post-title {
    flex: 1;
    font-family: var(--font-body);
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--color-text);
    transition: color var(--transition);
    word-break: break-word;
}

.popular-post-item a:hover .post-title {
    color: var(--color-accent);
}

.no-posts {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    text-align: center;
    padding: var(--space-md) 0;
    margin: 0;
}

/* ============================================
   SUBMIT WRITING WIDGET
   ============================================ */
.submit-writing-widget {
    width: 100%;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-lg);
}

.submit-writing-btn {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    text-decoration: none;
    color: inherit;
    background: linear-gradient( 135deg, rgba(201, 169, 110, 0.08), rgba(201, 169, 110, 0.04) );
    border: 2px solid rgba(201, 169, 110, 0.2);
    border-radius: var(--border-radius);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.submit-writing-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient( 135deg, rgba(201, 169, 110, 0.15), rgba(201, 169, 110, 0.08) );
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.submit-writing-btn:hover::before {
    opacity: 1;
}

.submit-writing-btn:hover {
    border-color: var(--color-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(201, 169, 110, 0.15);
}

.letter-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: float 3s ease-in-out infinite;
}

.submit-writing-btn:hover .letter-icon {
    width: 56px;
    height: 56px;
    animation: float-hover 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-8px);
    }
}

@keyframes float-hover {
    0% {
        transform: translateY(0px) scale(1);
    }
    50% {
        transform: translateY(-12px) scale(1.05);
    }
    100% {
        transform: translateY(-6px) scale(1.08);
    }
}

.btn-text {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-text);
    transition: color 0.4s ease;
}

.submit-writing-btn:hover .btn-text {
    color: var(--color-accent);
}

[data-theme=\"light\"] .submit-writing-btn {
    background: linear-gradient( 135deg, rgba(166, 124, 82, 0.06), rgba(166, 124, 82, 0.02) );
    border-color: rgba(166, 124, 82, 0.15);
}

[data-theme=\"light\"] .submit-writing-btn::before {
    background: linear-gradient( 135deg, rgba(166, 124, 82, 0.1), rgba(166, 124, 82, 0.05) );
}

[data-theme=\"light\"] .submit-writing-btn:hover {
    border-color: var(--color-accent);
    box-shadow: 0 8px 24px rgba(166, 124, 82, 0.12);
}

[data-theme=\"light\"] .letter-icon {
    color: var(--color-accent);
}

/* ============================================
   SUBMIT FORM & GUIDELINES
   ============================================ */
.submit-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    margin: var(--space-2xl) 0;
}

.submit-form-container {
    order: 1;
}

.guidelines-container {
    order: 2;
}

.submit-form {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-sm);
}

.required {
    color: #e74c3c;
}

.form-group input[type=\"text\"],
.form-group input[type=\"email\"],
.form-group input[type=\"tel\"],
.form-group input[type=\"file\"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text);
    background-color: var(--color-surface-hover);
    border: 1px solid var(--color-border);
    border-radius: calc(var(--border-radius) - 2px);
    transition: all var(--transition);
}

.form-group input[type=\"text\"]:focus,
.form-group input[type=\"email\"]:focus,
.form-group input[type=\"tel\"]:focus,
.form-group input[type=\"file\"]:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    background-color: var(--color-surface);
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(201, 169, 110, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9a96e' d='M6 9L1 4h10z'/%3E%3C/svg%3E\");
    background-repeat: no-repeat;
    background-position: right var(--space-md) center;
    padding-right: 2.5rem;
}

[data-theme=\"light\"] .form-group select {
    background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23a67c52' d='M6 9L1 4h10z'/%3E%3C/svg%3E\");
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
    line-height: 1.75;
}

.form-group small {
    display: block;
    margin-top: var(--space-xs);
    font-family: var(--font-ui);
    font-size: 0.75rem;
    color: var(--color-text-secondary);
}

.char-count {
    margin-top: var(--space-sm) !important;
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    font-size: 0.9rem;
    text-transform: none;
    letter-spacing: normal;
    color: var(--color-text);
}

.checkbox-group input[type=\"checkbox\"] {
    width: 20px;
    height: 20px;
    min-width: 20px;
    margin-top: 2px;
    cursor: pointer;
    accent-color: var(--color-accent);
}

.submit-btn {
    width: 100%;
    padding: var(--space-md) var(--space-lg);
    margin-top: var(--space-lg);
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-bg);
    background-color: var(--color-accent);
    border: none;
    border-radius: calc(var(--border-radius) - 2px);
    cursor: pointer;
    transition: all var(--transition);
}

.submit-btn:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(201, 169, 110, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Guidelines Section */
.guidelines-container h2 {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-heading);
    margin-bottom: var(--space-lg);
}

.guidelines-container h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-heading);
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
}

.guidelines-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--space-2xl);
}

.guidelines-content p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--color-text);
    margin-bottom: var(--space-lg);
}

.rubric-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-md);
    margin-bottom: var(--space-xl);
    list-style: none;
}

.rubric-list dt {
    font-family: var(--font-ui);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-accent);
    padding: var(--space-sm) 0;
}

.rubric-list dd {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text-secondary);
    margin: 0 0 var(--space-lg) 0;
    padding-left: var(--space-md);
    border-left: 2px solid rgba(201, 169, 110, 0.2);
}

.terms-list,
.process-list {
    list-style: none;
    margin: var(--space-lg) 0;
    padding: 0;
}

.terms-list li,
.process-list li {
    padding: var(--space-sm) 0 var(--space-sm) var(--space-md);
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--color-text);
    border-left: 2px solid rgba(201, 169, 110, 0.2);
    margin-bottom: var(--space-sm);
}

.terms-list li:last-child,
.process-list li:last-child {
    margin-bottom: 0;
}

.closing-text {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--color-accent);
    text-align: right;
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
}

/* Responsive */
@media (max-width: 1024px) {
    .submit-form-wrapper {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .submit-form-container {
        order: 1;
    }

    .guidelines-container {
        order: 2;
    }
}
}