.mindspark-documents-page { color: #183b31; }
.mindspark-documents-page .subpage { max-width: 1440px; margin-inline: auto; }
.mindspark-documents-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; margin: 20px; padding: clamp(24px, 4vw, 60px); border: 1px solid #cbd9cb; border-radius: 12px; background: linear-gradient(120deg, #f0f6eb, #fffdf4); }
.mindspark-documents-hero h1 { margin: 12px 0 22px; font: 700 clamp(34px, 4vw, 56px)/1.1 Georgia, serif; color: #124d36; }
.mindspark-documents-hero > img { width: 100%; height: auto; padding: 20px; box-sizing: border-box; border-radius: 10px; background: #06121d; }
.mindspark-documents-hero p, .mindspark-resources-section > p, .mindspark-resource-return p { font-size: 17px; line-height: 1.7; }
.mindspark-resources-section { padding: 30px clamp(22px, 5vw, 72px); scroll-margin-top: 140px; }
.mindspark-documents-page h2 { color: #124d36; font: 700 clamp(27px, 3vw, 36px)/1.2 Georgia, serif; margin: 12px 0 20px; }
.mindspark-presentation-video { display: block; width: 100%; aspect-ratio: 16/9; border-radius: 10px; background: #000; margin-top: 24px; }
.mindspark-presentation-caption { display: flex; justify-content: space-between; gap: 15px; flex-wrap: wrap; }
.mindspark-document-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 28px; }
.mindspark-document-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #cbd9cb; border-radius: 9px; background: #fff; overflow: hidden; }
.mindspark-document-card .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mindspark-document-cover { display: flex; align-items: center; justify-content: center; height: 280px; padding: 15px; background: #e9eee4; border-bottom: 1px solid #cbd9cb; }
.mindspark-document-cover img { display: block; max-width: 100%; max-height: 100%; object-fit: contain; box-shadow: 0 3px 12px #183b3120; }
.mindspark-document-content { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.mindspark-document-type { margin: 0 0 12px; color: #42614e; font-size: 14px; font-weight: 700; }
.mindspark-document-card h3 { margin: 0 0 14px; color: #183f35; font-size: 20px; line-height: 1.35; }
.mindspark-document-meta { margin: auto 0 20px; padding-top: 10px; color: #4b6154; font-size: 14px; }
.mindspark-document-actions { display: flex; gap: 14px 18px; align-items: center; flex-wrap: wrap; }
.mindspark-document-actions a:not(.button) { color: #155534; text-decoration: underline; text-underline-offset: 3px; font-weight: 700; }
.mindspark-document-card.is-selected { outline: 3px solid #b78618; outline-offset: 2px; }
.mindspark-reader-stage { position: relative; overflow: auto; max-height: 85vh; margin-top: 20px; border: 1px solid #b6c8b6; border-radius: 8px; background: #e9eee4; user-select: none; -webkit-user-select: none; }
.mindspark-reader-stage img { display: block; width: 100%; max-width: none; height: auto; margin-inline: auto; }
.mindspark-reader-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.mindspark-reader-controls button { min-height: 44px; min-width: 44px; padding: 8px 14px; border: 1px solid #6c8d76; border-radius: 5px; background: #fffef5; color: #183b31; font: 700 15px/1.4 Arial,sans-serif; cursor: pointer; }
.mindspark-reader-controls button:disabled { opacity: .5; cursor: default; }
.mindspark-reader-accessible-text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: pre-wrap; border: 0; }
@media print { .mindspark-reader-stage, .mindspark-presentation-video { display: none !important; } }
.mindspark-reader-help { color: #4b6154; }
.mindspark-resource-return { margin: 20px 20px 50px; padding: 28px 36px; background: #f0f6eb; border: 1px solid #cbd9cb; border-radius: 10px; }
@media (max-width: 1100px) { .mindspark-document-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 700px) { .mindspark-documents-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; margin: 12px; } .mindspark-resources-section { padding: 24px 20px; } .mindspark-document-cover { height: 240px; } .mindspark-document-gallery { gap: 14px; } .mindspark-document-content { padding: 16px; } .mindspark-resource-return { margin-inline: 12px; padding: 24px; } }
@media (max-width: 480px) { .mindspark-document-gallery { grid-template-columns: minmax(0, 1fr); } .mindspark-document-cover { height: 300px; } }
