
:root{
  --page-bg:#9faec2;
  --ink:#333333;
  --muted:#6f7783;
  --link:#000066;
  --line:#e0e0e0;
  --panel:#ffffff;
  --soft:#eef2f7;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:#9faec2 url("images/site/topbg.png") repeat-x top left;
  font-family:Arial, Helvetica, sans-serif;
  font-size:14px;
  color:var(--ink);
}
a{color:var(--link);text-decoration:none}
a:hover{color:#0000cc;text-decoration:underline}
#wrap{
  width:950px;
  max-width:calc(100% - 24px);
  min-height:450px;
  margin:0 auto 30px;
  background:#fff;
  box-shadow:0 8px 28px rgba(30,45,65,.22);
}
.site-header{
  width:100%;
  height:141px;
  background:#dce4f0 url("images/site/header.jpg") no-repeat top right;
}
.top-menu{
  min-height:60px;
  background:#5e718d url("images/site/menu_topbg.jpg") repeat-x top left;
  padding:11px 22px 8px;
}
.top-menu ul{list-style:none;margin:0;padding:0;display:flex;gap:24px;flex-wrap:wrap}
.top-menu a{color:#fafafa;font-size:14px;font-weight:bold;text-decoration:none}
.top-menu a:hover{color:#dce5ff;text-decoration:none}
#content{
  display:grid;
  grid-template-columns:170px minmax(0,1fr);
  gap:20px;
  padding:10px 22px 28px 30px;
  background:#fff;
}
.sidebar{
  border-right:1px solid var(--line);
  padding:10px 18px 0 0;
  min-height:500px;
}
.sidebar h2{
  color:#000033;
  font-family:Georgia,serif;
  font-weight:normal;
  font-size:22px;
  margin:0 0 16px;
}
.sidebar img.archive-thumb{width:150px;height:auto;display:block;margin:0 0 16px}
.sidebar nav a{display:block;font-size:14px;line-height:1.45;margin:0 0 7px}
.main{
  padding:6px 4px 0 0;
}
.main h1{
  font-family:Georgia, "Times New Roman", serif;
  font-size:32px;
  line-height:1.1;
  font-weight:normal;
  color:#000033;
  margin:8px 0 6px;
}
.intro{
  color:#555;
  font-size:14px;
  max-width:700px;
}
.notice{
  background:#f7f9fc;
  border:1px solid #d8e0ed;
  padding:12px 14px;
  margin:14px 0 18px;
}
.toolbar{
  display:flex;
  align-items:center;
  gap:12px;
  margin:18px 0;
  flex-wrap:wrap;
}
.search{
  flex:1 1 280px;
  border:1px solid #bac7d8;
  border-radius:4px;
  padding:10px 12px;
  font:inherit;
  color:#222;
  background:#fff;
}
.count{
  color:#667;
  font-size:13px;
}
.gallery{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(132px,1fr));
  gap:18px 16px;
  align-items:start;
}
.card{
  text-align:center;
  color:#333;
}
.card a{
  display:block;
  color:#333;
  text-decoration:none;
}
.card img{
  width:112px;
  height:82px;
  object-fit:cover;
  border:1px solid #b8c2d3;
  background:#f1f1f1;
  padding:3px;
  box-shadow:0 2px 5px rgba(0,0,0,.12);
}
.card a:hover img{
  border-color:#000066;
}
.caption{
  margin:6px auto 0;
  max-width:130px;
  font-size:12px;
  line-height:1.25;
  color:#333;
}
.photo-layout{
  display:grid;
  grid-template-columns:minmax(0,1fr) 240px;
  gap:22px;
  align-items:start;
}
.photo-main img{
  max-width:100%;
  height:auto;
  display:block;
  border:1px solid #c9d2df;
  padding:5px;
  background:#fff;
  box-shadow:0 3px 10px rgba(0,0,0,.14);
}
.photo-panel{
  background:#f7f9fc;
  border:1px solid #d8e0ed;
  padding:14px;
}
.photo-panel h2{
  font-size:18px;
  color:#000033;
  margin:0 0 10px;
}
.buy-button{
  display:inline-block;
  background:#000066;
  color:#fff;
  font-weight:bold;
  padding:9px 12px;
  border-radius:3px;
  margin-top:10px;
}
.buy-button:hover{color:#fff;background:#0000aa;text-decoration:none}
.footer{
  clear:both;
  padding:14px 22px 24px;
  color:#777;
  font-size:12px;
  border-top:1px solid #e6e6e6;
}
.original-notes{
  margin-top:22px;
  padding:14px;
  background:#fffbe8;
  border:1px solid #eadf9a;
  font-size:13px;
}
@media(max-width:760px){
  #wrap{max-width:100%;margin:0}
  .site-header{height:100px;background-size:cover;background-position:center right}
  #content{grid-template-columns:1fr;padding:16px}
  .sidebar{border-right:0;border-bottom:1px solid var(--line);min-height:0;padding:0 0 16px}
  .photo-layout{grid-template-columns:1fr}
  .gallery{grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}
	
	
}


/* --- Refreshed rounded-nav version --- */
:root{
  --page-bg:#e9edf3;
  --ink:#2d3340;
  --muted:#667085;
  --link:#213c75;
  --nav:#23395d;
  --nav-hover:#31527f;
  --panel:#ffffff;
  --line:#d9e0ea;
  --cream:#fbfaf6;
}
body{
  background:linear-gradient(#d9e2ee 0,#f4f1e9 360px,#f4f1e9 100%);
  font-family:Arial, Helvetica, sans-serif;
  color:var(--ink);
}
#wrap{
  width:1080px;
  max-width:calc(100% - 28px);
  background:transparent;
  box-shadow:none;
  margin:18px auto 36px;
}
.site-header{
  height:141px;
  background:#dce4f0;
  border-radius:8px 8px 0 0;
  overflow:hidden;
  box-shadow:0 8px 26px rgba(25,38,55,.16);
  position:relative;
}

.site-header img{
  display:block;
  width:100%;
  height:auto;
}
.logo-replace-note{
  position:absolute;
  left:18px;
  bottom:12px;
  background:rgba(255,255,255,.76);
  color:#20304d;
  padding:6px 10px;
  border-radius:6px;
  font-size:12px;
  text-decoration:none;
}
.logo-replace-note:hover{text-decoration:none;background:#fff;color:#20304d}
.top-menu.rounded{
  background:#23395d;
  padding:0;
  min-height:0;
  margin:0 auto 20px;
  border-radius:0 0 8px 8px;
  display:flex;
  justify-content:center;
  position:relative;
  z-index:5;
}
.top-menu.rounded ul{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  justify-content:center;
  align-items:center;
  list-style:none;
  margin:0 20px;
  padding:9px;
  background:transparent;
border:0;
border-radius:0;
box-shadow:none;
}
.top-menu.rounded a{
  display:block;
  color:#fff;
  font-weight:700;
  font-size:14px;
  padding:9px 14px;
  border-radius:6px;
  text-decoration:none;
}
.top-menu.rounded a:hover,
.top-menu.rounded a.active{
  background:#fff;
  color:var(--nav);
  text-decoration:none;
}
#content{
  display:block;
  background:#fff;
  padding:18px clamp(18px,4vw,46px) 36px;
  border-radius:8px;
  box-shadow:0 8px 26px rgba(25,38,55,.14);
}
.main{padding:0;max-width:100%}
.main h1{
  font-size:clamp(2rem,4vw,3rem);
  margin:0 0 10px;
  color:#16284b;
}
.intro{font-size:15px;max-width:790px;color:#505a68}
.notice{
  background:#f6f8fb;
  border:1px solid var(--line);
  border-radius:6px;
}
.toolbar{
  background:#fbfaf6;
  border:1px solid #e2d9c9;
  border-radius:6px;
  padding:12px;
}
.search{
  border-radius:6px;
  padding:12px 16px;
}
.gallery{
  grid-template-columns:repeat(auto-fill,minmax(170px,1fr));
  gap:22px;
}
.card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:6px;
  overflow:hidden;
  box-shadow:0 4px 16px rgba(25,38,55,.08);
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(25,38,55,.13)}
.card img{
  width:100%;
  height:130px;
  object-fit:cover;
  border:0;
  padding:0;
  box-shadow:none;
  display:block;
}
.caption{
  max-width:none;
  padding:10px 12px 12px;
  margin:0;
  font-size:13px;
  line-height:1.3;
}
.photo-layout{
  grid-template-columns:minmax(0,1fr) minmax(260px,330px);
  gap:28px;
}
.photo-main img,
.photo-panel{
  border-radius:6px;
}
.photo-panel{
  background:#fbfaf6;
  border-color:#e2d9c9;
}
.buy-button{
  background:var(--nav);
  border-radius:6px;
  padding:11px 16px;
}
.footer{
  text-align:center;
  border-top:0;
  color:#697386;
}
.sidebar{display:none!important}
@media(max-width:760px){
  #wrap{max-width:100%;margin:0 auto 20px}
 .site-header{
  height:auto;
  border-radius:0;
}
 .top-menu.rounded{margin:0 0 14px}
  .top-menu.rounded ul{border-radius:22px;margin:0 12px}
  #content{border-radius:0;padding:20px 14px}
  .gallery{grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:14px}
  .card img{height:115px}
}

.site-header img{
  display:block;
  width:100%;
  height:auto;
}

.site-header{
  height:auto;
  background:#dce4f0;
}

.top-menu.rounded{
  margin:0 auto 10px;
}

@media(max-width:760px){
  .top-menu.rounded ul{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    padding:10px;
  }

  .top-menu.rounded a{
    font-size:15px;
    padding:8px 12px;
  }
	
	.buy-buttons{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:18px;
}

.buy-buttons .buy-button{
  flex:1;
}

.buy-button.secondary{
  background:#8a6f4d;
}

.photo-detail .photo-panel p{
  line-height:1.5;
}

	.photo-detail h1{
  margin-top:28px;
}
	
	.photo-nav{
  margin-bottom:40px !important;
}
	
	.photo-layout{
    display:block;
  }

  .photo-main img{
    width:100%;
    height:auto;
  }

  .photo-panel{
    margin-top:16px;
  }
}

.buy-buttons{
  display:flex;
  flex-wrap:wrap;
  column-gap:12px;
  row-gap:10px;
  margin-top:18px;
}

.buy-buttons .buy-button{
  margin:0;
}

.archive-index h2{
  margin:36px 0 16px;
  padding-bottom:8px;
  border-bottom:1px solid var(--line);
  font-family:Georgia, "Times New Roman", serif;
  font-size:25px;
  font-weight:normal;
  color:#16284b;
}

.archive-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:22px;
}

