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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f7f9fb;
  color: #1a1a2e;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.container {
  max-width: 640px;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
}

.blog-container {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px;
  flex: 1;
}

header {
  text-align: center;
  margin-bottom: 48px;
}

.brand {
  font-size: 13pt;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0d3b6e;
  text-decoration: none;
}

.tagline {
  font-size: 11pt;
  color: #888;
  margin-top: 4px;
}

.card {
  background: white;
  border-radius: 10px;
  padding: 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 24px;
}

h1 { font-size: 20pt; font-weight: 700; margin-bottom: 8px; }
h2 { font-size: 14pt; font-weight: 600; margin-bottom: 16px; color: #0d3b6e; }
p  { color: #555; line-height: 1.6; margin-bottom: 12px; }

input[type="text"], input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid #dde0e8;
  border-radius: 6px;
  font-size: 11pt;
  color: #1a1a2e;
  margin-bottom: 12px;
  transition: border-color 0.2s;
}
input:focus { outline: none; border-color: #0d3b6e; }

.btn {
  display: inline-block;
  background: #0d3b6e;
  color: white;
  padding: 13px 28px;
  border: none;
  border-radius: 6px;
  font-size: 11pt;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
  text-decoration: none;
}
.btn:hover { background: #0a2d56; }
.btn:disabled { background: #aaa; cursor: not-allowed; }
.btn-full { width: 100%; text-align: center; }

.error { color: #c0392b; font-size: 10.5pt; margin-top: 8px; }
.success { color: #27ae60; font-size: 10.5pt; margin-top: 8px; }

.itinerary-summary {
  background: #f0f5fb;
  border-radius: 6px;
  padding: 16px 20px;
  font-size: 11pt;
  line-height: 1.7;
  margin-bottom: 20px;
}
.itinerary-summary .ship { font-weight: 700; color: #0d3b6e; }

.style-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.style-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid #dde0e8;
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  font-size: 10.5pt;
}
.style-option input { display: none; }
.style-option.selected {
  border-color: #0d3b6e;
  background: #f0f5fb;
  font-weight: 600;
}

.price-line {
  font-size: 20pt;
  font-weight: 700;
  color: #0d3b6e;
  text-align: center;
  margin: 20px 0;
}
.price-sub {
  text-align: center;
  font-size: 10pt;
  color: #888;
  margin-bottom: 20px;
}

.spinner {
  display: inline-block;
  width: 32px; height: 32px;
  border: 3px solid #dde8f0;
  border-top-color: #0d3b6e;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin-bottom: 16px;
}
@keyframes spin { to { transform: rotate(360deg); } }

.status-icon { font-size: 40pt; text-align: center; margin-bottom: 12px; }

.divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 32px 0;
}

.resend-section h2 { margin-bottom: 12px; }

.turnstile-wrapper {
  display: flex;
  justify-content: center;
  margin: 12px 0;
}

footer {
  background: #0d3b6e;
  color: white;
  text-align: center;
  padding: 24px 20px;
  margin-top: 48px;
}
footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  margin: 0 16px;
  font-size: 11pt;
}
footer a:hover { color: white; }

.blog-header { text-align: center; margin-bottom: 48px; }
.blog-header .brand-link {
  font-size: 13pt;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #0d3b6e;
  text-decoration: none;
}
.blog-header h1 { font-size: 28pt; color: #0d3b6e; margin-bottom: 8px; }
.blog-header p { color: #888; font-size: 12pt; }

.post-card {
  background: white;
  border-radius: 10px;
  padding: 28px 32px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  margin-bottom: 20px;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.2s;
}
.post-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.post-card h2 { font-size: 16pt; color: #0d3b6e; margin-bottom: 8px; }
.post-card .excerpt { color: #666; font-size: 11pt; line-height: 1.6; margin-bottom: 12px; }
.post-card .meta { font-size: 10pt; color: #999; }
.post-card .meta span { margin-right: 12px; }

.category-tabs { display: flex; gap: 8px; margin-bottom: 32px; flex-wrap: wrap; justify-content: center; }
.category-tab {
  padding: 8px 18px;
  border-radius: 20px;
  font-size: 10.5pt;
  color: #666;
  background: white;
  border: 1.5px solid #dde0e8;
  text-decoration: none;
  transition: all 0.2s;
}
.category-tab:hover, .category-tab.active { background: #0d3b6e; color: white; border-color: #0d3b6e; }

.post-content { background: white; border-radius: 10px; padding: 40px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.post-content h1 { font-size: 24pt; color: #0d3b6e; margin-bottom: 8px; }
.post-content .post-meta { font-size: 10.5pt; color: #999; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid #eee; }
.post-content .post-meta span { margin-right: 16px; }
.post-content h2 { font-size: 15pt; color: #0d3b6e; margin: 28px 0 12px; }
.post-content h3 { font-size: 12pt; color: #0d3b6e; margin: 20px 0 8px; font-weight: 600; }
.post-content p { color: #444; line-height: 1.7; margin-bottom: 14px; font-size: 11.5pt; }
.post-content ul, .post-content ol { color: #444; line-height: 1.8; margin-bottom: 14px; padding-left: 24px; font-size: 11.5pt; }
.post-content li { margin-bottom: 6px; }
.post-content table { width: 100%; border-collapse: collapse; margin-bottom: 16px; font-size: 11pt; }
.post-content th { background: #f0f5fb; color: #0d3b6e; font-weight: 600; text-align: left; padding: 10px 14px; border-bottom: 2px solid #dde0e8; }
.post-content td { padding: 10px 14px; border-bottom: 1px solid #eee; color: #444; }
.post-content blockquote { border-left: 4px solid #7ec8e3; background: #f0f5fb; padding: 14px 18px; margin: 16px 0; border-radius: 0 6px 6px 0; color: #555; }
.post-content a { color: #0d3b6e; }
.post-content strong { color: #1a1a2e; }
.post-back { margin-top: 24px; }
.post-back a { color: #0d3b6e; font-size: 11pt; text-decoration: none; }
.post-back a:hover { text-decoration: underline; }

.post-cover { width: 100%; border-radius: 10px 10px 0 0; margin-bottom: 0; display: block; }
.cover-credit { font-size: 9pt; color: #999; margin: 4px 0 16px; font-style: italic; }
.post-card-image { width: 100%; border-radius: 10px 10px 0 0; display: block; margin-bottom: 0; }
.post-card-image + h2 { margin-top: 12px; }
.post-content img { max-width: 100%; border-radius: 6px; margin: 16px 0; }
.post-content em { color: #888; font-size: 10pt; }