/* GayThai.net - Stylesheet */

:root {
    --line-green: #06C755;
    --line-green-dark: #05a648;
    --line-green-light: #e8f9ef;
    --text-dark: #1a1a1a;
    --text-gray: #666666;
    --text-light: #999999;
    --bg-white: #ffffff;
    --bg-gray: #f8f9fa;
    --border: #e0e0e0;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --shadow-hover: 0 8px 30px rgba(6,199,85,0.15);
    --radius: 16px;
    --radius-sm: 8px;
    --danger: #e74c3c;
    --danger-light: #fdf2f2;
    --warning: #f39c12;
    --warning-light: #fef9e7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Prompt', sans-serif;
    background: var(--bg-gray);
    color: var(--text-dark);
    line-height: 1.6;
}

a {
    color: var(--line-green);
    text-decoration: none;
}

a:hover {
    color: var(--line-green-dark);
}

/* Navigation */
.navbar {
    background: var(--bg-white);
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--line-green) 0%, var(--line-green-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-dark);
}

.logo-text span {
    color: var(--line-green);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--line-green);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
}

.mobile-menu {
    display: none;
    padding: 16px 24px;
    background: var(--bg-white);
    border-top: 1px solid var(--border);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu a {
    display: block;
    padding: 12px 0;
    color: var(--text-dark);
    text-decoration: none;
    border-bottom: 1px solid var(--border);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, var(--line-green) 0%, var(--line-green-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px rgba(6,199,85,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6,199,85,0.4);
    color: white;
}

.btn-outline {
    background: transparent;
    color: var(--line-green);
    border: 2px solid var(--line-green);
}

.btn-outline:hover {
    background: var(--line-green-light);
}

.btn-secondary {
    background: var(--text-dark);
    color: white;
}

.btn-danger {
    background: var(--danger);
    color: white;
}

.btn-block {
    width: 100%;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--line-green) 0%, #04a043 50%, #039a3d 100%);
    padding: 80px 24px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 16px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 32px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Search Box */
.search-section {
    max-width: 1200px;
    margin: -40px auto 40px;
    padding: 0 24px;
    position: relative;
    z-index: 10;
}

.search-box {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 16px;
    align-items: end;
}

/* Forms */
.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-gray);
}

.form-control {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.3s;
    width: 100%;
}

.form-control:focus {
    outline: none;
    border-color: var(--line-green);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Tags Filter */
.tags-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.tag-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-gray);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    color: var(--text-dark);
}

.tag-chip:hover {
    border-color: var(--line-green);
    color: var(--text-dark);
}

.tag-chip.active {
    background: var(--line-green-light);
    border-color: var(--line-green);
    color: var(--line-green-dark);
}

/* Checkbox Group */
.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--bg-gray);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-item:hover {
    background: var(--line-green-light);
}

.checkbox-item input {
    accent-color: var(--line-green);
    width: 18px;
    height: 18px;
}

/* Captcha */
.captcha-box {
    background: var(--bg-gray);
    padding: 20px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.captcha-question {
    font-size: 1.2rem;
    font-weight: 600;
}

.captcha-input {
    width: 100px;
}

/* Upload Box */
.upload-box {
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    background: var(--bg-gray);
}

.upload-box:hover {
    border-color: var(--line-green);
    background: var(--line-green-light);
}

.upload-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}

.upload-text {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.upload-hint {
    font-size: 0.85rem;
    color: var(--text-light);
}

.preview-img {
    max-width: 200px;
    max-height: 200px;
    border-radius: var(--radius);
    object-fit: cover;
}

.upload-box.has-image {
    padding: 16px;
}

/* Profile Grid */
.profiles-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 16px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.results-count {
    color: var(--text-light);
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

/* Profile Card */
.profile-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.profile-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card-header {
    background: linear-gradient(135deg, var(--line-green-light) 0%, #d4f5e0 100%);
    padding: 24px;
    text-align: center;
    position: relative;
}

.card-header.has-photo {
    padding: 0;
    height: 200px;
}

.card-header.has-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar {
    width: 80px;
    height: 80px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.profile-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
}

.profile-age {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.online-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 12px;
    height: 12px;
    background: var(--line-green);
    border-radius: 50%;
    border: 2px solid white;
}

.card-body {
    padding: 20px;
}

.profile-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.profile-message {
    color: var(--text-dark);
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    padding: 4px 12px;
    background: var(--line-green-light);
    color: var(--line-green-dark);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-footer {
    padding: 16px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.line-id {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--line-green);
    font-weight: 500;
    font-size: 0.9rem;
}

.line-icon {
    width: 20px;
    height: 20px;
}

/* Profile Detail */
.profile-detail {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.detail-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.detail-header {
    background: linear-gradient(135deg, var(--line-green) 0%, var(--line-green-dark) 100%);
    padding: 40px;
    text-align: center;
    color: white;
}

.detail-header.has-photo {
    padding: 0;
    position: relative;
}

.detail-header.has-photo img {
    width: 100%;
    max-height: 400px;
    object-fit: cover;
}

.detail-header.has-photo .detail-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    text-align: center;
}

.detail-avatar {
    width: 120px;
    height: 120px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    margin: 0 auto 16px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.detail-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.detail-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    opacity: 0.9;
    flex-wrap: wrap;
}

.detail-body {
    padding: 40px;
}

.line-box {
    background: var(--line-green-light);
    border: 2px solid var(--line-green);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    margin-bottom: 32px;
}

.line-box-title {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.line-box-id {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--line-green-dark);
    margin-bottom: 16px;
}

.line-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.message-box {
    margin-bottom: 32px;
}

.message-title {
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-gray);
}

.message-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.detail-tags .tag {
    padding: 8px 20px;
    font-size: 0.95rem;
}

/* Report Modal */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--bg-white);
    border-radius: var(--radius);
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-body {
    padding: 24px;
}

.modal-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

/* Articles */
.articles-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 24px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
}

.article-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s;
}