.archive-tile{
  display:flex;
  flex-direction:column;
  align-items:center;
  overflow:hidden;
  background:#fff;
  border:1px solid var(--line);
  border-radius:8px;
  box-shadow:0 4px 16px rgba(25,38,55,.08);
  color:var(--ink);
  text-align:center;
  text-decoration:none;
  transition:transform .15s ease, box-shadow .15s ease;
}

.archive-tile:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 22px rgba(25,38,55,.14);
  color:var(--ink);
  text-decoration:none;
}

.archive-preview{
  display:block;
  width:100%;
  height:125px;
  object-fit:cover;
  border-bottom:1px solid var(--line);
  background:#eef2f7;
}

.archive-button{
  display:block;
  max-width:calc(100% - 28px);
  height:auto;
  margin:15px auto 8px;
}

.archive-text-button{
  display:inline-block;
  margin:15px 14px 8px;
  padding:8px 18px;
  background:#23395d;
  border-radius:6px;
  color:#fff;
  font-family:Georgia, "Times New Roman", serif;
  font-size:18px;
  line-height:1.15;
}

.archive-tile > span:last-child{
  padding:0 16px 17px;
  color:#596273;
  font-size:13px;
  line-height:1.45;
}

@media(max-width:760px){
  .archive-grid{
    grid-template-columns:repeat(auto-fill,minmax(150px,1fr));
    gap:14px;
  }

  .archive-preview{
    height:105px;
  }

  .archive-tile > span:last-child{
    padding:0 12px 14px;
    font-size:12px;
  }
}

