/* ==========================================================================
   Corsock Forestry Limited — corsock-glen.css
   Refreshed circa 2011-2012: the fixed 760px column gave way to a fluid,
   wider shell; the bevelled inset panels became flat cards with rounded
   corners and a soft shadow; body copy moved off 11px Verdana onto a
   cleaner sans stack. Still olive and bark — that never changed — and the
   masthead timber texture and nav arrow bullets survive the refresh.
   ========================================================================== */

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: #6b6047 url("../images/bg-weave.svg") repeat;
  font: 14px/1.65 "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  color: #2f2a1e;
}

.jump {
  position: absolute; left: -9999px; top: 0;
  background: #4c5a2b; color: #fff; padding: 8px 14px; z-index: 20;
}
.jump:focus { left: 0; }

#shell {
  max-width: 1000px;
  margin: 20px auto 34px;
  background: #f4f1e6;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(20, 18, 10, 0.35);
  overflow: hidden;
}

/* ---- masthead ---------------------------------------------------------- */
.masthead {
  background: #4c5a2b url("../images/rule-trees.svg") no-repeat right bottom;
  padding: 20px 24px 18px;
}
.masthead h1, .masthead .mast-name {
  font: normal 25px/1.15 Georgia, "Times New Roman", serif;
  color: #f2eedd;
  letter-spacing: 0.5px;
}
.masthead .mast-name a { color: #f2eedd; text-decoration: none; display: flex; align-items: center; gap: 12px; }
.masthead .mast-name .cf-logo { flex: none; border-radius: 6px; }
.masthead .mast-line {
  display: block; font: normal 12px/1.4 "Segoe UI", Arial, sans-serif;
  letter-spacing: 2.4px; text-transform: uppercase; color: #d3e0ad; margin-top: 6px;
}

.regstrip {
  background: #e3ddc6;
  padding: 7px 24px;
  font-size: 12px;
  color: #5d5540;
}

/* ---- layout ------------------------------------------------------------ */
.cols { padding: 22px 24px 28px; }
.cols:after { content: ""; display: block; clear: both; }

.side { float: left; width: 200px; }
.main { margin-left: 226px; }

/* ---- navigation -------------------------------------------------------- */
.menu-btn { display: none; }

.side h2, .main h2 {
  font: bold 12px "Segoe UI", sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #4c5a2b;
  border-bottom: 2px solid #7d8f4a;
  padding-bottom: 5px;
  margin-bottom: 10px;
}
.pagelinks ul { list-style: none; margin-bottom: 20px; }
.pagelinks li { margin-bottom: 2px; }
.pagelinks li a {
  display: block;
  border-radius: 4px;
  padding: 7px 8px 7px 18px;
  background: #f4f1e6 url("../images/arrow.svg") no-repeat 6px center;
  color: #3d4a22;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.pagelinks li a:hover, .pagelinks li a:focus { background-color: #e9e4d2; color: #1f2a0c; }
.pagelinks li a[aria-current="page"] { font-weight: bold; background-color: #dcd5b7; }

.panel {
  background: #ece7d6;
  border-radius: 6px;
  box-shadow: inset 0 0 0 1px #d9d1b0;
  padding: 13px 15px;
  margin-bottom: 16px;
}
.panel h3 { font-size: 12px; color: #4c5a2b; margin-bottom: 6px; }
.panel p, .panel address { font-size: 12.5px; color: #4f4835; font-style: normal; }

/* ---- body copy --------------------------------------------------------- */
.main h1 {
  font: normal 22px/1.3 Georgia, "Times New Roman", serif;
  color: #3d4a22; margin-bottom: 14px;
  padding-bottom: 8px; border-bottom: 2px solid #d9d1b0;
}
.main h2 { font-size: 15px; text-transform: none; letter-spacing: 0; margin-top: 20px; border: 0; padding: 0; }
.main h3 { font-size: 13px; color: #5c4a24; margin: 16px 0 5px; }
.main p { margin-bottom: 12px; }
.main ul, .main ol { margin: 0 0 14px 22px; }
.main li { margin-bottom: 5px; }

.lead {
  background: #ece7d6; border-left: 4px solid #7d8f4a; border-radius: 0 6px 6px 0;
  padding: 12px 15px; margin-bottom: 16px;
}

.figure { float: right; width: 260px; margin: 2px 0 12px 16px; }
.figure img {
  display: block; width: 100%; height: auto;
  border-radius: 5px; box-shadow: 0 1px 5px rgba(20, 18, 10, 0.3);
}
.figure figcaption { font-size: 12px; color: #6b6250; padding-top: 5px; }

dl.plainlist { margin: 0 0 16px; }
dl.plainlist dt { font-weight: bold; color: #4c5a2b; margin-top: 10px; }
dl.plainlist dd { margin: 0 0 0 14px; }

table.regline { border-collapse: separate; border-spacing: 0; width: 100%; margin-bottom: 14px; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px #d9d1b0; }
table.regline caption { text-align: left; font-size: 12px; color: #6b6250; padding-bottom: 5px; }
table.regline th, table.regline td {
  border-bottom: 1px solid #d9d1b0; padding: 8px 10px; text-align: left; font-size: 12.5px;
  vertical-align: top;
}
table.regline tr:last-child th, table.regline tr:last-child td { border-bottom: 0; }
table.regline th { background: #e3ddc6; width: 38%; font-weight: bold; color: #4a4331; }

.wide { overflow-x: auto; margin-bottom: 14px; }
table.creditgrid { border-collapse: separate; border-spacing: 0; width: 100%; font-size: 12.5px; border-radius: 5px; overflow: hidden; box-shadow: 0 0 0 1px #d9d1b0; }
table.creditgrid caption { text-align: left; color: #6b6250; padding-bottom: 5px; }
table.creditgrid th, table.creditgrid td {
  border-bottom: 1px solid #d9d1b0; padding: 8px 10px; text-align: left; vertical-align: top;
}
table.creditgrid th { background: #e3ddc6; color: #4a4331; }

.rule { border: 0; border-top: 1px solid #d9d1b0; margin: 20px 0; }

/* ---- footer ------------------------------------------------------------ */
.footblock {
  clear: both;
  background: #e3ddc6;
  padding: 14px 24px;
  font-size: 12px;
  color: #5d5540;
}
.footblock a { color: #4c5a2b; }
.footblock p { margin-bottom: 5px; }
.footblock address { font-style: normal; }
.footblock .foot-legal { color: #4a4331; }

a { color: #4c5a2b; }
a:hover { color: #7a3d10; }
a:focus { outline: 2px solid #7d8f4a; outline-offset: 1px; }

/* ---- cookie notice ----------------------------------------------------- */
.ck-glen {
  position: fixed; left: 0; right: 0; bottom: 0;
  background: #3f3826; color: #ece7d6; padding: 13px 20px; font-size: 12.5px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3); text-align: left;
}
.ck-glen p { margin-bottom: 8px; }
.ck-glen a { color: #cdd9a4; }
.ck-glen button {
  font: 12.5px "Segoe UI", sans-serif; padding: 7px 14px; margin-right: 8px;
  background: #ece7d6; border: 0; border-radius: 4px; color: #2f2a1e; cursor: pointer;
  transition: background-color 0.15s ease;
}
.ck-glen button:hover { background: #fff; }

/* ---- responsive --------------------------------------------------------- */
@media (max-width: 860px) {
  #shell { max-width: none; margin: 0; border-radius: 0; }
  .side { float: none; width: auto; }
  .main { margin-left: 0; margin-top: 20px; }
  .masthead .mast-name { font-size: 20px; }
  .thumbrow .cell { float: none; width: auto; margin: 0 0 12px; }
  .thumbrow img { height: 140px; }
  table.regline th { width: 42%; }
  .figure { float: none; width: auto; margin: 0 0 14px; }
}
