*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}body{margin:0;background:#f7f8f8;color:#293b4a;font:15px/1.7 'DM Sans',Arial,sans-serif}a{color:inherit;text-decoration:none}.wrap{width:min(1120px,calc(100% - 44px));margin:auto}.skip{position:absolute;left:-9999px}.skip:focus{left:10px;top:10px;background:white;padding:10px;z-index:99}.sr{font-size:0}header{height:80px;background:#fff;position:sticky;top:0;z-index:10;border-bottom:1px solid #e7ebee}.head{height:100%;display:flex;align-items:center;justify-content:space-between}.brand{display:flex;gap:11px;align-items:center;color:#263b52}.brand b,.brand small{display:block;line-height:1.25}.brand b{font-size:14px}.brand small{font-size:11px;color:#7d8992;margin-top:4px}.mark{width:39px;height:39px;border-radius:50%;background:#e8edf0;color:#60788d;display:grid;place-items:center;font-size:22px}nav{display:flex;gap:27px;align-items:center;font-size:12px;font-weight:700;color:#596a78}nav a:hover,.inline:hover{color:#a18465}.navbtn{background:#263b52;color:white;padding:11px 18px}.toggle{display:none}.hero{min-height:600px;position:relative;display:flex;align-items:center;color:white;background:linear-gradient(90deg,rgba(20,38,55,.88),rgba(20,38,55,.28)),url('https://images.unsplash.com/photo-1438032005730-c779502df39b?auto=format&fit=crop&w=1900&q=85') center/cover}.hero-copy{padding:95px 0}.eyebrow{font-size:10px;text-transform:uppercase;letter-spacing:.19em;color:#a18465;font-weight:700;margin:0 0 17px}.hero .eyebrow,.feature .eyebrow,.community .eyebrow,.contact .eyebrow{color:#dbc8b1}.hero h1,h2{font:500 clamp(42px,6vw,65px)/1.12 'Playfair Display',Georgia,serif;letter-spacing:-.03em;margin:0}.hero-copy>p:not(.eyebrow){color:#e0e7eb;margin:22px 0 29px}.btn{display:inline-flex;border:1px solid transparent;padding:13px 20px;font:700 12px 'DM Sans',sans-serif;cursor:pointer}.white{background:white;color:#263b52}.dark{background:#263b52;color:white}.outline{border-color:#b8c4cd;color:white}.inline{display:inline-block;color:#5b7489;font-size:12px;font-weight:700;margin-left:22px}.light{color:white}.hero-caption{position:absolute;right:5%;bottom:25px;text-transform:uppercase;font-size:9px;letter-spacing:.15em;color:#e1e7eb}.section{padding:94px 0}.split{display:grid;grid-template-columns:1fr 1.1fr;gap:90px;align-items:center}.split h2,.feature h2,.community h2,.contact h2{font-size:clamp(42px,5vw,58px)}h2 em{color:#a18465;font-weight:500}.lead{font:22px/1.5 'Playfair Display',Georgia,serif;color:#3c5264;margin-top:0}.split>div>p:not(.eyebrow){color:#788691;font-size:13px}.feature{display:grid;grid-template-columns:1fr 1fr;background:#263b52;color:white;min-height:460px}.feature-photo{background:url('https://images.unsplash.com/photo-1507692049790-de58290a4334?auto=format&fit=crop&w=1300&q=85') center/cover}.feature-copy{padding:75px clamp(30px,7vw,100px);align-self:center}.feature-copy>p:not(.eyebrow){font-size:13px;color:#d0dce4;max-width:420px;margin:23px 0 28px}.section-head{display:flex;align-items:end;justify-content:space-between;gap:35px;margin-bottom:40px}.section-head h2{font-size:44px}.section-head>p{max-width:330px;color:#7a8791;font-size:13px}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cards article{position:relative;background:white;border:1px solid #e8ecee;padding:28px;min-height:275px}.num{position:absolute;right:24px;top:20px;color:#b5bec5;font-size:11px}.symbol{font-size:27px;color:#a18465;margin:5px 0 17px}.cards h3,.notice h3{font:600 21px 'Playfair Display',Georgia,serif;margin:0 0 10px}.cards p,.notice p{font-size:12px;color:#7a8791}.placeholder{font-size:10px;color:#a18465}.community{background:#344e66;color:white;padding:90px 0}.community .split>div>p:not(.eyebrow){color:#d0dce4;max-width:430px;margin:22px 0 28px;font-size:13px}.community-list>div{display:flex;gap:22px;border-top:1px solid #ffffff30;padding:19px 0}.community-list>div:last-child{border-bottom:1px solid #ffffff30}.community-list span{font-size:10px;color:#dbc8b1}.community-list p{margin:0}.community-list b,.community-list small{display:block}.community-list b{font:500 18px 'Playfair Display',Georgia,serif}.community-list small{font-size:11px;color:#c5d1d9;margin-top:4px}.notice{background:white;border:1px solid #e8ecee;padding:28px;display:grid;grid-template-columns:85px 1fr auto;gap:25px;align-items:center}.notice-icon{width:76px;height:76px;background:#edf1f3;display:grid;place-items:center;color:#526d83;font:600 17px 'Playfair Display',serif}.notice h3{margin:0}.notice p{margin:5px 0}.facebook{background:#edf1f3;padding:43px 0}.fb{display:flex;align-items:center;gap:22px}.fb>div:nth-child(2){flex:1}.fbmark{width:48px;height:48px;border-radius:50%;background:#263b52;color:white;display:grid;place-items:center;font:bold 30px Arial}.fb h2{font-size:25px}.fb p:last-child{margin:3px 0 0;color:#788691;font-size:12px}.contact{background:#263b52;color:white;padding:90px 0}.contact .split{grid-template-columns:.9fr 1.1fr}.contact .split>div>p:not(.eyebrow){color:#d0dce4;max-width:390px;font-size:13px;margin:22px 0}.details{margin-top:30px}.details p{margin:13px 0}.details small,.details b{display:block}.details small{font-size:9px;letter-spacing:.15em;color:#dbc8b1}.details b{font-size:12px;font-weight:500;color:#e0e7eb}.contact form{background:#344e66;padding:32px;display:flex;flex-direction:column}.contact label{font-size:11px;margin-bottom:6px}.contact input,.contact textarea{background:#ffffff12;border:1px solid #ffffff35;padding:12px;color:white;font:14px 'DM Sans',sans-serif;margin-bottom:17px}.contact textarea{resize:vertical}.contact input:focus,.contact textarea:focus{outline:1px solid #dbc8b1}.contact form button{align-self:flex-start}.form-note{font-size:10px;color:#c5d1d9}footer{background:#1c2d3d;color:#dce4e9;padding:30px 0 17px}.foot{display:flex;justify-content:space-between;align-items:center;padding-bottom:24px}.footbrand{color:white}.footbrand .mark{background:#344e66;color:#dbc8b1}.footbrand small{color:#aebdc8}.foot>p{font:italic 14px 'Playfair Display',Georgia,serif;color:#aebdc8}.foot>a:last-child{font-size:11px;color:#dbc8b1}.copyright{border-top:1px solid #ffffff20;padding-top:14px;display:flex;justify-content:space-between;font-size:10px;color:#aebdc8}
@media(max-width:760px){.wrap{width:calc(100% - 36px)}header{height:70px}.toggle{display:block;background:none;border:0;font-size:23px;color:#263b52}nav{display:none;position:absolute;top:70px;left:0;right:0;background:white;padding:12px 20px 20px;box-shadow:0 10px 20px #1c2d3d18;flex-direction:column;align-items:stretch;gap:0}nav.open{display:flex}nav a{padding:11px 4px;border-bottom:1px solid #edf0f2}.navbtn{text-align:center;margin-top:8px}.hero{min-height:540px;background-position:58% center}.hero h1{font-size:49px}.hero-copy{padding:80px 0}.hero-caption{left:18px;right:auto}.section{padding:68px 0}.split,.contact .split{grid-template-columns:1fr;gap:26px}.feature{grid-template-columns:1fr}.feature-photo{min-height:260px}.feature-copy{padding:48px 25px 56px}.section-head{display:block;margin-bottom:28px}.section-head h2{font-size:38px}.section-head>p{margin-top:12px}.cards{grid-template-columns:1fr}.cards article{min-height:unset}.community{padding:68px 0}.notice{grid-template-columns:1fr;gap:14px;padding:22px}.fb{flex-wrap:wrap;align-items:flex-start}.fb>div:nth-child(2){flex:1 1 calc(100% - 70px)}.fb .btn{margin-left:70px}.contact{padding:68px 0}.contact form{padding:23px}.foot{flex-wrap:wrap;gap:15px}.foot>p{order:3;width:100%;margin:0}.copyright{flex-direction:column;gap:6px}}

/* Church of Scotland identity and Facebook timeline */
.cos-logo{display:block;width:48px;height:48px;object-fit:contain;flex:0 0 auto}
.brand-name{display:block}
.footer-logo{background:#fff;border-radius:3px;padding:3px}
.fb-wrap{display:block}
.fb{margin-bottom:24px}
.fb-feed{width:100%;max-width:500px;min-height:140px;margin:0 auto;background:#fff;border:1px solid #dce3e8;padding:12px}
.fb-feed iframe{display:none;width:100%;height:620px;border:0;overflow:hidden}
.fb-feed.ready iframe{display:block}
.fb-feed.ready .feed-placeholder{display:none}
.feed-placeholder{font-size:12px;color:#6f7e89;text-align:center;padding:24px 12px;margin:0}
@media(max-width:760px){.cos-logo{width:42px;height:42px}.fb-feed{max-width:100%}.fb-feed iframe{height:620px}}

/* Contemporary visual refresh: same slate-blue palette, warmer details and softer shapes */
:root{--ink:#263b52;--slate:#344e66;--mist:#edf1f3;--sand:#c5a987;--paper:#f8f9f8}
body{background:var(--paper);color:#293d4e}
header{height:86px;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);box-shadow:0 5px 24px rgba(28,45,61,.045);border-bottom:1px solid rgba(38,59,82,.07)}
.brand{gap:14px}.cos-logo{width:52px;height:52px}.brand b{font-size:15px;letter-spacing:-.02em}.brand small{letter-spacing:.13em;text-transform:uppercase;font-size:9px}
nav{gap:24px}nav a{transition:color .2s ease,background .2s ease}nav .navbtn{border-radius:999px;padding:12px 21px;box-shadow:0 7px 18px rgba(38,59,82,.14)}
.hero{min-height:680px;isolation:isolate;background-image:linear-gradient(90deg,rgba(19,36,53,.91) 0%,rgba(25,45,63,.73) 47%,rgba(25,45,63,.2) 100%),url('https://images.unsplash.com/photo-1438032005730-c779502df39b?auto=format&fit=crop&w=2000&q=90');background-position:center 48%;overflow:hidden}
.hero:before{content:"";position:absolute;z-index:-1;width:460px;height:460px;border:1px solid rgba(255,255,255,.19);border-radius:50%;right:7%;top:13%;box-shadow:0 0 0 35px rgba(255,255,255,.035),0 0 0 75px rgba(255,255,255,.025)}
.hero-copy{padding:120px 0;max-width:1120px}.hero h1{font-size:clamp(54px,7.2vw,88px);line-height:1.02;max-width:760px;letter-spacing:-.045em}.hero h1 em{font-weight:500;color:#e0c6a7}.hero .eyebrow{display:inline-flex;align-items:center;gap:10px;border:1px solid rgba(255,255,255,.3);border-radius:999px;padding:9px 15px;color:#ead8c3;font-size:9px;letter-spacing:.17em}.hero .eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:#d6b38c;box-shadow:0 0 0 4px rgba(214,179,140,.17)}.hero-copy>p:not(.eyebrow){font-size:17px;max-width:480px;color:#e5ebef;margin:25px 0 32px}.btn{border-radius:999px;padding:15px 23px;transition:transform .2s ease,box-shadow .2s ease,background .2s ease}.btn:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(16,30,43,.17)}.hero .btn.white{background:#f5eee6;color:#263b52}.hero .inline{margin-left:18px}.hero-caption{display:flex;align-items:center;gap:9px;right:5%;bottom:30px;font-size:9px}.caption-dot{width:6px;height:6px;border-radius:50%;background:#d6b38c}.hero-note{position:absolute;right:8%;bottom:95px;display:flex;align-items:center;gap:13px;padding:15px 19px;background:rgba(255,255,255,.94);color:#263b52;border-radius:15px;box-shadow:0 18px 50px rgba(9,23,37,.2);backdrop-filter:blur(10px)}.hero-note-icon{width:37px;height:37px;display:grid;place-items:center;border-radius:50%;background:#f0e6da;color:#9c7855;font-size:19px}.hero-note b,.hero-note small{display:block}.hero-note b{font:600 14px 'Playfair Display',serif}.hero-note small{font-size:9px;color:#75828d;margin-top:3px;letter-spacing:.04em}
.section{padding:112px 0}.split{gap:clamp(45px,8vw,115px)}.split h2,.feature h2,.community h2,.contact h2{font-size:clamp(46px,5.5vw,66px)}h2 em{color:#b18f6b}.lead{font-size:25px;line-height:1.45}.split>div>p:not(.eyebrow){font-size:14px;line-height:1.9}.inline{margin-left:0;margin-top:8px;color:#526e84;border-bottom:1px solid #c5a987;padding-bottom:4px}.inline:hover{color:#a18465;border-color:#a18465}
.feature{position:relative;grid-template-columns:1.05fr .95fr;min-height:540px;background:linear-gradient(125deg,#263b52,#344e66)}.feature-photo{min-height:540px;position:relative;background-position:center;background-size:cover}.feature-photo:after{content:"";position:absolute;inset:22px;border:1px solid rgba(255,255,255,.42);border-radius:4px;pointer-events:none}.feature-copy{padding:80px clamp(38px,7vw,112px)}.feature-copy h2{font-size:clamp(48px,5vw,65px)}.feature-copy>p:not(.eyebrow){font-size:14px;line-height:1.9}.outline{border-radius:999px;border-color:rgba(255,255,255,.55)}
.section-head{margin-bottom:48px}.section-head h2{font-size:clamp(40px,4.8vw,54px)}.section-head>p{font-size:14px;line-height:1.8}.cards{gap:20px}.cards article{border:1px solid #e7ebed;border-radius:14px;padding:34px 30px 30px;min-height:300px;box-shadow:0 8px 30px rgba(31,51,68,.035);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}.cards article:hover{transform:translateY(-7px);box-shadow:0 18px 40px rgba(31,51,68,.1);border-color:#d4c2ae}.num{top:25px;right:26px;color:#b4a18c}.symbol{width:48px;height:48px;display:grid;place-items:center;background:#f2eee8;border-radius:14px;color:#a18465;font-size:24px;margin:3px 0 23px}.cards h3,.notice h3{font-size:23px}.cards p,.notice p{font-size:13px;line-height:1.8}.placeholder{display:inline-block;background:#f8f3ec;border-radius:6px;padding:6px 9px}
.community{background:radial-gradient(circle at 85% 15%,rgba(255,255,255,.09),transparent 27%),linear-gradient(120deg,#2b4158,#3a5871);padding:108px 0}.community h2 em{color:#e0c6a7}.community .split>div>p:not(.eyebrow){font-size:14px;line-height:1.9}.community-list>div{padding:24px 0}.community-list span{color:#e0c6a7}.community-list b{font-size:20px}.community-list small{font-size:12px}.notice{border:1px solid #e8ecee;border-radius:15px;padding:30px;grid-template-columns:84px 1fr auto;box-shadow:0 8px 30px rgba(31,51,68,.04)}.notice-icon{border-radius:14px;background:#f0e9e0;color:#8b7054;font-size:16px;letter-spacing:.06em}
.facebook{background:#edf1f3;padding:62px 0}.fb{gap:20px;margin-bottom:27px}.fbmark{border-radius:15px;background:#263b52;box-shadow:0 8px 20px rgba(38,59,82,.17)}.fb h2{font-size:30px}.fb-feed{max-width:580px;border:1px solid #dfe5e8;border-radius:14px;padding:14px;box-shadow:0 10px 30px rgba(31,51,68,.055)}
.contact{padding:108px 0;background:radial-gradient(circle at 10% 100%,rgba(255,255,255,.06),transparent 30%),#263b52}.contact .split>div>p:not(.eyebrow){font-size:14px;line-height:1.9}.contact form{border:1px solid rgba(255,255,255,.13);border-radius:17px;padding:38px;box-shadow:0 20px 55px rgba(9,23,37,.17)}.contact label{font-size:12px;color:#e0e7eb}.contact input,.contact textarea{border-radius:8px;background:rgba(255,255,255,.07);padding:14px 15px}.contact input:focus,.contact textarea:focus{outline:2px solid #d7b993;border-color:transparent}.contact form button{margin-top:5px}
footer{background:#1b2c3c;padding:38px 0 19px}.foot{padding-bottom:30px}.footer-logo{border-radius:8px;padding:5px}.copyright{padding-top:17px}
@media(max-width:760px){header{height:74px}.cos-logo{width:45px;height:45px}.hero{min-height:640px;background-position:57% center}.hero:before{width:270px;height:270px;right:-70px;top:22%}.hero-copy{padding:100px 0 140px}.hero h1{font-size:clamp(48px,12vw,65px)}.hero .eyebrow{font-size:8px}.hero-copy>p:not(.eyebrow){font-size:15px;max-width:330px}.hero-note{left:18px;right:auto;bottom:66px;padding:12px 15px}.hero-caption{left:18px;bottom:22px;font-size:8px}.section{padding:76px 0}.split h2,.feature h2,.community h2,.contact h2{font-size:48px}.lead{font-size:22px}.feature{grid-template-columns:1fr}.feature-photo{min-height:280px}.feature-photo:after{inset:14px}.feature-copy{padding:52px 26px 60px}.cards article{min-height:unset;padding:27px}.community{padding:78px 0}.section-head h2{font-size:40px}.notice{padding:22px;border-radius:12px}.fb{gap:14px}.fb h2{font-size:25px}.fb .btn{margin-left:62px}.contact{padding:78px 0}.contact form{padding:25px;border-radius:13px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important}}
```css
/* Facebook post display */

.facebook {
  padding: 75px 0;
  background: #f2f5f7;
}

.fb-feed {
  margin-top: 30px;
  padding: 30px;
  background: white;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.fb-feed iframe {
  width: 100%;
  max-width: 500px;
  min-height: 414px;
  border: none;
}

@media (max-width: 600px) {
  .fb-feed {
    padding: 10px;
  }

  .fb-feed iframe {
    width: 100%;
  }
}
```
/* Facebook post display fix */
.fb-feed {
  display: flex !important;
  justify-content: center;
  align-items: flex-start;
  width: 100%;
  min-height: 520px;
  overflow: visible;
  margin: 25px auto;
}

.fb-feed iframe {
  display: block !important;
  width: 100%;
  max-width: 500px;
  height: 520px;
  border: none;
  visibility: visible !important;
  opacity: 1 !important;
}