/* Modernised archive category button */

.archive-modern-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:150px;
  max-width:calc(100% - 28px);
  margin:16px 14px 9px;
  padding:3px;

  background:linear-gradient(
    to bottom,
    #b9d4e7 0%,
    #789fbd 22%,
    #315f86 58%,
    #244d73 100%
  );

  border:1px solid #668eab;
  border-radius:8px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.75),
    inset 0 -1px 0 rgba(10,43,72,.35),
    0 4px 8px rgba(25,38,55,.18);
}

.archive-modern-button__label{
  display:block;
  width:100%;
  padding:7px 18px 8px;

  background:linear-gradient(
    to bottom,
    rgba(255,255,255,.18),
    rgba(255,255,255,.02)
  );

  border-radius:5px;

  color:#fff;
  font-family:Georgia, "Times New Roman", serif;
  font-size:18px;
  line-height:1.05;
  text-align:center;
  text-shadow:0 1px 2px rgba(8,35,61,.75);
}

/* ==========================================================
   Information pages
   ========================================================== */

.information-panel{
  margin:0 0 22px;
  padding:26px 28px;
  background:#fff;
  border:1px solid #d9e0e8;
  border-radius:8px;
  box-shadow:0 4px 16px rgba(25,38,55,.07);
}

/* Main section headings:
   Walton History & Local Interest,
   Archive Resources,
   Older Walton Resources */

