/*! Draftingware Confidential. Copyright (c) 2024–2026 Draftingware Technologies Pvt. Ltd. All rights reserved. */

/* ── Sticky footer (page content can be shorter than the viewport) ── */
.annual-returns-body {
   display: flex;
   flex-direction: column;
   min-height: 100vh;
   min-height: 100dvh;
}

.annual-returns-body > .annual-returns-page { flex: 1 0 auto; }

.annual-returns-body > .site-footer { flex-shrink: 0; }

/* ── Page wrapper (offsets fixed nav, matches contact-page) ── */
.annual-returns-page {
   padding-top: 74px;
}

/* ── Layout ── */
.annual-returns-section {
   background: #f5f5f7;
   padding: 56px 20px 100px;
}

/* ── Heading (same pattern as .contact-heading) ── */
.annual-returns-heading {
   font-size: clamp(40px, 4vw, 56px);
   font-weight: 700;
   letter-spacing: -0.03em;
   line-height: 1.05;
   color: var(--color-text-primary);
   margin: 8px 0 24px;
}

/* ── Entity block ── */
.ar-entity {
   font-size: 15px;
   color: var(--color-text-secondary);
   line-height: 1.7;
   margin-bottom: 40px;
}

/* ── Table ── */
.ar-table {
   width: 100%;
   max-width: 640px;
   border-collapse: collapse;
}

.ar-table th {
   font-family: var(--font-mono);
   font-size: 9px;
   font-weight: 500;
   letter-spacing: 0.14em;
   text-transform: uppercase;
   color: rgba(0, 0, 0, 0.40);
   text-align: left;
   padding: 0 0 12px;
   border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
}

.ar-table td {
   padding: 20px 0;
   border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
   vertical-align: top;
}

.ar-year {
   font-size: 17px;
   font-weight: 600;
   color: var(--color-text-primary);
   white-space: nowrap;
}

.ar-doc {
   font-size: 15px;
   font-weight: 500;
   color: var(--color-text-primary);
}

.ar-doc-sub {
   display: block;
   font-size: 12px;
   font-weight: 400;
   color: var(--color-text-secondary);
   margin-top: 4px;
}

.ar-download a {
   font-size: 14px;
   font-weight: 600;
   color: var(--color-accent-amber);
   text-decoration: none;
}

.ar-download a:hover {
   text-decoration: underline;
   text-underline-offset: 3px;
}

/* ── Note ── */
.ar-note {
   max-width: 640px;
   font-size: 14px;
   color: var(--color-text-secondary);
   line-height: 1.7;
   margin-top: 32px;
}

/* ── Responsive ── */
@media (max-width: 767px) {
   .annual-returns-section {
      padding: 56px 20px 64px;
   }

   .ar-entity {
      margin-bottom: 32px;
   }

   /* Header row stays in the accessibility tree, hidden visually */
   .ar-table thead {
      position: absolute;
      width: 1px;
      height: 1px;
      padding: 0;
      margin: -1px;
      overflow: hidden;
      clip: rect(0, 0, 0, 0);
      white-space: nowrap;
   }

   .ar-table,
   .ar-table tbody,
   .ar-table tr,
   .ar-table td {
      display: block;
      width: 100%;
   }

   .ar-table tr {
      padding: 20px 0;
      border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
   }

   .ar-table td {
      padding: 12px 0 0;
      border-bottom: none;
      text-align: left;
   }

   .ar-table td:first-child {
      padding-top: 0;
   }

   .ar-table td::before {
      content: attr(data-label);
      display: block;
      font-family: var(--font-mono);
      font-size: 9px;
      text-transform: uppercase;
      letter-spacing: 0.14em;
      color: rgba(0, 0, 0, 0.40);
      margin-bottom: 4px;
   }

   .ar-download {
      margin-top: 4px;
   }
}
