.webform {
  overflow: visible;
}

#resource_wrap {
  width: 100%;
  margin-top:12px;
}

#resource {
  width: 100%;
  height: 320px;
  min-height: 320px;
  border-radius:16px;
  overflow:hidden;
}

.resource-landing-actions {
  margin-left: 61px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.resource-landing-preview {
  max-width: 100%;
  margin: 32px 0 32px 0;
}

.resource-preview-image {
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
}

.resource-preview-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.g-recaptcha {
  display: block;
  margin-top: 14px;
}

.grecaptcha-badge {
  bottom: 110px !important;
}

#resourceheaderblock {
  margin-top: 30px;
  margin-bottom: 30px;
}

#resourceblock {
  width: min(700px, 100%);
  box-sizing: border-box;
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

#resourceblock1 {
  float: none;
  width: auto;
  flex: 0 0 auto;
  margin-right: clamp(12px, 3vw, 24px);
}

#resourceblock2 {
  float: none;
  width: auto;
  flex: 1 1 auto;
  min-width: 0;
}

.resource-layout {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
  justify-content: flex-start;
  max-width: 1600px;
}

.resource-form {
  flex: 0 0 720px;
  max-width: 100%;
}

.resource-info {
  flex: 1 1 320px;
  min-width: 320px;
  max-width: 100%;
  margin-left: 40px;
}

#resourceblock1 img {
  width: clamp(150px, 16vw, 300px);
  height: auto;
  display: block;
}

.resource-manage-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 40px 0;
}

.ff-action-button,
.ff-action-button:link,
.ff-action-button:visited {
  display: inline-block;
  font-family: PrimaryExtraBoldFont2, PrimaryExtraBoldFont, PrimaryMediumFont, PrimaryFont, sans-serif;
  font-weight: 800;
  font-size: 18px;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: #abca4a;
  background: #cde6f4;
  border: 1px solid #000;
  border-radius: 12px;
  padding: 10px 12px;
  cursor: pointer;
  appearance: none;

  text-shadow:
    -1px -1px 0 #000,
     0px -1px 0 #000,
     1px -1px 0 #000,
    -1px  0px 0 #000,
     1px  0px 0 #000,
    -1px  1px 0 #000,
     0px  1px 0 #000,
     1px  1px 0 #000;
}

.ff-action-button:hover,
.ff-action-button:focus,
.ff-action-button:focus-visible,
.ff-action-button:active {
  color: #f38109;
  text-decoration: none;
  background: #b8dbef;
  outline: none;
}

@media only screen and (max-width: 740px) {
  .ff-action-button {
    font-size: 14px;
    padding: 10px 12px;
  }

  .resource-manage-button {
    font-size: 14px;
    letter-spacing: 0.12em;
    padding: 10px 18px;
  }
}

@media only screen and (max-width: 800px) {

  #resourceheaderblock {
    width: auto;
    padding-left: 15px;
    padding-right: 15px;
  }

  #resourceblock {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 12px;
  }

  #resourceblock1 {
    display: block;
    flex: 0 0 auto;
  }

  #resourceblock2 {
    flex: 1 1 auto;
    min-width: 0;
    width: auto;
    margin-bottom: 20px;
  }

  .resource-layout {
    flex-direction: column;
  }

  .resource-form,
  .resource-info {
    flex: none;
    width: 100%;
  }

  .resource-info,
  .resource-info p {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .resource-info {
    padding-left: 15px;
    padding-right: 15px;
    box-sizing: border-box;
    margin-left: 0;
    max-width: 100%;
  }

  .resource-info p {
    margin-left: 0;
    margin-right: 0;
  }
  
}

.rs-report-wrap {
  margin: 20px 0 30px 0;
}

.rs-report-summary {
  margin: 0 0 14px 0;
  font-size: 1.05rem;
  font-weight: 700;
}

.rs-report-empty {
  padding: 14px 16px;
  border: 1px solid #d7dbe2;
  border-radius: 10px;
  background: #f7f9fc;
}

.rs-report-tablewrap {
  width: 100%;
  overflow-x: auto;
}

.rs-report-table {
  width: 100%;
  min-width: 1200px;
  border-collapse: collapse;
  table-layout: fixed;
  background: #fff;
  border: 1px solid #d7dbe2;
}

.rs-report-table th,
.rs-report-table td {
  padding: 10px 12px;
  border: 1px solid #d7dbe2;
  text-align: left;
  vertical-align: top;
  font-size: 0.95rem;
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.rs-report-table th {
  background: #1f2937;
  color: #fff;
  font-weight: 700;
  position: sticky;
  top: 0;
}

.rs-report-table tbody tr:nth-child(even) {
  background: #f8fafc;
}

.rs-report-table tbody tr:hover {
  background: #eef6ff;
}

.rs-report-name {
  font-weight: 700;
  margin-bottom: 6px;
}

.rs-report-url {
  font-size: 0.88rem;
}

.rs-report-submittername {
  font-weight: 600;
  margin-bottom: 4px;
}

.rs-report-submitteremail {
  font-size: 0.9rem;
}

.rs-col-resource   { width: 18%; }
.rs-col-category   { width: 10%; }
.rs-col-discipline { width: 10%; }
.rs-col-desc       { width: 24%; }
.rs-col-submitter  { width: 14%; }
.rs-col-owner      { width: 7%;  text-align: center; }
.rs-col-date       { width: 10%; }
.rs-col-ip         { width: 9%;  }
.rs-col-status     { width: 8%;  }

@media (max-width: 900px) {
  .rs-report-table th,
  .rs-report-table td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}