.information-panel > h2{
  margin:38px 0 6px;
  padding:0 0 12px;
  border-bottom:2px solid #9db5ca;

  color:#17375f;
  font-family:Georgia, "Times New Roman", serif;
  font-size:2rem;
  font-weight:normal;
  line-height:1.15;
}

.information-panel > h2:first-child{
  margin-top:0;
}


/* ==========================================================
   Individual Walton resource listings
   ========================================================== */

.walton-link-item{
  margin:0;
  padding:22px 0;
  border-bottom:1px solid #dce3ea;
}

/* Individual resource titles:
   Walton Tales, Naze Tower, etc. */

.walton-link-item h3{
  margin:0 0 8px;

  color:#294f75;
  font-family:Georgia, "Times New Roman", serif;
  font-size:1.35rem;
  font-weight:bold;
  line-height:1.25;
}

.walton-link-item p{
  max-width:900px;
  margin:0 0 11px;
}

.walton-link-item p:last-child{
  margin-bottom:0;
}

/* Actual clickable links */

.walton-link-item a{
  color:#315f88;
  font-weight:normal;
}

.walton-link-item p:last-child a{
  display:inline-block;
  margin-top:2px;
  font-size:.98rem;
}

.walton-link-item a:hover{
  color:#708eaa;
}

.information-panel .notice{
  margin-top:26px;
}

/* About the Archive — history page structure */

.information-page h2{
  margin:38px 0 14px;
  padding-top:24px;
  border-top:1px solid #d9e0e8;
}

.information-page h2:first-of-type{
  margin-top:0;
  padding-top:0;
  border-top:0;
}

.information-page h3{
  margin:30px 0 12px;
  font-family:Georgia, "Times New Roman", serif;
  color:#18345d;
  font-size:1.4rem;
  font-weight:normal;
}

.archive-history-photo{
  max-width:540px;
  margin:28px auto 34px;
  text-align:center;
}

.archive-history-photo img{
  display:block;
  width:100%;
  height:auto;
  border:1px solid #d9e0e8;
  border-radius:6px;
  box-shadow:0 4px 14px rgba(25,38,55,.10);
}

.archive-history-photo figcaption{
  margin-top:9px;
  font-size:.92rem;
  color:#596574;
}

.archive-page-note{
  margin-top:34px;
  padding:18px 20px;
  background:#edf3f8;
  border:1px solid #cbd9e5;
  border-radius:6px;
}

.archive-page-note p{
  margin:0;
}

/* =========================================================
   OLD WALTON ARCHIVE — SITE-WIDE TYPOGRAPHY
   Serif for editorial/history headings; sans-serif for UI/body
   ========================================================= */

.main h1,
.home-page h1,
.information-page h1{
  font-family:Georgia, "Times New Roman", serif;
  color:#18345d;
  font-weight:normal;
  line-height:1.08;
}

.main h2,
.home-page h2,
.information-page h2,
.collection-history h2{
  font-family:Georgia, "Times New Roman", serif;
  color:#18345d;
  font-weight:normal;
  line-height:1.2;
}

.main h3,
.home-page h3,
.information-page h3{
  font-family:Georgia, "Times New Roman", serif;
  color:#18345d;
  font-weight:normal;
  line-height:1.25;
}

