/* Custom styles complementing Tailwind CDN */

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Base font */
body {
    font-family: "Zen Maru Gothic", "Plus Jakarta Sans", sans-serif;
}

/* Material Symbols sizing */
.material-symbols-outlined {
    font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Line clamp utility */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.line-clamp-4 {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Article prose styles */
.prose h2 {
    font-size: 1.375rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4ECDC4;
    color: #101918;
}
.prose h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #101918;
}
.prose p {
    margin-bottom: 1rem;
    line-height: 1.8;
    color: #475569;
}
.prose ul, .prose ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}
.prose ul {
    list-style-type: disc;
}
.prose ol {
    list-style-type: decimal;
}
.prose li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
    color: #475569;
}
.prose a {
    color: #4ECDC4;
    text-decoration: underline;
}
.prose a:hover {
    color: #3db5ad;
}
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 1.5rem 0;
}
.prose table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
}
.prose th, .prose td {
    border: 1px solid #e2e8f0;
    padding: 0.75rem;
    text-align: left;
}
.prose th {
    background-color: #f6f8f8;
    font-weight: 600;
}
.prose blockquote {
    border-left: 4px solid #4ECDC4;
    padding: 1rem 1.5rem;
    margin: 1.5rem 0;
    background-color: rgba(78, 205, 196, 0.1);
    border-radius: 0 12px 12px 0;
}
.prose blockquote p {
    color: #334155;
    margin-bottom: 0;
}

/* Point box (for column articles) */
.point-box {
    border: 2px solid #4ECDC4;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    background-color: rgba(78, 205, 196, 0.1);
}
.point-box .point-title {
    font-weight: 700;
    color: #2d8a84;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* FAQ Accordion */
.faq-item .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.faq-item.active .faq-answer {
    max-height: 500px;
}
.faq-item .faq-icon {
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

/* Calendar modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: white;
    border-radius: 24px;
    max-width: 480px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.2s ease;
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}

/* Section pattern overlay */
.pattern-bg {
    background-image: radial-gradient(circle at 1px 1px, rgba(78, 205, 196, 0.08) 1px, transparent 0);
    background-size: 32px 32px;
}