.article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.article-image {
    height: 180px;
    background: linear-gradient(135deg, var(--line-green) 0%, var(--line-green-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.article-body {
    padding: 24px;
}

.article-category {
    display: inline-block;
    padding: 4px 12px;
    background: var(--line-green-light);
    color: var(--line-green-dark);
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 12px;
}

.article-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.article-excerpt {
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Article Detail */
.article-detail-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.article-detail-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.article-detail-header {
    background: linear-gradient(135deg, var(--line-green) 0%, var(--line-green-dark) 100%);
    padding: 40px;
    color: white;
}

.article-detail-header .article-category {
    background: rgba(255,255,255,0.2);
    color: white;
}

.article-detail-header h1 {
    font-size: 2rem;
    margin: 16px 0;
    line-height: 1.3;
}

.article-detail-meta {
    display: flex;
    gap: 20px;
    opacity: 0.9;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.article-detail-body {
    padding: 40px;
    line-height: 1.9;
}

.article-detail-body .lead {
    font-size: 1.2rem;
    color: var(--text-gray);
    border-left: 4px solid var(--line-green);
    padding-left: 20px;
    margin-bottom: 32px;
}

.article-detail-body h2 {
    font-size: 1.4rem;
    margin: 32px 0 16px;
    color: var(--text-dark);
}

.article-detail-body p {
    margin-bottom: 20px;
    color: var(--text-dark);
}

.article-detail-body ul {
    margin: 20px 0;
    padding-left: 24px;
}

.article-detail-body li {
    margin-bottom: 12px;
    color: var(--text-dark);
}

.article-cta {
    background: var(--line-green-light);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-top: 40px;
}

.article-cta h3 {
    margin-bottom: 8px;
    color: var(--line-green-dark);
}

.article-cta p {
    margin-bottom: 20px;
    color: var(--text-gray);
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, var(--line-green) 0%, var(--line-green-dark) 100%);
    padding: 60px 24px;
    text-align: center;
    color: white;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.page-header p {
    opacity: 0.9;
}

/* FAQ */
.faq-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 24px;
}

.faq-item {
    background: var(--bg-white);
    border-radius: var(--radius);
    margin-bottom: 16px;
    box-shadow: var(--shadow);
    overflow: hidden;
}

.faq-question {
    padding: 20px 24px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: var(--bg-gray);
}

.faq-question .icon {
    transition: transform 0.3s;
}

.faq-item.open .faq-question .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item.open .faq-answer {
    padding: 0 24px 20px;
    max-height: 500px;
}

.faq-item.open .faq-question {
    color: var(--line-green);
}

/* CTA Section */
.cta-section {
    background: var(--text-dark);
    padding: 60px 24px;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-section h2 {
    color: white;
    font-size: 2rem;
    margin-bottom: 16px;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 24px;
}

/* Footer */
.footer {
    background: #0d0d0d;
    padding: 40px 24px 20px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .logo {
    margin-bottom: 8px;
}

.footer-brand .logo-text {
    color: white;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--line-green);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    text-align: center;
}

.copyright {
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* Alerts */
.alert {
    padding: 16px 24px;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: var(--radius-sm);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-success {
    background: var(--line-green-light);
    color: var(--line-green-dark);
    border-left: 4px solid var(--line-green);
}

.alert-error {
    background: var(--danger-light);
    color: var(--danger);
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background: var(--warning-light);
    color: var(--warning);
    border-left: 4px solid var(--warning);
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    text-decoration: none;
    margin-bottom: 24px;
}

.back-btn:hover {
    color: var(--line-green);
}

/* Create Section */
.create-section {
    max-width: 700px;
    margin: 0 auto;
    padding: 40px 24px;
}

.form-card {
    background: var(--bg-white);
    border-radius: var(--radius);
    padding: 40px;
    box-shadow: var(--shadow);
}

.form-card h2 {
    text-align: center;
    margin-bottom: 8px;
}

.form-card > p {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 32px;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination a,
.pagination span {
    padding: 10px 16px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 500;
}

.pagination a {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 1px solid var(--border);
}

.pagination a:hover {
    border-color: var(--line-green);
    color: var(--line-green);
}

.pagination .active {
    background: var(--line-green);
    color: white;
    border: 1px solid var(--line-green);
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.empty-state .icon {
    font-size: 4rem;
    margin-bottom: 16px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-stats {
        gap: 24px;
    }

    .stat-number {
        font-size: 1.8rem;
    }

    .search-form {
        grid-template-columns: 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

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

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

    .footer-links {
        gap: 16px;
    }

    .detail-meta {
        flex-direction: column;
        gap: 8px;
    }

    .line-buttons {
        flex-direction: column;
    }

    .form-card {
        padding: 24px;
    }

    .detail-body {
        padding: 24px;
    }

    .article-detail-body {
        padding: 24px;
    }
}