.information-page h2{
  font-size:1.65rem;
}

.information-page h3{
  font-size:1.35rem;
}

body,
.main p,
.main li,
.home-page p,
.home-page li,
.information-page p,
.information-page li,
.notice,
.toolbar,
.search,
.count,
.top-menu,
.top-menu a,
.footer,
.caption,
.photo-panel,
.photo-panel h2{
  font-family:Arial, Helvetica, sans-serif;
}

/* Utility/interface headings stay sans-serif */
.photo-panel h2{
  font-size:18px;
  font-weight:700;
  color:#000033;
}

/* Walton Links hierarchy */
.information-panel > h2,
.walton-link-item h3{
  font-family:Georgia, "Times New Roman", serif;
  color:#18345d;
  font-weight:normal;
}

/* Walton Links — tighter spacing */

.information-panel > h2{
  margin:30px 0 0;
  padding-bottom:10px;
}

.information-panel > h2:first-child{
  margin-top:0;
}

.walton-link-item{
  padding:16px 0;
}

.information-panel > h2 + .walton-link-item{
  padding-top:20px;
	padding-bottom:30px;
}

.walton-link-item h3{
  margin:0 0 6px;
}

.walton-link-item p{
  margin:0 0 8px;
}

/* Last link before a new section */
.walton-link-item.last-in-section {
  border-bottom: 0;
  padding-bottom: 8px;
  margin-bottom: 12px;
}

.walton-link-item.last-item {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Big Freeze collection introduction */

.collection-history {
  margin:20px 0 28px;
  padding:20px 24px;
  background:#fff;
  border:1px solid #d9e0e8;
  border-radius:8px;
  box-shadow:0 4px 16px rgba(25,38,55,.05);
}

.collection-history h2 {
  margin:0 0 14px;
  font-family:Georgia, "Times New Roman", serif;
  font-size:1.65rem;
  font-weight:normal;
  color:#18345d;
}

.collection-history p {
  margin:0 0 12px;
}

.collection-history p:last-child {
  margin-bottom:0;
}

/* ==========================================================
   CONTACT PAGE - FINAL OVERRIDE
   ========================================================== */

.contact-form-wrap {
  width: 100%;
  max-width: 820px;
  margin-top: 28px;
}

.contact-form {
  display: block;
  width: 100%;
}

.contact-field {
  display: block;
  width: 100%;
  margin: 0 0 22px;
}

.contact-field label {
  display: block;
  margin: 0 0 7px;
  color: #273449;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
}

.contact-field label span {
  color: #7d3e3e;
}

.contact-field input,
.contact-field select,
.contact-field textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 11px 12px;
  border: 1px solid #c5cfda;
  border-radius: 5px;
  background: #fff;
  color: #2d3340;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
}

.contact-field textarea {
  min-height: 150px;
  resize: vertical;
}

.contact-field input:focus,
.contact-field select:focus,
.contact-field textarea:focus {
  outline: none;
  border-color: #718dab;
  box-shadow: 0 0 0 3px rgba(49,95,136,.10);
}

.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.field-help {
  margin: 7px 0 0 !important;
  color: #697386;
  font-size: 13px;
  line-height: 1.4;
}

.contact-form button[type="submit"] {
  display: inline-block;
  width: auto;
  margin: 0;
  padding: 11px 22px;
  border: 0;
  border-radius: 6px;
  background: #23395d;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  background: #31527f;
}

.contact-direct {
  margin: 26px 0 0 !important;
  padding-top: 18px;
  border-top: 1px solid #d9e0e8;
  color: #596574;
}

.contact-direct a {
  color: #315f88;
  font-weight: 700;
}

@media (max-width: 760px) {
  .contact-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

.archive-notice {
  margin-top: 25px;
  padding: 12px 15px;
  border: 1px solid #ccc;
  font-size: 0.9em;
  line-height: 1.5;
}

.archive-notice p {
  margin: 0;
}

.image-use {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #ccc;
  font-size: 0.9em;
  line-height: 1.5;
}

.image-use h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 1.1em;
}

.image-use p {
  margin: 0 0 10px;
}

.image-use p:last-child {
  margin-bottom: 0;
}

/* TEST UPLOAD 23 AUG */
/* TEST UPLOAD CHEESE */
